EventChart 2022.5.33 → 2022.6.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/eventchart.js.rb +3480 -0
  3. metadata +3 -2
@@ -0,0 +1,3480 @@
1
+ /*! * jQuery JavaScript Library v1.6.2 * http://jquery.com/ * * Copyright 2011,
2
+ John Resig * Dual licensed under the MIT or GPL Version 2 licenses. *
3
+ http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ *
4
+ Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL
5
+ Licenses. * * Date: Thu Jun 30 14:16:56 2011 -0400 */
6
+
7
+ (function(a,b){function cv(a){return
8
+ f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function
9
+ cs(a){if(!cg[a]){var
10
+ b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"|
11
+ |e===""){ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),
12
+ b.appendChild(ch);if(!ci||!ch.createElement)ci=(ch.contentWindow||ch.
13
+ contentDocument).document,ci.write((c.compatMode==="CSS1Compat"?"<!doctype
14
+ html>":"")+"<html><body>"),ci.close();d=ci.createElement(a),ci.body.appendChild(
15
+ d),e=f.css(d,"display"),b.removeChild(ch)}cg[a]=e}return cg[a]}function
16
+ cr(a,b){var
17
+ c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return
18
+ c}function cq(){cn=b}function cp(){setTimeout(cq,0);return cn=f.now()}function
19
+ cf(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function
20
+ ce(){try{return new a.XMLHttpRequest}catch(b){}}function
21
+ b$(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var
22
+ d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)
23
+ for(h in a.converters)typeof
24
+ h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else
25
+ if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in
26
+ e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+"
27
+ "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No
28
+ conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return
29
+ c}function bZ(a,c,d){var
30
+ e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in
31
+ d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.
32
+ getResponseHeader("content-type"));if(h)for(i in
33
+ e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in
34
+ d){if(!f[0]||a.converters[i+"
35
+ "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return
36
+ d[j]}}function
37
+ bY(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bC.test(a)?d(a,e):bY(a+"["
38
+ +(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else
39
+ if(!c&&b!=null&&typeof b=="object")for(var e in b)bY(a+"["+e+"]",b[e],c,d);else
40
+ d(a,b)}function bX(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var
41
+ h=a[f],i=0,j=h?h.length:0,k=a===bR,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof
42
+ l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bX(a,c,d,e,l,g)));(k||!l)&&
43
+ !g["*"]&&(l=bX(a,c,d,e,"*",g));return l}function bW(a){return
44
+ function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var
45
+ d=b.toLowerCase().split(bN),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.
46
+ test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}
47
+ function bA(a,b,c){var
48
+ d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bv:bw;if(d>0){c!==
49
+ "border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==
50
+ ="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+
51
+ "Width"))||0});return
52
+ d+"px"}d=bx(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(
53
+ e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=
54
+ parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.
55
+ css(a,c+this))||0)});return d+"px"}function
56
+ bm(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.
57
+ text||b.textContent||b.innerHTML||"").replace(be,"/*$0*/")),b.parentNode&&b.
58
+ parentNode.removeChild(b)}function
59
+ bl(a){f.nodeName(a,"input")?bk(a):"getElementsByTagName"in
60
+ a&&f.grep(a.getElementsByTagName("input"),bk)}function
61
+ bk(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}
62
+ function bj(a){return"getElementsByTagName"in
63
+ a?a.getElementsByTagName("*"):"querySelectorAll"in
64
+ a?a.querySelectorAll("*"):[]}function bi(a,b){var
65
+ c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b
66
+ .mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.
67
+ outerHTML;else
68
+ if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.
69
+ selected=a.defaultSelected;else
70
+ if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else
71
+ a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.
72
+ value);b.removeAttribute(f.expando)}}function
73
+ bh(a,b){if(b.nodeType===1&&!!f.hasData(a)){var
74
+ c=f.expando,d=f.data(a),e=f.data(b,d);if(d=d[c]){var
75
+ g=d.events;e=e[c]=f.extend({},d);if(g){delete e.handle,e.events={};for(var h in
76
+ g)for(var
77
+ i=0,j=g[h].length;i<j;i++)f.event.add(b,h+(g[h][i].namespace?".":"")+g[h][i].
78
+ namespace,g[h][i],g[h][i].data)}}}}function bg(a,b){return
79
+ f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.
80
+ ownerDocument.createElement("tbody")):a}function
81
+ W(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var
82
+ e=!!b.call(a,d,a);return e===c});if(b.nodeType)return
83
+ f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var
84
+ d=f.grep(a,function(a){return a.nodeType===1});if(R.test(b))return
85
+ f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return
86
+ f.inArray(a,b)>=0===c})}function
87
+ V(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function
88
+ N(a,b){return(a&&a!=="*"?a+".":"")+b.replace(z,"`").replace(A,"&")}function
89
+ M(a){var
90
+ b,c,d,e,g,h,i,j,k,l,m,n,o,p=[],q=[],r=f._data(this,"events");if(!(a.liveFired===
91
+ this||!r||!r.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&
92
+ (n=new
93
+ RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.
94
+ liveFired=this;var
95
+ s=r.live.slice(0);for(i=0;i<s.length;i++)g=s[i],g.origType.replace(x,"")===a.
96
+ type?q.push(g.selector):s.splice(i--,1);e=f(a.target).closest(q,a.currentTarget)
97
+ ;for(j=0,k=e.length;j<k;j++){m=e[j];for(i=0;i<s.length;i++){g=s[i];if(m.selector
98
+ ===g.selector&&(!n||n.test(g.namespace))&&!m.elem.disabled){h=m.elem,d=null;if(g
99
+ .preType==="mouseenter"||g.preType==="mouseleave")a.type=g.preType,d=f(a.
100
+ relatedTarget).closest(g.selector)[0],d&&f.contains(h,d)&&(d=h);(!d||d!==h)&&p.
101
+ push({elem:h,handleObj:g,level:m.level})}}}for(j=0,k=p.length;j<k;j++){e=p[j];if
102
+ (c&&e.level>c)break;a.currentTarget=e.elem,a.data=e.handleObj.data,a.handleObj=e
103
+ .handleObj,o=e.handleObj.origHandler.apply(e.elem,arguments);if(o===!1||a.
104
+ isPropagationStopped()){c=e.level,o===!1&&(b=!1);if(a.
105
+ isImmediatePropagationStopped())break}}return b}}function K(a,c,d){var
106
+ e=f.extend({},d[0]);e.type=a,e.originalEvent={},e.liveFired=b,f.event.handle.
107
+ call(c,e),e.isDefaultPrevented()&&d[0].preventDefault()}function
108
+ E(){return!0}function D(){return!1}function m(a,c,d){var
109
+ e=c+"defer",g=c+"queue",h=c+"mark",i=f.data(a,e,b,!0);i&&(d==="queue"||!f.data(a
110
+ ,g,b,!0))&&(d==="mark"||!f.data(a,h,b,!0))&&setTimeout(function(){!f.data(a,g,b,
111
+ !0)&&!f.data(a,h,b,!0)&&(f.removeData(a,e,!0),i.resolve())},0)}function
112
+ l(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function
113
+ k(a,c,d){if(d===b&&a.nodeType===1){var
114
+ e="data-"+c.replace(j,"$1-$2").toLowerCase();d=a.getAttribute(e);if(typeof
115
+ d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNaN(d)?i.
116
+ test(d)?f.parseJSON(d):d:parseFloat(d)}catch(g){}f.data(a,c,d)}else d=b}return
117
+ d}var c=a.document,d=a.navigator,e=a.location,f=function(){function
118
+ J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,
119
+ 1);return}e.ready()}}var e=function(a,b){return new
120
+ e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/
121
+ ,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$
122
+ /,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+
123
+ (?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[
124
+ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie)
125
+ ([\w.]+)/,v=/(mozilla)(?:.*?
126
+ rv:([\w.]+))?/,w=/-([a-z])/ig,x=function(a,b){return
127
+ b.toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.
128
+ prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String
129
+ .prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,
130
+ init:function(a,d,f){var g,h,j,k;if(!a)return
131
+ this;if(a.nodeType){this.context=this[0]=a,this.length=1;return
132
+ this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,
133
+ this.length=1;return this}if(typeof
134
+ a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(
135
+ a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof
136
+ e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.
137
+ createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.
138
+ buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).
139
+ childNodes);return
140
+ e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])
141
+ return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return
142
+ this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.
143
+ isFunction(a))return
144
+ f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);
145
+ return
146
+ e.makeArray(a,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return
147
+ this.length},toArray:function(){return F.call(this,0)},get:function(a){return
148
+ a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c
149
+ ){var
150
+ d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.
151
+ context=this.context,b==="find"?d.selector=this.selector+(this.selector?"
152
+ ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return
153
+ d},each:function(a,b){return
154
+ e.each(this,a,b)},ready:function(a){e.bindReady(),A.done(a);return
155
+ this},eq:function(a){return
156
+ a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return
157
+ this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return
158
+ this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map
159
+ :function(a){return this.pushStack(e.map(this,function(b,c){return
160
+ a.call(b,c,b)}))},end:function(){return
161
+ this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e
162
+ .fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var
163
+ a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof
164
+ i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof
165
+ i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=
166
+ arguments[j])!=null)for(c in
167
+ a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?
168
+ (g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,
169
+ f)):f!==b&&(i[c]=f)}return
170
+ i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=
171
+ f);return
172
+ e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},
173
+ ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)
174
+ return
175
+ setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.
176
+ resolveWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},
177
+ bindReady:function(){if(!A){A=e._Deferred();if(c.readyState==="complete")return
178
+ setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener(
179
+ "DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else
180
+ if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e
181
+ .ready);var
182
+ b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},
183
+ isFunction:function(a){return
184
+ e.type(a)==="function"},isArray:Array.isArray||function(a){return
185
+ e.type(a)==="array"},isWindow:function(a){return a&&typeof
186
+ a=="object"&&"setInterval"in a},isNaN:function(a){return
187
+ a==null||!m.test(a)||isNaN(a)},type:function(a){return
188
+ a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.
189
+ type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;if(a.constructor&&!D.call
190
+ (a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1;var
191
+ c;for(c in a);return c===b||D.call(a,c)},isEmptyObject:function(a){for(var b in
192
+ a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof
193
+ b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return
194
+ a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(
195
+ new Function("return "+b))();e.error("Invalid JSON:
196
+ "+b)},parseXML:function(b,c,d){a.DOMParser?(d=new
197
+ DOMParser,c=d.parseFromString(b,"text/xml")):(c=new
198
+ ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),d=c.
199
+ documentElement,(!d||!d.nodeName||d.nodeName==="parsererror")&&e.error("Invalid
200
+ XML: "+b);return
201
+ c},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||
202
+ function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return
203
+ a.replace(w,x)},nodeName:function(a,b){return
204
+ a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var
205
+ f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in
206
+ a)if(c.apply(a[f],d)===!1)break}else
207
+ for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in
208
+ a)if(c.call(a[f],f,a[f])===!1)break}else
209
+ for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return
210
+ a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return
211
+ a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var
212
+ c=b||[];if(a!=null){var
213
+ d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.
214
+ isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b){if(H)return
215
+ H.call(b,a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return
216
+ c;return-1},merge:function(a,c){var d=a.length,e=0;if(typeof
217
+ c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else
218
+ while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var
219
+ d=[],e;c=!!c;for(var
220
+ f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return
221
+ d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof
222
+ e||j!==b&&typeof
223
+ j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i]
224
+ ,i,d),f!=null&&(h[h.length]=f);else for(g in
225
+ a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return
226
+ h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var
227
+ d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var
228
+ f=F.call(arguments,2),g=function(){return
229
+ a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;
230
+ return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof
231
+ c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return
232
+ a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var
233
+ k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return
234
+ i?g(a[0],c):b},now:function(){return(new
235
+ Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var
236
+ b=s.exec(a)||t.exec(a)||u.exec(a)||a.indexOf("compatible")<0&&v.exec(a)||[];
237
+ return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function
238
+ a(b,c){return new
239
+ a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.
240
+ fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f
241
+ instanceof a)&&(f=a(f));return
242
+ e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return
243
+ a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp
244
+ Object".split(" "),function(a,b){I["[object
245
+ "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.
246
+ browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test("
247
+ ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.
248
+ removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=
249
+ function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.
250
+ ready())});return e}(),g="done fail isResolved isRejected promise then always
251
+ pipe".split(" "),h=[].slice;f.extend({_Deferred:function(){var
252
+ a=[],b,c,d,e={done:function(){if(!d){var
253
+ c=arguments,g,h,i,j,k;b&&(k=b,b=0);for(g=0,h=c.length;g<h;g++)i=c[g],j=f.type(i)
254
+ ,j==="array"?e.done.apply(e,i):j==="function"&&a.push(i);k&&e.resolveWith(k[0],k
255
+ [1])}return
256
+ this},resolveWith:function(e,f){if(!d&&!b&&!c){f=f||[],c=1;try{while(a[0])a.
257
+ shift().apply(e,f)}finally{b=[e,f],c=0}}return
258
+ this},resolve:function(){e.resolveWith(this,arguments);return
259
+ this},isResolved:function(){return!!c||!!b},cancel:function(){d=1,a=[];return
260
+ this}};return e},Deferred:function(a){var
261
+ b=f._Deferred(),c=f._Deferred(),d;f.extend(b,{then:function(a,c){b.done(a).fail(
262
+ c);return this},always:function(){return
263
+ b.done.apply(b,arguments).fail.apply(this,arguments)},fail:c.done,rejectWith:c.
264
+ resolveWith,reject:c.resolve,isRejected:c.isResolved,pipe:function(a,c){return
265
+ f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[c,"reject"]},function(a,
266
+ c){var
267
+ e=c[0],g=c[1],h;f.isFunction(e)?b[a](function(){h=e.apply(this,arguments),h&&f.
268
+ isFunction(h.promise)?h.promise().then(d.resolve,d.reject):d[g](h)}):b[a](d[g])}
269
+ )}).promise()},promise:function(a){if(a==null){if(d)return d;d=a={}}var
270
+ c=g.length;while(c--)a[g[c]]=b[g[c]];return
271
+ a}}),b.done(c.cancel).fail(b.cancel),delete b.cancel,a&&a.call(b,b);return
272
+ b},when:function(a){function i(a){return
273
+ function(c){b[a]=arguments.length>1?h.call(arguments,0):c,--e||g.resolveWith(g,h
274
+ .call(b,0))}}var
275
+ b=arguments,c=0,d=b.length,e=d,g=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred()
276
+ ;if(d>1){for(;c<d;c++)b[c]&&f.isFunction(b[c].promise)?b[c].promise().then(i(c),
277
+ g.reject):--e;e||g.resolveWith(g,b)}else g!==a&&g.resolveWith(g,d?[a]:[]);return
278
+ g.promise()}}),f.support=function(){var
279
+ a=c.createElement("div"),b=c.documentElement,d,e,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;a
280
+ .setAttribute("className","t"),a.innerHTML=" <link/><table></table><a
281
+ href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input
282
+ type='checkbox'/>",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0
283
+ ];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.
284
+ createElement("option")),i=a.getElementsByTagName("input")[0],k={
285
+ leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName(
286
+ "tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top
287
+ /.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",
288
+ opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.
289
+ value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",
290
+ submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,
291
+ noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,
292
+ reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.
293
+ disabled=!0,k.optDisabled=!h.disabled;try{delete
294
+ a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.
295
+ fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(
296
+ !0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute(
297
+ "type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a
298
+ .appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.firstChild),k.
299
+ checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.
300
+ style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.
301
+ createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,
302
+ margin:0},m&&f.extend(p,{position:"absolute",left:-1e3,top:-1e3});for(t in
303
+ p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.
304
+ appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in
305
+ a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.
306
+ offsetWidth===2,a.style.display="",a.innerHTML="<div
307
+ style='width:4px;'></div>",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<
308
+ table><tr><td
309
+ style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",q=a.
310
+ getElementsByTagName("td"),u=q[0].offsetHeight===0,q[0].style.display="",q[1].
311
+ style.display="none",k.reliableHiddenOffsets=u&&q[0].offsetHeight===0,a.
312
+ innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(j=c.createElement(
313
+ "div"),j.style.width="0",j.style.marginRight="0",a.appendChild(j),k.
314
+ reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(j,null)||{
315
+ marginRight:0}).marginRight,10)||0)===0),o.innerHTML="",n.removeChild(o);if(a.
316
+ attachEvent)for(t in{submit:1,change:1,focusin:1})s="on"+t,u=s in
317
+ a,u||(a.setAttribute(s,"return;"),u=typeof
318
+ a[s]=="function"),k[t+"Bubbles"]=u;o=l=g=h=m=j=a=i=null;return
319
+ k}(),f.boxModel=f.support.boxModel;var
320
+ i=/^(?:\{.*\}|\[.*\])$/,j=/([a-z])([A-Z])/g;f.extend({cache:{},uuid:0,expando:
321
+ "jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:
322
+ "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.
323
+ nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!l(a)},data:function(a,c,
324
+ d,e){if(!!f.acceptData(a)){var g=f.expando,h=typeof
325
+ c=="string",i,j=a.nodeType,k=j?f.cache:a,l=j?a[f.expando]:a[f.expando]&&f.
326
+ expando;if((!l||e&&l&&!k[l][g])&&h&&d===b)return;l||(j?a[f.expando]=l=++f.uuid:l
327
+ =f.expando),k[l]||(k[l]={},j||(k[l].toJSON=f.noop));if(typeof
328
+ c=="object"||typeof
329
+ c=="function")e?k[l][g]=f.extend(k[l][g],c):k[l]=f.extend(k[l],c);i=k[l],e&&(i[g
330
+ ]||(i[g]={}),i=i[g]),d!==b&&(i[f.camelCase(c)]=d);if(c==="events"&&!i[c])return
331
+ i[g]&&i[g].events;return
332
+ h?i[f.camelCase(c)]||i[c]:i}},removeData:function(b,c,d){if(!!f.acceptData(b)){
333
+ var
334
+ e=f.expando,g=b.nodeType,h=g?f.cache:b,i=g?b[f.expando]:f.expando;if(!h[i])
335
+ return;if(c){var j=d?h[i][e]:h[i];if(j){delete
336
+ j[c];if(!l(j))return}}if(d){delete h[i][e];if(!l(h[i]))return}var
337
+ k=h[i][e];f.support.deleteExpando||h!=a?delete
338
+ h[i]:h[i]=null,k?(h[i]={},g||(h[i].toJSON=f.noop),h[i][e]=k):g&&(f.support.
339
+ deleteExpando?delete
340
+ b[f.expando]:b.removeAttribute?b.removeAttribute(f.expando):b[f.expando]=null)}}
341
+ ,_data:function(a,b,c){return
342
+ f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var
343
+ b=f.noData[a.nodeName.toLowerCase()];if(b)return
344
+ b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c
345
+ ){var d=null;if(typeof
346
+ a=="undefined"){if(this.length){d=f.data(this[0]);if(this[0].nodeType===1){var
347
+ e=this[0].attributes,g;for(var
348
+ h=0,i=e.length;h<i;h++)g=e[h].name,g.indexOf("data-")===0&&(g=f.camelCase(g.
349
+ substring(5)),k(this[0],g,d[g]))}}return d}if(typeof a=="object")return
350
+ this.each(function(){f.data(this,a)});var
351
+ j=a.split(".");j[1]=j[1]?"."+j[1]:"";if(c===b){d=this.triggerHandler("getData"+j
352
+ [1]+"!",[j[0]]),d===b&&this.length&&(d=f.data(this[0],a),d=k(this[0],a,d));
353
+ return d===b&&j[1]?this.data(j[0]):d}return this.each(function(){var
354
+ b=f(this),d=[j[0],c];b.triggerHandler("setData"+j[1]+"!",d),f.data(this,a,c),b.
355
+ triggerHandler("changeData"+j[1]+"!",d)})},removeData:function(a){return
356
+ this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,c){a&&
357
+ (c=(c||"fx")+"mark",f.data(a,c,(f.data(a,c,b,!0)||0)+1,!0))},_unmark:function(a,
358
+ c,d){a!==!0&&(d=c,c=a,a=!1);if(c){d=d||"fx";var
359
+ e=d+"mark",g=a?0:(f.data(c,e,b,!0)||1)-1;g?f.data(c,e,g,!0):(f.removeData(c,e,!0
360
+ ),m(c,d,"mark"))}},queue:function(a,c,d){if(a){c=(c||"fx")+"queue";var
361
+ e=f.data(a,c,b,!0);d&&(!e||f.isArray(d)?e=f.data(a,c,f.makeArray(d),!0):e.push(d
362
+ ));return e||[]}},dequeue:function(a,b){b=b||"fx";var
363
+ c=f.queue(a,b),d=c.shift(),e;d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.
364
+ unshift("inprogress"),d.call(a,function(){f.dequeue(a,b)})),c.length||(f.
365
+ removeData(a,b+"queue",!0),m(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){
366
+ typeof a!="string"&&(c=a,a="fx");if(c===b)return f.queue(this[0],a);return
367
+ this.each(function(){var
368
+ b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:
369
+ function(a){return
370
+ this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds
371
+ [a]||a:a,b=b||"fx";return this.queue(b,function(){var
372
+ c=this;setTimeout(function(){f.dequeue(c,b)},a)})},clearQueue:function(a){return
373
+ this.queue(a||"fx",[])},promise:function(a,c){function
374
+ m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var
375
+ d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(
376
+ g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data
377
+ (e[g],i,f._Deferred(),!0))h++,l.done(m);m();return d.promise()}});var
378
+ n=/[\n\t\r]/g,o=/\s+/,p=/\r/g,q=/^(?:button|input)$/i,r=/^(?:button|input|object
379
+ |select|textarea)$/i,s=/^a(?:rea)?$/i,t=/^(?:autofocus|autoplay|async|checked|
380
+ controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|
381
+ selected)$/i,u=/\:|^on/,v,w;f.fn.extend({attr:function(a,b){return
382
+ f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return
383
+ this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return
384
+ f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return
385
+ this.each(function(){try{this[a]=b,delete
386
+ this[a]}catch(c){}})},addClass:function(a){var
387
+ b,c,d,e,g,h,i;if(f.isFunction(a))return
388
+ this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&
389
+ typeof
390
+ a=="string"){b=a.split(o);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType
391
+ ===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+"
392
+ ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+"
393
+ ");e.className=f.trim(g)}}}return this},removeClass:function(a){var
394
+ c,d,e,g,h,i,j;if(f.isFunction(a))return
395
+ this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&
396
+ &typeof
397
+ a=="string"||a===b){c=(a||"").split(o);for(d=0,e=this.length;d<e;d++){g=this[d];
398
+ if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(n,"
399
+ ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" ","
400
+ ");g.className=f.trim(h)}else g.className=""}}return
401
+ this},toggleClass:function(a,b){var c=typeof a,d=typeof
402
+ b=="boolean";if(f.isFunction(a))return
403
+ this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});
404
+ return this.each(function(){if(c==="string"){var
405
+ e,g=0,h=f(this),i=b,j=a.split(o);while(e=j[g++])i=d?i:!h.hasClass(e),h[
406
+ i?"addClass":"removeClass"](e)}else
407
+ if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",
408
+ this.className),this.className=this.className||a===!1?"":f._data(this,
409
+ "__className__")||""})},hasClass:function(a){var b=" "+a+" ";for(var
410
+ c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(n,"
411
+ ").indexOf(b)>-1)return!0;return!1},val:function(a){var
412
+ c,d,e=this[0];if(!arguments.length){if(e){c=f.valHooks[e.nodeName.toLowerCase()]
413
+ ||f.valHooks[e.type];if(c&&"get"in c&&(d=c.get(e,"value"))!==b)return
414
+ d;d=e.value;return typeof d=="string"?d.replace(p,""):d==null?"":d}return b}var
415
+ g=f.isFunction(a);return this.each(function(d){var
416
+ e=f(this),h;if(this.nodeType===1){g?h=a.call(this,d,e.val()):h=a,h==null?h="":
417
+ typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return
418
+ a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.
419
+ type];if(!c||!("set"in
420
+ c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valHooks:{option:{get
421
+ :function(a){var
422
+ b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function
423
+ (a){var
424
+ b,c=a.selectedIndex,d=[],e=a.options,g=a.type==="select-one";if(c<0)return
425
+ null;for(var h=g?c:0,i=g?c+1:e.length;h<i;h++){var
426
+ j=e[h];if(j.selected&&(f.support.optDisabled?!j.disabled:j.getAttribute(
427
+ "disabled")===null)&&(!j.parentNode.disabled||!f.nodeName(j.parentNode,
428
+ "optgroup"))){b=f(j).val();if(g)return
429
+ b;d.push(b)}}if(g&&!d.length&&e.length)return f(e[c]).val();return
430
+ d},set:function(a,b){var
431
+ c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(
432
+ this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return
433
+ c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0}
434
+ ,attrFix:{tabindex:"tabIndex"},attr:function(a,c,d,e){var
435
+ g=a.nodeType;if(!a||g===3||g===8||g===2)return b;if(e&&c in f.attrFn)return
436
+ f(a)[c](d);if(!("getAttribute"in a))return f.prop(a,c,d);var
437
+ h,i,j=g!==1||!f.isXMLDoc(a);j&&(c=f.attrFix[c]||c,i=f.attrHooks[c],i||(t.test(c)
438
+ ?i=w:v&&c!=="className"&&(f.nodeName(a,"form")||u.test(c))&&(i=v)));if(d!==b){if
439
+ (d===null){f.removeAttr(a,c);return b}if(i&&"set"in
440
+ i&&j&&(h=i.set(a,d,c))!==b)return h;a.setAttribute(c,""+d);return
441
+ d}if(i&&"get"in i&&j&&(h=i.get(a,c))!==null)return h;h=a.getAttribute(c);return
442
+ h===null?b:h},removeAttr:function(a,b){var
443
+ c;a.nodeType===1&&(b=f.attrFix[b]||b,f.support.getSetAttribute?a.removeAttribute
444
+ (b):(f.attr(a,b,""),a.removeAttributeNode(a.getAttributeNode(b))),t.test(b)&&(c=
445
+ f.propFix[b]||b)in
446
+ a&&(a[c]=!1))},attrHooks:{type:{set:function(a,b){if(q.test(a.nodeName)&&a.
447
+ parentNode)f.error("type property can't be changed");else
448
+ if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var
449
+ c=a.value;a.setAttribute("type",b),c&&(a.value=c);return
450
+ b}}},tabIndex:{get:function(a){var c=a.getAttributeNode("tabIndex");return
451
+ c&&c.specified?parseInt(c.value,10):r.test(a.nodeName)||s.test(a.nodeName)&&a.
452
+ href?0:b}},value:{get:function(a,b){if(v&&f.nodeName(a,"button"))return
453
+ v.get(a,b);return b in
454
+ a?a.value:null},set:function(a,b,c){if(v&&f.nodeName(a,"button"))return
455
+ v.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for"
456
+ :"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",
457
+ cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",
458
+ frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d
459
+ ){var e=a.nodeType;if(!a||e===3||e===8||e===2)return b;var
460
+ g,h,i=e!==1||!f.isXMLDoc(a);i&&(c=f.propFix[c]||c,h=f.propHooks[c]);return
461
+ d!==b?h&&"set"in h&&(g=h.set(a,d,c))!==b?g:a[c]=d:h&&"get"in
462
+ h&&(g=h.get(a,c))!==b?g:a[c]},propHooks:{}}),w={get:function(a,c){return
463
+ f.prop(a,c)?c.toLowerCase():b},set:function(a,b,c){var
464
+ d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in
465
+ a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return
466
+ c}},f.support.getSetAttribute||(f.attrFix=f.propFix,v=f.attrHooks.name=f.
467
+ attrHooks.title=f.valHooks.button={get:function(a,c){var
468
+ d;d=a.getAttributeNode(c);return
469
+ d&&d.nodeValue!==""?d.nodeValue:b},set:function(a,b,c){var
470
+ d=a.getAttributeNode(c);if(d){d.nodeValue=b;return
471
+ b}}},f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks
472
+ [b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return
473
+ c}}})})),f.support.hrefNormalized||f.each(["href","src","width","height"],
474
+ function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var
475
+ d=a.getAttribute(c,2);return
476
+ d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return
477
+ a.style.cssText.toLowerCase()||b},set:function(a,b){return
478
+ a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.
479
+ propHooks.selected,{get:function(a){var
480
+ b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}))
481
+ ,f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get
482
+ :function(a){return
483
+ a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],
484
+ function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.
485
+ isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var
486
+ x=/\.(.*)$/,y=/^(?:textarea|input|select)$/i,z=/\./g,A=/
487
+ /g,B=/[^\w\s.|`]/g,C=function(a){return
488
+ a.replace(B,"\\$&")};f.event={add:function(a,c,d,e){if(a.nodeType!==3&&a.
489
+ nodeType!==8){if(d===!1)d=D;else if(!d)return;var
490
+ g,h;d.handler&&(g=d,d=g.handler),d.guid||(d.guid=f.guid++);var
491
+ i=f._data(a);if(!i)return;var
492
+ j=i.events,k=i.handle;j||(i.events=j={}),k||(i.handle=k=function(a){return
493
+ typeof
494
+ f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.handle.apply(k.elem,
495
+ arguments):b}),k.elem=a,c=c.split(" ");var
496
+ l,m=0,n;while(l=c[m++]){h=g?f.extend({},g):{handler:d,data:e},l.indexOf(".")>-1?
497
+ (n=l.split("."),l=n.shift(),h.namespace=n.slice(0).sort().join(".")):(n=[],h.
498
+ namespace=""),h.type=l,h.guid||(h.guid=d.guid);var
499
+ o=j[l],p=f.event.special[l]||{};if(!o){o=j[l]=[];if(!p.setup||p.setup.call(a,e,n
500
+ ,k)===!1)a.addEventListener?a.addEventListener(l,k,!1):a.attachEvent&&a.
501
+ attachEvent("on"+l,k)}p.add&&(p.add.call(a,h),h.handler.guid||(h.handler.guid=d.
502
+ guid)),o.push(h),f.event.global[l]=!0}a=null}},global:{},remove:function(a,c,d,e
503
+ ){if(a.nodeType!==3&&a.nodeType!==8){d===!1&&(d=D);var
504
+ g,h,i,j,k=0,l,m,n,o,p,q,r,s=f.hasData(a)&&f._data(a),t=s&&s.events;if(!s||!t)
505
+ return;c&&c.type&&(d=c.handler,c=c.type);if(!c||typeof
506
+ c=="string"&&c.charAt(0)==="."){c=c||"";for(h in
507
+ t)f.event.remove(a,h+c);return}c=c.split("
508
+ ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.
509
+ shift(),n=new
510
+ RegExp("(^|\\.)"+f.map(m.slice(0).sort(),C).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=
511
+ t[h];if(!p)continue;if(!d){for(j=0;j<p.length;j++){q=p[j];if(l||n.test(q.
512
+ namespace))f.event.remove(a,r,q.handler,j),p.splice(j--,1)}continue}o=f.event.
513
+ special[h]||{};for(j=e||0;j<p.length;j++){q=p[j];if(d.guid===q.guid){if(l||n.
514
+ test(q.namespace))e==null&&p.splice(j--,1),o.remove&&o.remove.call(a,q);if(e!=
515
+ null)break}}if(p.length===0||e!=null&&p.length===1)(!o.teardown||o.teardown.call
516
+ (a,m)===!1)&&f.removeEvent(a,h,s.handle),g=null,delete
517
+ t[h]}if(f.isEmptyObject(t)){var u=s.handle;u&&(u.elem=null),delete
518
+ s.events,delete
519
+ s.handle,f.isEmptyObject(s)&&f.removeData(a,b,!0)}}},customEvent:{getData:!0,
520
+ setData:!0,changeData:!0},trigger:function(c,d,e,g){var
521
+ h=c.type||c,i=[],j;h.indexOf("!")>=0&&(h=h.slice(0,-1),j=!0),h.indexOf(".")>=0&&
522
+ (i=h.split("."),h=i.
523
+ shift(),i.sort());if(!!e&&!f.event.customEvent[h]||!!f.event.global[h]){c=typeof
524
+ c=="object"?c[f.expando]?c:new f.Event(h,c):new
525
+ f.Event(h),c.type=h,c.exclusive=j,c.namespace=i.join("."),c.namespace_re=new
526
+ RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)");if(g||!e)c.preventDefault(),
527
+ c.stopPropagation();if(!e){f.each(f.cache,function(){var
528
+ a=f.expando,b=this[a];b&&b.events&&b.events[h]&&f.event.trigger(c,d,b.handle.
529
+ elem)});return}if(e.nodeType===3||e.nodeType===8)return;c.result=b,c.target=e,d=
530
+ d!=null?f.makeArray(d):[],d.unshift(c);var
531
+ k=e,l=h.indexOf(":")<0?"on"+h:"";do{var
532
+ m=f._data(k,"handle");c.currentTarget=k,m&&m.apply(k,d),l&&f.acceptData(k)&&k[l]
533
+ &&k[l].apply(k,d)===!1&&(c.result=!1,c.preventDefault()),k=k.parentNode||k.
534
+ ownerDocument||k===c.target.ownerDocument&&a}while(k&&!c.isPropagationStopped())
535
+ ;if(!c.isDefaultPrevented()){var
536
+ n,o=f.event.special[h]||{};if((!o._default||o._default.call(e.ownerDocument,c)==
537
+ =!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)){try{l&&e[h]&&(n=e[l],n
538
+ &&(e[l]=null),f.event.triggered=h,e[h]())}catch(p){}n&&(e[l]=n),f.event.
539
+ triggered=b}}return c.result}},handle:function(c){c=f.event.fix(c||a.event);var
540
+ d=((f._data(this,"events")||{})[c.type]||[]).slice(0),e=!c.exclusive&&!c.
541
+ namespace,g=Array.prototype.slice.call(arguments,0);g[0]=c,c.currentTarget=this;
542
+ for(var h=0,i=d.length;h<i;h++){var
543
+ j=d[h];if(e||c.namespace_re.test(j.namespace)){c.handler=j.handler,c.data=j.data
544
+ ,c.handleObj=j;var
545
+ k=j.handler.apply(this,g);k!==b&&(c.result=k,k===!1&&(c.preventDefault(),c.
546
+ stopPropagation()));if(c.isImmediatePropagationStopped())break}}return
547
+ c.result},props:"altKey attrChange attrName bubbles button cancelable charCode
548
+ clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler
549
+ keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue
550
+ relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement
551
+ view wheelDelta which".split(" "),fix:function(a){if(a[f.expando])return a;var
552
+ d=a;a=f.Event(d);for(var
553
+ e=this.props.length,g;e;)g=this.props[--e],a[g]=d[g];a.target||(a.target=a.
554
+ srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),!a.
555
+ relatedTarget&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.
556
+ toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){var
557
+ h=a.target.ownerDocument||c,i=h.documentElement,j=h.body;a.pageX=a.clientX+(i&&i
558
+ .scrollLeft||j&&j.scrollLeft||0)-(i&&i.clientLeft||j&&j.clientLeft||0),a.pageY=a
559
+ .clientY+(i&&i.scrollTop||j&&j.scrollTop||0)-(i&&i.clientTop||j&&j.clientTop||0)
560
+ }a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a
561
+ .charCode:a.keyCode),!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey),!a.which&&a.
562
+ button!==b&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return
563
+ a},guid:1e8,proxy:f.proxy,special:{ready:{setup:f.bindReady,teardown:f.noop},
564
+ live:{add:function(a){f.event.add(this,N(a.origType,a.selector),f.extend({},a,{
565
+ handler:M,guid:a.handler.guid}))},remove:function(a){f.event.remove(this,N(a.
566
+ origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&
567
+ (this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.
568
+ onbeforeunload=null)}}}},f.removeEvent=c.removeEventListener?function(a,b,c){a.
569
+ removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.
570
+ detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!this.
571
+ preventDefault)return new
572
+ f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.
573
+ isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&
574
+ a.getPreventDefault()?E:D):this.type=a,b&&f.extend(this,b),this.timeStamp=f.now(
575
+ ),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.
576
+ isDefaultPrevented=E;var
577
+ a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)}
578
+ ,stopPropagation:function(){this.isPropagationStopped=E;var
579
+ a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=
580
+ !0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=E,
581
+ this.stopPropagation()},isDefaultPrevented:D,isPropagationStopped:D,
582
+ isImmediatePropagationStopped:D};var F=function(a){var
583
+ b=a.relatedTarget,c=!1,d=a.type;a.type=a.data,b!==this&&(b&&(c=f.contains(this,b
584
+ )),c||(f.event.handle.apply(this,arguments),a.type=d))},G=function(a){a.type=a.
585
+ data,f.event.handle.apply(this,arguments)};f.each({mouseenter:"mouseover",
586
+ mouseleave:"mouseout"},function(a,b){f.event.special[a]={setup:function(c){f.
587
+ event.add(this,b,c&&c.selector?G:F,a)},teardown:function(a){f.event.remove(this,
588
+ b,a&&a.selector?G:F)}}}),f.support.submitBubbles||(f.event.special.submit={setup
589
+ :function(a,b){if(!f.nodeName(this,"form"))f.event.add(this,"click.
590
+ specialSubmit",function(a){var
591
+ b=a.target,c=b.type;(c==="submit"||c==="image")&&f(b).closest("form").length&&K(
592
+ "submit",this,arguments)}),f.event.add(this,"keypress.specialSubmit",function(a)
593
+ {var
594
+ b=a.target,c=b.type;(c==="text"||c==="password")&&f(b).closest("form").length&&a
595
+ .keyCode===13&&K("submit",this,arguments)});else
596
+ return!1},teardown:function(a){f.event.remove(this,".specialSubmit")}});if(!f.
597
+ support.changeBubbles){var H,I=function(a){var
598
+ b=a.type,c=a.value;b==="radio"||b==="checkbox"?c=a.checked:b==="select-
599
+ multiple"?c=a.selectedIndex>-1?f.map(a.options,function(a){return
600
+ a.selected}).join("-"):"":f.nodeName(a,"select")&&(c=a.selectedIndex);return
601
+ c},J=function(c){var
602
+ d=c.target,e,g;if(!!y.test(d.nodeName)&&!d.readOnly){e=f._data(d,"_change_data")
603
+ ,g=I(d),(c.type!=="focusout"||d.type!=="radio")&&f._data(d,"_change_data",g);if(
604
+ e===b||g===e)return;if(e!=null||g)c.type="change",c.liveFired=b,f.event.trigger(
605
+ c,arguments[1],d)}};f.event.special.change={filters:{focusout:J,beforedeactivate
606
+ :J,click:function(a){var
607
+ b=a.target,c=f.nodeName(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||f.
608
+ nodeName(b,"select"))&&J.call(this,a)},keydown:function(a){var
609
+ b=a.target,c=f.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!f.nodeName(b,
610
+ "textarea")||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-
611
+ multiple")&&J.call(this,a)},beforeactivate:function(a){var
612
+ b=a.target;f._data(b,"_change_data",I(b))}},setup:function(a,b){if(this.type===
613
+ "file")return!1;for(var c in H)f.event.add(this,c+".specialChange",H[c]);return
614
+ y.test(this.nodeName)},teardown:function(a){f.event.remove(this,".specialChange"
615
+ );return
616
+ y.test(this.nodeName)}},H=f.event.special.change.filters,H.focus=H.
617
+ beforeactivate}f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"
618
+ },function(a,b){function e(a){var
619
+ c=f.event.fix(a);c.type=b,c.originalEvent={},f.event.trigger(c,null,c.target),c.
620
+ isDefaultPrevented()&&a.preventDefault()}var
621
+ d=0;f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},
622
+ teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.each(["bind",
623
+ "one"],function(a,c){f.fn[c]=function(a,d,e){var g;if(typeof
624
+ a=="object"){for(var h in a)this[c](h,d,a[h],e);return
625
+ this}if(arguments.length===2||d===!1)e=d,d=b;c==="one"?(g=function(a){f(this).
626
+ unbind(a,g);return
627
+ e.apply(this,arguments)},g.guid=e.guid||f.guid++):g=e;if(a==="unload"&&c!=="one"
628
+ )this.one(a,d,e);else for(var
629
+ i=0,j=this.length;i<j;i++)f.event.add(this[i],a,g,d);return
630
+ this}}),f.fn.extend({unbind:function(a,b){if(typeof
631
+ a=="object"&&!a.preventDefault)for(var c in a)this.unbind(c,a[c]);else for(var
632
+ d=0,e=this.length;d<e;d++)f.event.remove(this[d],a,b);return
633
+ this},delegate:function(a,b,c,d){return
634
+ this.live(b,c,d,a)},undelegate:function(a,b,c){return
635
+ arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(
636
+ a,b){return
637
+ this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){
638
+ if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var
639
+ b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var
640
+ e=(f.data(this,"lastToggle"+a.guid)||0)%d;f.data(this,"lastToggle"+a.guid,e+1),c
641
+ .preventDefault();return
642
+ b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return
643
+ this.click(e)},hover:function(a,b){return
644
+ this.mouseenter(a).mouseleave(b||a)}});var
645
+ L={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"}
646
+ ;f.each(["live","die"],function(a,c){f.fn[c]=function(a,d,e,g){var
647
+ h,i=0,j,k,l,m=g||this.selector,n=g?this:f(this.context);if(typeof
648
+ a=="object"&&!a.preventDefault){for(var o in a)n[c](o,d,a[o],m);return
649
+ this}if(c==="die"&&!a&&g&&g.charAt(0)==="."){n.unbind(g);return
650
+ this}if(d===!1||f.isFunction(d))e=d||D,d=b;a=(a||"").split("
651
+ ");while((h=a[i++])!=null){j=x.exec(h),k="",j&&(k=j[0],h=h.replace(x,""));if(h==
652
+ ="hover"){a.push("mouseenter"+k,"mouseleave"+k);continue}l=h,L[h]?(a.push(L[h]+k
653
+ ),h=h+k):h=(L[h]||h)+k;if(c==="live")for(var
654
+ p=0,q=n.length;p<q;p++)f.event.add(n[p],"live."+N(h,m),{data:d,selector:m,
655
+ handler:e,origType:h,origHandler:e,preType:l});else
656
+ n.unbind("live."+N(h,m),e)}return this}}),f.each("blur focus focusin focusout
657
+ load resize scroll unload click dblclick mousedown mouseup mousemove mouseover
658
+ mouseout mouseenter mouseleave change select submit keydown keypress keyup
659
+ error".split("
660
+ "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return
661
+ arguments.length>0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0)}
662
+ ),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var
663
+ i=d[g];if(i){var
664
+ j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}if(i.nodeType===1){f
665
+ ||(i.sizcache=c,i.sizset=g);if(typeof b!="string"){if(i===b){j=!0;break}}else
666
+ if(k.filter(b,[i]).length>0){j=i;break}}i=i[a]}d[g]=j}}}function
667
+ t(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var
668
+ j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}i.nodeType===1&&!f&&
669
+ (i.sizcache=c,i.sizset=g);if(i.nodeName.toLowerCase()===b){j=i;break}i=i[a]}d[g]
670
+ =j}}}var
671
+ a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\
672
+ ]|\\.|[^
673
+ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d=0,e=Object.prototype.toString,g
674
+ =!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var
675
+ k=function(b,d,f,g){f=f||[],d=d||c;var
676
+ h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return
677
+ f;var
678
+ i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3
679
+ ],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.
680
+ length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[x[0]]?[d]:k(x.
681
+ shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}
682
+ else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test
683
+ (x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.
684
+ set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="
685
+ ~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):
686
+ q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop(
687
+ ):r="",s==null&&(s=d),l.relative[r](n,s,w)}else
688
+ n=x=[]}n||(n=j),n||k.error(r||b);if(e.call(n)==="[object
689
+ Array]")if(!u)f.push.apply(f,n);else
690
+ if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&
691
+ &k.contains(d,n[t]))&&f.push(j[t]);else
692
+ for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&f.push(j[t]);else
693
+ p(n,f);o&&(k(o,h,f,g),k.uniqueSort(f));return
694
+ f};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var
695
+ b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return
696
+ a},k.matches=function(a,b){return
697
+ k(a,null,null,b)},k.matchesSelector=function(a,b){return
698
+ k(b,null,null,[a]).length>0},k.find=function(a,b,c){var d;if(!a)return[];for(var
699
+ e=0,f=l.order.length;e<f;e++){var
700
+ g,h=l.order[e];if(g=l.leftMatch[h].exec(a)){var
701
+ j=g[1];g.splice(1,1);if(j.substr(j.length-1)!=="\\"){g[1]=(g[1]||"").replace(i,
702
+ ""),d=l.find[h](g,b,c);if(d!=null){a=a.replace(l.match[h],"");break}}}}d||(d=
703
+ typeof
704
+ b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d
705
+ ,expr:a}},k.filter=function(a,c,d,e){var
706
+ f,g,h=a,i=[],j=c,m=c&&c[0]&&k.isXML(c[0]);while(a&&c.length){for(var n in
707
+ l.filter)if((f=l.leftMatch[n].exec(a))!=null&&f[2]){var
708
+ o,p,q=l.filter[n],r=f[1];g=!1,f.splice(1,1);if(r.substr(r.length-1)==="\\")
709
+ continue;j===i&&(i=[]);if(l.preFilter[n]){f=l.preFilter[n](f,j,d,i,e,m);if(!f)g=
710
+ o=!0;else if(f===!0)continue}if(f)for(var
711
+ s=0;(p=j[s])!=null;s++)if(p){o=q(p,f,s,j);var
712
+ t=e^!!o;d&&o!=null?t?g=!0:j[s]=!1:t&&(i.push(p),g=!0)}if(o!==b){d||(j=i),a=a.
713
+ replace(l.match[n],"");if(!g)return[];break}}if(a===h)if(g==null)k.error(a);else
714
+ break;h=a}return j},k.error=function(a){throw"Syntax error, unrecognized
715
+ expression: "+a};var
716
+ l=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.
717
+ )+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\
718
+ uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*
719
+ (?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-
720
+ \uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-
721
+ ]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|
722
+ last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)
723
+ (?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":
724
+ "className","for":"htmlFor"},attrHandle:{href:function(a){return
725
+ a.getAttribute("href")},type:function(a){return
726
+ a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof
727
+ b=="string",d=c&&!j.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var
728
+ f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1)
729
+ ;a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&k.filter(b,a,!0)},">":
730
+ function(a,b){var c,d=typeof
731
+ b=="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a
732
+ [e];if(c){var
733
+ g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e]
734
+ ,c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&k.filter(b,a,!0)}},"":function(a,b
735
+ ,c){var e,f=d++,g=u;typeof
736
+ b=="string"&&!j.test(b)&&(b=b.toLowerCase(),e=b,g=t),g("parentNode",b,f,a,e,c)},
737
+ "~":function(a,b,c){var e,f=d++,g=u;typeof
738
+ b=="string"&&!j.test(b)&&(b=b.toLowerCase(),e=b,g=t),g("previousSibling",b,f,a,e
739
+ ,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var
740
+ d=b.getElementById(a[1]);return
741
+ d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof
742
+ b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var
743
+ e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return
744
+ c.length===0?null:c}},TAG:function(a,b){if(typeof
745
+ b.getElementsByTagName!="undefined")return
746
+ b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a="
747
+ "+a[1].replace(i,"")+" ";if(f)return a;for(var
748
+ g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+"
749
+ ").replace(/[\t\n\r]/g,"
750
+ ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return
751
+ a[1].replace(i,"")},TAG:function(a,b){return
752
+ a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.
753
+ error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var
754
+ b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!
755
+ /\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else
756
+ a[2]&&k.error(a[0]);a[0]=d++;return a},ATTR:function(a,b,c,d,e,f){var
757
+ g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]
758
+ ||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return
759
+ a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^
760
+ \w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var
761
+ g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else
762
+ if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return
763
+ b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return
764
+ a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return
765
+ a.disabled===!0},checked:function(a){return
766
+ a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;
767
+ return
768
+ a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){
769
+ return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:
770
+ function(a){return/h\d/i.test(a.nodeName)},text:function(a){var
771
+ b=a.getAttribute("type"),c=a.type;return
772
+ a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:
773
+ function(a){return
774
+ a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){
775
+ return
776
+ a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return
777
+ a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return
778
+ a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var
779
+ b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type}
780
+ ,image:function(a){return
781
+ a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var
782
+ b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},
783
+ button:function(a){var b=a.nodeName.toLowerCase();return
784
+ b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|
785
+ select|textarea|button/i.test(a.nodeName)},focus:function(a){return
786
+ a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return
787
+ b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return
788
+ b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return
789
+ b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return
790
+ c[3]-0===b},eq:function(a,b,c){return
791
+ c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var
792
+ e=b[1],f=l.filters[e];if(f)return
793
+ f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||
794
+ "").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var
795
+ h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}k.error(e)},CHILD:function(
796
+ a,b){var
797
+ c=b[1],d=a;switch(c){case"only":case"first":while(d=d.previousSibling)if(d.
798
+ nodeType===1)return!1;if(c==="first")return!0;d=a;case"last":while(d=d.
799
+ nextSibling)if(d.nodeType===1)return!1;return!0;case"nth":var
800
+ e=b[2],f=b[3];if(e===1&&f===0)return!0;var
801
+ g=b[0],h=a.parentNode;if(h&&(h.sizcache!==g||!a.nodeIndex)){var
802
+ i=0;for(d=h.firstChild;d;d=d.nextSibling)d.nodeType===1&&(d.nodeIndex=++i);h.
803
+ sizcache=g}var j=a.nodeIndex-f;return
804
+ e===0?j===0:j%e===0&&j/e>=0}},ID:function(a,b){return
805
+ a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return
806
+ b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){
807
+ return(" "+(a.className||a.getAttribute("class"))+"
808
+ ").indexOf(b)>-1},ATTR:function(a,b){var
809
+ c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=
810
+ d+"",f=b[2],g=b[4];return
811
+ d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+"
812
+ ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.
813
+ length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1
814
+ },POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return
815
+ f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};for(var o in
816
+ l.match)l.match[o]=new
817
+ RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new
818
+ RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var
819
+ p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return
820
+ b}return
821
+ a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}
822
+ catch(q){p=function(a,b){var c=0,d=b||[];if(e.call(a)==="[object
823
+ Array]")Array.prototype.push.apply(d,a);else if(typeof
824
+ a.length=="number")for(var f=a.length;c<f;c++)d.push(a[c]);else
825
+ for(;a[c];c++)d.push(a[c]);return d}}var
826
+ r,s;c.documentElement.compareDocumentPosition?r=function(a,b){if(a===b){g=!0;
827
+ return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return
828
+ a.compareDocumentPosition?-1:1;return
829
+ a.compareDocumentPosition(b)&4?-1:1}:(r=function(a,b){if(a===b){g=!0;return
830
+ 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var
831
+ c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(h===i)return
832
+ s(a,b);if(!h)return-1;if(!i)return
833
+ 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=
834
+ e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return
835
+ s(e[k],f[k]);return
836
+ k===c?s(a,f[k],-1):s(e[k],b,1)},s=function(a,b,c){if(a===b)return c;var
837
+ d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return
838
+ 1}),k.getText=function(a){var b="",c;for(var
839
+ d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8
840
+ &&(b+=k.getText(c.childNodes));return b},function(){var
841
+ a=c.createElement("div"),d="script"+(new
842
+ Date).getTime(),e=c.documentElement;a.innerHTML="<a
843
+ name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=
844
+ function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var
845
+ e=c.getElementById(a[1]);return e?e.id===a[1]||typeof
846
+ e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b
847
+ :[]}},l.filter.ID=function(a,b){var c=typeof
848
+ a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return
849
+ a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var
850
+ a=c.createElement("div");a.appendChild(c.createComment("")),a.
851
+ getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var
852
+ c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var
853
+ e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a
854
+ href='#'></a>",a.firstChild&&typeof
855
+ a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&
856
+ &(l.attrHandle.href=function(a){return
857
+ a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var
858
+ a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p
859
+ class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==
860
+ 0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var
861
+ h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType
862
+ ===9)){if(h[1])return
863
+ p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)
864
+ return
865
+ p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)
866
+ return p([e.body],f);if(h&&h[3]){var
867
+ i=e.getElementById(h[3]);if(!i||!i.parentNode)return
868
+ p([],f);if(i.id===h[3])return p([i],f)}try{return
869
+ p(e.querySelectorAll(b),f)}catch(j){}}else
870
+ if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var
871
+ m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.
872
+ replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)
873
+ return p(e.querySelectorAll("[id='"+o+"']
874
+ "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return
875
+ a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var
876
+ a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.
877
+ webkitMatchesSelector||a.msMatchesSelector;if(b){var
878
+ d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[
879
+ test!='']:sizzle")}catch(f){e=!0}k.matchesSelector=function(a,c){c=c.replace(/\=
880
+ \s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(e||!l.match.PSEUDO.test(c)&
881
+ &!/!=/.test(c)){var
882
+ f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return
883
+ f}}catch(g){}return k(c,null,null,[a]).length>0}}}(),function(){var
884
+ a=c.createElement("div");a.innerHTML="<div class='test e'></div><div
885
+ class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e"
886
+ ).length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length=
887
+ ==1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof
888
+ b.getElementsByClassName!="undefined"&&!c)return
889
+ b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains
890
+ =function(a,b){return
891
+ a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.
892
+ compareDocumentPosition?k.contains=function(a,b){return!!(a.
893
+ compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function
894
+ (a){var b=(a?a.ownerDocument||a:0).documentElement;return
895
+ b?b.nodeName!=="HTML":!1};var v=function(a,b){var
896
+ c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.
897
+ replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var
898
+ g=0,h=f.length;g<h;g++)k(a,f[g],d);return
899
+ k.filter(e,d)};f.find=k,f.expr=k.selectors,f.expr[":"]=f.expr.filters,f.unique=k
900
+ .uniqueSort,f.text=k.getText,f.isXMLDoc=k.isXML,f.contains=k.contains}();var
901
+ O=/Until$/,P=/^(?:parents|prevUntil|prevAll)/,Q=/,/,R=/^.[^:#\[\.,]*$/,S=Array.
902
+ prototype.slice,T=f.expr.match.POS,U={children:!0,contents:!0,next:!0,prev:!0};f
903
+ .fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return
904
+ f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))
905
+ return!0});var
906
+ e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.
907
+ find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){
908
+ e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return
909
+ this.filter(function(){for(var
910
+ a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){
911
+ return this.pushStack(W(this,a,!1),"not",a)},filter:function(a){return
912
+ this.pushStack(W(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof
913
+ a=="string"?f.filter(a,this).length>0:this.filter(a).length>0)},closest:function
914
+ (a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var
915
+ h,i,j={},k=1;if(g&&a.length){for(d=0,e=a.length;d<e;d++)i=a[d],j[i]||(j[i]=T.
916
+ test(i)?f(i,b||this.context):i);while(g&&g.ownerDocument&&g!==b){for(i in
917
+ j)h=j[i],(h.jquery?h.index(g)>-1:f(g).is(h))&&c.push({selector:i,elem:g,level:k}
918
+ );g=g.parentNode,k++}}return c}var l=T.test(a)||typeof
919
+ a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];
920
+ while(g){if(l?l.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.
921
+ parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f
922
+ .unique(c):c;return
923
+ this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof
924
+ a=="string")return f.inArray(this[0],a?f(a):this.parent().children());return
925
+ f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof
926
+ a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);
927
+ return this.pushStack(V(c[0])||V(d[0])?d:f.unique(d))},andSelf:function(){return
928
+ this.add(this.prevObject)}}),f.each({parent:function(a){var
929
+ b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return
930
+ f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return
931
+ f.dir(a,"parentNode",c)},next:function(a){return
932
+ f.nth(a,2,"nextSibling")},prev:function(a){return
933
+ f.nth(a,2,"previousSibling")},nextAll:function(a){return
934
+ f.dir(a,"nextSibling")},prevAll:function(a){return
935
+ f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return
936
+ f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return
937
+ f.dir(a,"previousSibling",c)},siblings:function(a){return
938
+ f.sibling(a.parentNode.firstChild,a)},children:function(a){return
939
+ f.sibling(a.firstChild)},contents:function(a){return
940
+ f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a
941
+ .childNodes)}},function(a,b){f.fn[a]=function(c,d){var
942
+ e=f.map(this,b,c),g=S.call(arguments);O.test(a)||(d=c),d&&typeof
943
+ d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!U[a]?f.unique(e):e,(this.length
944
+ >1||Q.test(d))&&P.test(a)&&(e=e.reverse());return
945
+ this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not(
946
+ "+a+")");return
947
+ b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:
948
+ function(a,c,d){var
949
+ e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.
950
+ nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var
951
+ e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return
952
+ a},sibling:function(a,b){var
953
+ c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var X=/
954
+ jQuery\d+="(?:\d+|null)"/g,Y=/^\s+/,Z=/<(?!area|br|col|embed|hr|img|input|link|
955
+ meta|param)(([\w:]+)[^>]*)\/>/ig,$=/<([\w:]+)/,_=/<tbody/i,ba=/<|&#?\w+;/,bb=/<(
956
+ ?:script|object|embed|option|style)/i,bc=/checked\s*(?:[^=]|=\s*.checked.)/i,bd=
957
+ /\/(java|ecma)script/i,be=/^\s*<!(?:\[CDATA\[|\-\-)/,bf={option:[1,"<select
958
+ multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[
959
+ 1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table
960
+ ><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>"
961
+ ,"</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};bf.
962
+ optgroup=bf.option,bf.tbody=bf.tfoot=bf.colgroup=bf.caption=bf.thead,bf.th=bf.td
963
+ ,f.support.htmlSerialize||(bf._default=[1,"div<div>","</div>"]),f.fn.extend({
964
+ text:function(a){if(f.isFunction(a))return this.each(function(b){var
965
+ c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return
966
+ this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));
967
+ return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return
968
+ this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var
969
+ b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(
970
+ this[0]),b.map(function(){var
971
+ a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return
972
+ a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return
973
+ this.each(function(b){f(this).wrapInner(a.call(this,b))});return
974
+ this.each(function(){var
975
+ b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){
976
+ return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return
977
+ this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.
978
+ childNodes)}).end()},append:function(){return
979
+ this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})}
980
+ ,prepend:function(){return
981
+ this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,
982
+ this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return
983
+ this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if
984
+ (arguments.length){var a=f(arguments[0]);a.push.apply(a,this.toArray());return
985
+ this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].
986
+ parentNode)return
987
+ this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.
988
+ nextSibling)});if(arguments.length){var
989
+ a=this.pushStack(this,"after",arguments);a.push.apply(a,f(arguments[0]).toArray(
990
+ ));return a}},remove:function(a,b){for(var
991
+ c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f
992
+ .cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.
993
+ parentNode.removeChild(d);return this},empty:function(){for(var
994
+ a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName(
995
+ "*"));while(b.firstChild)b.removeChild(b.firstChild)}return
996
+ this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return
997
+ this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return
998
+ this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(X,""):null;if(typeof
999
+ a=="string"&&!bb.test(a)&&(f.support.leadingWhitespace||!Y.test(a))&&!bf[($.exec
1000
+ (a)||["",""])[1].toLowerCase()]){a=a.replace(Z,"<$1></$2>");try{for(var
1001
+ c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].
1002
+ getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}
1003
+ }else f.isFunction(a)?this.each(function(b){var
1004
+ c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return
1005
+ this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a)
1006
+ )return this.each(function(b){var
1007
+ c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof
1008
+ a!="string"&&(a=f(a).detach());return this.each(function(){var
1009
+ b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).
1010
+ append(a)})}return
1011
+ this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},
1012
+ detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var
1013
+ e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof
1014
+ j=="string"&&bc.test(j))return
1015
+ this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return
1016
+ this.each(function(e){var
1017
+ g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&
1018
+ j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===
1019
+ this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes
1020
+ .length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(
1021
+ var
1022
+ l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bg(this[l],g):this[l],e.cacheable||m>1&
1023
+ &l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,bm)}return
1024
+ this}}),f.buildFragment=function(a,b,d){var
1025
+ e,g,h,i;b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.
1026
+ length===1&&typeof
1027
+ a[0]=="string"&&a[0].length<512&&i===c&&a[0].charAt(0)==="<"&&!bb.test(a[0])&&(f
1028
+ .support.checkClone||!bc.test(a[0]))&&(g=!0,h=f.fragments[a[0]],h&&h!==1&&(e=h))
1029
+ ,e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[a[0]]=h?e:1)
1030
+ ;return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",
1031
+ prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:
1032
+ "replaceWith"},function(a,b){f.fn[a]=function(c){var
1033
+ d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.
1034
+ childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var
1035
+ h=0,i=e.length;h<i;h++){var
1036
+ j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j )}return
1037
+ this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var
1038
+ d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&
1039
+ &(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bi(a,d),e=bj(a),g=bj(d);for(
1040
+ h=0;e[h];++h)bi(e[h],g[h])}if(b){bh(a,d);if(c){e=bj(a),g=bj(d);for(h=0;e[h];++h)
1041
+ bh(e[h],g[h])}}e=g=null;return d},clean:function(a,b,d,e){var g;b=b||c,typeof
1042
+ b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);
1043
+ var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof
1044
+ k=="number"&&(k+="");if(!k)continue;if(typeof
1045
+ k=="string")if(!ba.test(k))k=b.createTextNode(k);else{k=k.replace(Z,"<$1></$2>")
1046
+ ;var
1047
+ l=($.exec(k)||["",""])[1].toLowerCase(),m=bf[l]||bf._default,n=m[0],o=b.
1048
+ createElement("div");o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.
1049
+ support.tbody){var
1050
+ p=_.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<
1051
+ table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&
1052
+ !q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.
1053
+ leadingWhitespace&&Y.test(k)&&o.insertBefore(b.createTextNode(Y.exec(k)[0]),o.
1054
+ firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof
1055
+ (r=k.length)=="number")for(i=0;i<r;i++)bl(k[i]);else
1056
+ bl(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||bd.
1057
+ test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j
1058
+ ].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode
1059
+ .removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var
1060
+ s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(
1061
+ s))}d.appendChild(h[j])}}return h},cleanData:function(a){var
1062
+ b,c,d=f.cache,e=f.expando,g=f.event.special,h=f.support.deleteExpando;for(var
1063
+ i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&f.noData[j.nodeName.toLowerCase()])
1064
+ continue;c=j[f.expando];if(c){b=d[c]&&d[c][e];if(b&&b.events){for(var k in
1065
+ b.events)g[k]?f.event.remove(j,k):f.removeEvent(j,k,b.handle);b.handle&&(b.
1066
+ handle.elem=null)}h?delete
1067
+ j[f.expando]:j.removeAttribute&&j.removeAttribute(f.expando),delete
1068
+ d[c]}}}});var
1069
+ bn=/alpha\([^)]*\)/i,bo=/opacity=([^)]*)/,bp=/([A-Z]|^ms)/g,bq=/^-?\d+(?:px)?$/i
1070
+ ,br=/^-?\d/,bs=/^[+\-]=/,bt=/[^+\-\.\de]+/g,bu={position:"absolute",visibility:
1071
+ "hidden",display:"block"},bv=["Left","Right"],bw=["Top","Bottom"],bx,by,bz;f.fn.
1072
+ css=function(a,c){if(arguments.length===2&&c===b)return this;return
1073
+ f.access(this,a,c,!0,function(a,c,d){return
1074
+ d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b
1075
+ ){if(b){var c=bx(a,"opacity","opacity");return c===""?"1":c}return
1076
+ a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity
1077
+ :!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.
1078
+ cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3
1079
+ &&a.nodeType!==8&&!!a.style){var
1080
+ g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k
1081
+ &&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof
1082
+ d;if(h==="number"&&isNaN(d)||d==null)return;h==="string"&&bs.test(d)&&(d=+d.
1083
+ replace(bt,"")+parseFloat(f.css(a,c)),h="number"),h==="number"&&!f.cssNumber[i]&
1084
+ &(d+="px");if(!k||!("set"in
1085
+ k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var
1086
+ e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c=
1087
+ "float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bx)return
1088
+ bx(a,c)},swap:function(a,b,c){var d={};for(var e in
1089
+ b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in
1090
+ b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.
1091
+ cssHooks[b]={get:function(a,c,d){var e;if(c){if(a.offsetWidth!==0)return
1092
+ bA(a,b,d);f.swap(a,bu,function(){e=bA(a,b,d)});return
1093
+ e}},set:function(a,b){if(!bq.test(b))return b;b=parseFloat(b);if(b>=0)return
1094
+ b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return
1095
+ bo.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat
1096
+ (RegExp.$1)/100+"":b?"1":""},set:function(a,b){var
1097
+ c=a.style,d=a.currentStyle;c.zoom=1;var
1098
+ e=f.isNaN(b)?"":"alpha(opacity="+b*100+")",g=d&&d.filter||c.filter||"";c.filter=
1099
+ bn.test(g)?g.replace(bn,e):g+"
1100
+ "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:
1101
+ function(a,b){var
1102
+ c;f.swap(a,{display:"inline-block"},function(){b?c=bx(a,"margin-right",
1103
+ "marginRight"):c=a.style.marginRight});return
1104
+ c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(by=function(a,c){var
1105
+ d,e,g;c=c.replace(bp,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))
1106
+ return
1107
+ b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.
1108
+ ownerDocument.documentElement,a)&&(d=f.style(a,c));return
1109
+ d}),c.documentElement.currentStyle&&(bz=function(a,b){var
1110
+ c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.
1111
+ style;!bq.test(d)&&br.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.
1112
+ left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.
1113
+ runtimeStyle.left=e));return
1114
+ d===""?"auto":d}),bx=by||bz,f.expr&&f.expr.filters&&(f.expr.filters.hidden=
1115
+ function(a){var b=a.offsetWidth,c=a.offsetHeight;return
1116
+ b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style.display||f.css(a,
1117
+ "display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.
1118
+ hidden(a)});var bB=/%20/g,bC=/\[\]$/,bD=/\r?\n/g,bE=/#.*$/,bF=/^(.*?):[
1119
+ \t]*([^\r\n]*)\r?$/mg,bG=/^(?:color|date|datetime|email|hidden|month|number|
1120
+ password|range|search|tel|text|time|url|week)$/i,bH=/^(?:about|app|app\-storage|
1121
+ .+\-extension|file|widget):$/,bI=/^(?:GET|HEAD)$/,bJ=/^\/\//,bK=/\?/,bL=/<script
1122
+ \b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bM=/^(?:select|textarea)/i,bN=/\s+
1123
+ /,bO=/([?&])_=[^&]*/,bP=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bQ=f.fn
1124
+ .load,bR={},bS={},bT,bU;try{bT=e.href}catch(bV){bT=c.createElement("a"),bT.href=
1125
+ "",bT=bT.href}bU=bP.exec(bT.toLowerCase())||[],f.fn.extend({load:function(a,c,d)
1126
+ {if(typeof a!="string"&&bQ)return
1127
+ bQ.apply(this,arguments);if(!this.length)return this;var e=a.indexOf("
1128
+ ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var
1129
+ h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof
1130
+ c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var
1131
+ i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.
1132
+ responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").
1133
+ append(c.replace(bL,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return
1134
+ this},serialize:function(){return
1135
+ f.param(this.serializeArray())},serializeArray:function(){return
1136
+ this.map(function(){return
1137
+ this.elements?f.makeArray(this.elements):this}).filter(function(){return
1138
+ this.name&&!this.disabled&&(this.checked||bM.test(this.nodeName)||bG.test(this.
1139
+ type))}).map(function(a,b){var c=f(this).val();return
1140
+ c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.
1141
+ replace(bD,"\r\n")}}):{name:b.name,value:c.replace(bD,"\r\n")}}).get()}}),f.each
1142
+ ("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split("
1143
+ "),function(a,b){f.fn[b]=function(a){return
1144
+ this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.
1145
+ isFunction(d)&&(g=g||e,e=d,d=b);return
1146
+ f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:
1147
+ function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return
1148
+ f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?f.extend(!0,a,f.ajaxSettings,b):(
1149
+ b=a,a=f.extend(!0,f.ajaxSettings,b));for(var c in{context:1,url:1})c in
1150
+ b?a[c]=b[c]:c in f.ajaxSettings&&(a[c]=f.ajaxSettings[c]);return
1151
+ a},ajaxSettings:{url:bT,isLocal:bH.test(bU[1]),global:!0,type:"GET",contentType:
1152
+ "application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:
1153
+ "application/xml,
1154
+ text/xml",html:"text/html",text:"text/plain",json:"application/json,
1155
+ text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},
1156
+ responseFields:{xml:"responseXML",text:"responseText"},converters:{"*
1157
+ text":a.String,"text html":!0,"text json":f.parseJSON,"text
1158
+ xml":f.parseXML}},ajaxPrefilter:bW(bR),ajaxTransport:bW(bS),ajax:function(a,c){
1159
+ function
1160
+ w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a?4:0;var
1161
+ o,r,u,w=l?bZ(d,v,l):b,x,y;if(a>=200&&a<300||a===304){if(d.ifModified){if(x=v.
1162
+ getResponseHeader("Last-Modified"))f.lastModified[k]=x;if(y=v.getResponseHeader(
1163
+ "Etag"))f.etag[k]=y}if(a===304)c="notmodified",o=!0;else
1164
+ try{r=b$(d,w),c="success",o=!0}catch(z){c="parsererror",u=z}}else{u=c;if(!c||a)c
1165
+ ="error",a<0&&(a=0)}v.status=a,v.statusText=c,o?h.resolveWith(e,[r,c,v]):h.
1166
+ rejectWith(e,[v,c,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":
1167
+ "Error"),[v,d,o?r:u]),i.resolveWith(e,[v,c]),t&&(g.trigger("ajaxComplete",[v,d])
1168
+ ,--f.active||f.event.trigger("ajaxStop"))}}typeof
1169
+ a=="object"&&(c=a,a=b),c=c||{};var
1170
+ d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof
1171
+ f)?f(e):f.event,h=f.Deferred(),i=f._Deferred(),j=d.statusCode||{},k,l={},m={},n,
1172
+ o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var
1173
+ c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return
1174
+ this},getAllResponseHeaders:function(){return
1175
+ s===2?n:null},getResponseHeader:function(a){var
1176
+ c;if(s===2){if(!o){o={};while(c=bF.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.
1177
+ toLowerCase()]}return
1178
+ c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return
1179
+ this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return
1180
+ this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.done,v.
1181
+ statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else
1182
+ b=a[v.status],v.then(b,b)}return
1183
+ this},d.url=((a||d.url)+"").replace(bE,"").replace(bJ,bU[1]+"//"),d.dataTypes=f.
1184
+ trim(d.dataType||"*").toLowerCase().split(bN),d.crossDomain==null&&(r=bP.exec(d.
1185
+ url.toLowerCase()),d.crossDomain=!(!r||r[1]==bU[1]&&r[2]==bU[2]&&(r[3]||(r[1]===
1186
+ "http:"?80:443))==(bU[3]||(bU[1]==="http:"?80:443)))),d.data&&d.processData&&
1187
+ typeof
1188
+ d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bX(bR,d,c,v);if(s===2)
1189
+ return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bI.test(d.type),t&
1190
+ &f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=
1191
+ (bK.test(d.url)?"&":"?")+d.data),k=d.url;if(d.cache===!1){var
1192
+ x=f.now(),y=d.url.replace(bO,"$1_="+x);d.url=y+(y===d.url?(bK.test(d.url)?"&":
1193
+ "?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.
1194
+ setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.
1195
+ lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.
1196
+ etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader(
1197
+ "Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.
1198
+ dataTypes[0]!=="*"?", */*; q=0.01":""):d.accepts["*"]);for(u in
1199
+ d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call
1200
+ (e,v,d)===!1||s===2)){v.abort();return!1}for(u
1201
+ in{success:1,error:1,complete:1})v[u](d[u]);p=bX(bS,d,c,v);if(!p)w(-1,"No
1202
+ Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.
1203
+ timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.
1204
+ send(l,w)}catch(z){status<2?w(-1,z):f.error(z)}}return
1205
+ v},param:function(a,c){var
1206
+ d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"
1207
+ ="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)|
1208
+ |a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});
1209
+ else for(var g in a)bY(g,a[g],c,e);return
1210
+ d.join("&").replace(bB,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var
1211
+ b_=f.now(),ca=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:
1212
+ function(){return f.expando+"_"+b_++}}),f.ajaxPrefilter("json
1213
+ jsonp",function(b,c,d){var
1214
+ e=b.contentType==="application/x-www-form-urlencoded"&&typeof
1215
+ b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ca.test(b.url)||e&&
1216
+ ca.test(b.data))){var
1217
+ g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.
1218
+ jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(
1219
+ ca,l),b.url===j&&(e&&(k=k.replace(ca,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+
1220
+ b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[
1221
+ h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script
1222
+ json"]=function(){g||f.error(h+" was not called");return
1223
+ g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text
1224
+ /javascript, application/javascript, application/ecmascript,
1225
+ application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:
1226
+ {"text script":function(a){f.globalEval(a);return
1227
+ a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.
1228
+ crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){
1229
+ if(a.crossDomain){var
1230
+ d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:
1231
+ function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.
1232
+ charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c)
1233
+ {if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.
1234
+ onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success"
1235
+ )},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var
1236
+ cb=a.ActiveXObject?function(){for(var a in
1237
+ cd)cd[a](0,1)}:!1,cc=0,cd;f.ajaxSettings.xhr=a.ActiveXObject?function(){
1238
+ return!this.isLocal&&ce()||cf()}:ce,function(a){f.extend(f.support,{ajax:!!a,
1239
+ cors:!!a&&"withCredentials"in
1240
+ a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.
1241
+ crossDomain||f.support.cors){var d;return{send:function(e,g){var
1242
+ h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.
1243
+ open(c.type,c.url,c.async);if(c.xhrFields)for(j in
1244
+ c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.
1245
+ overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-
1246
+ Requested-With"]="XMLHttpRequest");try{for(j in
1247
+ e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=
1248
+ function(a,e){var
1249
+ j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,
1250
+ cb&&delete
1251
+ cd[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.
1252
+ getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.
1253
+ text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.
1254
+ crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,
1255
+ l)},!c.async||h.readyState===4?d():(i=++cc,cb&&(cd||(cd={},f(a).unload(cb)),cd[i
1256
+ ]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var
1257
+ cg={},ch,ci,cj=/^(?:toggle|show|hide)$/,ck=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cl
1258
+ ,cm=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width"
1259
+ ,"marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cn,co=a.
1260
+ webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.
1261
+ oRequestAnimationFrame;f.fn.extend({show:function(a,b,c){var
1262
+ d,e;if(a||a===0)return this.animate(cr("show",3),a,b,c);for(var
1263
+ g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,
1264
+ "olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")===
1265
+ "none"&&f._data(d,"olddisplay",cs(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.
1266
+ style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,
1267
+ "olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return
1268
+ this.animate(cr("hide",3),a,b,c);for(var
1269
+ d=0,e=this.length;d<e;d++)if(this[d].style){var
1270
+ g=f.css(this[d],"display");g!=="none"&&!f._data(this[d],"olddisplay")&&f._data(
1271
+ this[d],"olddisplay",g)}for(d=0;d<e;d++)this[d].style&&(this[d].style.display=
1272
+ "none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof
1273
+ a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments)
1274
+ :a==null||d?this.each(function(){var
1275
+ b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cr(
1276
+ "toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return
1277
+ this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)}
1278
+ ,animate:function(a,b,c,d){var e=f.speed(b,c,d);if(f.isEmptyObject(a))return
1279
+ this.each(e.complete,[!1]);a=f.extend({},a);return
1280
+ this[e.queue===!1?"each":"queue"](function(){e.queue===!1&&f._mark(this);var
1281
+ b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,
1282
+ o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete
1283
+ a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.
1284
+ animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(
1285
+ h==="hide"&&d||h==="show"&&!d)return
1286
+ b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.
1287
+ overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")===
1288
+ "inline"&&f.css(this,"float")==="none"&&(f.support.inlineBlockNeedsLayout?(j=cs(
1289
+ this.nodeName),j==="inline"?this.style.display="inline-block":(this.style.
1290
+ display="inline",this.style.zoom=1)):this.style.display="inline-block"))}b.
1291
+ overflow!=null&&(this.style.overflow="hidden");for(i in a)k=new
1292
+ f.fx(this,b,i),h=a[i],cj.test(h)?k[h==="toggle"?d?"show":"hide":h]():(l=ck.exec(
1293
+ h),m=k.cur(),l?(n=parseFloat(l[2]),o=l[3]||(f.cssNumber[i]?"":"px"),o!=="px"&&(f
1294
+ .style(this,i,(n||1)+o),m=(n||1)/k.cur()*m,f.style(this,i,m+o)),l[1]&&(n=(l[1]==
1295
+ ="-="?-1:1)*n+m),k.custom(m,n,o)):k.custom(m,h,""));return!0})},stop:function(a,
1296
+ b){a&&this.queue([]),this.each(function(){var
1297
+ a=f.timers,c=a.length;b||f._unmark(!0,this);while(c--)a[c].elem===this&&(b&&a[c]
1298
+ (!0),a.splice(c,1))}),b||this.dequeue();return
1299
+ this}}),f.each({slideDown:cr("show",1),slideUp:cr("hide",1),slideToggle:cr(
1300
+ "toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity
1301
+ :"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return
1302
+ this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof
1303
+ a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,
1304
+ easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof
1305
+ d.duration=="number"?d.duration:d.duration in
1306
+ f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default,d.old=d.complete,d.
1307
+ complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue!==!1?f.
1308
+ dequeue(this):a!==!1&&f._unmark(this)};return
1309
+ d},easing:{linear:function(a,b,c,d){return
1310
+ c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[]
1311
+ ,fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),
1312
+ f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this
1313
+ .elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:
1314
+ function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[
1315
+ this.prop]==null))return this.elem[this.prop];var
1316
+ a,b=f.css(this.elem,this.prop);return
1317
+ isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,c){function
1318
+ h(a){return d.step(a)}var
1319
+ d=this,e=f.fx,g;this.startTime=cn||cp(),this.start=a,this.end=b,this.unit=c||
1320
+ this.unit||(f.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.
1321
+ state=0,h.elem=this.elem,h()&&f.timers.push(h)&&!cl&&(co?(cl=!0,g=function(){cl&
1322
+ &(co(g),e.tick())},co(g)):cl=setInterval(e.tick,e.interval))},show:function(){
1323
+ this.options.orig[this.prop]=f.style(this.elem,this.prop),this.options.show=!0,
1324
+ this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.
1325
+ elem).show()},hide:function(){this.options.orig[this.prop]=f.style(this.elem,
1326
+ this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var
1327
+ b=cn||cp(),c=!0,d=this.elem,e=this.options,g,h;if(a||b>=e.duration+this.
1328
+ startTime){this.now=this.end,this.pos=this.state=1,this.update(),e.
1329
+ animatedProperties[this.prop]=!0;for(g in
1330
+ e.animatedProperties)e.animatedProperties[g]!==!0&&(c=!1);if(c){e.overflow!=null
1331
+ &&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){d.style[
1332
+ "overflow"+b]=e.overflow[a]}),e.hide&&f(d).hide();if(e.hide||e.show)for(var i in
1333
+ e.animatedProperties)f.style(d,i,e.orig[i]);e.complete.call(d)}return!1}e.
1334
+ duration==Infinity?this.now=b:(h=b-this.startTime,this.state=h/e.duration,this.
1335
+ pos=f.easing[e.animatedProperties[this.prop]](this.state,h,0,1,e.duration),this.
1336
+ now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend
1337
+ (f.fx,{tick:function(){for(var
1338
+ a=f.timers,b=0;b<a.length;++b)a[b]()||a.splice(b--,1);a.length||f.fx.stop()},
1339
+ interval:13,stop:function(){clearInterval(cl),cl=null},speeds:{slow:600,fast:200
1340
+ ,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},
1341
+ _default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.
1342
+ prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.
1343
+ elem[a.prop]=a.now}}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function
1344
+ (a){return f.grep(f.timers,function(b){return a===b.elem}).length});var
1345
+ ct=/^t(?:able|d|h)$/i,cu=/^(?:body|html)$/i;"getBoundingClientRect"in
1346
+ c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a)return
1347
+ this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)
1348
+ return null;if(b===b.ownerDocument.body)return
1349
+ f.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(d){}var
1350
+ e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b))return
1351
+ c?{top:c.top,left:c.left}:{top:0,left:0};var
1352
+ h=e.body,i=cv(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l
1353
+ =i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.
1354
+ support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top
1355
+ :n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a)return
1356
+ this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)
1357
+ return null;if(b===b.ownerDocument.body)return
1358
+ f.offset.bodyOffset(b);f.offset.initialize();var
1359
+ c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.
1360
+ defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.
1361
+ offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.offset.
1362
+ supportsFixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null)
1363
+ :b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.
1364
+ offsetLeft,f.offset.doesNotAddBorder&&(!f.offset.doesAddBorderForTableAndCells||
1365
+ !ct.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.
1366
+ borderLeftWidth)||0),e=d,d=b.offsetParent),f.offset.
1367
+ subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.
1368
+ borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position===
1369
+ "relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;f.offset.
1370
+ supportsFixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.
1371
+ scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},f.
1372
+ offset={initialize:function(){var
1373
+ a=c.body,b=c.createElement("div"),d,e,g,h,i=parseFloat(f.css(a,"marginTop"))||0,
1374
+ j="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid
1375
+ #000;padding:0;width:1px;height:1px;'><div></div></div><table
1376
+ style='position:absolute;top:0;left:0;margin:0;border:5px solid
1377
+ #000;padding:0;width:1px;height:1px;' cellpadding='0'
1378
+ cellspacing='0'><tr><td></td></tr></table>";f.extend(b.style,{position:
1379
+ "absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:
1380
+ "hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),d=b.firstChild,e=d.
1381
+ firstChild,h=d.nextSibling.firstChild.firstChild,this.doesNotAddBorder=e.
1382
+ offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,e.style.
1383
+ position="fixed",e.style.top="20px",this.supportsFixedPosition=e.offsetTop===20|
1384
+ |e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.
1385
+ style.position="relative",this.subtractsBorderForOverflowNotVisible=e.offsetTop=
1386
+ ==-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),f.
1387
+ offset.initialize=f.noop},bodyOffset:function(a){var
1388
+ b=a.offsetTop,c=a.offsetLeft;f.offset.initialize(),f.offset.
1389
+ doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=
1390
+ parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a
1391
+ ,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var
1392
+ e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d===
1393
+ "fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l
1394
+ .left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)
1395
+ ),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),
1396
+ "using"in
1397
+ b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])
1398
+ return null;var
1399
+ a=this[0],b=this.offsetParent(),c=this.offset(),d=cu.test(b[0].nodeName)?{top:0,
1400
+ left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat
1401
+ (f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.
1402
+ left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c
1403
+ .left-d.left}},offsetParent:function(){return this.map(function(){var
1404
+ a=this.offsetParent||c.body;while(a&&!cu.test(a.nodeName)&&f.css(a,"position")==
1405
+ ="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var
1406
+ d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return
1407
+ null;g=cv(e);return g?"pageXOffset"in
1408
+ g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.
1409
+ documentElement[d]||g.document.body[d]:e[d]}return
1410
+ this.each(function(){g=cv(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).
1411
+ scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var
1412
+ d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return
1413
+ a&&a.style?parseFloat(f.css(a,d,"padding")):null},f.fn["outer"+c]=function(a){
1414
+ var b=this[0];return
1415
+ b&&b.style?parseFloat(f.css(b,d,a?"margin":"border")):null},f.fn[d]=function(a){
1416
+ var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return
1417
+ this.each(function(b){var
1418
+ c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var
1419
+ g=e.document.documentElement["client"+c];return
1420
+ e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}if(e.
1421
+ nodeType===9)return
1422
+ Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement[
1423
+ "scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var
1424
+ h=f.css(e,d),i=parseFloat(h);return f.isNaN(i)?h:i}return this.css(d,typeof
1425
+ a=="string"?a:a+"px")}}),a.jQuery=a.$=f})(window); var hljs=new
1426
+ function(){function l(o){return
1427
+ o.replace(/&/gm,"&amp;").replace(/</gm,"&lt;")}function c(q,p,o){return
1428
+ RegExp(p,"m"+(q.cI?"i":"")+(o?"g":""))}function i(q){for(var
1429
+ o=0;o<q.childNodes.length;o++){var
1430
+ p=q.childNodes[o];if(p.nodeName=="CODE"){return
1431
+ p}if(!(p.nodeType==3&&p.nodeValue.match(/\s+/))){break}}}function g(s,r){var
1432
+ q="";for(var p=0;p<s.childNodes.length;p++){if(s.childNodes[p].nodeType==3){var
1433
+ o=s.childNodes[p].nodeValue;if(r){o=o.replace(/\n/g,"")}q+=o}else{if(s.
1434
+ childNodes[p].nodeName=="BR"){q+="\n"}else{q+=g(s.childNodes[p])}}}if(/MSIE
1435
+ [678]/.test(navigator.userAgent)){q=q.replace(/\r/g,"\n")}return q}function
1436
+ a(r){var
1437
+ p=r.className.split(/\s+/);p=p.concat(r.parentNode.className.split(/\s+/));for(
1438
+ var o=0;o<p.length;o++){var
1439
+ q=p[o].replace(/^language-/,"");if(d[q]||q=="no-highlight"){return q}}}function
1440
+ b(o){var p=[];(function(r,s){for(var
1441
+ q=0;q<r.childNodes.length;q++){if(r.childNodes[q].nodeType==3){s+=r.childNodes[q
1442
+ ].nodeValue.length}else{if(r.childNodes[q].nodeName=="BR"){s+=1}else{p.push({
1443
+ event:"start",offset:s,node:r.childNodes[q]});s=arguments.callee(r.childNodes[q]
1444
+ ,s);p.push({event:"stop",offset:s,node:r.childNodes[q]})}}}return
1445
+ s})(o,0);return p}function k(x,y,w){var q=0;var v="";var s=[];function
1446
+ t(){if(x.length&&y.length){if(x[0].offset!=y[0].offset){return(x[0].offset<y[0].
1447
+ offset)?x:y}else{return y[0].event=="start"?x:y}}else{return
1448
+ x.length?x:y}}function r(B){var C="<"+B.nodeName.toLowerCase();for(var
1449
+ z=0;z<B.attributes.length;z++){var A=B.attributes[z];C+="
1450
+ "+A.nodeName.toLowerCase();if(A.nodeValue!=undefined){C+='="'+l(A.nodeValue)+'"'
1451
+ }}return C+">"}while(x.length||y.length){var
1452
+ u=t().splice(0,1)[0];v+=l(w.substr(q,u.offset-q));q=u.offset;if(u.event=="start"
1453
+ ){v+=r(u.node);s.push(u.node)}else{if(u.event=="stop"){var p=s.length;do{p--;var
1454
+ o=s[p];v+=("</"+o.nodeName.toLowerCase()+">")}while(o!=u.node);s.splice(p,1);
1455
+ while(p<s.length){v+=r(s[p]);p++}}}}v+=w.substr(q);return v}function
1456
+ f(I,C){function y(r,L){for(var
1457
+ K=0;K<L.c.length;K++){if(L.c[K].bR.test(r)){return L.c[K]}}}function
1458
+ v(K,r){if(B[K].e&&B[K].eR.test(r)){return 1}if(B[K].eW){var L=v(K-1,r);return
1459
+ L?L+1:0}return 0}function w(r,K){return K.iR&&K.iR.test(r)}function z(N,M){var
1460
+ L=[];for(var K=0;K<N.c.length;K++){L.push(N.c[K].b)}var
1461
+ r=B.length-1;do{if(B[r].e){L.push(B[r].e)}r--}while(B[r+1].eW);if(N.i){L.push(N.
1462
+ i)}return c(M,"("+L.join("|")+")",true)}function q(L,K){var
1463
+ M=B[B.length-1];if(!M.t){M.t=z(M,G)}M.t.lastIndex=K;var
1464
+ r=M.t.exec(L);if(r){return[L.substr(K,r.index-K),r[0],false]}else{return[L.
1465
+ substr(K),"",true]}}function o(N,r){var K=G.cI?r[0].toLowerCase():r[0];for(var M
1466
+ in N.kG){if(!N.kG.hasOwnProperty(M)){continue}var
1467
+ L=N.kG[M].hasOwnProperty(K);if(L){return[M,L]}}return false}function
1468
+ E(L,N){if(!N.k){return l(L)}var M="";var O=0;N.lR.lastIndex=0;var
1469
+ K=N.lR.exec(L);while(K){M+=l(L.substr(O,K.index-O));var
1470
+ r=o(N,K);if(r){s+=r[1];M+='<span
1471
+ class="'+r[0]+'">'+l(K[0])+"</span>"}else{M+=l(K[0])}O=N.lR.lastIndex;K=N.lR.
1472
+ exec(L)}M+=l(L.substr(O,L.length-O));return M}function
1473
+ J(r,L){if(L.sL&&d[L.sL]){var K=f(L.sL,r);s+=K.keyword_count;return
1474
+ K.value}else{return E(r,L)}}function H(L,r){var K=L.cN?'<span
1475
+ class="'+L.cN+'">':"";if(L.rB){p+=K;L.buffer=""}else{if(L.eB){p+=l(r)+K;L.buffer
1476
+ =""}else{p+=K;L.buffer=r}}B.push(L);A+=L.r}function D(N,K,P){var
1477
+ Q=B[B.length-1];if(P){p+=J(Q.buffer+N,Q);return false}var
1478
+ L=y(K,Q);if(L){p+=J(Q.buffer+N,Q);H(L,K);return L.rB}var
1479
+ r=v(B.length-1,K);if(r){var
1480
+ M=Q.cN?"</span>":"";if(Q.rE){p+=J(Q.buffer+N,Q)+M}else{if(Q.eE){p+=J(Q.buffer+N,
1481
+ Q)+M+l(K)}else{p+=J(Q.buffer+N+K,Q)+M}}while(r>1){M=B[B.length-2].cN?"</span>":
1482
+ "";p+=M;r--;B.length--}var
1483
+ O=B[B.length-1];B.length--;B[B.length-1].buffer="";if(O.starts){H(O.starts,"")}
1484
+ return Q.rE}if(w(K,Q)){throw"Illegal"}}var G=d[I];var B=[G.dM];var A=0;var
1485
+ s=0;var p="";try{var u=0;G.dM.buffer="";do{var x=q(C,u);var
1486
+ t=D(x[0],x[1],x[2]);u+=x[0].length;if(!t){u+=x[1].length}}while(!x[2]);if(B.
1487
+ length>1){throw"Illegal"}return{language:I,r:A,keyword_count:s,value:p}}catch(F)
1488
+ {if(F=="Illegal"){return{language:null,r:0,keyword_count:0,value:l(C)}}else{
1489
+ throw F}}}function h(){function
1490
+ o(t,s,u){if(t.compiled){return}if(!u){t.bR=c(s,t.b?t.b:"\\B|\\b");if(!t.e&&!t.eW
1491
+ ){t.e="\\B|\\b"}if(t.e){t.eR=c(s,t.e)}}if(t.i){t.iR=c(s,t.i)}if(t.r==undefined){
1492
+ t.r=1}if(t.k){t.lR=c(s,t.l||hljs.IR,true)}for(var r in
1493
+ t.k){if(!t.k.hasOwnProperty(r)){continue}if(t.k[r] instanceof
1494
+ Object){t.kG=t.k}else{t.kG={keyword:t.k}}break}if(!t.c){t.c=[]}t.compiled=true;
1495
+ for(var
1496
+ q=0;q<t.c.length;q++){o(t.c[q],s,false)}if(t.starts){o(t.starts,s,false)}}for(
1497
+ var p in d){if(!d.hasOwnProperty(p)){continue}o(d[p].dM,d[p],true)}}function
1498
+ e(){if(e.called){return}e.called=true;h()}function n(t,y,p){e();var A=g(t,p);var
1499
+ r=a(t);if(r=="no-highlight"){return}if(r){var w=f(r,A)}else{var
1500
+ w={language:"",keyword_count:0,r:0,value:l(A)};var x=w;for(var z in
1501
+ d){if(!d.hasOwnProperty(z)){continue}var
1502
+ u=f(z,A);if(u.keyword_count+u.r>x.keyword_count+x.r){x=u}if(u.keyword_count+u.r>
1503
+ w.keyword_count+w.r){x=w;w=u}}}var
1504
+ s=t.className;if(!s.match(w.language)){s=s?(s+" "+w.language):w.language}var
1505
+ o=b(t);if(o.length){var
1506
+ q=document.createElement("pre");q.innerHTML=w.value;w.value=k(o,b(q),A)}if(y){w.
1507
+ value=w.value.replace(/^((<[^>]+>|\t)+)/gm,function(B,E,D,C){return
1508
+ E.replace(/\t/g,y)})}if(p){w.value=w.value.replace(/\n/g,"<br>")}if(/MSIE
1509
+ [678]/.test(navigator.userAgent)&&t.tagName=="CODE"&&t.parentNode.tagName=="PRE"
1510
+ ){var q=t.parentNode;var
1511
+ v=document.createElement("div");v.innerHTML="<pre><code>"+w.value+"</code></pre>
1512
+ ";t=v.firstChild.firstChild;v.firstChild.cN=q.cN;q.parentNode.replaceChild(v.
1513
+ firstChild,q)}else{t.innerHTML=w.value}t.className=s;t.dataset={};t.dataset.
1514
+ result={language:w.language,kw:w.keyword_count,re:w.r};if(x&&x.language){t.
1515
+ dataset.second_best={language:x.language,kw:x.keyword_count,re:x.r}}}function
1516
+ j(){if(j.called){return}j.called=true;e();var
1517
+ q=document.getElementsByTagName("pre");for(var o=0;o<q.length;o++){var
1518
+ p=i(q[o]);if(p){n(p,hljs.tabReplace)}}}function m(){var o=arguments;var
1519
+ p=function(){j.apply(null,o)};if(window.addEventListener){window.
1520
+ addEventListener("DOMContentLoaded",p,false);window.addEventListener("load",p,
1521
+ false)}else{if(window.attachEvent){window.attachEvent("onload",p)}else{window.
1522
+ onload=p}}}var
1523
+ d={};this.LANGUAGES=d;this.initHighlightingOnLoad=m;this.highlightBlock=n;this.
1524
+ initHighlighting=j;this.IR="[a-zA-Z][a-zA-Z0-9_]*";this.UIR="[a-zA-Z_][a-zA-Z0-
1525
+ 9_]*";this.NR="\\b\\d+(\\.\\d+)?";this.CNR="\\b(0x[A-Za-z0-9]+|\\d+(\\.\\d+)?)";
1526
+ this.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|\\.|-|-=|/|/=|:|;|<|<<|<<=|<
1527
+ =|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";this
1528
+ .BE={b:"\\\\.",r:0};this.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[this.BE],r:0};
1529
+ this.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[this.BE],r:0};this.CLCM={cN:
1530
+ "comment",b:"//",e:"$"};this.CBLCLM={cN:"comment",b:"/\\*",e:"\\*/"};this.HCM={
1531
+ cN:"comment",b:"#",e:"$"};this.NM={cN:"number",b:this.NR,r:0};this.CNM={cN:
1532
+ "number",b:this.CNR,r:0};this.inherit=function(o,r){var q={};for(var p in
1533
+ o){q[p]=o[p]}if(r){for(var p in r){q[p]=r[p]}}return
1534
+ q}}();hljs.LANGUAGES.ruby=function(){var
1535
+ g="[a-zA-Z_][a-zA-Z0-9_]*(\\!|\\?)?";var
1536
+ a="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[
1537
+ \\]=?";var
1538
+ n={keyword:{and:1,"false":1,then:1,defined:1,module:1,"in":1,"return":1,redo:1,
1539
+ "if":1,BEGIN:1,retry:1,end:1,"for":1,"true":1,self:1,when:1,next:1,until:1,"do":
1540
+ 1,begin:1,unless:1,END:1,rescue:1,nil:1,"else":1,"break":1,undef:1,not:1,"super"
1541
+ :1,"class":1,"case":1,require:1,yield:1,alias:1,"while":1,ensure:1,elsif:1,or:1,
1542
+ def:1},keymethods:{__id__:1,__send__:1,abort:1,abs:1,"all?":1,allocate:1,
1543
+ ancestors:1,"any?":1,arity:1,assoc:1,at:1,at_exit:1,autoload:1,"autoload?":1,
1544
+ "between?":1,binding:1,binmode:1,"block_given?":1,call:1,callcc:1,caller:1,
1545
+ capitalize:1,"capitalize!":1,casecmp:1,"catch":1,ceil:1,center:1,chomp:1,
1546
+ "chomp!":1,chop:1,"chop!":1,chr:1,"class":1,class_eval:1,
1547
+ "class_variable_defined?":1,class_variables:1,clear:1,clone:1,close:1,close_read
1548
+ :1,close_write:1,"closed?":1,coerce:1,collect:1,"collect!":1,compact:1,
1549
+ "compact!":1,concat:1,"const_defined?":1,const_get:1,const_missing:1,const_set:1
1550
+ ,constants:1,count:1,crypt:1,"default":1,default_proc:1,"delete":1,"delete!":1,
1551
+ delete_at:1,delete_if:1,detect:1,display:1,div:1,divmod:1,downcase:1,"downcase!"
1552
+ :1,downto:1,dump:1,dup:1,each:1,each_byte:1,each_index:1,each_key:1,each_line:1,
1553
+ each_pair:1,each_value:1,each_with_index:1,"empty?":1,entries:1,eof:1,"eof?":1,
1554
+ "eql?":1,"equal?":1,"eval":1,exec:1,exit:1,"exit!":1,extend:1,fail:1,fcntl:1,
1555
+ fetch:1,fileno:1,fill:1,find:1,find_all:1,first:1,flatten:1,"flatten!":1,floor:1
1556
+ ,flush:1,for_fd:1,foreach:1,fork:1,format:1,freeze:1,"frozen?":1,fsync:1,getc:1,
1557
+ gets:1,global_variables:1,grep:1,gsub:1,"gsub!":1,"has_key?":1,"has_value?":1,
1558
+ hash:1,hex:1,id:1,include:1,"include?":1,included_modules:1,index:1,indexes:1,
1559
+ indices:1,induced_from:1,inject:1,insert:1,inspect:1,instance_eval:1,
1560
+ instance_method:1,instance_methods:1,"instance_of?":1,
1561
+ "instance_variable_defined?":1,instance_variable_get:1,instance_variable_set:1,
1562
+ instance_variables:1,"integer?":1,intern:1,invert:1,ioctl:1,"is_a?":1,isatty:1,
1563
+ "iterator?":1,join:1,"key?":1,keys:1,"kind_of?":1,lambda:1,last:1,length:1,
1564
+ lineno:1,ljust:1,load:1,local_variables:1,loop:1,lstrip:1,"lstrip!":1,map:1,
1565
+ "map!":1,match:1,max:1,"member?":1,merge:1,"merge!":1,method:1,"method_defined?"
1566
+ :1,method_missing:1,methods:1,min:1,module_eval:1,modulo:1,name:1,nesting:1,
1567
+ "new":1,next:1,"next!":1,"nil?":1,nitems:1,"nonzero?":1,object_id:1,oct:1,open:1
1568
+ ,pack:1,partition:1,pid:1,pipe:1,pop:1,popen:1,pos:1,prec:1,prec_f:1,prec_i:1,
1569
+ print:1,printf:1,private_class_method:1,private_instance_methods:1,
1570
+ "private_method_defined?":1,private_methods:1,proc:1,protected_instance_methods:
1571
+ 1,"protected_method_defined?":1,protected_methods:1,public_class_method:1,
1572
+ public_instance_methods:1,"public_method_defined?":1,public_methods:1,push:1,
1573
+ putc:1,puts:1,quo:1,raise:1,rand:1,rassoc:1,read:1,read_nonblock:1,readchar:1,
1574
+ readline:1,readlines:1,readpartial:1,rehash:1,reject:1,"reject!":1,remainder:1,
1575
+ reopen:1,replace:1,require:1,"respond_to?":1,reverse:1,"reverse!":1,reverse_each
1576
+ :1,rewind:1,rindex:1,rjust:1,round:1,rstrip:1,"rstrip!":1,scan:1,seek:1,select:1
1577
+ ,send:1,set_trace_func:1,shift:1,singleton_method_added:1,singleton_methods:1,
1578
+ size:1,sleep:1,slice:1,"slice!":1,sort:1,"sort!":1,sort_by:1,split:1,sprintf:1,
1579
+ squeeze:1,"squeeze!":1,srand:1,stat:1,step:1,store:1,strip:1,"strip!":1,sub:1,
1580
+ "sub!":1,succ:1,"succ!":1,sum:1,superclass:1,swapcase:1,"swapcase!":1,sync:1,
1581
+ syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,taint:1,"tainted?":1
1582
+ ,tell:1,test:1,"throw":1,times:1,to_a:1,to_ary:1,to_f:1,to_hash:1,to_i:1,to_int:
1583
+ 1,to_io:1,to_proc:1,to_s:1,to_str:1,to_sym:1,tr:1,"tr!":1,tr_s:1,"tr_s!":1,
1584
+ trace_var:1,transpose:1,trap:1,truncate:1,"tty?":1,type:1,ungetc:1,uniq:1,
1585
+ "uniq!":1,unpack:1,unshift:1,untaint:1,untrace_var:1,upcase:1,"upcase!":1,update
1586
+ :1,upto:1,"value?":1,values:1,values_at:1,warn:1,write:1,write_nonblock:1,
1587
+ "zero?":1,zip:1}};var h={cN:"yardoctag",b:"@[A-Za-z]+"};var
1588
+ d={cN:"comment",b:"#",e:"$",c:[h]};var
1589
+ c={cN:"comment",b:"^\\=begin",e:"^\\=end",c:[h],r:10};var
1590
+ b={cN:"comment",b:"^__END__",e:"\\n$"};var
1591
+ u={cN:"subst",b:"#\\{",e:"}",l:g,k:n};var p=[hljs.BE,u];var
1592
+ s={cN:"string",b:"'",e:"'",c:p,r:0};var r={cN:"string",b:'"',e:'"',c:p,r:0};var
1593
+ q={cN:"string",b:"%[qw]?\\(",e:"\\)",c:p,r:10};var
1594
+ o={cN:"string",b:"%[qw]?\\[",e:"\\]",c:p,r:10};var
1595
+ m={cN:"string",b:"%[qw]?{",e:"}",c:p,r:10};var
1596
+ l={cN:"string",b:"%[qw]?<",e:">",c:p,r:10};var
1597
+ k={cN:"string",b:"%[qw]?/",e:"/",c:p,r:10};var
1598
+ j={cN:"string",b:"%[qw]?%",e:"%",c:p,r:10};var
1599
+ i={cN:"string",b:"%[qw]?-",e:"-",c:p,r:10};var
1600
+ t={cN:"string",b:"%[qw]?\\|",e:"\\|",c:p,r:10};var
1601
+ e={cN:"function",b:"\\bdef\\s+",e:"
1602
+ |$|;",l:g,k:n,c:[{cN:"title",b:a,l:g,k:n},{cN:"params",b:"\\(",e:"\\)",l:g,k:n},
1603
+ d,c,b]};var f={cN:"identifier",b:g,l:g,k:n,r:0};var
1604
+ v=[d,c,b,s,r,q,o,m,l,k,j,i,t,{cN:"class",b:"\\b(class|module)\\b",e:"$|;",k:{
1605
+ "class":1,module:1},c:[{cN:"title",b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?",r:0},{cN
1606
+ :"inheritance",b:"<\\s*",c:[{cN:"parent",b:"("+hljs.IR+"::)?"+hljs.IR}]},d,c,b]}
1607
+ ,e,{cN:"constant",b:"(::)?([A-Z]\\w*(::)?)+",r:0},{cN:"symbol",b:":",c:[s,r,q,o,
1608
+ m,l,k,j,i,t,f],r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9]
1609
+ [0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{cN:"number",b:"\\?\\w"},{cN:"variable",b:"(
1610
+ \\$\\W)|((\\$|\\@\\@?)(\\w+))"},f,{b:"("+hljs.RSR+")\\s*",c:[d,c,b,{cN:"regexp",
1611
+ b:"/",e:"/[a-z]*",i:"\\n",c:[hljs.BE]}],r:0}];u.c=v;e.c[1].c=v;return{dM:{l:g,k:
1612
+ n,c:v}}}(); /*! Colorbox v1.5.13 - 2014-08-04 jQuery lightbox and modal window
1613
+ plugin (c) 2014 Jack Moore - http://www.jacklmoore.com/colorbox license:
1614
+ http://www.opensource.org/licenses/mit-license.php */
1615
+
1616
+ (function ($, document, window) { var // Default settings object. // See
1617
+ http://jacklmoore.com/colorbox for details. defaults = { // data sources html:
1618
+ false, photo: false, iframe: false, inline: false,
1619
+
1620
+ // behavior and appearance transition: "elastic", speed: 300,
1621
+ fadeOut: 300, width: false, initialWidth: "600", innerWidth: false, maxWidth:
1622
+ false, height: false, initialHeight: "450", innerHeight: false, maxHeight:
1623
+ false, scalePhotos: true, scrolling: true, opacity: 0.9, preloading: true,
1624
+ className: false, overlayClose: true, escKey: true, arrowKey: true, top: false,
1625
+ bottom: false, left: false, right: false, fixed: false, data: undefined,
1626
+ closeButton: true, fastIframe: true, open: false, reposition: true, loop: true,
1627
+ slideshow: false, slideshowAuto: true, slideshowSpeed: 2500, slideshowStart:
1628
+ "start slideshow", slideshowStop: "stop slideshow", photoRegex:
1629
+ /\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,
1630
+
1631
+ // alternate image paths for high-res displays retinaImage: false,
1632
+ retinaUrl: false, retinaSuffix: '@2x.$1',
1633
+
1634
+ // internationalization current: "image {current} of {total}",
1635
+ previous: "previous", next: "next", close: "close", xhrError: "This content
1636
+ failed to load.", imgError: "This image failed to load.",
1637
+
1638
+ // accessbility returnFocus: true, trapFocus: true,
1639
+
1640
+ // callbacks onOpen: false, onLoad: false, onComplete: false,
1641
+ onCleanup: false, onClosed: false,
1642
+
1643
+ rel: function() { return this.rel; }, href: function() { // using
1644
+ this.href would give the absolute url, when the href may have been inteded as a
1645
+ selector (e.g. '#container') return $(this).attr('href'); }, title: function() {
1646
+ return this.title; } },
1647
+
1648
+ // Abstracting the HTML and event identifiers for easy rebranding colorbox =
1649
+ 'colorbox', prefix = 'cbox', boxElement = prefix + 'Element',
1650
+
1651
+ // Events event_open = prefix + '_open', event_load = prefix + '_load',
1652
+ event_complete = prefix + '_complete', event_cleanup = prefix + '_cleanup',
1653
+ event_closed = prefix + '_closed', event_purge = prefix + '_purge',
1654
+
1655
+ // Cached jQuery Object Variables $overlay, $box, $wrap, $content,
1656
+ $topBorder, $leftBorder, $rightBorder, $bottomBorder, $related, $window,
1657
+ $loaded, $loadingBay, $loadingOverlay, $title, $current, $slideshow, $next,
1658
+ $prev, $close, $groupControls, $events = $('<a/>'), // $({}) would be prefered,
1659
+ but there is an issue with jQuery 1.4.2
1660
+
1661
+ // Variables for cached values or use across multiple functions settings,
1662
+ interfaceHeight, interfaceWidth, loadedHeight, loadedWidth, index, photo, open,
1663
+ active, closing, loadingTimer, publicMethod, div = "div", requests = 0,
1664
+ previousCSS = {}, init;
1665
+
1666
+ // **************** // HELPER FUNCTIONS // ****************
1667
+
1668
+ // Convenience function for creating new jQuery objects function $tag(tag,
1669
+ id, css) { var element = document.createElement(tag);
1670
+
1671
+ if (id) { element.id = prefix + id; }
1672
+
1673
+ if (css) { element.style.cssText = css; }
1674
+
1675
+ return $(element); }
1676
+
1677
+ // Get the window height using innerHeight when available to avoid an issue
1678
+ with iOS // http://bugs.jquery.com/ticket/6724 function winheight() { return
1679
+ window.innerHeight ? window.innerHeight : $(window).height(); }
1680
+
1681
+ function Settings(element, options) { if (options !== Object(options)) {
1682
+ options = {}; }
1683
+
1684
+ this.cache = {}; this.el = element;
1685
+
1686
+ this.value = function(key) { var dataAttr;
1687
+
1688
+ if (this.cache[key] === undefined) { dataAttr =
1689
+ $(this.el).attr('data-cbox-'+key);
1690
+
1691
+ if (dataAttr !== undefined) { this.cache[key] = dataAttr; } else
1692
+ if (options[key] !== undefined) { this.cache[key] = options[key]; } else if
1693
+ (defaults[key] !== undefined) { this.cache[key] = defaults[key]; } }
1694
+
1695
+ return this.cache[key]; };
1696
+
1697
+ this.get = function(key) { var value = this.value(key); return
1698
+ $.isFunction(value) ? value.call(this.el, this) : value; }; }
1699
+
1700
+ // Determine the next and previous members in a group. function
1701
+ getIndex(increment) { var max = $related.length, newIndex = (index + increment)
1702
+ % max;
1703
+
1704
+ return (newIndex < 0) ? max + newIndex : newIndex; }
1705
+
1706
+ // Convert '%' and 'px' values to integers function setSize(size, dimension)
1707
+ { return Math.round((/%/.test(size) ? ((dimension === 'x' ? $window.width() :
1708
+ winheight()) / 100) : 1) * parseInt(size, 10)); }
1709
+
1710
+ // Checks an href to see if it is a photo. // There is a force photo option
1711
+ (photo: true) for hrefs that cannot be matched by the regex. function
1712
+ isImage(settings, url) { return settings.get('photo') ||
1713
+ settings.get('photoRegex').test(url); }
1714
+
1715
+ function retinaUrl(settings, url) { return settings.get('retinaUrl') &&
1716
+ window.devicePixelRatio > 1 ? url.replace(settings.get('photoRegex'),
1717
+ settings.get('retinaSuffix')) : url; }
1718
+
1719
+ function trapFocus(e) { if ('contains' in $box[0] &&
1720
+ !$box[0].contains(e.target) && e.target !== $overlay[0]) { e.stopPropagation();
1721
+ $box.focus(); } }
1722
+
1723
+ function setClass(str) { if (setClass.str !== str) {
1724
+ $box.add($overlay).removeClass(setClass.str).addClass(str); setClass.str = str;
1725
+ } }
1726
+
1727
+ function getRelated(rel) { index = 0;
1728
+
1729
+ if (rel && rel !== false && rel !== 'nofollow') { $related = $('.' +
1730
+ boxElement).filter(function () { var options = $.data(this, colorbox); var
1731
+ settings = new Settings(this, options); return (settings.get('rel') === rel);
1732
+ }); index = $related.index(settings.el);
1733
+
1734
+ // Check direct calls to Colorbox. if (index === -1) { $related =
1735
+ $related.add(settings.el); index = $related.length - 1; } } else { $related =
1736
+ $(settings.el); } }
1737
+
1738
+ function trigger(event) { // for external use $(document).trigger(event); //
1739
+ for internal use $events.triggerHandler(event); }
1740
+
1741
+ var slideshow = (function(){ var active, className = prefix + "Slideshow_",
1742
+ click = "click." + prefix, timeOut;
1743
+
1744
+ function clear () { clearTimeout(timeOut); }
1745
+
1746
+ function set() { if (settings.get('loop') || $related[index + 1]) {
1747
+ clear(); timeOut = setTimeout(publicMethod.next,
1748
+ settings.get('slideshowSpeed')); } }
1749
+
1750
+ function start() { $slideshow .html(settings.get('slideshowStop'))
1751
+ .unbind(click) .one(click, stop);
1752
+
1753
+ $events .bind(event_complete, set) .bind(event_load, clear);
1754
+
1755
+ $box.removeClass(className + "off").addClass(className + "on"); }
1756
+
1757
+ function stop() { clear();
1758
+
1759
+ $events .unbind(event_complete, set) .unbind(event_load, clear);
1760
+
1761
+ $slideshow .html(settings.get('slideshowStart')) .unbind(click)
1762
+ .one(click, function () { publicMethod.next(); start(); });
1763
+
1764
+ $box.removeClass(className + "on").addClass(className + "off"); }
1765
+
1766
+ function reset() { active = false; $slideshow.hide(); clear(); $events
1767
+ .unbind(event_complete, set) .unbind(event_load, clear);
1768
+ $box.removeClass(className + "off " + className + "on"); }
1769
+
1770
+ return function(){ if (active) { if (!settings.get('slideshow')) {
1771
+ $events.unbind(event_cleanup, reset); reset(); } } else { if
1772
+ (settings.get('slideshow') && $related[1]) { active = true;
1773
+ $events.one(event_cleanup, reset); if (settings.get('slideshowAuto')) { start();
1774
+ } else { stop(); } $slideshow.show(); } } };
1775
+
1776
+ }());
1777
+
1778
+
1779
+ function launch(element) { var options;
1780
+
1781
+ if (!closing) {
1782
+
1783
+ options = $(element).data(colorbox);
1784
+
1785
+ settings = new Settings(element, options);
1786
+
1787
+ getRelated(settings.get('rel'));
1788
+
1789
+ if (!open) { open = active = true; // Prevents the page-change
1790
+ action from queuing up if the visitor holds down the left or right keys.
1791
+
1792
+ setClass(settings.get('className'));
1793
+
1794
+ // Show colorbox so the sizes can be calculated in older
1795
+ versions of jQuery $box.css({visibility:'hidden', display:'block', opacity:''});
1796
+
1797
+ $loaded = $tag(div, 'LoadedContent', 'width:0; height:0;
1798
+ overflow:hidden; visibility:hidden'); $content.css({width:'',
1799
+ height:''}).append($loaded);
1800
+
1801
+ // Cache values needed for size calculations interfaceHeight =
1802
+ $topBorder.height() + $bottomBorder.height() + $content.outerHeight(true) -
1803
+ $content.height(); interfaceWidth = $leftBorder.width() + $rightBorder.width() +
1804
+ $content.outerWidth(true) - $content.width(); loadedHeight =
1805
+ $loaded.outerHeight(true); loadedWidth = $loaded.outerWidth(true);
1806
+
1807
+ // Opens inital empty Colorbox prior to content being loaded.
1808
+ var initialWidth = setSize(settings.get('initialWidth'), 'x'); var initialHeight
1809
+ = setSize(settings.get('initialHeight'), 'y'); var maxWidth =
1810
+ settings.get('maxWidth'); var maxHeight = settings.get('maxHeight');
1811
+
1812
+ settings.w = (maxWidth !== false ? Math.min(initialWidth,
1813
+ setSize(maxWidth, 'x')) : initialWidth) - loadedWidth - interfaceWidth;
1814
+ settings.h = (maxHeight !== false ? Math.min(initialHeight, setSize(maxHeight,
1815
+ 'y')) : initialHeight) - loadedHeight - interfaceHeight;
1816
+
1817
+ $loaded.css({width:'', height:settings.h});
1818
+ publicMethod.position();
1819
+
1820
+ trigger(event_open); settings.get('onOpen');
1821
+
1822
+ $groupControls.add($title).hide();
1823
+
1824
+ $box.focus();
1825
+
1826
+ if (settings.get('trapFocus')) { // Confine focus to the modal
1827
+ // Uses event capturing that is not supported in IE8- if
1828
+ (document.addEventListener) {
1829
+
1830
+ document.addEventListener('focus', trapFocus, true);
1831
+
1832
+ $events.one(event_closed, function () {
1833
+ document.removeEventListener('focus', trapFocus, true); }); } }
1834
+
1835
+ // Return focus on closing if (settings.get('returnFocus')) {
1836
+ $events.one(event_closed, function () { $(settings.el).focus(); }); } }
1837
+
1838
+ var opacity = parseFloat(settings.get('opacity')); $overlay.css({
1839
+ opacity: opacity === opacity ? opacity : '', cursor:
1840
+ settings.get('overlayClose') ? 'pointer' : '', visibility: 'visible' }).show();
1841
+
1842
+ if (settings.get('closeButton')) {
1843
+ $close.html(settings.get('close')).appendTo($content); } else {
1844
+ $close.appendTo('<div/>'); // replace with .detach() when dropping jQuery < 1.4
1845
+ }
1846
+
1847
+ load(); } }
1848
+
1849
+ // Colorbox's markup needs to be added to the DOM prior to being called //
1850
+ so that the browser will go ahead and load the CSS background images. function
1851
+ appendHTML() { if (!$box && document.body) { init = false; $window = $(window);
1852
+ $box = $tag(div).attr({ id: colorbox, 'class': $.support.opacity === false ?
1853
+ prefix + 'IE' : '', // class for optional IE8 & lower targeted CSS. role:
1854
+ 'dialog', tabindex: '-1' }).hide(); $overlay = $tag(div, "Overlay").hide();
1855
+ $loadingOverlay = $([$tag(div, "LoadingOverlay")[0],$tag(div,
1856
+ "LoadingGraphic")[0]]); $wrap = $tag(div, "Wrapper"); $content = $tag(div,
1857
+ "Content").append( $title = $tag(div, "Title"), $current = $tag(div, "Current"),
1858
+ $prev = $('<button type="button"/>').attr({id:prefix+'Previous'}), $next =
1859
+ $('<button type="button"/>').attr({id:prefix+'Next'}), $slideshow =
1860
+ $tag('button', "Slideshow"), $loadingOverlay );
1861
+
1862
+ $close = $('<button type="button"/>').attr({id:prefix+'Close'});
1863
+
1864
+ $wrap.append( // The 3x3 Grid that makes up Colorbox
1865
+ $tag(div).append( $tag(div, "TopLeft"), $topBorder = $tag(div, "TopCenter"),
1866
+ $tag(div, "TopRight") ), $tag(div, false, 'clear:left').append( $leftBorder =
1867
+ $tag(div, "MiddleLeft"), $content, $rightBorder = $tag(div, "MiddleRight") ),
1868
+ $tag(div, false, 'clear:left').append( $tag(div, "BottomLeft"), $bottomBorder =
1869
+ $tag(div, "BottomCenter"), $tag(div, "BottomRight") ) ).find('div
1870
+ div').css({'float': 'left'});
1871
+
1872
+ $loadingBay = $tag(div, false, 'position:absolute; width:9999px;
1873
+ visibility:hidden; display:none; max-width:none;');
1874
+
1875
+ $groupControls = $next.add($prev).add($current).add($slideshow);
1876
+
1877
+ $(document.body).append($overlay, $box.append($wrap, $loadingBay));
1878
+ } }
1879
+
1880
+ // Add Colorbox's event bindings function addBindings() { function
1881
+ clickHandler(e) { // ignore non-left-mouse-clicks and clicks modified with ctrl
1882
+ / command, shift, or alt. // See: http://jacklmoore.com/notes/click-events/ if
1883
+ (!(e.which > 1 || e.shiftKey || e.altKey || e.metaKey || e.ctrlKey)) {
1884
+ e.preventDefault(); launch(this); } }
1885
+
1886
+ if ($box) { if (!init) { init = true;
1887
+
1888
+ // Anonymous functions here keep the public method from being
1889
+ cached, thereby allowing them to be redefined on the fly. $next.click(function
1890
+ () { publicMethod.next(); }); $prev.click(function () { publicMethod.prev(); });
1891
+ $close.click(function () { publicMethod.close(); }); $overlay.click(function ()
1892
+ { if (settings.get('overlayClose')) { publicMethod.close(); } });
1893
+
1894
+ // Key Bindings $(document).bind('keydown.' + prefix, function
1895
+ (e) { var key = e.keyCode; if (open && settings.get('escKey') && key === 27) {
1896
+ e.preventDefault(); publicMethod.close(); } if (open && settings.get('arrowKey')
1897
+ && $related[1] && !e.altKey) { if (key === 37) { e.preventDefault();
1898
+ $prev.click(); } else if (key === 39) { e.preventDefault(); $next.click(); } }
1899
+ });
1900
+
1901
+ if ($.isFunction($.fn.on)) { // For jQuery 1.7+
1902
+ $(document).on('click.'+prefix, '.'+boxElement, clickHandler); } else { // For
1903
+ jQuery 1.3.x -> 1.6.x // This code is never reached in jQuery 1.9, so do not
1904
+ contact me about 'live' being removed. // This is not here for jQuery 1.9, it's
1905
+ here for legacy users. $('.'+boxElement).live('click.'+prefix, clickHandler); }
1906
+ } return true; } return false; }
1907
+
1908
+ // Don't do anything if Colorbox already exists. if ($[colorbox]) { return;
1909
+ }
1910
+
1911
+ // Append the HTML when the DOM loads $(appendHTML);
1912
+
1913
+
1914
+ // **************** // PUBLIC FUNCTIONS // Usage format: $.colorbox.close();
1915
+ // Usage from within an iframe: parent.jQuery.colorbox.close(); //
1916
+ ****************
1917
+
1918
+ publicMethod = $.fn[colorbox] = $[colorbox] = function (options, callback) {
1919
+ var settings; var $obj = this;
1920
+
1921
+ options = options || {};
1922
+
1923
+ if ($.isFunction($obj)) { // assume a call to $.colorbox $obj =
1924
+ $('<a/>'); options.open = true; } else if (!$obj[0]) { // colorbox being applied
1925
+ to empty collection return $obj; }
1926
+
1927
+
1928
+ if (!$obj[0]) { // colorbox being applied to empty collection return
1929
+ $obj; }
1930
+
1931
+ appendHTML();
1932
+
1933
+ if (addBindings()) {
1934
+
1935
+ if (callback) { options.onComplete = callback; }
1936
+
1937
+ $obj.each(function () { var old = $.data(this, colorbox) || {};
1938
+ $.data(this, colorbox, $.extend(old, options)); }).addClass(boxElement);
1939
+
1940
+ settings = new Settings($obj[0], options);
1941
+
1942
+ if (settings.get('open')) { launch($obj[0]); } }
1943
+
1944
+ return $obj; };
1945
+
1946
+ publicMethod.position = function (speed, loadedCallback) { var css, top = 0,
1947
+ left = 0, offset = $box.offset(), scrollTop, scrollLeft;
1948
+
1949
+ $window.unbind('resize.' + prefix);
1950
+
1951
+ // remove the modal so that it doesn't influence the document
1952
+ width/height $box.css({top: -9e4, left: -9e4});
1953
+
1954
+ scrollTop = $window.scrollTop(); scrollLeft = $window.scrollLeft();
1955
+
1956
+ if (settings.get('fixed')) { offset.top -= scrollTop; offset.left -=
1957
+ scrollLeft; $box.css({position: 'fixed'}); } else { top = scrollTop; left =
1958
+ scrollLeft; $box.css({position: 'absolute'}); }
1959
+
1960
+ // keeps the top and left positions within the browser's viewport. if
1961
+ (settings.get('right') !== false) { left += Math.max($window.width() -
1962
+ settings.w - loadedWidth - interfaceWidth - setSize(settings.get('right'), 'x'),
1963
+ 0); } else if (settings.get('left') !== false) { left +=
1964
+ setSize(settings.get('left'), 'x'); } else { left +=
1965
+ Math.round(Math.max($window.width() - settings.w - loadedWidth - interfaceWidth,
1966
+ 0) / 2); }
1967
+
1968
+ if (settings.get('bottom') !== false) { top += Math.max(winheight() -
1969
+ settings.h - loadedHeight - interfaceHeight - setSize(settings.get('bottom'),
1970
+ 'y'), 0); } else if (settings.get('top') !== false) { top +=
1971
+ setSize(settings.get('top'), 'y'); } else { top +=
1972
+ Math.round(Math.max(winheight() - settings.h - loadedHeight - interfaceHeight,
1973
+ 0) / 2); }
1974
+
1975
+ $box.css({top: offset.top, left: offset.left, visibility:'visible'});
1976
+
1977
+ // this gives the wrapper plenty of breathing room so it's floated
1978
+ contents can move around smoothly, // but it has to be shrank down around the
1979
+ size of div#colorbox when it's done. If not, // it can invoke an obscure IE bug
1980
+ when using iframes. $wrap[0].style.width = $wrap[0].style.height = "9999px";
1981
+
1982
+ function modalDimensions() { $topBorder[0].style.width =
1983
+ $bottomBorder[0].style.width = $content[0].style.width =
1984
+ (parseInt($box[0].style.width,10) - interfaceWidth)+'px';
1985
+ $content[0].style.height = $leftBorder[0].style.height =
1986
+ $rightBorder[0].style.height = (parseInt($box[0].style.height,10) -
1987
+ interfaceHeight)+'px'; }
1988
+
1989
+ css = {width: settings.w + loadedWidth + interfaceWidth, height:
1990
+ settings.h + loadedHeight + interfaceHeight, top: top, left: left};
1991
+
1992
+ // setting the speed to 0 if the content hasn't changed size or position
1993
+ if (speed) { var tempSpeed = 0; $.each(css, function(i){ if (css[i] !==
1994
+ previousCSS[i]) { tempSpeed = speed; return; } }); speed = tempSpeed; }
1995
+
1996
+ previousCSS = css;
1997
+
1998
+ if (!speed) { $box.css(css); }
1999
+
2000
+ $box.dequeue().animate(css, { duration: speed || 0, complete: function
2001
+ () { modalDimensions();
2002
+
2003
+ active = false;
2004
+
2005
+ // shrink the wrapper down to exactly the size of colorbox to
2006
+ avoid a bug in IE's iframe implementation. $wrap[0].style.width = (settings.w +
2007
+ loadedWidth + interfaceWidth) + "px"; $wrap[0].style.height = (settings.h +
2008
+ loadedHeight + interfaceHeight) + "px";
2009
+
2010
+ if (settings.get('reposition')) { setTimeout(function () { //
2011
+ small delay before binding onresize due to an IE8 bug. $window.bind('resize.' +
2012
+ prefix, publicMethod.position); }, 1); }
2013
+
2014
+ if ($.isFunction(loadedCallback)) { loadedCallback(); } }, step:
2015
+ modalDimensions }); };
2016
+
2017
+ publicMethod.resize = function (options) { var scrolltop;
2018
+
2019
+ if (open) { options = options || {};
2020
+
2021
+ if (options.width) { settings.w = setSize(options.width, 'x') -
2022
+ loadedWidth - interfaceWidth; }
2023
+
2024
+ if (options.innerWidth) { settings.w = setSize(options.innerWidth,
2025
+ 'x'); }
2026
+
2027
+ $loaded.css({width: settings.w});
2028
+
2029
+ if (options.height) { settings.h = setSize(options.height, 'y') -
2030
+ loadedHeight - interfaceHeight; }
2031
+
2032
+ if (options.innerHeight) { settings.h = setSize(options.innerHeight,
2033
+ 'y'); }
2034
+
2035
+ if (!options.innerHeight && !options.height) { scrolltop =
2036
+ $loaded.scrollTop(); $loaded.css({height: "auto"}); settings.h =
2037
+ $loaded.height(); }
2038
+
2039
+ $loaded.css({height: settings.h});
2040
+
2041
+ if(scrolltop) { $loaded.scrollTop(scrolltop); }
2042
+
2043
+ publicMethod.position(settings.get('transition') === "none" ? 0 :
2044
+ settings.get('speed')); } };
2045
+
2046
+ publicMethod.prep = function (object) { if (!open) { return; }
2047
+
2048
+ var callback, speed = settings.get('transition') === "none" ? 0 :
2049
+ settings.get('speed');
2050
+
2051
+ $loaded.remove();
2052
+
2053
+ $loaded = $tag(div, 'LoadedContent').append(object);
2054
+
2055
+ function getWidth() { settings.w = settings.w || $loaded.width();
2056
+ settings.w = settings.mw && settings.mw < settings.w ? settings.mw : settings.w;
2057
+ return settings.w; } function getHeight() { settings.h = settings.h ||
2058
+ $loaded.height(); settings.h = settings.mh && settings.mh < settings.h ?
2059
+ settings.mh : settings.h; return settings.h; }
2060
+
2061
+ $loaded.hide() .appendTo($loadingBay.show())// content has to be
2062
+ appended to the DOM for accurate size calculations. .css({width: getWidth(),
2063
+ overflow: settings.get('scrolling') ? 'auto' : 'hidden'}) .css({height:
2064
+ getHeight()})// sets the height independently from the width in case the new
2065
+ width influences the value of height. .prependTo($content);
2066
+
2067
+ $loadingBay.hide();
2068
+
2069
+ // floating the IMG removes the bottom line-height and fixed a problem
2070
+ where IE miscalculates the width of the parent element as 100% of the document
2071
+ width.
2072
+
2073
+ $(photo).css({'float': 'none'});
2074
+
2075
+ setClass(settings.get('className'));
2076
+
2077
+ callback = function () { var total = $related.length, iframe, complete;
2078
+
2079
+ if (!open) { return; }
2080
+
2081
+ function removeFilter() { // Needed for IE8 in versions of jQuery
2082
+ prior to 1.7.2 if ($.support.opacity === false) {
2083
+ $box[0].style.removeAttribute('filter'); } }
2084
+
2085
+ complete = function () { clearTimeout(loadingTimer);
2086
+ $loadingOverlay.hide(); trigger(event_complete); settings.get('onComplete'); };
2087
+
2088
+
2089
+ $title.html(settings.get('title')).show(); $loaded.show();
2090
+
2091
+ if (total > 1) { // handle grouping if (typeof
2092
+ settings.get('current') === "string") {
2093
+ $current.html(settings.get('current').replace('{current}', index +
2094
+ 1).replace('{total}', total)).show(); }
2095
+
2096
+ $next[(settings.get('loop') || index < total - 1) ? "show" :
2097
+ "hide"]().html(settings.get('next')); $prev[(settings.get('loop') || index) ?
2098
+ "show" : "hide"]().html(settings.get('previous'));
2099
+
2100
+ slideshow();
2101
+
2102
+ // Preloads images within a rel group if
2103
+ (settings.get('preloading')) { $.each([getIndex(-1), getIndex(1)], function(){
2104
+ var img, i = $related[this], settings = new Settings(i, $.data(i, colorbox)),
2105
+ src = settings.get('href');
2106
+
2107
+ if (src && isImage(settings, src)) { src =
2108
+ retinaUrl(settings, src); img = document.createElement('img'); img.src = src; }
2109
+ }); } } else { $groupControls.hide(); }
2110
+
2111
+ if (settings.get('iframe')) { iframe =
2112
+ document.createElement('iframe');
2113
+
2114
+ if ('frameBorder' in iframe) { iframe.frameBorder = 0; }
2115
+
2116
+ if ('allowTransparency' in iframe) { iframe.allowTransparency =
2117
+ "true"; }
2118
+
2119
+ if (!settings.get('scrolling')) { iframe.scrolling = "no"; }
2120
+
2121
+ $(iframe) .attr({ src: settings.get('href'), name: (new
2122
+ Date()).getTime(), // give the iframe a unique name to prevent caching 'class':
2123
+ prefix + 'Iframe', allowFullScreen : true // allow HTML5 video to go fullscreen
2124
+ }) .one('load', complete) .appendTo($loaded);
2125
+
2126
+ $events.one(event_purge, function () { iframe.src =
2127
+ "//about:blank"; });
2128
+
2129
+ if (settings.get('fastIframe')) { $(iframe).trigger('load'); } }
2130
+ else { complete(); }
2131
+
2132
+ if (settings.get('transition') === 'fade') { $box.fadeTo(speed, 1,
2133
+ removeFilter); } else { removeFilter(); } };
2134
+
2135
+ if (settings.get('transition') === 'fade') { $box.fadeTo(speed, 0,
2136
+ function () { publicMethod.position(0, callback); }); } else {
2137
+ publicMethod.position(speed, callback); } };
2138
+
2139
+ function load () { var href, setResize, prep = publicMethod.prep, $inline,
2140
+ request = ++requests;
2141
+
2142
+ active = true;
2143
+
2144
+ photo = false;
2145
+
2146
+ trigger(event_purge); trigger(event_load); settings.get('onLoad');
2147
+
2148
+ settings.h = settings.get('height') ? setSize(settings.get('height'),
2149
+ 'y') - loadedHeight - interfaceHeight : settings.get('innerHeight') &&
2150
+ setSize(settings.get('innerHeight'), 'y');
2151
+
2152
+ settings.w = settings.get('width') ? setSize(settings.get('width'), 'x')
2153
+ - loadedWidth - interfaceWidth : settings.get('innerWidth') &&
2154
+ setSize(settings.get('innerWidth'), 'x');
2155
+
2156
+ // Sets the minimum dimensions for use in image scaling settings.mw =
2157
+ settings.w; settings.mh = settings.h;
2158
+
2159
+ // Re-evaluate the minimum width and height based on maxWidth and
2160
+ maxHeight values. // If the width or height exceed the maxWidth or maxHeight,
2161
+ use the maximum values instead. if (settings.get('maxWidth')) { settings.mw =
2162
+ setSize(settings.get('maxWidth'), 'x') - loadedWidth - interfaceWidth;
2163
+ settings.mw = settings.w && settings.w < settings.mw ? settings.w : settings.mw;
2164
+ } if (settings.get('maxHeight')) { settings.mh =
2165
+ setSize(settings.get('maxHeight'), 'y') - loadedHeight - interfaceHeight;
2166
+ settings.mh = settings.h && settings.h < settings.mh ? settings.h : settings.mh;
2167
+ }
2168
+
2169
+ href = settings.get('href');
2170
+
2171
+ loadingTimer = setTimeout(function () { $loadingOverlay.show(); }, 100);
2172
+
2173
+ if (settings.get('inline')) { var $target = $(href); // Inserts an empty
2174
+ placeholder where inline content is being pulled from. // An event is bound to
2175
+ put inline content back when Colorbox closes or loads new content. $inline =
2176
+ $('<div>').hide().insertBefore($target);
2177
+
2178
+ $events.one(event_purge, function () { $inline.replaceWith($target);
2179
+ });
2180
+
2181
+ prep($target); } else if (settings.get('iframe')) { // IFrame
2182
+ element won't be added to the DOM until it is ready to be displayed, // to avoid
2183
+ problems with DOM-ready JS that might be trying to run in that iframe. prep("
2184
+ "); } else if (settings.get('html')) { prep(settings.get('html')); } else if
2185
+ (isImage(settings, href)) {
2186
+
2187
+ href = retinaUrl(settings, href);
2188
+
2189
+ photo = new Image();
2190
+
2191
+ $(photo) .addClass(prefix + 'Photo') .bind('error',function () {
2192
+ prep($tag(div, 'Error').html(settings.get('imgError'))); }) .one('load',
2193
+ function () { if (request !== requests) { return; }
2194
+
2195
+ // A small pause because some browsers will occassionaly
2196
+ report a // img.width and img.height of zero immediately after the img.onload
2197
+ fires setTimeout(function(){ var percent;
2198
+
2199
+ $.each(['alt', 'longdesc', 'aria-describedby'],
2200
+ function(i,val){ var attr = $(settings.el).attr(val) ||
2201
+ $(settings.el).attr('data-'+val); if (attr) { photo.setAttribute(val, attr); }
2202
+ });
2203
+
2204
+ if (settings.get('retinaImage') &&
2205
+ window.devicePixelRatio > 1) { photo.height = photo.height /
2206
+ window.devicePixelRatio; photo.width = photo.width / window.devicePixelRatio; }
2207
+
2208
+ if (settings.get('scalePhotos')) { setResize = function
2209
+ () { photo.height -= photo.height * percent; photo.width -= photo.width *
2210
+ percent; }; if (settings.mw && photo.width > settings.mw) { percent =
2211
+ (photo.width - settings.mw) / photo.width; setResize(); } if (settings.mh &&
2212
+ photo.height > settings.mh) { percent = (photo.height - settings.mh) /
2213
+ photo.height; setResize(); } }
2214
+
2215
+ if (settings.h) { photo.style.marginTop =
2216
+ Math.max(settings.mh - photo.height, 0) / 2 + 'px'; }
2217
+
2218
+ if ($related[1] && (settings.get('loop') ||
2219
+ $related[index + 1])) { photo.style.cursor = 'pointer'; photo.onclick = function
2220
+ () { publicMethod.next(); }; }
2221
+
2222
+ photo.style.width = photo.width + 'px';
2223
+ photo.style.height = photo.height + 'px'; prep(photo); }, 1); });
2224
+
2225
+ photo.src = href;
2226
+
2227
+ } else if (href) { $loadingBay.load(href, settings.get('data'), function
2228
+ (data, status) { if (request === requests) { prep(status === 'error' ? $tag(div,
2229
+ 'Error').html(settings.get('xhrError')) : $(this).contents()); } }); } }
2230
+
2231
+ // Navigates to the next page/image in a set. publicMethod.next = function
2232
+ () { if (!active && $related[1] && (settings.get('loop') || $related[index +
2233
+ 1])) { index = getIndex(1); launch($related[index]); } };
2234
+
2235
+ publicMethod.prev = function () { if (!active && $related[1] &&
2236
+ (settings.get('loop') || index)) { index = getIndex(-1);
2237
+ launch($related[index]); } };
2238
+
2239
+ // Note: to use this within an iframe use the following format:
2240
+ parent.jQuery.colorbox.close(); publicMethod.close = function () { if (open &&
2241
+ !closing) {
2242
+
2243
+ closing = true; open = false; trigger(event_cleanup);
2244
+ settings.get('onCleanup'); $window.unbind('.' + prefix);
2245
+ $overlay.fadeTo(settings.get('fadeOut') || 0, 0);
2246
+
2247
+ $box.stop().fadeTo(settings.get('fadeOut') || 0, 0, function () {
2248
+ $box.hide(); $overlay.hide(); trigger(event_purge); $loaded.remove();
2249
+
2250
+ setTimeout(function () { closing = false; trigger(event_closed);
2251
+ settings.get('onClosed'); }, 1); }); } };
2252
+
2253
+ // Removes changes Colorbox made to the document, but does not remove the
2254
+ plugin. publicMethod.remove = function () { if (!$box) { return; }
2255
+
2256
+ $box.stop(); $[colorbox].close(); $box.stop(false, true).remove();
2257
+ $overlay.remove(); closing = false; $box = null; $('.' + boxElement)
2258
+ .removeData(colorbox) .removeClass(boxElement);
2259
+
2260
+ $(document).unbind('click.'+prefix).unbind('keydown.'+prefix); };
2261
+
2262
+ // A method for fetching the current element Colorbox is referencing. //
2263
+ returns a jQuery object. publicMethod.element = function () { return
2264
+ $(settings.el); };
2265
+
2266
+ publicMethod.settings = defaults;
2267
+
2268
+ }(jQuery, document, window)); /* * File: jquery.dataTables.min.js *
2269
+ Version: 1.7.0 * Author: Allan Jardine (www.sprymedia.co.uk) * Info:
2270
+ www.datatables.net * * Copyright 2008-2010 Allan Jardine, all rights
2271
+ reserved. * * This source file is free software, under either the GPL v2 license
2272
+ or a * BSD style license, as supplied with this software. * * This source file
2273
+ is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY;
2274
+ without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A
2275
+ PARTICULAR PURPOSE. See the license files for details. */
2276
+
2277
+ (function(j,Y,p){j.fn.dataTableSettings=[];var
2278
+ E=j.fn.dataTableSettings;j.fn.dataTableExt={};var
2279
+ m=j.fn.dataTableExt;m.sVersion="1.7.0";m.sErrMode="alert";m.iApiIndex=0;m.oApi={
2280
+ };m.afnFiltering=[];m.aoFeatures=[];m.ofnSearch={};m.afnSortData=[];m.
2281
+ oStdClasses={sPagePrevEnabled:"paginate_enabled_previous",sPagePrevDisabled:
2282
+ "paginate_disabled_previous",sPageNextEnabled:"paginate_enabled_next",
2283
+ sPageNextDisabled:"paginate_disabled_next",sPageJUINext:"",sPageJUIPrev:"",
2284
+ sPageButton:"paginate_button",sPageButtonActive:"paginate_active",
2285
+ sPageButtonStaticDisabled:"paginate_button",sPageFirst:"first",sPagePrevious:
2286
+ "previous",sPageNext:"next",sPageLast:"last",sStripOdd:"odd",sStripEven:"even",
2287
+ sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:
2288
+ "dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate
2289
+ paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",
2290
+ sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc
2291
+ :"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",
2292
+ sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sSortJUIAsc:"",
2293
+ sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",
2294
+ sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",
2295
+ sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:
2296
+ "dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:
2297
+ "dataTables_scrollFootInner",sFooterTH:""};m.oJUIClasses={sPagePrevEnabled:"fg-
2298
+ button ui-state-default ui-corner-left",sPagePrevDisabled:"fg-button
2299
+ ui-state-default ui-corner-left ui-state-disabled", sPageNextEnabled:"fg-button
2300
+ ui-state-default ui-corner-right",sPageNextDisabled:"fg-button ui-state-default
2301
+ ui-corner-right ui-state-disabled",sPageJUINext:"ui-icon
2302
+ ui-icon-circle-arrow-e",sPageJUIPrev:"ui-icon
2303
+ ui-icon-circle-arrow-w",sPageButton:"fg-button
2304
+ ui-state-default",sPageButtonActive:"fg-button ui-state-default
2305
+ ui-state-disabled",sPageButtonStaticDisabled:"fg-button ui-state-default
2306
+ ui-state-disabled",sPageFirst:"first ui-corner-tl
2307
+ ui-corner-bl",sPagePrevious:"previous",sPageNext:"next", sPageLast:"last
2308
+ ui-corner-tr
2309
+ ui-corner-br",sStripOdd:"odd",sStripEven:"even",sRowEmpty:"dataTables_empty",
2310
+ sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:
2311
+ "dataTables_info",sPaging:"dataTables_paginate fg-buttonset fg-buttonset-multi
2312
+ paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",
2313
+ sSortAsc:"ui-state-default",sSortDesc:"ui-state-default",sSortable:"ui-state-
2314
+ default",sSortableAsc:"ui-state-default",sSortableDesc:"ui-state-default",
2315
+ sSortableNone:"ui-state-default", sSortColumn:"sorting_",sSortJUIAsc:"css_right
2316
+ ui-icon ui-icon-triangle-1-n",sSortJUIDesc:"css_right ui-icon
2317
+ ui-icon-triangle-1-s",sSortJUI:"css_right ui-icon
2318
+ ui-icon-carat-2-n-s",sSortJUIAscAllowed:"css_right ui-icon
2319
+ ui-icon-carat-1-n",sSortJUIDescAllowed:"css_right ui-icon
2320
+ ui-icon-carat-1-s",sScrollWrapper:"dataTables_scroll",sScrollHead:
2321
+ "dataTables_scrollHead
2322
+ ui-state-default",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:
2323
+ "dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot ui-state-default",
2324
+ sScrollFootInner:"dataTables_scrollFootInner",sFooterTH:"ui-state-default"};m.
2325
+ oPagination={two_button:{fnInit:function(g,l,q){var
2326
+ r,u,y;if(g.bJUI){r=p.createElement("a");u=p.createElement("a");y=p.createElement
2327
+ ("span");y.className=g.oClasses.sPageJUINext;u.appendChild(y);y=p.createElement(
2328
+ "span");y.className=g.oClasses.sPageJUIPrev;r.appendChild(y)}else{r=p.
2329
+ createElement("div");u=p.createElement("div")}r.className=g.oClasses.
2330
+ sPagePrevDisabled;u.className=g.oClasses.sPageNextDisabled;r.title=g.oLanguage.
2331
+ oPaginate.sPrevious;
2332
+ u.title=g.oLanguage.oPaginate.sNext;l.appendChild(r);l.appendChild(u);j(r).click
2333
+ (function(){g.oApi._fnPageChange(g,"previous")&&q(g)});j(u).click(function(){g.
2334
+ oApi._fnPageChange(g,"next")&&q(g)});j(r).bind("selectstart",function(){return
2335
+ false});j(u).bind("selectstart",function(){return
2336
+ false});if(g.sTableId!==""&&typeof
2337
+ g.aanFeatures.p=="undefined"){l.setAttribute("id",g.sTableId+"_paginate");r.
2338
+ setAttribute("id",g.sTableId+"_previous");u.setAttribute("id",g.sTableId+"_next"
2339
+ )}},fnUpdate:function(g){if(g.aanFeatures.p)for(var l=
2340
+ g.aanFeatures.p,q=0,r=l.length;q<r;q++)if(l[q].childNodes.length!==0){l[q].
2341
+ childNodes[0].className=g._iDisplayStart===0?g.oClasses.sPagePrevDisabled:g.
2342
+ oClasses.sPagePrevEnabled;l[q].childNodes[1].className=g.fnDisplayEnd()==g.
2343
+ fnRecordsDisplay()?g.oClasses.sPageNextDisabled:g.oClasses.sPageNextEnabled}}},
2344
+ iFullNumbersShowPages:5,full_numbers:{fnInit:function(g,l,q){var
2345
+ r=p.createElement("span"),u=p.createElement("span"),y=p.createElement("span"),C=
2346
+ p.createElement("span"),w=p.createElement("span");r.innerHTML=
2347
+ g.oLanguage.oPaginate.sFirst;u.innerHTML=g.oLanguage.oPaginate.sPrevious;C.
2348
+ innerHTML=g.oLanguage.oPaginate.sNext;w.innerHTML=g.oLanguage.oPaginate.sLast;
2349
+ var x=g.oClasses;r.className=x.sPageButton+"
2350
+ "+x.sPageFirst;u.className=x.sPageButton+"
2351
+ "+x.sPagePrevious;C.className=x.sPageButton+"
2352
+ "+x.sPageNext;w.className=x.sPageButton+"
2353
+ "+x.sPageLast;l.appendChild(r);l.appendChild(u);l.appendChild(y);l.appendChild(C
2354
+ );l.appendChild(w);j(r).click(function(){g.oApi._fnPageChange(g,"first")&&q(g)})
2355
+ ;j(u).click(function(){g.oApi._fnPageChange(g,
2356
+ "previous")&&q(g)});j(C).click(function(){g.oApi._fnPageChange(g,"next")&&q(g)})
2357
+ ;j(w).click(function(){g.oApi._fnPageChange(g,"last")&&q(g)});j("span",l).bind(
2358
+ "mousedown",function(){return false}).bind("selectstart",function(){return
2359
+ false});if(g.sTableId!==""&&typeof
2360
+ g.aanFeatures.p=="undefined"){l.setAttribute("id",g.sTableId+"_paginate");r.
2361
+ setAttribute("id",g.sTableId+"_first");u.setAttribute("id",g.sTableId+
2362
+ "_previous");C.setAttribute("id",g.sTableId+"_next");w.setAttribute("id",g.
2363
+ sTableId+"_last")}}, fnUpdate:function(g,l){if(g.aanFeatures.p){var
2364
+ q=m.oPagination.iFullNumbersShowPages,r=Math.floor(q/2),u=Math.ceil(g.
2365
+ fnRecordsDisplay()/g._iDisplayLength),y=Math.ceil(g._iDisplayStart/g.
2366
+ _iDisplayLength)+1,C="",w,x=g.oClasses;if(u<q){r=1;w=u}else
2367
+ if(y<=r){r=1;w=q}else
2368
+ if(y>=u-r){r=u-q+1;w=u}else{r=y-Math.ceil(q/2)+1;w=r+q-1}for(q=r;q<=w;q++)C+=y!=
2369
+ q?'<span class="'+x.sPageButton+'">'+q+"</span>":'<span
2370
+ class="'+x.sPageButtonActive+'">'+q+"</span>";w=g.aanFeatures.p;var
2371
+ z,D=function(){g._iDisplayStart=
2372
+ (this.innerHTML*1-1)*g._iDisplayLength;l(g);return false},L=function(){return
2373
+ false};q=0;for(r=w.length;q<r;q++)if(w[q].childNodes.length!==0){z=w[q].
2374
+ childNodes[2];z.innerHTML=C;j("span",z).click(D).bind("mousedown",L).bind(
2375
+ "selectstart",L);z=w[q].getElementsByTagName("span");z=[z[0],z[1],z[z.length-2],
2376
+ z[z.length-1]];j(z).removeClass(x.sPageButton+" "+x.sPageButtonActive+"
2377
+ "+x.sPageButtonStaticDisabled);if(y==1){z[0].className+="
2378
+ "+x.sPageButtonStaticDisabled;z[1].className+="
2379
+ "+x.sPageButtonStaticDisabled}else{z[0].className+= "
2380
+ "+x.sPageButton;z[1].className+="
2381
+ "+x.sPageButton}if(u===0||y==u||g._iDisplayLength==-1){z[2].className+="
2382
+ "+x.sPageButtonStaticDisabled;z[3].className+="
2383
+ "+x.sPageButtonStaticDisabled}else{z[2].className+="
2384
+ "+x.sPageButton;z[3].className+="
2385
+ "+x.sPageButton}}}}}};m.oSort={"string-asc":function(g,l){g=g.toLowerCase();l=l.
2386
+ toLowerCase();return
2387
+ g<l?-1:g>l?1:0},"string-desc":function(g,l){g=g.toLowerCase();l=l.toLowerCase();
2388
+ return
2389
+ g<l?1:g>l?-1:0},"html-asc":function(g,l){g=g.replace(/<.*?>/g,"").toLowerCase();
2390
+ l=l.replace(/<.*?>/g,"").toLowerCase();return
2391
+ g<l?-1:g>l?1:0},"html-desc":function(g,l){g=g.replace(/<.*?>/g,"").toLowerCase()
2392
+ ;l=l.replace(/<.*?>/g,"").toLowerCase();return
2393
+ g<l?1:g>l?-1:0},"date-asc":function(g,l){g=Date.parse(g);l=Date.parse(l);if(
2394
+ isNaN(g)||g==="")g=Date.parse("01/01/1970
2395
+ 00:00:00");if(isNaN(l)||l==="")l=Date.parse("01/01/1970 00:00:00");return
2396
+ g-l},"date-desc":function(g,l){g=Date.parse(g);l=Date.parse(l);if(isNaN(g)||g===
2397
+ "")g=Date.parse("01/01/1970 00:00:00");if(isNaN(l)||l===
2398
+ "")l=Date.parse("01/01/1970 00:00:00");return
2399
+ l-g},"numeric-asc":function(g,l){return(g=="-"||g===""?0:g*1)-(l=="-"||l===""?0:
2400
+ l*1)},"numeric-desc":function(g,l){return(l=="-"||l===""?0:l*1)-(g=="-"||g===
2401
+ ""?0:g*1)}};m.aTypes=[function(g){if(g.length===0)return"numeric";var
2402
+ l,q=false;l=g.charAt(0);if("0123456789-".indexOf(l)==-1)return null;for(var
2403
+ r=1;r<g.length;r++){l=g.charAt(r);if("0123456789.".indexOf(l)==-1)return
2404
+ null;if(l=="."){if(q)return null;q=true}}return"numeric"},function(g){var
2405
+ l=Date.parse(g); if(l!==null&&!isNaN(l)||g.length===0)return"date";return
2406
+ null},function(g){if(g.indexOf("<")!=-1&&g.indexOf(">")!=-1)return"html";return
2407
+ null}];m.fnVersionCheck=function(g){var
2408
+ l=function(w,x){for(;w.length<x;)w+="0";return
2409
+ w},q=m.sVersion.split(".");g=g.split(".");for(var
2410
+ r="",u="",y=0,C=g.length;y<C;y++){r+=l(q[y],3);u+=l(g[y],3)}return
2411
+ parseInt(r,10)>=parseInt(u,10)};m._oExternConfig={iNextUnique:0};j.fn.dataTable=
2412
+ function(g){function l(){this.fnRecordsTotal=function(){return
2413
+ this.oFeatures.bServerSide?
2414
+ this._iRecordsTotal:this.aiDisplayMaster.length};this.fnRecordsDisplay=function(
2415
+ ){return
2416
+ this.oFeatures.bServerSide?this._iRecordsDisplay:this.aiDisplay.length};this.
2417
+ fnDisplayEnd=function(){return
2418
+ this.oFeatures.bServerSide?this.oFeatures.bPaginate===false?this._iDisplayStart+
2419
+ this.aiDisplay.length:Math.min(this._iDisplayStart+this._iDisplayLength,this.
2420
+ _iDisplayStart+this.aiDisplay.length):this._iDisplayEnd};this.sInstance=this.
2421
+ oInstance=null;this.oFeatures={bPaginate:true,bLengthChange:true,bFilter:true,
2422
+ bSort:true,bInfo:true,bAutoWidth:true,bProcessing:false,bSortClasses:true,
2423
+ bStateSave:false,bServerSide:false};this.oScroll={sX:"",sXInner:"",sY:"",
2424
+ bCollapse:false,iBarWidth:0};this.aanFeatures=[];this.oLanguage={sProcessing:
2425
+ "Processing...",sLengthMenu:"Show _MENU_ entries",sZeroRecords:"No matching
2426
+ records found",sEmptyTable:"No data available in table",sInfo:"Showing _START_
2427
+ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0
2428
+ entries",sInfoFiltered:"(filtered from _MAX_ total entries)",
2429
+ sInfoPostFix:"",sSearch:"Search:",sUrl:"",oPaginate:{sFirst:"First",sPrevious:
2430
+ "Previous",sNext:"Next",sLast:"Last"}};this.aoData=[];this.aiDisplay=[];this.
2431
+ aiDisplayMaster=[];this.aoColumns=[];this.iNextId=0;this.asDataSearch=[];this.
2432
+ oPreviousSearch={sSearch:"",bRegex:false,bSmart:true};this.aoPreSearchCols=[];
2433
+ this.aaSorting=[[0,"asc",0]];this.aaSortingFixed=null;this.asStripClasses=[];
2434
+ this.asDestoryStrips=[];this.fnFooterCallback=this.fnHeaderCallback=this.
2435
+ fnRowCallback=null;this.aoDrawCallback=[];
2436
+ this.fnInitComplete=null;this.sTableId="";this.nTableWrapper=this.nTBody=this.
2437
+ nTFoot=this.nTHead=this.nTable=null;this.iDefaultSortIndex=0;this.bInitialised=
2438
+ false;this.aoOpenRows=[];this.sDom="lfrtip";this.sPaginationType="two_button";
2439
+ this.iCookieDuration=7200;this.sCookiePrefix="SpryMedia_DataTables_";this.
2440
+ sAjaxSource=null;this.bAjaxDataGet=true;this.fnServerData=function(a,b,c){j.ajax
2441
+ ({url:a,data:b,success:c,dataType:"json",cache:false,error:function(){alert(
2442
+ "DataTables warning: JSON data from server failed to load or be parsed. This is
2443
+ most likely to be caused by a JSON formatting error.")}})};
2444
+ this.fnFormatNumber=function(a){if(a<1E3)return a;else{var
2445
+ b=a+"";a=b.split("");var c="";b=b.length;for(var
2446
+ d=0;d<b;d++){if(d%3===0&&d!==0)c=","+c;c=a[b-d-1]+c}}return
2447
+ c};this.aLengthMenu=[10,25,50,100];this.iDraw=0;this.iDrawError=-1;this.
2448
+ _iDisplayLength=10;this._iDisplayStart=0;this._iDisplayEnd=10;this.
2449
+ _iRecordsDisplay=this._iRecordsTotal=0;this.bJUI=false;this.oClasses=m.
2450
+ oStdClasses;this.bSorted=this.bFiltered=false;this.oInit=null}function
2451
+ q(a){return function(){var
2452
+ b=[B(this[m.iApiIndex])].concat(Array.prototype.slice.call(arguments)); return
2453
+ m.oApi[a].apply(this,b)}}function
2454
+ r(a){if(a.bInitialised===false)setTimeout(function(){r(a)},200);else{na(a);z(a);
2455
+ if(a.oFeatures.bSort)O(a);else{a.aiDisplay=a.aiDisplayMaster.slice();F(a);D(a)}
2456
+ if(a.sAjaxSource!==null&&!a.oFeatures.bServerSide){K(a,true);a.fnServerData.call
2457
+ (a.oInstance,a.sAjaxSource,null,function(b){for(var
2458
+ c=0;c<b.aaData.length;c++)w(a,b.aaData[c]);a.iInitDisplayStart=a._iDisplayStart;
2459
+ if(a.oFeatures.bSort)O(a);else{a.aiDisplay=a.aiDisplayMaster.slice();F(a);D(a)}K
2460
+ (a,false); typeof
2461
+ a.fnInitComplete=="function"&&a.fnInitComplete.call(a.oInstance,a,b)})}else{
2462
+ typeof
2463
+ a.fnInitComplete=="function"&&a.fnInitComplete.call(a.oInstance,a);a.oFeatures.
2464
+ bServerSide||K(a,false)}}}function
2465
+ u(a,b,c){n(a.oLanguage,b,"sProcessing");n(a.oLanguage,b,"sLengthMenu");n(a.
2466
+ oLanguage,b,"sEmptyTable");n(a.oLanguage,b,"sZeroRecords");n(a.oLanguage,b,
2467
+ "sInfo");n(a.oLanguage,b,"sInfoEmpty");n(a.oLanguage,b,"sInfoFiltered");n(a.
2468
+ oLanguage,b,"sInfoPostFix");n(a.oLanguage,b,"sSearch");if(typeof b.oPaginate!=
2469
+ "undefined"){n(a.oLanguage.oPaginate,b.oPaginate,"sFirst");n(a.oLanguage.
2470
+ oPaginate,b.oPaginate,"sPrevious");n(a.oLanguage.oPaginate,b.oPaginate,"sNext");
2471
+ n(a.oLanguage.oPaginate,b.oPaginate,"sLast")}typeof
2472
+ b.sEmptyTable=="undefined"&&typeof
2473
+ b.sZeroRecords!="undefined"&&n(a.oLanguage,b,"sZeroRecords","sEmptyTable");c&&r(
2474
+ a)}function
2475
+ y(a,b){a.aoColumns[a.aoColumns.length++]={sType:null,_bAutoType:true,bVisible:
2476
+ true,bSearchable:true,bSortable:true,asSorting:["asc","desc"],sSortingClass:a.
2477
+ oClasses.sSortable,
2478
+ sSortingClassJUI:a.oClasses.sSortJUI,sTitle:b?b.innerHTML:"",sName:"",sWidth:
2479
+ null,sWidthOrig:null,sClass:null,fnRender:null,bUseRendered:true,iDataSort:a.
2480
+ aoColumns.length-1,sSortDataType:"std",nTh:b?b:p.createElement("th"),nTf:null};b
2481
+ =a.aoColumns.length-1;if(typeof
2482
+ a.aoPreSearchCols[b]=="undefined"||a.aoPreSearchCols[b]===null)a.aoPreSearchCols
2483
+ [b]={sSearch:"",bRegex:false,bSmart:true};else{if(typeof
2484
+ a.aoPreSearchCols[b].bRegex=="undefined")a.aoPreSearchCols[b].bRegex=true;if(
2485
+ typeof a.aoPreSearchCols[b].bSmart==
2486
+ "undefined")a.aoPreSearchCols[b].bSmart=true}C(a,b,null)}function
2487
+ C(a,b,c){b=a.aoColumns[b];if(typeof c!="undefined"&&c!==null){if(typeof
2488
+ c.sType!="undefined"){b.sType=c.sType;b._bAutoType=false}n(b,c,"bVisible");n(b,c
2489
+ ,"bSearchable");n(b,c,"bSortable");n(b,c,"sTitle");n(b,c,"sName");n(b,c,"sWidth"
2490
+ );n(b,c,"sWidth","sWidthOrig");n(b,c,"sClass");n(b,c,"fnRender");n(b,c,
2491
+ "bUseRendered");n(b,c,"iDataSort");n(b,c,"asSorting");n(b,c,"sSortDataType")}if(
2492
+ !a.oFeatures.bSort)b.bSortable=false;if(!b.bSortable||
2493
+ j.inArray("asc",b.asSorting)==-1&&j.inArray("desc",b.asSorting)==-1){b.
2494
+ sSortingClass=a.oClasses.sSortableNone;b.sSortingClassJUI=""}else
2495
+ if(j.inArray("asc",b.asSorting)!=-1&&j.inArray("desc",b.asSorting)==-1){b.
2496
+ sSortingClass=a.oClasses.sSortableAsc;b.sSortingClassJUI=a.oClasses.
2497
+ sSortJUIAscAllowed}else
2498
+ if(j.inArray("asc",b.asSorting)==-1&&j.inArray("desc",b.asSorting)!=-1){b.
2499
+ sSortingClass=a.oClasses.sSortableDesc;b.sSortingClassJUI=a.oClasses.
2500
+ sSortJUIDescAllowed}}function w(a,b){if(b.length!=a.aoColumns.length&&
2501
+ a.iDrawError!=a.iDraw){J(a,0,"Added data does not match known number of
2502
+ columns");a.iDrawError=a.iDraw;return-1}b=b.slice();var
2503
+ c=a.aoData.length;a.aoData.push({nTr:p.createElement("tr"),_iId:a.iNextId++,
2504
+ _aData:b,_anHidden:[],_sRowStripe:""});for(var
2505
+ d,f,e=0;e<b.length;e++){d=p.createElement("td");if(b[e]===null)b[e]="";if(typeof
2506
+ b[e]!="string")b[e]+="";b[e]=j.trim(b[e]);if(typeof
2507
+ a.aoColumns[e].fnRender=="function"){f=a.aoColumns[e].fnRender({iDataRow:c,
2508
+ iDataColumn:e,aData:b,oSettings:a});d.innerHTML=
2509
+ f;if(a.aoColumns[e].bUseRendered)a.aoData[c]._aData[e]=f}else
2510
+ d.innerHTML=b[e];if(a.aoColumns[e].sClass!==null)d.className=a.aoColumns[e].
2511
+ sClass;if(a.aoColumns[e]._bAutoType&&a.aoColumns[e].sType!="string"){f=Z(a.
2512
+ aoData[c]._aData[e]);if(a.aoColumns[e].sType===null)a.aoColumns[e].sType=f;else
2513
+ if(a.aoColumns[e].sType!=f)a.aoColumns[e].sType="string"}if(a.aoColumns[e].
2514
+ bVisible)a.aoData[c].nTr.appendChild(d);else
2515
+ a.aoData[c]._anHidden[e]=d}a.aiDisplayMaster.push(c);return c}function x(a){var
2516
+ b,c,d,f,
2517
+ e,i,h,k;if(a.sAjaxSource===null){h=a.nTBody.childNodes;b=0;for(c=h.length;b<c;b+
2518
+ +)if(h[b].nodeName.toUpperCase()=="TR"){i=a.aoData.length;a.aoData.push({nTr:h[b
2519
+ ],_iId:a.iNextId++,_aData:[],_anHidden:[],_sRowStripe:""});a.aiDisplayMaster.
2520
+ push(i);k=a.aoData[i]._aData;i=h[b].childNodes;d=e=0;for(f=i.length;d<f;d++)if(i
2521
+ [d].nodeName.toUpperCase()=="TD"){k[e]=j.trim(i[d].innerHTML);e++}}}h=S(a);i=[];
2522
+ b=0;for(c=h.length;b<c;b++){d=0;for(f=h[b].childNodes.length;d<f;d++){e=h[b].
2523
+ childNodes[d];e.nodeName.toUpperCase()==
2524
+ "TD"&&i.push(e)}}i.length!=h.length*a.aoColumns.length&&J(a,1,"Unexpected number
2525
+ of TD elements. Expected "+h.length*a.aoColumns.length+" and got "+i.length+".
2526
+ DataTables does not support rowspan / colspan in the table body, and there must
2527
+ be one cell for each row/column
2528
+ combination.");h=0;for(d=a.aoColumns.length;h<d;h++){if(a.aoColumns[h].sTitle===
2529
+ null)a.aoColumns[h].sTitle=a.aoColumns[h].nTh.innerHTML;f=a.aoColumns[h].
2530
+ _bAutoType;e=typeof
2531
+ a.aoColumns[h].fnRender=="function";k=a.aoColumns[h].sClass!== null;var
2532
+ o=a.aoColumns[h].bVisible,t,s;if(f||e||k||!o){b=0;for(c=a.aoData.length;b<c;b++)
2533
+ {t=i[b*d+h];if(f)if(a.aoColumns[h].sType!="string"){s=Z(a.aoData[b]._aData[h]);
2534
+ if(a.aoColumns[h].sType===null)a.aoColumns[h].sType=s;else
2535
+ if(a.aoColumns[h].sType!=s)a.aoColumns[h].sType="string"}if(e){s=a.aoColumns[h].
2536
+ fnRender({iDataRow:b,iDataColumn:h,aData:a.aoData[b]._aData,oSettings:a});t.
2537
+ innerHTML=s;if(a.aoColumns[h].bUseRendered)a.aoData[b]._aData[h]=s}if(k)t.
2538
+ className+=" "+a.aoColumns[h].sClass;if(!o){a.aoData[b]._anHidden[h]=
2539
+ t;t.parentNode.removeChild(t)}}}}}function z(a){var
2540
+ b,c,d,f=0;if(a.nTHead.getElementsByTagName("th").length!==0){b=0;for(d=a.
2541
+ aoColumns.length;b<d;b++){c=a.aoColumns[b].nTh;if(a.aoColumns[b].bVisible){if(a.
2542
+ aoColumns[b].sWidth!==null)c.style.width=a.aoColumns[b].sWidth;if(a.aoColumns[b]
2543
+ .sTitle!=c.innerHTML)c.innerHTML=a.aoColumns[b].sTitle}else{c.parentNode.
2544
+ removeChild(c);f++}}}else{f=p.createElement("tr");b=0;for(d=a.aoColumns.length;b
2545
+ <d;b++){c=a.aoColumns[b].nTh;c.innerHTML=a.aoColumns[b].sTitle;
2546
+ if(a.aoColumns[b].bVisible){if(a.aoColumns[b].sClass!==null)c.className=a.
2547
+ aoColumns[b].sClass;if(a.aoColumns[b].sWidth!==null)c.style.width=a.aoColumns[b]
2548
+ .sWidth;f.appendChild(c)}}j(a.nTHead).html("")[0].appendChild(f)}if(a.bJUI){b=0;
2549
+ for(d=a.aoColumns.length;b<d;b++)a.aoColumns[b].nTh.insertBefore(p.createElement
2550
+ ("span"),a.aoColumns[b].nTh.firstChild)}if(a.oFeatures.bSort){for(b=0;b<a.
2551
+ aoColumns.length;b++)a.aoColumns[b].bSortable!==false?$(a,a.aoColumns[b].nTh,b):
2552
+ j(a.aoColumns[b].nTh).addClass(a.oClasses.sSortableNone);
2553
+ j("th",a.nTHead).mousedown(function(){this.onselectstart=function(){return
2554
+ false};return
2555
+ false})}if(a.nTFoot!==null){f=0;c=a.nTFoot.getElementsByTagName("th");b=0;for(d=
2556
+ c.length;b<d;b++)if(typeof
2557
+ a.aoColumns[b]!="undefined"){a.aoColumns[b].nTf=c[b-f];if(a.oClasses.sFooterTH!=
2558
+ ="")a.aoColumns[b].nTf.className+="
2559
+ "+a.oClasses.sFooterTH;if(!a.aoColumns[b].bVisible){c[b-f].parentNode.
2560
+ removeChild(c[b-f]);f++}}}}function D(a){var
2561
+ b,c,d=[],f=0,e=false;b=a.asStripClasses.length;c=a.aoOpenRows.length;if(typeof
2562
+ a.iInitDisplayStart!=
2563
+ "undefined"&&a.iInitDisplayStart!=-1){a._iDisplayStart=a.oFeatures.bServerSide?a
2564
+ .iInitDisplayStart:a.iInitDisplayStart>=a.fnRecordsDisplay()?0:a.
2565
+ iInitDisplayStart;a.iInitDisplayStart=-1;F(a)}if(!(a.oFeatures.bServerSide&&!oa(
2566
+ a))){if(a.aiDisplay.length!==0){var
2567
+ i=a._iDisplayStart,h=a._iDisplayEnd;if(a.oFeatures.bServerSide){i=0;h=a.aoData.
2568
+ length}for(i=i;i<h;i++){var k=a.aoData[a.aiDisplay[i]],o=k.nTr;if(b!==0){var
2569
+ t=a.asStripClasses[f%b];if(k._sRowStripe!=t){j(o).removeClass(k._sRowStripe).
2570
+ addClass(t); k._sRowStripe=t}}if(typeof
2571
+ a.fnRowCallback=="function"){o=a.fnRowCallback.call(a.oInstance,o,a.aoData[a.
2572
+ aiDisplay[i]]._aData,f,i);if(!o&&!e){J(a,0,"A node was not returned by
2573
+ fnRowCallback");e=true}}d.push(o);f++;if(c!==0)for(k=0;k<c;k++)o==a.aoOpenRows[k
2574
+ ].nParent&&d.push(a.aoOpenRows[k].nTr)}}else{d[0]=p.createElement("tr");if(
2575
+ typeof
2576
+ a.asStripClasses[0]!="undefined")d[0].className=a.asStripClasses[0];e=p.
2577
+ createElement("td");e.setAttribute("valign","top");e.colSpan=T(a);e.className=a.
2578
+ oClasses.sRowEmpty; e.innerHTML=typeof
2579
+ a.oLanguage.sEmptyTable!="undefined"&&a.fnRecordsTotal()===0?a.oLanguage.
2580
+ sEmptyTable:a.oLanguage.sZeroRecords.replace("_MAX_",a.fnFormatNumber(a.
2581
+ fnRecordsTotal()));d[f].appendChild(e)}typeof
2582
+ a.fnHeaderCallback=="function"&&a.fnHeaderCallback.call(a.oInstance,j(">tr",a.
2583
+ nTHead)[0],V(a),a._iDisplayStart,a.fnDisplayEnd(),a.aiDisplay);typeof
2584
+ a.fnFooterCallback=="function"&&a.fnFooterCallback.call(a.oInstance,j(">tr",a.
2585
+ nTFoot)[0],V(a),a._iDisplayStart,a.fnDisplayEnd(),a.aiDisplay);f=
2586
+ p.createDocumentFragment();b=p.createDocumentFragment();if(a.nTBody){e=a.nTBody.
2587
+ parentNode;b.appendChild(a.nTBody);c=a.nTBody.childNodes;for(b=c.length-1;b>=0;b
2588
+ --)c[b].parentNode.removeChild(c[b]);b=0;for(c=d.length;b<c;b++)f.appendChild(d[
2589
+ b]);a.nTBody.appendChild(f);e!==null&&e.appendChild(a.nTBody)}if(typeof
2590
+ a._bInitComplete=="undefined"){a._bInitComplete=true;a.nTableWrapper!=a.nTable.
2591
+ parentNode&&j(a.nTableWrapper).width()>j(a.nTable.parentNode).width()&&U(a)}b=0;
2592
+ for(c=a.aoDrawCallback.length;b<
2593
+ c;b++)a.aoDrawCallback[b].fn.call(a.oInstance,a);a.bSorted=false;a.bFiltered=
2594
+ false}}function L(a){if(a.oFeatures.bSort)O(a,a.oPreviousSearch);else
2595
+ if(a.oFeatures.bFilter)P(a,a.oPreviousSearch);else{F(a);D(a)}}function
2596
+ oa(a){if(a.bAjaxDataGet){K(a,true);var
2597
+ b=a.aoColumns.length,c=[],d;a.iDraw++;c.push({name:"sEcho",value:a.iDraw});c.
2598
+ push({name:"iColumns",value:b});c.push({name:"sColumns",value:aa(a)});c.push({
2599
+ name:"iDisplayStart",value:a._iDisplayStart});c.push({name:"iDisplayLength",
2600
+ value:a.oFeatures.bPaginate!==
2601
+ false?a._iDisplayLength:-1});if(a.oFeatures.bFilter!==false){c.push({name:
2602
+ "sSearch",value:a.oPreviousSearch.sSearch});c.push({name:"bRegex",value:a.
2603
+ oPreviousSearch.bRegex});for(d=0;d<b;d++){c.push({name:"sSearch_"+d,value:a.
2604
+ aoPreSearchCols[d].sSearch});c.push({name:"bRegex_"+d,value:a.aoPreSearchCols[d]
2605
+ .bRegex});c.push({name:"bSearchable_"+d,value:a.aoColumns[d].bSearchable})}}if(a
2606
+ .oFeatures.bSort!==false){var
2607
+ f=a.aaSortingFixed!==null?a.aaSortingFixed.length:0,e=a.aaSorting.length;c.push(
2608
+ {name:"iSortingCols",
2609
+ value:f+e});for(d=0;d<f;d++){c.push({name:"iSortCol_"+d,value:a.aaSortingFixed[d
2610
+ ][0]});c.push({name:"sSortDir_"+d,value:a.aaSortingFixed[d][1]})}for(d=0;d<e;d++
2611
+ ){c.push({name:"iSortCol_"+(d+f),value:a.aaSorting[d][0]});c.push({name:
2612
+ "sSortDir_"+(d+f),value:a.aaSorting[d][1]})}for(d=0;d<b;d++)c.push({name:
2613
+ "bSortable_"+d,value:a.aoColumns[d].bSortable})}a.fnServerData.call(a.oInstance,
2614
+ a.sAjaxSource,c,function(i){pa(a,i)});return false}else return true}function
2615
+ pa(a,b){if(typeof b.sEcho!="undefined")if(b.sEcho* 1<a.iDraw)return;else
2616
+ a.iDraw=b.sEcho*1;ba(a);a._iRecordsTotal=b.iTotalRecords;a._iRecordsDisplay=b.
2617
+ iTotalDisplayRecords;var c=aa(a);if(c=typeof
2618
+ b.sColumns!="undefined"&&c!==""&&b.sColumns!=c)var d=qa(a,b.sColumns);for(var
2619
+ f=0,e=b.aaData.length;f<e;f++)if(c){for(var
2620
+ i=[],h=0,k=a.aoColumns.length;h<k;h++)i.push(b.aaData[f][d[h]]);w(a,i)}else
2621
+ w(a,b.aaData[f]);a.aiDisplay=a.aiDisplayMaster.slice();a.bAjaxDataGet=false;D(a)
2622
+ ;a.bAjaxDataGet=true;K(a,false)}function na(a){var
2623
+ b=p.createElement("div");a.nTable.parentNode.insertBefore(b,
2624
+ a.nTable);a.nTableWrapper=p.createElement("div");a.nTableWrapper.className=a.
2625
+ oClasses.sWrapper;a.sTableId!==""&&a.nTableWrapper.setAttribute("id",a.sTableId+
2626
+ "_wrapper");for(var
2627
+ c=a.nTableWrapper,d=a.sDom.split(""),f,e,i,h,k,o,t,s=0;s<d.length;s++){e=0;i=d[s
2628
+ ];if(i=="<"){h=p.createElement("div");k=d[s+1];if(k=="'"||k=='"'){o="";for(t=2;d
2629
+ [s+t]!=k;){o+=d[s+t];t++}if(o=="H")o="fg-toolbar ui-widget-header ui-corner-tl
2630
+ ui-corner-tr ui-helper-clearfix";else if(o=="F")o="fg-toolbar ui-widget-header
2631
+ ui-corner-bl ui-corner-br ui-helper-clearfix";
2632
+ h.className=o;s+=t}c.appendChild(h);c=h}else if(i==">")c=c.parentNode;else
2633
+ if(i=="l"&&a.oFeatures.bPaginate&&a.oFeatures.bLengthChange){f=ra(a);e=1}else
2634
+ if(i=="f"&&a.oFeatures.bFilter){f=sa(a);e=1}else
2635
+ if(i=="r"&&a.oFeatures.bProcessing){f=ta(a);e=1}else if(i=="t"){f=ua(a);e=1}else
2636
+ if(i=="i"&&a.oFeatures.bInfo){f=va(a);e=1}else
2637
+ if(i=="p"&&a.oFeatures.bPaginate){f=wa(a);e=1}else
2638
+ if(m.aoFeatures.length!==0){h=m.aoFeatures;k=0;for(o=h.length;k<o;k++)if(i==h[k]
2639
+ .cFeature){if(f=h[k].fnInit(a))e=1;break}}if(e== 1){if(typeof
2640
+ a.aanFeatures[i]!="object")a.aanFeatures[i]=[];a.aanFeatures[i].push(f);c.
2641
+ appendChild(f)}}b.parentNode.replaceChild(a.nTableWrapper,b)}function
2642
+ ua(a){if(a.oScroll.sX===""&&a.oScroll.sY==="")return a.nTable;var
2643
+ b=p.createElement("div"),c=p.createElement("div"),d=p.createElement("div"),f=p.
2644
+ createElement("div"),e=p.createElement("div"),i=p.createElement("div"),h=a.
2645
+ nTable.cloneNode(false),k=a.nTable.cloneNode(false),o=a.nTable.
2646
+ getElementsByTagName("thead")[0],t=a.nTable.getElementsByTagName("tfoot").length
2647
+ === 0?null:a.nTable.getElementsByTagName("tfoot")[0],s=typeof
2648
+ g.bJQueryUI!="undefined"&&g.bJQueryUI?m.oJUIClasses:m.oStdClasses;c.appendChild(
2649
+ d);e.appendChild(i);f.appendChild(a.nTable);b.appendChild(c);b.appendChild(f);d.
2650
+ appendChild(h);h.appendChild(o);if(t!==null){b.appendChild(e);i.appendChild(k);k
2651
+ .appendChild(t)}b.className=s.sScrollWrapper;c.className=s.sScrollHead;d.
2652
+ className=s.sScrollHeadInner;f.className=s.sScrollBody;e.className=s.sScrollFoot
2653
+ ;i.className=s.sScrollFootInner;c.style.overflow="hidden";
2654
+ e.style.overflow="hidden";f.style.overflow="auto";c.style.border="0";e.style.
2655
+ border="0";d.style.width="150%";h.removeAttribute("id");h.style.marginLeft="0";a
2656
+ .nTable.style.marginLeft="0";if(t!==null){k.removeAttribute("id");k.style.
2657
+ marginLeft="0"}d=j(">caption",a.nTable);i=0;for(k=d.length;i<k;i++)h.appendChild
2658
+ (d[i]);if(a.oScroll.sX!==""){c.style.width=v(a.oScroll.sX);f.style.width=v(a.
2659
+ oScroll.sX);if(t!==null)e.style.width=v(a.oScroll.sX);j(f).scroll(function(){c.
2660
+ scrollLeft=this.scrollLeft;if(t!==
2661
+ null)e.scrollLeft=this.scrollLeft})}if(a.oScroll.sY!=="")f.style.height=v(a.
2662
+ oScroll.sY);a.aoDrawCallback.push({fn:xa,sName:"scrolling"});a.nScrollHead=c;a.
2663
+ nScrollFoot=e;return b}function xa(a){var
2664
+ b=a.nScrollHead.getElementsByTagName("div")[0],c=b.getElementsByTagName("table")
2665
+ [0],d=a.nTable.parentNode,f,e,i,h,k,o,t,s,H=[];i=a.nTable.getElementsByTagName(
2666
+ "thead");i.length>0&&a.nTable.removeChild(i[0]);if(a.nTFoot!==null){k=a.nTable.
2667
+ getElementsByTagName("tfoot");k.length>0&&a.nTable.removeChild(k[0])}i=
2668
+ a.nTHead.cloneNode(true);a.nTable.insertBefore(i,a.nTable.childNodes[0]);if(a.
2669
+ nTFoot!==null){k=a.nTFoot.cloneNode(true);a.nTable.insertBefore(k,a.nTable.
2670
+ childNodes[1])}var
2671
+ I=ca(i);f=0;for(e=I.length;f<e;f++){t=da(a,f);I[f].style.width=a.aoColumns[t].
2672
+ sWidth}a.nTFoot!==null&&M(function(A){A.style.width=""},k.getElementsByTagName(
2673
+ "tr"));f=j(a.nTable).outerWidth();if(a.oScroll.sX===""){a.nTable.style.width=
2674
+ "100%";if(j.browser.msie&&j.browser.version<=7)a.nTable.style.width=v(j(a.nTable
2675
+ ).outerWidth()- a.oScroll.iBarWidth)}else
2676
+ if(a.oScroll.sXInner!=="")a.nTable.style.width=v(a.oScroll.sXInner);else
2677
+ if(f==j(d).width()&&j(d).height()<j(a.nTable).height()){a.nTable.style.width=v(f
2678
+ -a.oScroll.iBarWidth);if(j(a.nTable).outerWidth()>f-a.oScroll.iBarWidth)a.nTable
2679
+ .style.width=v(f)}else
2680
+ a.nTable.style.width=v(f);f=j(a.nTable).outerWidth();e=a.nTHead.
2681
+ getElementsByTagName("tr");i=i.getElementsByTagName("tr");M(function(A,G){o=A.
2682
+ style;o.paddingTop="0";o.paddingBottom="0";o.borderTopWidth="0";o.
2683
+ borderBottomWidth=
2684
+ "0";o.height=0;s=j(A).width();G.style.width=v(s);H.push(s)},i,e);if(a.nTFoot!==
2685
+ null){h=k.getElementsByTagName("tr");k=a.nTFoot.getElementsByTagName("tr");M(
2686
+ function(A,G){o=A.style;o.paddingTop="0";o.paddingBottom="0";o.borderTopWidth=
2687
+ "0";o.borderBottomWidth="0";s=j(A).width();G.style.width=v(s);H.push(s)},h,k)}M(
2688
+ function(A){A.innerHTML="";A.style.width=v(H.shift())},i);a.nTFoot!==null&&M(
2689
+ function(A){A.innerHTML="";A.style.width=v(H.shift())},h);if(j(a.nTable).
2690
+ outerWidth()<f)if(a.oScroll.sX==="")J(a, 1,"The table cannot fit into the
2691
+ current element which will cause column misalignment. It is suggested that you
2692
+ enable x-scrolling or increase the width the table has in which to be
2693
+ drawn");else a.oScroll.sXInner!==""&&J(a,1,"The table cannot fit into the
2694
+ current element which will cause column misalignment. It is suggested that you
2695
+ increase the sScrollXInner property to allow it to draw in a larger area, or
2696
+ simply remove that parameter to allow automatic
2697
+ calculation");if(a.oScroll.sY==="")if(j.browser.msie&&
2698
+ j.browser.version<=7)d.style.height=v(a.nTable.offsetHeight+a.oScroll.iBarWidth)
2699
+ ;if(a.oScroll.sY!==""&&a.oScroll.bCollapse){d.style.height=v(a.oScroll.sY);h=a.
2700
+ oScroll.sX!==""&&a.nTable.offsetWidth>d.offsetWidth?a.oScroll.iBarWidth:0;if(a.
2701
+ nTable.offsetHeight<d.offsetHeight)d.style.height=v(j(a.nTable).height()+h)}c.
2702
+ style.width=v(j(a.nTable).outerWidth());b.style.width=v(j(a.nTable).outerWidth()
2703
+ +a.oScroll.iBarWidth);if(a.nTFoot!==null){b=a.nScrollFoot.getElementsByTagName(
2704
+ "div")[0];c=b.getElementsByTagName("table")[0];
2705
+ b.style.width=v(a.nTable.offsetWidth+a.oScroll.iBarWidth);c.style.width=v(a.
2706
+ nTable.offsetWidth)}}function U(a){if(a.oFeatures.bAutoWidth===false)return
2707
+ false;ea(a);for(var
2708
+ b=0,c=a.aoColumns.length;b<c;b++)a.aoColumns[b].nTh.style.width=a.aoColumns[b].
2709
+ sWidth}function sa(a){var b=p.createElement("div");a.sTableId!==""&&typeof
2710
+ a.aanFeatures.f=="undefined"&&b.setAttribute("id",a.sTableId+"_filter");b.
2711
+ className=a.oClasses.sFilter;b.innerHTML=a.oLanguage.sSearch+(a.oLanguage.
2712
+ sSearch===""?"":" ")+'<input type="text" />'; var
2713
+ c=j("input",b);c.val(a.oPreviousSearch.sSearch.replace('"',"&quot;"));c.keyup(
2714
+ function(){for(var
2715
+ d=a.aanFeatures.f,f=0,e=d.length;f<e;f++)d[f]!=this.parentNode&&j("input",d[f]).
2716
+ val(this.value);P(a,{sSearch:this.value,bRegex:a.oPreviousSearch.bRegex,bSmart:a
2717
+ .oPreviousSearch.bSmart})});c.keypress(function(d){if(d.keyCode==13)return
2718
+ false});return b}function
2719
+ P(a,b,c){ya(a,b.sSearch,c,b.bRegex,b.bSmart);for(b=0;b<a.aoPreSearchCols.length;
2720
+ b++)za(a,a.aoPreSearchCols[b].sSearch,b,a.aoPreSearchCols[b].bRegex,
2721
+ a.aoPreSearchCols[b].bSmart);m.afnFiltering.length!==0&&Aa(a);a.bFiltered=true;a
2722
+ ._iDisplayStart=0;F(a);D(a);Q(a,0)}function Aa(a){for(var
2723
+ b=m.afnFiltering,c=0,d=b.length;c<d;c++)for(var
2724
+ f=0,e=0,i=a.aiDisplay.length;e<i;e++){var
2725
+ h=a.aiDisplay[e-f];if(!b[c](a,a.aoData[h]._aData,h)){a.aiDisplay.splice(e-f,1);f
2726
+ ++}}}function za(a,b,c,d,f){if(b!==""){var
2727
+ e=0;b=fa(b,d,f);for(d=a.aiDisplay.length-1;d>=0;d--){f=ga(a.aoData[a.aiDisplay[d
2728
+ ]]._aData[c],a.aoColumns[c].sType);if(!b.test(f)){a.aiDisplay.splice(d,
2729
+ 1);e++}}}}function ya(a,b,c,d,f){var e=fa(b,d,f);if(typeof
2730
+ c=="undefined"||c===null)c=0;if(m.afnFiltering.length!==0)c=1;if(b.length<=0){a.
2731
+ aiDisplay.splice(0,a.aiDisplay.length);a.aiDisplay=a.aiDisplayMaster.slice()}
2732
+ else
2733
+ if(a.aiDisplay.length==a.aiDisplayMaster.length||a.oPreviousSearch.sSearch.
2734
+ length>b.length||c==1||b.indexOf(a.oPreviousSearch.sSearch)!==0){a.aiDisplay.
2735
+ splice(0,a.aiDisplay.length);Q(a,1);for(c=0;c<a.aiDisplayMaster.length;c++)e.
2736
+ test(a.asDataSearch[c])&&a.aiDisplay.push(a.aiDisplayMaster[c])}else{var i=
2737
+ 0;for(c=0;c<a.asDataSearch.length;c++)if(!e.test(a.asDataSearch[c])){a.aiDisplay
2738
+ .splice(c-i,1);i++}}a.oPreviousSearch.sSearch=b;a.oPreviousSearch.bRegex=d;a.
2739
+ oPreviousSearch.bSmart=f}function
2740
+ Q(a,b){a.asDataSearch.splice(0,a.asDataSearch.length);var
2741
+ c=p.createElement("div");b=typeof
2742
+ b!="undefined"&&b==1?a.aiDisplayMaster:a.aiDisplay;for(var
2743
+ d=0,f=b.length;d<f;d++){a.asDataSearch[d]="";for(var
2744
+ e=0,i=a.aoColumns.length;e<i;e++)if(a.aoColumns[e].bSearchable)a.asDataSearch[d]
2745
+ +=ga(a.aoData[b[d]]._aData[e], a.aoColumns[e].sType)+"
2746
+ ";if(a.asDataSearch[d].indexOf("&")!==-1){c.innerHTML=a.asDataSearch[d];a.
2747
+ asDataSearch[d]=c.textContent?c.textContent:c.innerText}}}function
2748
+ fa(a,b,c){if(c){a=b?a.split(" "):ha(a).split("
2749
+ ");a="^(?=.*?"+a.join(")(?=.*?")+").*$";return new
2750
+ RegExp(a,"i")}else{a=b?a:ha(a);return new RegExp(a,"i")}}function
2751
+ ga(a,b){if(typeof m.ofnSearch[b]=="function")return m.ofnSearch[b](a);else
2752
+ if(b=="html")return a.replace(/\n/g," ").replace(/<.*?>/g,"");else if(typeof
2753
+ a=="string")return a.replace(/\n/g, " ");return a}function O(a,b){var
2754
+ c=[],d=m.oSort,f=a.aoData,e,i,h,k;if(!a.oFeatures.bServerSide&&(a.aaSorting.
2755
+ length!==0||a.aaSortingFixed!==null)){c=a.aaSortingFixed!==null?a.aaSortingFixed
2756
+ .concat(a.aaSorting):a.aaSorting.slice();for(h=0;h<c.length;h++){e=c[h][0];i=N(a
2757
+ ,e);k=a.aoColumns[e].sSortDataType;if(typeof m.afnSortData[k]!="undefined"){var
2758
+ o=m.afnSortData[k](a,e,i);i=0;for(k=f.length;i<k;i++)f[i]._aData[e]=o[i]}}if(Y.
2759
+ runtime){var t=[],s=c.length;for(h=0;h<s;h++){e=a.aoColumns[c[h][0]].iDataSort;
2760
+ t.push([e,a.aoColumns[e].sType+"-"+c[h][1]])}a.aiDisplayMaster.sort(function(H,I
2761
+ ){for(var
2762
+ A,G=0;G<s;G++){A=d[t[G][1]](f[H]._aData[t[G][0]],f[I]._aData[t[G][0]]);if(A!==0)
2763
+ return A}return
2764
+ 0})}else{this.ClosureDataTables={fn:function(){},data:f,sort:m.oSort};k="this.
2765
+ ClosureDataTables.fn = function(a,b){var iTest,
2766
+ oSort=this.ClosureDataTables.sort,
2767
+ aoData=this.ClosureDataTables.data;";for(h=0;h<c.length-1;h++){e=a.aoColumns[c[h
2768
+ ][0]].iDataSort;i=a.aoColumns[e].sType;k+="iTest = oSort['"+i+"-"+c[h][1]+ "'](
2769
+ aoData[a]._aData["+e+"], aoData[b]._aData["+e+"] ); if ( iTest === 0
2770
+ )"}if(c.length>0){e=a.aoColumns[c[c.length-1][0]].iDataSort;i=a.aoColumns[e].
2771
+ sType;k+="iTest = oSort['"+i+"-"+c[c.length-1][1]+"']( aoData[a]._aData["+e+"],
2772
+ aoData[b]._aData["+e+"] );if (iTest===0) return
2773
+ oSort['numeric-"+c[c.length-1][1]+"'](a, b); return
2774
+ iTest;}";eval(k);a.aiDisplayMaster.sort(this.ClosureDataTables.fn)}this.
2775
+ ClosureDataTables=undefined}}if(typeof
2776
+ b=="undefined"||b)W(a);a.bSorted=true;if(a.oFeatures.bFilter)P(a,
2777
+ a.oPreviousSearch,1);else{a.aiDisplay=a.aiDisplayMaster.slice();a._iDisplayStart
2778
+ =0;F(a);D(a)}}function
2779
+ $(a,b,c,d){j(b).click(function(f){if(a.aoColumns[c].bSortable!==false){var
2780
+ e=function(){var i,h;if(f.shiftKey){for(var
2781
+ k=false,o=0;o<a.aaSorting.length;o++)if(a.aaSorting[o][0]==c){k=true;i=a.
2782
+ aaSorting[o][0];h=a.aaSorting[o][2]+1;if(typeof
2783
+ a.aoColumns[i].asSorting[h]=="undefined")a.aaSorting.splice(o,1);else{a.
2784
+ aaSorting[o][1]=a.aoColumns[i].asSorting[h];a.aaSorting[o][2]=h}break}k===false&
2785
+ &a.aaSorting.push([c, a.aoColumns[c].asSorting[0],0])}else
2786
+ if(a.aaSorting.length==1&&a.aaSorting[0][0]==c){i=a.aaSorting[0][0];h=a.
2787
+ aaSorting[0][2]+1;if(typeof
2788
+ a.aoColumns[i].asSorting[h]=="undefined")h=0;a.aaSorting[0][1]=a.aoColumns[i].
2789
+ asSorting[h];a.aaSorting[0][2]=h}else{a.aaSorting.splice(0,a.aaSorting.length);a
2790
+ .aaSorting.push([c,a.aoColumns[c].asSorting[0],0])}O(a)};if(a.oFeatures.
2791
+ bProcessing){K(a,true);setTimeout(function(){e();a.oFeatures.bServerSide||K(a,
2792
+ false)},0)}else e();typeof d=="function"&&d(a)}})}function W(a){var b,
2793
+ c,d,f,e,i=a.aoColumns.length,h=a.oClasses;for(b=0;b<i;b++)a.aoColumns[b].
2794
+ bSortable&&j(a.aoColumns[b].nTh).removeClass(h.sSortAsc+" "+h.sSortDesc+"
2795
+ "+a.aoColumns[b].sSortingClass);f=a.aaSortingFixed!==null?a.aaSortingFixed.
2796
+ concat(a.aaSorting):a.aaSorting.slice();for(b=0;b<a.aoColumns.length;b++)if(a.
2797
+ aoColumns[b].bSortable){e=a.aoColumns[b].sSortingClass;d=-1;for(c=0;c<f.length;c
2798
+ ++)if(f[c][0]==b){e=f[c][1]=="asc"?h.sSortAsc:h.sSortDesc;d=c;break}j(a.
2799
+ aoColumns[b].nTh).addClass(e);if(a.bJUI){c=j("span",
2800
+ a.aoColumns[b].nTh);c.removeClass(h.sSortJUIAsc+" "+h.sSortJUIDesc+"
2801
+ "+h.sSortJUI+" "+h.sSortJUIAscAllowed+"
2802
+ "+h.sSortJUIDescAllowed);c.addClass(d==-1?a.aoColumns[b].sSortingClassJUI:f[d][1
2803
+ ]=="asc"?h.sSortJUIAsc:h.sSortJUIDesc)}}else
2804
+ j(a.aoColumns[b].nTh).addClass(a.aoColumns[b].sSortingClass);e=h.sSortColumn;if(
2805
+ a.oFeatures.bSort&&a.oFeatures.bSortClasses){d=X(a);if(d.length>=i)for(b=0;b<i;b
2806
+ ++)if(d[b].className.indexOf(e+"1")!=-1){c=0;for(a=d.length/i;c<a;c++)d[i*c+b].
2807
+ className=d[i*c+b].className.replace(" "+ e+"1","")}else
2808
+ if(d[b].className.indexOf(e+"2")!=-1){c=0;for(a=d.length/i;c<a;c++)d[i*c+b].
2809
+ className=d[i*c+b].className.replace(" "+e+"2","")}else
2810
+ if(d[b].className.indexOf(e+"3")!=-1){c=0;for(a=d.length/i;c<a;c++)d[i*c+b].
2811
+ className=d[i*c+b].className.replace(" "+e+"3","")}h=1;var
2812
+ k;for(b=0;b<f.length;b++){k=parseInt(f[b][0],10);c=0;for(a=d.length/i;c<a;c++)d[
2813
+ i*c+k].className+=" "+e+h;h<3&&h++}}}function wa(a){var
2814
+ b=p.createElement("div");b.className=a.oClasses.sPaging+a.sPaginationType;m.
2815
+ oPagination[a.sPaginationType].fnInit(a, b,function(c){F(c);D(c)});typeof
2816
+ a.aanFeatures.p=="undefined"&&a.aoDrawCallback.push({fn:function(c){m.
2817
+ oPagination[c.sPaginationType].fnUpdate(c,function(d){F(d);D(d)})},sName:
2818
+ "pagination"});return b}function Ba(a,b){var
2819
+ c=a._iDisplayStart;if(b=="first")a._iDisplayStart=0;else
2820
+ if(b=="previous"){a._iDisplayStart=a._iDisplayLength>=0?a._iDisplayStart-a.
2821
+ _iDisplayLength:0;if(a._iDisplayStart<0)a._iDisplayStart=0}else
2822
+ if(b=="next")if(a._iDisplayLength>=0){if(a._iDisplayStart+a._iDisplayLength<a.
2823
+ fnRecordsDisplay())a._iDisplayStart+= a._iDisplayLength}else
2824
+ a._iDisplayStart=0;else
2825
+ if(b=="last")if(a._iDisplayLength>=0){b=parseInt((a.fnRecordsDisplay()-1)/a.
2826
+ _iDisplayLength,10)+1;a._iDisplayStart=(b-1)*a._iDisplayLength}else
2827
+ a._iDisplayStart=0;else J(a,0,"Unknown paging action: "+b);return
2828
+ c!=a._iDisplayStart}function va(a){var
2829
+ b=p.createElement("div");b.className=a.oClasses.sInfo;if(typeof
2830
+ a.aanFeatures.i=="undefined"){a.aoDrawCallback.push({fn:Ca,sName:"information"})
2831
+ ;a.sTableId!==""&&b.setAttribute("id",a.sTableId+"_info")}return b} function
2832
+ Ca(a){if(!(!a.oFeatures.bInfo||a.aanFeatures.i.length===0)){var
2833
+ b=j(a.aanFeatures.i[0]),c=a.fnFormatNumber(a.fnRecordsTotal()),d=a.
2834
+ fnFormatNumber(a._iDisplayStart+1),f=a.fnFormatNumber(a.fnDisplayEnd()),e=a.
2835
+ fnFormatNumber(a.fnRecordsDisplay());if(a.fnRecordsDisplay()===0&&a.
2836
+ fnRecordsDisplay()==a.fnRecordsTotal())b.html(a.oLanguage.sInfoEmpty+a.oLanguage
2837
+ .sInfoPostFix);else if(a.fnRecordsDisplay()===0)b.html(a.oLanguage.sInfoEmpty+"
2838
+ "+a.oLanguage.sInfoFiltered.replace("_MAX_",c)+a.oLanguage.sInfoPostFix); else
2839
+ a.fnRecordsDisplay()==a.fnRecordsTotal()?b.html(a.oLanguage.sInfo.replace(
2840
+ "_START_",d).replace("_END_",f).replace("_TOTAL_",e)+a.oLanguage.sInfoPostFix):b
2841
+ .html(a.oLanguage.sInfo.replace("_START_",d).replace("_END_",f).replace(
2842
+ "_TOTAL_",e)+"
2843
+ "+a.oLanguage.sInfoFiltered.replace("_MAX_",a.fnFormatNumber(a.fnRecordsTotal())
2844
+ )+a.oLanguage.sInfoPostFix);a=a.aanFeatures.i;if(a.length>1){b=b.html();c=1;for(
2845
+ d=a.length;c<d;c++)j(a[c]).html(b)}}}function ra(a){var b='<select size="1"
2846
+ '+(a.sTableId===""?
2847
+ "":'name="'+a.sTableId+'_length"')+">",c,d;if(a.aLengthMenu.length==2&&typeof
2848
+ a.aLengthMenu[0]=="object"&&typeof
2849
+ a.aLengthMenu[1]=="object"){c=0;for(d=a.aLengthMenu[0].length;c<d;c++)b+='<
2850
+ option
2851
+ value="'+a.aLengthMenu[0][c]+'">'+a.aLengthMenu[1][c]+"</option>"}else{c=0;for(d
2852
+ =a.aLengthMenu.length;c<d;c++)b+='<option
2853
+ value="'+a.aLengthMenu[c]+'">'+a.aLengthMenu[c]+"</option>"}b+="</select>";var
2854
+ f=p.createElement("div");a.sTableId!==""&&typeof
2855
+ a.aanFeatures.l=="undefined"&&f.setAttribute("id",a.sTableId+
2856
+ "_length");f.className=a.oClasses.sLength;f.innerHTML=a.oLanguage.sLengthMenu.
2857
+ replace("_MENU_",b);j('select
2858
+ option[value="'+a._iDisplayLength+'"]',f).attr("selected",true);j("select",f).
2859
+ change(function(){var
2860
+ e=j(this).val(),i=a.aanFeatures.l;c=0;for(d=i.length;c<d;c++)i[c]!=this.
2861
+ parentNode&&j("select",i[c]).val(e);a._iDisplayLength=parseInt(e,10);F(a);if(a.
2862
+ fnDisplayEnd()==a.fnRecordsDisplay()){a._iDisplayStart=a.fnDisplayEnd()-a.
2863
+ _iDisplayLength;if(a._iDisplayStart<0)a._iDisplayStart=0}if(a._iDisplayLength==
2864
+ -1)a._iDisplayStart=0;D(a)});return f}function ta(a){var
2865
+ b=p.createElement("div");a.sTableId!==""&&typeof
2866
+ a.aanFeatures.r=="undefined"&&b.setAttribute("id",a.sTableId+"_processing");b.
2867
+ innerHTML=a.oLanguage.sProcessing;b.className=a.oClasses.sProcessing;a.nTable.
2868
+ parentNode.insertBefore(b,a.nTable);return b}function
2869
+ K(a,b){if(a.oFeatures.bProcessing){a=a.aanFeatures.r;for(var
2870
+ c=0,d=a.length;c<d;c++)a[c].style.visibility=b?"visible":"hidden"}}function
2871
+ da(a,b){for(var c=-1,d=0;d<a.aoColumns.length;d++){a.aoColumns[d].bVisible===
2872
+ true&&c++;if(c==b)return d}return null}function N(a,b){for(var
2873
+ c=-1,d=0;d<a.aoColumns.length;d++){a.aoColumns[d].bVisible===true&&c++;if(d==b)
2874
+ return a.aoColumns[d].bVisible===true?c:null}return null}function R(a,b){var
2875
+ c,d;c=a._iDisplayStart;for(d=a._iDisplayEnd;c<d;c++)if(a.aoData[a.aiDisplay[c]].
2876
+ nTr==b)return
2877
+ a.aiDisplay[c];c=0;for(d=a.aoData.length;c<d;c++)if(a.aoData[c].nTr==b)return
2878
+ c;return null}function T(a){for(var
2879
+ b=0,c=0;c<a.aoColumns.length;c++)a.aoColumns[c].bVisible===true&&b++;return b}
2880
+ function
2881
+ F(a){a._iDisplayEnd=a.oFeatures.bPaginate===false?a.aiDisplay.length:a.
2882
+ _iDisplayStart+a._iDisplayLength>a.aiDisplay.length||a._iDisplayLength==-1?a.
2883
+ aiDisplay.length:a._iDisplayStart+a._iDisplayLength}function
2884
+ Da(a,b){if(!a||a===null||a==="")return 0;if(typeof
2885
+ b=="undefined")b=p.getElementsByTagName("body")[0];var
2886
+ c=p.createElement("div");c.style.width=a;b.appendChild(c);a=c.offsetWidth;b.
2887
+ removeChild(c);return a}function ea(a){var
2888
+ b=0,c,d=0,f=a.aoColumns.length,e,i=j("th",a.nTHead);for(e=
2889
+ 0;e<f;e++)if(a.aoColumns[e].bVisible){d++;if(a.aoColumns[e].sWidth!==null){c=Da(
2890
+ a.aoColumns[e].sWidthOrig,a.nTable.parentNode);if(c!==null)a.aoColumns[e].sWidth
2891
+ =v(c);b++}}if(f==i.length&&b===0&&d==f){ia(a,a.nTable);for(e=0;e<a.aoColumns.
2892
+ length;e++){c=j(i[e]).width();if(c!==null)a.aoColumns[e].sWidth=v(c)}}else{b=a.
2893
+ nTable.cloneNode(false);e=p.createElement("tbody");c=p.createElement("tr");b.
2894
+ removeAttribute("id");b.appendChild(a.nTHead.cloneNode(true));if(a.nTFoot!==null
2895
+ ){b.appendChild(a.nTFoot.cloneNode(true));
2896
+ M(function(h){h.style.width=""},b.getElementsByTagName("tr"))}b.appendChild(e);e
2897
+ .appendChild(c);e=j("thead th",b);if(e.length===0)e=j("tbody
2898
+ tr:eq(0)>td",b);e.each(function(h){this.style.width="";h=da(a,h);if(h!==null&&a.
2899
+ aoColumns[h].sWidthOrig!=="")this.style.width=a.aoColumns[h].sWidthOrig});for(e=
2900
+ 0;e<f;e++)if(a.aoColumns[e].bVisible){d=Ea(a,e);if(d!==null){d=d.cloneNode(true)
2901
+ ;c.appendChild(d)}}e=a.nTable.parentNode;e.appendChild(b);if(a.oScroll.sX!==""&&
2902
+ a.oScroll.sXInner!=="")b.style.width=v(a.oScroll.sXInner); else
2903
+ if(a.oScroll.sX!==""){b.style.width="";if(j(b).width()<e.offsetWidth)b.style.
2904
+ width=v(e.offsetWidth)}else
2905
+ b.style.width=v(e.offsetWidth);b.style.visibility="hidden";ia(a,b);f=j("tbody
2906
+ tr:eq(0)>td",b);if(f.length===0)f=j("thead
2907
+ tr:eq(0)>th",b);for(e=c=0;e<a.aoColumns.length;e++)if(a.aoColumns[e].bVisible){d
2908
+ =j(f[c]).width();if(d!==null&&d>0)a.aoColumns[e].sWidth=v(d);c++}a.nTable.style.
2909
+ width=v(j(b).outerWidth());b.parentNode.removeChild(b)}}function
2910
+ ia(a,b){if(a.oScroll.sX===""&&a.oScroll.sY!==
2911
+ ""){j(b).width();b.style.width=v(j(b).outerWidth()-a.oScroll.iBarWidth)}else
2912
+ if(a.oScroll.sX!=="")b.style.width=v(j(b).outerWidth())}function
2913
+ Ea(a,b,c){if(typeof c=="undefined"||c){c=Fa(a,b);b=N(a,b);if(c<0)return
2914
+ null;return a.aoData[c].nTr.getElementsByTagName("td")[b]}var d=-1,f,e;c=-1;var
2915
+ i=p.createElement("div");i.style.visibility="hidden";i.style.position="absolute"
2916
+ ;p.body.appendChild(i);f=0;for(e=a.aoData.length;f<e;f++){i.innerHTML=a.aoData[f
2917
+ ]._aData[b];if(i.offsetWidth>d){d=i.offsetWidth;
2918
+ c=f}}p.body.removeChild(i);if(c>=0){b=N(a,b);if(a=a.aoData[c].nTr.
2919
+ getElementsByTagName("td")[b])return a}return null}function Fa(a,b){for(var
2920
+ c=0,d=-1,f=0;f<a.aoData.length;f++){var
2921
+ e=a.aoData[f]._aData[b];if(e.length>c){c=e.length;d=f}}return d}function
2922
+ v(a){if(a===null)return"0px";if(typeof a=="number")return
2923
+ a+"px";if(a.indexOf("em")!=-1||a.indexOf("%")!=-1||a.indexOf("ex")!=-1||a.
2924
+ indexOf("px")!=-1)return a;return a+"px"}function
2925
+ La(a,b){if(a.length!=b.length)return 1;for(var c=0;c<a.length;c++)if(a[c]!=
2926
+ b[c])return 2;return 0}function Z(a){for(var
2927
+ b=m.aTypes,c=b.length,d=0;d<c;d++){var f=b[d](a);if(f!==null)return
2928
+ f}return"string"}function B(a){for(var
2929
+ b=0;b<E.length;b++)if(E[b].nTable==a)return E[b];return null}function
2930
+ V(a){for(var
2931
+ b=[],c=a.aoData.length,d=0;d<c;d++)b.push(a.aoData[d]._aData);return b}function
2932
+ S(a){for(var b=[],c=a.aoData.length,d=0;d<c;d++)b.push(a.aoData[d].nTr);return
2933
+ b}function X(a){var
2934
+ b=S(a),c=[],d,f=[],e,i,h,k;e=0;for(i=b.length;e<i;e++){c=[];h=0;for(k=b[e].
2935
+ childNodes.length;h<
2936
+ k;h++){d=b[e].childNodes[h];d.nodeName.toUpperCase()=="TD"&&c.push(d)}h=d=0;for(
2937
+ k=a.aoColumns.length;h<k;h++)if(a.aoColumns[h].bVisible)f.push(c[h-d]);else{f.
2938
+ push(a.aoData[e]._anHidden[h]);d++}}return f}function ha(a){return a.replace(new
2939
+ RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^)","g"),"\\
2940
+ $1")}function ja(a,b){for(var c=-1,d=0,f=a.length;d<f;d++)if(a[d]==b)c=d;else
2941
+ a[d]>b&&a[d]--;c!=-1&&a.splice(c,1)}function qa(a,b){b=b.split(",");for(var
2942
+ c=[],d=0,f=a.aoColumns.length;d< f;d++)for(var
2943
+ e=0;e<f;e++)if(a.aoColumns[d].sName==b[e]){c.push(e);break}return c}function
2944
+ aa(a){for(var
2945
+ b="",c=0,d=a.aoColumns.length;c<d;c++)b+=a.aoColumns[c].sName+",";if(b.length==d
2946
+ )return"";return b.slice(0,-1)}function J(a,b,c){a=a.sTableId===""?"DataTables
2947
+ warning: "+c:"DataTables warning (table id = '"+a.sTableId+"'):
2948
+ "+c;if(b===0)if(m.sErrMode=="alert")alert(a);else throw a;else typeof
2949
+ console!="undefined"&&typeof console.log!="undefined"&&console.log(a)}function
2950
+ ba(a){a.aoData.length=0;
2951
+ a.aiDisplayMaster.length=0;a.aiDisplay.length=0;F(a)}function
2952
+ Ga(a){if(a.oFeatures.bStateSave){var b,c="{";c+='"iCreate": '+(new
2953
+ Date).getTime()+",";c+='"iStart": '+a._iDisplayStart+",";c+='"iEnd":
2954
+ '+a._iDisplayEnd+",";c+='"iLength": '+a._iDisplayLength+",";c+='"sFilter":
2955
+ "'+a.oPreviousSearch.sSearch.replace('"','\\"')+'",';c+='"sFilterEsc":
2956
+ '+!a.oPreviousSearch.bRegex+",";c+='"aaSorting": [
2957
+ ';for(b=0;b<a.aaSorting.length;b++)c+="["+a.aaSorting[b][0]+",'"+a.aaSorting[b][
2958
+ 1]+"'],";c=c.substring(0,c.length- 1);c+="],";c+='"aaSearchCols": [
2959
+ ';for(b=0;b<a.aoPreSearchCols.length;b++)c+="['"+a.aoPreSearchCols[b].sSearch.
2960
+ replace("'","'")+"',"+!a.aoPreSearchCols[b].bRegex+"],";c=c.substring(0,c.length
2961
+ -1);c+="],";c+='"abVisCols": [
2962
+ ';for(b=0;b<a.aoColumns.length;b++)c+=a.aoColumns[b].bVisible+",";c=c.substring(
2963
+ 0,c.length-1);c+="]";c+="}";Ha(a.sCookiePrefix+a.sInstance,c,a.iCookieDuration,a
2964
+ .sCookiePrefix)}}function Ia(a,b){if(a.oFeatures.bStateSave){var
2965
+ c,d=ka(a.sCookiePrefix+a.sInstance);if(d!==null&&d!==""){try{c= typeof
2966
+ JSON=="object"&&typeof
2967
+ JSON.parse=="function"?JSON.parse(d.replace(/'/g,'"')):eval("("+d+")")}catch(f){
2968
+ return}a._iDisplayStart=c.iStart;a.iInitDisplayStart=c.iStart;a._iDisplayEnd=c.
2969
+ iEnd;a._iDisplayLength=c.iLength;a.oPreviousSearch.sSearch=c.sFilter;a.aaSorting
2970
+ =c.aaSorting.slice();a.saved_aaSorting=c.aaSorting.slice();if(typeof
2971
+ c.sFilterEsc!="undefined")a.oPreviousSearch.bRegex=!c.sFilterEsc;if(typeof
2972
+ c.aaSearchCols!="undefined")for(d=0;d<c.aaSearchCols.length;d++)a.
2973
+ aoPreSearchCols[d]={sSearch:c.aaSearchCols[d][0],
2974
+ bRegex:!c.aaSearchCols[d][1]};if(typeof
2975
+ c.abVisCols!="undefined"){b.saved_aoColumns=[];for(d=0;d<c.abVisCols.length;d++)
2976
+ {b.saved_aoColumns[d]={};b.saved_aoColumns[d].bVisible=c.abVisCols[d]}}}}}
2977
+ function Ha(a,b,c,d){var f=new
2978
+ Date;f.setTime(f.getTime()+c*1E3);c=Y.location.pathname.split("/");var
2979
+ e=a+"_"+c.pop().replace(/[\/:]/g,"").toLowerCase();b=e+"="+encodeURIComponent(b)
2980
+ +"; expires="+f.toGMTString()+"; path="+c.join("/")+"/";f="";a=9999999999999;var
2981
+ i;if((ka(e)!==null?p.cookie.length:b.length+
2982
+ p.cookie.length)+10>4096){e=p.cookie.split(";");for(var
2983
+ h=0,k=e.length;h<k;h++)if(e[h].indexOf(d)!=-1){var
2984
+ o=e[h].split("=");try{i=eval("("+decodeURIComponent(o[1])+")")}catch(t){continue
2985
+ }if(typeof
2986
+ i.iCreate!="undefined"&&i.iCreate<a){f=o[0];a=i.iCreate}}if(f!=="")p.cookie=f+"=
2987
+ ; expires=Thu, 01-Jan-1970 00:00:01 GMT;
2988
+ path="+c.join("/")+"/"}p.cookie=b}function ka(a){var
2989
+ b=Y.location.pathname.split("/");a=a+"_"+b[b.length-1].replace(/[\/:]/g,"").
2990
+ toLowerCase()+"=";b=p.cookie.split(";");for(var c=0;c< b.length;c++){for(var
2991
+ d=b[c];d.charAt(0)==" ";)d=d.substring(1,d.length);if(d.indexOf(a)===0)return
2992
+ decodeURIComponent(d.substring(a.length,d.length))}return null}function
2993
+ ca(a){a=a.getElementsByTagName("tr");if(a.length==1)return
2994
+ a[0].getElementsByTagName("th");var
2995
+ b=[],c=[],d,f,e,i,h,k,o=function(G,Ma,la){for(;typeof
2996
+ G[Ma][la]!="undefined";)la++;return la},t=function(G){if(typeof
2997
+ b[G]=="undefined")b[G]=[]};d=0;for(i=a.length;d<i;d++){t(d);var
2998
+ s=0,H=[];f=0;for(h=a[d].childNodes.length;f<h;f++)if(a[d].childNodes[f].nodeName
2999
+ .toUpperCase()==
3000
+ "TD"||a[d].childNodes[f].nodeName.toUpperCase()=="TH")H.push(a[d].childNodes[f])
3001
+ ;f=0;for(h=H.length;f<h;f++){var
3002
+ I=H[f].getAttribute("colspan")*1,A=H[f].getAttribute("rowspan")*1;if(!I||I===0||
3003
+ I===1){k=o(b,d,s);b[d][k]=H[f].nodeName.toUpperCase()=="TD"?4:H[f];if(A||A===0||
3004
+ A===1)for(e=1;e<A;e++){t(d+e);b[d+e][k]=2}s++}else{k=o(b,d,s);for(e=0;e<I;e++)b[
3005
+ d][k+e]=3;s+=I}}}d=0;for(i=b[0].length;d<i;d++){f=0;for(h=b.length;f<h;f++)
3006
+ typeof b[f][d]=="object"&&c.push(b[f][d])}return c}function Ja(){var
3007
+ a=p.createElement("p"), b=a.style;b.width="100%";b.height="200px";var
3008
+ c=p.createElement("div");b=c.style;b.position="absolute";b.top="0px";b.left=
3009
+ "0px";b.visibility="hidden";b.width="200px";b.height="150px";b.overflow="hidden"
3010
+ ;c.appendChild(a);p.body.appendChild(c);b=a.offsetWidth;c.style.overflow=
3011
+ "scroll";a=a.offsetWidth;if(b==a)a=c.clientWidth;p.body.removeChild(c);return
3012
+ b-a}function M(a,b,c){for(var d=0,f=b.length;d<f;d++)for(var
3013
+ e=0,i=b[d].childNodes.length;e<i;e++)if(b[d].childNodes[e].nodeType==1)typeof
3014
+ c!="undefined"?
3015
+ a(b[d].childNodes[e],c[d].childNodes[e]):a(b[d].childNodes[e])}function
3016
+ n(a,b,c,d){if(typeof d=="undefined")d=c;if(typeof
3017
+ b[c]!="undefined")a[d]=b[c]}this.oApi={};this.fnDraw=function(a){var
3018
+ b=B(this[m.iApiIndex]);if(typeof a!="undefined"&&a===false){F(b);D(b)}else
3019
+ L(b)};this.fnFilter=function(a,b,c,d,f){var
3020
+ e=B(this[m.iApiIndex]);if(e.oFeatures.bFilter){if(typeof
3021
+ c=="undefined")c=false;if(typeof d=="undefined")d=true;if(typeof
3022
+ f=="undefined")f=true;if(typeof b=="undefined"||b===null){P(e,{sSearch:a,
3023
+ bRegex:c,bSmart:d},1);if(f&&typeof
3024
+ e.aanFeatures.f!="undefined"){b=e.aanFeatures.f;c=0;for(d=b.length;c<d;c++)j(
3025
+ "input",b[c]).val(a)}}else{e.aoPreSearchCols[b].sSearch=a;e.aoPreSearchCols[b].
3026
+ bRegex=c;e.aoPreSearchCols[b].bSmart=d;P(e,e.oPreviousSearch,1)}}};this.
3027
+ fnSettings=function(){return
3028
+ B(this[m.iApiIndex])};this.fnVersionCheck=m.fnVersionCheck;this.fnSort=function(
3029
+ a){var
3030
+ b=B(this[m.iApiIndex]);b.aaSorting=a;O(b)};this.fnSortListener=function(a,b,c){$
3031
+ (B(this[m.iApiIndex]),a,b,c)};this.fnAddData=
3032
+ function(a,b){if(a.length===0)return[];var
3033
+ c=[],d,f=B(this[m.iApiIndex]);if(typeof a[0]=="object")for(var
3034
+ e=0;e<a.length;e++){d=w(f,a[e]);if(d==-1)return
3035
+ c;c.push(d)}else{d=w(f,a);if(d==-1)return
3036
+ c;c.push(d)}f.aiDisplay=f.aiDisplayMaster.slice();Q(f,1);if(typeof
3037
+ b=="undefined"||b)L(f);return c};this.fnDeleteRow=function(a,b,c){var
3038
+ d=B(this[m.iApiIndex]);a=typeof a=="object"?R(d,a):a;var
3039
+ f=d.aoData.splice(a,1);ja(d.aiDisplayMaster,a);ja(d.aiDisplay,a);Q(d,1);typeof
3040
+ b=="function"&&b.call(this,d,f);
3041
+ if(d._iDisplayStart>=d.aiDisplay.length){d._iDisplayStart-=d._iDisplayLength;if(
3042
+ d._iDisplayStart<0)d._iDisplayStart=0}if(typeof
3043
+ c=="undefined"||c){F(d);D(d)}return f};this.fnClearTable=function(a){var
3044
+ b=B(this[m.iApiIndex]);ba(b);if(typeof
3045
+ a=="undefined"||a)D(b)};this.fnOpen=function(a,b,c){var
3046
+ d=B(this[m.iApiIndex]);this.fnClose(a);var
3047
+ f=p.createElement("tr"),e=p.createElement("td");f.appendChild(e);e.className=c;e
3048
+ .colSpan=T(d);e.innerHTML=b;b=j("tr",d.nTBody);j.inArray(a,b)!=-1&&j(f).
3049
+ insertAfter(a); d.aoOpenRows.push({nTr:f,nParent:a});return
3050
+ f};this.fnClose=function(a){for(var
3051
+ b=B(this[m.iApiIndex]),c=0;c<b.aoOpenRows.length;c++)if(b.aoOpenRows[c].nParent=
3052
+ =a){(a=b.aoOpenRows[c].nTr.parentNode)&&a.removeChild(b.aoOpenRows[c].nTr);b.
3053
+ aoOpenRows.splice(c,1);return 0}return 1};this.fnGetData=function(a){var
3054
+ b=B(this[m.iApiIndex]);if(typeof a!="undefined"){a=typeof
3055
+ a=="object"?R(b,a):a;return b.aoData[a]._aData}return
3056
+ V(b)};this.fnGetNodes=function(a){var b=B(this[m.iApiIndex]);if(typeof
3057
+ a!="undefined")return b.aoData[a].nTr; return
3058
+ S(b)};this.fnGetPosition=function(a){var
3059
+ b=B(this[m.iApiIndex]);if(a.nodeName.toUpperCase()=="TR")return R(b,a);else
3060
+ if(a.nodeName.toUpperCase()=="TD")for(var
3061
+ c=R(b,a.parentNode),d=0,f=0;f<b.aoColumns.length;f++)if(b.aoColumns[f].bVisible)
3062
+ {if(b.aoData[c].nTr.getElementsByTagName("td")[f-d]==a)return[c,f-d,f]}else
3063
+ d++;return null};this.fnUpdate=function(a,b,c,d,f){var
3064
+ e=B(this[m.iApiIndex]),i=typeof b=="object"?R(e,b):b;if(typeof
3065
+ a!="object"){b=a;e.aoData[i]._aData[c]=b;if(e.aoColumns[c].fnRender!==
3066
+ null){b=e.aoColumns[c].fnRender({iDataRow:i,iDataColumn:c,aData:e.aoData[i].
3067
+ _aData,oSettings:e});if(e.aoColumns[c].bUseRendered)e.aoData[i]._aData[c]=b}c=N(
3068
+ e,c);if(c!==null)e.aoData[i].nTr.getElementsByTagName("td")[c].innerHTML=b}else{
3069
+ if(a.length!=e.aoColumns.length){J(e,0,"An array passed to fnUpdate must have
3070
+ the same number of columns as the table in question - in this case
3071
+ "+e.aoColumns.length);return 1}for(var
3072
+ h=0;h<a.length;h++){b=a[h];e.aoData[i]._aData[h]=b;if(e.aoColumns[h].fnRender!==
3073
+ null){b=
3074
+ e.aoColumns[h].fnRender({iDataRow:i,iDataColumn:h,aData:e.aoData[i]._aData,
3075
+ oSettings:e});if(e.aoColumns[h].bUseRendered)e.aoData[i]._aData[h]=b}c=N(e,h);if
3076
+ (c!==null)e.aoData[i].nTr.getElementsByTagName("td")[c].innerHTML=b}}if(typeof
3077
+ f=="undefined"||f){Q(e,1);U(e)}if(typeof d=="undefined"||d)L(e);return
3078
+ 0};this.fnSetColumnVis=function(a,b){var
3079
+ c=B(this[m.iApiIndex]),d,f;f=c.aoColumns.length;var
3080
+ e,i;if(c.aoColumns[a].bVisible!=b){e=j(">tr",c.nTHead)[0];var
3081
+ h=j(">tr",c.nTFoot)[0],k=[],o=[];for(d=0;d<
3082
+ f;d++){k.push(c.aoColumns[d].nTh);o.push(c.aoColumns[d].nTf)}if(b){for(d=b=0;d<a
3083
+ ;d++)c.aoColumns[d].bVisible&&b++;if(b>=T(c)){e.appendChild(k[a]);h&&h.
3084
+ appendChild(o[a]);d=0;for(f=c.aoData.length;d<f;d++){e=c.aoData[d]._anHidden[a];
3085
+ c.aoData[d].nTr.appendChild(e)}}else{for(d=a;d<f;d++){i=N(c,d);if(i!==null)break
3086
+ }e.insertBefore(k[a],e.getElementsByTagName("th")[i]);h&&h.insertBefore(o[a],h.
3087
+ getElementsByTagName("th")[i]);X(c);d=0;for(f=c.aoData.length;d<f;d++){e=c.
3088
+ aoData[d]._anHidden[a];c.aoData[d].nTr.insertBefore(e,
3089
+ j(">td:eq("+i+")",c.aoData[d].nTr)[0])}}c.aoColumns[a].bVisible=true}else{e.
3090
+ removeChild(k[a]);h&&h.removeChild(o[a]);i=X(c);d=0;for(f=c.aoData.length;d<f;d+
3091
+ +){e=i[d*c.aoColumns.length+a*1];c.aoData[d]._anHidden[a]=e;e.parentNode.
3092
+ removeChild(e)}c.aoColumns[a].bVisible=false}d=0;for(f=c.aoOpenRows.length;d<f;d
3093
+ ++)c.aoOpenRows[d].nTr.colSpan=T(c);U(c);D(c)}};this.fnPageChange=function(a,b){
3094
+ var c=B(this[m.iApiIndex]);Ba(c,a);F(c);if(typeof
3095
+ b=="undefined"||b)D(c)};this.fnDestroy=function(){var a=B(this[m.iApiIndex]),
3096
+ b=a.nTableWrapper.parentNode,c=a.nTBody,d;a.nTable.parentNode.removeChild(a.
3097
+ nTable);j(a.nTableWrapper).remove();a.aaSorting=[];a.aaSortingFixed=[];W(a);j(S(
3098
+ a)).removeClass(a.asStripClasses.join("
3099
+ "));if(a.bJUI){j("th",a.nTHead).removeClass([m.oStdClasses.sSortable,m.
3100
+ oJUIClasses.sSortableAsc,m.oJUIClasses.sSortableDesc,m.oJUIClasses.sSortableNone
3101
+ ].join(" "));j("th span",a.nTHead).remove()}else
3102
+ j("th",a.nTHead).removeClass([m.oStdClasses.sSortable,m.oStdClasses.sSortableAsc
3103
+ ,m.oStdClasses.sSortableDesc, m.oStdClasses.sSortableNone].join("
3104
+ "));b.appendChild(a.nTable);b=0;for(d=a.aoData.length;b<d;b++)c.appendChild(a.
3105
+ aoData[b].nTr);j(">tr:even",c).addClass(a.asDestoryStrips[0]);j(">tr:odd",c).
3106
+ addClass(a.asDestoryStrips[1]);b=0;for(d=E.length;b<d;b++)E[b]==a&&E.splice(b,1)
3107
+ };this.fnAdjustColumnSizing=function(a){U(B(this[m.iApiIndex]));if(typeof
3108
+ a=="undefined"||a)this.fnDraw(false)};for(var ma in
3109
+ m.oApi)if(ma)this[ma]=q(ma);this.oApi._fnExternApiFunc=q;this.oApi._fnInitalise=
3110
+ r;this.oApi._fnLanguageProcess=
3111
+ u;this.oApi._fnAddColumn=y;this.oApi._fnColumnOptions=C;this.oApi._fnAddData=w;
3112
+ this.oApi._fnGatherData=x;this.oApi._fnDrawHead=z;this.oApi._fnDraw=D;this.oApi.
3113
+ _fnReDraw=L;this.oApi._fnAjaxUpdate=oa;this.oApi._fnAjaxUpdateDraw=pa;this.oApi.
3114
+ _fnAddOptionsHtml=na;this.oApi._fnFeatureHtmlTable=ua;this.oApi._fnScrollDraw=xa
3115
+ ;this.oApi._fnAjustColumnSizing=U;this.oApi._fnFeatureHtmlFilter=sa;this.oApi.
3116
+ _fnFilterComplete=P;this.oApi._fnFilterCustom=Aa;this.oApi._fnFilterColumn=za;
3117
+ this.oApi._fnFilter=ya;this.oApi._fnBuildSearchArray=
3118
+ Q;this.oApi._fnFilterCreateSearch=fa;this.oApi._fnDataToSearch=ga;this.oApi.
3119
+ _fnSort=O;this.oApi._fnSortAttachListener=$;this.oApi._fnSortingClasses=W;this.
3120
+ oApi._fnFeatureHtmlPaginate=wa;this.oApi._fnPageChange=Ba;this.oApi.
3121
+ _fnFeatureHtmlInfo=va;this.oApi._fnUpdateInfo=Ca;this.oApi._fnFeatureHtmlLength=
3122
+ ra;this.oApi._fnFeatureHtmlProcessing=ta;this.oApi._fnProcessingDisplay=K;this.
3123
+ oApi._fnVisibleToColumnIndex=da;this.oApi._fnColumnIndexToVisible=N;this.oApi.
3124
+ _fnNodeToDataIndex=R;this.oApi._fnVisbleColumns=
3125
+ T;this.oApi._fnCalculateEnd=F;this.oApi._fnConvertToWidth=Da;this.oApi.
3126
+ _fnCalculateColumnWidths=ea;this.oApi._fnScrollingWidthAdjust=ia;this.oApi.
3127
+ _fnGetWidestNode=Ea;this.oApi._fnGetMaxLenString=Fa;this.oApi._fnStringToCss=v;
3128
+ this.oApi._fnArrayCmp=La;this.oApi._fnDetectType=Z;this.oApi._fnSettingsFromNode
3129
+ =B;this.oApi._fnGetDataMaster=V;this.oApi._fnGetTrNodes=S;this.oApi.
3130
+ _fnGetTdNodes=X;this.oApi._fnEscapeRegex=ha;this.oApi._fnDeleteIndex=ja;this.
3131
+ oApi._fnReOrderIndex=qa;this.oApi._fnColumnOrdering=
3132
+ aa;this.oApi._fnLog=J;this.oApi._fnClearTable=ba;this.oApi._fnSaveState=Ga;this.
3133
+ oApi._fnLoadState=Ia;this.oApi._fnCreateCookie=Ha;this.oApi._fnReadCookie=ka;
3134
+ this.oApi._fnGetUniqueThs=ca;this.oApi._fnScrollBarWidth=Ja;this.oApi.
3135
+ _fnApplyToChildren=M;this.oApi._fnMap=n;var Ka=this;return
3136
+ this.each(function(){var
3137
+ a=0,b,c,d,f;a=0;for(b=E.length;a<b;a++){if(E[a].nTable==this)if(typeof
3138
+ g=="undefined"||typeof g.bRetrieve!="undefined"&&g.bRetrieve===true)return
3139
+ E[a].oInstance;else if(typeof g.bDestroy!="undefined"&&
3140
+ g.bDestroy===true){E[a].oInstance.fnDestroy();break}else{J(E[a],0,"Cannot
3141
+ reinitialise DataTable.\n\nTo retrieve the DataTables object for this table,
3142
+ please pass either no arguments to the dataTable() function, or set bRetrieve to
3143
+ true. Alternatively, to destory the old table and create a new one, set bDestroy
3144
+ to true (note that a lot of changes to the configuration can be made through the
3145
+ API which is usually much
3146
+ faster).");return}if(E[a].sTableId!==""&&E[a].sTableId==this.getAttribute("id"))
3147
+ {E.splice(a, 1);break}}var e=new l;E.push(e);var
3148
+ i=false,h=false;a=this.getAttribute("id");if(a!==null){e.sTableId=a;e.sInstance=
3149
+ a}else
3150
+ e.sInstance=m._oExternConfig.iNextUnique++;e.oInstance=Ka;e.nTable=this;e.oApi=
3151
+ Ka.oApi;if(typeof
3152
+ g!="undefined"&&g!==null){e.oInit=g;n(e.oFeatures,g,"bPaginate");n(e.oFeatures,g
3153
+ ,"bLengthChange");n(e.oFeatures,g,"bFilter");n(e.oFeatures,g,"bSort");n(e.
3154
+ oFeatures,g,"bInfo");n(e.oFeatures,g,"bProcessing");n(e.oFeatures,g,"bAutoWidth"
3155
+ );n(e.oFeatures,g,"bSortClasses");n(e.oFeatures,
3156
+ g,"bServerSide");n(e.oScroll,g,"sScrollX","sX");n(e.oScroll,g,"sScrollXInner",
3157
+ "sXInner");n(e.oScroll,g,"sScrollY","sY");n(e.oScroll,g,"bScrollCollapse",
3158
+ "bCollapse");n(e,g,"asStripClasses");n(e,g,"fnRowCallback");n(e,g,
3159
+ "fnHeaderCallback");n(e,g,"fnFooterCallback");n(e,g,"fnInitComplete");n(e,g,
3160
+ "fnServerData");n(e,g,"fnFormatNumber");n(e,g,"aaSorting");n(e,g,
3161
+ "aaSortingFixed");n(e,g,"aLengthMenu");n(e,g,"sPaginationType");n(e,g,
3162
+ "sAjaxSource");n(e,g,"iCookieDuration");n(e,g,"sCookiePrefix");n(e,g,"sDom");
3163
+ n(e,g,"oSearch","oPreviousSearch");n(e,g,"aoSearchCols","aoPreSearchCols");n(e,g
3164
+ ,"iDisplayLength","_iDisplayLength");n(e,g,"bJQueryUI","bJUI");typeof
3165
+ g.fnDrawCallback=="function"&&e.aoDrawCallback.push({fn:g.fnDrawCallback,sName:
3166
+ "user"});e.oFeatures.bServerSide&&e.oFeatures.bSort&&e.oFeatures.bSortClasses&&e
3167
+ .aoDrawCallback.push({fn:W,sName:"server_side_sort_classes"});if(typeof
3168
+ g.bJQueryUI!="undefined"&&g.bJQueryUI){e.oClasses=m.oJUIClasses;if(typeof
3169
+ g.sDom=="undefined")e.sDom='<"H"lfr>t<"F"ip>'}if(e.oScroll.sX!==
3170
+ ""||e.oScroll.sY!=="")e.oScroll.iBarWidth=Ja();if(typeof
3171
+ g.iDisplayStart!="undefined"&&typeof
3172
+ e.iInitDisplayStart=="undefined"){e.iInitDisplayStart=g.iDisplayStart;e.
3173
+ _iDisplayStart=g.iDisplayStart}if(typeof
3174
+ g.bStateSave!="undefined"){e.oFeatures.bStateSave=g.bStateSave;Ia(e,g);e.
3175
+ aoDrawCallback.push({fn:Ga,sName:"state_save"})}if(typeof
3176
+ g.aaData!="undefined")h=true;if(typeof g!="undefined"&&typeof
3177
+ g.aoData!="undefined")g.aoColumns=g.aoData;if(typeof
3178
+ g.oLanguage!="undefined")if(typeof g.oLanguage.sUrl!=
3179
+ "undefined"&&g.oLanguage.sUrl!==""){e.oLanguage.sUrl=g.oLanguage.sUrl;j.getJSON(
3180
+ e.oLanguage.sUrl,null,function(o){u(e,o,true)});i=true}else
3181
+ u(e,g.oLanguage,false)}else g={};if(typeof
3182
+ g.asStripClasses=="undefined"){e.asStripClasses.push(e.oClasses.sStripOdd);e.
3183
+ asStripClasses.push(e.oClasses.sStripEven)}c=false;d=j("tbody>tr",this);a=0;for(
3184
+ b=e.asStripClasses.length;a<b;a++)if(d.filter(":lt(2)").hasClass(e.
3185
+ asStripClasses[a])){c=true;break}if(c){e.asDestoryStrips=["",""];if(j(d[0]).
3186
+ hasClass(e.oClasses.sStripOdd))e.asDestoryStrips[0]+= e.oClasses.sStripOdd+"
3187
+ ";if(j(d[0]).hasClass(e.oClasses.sStripEven))e.asDestoryStrips[0]+=e.oClasses.
3188
+ sStripEven;if(j(d[1]).hasClass(e.oClasses.sStripOdd))e.asDestoryStrips[1]+=e.
3189
+ oClasses.sStripOdd+"
3190
+ ";if(j(d[1]).hasClass(e.oClasses.sStripEven))e.asDestoryStrips[1]+=e.oClasses.
3191
+ sStripEven;d.removeClass(e.asStripClasses.join("
3192
+ "))}a=this.getElementsByTagName("thead");c=a.length===0?[]:ca(a[0]);d=typeof
3193
+ g.aoColumns!="undefined";a=0;for(b=d?g.aoColumns.length:c.length;a<b;a++){f=d?g.
3194
+ aoColumns[a]:null; var k=c?c[a]:null;if(typeof
3195
+ g.saved_aoColumns!="undefined"&&g.saved_aoColumns.length==b){if(f===null)f={};f.
3196
+ bVisible=g.saved_aoColumns[a].bVisible}y(e,k)}if(typeof
3197
+ g.aoColumnDefs!="undefined")for(a=g.aoColumnDefs.length-1;a>=0;a--){k=g.
3198
+ aoColumnDefs[a].aTargets;c=0;for(d=k.length;c<d;c++)if(typeof
3199
+ k[c]=="number"&&k[c]>=0){for(;e.aoColumns.length<=k[c];)y(e);C(e,k[c],g.
3200
+ aoColumnDefs[a])}else if(typeof
3201
+ k[c]=="number"&&k[c]<0)C(e,e.aoColumns.length+k[c],g.aoColumnDefs[a]);else
3202
+ if(typeof k[c]=="string"){b=
3203
+ 0;for(f=e.aoColumns.length;b<f;b++)if(k[c]=="_all"||e.aoColumns[b].nTh.className
3204
+ .indexOf(k[c])!=-1)C(e,b,g.aoColumnDefs[a])}}if(typeof
3205
+ g.aoColumns!="undefined"){a=0;for(b=g.aoColumns.length;a<b;a++)C(e,a,g.aoColumns
3206
+ [a])}a=0;for(b=e.aaSorting.length;a<b;a++){f=e.aoColumns[e.aaSorting[a][0]];if(
3207
+ typeof e.aaSorting[a][2]=="undefined")e.aaSorting[a][2]=0;if(typeof
3208
+ g.aaSorting=="undefined"&&typeof
3209
+ e.saved_aaSorting=="undefined")e.aaSorting[a][1]=f.asSorting[0];c=0;for(d=f.
3210
+ asSorting.length;c<d;c++)if(e.aaSorting[a][1]==
3211
+ f.asSorting[c]){e.aaSorting[a][2]=c;break}}this.getElementsByTagName("thead").
3212
+ length===0&&this.appendChild(p.createElement("thead"));this.getElementsByTagName
3213
+ ("tbody").length===0&&this.appendChild(p.createElement("tbody"));e.nTHead=this.
3214
+ getElementsByTagName("thead")[0];e.nTBody=this.getElementsByTagName("tbody")[0];
3215
+ if(this.getElementsByTagName("tfoot").length>0)e.nTFoot=this.
3216
+ getElementsByTagName("tfoot")[0];if(h)for(a=0;a<g.aaData.length;a++)w(e,g.aaData
3217
+ [a]);else x(e);e.aiDisplay=e.aiDisplayMaster.slice();
3218
+ e.oFeatures.bAutoWidth&&ea(e);e.bInitialised=true;i===false&&r(e)})}})(jQuery,
3219
+ window,document);
3220
+
3221
+ jQuery.fn.dataTableExt.oSort['percent-asc'] = function(a,b) { var x = (a ==
3222
+ "-") ? 0 : a.replace( /%/, "" ); var y = (b == "-") ? 0 : b.replace( /%/, "" );
3223
+ x = parseFloat( x ); y = parseFloat( y ); return ((x < y) ? -1 : ((x > y) ? 1 :
3224
+ 0)); };
3225
+
3226
+ jQuery.fn.dataTableExt.oSort['percent-desc'] = function(a,b) { var x = (a ==
3227
+ "-") ? 0 : a.replace( /%/, "" ); var y = (b == "-") ? 0 : b.replace( /%/, "" );
3228
+ x = parseFloat( x ); y = parseFloat( y ); return ((x < y) ? 1 : ((x > y) ? -1 :
3229
+ 0)); }; /* * timeago: a jQuery plugin, version: 0.9 (2010-06-21) * @requires
3230
+ jQuery v1.2.3 or later * * Timeago is a jQuery plugin that makes it easy to
3231
+ support automatically * updating fuzzy timestamps (e.g. "4 minutes ago" or
3232
+ "about 1 day ago"). * * For usage and examples, visit: *
3233
+ http://timeago.yarp.com/ * * Licensed under the MIT: *
3234
+ http://www.opensource.org/licenses/mit-license.php * * Copyright (c) 2008-2010,
3235
+ Ryan McGeary (ryanonjavascript -[at]- mcgeary [*dot*] org) */
3236
+
3237
+ (function($) { $.timeago = function(timestamp) { if (timestamp instanceof Date)
3238
+ return inWords(timestamp); else if (typeof timestamp == "string") return
3239
+ inWords($.timeago.parse(timestamp)); else return
3240
+ inWords($.timeago.datetime(timestamp)); }; var $t = $.timeago;
3241
+
3242
+ $.extend($.timeago, { settings: { refreshMillis: 60000, allowFuture: false,
3243
+ strings: { prefixAgo: null, prefixFromNow: null, suffixAgo: "ago",
3244
+ suffixFromNow: "from now", seconds: "less than a minute", minute: "about a
3245
+ minute", minutes: "%d minutes", hour: "about an hour", hours: "about %d hours",
3246
+ day: "a day", days: "%d days", month: "about a month", months: "%d months",
3247
+ year: "about a year", years: "%d years", numbers: [] } }, inWords:
3248
+ function(distanceMillis) { var $l = this.settings.strings; var prefix =
3249
+ $l.prefixAgo; var suffix = $l.suffixAgo; if (this.settings.allowFuture) { if
3250
+ (distanceMillis < 0) { prefix = $l.prefixFromNow; suffix = $l.suffixFromNow; }
3251
+ distanceMillis = Math.abs(distanceMillis); }
3252
+
3253
+ var seconds = distanceMillis / 1000; var minutes = seconds / 60; var hours
3254
+ = minutes / 60; var days = hours / 24; var years = days / 365;
3255
+
3256
+ function substitute(stringOrFunction, number) { var string =
3257
+ $.isFunction(stringOrFunction) ? stringOrFunction(number) : stringOrFunction;
3258
+ var value = ($l.numbers && $l.numbers[number]) || number; return
3259
+ string.replace(/%d/i, value); }
3260
+
3261
+ var words = seconds < 45 && substitute($l.seconds, Math.round(seconds)) ||
3262
+ seconds < 90 && substitute($l.minute, 1) || minutes < 45 &&
3263
+ substitute($l.minutes, Math.round(minutes)) || minutes < 90 &&
3264
+ substitute($l.hour, 1) || hours < 24 && substitute($l.hours, Math.round(hours))
3265
+ || hours < 48 && substitute($l.day, 1) || days < 30 && substitute($l.days,
3266
+ Math.floor(days)) || days < 60 && substitute($l.month, 1) || days < 365 &&
3267
+ substitute($l.months, Math.floor(days / 30)) || years < 2 && substitute($l.year,
3268
+ 1) || substitute($l.years, Math.floor(years));
3269
+
3270
+ return $.trim([prefix, words, suffix].join(" ")); }, parse:
3271
+ function(iso8601) { var s = $.trim(iso8601); s = s.replace(/\.\d\d\d/,""); //
3272
+ remove milliseconds s = s.replace(/-/,"/").replace(/-/,"/"); s = s.replace(/T/,"
3273
+ ").replace(/Z/," UTC"); s = s.replace(/([\+-]\d\d)\:?(\d\d)/," $1$2"); // -04:00
3274
+ -> -0400 return new Date(s); }, datetime: function(elem) { // jQuery's `is()`
3275
+ doesn't play well with HTML5 in IE var isTime =
3276
+ $(elem).get(0).tagName.toLowerCase() == "time"; // $(elem).is("time"); var
3277
+ iso8601 = isTime ? $(elem).attr("datetime") : $(elem).attr("title"); return
3278
+ $t.parse(iso8601); } });
3279
+
3280
+ $.fn.timeago = function() { var self = this; self.each(refresh);
3281
+
3282
+ var $s = $t.settings; if ($s.refreshMillis > 0) { setInterval(function() {
3283
+ self.each(refresh); }, $s.refreshMillis); } return self; };
3284
+
3285
+ function refresh() { var data = prepareData(this); if (!isNaN(data.datetime))
3286
+ { $(this).text(inWords(data.datetime)); } return this; }
3287
+
3288
+ function prepareData(element) { element = $(element); if
3289
+ (!element.data("timeago")) { element.data("timeago", { datetime:
3290
+ $t.datetime(element) }); var text = $.trim(element.text()); if (text.length > 0)
3291
+ element.attr("title", text); } return element.data("timeago"); }
3292
+
3293
+ function inWords(date) { return $t.inWords(distance(date)); }
3294
+
3295
+ function distance(date) { return (new Date().getTime() - date.getTime()); }
3296
+
3297
+ // fix for IE6 suckage document.createElement("abbr");
3298
+ document.createElement("time"); })(jQuery); // JQuery URL Parser // Written by
3299
+ Mark Perkins, mark@allmarkedup.com // License: http://unlicense.org/ (i.e. do
3300
+ what you want with it!)
3301
+
3302
+ jQuery.url = function() { var segments = {};
3303
+
3304
+ var parsed = {};
3305
+
3306
+ /** * Options object. Only the URI and strictMode values can be changed via
3307
+ the setters below. */ var options = {
3308
+
3309
+ url : window.location, // default URI is the page in which the script is
3310
+ running
3311
+
3312
+ strictMode: false, // 'loose' parsing by default
3313
+
3314
+ key:
3315
+ ["source","protocol","authority","userInfo","user","password","host","port",
3316
+ "relative","path","directory","file","query","anchor"], // keys available to
3317
+ query
3318
+
3319
+ q: { name: "queryKey", parser: /(?:^|&)([^&=]*)=?([^&]*)/g },
3320
+
3321
+ parser: { strict:
3322
+ /^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?(
3323
+ (((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/, //less intuitive, more
3324
+ accurate to the specs loose:
3325
+ /^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^
3326
+ :\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/
3327
+ ]*))(?:\?([^#]*))?(?:#(.*))?)/ // more intuitive, fails on relative paths and
3328
+ deviates from specs }
3329
+
3330
+ };
3331
+
3332
+ /** * Deals with the parsing of the URI according to the regex above. *
3333
+ Written by Steven Levithan - see credits at top. */ var parseUri =
3334
+ function() { str = decodeURI( options.url );
3335
+
3336
+ var m = options.parser[ options.strictMode ? "strict" : "loose" ].exec(
3337
+ str ); var uri = {}; var i = 14;
3338
+
3339
+ while ( i-- ) { uri[ options.key[i] ] = m[i] || ""; }
3340
+
3341
+ uri[ options.q.name ] = {}; uri[ options.key[12] ].replace(
3342
+ options.q.parser, function ( $0, $1, $2 ) { if ($1) { uri[options.q.name][$1] =
3343
+ $2; } });
3344
+
3345
+ return uri; };
3346
+
3347
+ /** * Returns the value of the passed in key from the parsed URI. * * @param
3348
+ string key The key whose value is required */ var key = function( key ) {
3349
+ if ( ! parsed.length ) { setUp(); // if the URI has not been parsed yet then do
3350
+ this first... } if ( key == "base" ) { if ( parsed.port !== null &&
3351
+ parsed.port !== "" ) { return
3352
+ parsed.protocol+"://"+parsed.host+":"+parsed.port+"/"; } else { return
3353
+ parsed.protocol+"://"+parsed.host+"/"; } }
3354
+
3355
+ return ( parsed[key] === "" ) ? null : parsed[key]; };
3356
+
3357
+ /** * Returns the value of the required query string parameter. * * @param
3358
+ string item The parameter whose value is required */ var param =
3359
+ function( item ) { if ( ! parsed.length ) { setUp(); // if the URI has not been
3360
+ parsed yet then do this first... } return ( parsed.queryKey[item] === null )
3361
+ ? null : parsed.queryKey[item]; };
3362
+
3363
+ /** * 'Constructor' (not really!) function. * Called whenever the URI
3364
+ changes to kick off re-parsing of the URI and splitting it up into segments. */
3365
+ var setUp = function() { parsed = parseUri();
3366
+
3367
+ getSegments(); };
3368
+
3369
+ /** * Splits up the body of the URI into segments (i.e. sections delimited
3370
+ by '/') */ var getSegments = function() { var p = parsed.path; segments = []; //
3371
+ clear out segments array segments = parsed.path.length == 1 ? {} : ( p.charAt(
3372
+ p.length - 1 ) == "/" ? p.substring( 1, p.length - 1 ) : path = p.substring( 1 )
3373
+ ).split("/"); };
3374
+
3375
+ return {
3376
+
3377
+ /** * Sets the parsing mode - either strict or loose. Set to loose by
3378
+ default. * * @param string mode The mode to set the parser to. Anything apart
3379
+ from a value of 'strict' will set it to loose! */ setMode : function( mode ) {
3380
+ strictMode = mode == "strict" ? true : false; return this; },
3381
+
3382
+ /** * Sets URI to parse if you don't want to to parse the current page's
3383
+ URI. * Calling the function with no value for newUri resets it to the current
3384
+ page's URI. * * @param string newUri The URI to parse. */ setUrl :
3385
+ function( newUri ) { options.url = newUri === undefined ? window.location :
3386
+ newUri; setUp(); return this; },
3387
+
3388
+ /** * Returns the value of the specified URI segment. Segments are
3389
+ numbered from 1 to the number of segments. * For example the URI
3390
+ http://test.com/about/company/ segment(1) would return 'about'. * * If no
3391
+ integer is passed into the function it returns the number of segments in the
3392
+ URI. * * @param int pos The position of the segment to return. Can be empty. */
3393
+ segment : function( pos ) { if ( ! parsed.length ) { setUp(); // if the URI has
3394
+ not been parsed yet then do this first... } if ( pos === undefined ) { return
3395
+ segments.length; } return ( segments[pos] === "" || segments[pos] === undefined
3396
+ ) ? null : segments[pos]; },
3397
+
3398
+ attr : key, // provides public access to private 'key' function - see
3399
+ above
3400
+
3401
+ param : param // provides public access to private 'param' function -
3402
+ see above
3403
+
3404
+ };
3405
+
3406
+ }();
3407
+
3408
+
3409
+
3410
+
3411
+ $(document).ready(function() { // Configuration for fancy sortable tables for
3412
+ source file groups $('.file_list').dataTable({ "aaSorting": [[ 1, "asc" ]],
3413
+ "bPaginate": false, "bJQueryUI": true, "aoColumns": [ null, { "sType": "percent"
3414
+ }, null, null, null, null, null ] });
3415
+
3416
+ // Syntax highlight all files up front - deactivated // $('.source_table pre
3417
+ code').each(function(i, e) {hljs.highlightBlock(e, ' ')});
3418
+
3419
+ // Syntax highlight source files on first toggle of the file view popup
3420
+ $("a.src_link").click(function() { // Get the source file element that
3421
+ corresponds to the clicked element var source_table = $($(this).attr('href'));
3422
+
3423
+ // If not highlighted yet, do it! if (!source_table.hasClass('highlighted'))
3424
+ { source_table.find('pre code').each(function(i, e) {hljs.highlightBlock(e, '
3425
+ ')}); source_table.addClass('highlighted'); }; });
3426
+
3427
+ var prev_anchor; var curr_anchor;
3428
+
3429
+ // Set-up of popup for source file views $("a.src_link").colorbox({
3430
+ transition: "none", inline: true, opacity: 1, width: "95%", height: "95%",
3431
+ onLoad: function() { prev_anchor = curr_anchor ? curr_anchor :
3432
+ jQuery.url.attr('anchor'); curr_anchor = this.href.split('#')[1];
3433
+ window.location.hash = curr_anchor; }, onCleanup: function() { if (prev_anchor
3434
+ && prev_anchor != curr_anchor) { $('a[href="#'+prev_anchor+'"]').click();
3435
+ curr_anchor = prev_anchor; } else { $('.group_tabs a:first').click();
3436
+ prev_anchor = curr_anchor; curr_anchor = "#_AllFiles"; } window.location.hash =
3437
+ curr_anchor; } });
3438
+
3439
+ window.onpopstate = function(event){ if (location.hash.substring(0,2) == "#_")
3440
+ { $.colorbox.close(); curr_anchor = jQuery.url.attr('anchor'); } else { if
3441
+ ($('#colorbox').is(':hidden')) {
3442
+ $('a.src_link[href="'+location.hash+'"]').colorbox({ open: true }); } } };
3443
+
3444
+ // Hide src files and file list container after load
3445
+ $('.source_files').hide(); $('.file_list_container').hide();
3446
+
3447
+ // Add tabs based upon existing file_list_containers $('.file_list_container
3448
+ h2').each(function(){ var container_id = $(this).parent().attr('id'); var
3449
+ group_name = $(this).find('.group_name').first().html(); var covered_percent =
3450
+ $(this).find('.covered_percent').first().html();
3451
+
3452
+ $('.group_tabs').append('<li><a href="#' + container_id + '">' + group_name
3453
+ + ' ('+ covered_percent +')</a></li>'); });
3454
+
3455
+ $('.group_tabs a').each( function() {
3456
+ $(this).addClass($(this).attr('href').replace('#', '')); });
3457
+
3458
+ // Make sure tabs don't get ugly focus borders when active $('.group_tabs
3459
+ a').live('focus', function() { $(this).blur(); });
3460
+
3461
+ var favicon_path = $('link[rel="shortcut icon"]').attr('href'); $('.group_tabs
3462
+ a').live('click', function(){ if (!$(this).parent().hasClass('active')) {
3463
+ $('.group_tabs a').parent().removeClass('active');
3464
+ $(this).parent().addClass('active'); $('.file_list_container').hide();
3465
+ $(".file_list_container" + $(this).attr('href')).show(); window.location.href =
3466
+ window.location.href.split('#')[0] + $(this).attr('href').replace('#', '#_');
3467
+
3468
+ // Force favicon reload - otherwise the location change containing anchor
3469
+ would drop the favicon... // Works only on firefox, but still... - Anyone know a
3470
+ better solution to force favicon on local file? $('link[rel="shortcut
3471
+ icon"]').remove(); $('head').append('<link rel="shortcut icon" type="image/png"
3472
+ href="'+ favicon_path +'" />'); }; return false; });
3473
+
3474
+ if (jQuery.url.attr('anchor')) { var anchor = jQuery.url.attr('anchor') if
3475
+ (anchor.length == 40) { $('a.src_link[href=#' + anchor + ']').click(); } else {
3476
+ $('.group_tabs a.'+anchor.replace('_', '')).click(); } } else { $('.group_tabs
3477
+ a:first').click(); };
3478
+
3479
+ $("abbr.timeago").timeago(); $('#loading').fadeOut(); $('#wrapper').show();
3480
+ });