olelo 0.9.4 → 0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. data/.gitignore +0 -1
  2. data/.travis.yml +8 -0
  3. data/README.creole +31 -11
  4. data/Rakefile +46 -21
  5. data/config/aspects.rb +19 -15
  6. data/lib/olelo/application.rb +2 -3
  7. data/lib/olelo/extensions.rb +3 -0
  8. data/lib/olelo/helper.rb +7 -5
  9. data/lib/olelo/locale.rb +1 -1
  10. data/lib/olelo/locale.yml +298 -204
  11. data/lib/olelo/page.rb +9 -1
  12. data/lib/olelo/plugin.rb +1 -1
  13. data/lib/olelo/repository.rb +1 -1
  14. data/lib/olelo/util.rb +3 -0
  15. data/lib/olelo/version.rb +1 -1
  16. data/olelo.gemspec +1 -1
  17. data/plugins/aspects/changelog.rb +7 -4
  18. data/plugins/aspects/locale.yml +69 -47
  19. data/plugins/blog/locale.yml +13 -9
  20. data/plugins/editor/locale.yml +16 -11
  21. data/plugins/filters/creole.rb +3 -6
  22. data/plugins/filters/fix_image_links.rb +20 -0
  23. data/plugins/filters/locale.yml +18 -13
  24. data/plugins/filters/s5/main.rb +2 -0
  25. data/plugins/login/locale.yml +6 -4
  26. data/plugins/repositories/gitrb_repository.rb +1 -1
  27. data/plugins/repositories/locale.yml +14 -10
  28. data/plugins/repositories/rugged_repository.rb +2 -3
  29. data/plugins/security/locale.yml +19 -13
  30. data/plugins/tags/math.rb +2 -1
  31. data/plugins/treeview/script.js +2 -2
  32. data/plugins/treeview/script/init.js +4 -0
  33. data/plugins/utils/xml.rb +14 -0
  34. data/static/script.js +296 -256
  35. data/static/script/02-history.js +1943 -0
  36. data/static/script/03-history.adapter.jquery.js +77 -0
  37. data/static/script/{03-jquery.ui.core.js → 04-jquery.ui.core.js} +0 -0
  38. data/static/script/{04-jquery.ui.widget.js → 05-jquery.ui.widget.js} +0 -0
  39. data/static/script/{05-jquery.ui.position.js → 06-jquery.ui.position.js} +0 -0
  40. data/static/script/{06-jquery.ui.menu.js → 07-jquery.ui.menu.js} +0 -0
  41. data/static/script/{07-jquery.ui.autocomplete.js → 08-jquery.ui.autocomplete.js} +0 -0
  42. data/static/script/{02-olelo.storage.js → 09-olelo.storage.js} +0 -0
  43. data/static/script/{08-olelo.i18n.js → 10-olelo.i18n.js} +0 -0
  44. data/static/script/{09-olelo.unsaved.js → 11-olelo.unsaved.js} +6 -2
  45. data/static/script/{10-olelo.historytable.js → 12-olelo.historytable.js} +0 -0
  46. data/static/script/13-olelo.pagination.js +30 -0
  47. data/static/script/{13-olelo.tabwidget.js → 14-olelo.tabwidget.js} +0 -0
  48. data/static/script/{14-olelo.timeago.js → 15-olelo.timeago.js} +14 -1
  49. data/static/script/{15-olelo.underliner.js → 16-olelo.underliner.js} +0 -0
  50. data/static/script/{16-olelo.ui.combobox.js → 17-olelo.ui.combobox.js} +0 -0
  51. data/static/script/init.js +10 -10
  52. data/static/themes/atlantis/screen.scss +11 -10
  53. data/static/themes/atlantis/style.css +1 -1
  54. data/test/config_test.rb +9 -0
  55. data/test/factory_test.rb +1 -1
  56. data/test/hash_extensions_test.rb +1 -1
  57. data/test/helper.rb +0 -1
  58. data/test/hooks_test.rb +1 -2
  59. data/test/object_extensions_test.rb +1 -2
  60. data/test/run.rb +12 -0
  61. data/test/string_extensions_test.rb +1 -1
  62. data/test/templates_test.rb +1 -3
  63. data/test/util_test.rb +1 -6
  64. data/views/compare.slim +4 -5
  65. data/views/edit.slim +2 -2
  66. data/views/history.slim +1 -1
  67. data/views/layout.slim +1 -2
  68. data/views/not_found.slim +2 -2
  69. data/views/show.slim +3 -4
  70. metadata +47 -44
  71. data/plugins/filters/fix_img_tag.rb +0 -16
  72. data/static/script/11-olelo.pagination.js +0 -18
@@ -253,8 +253,7 @@ class RuggedRepository < Repository
253
253
  end
254
254
  end
255
255
 
256
- def get_history(path, skip = nil, limit = nil)
257
- skip ||= 0
256
+ def get_history(path, skip, limit)
258
257
  commits = []
259
258
  walker = Rugged::Walker.new(@git)
260
259
  walker.sorting(Rugged::SORT_TOPO)
@@ -265,7 +264,7 @@ class RuggedRepository < Repository
265
264
  skip -= 1
266
265
  else
267
266
  commits << c
268
- break if limit && commits.size >= limit
267
+ break if commits.size >= limit
269
268
  end
270
269
  end
271
270
  end
@@ -1,18 +1,24 @@
1
- en:
2
- attribute_acl_write: 'Write access'
3
- attribute_acl_create: 'Create subpages'
4
- attribute_acl_delete: 'Delete subpages'
5
- group_acl: 'Access control lists'
6
- login_first: 'You have to login first'
7
- de:
8
- attribute_acl_write: 'Schreibzugriff'
9
- attribute_acl_create: 'Unterseiten anlegen'
10
- attribute_acl_delete: 'Unterseiten löschen'
11
- group_acl: 'Zugriffslisten'
12
- login_first: 'Sie müssen sich zuerst anmelden'
13
1
  cs_CZ:
14
- attribute_acl_write: 'Právo zápisu'
15
2
  attribute_acl_create: 'Vytvářet podstránky'
16
3
  attribute_acl_delete: 'Mazat podstránky'
4
+ attribute_acl_write: 'Právo zápisu'
17
5
  group_acl: 'Řízení přístupů (ACL)'
18
6
  login_first: 'Musíte se nejprve přihlásit'
7
+ de:
8
+ attribute_acl_create: 'Unterseiten anlegen'
9
+ attribute_acl_delete: 'Unterseiten löschen'
10
+ attribute_acl_write: 'Schreibzugriff'
11
+ group_acl: 'Zugriffslisten'
12
+ login_first: 'Sie müssen sich zuerst anmelden'
13
+ en:
14
+ attribute_acl_create: 'Create subpages'
15
+ attribute_acl_delete: 'Delete subpages'
16
+ attribute_acl_write: 'Write access'
17
+ group_acl: 'Access control lists'
18
+ login_first: 'You have to login first'
19
+ fr:
20
+ attribute_acl_create: "Créer sous-pages"
21
+ attribute_acl_delete: "Supprimer sous-pages"
22
+ attribute_acl_write: "Accès en écriture"
23
+ group_acl: "Liste de contrôle des accès"
24
+ login_first: "Vous devez d'abord vous connecter"
@@ -100,7 +100,8 @@ end
100
100
  class ::Olelo::Application
101
101
  hook :head do
102
102
  if page && Config['math_renderer'] == 'mathjax'
103
- %{<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"/>}
103
+ %{<script type="text/x-mathjax-config">MathJax.Hub.Config({ TeX: { extensions: ['autoload-all.js'] } });</script>
104
+ <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"/>}
104
105
  end
105
106
  end
106
107
 
@@ -1,5 +1,5 @@
1
1
  (function(b){b.fn.treeView=function(a){function l(c,e){if(a.stateStore){var d=b.storage.get(a.stateStore,[]);if(e)b.inArray(c,d)<0&&d.push(c);else d=b.grep(d,function(f){return f!=c});b.storage.set(a.stateStore,d)}}function m(c){var e=c[2],d=b('<li><div class="'+(c[0]?"hitarea collapsed":"placeholder")+'"><div class="arrow"/><div class="'+c[1]+'"/></div><a href="'+e+'">'+c[3]+"</a></li>"),f=d.children(".hitarea");d.data("name",c[3]);f.click(function(){if(f.hasClass("collapsed")){n(d,e);f.removeClass("collapsed").addClass("expanded")}else{d.children("ul").hide();
2
2
  f.removeClass("expanded").addClass("collapsed")}l(e,f.hasClass("expanded"));return false});if(a.stateStore&&b.inArray(e,b.storage.get(a.stateStore,[]))>=0){n(d,e);f.removeClass("collapsed").addClass("expanded")}return d}function n(c,e){function d(i){var j=b("<ul/>");b.each(i,function(o,k){j.append(m(k))});e==a.root&&c.empty();c.children("ul").remove();c.append(j)}function f(i){g&&b.storage.set(g,i);var j={},o=[];b.each(i,function(k,h){j[h[3]]=h});b("> ul > li",c).each(function(){var k=b(this),h=k.data("name");
3
3
  if(j[h])delete j[h];else k.remove();o.push(b(this))});b.each(j,function(k,h){var p=false;b.each(o,function(t,q){if(k<q.data("name")){p=true;q.before(m(h));return false}});p||c.children("ul").append(m(h))})}function r(){setTimeout(function(){a.ajax(e,f,function(){g&&b.storage.remove(g)})},a.delay)}var g=a.cacheStore?a.cacheStore+":"+e:null;if(c.children("ul").length!==0){c.children("ul").show();r()}else{var s=g?b.storage.get(g):null;if(s){d(s);r()}else{c.addClass("wait");a.ajax(e,function(i){c.removeClass("wait");
4
- d(i);g&&b.storage.set(g,i)},function(){c.removeClass("wait")})}}}a||(a={});if(!a.root)a.root="/";if(!a.url)a.url="/treeview.json";if(!a.delay)a.delay=2E3;if(!a.ajax)a.ajax=function(c,e,d){b.ajax({url:a.url,data:{dir:c},success:e,error:d,dataType:"json"})};this.each(function(){n(b(this),a.root)})}})(jQuery);$(function(){$.translations({en:{menu:"Menu",tree:"Tree"},de:{menu:"Men\u00fc",tree:"Baumansicht"},cs:{menu:"Menu",tree:"Strom"}});$("#sidebar").wrapInner('<div id="sidebar-menu"/>').prepend('<div id="sidebar-tree" style="display: none"><h1>'+$.t("tree")+'</h1><div id="treeview"/></div>');$("#menu").prepend('<ul><li class="selected" id="sidebar-tab-menu"><a href="#sidebar-menu">'+$.t("menu")+'</a></li><li id="sidebar-tab-tree"><a href="#sidebar-tree">'+$.t("tree")+"</a></li></ul>");$("#sidebar-tab-menu, #sidebar-tab-tree").tabWidget({store:"sidebar-tab"});
5
- $("#treeview").treeView({stateStore:"treeview-state",cacheStore:"treeview-cache",root:Olelo.base_path,ajax:function(b,a,l){$.ajax({url:b,data:{aspect:"treeview"},success:a,error:l,dataType:"json"})}})});
4
+ d(i);g&&b.storage.set(g,i)},function(){c.removeClass("wait")})}}}a||(a={});if(!a.root)a.root="/";if(!a.url)a.url="/treeview.json";if(!a.delay)a.delay=2E3;if(!a.ajax)a.ajax=function(c,e,d){b.ajax({url:a.url,data:{dir:c},success:e,error:d,dataType:"json"})};this.each(function(){n(b(this),a.root)})}})(jQuery);$(function(){$.translations({en:{menu:"Menu",tree:"Tree"},de:{menu:"Men\u00fc",tree:"Baumansicht"},cs:{menu:"Menu",tree:"Strom"},fr:{menu:"Menu",tree:"Arbre"}});$("#sidebar").wrapInner('<div id="sidebar-menu"/>').prepend('<div id="sidebar-tree" style="display: none"><h1>'+$.t("tree")+'</h1><div id="treeview"/></div>');$("#menu").prepend('<ul><li class="selected" id="sidebar-tab-menu"><a href="#sidebar-menu">'+$.t("menu")+'</a></li><li id="sidebar-tab-tree"><a href="#sidebar-tree">'+$.t("tree")+"</a></li></ul>");
5
+ $("#sidebar-tab-menu, #sidebar-tab-tree").tabWidget({store:"sidebar-tab"});$("#treeview").treeView({stateStore:"treeview-state",cacheStore:"treeview-cache",root:Olelo.base_path,ajax:function(b,a,l){$.ajax({url:b,data:{aspect:"treeview"},success:a,error:l,dataType:"json"})}})});
@@ -12,6 +12,10 @@ $(function() {
12
12
  cs: {
13
13
  menu: 'Menu',
14
14
  tree: 'Strom'
15
+ },
16
+ fr: {
17
+ menu: 'Menu',
18
+ tree: 'Arbre'
15
19
  }
16
20
  });
17
21
 
@@ -6,6 +6,20 @@ require 'nokogiri'
6
6
  # FIXME: Remove this check as soon as nokogiri works correctly.
7
7
  raise 'The libxml version used by nokogiri is broken, upgrade to 2.7' if Nokogiri.uses_libxml? && %w[2 6] === Nokogiri::LIBXML_VERSION.split('.')[0..1]
8
8
 
9
+ class Nokogiri::XML::Node
10
+ OLELO_DEFAULT_XHTML = SaveOptions::FORMAT |
11
+ SaveOptions::NO_DECLARATION |
12
+ SaveOptions::NO_EMPTY_TAGS |
13
+ SaveOptions::AS_XML
14
+
15
+ # HACK: Issue https://github.com/sparklemotion/nokogiri/issues/339
16
+ def to_xhtml options = {}
17
+ options[:save_with] |= OLELO_DEFAULT_XHTML if options[:save_with]
18
+ options[:save_with] = OLELO_DEFAULT_XHTML unless options[:save_with]
19
+ serialize(options)
20
+ end
21
+ end
22
+
9
23
  module XML
10
24
  extend self
11
25
 
@@ -1,265 +1,305 @@
1
1
  if(typeof JSON!=="object")JSON={};
2
- (function(){function i(F){return F<10?"0"+F:F}function s(F){A.lastIndex=0;return A.test(F)?'"'+F.replace(A,function(M){var O=v[M];return typeof O==="string"?O:"\\u"+("0000"+M.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+F+'"'}function l(F,M){var O,N,R,y,D=o,B,E=M[F];if(E&&typeof E==="object"&&typeof E.toJSON==="function")E=E.toJSON(F);if(typeof z==="function")E=z.call(M,F,E);switch(typeof E){case "string":return s(E);case "number":return isFinite(E)?String(E):"null";case "boolean":case "null":return String(E);
3
- case "object":if(!E)return"null";o+=m;B=[];if(Object.prototype.toString.apply(E)==="[object Array]"){y=E.length;for(O=0;O<y;O+=1)B[O]=l(O,E)||"null";R=B.length===0?"[]":o?"[\n"+o+B.join(",\n"+o)+"\n"+D+"]":"["+B.join(",")+"]";o=D;return R}if(z&&typeof z==="object"){y=z.length;for(O=0;O<y;O+=1)if(typeof z[O]==="string"){N=z[O];if(R=l(N,E))B.push(s(N)+(o?": ":":")+R)}}else for(N in E)if(Object.prototype.hasOwnProperty.call(E,N))if(R=l(N,E))B.push(s(N)+(o?": ":":")+R);R=B.length===0?"{}":o?"{\n"+o+B.join(",\n"+
4
- o)+"\n"+D+"}":"{"+B.join(",")+"}";o=D;return R}}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+i(this.getUTCMonth()+1)+"-"+i(this.getUTCDate())+"T"+i(this.getUTCHours())+":"+i(this.getUTCMinutes())+":"+i(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}}var r=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
5
- A=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,o,m,v={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},z;if(typeof JSON.stringify!=="function")JSON.stringify=function(F,M,O){var N;m=o="";if(typeof O==="number")for(N=0;N<O;N+=1)m+=" ";else if(typeof O==="string")m=O;if((z=M)&&typeof M!=="function"&&(typeof M!=="object"||typeof M.length!=="number"))throw Error("JSON.stringify");return l("",
6
- {"":F})};if(typeof JSON.parse!=="function")JSON.parse=function(F,M){function O(R,y){var D,B,E=R[y];if(E&&typeof E==="object")for(D in E)if(Object.prototype.hasOwnProperty.call(E,D)){B=O(E,D);if(B!==undefined)E[D]=B;else delete E[D]}return M.call(R,y,E)}var N;F=String(F);r.lastIndex=0;if(r.test(F))F=F.replace(r,function(R){return"\\u"+("0000"+R.charCodeAt(0).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(F.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
7
- "]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){N=eval("("+F+")");return typeof M==="function"?O({"":N},""):N}throw new SyntaxError("JSON.parse");}})();(function(i,s){function l(a){var b=Hb[a]={};d.each(a.split(Pa),function(c,e){b[e]=true});return b}function r(a,b,c){if(c===s&&a.nodeType===1){c="data-"+b.replace(mc,"-$1").toLowerCase();c=a.getAttribute(c);if(typeof c==="string"){try{c=c==="true"?true:c==="false"?false:c==="null"?null:+c+""===c?+c:nc.test(c)?d.parseJSON(c):c}catch(e){}d.data(a,b,c)}else c=s}return c}function A(a){var b;for(b in a)if(!(b==="data"&&d.isEmptyObject(a[b])))if(b!=="toJSON")return false;return true}function o(){return false}
8
- function m(){return true}function v(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function z(a,b){do a=a[b];while(a&&a.nodeType!==1);return a}function F(a,b,c){b=b||0;if(d.isFunction(b))return d.grep(a,function(f,g){return!!b.call(f,g,f)===c});else if(b.nodeType)return d.grep(a,function(f){return f===b===c});else if(typeof b==="string"){var e=d.grep(a,function(f){return f.nodeType===1});if(oc.test(b))return d.filter(b,e,!c);else b=d.filter(b,e)}return d.grep(a,function(f){return d.inArray(f,
9
- b)>=0===c})}function M(a){var b=Ib.split("|");a=a.createDocumentFragment();if(a.createElement)for(;b.length;)a.createElement(b.pop());return a}function O(a,b){if(!(b.nodeType!==1||!d.hasData(a))){var c,e,f;e=d._data(a);var g=d._data(b,e),h=e.events;if(h){delete g.handle;g.events={};for(c in h){e=0;for(f=h[c].length;e<f;e++)d.event.add(b,c,h[c][e])}}if(g.data)g.data=d.extend({},g.data)}}function N(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes();b.mergeAttributes&&b.mergeAttributes(a);
10
- c=b.nodeName.toLowerCase();if(c==="object"){if(b.parentNode)b.outerHTML=a.outerHTML;if(d.support.html5Clone&&a.innerHTML&&!d.trim(b.innerHTML))b.innerHTML=a.innerHTML}else if(c==="input"&&Jb.test(a.type)){b.defaultChecked=b.checked=a.checked;if(b.value!==a.value)b.value=a.value}else if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue;else if(c==="script"&&b.text!==a.text)b.text=a.text;b.removeAttribute(d.expando)}}function R(a){return typeof a.getElementsByTagName!==
11
- "undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!=="undefined"?a.querySelectorAll("*"):[]}function y(a){if(Jb.test(a.type))a.defaultChecked=a.checked}function D(a,b){if(b in a)return b;for(var c=b.charAt(0).toUpperCase()+b.slice(1),e=b,f=Kb.length;f--;){b=Kb[f]+c;if(b in a)return b}return e}function B(a,b){a=b||a;return d.css(a,"display")==="none"||!d.contains(a.ownerDocument,a)}function E(a,b){for(var c,e,f=[],g=0,h=a.length;g<h;g++){c=a[g];if(c.style){f[g]=d._data(c,"olddisplay");
12
- if(b){if(!f[g]&&c.style.display==="none")c.style.display="";if(c.style.display===""&&B(c))f[g]=d._data(c,"olddisplay",Fa(c.nodeName))}else{e=xa(c,"display");!f[g]&&e!=="none"&&d._data(c,"olddisplay",e)}}}for(g=0;g<h;g++){c=a[g];if(c.style)if(!b||c.style.display==="none"||c.style.display==="")c.style.display=b?f[g]||"":"none"}return a}function S(a,b,c){return(a=pc.exec(b))?Math.max(0,a[1]-(c||0))+(a[2]||"px"):b}function W(a,b,c,e){b=c===(e?"border":"content")?4:b==="width"?1:0;for(var f=0;b<4;b+=2){if(c===
13
- "margin")f+=d.css(a,c+Qa[b],true);if(e){if(c==="content")f-=parseFloat(xa(a,"padding"+Qa[b]))||0;if(c!=="margin")f-=parseFloat(xa(a,"border"+Qa[b]+"Width"))||0}else{f+=parseFloat(xa(a,"padding"+Qa[b]))||0;if(c!=="padding")f+=parseFloat(xa(a,"border"+Qa[b]+"Width"))||0}}return f}function Q(a,b,c){var e=b==="width"?a.offsetWidth:a.offsetHeight,f=true,g=d.support.boxSizing&&d.css(a,"boxSizing")==="border-box";if(e<=0||e==null){e=xa(a,b);if(e<0||e==null)e=a.style[b];if(kb.test(e))return e;f=g&&(d.support.boxSizingReliable||
14
- e===a.style[b]);e=parseFloat(e)||0}return e+W(a,b,c||(g?"border":"content"),f)+"px"}function Fa(a){if(wb[a])return wb[a];var b=d("<"+a+">").appendTo(L.body),c=b.css("display");b.remove();if(c==="none"||c===""){Wa=L.body.appendChild(Wa||d.extend(L.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!Xa||!Wa.createElement){Xa=(Wa.contentWindow||Wa.contentDocument).document;Xa.write("<!doctype html><html><body>");Xa.close()}b=Xa.body.appendChild(Xa.createElement(a));c=xa(b,"display");L.body.removeChild(Wa)}return wb[a]=
15
- c}function na(a,b,c,e){var f;if(d.isArray(b))d.each(b,function(g,h){c||qc.test(a)?e(a,h):na(a+"["+(typeof h==="object"?g:"")+"]",h,c,e)});else if(!c&&d.type(b)==="object")for(f in b)na(a+"["+f+"]",b[f],c,e);else e(a,b)}function la(a){return function(b,c){if(typeof b!=="string"){c=b;b="*"}var e,f,g=b.toLowerCase().split(Pa),h=0,k=g.length;if(d.isFunction(c))for(;h<k;h++){e=g[h];if(f=/^\+/.test(e))e=e.substr(1)||"*";e=a[e]=a[e]||[];e[f?"unshift":"push"](c)}}}function Ha(a,b,c,e,f,g){f=f||b.dataTypes[0];
16
- g=g||{};g[f]=true;var h;f=a[f];for(var k=0,q=f?f.length:0,u=a===xb;k<q&&(u||!h);k++){h=f[k](b,c,e);if(typeof h==="string")if(!u||g[h])h=s;else{b.dataTypes.unshift(h);h=Ha(a,b,c,e,h,g)}}if((u||!h)&&!g["*"])h=Ha(a,b,c,e,"*",g);return h}function Ya(a,b){var c,e,f=d.ajaxSettings.flatOptions||{};for(c in b)if(b[c]!==s)(f[c]?a:e||(e={}))[c]=b[c];e&&d.extend(true,a,e)}function ia(){try{return new i.XMLHttpRequest}catch(a){}}function Ja(){setTimeout(function(){lb=s},0);return lb=d.now()}function Aa(a,b){d.each(b,
17
- function(c,e){for(var f=(gb[c]||[]).concat(gb["*"]),g=0,h=f.length;g<h;g++)if(f[g].call(a,c,e))return})}function Ia(a,b,c){var e=0,f=mb.length,g=d.Deferred().always(function(){delete h.elem}),h=function(){var q=lb||Ja();q=Math.max(0,k.startTime+k.duration-q);for(var u=1-(q/k.duration||0),w=0,t=k.tweens.length;w<t;w++)k.tweens[w].run(u);g.notifyWith(a,[k,u,q]);if(u<1&&t)return q;else{g.resolveWith(a,[k]);return false}},k=g.promise({elem:a,props:d.extend({},b),opts:d.extend(true,{specialEasing:{}},
18
- c),originalProperties:b,originalOptions:c,startTime:lb||Ja(),duration:c.duration,tweens:[],createTween:function(q,u){var w=d.Tween(a,k.opts,q,u,k.opts.specialEasing[q]||k.opts.easing);k.tweens.push(w);return w},stop:function(q){for(var u=0,w=q?k.tweens.length:0;u<w;u++)k.tweens[u].run(1);q?g.resolveWith(a,[k,q]):g.rejectWith(a,[k,q]);return this}});c=k.props;for(Ka(c,k.opts.specialEasing);e<f;e++)if(b=mb[e].call(k,a,c,k.opts))return b;Aa(k,c);d.isFunction(k.opts.start)&&k.opts.start.call(a,k);d.fx.timer(d.extend(h,
19
- {anim:k,queue:k.opts.queue,elem:a}));return k.progress(k.opts.progress).done(k.opts.done,k.opts.complete).fail(k.opts.fail).always(k.opts.always)}function Ka(a,b){var c,e,f,g,h;for(c in a){e=d.camelCase(c);f=b[e];g=a[c];if(d.isArray(g)){f=g[1];g=a[c]=g[0]}if(c!==e){a[e]=g;delete a[c]}if((h=d.cssHooks[e])&&"expand"in h){g=h.expand(g);delete a[e];for(c in g)if(!(c in a)){a[c]=g[c];b[c]=f}}else b[e]=f}}function ra(a,b,c,e,f){return new ra.prototype.init(a,b,c,e,f)}function Ra(a,b){var c,e={height:a},
20
- f=0;for(b=b?1:0;f<4;f+=2-b){c=Qa[f];e["margin"+c]=e["padding"+c]=a}if(b)e.opacity=e.width=a;return e}function nb(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var ob,ja,L=i.document,Za=i.location,La=i.navigator,hb=i.jQuery,$a=i.$,ab=Array.prototype.push,Ba=Array.prototype.slice,Lb=Array.prototype.indexOf,rc=Object.prototype.toString,yb=Object.prototype.hasOwnProperty,zb=String.prototype.trim,d=function(a,b){return new d.fn.init(a,b,ob)},pb=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,
21
- sc=/\S/,Pa=/\s+/,tc=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,uc=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,Mb=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,vc=/^[\],:{}\s]*$/,wc=/(?:^|:|,)(?:\s*\[)+/g,xc=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,yc=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,zc=/^-ms-/,Ac=/-([\da-z])/gi,Bc=function(a,b){return(b+"").toUpperCase()},qb=function(){if(L.addEventListener){L.removeEventListener("DOMContentLoaded",qb,false);d.ready()}else if(L.readyState==="complete"){L.detachEvent("onreadystatechange",
22
- qb);d.ready()}},Nb={};d.fn=d.prototype={constructor:d,init:function(a,b,c){var e;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(typeof a==="string")if((e=a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?[null,a,null]:uc.exec(a))&&(e[1]||!b))if(e[1]){a=(b=b instanceof d?b[0]:b)&&b.nodeType?b.ownerDocument||b:L;a=d.parseHTML(e[1],a,true);Mb.test(e[1])&&d.isPlainObject(b)&&this.attr.call(a,b,true);return d.merge(this,a)}else{if((b=L.getElementById(e[2]))&&
23
- b.parentNode){if(b.id!==e[2])return c.find(a);this.length=1;this[0]=b}this.context=L;this.selector=a;return this}else return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);else if(d.isFunction(a))return c.ready(a);if(a.selector!==s){this.selector=a.selector;this.context=a.context}return d.makeArray(a,this)},selector:"",jquery:"1.8.2",length:0,size:function(){return this.length},toArray:function(){return Ba.call(this)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},
24
- pushStack:function(a,b,c){a=d.merge(this.constructor(),a);a.prevObject=this;a.context=this.context;if(b==="find")a.selector=this.selector+(this.selector?" ":"")+c;else if(b)a.selector=this.selector+"."+b+"("+c+")";return a},each:function(a,b){return d.each(this,a,b)},ready:function(a){d.ready.promise().done(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(Ba.apply(this,
25
- arguments),"slice",Ba.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:ab,sort:[].sort,splice:[].splice};d.fn.init.prototype=d.fn;d.extend=d.fn.extend=function(){var a,b,c,e,f,g=arguments[0]||{},h=1,k=arguments.length,q=false;if(typeof g==="boolean"){q=g;g=arguments[1]||{};h=2}if(typeof g!=="object"&&!d.isFunction(g))g={};if(k===h){g=this;--h}for(;h<k;h++)if((a=arguments[h])!=
26
- null)for(b in a){c=g[b];e=a[b];if(g!==e)if(q&&e&&(d.isPlainObject(e)||(f=d.isArray(e)))){if(f){f=false;c=c&&d.isArray(c)?c:[]}else c=c&&d.isPlainObject(c)?c:{};g[b]=d.extend(q,c,e)}else if(e!==s)g[b]=e}return g};d.extend({noConflict:function(a){if(i.$===d)i.$=$a;if(a&&i.jQuery===d)i.jQuery=hb;return d},isReady:false,readyWait:1,holdReady:function(a){if(a)d.readyWait++;else d.ready(true)},ready:function(a){if(!(a===true?--d.readyWait:d.isReady)){if(!L.body)return setTimeout(d.ready,1);d.isReady=true;
27
- if(!(a!==true&&--d.readyWait>0)){ja.resolveWith(L,[d]);d.fn.trigger&&d(L).trigger("ready").off("ready")}}},isFunction:function(a){return d.type(a)==="function"},isArray:Array.isArray||function(a){return d.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):Nb[rc.call(a)]||"object"},isPlainObject:function(a){if(!a||d.type(a)!=="object"||a.nodeType||d.isWindow(a))return false;try{if(a.constructor&&
28
- !yb.call(a,"constructor")&&!yb.call(a.constructor.prototype,"isPrototypeOf"))return false}catch(b){return false}var c;for(c in a);return c===s||yb.call(a,c)},isEmptyObject:function(a){var b;for(b in a)return false;return true},error:function(a){throw Error(a);},parseHTML:function(a,b,c){var e;if(!a||typeof a!=="string")return null;if(typeof b==="boolean"){c=b;b=0}b=b||L;if(e=Mb.exec(a))return[b.createElement(e[1])];e=d.buildFragment([a],b,c?null:[]);return d.merge([],(e.cacheable?d.clone(e.fragment):
29
- e.fragment).childNodes)},parseJSON:function(a){if(!a||typeof a!=="string")return null;a=d.trim(a);if(i.JSON&&i.JSON.parse)return i.JSON.parse(a);if(vc.test(a.replace(xc,"@").replace(yc,"]").replace(wc,"")))return(new Function("return "+a))();d.error("Invalid JSON: "+a)},parseXML:function(a){var b,c;if(!a||typeof a!=="string")return null;try{if(i.DOMParser){c=new DOMParser;b=c.parseFromString(a,"text/xml")}else{b=new ActiveXObject("Microsoft.XMLDOM");b.async="false";b.loadXML(a)}}catch(e){b=s}if(!b||
30
- !b.documentElement||b.getElementsByTagName("parsererror").length)d.error("Invalid XML: "+a);return b},noop:function(){},globalEval:function(a){if(a&&sc.test(a))(i.execScript||function(b){i.eval.call(i,b)})(a)},camelCase:function(a){return a.replace(zc,"ms-").replace(Ac,Bc)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var e,f=0,g=a.length,h=g===s||d.isFunction(a);if(c)if(h)for(e in a){if(b.apply(a[e],c)===false)break}else for(;f<g;){if(b.apply(a[f++],
31
- c)===false)break}else if(h)for(e in a){if(b.call(a[e],e,a[e])===false)break}else for(;f<g;)if(b.call(a[f],f,a[f++])===false)break;return a},trim:zb&&!zb.call("\ufeff\u00a0")?function(a){return a==null?"":zb.call(a)}:function(a){return a==null?"":(a+"").replace(tc,"")},makeArray:function(a,b){var c,e=b||[];if(a!=null){c=d.type(a);a.length==null||c==="string"||c==="function"||c==="regexp"||d.isWindow(a)?ab.call(e,a):d.merge(e,a)}return e},inArray:function(a,b,c){var e;if(b){if(Lb)return Lb.call(b,a,
32
- c);e=b.length;for(c=c?c<0?Math.max(0,e+c):c:0;c<e;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=b.length,e=a.length,f=0;if(typeof c==="number")for(;f<c;f++)a[e++]=b[f];else for(;b[f]!==s;)a[e++]=b[f++];a.length=e;return a},grep:function(a,b,c){var e,f=[],g=0,h=a.length;for(c=!!c;g<h;g++){e=!!b(a[g],g);c!==e&&f.push(a[g])}return f},map:function(a,b,c){var e,f,g=[],h=0,k=a.length;if(a instanceof d||k!==s&&typeof k==="number"&&(k>0&&a[0]&&a[k-1]||k===0||d.isArray(a)))for(;h<k;h++){e=
33
- b(a[h],h,c);if(e!=null)g[g.length]=e}else for(f in a){e=b(a[f],f,c);if(e!=null)g[g.length]=e}return g.concat.apply([],g)},guid:1,proxy:function(a,b){var c,e;if(typeof b==="string"){c=a[b];b=a;a=c}if(!d.isFunction(a))return s;e=Ba.call(arguments,2);c=function(){return a.apply(b,e.concat(Ba.call(arguments)))};c.guid=a.guid=a.guid||d.guid++;return c},access:function(a,b,c,e,f,g,h){var k,q=c==null,u=0,w=a.length;if(c&&typeof c==="object"){for(u in c)d.access(a,b,u,c[u],1,g,e);f=1}else if(e!==s){k=h===
34
- s&&d.isFunction(e);if(q)if(k){k=b;b=function(t,I,P){return k.call(d(t),P)}}else{b.call(a,e);b=null}if(b)for(;u<w;u++)b(a[u],c,k?e.call(a[u],u,b(a[u],c)):e,h);f=1}return f?a:q?b.call(a):w?b(a[0],c):g},now:function(){return(new Date).getTime()}});d.ready.promise=function(a){if(!ja){ja=d.Deferred();if(L.readyState==="complete")setTimeout(d.ready,1);else if(L.addEventListener){L.addEventListener("DOMContentLoaded",qb,false);i.addEventListener("load",d.ready,false)}else{L.attachEvent("onreadystatechange",
35
- qb);i.attachEvent("onload",d.ready);var b=false;try{b=i.frameElement==null&&L.documentElement}catch(c){}b&&b.doScroll&&function e(){if(!d.isReady){try{b.doScroll("left")}catch(f){return setTimeout(e,50)}d.ready()}}()}}return ja.promise(a)};d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){Nb["[object "+b+"]"]=b.toLowerCase()});ob=d(L);var Hb={};d.Callbacks=function(a){a=typeof a==="string"?Hb[a]||l(a):d.extend({},a);var b,c,e,f,g,h,k=[],q=!a.once&&[],u=function(t){b=
36
- a.memory&&t;c=true;h=f||0;f=0;g=k.length;for(e=true;k&&h<g;h++)if(k[h].apply(t[0],t[1])===false&&a.stopOnFalse){b=false;break}e=false;if(k)if(q)q.length&&u(q.shift());else if(b)k=[];else w.disable()},w={add:function(){if(k){var t=k.length;(function I(P){d.each(P,function(Z,ma){var Ga=d.type(ma);if(Ga==="function"&&(!a.unique||!w.has(ma)))k.push(ma);else ma&&ma.length&&Ga!=="string"&&I(ma)})})(arguments);if(e)g=k.length;else if(b){f=t;u(b)}}return this},remove:function(){k&&d.each(arguments,function(t,
37
- I){for(var P;(P=d.inArray(I,k,P))>-1;){k.splice(P,1);if(e){P<=g&&g--;P<=h&&h--}}});return this},has:function(t){return d.inArray(t,k)>-1},empty:function(){k=[];return this},disable:function(){k=q=b=s;return this},disabled:function(){return!k},lock:function(){q=s;b||w.disable();return this},locked:function(){return!q},fireWith:function(t,I){I=I||[];I=[t,I.slice?I.slice():I];if(k&&(!c||q))e?q.push(I):u(I);return this},fire:function(){w.fireWith(this,arguments);return this},fired:function(){return!!c}};
38
- return w};d.extend({Deferred:function(a){var b=[["resolve","done",d.Callbacks("once memory"),"resolved"],["reject","fail",d.Callbacks("once memory"),"rejected"],["notify","progress",d.Callbacks("memory")]],c="pending",e={state:function(){return c},always:function(){f.done(arguments).fail(arguments);return this},then:function(){var g=arguments;return d.Deferred(function(h){d.each(b,function(k,q){var u=q[0],w=g[k];f[q[1]](d.isFunction(w)?function(){var t=w.apply(this,arguments);t&&d.isFunction(t.promise)?
39
- t.promise().done(h.resolve).fail(h.reject).progress(h.notify):h[u+"With"](this===f?h:this,[t])}:h[u])});g=null}).promise()},promise:function(g){return g!=null?d.extend(g,e):e}},f={};e.pipe=e.then;d.each(b,function(g,h){var k=h[2],q=h[3];e[h[1]]=k.add;q&&k.add(function(){c=q},b[g^1][2].disable,b[2][2].lock);f[h[0]]=k.fire;f[h[0]+"With"]=k.fireWith});e.promise(f);a&&a.call(f,f);return f},when:function(a){var b=0,c=Ba.call(arguments),e=c.length,f=e!==1||a&&d.isFunction(a.promise)?e:0,g=f===1?a:d.Deferred(),
40
- h=function(w,t,I){return function(P){t[w]=this;I[w]=arguments.length>1?Ba.call(arguments):P;if(I===k)g.notifyWith(t,I);else--f||g.resolveWith(t,I)}},k,q,u;if(e>1){k=Array(e);q=Array(e);for(u=Array(e);b<e;b++)if(c[b]&&d.isFunction(c[b].promise))c[b].promise().done(h(b,u,c)).fail(g.reject).progress(h(b,q,k));else--f}f||g.resolveWith(u,c);return g.promise()}});d.support=function(){var a,b,c,e,f,g,h,k=L.createElement("div");k.setAttribute("className","t");k.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
41
- b=k.getElementsByTagName("*");c=k.getElementsByTagName("a")[0];c.style.cssText="top:1px;float:left;opacity:.5";if(!b||!b.length)return{};e=L.createElement("select");f=e.appendChild(L.createElement("option"));b=k.getElementsByTagName("input")[0];a={leadingWhitespace:k.firstChild.nodeType===3,tbody:!k.getElementsByTagName("tbody").length,htmlSerialize:!!k.getElementsByTagName("link").length,style:/top/.test(c.getAttribute("style")),hrefNormalized:c.getAttribute("href")==="/a",opacity:/^0.5/.test(c.style.opacity),
42
- cssFloat:!!c.style.cssFloat,checkOn:b.value==="on",optSelected:f.selected,getSetAttribute:k.className!=="t",enctype:!!L.createElement("form").enctype,html5Clone:L.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",boxModel:L.compatMode==="CSS1Compat",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true,boxSizingReliable:true,pixelPosition:false};b.checked=true;a.noCloneChecked=
43
- b.cloneNode(true).checked;e.disabled=true;a.optDisabled=!f.disabled;try{delete k.test}catch(q){a.deleteExpando=false}if(!k.addEventListener&&k.attachEvent&&k.fireEvent){k.attachEvent("onclick",c=function(){a.noCloneEvent=false});k.cloneNode(true).fireEvent("onclick");k.detachEvent("onclick",c)}b=L.createElement("input");b.value="t";b.setAttribute("type","radio");a.radioValue=b.value==="t";b.setAttribute("checked","checked");b.setAttribute("name","t");k.appendChild(b);c=L.createDocumentFragment();
44
- c.appendChild(k.lastChild);a.checkClone=c.cloneNode(true).cloneNode(true).lastChild.checked;a.appendChecked=b.checked;c.removeChild(b);c.appendChild(k);if(k.attachEvent)for(g in{submit:true,change:true,focusin:true}){b="on"+g;h=b in k;if(!h){k.setAttribute(b,"return;");h=typeof k[b]==="function"}a[g+"Bubbles"]=h}d(function(){var u,w,t,I=L.getElementsByTagName("body")[0];if(I){u=L.createElement("div");u.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px";
45
- I.insertBefore(u,I.firstChild);w=L.createElement("div");u.appendChild(w);w.innerHTML="<table><tr><td></td><td>t</td></tr></table>";t=w.getElementsByTagName("td");t[0].style.cssText="padding:0;margin:0;border:0;display:none";h=t[0].offsetHeight===0;t[0].style.display="";t[1].style.display="none";a.reliableHiddenOffsets=h&&t[0].offsetHeight===0;w.innerHTML="";w.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;";
46
- a.boxSizing=w.offsetWidth===4;a.doesNotIncludeMarginInBodyOffset=I.offsetTop!==1;if(i.getComputedStyle){a.pixelPosition=(i.getComputedStyle(w,null)||{}).top!=="1%";a.boxSizingReliable=(i.getComputedStyle(w,null)||{width:"4px"}).width==="4px";t=L.createElement("div");t.style.cssText=w.style.cssText="padding:0;margin:0;border:0;display:block;overflow:hidden;";t.style.marginRight=t.style.width="0";w.style.width="1px";w.appendChild(t);a.reliableMarginRight=!parseFloat((i.getComputedStyle(t,null)||{}).marginRight)}if(typeof w.style.zoom!==
47
- "undefined"){w.innerHTML="";w.style.cssText="padding:0;margin:0;border:0;display:block;overflow:hidden;width:1px;padding:1px;display:inline;zoom:1";a.inlineBlockNeedsLayout=w.offsetWidth===3;w.style.display="block";w.style.overflow="visible";w.innerHTML="<div></div>";w.firstChild.style.width="5px";a.shrinkWrapBlocks=w.offsetWidth!==3;u.style.zoom=1}I.removeChild(u)}});c.removeChild(k);b=c=e=f=b=c=k=null;return a}();var nc=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,mc=/([A-Z])/g;d.extend({cache:{},deletedIds:[],
48
- uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!A(a)},data:function(a,b,c,e){if(d.acceptData(a)){var f=d.expando,g=typeof b==="string",h=a.nodeType,k=h?d.cache:a,q=h?a[f]:a[f]&&f;if(!((!q||!k[q]||!e&&!k[q].data)&&g&&c===s)){if(!q)if(h)a[f]=q=d.deletedIds.pop()||d.guid++;else q=f;if(!k[q]){k[q]={};if(!h)k[q].toJSON=
49
- d.noop}if(typeof b==="object"||typeof b==="function")if(e)k[q]=d.extend(k[q],b);else k[q].data=d.extend(k[q].data,b);a=k[q];if(!e){if(!a.data)a.data={};a=a.data}if(c!==s)a[d.camelCase(b)]=c;if(g){c=a[b];if(c==null)c=a[d.camelCase(b)]}else c=a;return c}}},removeData:function(a,b,c){if(d.acceptData(a)){var e,f,g,h=a.nodeType,k=h?d.cache:a,q=h?a[d.expando]:d.expando;if(k[q]){if(b)if(e=c?k[q]:k[q].data){if(!d.isArray(b))if(b in e)b=[b];else{b=d.camelCase(b);b=b in e?[b]:b.split(" ")}f=0;for(g=b.length;f<
50
- g;f++)delete e[b[f]];if(!(c?A:d.isEmptyObject)(e))return}if(!c){delete k[q].data;if(!A(k[q]))return}if(h)d.cleanData([a],true);else if(d.support.deleteExpando||k!=k.window)delete k[q];else k[q]=null}}},_data:function(a,b,c){return d.data(a,b,c,true)},acceptData:function(a){var b=a.nodeName&&d.noData[a.nodeName.toLowerCase()];return!b||b!==true&&a.getAttribute("classid")===b}});d.fn.extend({data:function(a,b){var c,e,f,g,h,k=this[0],q=0,u=null;if(a===s){if(this.length){u=d.data(k);if(k.nodeType===
51
- 1&&!d._data(k,"parsedAttrs")){f=k.attributes;for(h=f.length;q<h;q++){g=f[q].name;if(!g.indexOf("data-")){g=d.camelCase(g.substring(5));r(k,g,u[g])}}d._data(k,"parsedAttrs",true)}}return u}if(typeof a==="object")return this.each(function(){d.data(this,a)});c=a.split(".",2);c[1]=c[1]?"."+c[1]:"";e=c[1]+"!";return d.access(this,function(w){if(w===s){u=this.triggerHandler("getData"+e,[c[0]]);if(u===s&&k){u=d.data(k,a);u=r(k,a,u)}return u===s&&c[1]?this.data(c[0]):u}c[1]=w;this.each(function(){var t=d(this);
52
- t.triggerHandler("setData"+e,c);d.data(this,a,w);t.triggerHandler("changeData"+e,c)})},null,b,arguments.length>1,null,false)},removeData:function(a){return this.each(function(){d.removeData(this,a)})}});d.extend({queue:function(a,b,c){var e;if(a){b=(b||"fx")+"queue";e=d._data(a,b);if(c)if(!e||d.isArray(c))e=d._data(a,b,d.makeArray(c));else e.push(c);return e||[]}},dequeue:function(a,b){b=b||"fx";var c=d.queue(a,b),e=c.length,f=c.shift(),g=d._queueHooks(a,b),h=function(){d.dequeue(a,b)};if(f==="inprogress"){f=
53
- c.shift();e--}if(f){b==="fx"&&c.unshift("inprogress");delete g.stop;f.call(a,h,g)}!e&&g&&g.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return d._data(a,c)||d._data(a,c,{empty:d.Callbacks("once memory").add(function(){d.removeData(a,b+"queue",true);d.removeData(a,c,true)})})}});d.fn.extend({queue:function(a,b){var c=2;if(typeof a!=="string"){b=a;a="fx";c--}if(arguments.length<c)return d.queue(this[0],a);return b===s?this:this.each(function(){var e=d.queue(this,a,b);d._queueHooks(this,
54
- a);a==="fx"&&e[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){a=d.fx?d.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(c,e){var f=setTimeout(c,a);e.stop=function(){clearTimeout(f)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,e=1,f=d.Deferred(),g=this,h=this.length,k=function(){--e||f.resolveWith(g,[g])};if(typeof a!=="string"){b=a;a=s}for(a=a||"fx";h--;)if((c=d._data(g[h],
55
- a+"queueHooks"))&&c.empty){e++;c.empty.add(k)}k();return f.promise(b)}});var Ma,Ob,Pb,Qb=/[\t\r\n]/g,Cc=/\r/g,Dc=/^(?:button|input)$/i,Ec=/^(?:button|input|object|select|textarea)$/i,Fc=/^a(?:rea|)$/i,Rb=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Sb=d.support.getSetAttribute;d.fn.extend({attr:function(a,b){return d.access(this,d.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){d.removeAttr(this,
56
- a)})},prop:function(a,b){return d.access(this,d.prop,a,b,arguments.length>1)},removeProp:function(a){a=d.propFix[a]||a;return this.each(function(){try{this[a]=s;delete this[a]}catch(b){}})},addClass:function(a){var b,c,e,f,g,h,k;if(d.isFunction(a))return this.each(function(q){d(this).addClass(a.call(this,q,this.className))});if(a&&typeof a==="string"){b=a.split(Pa);c=0;for(e=this.length;c<e;c++){f=this[c];if(f.nodeType===1)if(!f.className&&b.length===1)f.className=a;else{g=" "+f.className+" ";h=0;
57
- for(k=b.length;h<k;h++)if(g.indexOf(" "+b[h]+" ")<0)g+=b[h]+" ";f.className=d.trim(g)}}}return this},removeClass:function(a){var b,c,e,f,g,h,k;if(d.isFunction(a))return this.each(function(q){d(this).removeClass(a.call(this,q,this.className))});if(a&&typeof a==="string"||a===s){b=(a||"").split(Pa);h=0;for(k=this.length;h<k;h++){e=this[h];if(e.nodeType===1&&e.className){c=(" "+e.className+" ").replace(Qb," ");f=0;for(g=b.length;f<g;f++)for(;c.indexOf(" "+b[f]+" ")>=0;)c=c.replace(" "+b[f]+" "," ");
58
- e.className=a?d.trim(c):""}}}return this},toggleClass:function(a,b){var c=typeof a,e=typeof b==="boolean";if(d.isFunction(a))return this.each(function(f){d(this).toggleClass(a.call(this,f,this.className,b),b)});return this.each(function(){if(c==="string")for(var f,g=0,h=d(this),k=b,q=a.split(Pa);f=q[g++];){k=e?k:!h.hasClass(f);h[k?"addClass":"removeClass"](f)}else if(c==="undefined"||c==="boolean"){this.className&&d._data(this,"__className__",this.className);this.className=this.className||a===false?
59
- "":d._data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,c=this.length;b<c;b++)if(this[b].nodeType===1&&(" "+this[b].className+" ").replace(Qb," ").indexOf(a)>=0)return true;return false},val:function(a){var b,c,e,f=this[0];if(arguments.length){e=d.isFunction(a);return this.each(function(g){var h=d(this);if(this.nodeType===1){g=e?a.call(this,g,h.val()):a;if(g==null)g="";else if(typeof g==="number")g+="";else if(d.isArray(g))g=d.map(g,function(k){return k==null?"":k+""});
60
- b=d.valHooks[this.type]||d.valHooks[this.nodeName.toLowerCase()];if(!b||!("set"in b)||b.set(this,g,"value")===s)this.value=g}})}else if(f){if((b=d.valHooks[f.type]||d.valHooks[f.nodeName.toLowerCase()])&&"get"in b&&(c=b.get(f,"value"))!==s)return c;c=f.value;return typeof c==="string"?c.replace(Cc,""):c==null?"":c}}});d.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,e=a.selectedIndex,f=[],g=a.options,h=a.type===
61
- "select-one";if(e<0)return null;a=h?e:0;for(c=h?e+1:g.length;a<c;a++){b=g[a];if(b.selected&&(d.support.optDisabled?!b.disabled:b.getAttribute("disabled")===null)&&(!b.parentNode.disabled||!d.nodeName(b.parentNode,"optgroup"))){b=d(b).val();if(h)return b;f.push(b)}}if(h&&!f.length&&g.length)return d(g[e]).val();return f},set:function(a,b){var c=d.makeArray(b);d(a).find("option").each(function(){this.selected=d.inArray(d(this).val(),c)>=0});if(!c.length)a.selectedIndex=-1;return c}}},attrFn:{},attr:function(a,
62
- b,c,e){var f,g,h=a.nodeType;if(!(!a||h===3||h===8||h===2)){if(e&&d.isFunction(d.fn[b]))return d(a)[b](c);if(typeof a.getAttribute==="undefined")return d.prop(a,b,c);if(e=h!==1||!d.isXMLDoc(a)){b=b.toLowerCase();g=d.attrHooks[b]||(Rb.test(b)?Ob:Ma)}if(c!==s)if(c===null)d.removeAttr(a,b);else if(g&&"set"in g&&e&&(f=g.set(a,c,b))!==s)return f;else{a.setAttribute(b,c+"");return c}else if(g&&"get"in g&&e&&(f=g.get(a,b))!==null)return f;else{f=a.getAttribute(b);return f===null?s:f}}},removeAttr:function(a,
63
- b){var c,e,f,g,h=0;if(b&&a.nodeType===1)for(e=b.split(Pa);h<e.length;h++)if(f=e[h]){c=d.propFix[f]||f;(g=Rb.test(f))||d.attr(a,f,"");a.removeAttribute(Sb?f:c);if(g&&c in a)a[c]=false}},attrHooks:{type:{set:function(a,b){if(Dc.test(a.nodeName)&&a.parentNode)d.error("type property can't be changed");else if(!d.support.radioValue&&b==="radio"&&d.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b);if(c)a.value=c;return b}}},value:{get:function(a,b){if(Ma&&d.nodeName(a,"button"))return Ma.get(a,
64
- b);return b in a?a.value:null},set:function(a,b,c){if(Ma&&d.nodeName(a,"button"))return Ma.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,b,c){var e,f,g=a.nodeType;if(!(!a||g===3||g===8||g===2)){if(g!==1||!d.isXMLDoc(a)){b=d.propFix[b]||
65
- b;f=d.propHooks[b]}return c!==s?f&&"set"in f&&(e=f.set(a,c,b))!==s?e:a[b]=c:f&&"get"in f&&(e=f.get(a,b))!==null?e:a[b]}},propHooks:{tabIndex:{get:function(a){var b=a.getAttributeNode("tabindex");return b&&b.specified?parseInt(b.value,10):Ec.test(a.nodeName)||Fc.test(a.nodeName)&&a.href?0:s}}}});Ob={get:function(a,b){var c,e=d.prop(a,b);return e===true||typeof e!=="boolean"&&(c=a.getAttributeNode(b))&&c.nodeValue!==false?b.toLowerCase():s},set:function(a,b,c){if(b===false)d.removeAttr(a,c);else{b=
66
- d.propFix[c]||c;if(b in a)a[b]=true;a.setAttribute(c,c.toLowerCase())}return c}};if(!Sb){Pb={name:true,id:true,coords:true};Ma=d.valHooks.button={get:function(a,b){var c;return(c=a.getAttributeNode(b))&&(Pb[b]?c.value!=="":c.specified)?c.value:s},set:function(a,b,c){var e=a.getAttributeNode(c);if(!e){e=L.createAttribute(c);a.setAttributeNode(e)}return e.value=b+""}};d.each(["width","height"],function(a,b){d.attrHooks[b]=d.extend(d.attrHooks[b],{set:function(c,e){if(e===""){c.setAttribute(b,"auto");
67
- return e}}})});d.attrHooks.contenteditable={get:Ma.get,set:function(a,b,c){if(b==="")b="false";Ma.set(a,b,c)}}}d.support.hrefNormalized||d.each(["href","src","width","height"],function(a,b){d.attrHooks[b]=d.extend(d.attrHooks[b],{get:function(c){c=c.getAttribute(b,2);return c===null?s:c}})});if(!d.support.style)d.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||s},set:function(a,b){return a.style.cssText=b+""}};if(!d.support.optSelected)d.propHooks.selected=d.extend(d.propHooks.selected,
2
+ (function(){function i(H){return H<10?"0"+H:H}function v(H){z.lastIndex=0;return z.test(H)?'"'+H.replace(z,function(K){var R=x[K];return typeof R==="string"?R:"\\u"+("0000"+K.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+H+'"'}function n(H,K){var R,g,S,D,G=r,k,p=K[H];if(p&&typeof p==="object"&&typeof p.toJSON==="function")p=p.toJSON(H);if(typeof E==="function")p=E.call(K,H,p);switch(typeof p){case "string":return v(p);case "number":return isFinite(p)?String(p):"null";case "boolean":case "null":return String(p);
3
+ case "object":if(!p)return"null";r+=o;k=[];if(Object.prototype.toString.apply(p)==="[object Array]"){D=p.length;for(R=0;R<D;R+=1)k[R]=n(R,p)||"null";S=k.length===0?"[]":r?"[\n"+r+k.join(",\n"+r)+"\n"+G+"]":"["+k.join(",")+"]";r=G;return S}if(E&&typeof E==="object"){D=E.length;for(R=0;R<D;R+=1)if(typeof E[R]==="string"){g=E[R];if(S=n(g,p))k.push(v(g)+(r?": ":":")+S)}}else for(g in p)if(Object.prototype.hasOwnProperty.call(p,g))if(S=n(g,p))k.push(v(g)+(r?": ":":")+S);S=k.length===0?"{}":r?"{\n"+r+k.join(",\n"+
4
+ r)+"\n"+G+"}":"{"+k.join(",")+"}";r=G;return S}}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+i(this.getUTCMonth()+1)+"-"+i(this.getUTCDate())+"T"+i(this.getUTCHours())+":"+i(this.getUTCMinutes())+":"+i(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}}var s=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
5
+ z=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,r,o,x={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},E;if(typeof JSON.stringify!=="function")JSON.stringify=function(H,K,R){var g;o=r="";if(typeof R==="number")for(g=0;g<R;g+=1)o+=" ";else if(typeof R==="string")o=R;if((E=K)&&typeof K!=="function"&&(typeof K!=="object"||typeof K.length!=="number"))throw Error("JSON.stringify");return n("",
6
+ {"":H})};if(typeof JSON.parse!=="function")JSON.parse=function(H,K){function R(S,D){var G,k,p=S[D];if(p&&typeof p==="object")for(G in p)if(Object.prototype.hasOwnProperty.call(p,G)){k=R(p,G);if(k!==undefined)p[G]=k;else delete p[G]}return K.call(S,D,p)}var g;H=String(H);s.lastIndex=0;if(s.test(H))H=H.replace(s,function(S){return"\\u"+("0000"+S.charCodeAt(0).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(H.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
7
+ "]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){g=eval("("+H+")");return typeof K==="function"?R({"":g},""):g}throw new SyntaxError("JSON.parse");}})();(function(i,v){function n(a){var b=Hb[a]={};d.each(a.split(Pa),function(c,e){b[e]=true});return b}function s(a,b,c){if(c===v&&a.nodeType===1){c="data-"+b.replace(mc,"-$1").toLowerCase();c=a.getAttribute(c);if(typeof c==="string"){try{c=c==="true"?true:c==="false"?false:c==="null"?null:+c+""===c?+c:nc.test(c)?d.parseJSON(c):c}catch(e){}d.data(a,b,c)}else c=v}return c}function z(a){var b;for(b in a)if(!(b==="data"&&d.isEmptyObject(a[b])))if(b!=="toJSON")return false;return true}function r(){return false}
8
+ function o(){return true}function x(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function E(a,b){do a=a[b];while(a&&a.nodeType!==1);return a}function H(a,b,c){b=b||0;if(d.isFunction(b))return d.grep(a,function(f,h){return!!b.call(f,h,f)===c});else if(b.nodeType)return d.grep(a,function(f){return f===b===c});else if(typeof b==="string"){var e=d.grep(a,function(f){return f.nodeType===1});if(oc.test(b))return d.filter(b,e,!c);else b=d.filter(b,e)}return d.grep(a,function(f){return d.inArray(f,
9
+ b)>=0===c})}function K(a){var b=Ib.split("|");a=a.createDocumentFragment();if(a.createElement)for(;b.length;)a.createElement(b.pop());return a}function R(a,b){if(!(b.nodeType!==1||!d.hasData(a))){var c,e,f;e=d._data(a);var h=d._data(b,e),j=e.events;if(j){delete h.handle;h.events={};for(c in j){e=0;for(f=j[c].length;e<f;e++)d.event.add(b,c,j[c][e])}}if(h.data)h.data=d.extend({},h.data)}}function g(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes();b.mergeAttributes&&b.mergeAttributes(a);
10
+ c=b.nodeName.toLowerCase();if(c==="object"){if(b.parentNode)b.outerHTML=a.outerHTML;if(d.support.html5Clone&&a.innerHTML&&!d.trim(b.innerHTML))b.innerHTML=a.innerHTML}else if(c==="input"&&Jb.test(a.type)){b.defaultChecked=b.checked=a.checked;if(b.value!==a.value)b.value=a.value}else if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue;else if(c==="script"&&b.text!==a.text)b.text=a.text;b.removeAttribute(d.expando)}}function S(a){return typeof a.getElementsByTagName!==
11
+ "undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!=="undefined"?a.querySelectorAll("*"):[]}function D(a){if(Jb.test(a.type))a.defaultChecked=a.checked}function G(a,b){if(b in a)return b;for(var c=b.charAt(0).toUpperCase()+b.slice(1),e=b,f=Kb.length;f--;){b=Kb[f]+c;if(b in a)return b}return e}function k(a,b){a=b||a;return d.css(a,"display")==="none"||!d.contains(a.ownerDocument,a)}function p(a,b){for(var c,e,f=[],h=0,j=a.length;h<j;h++){c=a[h];if(c.style){f[h]=d._data(c,"olddisplay");
12
+ if(b){if(!f[h]&&c.style.display==="none")c.style.display="";if(c.style.display===""&&k(c))f[h]=d._data(c,"olddisplay",oa(c.nodeName))}else{e=ya(c,"display");!f[h]&&e!=="none"&&d._data(c,"olddisplay",e)}}}for(h=0;h<j;h++){c=a[h];if(c.style)if(!b||c.style.display==="none"||c.style.display==="")c.style.display=b?f[h]||"":"none"}return a}function C(a,b,c){return(a=pc.exec(b))?Math.max(0,a[1]-(c||0))+(a[2]||"px"):b}function O(a,b,c,e){b=c===(e?"border":"content")?4:b==="width"?1:0;for(var f=0;b<4;b+=2){if(c===
13
+ "margin")f+=d.css(a,c+Qa[b],true);if(e){if(c==="content")f-=parseFloat(ya(a,"padding"+Qa[b]))||0;if(c!=="margin")f-=parseFloat(ya(a,"border"+Qa[b]+"Width"))||0}else{f+=parseFloat(ya(a,"padding"+Qa[b]))||0;if(c!=="padding")f+=parseFloat(ya(a,"border"+Qa[b]+"Width"))||0}}return f}function P(a,b,c){var e=b==="width"?a.offsetWidth:a.offsetHeight,f=true,h=d.support.boxSizing&&d.css(a,"boxSizing")==="border-box";if(e<=0||e==null){e=ya(a,b);if(e<0||e==null)e=a.style[b];if(kb.test(e))return e;f=h&&(d.support.boxSizingReliable||
14
+ e===a.style[b]);e=parseFloat(e)||0}return e+O(a,b,c||(h?"border":"content"),f)+"px"}function oa(a){if(wb[a])return wb[a];var b=d("<"+a+">").appendTo(Q.body),c=b.css("display");b.remove();if(c==="none"||c===""){Wa=Q.body.appendChild(Wa||d.extend(Q.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!Xa||!Wa.createElement){Xa=(Wa.contentWindow||Wa.contentDocument).document;Xa.write("<!doctype html><html><body>");Xa.close()}b=Xa.body.appendChild(Xa.createElement(a));c=ya(b,"display");Q.body.removeChild(Wa)}return wb[a]=
15
+ c}function ma(a,b,c,e){var f;if(d.isArray(b))d.each(b,function(h,j){c||qc.test(a)?e(a,j):ma(a+"["+(typeof j==="object"?h:"")+"]",j,c,e)});else if(!c&&d.type(b)==="object")for(f in b)ma(a+"["+f+"]",b[f],c,e);else e(a,b)}function la(a){return function(b,c){if(typeof b!=="string"){c=b;b="*"}var e,f,h=b.toLowerCase().split(Pa),j=0,m=h.length;if(d.isFunction(c))for(;j<m;j++){e=h[j];if(f=/^\+/.test(e))e=e.substr(1)||"*";e=a[e]=a[e]||[];e[f?"unshift":"push"](c)}}}function Ha(a,b,c,e,f,h){f=f||b.dataTypes[0];
16
+ h=h||{};h[f]=true;var j;f=a[f];for(var m=0,u=f?f.length:0,y=a===xb;m<u&&(y||!j);m++){j=f[m](b,c,e);if(typeof j==="string")if(!y||h[j])j=v;else{b.dataTypes.unshift(j);j=Ha(a,b,c,e,j,h)}}if((y||!j)&&!h["*"])j=Ha(a,b,c,e,"*",h);return j}function Ya(a,b){var c,e,f=d.ajaxSettings.flatOptions||{};for(c in b)if(b[c]!==v)(f[c]?a:e||(e={}))[c]=b[c];e&&d.extend(true,a,e)}function ia(){try{return new i.XMLHttpRequest}catch(a){}}function Ja(){setTimeout(function(){lb=v},0);return lb=d.now()}function Ba(a,b){d.each(b,
17
+ function(c,e){for(var f=(gb[c]||[]).concat(gb["*"]),h=0,j=f.length;h<j;h++)if(f[h].call(a,c,e))return})}function Ia(a,b,c){var e=0,f=mb.length,h=d.Deferred().always(function(){delete j.elem}),j=function(){var u=lb||Ja();u=Math.max(0,m.startTime+m.duration-u);for(var y=1-(u/m.duration||0),A=0,w=m.tweens.length;A<w;A++)m.tweens[A].run(y);h.notifyWith(a,[m,y,u]);if(y<1&&w)return u;else{h.resolveWith(a,[m]);return false}},m=h.promise({elem:a,props:d.extend({},b),opts:d.extend(true,{specialEasing:{}},
18
+ c),originalProperties:b,originalOptions:c,startTime:lb||Ja(),duration:c.duration,tweens:[],createTween:function(u,y){var A=d.Tween(a,m.opts,u,y,m.opts.specialEasing[u]||m.opts.easing);m.tweens.push(A);return A},stop:function(u){for(var y=0,A=u?m.tweens.length:0;y<A;y++)m.tweens[y].run(1);u?h.resolveWith(a,[m,u]):h.rejectWith(a,[m,u]);return this}});c=m.props;for(Ka(c,m.opts.specialEasing);e<f;e++)if(b=mb[e].call(m,a,c,m.opts))return b;Ba(m,c);d.isFunction(m.opts.start)&&m.opts.start.call(a,m);d.fx.timer(d.extend(j,
19
+ {anim:m,queue:m.opts.queue,elem:a}));return m.progress(m.opts.progress).done(m.opts.done,m.opts.complete).fail(m.opts.fail).always(m.opts.always)}function Ka(a,b){var c,e,f,h,j;for(c in a){e=d.camelCase(c);f=b[e];h=a[c];if(d.isArray(h)){f=h[1];h=a[c]=h[0]}if(c!==e){a[e]=h;delete a[c]}if((j=d.cssHooks[e])&&"expand"in j){h=j.expand(h);delete a[e];for(c in h)if(!(c in a)){a[c]=h[c];b[c]=f}}else b[e]=f}}function sa(a,b,c,e,f){return new sa.prototype.init(a,b,c,e,f)}function Ra(a,b){var c,e={height:a},
20
+ f=0;for(b=b?1:0;f<4;f+=2-b){c=Qa[f];e["margin"+c]=e["padding"+c]=a}if(b)e.opacity=e.width=a;return e}function nb(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var ob,ja,Q=i.document,Za=i.location,La=i.navigator,hb=i.jQuery,$a=i.$,ab=Array.prototype.push,Ca=Array.prototype.slice,Lb=Array.prototype.indexOf,rc=Object.prototype.toString,yb=Object.prototype.hasOwnProperty,zb=String.prototype.trim,d=function(a,b){return new d.fn.init(a,b,ob)},pb=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,
21
+ sc=/\S/,Pa=/\s+/,tc=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,uc=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,Mb=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,vc=/^[\],:{}\s]*$/,wc=/(?:^|:|,)(?:\s*\[)+/g,xc=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,yc=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,zc=/^-ms-/,Ac=/-([\da-z])/gi,Bc=function(a,b){return(b+"").toUpperCase()},qb=function(){if(Q.addEventListener){Q.removeEventListener("DOMContentLoaded",qb,false);d.ready()}else if(Q.readyState==="complete"){Q.detachEvent("onreadystatechange",
22
+ qb);d.ready()}},Nb={};d.fn=d.prototype={constructor:d,init:function(a,b,c){var e;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(typeof a==="string")if((e=a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?[null,a,null]:uc.exec(a))&&(e[1]||!b))if(e[1]){a=(b=b instanceof d?b[0]:b)&&b.nodeType?b.ownerDocument||b:Q;a=d.parseHTML(e[1],a,true);Mb.test(e[1])&&d.isPlainObject(b)&&this.attr.call(a,b,true);return d.merge(this,a)}else{if((b=Q.getElementById(e[2]))&&
23
+ b.parentNode){if(b.id!==e[2])return c.find(a);this.length=1;this[0]=b}this.context=Q;this.selector=a;return this}else return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);else if(d.isFunction(a))return c.ready(a);if(a.selector!==v){this.selector=a.selector;this.context=a.context}return d.makeArray(a,this)},selector:"",jquery:"1.8.2",length:0,size:function(){return this.length},toArray:function(){return Ca.call(this)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},
24
+ pushStack:function(a,b,c){a=d.merge(this.constructor(),a);a.prevObject=this;a.context=this.context;if(b==="find")a.selector=this.selector+(this.selector?" ":"")+c;else if(b)a.selector=this.selector+"."+b+"("+c+")";return a},each:function(a,b){return d.each(this,a,b)},ready:function(a){d.ready.promise().done(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(Ca.apply(this,
25
+ arguments),"slice",Ca.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:ab,sort:[].sort,splice:[].splice};d.fn.init.prototype=d.fn;d.extend=d.fn.extend=function(){var a,b,c,e,f,h=arguments[0]||{},j=1,m=arguments.length,u=false;if(typeof h==="boolean"){u=h;h=arguments[1]||{};j=2}if(typeof h!=="object"&&!d.isFunction(h))h={};if(m===j){h=this;--j}for(;j<m;j++)if((a=arguments[j])!=
26
+ null)for(b in a){c=h[b];e=a[b];if(h!==e)if(u&&e&&(d.isPlainObject(e)||(f=d.isArray(e)))){if(f){f=false;c=c&&d.isArray(c)?c:[]}else c=c&&d.isPlainObject(c)?c:{};h[b]=d.extend(u,c,e)}else if(e!==v)h[b]=e}return h};d.extend({noConflict:function(a){if(i.$===d)i.$=$a;if(a&&i.jQuery===d)i.jQuery=hb;return d},isReady:false,readyWait:1,holdReady:function(a){if(a)d.readyWait++;else d.ready(true)},ready:function(a){if(!(a===true?--d.readyWait:d.isReady)){if(!Q.body)return setTimeout(d.ready,1);d.isReady=true;
27
+ if(!(a!==true&&--d.readyWait>0)){ja.resolveWith(Q,[d]);d.fn.trigger&&d(Q).trigger("ready").off("ready")}}},isFunction:function(a){return d.type(a)==="function"},isArray:Array.isArray||function(a){return d.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):Nb[rc.call(a)]||"object"},isPlainObject:function(a){if(!a||d.type(a)!=="object"||a.nodeType||d.isWindow(a))return false;try{if(a.constructor&&
28
+ !yb.call(a,"constructor")&&!yb.call(a.constructor.prototype,"isPrototypeOf"))return false}catch(b){return false}var c;for(c in a);return c===v||yb.call(a,c)},isEmptyObject:function(a){var b;for(b in a)return false;return true},error:function(a){throw Error(a);},parseHTML:function(a,b,c){var e;if(!a||typeof a!=="string")return null;if(typeof b==="boolean"){c=b;b=0}b=b||Q;if(e=Mb.exec(a))return[b.createElement(e[1])];e=d.buildFragment([a],b,c?null:[]);return d.merge([],(e.cacheable?d.clone(e.fragment):
29
+ e.fragment).childNodes)},parseJSON:function(a){if(!a||typeof a!=="string")return null;a=d.trim(a);if(i.JSON&&i.JSON.parse)return i.JSON.parse(a);if(vc.test(a.replace(xc,"@").replace(yc,"]").replace(wc,"")))return(new Function("return "+a))();d.error("Invalid JSON: "+a)},parseXML:function(a){var b,c;if(!a||typeof a!=="string")return null;try{if(i.DOMParser){c=new DOMParser;b=c.parseFromString(a,"text/xml")}else{b=new ActiveXObject("Microsoft.XMLDOM");b.async="false";b.loadXML(a)}}catch(e){b=v}if(!b||
30
+ !b.documentElement||b.getElementsByTagName("parsererror").length)d.error("Invalid XML: "+a);return b},noop:function(){},globalEval:function(a){if(a&&sc.test(a))(i.execScript||function(b){i.eval.call(i,b)})(a)},camelCase:function(a){return a.replace(zc,"ms-").replace(Ac,Bc)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var e,f=0,h=a.length,j=h===v||d.isFunction(a);if(c)if(j)for(e in a){if(b.apply(a[e],c)===false)break}else for(;f<h;){if(b.apply(a[f++],
31
+ c)===false)break}else if(j)for(e in a){if(b.call(a[e],e,a[e])===false)break}else for(;f<h;)if(b.call(a[f],f,a[f++])===false)break;return a},trim:zb&&!zb.call("\ufeff\u00a0")?function(a){return a==null?"":zb.call(a)}:function(a){return a==null?"":(a+"").replace(tc,"")},makeArray:function(a,b){var c,e=b||[];if(a!=null){c=d.type(a);a.length==null||c==="string"||c==="function"||c==="regexp"||d.isWindow(a)?ab.call(e,a):d.merge(e,a)}return e},inArray:function(a,b,c){var e;if(b){if(Lb)return Lb.call(b,a,
32
+ c);e=b.length;for(c=c?c<0?Math.max(0,e+c):c:0;c<e;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=b.length,e=a.length,f=0;if(typeof c==="number")for(;f<c;f++)a[e++]=b[f];else for(;b[f]!==v;)a[e++]=b[f++];a.length=e;return a},grep:function(a,b,c){var e,f=[],h=0,j=a.length;for(c=!!c;h<j;h++){e=!!b(a[h],h);c!==e&&f.push(a[h])}return f},map:function(a,b,c){var e,f,h=[],j=0,m=a.length;if(a instanceof d||m!==v&&typeof m==="number"&&(m>0&&a[0]&&a[m-1]||m===0||d.isArray(a)))for(;j<m;j++){e=
33
+ b(a[j],j,c);if(e!=null)h[h.length]=e}else for(f in a){e=b(a[f],f,c);if(e!=null)h[h.length]=e}return h.concat.apply([],h)},guid:1,proxy:function(a,b){var c,e;if(typeof b==="string"){c=a[b];b=a;a=c}if(!d.isFunction(a))return v;e=Ca.call(arguments,2);c=function(){return a.apply(b,e.concat(Ca.call(arguments)))};c.guid=a.guid=a.guid||d.guid++;return c},access:function(a,b,c,e,f,h,j){var m,u=c==null,y=0,A=a.length;if(c&&typeof c==="object"){for(y in c)d.access(a,b,y,c[y],1,h,e);f=1}else if(e!==v){m=j===
34
+ v&&d.isFunction(e);if(u)if(m){m=b;b=function(w,L,T){return m.call(d(w),T)}}else{b.call(a,e);b=null}if(b)for(;y<A;y++)b(a[y],c,m?e.call(a[y],y,b(a[y],c)):e,j);f=1}return f?a:u?b.call(a):A?b(a[0],c):h},now:function(){return(new Date).getTime()}});d.ready.promise=function(a){if(!ja){ja=d.Deferred();if(Q.readyState==="complete")setTimeout(d.ready,1);else if(Q.addEventListener){Q.addEventListener("DOMContentLoaded",qb,false);i.addEventListener("load",d.ready,false)}else{Q.attachEvent("onreadystatechange",
35
+ qb);i.attachEvent("onload",d.ready);var b=false;try{b=i.frameElement==null&&Q.documentElement}catch(c){}b&&b.doScroll&&function e(){if(!d.isReady){try{b.doScroll("left")}catch(f){return setTimeout(e,50)}d.ready()}}()}}return ja.promise(a)};d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){Nb["[object "+b+"]"]=b.toLowerCase()});ob=d(Q);var Hb={};d.Callbacks=function(a){a=typeof a==="string"?Hb[a]||n(a):d.extend({},a);var b,c,e,f,h,j,m=[],u=!a.once&&[],y=function(w){b=
36
+ a.memory&&w;c=true;j=f||0;f=0;h=m.length;for(e=true;m&&j<h;j++)if(m[j].apply(w[0],w[1])===false&&a.stopOnFalse){b=false;break}e=false;if(m)if(u)u.length&&y(u.shift());else if(b)m=[];else A.disable()},A={add:function(){if(m){var w=m.length;(function L(T){d.each(T,function(Z,na){var Ga=d.type(na);if(Ga==="function"&&(!a.unique||!A.has(na)))m.push(na);else na&&na.length&&Ga!=="string"&&L(na)})})(arguments);if(e)h=m.length;else if(b){f=w;y(b)}}return this},remove:function(){m&&d.each(arguments,function(w,
37
+ L){for(var T;(T=d.inArray(L,m,T))>-1;){m.splice(T,1);if(e){T<=h&&h--;T<=j&&j--}}});return this},has:function(w){return d.inArray(w,m)>-1},empty:function(){m=[];return this},disable:function(){m=u=b=v;return this},disabled:function(){return!m},lock:function(){u=v;b||A.disable();return this},locked:function(){return!u},fireWith:function(w,L){L=L||[];L=[w,L.slice?L.slice():L];if(m&&(!c||u))e?u.push(L):y(L);return this},fire:function(){A.fireWith(this,arguments);return this},fired:function(){return!!c}};
38
+ return A};d.extend({Deferred:function(a){var b=[["resolve","done",d.Callbacks("once memory"),"resolved"],["reject","fail",d.Callbacks("once memory"),"rejected"],["notify","progress",d.Callbacks("memory")]],c="pending",e={state:function(){return c},always:function(){f.done(arguments).fail(arguments);return this},then:function(){var h=arguments;return d.Deferred(function(j){d.each(b,function(m,u){var y=u[0],A=h[m];f[u[1]](d.isFunction(A)?function(){var w=A.apply(this,arguments);w&&d.isFunction(w.promise)?
39
+ w.promise().done(j.resolve).fail(j.reject).progress(j.notify):j[y+"With"](this===f?j:this,[w])}:j[y])});h=null}).promise()},promise:function(h){return h!=null?d.extend(h,e):e}},f={};e.pipe=e.then;d.each(b,function(h,j){var m=j[2],u=j[3];e[j[1]]=m.add;u&&m.add(function(){c=u},b[h^1][2].disable,b[2][2].lock);f[j[0]]=m.fire;f[j[0]+"With"]=m.fireWith});e.promise(f);a&&a.call(f,f);return f},when:function(a){var b=0,c=Ca.call(arguments),e=c.length,f=e!==1||a&&d.isFunction(a.promise)?e:0,h=f===1?a:d.Deferred(),
40
+ j=function(A,w,L){return function(T){w[A]=this;L[A]=arguments.length>1?Ca.call(arguments):T;if(L===m)h.notifyWith(w,L);else--f||h.resolveWith(w,L)}},m,u,y;if(e>1){m=Array(e);u=Array(e);for(y=Array(e);b<e;b++)if(c[b]&&d.isFunction(c[b].promise))c[b].promise().done(j(b,y,c)).fail(h.reject).progress(j(b,u,m));else--f}f||h.resolveWith(y,c);return h.promise()}});d.support=function(){var a,b,c,e,f,h,j,m=Q.createElement("div");m.setAttribute("className","t");m.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
41
+ b=m.getElementsByTagName("*");c=m.getElementsByTagName("a")[0];c.style.cssText="top:1px;float:left;opacity:.5";if(!b||!b.length)return{};e=Q.createElement("select");f=e.appendChild(Q.createElement("option"));b=m.getElementsByTagName("input")[0];a={leadingWhitespace:m.firstChild.nodeType===3,tbody:!m.getElementsByTagName("tbody").length,htmlSerialize:!!m.getElementsByTagName("link").length,style:/top/.test(c.getAttribute("style")),hrefNormalized:c.getAttribute("href")==="/a",opacity:/^0.5/.test(c.style.opacity),
42
+ cssFloat:!!c.style.cssFloat,checkOn:b.value==="on",optSelected:f.selected,getSetAttribute:m.className!=="t",enctype:!!Q.createElement("form").enctype,html5Clone:Q.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",boxModel:Q.compatMode==="CSS1Compat",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true,boxSizingReliable:true,pixelPosition:false};b.checked=true;a.noCloneChecked=
43
+ b.cloneNode(true).checked;e.disabled=true;a.optDisabled=!f.disabled;try{delete m.test}catch(u){a.deleteExpando=false}if(!m.addEventListener&&m.attachEvent&&m.fireEvent){m.attachEvent("onclick",c=function(){a.noCloneEvent=false});m.cloneNode(true).fireEvent("onclick");m.detachEvent("onclick",c)}b=Q.createElement("input");b.value="t";b.setAttribute("type","radio");a.radioValue=b.value==="t";b.setAttribute("checked","checked");b.setAttribute("name","t");m.appendChild(b);c=Q.createDocumentFragment();
44
+ c.appendChild(m.lastChild);a.checkClone=c.cloneNode(true).cloneNode(true).lastChild.checked;a.appendChecked=b.checked;c.removeChild(b);c.appendChild(m);if(m.attachEvent)for(h in{submit:true,change:true,focusin:true}){b="on"+h;j=b in m;if(!j){m.setAttribute(b,"return;");j=typeof m[b]==="function"}a[h+"Bubbles"]=j}d(function(){var y,A,w,L=Q.getElementsByTagName("body")[0];if(L){y=Q.createElement("div");y.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px";
45
+ L.insertBefore(y,L.firstChild);A=Q.createElement("div");y.appendChild(A);A.innerHTML="<table><tr><td></td><td>t</td></tr></table>";w=A.getElementsByTagName("td");w[0].style.cssText="padding:0;margin:0;border:0;display:none";j=w[0].offsetHeight===0;w[0].style.display="";w[1].style.display="none";a.reliableHiddenOffsets=j&&w[0].offsetHeight===0;A.innerHTML="";A.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;";
46
+ a.boxSizing=A.offsetWidth===4;a.doesNotIncludeMarginInBodyOffset=L.offsetTop!==1;if(i.getComputedStyle){a.pixelPosition=(i.getComputedStyle(A,null)||{}).top!=="1%";a.boxSizingReliable=(i.getComputedStyle(A,null)||{width:"4px"}).width==="4px";w=Q.createElement("div");w.style.cssText=A.style.cssText="padding:0;margin:0;border:0;display:block;overflow:hidden;";w.style.marginRight=w.style.width="0";A.style.width="1px";A.appendChild(w);a.reliableMarginRight=!parseFloat((i.getComputedStyle(w,null)||{}).marginRight)}if(typeof A.style.zoom!==
47
+ "undefined"){A.innerHTML="";A.style.cssText="padding:0;margin:0;border:0;display:block;overflow:hidden;width:1px;padding:1px;display:inline;zoom:1";a.inlineBlockNeedsLayout=A.offsetWidth===3;A.style.display="block";A.style.overflow="visible";A.innerHTML="<div></div>";A.firstChild.style.width="5px";a.shrinkWrapBlocks=A.offsetWidth!==3;y.style.zoom=1}L.removeChild(y)}});c.removeChild(m);b=c=e=f=b=c=m=null;return a}();var nc=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,mc=/([A-Z])/g;d.extend({cache:{},deletedIds:[],
48
+ uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!z(a)},data:function(a,b,c,e){if(d.acceptData(a)){var f=d.expando,h=typeof b==="string",j=a.nodeType,m=j?d.cache:a,u=j?a[f]:a[f]&&f;if(!((!u||!m[u]||!e&&!m[u].data)&&h&&c===v)){if(!u)if(j)a[f]=u=d.deletedIds.pop()||d.guid++;else u=f;if(!m[u]){m[u]={};if(!j)m[u].toJSON=
49
+ d.noop}if(typeof b==="object"||typeof b==="function")if(e)m[u]=d.extend(m[u],b);else m[u].data=d.extend(m[u].data,b);a=m[u];if(!e){if(!a.data)a.data={};a=a.data}if(c!==v)a[d.camelCase(b)]=c;if(h){c=a[b];if(c==null)c=a[d.camelCase(b)]}else c=a;return c}}},removeData:function(a,b,c){if(d.acceptData(a)){var e,f,h,j=a.nodeType,m=j?d.cache:a,u=j?a[d.expando]:d.expando;if(m[u]){if(b)if(e=c?m[u]:m[u].data){if(!d.isArray(b))if(b in e)b=[b];else{b=d.camelCase(b);b=b in e?[b]:b.split(" ")}f=0;for(h=b.length;f<
50
+ h;f++)delete e[b[f]];if(!(c?z:d.isEmptyObject)(e))return}if(!c){delete m[u].data;if(!z(m[u]))return}if(j)d.cleanData([a],true);else if(d.support.deleteExpando||m!=m.window)delete m[u];else m[u]=null}}},_data:function(a,b,c){return d.data(a,b,c,true)},acceptData:function(a){var b=a.nodeName&&d.noData[a.nodeName.toLowerCase()];return!b||b!==true&&a.getAttribute("classid")===b}});d.fn.extend({data:function(a,b){var c,e,f,h,j,m=this[0],u=0,y=null;if(a===v){if(this.length){y=d.data(m);if(m.nodeType===
51
+ 1&&!d._data(m,"parsedAttrs")){f=m.attributes;for(j=f.length;u<j;u++){h=f[u].name;if(!h.indexOf("data-")){h=d.camelCase(h.substring(5));s(m,h,y[h])}}d._data(m,"parsedAttrs",true)}}return y}if(typeof a==="object")return this.each(function(){d.data(this,a)});c=a.split(".",2);c[1]=c[1]?"."+c[1]:"";e=c[1]+"!";return d.access(this,function(A){if(A===v){y=this.triggerHandler("getData"+e,[c[0]]);if(y===v&&m){y=d.data(m,a);y=s(m,a,y)}return y===v&&c[1]?this.data(c[0]):y}c[1]=A;this.each(function(){var w=d(this);
52
+ w.triggerHandler("setData"+e,c);d.data(this,a,A);w.triggerHandler("changeData"+e,c)})},null,b,arguments.length>1,null,false)},removeData:function(a){return this.each(function(){d.removeData(this,a)})}});d.extend({queue:function(a,b,c){var e;if(a){b=(b||"fx")+"queue";e=d._data(a,b);if(c)if(!e||d.isArray(c))e=d._data(a,b,d.makeArray(c));else e.push(c);return e||[]}},dequeue:function(a,b){b=b||"fx";var c=d.queue(a,b),e=c.length,f=c.shift(),h=d._queueHooks(a,b),j=function(){d.dequeue(a,b)};if(f==="inprogress"){f=
53
+ c.shift();e--}if(f){b==="fx"&&c.unshift("inprogress");delete h.stop;f.call(a,j,h)}!e&&h&&h.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return d._data(a,c)||d._data(a,c,{empty:d.Callbacks("once memory").add(function(){d.removeData(a,b+"queue",true);d.removeData(a,c,true)})})}});d.fn.extend({queue:function(a,b){var c=2;if(typeof a!=="string"){b=a;a="fx";c--}if(arguments.length<c)return d.queue(this[0],a);return b===v?this:this.each(function(){var e=d.queue(this,a,b);d._queueHooks(this,
54
+ a);a==="fx"&&e[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){a=d.fx?d.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(c,e){var f=setTimeout(c,a);e.stop=function(){clearTimeout(f)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,e=1,f=d.Deferred(),h=this,j=this.length,m=function(){--e||f.resolveWith(h,[h])};if(typeof a!=="string"){b=a;a=v}for(a=a||"fx";j--;)if((c=d._data(h[j],
55
+ a+"queueHooks"))&&c.empty){e++;c.empty.add(m)}m();return f.promise(b)}});var Ma,Ob,Pb,Qb=/[\t\r\n]/g,Cc=/\r/g,Dc=/^(?:button|input)$/i,Ec=/^(?:button|input|object|select|textarea)$/i,Fc=/^a(?:rea|)$/i,Rb=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Sb=d.support.getSetAttribute;d.fn.extend({attr:function(a,b){return d.access(this,d.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){d.removeAttr(this,
56
+ a)})},prop:function(a,b){return d.access(this,d.prop,a,b,arguments.length>1)},removeProp:function(a){a=d.propFix[a]||a;return this.each(function(){try{this[a]=v;delete this[a]}catch(b){}})},addClass:function(a){var b,c,e,f,h,j,m;if(d.isFunction(a))return this.each(function(u){d(this).addClass(a.call(this,u,this.className))});if(a&&typeof a==="string"){b=a.split(Pa);c=0;for(e=this.length;c<e;c++){f=this[c];if(f.nodeType===1)if(!f.className&&b.length===1)f.className=a;else{h=" "+f.className+" ";j=0;
57
+ for(m=b.length;j<m;j++)if(h.indexOf(" "+b[j]+" ")<0)h+=b[j]+" ";f.className=d.trim(h)}}}return this},removeClass:function(a){var b,c,e,f,h,j,m;if(d.isFunction(a))return this.each(function(u){d(this).removeClass(a.call(this,u,this.className))});if(a&&typeof a==="string"||a===v){b=(a||"").split(Pa);j=0;for(m=this.length;j<m;j++){e=this[j];if(e.nodeType===1&&e.className){c=(" "+e.className+" ").replace(Qb," ");f=0;for(h=b.length;f<h;f++)for(;c.indexOf(" "+b[f]+" ")>=0;)c=c.replace(" "+b[f]+" "," ");
58
+ e.className=a?d.trim(c):""}}}return this},toggleClass:function(a,b){var c=typeof a,e=typeof b==="boolean";if(d.isFunction(a))return this.each(function(f){d(this).toggleClass(a.call(this,f,this.className,b),b)});return this.each(function(){if(c==="string")for(var f,h=0,j=d(this),m=b,u=a.split(Pa);f=u[h++];){m=e?m:!j.hasClass(f);j[m?"addClass":"removeClass"](f)}else if(c==="undefined"||c==="boolean"){this.className&&d._data(this,"__className__",this.className);this.className=this.className||a===false?
59
+ "":d._data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,c=this.length;b<c;b++)if(this[b].nodeType===1&&(" "+this[b].className+" ").replace(Qb," ").indexOf(a)>=0)return true;return false},val:function(a){var b,c,e,f=this[0];if(arguments.length){e=d.isFunction(a);return this.each(function(h){var j=d(this);if(this.nodeType===1){h=e?a.call(this,h,j.val()):a;if(h==null)h="";else if(typeof h==="number")h+="";else if(d.isArray(h))h=d.map(h,function(m){return m==null?"":m+""});
60
+ b=d.valHooks[this.type]||d.valHooks[this.nodeName.toLowerCase()];if(!b||!("set"in b)||b.set(this,h,"value")===v)this.value=h}})}else if(f){if((b=d.valHooks[f.type]||d.valHooks[f.nodeName.toLowerCase()])&&"get"in b&&(c=b.get(f,"value"))!==v)return c;c=f.value;return typeof c==="string"?c.replace(Cc,""):c==null?"":c}}});d.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,e=a.selectedIndex,f=[],h=a.options,j=a.type===
61
+ "select-one";if(e<0)return null;a=j?e:0;for(c=j?e+1:h.length;a<c;a++){b=h[a];if(b.selected&&(d.support.optDisabled?!b.disabled:b.getAttribute("disabled")===null)&&(!b.parentNode.disabled||!d.nodeName(b.parentNode,"optgroup"))){b=d(b).val();if(j)return b;f.push(b)}}if(j&&!f.length&&h.length)return d(h[e]).val();return f},set:function(a,b){var c=d.makeArray(b);d(a).find("option").each(function(){this.selected=d.inArray(d(this).val(),c)>=0});if(!c.length)a.selectedIndex=-1;return c}}},attrFn:{},attr:function(a,
62
+ b,c,e){var f,h,j=a.nodeType;if(!(!a||j===3||j===8||j===2)){if(e&&d.isFunction(d.fn[b]))return d(a)[b](c);if(typeof a.getAttribute==="undefined")return d.prop(a,b,c);if(e=j!==1||!d.isXMLDoc(a)){b=b.toLowerCase();h=d.attrHooks[b]||(Rb.test(b)?Ob:Ma)}if(c!==v)if(c===null)d.removeAttr(a,b);else if(h&&"set"in h&&e&&(f=h.set(a,c,b))!==v)return f;else{a.setAttribute(b,c+"");return c}else if(h&&"get"in h&&e&&(f=h.get(a,b))!==null)return f;else{f=a.getAttribute(b);return f===null?v:f}}},removeAttr:function(a,
63
+ b){var c,e,f,h,j=0;if(b&&a.nodeType===1)for(e=b.split(Pa);j<e.length;j++)if(f=e[j]){c=d.propFix[f]||f;(h=Rb.test(f))||d.attr(a,f,"");a.removeAttribute(Sb?f:c);if(h&&c in a)a[c]=false}},attrHooks:{type:{set:function(a,b){if(Dc.test(a.nodeName)&&a.parentNode)d.error("type property can't be changed");else if(!d.support.radioValue&&b==="radio"&&d.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b);if(c)a.value=c;return b}}},value:{get:function(a,b){if(Ma&&d.nodeName(a,"button"))return Ma.get(a,
64
+ b);return b in a?a.value:null},set:function(a,b,c){if(Ma&&d.nodeName(a,"button"))return Ma.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,b,c){var e,f,h=a.nodeType;if(!(!a||h===3||h===8||h===2)){if(h!==1||!d.isXMLDoc(a)){b=d.propFix[b]||
65
+ b;f=d.propHooks[b]}return c!==v?f&&"set"in f&&(e=f.set(a,c,b))!==v?e:a[b]=c:f&&"get"in f&&(e=f.get(a,b))!==null?e:a[b]}},propHooks:{tabIndex:{get:function(a){var b=a.getAttributeNode("tabindex");return b&&b.specified?parseInt(b.value,10):Ec.test(a.nodeName)||Fc.test(a.nodeName)&&a.href?0:v}}}});Ob={get:function(a,b){var c,e=d.prop(a,b);return e===true||typeof e!=="boolean"&&(c=a.getAttributeNode(b))&&c.nodeValue!==false?b.toLowerCase():v},set:function(a,b,c){if(b===false)d.removeAttr(a,c);else{b=
66
+ d.propFix[c]||c;if(b in a)a[b]=true;a.setAttribute(c,c.toLowerCase())}return c}};if(!Sb){Pb={name:true,id:true,coords:true};Ma=d.valHooks.button={get:function(a,b){var c;return(c=a.getAttributeNode(b))&&(Pb[b]?c.value!=="":c.specified)?c.value:v},set:function(a,b,c){var e=a.getAttributeNode(c);if(!e){e=Q.createAttribute(c);a.setAttributeNode(e)}return e.value=b+""}};d.each(["width","height"],function(a,b){d.attrHooks[b]=d.extend(d.attrHooks[b],{set:function(c,e){if(e===""){c.setAttribute(b,"auto");
67
+ return e}}})});d.attrHooks.contenteditable={get:Ma.get,set:function(a,b,c){if(b==="")b="false";Ma.set(a,b,c)}}}d.support.hrefNormalized||d.each(["href","src","width","height"],function(a,b){d.attrHooks[b]=d.extend(d.attrHooks[b],{get:function(c){c=c.getAttribute(b,2);return c===null?v:c}})});if(!d.support.style)d.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||v},set:function(a,b){return a.style.cssText=b+""}};if(!d.support.optSelected)d.propHooks.selected=d.extend(d.propHooks.selected,
68
68
  {get:function(){return null}});if(!d.support.enctype)d.propFix.enctype="encoding";d.support.checkOn||d.each(["radio","checkbox"],function(){d.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}});d.each(["radio","checkbox"],function(){d.valHooks[this]=d.extend(d.valHooks[this],{set:function(a,b){if(d.isArray(b))return a.checked=d.inArray(d(a).val(),b)>=0}})});var Ab=/^(?:textarea|input|select)$/i,Tb=/^([^\.]*|)(?:\.(.+)|)$/,Gc=/(?:^|\s)hover(\.\S+|)\b/,Hc=/^key/,Ic=
69
- /^(?:mouse|contextmenu)|click/,Ub=/^(?:focusinfocus|focusoutblur)$/,Vb=function(a){return d.event.special.hover?a:a.replace(Gc,"mouseenter$1 mouseleave$1")};d.event={add:function(a,b,c,e,f){var g,h,k,q,u,w,t,I,P;if(!(a.nodeType===3||a.nodeType===8||!b||!c||!(g=d._data(a)))){if(c.handler){t=c;c=t.handler;f=t.selector}if(!c.guid)c.guid=d.guid++;k=g.events;if(!k)g.events=k={};h=g.handle;if(!h){g.handle=h=function(Z){return typeof d!=="undefined"&&(!Z||d.event.triggered!==Z.type)?d.event.dispatch.apply(h.elem,
70
- arguments):s};h.elem=a}b=d.trim(Vb(b)).split(" ");for(g=0;g<b.length;g++){q=Tb.exec(b[g])||[];u=q[1];w=(q[2]||"").split(".").sort();P=d.event.special[u]||{};u=(f?P.delegateType:P.bindType)||u;P=d.event.special[u]||{};q=d.extend({type:u,origType:q[1],data:e,handler:c,guid:c.guid,selector:f,needsContext:f&&d.expr.match.needsContext.test(f),namespace:w.join(".")},t);I=k[u];if(!I){I=k[u]=[];I.delegateCount=0;if(!P.setup||P.setup.call(a,e,w,h)===false)if(a.addEventListener)a.addEventListener(u,h,false);
71
- else a.attachEvent&&a.attachEvent("on"+u,h)}if(P.add){P.add.call(a,q);if(!q.handler.guid)q.handler.guid=c.guid}f?I.splice(I.delegateCount++,0,q):I.push(q);d.event.global[u]=true}a=null}},global:{},remove:function(a,b,c,e,f){var g,h,k,q,u,w,t,I,P,Z,ma=d.hasData(a)&&d._data(a);if(ma&&(t=ma.events)){b=d.trim(Vb(b||"")).split(" ");for(g=0;g<b.length;g++){h=Tb.exec(b[g])||[];k=q=h[1];h=h[2];if(k){I=d.event.special[k]||{};k=(e?I.delegateType:I.bindType)||k;P=t[k]||[];u=P.length;h=h?RegExp("(^|\\.)"+h.split(".").sort().join("\\.(?:.*\\.|)")+
72
- "(\\.|$)"):null;for(w=0;w<P.length;w++){Z=P[w];if((f||q===Z.origType)&&(!c||c.guid===Z.guid)&&(!h||h.test(Z.namespace))&&(!e||e===Z.selector||e==="**"&&Z.selector)){P.splice(w--,1);Z.selector&&P.delegateCount--;I.remove&&I.remove.call(a,Z)}}if(P.length===0&&u!==P.length){if(!I.teardown||I.teardown.call(a,h,ma.handle)===false)d.removeEvent(a,k,ma.handle);delete t[k]}}else for(k in t)d.event.remove(a,k+b[g],c,e,true)}if(d.isEmptyObject(t)){delete ma.handle;d.removeData(a,"events",true)}}},customEvent:{getData:true,
73
- setData:true,changeData:true},trigger:function(a,b,c,e){if(!(c&&(c.nodeType===3||c.nodeType===8))){var f,g,h,k,q,u,w=a.type||a;h=[];if(!Ub.test(w+d.event.triggered)){if(w.indexOf("!")>=0){w=w.slice(0,-1);f=true}if(w.indexOf(".")>=0){h=w.split(".");w=h.shift();h.sort()}if(!((!c||d.event.customEvent[w])&&!d.event.global[w])){a=typeof a==="object"?a[d.expando]?a:new d.Event(w,a):new d.Event(w);a.type=w;a.isTrigger=true;a.exclusive=f;a.namespace=h.join(".");a.namespace_re=a.namespace?RegExp("(^|\\.)"+
74
- h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;h=w.indexOf(":")<0?"on"+w:"";if(c){a.result=s;if(!a.target)a.target=c;b=b!=null?d.makeArray(b):[];b.unshift(a);k=d.event.special[w]||{};if(!(k.trigger&&k.trigger.apply(c,b)===false)){u=[[c,k.bindType||w]];if(!e&&!k.noBubble&&!d.isWindow(c)){q=k.delegateType||w;f=Ub.test(q+w)?c:c.parentNode;for(g=c;f;f=f.parentNode){u.push([f,q]);g=f}if(g===(c.ownerDocument||L))u.push([g.defaultView||g.parentWindow||i,q])}for(g=0;g<u.length&&!a.isPropagationStopped();g++){f=
75
- u[g][0];a.type=u[g][1];(q=(d._data(f,"events")||{})[a.type]&&d._data(f,"handle"))&&q.apply(f,b);(q=h&&f[h])&&d.acceptData(f)&&q.apply&&q.apply(f,b)===false&&a.preventDefault()}a.type=w;if(!e&&!a.isDefaultPrevented())if((!k._default||k._default.apply(c.ownerDocument,b)===false)&&!(w==="click"&&d.nodeName(c,"a"))&&d.acceptData(c))if(h&&c[w]&&(w!=="focus"&&w!=="blur"||a.target.offsetWidth!==0)&&!d.isWindow(c)){if(g=c[h])c[h]=null;d.event.triggered=w;c[w]();d.event.triggered=s;if(g)c[h]=g}return a.result}}else{c=
76
- d.cache;for(g in c)c[g].events&&c[g].events[w]&&d.event.trigger(a,b,c[g].handle.elem,true)}}}}},dispatch:function(a){a=d.event.fix(a||i.event);var b,c,e,f,g,h,k=(d._data(this,"events")||{})[a.type]||[],q=k.delegateCount,u=Ba.call(arguments),w=!a.exclusive&&!a.namespace,t=d.event.special[a.type]||{},I=[];u[0]=a;a.delegateTarget=this;if(!(t.preDispatch&&t.preDispatch.call(this,a)===false)){if(q&&!(a.button&&a.type==="click"))for(c=a.target;c!=this;c=c.parentNode||this)if(c.disabled!==true||a.type!==
77
- "click"){f={};g=[];for(b=0;b<q;b++){e=k[b];h=e.selector;if(f[h]===s)f[h]=e.needsContext?d(h,this).index(c)>=0:d.find(h,this,null,[c]).length;f[h]&&g.push(e)}g.length&&I.push({elem:c,matches:g})}k.length>q&&I.push({elem:this,matches:k.slice(q)});for(b=0;b<I.length&&!a.isPropagationStopped();b++){f=I[b];a.currentTarget=f.elem;for(c=0;c<f.matches.length&&!a.isImmediatePropagationStopped();c++){e=f.matches[c];if(w||!a.namespace&&!e.namespace||a.namespace_re&&a.namespace_re.test(e.namespace)){a.data=e.data;
78
- a.handleObj=e;e=((d.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,u);if(e!==s){a.result=e;if(e===false){a.preventDefault();a.stopPropagation()}}}}}t.postDispatch&&t.postDispatch.call(this,a);return a.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){if(a.which==
79
- null)a.which=b.charCode!=null?b.charCode:b.keyCode;return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,e,f=b.button,g=b.fromElement;if(a.pageX==null&&b.clientX!=null){c=a.target.ownerDocument||L;e=c.documentElement;c=c.body;a.pageX=b.clientX+(e&&e.scrollLeft||c&&c.scrollLeft||0)-(e&&e.clientLeft||c&&c.clientLeft||0);a.pageY=b.clientY+(e&&e.scrollTop||c&&c.scrollTop||0)-(e&&e.clientTop||
80
- c&&c.clientTop||0)}if(!a.relatedTarget&&g)a.relatedTarget=g===a.target?b.toElement:g;if(!a.which&&f!==s)a.which=f&1?1:f&2?3:f&4?2:0;return a}},fix:function(a){if(a[d.expando])return a;var b,c,e=a,f=d.event.fixHooks[a.type]||{},g=f.props?this.props.concat(f.props):this.props;a=d.Event(e);for(b=g.length;b;){c=g[--b];a[c]=e[c]}if(!a.target)a.target=e.srcElement||L;if(a.target.nodeType===3)a.target=a.target.parentNode;a.metaKey=!!a.metaKey;return f.filter?f.filter(a,e):a},special:{load:{noBubble:true},
81
- focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){if(d.isWindow(this))this.onbeforeunload=c},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}},simulate:function(a,b,c,e){a=d.extend(new d.Event,c,{type:a,isSimulated:true,originalEvent:{}});e?d.event.trigger(a,null,b):d.event.dispatch.call(b,a);a.isDefaultPrevented()&&c.preventDefault()}};d.event.handle=d.event.dispatch;d.removeEvent=L.removeEventListener?function(a,b,c){a.removeEventListener&&
82
- a.removeEventListener(b,c,false)}:function(a,b,c){b="on"+b;if(a.detachEvent){if(typeof a[b]==="undefined")a[b]=null;a.detachEvent(b,c)}};d.Event=function(a,b){if(!(this instanceof d.Event))return new d.Event(a,b);if(a&&a.type){this.originalEvent=a;this.type=a.type;this.isDefaultPrevented=a.defaultPrevented||a.returnValue===false||a.getPreventDefault&&a.getPreventDefault()?m:o}else this.type=a;b&&d.extend(this,b);this.timeStamp=a&&a.timeStamp||d.now();this[d.expando]=true};d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=
83
- m;var a=this.originalEvent;if(a)if(a.preventDefault)a.preventDefault();else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=m;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=m;this.stopPropagation()},isDefaultPrevented:o,isPropagationStopped:o,isImmediatePropagationStopped:o};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]=
84
- {delegateType:b,bindType:b,handle:function(c){var e,f=c.relatedTarget,g=c.handleObj;if(!f||f!==this&&!d.contains(this,f)){c.type=g.origType;e=g.handler.apply(this,arguments);c.type=b}return e}}});if(!d.support.submitBubbles)d.event.special.submit={setup:function(){if(d.nodeName(this,"form"))return false;d.event.add(this,"click._submit keypress._submit",function(a){a=a.target;if((a=d.nodeName(a,"input")||d.nodeName(a,"button")?a.form:s)&&!d._data(a,"_submit_attached")){d.event.add(a,"submit._submit",
69
+ /^(?:mouse|contextmenu)|click/,Ub=/^(?:focusinfocus|focusoutblur)$/,Vb=function(a){return d.event.special.hover?a:a.replace(Gc,"mouseenter$1 mouseleave$1")};d.event={add:function(a,b,c,e,f){var h,j,m,u,y,A,w,L,T;if(!(a.nodeType===3||a.nodeType===8||!b||!c||!(h=d._data(a)))){if(c.handler){w=c;c=w.handler;f=w.selector}if(!c.guid)c.guid=d.guid++;m=h.events;if(!m)h.events=m={};j=h.handle;if(!j){h.handle=j=function(Z){return typeof d!=="undefined"&&(!Z||d.event.triggered!==Z.type)?d.event.dispatch.apply(j.elem,
70
+ arguments):v};j.elem=a}b=d.trim(Vb(b)).split(" ");for(h=0;h<b.length;h++){u=Tb.exec(b[h])||[];y=u[1];A=(u[2]||"").split(".").sort();T=d.event.special[y]||{};y=(f?T.delegateType:T.bindType)||y;T=d.event.special[y]||{};u=d.extend({type:y,origType:u[1],data:e,handler:c,guid:c.guid,selector:f,needsContext:f&&d.expr.match.needsContext.test(f),namespace:A.join(".")},w);L=m[y];if(!L){L=m[y]=[];L.delegateCount=0;if(!T.setup||T.setup.call(a,e,A,j)===false)if(a.addEventListener)a.addEventListener(y,j,false);
71
+ else a.attachEvent&&a.attachEvent("on"+y,j)}if(T.add){T.add.call(a,u);if(!u.handler.guid)u.handler.guid=c.guid}f?L.splice(L.delegateCount++,0,u):L.push(u);d.event.global[y]=true}a=null}},global:{},remove:function(a,b,c,e,f){var h,j,m,u,y,A,w,L,T,Z,na=d.hasData(a)&&d._data(a);if(na&&(w=na.events)){b=d.trim(Vb(b||"")).split(" ");for(h=0;h<b.length;h++){j=Tb.exec(b[h])||[];m=u=j[1];j=j[2];if(m){L=d.event.special[m]||{};m=(e?L.delegateType:L.bindType)||m;T=w[m]||[];y=T.length;j=j?RegExp("(^|\\.)"+j.split(".").sort().join("\\.(?:.*\\.|)")+
72
+ "(\\.|$)"):null;for(A=0;A<T.length;A++){Z=T[A];if((f||u===Z.origType)&&(!c||c.guid===Z.guid)&&(!j||j.test(Z.namespace))&&(!e||e===Z.selector||e==="**"&&Z.selector)){T.splice(A--,1);Z.selector&&T.delegateCount--;L.remove&&L.remove.call(a,Z)}}if(T.length===0&&y!==T.length){if(!L.teardown||L.teardown.call(a,j,na.handle)===false)d.removeEvent(a,m,na.handle);delete w[m]}}else for(m in w)d.event.remove(a,m+b[h],c,e,true)}if(d.isEmptyObject(w)){delete na.handle;d.removeData(a,"events",true)}}},customEvent:{getData:true,
73
+ setData:true,changeData:true},trigger:function(a,b,c,e){if(!(c&&(c.nodeType===3||c.nodeType===8))){var f,h,j,m,u,y,A=a.type||a;j=[];if(!Ub.test(A+d.event.triggered)){if(A.indexOf("!")>=0){A=A.slice(0,-1);f=true}if(A.indexOf(".")>=0){j=A.split(".");A=j.shift();j.sort()}if(!((!c||d.event.customEvent[A])&&!d.event.global[A])){a=typeof a==="object"?a[d.expando]?a:new d.Event(A,a):new d.Event(A);a.type=A;a.isTrigger=true;a.exclusive=f;a.namespace=j.join(".");a.namespace_re=a.namespace?RegExp("(^|\\.)"+
74
+ j.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;j=A.indexOf(":")<0?"on"+A:"";if(c){a.result=v;if(!a.target)a.target=c;b=b!=null?d.makeArray(b):[];b.unshift(a);m=d.event.special[A]||{};if(!(m.trigger&&m.trigger.apply(c,b)===false)){y=[[c,m.bindType||A]];if(!e&&!m.noBubble&&!d.isWindow(c)){u=m.delegateType||A;f=Ub.test(u+A)?c:c.parentNode;for(h=c;f;f=f.parentNode){y.push([f,u]);h=f}if(h===(c.ownerDocument||Q))y.push([h.defaultView||h.parentWindow||i,u])}for(h=0;h<y.length&&!a.isPropagationStopped();h++){f=
75
+ y[h][0];a.type=y[h][1];(u=(d._data(f,"events")||{})[a.type]&&d._data(f,"handle"))&&u.apply(f,b);(u=j&&f[j])&&d.acceptData(f)&&u.apply&&u.apply(f,b)===false&&a.preventDefault()}a.type=A;if(!e&&!a.isDefaultPrevented())if((!m._default||m._default.apply(c.ownerDocument,b)===false)&&!(A==="click"&&d.nodeName(c,"a"))&&d.acceptData(c))if(j&&c[A]&&(A!=="focus"&&A!=="blur"||a.target.offsetWidth!==0)&&!d.isWindow(c)){if(h=c[j])c[j]=null;d.event.triggered=A;c[A]();d.event.triggered=v;if(h)c[j]=h}return a.result}}else{c=
76
+ d.cache;for(h in c)c[h].events&&c[h].events[A]&&d.event.trigger(a,b,c[h].handle.elem,true)}}}}},dispatch:function(a){a=d.event.fix(a||i.event);var b,c,e,f,h,j,m=(d._data(this,"events")||{})[a.type]||[],u=m.delegateCount,y=Ca.call(arguments),A=!a.exclusive&&!a.namespace,w=d.event.special[a.type]||{},L=[];y[0]=a;a.delegateTarget=this;if(!(w.preDispatch&&w.preDispatch.call(this,a)===false)){if(u&&!(a.button&&a.type==="click"))for(c=a.target;c!=this;c=c.parentNode||this)if(c.disabled!==true||a.type!==
77
+ "click"){f={};h=[];for(b=0;b<u;b++){e=m[b];j=e.selector;if(f[j]===v)f[j]=e.needsContext?d(j,this).index(c)>=0:d.find(j,this,null,[c]).length;f[j]&&h.push(e)}h.length&&L.push({elem:c,matches:h})}m.length>u&&L.push({elem:this,matches:m.slice(u)});for(b=0;b<L.length&&!a.isPropagationStopped();b++){f=L[b];a.currentTarget=f.elem;for(c=0;c<f.matches.length&&!a.isImmediatePropagationStopped();c++){e=f.matches[c];if(A||!a.namespace&&!e.namespace||a.namespace_re&&a.namespace_re.test(e.namespace)){a.data=e.data;
78
+ a.handleObj=e;e=((d.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,y);if(e!==v){a.result=e;if(e===false){a.preventDefault();a.stopPropagation()}}}}}w.postDispatch&&w.postDispatch.call(this,a);return a.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){if(a.which==
79
+ null)a.which=b.charCode!=null?b.charCode:b.keyCode;return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,e,f=b.button,h=b.fromElement;if(a.pageX==null&&b.clientX!=null){c=a.target.ownerDocument||Q;e=c.documentElement;c=c.body;a.pageX=b.clientX+(e&&e.scrollLeft||c&&c.scrollLeft||0)-(e&&e.clientLeft||c&&c.clientLeft||0);a.pageY=b.clientY+(e&&e.scrollTop||c&&c.scrollTop||0)-(e&&e.clientTop||
80
+ c&&c.clientTop||0)}if(!a.relatedTarget&&h)a.relatedTarget=h===a.target?b.toElement:h;if(!a.which&&f!==v)a.which=f&1?1:f&2?3:f&4?2:0;return a}},fix:function(a){if(a[d.expando])return a;var b,c,e=a,f=d.event.fixHooks[a.type]||{},h=f.props?this.props.concat(f.props):this.props;a=d.Event(e);for(b=h.length;b;){c=h[--b];a[c]=e[c]}if(!a.target)a.target=e.srcElement||Q;if(a.target.nodeType===3)a.target=a.target.parentNode;a.metaKey=!!a.metaKey;return f.filter?f.filter(a,e):a},special:{load:{noBubble:true},
81
+ focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){if(d.isWindow(this))this.onbeforeunload=c},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}},simulate:function(a,b,c,e){a=d.extend(new d.Event,c,{type:a,isSimulated:true,originalEvent:{}});e?d.event.trigger(a,null,b):d.event.dispatch.call(b,a);a.isDefaultPrevented()&&c.preventDefault()}};d.event.handle=d.event.dispatch;d.removeEvent=Q.removeEventListener?function(a,b,c){a.removeEventListener&&
82
+ a.removeEventListener(b,c,false)}:function(a,b,c){b="on"+b;if(a.detachEvent){if(typeof a[b]==="undefined")a[b]=null;a.detachEvent(b,c)}};d.Event=function(a,b){if(!(this instanceof d.Event))return new d.Event(a,b);if(a&&a.type){this.originalEvent=a;this.type=a.type;this.isDefaultPrevented=a.defaultPrevented||a.returnValue===false||a.getPreventDefault&&a.getPreventDefault()?o:r}else this.type=a;b&&d.extend(this,b);this.timeStamp=a&&a.timeStamp||d.now();this[d.expando]=true};d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=
83
+ o;var a=this.originalEvent;if(a)if(a.preventDefault)a.preventDefault();else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=o;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=o;this.stopPropagation()},isDefaultPrevented:r,isPropagationStopped:r,isImmediatePropagationStopped:r};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]=
84
+ {delegateType:b,bindType:b,handle:function(c){var e,f=c.relatedTarget,h=c.handleObj;if(!f||f!==this&&!d.contains(this,f)){c.type=h.origType;e=h.handler.apply(this,arguments);c.type=b}return e}}});if(!d.support.submitBubbles)d.event.special.submit={setup:function(){if(d.nodeName(this,"form"))return false;d.event.add(this,"click._submit keypress._submit",function(a){a=a.target;if((a=d.nodeName(a,"input")||d.nodeName(a,"button")?a.form:v)&&!d._data(a,"_submit_attached")){d.event.add(a,"submit._submit",
85
85
  function(b){b._submit_bubble=true});d._data(a,"_submit_attached",true)}})},postDispatch:function(a){if(a._submit_bubble){delete a._submit_bubble;this.parentNode&&!a.isTrigger&&d.event.simulate("submit",this.parentNode,a,true)}},teardown:function(){if(d.nodeName(this,"form"))return false;d.event.remove(this,"._submit")}};if(!d.support.changeBubbles)d.event.special.change={setup:function(){if(Ab.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){d.event.add(this,"propertychange._change",
86
86
  function(a){if(a.originalEvent.propertyName==="checked")this._just_changed=true});d.event.add(this,"click._change",function(a){if(this._just_changed&&!a.isTrigger)this._just_changed=false;d.event.simulate("change",this,a,true)})}return false}d.event.add(this,"beforeactivate._change",function(a){a=a.target;if(Ab.test(a.nodeName)&&!d._data(a,"_change_attached")){d.event.add(a,"change._change",function(b){this.parentNode&&!b.isSimulated&&!b.isTrigger&&d.event.simulate("change",this.parentNode,b,true)});
87
- d._data(a,"_change_attached",true)}})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){d.event.remove(this,"._change");return!Ab.test(this.nodeName)}};d.support.focusinBubbles||d.each({focus:"focusin",blur:"focusout"},function(a,b){var c=0,e=function(f){d.event.simulate(b,f.target,d.event.fix(f),true)};d.event.special[b]={setup:function(){c++===0&&L.addEventListener(a,
88
- e,true)},teardown:function(){--c===0&&L.removeEventListener(a,e,true)}}});d.fn.extend({on:function(a,b,c,e,f){var g,h;if(typeof a==="object"){if(typeof b!=="string"){c=c||b;b=s}for(h in a)this.on(h,b,c,a[h],f);return this}if(c==null&&e==null){e=b;c=b=s}else if(e==null)if(typeof b==="string"){e=c;c=s}else{e=c;c=b;b=s}if(e===false)e=o;else if(!e)return this;if(f===1){g=e;e=function(k){d().off(k);return g.apply(this,arguments)};e.guid=g.guid||(g.guid=d.guid++)}return this.each(function(){d.event.add(this,
89
- a,e,c,b)})},one:function(a,b,c,e){return this.on(a,b,c,e,1)},off:function(a,b,c){var e;if(a&&a.preventDefault&&a.handleObj){e=a.handleObj;d(a.delegateTarget).off(e.namespace?e.origType+"."+e.namespace:e.origType,e.selector,e.handler);return this}if(typeof a==="object"){for(e in a)this.off(e,b,a[e]);return this}if(b===false||typeof b==="function"){c=b;b=s}if(c===false)c=o;return this.each(function(){d.event.remove(this,a,c,b)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,
87
+ d._data(a,"_change_attached",true)}})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){d.event.remove(this,"._change");return!Ab.test(this.nodeName)}};d.support.focusinBubbles||d.each({focus:"focusin",blur:"focusout"},function(a,b){var c=0,e=function(f){d.event.simulate(b,f.target,d.event.fix(f),true)};d.event.special[b]={setup:function(){c++===0&&Q.addEventListener(a,
88
+ e,true)},teardown:function(){--c===0&&Q.removeEventListener(a,e,true)}}});d.fn.extend({on:function(a,b,c,e,f){var h,j;if(typeof a==="object"){if(typeof b!=="string"){c=c||b;b=v}for(j in a)this.on(j,b,c,a[j],f);return this}if(c==null&&e==null){e=b;c=b=v}else if(e==null)if(typeof b==="string"){e=c;c=v}else{e=c;c=b;b=v}if(e===false)e=r;else if(!e)return this;if(f===1){h=e;e=function(m){d().off(m);return h.apply(this,arguments)};e.guid=h.guid||(h.guid=d.guid++)}return this.each(function(){d.event.add(this,
89
+ a,e,c,b)})},one:function(a,b,c,e){return this.on(a,b,c,e,1)},off:function(a,b,c){var e;if(a&&a.preventDefault&&a.handleObj){e=a.handleObj;d(a.delegateTarget).off(e.namespace?e.origType+"."+e.namespace:e.origType,e.selector,e.handler);return this}if(typeof a==="object"){for(e in a)this.off(e,b,a[e]);return this}if(b===false||typeof b==="function"){c=b;b=v}if(c===false)c=r;return this.each(function(){d.event.remove(this,a,c,b)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,
90
90
  null,b)},live:function(a,b,c){d(this.context).on(a,this.selector,b,c);return this},die:function(a,b){d(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,e){return this.on(b,a,c,e)},undelegate:function(a,b,c){return arguments.length===1?this.off(a,"**"):this.off(b,a||"**",c)},trigger:function(a,b){return this.each(function(){d.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return d.event.trigger(a,b,this[0],true)},toggle:function(a){var b=arguments,
91
- c=a.guid||d.guid++,e=0,f=function(g){var h=(d._data(this,"lastToggle"+a.guid)||0)%e;d._data(this,"lastToggle"+a.guid,h+1);g.preventDefault();return b[h].apply(this,arguments)||false};for(f.guid=c;e<b.length;)b[e++].guid=c;return this.click(f)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),
92
- function(a,b){d.fn[b]=function(c,e){if(e==null){e=c;c=null}return arguments.length>0?this.on(b,null,c,e):this.trigger(b)};if(Hc.test(b))d.event.fixHooks[b]=d.event.keyHooks;if(Ic.test(b))d.event.fixHooks[b]=d.event.mouseHooks});(function(a,b){function c(j,n,p,C){p=p||[];n=n||ga;var G,H,x,K,J=n.nodeType;if(!j||typeof j!=="string")return p;if(J!==1&&J!==9)return[];x=Sa(n);if(!x&&!C)if(G=Jc.exec(j))if(K=G[1])if(J===9)if((H=n.getElementById(K))&&H.parentNode){if(H.id===K){p.push(H);return p}}else return p;
93
- else{if(n.ownerDocument&&(H=n.ownerDocument.getElementById(K))&&T(n,H)&&H.id===K){p.push(H);return p}}else if(G[2]){aa.apply(p,oa.call(n.getElementsByTagName(j),0));return p}else if((K=G[3])&&Wb&&n.getElementsByClassName){aa.apply(p,oa.call(n.getElementsByClassName(K),0));return p}return Z(j.replace(rb,"$1"),n,p,C,x)}function e(j){return function(n){return n.nodeName.toLowerCase()==="input"&&n.type===j}}function f(j){return function(n){var p=n.nodeName.toLowerCase();return(p==="input"||p==="button")&&
94
- n.type===j}}function g(j){return ya(function(n){n=+n;return ya(function(p,C){for(var G,H=j([],p.length,n),x=H.length;x--;)if(p[G=H[x]])p[G]=!(C[G]=p[G])})})}function h(j,n,p){if(j===n)return p;for(j=j.nextSibling;j;){if(j===n)return-1;j=j.nextSibling}return 1}function k(j,n){var p,C,G,H,x,K,J;if(x=ua[fa][j])return n?0:x.slice(0);x=j;K=[];for(J=ba.preFilter;x;){if(!p||(C=Kc.exec(x))){if(C)x=x.slice(C[0].length);K.push(G=[])}p=false;if(C=Lc.exec(x)){G.push(p=new pa(C.shift()));x=x.slice(p.length);p.type=
95
- C[0].replace(rb," ")}for(H in ba.filter)if((C=sb[H].exec(x))&&(!J[H]||(C=J[H](C,ga,true)))){G.push(p=new pa(C.shift()));x=x.slice(p.length);p.type=H;p.matches=C}if(!p)break}return n?x.length:x?c.error(j):ua(j,K).slice(0)}function q(j,n,p){var C=n.dir,G=p&&n.dir==="parentNode",H=va++;return n.first?function(x,K,J){for(;x=x[C];)if(G||x.nodeType===1)return j(x,K,J)}:function(x,K,J){if(J)for(;x=x[C];){if(G||x.nodeType===1)if(j(x,K,J))return x}else for(var U,X=Ca+" "+H+" ",Y=X+Ga;x=x[C];)if(G||x.nodeType===
96
- 1)if((U=x[fa])===Y)return x.sizset;else if(typeof U==="string"&&U.indexOf(X)===0){if(x.sizset)return x}else{x[fa]=Y;if(j(x,K,J)){x.sizset=true;return x}x.sizset=false}}}function u(j){return j.length>1?function(n,p,C){for(var G=j.length;G--;)if(!j[G](n,p,C))return false;return true}:j[0]}function w(j,n,p,C,G){for(var H,x=[],K=0,J=j.length,U=n!=null;K<J;K++)if(H=j[K])if(!p||p(H,C,G)){x.push(H);U&&n.push(K)}return x}function t(j,n,p,C,G,H){if(C&&!C[fa])C=t(C);if(G&&!G[fa])G=t(G,H);return ya(function(x,
97
- K,J,U){if(!(x&&G)){var X,Y,ea=[],sa=[],za=K.length;if(!(Y=x)){Y=n||"*";var ta=J.nodeType?[J]:J,ka=[];X=0;for(var tb=ta.length;X<tb;X++)c(Y,ta[X],ka,x);Y=ka}Y=Y;ta=j&&(x||!n)?w(Y,ea,j,J,U):Y;ka=p?G||(x?j:za||C)?[]:K:ta;p&&p(ta,ka,J,U);if(C){Y=w(ka,sa);C(Y,[],J,U);for(J=Y.length;J--;)if(X=Y[J])ka[sa[J]]=!(ta[sa[J]]=X)}if(x)for(J=j&&ka.length;J--;){if(X=ka[J])x[ea[J]]=!(K[ea[J]]=X)}else{ka=w(ka===K?ka.splice(za,ka.length):ka);G?G(null,K,ka,U):aa.apply(K,ka)}}})}function I(j){var n,p,C,G=j.length,H=ba.relative[j[0].type];
98
- p=H||ba.relative[" "];for(var x=H?1:0,K=q(function(X){return X===n},p,true),J=q(function(X){return bb.call(n,X)>-1},p,true),U=[function(X,Y,ea){return!H&&(ea||Y!==ha)||((n=Y).nodeType?K(X,Y,ea):J(X,Y,ea))}];x<G;x++)if(p=ba.relative[j[x].type])U=[q(u(U),p)];else{p=ba.filter[j[x].type].apply(null,j[x].matches);if(p[fa]){for(C=++x;C<G;C++)if(ba.relative[j[C].type])break;return t(x>1&&u(U),x>1&&j.slice(0,x-1).join("").replace(rb,"$1"),p,x<C&&I(j.slice(x,C)),C<G&&I(j=j.slice(C)),C<G&&j.join(""))}U.push(p)}return u(U)}
99
- function P(j,n){var p=n.length>0,C=j.length>0,G=function(H,x,K,J,U){var X,Y,ea=[],sa=0,za="0",ta=H&&[],ka=U!=null,tb=ha,Mc=H||C&&ba.find.TAG("*",U&&x.parentNode||x),Xb=Ca+=tb==null?1:Math.E;if(ka){ha=x!==ga&&x;Ga=G.el}for(;(U=Mc[za])!=null;za++){if(C&&U){for(X=0;Y=j[X];X++)if(Y(U,x,K)){J.push(U);break}if(ka){Ca=Xb;Ga=++G.el}}if(p){if(U=!Y&&U)sa--;H&&ta.push(U)}}sa+=za;if(p&&za!==sa){for(X=0;Y=n[X];X++)Y(ta,ea,x,K);if(H){if(sa>0)for(;za--;)ta[za]||ea[za]||(ea[za]=Da.call(J));ea=w(ea)}aa.apply(J,ea);
100
- ka&&!H&&ea.length>0&&sa+n.length>1&&c.uniqueSort(J)}if(ka){Ca=Xb;ha=tb}return ta};G.el=0;return p?ya(G):G}function Z(j,n,p,C,G){var H,x,K,J,U=k(j);if(!C)if(U.length===1){x=U[0]=U[0].slice(0);if(x.length>2&&(K=x[0]).type==="ID"&&n.nodeType===9&&!G&&ba.relative[x[1].type]){n=ba.find.ID(K.matches[0].replace(Ta,""),n,G)[0];if(!n)return p;j=j.slice(x.shift().length)}for(H=sb.POS.test(j)?-1:x.length-1;H>=0;H--){K=x[H];if(ba.relative[J=K.type])break;if(J=ba.find[J])if(C=J(K.matches[0].replace(Ta,""),Bb.test(x[0].type)&&
101
- n.parentNode||n,G)){x.splice(H,1);j=C.length&&x.join("");if(!j){aa.apply(p,oa.call(C,0));return p}break}}}cb(j,U)(C,n,G,p,Bb.test(j));return p}function ma(){}var Ga,Na,ba,wa,Sa,T,cb,db,V,ha,ca=true,fa=("sizcache"+Math.random()).replace(".",""),pa=String,ga=a.document,da=ga.documentElement,Ca=0,va=0,Da=[].pop,aa=[].push,oa=[].slice,bb=[].indexOf||function(j){for(var n=0,p=this.length;n<p;n++)if(this[n]===j)return n;return-1},ya=function(j,n){j[fa]=n==null||n;return j},qa=function(){var j={},n=[];return ya(function(p,
102
- C){n.push(p)>ba.cacheLength&&delete j[n.shift()];return j[p]=C},j)},ib=qa(),ua=qa(),Ua=qa();qa="\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[-\\w]|[^\\x00-\\xa0])+)[\\x20\\t\\r\\n\\f]*(?:([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+"(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+".replace("w","w#")+")|)|)[\\x20\\t\\r\\n\\f]*\\]";var jb=":((?:\\\\.|[-\\w]|[^\\x00-\\xa0])+)(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+qa+")|[^:]|\\\\.)*|.*))\\)|)",rb=RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$",
103
- "g"),Kc=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,Lc=/^[\x20\t\r\n\f]*([\x20\t\r\n\f>+~])[\x20\t\r\n\f]*/,Nc=RegExp(jb),Jc=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,Bb=/[\x20\t\r\n\f]*[+~]/,Oc=/h\d/i,Pc=/input|select|textarea|button/i,Ta=/\\(?!\\)/g,sb={ID:/^#((?:\\.|[-\w]|[^\x00-\xa0])+)/,CLASS:/^\.((?:\\.|[-\w]|[^\x00-\xa0])+)/,NAME:/^\[name=['"]?((?:\\.|[-\w]|[^\x00-\xa0])+)['"]?\]/,TAG:RegExp("^("+"(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+".replace("w","w*")+")"),ATTR:RegExp("^"+qa),PSEUDO:RegExp("^"+jb),POS:/:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i,
104
- CHILD:RegExp("^:(only|nth|first|last)-child(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),needsContext:RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},Oa=function(j){var n=ga.createElement("div");try{return j(n)}catch(p){return false}finally{}};qa=Oa(function(j){j.appendChild(ga.createComment(""));
105
- return!j.getElementsByTagName("*").length});var Qc=Oa(function(j){j.innerHTML="<a href='#'></a>";return j.firstChild&&typeof j.firstChild.getAttribute!=="undefined"&&j.firstChild.getAttribute("href")==="#"}),Rc=Oa(function(j){j.innerHTML="<select></select>";j=typeof j.lastChild.getAttribute("multiple");return j!=="boolean"&&j!=="string"}),Wb=Oa(function(j){j.innerHTML="<div class='hidden e'></div><div class='hidden'></div>";if(!j.getElementsByClassName||!j.getElementsByClassName("e").length)return false;
106
- j.lastChild.className="e";return j.getElementsByClassName("e").length===2}),Sc=Oa(function(j){j.id=fa+0;j.innerHTML="<a name='"+fa+"'></a><div name='"+fa+"'></div>";da.insertBefore(j,da.firstChild);var n=ga.getElementsByName&&ga.getElementsByName(fa).length===2+ga.getElementsByName(fa+0).length;Na=!ga.getElementById(fa);da.removeChild(j);return n});try{oa.call(da.childNodes,0)}catch(xd){oa=function(j){for(var n,p=[];n=this[j];j++)p.push(n);return p}}c.matches=function(j,n){return c(j,null,null,n)};
107
- c.matchesSelector=function(j,n){return c(n,null,null,[j]).length>0};wa=c.getText=function(j){var n,p="",C=0;if(n=j.nodeType)if(n===1||n===9||n===11)if(typeof j.textContent==="string")return j.textContent;else for(j=j.firstChild;j;j=j.nextSibling)p+=wa(j);else{if(n===3||n===4)return j.nodeValue}else for(;n=j[C];C++)p+=wa(n);return p};Sa=c.isXML=function(j){return(j=j&&(j.ownerDocument||j).documentElement)?j.nodeName!=="HTML":false};T=c.contains=da.contains?function(j,n){var p=j.nodeType===9?j.documentElement:
108
- j,C=n&&n.parentNode;return j===C||!!(C&&C.nodeType===1&&p.contains&&p.contains(C))}:da.compareDocumentPosition?function(j,n){return n&&!!(j.compareDocumentPosition(n)&16)}:function(j,n){for(;n=n.parentNode;)if(n===j)return true;return false};c.attr=function(j,n){var p,C=Sa(j);C||(n=n.toLowerCase());if(p=ba.attrHandle[n])return p(j);if(C||Rc)return j.getAttribute(n);return(p=j.getAttributeNode(n))?typeof j[n]==="boolean"?j[n]?n:null:p.specified?p.value:null:null};ba=c.selectors={cacheLength:50,createPseudo:ya,
109
- match:sb,attrHandle:Qc?{}:{href:function(j){return j.getAttribute("href",2)},type:function(j){return j.getAttribute("type")}},find:{ID:Na?function(j,n,p){if(typeof n.getElementById!=="undefined"&&!p)return(j=n.getElementById(j))&&j.parentNode?[j]:[]}:function(j,n,p){if(typeof n.getElementById!=="undefined"&&!p)return(n=n.getElementById(j))?n.id===j||typeof n.getAttributeNode!=="undefined"&&n.getAttributeNode("id").value===j?[n]:b:[]},TAG:qa?function(j,n){if(typeof n.getElementsByTagName!=="undefined")return n.getElementsByTagName(j)}:
110
- function(j,n){var p=n.getElementsByTagName(j);if(j==="*"){for(var C,G=[],H=0;C=p[H];H++)C.nodeType===1&&G.push(C);return G}return p},NAME:Sc&&function(j,n){if(typeof n.getElementsByName!=="undefined")return n.getElementsByName(name)},CLASS:Wb&&function(j,n,p){if(typeof n.getElementsByClassName!=="undefined"&&!p)return n.getElementsByClassName(j)}},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(j){j[1]=
111
- j[1].replace(Ta,"");j[3]=(j[4]||j[5]||"").replace(Ta,"");if(j[2]==="~=")j[3]=" "+j[3]+" ";return j.slice(0,4)},CHILD:function(j){j[1]=j[1].toLowerCase();if(j[1]==="nth"){j[2]||c.error(j[0]);j[3]=+(j[3]?j[4]+(j[5]||1):2*(j[2]==="even"||j[2]==="odd"));j[4]=+(j[6]+j[7]||j[2]==="odd")}else j[2]&&c.error(j[0]);return j},PSEUDO:function(j){var n,p;if(sb.CHILD.test(j[0]))return null;if(j[3])j[2]=j[3];else if(n=j[4]){if(Nc.test(n)&&(p=k(n,true))&&(p=n.indexOf(")",n.length-p)-n.length)){n=n.slice(0,p);j[0]=
112
- j[0].slice(0,p)}j[2]=n}return j.slice(0,3)}},filter:{ID:Na?function(j){j=j.replace(Ta,"");return function(n){return n.getAttribute("id")===j}}:function(j){j=j.replace(Ta,"");return function(n){return(n=typeof n.getAttributeNode!=="undefined"&&n.getAttributeNode("id"))&&n.value===j}},TAG:function(j){if(j==="*")return function(){return true};j=j.replace(Ta,"").toLowerCase();return function(n){return n.nodeName&&n.nodeName.toLowerCase()===j}},CLASS:function(j){var n=ib[fa][j];n||(n=ib(j,RegExp("(^|[\\x20\\t\\r\\n\\f])"+
113
- j+"([\\x20\\t\\r\\n\\f]|$)")));return function(p){return n.test(p.className||typeof p.getAttribute!=="undefined"&&p.getAttribute("class")||"")}},ATTR:function(j,n,p){return function(C){C=c.attr(C,j);if(C==null)return n==="!=";if(!n)return true;C+="";return n==="="?C===p:n==="!="?C!==p:n==="^="?p&&C.indexOf(p)===0:n==="*="?p&&C.indexOf(p)>-1:n==="$="?p&&C.substr(C.length-p.length)===p:n==="~="?(" "+C+" ").indexOf(p)>-1:n==="|="?C===p||C.substr(0,p.length+1)===p+"-":false}},CHILD:function(j,n,p,C){if(j===
114
- "nth")return function(G){var H,x;H=G.parentNode;if(p===1&&C===0)return true;if(H){x=0;for(H=H.firstChild;H;H=H.nextSibling)if(H.nodeType===1){x++;if(G===H)break}}x-=C;return x===p||x%p===0&&x/p>=0};return function(G){var H=G;switch(j){case "only":case "first":for(;H=H.previousSibling;)if(H.nodeType===1)return false;if(j==="first")return true;H=G;case "last":for(;H=H.nextSibling;)if(H.nodeType===1)return false;return true}}},PSEUDO:function(j,n){var p,C=ba.pseudos[j]||ba.setFilters[j.toLowerCase()]||
115
- c.error("unsupported pseudo: "+j);if(C[fa])return C(n);if(C.length>1){p=[j,j,"",n];return ba.setFilters.hasOwnProperty(j.toLowerCase())?ya(function(G,H){for(var x,K=C(G,n),J=K.length;J--;){x=bb.call(G,K[J]);G[x]=!(H[x]=K[J])}}):function(G){return C(G,0,p)}}return C}},pseudos:{not:ya(function(j){var n=[],p=[],C=cb(j.replace(rb,"$1"));return C[fa]?ya(function(G,H,x,K){K=C(G,null,K,[]);for(var J=G.length;J--;)if(x=K[J])G[J]=!(H[J]=x)}):function(G,H,x){n[0]=G;C(n,null,x,p);return!p.pop()}}),has:ya(function(j){return function(n){return c(j,
116
- n).length>0}}),contains:ya(function(j){return function(n){return(n.textContent||n.innerText||wa(n)).indexOf(j)>-1}}),enabled:function(j){return j.disabled===false},disabled:function(j){return j.disabled===true},checked:function(j){var n=j.nodeName.toLowerCase();return n==="input"&&!!j.checked||n==="option"&&!!j.selected},selected:function(j){return j.selected===true},parent:function(j){return!ba.pseudos.empty(j)},empty:function(j){var n;for(j=j.firstChild;j;){if(j.nodeName>"@"||(n=j.nodeType)===3||
117
- n===4)return false;j=j.nextSibling}return true},header:function(j){return Oc.test(j.nodeName)},text:function(j){var n,p;return j.nodeName.toLowerCase()==="input"&&(n=j.type)==="text"&&((p=j.getAttribute("type"))==null||p.toLowerCase()===n)},radio:e("radio"),checkbox:e("checkbox"),file:e("file"),password:e("password"),image:e("image"),submit:f("submit"),reset:f("reset"),button:function(j){var n=j.nodeName.toLowerCase();return n==="input"&&j.type==="button"||n==="button"},input:function(j){return Pc.test(j.nodeName)},
118
- focus:function(j){var n=j.ownerDocument;return j===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(j.type||j.href)},active:function(j){return j===j.ownerDocument.activeElement},first:g(function(){return[0]}),last:g(function(j,n){return[n-1]}),eq:g(function(j,n,p){return[p<0?p+n:p]}),even:g(function(j,n){for(var p=0;p<n;p+=2)j.push(p);return j}),odd:g(function(j,n){for(var p=1;p<n;p+=2)j.push(p);return j}),lt:g(function(j,n,p){for(n=p<0?p+n:p;--n>=0;)j.push(n);return j}),gt:g(function(j,n,p){for(p=
119
- p<0?p+n:p;++p<n;)j.push(p);return j})}};db=da.compareDocumentPosition?function(j,n){if(j===n){V=true;return 0}return(!j.compareDocumentPosition||!n.compareDocumentPosition?j.compareDocumentPosition:j.compareDocumentPosition(n)&4)?-1:1}:function(j,n){if(j===n){V=true;return 0}else if(j.sourceIndex&&n.sourceIndex)return j.sourceIndex-n.sourceIndex;var p,C,G=[],H=[];p=j.parentNode;C=n.parentNode;var x=p;if(p===C)return h(j,n);else if(p){if(!C)return 1}else return-1;for(;x;){G.unshift(x);x=x.parentNode}for(x=
120
- C;x;){H.unshift(x);x=x.parentNode}p=G.length;C=H.length;for(x=0;x<p&&x<C;x++)if(G[x]!==H[x])return h(G[x],H[x]);return x===p?h(j,H[x],-1):h(G[x],n,1)};[0,0].sort(db);ca=!V;c.uniqueSort=function(j){var n,p=1;V=ca;j.sort(db);if(V)for(;n=j[p];p++)n===j[p-1]&&j.splice(p--,1);return j};c.error=function(j){throw Error("Syntax error, unrecognized expression: "+j);};cb=c.compile=function(j,n){var p,C=[],G=[],H=Ua[fa][j];if(!H){n||(n=k(j));for(p=n.length;p--;){H=I(n[p]);H[fa]?C.push(H):G.push(H)}H=Ua(j,P(G,
121
- C))}return H};ga.querySelectorAll&&function(){var j,n=Z,p=/'|\\/g,C=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,G=[":focus"],H=[":active",":focus"],x=da.matchesSelector||da.mozMatchesSelector||da.webkitMatchesSelector||da.oMatchesSelector||da.msMatchesSelector;Oa(function(K){K.innerHTML="<select><option selected=''></option></select>";K.querySelectorAll("[selected]").length||G.push("\\[[\\x20\\t\\r\\n\\f]*(?:checked|disabled|ismap|multiple|readonly|selected|value)");K.querySelectorAll(":checked").length||
122
- G.push(":checked")});Oa(function(K){K.innerHTML="<p test=''></p>";K.querySelectorAll("[test^='']").length&&G.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:\"\"|'')");K.innerHTML="<input type='hidden'/>";K.querySelectorAll(":enabled").length||G.push(":enabled",":disabled")});G=RegExp(G.join("|"));Z=function(K,J,U,X,Y){if(!X&&!Y&&(!G||!G.test(K))){var ea,sa,za=true,ta=fa;sa=J;ea=J.nodeType===9&&K;if(J.nodeType===1&&J.nodeName.toLowerCase()!=="object"){ea=k(K);if(za=J.getAttribute("id"))ta=za.replace(p,"\\$&");
123
- else J.setAttribute("id",ta);ta="[id='"+ta+"'] ";for(sa=ea.length;sa--;)ea[sa]=ta+ea[sa].join("");sa=Bb.test(K)&&J.parentNode||J;ea=ea.join(",")}if(ea)try{aa.apply(U,oa.call(sa.querySelectorAll(ea),0));return U}catch(ka){}finally{za||J.removeAttribute("id")}}return n(K,J,U,X,Y)};if(x){Oa(function(K){j=x.call(K,"div");try{x.call(K,"[test!='']:sizzle");H.push("!=",jb)}catch(J){}});H=RegExp(H.join("|"));c.matchesSelector=function(K,J){J=J.replace(C,"='$1']");if(!Sa(K)&&!H.test(J)&&(!G||!G.test(J)))try{var U=
124
- x.call(K,J);if(U||j||K.document&&K.document.nodeType!==11)return U}catch(X){}return c(J,null,null,[K]).length>0}}}();ba.pseudos.nth=ba.pseudos.eq;ba.filters=ma.prototype=ba.pseudos;ba.setFilters=new ma;c.attr=d.attr;d.find=c;d.expr=c.selectors;d.expr[":"]=d.expr.pseudos;d.unique=c.uniqueSort;d.text=c.getText;d.isXMLDoc=c.isXML;d.contains=c.contains})(i);var Tc=/Until$/,Uc=/^(?:parents|prev(?:Until|All))/,oc=/^.[^:#\[\.,]*$/,Yb=d.expr.match.needsContext,Vc={children:true,contents:true,next:true,prev:true};
125
- d.fn.extend({find:function(a){var b,c,e,f,g,h,k=this;if(typeof a!=="string")return d(a).filter(function(){b=0;for(c=k.length;b<c;b++)if(d.contains(k[b],this))return true});h=this.pushStack("","find",a);b=0;for(c=this.length;b<c;b++){e=h.length;d.find(a,this[b],h);if(b>0)for(f=e;f<h.length;f++)for(g=0;g<e;g++)if(h[g]===h[f]){h.splice(f--,1);break}}return h},has:function(a){var b,c=d(a,this),e=c.length;return this.filter(function(){for(b=0;b<e;b++)if(d.contains(this,c[b]))return true})},not:function(a){return this.pushStack(F(this,
126
- a,false),"not",a)},filter:function(a){return this.pushStack(F(this,a,true),"filter",a)},is:function(a){return!!a&&(typeof a==="string"?Yb.test(a)?d(a,this.context).index(this[0])>=0:d.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){for(var c,e=0,f=this.length,g=[],h=Yb.test(a)||typeof a!=="string"?d(a,b||this.context):0;e<f;e++)for(c=this[e];c&&c.ownerDocument&&c!==b&&c.nodeType!==11;){if(h?h.index(c)>-1:d.find.matchesSelector(c,a)){g.push(c);break}c=c.parentNode}g=g.length>
127
- 1?d.unique(g):g;return this.pushStack(g,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a==="string")return d.inArray(this[0],d(a));return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a&&a.nodeType?[a]:a),e=d.merge(this.get(),c);return this.pushStack(v(c[0])||v(e[0])?e:d.unique(e))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}});d.fn.andSelf=d.fn.addBack;
128
- d.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return z(a,"nextSibling")},prev:function(a){return z(a,"previousSibling")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",
129
- c)},siblings:function(a){return d.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.merge([],a.childNodes)}},function(a,b){d.fn[a]=function(c,e){var f=d.map(this,b,c);Tc.test(a)||(e=c);if(e&&typeof e==="string")f=d.filter(e,f);f=this.length>1&&!Vc[a]?d.unique(f):f;if(this.length>1&&Uc.test(a))f=f.reverse();return this.pushStack(f,a,Ba.call(arguments).join(","))}});
130
- d.extend({filter:function(a,b,c){if(c)a=":not("+a+")";return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,b,c){var e=[];for(a=a[b];a&&a.nodeType!==9&&(c===s||a.nodeType!==1||!d(a).is(c));){a.nodeType===1&&e.push(a);a=a[b]}return e},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var Ib="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
131
- Wc=/ jQuery\d+="(?:null|\d+)"/g,Cb=/^\s+/,Zb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,$b=/<([\w:]+)/,Xc=/<tbody/i,Yc=/<|&#?\w+;/,Zc=/<(?:script|style|link)/i,$c=/<(?:script|object|embed|option|style)/i,Db=RegExp("<(?:"+Ib+")[\\s/>]","i"),Jb=/^(?:checkbox|radio)$/,ac=/checked\s*(?:[^=]|=\s*.checked.)/i,ad=/\/(java|ecma)script/i,bd=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,Ea={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],
132
- thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bc=M(L),Eb=bc.appendChild(L.createElement("div"));Ea.optgroup=Ea.option;Ea.tbody=Ea.tfoot=Ea.colgroup=Ea.caption=Ea.thead;Ea.th=Ea.td;if(!d.support.htmlSerialize)Ea._default=[1,"X<div>","</div>"];d.fn.extend({text:function(a){return d.access(this,function(b){return b===
133
- s?d.text(this):this.empty().append((this[0]&&this[0].ownerDocument||L).createTextNode(b))},null,a,arguments.length)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(c){d(this).wrapAll(a.call(this,c))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var c=this;c.firstChild&&c.firstChild.nodeType===1;)c=c.firstChild;return c}).append(this)}return this},wrapInner:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapInner(a.call(this,
91
+ c=a.guid||d.guid++,e=0,f=function(h){var j=(d._data(this,"lastToggle"+a.guid)||0)%e;d._data(this,"lastToggle"+a.guid,j+1);h.preventDefault();return b[j].apply(this,arguments)||false};for(f.guid=c;e<b.length;)b[e++].guid=c;return this.click(f)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),
92
+ function(a,b){d.fn[b]=function(c,e){if(e==null){e=c;c=null}return arguments.length>0?this.on(b,null,c,e):this.trigger(b)};if(Hc.test(b))d.event.fixHooks[b]=d.event.keyHooks;if(Ic.test(b))d.event.fixHooks[b]=d.event.mouseHooks});(function(a,b){function c(l,q,t,F){t=t||[];q=q||ga;var I,J,B,N,M=q.nodeType;if(!l||typeof l!=="string")return t;if(M!==1&&M!==9)return[];B=Sa(q);if(!B&&!F)if(I=Jc.exec(l))if(N=I[1])if(M===9)if((J=q.getElementById(N))&&J.parentNode){if(J.id===N){t.push(J);return t}}else return t;
93
+ else{if(q.ownerDocument&&(J=q.ownerDocument.getElementById(N))&&U(q,J)&&J.id===N){t.push(J);return t}}else if(I[2]){aa.apply(t,pa.call(q.getElementsByTagName(l),0));return t}else if((N=I[3])&&Wb&&q.getElementsByClassName){aa.apply(t,pa.call(q.getElementsByClassName(N),0));return t}return Z(l.replace(rb,"$1"),q,t,F,B)}function e(l){return function(q){return q.nodeName.toLowerCase()==="input"&&q.type===l}}function f(l){return function(q){var t=q.nodeName.toLowerCase();return(t==="input"||t==="button")&&
94
+ q.type===l}}function h(l){return za(function(q){q=+q;return za(function(t,F){for(var I,J=l([],t.length,q),B=J.length;B--;)if(t[I=J[B]])t[I]=!(F[I]=t[I])})})}function j(l,q,t){if(l===q)return t;for(l=l.nextSibling;l;){if(l===q)return-1;l=l.nextSibling}return 1}function m(l,q){var t,F,I,J,B,N,M;if(B=va[fa][l])return q?0:B.slice(0);B=l;N=[];for(M=ba.preFilter;B;){if(!t||(F=Kc.exec(B))){if(F)B=B.slice(F[0].length);N.push(I=[])}t=false;if(F=Lc.exec(B)){I.push(t=new qa(F.shift()));B=B.slice(t.length);t.type=
95
+ F[0].replace(rb," ")}for(J in ba.filter)if((F=sb[J].exec(B))&&(!M[J]||(F=M[J](F,ga,true)))){I.push(t=new qa(F.shift()));B=B.slice(t.length);t.type=J;t.matches=F}if(!t)break}return q?B.length:B?c.error(l):va(l,N).slice(0)}function u(l,q,t){var F=q.dir,I=t&&q.dir==="parentNode",J=wa++;return q.first?function(B,N,M){for(;B=B[F];)if(I||B.nodeType===1)return l(B,N,M)}:function(B,N,M){if(M)for(;B=B[F];){if(I||B.nodeType===1)if(l(B,N,M))return B}else for(var V,X=Da+" "+J+" ",Y=X+Ga;B=B[F];)if(I||B.nodeType===
96
+ 1)if((V=B[fa])===Y)return B.sizset;else if(typeof V==="string"&&V.indexOf(X)===0){if(B.sizset)return B}else{B[fa]=Y;if(l(B,N,M)){B.sizset=true;return B}B.sizset=false}}}function y(l){return l.length>1?function(q,t,F){for(var I=l.length;I--;)if(!l[I](q,t,F))return false;return true}:l[0]}function A(l,q,t,F,I){for(var J,B=[],N=0,M=l.length,V=q!=null;N<M;N++)if(J=l[N])if(!t||t(J,F,I)){B.push(J);V&&q.push(N)}return B}function w(l,q,t,F,I,J){if(F&&!F[fa])F=w(F);if(I&&!I[fa])I=w(I,J);return za(function(B,
97
+ N,M,V){if(!(B&&I)){var X,Y,ea=[],ta=[],Aa=N.length;if(!(Y=B)){Y=q||"*";var ua=M.nodeType?[M]:M,ka=[];X=0;for(var tb=ua.length;X<tb;X++)c(Y,ua[X],ka,B);Y=ka}Y=Y;ua=l&&(B||!q)?A(Y,ea,l,M,V):Y;ka=t?I||(B?l:Aa||F)?[]:N:ua;t&&t(ua,ka,M,V);if(F){Y=A(ka,ta);F(Y,[],M,V);for(M=Y.length;M--;)if(X=Y[M])ka[ta[M]]=!(ua[ta[M]]=X)}if(B)for(M=l&&ka.length;M--;){if(X=ka[M])B[ea[M]]=!(N[ea[M]]=X)}else{ka=A(ka===N?ka.splice(Aa,ka.length):ka);I?I(null,N,ka,V):aa.apply(N,ka)}}})}function L(l){var q,t,F,I=l.length,J=ba.relative[l[0].type];
98
+ t=J||ba.relative[" "];for(var B=J?1:0,N=u(function(X){return X===q},t,true),M=u(function(X){return bb.call(q,X)>-1},t,true),V=[function(X,Y,ea){return!J&&(ea||Y!==ha)||((q=Y).nodeType?N(X,Y,ea):M(X,Y,ea))}];B<I;B++)if(t=ba.relative[l[B].type])V=[u(y(V),t)];else{t=ba.filter[l[B].type].apply(null,l[B].matches);if(t[fa]){for(F=++B;F<I;F++)if(ba.relative[l[F].type])break;return w(B>1&&y(V),B>1&&l.slice(0,B-1).join("").replace(rb,"$1"),t,B<F&&L(l.slice(B,F)),F<I&&L(l=l.slice(F)),F<I&&l.join(""))}V.push(t)}return y(V)}
99
+ function T(l,q){var t=q.length>0,F=l.length>0,I=function(J,B,N,M,V){var X,Y,ea=[],ta=0,Aa="0",ua=J&&[],ka=V!=null,tb=ha,Mc=J||F&&ba.find.TAG("*",V&&B.parentNode||B),Xb=Da+=tb==null?1:Math.E;if(ka){ha=B!==ga&&B;Ga=I.el}for(;(V=Mc[Aa])!=null;Aa++){if(F&&V){for(X=0;Y=l[X];X++)if(Y(V,B,N)){M.push(V);break}if(ka){Da=Xb;Ga=++I.el}}if(t){if(V=!Y&&V)ta--;J&&ua.push(V)}}ta+=Aa;if(t&&Aa!==ta){for(X=0;Y=q[X];X++)Y(ua,ea,B,N);if(J){if(ta>0)for(;Aa--;)ua[Aa]||ea[Aa]||(ea[Aa]=Ea.call(M));ea=A(ea)}aa.apply(M,ea);
100
+ ka&&!J&&ea.length>0&&ta+q.length>1&&c.uniqueSort(M)}if(ka){Da=Xb;ha=tb}return ua};I.el=0;return t?za(I):I}function Z(l,q,t,F,I){var J,B,N,M,V=m(l);if(!F)if(V.length===1){B=V[0]=V[0].slice(0);if(B.length>2&&(N=B[0]).type==="ID"&&q.nodeType===9&&!I&&ba.relative[B[1].type]){q=ba.find.ID(N.matches[0].replace(Ta,""),q,I)[0];if(!q)return t;l=l.slice(B.shift().length)}for(J=sb.POS.test(l)?-1:B.length-1;J>=0;J--){N=B[J];if(ba.relative[M=N.type])break;if(M=ba.find[M])if(F=M(N.matches[0].replace(Ta,""),Bb.test(B[0].type)&&
101
+ q.parentNode||q,I)){B.splice(J,1);l=F.length&&B.join("");if(!l){aa.apply(t,pa.call(F,0));return t}break}}}cb(l,V)(F,q,I,t,Bb.test(l));return t}function na(){}var Ga,Na,ba,xa,Sa,U,cb,db,W,ha,ca=true,fa=("sizcache"+Math.random()).replace(".",""),qa=String,ga=a.document,da=ga.documentElement,Da=0,wa=0,Ea=[].pop,aa=[].push,pa=[].slice,bb=[].indexOf||function(l){for(var q=0,t=this.length;q<t;q++)if(this[q]===l)return q;return-1},za=function(l,q){l[fa]=q==null||q;return l},ra=function(){var l={},q=[];return za(function(t,
102
+ F){q.push(t)>ba.cacheLength&&delete l[q.shift()];return l[t]=F},l)},ib=ra(),va=ra(),Ua=ra();ra="\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[-\\w]|[^\\x00-\\xa0])+)[\\x20\\t\\r\\n\\f]*(?:([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+"(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+".replace("w","w#")+")|)|)[\\x20\\t\\r\\n\\f]*\\]";var jb=":((?:\\\\.|[-\\w]|[^\\x00-\\xa0])+)(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+ra+")|[^:]|\\\\.)*|.*))\\)|)",rb=RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$",
103
+ "g"),Kc=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,Lc=/^[\x20\t\r\n\f]*([\x20\t\r\n\f>+~])[\x20\t\r\n\f]*/,Nc=RegExp(jb),Jc=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,Bb=/[\x20\t\r\n\f]*[+~]/,Oc=/h\d/i,Pc=/input|select|textarea|button/i,Ta=/\\(?!\\)/g,sb={ID:/^#((?:\\.|[-\w]|[^\x00-\xa0])+)/,CLASS:/^\.((?:\\.|[-\w]|[^\x00-\xa0])+)/,NAME:/^\[name=['"]?((?:\\.|[-\w]|[^\x00-\xa0])+)['"]?\]/,TAG:RegExp("^("+"(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+".replace("w","w*")+")"),ATTR:RegExp("^"+ra),PSEUDO:RegExp("^"+jb),POS:/:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i,
104
+ CHILD:RegExp("^:(only|nth|first|last)-child(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),needsContext:RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},Oa=function(l){var q=ga.createElement("div");try{return l(q)}catch(t){return false}finally{}};ra=Oa(function(l){l.appendChild(ga.createComment(""));
105
+ return!l.getElementsByTagName("*").length});var Qc=Oa(function(l){l.innerHTML="<a href='#'></a>";return l.firstChild&&typeof l.firstChild.getAttribute!=="undefined"&&l.firstChild.getAttribute("href")==="#"}),Rc=Oa(function(l){l.innerHTML="<select></select>";l=typeof l.lastChild.getAttribute("multiple");return l!=="boolean"&&l!=="string"}),Wb=Oa(function(l){l.innerHTML="<div class='hidden e'></div><div class='hidden'></div>";if(!l.getElementsByClassName||!l.getElementsByClassName("e").length)return false;
106
+ l.lastChild.className="e";return l.getElementsByClassName("e").length===2}),Sc=Oa(function(l){l.id=fa+0;l.innerHTML="<a name='"+fa+"'></a><div name='"+fa+"'></div>";da.insertBefore(l,da.firstChild);var q=ga.getElementsByName&&ga.getElementsByName(fa).length===2+ga.getElementsByName(fa+0).length;Na=!ga.getElementById(fa);da.removeChild(l);return q});try{pa.call(da.childNodes,0)}catch(xd){pa=function(l){for(var q,t=[];q=this[l];l++)t.push(q);return t}}c.matches=function(l,q){return c(l,null,null,q)};
107
+ c.matchesSelector=function(l,q){return c(q,null,null,[l]).length>0};xa=c.getText=function(l){var q,t="",F=0;if(q=l.nodeType)if(q===1||q===9||q===11)if(typeof l.textContent==="string")return l.textContent;else for(l=l.firstChild;l;l=l.nextSibling)t+=xa(l);else{if(q===3||q===4)return l.nodeValue}else for(;q=l[F];F++)t+=xa(q);return t};Sa=c.isXML=function(l){return(l=l&&(l.ownerDocument||l).documentElement)?l.nodeName!=="HTML":false};U=c.contains=da.contains?function(l,q){var t=l.nodeType===9?l.documentElement:
108
+ l,F=q&&q.parentNode;return l===F||!!(F&&F.nodeType===1&&t.contains&&t.contains(F))}:da.compareDocumentPosition?function(l,q){return q&&!!(l.compareDocumentPosition(q)&16)}:function(l,q){for(;q=q.parentNode;)if(q===l)return true;return false};c.attr=function(l,q){var t,F=Sa(l);F||(q=q.toLowerCase());if(t=ba.attrHandle[q])return t(l);if(F||Rc)return l.getAttribute(q);return(t=l.getAttributeNode(q))?typeof l[q]==="boolean"?l[q]?q:null:t.specified?t.value:null:null};ba=c.selectors={cacheLength:50,createPseudo:za,
109
+ match:sb,attrHandle:Qc?{}:{href:function(l){return l.getAttribute("href",2)},type:function(l){return l.getAttribute("type")}},find:{ID:Na?function(l,q,t){if(typeof q.getElementById!=="undefined"&&!t)return(l=q.getElementById(l))&&l.parentNode?[l]:[]}:function(l,q,t){if(typeof q.getElementById!=="undefined"&&!t)return(q=q.getElementById(l))?q.id===l||typeof q.getAttributeNode!=="undefined"&&q.getAttributeNode("id").value===l?[q]:b:[]},TAG:ra?function(l,q){if(typeof q.getElementsByTagName!=="undefined")return q.getElementsByTagName(l)}:
110
+ function(l,q){var t=q.getElementsByTagName(l);if(l==="*"){for(var F,I=[],J=0;F=t[J];J++)F.nodeType===1&&I.push(F);return I}return t},NAME:Sc&&function(l,q){if(typeof q.getElementsByName!=="undefined")return q.getElementsByName(name)},CLASS:Wb&&function(l,q,t){if(typeof q.getElementsByClassName!=="undefined"&&!t)return q.getElementsByClassName(l)}},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(l){l[1]=
111
+ l[1].replace(Ta,"");l[3]=(l[4]||l[5]||"").replace(Ta,"");if(l[2]==="~=")l[3]=" "+l[3]+" ";return l.slice(0,4)},CHILD:function(l){l[1]=l[1].toLowerCase();if(l[1]==="nth"){l[2]||c.error(l[0]);l[3]=+(l[3]?l[4]+(l[5]||1):2*(l[2]==="even"||l[2]==="odd"));l[4]=+(l[6]+l[7]||l[2]==="odd")}else l[2]&&c.error(l[0]);return l},PSEUDO:function(l){var q,t;if(sb.CHILD.test(l[0]))return null;if(l[3])l[2]=l[3];else if(q=l[4]){if(Nc.test(q)&&(t=m(q,true))&&(t=q.indexOf(")",q.length-t)-q.length)){q=q.slice(0,t);l[0]=
112
+ l[0].slice(0,t)}l[2]=q}return l.slice(0,3)}},filter:{ID:Na?function(l){l=l.replace(Ta,"");return function(q){return q.getAttribute("id")===l}}:function(l){l=l.replace(Ta,"");return function(q){return(q=typeof q.getAttributeNode!=="undefined"&&q.getAttributeNode("id"))&&q.value===l}},TAG:function(l){if(l==="*")return function(){return true};l=l.replace(Ta,"").toLowerCase();return function(q){return q.nodeName&&q.nodeName.toLowerCase()===l}},CLASS:function(l){var q=ib[fa][l];q||(q=ib(l,RegExp("(^|[\\x20\\t\\r\\n\\f])"+
113
+ l+"([\\x20\\t\\r\\n\\f]|$)")));return function(t){return q.test(t.className||typeof t.getAttribute!=="undefined"&&t.getAttribute("class")||"")}},ATTR:function(l,q,t){return function(F){F=c.attr(F,l);if(F==null)return q==="!=";if(!q)return true;F+="";return q==="="?F===t:q==="!="?F!==t:q==="^="?t&&F.indexOf(t)===0:q==="*="?t&&F.indexOf(t)>-1:q==="$="?t&&F.substr(F.length-t.length)===t:q==="~="?(" "+F+" ").indexOf(t)>-1:q==="|="?F===t||F.substr(0,t.length+1)===t+"-":false}},CHILD:function(l,q,t,F){if(l===
114
+ "nth")return function(I){var J,B;J=I.parentNode;if(t===1&&F===0)return true;if(J){B=0;for(J=J.firstChild;J;J=J.nextSibling)if(J.nodeType===1){B++;if(I===J)break}}B-=F;return B===t||B%t===0&&B/t>=0};return function(I){var J=I;switch(l){case "only":case "first":for(;J=J.previousSibling;)if(J.nodeType===1)return false;if(l==="first")return true;J=I;case "last":for(;J=J.nextSibling;)if(J.nodeType===1)return false;return true}}},PSEUDO:function(l,q){var t,F=ba.pseudos[l]||ba.setFilters[l.toLowerCase()]||
115
+ c.error("unsupported pseudo: "+l);if(F[fa])return F(q);if(F.length>1){t=[l,l,"",q];return ba.setFilters.hasOwnProperty(l.toLowerCase())?za(function(I,J){for(var B,N=F(I,q),M=N.length;M--;){B=bb.call(I,N[M]);I[B]=!(J[B]=N[M])}}):function(I){return F(I,0,t)}}return F}},pseudos:{not:za(function(l){var q=[],t=[],F=cb(l.replace(rb,"$1"));return F[fa]?za(function(I,J,B,N){N=F(I,null,N,[]);for(var M=I.length;M--;)if(B=N[M])I[M]=!(J[M]=B)}):function(I,J,B){q[0]=I;F(q,null,B,t);return!t.pop()}}),has:za(function(l){return function(q){return c(l,
116
+ q).length>0}}),contains:za(function(l){return function(q){return(q.textContent||q.innerText||xa(q)).indexOf(l)>-1}}),enabled:function(l){return l.disabled===false},disabled:function(l){return l.disabled===true},checked:function(l){var q=l.nodeName.toLowerCase();return q==="input"&&!!l.checked||q==="option"&&!!l.selected},selected:function(l){return l.selected===true},parent:function(l){return!ba.pseudos.empty(l)},empty:function(l){var q;for(l=l.firstChild;l;){if(l.nodeName>"@"||(q=l.nodeType)===3||
117
+ q===4)return false;l=l.nextSibling}return true},header:function(l){return Oc.test(l.nodeName)},text:function(l){var q,t;return l.nodeName.toLowerCase()==="input"&&(q=l.type)==="text"&&((t=l.getAttribute("type"))==null||t.toLowerCase()===q)},radio:e("radio"),checkbox:e("checkbox"),file:e("file"),password:e("password"),image:e("image"),submit:f("submit"),reset:f("reset"),button:function(l){var q=l.nodeName.toLowerCase();return q==="input"&&l.type==="button"||q==="button"},input:function(l){return Pc.test(l.nodeName)},
118
+ focus:function(l){var q=l.ownerDocument;return l===q.activeElement&&(!q.hasFocus||q.hasFocus())&&!!(l.type||l.href)},active:function(l){return l===l.ownerDocument.activeElement},first:h(function(){return[0]}),last:h(function(l,q){return[q-1]}),eq:h(function(l,q,t){return[t<0?t+q:t]}),even:h(function(l,q){for(var t=0;t<q;t+=2)l.push(t);return l}),odd:h(function(l,q){for(var t=1;t<q;t+=2)l.push(t);return l}),lt:h(function(l,q,t){for(q=t<0?t+q:t;--q>=0;)l.push(q);return l}),gt:h(function(l,q,t){for(t=
119
+ t<0?t+q:t;++t<q;)l.push(t);return l})}};db=da.compareDocumentPosition?function(l,q){if(l===q){W=true;return 0}return(!l.compareDocumentPosition||!q.compareDocumentPosition?l.compareDocumentPosition:l.compareDocumentPosition(q)&4)?-1:1}:function(l,q){if(l===q){W=true;return 0}else if(l.sourceIndex&&q.sourceIndex)return l.sourceIndex-q.sourceIndex;var t,F,I=[],J=[];t=l.parentNode;F=q.parentNode;var B=t;if(t===F)return j(l,q);else if(t){if(!F)return 1}else return-1;for(;B;){I.unshift(B);B=B.parentNode}for(B=
120
+ F;B;){J.unshift(B);B=B.parentNode}t=I.length;F=J.length;for(B=0;B<t&&B<F;B++)if(I[B]!==J[B])return j(I[B],J[B]);return B===t?j(l,J[B],-1):j(I[B],q,1)};[0,0].sort(db);ca=!W;c.uniqueSort=function(l){var q,t=1;W=ca;l.sort(db);if(W)for(;q=l[t];t++)q===l[t-1]&&l.splice(t--,1);return l};c.error=function(l){throw Error("Syntax error, unrecognized expression: "+l);};cb=c.compile=function(l,q){var t,F=[],I=[],J=Ua[fa][l];if(!J){q||(q=m(l));for(t=q.length;t--;){J=L(q[t]);J[fa]?F.push(J):I.push(J)}J=Ua(l,T(I,
121
+ F))}return J};ga.querySelectorAll&&function(){var l,q=Z,t=/'|\\/g,F=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,I=[":focus"],J=[":active",":focus"],B=da.matchesSelector||da.mozMatchesSelector||da.webkitMatchesSelector||da.oMatchesSelector||da.msMatchesSelector;Oa(function(N){N.innerHTML="<select><option selected=''></option></select>";N.querySelectorAll("[selected]").length||I.push("\\[[\\x20\\t\\r\\n\\f]*(?:checked|disabled|ismap|multiple|readonly|selected|value)");N.querySelectorAll(":checked").length||
122
+ I.push(":checked")});Oa(function(N){N.innerHTML="<p test=''></p>";N.querySelectorAll("[test^='']").length&&I.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:\"\"|'')");N.innerHTML="<input type='hidden'/>";N.querySelectorAll(":enabled").length||I.push(":enabled",":disabled")});I=RegExp(I.join("|"));Z=function(N,M,V,X,Y){if(!X&&!Y&&(!I||!I.test(N))){var ea,ta,Aa=true,ua=fa;ta=M;ea=M.nodeType===9&&N;if(M.nodeType===1&&M.nodeName.toLowerCase()!=="object"){ea=m(N);if(Aa=M.getAttribute("id"))ua=Aa.replace(t,"\\$&");
123
+ else M.setAttribute("id",ua);ua="[id='"+ua+"'] ";for(ta=ea.length;ta--;)ea[ta]=ua+ea[ta].join("");ta=Bb.test(N)&&M.parentNode||M;ea=ea.join(",")}if(ea)try{aa.apply(V,pa.call(ta.querySelectorAll(ea),0));return V}catch(ka){}finally{Aa||M.removeAttribute("id")}}return q(N,M,V,X,Y)};if(B){Oa(function(N){l=B.call(N,"div");try{B.call(N,"[test!='']:sizzle");J.push("!=",jb)}catch(M){}});J=RegExp(J.join("|"));c.matchesSelector=function(N,M){M=M.replace(F,"='$1']");if(!Sa(N)&&!J.test(M)&&(!I||!I.test(M)))try{var V=
124
+ B.call(N,M);if(V||l||N.document&&N.document.nodeType!==11)return V}catch(X){}return c(M,null,null,[N]).length>0}}}();ba.pseudos.nth=ba.pseudos.eq;ba.filters=na.prototype=ba.pseudos;ba.setFilters=new na;c.attr=d.attr;d.find=c;d.expr=c.selectors;d.expr[":"]=d.expr.pseudos;d.unique=c.uniqueSort;d.text=c.getText;d.isXMLDoc=c.isXML;d.contains=c.contains})(i);var Tc=/Until$/,Uc=/^(?:parents|prev(?:Until|All))/,oc=/^.[^:#\[\.,]*$/,Yb=d.expr.match.needsContext,Vc={children:true,contents:true,next:true,prev:true};
125
+ d.fn.extend({find:function(a){var b,c,e,f,h,j,m=this;if(typeof a!=="string")return d(a).filter(function(){b=0;for(c=m.length;b<c;b++)if(d.contains(m[b],this))return true});j=this.pushStack("","find",a);b=0;for(c=this.length;b<c;b++){e=j.length;d.find(a,this[b],j);if(b>0)for(f=e;f<j.length;f++)for(h=0;h<e;h++)if(j[h]===j[f]){j.splice(f--,1);break}}return j},has:function(a){var b,c=d(a,this),e=c.length;return this.filter(function(){for(b=0;b<e;b++)if(d.contains(this,c[b]))return true})},not:function(a){return this.pushStack(H(this,
126
+ a,false),"not",a)},filter:function(a){return this.pushStack(H(this,a,true),"filter",a)},is:function(a){return!!a&&(typeof a==="string"?Yb.test(a)?d(a,this.context).index(this[0])>=0:d.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){for(var c,e=0,f=this.length,h=[],j=Yb.test(a)||typeof a!=="string"?d(a,b||this.context):0;e<f;e++)for(c=this[e];c&&c.ownerDocument&&c!==b&&c.nodeType!==11;){if(j?j.index(c)>-1:d.find.matchesSelector(c,a)){h.push(c);break}c=c.parentNode}h=h.length>
127
+ 1?d.unique(h):h;return this.pushStack(h,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a==="string")return d.inArray(this[0],d(a));return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a&&a.nodeType?[a]:a),e=d.merge(this.get(),c);return this.pushStack(x(c[0])||x(e[0])?e:d.unique(e))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}});d.fn.andSelf=d.fn.addBack;
128
+ d.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return E(a,"nextSibling")},prev:function(a){return E(a,"previousSibling")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",
129
+ c)},siblings:function(a){return d.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.merge([],a.childNodes)}},function(a,b){d.fn[a]=function(c,e){var f=d.map(this,b,c);Tc.test(a)||(e=c);if(e&&typeof e==="string")f=d.filter(e,f);f=this.length>1&&!Vc[a]?d.unique(f):f;if(this.length>1&&Uc.test(a))f=f.reverse();return this.pushStack(f,a,Ca.call(arguments).join(","))}});
130
+ d.extend({filter:function(a,b,c){if(c)a=":not("+a+")";return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,b,c){var e=[];for(a=a[b];a&&a.nodeType!==9&&(c===v||a.nodeType!==1||!d(a).is(c));){a.nodeType===1&&e.push(a);a=a[b]}return e},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var Ib="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
131
+ Wc=/ jQuery\d+="(?:null|\d+)"/g,Cb=/^\s+/,Zb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,$b=/<([\w:]+)/,Xc=/<tbody/i,Yc=/<|&#?\w+;/,Zc=/<(?:script|style|link)/i,$c=/<(?:script|object|embed|option|style)/i,Db=RegExp("<(?:"+Ib+")[\\s/>]","i"),Jb=/^(?:checkbox|radio)$/,ac=/checked\s*(?:[^=]|=\s*.checked.)/i,ad=/\/(java|ecma)script/i,bd=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,Fa={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],
132
+ thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bc=K(Q),Eb=bc.appendChild(Q.createElement("div"));Fa.optgroup=Fa.option;Fa.tbody=Fa.tfoot=Fa.colgroup=Fa.caption=Fa.thead;Fa.th=Fa.td;if(!d.support.htmlSerialize)Fa._default=[1,"X<div>","</div>"];d.fn.extend({text:function(a){return d.access(this,function(b){return b===
133
+ v?d.text(this):this.empty().append((this[0]&&this[0].ownerDocument||Q).createTextNode(b))},null,a,arguments.length)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(c){d(this).wrapAll(a.call(this,c))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var c=this;c.firstChild&&c.firstChild.nodeType===1;)c=c.firstChild;return c}).append(this)}return this},wrapInner:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapInner(a.call(this,
134
134
  b))});return this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=d.isFunction(a);return this.each(function(c){d(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){if(this.nodeType===1||this.nodeType===11)this.appendChild(a)})},prepend:function(){return this.domManip(arguments,
135
- true,function(a){if(this.nodeType===1||this.nodeType===11)this.insertBefore(a,this.firstChild)})},before:function(){if(!v(this[0]))return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});if(arguments.length){var a=d.clean(arguments);return this.pushStack(d.merge(a,this),"before",this.selector)}},after:function(){if(!v(this[0]))return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});if(arguments.length){var a=d.clean(arguments);
135
+ true,function(a){if(this.nodeType===1||this.nodeType===11)this.insertBefore(a,this.firstChild)})},before:function(){if(!x(this[0]))return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});if(arguments.length){var a=d.clean(arguments);return this.pushStack(d.merge(a,this),"before",this.selector)}},after:function(){if(!x(this[0]))return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});if(arguments.length){var a=d.clean(arguments);
136
136
  return this.pushStack(d.merge(this,a),"after",this.selector)}},remove:function(a,b){for(var c,e=0;(c=this[e])!=null;e++)if(!a||d.filter(a,[c]).length){if(!b&&c.nodeType===1){d.cleanData(c.getElementsByTagName("*"));d.cleanData([c])}c.parentNode&&c.parentNode.removeChild(c)}return this},empty:function(){for(var a,b=0;(a=this[b])!=null;b++)for(a.nodeType===1&&d.cleanData(a.getElementsByTagName("*"));a.firstChild;)a.removeChild(a.firstChild);return this},clone:function(a,b){a=a==null?false:a;b=b==null?
137
- a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){return d.access(this,function(b){var c=this[0]||{},e=0,f=this.length;if(b===s)return c.nodeType===1?c.innerHTML.replace(Wc,""):s;if(typeof b==="string"&&!Zc.test(b)&&(d.support.htmlSerialize||!Db.test(b))&&(d.support.leadingWhitespace||!Cb.test(b))&&!Ea[($b.exec(b)||["",""])[1].toLowerCase()]){b=b.replace(Zb,"<$1></$2>");try{for(;e<f;e++){c=this[e]||{};if(c.nodeType===1){d.cleanData(c.getElementsByTagName("*"));c.innerHTML=
138
- b}}c=0}catch(g){}}c&&this.empty().append(b)},null,a,arguments.length)},replaceWith:function(a){if(!v(this[0])){if(d.isFunction(a))return this.each(function(b){var c=d(this),e=c.html();c.replaceWith(a.call(this,b,e))});if(typeof a!=="string")a=d(a).detach();return this.each(function(){var b=this.nextSibling,c=this.parentNode;d(this).remove();b?d(b).before(a):d(c).append(a)})}return this.length?this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,true)},
139
- domManip:function(a,b,c){a=[].concat.apply([],a);var e,f,g,h=0,k=a[0],q=[],u=this.length;if(!d.support.checkClone&&u>1&&typeof k==="string"&&ac.test(k))return this.each(function(){d(this).domManip(a,b,c)});if(d.isFunction(k))return this.each(function(w){var t=d(this);a[0]=k.call(this,w,b?t.html():s);t.domManip(a,b,c)});if(this[0]){e=d.buildFragment(a,this,q);g=e.fragment;f=g.firstChild;if(g.childNodes.length===1)g=f;if(f){b=b&&d.nodeName(f,"tr");for(e=e.cacheable||u-1;h<u;h++)c.call(b&&d.nodeName(this[h],
140
- "table")?this[h].getElementsByTagName("tbody")[0]||this[h].appendChild(this[h].ownerDocument.createElement("tbody")):this[h],h===e?g:d.clone(g,true,true))}g=f=null;q.length&&d.each(q,function(w,t){if(t.src)d.ajax?d.ajax({url:t.src,type:"GET",dataType:"script",async:false,global:false,"throws":true}):d.error("no ajax");else d.globalEval((t.text||t.textContent||t.innerHTML||"").replace(bd,""));t.parentNode&&t.parentNode.removeChild(t)})}return this}});d.buildFragment=function(a,b,c){var e,f,g,h=a[0];
141
- b=b||L;b=!b.nodeType&&b[0]||b;b=b.ownerDocument||b;if(a.length===1&&typeof h==="string"&&h.length<512&&b===L&&h.charAt(0)==="<"&&!$c.test(h)&&(d.support.checkClone||!ac.test(h))&&(d.support.html5Clone||!Db.test(h))){f=true;e=d.fragments[h];g=e!==s}if(!e){e=b.createDocumentFragment();d.clean(a,b,e,c);if(f)d.fragments[h]=g&&e}return{fragment:e,cacheable:f}};d.fragments={};d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=
142
- function(c){var e,f=0,g=[];c=d(c);var h=c.length;e=this.length===1&&this[0].parentNode;if((e==null||e&&e.nodeType===11&&e.childNodes.length===1)&&h===1){c[b](this[0]);return this}else{for(;f<h;f++){e=(f>0?this.clone(true):this).get();d(c[f])[b](e);g=g.concat(e)}return this.pushStack(g,a,c.selector)}}});d.extend({clone:function(a,b,c){var e,f,g,h;if(d.support.html5Clone||d.isXMLDoc(a)||!Db.test("<"+a.nodeName+">"))h=a.cloneNode(true);else{Eb.innerHTML=a.outerHTML;Eb.removeChild(h=Eb.firstChild)}if((!d.support.noCloneEvent||
143
- !d.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){N(a,h);e=R(a);f=R(h);for(g=0;e[g];++g)f[g]&&N(e[g],f[g])}if(b){O(a,h);if(c){e=R(a);f=R(h);for(g=0;e[g];++g)O(e[g],f[g])}}return h},clean:function(a,b,c,e){var f,g,h,k,q,u,w=b===L&&bc,t=[];if(!b||typeof b.createDocumentFragment==="undefined")b=L;for(f=0;(h=a[f])!=null;f++){if(typeof h==="number")h+="";if(h){if(typeof h==="string")if(Yc.test(h)){w=w||M(b);u=b.createElement("div");w.appendChild(u);h=h.replace(Zb,"<$1></$2>");
144
- g=($b.exec(h)||["",""])[1].toLowerCase();k=Ea[g]||Ea._default;q=k[0];for(u.innerHTML=k[1]+h+k[2];q--;)u=u.lastChild;if(!d.support.tbody){q=Xc.test(h);k=g==="table"&&!q?u.firstChild&&u.firstChild.childNodes:k[1]==="<table>"&&!q?u.childNodes:[];for(g=k.length-1;g>=0;--g)d.nodeName(k[g],"tbody")&&!k[g].childNodes.length&&k[g].parentNode.removeChild(k[g])}!d.support.leadingWhitespace&&Cb.test(h)&&u.insertBefore(b.createTextNode(Cb.exec(h)[0]),u.firstChild);h=u.childNodes;u.parentNode.removeChild(u)}else h=
145
- b.createTextNode(h);h.nodeType?t.push(h):d.merge(t,h)}}if(u)h=u=w=null;if(!d.support.appendChecked)for(f=0;(h=t[f])!=null;f++)if(d.nodeName(h,"input"))y(h);else typeof h.getElementsByTagName!=="undefined"&&d.grep(h.getElementsByTagName("input"),y);if(c){a=function(I){if(!I.type||ad.test(I.type))return e?e.push(I.parentNode?I.parentNode.removeChild(I):I):c.appendChild(I)};for(f=0;(h=t[f])!=null;f++)if(!(d.nodeName(h,"script")&&a(h))){c.appendChild(h);if(typeof h.getElementsByTagName!=="undefined"){h=
146
- d.grep(d.merge([],h.getElementsByTagName("script")),a);t.splice.apply(t,[f+1,0].concat(h));f+=h.length}}}return t},cleanData:function(a,b){for(var c,e,f,g,h=0,k=d.expando,q=d.cache,u=d.support.deleteExpando,w=d.event.special;(f=a[h])!=null;h++)if(b||d.acceptData(f))if(c=(e=f[k])&&q[e]){if(c.events)for(g in c.events)w[g]?d.event.remove(f,g):d.removeEvent(f,g,c.handle);if(q[e]){delete q[e];if(u)delete f[k];else if(f.removeAttribute)f.removeAttribute(k);else f[k]=null;d.deletedIds.push(e)}}}});(function(){var a,
147
- b;d.uaMatch=function(c){c=c.toLowerCase();c=/(chrome)[ \/]([\w.]+)/.exec(c)||/(webkit)[ \/]([\w.]+)/.exec(c)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(c)||/(msie) ([\w.]+)/.exec(c)||c.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(c)||[];return{browser:c[1]||"",version:c[2]||"0"}};a=d.uaMatch(La.userAgent);b={};if(a.browser){b[a.browser]=true;b.version=a.version}if(b.chrome)b.webkit=true;else if(b.webkit)b.safari=true;d.browser=b;d.sub=function(){function c(f,g){return new c.fn.init(f,
148
- g)}d.extend(true,c,this);c.superclass=this;c.fn=c.prototype=this();c.fn.constructor=c;c.sub=this.sub;c.fn.init=function(f,g){if(g&&g instanceof d&&!(g instanceof c))g=c(g);return d.fn.init.call(this,f,g,e)};c.fn.init.prototype=c.fn;var e=c(L);return c}})();var xa,Wa,Xa,Fb=/alpha\([^)]*\)/i,cd=/opacity=([^)]*)/,dd=/^(top|right|bottom|left)$/,ed=/^(none|table(?!-c[ea]).+)/,cc=/^margin/,pc=RegExp("^("+pb+")(.*)$","i"),kb=RegExp("^("+pb+")(?!px)[a-z%]+$","i"),fd=RegExp("^([-+])=("+pb+")","i"),wb={},gd=
149
- {position:"absolute",visibility:"hidden",display:"block"},dc={letterSpacing:0,fontWeight:400},Qa=["Top","Right","Bottom","Left"],Kb=["Webkit","O","Moz","ms"],hd=d.fn.toggle;d.fn.extend({css:function(a,b){return d.access(this,function(c,e,f){return f!==s?d.style(c,e,f):d.css(c,e)},a,b,arguments.length>1)},show:function(){return E(this,true)},hide:function(){return E(this)},toggle:function(a,b){var c=typeof a==="boolean";if(d.isFunction(a)&&d.isFunction(b))return hd.apply(this,arguments);return this.each(function(){(c?
150
- a:B(this))?d(this).show():d(this).hide()})}});d.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=xa(a,"opacity");return c===""?"1":c}}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,g,h,k=d.camelCase(b),q=a.style;b=d.cssProps[k]||(d.cssProps[k]=D(q,k));h=d.cssHooks[b]||d.cssHooks[k];
151
- if(c!==s){g=typeof c;if(g==="string"&&(f=fd.exec(c))){c=(f[1]+1)*f[2]+parseFloat(d.css(a,b));g="number"}if(!(c==null||g==="number"&&isNaN(c))){if(g==="number"&&!d.cssNumber[k])c+="px";if(!h||!("set"in h)||(c=h.set(a,c,e))!==s)try{q[b]=c}catch(u){}}}else{if(h&&"get"in h&&(f=h.get(a,false,e))!==s)return f;return q[b]}}},css:function(a,b,c,e){var f,g;g=d.camelCase(b);b=d.cssProps[g]||(d.cssProps[g]=D(a.style,g));if((g=d.cssHooks[b]||d.cssHooks[g])&&"get"in g)f=g.get(a,true,e);if(f===s)f=xa(a,b);if(f===
152
- "normal"&&b in dc)f=dc[b];if(c||e!==s){a=parseFloat(f);return c||d.isNumeric(a)?a||0:f}return f},swap:function(a,b,c){var e,f={};for(e in b){f[e]=a.style[e];a.style[e]=b[e]}c=c.call(a);for(e in b)a.style[e]=f[e];return c}});if(i.getComputedStyle)xa=function(a,b){var c,e,f,g,h=i.getComputedStyle(a,null),k=a.style;if(h){c=h[b];if(c===""&&!d.contains(a.ownerDocument,a))c=d.style(a,b);if(kb.test(c)&&cc.test(b)){e=k.width;f=k.minWidth;g=k.maxWidth;k.minWidth=k.maxWidth=k.width=c;c=h.width;k.width=e;k.minWidth=
153
- f;k.maxWidth=g}}return c};else if(L.documentElement.currentStyle)xa=function(a,b){var c,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;if(f==null&&g&&g[b])f=g[b];if(kb.test(f)&&!dd.test(b)){c=g.left;if(e=a.runtimeStyle&&a.runtimeStyle.left)a.runtimeStyle.left=a.currentStyle.left;g.left=b==="fontSize"?"1em":f;f=g.pixelLeft+"px";g.left=c;if(e)a.runtimeStyle.left=e}return f===""?"auto":f};d.each(["height","width"],function(a,b){d.cssHooks[b]={get:function(c,e,f){if(e)return c.offsetWidth===0&&ed.test(xa(c,
154
- "display"))?d.swap(c,gd,function(){return Q(c,b,f)}):Q(c,b,f)},set:function(c,e,f){return S(c,e,f?W(c,b,f,d.support.boxSizing&&d.css(c,"boxSizing")==="border-box"):0)}}});if(!d.support.opacity)d.cssHooks.opacity={get:function(a,b){return cd.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?0.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,e=a.currentStyle,f=d.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=e&&e.filter||c.filter||"";c.zoom=1;if(b>=1&&d.trim(g.replace(Fb,
155
- ""))===""&&c.removeAttribute){c.removeAttribute("filter");if(e&&!e.filter)return}c.filter=Fb.test(g)?g.replace(Fb,f):g+" "+f}};d(function(){if(!d.support.reliableMarginRight)d.cssHooks.marginRight={get:function(a,b){return d.swap(a,{display:"inline-block"},function(){if(b)return xa(a,"marginRight")})}};!d.support.pixelPosition&&d.fn.position&&d.each(["top","left"],function(a,b){d.cssHooks[b]={get:function(c,e){if(e){var f=xa(c,b);return kb.test(f)?d(c).position()[b]+"px":f}}}})});if(d.expr&&d.expr.filters){d.expr.filters.hidden=
156
- function(a){return a.offsetWidth===0&&a.offsetHeight===0||!d.support.reliableHiddenOffsets&&(a.style&&a.style.display||xa(a,"display"))==="none"};d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)}}d.each({margin:"",padding:"",border:"Width"},function(a,b){d.cssHooks[a+b]={expand:function(c){var e=typeof c==="string"?c.split(" "):[c],f={};for(c=0;c<4;c++)f[a+Qa[c]+b]=e[c]||e[c-2]||e[0];return f}};if(!cc.test(a))d.cssHooks[a+b].set=S});var id=/%20/g,qc=/\[\]$/,ec=/\r?\n/g,jd=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,
137
+ a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){return d.access(this,function(b){var c=this[0]||{},e=0,f=this.length;if(b===v)return c.nodeType===1?c.innerHTML.replace(Wc,""):v;if(typeof b==="string"&&!Zc.test(b)&&(d.support.htmlSerialize||!Db.test(b))&&(d.support.leadingWhitespace||!Cb.test(b))&&!Fa[($b.exec(b)||["",""])[1].toLowerCase()]){b=b.replace(Zb,"<$1></$2>");try{for(;e<f;e++){c=this[e]||{};if(c.nodeType===1){d.cleanData(c.getElementsByTagName("*"));c.innerHTML=
138
+ b}}c=0}catch(h){}}c&&this.empty().append(b)},null,a,arguments.length)},replaceWith:function(a){if(!x(this[0])){if(d.isFunction(a))return this.each(function(b){var c=d(this),e=c.html();c.replaceWith(a.call(this,b,e))});if(typeof a!=="string")a=d(a).detach();return this.each(function(){var b=this.nextSibling,c=this.parentNode;d(this).remove();b?d(b).before(a):d(c).append(a)})}return this.length?this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,true)},
139
+ domManip:function(a,b,c){a=[].concat.apply([],a);var e,f,h,j=0,m=a[0],u=[],y=this.length;if(!d.support.checkClone&&y>1&&typeof m==="string"&&ac.test(m))return this.each(function(){d(this).domManip(a,b,c)});if(d.isFunction(m))return this.each(function(A){var w=d(this);a[0]=m.call(this,A,b?w.html():v);w.domManip(a,b,c)});if(this[0]){e=d.buildFragment(a,this,u);h=e.fragment;f=h.firstChild;if(h.childNodes.length===1)h=f;if(f){b=b&&d.nodeName(f,"tr");for(e=e.cacheable||y-1;j<y;j++)c.call(b&&d.nodeName(this[j],
140
+ "table")?this[j].getElementsByTagName("tbody")[0]||this[j].appendChild(this[j].ownerDocument.createElement("tbody")):this[j],j===e?h:d.clone(h,true,true))}h=f=null;u.length&&d.each(u,function(A,w){if(w.src)d.ajax?d.ajax({url:w.src,type:"GET",dataType:"script",async:false,global:false,"throws":true}):d.error("no ajax");else d.globalEval((w.text||w.textContent||w.innerHTML||"").replace(bd,""));w.parentNode&&w.parentNode.removeChild(w)})}return this}});d.buildFragment=function(a,b,c){var e,f,h,j=a[0];
141
+ b=b||Q;b=!b.nodeType&&b[0]||b;b=b.ownerDocument||b;if(a.length===1&&typeof j==="string"&&j.length<512&&b===Q&&j.charAt(0)==="<"&&!$c.test(j)&&(d.support.checkClone||!ac.test(j))&&(d.support.html5Clone||!Db.test(j))){f=true;e=d.fragments[j];h=e!==v}if(!e){e=b.createDocumentFragment();d.clean(a,b,e,c);if(f)d.fragments[j]=h&&e}return{fragment:e,cacheable:f}};d.fragments={};d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=
142
+ function(c){var e,f=0,h=[];c=d(c);var j=c.length;e=this.length===1&&this[0].parentNode;if((e==null||e&&e.nodeType===11&&e.childNodes.length===1)&&j===1){c[b](this[0]);return this}else{for(;f<j;f++){e=(f>0?this.clone(true):this).get();d(c[f])[b](e);h=h.concat(e)}return this.pushStack(h,a,c.selector)}}});d.extend({clone:function(a,b,c){var e,f,h,j;if(d.support.html5Clone||d.isXMLDoc(a)||!Db.test("<"+a.nodeName+">"))j=a.cloneNode(true);else{Eb.innerHTML=a.outerHTML;Eb.removeChild(j=Eb.firstChild)}if((!d.support.noCloneEvent||
143
+ !d.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){g(a,j);e=S(a);f=S(j);for(h=0;e[h];++h)f[h]&&g(e[h],f[h])}if(b){R(a,j);if(c){e=S(a);f=S(j);for(h=0;e[h];++h)R(e[h],f[h])}}return j},clean:function(a,b,c,e){var f,h,j,m,u,y,A=b===Q&&bc,w=[];if(!b||typeof b.createDocumentFragment==="undefined")b=Q;for(f=0;(j=a[f])!=null;f++){if(typeof j==="number")j+="";if(j){if(typeof j==="string")if(Yc.test(j)){A=A||K(b);y=b.createElement("div");A.appendChild(y);j=j.replace(Zb,"<$1></$2>");
144
+ h=($b.exec(j)||["",""])[1].toLowerCase();m=Fa[h]||Fa._default;u=m[0];for(y.innerHTML=m[1]+j+m[2];u--;)y=y.lastChild;if(!d.support.tbody){u=Xc.test(j);m=h==="table"&&!u?y.firstChild&&y.firstChild.childNodes:m[1]==="<table>"&&!u?y.childNodes:[];for(h=m.length-1;h>=0;--h)d.nodeName(m[h],"tbody")&&!m[h].childNodes.length&&m[h].parentNode.removeChild(m[h])}!d.support.leadingWhitespace&&Cb.test(j)&&y.insertBefore(b.createTextNode(Cb.exec(j)[0]),y.firstChild);j=y.childNodes;y.parentNode.removeChild(y)}else j=
145
+ b.createTextNode(j);j.nodeType?w.push(j):d.merge(w,j)}}if(y)j=y=A=null;if(!d.support.appendChecked)for(f=0;(j=w[f])!=null;f++)if(d.nodeName(j,"input"))D(j);else typeof j.getElementsByTagName!=="undefined"&&d.grep(j.getElementsByTagName("input"),D);if(c){a=function(L){if(!L.type||ad.test(L.type))return e?e.push(L.parentNode?L.parentNode.removeChild(L):L):c.appendChild(L)};for(f=0;(j=w[f])!=null;f++)if(!(d.nodeName(j,"script")&&a(j))){c.appendChild(j);if(typeof j.getElementsByTagName!=="undefined"){j=
146
+ d.grep(d.merge([],j.getElementsByTagName("script")),a);w.splice.apply(w,[f+1,0].concat(j));f+=j.length}}}return w},cleanData:function(a,b){for(var c,e,f,h,j=0,m=d.expando,u=d.cache,y=d.support.deleteExpando,A=d.event.special;(f=a[j])!=null;j++)if(b||d.acceptData(f))if(c=(e=f[m])&&u[e]){if(c.events)for(h in c.events)A[h]?d.event.remove(f,h):d.removeEvent(f,h,c.handle);if(u[e]){delete u[e];if(y)delete f[m];else if(f.removeAttribute)f.removeAttribute(m);else f[m]=null;d.deletedIds.push(e)}}}});(function(){var a,
147
+ b;d.uaMatch=function(c){c=c.toLowerCase();c=/(chrome)[ \/]([\w.]+)/.exec(c)||/(webkit)[ \/]([\w.]+)/.exec(c)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(c)||/(msie) ([\w.]+)/.exec(c)||c.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(c)||[];return{browser:c[1]||"",version:c[2]||"0"}};a=d.uaMatch(La.userAgent);b={};if(a.browser){b[a.browser]=true;b.version=a.version}if(b.chrome)b.webkit=true;else if(b.webkit)b.safari=true;d.browser=b;d.sub=function(){function c(f,h){return new c.fn.init(f,
148
+ h)}d.extend(true,c,this);c.superclass=this;c.fn=c.prototype=this();c.fn.constructor=c;c.sub=this.sub;c.fn.init=function(f,h){if(h&&h instanceof d&&!(h instanceof c))h=c(h);return d.fn.init.call(this,f,h,e)};c.fn.init.prototype=c.fn;var e=c(Q);return c}})();var ya,Wa,Xa,Fb=/alpha\([^)]*\)/i,cd=/opacity=([^)]*)/,dd=/^(top|right|bottom|left)$/,ed=/^(none|table(?!-c[ea]).+)/,cc=/^margin/,pc=RegExp("^("+pb+")(.*)$","i"),kb=RegExp("^("+pb+")(?!px)[a-z%]+$","i"),fd=RegExp("^([-+])=("+pb+")","i"),wb={},gd=
149
+ {position:"absolute",visibility:"hidden",display:"block"},dc={letterSpacing:0,fontWeight:400},Qa=["Top","Right","Bottom","Left"],Kb=["Webkit","O","Moz","ms"],hd=d.fn.toggle;d.fn.extend({css:function(a,b){return d.access(this,function(c,e,f){return f!==v?d.style(c,e,f):d.css(c,e)},a,b,arguments.length>1)},show:function(){return p(this,true)},hide:function(){return p(this)},toggle:function(a,b){var c=typeof a==="boolean";if(d.isFunction(a)&&d.isFunction(b))return hd.apply(this,arguments);return this.each(function(){(c?
150
+ a:k(this))?d(this).show():d(this).hide()})}});d.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=ya(a,"opacity");return c===""?"1":c}}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,h,j,m=d.camelCase(b),u=a.style;b=d.cssProps[m]||(d.cssProps[m]=G(u,m));j=d.cssHooks[b]||d.cssHooks[m];
151
+ if(c!==v){h=typeof c;if(h==="string"&&(f=fd.exec(c))){c=(f[1]+1)*f[2]+parseFloat(d.css(a,b));h="number"}if(!(c==null||h==="number"&&isNaN(c))){if(h==="number"&&!d.cssNumber[m])c+="px";if(!j||!("set"in j)||(c=j.set(a,c,e))!==v)try{u[b]=c}catch(y){}}}else{if(j&&"get"in j&&(f=j.get(a,false,e))!==v)return f;return u[b]}}},css:function(a,b,c,e){var f,h;h=d.camelCase(b);b=d.cssProps[h]||(d.cssProps[h]=G(a.style,h));if((h=d.cssHooks[b]||d.cssHooks[h])&&"get"in h)f=h.get(a,true,e);if(f===v)f=ya(a,b);if(f===
152
+ "normal"&&b in dc)f=dc[b];if(c||e!==v){a=parseFloat(f);return c||d.isNumeric(a)?a||0:f}return f},swap:function(a,b,c){var e,f={};for(e in b){f[e]=a.style[e];a.style[e]=b[e]}c=c.call(a);for(e in b)a.style[e]=f[e];return c}});if(i.getComputedStyle)ya=function(a,b){var c,e,f,h,j=i.getComputedStyle(a,null),m=a.style;if(j){c=j[b];if(c===""&&!d.contains(a.ownerDocument,a))c=d.style(a,b);if(kb.test(c)&&cc.test(b)){e=m.width;f=m.minWidth;h=m.maxWidth;m.minWidth=m.maxWidth=m.width=c;c=j.width;m.width=e;m.minWidth=
153
+ f;m.maxWidth=h}}return c};else if(Q.documentElement.currentStyle)ya=function(a,b){var c,e,f=a.currentStyle&&a.currentStyle[b],h=a.style;if(f==null&&h&&h[b])f=h[b];if(kb.test(f)&&!dd.test(b)){c=h.left;if(e=a.runtimeStyle&&a.runtimeStyle.left)a.runtimeStyle.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":f;f=h.pixelLeft+"px";h.left=c;if(e)a.runtimeStyle.left=e}return f===""?"auto":f};d.each(["height","width"],function(a,b){d.cssHooks[b]={get:function(c,e,f){if(e)return c.offsetWidth===0&&ed.test(ya(c,
154
+ "display"))?d.swap(c,gd,function(){return P(c,b,f)}):P(c,b,f)},set:function(c,e,f){return C(c,e,f?O(c,b,f,d.support.boxSizing&&d.css(c,"boxSizing")==="border-box"):0)}}});if(!d.support.opacity)d.cssHooks.opacity={get:function(a,b){return cd.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?0.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,e=a.currentStyle,f=d.isNumeric(b)?"alpha(opacity="+b*100+")":"",h=e&&e.filter||c.filter||"";c.zoom=1;if(b>=1&&d.trim(h.replace(Fb,
155
+ ""))===""&&c.removeAttribute){c.removeAttribute("filter");if(e&&!e.filter)return}c.filter=Fb.test(h)?h.replace(Fb,f):h+" "+f}};d(function(){if(!d.support.reliableMarginRight)d.cssHooks.marginRight={get:function(a,b){return d.swap(a,{display:"inline-block"},function(){if(b)return ya(a,"marginRight")})}};!d.support.pixelPosition&&d.fn.position&&d.each(["top","left"],function(a,b){d.cssHooks[b]={get:function(c,e){if(e){var f=ya(c,b);return kb.test(f)?d(c).position()[b]+"px":f}}}})});if(d.expr&&d.expr.filters){d.expr.filters.hidden=
156
+ function(a){return a.offsetWidth===0&&a.offsetHeight===0||!d.support.reliableHiddenOffsets&&(a.style&&a.style.display||ya(a,"display"))==="none"};d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)}}d.each({margin:"",padding:"",border:"Width"},function(a,b){d.cssHooks[a+b]={expand:function(c){var e=typeof c==="string"?c.split(" "):[c],f={};for(c=0;c<4;c++)f[a+Qa[c]+b]=e[c]||e[c-2]||e[0];return f}};if(!cc.test(a))d.cssHooks[a+b].set=C});var id=/%20/g,qc=/\[\]$/,ec=/\r?\n/g,jd=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,
157
157
  kd=/^(?:select|textarea)/i;d.fn.extend({serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||kd.test(this.nodeName)||jd.test(this.type))}).map(function(a,b){var c=d(this).val();return c==null?null:d.isArray(c)?d.map(c,function(e){return{name:b.name,value:e.replace(ec,"\r\n")}}):{name:b.name,value:c.replace(ec,"\r\n")}}).get()}});
158
- d.param=function(a,b){var c,e=[],f=function(g,h){h=d.isFunction(h)?h():h==null?"":h;e[e.length]=encodeURIComponent(g)+"="+encodeURIComponent(h)};if(b===s)b=d.ajaxSettings&&d.ajaxSettings.traditional;if(d.isArray(a)||a.jquery&&!d.isPlainObject(a))d.each(a,function(){f(this.name,this.value)});else for(c in a)na(c,a[c],b,f);return e.join("&").replace(id,"+")};var eb,Va,ld=/#.*$/,md=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,nd=/^(?:GET|HEAD)$/,od=/^\/\//,fc=/\?/,pd=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
159
- qd=/([?&])_=[^&]*/,gc=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,hc=d.fn.load,xb={},ic={},jc=["*/"]+["*"];try{Va=Za.href}catch(yd){Va=L.createElement("a");Va.href="";Va=Va.href}eb=gc.exec(Va.toLowerCase())||[];d.fn.load=function(a,b,c){if(typeof a!=="string"&&hc)return hc.apply(this,arguments);if(!this.length)return this;var e,f,g,h=this,k=a.indexOf(" ");if(k>=0){e=a.slice(k,a.length);a=a.slice(0,k)}if(d.isFunction(b)){c=b;b=s}else if(b&&typeof b==="object")f="POST";d.ajax({url:a,type:f,dataType:"html",
160
- data:b,complete:function(q,u){if(c)h.each(c,g||[q.responseText,u,q])}}).done(function(q){g=arguments;h.html(e?d("<div>").append(q.replace(pd,"")).find(e):q)});return this};d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(c){return this.on(b,c)}});d.each(["get","post"],function(a,b){d[b]=function(c,e,f,g){if(d.isFunction(e)){g=g||f;f=e;e=s}return d.ajax({type:b,url:c,data:e,success:f,dataType:g})}});d.extend({getScript:function(a,b){return d.get(a,
161
- s,b,"script")},getJSON:function(a,b,c){return d.get(a,b,c,"json")},ajaxSetup:function(a,b){if(b)Ya(a,d.ajaxSettings);else{b=a;a=d.ajaxSettings}Ya(a,b);return a},ajaxSettings:{url:Va,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(eb[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":jc},
162
- contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":i.String,"text html":true,"text json":d.parseJSON,"text xml":d.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:la(xb),ajaxTransport:la(ic),ajax:function(a,b){function c(V,ha,ca,fa){var pa,ga,da,Ca,va=ha;if(wa!==2){wa=2;k&&clearTimeout(k);h=s;f=fa||"";T.readyState=V>0?4:0;if(ca){Ca=t;fa=T;var Da,aa,oa,bb,ya=Ca.contents,qa=Ca.dataTypes,ib=Ca.responseFields;for(aa in ib)if(aa in
163
- ca)fa[ib[aa]]=ca[aa];for(;qa[0]==="*";){qa.shift();if(Da===s)Da=Ca.mimeType||fa.getResponseHeader("content-type")}if(Da)for(aa in ya)if(ya[aa]&&ya[aa].test(Da)){qa.unshift(aa);break}if(qa[0]in ca)oa=qa[0];else{for(aa in ca){if(!qa[0]||Ca.converters[aa+" "+qa[0]]){oa=aa;break}bb||(bb=aa)}oa=oa||bb}if(oa){oa!==qa[0]&&qa.unshift(oa);Ca=ca[oa]}else Ca=void 0}if(V>=200&&V<300||V===304){if(t.ifModified){if(ca=T.getResponseHeader("Last-Modified"))d.lastModified[e]=ca;if(ca=T.getResponseHeader("Etag"))d.etag[e]=
164
- ca}if(V===304){va="notmodified";pa=true}else{a:{ga=t;da=Ca;var ua,Ua;va=ga.dataTypes.slice();Da=va[0];aa={};oa=0;if(ga.dataFilter)da=ga.dataFilter(da,ga.dataType);if(va[1])for(ua in ga.converters)aa[ua.toLowerCase()]=ga.converters[ua];for(;ca=va[++oa];)if(ca!=="*"){if(Da!=="*"&&Da!==ca){ua=aa[Da+" "+ca]||aa["* "+ca];if(!ua)for(Ua in aa){pa=Ua.split(" ");if(pa[1]===ca)if(ua=aa[Da+" "+pa[0]]||aa["* "+pa[0]]){if(ua===true)ua=aa[Ua];else if(aa[Ua]!==true){ca=pa[0];va.splice(oa--,0,ca)}break}}if(ua!==
165
- true)if(ua&&ga["throws"])da=ua(da);else try{da=ua(da)}catch(jb){pa={state:"parsererror",error:ua?jb:"No conversion from "+Da+" to "+ca};break a}}Da=ca}pa={state:"success",data:da}}va=pa.state;ga=pa.data;da=pa.error;pa=!da}}else{da=va;if(!va||V){va="error";if(V<0)V=0}}T.status=V;T.statusText=(ha||va)+"";pa?Z.resolveWith(I,[ga,va,T]):Z.rejectWith(I,[T,va,da]);T.statusCode(Ga);Ga=s;if(u)P.trigger("ajax"+(pa?"Success":"Error"),[T,t,pa?ga:da]);ma.fireWith(I,[T,va]);if(u){P.trigger("ajaxComplete",[T,t]);
166
- --d.active||d.event.trigger("ajaxStop")}}}if(typeof a==="object"){b=a;a=s}b=b||{};var e,f,g,h,k,q,u,w,t=d.ajaxSetup({},b),I=t.context||t,P=I!==t&&(I.nodeType||I instanceof d)?d(I):d.event,Z=d.Deferred(),ma=d.Callbacks("once memory"),Ga=t.statusCode||{},Na={},ba={},wa=0,Sa="canceled",T={readyState:0,setRequestHeader:function(V,ha){if(!wa){var ca=V.toLowerCase();V=ba[ca]=ba[ca]||V;Na[V]=ha}return this},getAllResponseHeaders:function(){return wa===2?f:null},getResponseHeader:function(V){var ha;if(wa===
167
- 2){if(!g)for(g={};ha=md.exec(f);)g[ha[1].toLowerCase()]=ha[2];ha=g[V.toLowerCase()]}return ha===s?null:ha},overrideMimeType:function(V){if(!wa)t.mimeType=V;return this},abort:function(V){V=V||Sa;h&&h.abort(V);c(0,V);return this}};Z.promise(T);T.success=T.done;T.error=T.fail;T.complete=ma.add;T.statusCode=function(V){if(V){var ha;if(wa<2)for(ha in V)Ga[ha]=[Ga[ha],V[ha]];else{ha=V[T.status];T.always(ha)}}return this};t.url=((a||t.url)+"").replace(ld,"").replace(od,eb[1]+"//");t.dataTypes=d.trim(t.dataType||
168
- "*").toLowerCase().split(Pa);if(t.crossDomain==null){q=gc.exec(t.url.toLowerCase())||false;t.crossDomain=q&&q.join(":")+(q[3]?"":q[1]==="http:"?80:443)!==eb.join(":")+(eb[3]?"":eb[1]==="http:"?80:443)}if(t.data&&t.processData&&typeof t.data!=="string")t.data=d.param(t.data,t.traditional);Ha(xb,t,b,T);if(wa===2)return T;u=t.global;t.type=t.type.toUpperCase();t.hasContent=!nd.test(t.type);u&&d.active++===0&&d.event.trigger("ajaxStart");if(!t.hasContent){if(t.data){t.url+=(fc.test(t.url)?"&":"?")+t.data;
169
- delete t.data}e=t.url;if(t.cache===false){q=d.now();var cb=t.url.replace(qd,"$1_="+q);t.url=cb+(cb===t.url?(fc.test(t.url)?"&":"?")+"_="+q:"")}}if(t.data&&t.hasContent&&t.contentType!==false||b.contentType)T.setRequestHeader("Content-Type",t.contentType);if(t.ifModified){e=e||t.url;d.lastModified[e]&&T.setRequestHeader("If-Modified-Since",d.lastModified[e]);d.etag[e]&&T.setRequestHeader("If-None-Match",d.etag[e])}T.setRequestHeader("Accept",t.dataTypes[0]&&t.accepts[t.dataTypes[0]]?t.accepts[t.dataTypes[0]]+
170
- (t.dataTypes[0]!=="*"?", "+jc+"; q=0.01":""):t.accepts["*"]);for(w in t.headers)T.setRequestHeader(w,t.headers[w]);if(t.beforeSend&&(t.beforeSend.call(I,T,t)===false||wa===2))return T.abort();Sa="abort";for(w in{success:1,error:1,complete:1})T[w](t[w]);if(h=Ha(ic,t,b,T)){T.readyState=1;u&&P.trigger("ajaxSend",[T,t]);if(t.async&&t.timeout>0)k=setTimeout(function(){T.abort("timeout")},t.timeout);try{wa=1;h.send(Na,c)}catch(db){if(wa<2)c(-1,db);else throw db;}}else c(-1,"No Transport");return T},active:0,
171
- lastModified:{},etag:{}});var kc=[],rd=/\?/,ub=/(=)\?(?=&|$)|\?\?/,sd=d.now();d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=kc.pop()||d.expando+"_"+sd++;this[a]=true;return a}});d.ajaxPrefilter("json jsonp",function(a,b,c){var e,f,g,h=a.data,k=a.url,q=a.jsonp!==false,u=q&&ub.test(k),w=q&&!u&&typeof h==="string"&&!(a.contentType||"").indexOf("application/x-www-form-urlencoded")&&ub.test(h);if(a.dataTypes[0]==="jsonp"||u||w){e=a.jsonpCallback=d.isFunction(a.jsonpCallback)?a.jsonpCallback():
172
- a.jsonpCallback;f=i[e];if(u)a.url=k.replace(ub,"$1"+e);else if(w)a.data=h.replace(ub,"$1"+e);else if(q)a.url+=(rd.test(k)?"&":"?")+a.jsonp+"="+e;a.converters["script json"]=function(){g||d.error(e+" was not called");return g[0]};a.dataTypes[0]="json";i[e]=function(){g=arguments};c.always(function(){i[e]=f;if(a[e]){a.jsonpCallback=b.jsonpCallback;kc.push(e)}g&&d.isFunction(f)&&f(g[0]);g=f=s});return"script"}});d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
173
- contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){d.globalEval(a);return a}}});d.ajaxPrefilter("script",function(a){if(a.cache===s)a.cache=false;if(a.crossDomain){a.type="GET";a.global=false}});d.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=L.head||L.getElementsByTagName("head")[0]||L.documentElement;return{send:function(e,f){b=L.createElement("script");b.async="async";if(a.scriptCharset)b.charset=a.scriptCharset;b.src=a.url;b.onload=b.onreadystatechange=
174
- function(g,h){if(h||!b.readyState||/loaded|complete/.test(b.readyState)){b.onload=b.onreadystatechange=null;c&&b.parentNode&&c.removeChild(b);b=s;h||f(200,"success")}};c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(0,1)}}}});var fb,Gb=i.ActiveXObject?function(){for(var a in fb)fb[a](0,1)}:false,td=0;d.ajaxSettings.xhr=i.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&ia()))a:{try{a=new i.ActiveXObject("Microsoft.XMLHTTP");break a}catch(b){}a=void 0}return a}:ia;(function(a){d.extend(d.support,
175
- {ajax:!!a,cors:!!a&&"withCredentials"in a})})(d.ajaxSettings.xhr());d.support.ajax&&d.ajaxTransport(function(a){if(!a.crossDomain||d.support.cors){var b;return{send:function(c,e){var f,g,h=a.xhr();a.username?h.open(a.type,a.url,a.async,a.username,a.password):h.open(a.type,a.url,a.async);if(a.xhrFields)for(g in a.xhrFields)h[g]=a.xhrFields[g];a.mimeType&&h.overrideMimeType&&h.overrideMimeType(a.mimeType);if(!a.crossDomain&&!c["X-Requested-With"])c["X-Requested-With"]="XMLHttpRequest";try{for(g in c)h.setRequestHeader(g,
176
- c[g])}catch(k){}h.send(a.hasContent&&a.data||null);b=function(q,u){var w,t,I,P,Z;try{if(b&&(u||h.readyState===4)){b=s;if(f){h.onreadystatechange=d.noop;Gb&&delete fb[f]}if(u)h.readyState!==4&&h.abort();else{w=h.status;I=h.getAllResponseHeaders();P={};if((Z=h.responseXML)&&Z.documentElement)P.xml=Z;try{P.text=h.responseText}catch(ma){}try{t=h.statusText}catch(Ga){t=""}if(!w&&a.isLocal&&!a.crossDomain)w=P.text?200:404;else if(w===1223)w=204}}}catch(Na){u||e(-1,Na)}P&&e(w,t,P,I)};if(a.async)if(h.readyState===
177
- 4)setTimeout(b,0);else{f=++td;if(Gb){if(!fb){fb={};d(i).unload(Gb)}fb[f]=b}h.onreadystatechange=b}else b()},abort:function(){b&&b(0,1)}}}});var lb,vb,ud=/^(?:toggle|show|hide)$/,vd=RegExp("^(?:([-+])=|)("+pb+")([a-z%]*)$","i"),wd=/queueHooks$/,mb=[function(a,b,c){var e,f,g,h,k,q,u=this,w=a.style,t={},I=[],P=a.nodeType&&B(a);if(!c.queue){k=d._queueHooks(a,"fx");if(k.unqueued==null){k.unqueued=0;q=k.empty.fire;k.empty.fire=function(){k.unqueued||q()}}k.unqueued++;u.always(function(){u.always(function(){k.unqueued--;
178
- d.queue(a,"fx").length||k.empty.fire()})})}if(a.nodeType===1&&("height"in b||"width"in b)){c.overflow=[w.overflow,w.overflowX,w.overflowY];if(d.css(a,"display")==="inline"&&d.css(a,"float")==="none")if(!d.support.inlineBlockNeedsLayout||Fa(a.nodeName)==="inline")w.display="inline-block";else w.zoom=1}if(c.overflow){w.overflow="hidden";d.support.shrinkWrapBlocks||u.done(function(){w.overflow=c.overflow[0];w.overflowX=c.overflow[1];w.overflowY=c.overflow[2]})}for(e in b){f=b[e];if(ud.exec(f)){delete b[e];
179
- if(f!==(P?"hide":"show"))I.push(e)}}if(f=I.length){g=d._data(a,"fxshow")||d._data(a,"fxshow",{});P?d(a).show():u.done(function(){d(a).hide()});u.done(function(){var Z;d.removeData(a,"fxshow",true);for(Z in t)d.style(a,Z,t[Z])});for(e=0;e<f;e++){b=I[e];h=u.createTween(b,P?g[b]:0);t[b]=g[b]||d.style(a,b);if(!(b in g)){g[b]=h.start;if(P){h.end=h.start;h.start=b==="width"||b==="height"?1:0}}}}}],gb={"*":[function(a,b){var c,e,f=this.createTween(a,b),g=vd.exec(b),h=f.cur(),k=+h||0,q=1,u=20;if(g){c=+g[2];
180
- e=g[3]||(d.cssNumber[a]?"":"px");if(e!=="px"&&k){k=d.css(f.elem,a,true)||c||1;do{q=q||".5";k/=q;d.style(f.elem,a,k+e)}while(q!==(q=f.cur()/h)&&q!==1&&--u)}f.unit=e;f.start=k;f.end=g[1]?k+(g[1]+1)*c:c}return f}]};d.Animation=d.extend(Ia,{tweener:function(a,b){if(d.isFunction(a)){b=a;a=["*"]}else a=a.split(" ");for(var c,e=0,f=a.length;e<f;e++){c=a[e];gb[c]=gb[c]||[];gb[c].unshift(b)}},prefilter:function(a,b){b?mb.unshift(a):mb.push(a)}});d.Tween=ra;ra.prototype={constructor:ra,init:function(a,b,c,
181
- e,f,g){this.elem=a;this.prop=c;this.easing=f||"swing";this.options=b;this.start=this.now=this.cur();this.end=e;this.unit=g||(d.cssNumber[c]?"":"px")},cur:function(){var a=ra.propHooks[this.prop];return a&&a.get?a.get(this):ra.propHooks._default.get(this)},run:function(a){var b,c=ra.propHooks[this.prop];this.pos=this.options.duration?b=d.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):b=a;this.now=(this.end-this.start)*b+this.start;this.options.step&&this.options.step.call(this.elem,
182
- this.now,this);c&&c.set?c.set(this):ra.propHooks._default.set(this);return this}};ra.prototype.init.prototype=ra.prototype;ra.propHooks={_default:{get:function(a){if(a.elem[a.prop]!=null&&(!a.elem.style||a.elem.style[a.prop]==null))return a.elem[a.prop];a=d.css(a.elem,a.prop,false,"");return!a||a==="auto"?0:a},set:function(a){if(d.fx.step[a.prop])d.fx.step[a.prop](a);else if(a.elem.style&&(a.elem.style[d.cssProps[a.prop]]!=null||d.cssHooks[a.prop]))d.style(a.elem,a.prop,a.now+a.unit);else a.elem[a.prop]=
183
- a.now}}};ra.propHooks.scrollTop=ra.propHooks.scrollLeft={set:function(a){if(a.elem.nodeType&&a.elem.parentNode)a.elem[a.prop]=a.now}};d.each(["toggle","show","hide"],function(a,b){var c=d.fn[b];d.fn[b]=function(e,f,g){return e==null||typeof e==="boolean"||!a&&d.isFunction(e)&&d.isFunction(f)?c.apply(this,arguments):this.animate(Ra(b,true),e,f,g)}});d.fn.extend({fadeTo:function(a,b,c,e){return this.filter(B).css("opacity",0).show().end().animate({opacity:b},a,c,e)},animate:function(a,b,c,e){var f=
184
- d.isEmptyObject(a),g=d.speed(b,c,e);b=function(){var h=Ia(this,d.extend({},a),g);f&&h.stop(true)};return f||g.queue===false?this.each(b):this.queue(g.queue,b)},stop:function(a,b,c){var e=function(f){var g=f.stop;delete f.stop;g(c)};if(typeof a!=="string"){c=b;b=a;a=s}if(b&&a!==false)this.queue(a||"fx",[]);return this.each(function(){var f=true,g=a!=null&&a+"queueHooks",h=d.timers,k=d._data(this);if(g)k[g]&&k[g].stop&&e(k[g]);else for(g in k)k[g]&&k[g].stop&&wd.test(g)&&e(k[g]);for(g=h.length;g--;)if(h[g].elem===
185
- this&&(a==null||h[g].queue===a)){h[g].anim.stop(c);f=false;h.splice(g,1)}if(f||!c)d.dequeue(this,a)})}});d.each({slideDown:Ra("show"),slideUp:Ra("hide"),slideToggle:Ra("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(c,e,f){return this.animate(b,c,e,f)}});d.speed=function(a,b,c){var e=a&&typeof a==="object"?d.extend({},a):{complete:c||!c&&b||d.isFunction(a)&&a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};e.duration=d.fx.off?
186
- 0:typeof e.duration==="number"?e.duration:e.duration in d.fx.speeds?d.fx.speeds[e.duration]:d.fx.speeds._default;if(e.queue==null||e.queue===true)e.queue="fx";e.old=e.complete;e.complete=function(){d.isFunction(e.old)&&e.old.call(this);e.queue&&d.dequeue(this,e.queue)};return e};d.easing={linear:function(a){return a},swing:function(a){return 0.5-Math.cos(a*Math.PI)/2}};d.timers=[];d.fx=ra.prototype.init;d.fx.tick=function(){for(var a,b=d.timers,c=0;c<b.length;c++){a=b[c];!a()&&b[c]===a&&b.splice(c--,
187
- 1)}b.length||d.fx.stop()};d.fx.timer=function(a){if(a()&&d.timers.push(a)&&!vb)vb=setInterval(d.fx.tick,d.fx.interval)};d.fx.interval=13;d.fx.stop=function(){clearInterval(vb);vb=null};d.fx.speeds={slow:600,fast:200,_default:400};d.fx.step={};if(d.expr&&d.expr.filters)d.expr.filters.animated=function(a){return d.grep(d.timers,function(b){return a===b.elem}).length};var lc=/^(?:body|html)$/i;d.fn.offset=function(a){if(arguments.length)return a===s?this:this.each(function(k){d.offset.setOffset(this,
188
- a,k)});var b,c,e,f,g,h={top:0,left:0};if(f=(e=this[0])&&e.ownerDocument){if((c=f.body)===e)return d.offset.bodyOffset(e);b=f.documentElement;if(!d.contains(b,e))return h;if(typeof e.getBoundingClientRect!=="undefined")h=e.getBoundingClientRect();e=nb(f);f=b.clientTop||c.clientTop||0;c=b.clientLeft||c.clientLeft||0;g=e.pageYOffset||b.scrollTop;return{top:h.top+g-f,left:h.left+(e.pageXOffset||b.scrollLeft)-c}}};d.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;if(d.support.doesNotIncludeMarginInBodyOffset){b+=
189
- parseFloat(d.css(a,"marginTop"))||0;c+=parseFloat(d.css(a,"marginLeft"))||0}return{top:b,left:c}},setOffset:function(a,b,c){var e=d.css(a,"position");if(e==="static")a.style.position="relative";var f=d(a),g=f.offset(),h=d.css(a,"top"),k=d.css(a,"left"),q={},u={};if((e==="absolute"||e==="fixed")&&d.inArray("auto",[h,k])>-1){u=f.position();e=u.top;k=u.left}else{e=parseFloat(h)||0;k=parseFloat(k)||0}if(d.isFunction(b))b=b.call(a,c,g);if(b.top!=null)q.top=b.top-g.top+e;if(b.left!=null)q.left=b.left-g.left+
190
- k;"using"in b?b.using.call(a,q):f.css(q)}};d.fn.extend({position:function(){if(this[0]){var a=this[0],b=this.offsetParent(),c=this.offset(),e=lc.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(d.css(a,"marginTop"))||0;c.left-=parseFloat(d.css(a,"marginLeft"))||0;e.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||0;return{top:c.top-e.top,left:c.left-e.left}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||
191
- L.body;a&&!lc.test(a.nodeName)&&d.css(a,"position")==="static";)a=a.offsetParent;return a||L.body})}});d.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);d.fn[a]=function(e){return d.access(this,function(f,g,h){var k=nb(f);if(h===s)return k?b in k?k[b]:k.document.documentElement[g]:f[g];if(k)k.scrollTo(!c?h:d(k).scrollLeft(),c?h:d(k).scrollTop());else f[g]=h},a,e,arguments.length,null)}});d.each({Height:"height",Width:"width"},function(a,b){d.each({padding:"inner"+
192
- a,content:b,"":"outer"+a},function(c,e){d.fn[e]=function(f,g){var h=arguments.length&&(c||typeof f!=="boolean"),k=c||(f===true||g===true?"margin":"border");return d.access(this,function(q,u,w){if(d.isWindow(q))return q.document.documentElement["client"+a];if(q.nodeType===9){u=q.documentElement;return Math.max(q.body["scroll"+a],u["scroll"+a],q.body["offset"+a],u["offset"+a],u["client"+a])}return w===s?d.css(q,u,w,k):d.style(q,u,w,k)},b,h?f:s,h,null)}})});i.jQuery=i.$=d;typeof define==="function"&&
193
- define.amd&&define.amd.jQuery&&define("jquery",[],function(){return d})})(window);(function(i){function s(m){if(typeof m!="string"&&typeof m!="number")throw new TypeError("Key name must be string or numeric");}function l(){try{r.oleloStorage=JSON.stringify(A)}catch(m){}}var r={},A={};try{if(window.localStorage)r=window.localStorage;if(r.oleloStorage)A=JSON.parse(r.oleloStorage)}catch(o){}i.storage={set:function(m,v){s(m);A[m]=v;l();return v},get:function(m,v){s(m);if(m in A)return A[m];return typeof v=="undefined"?null:v},remove:function(m){s(m);if(m in A){delete A[m];l();return true}return false}}})(jQuery);(function(i,s){function l(m,v){var z,F;z=m.nodeName.toLowerCase();if("area"===z){z=m.parentNode;F=z.name;if(!m.href||!F||z.nodeName.toLowerCase()!=="map")return false;z=i("img[usemap=#"+F+"]")[0];return!!z&&r(z)}return(/input|select|textarea|button|object/.test(z)?!m.disabled:"a"===z?m.href||v:v)&&r(m)}function r(m){return!i(m).parents().andSelf().filter(function(){return i.css(this,"visibility")==="hidden"||i.expr.filters.hidden(this)}).length}var A=0,o=/^ui-id-\d+$/;i.ui=i.ui||{};if(!i.ui.version){i.extend(i.ui,
194
- {version:"1.9.0",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}});i.fn.extend({_focus:i.fn.focus,focus:function(m,v){return typeof m==="number"?this.each(function(){var z=this;setTimeout(function(){i(z).focus();v&&v.call(z)},m)}):this._focus.apply(this,arguments)},scrollParent:function(){var m;
195
- m=i.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(i.css(this,"position"))&&/(auto|scroll)/.test(i.css(this,"overflow")+i.css(this,"overflow-y")+i.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(i.css(this,"overflow")+i.css(this,"overflow-y")+i.css(this,"overflow-x"))}).eq(0);return/fixed/.test(this.css("position"))||!m.length?i(document):
196
- m},zIndex:function(m){if(m!==s)return this.css("zIndex",m);if(this.length){m=i(this[0]);for(var v;m.length&&m[0]!==document;){v=m.css("position");if(v==="absolute"||v==="relative"||v==="fixed"){v=parseInt(m.css("zIndex"),10);if(!isNaN(v)&&v!==0)return v}m=m.parent()}}return 0},uniqueId:function(){return this.each(function(){if(!this.id)this.id="ui-id-"+ ++A})},removeUniqueId:function(){return this.each(function(){o.test(this.id)&&i(this).removeAttr("id")})}});i("<a>").outerWidth(1).jquery||i.each(["Width",
197
- "Height"],function(m,v){function z(N,R,y,D){i.each(F,function(){R-=parseFloat(i.css(N,"padding"+this))||0;if(y)R-=parseFloat(i.css(N,"border"+this+"Width"))||0;if(D)R-=parseFloat(i.css(N,"margin"+this))||0});return R}var F=v==="Width"?["Left","Right"]:["Top","Bottom"],M=v.toLowerCase(),O={innerWidth:i.fn.innerWidth,innerHeight:i.fn.innerHeight,outerWidth:i.fn.outerWidth,outerHeight:i.fn.outerHeight};i.fn["inner"+v]=function(N){if(N===s)return O["inner"+v].call(this);return this.each(function(){i(this).css(M,
198
- z(this,N)+"px")})};i.fn["outer"+v]=function(N,R){if(typeof N!=="number")return O["outer"+v].call(this,N);return this.each(function(){i(this).css(M,z(this,N,true,R)+"px")})}});i.extend(i.expr[":"],{data:i.expr.createPseudo?i.expr.createPseudo(function(m){return function(v){return!!i.data(v,m)}}):function(m,v,z){return!!i.data(m,z[3])},focusable:function(m){return l(m,!isNaN(i.attr(m,"tabindex")))},tabbable:function(m){var v=i.attr(m,"tabindex"),z=isNaN(v);return(z||v>=0)&&l(m,!z)}});i(function(){var m=
199
- document.body,v=m.appendChild(v=document.createElement("div"));i.extend(v.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});i.support.minHeight=v.offsetHeight===100;i.support.selectstart="onselectstart"in v;m.removeChild(v).style.display="none"});i.fn.extend({disableSelection:function(){return this.bind((i.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(m){m.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});i.extend(i.ui,
200
- {plugin:{add:function(m,v,z){var F;m=i.ui[m].prototype;for(F in z){m.plugins[F]=m.plugins[F]||[];m.plugins[F].push([v,z[F]])}},call:function(m,v,z){var F=m.plugins[v];if(!(!F||!m.element[0].parentNode||m.element[0].parentNode.nodeType===11))for(v=0;v<F.length;v++)m.options[F[v][0]]&&F[v][1].apply(m.element,z)}},contains:i.contains,hasScroll:function(m,v){if(i(m).css("overflow")==="hidden")return false;var z=v&&v==="left"?"scrollLeft":"scrollTop",F=false;if(m[z]>0)return true;m[z]=1;F=m[z]>0;m[z]=
201
- 0;return F},isOverAxis:function(m,v,z){return m>v&&m<v+z},isOver:function(m,v,z,F,M,O){return i.ui.isOverAxis(m,z,M)&&i.ui.isOverAxis(v,F,O)}})}})(jQuery);(function(i,s){var l=0,r=Array.prototype.slice,A=i.cleanData;i.cleanData=function(o){for(var m=0,v;(v=o[m])!=null;m++)try{i(v).triggerHandler("remove")}catch(z){}A(o)};i.widget=function(o,m,v){var z,F,M,O,N=o.split(".")[0];o=o.split(".")[1];z=N+"-"+o;if(!v){v=m;m=i.Widget}i.expr[":"][z.toLowerCase()]=function(R){return!!i.data(R,z)};i[N]=i[N]||{};F=i[N][o];M=i[N][o]=function(R,y){if(!this._createWidget)return new M(R,y);arguments.length&&this._createWidget(R,y)};i.extend(M,F,{version:v.version,_proto:i.extend({},
202
- v),_childConstructors:[]});O=new m;O.options=i.widget.extend({},O.options);i.each(v,function(R,y){if(i.isFunction(y))v[R]=function(){var D=function(){return m.prototype[R].apply(this,arguments)},B=function(E){return m.prototype[R].apply(this,E)};return function(){var E=this._super,S=this._superApply,W;this._super=D;this._superApply=B;W=y.apply(this,arguments);this._super=E;this._superApply=S;return W}}()});M.prototype=i.widget.extend(O,{widgetEventPrefix:o},v,{constructor:M,namespace:N,widgetName:o,
203
- widgetBaseClass:z,widgetFullName:z});if(F){i.each(F._childConstructors,function(R,y){var D=y.prototype;i.widget(D.namespace+"."+D.widgetName,M,y._proto)});delete F._childConstructors}else m._childConstructors.push(M);i.widget.bridge(o,M)};i.widget.extend=function(o){for(var m=r.call(arguments,1),v=0,z=m.length,F,M;v<z;v++)for(F in m[v]){M=m[v][F];if(m[v].hasOwnProperty(F)&&M!==s)o[F]=i.isPlainObject(M)?i.widget.extend({},o[F],M):M}return o};i.widget.bridge=function(o,m){var v=m.prototype.widgetFullName;
204
- i.fn[o]=function(z){var F=typeof z==="string",M=r.call(arguments,1),O=this;z=!F&&M.length?i.widget.extend.apply(null,[z].concat(M)):z;F?this.each(function(){var N,R=i.data(this,v);if(!R)return i.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+z+"'");if(!i.isFunction(R[z])||z.charAt(0)==="_")return i.error("no such method '"+z+"' for "+o+" widget instance");N=R[z].apply(R,M);if(N!==R&&N!==s){O=N&&N.jquery?O.pushStack(N.get()):N;return false}}):this.each(function(){var N=
205
- i.data(this,v);if(N)N.option(z||{})._init();else new m(z,this)});return O}};i.Widget=function(){};i.Widget._childConstructors=[];i.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:false,create:null},_createWidget:function(o,m){m=i(m||this.defaultElement||this)[0];this.element=i(m);this.uuid=l++;this.eventNamespace="."+this.widgetName+this.uuid;this.options=i.widget.extend({},this.options,this._getCreateOptions(),o);this.bindings=i();this.hoverable=
206
- i();this.focusable=i();if(m!==this){i.data(m,this.widgetName,this);i.data(m,this.widgetFullName,this);this._on({remove:"destroy"});this.document=i(m.style?m.ownerDocument:m.document||m);this.window=i(this.document[0].defaultView||this.document[0].parentWindow)}this._create();this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:i.noop,_getCreateEventData:i.noop,_create:i.noop,_init:i.noop,destroy:function(){this._destroy();this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(i.camelCase(this.widgetFullName));
207
- this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled");this.bindings.unbind(this.eventNamespace);this.hoverable.removeClass("ui-state-hover");this.focusable.removeClass("ui-state-focus")},_destroy:i.noop,widget:function(){return this.element},option:function(o,m){var v=o,z,F,M;if(arguments.length===0)return i.widget.extend({},this.options);if(typeof o==="string"){v={};z=o.split(".");o=z.shift();if(z.length){F=v[o]=i.widget.extend({},
208
- this.options[o]);for(M=0;M<z.length-1;M++){F[z[M]]=F[z[M]]||{};F=F[z[M]]}o=z.pop();if(m===s)return F[o]===s?null:F[o];F[o]=m}else{if(m===s)return this.options[o]===s?null:this.options[o];v[o]=m}}this._setOptions(v);return this},_setOptions:function(o){var m;for(m in o)this._setOption(m,o[m]);return this},_setOption:function(o,m){this.options[o]=m;if(o==="disabled"){this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!m).attr("aria-disabled",m);this.hoverable.removeClass("ui-state-hover");
209
- this.focusable.removeClass("ui-state-focus")}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_on:function(o,m){if(m){o=i(o);this.bindings=this.bindings.add(o)}else{m=o;o=this.element}var v=this;i.each(m,function(z,F){function M(){if(!(v.options.disabled===true||i(this).hasClass("ui-state-disabled")))return(typeof F==="string"?v[F]:F).apply(v,arguments)}if(typeof F!=="string")M.guid=F.guid=F.guid||M.guid||i.guid++;
210
- var O=z.match(/^(\w+)\s*(.*)$/),N=O[1]+v.eventNamespace;(O=O[2])?v.widget().delegate(O,N,M):o.bind(N,M)})},_off:function(o,m){m=(m||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;o.unbind(m).undelegate(m)},_delay:function(o,m){var v=this;return setTimeout(function(){return(typeof o==="string"?v[o]:o).apply(v,arguments)},m||0)},_hoverable:function(o){this.hoverable=this.hoverable.add(o);this._on(o,{mouseenter:function(m){i(m.currentTarget).addClass("ui-state-hover")},mouseleave:function(m){i(m.currentTarget).removeClass("ui-state-hover")}})},
211
- _focusable:function(o){this.focusable=this.focusable.add(o);this._on(o,{focusin:function(m){i(m.currentTarget).addClass("ui-state-focus")},focusout:function(m){i(m.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(o,m,v){var z,F=this.options[o];v=v||{};m=i.Event(m);m.type=(o===this.widgetEventPrefix?o:this.widgetEventPrefix+o).toLowerCase();m.target=this.element[0];if(o=m.originalEvent)for(z in o)z in m||(m[z]=o[z]);this.element.trigger(m,v);return!(i.isFunction(F)&&F.apply(this.element[0],
212
- [m].concat(v))===false||m.isDefaultPrevented())}};i.each({show:"fadeIn",hide:"fadeOut"},function(o,m){i.Widget.prototype["_"+o]=function(v,z,F){if(typeof z==="string")z={effect:z};var M,O=!z?o:z===true||typeof z==="number"?m:z.effect||m;z=z||{};if(typeof z==="number")z={duration:z};M=!i.isEmptyObject(z);z.complete=F;z.delay&&v.delay(z.delay);if(M&&i.effects&&(i.effects.effect[O]||i.uiBackCompat!==false&&i.effects[O]))v[o](z);else O!==o&&v[O]?v[O](z.duration,z.easing,F):v.queue(function(N){i(this)[o]();
213
- F&&F.call(v[0]);N()})}});if(i.uiBackCompat!==false)i.Widget.prototype._getCreateOptions=function(){return i.metadata&&i.metadata.get(this.element[0])[this.widgetName]}})(jQuery);(function(i,s){function l(y,D,B){return[parseInt(y[0],10)*(N.test(y[0])?D/100:1),parseInt(y[1],10)*(N.test(y[1])?B/100:1)]}function r(y,D){return parseInt(i.css(y,D),10)||0}i.ui=i.ui||{};var A,o=Math.max,m=Math.abs,v=Math.round,z=/left|center|right/,F=/top|center|bottom/,M=/[\+\-]\d+%?/,O=/^\w+/,N=/%$/,R=i.fn.position;i.position={scrollbarWidth:function(){if(A!==s)return A;var y,D,B=i("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>");
214
- D=B.children()[0];i("body").append(B);y=D.offsetWidth;B.css("overflow","scroll");D=D.offsetWidth;if(y===D)D=B[0].clientWidth;B.remove();return A=y-D},getScrollInfo:function(y){var D=y.isWindow?"":y.element.css("overflow-x"),B=y.isWindow?"":y.element.css("overflow-y");B=B==="scroll"||B==="auto"&&y.height<y.element[0].scrollHeight;return{width:D==="scroll"||D==="auto"&&y.width<y.element[0].scrollWidth?i.position.scrollbarWidth():0,height:B?i.position.scrollbarWidth():0}},getWithinInfo:function(y){y=
215
- i(y||window);var D=i.isWindow(y[0]);return{element:y,isWindow:D,offset:y.offset()||{left:0,top:0},scrollLeft:y.scrollLeft(),scrollTop:y.scrollTop(),width:D?y.width():y.outerWidth(),height:D?y.height():y.outerHeight()}}};i.fn.position=function(y){if(!y||!y.of)return R.apply(this,arguments);y=i.extend({},y);var D,B,E,S,W,Q=i(y.of),Fa=i.position.getWithinInfo(y.within),na=i.position.getScrollInfo(Fa),la=Q[0],Ha=(y.collision||"flip").split(" "),Ya={};if(la.nodeType===9){B=Q.width();E=Q.height();S={top:0,
216
- left:0}}else if(i.isWindow(la)){B=Q.width();E=Q.height();S={top:Q.scrollTop(),left:Q.scrollLeft()}}else if(la.preventDefault){y.at="left top";B=E=0;S={top:la.pageY,left:la.pageX}}else{B=Q.outerWidth();E=Q.outerHeight();S=Q.offset()}W=i.extend({},S);i.each(["my","at"],function(){var ia=(y[this]||"").split(" "),Ja,Aa;if(ia.length===1)ia=z.test(ia[0])?ia.concat(["center"]):F.test(ia[0])?["center"].concat(ia):["center","center"];ia[0]=z.test(ia[0])?ia[0]:"center";ia[1]=F.test(ia[1])?ia[1]:"center";Ja=
217
- M.exec(ia[0]);Aa=M.exec(ia[1]);Ya[this]=[Ja?Ja[0]:0,Aa?Aa[0]:0];y[this]=[O.exec(ia[0])[0],O.exec(ia[1])[0]]});if(Ha.length===1)Ha[1]=Ha[0];if(y.at[0]==="right")W.left+=B;else if(y.at[0]==="center")W.left+=B/2;if(y.at[1]==="bottom")W.top+=E;else if(y.at[1]==="center")W.top+=E/2;D=l(Ya.at,B,E);W.left+=D[0];W.top+=D[1];return this.each(function(){var ia,Ja,Aa=i(this),Ia=Aa.outerWidth(),Ka=Aa.outerHeight(),ra=r(this,"marginLeft"),Ra=r(this,"marginTop"),nb=Ia+ra+r(this,"marginRight")+na.width,ob=Ka+Ra+
218
- r(this,"marginBottom")+na.height,ja=i.extend({},W),L=l(Ya.my,Aa.outerWidth(),Aa.outerHeight());if(y.my[0]==="right")ja.left-=Ia;else if(y.my[0]==="center")ja.left-=Ia/2;if(y.my[1]==="bottom")ja.top-=Ka;else if(y.my[1]==="center")ja.top-=Ka/2;ja.left+=L[0];ja.top+=L[1];if(!i.support.offsetFractions){ja.left=v(ja.left);ja.top=v(ja.top)}ia={marginLeft:ra,marginTop:Ra};i.each(["left","top"],function(Za,La){i.ui.position[Ha[Za]]&&i.ui.position[Ha[Za]][La](ja,{targetWidth:B,targetHeight:E,elemWidth:Ia,
219
- elemHeight:Ka,collisionPosition:ia,collisionWidth:nb,collisionHeight:ob,offset:[D[0]+L[0],D[1]+L[1]],my:y.my,at:y.at,within:Fa,elem:Aa})});i.fn.bgiframe&&Aa.bgiframe();if(y.using)Ja=function(Za){var La=S.left-ja.left,hb=La+B-Ia,$a=S.top-ja.top,ab=$a+E-Ka,Ba={target:{element:Q,left:S.left,top:S.top,width:B,height:E},element:{element:Aa,left:ja.left,top:ja.top,width:Ia,height:Ka},horizontal:hb<0?"left":La>0?"right":"center",vertical:ab<0?"top":$a>0?"bottom":"middle"};if(B<Ia&&m(La+hb)<B)Ba.horizontal=
220
- "center";if(E<Ka&&m($a+ab)<E)Ba.vertical="middle";Ba.important=o(m(La),m(hb))>o(m($a),m(ab))?"horizontal":"vertical";y.using.call(this,Za,Ba)};Aa.offset(i.extend(ja,{using:Ja}))})};i.ui.position={fit:{left:function(y,D){var B=D.within,E=B.isWindow?B.scrollLeft:B.offset.left,S=B.width,W=y.left-D.collisionPosition.marginLeft;B=E-W;var Q=W+D.collisionWidth-S-E;if(D.collisionWidth>S)if(B>0&&Q<=0){E=y.left+B+D.collisionWidth-S-E;y.left+=B-E}else y.left=Q>0&&B<=0?E:B>Q?E+S-D.collisionWidth:E;else if(B>
221
- 0)y.left+=B;else if(Q>0)y.left-=Q;else y.left=o(y.left-W,y.left)},top:function(y,D){var B=D.within,E=B.isWindow?B.scrollTop:B.offset.top,S=D.within.height,W=y.top-D.collisionPosition.marginTop;B=E-W;var Q=W+D.collisionHeight-S-E;if(D.collisionHeight>S)if(B>0&&Q<=0){E=y.top+B+D.collisionHeight-S-E;y.top+=B-E}else y.top=Q>0&&B<=0?E:B>Q?E+S-D.collisionHeight:E;else if(B>0)y.top+=B;else if(Q>0)y.top-=Q;else y.top=o(y.top-W,y.top)}},flip:{left:function(y,D){var B=D.within,E=B.offset.left+B.scrollLeft,
222
- S=B.width,W=B.isWindow?B.scrollLeft:B.offset.left,Q=y.left-D.collisionPosition.marginLeft;B=Q-W;var Fa=Q+D.collisionWidth-S-W;Q=D.my[0]==="left"?-D.elemWidth:D.my[0]==="right"?D.elemWidth:0;var na=D.at[0]==="left"?D.targetWidth:D.at[0]==="right"?-D.targetWidth:0,la=-2*D.offset[0];if(B<0){E=y.left+Q+na+la+D.collisionWidth-S-E;if(E<0||E<m(B))y.left+=Q+na+la}else if(Fa>0){E=y.left-D.collisionPosition.marginLeft+Q+na+la-W;if(E>0||m(E)<Fa)y.left+=Q+na+la}},top:function(y,D){var B=D.within,E=B.offset.top+
223
- B.scrollTop,S=B.height,W=B.isWindow?B.scrollTop:B.offset.top,Q=y.top-D.collisionPosition.marginTop;B=Q-W;var Fa=Q+D.collisionHeight-S-W;Q=D.my[1]==="top"?-D.elemHeight:D.my[1]==="bottom"?D.elemHeight:0;var na=D.at[1]==="top"?D.targetHeight:D.at[1]==="bottom"?-D.targetHeight:0,la=-2*D.offset[1];if(B<0){E=y.top+Q+na+la+D.collisionHeight-S-E;if(y.top+Q+na+la>B&&(E<0||E<m(B)))y.top+=Q+na+la}else if(Fa>0){E=y.top-D.collisionPosition.marginTop+Q+na+la-W;if(y.top+Q+na+la>Fa&&(E>0||m(E)<Fa))y.top+=Q+na+la}}},
224
- flipfit:{left:function(){i.ui.position.flip.left.apply(this,arguments);i.ui.position.fit.left.apply(this,arguments)},top:function(){i.ui.position.flip.top.apply(this,arguments);i.ui.position.fit.top.apply(this,arguments)}}};(function(){var y,D,B,E,S=document.getElementsByTagName("body")[0];B=document.createElement("div");y=document.createElement(S?"div":"body");D={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};S&&i.extend(D,{position:"absolute",left:"-1000px",top:"-1000px"});
225
- for(E in D)y.style[E]=D[E];y.appendChild(B);D=S||document.documentElement;D.insertBefore(y,D.firstChild);B.style.cssText="position: absolute; left: 10.7432222px;";B=i(B).offset().left;i.support.offsetFractions=B>10&&B<11;y.innerHTML="";D.removeChild(y)})();i.uiBackCompat!==false&&function(y){var D=y.fn.position;y.fn.position=function(B){if(!B||!B.offset)return D.call(this,B);var E=B.offset.split(" "),S=B.at.split(" ");if(E.length===1)E[1]=E[0];if(/^\d/.test(E[0]))E[0]="+"+E[0];if(/^\d/.test(E[1]))E[1]=
226
- "+"+E[1];if(S.length===1)if(/left|center|right/.test(S[0]))S[1]="center";else{S[1]=S[0];S[0]="center"}return D.call(this,y.extend(B,{at:S[0]+E[0]+" "+S[1]+E[1],offset:s}))}}(jQuery)})(jQuery);(function(i){var s=false;i.widget("ui.menu",{version:"1.9.0",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element;this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,
227
- i.proxy(function(l){this.options.disabled&&l.preventDefault()},this));this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true");this._on({"mousedown .ui-menu-item > a":function(l){l.preventDefault()},"click .ui-state-disabled > a":function(l){l.preventDefault()},"click .ui-menu-item:has(a)":function(l){var r=i(l.target).closest(".ui-menu-item");if(!s&&r.not(".ui-state-disabled").length){s=true;this.select(l);if(r.has(".ui-menu").length)this.expand(l);else if(!this.element.is(":focus")){this.element.trigger("focus",
228
- [true]);this.active&&this.active.parents(".ui-menu").length===1&&clearTimeout(this.timer)}}},"mouseenter .ui-menu-item":function(l){var r=i(l.currentTarget);r.siblings().children(".ui-state-active").removeClass("ui-state-active");this.focus(l,r)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(l,r){var A=this.active||this.element.children(".ui-menu-item").eq(0);r||this.focus(l,A)},blur:function(l){this._delay(function(){i.contains(this.element[0],this.document[0].activeElement)||
229
- this.collapseAll(l)})},keydown:"_keydown"});this.refresh();this._on(this.document,{click:function(l){i(l.target).closest(".ui-menu").length||this.collapseAll(l);s=false}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").andSelf().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show();
230
- this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var l=i(this);l.data("ui-menu-submenu-carat")&&l.remove()});this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(l){function r(F){return F.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,
231
- "\\$&")}var A,o,m,v,z=true;switch(l.keyCode){case i.ui.keyCode.PAGE_UP:this.previousPage(l);break;case i.ui.keyCode.PAGE_DOWN:this.nextPage(l);break;case i.ui.keyCode.HOME:this._move("first","first",l);break;case i.ui.keyCode.END:this._move("last","last",l);break;case i.ui.keyCode.UP:this.previous(l);break;case i.ui.keyCode.DOWN:this.next(l);break;case i.ui.keyCode.LEFT:this.collapse(l);break;case i.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(l);break;case i.ui.keyCode.ENTER:case i.ui.keyCode.SPACE:this._activate(l);
232
- break;case i.ui.keyCode.ESCAPE:this.collapse(l);break;default:z=false;A=this.previousFilter||"";o=String.fromCharCode(l.keyCode);m=false;clearTimeout(this.filterTimer);if(o===A)m=true;else o=A+o;v=RegExp("^"+r(o),"i");A=this.activeMenu.children(".ui-menu-item").filter(function(){return v.test(i(this).children("a").text())});A=m&&A.index(this.active.next())!==-1?this.active.nextAll(".ui-menu-item"):A;if(!A.length){o=String.fromCharCode(l.keyCode);v=RegExp("^"+r(o),"i");A=this.activeMenu.children(".ui-menu-item").filter(function(){return v.test(i(this).children("a").text())})}if(A.length){this.focus(l,
233
- A);if(A.length>1){this.previousFilter=o;this.filterTimer=this._delay(function(){delete this.previousFilter},1E3)}else delete this.previousFilter}else delete this.previousFilter}z&&l.preventDefault()},_activate:function(l){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(l):this.select(l))},refresh:function(){var l,r=this.options.icons.submenu,A=this.element.find(this.options.menus+":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,
234
- "aria-hidden":"true","aria-expanded":"false"});l=A.add(this.element);l.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()});l.children(":not(.ui-menu-item)").each(function(){var o=i(this);/[^\-\u2014\u2013\s]/.test(o.text())||o.addClass("ui-widget-content ui-menu-divider")});l.children(".ui-state-disabled").attr("aria-disabled","true");A.each(function(){var o=i(this),
235
- m=o.prev("a"),v=i("<span>").addClass("ui-menu-icon ui-icon "+r).data("ui-menu-submenu-carat",true);m.attr("aria-haspopup","true").prepend(v);o.attr("aria-labelledby",m.attr("id"))});this.active&&!i.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},focus:function(l,r){var A;this.blur(l,l&&l.type==="focus");this._scrollIntoView(r);this.active=r.first();A=this.active.children("a").addClass("ui-state-focus");this.options.role&&
236
- this.element.attr("aria-activedescendant",A.attr("id"));this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active");if(l&&l.type==="keydown")this._close();else this.timer=this._delay(function(){this._close()},this.delay);A=r.children(".ui-menu");A.length&&/^mouse/.test(l.type)&&this._startOpening(A);this.activeMenu=r.parent();this._trigger("focus",l,{item:r})},_scrollIntoView:function(l){var r,A,o;if(this._hasScroll()){r=parseFloat(i.css(this.activeMenu[0],"borderTopWidth"))||
237
- 0;A=parseFloat(i.css(this.activeMenu[0],"paddingTop"))||0;r=l.offset().top-this.activeMenu.offset().top-r-A;A=this.activeMenu.scrollTop();o=this.activeMenu.height();l=l.height();if(r<0)this.activeMenu.scrollTop(A+r);else r+l>o&&this.activeMenu.scrollTop(A+r-o+l)}},blur:function(l,r){r||clearTimeout(this.timer);if(this.active){this.active.children("a").removeClass("ui-state-focus");this.active=null;this._trigger("blur",l,{item:this.active})}},_startOpening:function(l){clearTimeout(this.timer);if(l.attr("aria-hidden")===
238
- "true")this.timer=this._delay(function(){this._close();this._open(l)},this.delay)},_open:function(l){var r=i.extend({of:this.active},this.options.position);clearTimeout(this.timer);this.element.find(".ui-menu").not(l.parents(".ui-menu")).hide().attr("aria-hidden","true");l.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(r)},collapseAll:function(l,r){clearTimeout(this.timer);this.timer=this._delay(function(){var A=r?this.element:i(l&&l.target).closest(this.element.find(".ui-menu"));
239
- if(!A.length)A=this.element;this._close(A);this.blur(l);this.activeMenu=A},this.delay)},_close:function(l){l||(l=this.active?this.active.parent():this.element);l.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(l){var r=this.active&&this.active.parent().closest(".ui-menu-item",this.element);if(r&&r.length){this._close();this.focus(l,r)}},expand:function(l){var r=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();
240
- if(r&&r.length){this._open(r.parent());this._delay(function(){this.focus(l,r)})}},next:function(l){this._move("next","first",l)},previous:function(l){this._move("prev","last",l)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(l,r,A){var o;if(this.active)o=l==="first"||l==="last"?this.active[l==="first"?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[l+
241
- "All"](".ui-menu-item").eq(0);if(!o||!o.length||!this.active)o=this.activeMenu.children(".ui-menu-item")[r]();this.focus(A,o)},nextPage:function(l){var r,A,o;if(this.active){if(!this.isLastItem())if(this._hasScroll()){A=this.active.offset().top;o=this.element.height();this.active.nextAll(".ui-menu-item").each(function(){r=i(this);return r.offset().top-A-o<0});this.focus(l,r)}else this.focus(l,this.activeMenu.children(".ui-menu-item")[!this.active?"first":"last"]())}else this.next(l)},previousPage:function(l){var r,
242
- A,o;if(this.active){if(!this.isFirstItem())if(this._hasScroll()){A=this.active.offset().top;o=this.element.height();this.active.prevAll(".ui-menu-item").each(function(){r=i(this);return r.offset().top-A+o>0});this.focus(l,r)}else this.focus(l,this.activeMenu.children(".ui-menu-item").first())}else this.next(l)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(l){this.active=this.active||i(l.target).closest(".ui-menu-item");var r={item:this.active};
243
- this.active.has(".ui-menu").length||this.collapseAll(l,true);this._trigger("select",l,r)}})})(jQuery);(function(i){var s=0;i.widget("ui.autocomplete",{version:"1.9.0",defaultElement:"<input>",options:{appendTo:"body",autoFocus:false,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var l,r,A;this.isMultiLine=this._isMultiLine();this.valueMethod=this.element[this.element.is("input,textarea")?"val":"text"];this.isNewMenu=true;this.element.addClass("ui-autocomplete-input").attr("autocomplete",
244
- "off");this._on({keydown:function(o){if(this.element.prop("readOnly"))r=A=l=true;else{r=A=l=false;var m=i.ui.keyCode;switch(o.keyCode){case m.PAGE_UP:l=true;this._move("previousPage",o);break;case m.PAGE_DOWN:l=true;this._move("nextPage",o);break;case m.UP:l=true;this._keyEvent("previous",o);break;case m.DOWN:l=true;this._keyEvent("next",o);break;case m.ENTER:case m.NUMPAD_ENTER:if(this.menu.active){l=true;o.preventDefault();this.menu.select(o)}break;case m.TAB:this.menu.active&&this.menu.select(o);
245
- break;case m.ESCAPE:if(this.menu.element.is(":visible")){this._value(this.term);this.close(o);o.preventDefault()}break;default:r=true;this._searchTimeout(o);break}}},keypress:function(o){if(l){l=false;o.preventDefault()}else if(!r){var m=i.ui.keyCode;switch(o.keyCode){case m.PAGE_UP:this._move("previousPage",o);break;case m.PAGE_DOWN:this._move("nextPage",o);break;case m.UP:this._keyEvent("previous",o);break;case m.DOWN:this._keyEvent("next",o);break}}},input:function(o){if(A){A=false;o.preventDefault()}else this._searchTimeout(o)},
246
- focus:function(){this.selectedItem=null;this.previous=this._value()},blur:function(o){if(this.cancelBlur)delete this.cancelBlur;else{clearTimeout(this.searching);this.close(o);this._change(o)}}});this._initSource();this.menu=i("<ul>").addClass("ui-autocomplete").appendTo(this.document.find(this.options.appendTo||"body")[0]).menu({input:i(),role:null}).zIndex(this.element.zIndex()+1).hide().data("menu");this._on(this.menu.element,{mousedown:function(o){o.preventDefault();this.cancelBlur=true;this._delay(function(){delete this.cancelBlur});
247
- var m=this.menu.element[0];i(o.target).closest(".ui-menu-item").length||this._delay(function(){var v=this;this.document.one("mousedown",function(z){z.target!==v.element[0]&&z.target!==m&&!i.contains(m,z.target)&&v.close()})})},menufocus:function(o,m){if(this.isNewMenu){this.isNewMenu=false;if(o.originalEvent&&/^mouse/.test(o.originalEvent.type)){this.menu.blur();this.document.one("mousemove",function(){i(o.target).trigger(o.originalEvent)});return}}var v=m.item.data("ui-autocomplete-item")||m.item.data("item.autocomplete");
248
- if(false!==this._trigger("focus",o,{item:v}))o.originalEvent&&/^key/.test(o.originalEvent.type)&&this._value(v.value);else this.liveRegion.text(v.value)},menuselect:function(o,m){var v=m.item.data("ui-autocomplete-item")||m.item.data("item.autocomplete"),z=this.previous;if(this.element[0]!==this.document[0].activeElement){this.element.focus();this.previous=z;this._delay(function(){this.previous=z;this.selectedItem=v})}false!==this._trigger("select",o,{item:v})&&this._value(v.value);this.term=this._value();
249
- this.close(o);this.selectedItem=v}});this.liveRegion=i("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertAfter(this.element);i.fn.bgiframe&&this.menu.element.bgiframe();this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching);this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete");this.menu.element.remove();this.liveRegion.remove()},_setOption:function(l,
250
- r){this._super(l,r);l==="source"&&this._initSource();if(l==="appendTo")this.menu.element.appendTo(this.document.find(r||"body")[0]);l==="disabled"&&r&&this.xhr&&this.xhr.abort()},_isMultiLine:function(){if(this.element.is("textarea"))return true;if(this.element.is("input"))return false;return this.element.prop("isContentEditable")},_initSource:function(){var l,r,A=this;if(i.isArray(this.options.source)){l=this.options.source;this.source=function(o,m){m(i.ui.autocomplete.filter(l,o.term))}}else if(typeof this.options.source===
251
- "string"){r=this.options.source;this.source=function(o,m){A.xhr&&A.xhr.abort();A.xhr=i.ajax({url:r,data:o,dataType:"json",success:function(v){m(v)},error:function(){m([])}})}}else this.source=this.options.source},_searchTimeout:function(l){clearTimeout(this.searching);this.searching=this._delay(function(){if(this.term!==this._value()){this.selectedItem=null;this.search(null,l)}},this.options.delay)},search:function(l,r){l=l!=null?l:this._value();this.term=this._value();if(l.length<this.options.minLength)return this.close(r);
252
- if(this._trigger("search",r)!==false)return this._search(l)},_search:function(l){this.pending++;this.element.addClass("ui-autocomplete-loading");this.cancelSearch=false;this.source({term:l},this._response())},_response:function(){var l=this,r=++s;return function(A){r===s&&l.__response(A);l.pending--;l.pending||l.element.removeClass("ui-autocomplete-loading")}},__response:function(l){if(l)l=this._normalize(l);this._trigger("response",null,{content:l});if(!this.options.disabled&&l&&l.length&&!this.cancelSearch){this._suggest(l);
253
- this._trigger("open")}else this._close()},close:function(l){this.cancelSearch=true;this._close(l)},_close:function(l){if(this.menu.element.is(":visible")){this.menu.element.hide();this.menu.blur();this.isNewMenu=true;this._trigger("close",l)}},_change:function(l){this.previous!==this._value()&&this._trigger("change",l,{item:this.selectedItem})},_normalize:function(l){if(l.length&&l[0].label&&l[0].value)return l;return i.map(l,function(r){if(typeof r==="string")return{label:r,value:r};return i.extend({label:r.label||
254
- r.value,value:r.value||r.label},r)})},_suggest:function(l){var r=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(r,l);this.menu.refresh();r.show();this._resizeMenu();r.position(i.extend({of:this.element},this.options.position));this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var l=this.menu.element;l.outerWidth(Math.max(l.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(l,r){var A=this;i.each(r,function(o,m){A._renderItemData(l,
255
- m)})},_renderItemData:function(l,r){return this._renderItem(l,r).data("ui-autocomplete-item",r)},_renderItem:function(l,r){return i("<li>").append(i("<a>").text(r.label)).appendTo(l)},_move:function(l,r){if(this.menu.element.is(":visible"))if(this.menu.isFirstItem()&&/^previous/.test(l)||this.menu.isLastItem()&&/^next/.test(l)){this._value(this.term);this.menu.blur()}else this.menu[l](r);else this.search(null,r)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,
256
- arguments)},_keyEvent:function(l,r){if(!this.isMultiLine||this.menu.element.is(":visible")){this._move(l,r);r.preventDefault()}}});i.extend(i.ui.autocomplete,{escapeRegex:function(l){return l.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(l,r){var A=RegExp(i.ui.autocomplete.escapeRegex(r),"i");return i.grep(l,function(o){return A.test(o.label||o.value||o)})}});i.widget("ui.autocomplete",i.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(l){return l+
257
- (l>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(l){this._superApply(arguments);this.options.disabled||this.cancelSearch||this.liveRegion.text(l&&l.length?this.options.messages.results(l.length):this.options.messages.noResults)}})})(jQuery);(function(i){function s(A,o){var m=r[A];return m&&m[o]}var l=null,r={};i.translations=function(A){for(var o in A)if(r[o])for(var m in A[o])r[o][m]=A[o][m];else r[o]=A[o]};i.t=function(A,o){if(!l){var m=i("html");l=m.attr("lang")||m.attr("xml:lang")||"en"}var v;m=s(l,A);if(!m&&(v=l.indexOf("-")))m=s(l.substr(0,v),A);if(m){for(var z in o)m=m.replace(RegExp("#{"+z+"}","g"),o[z]);return m}return"#"+A}})(jQuery);(function(i){function s(){var A=false;switch(this.type){case "checkbox":case "radio":A=this.checked!=this.defaultChecked;break;case "hidden":case "password":case "text":case "textarea":case "file":A=this.value!=this.defaultValue;break;case "select-one":case "select-multiple":for(var o=0;o<this.options.length&&!A;++o)A=this.options[o].selected!=this.options[o].defaultSelected;break}i("label[for="+this.id+"]").toggleClass("unsaved",A);i(this).toggleClass("unsaved",A)}function l(A){i("input.observe, textarea.observe, select.observe").each(function(){s.call(this)});
258
- return i(".unsaved",A).size()!==0}i.translations({en:{confirmUnsaved:"The page was not saved. Continue?",pageUnsaved:"The page was not saved."},de:{confirmUnsaved:"Die Seite wurde nicht gespeichert. Fortsetzen?",pageUnsaved:"Die Seite wurde nicht gespeichert."},cs:{confirmUnsaved:"Str\u00e1nka nebyla ulo\u017eena. Pokra\u010dovat?",pageUnsaved:"Str\u00e1nka nebyla ulo\u017eena."}});i.fn.confirmUnsaved=function(){return!l(this)||confirm(i.t("confirmUnsaved"))};i("input.observe, textarea.observe, select.observe").live("change autocompletechange",
259
- s);var r=false;i("form").live("submit",function(){r=true}).bind("reset",function(){i(".unsaved",this).removeClass("unsaved")});i(window).bind("beforeunload",function(){if(!r&&l(document))return i.t("pageUnsaved")})})(jQuery);(function(i){i.fn.historyTable=function(){function s(){var m=[];A.each(function(){this.checked&&m.push(this.name)});return m}i("thead tr",this).prepend('<th class="compare"><button>&#177;</button></th>');i("tbody tr",this).each(function(){var m=i(this).attr("id").substr(8);i(this).prepend('<td class="compare"><input type="checkbox" name="'+m+'"/></td>')});var l=i.storage.get("historyTable");if(l)for(var r=0;r<l.length;++r)i("input[name="+l[r]+"]").attr("checked","checked");var A=i("tbody input",this),
260
- o=i("th button",this);o.click(function(){var m=s();i.storage.set("historyTable",m);location.href=location.pathname.replace("/history","/compare/"+m[m.length-1]+"..."+m[0])});i("td input",this).change(function(){s().length>1?o.removeAttr("disabled"):o.attr("disabled","disabled")}).change()}})(jQuery);(function(i){i.fn.pagination=function(s){s=i(s);this.live("click",function(){i(this).addClass("loading");var l=this.href;l+=(l.indexOf("?")<0?"?":"&")+"no_layout=1";s.load(l,function(){s.trigger("pageLoaded",[l])});return false})}})(jQuery);(function(i){i.fn.tabWidget=function(s){var l=s&&s.store,r=null;i("> a[href^='#']",this).click(function(){if(r.data("tab")==i(this).data("tab"))return false;if(!r.data("tab").confirmUnsaved())return false;r.data("tab").hide();r.parent().removeClass("selected");r=i(this);r.data("tab").show();r.parent().addClass("selected");l&&i.storage.set(l,r.data("tab").attr("id"));return false});if(l)if(s=i.storage.get(l))r=i("> a[href='#"+s+"']",this);if(!r||r.size()===0)r=i(this).filter(".selected").find("> a[href^='#']");
261
- if(!r||r.size()===0)r=i(this).filter(":first").find("> a[href^='#']");i("> a[href^='#']",this).each(function(){var A=i(this.href.match(/(#.*)$/)[1]);A.hide();i(this).data("tab",A)});this.removeClass("selected");r.parent().addClass("selected");r.data("tab").show()}})(jQuery);(function(i){function s(l){l=Math.floor(((new Date).getTime()-new Date(l*1E3))/6E4);if(l<=0)return i.t("less_than_a_minute_ago");if(l==1)return i.t("a_minute_ago");if(l<45)return i.t("n_minutes_ago",{n:l});if(l<90)return i.t("one_hour_ago");if(l<1440)return i.t("n_hours_ago",{n:Math.round(l/60)});if(l<2880)return i.t("one_day_ago");if(l<43200)return i.t("n_days_ago",{n:Math.round(l/1440)});if(l<86400)return i.t("one_month_ago");if(l<525960)return i.t("n_months_ago",{n:Math.round(l/43200)});if(l<1051920)return i.t("one_year_ago");
262
- return i.t("over_n_years_ago",{n:Math.round(l/525960)})}i.translations({en:{less_than_a_minute_ago:"less than a minute ago",a_minute_ago:"a minute ago",n_minutes_ago:"#{n} minutes ago",one_hour_ago:"1 hour ago",n_hours_ago:"#{n} hours ago",one_day_ago:"1 day ago",n_days_ago:"#{n} days ago",one_month_ago:"1 month ago",n_months_ago:"#{n} months ago",one_year_ago:"1 year ago",over_n_years_ago:"over #{n} years ago"},de:{less_than_a_minute_ago:"vor weniger als einer Minute",a_minute_ago:"vor einer Minute",
158
+ d.param=function(a,b){var c,e=[],f=function(h,j){j=d.isFunction(j)?j():j==null?"":j;e[e.length]=encodeURIComponent(h)+"="+encodeURIComponent(j)};if(b===v)b=d.ajaxSettings&&d.ajaxSettings.traditional;if(d.isArray(a)||a.jquery&&!d.isPlainObject(a))d.each(a,function(){f(this.name,this.value)});else for(c in a)ma(c,a[c],b,f);return e.join("&").replace(id,"+")};var eb,Va,ld=/#.*$/,md=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,nd=/^(?:GET|HEAD)$/,od=/^\/\//,fc=/\?/,pd=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
159
+ qd=/([?&])_=[^&]*/,gc=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,hc=d.fn.load,xb={},ic={},jc=["*/"]+["*"];try{Va=Za.href}catch(yd){Va=Q.createElement("a");Va.href="";Va=Va.href}eb=gc.exec(Va.toLowerCase())||[];d.fn.load=function(a,b,c){if(typeof a!=="string"&&hc)return hc.apply(this,arguments);if(!this.length)return this;var e,f,h,j=this,m=a.indexOf(" ");if(m>=0){e=a.slice(m,a.length);a=a.slice(0,m)}if(d.isFunction(b)){c=b;b=v}else if(b&&typeof b==="object")f="POST";d.ajax({url:a,type:f,dataType:"html",
160
+ data:b,complete:function(u,y){if(c)j.each(c,h||[u.responseText,y,u])}}).done(function(u){h=arguments;j.html(e?d("<div>").append(u.replace(pd,"")).find(e):u)});return this};d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(c){return this.on(b,c)}});d.each(["get","post"],function(a,b){d[b]=function(c,e,f,h){if(d.isFunction(e)){h=h||f;f=e;e=v}return d.ajax({type:b,url:c,data:e,success:f,dataType:h})}});d.extend({getScript:function(a,b){return d.get(a,
161
+ v,b,"script")},getJSON:function(a,b,c){return d.get(a,b,c,"json")},ajaxSetup:function(a,b){if(b)Ya(a,d.ajaxSettings);else{b=a;a=d.ajaxSettings}Ya(a,b);return a},ajaxSettings:{url:Va,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(eb[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":jc},
162
+ contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":i.String,"text html":true,"text json":d.parseJSON,"text xml":d.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:la(xb),ajaxTransport:la(ic),ajax:function(a,b){function c(W,ha,ca,fa){var qa,ga,da,Da,wa=ha;if(xa!==2){xa=2;m&&clearTimeout(m);j=v;f=fa||"";U.readyState=W>0?4:0;if(ca){Da=w;fa=U;var Ea,aa,pa,bb,za=Da.contents,ra=Da.dataTypes,ib=Da.responseFields;for(aa in ib)if(aa in
163
+ ca)fa[ib[aa]]=ca[aa];for(;ra[0]==="*";){ra.shift();if(Ea===v)Ea=Da.mimeType||fa.getResponseHeader("content-type")}if(Ea)for(aa in za)if(za[aa]&&za[aa].test(Ea)){ra.unshift(aa);break}if(ra[0]in ca)pa=ra[0];else{for(aa in ca){if(!ra[0]||Da.converters[aa+" "+ra[0]]){pa=aa;break}bb||(bb=aa)}pa=pa||bb}if(pa){pa!==ra[0]&&ra.unshift(pa);Da=ca[pa]}else Da=void 0}if(W>=200&&W<300||W===304){if(w.ifModified){if(ca=U.getResponseHeader("Last-Modified"))d.lastModified[e]=ca;if(ca=U.getResponseHeader("Etag"))d.etag[e]=
164
+ ca}if(W===304){wa="notmodified";qa=true}else{a:{ga=w;da=Da;var va,Ua;wa=ga.dataTypes.slice();Ea=wa[0];aa={};pa=0;if(ga.dataFilter)da=ga.dataFilter(da,ga.dataType);if(wa[1])for(va in ga.converters)aa[va.toLowerCase()]=ga.converters[va];for(;ca=wa[++pa];)if(ca!=="*"){if(Ea!=="*"&&Ea!==ca){va=aa[Ea+" "+ca]||aa["* "+ca];if(!va)for(Ua in aa){qa=Ua.split(" ");if(qa[1]===ca)if(va=aa[Ea+" "+qa[0]]||aa["* "+qa[0]]){if(va===true)va=aa[Ua];else if(aa[Ua]!==true){ca=qa[0];wa.splice(pa--,0,ca)}break}}if(va!==
165
+ true)if(va&&ga["throws"])da=va(da);else try{da=va(da)}catch(jb){qa={state:"parsererror",error:va?jb:"No conversion from "+Ea+" to "+ca};break a}}Ea=ca}qa={state:"success",data:da}}wa=qa.state;ga=qa.data;da=qa.error;qa=!da}}else{da=wa;if(!wa||W){wa="error";if(W<0)W=0}}U.status=W;U.statusText=(ha||wa)+"";qa?Z.resolveWith(L,[ga,wa,U]):Z.rejectWith(L,[U,wa,da]);U.statusCode(Ga);Ga=v;if(y)T.trigger("ajax"+(qa?"Success":"Error"),[U,w,qa?ga:da]);na.fireWith(L,[U,wa]);if(y){T.trigger("ajaxComplete",[U,w]);
166
+ --d.active||d.event.trigger("ajaxStop")}}}if(typeof a==="object"){b=a;a=v}b=b||{};var e,f,h,j,m,u,y,A,w=d.ajaxSetup({},b),L=w.context||w,T=L!==w&&(L.nodeType||L instanceof d)?d(L):d.event,Z=d.Deferred(),na=d.Callbacks("once memory"),Ga=w.statusCode||{},Na={},ba={},xa=0,Sa="canceled",U={readyState:0,setRequestHeader:function(W,ha){if(!xa){var ca=W.toLowerCase();W=ba[ca]=ba[ca]||W;Na[W]=ha}return this},getAllResponseHeaders:function(){return xa===2?f:null},getResponseHeader:function(W){var ha;if(xa===
167
+ 2){if(!h)for(h={};ha=md.exec(f);)h[ha[1].toLowerCase()]=ha[2];ha=h[W.toLowerCase()]}return ha===v?null:ha},overrideMimeType:function(W){if(!xa)w.mimeType=W;return this},abort:function(W){W=W||Sa;j&&j.abort(W);c(0,W);return this}};Z.promise(U);U.success=U.done;U.error=U.fail;U.complete=na.add;U.statusCode=function(W){if(W){var ha;if(xa<2)for(ha in W)Ga[ha]=[Ga[ha],W[ha]];else{ha=W[U.status];U.always(ha)}}return this};w.url=((a||w.url)+"").replace(ld,"").replace(od,eb[1]+"//");w.dataTypes=d.trim(w.dataType||
168
+ "*").toLowerCase().split(Pa);if(w.crossDomain==null){u=gc.exec(w.url.toLowerCase())||false;w.crossDomain=u&&u.join(":")+(u[3]?"":u[1]==="http:"?80:443)!==eb.join(":")+(eb[3]?"":eb[1]==="http:"?80:443)}if(w.data&&w.processData&&typeof w.data!=="string")w.data=d.param(w.data,w.traditional);Ha(xb,w,b,U);if(xa===2)return U;y=w.global;w.type=w.type.toUpperCase();w.hasContent=!nd.test(w.type);y&&d.active++===0&&d.event.trigger("ajaxStart");if(!w.hasContent){if(w.data){w.url+=(fc.test(w.url)?"&":"?")+w.data;
169
+ delete w.data}e=w.url;if(w.cache===false){u=d.now();var cb=w.url.replace(qd,"$1_="+u);w.url=cb+(cb===w.url?(fc.test(w.url)?"&":"?")+"_="+u:"")}}if(w.data&&w.hasContent&&w.contentType!==false||b.contentType)U.setRequestHeader("Content-Type",w.contentType);if(w.ifModified){e=e||w.url;d.lastModified[e]&&U.setRequestHeader("If-Modified-Since",d.lastModified[e]);d.etag[e]&&U.setRequestHeader("If-None-Match",d.etag[e])}U.setRequestHeader("Accept",w.dataTypes[0]&&w.accepts[w.dataTypes[0]]?w.accepts[w.dataTypes[0]]+
170
+ (w.dataTypes[0]!=="*"?", "+jc+"; q=0.01":""):w.accepts["*"]);for(A in w.headers)U.setRequestHeader(A,w.headers[A]);if(w.beforeSend&&(w.beforeSend.call(L,U,w)===false||xa===2))return U.abort();Sa="abort";for(A in{success:1,error:1,complete:1})U[A](w[A]);if(j=Ha(ic,w,b,U)){U.readyState=1;y&&T.trigger("ajaxSend",[U,w]);if(w.async&&w.timeout>0)m=setTimeout(function(){U.abort("timeout")},w.timeout);try{xa=1;j.send(Na,c)}catch(db){if(xa<2)c(-1,db);else throw db;}}else c(-1,"No Transport");return U},active:0,
171
+ lastModified:{},etag:{}});var kc=[],rd=/\?/,ub=/(=)\?(?=&|$)|\?\?/,sd=d.now();d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=kc.pop()||d.expando+"_"+sd++;this[a]=true;return a}});d.ajaxPrefilter("json jsonp",function(a,b,c){var e,f,h,j=a.data,m=a.url,u=a.jsonp!==false,y=u&&ub.test(m),A=u&&!y&&typeof j==="string"&&!(a.contentType||"").indexOf("application/x-www-form-urlencoded")&&ub.test(j);if(a.dataTypes[0]==="jsonp"||y||A){e=a.jsonpCallback=d.isFunction(a.jsonpCallback)?a.jsonpCallback():
172
+ a.jsonpCallback;f=i[e];if(y)a.url=m.replace(ub,"$1"+e);else if(A)a.data=j.replace(ub,"$1"+e);else if(u)a.url+=(rd.test(m)?"&":"?")+a.jsonp+"="+e;a.converters["script json"]=function(){h||d.error(e+" was not called");return h[0]};a.dataTypes[0]="json";i[e]=function(){h=arguments};c.always(function(){i[e]=f;if(a[e]){a.jsonpCallback=b.jsonpCallback;kc.push(e)}h&&d.isFunction(f)&&f(h[0]);h=f=v});return"script"}});d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
173
+ contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){d.globalEval(a);return a}}});d.ajaxPrefilter("script",function(a){if(a.cache===v)a.cache=false;if(a.crossDomain){a.type="GET";a.global=false}});d.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=Q.head||Q.getElementsByTagName("head")[0]||Q.documentElement;return{send:function(e,f){b=Q.createElement("script");b.async="async";if(a.scriptCharset)b.charset=a.scriptCharset;b.src=a.url;b.onload=b.onreadystatechange=
174
+ function(h,j){if(j||!b.readyState||/loaded|complete/.test(b.readyState)){b.onload=b.onreadystatechange=null;c&&b.parentNode&&c.removeChild(b);b=v;j||f(200,"success")}};c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(0,1)}}}});var fb,Gb=i.ActiveXObject?function(){for(var a in fb)fb[a](0,1)}:false,td=0;d.ajaxSettings.xhr=i.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&ia()))a:{try{a=new i.ActiveXObject("Microsoft.XMLHTTP");break a}catch(b){}a=void 0}return a}:ia;(function(a){d.extend(d.support,
175
+ {ajax:!!a,cors:!!a&&"withCredentials"in a})})(d.ajaxSettings.xhr());d.support.ajax&&d.ajaxTransport(function(a){if(!a.crossDomain||d.support.cors){var b;return{send:function(c,e){var f,h,j=a.xhr();a.username?j.open(a.type,a.url,a.async,a.username,a.password):j.open(a.type,a.url,a.async);if(a.xhrFields)for(h in a.xhrFields)j[h]=a.xhrFields[h];a.mimeType&&j.overrideMimeType&&j.overrideMimeType(a.mimeType);if(!a.crossDomain&&!c["X-Requested-With"])c["X-Requested-With"]="XMLHttpRequest";try{for(h in c)j.setRequestHeader(h,
176
+ c[h])}catch(m){}j.send(a.hasContent&&a.data||null);b=function(u,y){var A,w,L,T,Z;try{if(b&&(y||j.readyState===4)){b=v;if(f){j.onreadystatechange=d.noop;Gb&&delete fb[f]}if(y)j.readyState!==4&&j.abort();else{A=j.status;L=j.getAllResponseHeaders();T={};if((Z=j.responseXML)&&Z.documentElement)T.xml=Z;try{T.text=j.responseText}catch(na){}try{w=j.statusText}catch(Ga){w=""}if(!A&&a.isLocal&&!a.crossDomain)A=T.text?200:404;else if(A===1223)A=204}}}catch(Na){y||e(-1,Na)}T&&e(A,w,T,L)};if(a.async)if(j.readyState===
177
+ 4)setTimeout(b,0);else{f=++td;if(Gb){if(!fb){fb={};d(i).unload(Gb)}fb[f]=b}j.onreadystatechange=b}else b()},abort:function(){b&&b(0,1)}}}});var lb,vb,ud=/^(?:toggle|show|hide)$/,vd=RegExp("^(?:([-+])=|)("+pb+")([a-z%]*)$","i"),wd=/queueHooks$/,mb=[function(a,b,c){var e,f,h,j,m,u,y=this,A=a.style,w={},L=[],T=a.nodeType&&k(a);if(!c.queue){m=d._queueHooks(a,"fx");if(m.unqueued==null){m.unqueued=0;u=m.empty.fire;m.empty.fire=function(){m.unqueued||u()}}m.unqueued++;y.always(function(){y.always(function(){m.unqueued--;
178
+ d.queue(a,"fx").length||m.empty.fire()})})}if(a.nodeType===1&&("height"in b||"width"in b)){c.overflow=[A.overflow,A.overflowX,A.overflowY];if(d.css(a,"display")==="inline"&&d.css(a,"float")==="none")if(!d.support.inlineBlockNeedsLayout||oa(a.nodeName)==="inline")A.display="inline-block";else A.zoom=1}if(c.overflow){A.overflow="hidden";d.support.shrinkWrapBlocks||y.done(function(){A.overflow=c.overflow[0];A.overflowX=c.overflow[1];A.overflowY=c.overflow[2]})}for(e in b){f=b[e];if(ud.exec(f)){delete b[e];
179
+ if(f!==(T?"hide":"show"))L.push(e)}}if(f=L.length){h=d._data(a,"fxshow")||d._data(a,"fxshow",{});T?d(a).show():y.done(function(){d(a).hide()});y.done(function(){var Z;d.removeData(a,"fxshow",true);for(Z in w)d.style(a,Z,w[Z])});for(e=0;e<f;e++){b=L[e];j=y.createTween(b,T?h[b]:0);w[b]=h[b]||d.style(a,b);if(!(b in h)){h[b]=j.start;if(T){j.end=j.start;j.start=b==="width"||b==="height"?1:0}}}}}],gb={"*":[function(a,b){var c,e,f=this.createTween(a,b),h=vd.exec(b),j=f.cur(),m=+j||0,u=1,y=20;if(h){c=+h[2];
180
+ e=h[3]||(d.cssNumber[a]?"":"px");if(e!=="px"&&m){m=d.css(f.elem,a,true)||c||1;do{u=u||".5";m/=u;d.style(f.elem,a,m+e)}while(u!==(u=f.cur()/j)&&u!==1&&--y)}f.unit=e;f.start=m;f.end=h[1]?m+(h[1]+1)*c:c}return f}]};d.Animation=d.extend(Ia,{tweener:function(a,b){if(d.isFunction(a)){b=a;a=["*"]}else a=a.split(" ");for(var c,e=0,f=a.length;e<f;e++){c=a[e];gb[c]=gb[c]||[];gb[c].unshift(b)}},prefilter:function(a,b){b?mb.unshift(a):mb.push(a)}});d.Tween=sa;sa.prototype={constructor:sa,init:function(a,b,c,
181
+ e,f,h){this.elem=a;this.prop=c;this.easing=f||"swing";this.options=b;this.start=this.now=this.cur();this.end=e;this.unit=h||(d.cssNumber[c]?"":"px")},cur:function(){var a=sa.propHooks[this.prop];return a&&a.get?a.get(this):sa.propHooks._default.get(this)},run:function(a){var b,c=sa.propHooks[this.prop];this.pos=this.options.duration?b=d.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):b=a;this.now=(this.end-this.start)*b+this.start;this.options.step&&this.options.step.call(this.elem,
182
+ this.now,this);c&&c.set?c.set(this):sa.propHooks._default.set(this);return this}};sa.prototype.init.prototype=sa.prototype;sa.propHooks={_default:{get:function(a){if(a.elem[a.prop]!=null&&(!a.elem.style||a.elem.style[a.prop]==null))return a.elem[a.prop];a=d.css(a.elem,a.prop,false,"");return!a||a==="auto"?0:a},set:function(a){if(d.fx.step[a.prop])d.fx.step[a.prop](a);else if(a.elem.style&&(a.elem.style[d.cssProps[a.prop]]!=null||d.cssHooks[a.prop]))d.style(a.elem,a.prop,a.now+a.unit);else a.elem[a.prop]=
183
+ a.now}}};sa.propHooks.scrollTop=sa.propHooks.scrollLeft={set:function(a){if(a.elem.nodeType&&a.elem.parentNode)a.elem[a.prop]=a.now}};d.each(["toggle","show","hide"],function(a,b){var c=d.fn[b];d.fn[b]=function(e,f,h){return e==null||typeof e==="boolean"||!a&&d.isFunction(e)&&d.isFunction(f)?c.apply(this,arguments):this.animate(Ra(b,true),e,f,h)}});d.fn.extend({fadeTo:function(a,b,c,e){return this.filter(k).css("opacity",0).show().end().animate({opacity:b},a,c,e)},animate:function(a,b,c,e){var f=
184
+ d.isEmptyObject(a),h=d.speed(b,c,e);b=function(){var j=Ia(this,d.extend({},a),h);f&&j.stop(true)};return f||h.queue===false?this.each(b):this.queue(h.queue,b)},stop:function(a,b,c){var e=function(f){var h=f.stop;delete f.stop;h(c)};if(typeof a!=="string"){c=b;b=a;a=v}if(b&&a!==false)this.queue(a||"fx",[]);return this.each(function(){var f=true,h=a!=null&&a+"queueHooks",j=d.timers,m=d._data(this);if(h)m[h]&&m[h].stop&&e(m[h]);else for(h in m)m[h]&&m[h].stop&&wd.test(h)&&e(m[h]);for(h=j.length;h--;)if(j[h].elem===
185
+ this&&(a==null||j[h].queue===a)){j[h].anim.stop(c);f=false;j.splice(h,1)}if(f||!c)d.dequeue(this,a)})}});d.each({slideDown:Ra("show"),slideUp:Ra("hide"),slideToggle:Ra("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(c,e,f){return this.animate(b,c,e,f)}});d.speed=function(a,b,c){var e=a&&typeof a==="object"?d.extend({},a):{complete:c||!c&&b||d.isFunction(a)&&a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};e.duration=d.fx.off?
186
+ 0:typeof e.duration==="number"?e.duration:e.duration in d.fx.speeds?d.fx.speeds[e.duration]:d.fx.speeds._default;if(e.queue==null||e.queue===true)e.queue="fx";e.old=e.complete;e.complete=function(){d.isFunction(e.old)&&e.old.call(this);e.queue&&d.dequeue(this,e.queue)};return e};d.easing={linear:function(a){return a},swing:function(a){return 0.5-Math.cos(a*Math.PI)/2}};d.timers=[];d.fx=sa.prototype.init;d.fx.tick=function(){for(var a,b=d.timers,c=0;c<b.length;c++){a=b[c];!a()&&b[c]===a&&b.splice(c--,
187
+ 1)}b.length||d.fx.stop()};d.fx.timer=function(a){if(a()&&d.timers.push(a)&&!vb)vb=setInterval(d.fx.tick,d.fx.interval)};d.fx.interval=13;d.fx.stop=function(){clearInterval(vb);vb=null};d.fx.speeds={slow:600,fast:200,_default:400};d.fx.step={};if(d.expr&&d.expr.filters)d.expr.filters.animated=function(a){return d.grep(d.timers,function(b){return a===b.elem}).length};var lc=/^(?:body|html)$/i;d.fn.offset=function(a){if(arguments.length)return a===v?this:this.each(function(m){d.offset.setOffset(this,
188
+ a,m)});var b,c,e,f,h,j={top:0,left:0};if(f=(e=this[0])&&e.ownerDocument){if((c=f.body)===e)return d.offset.bodyOffset(e);b=f.documentElement;if(!d.contains(b,e))return j;if(typeof e.getBoundingClientRect!=="undefined")j=e.getBoundingClientRect();e=nb(f);f=b.clientTop||c.clientTop||0;c=b.clientLeft||c.clientLeft||0;h=e.pageYOffset||b.scrollTop;return{top:j.top+h-f,left:j.left+(e.pageXOffset||b.scrollLeft)-c}}};d.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;if(d.support.doesNotIncludeMarginInBodyOffset){b+=
189
+ parseFloat(d.css(a,"marginTop"))||0;c+=parseFloat(d.css(a,"marginLeft"))||0}return{top:b,left:c}},setOffset:function(a,b,c){var e=d.css(a,"position");if(e==="static")a.style.position="relative";var f=d(a),h=f.offset(),j=d.css(a,"top"),m=d.css(a,"left"),u={},y={};if((e==="absolute"||e==="fixed")&&d.inArray("auto",[j,m])>-1){y=f.position();e=y.top;m=y.left}else{e=parseFloat(j)||0;m=parseFloat(m)||0}if(d.isFunction(b))b=b.call(a,c,h);if(b.top!=null)u.top=b.top-h.top+e;if(b.left!=null)u.left=b.left-h.left+
190
+ m;"using"in b?b.using.call(a,u):f.css(u)}};d.fn.extend({position:function(){if(this[0]){var a=this[0],b=this.offsetParent(),c=this.offset(),e=lc.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(d.css(a,"marginTop"))||0;c.left-=parseFloat(d.css(a,"marginLeft"))||0;e.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||0;return{top:c.top-e.top,left:c.left-e.left}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||
191
+ Q.body;a&&!lc.test(a.nodeName)&&d.css(a,"position")==="static";)a=a.offsetParent;return a||Q.body})}});d.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);d.fn[a]=function(e){return d.access(this,function(f,h,j){var m=nb(f);if(j===v)return m?b in m?m[b]:m.document.documentElement[h]:f[h];if(m)m.scrollTo(!c?j:d(m).scrollLeft(),c?j:d(m).scrollTop());else f[h]=j},a,e,arguments.length,null)}});d.each({Height:"height",Width:"width"},function(a,b){d.each({padding:"inner"+
192
+ a,content:b,"":"outer"+a},function(c,e){d.fn[e]=function(f,h){var j=arguments.length&&(c||typeof f!=="boolean"),m=c||(f===true||h===true?"margin":"border");return d.access(this,function(u,y,A){if(d.isWindow(u))return u.document.documentElement["client"+a];if(u.nodeType===9){y=u.documentElement;return Math.max(u.body["scroll"+a],y["scroll"+a],u.body["offset"+a],y["offset"+a],y["client"+a])}return A===v?d.css(u,y,A,m):d.style(u,y,A,m)},b,j?f:v,j,null)}})});i.jQuery=i.$=d;typeof define==="function"&&
193
+ define.amd&&define.amd.jQuery&&define("jquery",[],function(){return d})})(window);/*
194
+ New BSD License <http://creativecommons.org/licenses/BSD/>
195
+ Public Domain
196
+ @author Benjamin Arthur Lupton <contact@balupton.com>
197
+ @author James Padolsey <https://gist.github.com/527683>
198
+ Public Domain
199
+ @author Benjamin Arthur Lupton <contact@balupton.com>
200
+ */
201
+ (function(i,v){var n=i.console||v,s=i.document,z=i.navigator,r=i.sessionStorage||false,o=i.setTimeout,x=i.clearTimeout,E=i.setInterval,H=i.clearInterval,K=i.JSON,R=i.alert,g=i.History=i.History||{},S=i.history;K.stringify=K.stringify||K.encode;K.parse=K.parse||K.decode;if(typeof g.init!=="undefined")throw Error("History.js Core has already been loaded...");g.init=function(){if(typeof g.Adapter==="undefined")return false;typeof g.initCore!=="undefined"&&g.initCore();typeof g.initHtml4!=="undefined"&&
202
+ g.initHtml4();return true};g.initCore=function(){if(typeof g.initCore.initialized!=="undefined")return false;else g.initCore.initialized=true;g.options=g.options||{};g.options.hashChangeInterval=g.options.hashChangeInterval||100;g.options.safariPollInterval=g.options.safariPollInterval||500;g.options.doubleCheckInterval=g.options.doubleCheckInterval||500;g.options.storeInterval=g.options.storeInterval||1E3;g.options.busyDelay=g.options.busyDelay||250;g.options.debug=g.options.debug||false;g.options.initialTitle=
203
+ g.options.initialTitle||s.title;g.intervalList=[];g.clearAllIntervals=function(){var k,p=g.intervalList;if(typeof p!=="undefined"&&p!==null){for(k=0;k<p.length;k++)H(p[k]);g.intervalList=null}};g.debug=function(){g.options.debug&&g.log.apply(g,arguments)};g.log=function(){var k=!(typeof n==="undefined"||typeof n.log==="undefined"||typeof n.log.apply==="undefined"),p=s.getElementById("log"),C,O,P,oa;if(k){O=Array.prototype.slice.call(arguments);C=O.shift();typeof n.debug!=="undefined"?n.debug.apply(n,
204
+ [C,O]):n.log.apply(n,[C,O])}else C="\n"+arguments[0]+"\n";O=1;for(P=arguments.length;O<P;++O){oa=arguments[O];if(typeof oa==="object"&&typeof K!=="undefined")try{oa=K.stringify(oa)}catch(ma){}C+="\n"+oa+"\n"}if(p){p.value+=C+"\n-----\n";p.scrollTop=p.scrollHeight-p.clientHeight}else k||R(C);return true};g.getInternetExplorerMajorVersion=function(){return g.getInternetExplorerMajorVersion.cached=typeof g.getInternetExplorerMajorVersion.cached!=="undefined"?g.getInternetExplorerMajorVersion.cached:
205
+ function(){for(var k=3,p=s.createElement("div"),C=p.getElementsByTagName("i");(p.innerHTML="<!--[if gt IE "+ ++k+"]><i></i><![endif]--\>")&&C[0];);return k>4?k:false}()};g.isInternetExplorer=function(){return g.isInternetExplorer.cached=typeof g.isInternetExplorer.cached!=="undefined"?g.isInternetExplorer.cached:Boolean(g.getInternetExplorerMajorVersion())};g.emulated={pushState:!Boolean(i.history&&i.history.pushState&&i.history.replaceState&&!(/ Mobile\/([1-7][a-z]|(8([abcde]|f(1[0-8]))))/i.test(z.userAgent)||
206
+ /AppleWebKit\/5([0-2]|3[0-2])/i.test(z.userAgent))),hashChange:Boolean(!("onhashchange"in i||"onhashchange"in s)||g.isInternetExplorer()&&g.getInternetExplorerMajorVersion()<8)};g.enabled=!g.emulated.pushState;g.bugs={setHash:Boolean(!g.emulated.pushState&&z.vendor==="Apple Computer, Inc."&&/AppleWebKit\/5([0-2]|3[0-3])/.test(z.userAgent)),safariPoll:Boolean(!g.emulated.pushState&&z.vendor==="Apple Computer, Inc."&&/AppleWebKit\/5([0-2]|3[0-3])/.test(z.userAgent)),ieDoubleCheck:Boolean(g.isInternetExplorer()&&
207
+ g.getInternetExplorerMajorVersion()<8),hashEscape:Boolean(g.isInternetExplorer()&&g.getInternetExplorerMajorVersion()<7)};g.isEmptyObject=function(k){for(var p in k)return false;return true};g.cloneObject=function(k){if(k){k=K.stringify(k);k=K.parse(k)}else k={};return k};g.getRootUrl=function(){var k=s.location.protocol+"//"+(s.location.hostname||s.location.host);if(s.location.port)k+=":"+s.location.port;k+="/";return k};g.getBaseHref=function(){var k=s.getElementsByTagName("base"),p=null;p="";if(k.length===
208
+ 1){p=k[0];p=p.href.replace(/[^\/]+$/,"")}if(p=p.replace(/\/+$/,""))p+="/";return p};g.getBaseUrl=function(){return g.getBaseHref()||g.getBasePageUrl()||g.getRootUrl()};g.getPageUrl=function(){return((g.getState(false,false)||{}).url||s.location.href).replace(/\/+$/,"").replace(/[^\/]+$/,function(k){return/\./.test(k)?k:k+"/"})};g.getBasePageUrl=function(){return s.location.href.replace(/[#\?].*/,"").replace(/[^\/]+$/,function(k){return/[^\/]$/.test(k)?"":k}).replace(/\/+$/,"")+"/"};g.getFullUrl=function(k,
209
+ p){var C=k,O=k.substring(0,1);p=typeof p==="undefined"?true:p;/[a-z]+\:\/\//.test(k)||(C=O==="/"?g.getRootUrl()+k.replace(/^\/+/,""):O==="#"?g.getPageUrl().replace(/#.*/,"")+k:O==="?"?g.getPageUrl().replace(/[\?#].*/,"")+k:p?g.getBaseUrl()+k.replace(/^(\.\/)+/,""):g.getBasePageUrl()+k.replace(/^(\.\/)+/,""));return C.replace(/\#$/,"")};g.getShortUrl=function(k){k=k;var p=g.getBaseUrl(),C=g.getRootUrl();if(g.emulated.pushState)k=k.replace(p,"");k=k.replace(C,"/");if(g.isTraditionalAnchor(k))k="./"+
210
+ k;return k=k.replace(/^(\.\/)+/g,"./").replace(/\#$/,"")};g.store={};g.idToState=g.idToState||{};g.stateToId=g.stateToId||{};g.urlToId=g.urlToId||{};g.storedStates=g.storedStates||[];g.savedStates=g.savedStates||[];g.normalizeStore=function(){g.store.idToState=g.store.idToState||{};g.store.urlToId=g.store.urlToId||{};g.store.stateToId=g.store.stateToId||{}};g.getState=function(k,p){if(typeof k==="undefined")k=true;if(typeof p==="undefined")p=true;var C=g.getLastSavedState();if(!C&&p)C=g.createStateObject();
211
+ if(k){C=g.cloneObject(C);C.url=C.cleanUrl||C.url}return C};g.getIdByState=function(k){var p=g.extractId(k.url),C;if(!p){C=g.getStateString(k);if(typeof g.stateToId[C]!=="undefined")p=g.stateToId[C];else if(typeof g.store.stateToId[C]!=="undefined")p=g.store.stateToId[C];else{for(;;){p=(new Date).getTime()+String(Math.random()).replace(/\D/g,"");if(typeof g.idToState[p]==="undefined"&&typeof g.store.idToState[p]==="undefined")break}g.stateToId[C]=p;g.idToState[p]=k}}return p};g.normalizeState=function(k){var p;
212
+ if(!k||typeof k!=="object")k={};if(typeof k.normalized!=="undefined")return k;if(!k.data||typeof k.data!=="object")k.data={};p={};p.normalized=true;p.title=k.title||"";p.url=g.getFullUrl(g.unescapeString(k.url||s.location.href));p.hash=g.getShortUrl(p.url);p.data=g.cloneObject(k.data);p.id=g.getIdByState(p);p.cleanUrl=p.url.replace(/\??\&_suid.*/,"");p.url=p.cleanUrl;k=!g.isEmptyObject(p.data);if(p.title||k){p.hash=g.getShortUrl(p.url).replace(/\??\&_suid.*/,"");/\?/.test(p.hash)||(p.hash+="?");p.hash+=
213
+ "&_suid="+p.id}p.hashedUrl=g.getFullUrl(p.hash);if((g.emulated.pushState||g.bugs.safariPoll)&&g.hasUrlDuplicate(p))p.url=p.hashedUrl;return p};g.createStateObject=function(k,p,C){k={data:k,title:p,url:C};return k=g.normalizeState(k)};g.getStateById=function(k){k=String(k);return g.idToState[k]||g.store.idToState[k]||v};g.getStateString=function(k){k={data:g.normalizeState(k).data,title:k.title,url:k.url};return K.stringify(k)};g.getStateId=function(k){return g.normalizeState(k).id};g.getHashByState=
214
+ function(k){return g.normalizeState(k).hash};g.extractId=function(k){return((k=/(.*)\&_suid=([0-9]+)$/.exec(k))?String(k[2]||""):"")||false};g.isTraditionalAnchor=function(k){return!/[\/\?\.]/.test(k)};g.extractState=function(k,p){var C=null,O,P;p=p||false;if(O=g.extractId(k))C=g.getStateById(O);if(!C){P=g.getFullUrl(k);if(O=g.getIdByUrl(P)||false)C=g.getStateById(O);if(!C&&p&&!g.isTraditionalAnchor(k))C=g.createStateObject(null,null,P)}return C};g.getIdByUrl=function(k){return g.urlToId[k]||g.store.urlToId[k]||
215
+ v};g.getLastSavedState=function(){return g.savedStates[g.savedStates.length-1]||v};g.getLastStoredState=function(){return g.storedStates[g.storedStates.length-1]||v};g.hasUrlDuplicate=function(k){var p=false;return p=(p=g.extractState(k.url))&&p.id!==k.id};g.storeState=function(k){g.urlToId[k.url]=k.id;g.storedStates.push(g.cloneObject(k));return k};g.isLastSavedState=function(k){var p=false;if(g.savedStates.length){k=k.id;p=g.getLastSavedState();p=p.id;p=k===p}return p};g.saveState=function(k){if(g.isLastSavedState(k))return false;
216
+ g.savedStates.push(g.cloneObject(k));return true};g.getStateByIndex=function(k){var p=null;return p=typeof k==="undefined"?g.savedStates[g.savedStates.length-1]:k<0?g.savedStates[g.savedStates.length+k]:g.savedStates[k]};g.getHash=function(){return g.unescapeHash(s.location.hash)};g.unescapeString=function(k){k=k;for(var p;;){p=i.unescape(k);if(p===k)break;k=p}return k};g.unescapeHash=function(k){k=g.normalizeHash(k);return k=g.unescapeString(k)};g.normalizeHash=function(k){return k.replace(/[^#]*#/,
217
+ "").replace(/#.*/,"")};g.setHash=function(k,p){var C,O;if(p!==false&&g.busy()){g.pushQueue({scope:g,callback:g.setHash,args:arguments,queue:p});return false}C=g.escapeHash(k);g.busy(true);if((O=g.extractState(k,true))&&!g.emulated.pushState)g.pushState(O.data,O.title,O.url,false);else if(s.location.hash!==C)if(g.bugs.setHash){O=g.getPageUrl();g.pushState(null,null,O+"#"+C,false)}else s.location.hash=C;return g};g.escapeHash=function(k){k=g.normalizeHash(k);k=i.escape(k);g.bugs.hashEscape||(k=k.replace(/\%21/g,
218
+ "!").replace(/\%26/g,"&").replace(/\%3D/g,"=").replace(/\%3F/g,"?"));return k};g.getHashByUrl=function(k){k=String(k).replace(/([^#]*)#?([^#]*)#?(.*)/,"$2");return k=g.unescapeHash(k)};g.setTitle=function(k){var p=k.title,C;if(!p)if((C=g.getStateByIndex(0))&&C.url===k.url)p=C.title||g.options.initialTitle;try{s.getElementsByTagName("title")[0].innerHTML=p.replace("<","&lt;").replace(">","&gt;").replace(" & "," &amp; ")}catch(O){}s.title=p;return g};g.queues=[];g.busy=function(k){if(typeof k!=="undefined")g.busy.flag=
219
+ k;else if(typeof g.busy.flag==="undefined")g.busy.flag=false;if(!g.busy.flag){x(g.busy.timeout);var p=function(){var C,O;if(!g.busy.flag)for(C=g.queues.length-1;C>=0;--C){O=g.queues[C];if(O.length!==0){O=O.shift();g.fireQueueItem(O);g.busy.timeout=o(p,g.options.busyDelay)}}};g.busy.timeout=o(p,g.options.busyDelay)}return g.busy.flag};g.busy.flag=false;g.fireQueueItem=function(k){return k.callback.apply(k.scope||g,k.args||[])};g.pushQueue=function(k){g.queues[k.queue||0]=g.queues[k.queue||0]||[];g.queues[k.queue||
220
+ 0].push(k);return g};g.queue=function(k,p){if(typeof k==="function")k={callback:k};if(typeof p!=="undefined")k.queue=p;g.busy()?g.pushQueue(k):g.fireQueueItem(k);return g};g.clearQueue=function(){g.busy.flag=false;g.queues=[];return g};g.stateChanged=false;g.doubleChecker=false;g.doubleCheckComplete=function(){g.stateChanged=true;g.doubleCheckClear();return g};g.doubleCheckClear=function(){if(g.doubleChecker){x(g.doubleChecker);g.doubleChecker=false}return g};g.doubleCheck=function(k){g.stateChanged=
221
+ false;g.doubleCheckClear();if(g.bugs.ieDoubleCheck)g.doubleChecker=o(function(){g.doubleCheckClear();g.stateChanged||k();return true},g.options.doubleCheckInterval);return g};g.safariStatePoll=function(){var k=g.extractState(s.location.href);if(!g.isLastSavedState(k)){k||g.createStateObject();g.Adapter.trigger(i,"popstate");return g}};g.back=function(k){if(k!==false&&g.busy()){g.pushQueue({scope:g,callback:g.back,args:arguments,queue:k});return false}g.busy(true);g.doubleCheck(function(){g.back(false)});
222
+ S.go(-1);return true};g.forward=function(k){if(k!==false&&g.busy()){g.pushQueue({scope:g,callback:g.forward,args:arguments,queue:k});return false}g.busy(true);g.doubleCheck(function(){g.forward(false)});S.go(1);return true};g.go=function(k,p){var C;if(k>0)for(C=1;C<=k;++C)g.forward(p);else if(k<0)for(C=-1;C>=k;--C)g.back(p);else throw Error("History.go: History.go requires a positive or negative integer passed.");return g};if(g.emulated.pushState){var D=function(){};g.pushState=g.pushState||D;g.replaceState=
223
+ g.replaceState||D}else{g.onPopState=function(k,p){var C=false;C=false;g.doubleCheckComplete();if(C=g.getHash()){if(C=g.extractState(C||s.location.href,true))g.replaceState(C.data,C.title,C.url,false);else{g.Adapter.trigger(i,"anchorchange");g.busy(false)}return g.expectedStateId=false}(C=(C=g.Adapter.extractEventData("state",k,p)||false)?g.getStateById(C):g.expectedStateId?g.getStateById(g.expectedStateId):g.extractState(s.location.href))||(C=g.createStateObject(null,null,s.location.href));g.expectedStateId=
224
+ false;if(g.isLastSavedState(C)){g.busy(false);return false}g.storeState(C);g.saveState(C);g.setTitle(C);g.Adapter.trigger(i,"statechange");g.busy(false);return true};g.Adapter.bind(i,"popstate",g.onPopState);g.pushState=function(k,p,C,O){if(g.getHashByUrl(C)&&g.emulated.pushState)throw Error("History.js does not support states with fragement-identifiers (hashes/anchors).");if(O!==false&&g.busy()){g.pushQueue({scope:g,callback:g.pushState,args:arguments,queue:O});return false}g.busy(true);var P=g.createStateObject(k,
225
+ p,C);if(g.isLastSavedState(P))g.busy(false);else{g.storeState(P);g.expectedStateId=P.id;S.pushState(P.id,P.title,P.url);g.Adapter.trigger(i,"popstate")}return true};g.replaceState=function(k,p,C,O){if(g.getHashByUrl(C)&&g.emulated.pushState)throw Error("History.js does not support states with fragement-identifiers (hashes/anchors).");if(O!==false&&g.busy()){g.pushQueue({scope:g,callback:g.replaceState,args:arguments,queue:O});return false}g.busy(true);var P=g.createStateObject(k,p,C);if(g.isLastSavedState(P))g.busy(false);
226
+ else{g.storeState(P);g.expectedStateId=P.id;S.replaceState(P.id,P.title,P.url);g.Adapter.trigger(i,"popstate")}return true}}if(r)try{g.store=K.parse(r.getItem("History.store"))||{}}catch(G){g.store={}}else g.store={};g.normalizeStore();g.Adapter.bind(i,"beforeunload",g.clearAllIntervals);g.Adapter.bind(i,"unload",g.clearAllIntervals);g.saveState(g.storeState(g.extractState(s.location.href,true)));if(r){g.onUnload=function(){var k,p;try{k=K.parse(r.getItem("History.store"))||{}}catch(C){k={}}k.idToState=
227
+ k.idToState||{};k.urlToId=k.urlToId||{};k.stateToId=k.stateToId||{};for(p in g.idToState)if(g.idToState.hasOwnProperty(p))k.idToState[p]=g.idToState[p];for(p in g.urlToId)if(g.urlToId.hasOwnProperty(p))k.urlToId[p]=g.urlToId[p];for(p in g.stateToId)if(g.stateToId.hasOwnProperty(p))k.stateToId[p]=g.stateToId[p];g.store=k;g.normalizeStore();r.setItem("History.store",K.stringify(k))};g.intervalList.push(E(g.onUnload,g.options.storeInterval));g.Adapter.bind(i,"beforeunload",g.onUnload);g.Adapter.bind(i,
228
+ "unload",g.onUnload)}if(!g.emulated.pushState){g.bugs.safariPoll&&g.intervalList.push(E(g.safariStatePoll,g.options.safariPollInterval));if(z.vendor==="Apple Computer, Inc."||(z.appCodeName||"")==="Mozilla"){g.Adapter.bind(i,"hashchange",function(){g.Adapter.trigger(i,"popstate")});g.getHash()&&g.Adapter.onDomLoad(function(){g.Adapter.trigger(i,"hashchange")})}}};g.init()})(window);/*
229
+ New BSD License <http://creativecommons.org/licenses/BSD/>
230
+ */
231
+ (function(i,v){var n=i.History=i.History||{},s=i.jQuery;if(typeof n.Adapter!=="undefined")throw Error("History.js Adapter has already been loaded...");n.Adapter={bind:function(z,r,o){s(z).bind(r,o)},trigger:function(z,r,o){s(z).trigger(r,o)},extractEventData:function(z,r,o){return r&&r.originalEvent&&r.originalEvent[z]||o&&o[z]||v},onDomLoad:function(z){s(z)}};typeof n.init!=="undefined"&&n.init()})(window);(function(i,v){function n(o,x){var E,H;E=o.nodeName.toLowerCase();if("area"===E){E=o.parentNode;H=E.name;if(!o.href||!H||E.nodeName.toLowerCase()!=="map")return false;E=i("img[usemap=#"+H+"]")[0];return!!E&&s(E)}return(/input|select|textarea|button|object/.test(E)?!o.disabled:"a"===E?o.href||x:x)&&s(o)}function s(o){return!i(o).parents().andSelf().filter(function(){return i.css(this,"visibility")==="hidden"||i.expr.filters.hidden(this)}).length}var z=0,r=/^ui-id-\d+$/;i.ui=i.ui||{};if(!i.ui.version){i.extend(i.ui,
232
+ {version:"1.9.0",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}});i.fn.extend({_focus:i.fn.focus,focus:function(o,x){return typeof o==="number"?this.each(function(){var E=this;setTimeout(function(){i(E).focus();x&&x.call(E)},o)}):this._focus.apply(this,arguments)},scrollParent:function(){var o;
233
+ o=i.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(i.css(this,"position"))&&/(auto|scroll)/.test(i.css(this,"overflow")+i.css(this,"overflow-y")+i.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(i.css(this,"overflow")+i.css(this,"overflow-y")+i.css(this,"overflow-x"))}).eq(0);return/fixed/.test(this.css("position"))||!o.length?i(document):
234
+ o},zIndex:function(o){if(o!==v)return this.css("zIndex",o);if(this.length){o=i(this[0]);for(var x;o.length&&o[0]!==document;){x=o.css("position");if(x==="absolute"||x==="relative"||x==="fixed"){x=parseInt(o.css("zIndex"),10);if(!isNaN(x)&&x!==0)return x}o=o.parent()}}return 0},uniqueId:function(){return this.each(function(){if(!this.id)this.id="ui-id-"+ ++z})},removeUniqueId:function(){return this.each(function(){r.test(this.id)&&i(this).removeAttr("id")})}});i("<a>").outerWidth(1).jquery||i.each(["Width",
235
+ "Height"],function(o,x){function E(g,S,D,G){i.each(H,function(){S-=parseFloat(i.css(g,"padding"+this))||0;if(D)S-=parseFloat(i.css(g,"border"+this+"Width"))||0;if(G)S-=parseFloat(i.css(g,"margin"+this))||0});return S}var H=x==="Width"?["Left","Right"]:["Top","Bottom"],K=x.toLowerCase(),R={innerWidth:i.fn.innerWidth,innerHeight:i.fn.innerHeight,outerWidth:i.fn.outerWidth,outerHeight:i.fn.outerHeight};i.fn["inner"+x]=function(g){if(g===v)return R["inner"+x].call(this);return this.each(function(){i(this).css(K,
236
+ E(this,g)+"px")})};i.fn["outer"+x]=function(g,S){if(typeof g!=="number")return R["outer"+x].call(this,g);return this.each(function(){i(this).css(K,E(this,g,true,S)+"px")})}});i.extend(i.expr[":"],{data:i.expr.createPseudo?i.expr.createPseudo(function(o){return function(x){return!!i.data(x,o)}}):function(o,x,E){return!!i.data(o,E[3])},focusable:function(o){return n(o,!isNaN(i.attr(o,"tabindex")))},tabbable:function(o){var x=i.attr(o,"tabindex"),E=isNaN(x);return(E||x>=0)&&n(o,!E)}});i(function(){var o=
237
+ document.body,x=o.appendChild(x=document.createElement("div"));i.extend(x.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});i.support.minHeight=x.offsetHeight===100;i.support.selectstart="onselectstart"in x;o.removeChild(x).style.display="none"});i.fn.extend({disableSelection:function(){return this.bind((i.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(o){o.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});i.extend(i.ui,
238
+ {plugin:{add:function(o,x,E){var H;o=i.ui[o].prototype;for(H in E){o.plugins[H]=o.plugins[H]||[];o.plugins[H].push([x,E[H]])}},call:function(o,x,E){var H=o.plugins[x];if(!(!H||!o.element[0].parentNode||o.element[0].parentNode.nodeType===11))for(x=0;x<H.length;x++)o.options[H[x][0]]&&H[x][1].apply(o.element,E)}},contains:i.contains,hasScroll:function(o,x){if(i(o).css("overflow")==="hidden")return false;var E=x&&x==="left"?"scrollLeft":"scrollTop",H=false;if(o[E]>0)return true;o[E]=1;H=o[E]>0;o[E]=
239
+ 0;return H},isOverAxis:function(o,x,E){return o>x&&o<x+E},isOver:function(o,x,E,H,K,R){return i.ui.isOverAxis(o,E,K)&&i.ui.isOverAxis(x,H,R)}})}})(jQuery);(function(i,v){var n=0,s=Array.prototype.slice,z=i.cleanData;i.cleanData=function(r){for(var o=0,x;(x=r[o])!=null;o++)try{i(x).triggerHandler("remove")}catch(E){}z(r)};i.widget=function(r,o,x){var E,H,K,R,g=r.split(".")[0];r=r.split(".")[1];E=g+"-"+r;if(!x){x=o;o=i.Widget}i.expr[":"][E.toLowerCase()]=function(S){return!!i.data(S,E)};i[g]=i[g]||{};H=i[g][r];K=i[g][r]=function(S,D){if(!this._createWidget)return new K(S,D);arguments.length&&this._createWidget(S,D)};i.extend(K,H,{version:x.version,_proto:i.extend({},
240
+ x),_childConstructors:[]});R=new o;R.options=i.widget.extend({},R.options);i.each(x,function(S,D){if(i.isFunction(D))x[S]=function(){var G=function(){return o.prototype[S].apply(this,arguments)},k=function(p){return o.prototype[S].apply(this,p)};return function(){var p=this._super,C=this._superApply,O;this._super=G;this._superApply=k;O=D.apply(this,arguments);this._super=p;this._superApply=C;return O}}()});K.prototype=i.widget.extend(R,{widgetEventPrefix:r},x,{constructor:K,namespace:g,widgetName:r,
241
+ widgetBaseClass:E,widgetFullName:E});if(H){i.each(H._childConstructors,function(S,D){var G=D.prototype;i.widget(G.namespace+"."+G.widgetName,K,D._proto)});delete H._childConstructors}else o._childConstructors.push(K);i.widget.bridge(r,K)};i.widget.extend=function(r){for(var o=s.call(arguments,1),x=0,E=o.length,H,K;x<E;x++)for(H in o[x]){K=o[x][H];if(o[x].hasOwnProperty(H)&&K!==v)r[H]=i.isPlainObject(K)?i.widget.extend({},r[H],K):K}return r};i.widget.bridge=function(r,o){var x=o.prototype.widgetFullName;
242
+ i.fn[r]=function(E){var H=typeof E==="string",K=s.call(arguments,1),R=this;E=!H&&K.length?i.widget.extend.apply(null,[E].concat(K)):E;H?this.each(function(){var g,S=i.data(this,x);if(!S)return i.error("cannot call methods on "+r+" prior to initialization; attempted to call method '"+E+"'");if(!i.isFunction(S[E])||E.charAt(0)==="_")return i.error("no such method '"+E+"' for "+r+" widget instance");g=S[E].apply(S,K);if(g!==S&&g!==v){R=g&&g.jquery?R.pushStack(g.get()):g;return false}}):this.each(function(){var g=
243
+ i.data(this,x);if(g)g.option(E||{})._init();else new o(E,this)});return R}};i.Widget=function(){};i.Widget._childConstructors=[];i.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:false,create:null},_createWidget:function(r,o){o=i(o||this.defaultElement||this)[0];this.element=i(o);this.uuid=n++;this.eventNamespace="."+this.widgetName+this.uuid;this.options=i.widget.extend({},this.options,this._getCreateOptions(),r);this.bindings=i();this.hoverable=
244
+ i();this.focusable=i();if(o!==this){i.data(o,this.widgetName,this);i.data(o,this.widgetFullName,this);this._on({remove:"destroy"});this.document=i(o.style?o.ownerDocument:o.document||o);this.window=i(this.document[0].defaultView||this.document[0].parentWindow)}this._create();this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:i.noop,_getCreateEventData:i.noop,_create:i.noop,_init:i.noop,destroy:function(){this._destroy();this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(i.camelCase(this.widgetFullName));
245
+ this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled");this.bindings.unbind(this.eventNamespace);this.hoverable.removeClass("ui-state-hover");this.focusable.removeClass("ui-state-focus")},_destroy:i.noop,widget:function(){return this.element},option:function(r,o){var x=r,E,H,K;if(arguments.length===0)return i.widget.extend({},this.options);if(typeof r==="string"){x={};E=r.split(".");r=E.shift();if(E.length){H=x[r]=i.widget.extend({},
246
+ this.options[r]);for(K=0;K<E.length-1;K++){H[E[K]]=H[E[K]]||{};H=H[E[K]]}r=E.pop();if(o===v)return H[r]===v?null:H[r];H[r]=o}else{if(o===v)return this.options[r]===v?null:this.options[r];x[r]=o}}this._setOptions(x);return this},_setOptions:function(r){var o;for(o in r)this._setOption(o,r[o]);return this},_setOption:function(r,o){this.options[r]=o;if(r==="disabled"){this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!o).attr("aria-disabled",o);this.hoverable.removeClass("ui-state-hover");
247
+ this.focusable.removeClass("ui-state-focus")}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_on:function(r,o){if(o){r=i(r);this.bindings=this.bindings.add(r)}else{o=r;r=this.element}var x=this;i.each(o,function(E,H){function K(){if(!(x.options.disabled===true||i(this).hasClass("ui-state-disabled")))return(typeof H==="string"?x[H]:H).apply(x,arguments)}if(typeof H!=="string")K.guid=H.guid=H.guid||K.guid||i.guid++;
248
+ var R=E.match(/^(\w+)\s*(.*)$/),g=R[1]+x.eventNamespace;(R=R[2])?x.widget().delegate(R,g,K):r.bind(g,K)})},_off:function(r,o){o=(o||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;r.unbind(o).undelegate(o)},_delay:function(r,o){var x=this;return setTimeout(function(){return(typeof r==="string"?x[r]:r).apply(x,arguments)},o||0)},_hoverable:function(r){this.hoverable=this.hoverable.add(r);this._on(r,{mouseenter:function(o){i(o.currentTarget).addClass("ui-state-hover")},mouseleave:function(o){i(o.currentTarget).removeClass("ui-state-hover")}})},
249
+ _focusable:function(r){this.focusable=this.focusable.add(r);this._on(r,{focusin:function(o){i(o.currentTarget).addClass("ui-state-focus")},focusout:function(o){i(o.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(r,o,x){var E,H=this.options[r];x=x||{};o=i.Event(o);o.type=(r===this.widgetEventPrefix?r:this.widgetEventPrefix+r).toLowerCase();o.target=this.element[0];if(r=o.originalEvent)for(E in r)E in o||(o[E]=r[E]);this.element.trigger(o,x);return!(i.isFunction(H)&&H.apply(this.element[0],
250
+ [o].concat(x))===false||o.isDefaultPrevented())}};i.each({show:"fadeIn",hide:"fadeOut"},function(r,o){i.Widget.prototype["_"+r]=function(x,E,H){if(typeof E==="string")E={effect:E};var K,R=!E?r:E===true||typeof E==="number"?o:E.effect||o;E=E||{};if(typeof E==="number")E={duration:E};K=!i.isEmptyObject(E);E.complete=H;E.delay&&x.delay(E.delay);if(K&&i.effects&&(i.effects.effect[R]||i.uiBackCompat!==false&&i.effects[R]))x[r](E);else R!==r&&x[R]?x[R](E.duration,E.easing,H):x.queue(function(g){i(this)[r]();
251
+ H&&H.call(x[0]);g()})}});if(i.uiBackCompat!==false)i.Widget.prototype._getCreateOptions=function(){return i.metadata&&i.metadata.get(this.element[0])[this.widgetName]}})(jQuery);(function(i,v){function n(D,G,k){return[parseInt(D[0],10)*(g.test(D[0])?G/100:1),parseInt(D[1],10)*(g.test(D[1])?k/100:1)]}function s(D,G){return parseInt(i.css(D,G),10)||0}i.ui=i.ui||{};var z,r=Math.max,o=Math.abs,x=Math.round,E=/left|center|right/,H=/top|center|bottom/,K=/[\+\-]\d+%?/,R=/^\w+/,g=/%$/,S=i.fn.position;i.position={scrollbarWidth:function(){if(z!==v)return z;var D,G,k=i("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>");
252
+ G=k.children()[0];i("body").append(k);D=G.offsetWidth;k.css("overflow","scroll");G=G.offsetWidth;if(D===G)G=k[0].clientWidth;k.remove();return z=D-G},getScrollInfo:function(D){var G=D.isWindow?"":D.element.css("overflow-x"),k=D.isWindow?"":D.element.css("overflow-y");k=k==="scroll"||k==="auto"&&D.height<D.element[0].scrollHeight;return{width:G==="scroll"||G==="auto"&&D.width<D.element[0].scrollWidth?i.position.scrollbarWidth():0,height:k?i.position.scrollbarWidth():0}},getWithinInfo:function(D){D=
253
+ i(D||window);var G=i.isWindow(D[0]);return{element:D,isWindow:G,offset:D.offset()||{left:0,top:0},scrollLeft:D.scrollLeft(),scrollTop:D.scrollTop(),width:G?D.width():D.outerWidth(),height:G?D.height():D.outerHeight()}}};i.fn.position=function(D){if(!D||!D.of)return S.apply(this,arguments);D=i.extend({},D);var G,k,p,C,O,P=i(D.of),oa=i.position.getWithinInfo(D.within),ma=i.position.getScrollInfo(oa),la=P[0],Ha=(D.collision||"flip").split(" "),Ya={};if(la.nodeType===9){k=P.width();p=P.height();C={top:0,
254
+ left:0}}else if(i.isWindow(la)){k=P.width();p=P.height();C={top:P.scrollTop(),left:P.scrollLeft()}}else if(la.preventDefault){D.at="left top";k=p=0;C={top:la.pageY,left:la.pageX}}else{k=P.outerWidth();p=P.outerHeight();C=P.offset()}O=i.extend({},C);i.each(["my","at"],function(){var ia=(D[this]||"").split(" "),Ja,Ba;if(ia.length===1)ia=E.test(ia[0])?ia.concat(["center"]):H.test(ia[0])?["center"].concat(ia):["center","center"];ia[0]=E.test(ia[0])?ia[0]:"center";ia[1]=H.test(ia[1])?ia[1]:"center";Ja=
255
+ K.exec(ia[0]);Ba=K.exec(ia[1]);Ya[this]=[Ja?Ja[0]:0,Ba?Ba[0]:0];D[this]=[R.exec(ia[0])[0],R.exec(ia[1])[0]]});if(Ha.length===1)Ha[1]=Ha[0];if(D.at[0]==="right")O.left+=k;else if(D.at[0]==="center")O.left+=k/2;if(D.at[1]==="bottom")O.top+=p;else if(D.at[1]==="center")O.top+=p/2;G=n(Ya.at,k,p);O.left+=G[0];O.top+=G[1];return this.each(function(){var ia,Ja,Ba=i(this),Ia=Ba.outerWidth(),Ka=Ba.outerHeight(),sa=s(this,"marginLeft"),Ra=s(this,"marginTop"),nb=Ia+sa+s(this,"marginRight")+ma.width,ob=Ka+Ra+
256
+ s(this,"marginBottom")+ma.height,ja=i.extend({},O),Q=n(Ya.my,Ba.outerWidth(),Ba.outerHeight());if(D.my[0]==="right")ja.left-=Ia;else if(D.my[0]==="center")ja.left-=Ia/2;if(D.my[1]==="bottom")ja.top-=Ka;else if(D.my[1]==="center")ja.top-=Ka/2;ja.left+=Q[0];ja.top+=Q[1];if(!i.support.offsetFractions){ja.left=x(ja.left);ja.top=x(ja.top)}ia={marginLeft:sa,marginTop:Ra};i.each(["left","top"],function(Za,La){i.ui.position[Ha[Za]]&&i.ui.position[Ha[Za]][La](ja,{targetWidth:k,targetHeight:p,elemWidth:Ia,
257
+ elemHeight:Ka,collisionPosition:ia,collisionWidth:nb,collisionHeight:ob,offset:[G[0]+Q[0],G[1]+Q[1]],my:D.my,at:D.at,within:oa,elem:Ba})});i.fn.bgiframe&&Ba.bgiframe();if(D.using)Ja=function(Za){var La=C.left-ja.left,hb=La+k-Ia,$a=C.top-ja.top,ab=$a+p-Ka,Ca={target:{element:P,left:C.left,top:C.top,width:k,height:p},element:{element:Ba,left:ja.left,top:ja.top,width:Ia,height:Ka},horizontal:hb<0?"left":La>0?"right":"center",vertical:ab<0?"top":$a>0?"bottom":"middle"};if(k<Ia&&o(La+hb)<k)Ca.horizontal=
258
+ "center";if(p<Ka&&o($a+ab)<p)Ca.vertical="middle";Ca.important=r(o(La),o(hb))>r(o($a),o(ab))?"horizontal":"vertical";D.using.call(this,Za,Ca)};Ba.offset(i.extend(ja,{using:Ja}))})};i.ui.position={fit:{left:function(D,G){var k=G.within,p=k.isWindow?k.scrollLeft:k.offset.left,C=k.width,O=D.left-G.collisionPosition.marginLeft;k=p-O;var P=O+G.collisionWidth-C-p;if(G.collisionWidth>C)if(k>0&&P<=0){p=D.left+k+G.collisionWidth-C-p;D.left+=k-p}else D.left=P>0&&k<=0?p:k>P?p+C-G.collisionWidth:p;else if(k>
259
+ 0)D.left+=k;else if(P>0)D.left-=P;else D.left=r(D.left-O,D.left)},top:function(D,G){var k=G.within,p=k.isWindow?k.scrollTop:k.offset.top,C=G.within.height,O=D.top-G.collisionPosition.marginTop;k=p-O;var P=O+G.collisionHeight-C-p;if(G.collisionHeight>C)if(k>0&&P<=0){p=D.top+k+G.collisionHeight-C-p;D.top+=k-p}else D.top=P>0&&k<=0?p:k>P?p+C-G.collisionHeight:p;else if(k>0)D.top+=k;else if(P>0)D.top-=P;else D.top=r(D.top-O,D.top)}},flip:{left:function(D,G){var k=G.within,p=k.offset.left+k.scrollLeft,
260
+ C=k.width,O=k.isWindow?k.scrollLeft:k.offset.left,P=D.left-G.collisionPosition.marginLeft;k=P-O;var oa=P+G.collisionWidth-C-O;P=G.my[0]==="left"?-G.elemWidth:G.my[0]==="right"?G.elemWidth:0;var ma=G.at[0]==="left"?G.targetWidth:G.at[0]==="right"?-G.targetWidth:0,la=-2*G.offset[0];if(k<0){p=D.left+P+ma+la+G.collisionWidth-C-p;if(p<0||p<o(k))D.left+=P+ma+la}else if(oa>0){p=D.left-G.collisionPosition.marginLeft+P+ma+la-O;if(p>0||o(p)<oa)D.left+=P+ma+la}},top:function(D,G){var k=G.within,p=k.offset.top+
261
+ k.scrollTop,C=k.height,O=k.isWindow?k.scrollTop:k.offset.top,P=D.top-G.collisionPosition.marginTop;k=P-O;var oa=P+G.collisionHeight-C-O;P=G.my[1]==="top"?-G.elemHeight:G.my[1]==="bottom"?G.elemHeight:0;var ma=G.at[1]==="top"?G.targetHeight:G.at[1]==="bottom"?-G.targetHeight:0,la=-2*G.offset[1];if(k<0){p=D.top+P+ma+la+G.collisionHeight-C-p;if(D.top+P+ma+la>k&&(p<0||p<o(k)))D.top+=P+ma+la}else if(oa>0){p=D.top-G.collisionPosition.marginTop+P+ma+la-O;if(D.top+P+ma+la>oa&&(p>0||o(p)<oa))D.top+=P+ma+la}}},
262
+ flipfit:{left:function(){i.ui.position.flip.left.apply(this,arguments);i.ui.position.fit.left.apply(this,arguments)},top:function(){i.ui.position.flip.top.apply(this,arguments);i.ui.position.fit.top.apply(this,arguments)}}};(function(){var D,G,k,p,C=document.getElementsByTagName("body")[0];k=document.createElement("div");D=document.createElement(C?"div":"body");G={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};C&&i.extend(G,{position:"absolute",left:"-1000px",top:"-1000px"});
263
+ for(p in G)D.style[p]=G[p];D.appendChild(k);G=C||document.documentElement;G.insertBefore(D,G.firstChild);k.style.cssText="position: absolute; left: 10.7432222px;";k=i(k).offset().left;i.support.offsetFractions=k>10&&k<11;D.innerHTML="";G.removeChild(D)})();i.uiBackCompat!==false&&function(D){var G=D.fn.position;D.fn.position=function(k){if(!k||!k.offset)return G.call(this,k);var p=k.offset.split(" "),C=k.at.split(" ");if(p.length===1)p[1]=p[0];if(/^\d/.test(p[0]))p[0]="+"+p[0];if(/^\d/.test(p[1]))p[1]=
264
+ "+"+p[1];if(C.length===1)if(/left|center|right/.test(C[0]))C[1]="center";else{C[1]=C[0];C[0]="center"}return G.call(this,D.extend(k,{at:C[0]+p[0]+" "+C[1]+p[1],offset:v}))}}(jQuery)})(jQuery);(function(i){var v=false;i.widget("ui.menu",{version:"1.9.0",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element;this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,
265
+ i.proxy(function(n){this.options.disabled&&n.preventDefault()},this));this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true");this._on({"mousedown .ui-menu-item > a":function(n){n.preventDefault()},"click .ui-state-disabled > a":function(n){n.preventDefault()},"click .ui-menu-item:has(a)":function(n){var s=i(n.target).closest(".ui-menu-item");if(!v&&s.not(".ui-state-disabled").length){v=true;this.select(n);if(s.has(".ui-menu").length)this.expand(n);else if(!this.element.is(":focus")){this.element.trigger("focus",
266
+ [true]);this.active&&this.active.parents(".ui-menu").length===1&&clearTimeout(this.timer)}}},"mouseenter .ui-menu-item":function(n){var s=i(n.currentTarget);s.siblings().children(".ui-state-active").removeClass("ui-state-active");this.focus(n,s)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(n,s){var z=this.active||this.element.children(".ui-menu-item").eq(0);s||this.focus(n,z)},blur:function(n){this._delay(function(){i.contains(this.element[0],this.document[0].activeElement)||
267
+ this.collapseAll(n)})},keydown:"_keydown"});this.refresh();this._on(this.document,{click:function(n){i(n.target).closest(".ui-menu").length||this.collapseAll(n);v=false}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").andSelf().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show();
268
+ this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var n=i(this);n.data("ui-menu-submenu-carat")&&n.remove()});this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(n){function s(H){return H.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,
269
+ "\\$&")}var z,r,o,x,E=true;switch(n.keyCode){case i.ui.keyCode.PAGE_UP:this.previousPage(n);break;case i.ui.keyCode.PAGE_DOWN:this.nextPage(n);break;case i.ui.keyCode.HOME:this._move("first","first",n);break;case i.ui.keyCode.END:this._move("last","last",n);break;case i.ui.keyCode.UP:this.previous(n);break;case i.ui.keyCode.DOWN:this.next(n);break;case i.ui.keyCode.LEFT:this.collapse(n);break;case i.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(n);break;case i.ui.keyCode.ENTER:case i.ui.keyCode.SPACE:this._activate(n);
270
+ break;case i.ui.keyCode.ESCAPE:this.collapse(n);break;default:E=false;z=this.previousFilter||"";r=String.fromCharCode(n.keyCode);o=false;clearTimeout(this.filterTimer);if(r===z)o=true;else r=z+r;x=RegExp("^"+s(r),"i");z=this.activeMenu.children(".ui-menu-item").filter(function(){return x.test(i(this).children("a").text())});z=o&&z.index(this.active.next())!==-1?this.active.nextAll(".ui-menu-item"):z;if(!z.length){r=String.fromCharCode(n.keyCode);x=RegExp("^"+s(r),"i");z=this.activeMenu.children(".ui-menu-item").filter(function(){return x.test(i(this).children("a").text())})}if(z.length){this.focus(n,
271
+ z);if(z.length>1){this.previousFilter=r;this.filterTimer=this._delay(function(){delete this.previousFilter},1E3)}else delete this.previousFilter}else delete this.previousFilter}E&&n.preventDefault()},_activate:function(n){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(n):this.select(n))},refresh:function(){var n,s=this.options.icons.submenu,z=this.element.find(this.options.menus+":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,
272
+ "aria-hidden":"true","aria-expanded":"false"});n=z.add(this.element);n.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()});n.children(":not(.ui-menu-item)").each(function(){var r=i(this);/[^\-\u2014\u2013\s]/.test(r.text())||r.addClass("ui-widget-content ui-menu-divider")});n.children(".ui-state-disabled").attr("aria-disabled","true");z.each(function(){var r=i(this),
273
+ o=r.prev("a"),x=i("<span>").addClass("ui-menu-icon ui-icon "+s).data("ui-menu-submenu-carat",true);o.attr("aria-haspopup","true").prepend(x);r.attr("aria-labelledby",o.attr("id"))});this.active&&!i.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},focus:function(n,s){var z;this.blur(n,n&&n.type==="focus");this._scrollIntoView(s);this.active=s.first();z=this.active.children("a").addClass("ui-state-focus");this.options.role&&
274
+ this.element.attr("aria-activedescendant",z.attr("id"));this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active");if(n&&n.type==="keydown")this._close();else this.timer=this._delay(function(){this._close()},this.delay);z=s.children(".ui-menu");z.length&&/^mouse/.test(n.type)&&this._startOpening(z);this.activeMenu=s.parent();this._trigger("focus",n,{item:s})},_scrollIntoView:function(n){var s,z,r;if(this._hasScroll()){s=parseFloat(i.css(this.activeMenu[0],"borderTopWidth"))||
275
+ 0;z=parseFloat(i.css(this.activeMenu[0],"paddingTop"))||0;s=n.offset().top-this.activeMenu.offset().top-s-z;z=this.activeMenu.scrollTop();r=this.activeMenu.height();n=n.height();if(s<0)this.activeMenu.scrollTop(z+s);else s+n>r&&this.activeMenu.scrollTop(z+s-r+n)}},blur:function(n,s){s||clearTimeout(this.timer);if(this.active){this.active.children("a").removeClass("ui-state-focus");this.active=null;this._trigger("blur",n,{item:this.active})}},_startOpening:function(n){clearTimeout(this.timer);if(n.attr("aria-hidden")===
276
+ "true")this.timer=this._delay(function(){this._close();this._open(n)},this.delay)},_open:function(n){var s=i.extend({of:this.active},this.options.position);clearTimeout(this.timer);this.element.find(".ui-menu").not(n.parents(".ui-menu")).hide().attr("aria-hidden","true");n.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(s)},collapseAll:function(n,s){clearTimeout(this.timer);this.timer=this._delay(function(){var z=s?this.element:i(n&&n.target).closest(this.element.find(".ui-menu"));
277
+ if(!z.length)z=this.element;this._close(z);this.blur(n);this.activeMenu=z},this.delay)},_close:function(n){n||(n=this.active?this.active.parent():this.element);n.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(n){var s=this.active&&this.active.parent().closest(".ui-menu-item",this.element);if(s&&s.length){this._close();this.focus(n,s)}},expand:function(n){var s=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();
278
+ if(s&&s.length){this._open(s.parent());this._delay(function(){this.focus(n,s)})}},next:function(n){this._move("next","first",n)},previous:function(n){this._move("prev","last",n)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(n,s,z){var r;if(this.active)r=n==="first"||n==="last"?this.active[n==="first"?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[n+
279
+ "All"](".ui-menu-item").eq(0);if(!r||!r.length||!this.active)r=this.activeMenu.children(".ui-menu-item")[s]();this.focus(z,r)},nextPage:function(n){var s,z,r;if(this.active){if(!this.isLastItem())if(this._hasScroll()){z=this.active.offset().top;r=this.element.height();this.active.nextAll(".ui-menu-item").each(function(){s=i(this);return s.offset().top-z-r<0});this.focus(n,s)}else this.focus(n,this.activeMenu.children(".ui-menu-item")[!this.active?"first":"last"]())}else this.next(n)},previousPage:function(n){var s,
280
+ z,r;if(this.active){if(!this.isFirstItem())if(this._hasScroll()){z=this.active.offset().top;r=this.element.height();this.active.prevAll(".ui-menu-item").each(function(){s=i(this);return s.offset().top-z+r>0});this.focus(n,s)}else this.focus(n,this.activeMenu.children(".ui-menu-item").first())}else this.next(n)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(n){this.active=this.active||i(n.target).closest(".ui-menu-item");var s={item:this.active};
281
+ this.active.has(".ui-menu").length||this.collapseAll(n,true);this._trigger("select",n,s)}})})(jQuery);(function(i){var v=0;i.widget("ui.autocomplete",{version:"1.9.0",defaultElement:"<input>",options:{appendTo:"body",autoFocus:false,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var n,s,z;this.isMultiLine=this._isMultiLine();this.valueMethod=this.element[this.element.is("input,textarea")?"val":"text"];this.isNewMenu=true;this.element.addClass("ui-autocomplete-input").attr("autocomplete",
282
+ "off");this._on({keydown:function(r){if(this.element.prop("readOnly"))s=z=n=true;else{s=z=n=false;var o=i.ui.keyCode;switch(r.keyCode){case o.PAGE_UP:n=true;this._move("previousPage",r);break;case o.PAGE_DOWN:n=true;this._move("nextPage",r);break;case o.UP:n=true;this._keyEvent("previous",r);break;case o.DOWN:n=true;this._keyEvent("next",r);break;case o.ENTER:case o.NUMPAD_ENTER:if(this.menu.active){n=true;r.preventDefault();this.menu.select(r)}break;case o.TAB:this.menu.active&&this.menu.select(r);
283
+ break;case o.ESCAPE:if(this.menu.element.is(":visible")){this._value(this.term);this.close(r);r.preventDefault()}break;default:s=true;this._searchTimeout(r);break}}},keypress:function(r){if(n){n=false;r.preventDefault()}else if(!s){var o=i.ui.keyCode;switch(r.keyCode){case o.PAGE_UP:this._move("previousPage",r);break;case o.PAGE_DOWN:this._move("nextPage",r);break;case o.UP:this._keyEvent("previous",r);break;case o.DOWN:this._keyEvent("next",r);break}}},input:function(r){if(z){z=false;r.preventDefault()}else this._searchTimeout(r)},
284
+ focus:function(){this.selectedItem=null;this.previous=this._value()},blur:function(r){if(this.cancelBlur)delete this.cancelBlur;else{clearTimeout(this.searching);this.close(r);this._change(r)}}});this._initSource();this.menu=i("<ul>").addClass("ui-autocomplete").appendTo(this.document.find(this.options.appendTo||"body")[0]).menu({input:i(),role:null}).zIndex(this.element.zIndex()+1).hide().data("menu");this._on(this.menu.element,{mousedown:function(r){r.preventDefault();this.cancelBlur=true;this._delay(function(){delete this.cancelBlur});
285
+ var o=this.menu.element[0];i(r.target).closest(".ui-menu-item").length||this._delay(function(){var x=this;this.document.one("mousedown",function(E){E.target!==x.element[0]&&E.target!==o&&!i.contains(o,E.target)&&x.close()})})},menufocus:function(r,o){if(this.isNewMenu){this.isNewMenu=false;if(r.originalEvent&&/^mouse/.test(r.originalEvent.type)){this.menu.blur();this.document.one("mousemove",function(){i(r.target).trigger(r.originalEvent)});return}}var x=o.item.data("ui-autocomplete-item")||o.item.data("item.autocomplete");
286
+ if(false!==this._trigger("focus",r,{item:x}))r.originalEvent&&/^key/.test(r.originalEvent.type)&&this._value(x.value);else this.liveRegion.text(x.value)},menuselect:function(r,o){var x=o.item.data("ui-autocomplete-item")||o.item.data("item.autocomplete"),E=this.previous;if(this.element[0]!==this.document[0].activeElement){this.element.focus();this.previous=E;this._delay(function(){this.previous=E;this.selectedItem=x})}false!==this._trigger("select",r,{item:x})&&this._value(x.value);this.term=this._value();
287
+ this.close(r);this.selectedItem=x}});this.liveRegion=i("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertAfter(this.element);i.fn.bgiframe&&this.menu.element.bgiframe();this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching);this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete");this.menu.element.remove();this.liveRegion.remove()},_setOption:function(n,
288
+ s){this._super(n,s);n==="source"&&this._initSource();if(n==="appendTo")this.menu.element.appendTo(this.document.find(s||"body")[0]);n==="disabled"&&s&&this.xhr&&this.xhr.abort()},_isMultiLine:function(){if(this.element.is("textarea"))return true;if(this.element.is("input"))return false;return this.element.prop("isContentEditable")},_initSource:function(){var n,s,z=this;if(i.isArray(this.options.source)){n=this.options.source;this.source=function(r,o){o(i.ui.autocomplete.filter(n,r.term))}}else if(typeof this.options.source===
289
+ "string"){s=this.options.source;this.source=function(r,o){z.xhr&&z.xhr.abort();z.xhr=i.ajax({url:s,data:r,dataType:"json",success:function(x){o(x)},error:function(){o([])}})}}else this.source=this.options.source},_searchTimeout:function(n){clearTimeout(this.searching);this.searching=this._delay(function(){if(this.term!==this._value()){this.selectedItem=null;this.search(null,n)}},this.options.delay)},search:function(n,s){n=n!=null?n:this._value();this.term=this._value();if(n.length<this.options.minLength)return this.close(s);
290
+ if(this._trigger("search",s)!==false)return this._search(n)},_search:function(n){this.pending++;this.element.addClass("ui-autocomplete-loading");this.cancelSearch=false;this.source({term:n},this._response())},_response:function(){var n=this,s=++v;return function(z){s===v&&n.__response(z);n.pending--;n.pending||n.element.removeClass("ui-autocomplete-loading")}},__response:function(n){if(n)n=this._normalize(n);this._trigger("response",null,{content:n});if(!this.options.disabled&&n&&n.length&&!this.cancelSearch){this._suggest(n);
291
+ this._trigger("open")}else this._close()},close:function(n){this.cancelSearch=true;this._close(n)},_close:function(n){if(this.menu.element.is(":visible")){this.menu.element.hide();this.menu.blur();this.isNewMenu=true;this._trigger("close",n)}},_change:function(n){this.previous!==this._value()&&this._trigger("change",n,{item:this.selectedItem})},_normalize:function(n){if(n.length&&n[0].label&&n[0].value)return n;return i.map(n,function(s){if(typeof s==="string")return{label:s,value:s};return i.extend({label:s.label||
292
+ s.value,value:s.value||s.label},s)})},_suggest:function(n){var s=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(s,n);this.menu.refresh();s.show();this._resizeMenu();s.position(i.extend({of:this.element},this.options.position));this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var n=this.menu.element;n.outerWidth(Math.max(n.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(n,s){var z=this;i.each(s,function(r,o){z._renderItemData(n,
293
+ o)})},_renderItemData:function(n,s){return this._renderItem(n,s).data("ui-autocomplete-item",s)},_renderItem:function(n,s){return i("<li>").append(i("<a>").text(s.label)).appendTo(n)},_move:function(n,s){if(this.menu.element.is(":visible"))if(this.menu.isFirstItem()&&/^previous/.test(n)||this.menu.isLastItem()&&/^next/.test(n)){this._value(this.term);this.menu.blur()}else this.menu[n](s);else this.search(null,s)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,
294
+ arguments)},_keyEvent:function(n,s){if(!this.isMultiLine||this.menu.element.is(":visible")){this._move(n,s);s.preventDefault()}}});i.extend(i.ui.autocomplete,{escapeRegex:function(n){return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(n,s){var z=RegExp(i.ui.autocomplete.escapeRegex(s),"i");return i.grep(n,function(r){return z.test(r.label||r.value||r)})}});i.widget("ui.autocomplete",i.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(n){return n+
295
+ (n>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(n){this._superApply(arguments);this.options.disabled||this.cancelSearch||this.liveRegion.text(n&&n.length?this.options.messages.results(n.length):this.options.messages.noResults)}})})(jQuery);(function(i){function v(o){if(typeof o!="string"&&typeof o!="number")throw new TypeError("Key name must be string or numeric");}function n(){try{s.oleloStorage=JSON.stringify(z)}catch(o){}}var s={},z={};try{if(window.localStorage)s=window.localStorage;if(s.oleloStorage)z=JSON.parse(s.oleloStorage)}catch(r){}i.storage={set:function(o,x){v(o);z[o]=x;n();return x},get:function(o,x){v(o);if(o in z)return z[o];return typeof x=="undefined"?null:x},remove:function(o){v(o);if(o in z){delete z[o];n();return true}return false}}})(jQuery);(function(i){function v(z,r){var o=s[z];return o&&o[r]}var n=null,s={};i.translations=function(z){for(var r in z)if(s[r])for(var o in z[r])s[r][o]=z[r][o];else s[r]=z[r]};i.t=function(z,r){if(!n){var o=i("html");n=o.attr("lang")||o.attr("xml:lang")||"en"}var x;o=v(n,z);if(!o&&(x=n.indexOf("-")))o=v(n.substr(0,x),z);if(o){for(var E in r)o=o.replace(RegExp("#{"+E+"}","g"),r[E]);return o}return"#"+z}})(jQuery);(function(i){function v(){var z=false;switch(this.type){case "checkbox":case "radio":z=this.checked!=this.defaultChecked;break;case "hidden":case "password":case "text":case "textarea":case "file":z=this.value!=this.defaultValue;break;case "select-one":case "select-multiple":for(var r=0;r<this.options.length&&!z;++r)z=this.options[r].selected!=this.options[r].defaultSelected;break}i("label[for="+this.id+"]").toggleClass("unsaved",z);i(this).toggleClass("unsaved",z)}function n(z){i("input.observe, textarea.observe, select.observe").each(function(){v.call(this)});
296
+ return i(".unsaved",z).size()!==0}i.translations({en:{confirmUnsaved:"The page was not saved. Continue?",pageUnsaved:"The page was not saved."},de:{confirmUnsaved:"Die Seite wurde nicht gespeichert. Fortsetzen?",pageUnsaved:"Die Seite wurde nicht gespeichert."},cs:{confirmUnsaved:"Str\u00e1nka nebyla ulo\u017eena. Pokra\u010dovat?",pageUnsaved:"Str\u00e1nka nebyla ulo\u017eena."},fr:{confirmUnsaved:"La page n'a pas \u00e9t\u00e9 enregistr\u00e9e. Voulez vous continuer ?",pageUnsaved:"La page n'a pas \u00e9t\u00e9 enregistr\u00e9e."}});
297
+ i.fn.confirmUnsaved=function(){return!n(this)||confirm(i.t("confirmUnsaved"))};i(document).on("change autocompletechange","input.observe, textarea.observe, select.observe",v);var s=false;i(document).on("submit","form",function(){s=true}).bind("reset",function(){i(".unsaved",this).removeClass("unsaved")});i(window).bind("beforeunload",function(){if(!s&&n(document))return i.t("pageUnsaved")})})(jQuery);(function(i){i.fn.historyTable=function(){function v(){var o=[];z.each(function(){this.checked&&o.push(this.name)});return o}i("thead tr",this).prepend('<th class="compare"><button>&#177;</button></th>');i("tbody tr",this).each(function(){var o=i(this).attr("id").substr(8);i(this).prepend('<td class="compare"><input type="checkbox" name="'+o+'"/></td>')});var n=i.storage.get("historyTable");if(n)for(var s=0;s<n.length;++s)i("input[name="+n[s]+"]").attr("checked","checked");var z=i("tbody input",this),
298
+ r=i("th button",this);r.click(function(){var o=v();i.storage.set("historyTable",o);location.href=location.pathname.replace("/history","/compare/"+o[o.length-1]+"..."+o[0])});i("td input",this).change(function(){v().length>1?r.removeAttr("disabled"):r.attr("disabled","disabled")}).change()}})(jQuery);(function(i){i.fn.pagination=function(v){function n(z){s.load(z+(z.indexOf("?")<0?"?":"&")+"no_layout=1",function(){s.trigger("pageLoaded",[z])})}var s=this;i(document).on("click",v,function(){i(this).addClass("loading");History.enabled?History.pushState(null,document.title,this.href):n(this.href);return false});i(window).bind("statechange",function(){var z=History.getState();n(z.url)})}})(jQuery);(function(i){i.fn.tabWidget=function(v){var n=v&&v.store,s=null;i("> a[href^='#']",this).click(function(){if(s.data("tab")==i(this).data("tab"))return false;if(!s.data("tab").confirmUnsaved())return false;s.data("tab").hide();s.parent().removeClass("selected");s=i(this);s.data("tab").show();s.parent().addClass("selected");n&&i.storage.set(n,s.data("tab").attr("id"));return false});if(n)if(v=i.storage.get(n))s=i("> a[href='#"+v+"']",this);if(!s||s.size()===0)s=i(this).filter(".selected").find("> a[href^='#']");
299
+ if(!s||s.size()===0)s=i(this).filter(":first").find("> a[href^='#']");i("> a[href^='#']",this).each(function(){var z=i(this.href.match(/(#.*)$/)[1]);z.hide();i(this).data("tab",z)});this.removeClass("selected");s.parent().addClass("selected");s.data("tab").show()}})(jQuery);(function(i){function v(n){n=Math.floor(((new Date).getTime()-new Date(n*1E3))/6E4);if(n<=0)return i.t("less_than_a_minute_ago");if(n==1)return i.t("a_minute_ago");if(n<45)return i.t("n_minutes_ago",{n:n});if(n<90)return i.t("one_hour_ago");if(n<1440)return i.t("n_hours_ago",{n:Math.round(n/60)});if(n<2880)return i.t("one_day_ago");if(n<43200)return i.t("n_days_ago",{n:Math.round(n/1440)});if(n<86400)return i.t("one_month_ago");if(n<525960)return i.t("n_months_ago",{n:Math.round(n/43200)});if(n<1051920)return i.t("one_year_ago");
300
+ return i.t("over_n_years_ago",{n:Math.round(n/525960)})}i.translations({en:{less_than_a_minute_ago:"less than a minute ago",a_minute_ago:"a minute ago",n_minutes_ago:"#{n} minutes ago",one_hour_ago:"1 hour ago",n_hours_ago:"#{n} hours ago",one_day_ago:"1 day ago",n_days_ago:"#{n} days ago",one_month_ago:"1 month ago",n_months_ago:"#{n} months ago",one_year_ago:"1 year ago",over_n_years_ago:"over #{n} years ago"},de:{less_than_a_minute_ago:"vor weniger als einer Minute",a_minute_ago:"vor einer Minute",
263
301
  n_minutes_ago:"vor #{n} Minuten",one_hour_ago:"vor einer Stunde",n_hours_ago:"vor #{n} Stunden",one_day_ago:"vor einem Tag",n_days_ago:"vor #{n} Tagen",one_month_ago:"vor einem Monat",n_months_ago:"vor #{n} Monaten",one_year_ago:"vor einem Jahr",over_n_years_ago:"vor \u00fcber #{n} Jahren"},cs:{less_than_a_minute_ago:"m\u00e9n\u011b ne\u017e 1 minuta",a_minute_ago:"p\u0159ed minutou",n_minutes_ago:"p\u0159ed #{n} minutami",one_hour_ago:"p\u0159ed hodinou",n_hours_ago:"p\u0159ed #{n} hodinami",one_day_ago:"jeden den",
264
- n_days_ago:"p\u0159ed #{n} dny",one_month_ago:"jeden m\u011bs\u00edc",n_months_ago:"p\u0159ed #{n} m\u011bs\u00edci",one_year_ago:"1 rok",over_n_years_ago:"p\u0159ed #{n} lety"}});i.fn.timeAgo=function(){this.each(function(){var l=i(this),r=l.data("epoch");r&&l.attr("title",l.text()).html(s(r))})}})(jQuery);(function(i){i.extend(i.fn,{underlineText:function(s){this.each(function(){var l=i(this),r,A;if(l.children().size()===0){r=l.text();A=r.toLowerCase().indexOf(s.toLowerCase());A>=0&&l.html(r.substr(0,A)+'<span style="text-decoration: underline">'+r.substr(A,s.length)+"</span>"+r.substr(A+s.length))}else l.children().underlineText(s)})},underlineAccessKey:function(){this.each(function(){var s=i(this).attr("accesskey");s&&i(this).underlineText(s)})}})})(jQuery);(function(i){i.widget("ui.combobox",{_create:function(){var s=this.element;s.autocomplete({delay:0,minLength:0,source:this.options.source}).click(function(){s.autocomplete("widget").is(":visible")?s.autocomplete("close"):s.autocomplete("search",this.value)});i('<button class="ui-combo-button"/>').attr("tabIndex",-1).insertAfter(s).click(function(l){l.preventDefault();if(s.autocomplete("widget").is(":visible"))s.autocomplete("close");else{s.autocomplete("search","");s.focus()}})}})})(jQuery);$(function(){function i(s){$("#upload-path",s).each(function(){var l=this,r=l.value,A=l.value;if(A.length===0||A.match(/\/$/))$("#upload-file").change(function(){if(l.value==r){l.value=A+this.value;r=l.value}})});$("label, #menu, .tabhead, .pagination, .button-bar",s).disableSelection();$("#history-table",s).historyTable();$(".date",s).timeAgo();$(".tabs",s).each(function(){$("> li",this).tabWidget()});$("*[accesskey]",s).underlineAccessKey()}$("html").removeClass("no-js").addClass("js");$(".pagination a").pagination("#content");
265
- $("#content").bind("pageLoaded",function(){i(this)});i();$("button[data-target]").live("click",function(){var s=$(this),l=$(this.form);s.addClass("loading");$.ajax({type:l.attr("method")||"get",url:l.attr("action")||window.location.href,data:l.serialize()+"&"+s.attr("name")+"="+s.attr("value")+"&no_layout=1",success:function(r){$("#"+s.data("target")).html(r);s.removeClass("loading");window.MathJax&&MathJax.Hub.Queue(["Typeset",MathJax.Hub,s.data("target")])}});return false})});
302
+ n_days_ago:"p\u0159ed #{n} dny",one_month_ago:"jeden m\u011bs\u00edc",n_months_ago:"p\u0159ed #{n} m\u011bs\u00edci",one_year_ago:"1 rok",over_n_years_ago:"p\u0159ed #{n} lety"},fr:{less_than_a_minute_ago:"il y a moins d'une minute",a_minute_ago:"il y a une minute",n_minutes_ago:"il y a #{n} minutes",one_hour_ago:"il y a 1 heure",n_hours_ago:"il y a #{n} heures",one_day_ago:"il y a 1 jour",n_days_ago:"il y a #{n} jours",one_month_ago:"il y a 1 mois",n_months_ago:"il y a #{n} mois",one_year_ago:"il y a 1 an",
303
+ over_n_years_ago:"il y a plus de #{n} ans"}});i.fn.timeAgo=function(){this.each(function(){var n=i(this),s=n.data("epoch");s&&n.attr("title",n.text()).html(v(s))})}})(jQuery);(function(i){i.extend(i.fn,{underlineText:function(v){this.each(function(){var n=i(this),s,z;if(n.children().size()===0){s=n.text();z=s.toLowerCase().indexOf(v.toLowerCase());z>=0&&n.html(s.substr(0,z)+'<span style="text-decoration: underline">'+s.substr(z,v.length)+"</span>"+s.substr(z+v.length))}else n.children().underlineText(v)})},underlineAccessKey:function(){this.each(function(){var v=i(this).attr("accesskey");v&&i(this).underlineText(v)})}})})(jQuery);(function(i){i.widget("ui.combobox",{_create:function(){var v=this.element;v.autocomplete({delay:0,minLength:0,source:this.options.source}).click(function(){v.autocomplete("widget").is(":visible")?v.autocomplete("close"):v.autocomplete("search",this.value)});i('<button class="ui-combo-button"/>').attr("tabIndex",-1).insertAfter(v).click(function(n){n.preventDefault();if(v.autocomplete("widget").is(":visible"))v.autocomplete("close");else{v.autocomplete("search","");v.focus()}})}})})(jQuery);$(function(){function i(){$("#upload-path",this).each(function(){var v=this,n=v.value,s=v.value;if(s.length===0||s.match(/\/$/))$("#upload-file").change(function(){if(v.value==n){v.value=s+this.value;n=v.value}})});$("label, #menu, .tabhead, .pagination, .button-bar",this).disableSelection();$("#history-table",this).historyTable();$(".date",this).timeAgo();$(".tabs",this).each(function(){$("> li",this).tabWidget()});$("*[accesskey]",this).underlineAccessKey()}$("html").removeClass("no-js").addClass("js");
304
+ $("#content").pagination(".pagination a");$("#content").bind("pageLoaded",i);i.apply($(document));$("button[data-target]").live("click",function(){var v=$(this),n=$(this.form);v.addClass("loading");$.ajax({type:n.attr("method")||"get",url:n.attr("action")||window.location.href,data:n.serialize()+"&"+v.attr("name")+"="+v.attr("value")+"&no_layout=1",success:function(s){$("#"+v.data("target")).html(s);v.removeClass("loading");window.MathJax&&MathJax.Hub.Queue(["Typeset",MathJax.Hub,v.data("target")])}});
305
+ return false})});