messenger-js 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/CHANGELOG +1 -0
  2. data/Gemfile +10 -0
  3. data/Gemfile.lock +100 -0
  4. data/LICENSE +21 -0
  5. data/Manifest +44 -0
  6. data/README.rdoc +0 -0
  7. data/Rakefile +38 -0
  8. data/assets/scripts/coffee/messenger/factory/builders/multi_signal_dismissed_builder.coffee +17 -0
  9. data/assets/scripts/coffee/messenger/factory/builders/signal_dismissed_builder.coffee +17 -0
  10. data/assets/scripts/coffee/messenger/factory/builders/time_dismissed_builder.coffee +16 -0
  11. data/assets/scripts/coffee/messenger/factory/builders/user_confirm_builder.coffee +16 -0
  12. data/assets/scripts/coffee/messenger/factory/builders/user_dialogue_builder.coffee +16 -0
  13. data/assets/scripts/coffee/messenger/factory/message_factory.coffee +30 -0
  14. data/assets/scripts/coffee/messenger/message_queue.coffee +46 -0
  15. data/assets/scripts/coffee/messenger/messages/message.coffee +26 -0
  16. data/assets/scripts/coffee/messenger/messages/multi_signal_dismissed_message.coffee +36 -0
  17. data/assets/scripts/coffee/messenger/messages/signal_dismissed_message.coffee +33 -0
  18. data/assets/scripts/coffee/messenger/messages/time_dismissed_message.coffee +25 -0
  19. data/assets/scripts/coffee/messenger/messages/user_confirm_message.coffee +27 -0
  20. data/assets/scripts/coffee/messenger/messages/user_dialogue_message.coffee +29 -0
  21. data/assets/scripts/coffee/messenger/system_message_manager.coffee +41 -0
  22. data/assets/scripts/coffee/patches.coffee +4 -0
  23. data/assets/scripts/js/lib/define_property.polyfill.js +131 -0
  24. data/assets/scripts/js/lib/jquery.js +5 -0
  25. data/bin/messenger.js +223 -0
  26. data/config/assets.rb +8 -0
  27. data/lib/messenger.rb +1 -0
  28. data/lib/messenger/symbols.rb +17 -0
  29. data/messenger-js.gemspec +36 -0
  30. data/spec/jasmine.yml +44 -0
  31. data/spec/runner.html +81 -0
  32. data/spec/support/classes.coffee +0 -0
  33. data/spec/support/helpers.coffee +22 -0
  34. data/spec/support/mocks.coffee +34 -0
  35. data/spec/support/objects.coffee +0 -0
  36. data/spec/support/requirements.coffee +1 -0
  37. data/spec/tests/factory/message_factory_spec.coffee +16 -0
  38. data/spec/tests/message_queue_spec.coffee +65 -0
  39. data/spec/tests/messages/message_spec.coffee +11 -0
  40. data/spec/tests/messages/multi_signal_dismissed_message_spec.coffee +33 -0
  41. data/spec/tests/messages/signal_dismissed_message_spec.coffee +25 -0
  42. data/spec/tests/messages/time_dismissed_message_spec.coffee +14 -0
  43. data/spec/tests/messages/user_confirm_message_spec.coffee +13 -0
  44. data/spec/tests/messages/user_dialogue_message_spec.coffee +21 -0
  45. data/spec/tests/system_messages_spec.coffee +38 -0
  46. metadata +134 -0
@@ -0,0 +1,33 @@
1
+ require "patches"
2
+ Message = require "messenger/messages/message"
3
+
4
+ #
5
+ # @author - Tim Shelburne <tim@musiconelive.com>
6
+ #
7
+ # a message dismissed from a signal
8
+ #
9
+ class SignalDismissedMessage extends Message
10
+
11
+ SignalDismissedMessage.property 'type',
12
+ get: -> "signal"
13
+
14
+ SignalDismissedMessage.property 'htmlId',
15
+ get: -> "text-message"
16
+
17
+ constructor: (@message, @signal, @minTimeToShow)->
18
+ super(@message)
19
+ @timerFinished = false
20
+ @signalFinished = false
21
+
22
+ init: ->
23
+ @signal.addOnce(@signalReceived)
24
+ setTimeout( =>
25
+ @timerFinished = true
26
+ @dismiss.dispatch(@) if @signalFinished
27
+ , @minTimeToShow)
28
+
29
+ signalReceived: =>
30
+ @signalFinished = true
31
+ @dismiss.dispatch(@) if @timerFinished
32
+
33
+ return SignalDismissedMessage
@@ -0,0 +1,25 @@
1
+ require "patches"
2
+ Message = require "messenger/messages/message"
3
+
4
+ #
5
+ # @author - Tim Shelburne <tim@musiconelive.com>
6
+ #
7
+ # a message dismissed from a time limit
8
+ #
9
+ class TimeDismissedMessage extends Message
10
+
11
+ TimeDismissedMessage.property 'type',
12
+ get: -> "time"
13
+
14
+ TimeDismissedMessage.property 'htmlId',
15
+ get: -> "text-message"
16
+
17
+ constructor: (@message, @timeToDisplay)->
18
+ super(@message)
19
+
20
+ init: ->
21
+ setTimeout( =>
22
+ @dismiss.dispatch(@)
23
+ , @timeToDisplay)
24
+
25
+ return TimeDismissedMessage
@@ -0,0 +1,27 @@
1
+ require "patches"
2
+ require "lib/jquery"
3
+ Message = require "messenger/messages/message"
4
+
5
+ #
6
+ # @author - Tim Shelburne <tim@musiconelive.com>
7
+ #
8
+ # a message dismissed from a user
9
+ #
10
+ class UserConfirmMessage extends Message
11
+
12
+ UserConfirmMessage.property 'type',
13
+ get: -> "confirm"
14
+
15
+ UserConfirmMessage.property 'htmlId',
16
+ get: -> "user-confirm-message"
17
+
18
+ constructor: (@message, @confirmLabel)->
19
+ super(@message)
20
+ $("button[data-name='confirm']", @markupObj).html(@confirmLabel)
21
+
22
+ init: ->
23
+ $("button[data-name='confirm']", "##{@uid}").click(@confirmClicked)
24
+
25
+ confirmClicked: => @dismiss.dispatch(@)
26
+
27
+ return UserConfirmMessage
@@ -0,0 +1,29 @@
1
+ require "patches"
2
+ require "lib/jquery"
3
+ UserConfirmMessage = require "messenger/messages/user_confirm_message"
4
+
5
+ #
6
+ # @author - Tim Shelburne <tim@musiconelive.com>
7
+ #
8
+ # a message dismissed from a user
9
+ #
10
+ class UserDialogueMessage extends UserConfirmMessage
11
+
12
+ UserDialogueMessage.property 'type',
13
+ get: -> "dialogue"
14
+
15
+ UserDialogueMessage.property 'htmlId',
16
+ get: -> "user-dialogue-message"
17
+
18
+ constructor: (message, confirmLabel, @denyLabel)->
19
+ super(message, confirmLabel)
20
+
21
+ init: ->
22
+ super.init()
23
+ $(@markupObj).find("button[data-name='deny']").html(@denyLabel).click(@denyClicked)
24
+
25
+ confirmClicked: => @dismiss.dispatch(@, true)
26
+
27
+ denyClicked: => @dismiss.dispatch(@, false)
28
+
29
+ return UserDialogueMessage
@@ -0,0 +1,41 @@
1
+ Signal = require "cronus/signal"
2
+ MessageQueue = require "messenger/message_queue"
3
+ MessageFactory = require "messenger/factory/message_factory"
4
+
5
+ #
6
+ # @author - Tim Shelburne <tim@musiconelive.com>
7
+ #
8
+ # a class to manage queueing and displaying system messages
9
+ #
10
+ class SystemMessageManager
11
+ constructor: (@messageQueue, @messageFactory)->
12
+ @displayView = new Signal()
13
+ @clearView = new Signal()
14
+
15
+ @messageQueue.display.add(@displayMessage)
16
+ @messageQueue.dismissed.add(@messageDismissed)
17
+ @messageQueue.finished.add(@queueFinished)
18
+
19
+ @default: (builders=[])->
20
+ new @(new MessageQueue(), MessageFactory.default(builders))
21
+
22
+ queueMessage: (type, message, options)->
23
+ @messageQueue.add(@messageFactory.build(type, message, options))
24
+
25
+ queueMessageAt: (type, message, options, index)->
26
+ @messageQueue.addAt(@messageFactory.build(type, message, options), index)
27
+
28
+ removeMessage: (message)->
29
+ @messageQueue.remove(message)
30
+
31
+ displayMessage: (message)=>
32
+ @displayView.dispatch(message.getHtml())
33
+ message.init()
34
+
35
+ messageDismissed: (message)=>
36
+ @clearView.dispatch()
37
+
38
+ queueFinished: =>
39
+ @clearView.dispatch()
40
+
41
+ return SystemMessageManager
@@ -0,0 +1,4 @@
1
+ require "lib/define_property"
2
+
3
+ Function::property = (prop, desc) ->
4
+ Object.defineProperty @prototype, prop, desc
@@ -0,0 +1,131 @@
1
+ /*
2
+ * Xccessors Standard: Cross-browser ECMAScript 5 accessors
3
+ * http://purl.eligrey.com/github/Xccessors
4
+ *
5
+ * 2010-06-21
6
+ *
7
+ * By Eli Grey, http://eligrey.com
8
+ *
9
+ * A shim that partially implements Object.defineProperty,
10
+ * Object.getOwnPropertyDescriptor, and Object.defineProperties in browsers that have
11
+ * legacy __(define|lookup)[GS]etter__ support.
12
+ *
13
+ * Licensed under the X11/MIT License
14
+ * See LICENSE.md
15
+ */
16
+
17
+ // Removed a few JSLint options as Notepad++ JSLint validator complaining and
18
+ // made comply with JSLint; also moved 'use strict' inside function
19
+ /*jslint white: true, undef: true, plusplus: true,
20
+ bitwise: true, regexp: true, newcap: true, maxlen: 90 */
21
+
22
+ /*! @source http://purl.eligrey.com/github/Xccessors/blob/master/xccessors-standard.js*/
23
+
24
+ (function () {
25
+ 'use strict';
26
+ var ObjectProto = Object.prototype,
27
+ defineGetter = ObjectProto.__defineGetter__,
28
+ defineSetter = ObjectProto.__defineSetter__,
29
+ lookupGetter = ObjectProto.__lookupGetter__,
30
+ lookupSetter = ObjectProto.__lookupSetter__,
31
+ hasOwnProp = ObjectProto.hasOwnProperty;
32
+
33
+ if (defineGetter && defineSetter && lookupGetter && lookupSetter) {
34
+
35
+ if (!Object.defineProperty) {
36
+ Object.defineProperty = function (obj, prop, descriptor) {
37
+ if (arguments.length < 3) { // all arguments required
38
+ throw new TypeError("Arguments not optional");
39
+ }
40
+
41
+ prop += ""; // convert prop to string
42
+
43
+ if (hasOwnProp.call(descriptor, "value")) {
44
+ if (!lookupGetter.call(obj, prop) && !lookupSetter.call(obj, prop)) {
45
+ // data property defined and no pre-existing accessors
46
+ obj[prop] = descriptor.value;
47
+ }
48
+
49
+ if ((hasOwnProp.call(descriptor, "get") ||
50
+ hasOwnProp.call(descriptor, "set")))
51
+ {
52
+ // descriptor has a value prop but accessor already exists
53
+ throw new TypeError("Cannot specify an accessor and a value");
54
+ }
55
+ }
56
+
57
+ // can't switch off these features in ECMAScript 3
58
+ // so throw a TypeError if any are false
59
+ if (!(descriptor.writable && descriptor.enumerable &&
60
+ descriptor.configurable))
61
+ {
62
+ throw new TypeError(
63
+ "This implementation of Object.defineProperty does not support" +
64
+ " false for configurable, enumerable, or writable."
65
+ );
66
+ }
67
+
68
+ if (descriptor.get) {
69
+ defineGetter.call(obj, prop, descriptor.get);
70
+ }
71
+ if (descriptor.set) {
72
+ defineSetter.call(obj, prop, descriptor.set);
73
+ }
74
+
75
+ return obj;
76
+ };
77
+ }
78
+
79
+ if (!Object.getOwnPropertyDescriptor) {
80
+ Object.getOwnPropertyDescriptor = function (obj, prop) {
81
+ if (arguments.length < 2) { // all arguments required
82
+ throw new TypeError("Arguments not optional.");
83
+ }
84
+
85
+ prop += ""; // convert prop to string
86
+
87
+ var descriptor = {
88
+ configurable: true,
89
+ enumerable : true,
90
+ writable : true
91
+ },
92
+ getter = lookupGetter.call(obj, prop),
93
+ setter = lookupSetter.call(obj, prop);
94
+
95
+ if (!hasOwnProp.call(obj, prop)) {
96
+ // property doesn't exist or is inherited
97
+ return descriptor;
98
+ }
99
+ if (!getter && !setter) { // not an accessor so return prop
100
+ descriptor.value = obj[prop];
101
+ return descriptor;
102
+ }
103
+
104
+ // there is an accessor, remove descriptor.writable;
105
+ // populate descriptor.get and descriptor.set (IE's behavior)
106
+ delete descriptor.writable;
107
+ descriptor.get = descriptor.set = undefined;
108
+
109
+ if (getter) {
110
+ descriptor.get = getter;
111
+ }
112
+ if (setter) {
113
+ descriptor.set = setter;
114
+ }
115
+
116
+ return descriptor;
117
+ };
118
+ }
119
+
120
+ if (!Object.defineProperties) {
121
+ Object.defineProperties = function (obj, props) {
122
+ var prop;
123
+ for (prop in props) {
124
+ if (hasOwnProp.call(props, prop)) {
125
+ Object.defineProperty(obj, prop, props[prop]);
126
+ }
127
+ }
128
+ };
129
+ }
130
+ }
131
+ }());
@@ -0,0 +1,5 @@
1
+ /*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license
2
+ //@ sourceMappingURL=jquery.min.map
3
+ */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return new b.fn.init(e,t,r)},x=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,w=/\S+/g,T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^[\],:{}\s]*$/,E=/(?:^|:|,)(?:\s*\[)+/g,S=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,A=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,j=/^-ms-/,D=/-([\da-z])/gi,L=function(e,t){return t.toUpperCase()},H=function(e){(o.addEventListener||"load"===e.type||"complete"===o.readyState)&&(q(),b.ready())},q=function(){o.addEventListener?(o.removeEventListener("DOMContentLoaded",H,!1),e.removeEventListener("load",H,!1)):(o.detachEvent("onreadystatechange",H),e.detachEvent("onload",H))};b.fn=b.prototype={jquery:p,constructor:b,init:function(e,n,r){var i,a;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof b?n[0]:n,b.merge(this,b.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:o,!0)),C.test(i[1])&&b.isPlainObject(n))for(i in n)b.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(a=o.getElementById(i[2]),a&&a.parentNode){if(a.id!==i[2])return r.find(e);this.length=1,this[0]=a}return this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):b.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),b.makeArray(e,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return h.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=b.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return b.each(this,e,t)},ready:function(e){return b.ready.promise().done(e),this},slice:function(){return this.pushStack(h.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(b.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:d,sort:[].sort,splice:[].splice},b.fn.init.prototype=b.fn,b.extend=b.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},u=2),"object"==typeof s||b.isFunction(s)||(s={}),l===u&&(s=this,--u);l>u;u++)if(null!=(o=arguments[u]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(b.isPlainObject(r)||(n=b.isArray(r)))?(n?(n=!1,a=e&&b.isArray(e)?e:[]):a=e&&b.isPlainObject(e)?e:{},s[i]=b.extend(c,a,r)):r!==t&&(s[i]=r));return s},b.extend({noConflict:function(t){return e.$===b&&(e.$=u),t&&e.jQuery===b&&(e.jQuery=s),b},isReady:!1,readyWait:1,holdReady:function(e){e?b.readyWait++:b.ready(!0)},ready:function(e){if(e===!0?!--b.readyWait:!b.isReady){if(!o.body)return setTimeout(b.ready);b.isReady=!0,e!==!0&&--b.readyWait>0||(n.resolveWith(o,[b]),b.fn.trigger&&b(o).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===b.type(e)},isArray:Array.isArray||function(e){return"array"===b.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[m.call(e)]||"object":typeof e},isPlainObject:function(e){if(!e||"object"!==b.type(e)||e.nodeType||b.isWindow(e))return!1;try{if(e.constructor&&!y.call(e,"constructor")&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||y.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||o;var r=C.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=b.buildFragment([e],t,i),i&&b(i).remove(),b.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=b.trim(n),n&&k.test(n.replace(S,"@").replace(A,"]").replace(E,"")))?Function("return "+n)():(b.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||b.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&b.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(j,"ms-").replace(D,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:v&&!v.call("\ufeff\u00a0")?function(e){return null==e?"":v.call(e)}:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?b.merge(n,"string"==typeof e?[e]:e):d.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(g)return g.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return f.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),b.isFunction(e)?(r=h.call(arguments,2),i=function(){return e.apply(n||this,r.concat(h.call(arguments)))},i.guid=e.guid=e.guid||b.guid++,i):t},access:function(e,n,r,i,o,a,s){var u=0,l=e.length,c=null==r;if("object"===b.type(r)){o=!0;for(u in r)b.access(e,n,u,r[u],!0,a,s)}else if(i!==t&&(o=!0,b.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(b(e),n)})),n))for(;l>u;u++)n(e[u],r,s?i:i.call(e[u],u,n(e[u],r)));return o?e:c?n.call(e):l?n(e[0],r):a},now:function(){return(new Date).getTime()}}),b.ready.promise=function(t){if(!n)if(n=b.Deferred(),"complete"===o.readyState)setTimeout(b.ready);else if(o.addEventListener)o.addEventListener("DOMContentLoaded",H,!1),e.addEventListener("load",H,!1);else{o.attachEvent("onreadystatechange",H),e.attachEvent("onload",H);var r=!1;try{r=null==e.frameElement&&o.documentElement}catch(i){}r&&r.doScroll&&function a(){if(!b.isReady){try{r.doScroll("left")}catch(e){return setTimeout(a,50)}q(),b.ready()}}()}return n.promise(t)},b.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=b.type(e);return b.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=b(o);var _={};function F(e){var t=_[e]={};return b.each(e.match(w)||[],function(e,n){t[n]=!0}),t}b.Callbacks=function(e){e="string"==typeof e?_[e]||F(e):b.extend({},e);var n,r,i,o,a,s,u=[],l=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=u.length,n=!0;u&&o>a;a++)if(u[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,u&&(l?l.length&&c(l.shift()):r?u=[]:p.disable())},p={add:function(){if(u){var t=u.length;(function i(t){b.each(t,function(t,n){var r=b.type(n);"function"===r?e.unique&&p.has(n)||u.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=u.length:r&&(s=t,c(r))}return this},remove:function(){return u&&b.each(arguments,function(e,t){var r;while((r=b.inArray(t,u,r))>-1)u.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?b.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],this},disable:function(){return u=l=r=t,this},disabled:function(){return!u},lock:function(){return l=t,r||p.disable(),this},locked:function(){return!l},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],!u||i&&!l||(n?l.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},b.extend({Deferred:function(e){var t=[["resolve","done",b.Callbacks("once memory"),"resolved"],["reject","fail",b.Callbacks("once memory"),"rejected"],["notify","progress",b.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return b.Deferred(function(n){b.each(t,function(t,o){var a=o[0],s=b.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&b.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?b.extend(e,r):r}},i={};return r.pipe=r.then,b.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=h.call(arguments),r=n.length,i=1!==r||e&&b.isFunction(e.promise)?r:0,o=1===i?e:b.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?h.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,u,l;if(r>1)for(s=Array(r),u=Array(r),l=Array(r);r>t;t++)n[t]&&b.isFunction(n[t].promise)?n[t].promise().done(a(t,l,n)).fail(o.reject).progress(a(t,u,s)):--i;return i||o.resolveWith(l,n),o.promise()}}),b.support=function(){var t,n,r,a,s,u,l,c,p,f,d=o.createElement("div");if(d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*"),r=d.getElementsByTagName("a")[0],!n||!r||!n.length)return{};s=o.createElement("select"),l=s.appendChild(o.createElement("option")),a=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={getSetAttribute:"t"!==d.className,leadingWhitespace:3===d.firstChild.nodeType,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:"/a"===r.getAttribute("href"),opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:!!a.value,optSelected:l.selected,enctype:!!o.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==o.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===o.compatMode,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!l.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}a=o.createElement("input"),a.setAttribute("value",""),t.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","t"),a.setAttribute("name","t"),u=o.createDocumentFragment(),u.appendChild(a),t.appendChecked=a.checked,t.checkClone=u.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;return d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip,b(function(){var n,r,a,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",u=o.getElementsByTagName("body")[0];u&&(n=o.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",u.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",a=d.getElementsByTagName("td"),a[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===a[0].offsetHeight,a[0].style.display="",a[1].style.display="none",t.reliableHiddenOffsets=p&&0===a[0].offsetHeight,d.innerHTML="",d.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%;",t.boxSizing=4===d.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==u.offsetTop,e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(o.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(u.style.zoom=1)),u.removeChild(n),n=d=a=r=null)}),n=s=u=l=r=a=null,t}();var O=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,B=/([A-Z])/g;function P(e,n,r,i){if(b.acceptData(e)){var o,a,s=b.expando,u="string"==typeof n,l=e.nodeType,p=l?b.cache:e,f=l?e[s]:e[s]&&s;if(f&&p[f]&&(i||p[f].data)||!u||r!==t)return f||(l?e[s]=f=c.pop()||b.guid++:f=s),p[f]||(p[f]={},l||(p[f].toJSON=b.noop)),("object"==typeof n||"function"==typeof n)&&(i?p[f]=b.extend(p[f],n):p[f].data=b.extend(p[f].data,n)),o=p[f],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[b.camelCase(n)]=r),u?(a=o[n],null==a&&(a=o[b.camelCase(n)])):a=o,a}}function R(e,t,n){if(b.acceptData(e)){var r,i,o,a=e.nodeType,s=a?b.cache:e,u=a?e[b.expando]:b.expando;if(s[u]){if(t&&(o=n?s[u]:s[u].data)){b.isArray(t)?t=t.concat(b.map(t,b.camelCase)):t in o?t=[t]:(t=b.camelCase(t),t=t in o?[t]:t.split(" "));for(r=0,i=t.length;i>r;r++)delete o[t[r]];if(!(n?$:b.isEmptyObject)(o))return}(n||(delete s[u].data,$(s[u])))&&(a?b.cleanData([e],!0):b.support.deleteExpando||s!=s.window?delete s[u]:s[u]=null)}}}b.extend({cache:{},expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?b.cache[e[b.expando]]:e[b.expando],!!e&&!$(e)},data:function(e,t,n){return P(e,t,n)},removeData:function(e,t){return R(e,t)},_data:function(e,t,n){return P(e,t,n,!0)},_removeData:function(e,t){return R(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&b.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),b.fn.extend({data:function(e,n){var r,i,o=this[0],a=0,s=null;if(e===t){if(this.length&&(s=b.data(o),1===o.nodeType&&!b._data(o,"parsedAttrs"))){for(r=o.attributes;r.length>a;a++)i=r[a].name,i.indexOf("data-")||(i=b.camelCase(i.slice(5)),W(o,i,s[i]));b._data(o,"parsedAttrs",!0)}return s}return"object"==typeof e?this.each(function(){b.data(this,e)}):b.access(this,function(n){return n===t?o?W(o,e,b.data(o,e)):null:(this.each(function(){b.data(this,e,n)}),t)},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){b.removeData(this,e)})}});function W(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(B,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:O.test(r)?b.parseJSON(r):r}catch(o){}b.data(e,n,r)}else r=t}return r}function $(e){var t;for(t in e)if(("data"!==t||!b.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}b.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=b._data(e,n),r&&(!i||b.isArray(r)?i=b._data(e,n,b.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=b.queue(e,t),r=n.length,i=n.shift(),o=b._queueHooks(e,t),a=function(){b.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),o.cur=i,i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return b._data(e,n)||b._data(e,n,{empty:b.Callbacks("once memory").add(function(){b._removeData(e,t+"queue"),b._removeData(e,n)})})}}),b.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?b.queue(this[0],e):n===t?this:this.each(function(){var t=b.queue(this,e,n);b._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&b.dequeue(this,e)})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},delay:function(e,t){return e=b.fx?b.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=b.Deferred(),a=this,s=this.length,u=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=b._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(u));return u(),o.promise(n)}});var I,z,X=/[\t\r\n]/g,U=/\r/g,V=/^(?:input|select|textarea|button|object)$/i,Y=/^(?:a|area)$/i,J=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,G=/^(?:checked|selected)$/i,Q=b.support.getSetAttribute,K=b.support.input;b.fn.extend({attr:function(e,t){return b.access(this,b.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})},prop:function(e,t){return b.access(this,b.prop,e,t,arguments.length>1)},removeProp:function(e){return e=b.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,u="string"==typeof e&&e;if(b.isFunction(e))return this.each(function(t){b(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(X," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=b.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,u=0===arguments.length||"string"==typeof e&&e;if(b.isFunction(e))return this.each(function(t){b(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(X," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?b.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return b.isFunction(e)?this.each(function(n){b(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var o,a=0,s=b(this),u=t,l=e.match(w)||[];while(o=l[a++])u=r?u:!s.hasClass(o),s[u?"addClass":"removeClass"](o)}else(n===i||"boolean"===n)&&(this.className&&b._data(this,"__className__",this.className),this.className=this.className||e===!1?"":b._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(X," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=b.isFunction(e),this.each(function(n){var o,a=b(this);1===this.nodeType&&(o=i?e.call(this,n,a.val()):e,null==o?o="":"number"==typeof o?o+="":b.isArray(o)&&(o=b.map(o,function(e){return null==e?"":e+""})),r=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=b.valHooks[o.type]||b.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(U,""):null==n?"":n)}}}),b.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,u=0>i?s:o?i:0;for(;s>u;u++)if(n=r[u],!(!n.selected&&u!==i||(b.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&b.nodeName(n.parentNode,"optgroup"))){if(t=b(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n=b.makeArray(t);return b(e).find("option").each(function(){this.selected=b.inArray(b(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attr:function(e,n,r){var o,a,s,u=e.nodeType;if(e&&3!==u&&8!==u&&2!==u)return typeof e.getAttribute===i?b.prop(e,n,r):(a=1!==u||!b.isXMLDoc(e),a&&(n=n.toLowerCase(),o=b.attrHooks[n]||(J.test(n)?z:I)),r===t?o&&a&&"get"in o&&null!==(s=o.get(e,n))?s:(typeof e.getAttribute!==i&&(s=e.getAttribute(n)),null==s?t:s):null!==r?o&&a&&"set"in o&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r):(b.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(w);if(o&&1===e.nodeType)while(n=o[i++])r=b.propFix[n]||n,J.test(n)?!Q&&G.test(n)?e[b.camelCase("default-"+n)]=e[r]=!1:e[r]=!1:b.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!b.support.radioValue&&"radio"===t&&b.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},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(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!b.isXMLDoc(e),a&&(n=b.propFix[n]||n,o=b.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):V.test(e.nodeName)||Y.test(e.nodeName)&&e.href?0:t}}}}),z={get:function(e,n){var r=b.prop(e,n),i="boolean"==typeof r&&e.getAttribute(n),o="boolean"==typeof r?K&&Q?null!=i:G.test(n)?e[b.camelCase("default-"+n)]:!!i:e.getAttributeNode(n);return o&&o.value!==!1?n.toLowerCase():t},set:function(e,t,n){return t===!1?b.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&b.propFix[n]||n,n):e[b.camelCase("default-"+n)]=e[n]=!0,n}},K&&Q||(b.attrHooks.value={get:function(e,n){var r=e.getAttributeNode(n);return b.nodeName(e,"input")?e.defaultValue:r&&r.specified?r.value:t},set:function(e,n,r){return b.nodeName(e,"input")?(e.defaultValue=n,t):I&&I.set(e,n,r)}}),Q||(I=b.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&("id"===n||"name"===n||"coords"===n?""!==r.value:r.specified)?r.value:t},set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},b.attrHooks.contenteditable={get:I.get,set:function(e,t,n){I.set(e,""===t?!1:t,n)}},b.each(["width","height"],function(e,n){b.attrHooks[n]=b.extend(b.attrHooks[n],{set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}})})),b.support.hrefNormalized||(b.each(["href","src","width","height"],function(e,n){b.attrHooks[n]=b.extend(b.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return null==r?t:r}})}),b.each(["href","src"],function(e,t){b.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}})),b.support.style||(b.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),b.support.optSelected||(b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),b.support.enctype||(b.propFix.enctype="encoding"),b.support.checkOn||b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(e,n){return b.isArray(n)?e.checked=b.inArray(b(e).val(),n)>=0:t}})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}b.event={global:{},add:function(e,n,r,o,a){var s,u,l,c,p,f,d,h,g,m,y,v=b._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=b.guid++),(u=v.events)||(u=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof b===i||e&&b.event.triggered===e.type?t:b.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(w)||[""],l=n.length;while(l--)s=rt.exec(n[l])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),p=b.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=b.event.special[g]||{},d=b.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&b.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=u[g])||(h=u[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),b.event.global[g]=!0;e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,p,f,d,h,g,m=b.hasData(e)&&b._data(e);if(m&&(c=m.events)){t=(t||"").match(w)||[""],l=t.length;while(l--)if(s=rt.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=b.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));u&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||b.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)b.event.remove(e,d+t[l],n,r,!0);b.isEmptyObject(c)&&(delete m.handle,b._removeData(e,"events"))}},trigger:function(n,r,i,a){var s,u,l,c,p,f,d,h=[i||o],g=y.call(n,"type")?n.type:n,m=y.call(n,"namespace")?n.namespace.split("."):[];if(l=f=i=i||o,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+b.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),u=0>g.indexOf(":")&&"on"+g,n=n[b.expando]?n:new b.Event(g,"object"==typeof n&&n),n.isTrigger=!0,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:b.makeArray(r,[n]),p=b.event.special[g]||{},a||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!a&&!p.noBubble&&!b.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(l=l.parentNode);l;l=l.parentNode)h.push(l),f=l;f===(i.ownerDocument||o)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((l=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(b._data(l,"events")||{})[n.type]&&b._data(l,"handle"),s&&s.apply(l,r),s=u&&l[u],s&&b.acceptData(l)&&s.apply&&s.apply(l,r)===!1&&n.preventDefault();if(n.type=g,!(a||n.isDefaultPrevented()||p._default&&p._default.apply(i.ownerDocument,r)!==!1||"click"===g&&b.nodeName(i,"a")||!b.acceptData(i)||!u||!i[g]||b.isWindow(i))){f=i[u],f&&(i[u]=null),b.event.triggered=g;try{i[g]()}catch(v){}b.event.triggered=t,f&&(i[u]=f)}return n.result}},dispatch:function(e){e=b.event.fix(e);var n,r,i,o,a,s=[],u=h.call(arguments),l=(b._data(this,"events")||{})[e.type]||[],c=b.event.special[e.type]||{};if(u[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=b.event.handlers.call(this,e,l),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((b.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,u),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],u=n.delegateCount,l=e.target;if(u&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==e.type)){for(o=[],a=0;u>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?b(r,this).index(l)>=0:b.find(r,this,null,[l]).length),o[r]&&o.push(i);o.length&&s.push({elem:l,handlers:o})}return n.length>u&&s.push({elem:this,handlers:n.slice(u)}),s},fix:function(e){if(e[b.expando])return e;var t,n,r,i=e.type,a=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new b.Event(a),t=r.length;while(t--)n=r[t],e[n]=a[n];return e.target||(e.target=a.srcElement||o),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,a):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,a,s=n.button,u=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||o,a=i.documentElement,r=i.body,e.pageX=n.clientX+(a&&a.scrollLeft||r&&r.scrollLeft||0)-(a&&a.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(a&&a.scrollTop||r&&r.scrollTop||0)-(a&&a.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&u&&(e.relatedTarget=u===e.target?n.toElement:u),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},click:{trigger:function(){return b.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t}},focus:{trigger:function(){if(this!==o.activeElement&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===o.activeElement&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=b.extend(new b.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?b.event.trigger(i,null,t):b.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},b.removeEvent=o.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},b.Event=function(e,n){return this instanceof b.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&b.extend(this,n),this.timeStamp=e&&e.timeStamp||b.now(),this[b.expando]=!0,t):new b.Event(e,n)},b.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){b.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;
4
+ return(!i||i!==r&&!b.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),b.support.submitBubbles||(b.event.special.submit={setup:function(){return b.nodeName(this,"form")?!1:(b.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=b.nodeName(n,"input")||b.nodeName(n,"button")?n.form:t;r&&!b._data(r,"submitBubbles")&&(b.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),b._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&b.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return b.nodeName(this,"form")?!1:(b.event.remove(this,"._submit"),t)}}),b.support.changeBubbles||(b.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(b.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),b.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),b.event.simulate("change",this,e,!0)})),!1):(b.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!b._data(t,"changeBubbles")&&(b.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||b.event.simulate("change",this.parentNode,e,!0)}),b._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return b.event.remove(this,"._change"),!Z.test(this.nodeName)}}),b.support.focusinBubbles||b.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){b.event.simulate(t,e.target,b.event.fix(e),!0)};b.event.special[t]={setup:function(){0===n++&&o.addEventListener(e,r,!0)},teardown:function(){0===--n&&o.removeEventListener(e,r,!0)}}}),b.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return b().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=b.guid++)),this.each(function(){b.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,b(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){b.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){b.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?b.event.trigger(e,n,r,!0):t}}),function(e,t){var n,r,i,o,a,s,u,l,c,p,f,d,h,g,m,y,v,x="sizzle"+-new Date,w=e.document,T={},N=0,C=0,k=it(),E=it(),S=it(),A=typeof t,j=1<<31,D=[],L=D.pop,H=D.push,q=D.slice,M=D.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},_="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=F.replace("w","w#"),B="([*^$|!~]?=)",P="\\["+_+"*("+F+")"+_+"*(?:"+B+_+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+O+")|)|)"+_+"*\\]",R=":("+F+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+P.replace(3,8)+")*)|.*)\\)|)",W=RegExp("^"+_+"+|((?:^|[^\\\\])(?:\\\\.)*)"+_+"+$","g"),$=RegExp("^"+_+"*,"+_+"*"),I=RegExp("^"+_+"*([\\x20\\t\\r\\n\\f>+~])"+_+"*"),z=RegExp(R),X=RegExp("^"+O+"$"),U={ID:RegExp("^#("+F+")"),CLASS:RegExp("^\\.("+F+")"),NAME:RegExp("^\\[name=['\"]?("+F+")['\"]?\\]"),TAG:RegExp("^("+F.replace("w","w*")+")"),ATTR:RegExp("^"+P),PSEUDO:RegExp("^"+R),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+_+"*(even|odd|(([+-]|)(\\d*)n|)"+_+"*(?:([+-]|)"+_+"*(\\d+)|))"+_+"*\\)|)","i"),needsContext:RegExp("^"+_+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+_+"*((?:-\\d)?\\d*)"+_+"*\\)|)(?=[^-]|$)","i")},V=/[\x20\t\r\n\f]*[+~]/,Y=/^[^{]+\{\s*\[native code/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,K=/'|\\/g,Z=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,et=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,tt=function(e,t){var n="0x"+t-65536;return n!==n?t:0>n?String.fromCharCode(n+65536):String.fromCharCode(55296|n>>10,56320|1023&n)};try{q.call(w.documentElement.childNodes,0)[0].nodeType}catch(nt){q=function(e){var t,n=[];while(t=this[e++])n.push(t);return n}}function rt(e){return Y.test(e+"")}function it(){var e,t=[];return e=function(n,r){return t.push(n+=" ")>i.cacheLength&&delete e[t.shift()],e[n]=r}}function ot(e){return e[x]=!0,e}function at(e){var t=p.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}}function st(e,t,n,r){var i,o,a,s,u,l,f,g,m,v;if((t?t.ownerDocument||t:w)!==p&&c(t),t=t||p,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(!d&&!r){if(i=J.exec(e))if(a=i[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&y(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return H.apply(n,q.call(t.getElementsByTagName(e),0)),n;if((a=i[3])&&T.getByClassName&&t.getElementsByClassName)return H.apply(n,q.call(t.getElementsByClassName(a),0)),n}if(T.qsa&&!h.test(e)){if(f=!0,g=x,m=t,v=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){l=ft(e),(f=t.getAttribute("id"))?g=f.replace(K,"\\$&"):t.setAttribute("id",g),g="[id='"+g+"'] ",u=l.length;while(u--)l[u]=g+dt(l[u]);m=V.test(e)&&t.parentNode||t,v=l.join(",")}if(v)try{return H.apply(n,q.call(m.querySelectorAll(v),0)),n}catch(b){}finally{f||t.removeAttribute("id")}}}return wt(e.replace(W,"$1"),t,n,r)}a=st.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},c=st.setDocument=function(e){var n=e?e.ownerDocument||e:w;return n!==p&&9===n.nodeType&&n.documentElement?(p=n,f=n.documentElement,d=a(n),T.tagNameNoComments=at(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),T.attributes=at(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),T.getByClassName=at(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",e.getElementsByClassName&&e.getElementsByClassName("e").length?(e.lastChild.className="e",2===e.getElementsByClassName("e").length):!1}),T.getByName=at(function(e){e.id=x+0,e.innerHTML="<a name='"+x+"'></a><div name='"+x+"'></div>",f.insertBefore(e,f.firstChild);var t=n.getElementsByName&&n.getElementsByName(x).length===2+n.getElementsByName(x+0).length;return T.getIdNotName=!n.getElementById(x),f.removeChild(e),t}),i.attrHandle=at(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==A&&"#"===e.firstChild.getAttribute("href")})?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},T.getIdNotName?(i.find.ID=function(e,t){if(typeof t.getElementById!==A&&!d){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(et,tt);return function(e){return e.getAttribute("id")===t}}):(i.find.ID=function(e,n){if(typeof n.getElementById!==A&&!d){var r=n.getElementById(e);return r?r.id===e||typeof r.getAttributeNode!==A&&r.getAttributeNode("id").value===e?[r]:t:[]}},i.filter.ID=function(e){var t=e.replace(et,tt);return function(e){var n=typeof e.getAttributeNode!==A&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=T.tagNameNoComments?function(e,n){return typeof n.getElementsByTagName!==A?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},i.find.NAME=T.getByName&&function(e,n){return typeof n.getElementsByName!==A?n.getElementsByName(name):t},i.find.CLASS=T.getByClassName&&function(e,n){return typeof n.getElementsByClassName===A||d?t:n.getElementsByClassName(e)},g=[],h=[":focus"],(T.qsa=rt(n.querySelectorAll))&&(at(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+_+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||h.push(":checked")}),at(function(e){e.innerHTML="<input type='hidden' i=''/>",e.querySelectorAll("[i^='']").length&&h.push("[*^$]="+_+"*(?:\"\"|'')"),e.querySelectorAll(":enabled").length||h.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),h.push(",.*:")})),(T.matchesSelector=rt(m=f.matchesSelector||f.mozMatchesSelector||f.webkitMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&at(function(e){T.disconnectedMatch=m.call(e,"div"),m.call(e,"[s!='']:x"),g.push("!=",R)}),h=RegExp(h.join("|")),g=RegExp(g.join("|")),y=rt(f.contains)||f.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},v=f.compareDocumentPosition?function(e,t){var r;return e===t?(u=!0,0):(r=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t))?1&r||e.parentNode&&11===e.parentNode.nodeType?e===n||y(w,e)?-1:t===n||y(w,t)?1:0:4&r?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return u=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:0;if(o===a)return ut(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?ut(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},u=!1,[0,0].sort(v),T.detectDuplicates=u,p):p},st.matches=function(e,t){return st(e,null,null,t)},st.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&c(e),t=t.replace(Z,"='$1']"),!(!T.matchesSelector||d||g&&g.test(t)||h.test(t)))try{var n=m.call(e,t);if(n||T.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(r){}return st(t,p,null,[e]).length>0},st.contains=function(e,t){return(e.ownerDocument||e)!==p&&c(e),y(e,t)},st.attr=function(e,t){var n;return(e.ownerDocument||e)!==p&&c(e),d||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):d||T.attributes?e.getAttribute(t):((n=e.getAttributeNode(t))||e.getAttribute(t))&&e[t]===!0?t:n&&n.specified?n.value:null},st.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},st.uniqueSort=function(e){var t,n=[],r=1,i=0;if(u=!T.detectDuplicates,e.sort(v),u){for(;t=e[r];r++)t===e[r-1]&&(i=n.push(r));while(i--)e.splice(n[i],1)}return e};function ut(e,t){var n=t&&e,r=n&&(~t.sourceIndex||j)-(~e.sourceIndex||j);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function lt(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function ct(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function pt(e){return ot(function(t){return t=+t,ot(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}o=st.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=o(t);return n},i=st.selectors={cacheLength:50,createPseudo:ot,match:U,find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(et,tt),e[3]=(e[4]||e[5]||"").replace(et,tt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||st.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&st.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return U.CHILD.test(e[0])?null:(e[4]?e[2]=e[4]:n&&z.test(n)&&(t=ft(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(et,tt).toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[e+" "];return t||(t=RegExp("(^|"+_+")"+e+"("+_+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==A&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=st.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!u&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[x]||(m[x]={}),l=c[e]||[],d=l[0]===N&&l[1],f=l[0]===N&&l[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[N,d,f];break}}else if(v&&(l=(t[x]||(t[x]={}))[e])&&l[0]===N)f=l[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[x]||(p[x]={}))[e]=[N,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||st.error("unsupported pseudo: "+e);return r[x]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ot(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=M.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:ot(function(e){var t=[],n=[],r=s(e.replace(W,"$1"));return r[x]?ot(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:ot(function(e){return function(t){return st(e,t).length>0}}),contains:ot(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:ot(function(e){return X.test(e||"")||st.error("unsupported lang: "+e),e=e.replace(et,tt).toLowerCase(),function(t){var n;do if(n=d?t.getAttribute("xml:lang")||t.getAttribute("lang"):t.lang)return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:pt(function(){return[0]}),last:pt(function(e,t){return[t-1]}),eq:pt(function(e,t,n){return[0>n?n+t:n]}),even:pt(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:pt(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:pt(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:pt(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}};for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[n]=lt(n);for(n in{submit:!0,reset:!0})i.pseudos[n]=ct(n);function ft(e,t){var n,r,o,a,s,u,l,c=E[e+" "];if(c)return t?0:c.slice(0);s=e,u=[],l=i.preFilter;while(s){(!n||(r=$.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),u.push(o=[])),n=!1,(r=I.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(W," ")}),s=s.slice(n.length));for(a in i.filter)!(r=U[a].exec(s))||l[a]&&!(r=l[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?st.error(e):E(e,u).slice(0)}function dt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function ht(e,t,n){var i=t.dir,o=n&&"parentNode"===i,a=C++;return t.first?function(t,n,r){while(t=t[i])if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,s){var u,l,c,p=N+" "+a;if(s){while(t=t[i])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[i])if(1===t.nodeType||o)if(c=t[x]||(t[x]={}),(l=c[i])&&l[0]===p){if((u=l[1])===!0||u===r)return u===!0}else if(l=c[i]=[p],l[1]=e(t,n,s)||r,l[1]===!0)return!0}}function gt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function mt(e,t,n,r,i){var o,a=[],s=0,u=e.length,l=null!=t;for(;u>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),l&&t.push(s));return a}function yt(e,t,n,r,i,o){return r&&!r[x]&&(r=yt(r)),i&&!i[x]&&(i=yt(i,o)),ot(function(o,a,s,u){var l,c,p,f=[],d=[],h=a.length,g=o||xt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:mt(g,f,e,s,u),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,u),r){l=mt(y,d),r(l,[],s,u),c=l.length;while(c--)(p=l[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){l=[],c=y.length;while(c--)(p=y[c])&&l.push(m[c]=p);i(null,y=[],l,u)}c=y.length;while(c--)(p=y[c])&&(l=i?M.call(o,p):f[c])>-1&&(o[l]=!(a[l]=p))}}else y=mt(y===a?y.splice(h,y.length):y),i?i(null,a,y,u):H.apply(a,y)})}function vt(e){var t,n,r,o=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],u=a?1:0,c=ht(function(e){return e===t},s,!0),p=ht(function(e){return M.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;o>u;u++)if(n=i.relative[e[u].type])f=[ht(gt(f),n)];else{if(n=i.filter[e[u].type].apply(null,e[u].matches),n[x]){for(r=++u;o>r;r++)if(i.relative[e[r].type])break;return yt(u>1&&gt(f),u>1&&dt(e.slice(0,u-1)).replace(W,"$1"),n,r>u&&vt(e.slice(u,r)),o>r&&vt(e=e.slice(r)),o>r&&dt(e))}f.push(n)}return gt(f)}function bt(e,t){var n=0,o=t.length>0,a=e.length>0,s=function(s,u,c,f,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,T=l,C=s||a&&i.find.TAG("*",d&&u.parentNode||u),k=N+=null==T?1:Math.random()||.1;for(w&&(l=u!==p&&u,r=n);null!=(h=C[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,u,c)){f.push(h);break}w&&(N=k,r=++n)}o&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,o&&b!==v){g=0;while(m=t[g++])m(x,y,u,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=L.call(f));y=mt(y)}H.apply(f,y),w&&!s&&y.length>0&&v+t.length>1&&st.uniqueSort(f)}return w&&(N=k,l=T),x};return o?ot(s):s}s=st.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=ft(e)),n=t.length;while(n--)o=vt(t[n]),o[x]?r.push(o):i.push(o);o=S(e,bt(i,r))}return o};function xt(e,t,n){var r=0,i=t.length;for(;i>r;r++)st(e,t[r],n);return n}function wt(e,t,n,r){var o,a,u,l,c,p=ft(e);if(!r&&1===p.length){if(a=p[0]=p[0].slice(0),a.length>2&&"ID"===(u=a[0]).type&&9===t.nodeType&&!d&&i.relative[a[1].type]){if(t=i.find.ID(u.matches[0].replace(et,tt),t)[0],!t)return n;e=e.slice(a.shift().value.length)}o=U.needsContext.test(e)?0:a.length;while(o--){if(u=a[o],i.relative[l=u.type])break;if((c=i.find[l])&&(r=c(u.matches[0].replace(et,tt),V.test(a[0].type)&&t.parentNode||t))){if(a.splice(o,1),e=r.length&&dt(a),!e)return H.apply(n,q.call(r,0)),n;break}}}return s(e,p)(r,t,d,n,V.test(e)),n}i.pseudos.nth=i.pseudos.eq;function Tt(){}i.filters=Tt.prototype=i.pseudos,i.setFilters=new Tt,c(),st.attr=b.attr,b.find=st,b.expr=st.selectors,b.expr[":"]=b.expr.pseudos,b.unique=st.uniqueSort,b.text=st.getText,b.isXMLDoc=st.isXML,b.contains=st.contains}(e);var at=/Until$/,st=/^(?:parents|prev(?:Until|All))/,ut=/^.[^:#\[\.,]*$/,lt=b.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};b.fn.extend({find:function(e){var t,n,r,i=this.length;if("string"!=typeof e)return r=this,this.pushStack(b(e).filter(function(){for(t=0;i>t;t++)if(b.contains(r[t],this))return!0}));for(n=[],t=0;i>t;t++)b.find(e,this[t],n);return n=this.pushStack(i>1?b.unique(n):n),n.selector=(this.selector?this.selector+" ":"")+e,n},has:function(e){var t,n=b(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(b.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e,!1))},filter:function(e){return this.pushStack(ft(this,e,!0))},is:function(e){return!!e&&("string"==typeof e?lt.test(e)?b(e,this.context).index(this[0])>=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,o=[],a=lt.test(e)||"string"!=typeof e?b(e,t||this.context):0;for(;i>r;r++){n=this[r];while(n&&n.ownerDocument&&n!==t&&11!==n.nodeType){if(a?a.index(n)>-1:b.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}}return this.pushStack(o.length>1?b.unique(o):o)},index:function(e){return e?"string"==typeof e?b.inArray(this[0],b(e)):b.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?b(e,t):b.makeArray(e&&e.nodeType?[e]:e),r=b.merge(this.get(),n);return this.pushStack(b.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),b.fn.andSelf=b.fn.addBack;function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}b.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(e,t,n){return b.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(e,t,n){return b.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return b.dir(e,"previousSibling",n)},siblings:function(e){return b.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.merge([],e.childNodes)}},function(e,t){b.fn[e]=function(n,r){var i=b.map(this,t,n);return at.test(e)||(r=n),r&&"string"==typeof r&&(i=b.filter(r,i)),i=this.length>1&&!ct[e]?b.unique(i):i,this.length>1&&st.test(e)&&(i=i.reverse()),this.pushStack(i)}}),b.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?b.find.matchesSelector(t[0],e)?[t[0]]:[]:b.find.matches(e,t)},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!b(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(t=t||0,b.isFunction(t))return b.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return b.grep(e,function(e){return e===t===n});if("string"==typeof t){var r=b.grep(e,function(e){return 1===e.nodeType});if(ut.test(t))return b.filter(t,r,!n);t=b.filter(t,r)}return b.grep(e,function(e){return b.inArray(e,t)>=0===n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/<tbody/i,wt=/<|&#?\w+;/,Tt=/<(?:script|style|link)/i,Nt=/^(?:checkbox|radio)$/i,Ct=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,At={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:b.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},jt=dt(o),Dt=jt.appendChild(o.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,b.fn.extend({text:function(e){return b.access(this,function(e){return e===t?b.text(this):this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(b.isFunction(e))return this.each(function(t){b(this).wrapAll(e.call(this,t))});if(this[0]){var t=b(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return b.isFunction(e)?this.each(function(t){b(this).wrapInner(e.call(this,t))}):this.each(function(){var t=b(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=b.isFunction(e);return this.each(function(n){b(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,"body")||b(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=0;for(;null!=(n=this[r]);r++)(!e||b.filter(e,[n]).length>0)&&(t||1!==n.nodeType||b.cleanData(Ot(n)),n.parentNode&&(t&&b.contains(n.ownerDocument,n)&&Mt(Ot(n,"script")),n.parentNode.removeChild(n)));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&b.cleanData(Ot(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&b.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return b.clone(this,e,t)})},html:function(e){return b.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!b.support.htmlSerialize&&mt.test(e)||!b.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(b.cleanData(Ot(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){var t=b.isFunction(e);return t||"string"==typeof e||(e=b(e).not(this).detach()),this.domManip([e],!0,function(e){var t=this.nextSibling,n=this.parentNode;n&&(b(this).remove(),n.insertBefore(e,t))})},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=f.apply([],e);var i,o,a,s,u,l,c=0,p=this.length,d=this,h=p-1,g=e[0],m=b.isFunction(g);if(m||!(1>=p||"string"!=typeof g||b.support.checkClone)&&Ct.test(g))return this.each(function(i){var o=d.eq(i);m&&(e[0]=g.call(this,i,n?o.html():t)),o.domManip(e,n,r)});if(p&&(l=b.buildFragment(e,this[0].ownerDocument,!1,this),i=l.firstChild,1===l.childNodes.length&&(l=i),i)){for(n=n&&b.nodeName(i,"tr"),s=b.map(Ot(l,"script"),Ht),a=s.length;p>c;c++)o=l,c!==h&&(o=b.clone(o,!0,!0),a&&b.merge(s,Ot(o,"script"))),r.call(n&&b.nodeName(this[c],"table")?Lt(this[c],"tbody"):this[c],o,c);if(a)for(u=s[s.length-1].ownerDocument,b.map(s,qt),c=0;a>c;c++)o=s[c],kt.test(o.type||"")&&!b._data(o,"globalEval")&&b.contains(u,o)&&(o.src?b.ajax({url:o.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):b.globalEval((o.text||o.textContent||o.innerHTML||"").replace(St,"")));l=i=null}return this}});function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function Ht(e){var t=e.getAttributeNode("type");return e.type=(t&&t.specified)+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Mt(e,t){var n,r=0;for(;null!=(n=e[r]);r++)b._data(n,"globalEval",!t||b._data(t[r],"globalEval"))}function _t(e,t){if(1===t.nodeType&&b.hasData(e)){var n,r,i,o=b._data(e),a=b._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)b.event.add(t,n,s[n][r])}a.data&&(a.data=b.extend({},a.data))}}function Ft(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!b.support.noCloneEvent&&t[b.expando]){i=b._data(t);for(r in i.events)b.removeEvent(t,r,i.handle);t.removeAttribute(b.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),b.support.html5Clone&&e.innerHTML&&!b.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Nt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){b.fn[e]=function(e){var n,r=0,i=[],o=b(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),b(o[r])[t](n),d.apply(i,n.get());return this.pushStack(i)}});function Ot(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||b.nodeName(o,n)?s.push(o):b.merge(s,Ot(o,n));return n===t||n&&b.nodeName(e,n)?b.merge([e],s):s}function Bt(e){Nt.test(e.type)&&(e.defaultChecked=e.checked)}b.extend({clone:function(e,t,n){var r,i,o,a,s,u=b.contains(e.ownerDocument,e);if(b.support.html5Clone||b.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(b.support.noCloneEvent&&b.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||b.isXMLDoc(e)))for(r=Ot(o),s=Ot(e),a=0;null!=(i=s[a]);++a)r[a]&&Ft(i,r[a]);if(t)if(n)for(s=s||Ot(e),r=r||Ot(o),a=0;null!=(i=s[a]);a++)_t(i,r[a]);else _t(e,o);return r=Ot(o,"script"),r.length>0&&Mt(r,!u&&Ot(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,u,l,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===b.type(o))b.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),u=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[u]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!b.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!b.support.tbody){o="table"!==u||xt.test(o)?"<table>"!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)b.nodeName(l=o.childNodes[i],"tbody")&&!l.childNodes.length&&o.removeChild(l)
5
+ }b.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),b.support.appendChecked||b.grep(Ot(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===b.inArray(o,r))&&(a=b.contains(o.ownerDocument,o),s=Ot(f.appendChild(o),"script"),a&&Mt(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,u=b.expando,l=b.cache,p=b.support.deleteExpando,f=b.event.special;for(;null!=(n=e[s]);s++)if((t||b.acceptData(n))&&(o=n[u],a=o&&l[o])){if(a.events)for(r in a.events)f[r]?b.event.remove(n,r):b.removeEvent(n,r,a.handle);l[o]&&(delete l[o],p?delete n[u]:typeof n.removeAttribute!==i?n.removeAttribute(u):n[u]=null,c.push(o))}}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+x+")(.*)$","i"),Yt=RegExp("^("+x+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+x+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===b.css(e,"display")||!b.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=b._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=b._data(r,"olddisplay",un(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&b._data(r,"olddisplay",i?n:b.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}b.fn.extend({css:function(e,n){return b.access(this,function(e,n,r){var i,o,a={},s=0;if(b.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=b.css(e,n[s],!1,o);return a}return r!==t?b.style(e,n,r):b.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){var t="boolean"==typeof e;return this.each(function(){(t?e:nn(this))?b(this).show():b(this).hide()})}}),b.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,u=b.camelCase(n),l=e.style;if(n=b.cssProps[u]||(b.cssProps[u]=tn(l,u)),s=b.cssHooks[n]||b.cssHooks[u],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:l[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(b.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||b.cssNumber[u]||(r+="px"),b.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(l[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{l[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,u=b.camelCase(n);return n=b.cssProps[u]||(b.cssProps[u]=tn(e.style,u)),s=b.cssHooks[n]||b.cssHooks[u],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||b.isNumeric(o)?o||0:a):a},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s.getPropertyValue(n)||s[n]:t,l=e.style;return s&&(""!==u||b.contains(e.ownerDocument,e)||(u=b.style(e,n)),Yt.test(u)&&Ut.test(n)&&(i=l.width,o=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=u,u=s.width,l.width=i,l.minWidth=o,l.maxWidth=a)),u}):o.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s[n]:t,l=e.style;return null==u&&l&&l[n]&&(u=l[n]),Yt.test(u)&&!zt.test(n)&&(i=l.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),l.left="fontSize"===n?"1em":u,u=l.pixelLeft+"px",l.left=i,a&&(o.left=a)),""===u?"auto":u});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=b.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=b.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=b.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=b.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=b.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=b.support.boxSizing&&"border-box"===b.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(b.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function un(e){var t=o,n=Gt[e];return n||(n=ln(e,t),"none"!==n&&n||(Pt=(Pt||b("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=ln(e,t),Pt.detach()),Gt[e]=n),n}function ln(e,t){var n=b(t.createElement(e)).appendTo(t.body),r=b.css(n[0],"display");return n.remove(),r}b.each(["height","width"],function(e,n){b.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(b.css(e,"display"))?b.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,b.support.boxSizing&&"border-box"===b.css(e,"boxSizing",!1,i),i):0)}}}),b.support.opacity||(b.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=b.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===b.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),b(function(){b.support.reliableMarginRight||(b.cssHooks.marginRight={get:function(e,n){return n?b.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!b.support.pixelPosition&&b.fn.position&&b.each(["top","left"],function(e,n){b.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?b(e).position()[n]+"px":r):t}}})}),b.expr&&b.expr.filters&&(b.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!b.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||b.css(e,"display"))},b.expr.filters.visible=function(e){return!b.expr.filters.hidden(e)}),b.each({margin:"",padding:"",border:"Width"},function(e,t){b.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(b.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;b.fn.extend({serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=b.prop(this,"elements");return e?b.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!b(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Nt.test(e))}).map(function(e,t){var n=b(this).val();return null==n?null:b.isArray(n)?b.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),b.param=function(e,n){var r,i=[],o=function(e,t){t=b.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=b.ajaxSettings&&b.ajaxSettings.traditional),b.isArray(e)||e.jquery&&!b.isPlainObject(e))b.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(b.isArray(t))b.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==b.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}b.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(" "),function(e,t){b.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),b.fn.hover=function(e,t){return this.mouseenter(e).mouseleave(t||e)};var mn,yn,vn=b.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Nn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Cn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=b.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=a.href}catch(Ln){yn=o.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(w)||[];if(b.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(u){var l;return o[u]=!0,b.each(e[u]||[],function(e,u){var c=u(n,r,i);return"string"!=typeof c||a||o[c]?a?!(l=c):t:(n.dataTypes.unshift(c),s(c),!1)}),l}return s(n.dataTypes[0])||!o["*"]&&s("*")}function Mn(e,n){var r,i,o=b.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&b.extend(!0,e,r),e}b.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,u=e.indexOf(" ");return u>=0&&(i=e.slice(u,e.length),e=e.slice(0,u)),b.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&b.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?b("<div>").append(b.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},b.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){b.fn[t]=function(e){return this.on(t,e)}}),b.each(["get","post"],function(e,n){b[n]=function(e,r,i,o){return b.isFunction(r)&&(o=o||i,i=r,r=t),b.ajax({url:e,type:n,dataType:o,data:r,success:i})}}),b.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Nn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Mn(Mn(e,b.ajaxSettings),t):Mn(b.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,u,l,c,p=b.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?b(f):b.event,h=b.Deferred(),g=b.Callbacks("once memory"),m=p.statusCode||{},y={},v={},x=0,T="canceled",N={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return x||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>x)for(t in e)m[t]=[m[t],e[t]];else N.always(e[N.status]);return this},abort:function(e){var t=e||T;return l&&l.abort(t),k(0,t),this}};if(h.promise(N).complete=g.add,N.success=N.done,N.error=N.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=b.trim(p.dataType||"*").toLowerCase().match(w)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?80:443))==(mn[3]||("http:"===mn[1]?80:443)))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=b.param(p.data,p.traditional)),qn(An,p,n,N),2===x)return N;u=p.global,u&&0===b.active++&&b.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Cn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(b.lastModified[o]&&N.setRequestHeader("If-Modified-Since",b.lastModified[o]),b.etag[o]&&N.setRequestHeader("If-None-Match",b.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&N.setRequestHeader("Content-Type",p.contentType),N.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)N.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,N,p)===!1||2===x))return N.abort();T="abort";for(i in{success:1,error:1,complete:1})N[i](p[i]);if(l=qn(jn,p,n,N)){N.readyState=1,u&&d.trigger("ajaxSend",[N,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){N.abort("timeout")},p.timeout));try{x=1,l.send(y,k)}catch(C){if(!(2>x))throw C;k(-1,C)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,C=n;2!==x&&(x=2,s&&clearTimeout(s),l=t,a=i||"",N.readyState=e>0?4:0,r&&(w=_n(p,N,r)),e>=200&&300>e||304===e?(p.ifModified&&(T=N.getResponseHeader("Last-Modified"),T&&(b.lastModified[o]=T),T=N.getResponseHeader("etag"),T&&(b.etag[o]=T)),204===e?(c=!0,C="nocontent"):304===e?(c=!0,C="notmodified"):(c=Fn(p,w),C=c.state,y=c.data,v=c.error,c=!v)):(v=C,(e||!C)&&(C="error",0>e&&(e=0))),N.status=e,N.statusText=(n||C)+"",c?h.resolveWith(f,[y,C,N]):h.rejectWith(f,[N,C,v]),N.statusCode(m),m=t,u&&d.trigger(c?"ajaxSuccess":"ajaxError",[N,p,c?y:v]),g.fireWith(f,[N,C]),u&&(d.trigger("ajaxComplete",[N,p]),--b.active||b.event.trigger("ajaxStop")))}return N},getScript:function(e,n){return b.get(e,t,n,"script")},getJSON:function(e,t,n){return b.get(e,t,n,"json")}});function _n(e,n,r){var i,o,a,s,u=e.contents,l=e.dataTypes,c=e.responseFields;for(s in c)s in r&&(n[c[s]]=r[s]);while("*"===l[0])l.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in u)if(u[s]&&u[s].test(o)){l.unshift(s);break}if(l[0]in r)a=l[0];else{for(s in r){if(!l[0]||e.converters[s+" "+l[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==l[0]&&l.unshift(a),r[a]):t}function Fn(e,t){var n,r,i,o,a={},s=0,u=e.dataTypes.slice(),l=u[0];if(e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u[1])for(i in e.converters)a[i.toLowerCase()]=e.converters[i];for(;r=u[++s];)if("*"!==r){if("*"!==l&&l!==r){if(i=a[l+" "+r]||a["* "+r],!i)for(n in a)if(o=n.split(" "),o[1]===r&&(i=a[l+" "+o[0]]||a["* "+o[0]])){i===!0?i=a[n]:a[n]!==!0&&(r=o[0],u.splice(s--,0,r));break}if(i!==!0)if(i&&e["throws"])t=i(t);else try{t=i(t)}catch(c){return{state:"parsererror",error:i?c:"No conversion from "+l+" to "+r}}}l=r}return{state:"success",data:t}}b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return b.globalEval(e),e}}}),b.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),b.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=o.head||b("head")[0]||o.documentElement;return{send:function(t,i){n=o.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var On=[],Bn=/(=)\?(?=&|$)|\?\?/;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=On.pop()||b.expando+"_"+vn++;return this[e]=!0,e}}),b.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,u=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return u||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=b.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,u?n[u]=n[u].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||b.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,On.push(o)),s&&b.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}b.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=b.ajaxSettings.xhr(),b.support.cors=!!Rn&&"withCredentials"in Rn,Rn=b.support.ajax=!!Rn,Rn&&b.ajaxTransport(function(n){if(!n.crossDomain||b.support.cors){var r;return{send:function(i,o){var a,s,u=n.xhr();if(n.username?u.open(n.type,n.url,n.async,n.username,n.password):u.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)u[s]=n.xhrFields[s];n.mimeType&&u.overrideMimeType&&u.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)u.setRequestHeader(s,i[s])}catch(l){}u.send(n.hasContent&&n.data||null),r=function(e,i){var s,l,c,p;try{if(r&&(i||4===u.readyState))if(r=t,a&&(u.onreadystatechange=b.noop,$n&&delete Pn[a]),i)4!==u.readyState&&u.abort();else{p={},s=u.status,l=u.getAllResponseHeaders(),"string"==typeof u.responseText&&(p.text=u.responseText);try{c=u.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,l)},n.async?4===u.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},b(e).unload($n)),Pn[a]=r),u.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+x+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n,r,i=this.createTween(e,t),o=Yn.exec(t),a=i.cur(),s=+a||0,u=1,l=20;if(o){if(n=+o[2],r=o[3]||(b.cssNumber[e]?"":"px"),"px"!==r&&s){s=b.css(i.elem,e,!0)||n||1;do u=u||".5",s/=u,b.style(i.elem,e,s+r);while(u!==(u=i.cur()/a)&&1!==u&&--l)}i.unit=r,i.start=s,i.end=o[1]?s+(o[1]+1)*n:n}return i}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=b.now()}function Zn(e,t){b.each(t,function(t,n){var r=(Qn[t]||[]).concat(Qn["*"]),i=0,o=r.length;for(;o>i;i++)if(r[i].call(e,t,n))return})}function er(e,t,n){var r,i,o=0,a=Gn.length,s=b.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;for(;u>a;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),1>o&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:b.extend({},t),opts:b.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=b.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)l.tweens[n].run(1);return t?s.resolveWith(e,[l,t]):s.rejectWith(e,[l,t]),this}}),c=l.props;for(tr(c,l.opts.specialEasing);a>o;o++)if(r=Gn[o].call(l,e,c,l.opts))return r;return Zn(l,c),b.isFunction(l.opts.start)&&l.opts.start.call(e,l),b.fx.timer(b.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function tr(e,t){var n,r,i,o,a;for(i in e)if(r=b.camelCase(i),o=t[r],n=e[i],b.isArray(n)&&(o=n[1],n=e[i]=n[0]),i!==r&&(e[r]=n,delete e[i]),a=b.cssHooks[r],a&&"expand"in a){n=a.expand(n),delete e[r];for(i in n)i in e||(e[i]=n[i],t[i]=o)}else t[r]=o}b.Animation=b.extend(er,{tweener:function(e,t){b.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,u,l,c,p,f=this,d=e.style,h={},g=[],m=e.nodeType&&nn(e);n.queue||(c=b._queueHooks(e,"fx"),null==c.unqueued&&(c.unqueued=0,p=c.empty.fire,c.empty.fire=function(){c.unqueued||p()}),c.unqueued++,f.always(function(){f.always(function(){c.unqueued--,b.queue(e,"fx").length||c.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===b.css(e,"display")&&"none"===b.css(e,"float")&&(b.support.inlineBlockNeedsLayout&&"inline"!==un(e.nodeName)?d.zoom=1:d.display="inline-block")),n.overflow&&(d.overflow="hidden",b.support.shrinkWrapBlocks||f.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(i in t)if(a=t[i],Vn.exec(a)){if(delete t[i],u=u||"toggle"===a,a===(m?"hide":"show"))continue;g.push(i)}if(o=g.length){s=b._data(e,"fxshow")||b._data(e,"fxshow",{}),"hidden"in s&&(m=s.hidden),u&&(s.hidden=!m),m?b(e).show():f.done(function(){b(e).hide()}),f.done(function(){var t;b._removeData(e,"fxshow");for(t in h)b.style(e,t,h[t])});for(i=0;o>i;i++)r=g[i],l=f.createTween(r,m?s[r]:0),h[r]=s[r]||b.style(e,r),r in s||(s[r]=l.start,m&&(l.end=l.start,l.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}b.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(b.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?b.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=b.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){b.fx.step[e.prop]?b.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[b.cssProps[e.prop]]||b.cssHooks[e.prop])?b.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},b.each(["toggle","show","hide"],function(e,t){var n=b.fn[t];b.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),b.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=b.isEmptyObject(e),o=b.speed(t,n,r),a=function(){var t=er(this,b.extend({},e),o);a.finish=function(){t.stop(!0)},(i||b._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=b.timers,a=b._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&b.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=b._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=b.timers,a=r?r.length:0;for(n.finish=!0,b.queue(this,e,[]),i&&i.cur&&i.cur.finish&&i.cur.finish.call(this),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}b.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){b.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),b.speed=function(e,t,n){var r=e&&"object"==typeof e?b.extend({},e):{complete:n||!n&&t||b.isFunction(e)&&e,duration:e,easing:n&&t||t&&!b.isFunction(t)&&t};return r.duration=b.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in b.fx.speeds?b.fx.speeds[r.duration]:b.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){b.isFunction(r.old)&&r.old.call(this),r.queue&&b.dequeue(this,r.queue)},r},b.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},b.timers=[],b.fx=rr.prototype.init,b.fx.tick=function(){var e,n=b.timers,r=0;for(Xn=b.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||b.fx.stop(),Xn=t},b.fx.timer=function(e){e()&&b.timers.push(e)&&b.fx.start()},b.fx.interval=13,b.fx.start=function(){Un||(Un=setInterval(b.fx.tick,b.fx.interval))},b.fx.stop=function(){clearInterval(Un),Un=null},b.fx.speeds={slow:600,fast:200,_default:400},b.fx.step={},b.expr&&b.expr.filters&&(b.expr.filters.animated=function(e){return b.grep(b.timers,function(t){return e===t.elem}).length}),b.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){b.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,b.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},b.offset={setOffset:function(e,t,n){var r=b.css(e,"position");"static"===r&&(e.style.position="relative");var i=b(e),o=i.offset(),a=b.css(e,"top"),s=b.css(e,"left"),u=("absolute"===r||"fixed"===r)&&b.inArray("auto",[a,s])>-1,l={},c={},p,f;u?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),b.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(l.top=t.top-o.top+p),null!=t.left&&(l.left=t.left-o.left+f),"using"in t?t.using.call(e,l):i.css(l)}},b.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===b.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),b.nodeName(e[0],"html")||(n=e.offset()),n.top+=b.css(e[0],"borderTopWidth",!0),n.left+=b.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-b.css(r,"marginTop",!0),left:t.left-n.left-b.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||o.documentElement;while(e&&!b.nodeName(e,"html")&&"static"===b.css(e,"position"))e=e.offsetParent;return e||o.documentElement})}}),b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);b.fn[e]=function(i){return b.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?b(a).scrollLeft():o,r?o:b(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return b.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}b.each({Height:"height",Width:"width"},function(e,n){b.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){b.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return b.access(this,function(n,r,i){var o;return b.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?b.css(n,r,s):b.style(n,r,i,s)},n,a?i:t,a,null)}})}),e.jQuery=e.$=b,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return b})})(window);
data/bin/messenger.js ADDED
@@ -0,0 +1,223 @@
1
+ (function(){var e=window.modules||[],j=null;e.messenger__factory__builders__multi_signal_dismissed_builder=function(){if(null===j){var n;n=require("messenger/messages/multi_signal_dismissed_message");var h=function(){};h.prototype.canHandle=function(h){return"multisignal"===h};h.prototype.handle=function(h,j){var e,m;e=null!=(m=j.minTimeToDismiss)?m:0;return new n(h,j.signals,e)};j=h}return j};window.modules=e})();
2
+ (function(){var e=window.modules||[],j=null;e.messenger__factory__builders__signal_dismissed_builder=function(){if(null===j){var n;n=require("messenger/messages/signal_dismissed_message");var h=function(){};h.prototype.canHandle=function(h){return"signal"===h};h.prototype.handle=function(h,j){var e,m;e=null!=(m=j.minTimeToDismiss)?m:0;return new n(h,j.signal,e)};j=h}return j};window.modules=e})();
3
+ (function(){var e=window.modules||[],j=null;e.messenger__factory__builders__time_dismissed_builder=function(){if(null===j){var n;n=require("messenger/messages/time_dismissed_message");var h=function(){};h.prototype.canHandle=function(h){return"time"===h};h.prototype.handle=function(h,j){return new n(h,j.timeToDisplay)};j=h}return j};window.modules=e})();
4
+ (function(){var e=window.modules||[],j=null;e.messenger__factory__builders__user_confirm_builder=function(){if(null===j){var n;n=require("messenger/messages/user_confirm_message");var h=function(){};h.prototype.canHandle=function(h){return"confirm"===h};h.prototype.handle=function(h,j){return new n(h,j.confirmLabel)};j=h}return j};window.modules=e})();
5
+ (function(){var e=window.modules||[],j=null;e.messenger__factory__builders__user_dialogue_builder=function(){if(null===j){var n;n=require("messenger/messages/user_dialogue_message");var h=function(){};h.prototype.canHandle=function(h){return"dialogue"===h};h.prototype.handle=function(h,j){return new n(h,j.confirmLabel,j.denyLabel)};j=h}return j};window.modules=e})();
6
+ (function(){var e=window.modules||[],j=null;e.messenger__factory__message_factory=function(){if(null===j){var n,h,s,q,e;s=require("messenger/factory/builders/time_dismissed_builder");h=require("messenger/factory/builders/signal_dismissed_builder");n=require("messenger/factory/builders/multi_signal_dismissed_builder");q=require("messenger/factory/builders/user_confirm_builder");e=require("messenger/factory/builders/user_dialogue_builder");var m=function(h){this.builders=h};m["default"]=function(j){null==
7
+ j&&(j=[]);return new this([new s,new h,new n,new q,new e].concat(j))};m.prototype.build=function(h,j,n){var s,m,e,q;q=this.builders;m=0;for(e=q.length;m<e;m++)if(s=q[m],s.canHandle(h))return s.handle(j,n);return null};j=m}return j};window.modules=e})();
8
+ (function(){var e=window.modules||[],j=null;e.messenger__message_queue=function(){if(null===j){var n;n=require("cronus/signal");var h=function(){var h=this.messageDismissed,j=this;this.messageDismissed=function(){return h.apply(j,arguments)};this.currentMessage=null;this.messages=[];this.queued=new n;this.display=new n;this.dismissed=new n;this.removed=new n;this.finished=new n};h.prototype.add=function(h){return this.addAt(h,this.messages.length)};h.prototype.addAt=function(h,j){this.messages.splice(j,
9
+ 0,h);this.queued.dispatch(h);if(1===this.messages.length)return this.currentMessage=h,this.currentMessage.dismiss.add(this.messageDismissed),this.display.dispatch(this.currentMessage)};h.prototype.remove=function(h){this.messages.splice(this.messages.indexOf(h),1);return this.removed.dispatch(h)};h.prototype.messageDismissed=function(){this.dismissed.dispatch(this.currentMessage);this.remove(this.currentMessage);return 0<this.messages.length?(this.currentMessage=this.messages[0],this.currentMessage.dismiss.add(this.messageDismissed),
10
+ this.display.dispatch(this.currentMessage)):this.finished.dispatch()};j=h}return j};window.modules=e})();
11
+ (function(){var e=window.modules||[],j=null;e.messenger__messages__message=function(){if(null===j){var n;require("lib/jquery");n=require("cronus/signal");var h=function(h){this.uid="message-"+Date.now();this.buildMarkupObj(h);this.dismiss=new n};h.prototype.init=function(){};h.prototype.buildMarkupObj=function(h){this.markup=document.getElementById(this.htmlId).innerHTML;this.markupObj=$("<article id='"+this.uid+"'>"+this.markup+"</article>");return this.markupObj.find("p").html(h)};h.prototype.getHtml=
12
+ function(){return this.markupObj.clone().wrap("<p>").parent().html()};j=h}return j};window.modules=e})();
13
+ (function(){var e=window.modules||[],j=null;e.messenger__messages__multi_signal_dismissed_message=function(){if(null===j){var n={}.hasOwnProperty;require("patches");var h=require("messenger/messages/message"),s=function(h,j,n){this.message=h;this.signals=j;this.minTimeToShow=n;var m=this.signalReceived,e=this;this.signalReceived=function(){return m.apply(e,arguments)};s.__super__.constructor.call(this,this.message);this.signalFinished=this.timerFinished=!1},e=s,v=function(){this.constructor=e},m;
14
+ for(m in h)n.call(h,m)&&(e[m]=h[m]);v.prototype=h.prototype;e.prototype=new v;e.__super__=h.prototype;s.property("type",{get:function(){return"multisignal"}});s.property("htmlId",{get:function(){return"text-message"}});s.prototype.init=function(){var h,j,n,s,m=this;s=this.signals;j=0;for(n=s.length;j<n;j++)h=s[j],h.add(this.signalReceived);return setTimeout(function(){m.timerFinished=!0;if(m.signalFinished)return m.dismiss.dispatch(m)},this.minTimeToShow)};s.prototype.signalReceived=function(){var h,
15
+ j,n,m;this.signalFinished=!0;m=this.signals;j=0;for(n=m.length;j<n;j++)h=m[j],h.remove(this.signalReceived);if(this.timerFinished)return this.dismiss.dispatch(this)};j=s}return j};window.modules=e})();
16
+ (function(){var e=window.modules||[],j=null;e.messenger__messages__signal_dismissed_message=function(){if(null===j){var n={}.hasOwnProperty;require("patches");var h=require("messenger/messages/message"),s=function(h,j,n){this.message=h;this.signal=j;this.minTimeToShow=n;var m=this.signalReceived,e=this;this.signalReceived=function(){return m.apply(e,arguments)};s.__super__.constructor.call(this,this.message);this.signalFinished=this.timerFinished=!1},e=s,v=function(){this.constructor=e},m;for(m in h)n.call(h,
17
+ m)&&(e[m]=h[m]);v.prototype=h.prototype;e.prototype=new v;e.__super__=h.prototype;s.property("type",{get:function(){return"signal"}});s.property("htmlId",{get:function(){return"text-message"}});s.prototype.init=function(){var h=this;this.signal.addOnce(this.signalReceived);return setTimeout(function(){h.timerFinished=!0;if(h.signalFinished)return h.dismiss.dispatch(h)},this.minTimeToShow)};s.prototype.signalReceived=function(){this.signalFinished=!0;if(this.timerFinished)return this.dismiss.dispatch(this)};
18
+ j=s}return j};window.modules=e})();
19
+ (function(){var e=window.modules||[],j=null;e.messenger__messages__time_dismissed_message=function(){if(null===j){var n={}.hasOwnProperty;require("patches");var h=require("messenger/messages/message"),e=function(h,j){this.message=h;this.timeToDisplay=j;e.__super__.constructor.call(this,this.message)},q=e,v=function(){this.constructor=q},m;for(m in h)n.call(h,m)&&(q[m]=h[m]);v.prototype=h.prototype;q.prototype=new v;q.__super__=h.prototype;e.property("type",{get:function(){return"time"}});e.property("htmlId",
20
+ {get:function(){return"text-message"}});e.prototype.init=function(){var h=this;return setTimeout(function(){return h.dismiss.dispatch(h)},this.timeToDisplay)};j=e}return j};window.modules=e})();
21
+ (function(){var e=window.modules||[],j=null;e.messenger__messages__user_confirm_message=function(){if(null===j){var n={}.hasOwnProperty;require("patches");require("lib/jquery");var h=require("messenger/messages/message"),e=function(h,j){this.message=h;this.confirmLabel=j;var n=this.confirmClicked,m=this;this.confirmClicked=function(){return n.apply(m,arguments)};e.__super__.constructor.call(this,this.message);$("button[data-name='confirm']",this.markupObj).html(this.confirmLabel)},q=e,v=function(){this.constructor=
22
+ q},m;for(m in h)n.call(h,m)&&(q[m]=h[m]);v.prototype=h.prototype;q.prototype=new v;q.__super__=h.prototype;e.property("type",{get:function(){return"confirm"}});e.property("htmlId",{get:function(){return"user-confirm-message"}});e.prototype.init=function(){return $("button[data-name='confirm']","#"+this.uid).click(this.confirmClicked)};e.prototype.confirmClicked=function(){return this.dismiss.dispatch(this)};j=e}return j};window.modules=e})();
23
+ (function(){var e=window.modules||[],j=null;e.messenger__messages__user_dialogue_message=function(){if(null===j){var n=function(h,j){return function(){return h.apply(j,arguments)}},h={}.hasOwnProperty;require("patches");require("lib/jquery");var e=require("messenger/messages/user_confirm_message"),q=function(h,j,e){this.denyLabel=e;this.denyClicked=n(this.denyClicked,this);this.confirmClicked=n(this.confirmClicked,this);q.__super__.constructor.call(this,h,j)},v=q,m=function(){this.constructor=v},
24
+ H;for(H in e)h.call(e,H)&&(v[H]=e[H]);m.prototype=e.prototype;v.prototype=new m;v.__super__=e.prototype;q.property("type",{get:function(){return"dialogue"}});q.property("htmlId",{get:function(){return"user-dialogue-message"}});q.prototype.init=function(){q.__super__.init.apply(this,arguments).init();return $(this.markupObj).find("button[data-name='deny']").html(this.denyLabel).click(this.denyClicked)};q.prototype.confirmClicked=function(){return this.dismiss.dispatch(this,!0)};q.prototype.denyClicked=
25
+ function(){return this.dismiss.dispatch(this,!1)};j=q}return j};window.modules=e})();
26
+ (function(){var e=window.modules||[],j=null;e.messenger__system_message_manager=function(){if(null===j){var e,h,s,q=function(h,j){return function(){return h.apply(j,arguments)}};s=require("cronus/signal");h=require("messenger/message_queue");e=require("messenger/factory/message_factory");var v=function(h,j){this.messageQueue=h;this.messageFactory=j;this.queueFinished=q(this.queueFinished,this);this.messageDismissed=q(this.messageDismissed,this);this.displayMessage=q(this.displayMessage,this);this.displayView=
27
+ new s;this.clearView=new s;this.messageQueue.display.add(this.displayMessage);this.messageQueue.dismissed.add(this.messageDismissed);this.messageQueue.finished.add(this.queueFinished)};v["default"]=function(j){null==j&&(j=[]);return new this(new h,e["default"](j))};v.prototype.queueMessage=function(h,j,e){return this.messageQueue.add(this.messageFactory.build(h,j,e))};v.prototype.queueMessageAt=function(h,j,e,n){return this.messageQueue.addAt(this.messageFactory.build(h,j,e),n)};v.prototype.removeMessage=
28
+ function(h){return this.messageQueue.remove(h)};v.prototype.displayMessage=function(h){this.displayView.dispatch(h.getHtml());return h.init()};v.prototype.messageDismissed=function(){return this.clearView.dispatch()};v.prototype.queueFinished=function(){return this.clearView.dispatch()};j=v}return j};window.modules=e})();
29
+ (function(){var e=window.modules||[],j=null;e.__patches=function(){null===j&&(require("lib/define_property"),Function.prototype.property=function(j,h){return Object.defineProperty(this.prototype,j,h)},j=void 0);return j};window.modules=e})();
30
+ (function(){var e=window.modules||[],j=null;e.lib__define_property=function(){if(null===j){var e=Object.prototype,h=e.__defineGetter__,s=e.__defineSetter__,q=e.__lookupGetter__,v=e.__lookupSetter__,m=e.hasOwnProperty;h&&(s&&q&&v)&&(Object.defineProperty||(Object.defineProperty=function(j,e,n){if(3>arguments.length)throw new TypeError("Arguments not optional");e+="";if(m.call(n,"value")&&(!q.call(j,e)&&!v.call(j,e)&&(j[e]=n.value),m.call(n,"get")||m.call(n,"set")))throw new TypeError("Cannot specify an accessor and a value");
31
+ if(!n.writable||!n.enumerable||!n.configurable)throw new TypeError("This implementation of Object.defineProperty does not support false for configurable, enumerable, or writable.");n.get&&h.call(j,e,n.get);n.set&&s.call(j,e,n.set);return j}),Object.getOwnPropertyDescriptor||(Object.getOwnPropertyDescriptor=function(h,j){if(2>arguments.length)throw new TypeError("Arguments not optional.");j+="";var e={configurable:!0,enumerable:!0,writable:!0},n=q.call(h,j),s=v.call(h,j);if(!m.call(h,j))return e;if(!n&&
32
+ !s)return e.value=h[j],e;delete e.writable;e.get=e.set=void 0;n&&(e.get=n);s&&(e.set=s);return e}),Object.defineProperties||(Object.defineProperties=function(h,j){for(var e in j)m.call(j,e)&&Object.defineProperty(h,e,j[e])}));j=void 0}return j};window.modules=e})();
33
+ (function(){var e=window.modules||[],j=null;e.lib__jquery=function(){if(null===j){var e=window,h=void 0,s=function(a){var b=a.length,d=c.type(a);return c.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===d||"function"!==d&&(0===b||"number"==typeof b&&0<b&&b-1 in a)},q=function(a,b,d,f){if(c.acceptData(a)){var g,k,l=c.expando,t="string"==typeof b,Aa=a.nodeType,J=Aa?c.cache:a,e=Aa?a[l]:a[l]&&l;if(e&&J[e]&&(f||J[e].data)||!t||d!==h)return e||(Aa?a[l]=e=ja.pop()||c.guid++:e=l),J[e]||(J[e]={},Aa||(J[e].toJSON=
34
+ c.noop)),("object"==typeof b||"function"==typeof b)&&(f?J[e]=c.extend(J[e],b):J[e].data=c.extend(J[e].data,b)),g=J[e],f||(g.data||(g.data={}),g=g.data),d!==h&&(g[c.camelCase(b)]=d),t?(k=g[b],null==k&&(k=g[c.camelCase(b)])):k=g,k}},v=function(a,b,d){if(c.acceptData(a)){var f,g,k,l=a.nodeType,t=l?c.cache:a,h=l?a[c.expando]:c.expando;if(t[h]){if(b&&(k=d?t[h]:t[h].data)){c.isArray(b)?b=b.concat(c.map(b,c.camelCase)):b in k?b=[b]:(b=c.camelCase(b),b=b in k?[b]:b.split(" "));f=0;for(g=b.length;g>f;f++)delete k[b[f]];
35
+ if(!(d?H:c.isEmptyObject)(k))return}(d||(delete t[h].data,H(t[h])))&&(l?c.cleanData([a],!0):c.support.deleteExpando||t!=t.window?delete t[h]:t[h]=null)}}},m=function(a,b,d){if(d===h&&1===a.nodeType){var f="data-"+b.replace(Gc,"-$1").toLowerCase();if(d=a.getAttribute(f),"string"==typeof d){try{d="true"===d?!0:"false"===d?!1:"null"===d?null:+d+""===d?+d:Hc.test(d)?c.parseJSON(d):d}catch(g){}c.data(a,b,d)}else d=h}return d},H=function(a){for(var b in a)if(("data"!==b||!c.isEmptyObject(a[b]))&&"toJSON"!==
36
+ b)return!1;return!0},N=function(){return!0},F=function(){return!1},za=function(a,b){do a=a[b];while(a&&1!==a.nodeType);return a},Cb=function(a,b,d){if(b=b||0,c.isFunction(b))return c.grep(a,function(a,c){return!!b.call(a,c,a)===d});if(b.nodeType)return c.grep(a,function(a){return a===b===d});if("string"==typeof b){var f=c.grep(a,function(a){return 1===a.nodeType});if(Ic.test(b))return c.filter(b,f,!d);b=c.filter(b,f)}return c.grep(a,function(a){return 0<=c.inArray(a,b)===d})},Db=function(a){var b=
37
+ Fb.split("|");a=a.createDocumentFragment();if(a.createElement)for(;b.length;)a.createElement(b.pop());return a},Eb=function(a){var b=a.getAttributeNode("type");return a.type=(b&&b.specified)+"/"+a.type,a},Gb=function(a){var b=Jc.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a},Xa=function(a,b){for(var d,f=0;null!=(d=a[f]);f++)c._data(d,"globalEval",!b||c._data(b[f],"globalEval"))},Hb=function(a,b){if(1===b.nodeType&&c.hasData(a)){var d,f,g;f=c._data(a);var k=c._data(b,f),l=f.events;
38
+ if(l)for(d in delete k.handle,k.events={},l){f=0;for(g=l[d].length;g>f;f++)c.event.add(b,d,l[d][f])}k.data&&(k.data=c.extend({},k.data))}},D=function(a,b){var d,f,g=0,k=typeof a.getElementsByTagName!==R?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==R?a.querySelectorAll(b||"*"):h;if(!k){k=[];for(d=a.childNodes||a;null!=(f=d[g]);g++)!b||c.nodeName(f,b)?k.push(f):c.merge(k,D(f,b))}return b===h||b&&c.nodeName(a,b)?c.merge([a],k):k},Kc=function(a){Ya.test(a.type)&&(a.defaultChecked=a.checked)},
39
+ Jb=function(a,b){if(b in a)return b;for(var d=b.charAt(0).toUpperCase()+b.slice(1),c=b,g=Ib.length;g--;)if(b=Ib[g]+d,b in a)return b;return c},ta=function(a,b){return a=b||a,"none"===c.css(a,"display")||!c.contains(a.ownerDocument,a)},Lb=function(a,b){for(var d,f,g,k=[],l=0,t=a.length;t>l;l++)f=a[l],f.style&&(k[l]=c._data(f,"olddisplay"),d=f.style.display,b?(k[l]||"none"!==d||(f.style.display=""),""===f.style.display&&ta(f)&&(k[l]=c._data(f,"olddisplay",Kb(f.nodeName)))):k[l]||(g=ta(f),(d&&"none"!==
40
+ d||!g)&&c._data(f,"olddisplay",g?d:c.css(f,"display"))));for(l=0;t>l;l++)f=a[l],f.style&&(b&&"none"!==f.style.display&&""!==f.style.display||(f.style.display=b?k[l]||"":"none"));return a},Mb=function(a,b,d){return(a=Lc.exec(b))?Math.max(0,a[1]-(d||0))+(a[2]||"px"):b},Nb=function(a,b,d,f,g){b=d===(f?"border":"content")?4:"width"===b?1:0;for(var k=0;4>b;b+=2)"margin"===d&&(k+=c.css(a,d+ba[b],!0,g)),f?("content"===d&&(k-=c.css(a,"padding"+ba[b],!0,g)),"margin"!==d&&(k-=c.css(a,"border"+ba[b]+"Width",
41
+ !0,g))):(k+=c.css(a,"padding"+ba[b],!0,g),"padding"!==d&&(k+=c.css(a,"border"+ba[b]+"Width",!0,g)));return k},Ob=function(a,b,d){var f=!0,g="width"===b?a.offsetWidth:a.offsetHeight,k=ca(a),l=c.support.boxSizing&&"border-box"===c.css(a,"boxSizing",!1,k);if(0>=g||null==g){if(g=da(a,b,k),(0>g||null==g)&&(g=a.style[b]),Ba.test(g))return g;f=l&&(c.support.boxSizingReliable||g===a.style[b]);g=parseFloat(g)||0}return g+Nb(a,b,d||(l?"border":"content"),f,k)+"px"},Kb=function(a){var b=r,d=Pb[a];return d||
42
+ (d=Qb(a,b),"none"!==d&&d||(ua=(ua||c("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(b.documentElement),b=(ua[0].contentWindow||ua[0].contentDocument).document,b.write("<!doctype html><html><body>"),b.close(),d=Qb(a,b),ua.detach()),Pb[a]=d),d},Qb=function(a,b){var d=c(b.createElement(a)).appendTo(b.body),f=c.css(d[0],"display");return d.remove(),f},Za=function(a,b,d,f){var g;if(c.isArray(b))c.each(b,function(b,c){d||Mc.test(a)?f(a,c):Za(a+"["+
43
+ ("object"==typeof c?b:"")+"]",c,d,f)});else if(d||"object"!==c.type(b))f(a,b);else for(g in b)Za(a+"["+g+"]",b[g],d,f)},Rb=function(a){return function(b,d){"string"!=typeof b&&(d=b,b="*");var f,g=0,k=b.toLowerCase().match(U)||[];if(c.isFunction(d))for(;f=k[g++];)"+"===f[0]?(f=f.slice(1)||"*",(a[f]=a[f]||[]).unshift(d)):(a[f]=a[f]||[]).push(d)}},Sb=function(a,b,d,f){function g(t){var e;return k[t]=!0,c.each(a[t]||[],function(a,c){var t=c(b,d,f);return"string"!=typeof t||l||k[t]?l?!(e=t):h:(b.dataTypes.unshift(t),
44
+ g(t),!1)}),e}var k={},l=a===$a;return g(b.dataTypes[0])||!k["*"]&&g("*")},ab=function(a,b){var d,f,g=c.ajaxSettings.flatOptions||{};for(f in b)b[f]!==h&&((g[f]?a:d||(d={}))[f]=b[f]);return d&&c.extend(!0,a,d),a},Tb=function(){try{return new e.XMLHttpRequest}catch(a){}},Ub=function(){return setTimeout(function(){ka=h}),ka=c.now()},Vb=function(a,b,d){var f,g,k=0,l=Ca.length,t=c.Deferred().always(function(){delete h.elem}),h=function(){if(g)return!1;for(var b=ka||Ub(),b=Math.max(0,e.startTime+e.duration-
45
+ b),d=1-(b/e.duration||0),c=0,f=e.tweens.length;f>c;c++)e.tweens[c].run(d);return t.notifyWith(a,[e,d,b]),1>d&&f?b:(t.resolveWith(a,[e]),!1)},e=t.promise({elem:a,props:c.extend({},b),opts:c.extend(!0,{specialEasing:{}},d),originalProperties:b,originalOptions:d,startTime:ka||Ub(),duration:d.duration,tweens:[],createTween:function(b,d){var f=c.Tween(a,e.opts,b,d,e.opts.specialEasing[b]||e.opts.easing);return e.tweens.push(f),f},stop:function(b){var d=0,c=b?e.tweens.length:0;if(g)return this;for(g=!0;c>
46
+ d;d++)e.tweens[d].run(1);return b?t.resolveWith(a,[e,b]):t.rejectWith(a,[e,b]),this}});b=e.props;d=e.opts.specialEasing;var j,p,C,Da;for(p in b)if(j=c.camelCase(p),C=d[j],f=b[p],c.isArray(f)&&(C=f[1],f=b[p]=f[0]),p!==j&&(b[j]=f,delete b[p]),Da=c.cssHooks[j],Da&&"expand"in Da)for(p in f=Da.expand(f),delete b[j],f)p in b||(b[p]=f[p],d[p]=C);else d[j]=C;for(;l>k;k++)if(f=Ca[k].call(e,a,b,e.opts))return f;var m=e;c.each(b,function(a,b){for(var d=(va[a]||[]).concat(va["*"]),c=0,f=d.length;f>c&&!d[c].call(m,
47
+ a,b);c++);});return c.isFunction(e.opts.start)&&e.opts.start.call(a,e),c.fx.timer(c.extend(h,{elem:a,anim:e,queue:e.opts.queue})),e.progress(e.opts.progress).done(e.opts.done,e.opts.complete).fail(e.opts.fail).always(e.opts.always)},M=function(a,b,d,c,g){return new M.prototype.init(a,b,d,c,g)},Ea=function(a,b){var d,c={height:a},g=0;for(b=b?1:0;4>g;g+=2-b)d=ba[g],c["margin"+d]=c["padding"+d]=a;return b&&(c.opacity=c.width=a),c},Wb=function(a){return c.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:
48
+ !1},Fa,Xb,R=typeof h,r=e.document,Oc=e.location,Pc=e.jQuery,Qc=e.$,Ga={},ja=[],Yb=ja.concat,bb=ja.push,ea=ja.slice,Zb=ja.indexOf,Rc=Ga.toString,wa=Ga.hasOwnProperty,cb="1.9.1".trim,c=function(a,b){return new c.fn.init(a,b,Xb)},Ha=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,U=/\S+/g,Sc=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,Tc=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,$b=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Uc=/^[\],:{}\s]*$/,Vc=/(?:^|:|,)(?:\s*\[)+/g,Wc=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,Xc=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,
49
+ Yc=/^-ms-/,Zc=/-([\da-z])/gi,$c=function(a,b){return b.toUpperCase()},V=function(a){(r.addEventListener||"load"===a.type||"complete"===r.readyState)&&(ac(),c.ready())},ac=function(){r.addEventListener?(r.removeEventListener("DOMContentLoaded",V,!1),e.removeEventListener("load",V,!1)):(r.detachEvent("onreadystatechange",V),e.detachEvent("onload",V))};c.fn=c.prototype={jquery:"1.9.1",constructor:c,init:function(a,b,d){var f,g;if(!a)return this;if("string"==typeof a){if(f="<"===a.charAt(0)&&">"===a.charAt(a.length-
50
+ 1)&&3<=a.length?[null,a,null]:Tc.exec(a),!f||!f[1]&&b)return!b||b.jquery?(b||d).find(a):this.constructor(b).find(a);if(f[1]){if(b=b instanceof c?b[0]:b,c.merge(this,c.parseHTML(f[1],b&&b.nodeType?b.ownerDocument||b:r,!0)),$b.test(f[1])&&c.isPlainObject(b))for(f in b)c.isFunction(this[f])?this[f](b[f]):this.attr(f,b[f]);return this}if(g=r.getElementById(f[2]),g&&g.parentNode){if(g.id!==f[2])return d.find(a);this.length=1;this[0]=g}return this.context=r,this.selector=a,this}return a.nodeType?(this.context=
51
+ this[0]=a,this.length=1,this):c.isFunction(a)?d.ready(a):(a.selector!==h&&(this.selector=a.selector,this.context=a.context),c.makeArray(a,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return ea.call(this)},get:function(a){return null==a?this.toArray():0>a?this[this.length+a]:this[a]},pushStack:function(a){a=c.merge(this.constructor(),a);return a.prevObject=this,a.context=this.context,a},each:function(a,b){return c.each(this,a,b)},ready:function(a){return c.ready.promise().done(a),
52
+ this},slice:function(){return this.pushStack(ea.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length;a=+a+(0>a?b:0);return this.pushStack(0<=a&&b>a?[this[a]]:[])},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:bb,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a,b,d,f,g,k,
53
+ l=arguments[0]||{},t=1,e=arguments.length,j=!1;"boolean"==typeof l&&(j=l,l=arguments[1]||{},t=2);"object"==typeof l||c.isFunction(l)||(l={});for(e===t&&(l=this,--t);e>t;t++)if(null!=(g=arguments[t]))for(f in g)a=l[f],d=g[f],l!==d&&(j&&d&&(c.isPlainObject(d)||(b=c.isArray(d)))?(b?(b=!1,k=a&&c.isArray(a)?a:[]):k=a&&c.isPlainObject(a)?a:{},l[f]=c.extend(j,k,d)):d!==h&&(l[f]=d));return l};c.extend({noConflict:function(a){return e.$===c&&(e.$=Qc),a&&e.jQuery===c&&(e.jQuery=Pc),c},isReady:!1,readyWait:1,
54
+ holdReady:function(a){a?c.readyWait++:c.ready(!0)},ready:function(a){if(!0===a?!--c.readyWait:!c.isReady){if(!r.body)return setTimeout(c.ready);c.isReady=!0;!0!==a&&0<--c.readyWait||(Fa.resolveWith(r,[c]),c.fn.trigger&&c(r).trigger("ready").off("ready"))}},isFunction:function(a){return"function"===c.type(a)},isArray:Array.isArray||function(a){return"array"===c.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return null==
55
+ a?a+"":"object"==typeof a||"function"==typeof a?Ga[Rc.call(a)]||"object":typeof a},isPlainObject:function(a){if(!a||"object"!==c.type(a)||a.nodeType||c.isWindow(a))return!1;try{if(a.constructor&&!wa.call(a,"constructor")&&!wa.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(b){return!1}for(var d in a);return d===h||wa.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw Error(a);},parseHTML:function(a,b,d){if(!a||"string"!=typeof a)return null;
56
+ "boolean"==typeof b&&(d=b,b=!1);b=b||r;var f=$b.exec(a);d=!d&&[];return f?[b.createElement(f[1])]:(f=c.buildFragment([a],b,d),d&&c(d).remove(),c.merge([],f.childNodes))},parseJSON:function(a){return e.JSON&&e.JSON.parse?e.JSON.parse(a):null===a?a:"string"==typeof a&&(a=c.trim(a),a&&Uc.test(a.replace(Wc,"@").replace(Xc,"]").replace(Vc,"")))?Function("return "+a)():(c.error("Invalid JSON: "+a),h)},parseXML:function(a){var b,d;if(!a||"string"!=typeof a)return null;try{e.DOMParser?(d=new DOMParser,b=
57
+ d.parseFromString(a,"text/xml")):(b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(a))}catch(f){b=h}return b&&b.documentElement&&!b.getElementsByTagName("parsererror").length||c.error("Invalid XML: "+a),b},noop:function(){},globalEval:function(a){a&&c.trim(a)&&(e.execScript||function(a){e.eval.call(e,a)})(a)},camelCase:function(a){return a.replace(Yc,"ms-").replace(Zc,$c)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,d){var c,
58
+ g=0,k=a.length,l=s(a);if(d)if(l)for(;k>g&&!(c=b.apply(a[g],d),!1===c);g++);else for(g in a){if(c=b.apply(a[g],d),!1===c)break}else if(l)for(;k>g&&!(c=b.call(a[g],g,a[g]),!1===c);g++);else for(g in a)if(c=b.call(a[g],g,a[g]),!1===c)break;return a},trim:cb&&!cb.call("\ufeff\u00a0")?function(a){return null==a?"":cb.call(a)}:function(a){return null==a?"":(a+"").replace(Sc,"")},makeArray:function(a,b){var d=b||[];return null!=a&&(s(Object(a))?c.merge(d,"string"==typeof a?[a]:a):bb.call(d,a)),d},inArray:function(a,
59
+ b,d){var c;if(b){if(Zb)return Zb.call(b,a,d);c=b.length;for(d=d?0>d?Math.max(0,c+d):d:0;c>d;d++)if(d in b&&b[d]===a)return d}return-1},merge:function(a,b){var d=b.length,c=a.length,g=0;if("number"==typeof d)for(;d>g;g++)a[c++]=b[g];else for(;b[g]!==h;)a[c++]=b[g++];return a.length=c,a},grep:function(a,b,d){var c,g=[],k=0,l=a.length;for(d=!!d;l>k;k++)c=!!b(a[k],k),d!==c&&g.push(a[k]);return g},map:function(a,b,d){var c,g=0,k=a.length,l=[];if(s(a))for(;k>g;g++)c=b(a[g],g,d),null!=c&&(l[l.length]=c);
60
+ else for(g in a)c=b(a[g],g,d),null!=c&&(l[l.length]=c);return Yb.apply([],l)},guid:1,proxy:function(a,b){var d,f,g;return"string"==typeof b&&(g=a[b],b=a,a=g),c.isFunction(a)?(d=ea.call(arguments,2),f=function(){return a.apply(b||this,d.concat(ea.call(arguments)))},f.guid=a.guid=a.guid||c.guid++,f):h},access:function(a,b,d,f,g,k,l){var t=0,e=a.length,j=null==d;if("object"===c.type(d))for(t in g=!0,d)c.access(a,b,t,d[t],!0,k,l);else if(f!==h&&(g=!0,c.isFunction(f)||(l=!0),j&&(l?(b.call(a,f),b=null):
61
+ (j=b,b=function(a,b,d){return j.call(c(a),d)})),b))for(;e>t;t++)b(a[t],d,l?f:f.call(a[t],t,b(a[t],d)));return g?a:j?b.call(a):e?b(a[0],d):k},now:function(){return(new Date).getTime()}});c.ready.promise=function(a){if(!Fa)if(Fa=c.Deferred(),"complete"===r.readyState)setTimeout(c.ready);else if(r.addEventListener)r.addEventListener("DOMContentLoaded",V,!1),e.addEventListener("load",V,!1);else{r.attachEvent("onreadystatechange",V);e.attachEvent("onload",V);var b=!1;try{b=null==e.frameElement&&r.documentElement}catch(d){}b&&
62
+ b.doScroll&&function g(){if(!c.isReady){try{b.doScroll("left")}catch(a){return setTimeout(g,50)}ac();c.ready()}}()}return Fa.promise(a)};c.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){Ga["[object "+b+"]"]=b.toLowerCase()});Xb=c(r);var bc={};c.Callbacks=function(a){var b;if("string"==typeof a){if(!(b=bc[a])){b=a;var d=bc[b]={};b=(c.each(b.match(U)||[],function(a,b){d[b]=!0}),d)}}else b=c.extend({},a);a=b;var f,g,k,l,t,e,j=[],u=!a.once&&[],p=function(b){g=
63
+ a.memory&&b;k=!0;t=e||0;e=0;l=j.length;for(f=!0;j&&l>t;t++)if(!1===j[t].apply(b[0],b[1])&&a.stopOnFalse){g=!1;break}f=!1;j&&(u?u.length&&p(u.shift()):g?j=[]:C.disable())},C={add:function(){if(j){var b=j.length;(function Nc(b){c.each(b,function(b,d){var f=c.type(d);"function"===f?a.unique&&C.has(d)||j.push(d):d&&d.length&&"string"!==f&&Nc(d)})})(arguments);f?l=j.length:g&&(e=b,p(g))}return this},remove:function(){return j&&c.each(arguments,function(a,b){for(var d;-1<(d=c.inArray(b,j,d));)j.splice(d,
64
+ 1),f&&(l>=d&&l--,t>=d&&t--)}),this},has:function(a){return a?-1<c.inArray(a,j):!(!j||!j.length)},empty:function(){return j=[],this},disable:function(){return j=u=g=h,this},disabled:function(){return!j},lock:function(){return u=h,g||C.disable(),this},locked:function(){return!u},fireWith:function(a,b){return b=b||[],b=[a,b.slice?b.slice():b],!j||k&&!u||(f?u.push(b):p(b)),this},fire:function(){return C.fireWith(this,arguments),this},fired:function(){return!!k}};return C};c.extend({Deferred:function(a){var b=
65
+ [["resolve","done",c.Callbacks("once memory"),"resolved"],["reject","fail",c.Callbacks("once memory"),"rejected"],["notify","progress",c.Callbacks("memory")]],d="pending",f={state:function(){return d},always:function(){return g.done(arguments).fail(arguments),this},then:function(){var a=arguments;return c.Deferred(function(d){c.each(b,function(b,h){var e=h[0],j=c.isFunction(a[b])&&a[b];g[h[1]](function(){var a=j&&j.apply(this,arguments);a&&c.isFunction(a.promise)?a.promise().done(d.resolve).fail(d.reject).progress(d.notify):
66
+ d[e+"With"](this===f?d.promise():this,j?[a]:arguments)})});a=null}).promise()},promise:function(a){return null!=a?c.extend(a,f):f}},g={};return f.pipe=f.then,c.each(b,function(a,c){var t=c[2],h=c[3];f[c[1]]=t.add;h&&t.add(function(){d=h},b[1^a][2].disable,b[2][2].lock);g[c[0]]=function(){return g[c[0]+"With"](this===g?f:this,arguments),this};g[c[0]+"With"]=t.fireWith}),f.promise(g),a&&a.call(g,g),g},when:function(a){var b=0,d=ea.call(arguments),f=d.length,g=1!==f||a&&c.isFunction(a.promise)?f:0,k=
67
+ 1===g?a:c.Deferred(),l=function(a,b,d){return function(c){b[a]=this;d[a]=1<arguments.length?ea.call(arguments):c;d===t?k.notifyWith(b,d):--g||k.resolveWith(b,d)}},t,h,e;if(1<f){t=Array(f);h=Array(f);for(e=Array(f);f>b;b++)d[b]&&c.isFunction(d[b].promise)?d[b].promise().done(l(b,e,d)).fail(k.reject).progress(l(b,h,t)):--g}return g||k.resolveWith(e,d),k.promise()}});var ad=c,db;var B,Ia,W,K,Ja,Ka,La,eb,cc,fb,w=r.createElement("div");if(w.setAttribute("className","t"),w.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",
68
+ Ia=w.getElementsByTagName("*"),W=w.getElementsByTagName("a")[0],!Ia||!W||!Ia.length)db={};else{Ja=r.createElement("select");La=Ja.appendChild(r.createElement("option"));K=w.getElementsByTagName("input")[0];W.style.cssText="top:1px;float:left;opacity:.5";B={getSetAttribute:"t"!==w.className,leadingWhitespace:3===w.firstChild.nodeType,tbody:!w.getElementsByTagName("tbody").length,htmlSerialize:!!w.getElementsByTagName("link").length,style:/top/.test(W.getAttribute("style")),hrefNormalized:"/a"===W.getAttribute("href"),
69
+ opacity:/^0.5/.test(W.style.opacity),cssFloat:!!W.style.cssFloat,checkOn:!!K.value,optSelected:La.selected,enctype:!!r.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==r.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===r.compatMode,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1};K.checked=!0;B.noCloneChecked=K.cloneNode(!0).checked;Ja.disabled=!0;B.optDisabled=!La.disabled;try{delete w.test}catch(Rd){B.deleteExpando=
70
+ !1}K=r.createElement("input");K.setAttribute("value","");B.input=""===K.getAttribute("value");K.value="t";K.setAttribute("type","radio");B.radioValue="t"===K.value;K.setAttribute("checked","t");K.setAttribute("name","t");Ka=r.createDocumentFragment();Ka.appendChild(K);B.appendChecked=K.checked;B.checkClone=Ka.cloneNode(!0).cloneNode(!0).lastChild.checked;w.attachEvent&&(w.attachEvent("onclick",function(){B.noCloneEvent=!1}),w.cloneNode(!0).click());for(fb in{submit:!0,change:!0,focusin:!0})w.setAttribute(eb=
71
+ "on"+fb,"t"),B[fb+"Bubbles"]=eb in e||!1===w.attributes[eb].expando;db=(w.style.backgroundClip="content-box",w.cloneNode(!0).style.backgroundClip="",B.clearCloneStyle="content-box"===w.style.backgroundClip,c(function(){var a,b,d,c=r.getElementsByTagName("body")[0];c&&(a=r.createElement("div"),a.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",c.appendChild(a).appendChild(w),w.innerHTML="<table><tr><td></td><td>t</td></tr></table>",d=w.getElementsByTagName("td"),
72
+ d[0].style.cssText="padding:0;margin:0;border:0;display:none",cc=0===d[0].offsetHeight,d[0].style.display="",d[1].style.display="none",B.reliableHiddenOffsets=cc&&0===d[0].offsetHeight,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%;",B.boxSizing=4===w.offsetWidth,B.doesNotIncludeMarginInBodyOffset=1!==c.offsetTop,e.getComputedStyle&&(B.pixelPosition=
73
+ "1%"!==(e.getComputedStyle(w,null)||{}).top,B.boxSizingReliable="4px"===(e.getComputedStyle(w,null)||{width:"4px"}).width,b=w.appendChild(r.createElement("div")),b.style.cssText=w.style.cssText="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",b.style.marginRight=b.style.width="0",w.style.width="1px",B.reliableMarginRight=!parseFloat((e.getComputedStyle(b,null)||{}).marginRight)),typeof w.style.zoom!==R&&(w.innerHTML="",
74
+ w.style.cssText="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;width:1px;padding:1px;display:inline;zoom:1",B.inlineBlockNeedsLayout=3===w.offsetWidth,w.style.display="block",w.innerHTML="<div></div>",w.firstChild.style.width="5px",B.shrinkWrapBlocks=3!==w.offsetWidth,B.inlineBlockNeedsLayout&&(c.style.zoom=1)),c.removeChild(a),w=null)}),Ia=Ja=Ka=La=W=K=null,B)}ad.support=db;var Hc=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Gc=/([A-Z])/g;
75
+ c.extend({cache:{},expando:"jQuery"+("1.9.1"+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){return a=a.nodeType?c.cache[a[c.expando]]:a[c.expando],!!a&&!H(a)},data:function(a,b,d){return q(a,b,d)},removeData:function(a,b){return v(a,b)},_data:function(a,b,d){return q(a,b,d,!0)},_removeData:function(a,b){return v(a,b,!0)},acceptData:function(a){if(a.nodeType&&1!==a.nodeType&&9!==a.nodeType)return!1;var b=a.nodeName&&
76
+ c.noData[a.nodeName.toLowerCase()];return!b||!0!==b&&a.getAttribute("classid")===b}});c.fn.extend({data:function(a,b){var d,f,g=this[0],k=0,l=null;if(a===h){if(this.length&&(l=c.data(g),1===g.nodeType&&!c._data(g,"parsedAttrs"))){for(d=g.attributes;d.length>k;k++)f=d[k].name,f.indexOf("data-")||(f=c.camelCase(f.slice(5)),m(g,f,l[f]));c._data(g,"parsedAttrs",!0)}return l}return"object"==typeof a?this.each(function(){c.data(this,a)}):c.access(this,function(b){return b===h?g?m(g,a,c.data(g,a)):null:
77
+ (this.each(function(){c.data(this,a,b)}),h)},null,b,1<arguments.length,null,!0)},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){var f;return a?(b=(b||"fx")+"queue",f=c._data(a,b),d&&(!f||c.isArray(d)?f=c._data(a,b,c.makeArray(d)):f.push(d)),f||[]):h},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.length,g=d.shift(),k=c._queueHooks(a,b),l=function(){c.dequeue(a,b)};"inprogress"===g&&(g=d.shift(),f--);(k.cur=g)&&("fx"===b&&d.unshift("inprogress"),
78
+ delete k.stop,g.call(a,l,k));!f&&k&&k.empty.fire()},_queueHooks:function(a,b){var d=b+"queueHooks";return c._data(a,d)||c._data(a,d,{empty:c.Callbacks("once memory").add(function(){c._removeData(a,b+"queue");c._removeData(a,d)})})}});c.fn.extend({queue:function(a,b){var d=2;return"string"!=typeof a&&(b=a,a="fx",d--),d>arguments.length?c.queue(this[0],a):b===h?this:this.each(function(){var d=c.queue(this,a,b);c._queueHooks(this,a);"fx"===a&&"inprogress"!==d[0]&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,
79
+ a)})},delay:function(a,b){return a=c.fx?c.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var g=setTimeout(b,a);c.stop=function(){clearTimeout(g)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var d,f=1,g=c.Deferred(),k=this,l=this.length,t=function(){--f||g.resolveWith(k,[k])};"string"!=typeof a&&(b=a,a=h);for(a=a||"fx";l--;)(d=c._data(k[l],a+"queueHooks"))&&d.empty&&(f++,d.empty.add(t));return t(),g.promise(b)}});var la,dc,gb=/[\t\r\n]/g,bd=/\r/g,cd=/^(?:input|select|textarea|button|object)$/i,
80
+ dd=/^(?:a|area)$/i,ec=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,hb=/^(?:checked|selected)$/i,fa=c.support.getSetAttribute,ib=c.support.input;c.fn.extend({attr:function(a,b){return c.access(this,c.attr,a,b,1<arguments.length)},removeAttr:function(a){return this.each(function(){c.removeAttr(this,a)})},prop:function(a,b){return c.access(this,c.prop,a,b,1<arguments.length)},removeProp:function(a){return a=c.propFix[a]||
81
+ a,this.each(function(){try{this[a]=h,delete this[a]}catch(b){}})},addClass:function(a){var b,d,f,g,k,l=0,h=this.length;b="string"==typeof a&&a;if(c.isFunction(a))return this.each(function(b){c(this).addClass(a.call(this,b,this.className))});if(b)for(b=(a||"").match(U)||[];h>l;l++)if(d=this[l],f=1===d.nodeType&&(d.className?(" "+d.className+" ").replace(gb," "):" ")){for(k=0;g=b[k++];)0>f.indexOf(" "+g+" ")&&(f+=g+" ");d.className=c.trim(f)}return this},removeClass:function(a){var b,d,f,g,k,l=0,h=
82
+ this.length;b=0===arguments.length||"string"==typeof a&&a;if(c.isFunction(a))return this.each(function(b){c(this).removeClass(a.call(this,b,this.className))});if(b)for(b=(a||"").match(U)||[];h>l;l++)if(d=this[l],f=1===d.nodeType&&(d.className?(" "+d.className+" ").replace(gb," "):"")){for(k=0;g=b[k++];)for(;0<=f.indexOf(" "+g+" ");)f=f.replace(" "+g+" "," ");d.className=a?c.trim(f):""}return this},toggleClass:function(a,b){var d=typeof a,f="boolean"==typeof b;return c.isFunction(a)?this.each(function(d){c(this).toggleClass(a.call(this,
83
+ d,this.className,b),b)}):this.each(function(){if("string"===d)for(var g,k=0,l=c(this),h=b,e=a.match(U)||[];g=e[k++];)h=f?h:!l.hasClass(g),l[h?"addClass":"removeClass"](g);else(d===R||"boolean"===d)&&(this.className&&c._data(this,"__className__",this.className),this.className=this.className||!1===a?"":c._data(this,"__className__")||"")})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;d>b;b++)if(1===this[b].nodeType&&0<=(" "+this[b].className+" ").replace(gb," ").indexOf(a))return!0;return!1},
84
+ val:function(a){var b,d,f,g=this[0];if(arguments.length)return f=c.isFunction(a),this.each(function(b){var g,t=c(this);1===this.nodeType&&(g=f?a.call(this,b,t.val()):a,null==g?g="":"number"==typeof g?g+="":c.isArray(g)&&(g=c.map(g,function(a){return null==a?"":a+""})),d=c.valHooks[this.type]||c.valHooks[this.nodeName.toLowerCase()],d&&"set"in d&&d.set(this,g,"value")!==h||(this.value=g))});if(g)return d=c.valHooks[g.type]||c.valHooks[g.nodeName.toLowerCase()],d&&"get"in d&&(b=d.get(g,"value"))!==
85
+ h?b:(b=g.value,"string"==typeof b?b.replace(bd,""):null==b?"":b)}});c.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){for(var b,d=a.options,f=a.selectedIndex,g="select-one"===a.type||0>f,k=g?null:[],l=g?f+1:d.length,h=0>f?l:g?f:0;l>h;h++)if(b=d[h],!(!b.selected&&h!==f||(c.support.optDisabled?b.disabled:null!==b.getAttribute("disabled"))||b.parentNode.disabled&&c.nodeName(b.parentNode,"optgroup"))){if(a=c(b).val(),g)return a;
86
+ k.push(a)}return k},set:function(a,b){var d=c.makeArray(b);return c(a).find("option").each(function(){this.selected=0<=c.inArray(c(this).val(),d)}),d.length||(a.selectedIndex=-1),d}}},attr:function(a,b,d){var f,g,k,l=a.nodeType;if(a&&3!==l&&8!==l&&2!==l)return typeof a.getAttribute===R?c.prop(a,b,d):(g=1!==l||!c.isXMLDoc(a),g&&(b=b.toLowerCase(),f=c.attrHooks[b]||(ec.test(b)?dc:la)),d===h?f&&g&&"get"in f&&null!==(k=f.get(a,b))?k:(typeof a.getAttribute!==R&&(k=a.getAttribute(b)),null==k?h:k):null!==
87
+ d?f&&g&&"set"in f&&(k=f.set(a,d,b))!==h?k:(a.setAttribute(b,d+""),d):(c.removeAttr(a,b),h))},removeAttr:function(a,b){var d,f,g=0,k=b&&b.match(U);if(k&&1===a.nodeType)for(;d=k[g++];)f=c.propFix[d]||d,ec.test(d)?!fa&&hb.test(d)?a[c.camelCase("default-"+d)]=a[f]=!1:a[f]=!1:c.attr(a,d,""),a.removeAttribute(fa?d:f)},attrHooks:{type:{set:function(a,b){if(!c.support.radioValue&&"radio"===b&&c.nodeName(a,"input")){var d=a.value;return a.setAttribute("type",b),d&&(a.value=d),b}}}},propFix:{tabindex:"tabIndex",
88
+ 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,d){var f,g,k,l=a.nodeType;if(a&&3!==l&&8!==l&&2!==l)return k=1!==l||!c.isXMLDoc(a),k&&(b=c.propFix[b]||b,g=c.propHooks[b]),d!==h?g&&"set"in g&&(f=g.set(a,d,b))!==h?f:a[b]=d:g&&"get"in g&&null!==(f=g.get(a,b))?f:a[b]},propHooks:{tabIndex:{get:function(a){var b=
89
+ a.getAttributeNode("tabindex");return b&&b.specified?parseInt(b.value,10):cd.test(a.nodeName)||dd.test(a.nodeName)&&a.href?0:h}}}});dc={get:function(a,b){var d=c.prop(a,b),f="boolean"==typeof d&&a.getAttribute(b);return(d="boolean"==typeof d?ib&&fa?null!=f:hb.test(b)?a[c.camelCase("default-"+b)]:!!f:a.getAttributeNode(b))&&!1!==d.value?b.toLowerCase():h},set:function(a,b,d){return!1===b?c.removeAttr(a,d):ib&&fa||!hb.test(d)?a.setAttribute(!fa&&c.propFix[d]||d,d):a[c.camelCase("default-"+d)]=a[d]=
90
+ !0,d}};ib&&fa||(c.attrHooks.value={get:function(a,b){var d=a.getAttributeNode(b);return c.nodeName(a,"input")?a.defaultValue:d&&d.specified?d.value:h},set:function(a,b,d){return c.nodeName(a,"input")?(a.defaultValue=b,h):la&&la.set(a,b,d)}});fa||(la=c.valHooks.button={get:function(a,b){var d=a.getAttributeNode(b);return d&&("id"===b||"name"===b||"coords"===b?""!==d.value:d.specified)?d.value:h},set:function(a,b,d){var c=a.getAttributeNode(d);return c||a.setAttributeNode(c=a.ownerDocument.createAttribute(d)),
91
+ c.value=b+="","value"===d||b===a.getAttribute(d)?b:h}},c.attrHooks.contenteditable={get:la.get,set:function(a,b,d){la.set(a,""===b?!1:b,d)}},c.each(["width","height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):h}})}));c.support.hrefNormalized||(c.each(["href","src","width","height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{get:function(a){a=a.getAttribute(b,2);return null==a?h:a}})}),c.each(["href","src"],function(a,
92
+ b){c.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}));c.support.style||(c.attrHooks.style={get:function(a){return a.style.cssText||h},set:function(a,b){return a.style.cssText=b+""}});c.support.optSelected||(c.propHooks.selected=c.extend(c.propHooks.selected,{get:function(a){a=a.parentNode;return a&&(a.selectedIndex,a.parentNode&&a.parentNode.selectedIndex),null}}));c.support.enctype||(c.propFix.enctype="encoding");c.support.checkOn||c.each(["radio","checkbox"],function(){c.valHooks[this]=
93
+ {get:function(a){return null===a.getAttribute("value")?"on":a.value}}});c.each(["radio","checkbox"],function(){c.valHooks[this]=c.extend(c.valHooks[this],{set:function(a,b){return c.isArray(b)?a.checked=0<=c.inArray(c(a).val(),b):h}})});var jb=/^(?:input|select|textarea)$/i,ed=/^key/,fd=/^(?:mouse|contextmenu)|click/,fc=/^(?:focusinfocus|focusoutblur)$/,gc=/^([^.]*)(?:\.(.+)|)$/;c.event={global:{},add:function(a,b,d,f,g){var k,l,t,e,j,u,p,C,m;if(t=c._data(a)){d.handler&&(e=d,d=e.handler,g=e.selector);
94
+ d.guid||(d.guid=c.guid++);(l=t.events)||(l=t.events={});(j=t.handle)||(j=t.handle=function(a){return typeof c===R||a&&c.event.triggered===a.type?h:c.event.dispatch.apply(j.elem,arguments)},j.elem=a);b=(b||"").match(U)||[""];for(t=b.length;t--;)k=gc.exec(b[t])||[],C=u=k[1],m=(k[2]||"").split(".").sort(),k=c.event.special[C]||{},C=(g?k.delegateType:k.bindType)||C,k=c.event.special[C]||{},u=c.extend({type:C,origType:u,data:f,handler:d,guid:d.guid,selector:g,needsContext:g&&c.expr.match.needsContext.test(g),
95
+ namespace:m.join(".")},e),(p=l[C])||(p=l[C]=[],p.delegateCount=0,k.setup&&!1!==k.setup.call(a,f,m,j)||(a.addEventListener?a.addEventListener(C,j,!1):a.attachEvent&&a.attachEvent("on"+C,j))),k.add&&(k.add.call(a,u),u.handler.guid||(u.handler.guid=d.guid)),g?p.splice(p.delegateCount++,0,u):p.push(u),c.event.global[C]=!0;a=null}},remove:function(a,b,d,f,g){var k,l,h,e,j,u,p,C,m,n,s,q=c.hasData(a)&&c._data(a);if(q&&(u=q.events)){b=(b||"").match(U)||[""];for(j=b.length;j--;)if(h=gc.exec(b[j])||[],m=s=
96
+ h[1],n=(h[2]||"").split(".").sort(),m){p=c.event.special[m]||{};m=(f?p.delegateType:p.bindType)||m;C=u[m]||[];h=h[2]&&RegExp("(^|\\.)"+n.join("\\.(?:.*\\.|)")+"(\\.|$)");for(e=k=C.length;k--;)l=C[k],!g&&s!==l.origType||d&&d.guid!==l.guid||h&&!h.test(l.namespace)||f&&f!==l.selector&&("**"!==f||!l.selector)||(C.splice(k,1),l.selector&&C.delegateCount--,p.remove&&p.remove.call(a,l));e&&!C.length&&(p.teardown&&!1!==p.teardown.call(a,n,q.handle)||c.removeEvent(a,m,q.handle),delete u[m])}else for(m in u)c.event.remove(a,
97
+ m+b[j],d,f,!0);c.isEmptyObject(u)&&(delete q.handle,c._removeData(a,"events"))}},trigger:function(a,b,d,f){var g,k,l,t,j,J,u=[d||r],p=wa.call(a,"type")?a.type:a;J=wa.call(a,"namespace")?a.namespace.split("."):[];if(l=g=d=d||r,3!==d.nodeType&&8!==d.nodeType&&!fc.test(p+c.event.triggered)&&(0<=p.indexOf(".")&&(J=p.split("."),p=J.shift(),J.sort()),k=0>p.indexOf(":")&&"on"+p,a=a[c.expando]?a:new c.Event(p,"object"==typeof a&&a),a.isTrigger=!0,a.namespace=J.join("."),a.namespace_re=a.namespace?RegExp("(^|\\.)"+
98
+ J.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,a.result=h,a.target||(a.target=d),b=null==b?[a]:c.makeArray(b,[a]),j=c.event.special[p]||{},f||!j.trigger||!1!==j.trigger.apply(d,b))){if(!f&&!j.noBubble&&!c.isWindow(d)){t=j.delegateType||p;for(fc.test(t+p)||(l=l.parentNode);l;l=l.parentNode)u.push(l),g=l;g===(d.ownerDocument||r)&&u.push(g.defaultView||g.parentWindow||e)}for(J=0;(l=u[J++])&&!a.isPropagationStopped();)a.type=1<J?t:j.bindType||p,(g=(c._data(l,"events")||{})[a.type]&&c._data(l,"handle"))&&g.apply(l,
99
+ b),(g=k&&l[k])&&c.acceptData(l)&&g.apply&&!1===g.apply(l,b)&&a.preventDefault();if(a.type=p,!(f||a.isDefaultPrevented()||j._default&&!1!==j._default.apply(d.ownerDocument,b)||"click"===p&&c.nodeName(d,"a")||!c.acceptData(d)||!k||!d[p]||c.isWindow(d))){(g=d[k])&&(d[k]=null);c.event.triggered=p;try{d[p]()}catch(m){}c.event.triggered=h;g&&(d[k]=g)}return a.result}},dispatch:function(a){a=c.event.fix(a);var b,d,f,g,k,l=[],t=ea.call(arguments);b=(c._data(this,"events")||{})[a.type]||[];var e=c.event.special[a.type]||
100
+ {};if(t[0]=a,a.delegateTarget=this,!e.preDispatch||!1!==e.preDispatch.call(this,a)){l=c.event.handlers.call(this,a,b);for(b=0;(g=l[b++])&&!a.isPropagationStopped();){a.currentTarget=g.elem;for(k=0;(f=g.handlers[k++])&&!a.isImmediatePropagationStopped();)(!a.namespace_re||a.namespace_re.test(f.namespace))&&(a.handleObj=f,a.data=f.data,d=((c.event.special[f.origType]||{}).handle||f.handler).apply(g.elem,t),d!==h&&!1===(a.result=d)&&(a.preventDefault(),a.stopPropagation()))}return e.postDispatch&&e.postDispatch.call(this,
101
+ a),a.result}},handlers:function(a,b){var d,f,g,k,l=[],t=b.delegateCount,e=a.target;if(t&&e.nodeType&&(!a.button||"click"!==a.type))for(;e!=this;e=e.parentNode||this)if(1===e.nodeType&&(!0!==e.disabled||"click"!==a.type)){g=[];for(k=0;t>k;k++)f=b[k],d=f.selector+" ",g[d]===h&&(g[d]=f.needsContext?0<=c(d,this).index(e):c.find(d,this,null,[e]).length),g[d]&&g.push(f);g.length&&l.push({elem:e,handlers:g})}return b.length>t&&l.push({elem:this,handlers:b.slice(t)}),l},fix:function(a){if(a[c.expando])return a;
102
+ var b,d,f;b=a.type;var g=a,k=this.fixHooks[b];k||(this.fixHooks[b]=k=fd.test(b)?this.mouseHooks:ed.test(b)?this.keyHooks:{});f=k.props?this.props.concat(k.props):this.props;a=new c.Event(g);for(b=f.length;b--;)d=f[b],a[d]=g[d];return a.target||(a.target=g.srcElement||r),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,k.filter?k.filter(a,g):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
103
+ fixHooks:{},keyHooks:{props:["char","charCode","key","keyCode"],filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var d,c,g,k=b.button,l=b.fromElement;return null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||r,g=c.documentElement,d=c.body,a.pageX=b.clientX+(g&&g.scrollLeft||d&&d.scrollLeft||0)-(g&&
104
+ g.clientLeft||d&&d.clientLeft||0),a.pageY=b.clientY+(g&&g.scrollTop||d&&d.scrollTop||0)-(g&&g.clientTop||d&&d.clientTop||0)),!a.relatedTarget&&l&&(a.relatedTarget=l===a.target?b.toElement:l),a.which||k===h||(a.which=1&k?1:2&k?3:4&k?2:0),a}},special:{load:{noBubble:!0},click:{trigger:function(){return c.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):h}},focus:{trigger:function(){if(this!==r.activeElement&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},
105
+ blur:{trigger:function(){return this===r.activeElement&&this.blur?(this.blur(),!1):h},delegateType:"focusout"},beforeunload:{postDispatch:function(a){a.result!==h&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,d,f){a=c.extend(new c.Event,d,{type:a,isSimulated:!0,originalEvent:{}});f?c.event.trigger(a,null,b):c.event.dispatch.call(b,a);a.isDefaultPrevented()&&d.preventDefault()}};c.removeEvent=r.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,
106
+ !1)}:function(a,b,d){b="on"+b;a.detachEvent&&(typeof a[b]===R&&(a[b]=null),a.detachEvent(b,d))};c.Event=function(a,b){return this instanceof c.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||!1===a.returnValue||a.getPreventDefault&&a.getPreventDefault()?N:F):this.type=a,b&&c.extend(this,b),this.timeStamp=a&&a.timeStamp||c.now(),this[c.expando]=!0,h):new c.Event(a,b)};c.Event.prototype={isDefaultPrevented:F,isPropagationStopped:F,isImmediatePropagationStopped:F,
107
+ preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=N;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=N;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=N;this.stopPropagation()}};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={delegateType:b,bindType:b,handle:function(a){var f,
108
+ g=a.relatedTarget,k=a.handleObj;return(!g||g!==this&&!c.contains(this,g))&&(a.type=k.origType,f=k.handler.apply(this,arguments),a.type=b),f}}});c.support.submitBubbles||(c.event.special.submit={setup:function(){return c.nodeName(this,"form")?!1:(c.event.add(this,"click._submit keypress._submit",function(a){a=a.target;(a=c.nodeName(a,"input")||c.nodeName(a,"button")?a.form:h)&&!c._data(a,"submitBubbles")&&(c.event.add(a,"submit._submit",function(a){a._submit_bubble=!0}),c._data(a,"submitBubbles",!0))}),
109
+ h)},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&c.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){return c.nodeName(this,"form")?!1:(c.event.remove(this,"._submit"),h)}});c.support.changeBubbles||(c.event.special.change={setup:function(){return jb.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(c.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=
110
+ !0)}),c.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1);c.event.simulate("change",this,a,!0)})),!1):(c.event.add(this,"beforeactivate._change",function(a){a=a.target;jb.test(a.nodeName)&&!c._data(a,"changeBubbles")&&(c.event.add(a,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||c.event.simulate("change",this.parentNode,a,!0)}),c._data(a,"changeBubbles",!0))}),h)},handle:function(a){var b=a.target;return this!==b||a.isSimulated||
111
+ a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type?a.handleObj.handler.apply(this,arguments):h},teardown:function(){return c.event.remove(this,"._change"),!jb.test(this.nodeName)}});c.support.focusinBubbles||c.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,f=function(a){c.event.simulate(b,a.target,c.event.fix(a),!0)};c.event.special[b]={setup:function(){0===d++&&r.addEventListener(a,f,!0)},teardown:function(){0===--d&&r.removeEventListener(a,f,!0)}}});c.fn.extend({on:function(a,b,d,
112
+ f,g){var k,l;if("object"==typeof a){"string"!=typeof b&&(d=d||b,b=h);for(k in a)this.on(k,b,d,a[k],g);return this}if(null==d&&null==f?(f=b,d=b=h):null==f&&("string"==typeof b?(f=d,d=h):(f=d,d=b,b=h)),!1===f)f=F;else if(!f)return this;return 1===g&&(l=f,f=function(a){return c().off(a),l.apply(this,arguments)},f.guid=l.guid||(l.guid=c.guid++)),this.each(function(){c.event.add(this,a,f,d,b)})},one:function(a,b,d,c){return this.on(a,b,d,c,1)},off:function(a,b,d){var f,g;if(a&&a.preventDefault&&a.handleObj)return f=
113
+ a.handleObj,c(a.delegateTarget).off(f.namespace?f.origType+"."+f.namespace:f.origType,f.selector,f.handler),this;if("object"==typeof a){for(g in a)this.off(g,b,a[g]);return this}return(!1===b||"function"==typeof b)&&(d=b,b=h),!1===d&&(d=F),this.each(function(){c.event.remove(this,a,d,b)})},bind:function(a,b,d){return this.on(a,null,b,d)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,d,c){return this.on(b,a,d,c)},undelegate:function(a,b,d){return 1===arguments.length?this.off(a,
114
+ "**"):this.off(b,a||"**",d)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){var d=this[0];return d?c.event.trigger(a,b,d,!0):h}});var kb=function(){var a,b=[];return a=function(d,c){return b.push(d+=" ")>x.cacheLength&&delete a[b.shift()],a[d]=c}},P=function(a){return a[z]=!0,a},X=function(a){var b=G.createElement("div");try{return a(b)}catch(d){return!1}finally{}},y=function(a,b,d,c){var g,k,l,h,e;if((b?b.ownerDocument||b:ga)!==G&&ma(b),
115
+ b=b||G,d=d||[],!a||"string"!=typeof a)return d;if(1!==(h=b.nodeType)&&9!==h)return[];if(!Q&&!c){if(g=gd.exec(a))if(l=g[1])if(9===h){if(k=b.getElementById(l),!k||!k.parentNode)return d;if(k.id===l)return d.push(k),d}else{if(b.ownerDocument&&(k=b.ownerDocument.getElementById(l))&&xa(b,k)&&k.id===l)return d.push(k),d}else{if(g[2])return na.apply(d,oa.call(b.getElementsByTagName(a),0)),d;if((l=g[3])&&E.getByClassName&&b.getElementsByClassName)return na.apply(d,oa.call(b.getElementsByClassName(l),0)),
116
+ d}if(E.qsa&&!S.test(a)){if(g=!0,k=z,l=b,e=9===h&&a,1===h&&"object"!==b.nodeName.toLowerCase()){h=Ma(a);(g=b.getAttribute("id"))?k=g.replace(hd,"\\$&"):b.setAttribute("id",k);k="[id='"+k+"'] ";for(l=h.length;l--;)h[l]=k+Na(h[l]);l=lb.test(a)&&b.parentNode||b;e=h.join(",")}if(e)try{return na.apply(d,oa.call(l.querySelectorAll(e),0)),d}catch(j){}finally{g||b.removeAttribute("id")}}}var u;a:{a=a.replace(Oa,"$1");var p,m;k=Ma(a);if(!c&&1===k.length){if(u=k[0]=k[0].slice(0),2<u.length&&"ID"===(p=u[0]).type&&
117
+ 9===b.nodeType&&!Q&&x.relative[u[1].type]){if(b=x.find.ID(p.matches[0].replace(Y,Z),b)[0],!b){u=d;break a}a=a.slice(u.shift().value.length)}for(h=Pa.needsContext.test(a)?0:u.length;h--&&!(p=u[h],x.relative[g=p.type]);)if((m=x.find[g])&&(c=m(p.matches[0].replace(Y,Z),lb.test(u[0].type)&&b.parentNode||b))){if(u.splice(h,1),a=c.length&&Na(u),!a){u=(na.apply(d,oa.call(c,0)),d);break a}break}}u=(mb(a,k)(c,b,Q,d,lb.test(a)),d)}return u},ic=function(a,b){var d=b&&a,c=d&&(~b.sourceIndex||hc)-(~a.sourceIndex||
118
+ hc);if(c)return c;if(d)for(;d=d.nextSibling;)if(d===b)return-1;return a?1:-1},id=function(a){return function(b){return"input"===b.nodeName.toLowerCase()&&b.type===a}},jd=function(a){return function(b){var d=b.nodeName.toLowerCase();return("input"===d||"button"===d)&&b.type===a}},ha=function(a){return P(function(b){return b=+b,P(function(d,c){for(var g,k=a([],d.length,b),l=k.length;l--;)d[g=k[l]]&&(d[g]=!(c[g]=d[g]))})})},Ma=function(a,b){var d,c,g,k,l,h,e;if(l=jc[a+" "])return b?0:l.slice(0);l=a;
119
+ h=[];for(e=x.preFilter;l;){(!d||(c=kd.exec(l)))&&(c&&(l=l.slice(c[0].length)||l),h.push(g=[]));d=!1;(c=ld.exec(l))&&(d=c.shift(),g.push({value:d,type:c[0].replace(Oa," ")}),l=l.slice(d.length));for(k in x.filter)!(c=Pa[k].exec(l))||e[k]&&!(c=e[k](c))||(d=c.shift(),g.push({value:d,type:k,matches:c}),l=l.slice(d.length));if(!d)break}return b?l.length:l?y.error(a):jc(a,h).slice(0)},Na=function(a){for(var b=0,d=a.length,c="";d>b;b++)c+=a[b].value;return c},nb=function(a,b,d){var c=b.dir,g=d&&"parentNode"===
120
+ c,k=md++;return b.first?function(b,d,k){for(;b=b[c];)if(1===b.nodeType||g)return a(b,d,k)}:function(b,d,h){var e,j,p,m=T+" "+k;if(h)for(;b=b[c];){if((1===b.nodeType||g)&&a(b,d,h))return!0}else for(;b=b[c];)if(1===b.nodeType||g)if(p=b[z]||(b[z]={}),(j=p[c])&&j[0]===m){if(!0===(e=j[1])||e===Qa)return!0===e}else if(j=p[c]=[m],j[1]=a(b,d,h)||Qa,!0===j[1])return!0}},ob=function(a){return 1<a.length?function(b,d,c){for(var g=a.length;g--;)if(!a[g](b,d,c))return!1;return!0}:a[0]},Ra=function(a,b,d,c,g){for(var k,
121
+ l=[],h=0,e=a.length,j=null!=b;e>h;h++)(k=a[h])&&(!d||d(k,c,g))&&(l.push(k),j&&b.push(h));return l},pb=function(a,b,d,c,g,k){return c&&!c[z]&&(c=pb(c)),g&&!g[z]&&(g=pb(g,k)),P(function(k,h,e,j){var u,p,m=[],n=[],s=h.length,q;if(!(q=k)){q=b||"*";for(var r=e.nodeType?[e]:e,v=[],w=0,x=r.length;x>w;w++)y(q,r[w],v);q=v}q=!a||!k&&b?q:Ra(q,m,a,e,j);r=d?g||(k?a:s||c)?[]:h:q;if(d&&d(q,r,e,j),c){u=Ra(r,n);c(u,[],e,j);for(e=u.length;e--;)(p=u[e])&&(r[n[e]]=!(q[n[e]]=p))}if(k){if(g||a){if(g){u=[];for(e=r.length;e--;)(p=
122
+ r[e])&&u.push(q[e]=p);g(null,r=[],u,j)}for(e=r.length;e--;)(p=r[e])&&-1<(u=g?qb.call(k,p):m[e])&&(k[u]=!(h[u]=p))}}else r=Ra(r===h?r.splice(s,r.length):r),g?g(null,h,r,j):na.apply(h,r)})},rb=function(a){var b,d,c,g=a.length,k=x.relative[a[0].type];d=k||x.relative[" "];for(var l=k?1:0,h=nb(function(a){return a===b},d,!0),e=nb(function(a){return-1<qb.call(b,a)},d,!0),j=[function(a,d,c){return!k&&(c||d!==Sa)||((b=d).nodeType?h(a,d,c):e(a,d,c))}];g>l;l++)if(d=x.relative[a[l].type])j=[nb(ob(j),d)];else{if(d=
123
+ x.filter[a[l].type].apply(null,a[l].matches),d[z]){for(c=++l;g>c&&!x.relative[a[c].type];c++);return pb(1<l&&ob(j),1<l&&Na(a.slice(0,l-1)).replace(Oa,"$1"),d,c>l&&rb(a.slice(l,c)),g>c&&rb(a=a.slice(c)),g>c&&Na(a))}j.push(d)}return ob(j)},kc=function(){},pa,Qa,x,Ta,lc,mb,qa,Sa,ma,G,I,Q,S,ra,Ua,xa,sb,z="sizzle"+-new Date,ga=e.document,E={},T=0,md=0,mc=kb(),jc=kb(),nc=kb(),hc=-2147483648,Va=[],nd=Va.pop,na=Va.push,oa=Va.slice,qb=Va.indexOf||function(a){for(var b=0,d=this.length;d>b;b++)if(this[b]===
124
+ a)return b;return-1},oc="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w","w#"),pc="\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)[\\x20\\t\\r\\n\\f]*(?:([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+oc+")|)|)[\\x20\\t\\r\\n\\f]*\\]",tb=":((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+pc.replace(3,8)+")*)|.*)\\)|)",Oa=/^[\x20\t\r\n\f]+|((?:^|[^\\])(?:\\.)*)[\x20\t\r\n\f]+$/g,kd=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,ld=
125
+ /^[\x20\t\r\n\f]*([\x20\t\r\n\f>+~])[\x20\t\r\n\f]*/,od=RegExp(tb),pd=RegExp("^"+oc+"$"),Pa={ID:/^#((?:\\.|[\w-]|[^\x00-\xa0])+)/,CLASS:/^\.((?:\\.|[\w-]|[^\x00-\xa0])+)/,NAME:/^\[name=['"]?((?:\\.|[\w-]|[^\x00-\xa0])+)['"]?\]/,TAG:RegExp("^("+"(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w","w*")+")"),ATTR:RegExp("^"+pc),PSEUDO:RegExp("^"+tb),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\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]*\\)|)",
126
+ "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")},lb=/[\x20\t\r\n\f]*[+~]/,ub=/^[^{]+\{\s*\[native code/,gd=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,qd=/^(?:input|select|textarea|button)$/i,rd=/^h\d$/i,hd=/'|\\/g,sd=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,Y=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,Z=function(a,b){var d="0x"+b-65536;return d!==d?b:0>d?String.fromCharCode(d+65536):
127
+ String.fromCharCode(55296|d>>10,56320|1023&d)};try{oa.call(ga.documentElement.childNodes,0)[0].nodeType}catch(Sd){oa=function(a){for(var b,d=[];b=this[a++];)d.push(b);return d}}lc=y.isXML=function(a){return(a=a&&(a.ownerDocument||a).documentElement)?"HTML"!==a.nodeName:!1};ma=y.setDocument=function(a){var b=a?a.ownerDocument||a:ga;if(b!==G&&9===b.nodeType&&b.documentElement){G=b;I=b.documentElement;Q=lc(b);E.tagNameNoComments=X(function(a){return a.appendChild(b.createComment("")),!a.getElementsByTagName("*").length});
128
+ E.attributes=X(function(a){a.innerHTML="<select></select>";a=typeof a.lastChild.getAttribute("multiple");return"boolean"!==a&&"string"!==a});E.getByClassName=X(function(a){return a.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",a.getElementsByClassName&&a.getElementsByClassName("e").length?(a.lastChild.className="e",2===a.getElementsByClassName("e").length):!1});E.getByName=X(function(a){a.id=z+0;a.innerHTML="<a name='"+z+"'></a><div name='"+z+"'></div>";I.insertBefore(a,I.firstChild);
129
+ var d=b.getElementsByName&&b.getElementsByName(z).length===2+b.getElementsByName(z+0).length;return E.getIdNotName=!b.getElementById(z),I.removeChild(a),d});x.attrHandle=X(function(a){return a.innerHTML="<a href='#'></a>",a.firstChild&&"undefined"!==typeof a.firstChild.getAttribute&&"#"===a.firstChild.getAttribute("href")})?{}:{href:function(a){return a.getAttribute("href",2)},type:function(a){return a.getAttribute("type")}};E.getIdNotName?(x.find.ID=function(a,b){if("undefined"!==typeof b.getElementById&&
130
+ !Q){var d=b.getElementById(a);return d&&d.parentNode?[d]:[]}},x.filter.ID=function(a){var b=a.replace(Y,Z);return function(a){return a.getAttribute("id")===b}}):(x.find.ID=function(a,b){if("undefined"!==typeof b.getElementById&&!Q){var d=b.getElementById(a);return d?d.id===a||"undefined"!==typeof d.getAttributeNode&&d.getAttributeNode("id").value===a?[d]:void 0:[]}},x.filter.ID=function(a){var b=a.replace(Y,Z);return function(a){return(a="undefined"!==typeof a.getAttributeNode&&a.getAttributeNode("id"))&&
131
+ a.value===b}});x.find.TAG=E.tagNameNoComments?function(a,b){return"undefined"!==typeof b.getElementsByTagName?b.getElementsByTagName(a):void 0}:function(a,b){var d,c=[],h=0,e=b.getElementsByTagName(a);if("*"===a){for(;d=e[h++];)1===d.nodeType&&c.push(d);return c}return e};x.find.NAME=E.getByName&&function(a,b){return"undefined"!==typeof b.getElementsByName?b.getElementsByName(name):void 0};x.find.CLASS=E.getByClassName&&function(a,b){return"undefined"===typeof b.getElementsByClassName||Q?void 0:b.getElementsByClassName(a)};
132
+ ra=[];S=[":focus"];(E.qsa=ub.test(b.querySelectorAll+""))&&(X(function(a){a.innerHTML="<select><option selected=''></option></select>";a.querySelectorAll("[selected]").length||S.push("\\[[\\x20\\t\\r\\n\\f]*(?:checked|disabled|ismap|multiple|readonly|selected|value)");a.querySelectorAll(":checked").length||S.push(":checked")}),X(function(a){a.innerHTML="<input type='hidden' i=''/>";a.querySelectorAll("[i^='']").length&&S.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:\"\"|'')");a.querySelectorAll(":enabled").length||
133
+ S.push(":enabled",":disabled");a.querySelectorAll("*,:x");S.push(",.*:")}));a=E;var d;d=Ua=I.matchesSelector||I.mozMatchesSelector||I.webkitMatchesSelector||I.oMatchesSelector||I.msMatchesSelector;d=ub.test(d+"");a=((a.matchesSelector=d)&&X(function(a){E.disconnectedMatch=Ua.call(a,"div");Ua.call(a,"[s!='']:x");ra.push("!=",tb)}),S=RegExp(S.join("|")),ra=RegExp(ra.join("|")),xa=ub.test(I.contains+"")||I.compareDocumentPosition?function(a,b){var d=9===a.nodeType?a.documentElement:a,c=b&&b.parentNode;
134
+ return a===c||!(!c||1!==c.nodeType||!(d.contains?d.contains(c):a.compareDocumentPosition&&16&a.compareDocumentPosition(c)))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1},sb=I.compareDocumentPosition?function(a,d){var c;return a===d?(qa=!0,0):(c=d.compareDocumentPosition&&a.compareDocumentPosition&&a.compareDocumentPosition(d))?1&c||a.parentNode&&11===a.parentNode.nodeType?a===b||xa(ga,a)?-1:d===b||xa(ga,d)?1:0:4&c?-1:1:a.compareDocumentPosition?-1:1}:function(a,d){var c,l=0;
135
+ c=a.parentNode;var h=d.parentNode,e=[a],j=[d];if(a===d)return qa=!0,0;if(!c||!h)return a===b?-1:d===b?1:c?-1:h?1:0;if(c===h)return ic(a,d);for(c=a;c=c.parentNode;)e.unshift(c);for(c=d;c=c.parentNode;)j.unshift(c);for(;e[l]===j[l];)l++;return l?ic(e[l],j[l]):e[l]===ga?-1:j[l]===ga?1:0},qa=!1,[0,0].sort(sb),E.detectDuplicates=qa,G)}else a=G;return a};y.matches=function(a,b){return y(a,null,null,b)};y.matchesSelector=function(a,b){if((a.ownerDocument||a)!==G&&ma(a),b=b.replace(sd,"='$1']"),!(!E.matchesSelector||
136
+ Q||ra&&ra.test(b)||S.test(b)))try{var d=Ua.call(a,b);if(d||E.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(c){}return 0<y(b,G,null,[a]).length};y.contains=function(a,b){return(a.ownerDocument||a)!==G&&ma(a),xa(a,b)};y.attr=function(a,b){var d;return(a.ownerDocument||a)!==G&&ma(a),Q||(b=b.toLowerCase()),(d=x.attrHandle[b])?d(a):Q||E.attributes?a.getAttribute(b):((d=a.getAttributeNode(b))||a.getAttribute(b))&&!0===a[b]?b:d&&d.specified?d.value:null};y.error=function(a){throw Error("Syntax error, unrecognized expression: "+
137
+ a);};y.uniqueSort=function(a){var b,d=[],c=1,g=0;if(qa=!E.detectDuplicates,a.sort(sb),qa){for(;b=a[c];c++)b===a[c-1]&&(g=d.push(c));for(;g--;)a.splice(d[g],1)}return a};Ta=y.getText=function(a){var b,d="",c=0;if(b=a.nodeType)if(1===b||9===b||11===b){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)d+=Ta(a)}else{if(3===b||4===b)return a.nodeValue}else for(;b=a[c];c++)d+=Ta(b);return d};x=y.selectors={cacheLength:50,createPseudo:P,match:Pa,find:{},relative:{">":{dir:"parentNode",
138
+ first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(Y,Z),a[3]=(a[4]||a[5]||"").replace(Y,Z),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||y.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&y.error(a[0]),a},PSEUDO:function(a){var b,d=!a[5]&&a[2];return Pa.CHILD.test(a[0])?
139
+ null:(a[4]?a[2]=a[4]:d&&od.test(d)&&(b=Ma(d,!0))&&(b=d.indexOf(")",d.length-b)-d.length)&&(a[0]=a[0].slice(0,b),a[2]=d.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){return"*"===a?function(){return!0}:(a=a.replace(Y,Z).toLowerCase(),function(b){return b.nodeName&&b.nodeName.toLowerCase()===a})},CLASS:function(a){var b=mc[a+" "];return b||(b=RegExp("(^|[\\x20\\t\\r\\n\\f])"+a+"([\\x20\\t\\r\\n\\f]|$)"))&&mc(a,function(a){return b.test(a.className||"undefined"!==typeof a.getAttribute&&a.getAttribute("class")||
140
+ "")})},ATTR:function(a,b,d){return function(c){c=y.attr(c,a);return null==c?"!="===b:b?(c+="","="===b?c===d:"!="===b?c!==d:"^="===b?d&&0===c.indexOf(d):"*="===b?d&&-1<c.indexOf(d):"$="===b?d&&c.slice(-d.length)===d:"~="===b?-1<(" "+c+" ").indexOf(d):"|="===b?c===d||c.slice(0,d.length+1)===d+"-":!1):!0}},CHILD:function(a,b,d,c,g){var k="nth"!==a.slice(0,3),l="last"!==a.slice(-4),h="of-type"===b;return 1===c&&0===g?function(a){return!!a.parentNode}:function(b,d,e){var j,m,n,q,s;d=k!==l?"nextSibling":
141
+ "previousSibling";var r=b.parentNode,v=h&&b.nodeName.toLowerCase();e=!e&&!h;if(r){if(k){for(;d;){for(m=b;m=m[d];)if(h?m.nodeName.toLowerCase()===v:1===m.nodeType)return!1;s=d="only"===a&&!s&&"nextSibling"}return!0}if(s=[l?r.firstChild:r.lastChild],l&&e){e=r[z]||(r[z]={});j=e[a]||[];q=j[0]===T&&j[1];n=j[0]===T&&j[2];for(m=q&&r.childNodes[q];m=++q&&m&&m[d]||(n=q=0)||s.pop();)if(1===m.nodeType&&++n&&m===b){e[a]=[T,q,n];break}}else if(e&&(j=(b[z]||(b[z]={}))[a])&&j[0]===T)n=j[1];else for(;(m=++q&&m&&
142
+ m[d]||(n=q=0)||s.pop())&&(!(h?m.nodeName.toLowerCase()===v:1===m.nodeType)||!++n||!(e&&((m[z]||(m[z]={}))[a]=[T,n]),m===b)););return n-=g,n===c||0===n%c&&0<=n/c}}},PSEUDO:function(a,b){var d,c=x.pseudos[a]||x.setFilters[a.toLowerCase()]||y.error("unsupported pseudo: "+a);return c[z]?c(b):1<c.length?(d=[a,a,"",b],x.setFilters.hasOwnProperty(a.toLowerCase())?P(function(a,d){for(var h,e=c(a,b),j=e.length;j--;)h=qb.call(a,e[j]),a[h]=!(d[h]=e[j])}):function(a){return c(a,0,d)}):c}},pseudos:{not:P(function(a){var b=
143
+ [],d=[],c=mb(a.replace(Oa,"$1"));return c[z]?P(function(a,b,d,h){var e;d=c(a,null,h,[]);for(h=a.length;h--;)(e=d[h])&&(a[h]=!(b[h]=e))}):function(a,k,h){return b[0]=a,c(b,null,h,d),!d.pop()}}),has:P(function(a){return function(b){return 0<y(a,b).length}}),contains:P(function(a){return function(b){return-1<(b.textContent||b.innerText||Ta(b)).indexOf(a)}}),lang:P(function(a){return pd.test(a||"")||y.error("unsupported lang: "+a),a=a.replace(Y,Z).toLowerCase(),function(b){var d;do if(d=Q?b.getAttribute("xml:lang")||
144
+ b.getAttribute("lang"):b.lang)return d=d.toLowerCase(),d===a||0===d.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(a){var b=e.location&&e.location.hash;return b&&b.slice(1)===a.id},root:function(a){return a===I},focus:function(a){return a===G.activeElement&&(!G.hasFocus||G.hasFocus())&&!(!a.type&&!a.href&&!~a.tabIndex)},enabled:function(a){return!1===a.disabled},disabled:function(a){return!0===a.disabled},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===
145
+ b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,!0===a.selected},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if("@"<a.nodeName||3===a.nodeType||4===a.nodeType)return!1;return!0},parent:function(a){return!x.pseudos.empty(a)},header:function(a){return rd.test(a.nodeName)},input:function(a){return qd.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;
146
+ return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||b.toLowerCase()===a.type)},first:ha(function(){return[0]}),last:ha(function(a,b){return[b-1]}),eq:ha(function(a,b,d){return[0>d?d+b:d]}),even:ha(function(a,b){for(var d=0;b>d;d+=2)a.push(d);return a}),odd:ha(function(a,b){for(var d=1;b>d;d+=2)a.push(d);return a}),lt:ha(function(a,b,d){for(b=0>d?d+b:d;0<=--b;)a.push(b);return a}),gt:ha(function(a,b,d){for(d=0>d?d+b:d;b>++d;)a.push(d);return a})}};for(pa in{radio:!0,
147
+ checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[pa]=id(pa);for(pa in{submit:!0,reset:!0})x.pseudos[pa]=jd(pa);mb=y.compile=function(a,b){var d,c=[],g=[],k=nc[a+" "];if(!k){b||(b=Ma(a));for(d=b.length;d--;)k=rb(b[d]),k[z]?c.push(k):g.push(k);var h=0,e=0<c.length,j=0<g.length;d=function(a,b,d,k,m){var n,q,s=[],r=0,v="0",w=a&&[],z=null!=m,A=Sa,H=a||j&&x.find.TAG("*",m&&b.parentNode||b),qc=T+=null==A?1:Math.random()||0.1;for(z&&(Sa=b!==G&&b,Qa=h);null!=(m=H[v]);v++){if(j&&m){for(n=0;q=g[n++];)if(q(m,
148
+ b,d)){k.push(m);break}z&&(T=qc,Qa=++h)}e&&((m=!q&&m)&&r--,a&&w.push(m))}if(r+=v,e&&v!==r){for(n=0;q=c[n++];)q(w,s,b,d);if(a){if(0<r)for(;v--;)w[v]||s[v]||(s[v]=nd.call(k));s=Ra(s)}na.apply(k,s);z&&!a&&0<s.length&&1<r+c.length&&y.uniqueSort(k)}return z&&(T=qc,Sa=A),w};d=e?P(d):d;k=nc(a,d)}return k};x.pseudos.nth=x.pseudos.eq;x.filters=kc.prototype=x.pseudos;x.setFilters=new kc;ma();y.attr=c.attr;c.find=y;c.expr=y.selectors;c.expr[":"]=c.expr.pseudos;c.unique=y.uniqueSort;c.text=y.getText;c.isXMLDoc=
149
+ y.isXML;c.contains=y.contains;var td=/Until$/,ud=/^(?:parents|prev(?:Until|All))/,Ic=/^.[^:#\[\.,]*$/,rc=c.expr.match.needsContext,vd={children:!0,contents:!0,next:!0,prev:!0};c.fn.extend({find:function(a){var b,d,f,g=this.length;if("string"!=typeof a)return f=this,this.pushStack(c(a).filter(function(){for(b=0;g>b;b++)if(c.contains(f[b],this))return!0}));d=[];for(b=0;g>b;b++)c.find(a,this[b],d);return d=this.pushStack(1<g?c.unique(d):d),d.selector=(this.selector?this.selector+" ":"")+a,d},has:function(a){var b,
150
+ d=c(a,this),f=d.length;return this.filter(function(){for(b=0;f>b;b++)if(c.contains(this,d[b]))return!0})},not:function(a){return this.pushStack(Cb(this,a,!1))},filter:function(a){return this.pushStack(Cb(this,a,!0))},is:function(a){return!!a&&("string"==typeof a?rc.test(a)?0<=c(a,this.context).index(this[0]):0<c.filter(a,this).length:0<this.filter(a).length)},closest:function(a,b){for(var d,f=0,g=this.length,k=[],h=rc.test(a)||"string"!=typeof a?c(a,b||this.context):0;g>f;f++)for(d=this[f];d&&d.ownerDocument&&
151
+ d!==b&&11!==d.nodeType;){if(h?-1<h.index(d):c.find.matchesSelector(d,a)){k.push(d);break}d=d.parentNode}return this.pushStack(1<k.length?c.unique(k):k)},index:function(a){return a?"string"==typeof a?c.inArray(this[0],c(a)):c.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){var d="string"==typeof a?c(a,b):c.makeArray(a&&a.nodeType?[a]:a),d=c.merge(this.get(),d);return this.pushStack(c.unique(d))},addBack:function(a){return this.add(null==
152
+ a?this.prevObject:this.prevObject.filter(a))}});c.fn.andSelf=c.fn.addBack;c.each({parent:function(a){return(a=a.parentNode)&&11!==a.nodeType?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return za(a,"nextSibling")},prev:function(a){return za(a,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,
153
+ "nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.merge([],a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var g=c.map(this,b,d);return td.test(a)||(f=d),f&&"string"==typeof f&&(g=c.filter(f,g)),g=1<this.length&&!vd[a]?c.unique(g):g,1<this.length&&
154
+ ud.test(a)&&(g=g.reverse()),this.pushStack(g)}});c.extend({filter:function(a,b,d){return d&&(a=":not("+a+")"),1===b.length?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&9!==a.nodeType&&(d===h||1!==a.nodeType||!c(a).is(d));)1===a.nodeType&&f.push(a),a=a[b];return f},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}});var Fb="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
155
+ wd=/ jQuery\d+="(?:null|\d+)"/g,sc=RegExp("<(?:"+Fb+")[\\s/>]","i"),vb=/^\s+/,tc=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,uc=/<([\w:]+)/,vc=/<tbody/i,xd=/<|&#?\w+;/,yd=/<(?:script|style|link)/i,Ya=/^(?:checkbox|radio)$/i,zd=/checked\s*(?:[^=]|=\s*.checked.)/i,wc=/^$|\/(?:java|ecma)script/i,Jc=/^true\/(.*)/,Ad=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,L={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],
156
+ param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:c.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},wb=Db(r).appendChild(r.createElement("div"));L.optgroup=L.option;L.tbody=L.tfoot=L.colgroup=L.caption=L.thead;L.th=L.td;c.fn.extend({text:function(a){return c.access(this,function(a){return a===h?c.text(this):this.empty().append((this[0]&&
157
+ this[0].ownerDocument||r).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapAll(a.call(this,b))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&1===a.firstChild.nodeType;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return c.isFunction(a)?this.each(function(b){c(this).wrapInner(a.call(this,
158
+ b))}):this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){var b=c.isFunction(a);return this.each(function(d){c(this).wrapAll(b?a.call(this,d):a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,
159
+ !0,function(a){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.insertBefore(a,this.firstChild)})},before:function(){return this.domManip(arguments,!1,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,!1,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var d,f=0;null!=(d=this[f]);f++)(!a||0<c.filter(a,[d]).length)&&(b||1!==d.nodeType||c.cleanData(D(d)),d.parentNode&&
160
+ (b&&c.contains(d.ownerDocument,d)&&Xa(D(d,"script")),d.parentNode.removeChild(d)));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){for(1===a.nodeType&&c.cleanData(D(a,!1));a.firstChild;)a.removeChild(a.firstChild);a.options&&c.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return c.clone(this,a,b)})},html:function(a){return c.access(this,function(a){var d=this[0]||{},f=0,g=this.length;if(a===h)return 1===
161
+ d.nodeType?d.innerHTML.replace(wd,""):h;if(!("string"!=typeof a||yd.test(a)||!c.support.htmlSerialize&&sc.test(a)||!c.support.leadingWhitespace&&vb.test(a)||L[(uc.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(tc,"<$1></$2>");try{for(;g>f;f++)d=this[f]||{},1===d.nodeType&&(c.cleanData(D(d,!1)),d.innerHTML=a);d=0}catch(k){}}d&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(a){return c.isFunction(a)||"string"==typeof a||(a=c(a).not(this).detach()),this.domManip([a],!0,function(a){var d=
162
+ this.nextSibling,f=this.parentNode;f&&(c(this).remove(),f.insertBefore(a,d))})},detach:function(a){return this.remove(a,!0)},domManip:function(a,b,d){a=Yb.apply([],a);var f,g,k,l,e=0,j=this.length,m=this,n=j-1,p=a[0],q=c.isFunction(p);if(q||!(1>=j||"string"!=typeof p||c.support.checkClone)&&zd.test(p))return this.each(function(c){var g=m.eq(c);q&&(a[0]=p.call(this,c,b?g.html():h));g.domManip(a,b,d)});if(j&&(l=c.buildFragment(a,this[0].ownerDocument,!1,this),f=l.firstChild,1===l.childNodes.length&&
163
+ (l=f),f)){b=b&&c.nodeName(f,"tr");k=c.map(D(l,"script"),Eb);for(g=k.length;j>e;e++)f=l,e!==n&&(f=c.clone(f,!0,!0),g&&c.merge(k,D(f,"script"))),d.call(b&&c.nodeName(this[e],"table")?this[e].getElementsByTagName("tbody")[0]||this[e].appendChild(this[e].ownerDocument.createElement("tbody")):this[e],f,e);if(g){l=k[k.length-1].ownerDocument;c.map(k,Gb);for(e=0;g>e;e++)f=k[e],wc.test(f.type||"")&&!c._data(f,"globalEval")&&c.contains(l,f)&&(f.src?c.ajax({url:f.src,type:"GET",dataType:"script",async:!1,global:!1,
164
+ "throws":!0}):c.globalEval((f.text||f.textContent||f.innerHTML||"").replace(Ad,"")))}l=f=null}return this}});c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(a){for(var f=0,g=[],k=c(a),h=k.length-1;h>=f;f++)a=f===h?this:this.clone(!0),c(k[f])[b](a),bb.apply(g,a.get());return this.pushStack(g)}});c.extend({clone:function(a,b,d){var f,g,k,h,e,j=c.contains(a.ownerDocument,a);if(c.support.html5Clone||c.isXMLDoc(a)||
165
+ !sc.test("<"+a.nodeName+">")?k=a.cloneNode(!0):(wb.innerHTML=a.outerHTML,wb.removeChild(k=wb.firstChild)),!(c.support.noCloneEvent&&c.support.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||c.isXMLDoc(a))){f=D(k);e=D(a);for(h=0;null!=(g=e[h]);++h)if(f[h]){var m=f[h],n=void 0,p=void 0,q=void 0;if(1===m.nodeType){if(n=m.nodeName.toLowerCase(),!c.support.noCloneEvent&&m[c.expando]){q=c._data(m);for(p in q.events)c.removeEvent(m,p,q.handle);m.removeAttribute(c.expando)}"script"===n&&m.text!==g.text?
166
+ (Eb(m).text=g.text,Gb(m)):"object"===n?(m.parentNode&&(m.outerHTML=g.outerHTML),c.support.html5Clone&&g.innerHTML&&!c.trim(m.innerHTML)&&(m.innerHTML=g.innerHTML)):"input"===n&&Ya.test(g.type)?(m.defaultChecked=m.checked=g.checked,m.value!==g.value&&(m.value=g.value)):"option"===n?m.defaultSelected=m.selected=g.defaultSelected:("input"===n||"textarea"===n)&&(m.defaultValue=g.defaultValue)}}}if(b)if(d){e=e||D(a);f=f||D(k);for(h=0;null!=(g=e[h]);h++)Hb(g,f[h])}else Hb(a,k);return f=D(k,"script"),0<
167
+ f.length&&Xa(f,!j&&D(a,"script")),k},buildFragment:function(a,b,d,f){for(var g,k,h,e,j,m,n,p=a.length,q=Db(b),s=[],r=0;p>r;r++)if(k=a[r],k||0===k)if("object"===c.type(k))c.merge(s,k.nodeType?[k]:k);else if(xd.test(k)){e=e||q.appendChild(b.createElement("div"));j=(uc.exec(k)||["",""])[1].toLowerCase();n=L[j]||L._default;e.innerHTML=n[1]+k.replace(tc,"<$1></$2>")+n[2];for(g=n[0];g--;)e=e.lastChild;if(!c.support.leadingWhitespace&&vb.test(k)&&s.push(b.createTextNode(vb.exec(k)[0])),!c.support.tbody)for(g=
168
+ (k="table"!==j||vc.test(k)?"<table>"!==n[1]||vc.test(k)?0:e:e.firstChild)&&k.childNodes.length;g--;)c.nodeName(m=k.childNodes[g],"tbody")&&!m.childNodes.length&&k.removeChild(m);c.merge(s,e.childNodes);for(e.textContent="";e.firstChild;)e.removeChild(e.firstChild);e=q.lastChild}else s.push(b.createTextNode(k));e&&q.removeChild(e);c.support.appendChecked||c.grep(D(s,"input"),Kc);for(r=0;k=s[r++];)if((!f||-1===c.inArray(k,f))&&(h=c.contains(k.ownerDocument,k),e=D(q.appendChild(k),"script"),h&&Xa(e),
169
+ d))for(g=0;k=e[g++];)wc.test(k.type||"")&&d.push(k);return q},cleanData:function(a,b){for(var d,f,g,k,h=0,e=c.expando,j=c.cache,m=c.support.deleteExpando,n=c.event.special;null!=(d=a[h]);h++)if((b||c.acceptData(d))&&(g=d[e],k=g&&j[g])){if(k.events)for(f in k.events)n[f]?c.event.remove(d,f):c.removeEvent(d,f,k.handle);j[g]&&(delete j[g],m?delete d[e]:typeof d.removeAttribute!==R?d.removeAttribute(e):d[e]=null,ja.push(g))}}});var ua,ca,da,xb=/alpha\([^)]*\)/i,Bd=/opacity\s*=\s*([^)]*)/,Cd=/^(top|right|bottom|left)$/,
170
+ Dd=/^(none|table(?!-c[ea]).+)/,xc=/^margin/,Lc=RegExp("^("+Ha+")(.*)$","i"),Ba=RegExp("^("+Ha+")(?!px)[a-z%]+$","i"),Ed=RegExp("^([+-])=("+Ha+")","i"),Pb={BODY:"block"},Fd={position:"absolute",visibility:"hidden",display:"block"},yc={letterSpacing:0,fontWeight:400},ba=["Top","Right","Bottom","Left"],Ib=["Webkit","O","Moz","ms"];c.fn.extend({css:function(a,b){return c.access(this,function(a,b,g){var k,e={},j=0;if(c.isArray(b)){k=ca(a);for(g=b.length;g>j;j++)e[b[j]]=c.css(a,b[j],!1,k);return e}return g!==
171
+ h?c.style(a,b,g):c.css(a,b)},a,b,1<arguments.length)},show:function(){return Lb(this,!0)},hide:function(){return Lb(this)},toggle:function(a){var b="boolean"==typeof a;return this.each(function(){(b?a:ta(this))?c(this).show():c(this).hide()})}});c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=da(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":c.support.cssFloat?
172
+ "cssFloat":"styleFloat"},style:function(a,b,d,f){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var g,k,e,j=c.camelCase(b),m=a.style;if(b=c.cssProps[j]||(c.cssProps[j]=Jb(m,j)),e=c.cssHooks[b]||c.cssHooks[j],d===h)return e&&"get"in e&&(g=e.get(a,!1,f))!==h?g:m[b];if(k=typeof d,"string"===k&&(g=Ed.exec(d))&&(d=(g[1]+1)*g[2]+parseFloat(c.css(a,b)),k="number"),!(null==d||"number"===k&&isNaN(d)||("number"!==k||c.cssNumber[j]||(d+="px"),c.support.clearCloneStyle||""!==d||0!==b.indexOf("background")||(m[b]=
173
+ "inherit"),e&&"set"in e&&(d=e.set(a,d,f))===h)))try{m[b]=d}catch(n){}}},css:function(a,b,d,f){var g,k,e,j=c.camelCase(b);return b=c.cssProps[j]||(c.cssProps[j]=Jb(a.style,j)),e=c.cssHooks[b]||c.cssHooks[j],e&&"get"in e&&(k=e.get(a,!0,d)),k===h&&(k=da(a,b,f)),"normal"===k&&b in yc&&(k=yc[b]),""===d||d?(g=parseFloat(k),!0===d||c.isNumeric(g)?g||0:k):k},swap:function(a,b,c,f){var g,k={};for(g in b)k[g]=a.style[g],a.style[g]=b[g];c=c.apply(a,f||[]);for(g in b)a.style[g]=k[g];return c}});e.getComputedStyle?
174
+ (ca=function(a){return e.getComputedStyle(a,null)},da=function(a,b,d){var f,g,k,e=(d=d||ca(a))?d.getPropertyValue(b)||d[b]:h,j=a.style;return d&&(""!==e||c.contains(a.ownerDocument,a)||(e=c.style(a,b)),Ba.test(e)&&xc.test(b)&&(f=j.width,g=j.minWidth,k=j.maxWidth,j.minWidth=j.maxWidth=j.width=e,e=d.width,j.width=f,j.minWidth=g,j.maxWidth=k)),e}):r.documentElement.currentStyle&&(ca=function(a){return a.currentStyle},da=function(a,b,c){var f,g,k;c=(c=c||ca(a))?c[b]:h;var e=a.style;return null==c&&e&&
175
+ e[b]&&(c=e[b]),Ba.test(c)&&!Cd.test(b)&&(f=e.left,g=a.runtimeStyle,k=g&&g.left,k&&(g.left=a.currentStyle.left),e.left="fontSize"===b?"1em":c,c=e.pixelLeft+"px",e.left=f,k&&(g.left=k)),""===c?"auto":c});c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(a,f,g){return f?0===a.offsetWidth&&Dd.test(c.css(a,"display"))?c.swap(a,Fd,function(){return Ob(a,b,g)}):Ob(a,b,g):h},set:function(a,f,g){var k=g&&ca(a);return Mb(a,f,g?Nb(a,b,g,c.support.boxSizing&&"border-box"===c.css(a,"boxSizing",
176
+ !1,k),k):0)}}});c.support.opacity||(c.cssHooks.opacity={get:function(a,b){return Bd.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?0.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var d=a.style,f=a.currentStyle,g=c.isNumeric(b)?"alpha(opacity="+100*b+")":"",k=f&&f.filter||d.filter||"";d.zoom=1;(1<=b||""===b)&&""===c.trim(k.replace(xb,""))&&d.removeAttribute&&(d.removeAttribute("filter"),""===b||f&&!f.filter)||(d.filter=xb.test(k)?k.replace(xb,g):k+" "+g)}});c(function(){c.support.reliableMarginRight||
177
+ (c.cssHooks.marginRight={get:function(a,b){return b?c.swap(a,{display:"inline-block"},da,[a,"marginRight"]):h}});!c.support.pixelPosition&&c.fn.position&&c.each(["top","left"],function(a,b){c.cssHooks[b]={get:function(a,f){return f?(f=da(a,b),Ba.test(f)?c(a).position()[b]+"px":f):h}}})});c.expr&&c.expr.filters&&(c.expr.filters.hidden=function(a){return 0>=a.offsetWidth&&0>=a.offsetHeight||!c.support.reliableHiddenOffsets&&"none"===(a.style&&a.style.display||c.css(a,"display"))},c.expr.filters.visible=
178
+ function(a){return!c.expr.filters.hidden(a)});c.each({margin:"",padding:"",border:"Width"},function(a,b){c.cssHooks[a+b]={expand:function(c){var f=0,g={};for(c="string"==typeof c?c.split(" "):[c];4>f;f++)g[a+ba[f]+b]=c[f]||c[f-2]||c[0];return g}};xc.test(a)||(c.cssHooks[a+b].set=Mb)});var Gd=/%20/g,Mc=/\[\]$/,zc=/\r?\n/g,Hd=/^(?:submit|button|image|reset|file)$/i,Id=/^(?:input|select|textarea|keygen)/i;c.fn.extend({serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=
179
+ c.prop(this,"elements");return a?c.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!c(this).is(":disabled")&&Id.test(this.nodeName)&&!Hd.test(a)&&(this.checked||!Ya.test(a))}).map(function(a,b){var d=c(this).val();return null==d?null:c.isArray(d)?c.map(d,function(a){return{name:b.name,value:a.replace(zc,"\r\n")}}):{name:b.name,value:d.replace(zc,"\r\n")}}).get()}});c.param=function(a,b){var d,f=[],g=function(a,b){b=c.isFunction(b)?b():null==b?"":b;f[f.length]=encodeURIComponent(a)+
180
+ "="+encodeURIComponent(b)};if(b===h&&(b=c.ajaxSettings&&c.ajaxSettings.traditional),c.isArray(a)||a.jquery&&!c.isPlainObject(a))c.each(a,function(){g(this.name,this.value)});else for(d in a)Za(d,a[d],b,g);return f.join("&").replace(Gd,"+")};c.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(" "),function(a,b){c.fn[b]=function(a,c){return 0<
181
+ arguments.length?this.on(b,null,a,c):this.trigger(b)}});c.fn.hover=function(a,b){return this.mouseenter(a).mouseleave(b||a)};var ia,aa,yb=c.now(),zb=/\?/,Jd=/#.*$/,Ac=/([?&])_=[^&]*/,Kd=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ld=/^(?:GET|HEAD)$/,Md=/^\/\//,Bc=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Cc=c.fn.load,Dc={},$a={},Ec="*/".concat("*");try{aa=Oc.href}catch(Td){aa=r.createElement("a"),aa.href="",aa=aa.href}ia=Bc.exec(aa.toLowerCase())||[];c.fn.load=function(a,b,d){if("string"!=typeof a&&Cc)return Cc.apply(this,
182
+ arguments);var f,g,k,e=this,j=a.indexOf(" ");return 0<=j&&(f=a.slice(j,a.length),a=a.slice(0,j)),c.isFunction(b)?(d=b,b=h):b&&"object"==typeof b&&(k="POST"),0<e.length&&c.ajax({url:a,type:k,dataType:"html",data:b}).done(function(a){g=arguments;e.html(f?c("<div>").append(c.parseHTML(a)).find(f):a)}).complete(d&&function(a,b){e.each(d,g||[a.responseText,b,a])}),this};c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(a){return this.on(b,
183
+ a)}});c.each(["get","post"],function(a,b){c[b]=function(a,f,g,k){return c.isFunction(f)&&(k=k||g,g=f,f=h),c.ajax({url:a,type:b,dataType:k,data:f,success:g})}});c.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:aa,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ia[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ec,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},
184
+ contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":c.parseJSON,"text xml":c.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?ab(ab(a,c.ajaxSettings),b):ab(c.ajaxSettings,a)},ajaxPrefilter:Rb(Dc),ajaxTransport:Rb($a),ajax:function(a,b){function d(a,b,d,g){var f,q,u,y,z,F=b;if(2!==H){H=2;j&&clearTimeout(j);n=h;e=g||"";A.readyState=0<a?4:0;if(d){y=p;g=A;var B,N,E,D,K=y.contents,
185
+ G=y.dataTypes,M=y.responseFields;for(D in M)D in d&&(g[M[D]]=d[D]);for(;"*"===G[0];)G.shift(),N===h&&(N=y.mimeType||g.getResponseHeader("Content-Type"));if(N)for(D in K)if(K[D]&&K[D].test(N)){G.unshift(D);break}if(G[0]in d)E=G[0];else{for(D in d){if(!G[0]||y.converters[D+" "+G[0]]){E=D;break}B||(B=D)}E=E||B}y=E?(E!==G[0]&&G.unshift(E),d[E]):h}if(200<=a&&300>a||304===a)if(p.ifModified&&(z=A.getResponseHeader("Last-Modified"),z&&(c.lastModified[k]=z),z=A.getResponseHeader("etag"),z&&(c.etag[k]=z)),
186
+ 204===a)f=!0,F="nocontent";else if(304===a)f=!0,F="notmodified";else{var I;a:{d=p;f=y;var O,L;u={};z=0;F=d.dataTypes.slice();B=F[0];if(d.dataFilter&&(f=d.dataFilter(f,d.dataType)),F[1])for(O in d.converters)u[O.toLowerCase()]=d.converters[O];for(;q=F[++z];)if("*"!==q){if("*"!==B&&B!==q){if(O=u[B+" "+q]||u["* "+q],!O)for(I in u)if(L=I.split(" "),L[1]===q&&(O=u[B+" "+L[0]]||u["* "+L[0]])){!0===O?O=u[I]:!0!==u[I]&&(q=L[0],F.splice(z--,0,q));break}if(!0!==O)if(O&&d["throws"])f=O(f);else try{f=O(f)}catch(za){I=
187
+ {state:"parsererror",error:O?za:"No conversion from "+B+" to "+q};break a}}B=q}I={state:"success",data:f}}f=I;F=f.state;q=f.data;u=f.error;f=!u}else u=F,(a||!F)&&(F="error",0>a&&(a=0));A.status=a;A.statusText=(b||F)+"";f?v.resolveWith(s,[q,F,A]):v.rejectWith(s,[A,F,u]);A.statusCode(x);x=h;m&&r.trigger(f?"ajaxSuccess":"ajaxError",[A,p,f?q:u]);w.fireWith(s,[A,F]);m&&(r.trigger("ajaxComplete",[A,p]),--c.active||c.event.trigger("ajaxStop"))}}"object"==typeof a&&(b=a,a=h);b=b||{};var f,g,k,e,j,m,n,q,p=
188
+ c.ajaxSetup({},b),s=p.context||p,r=p.context&&(s.nodeType||s.jquery)?c(s):c.event,v=c.Deferred(),w=c.Callbacks("once memory"),x=p.statusCode||{},y={},z={},H=0,F="canceled",A={readyState:0,getResponseHeader:function(a){var b;if(2===H){if(!q)for(q={};b=Kd.exec(e);)q[b[1].toLowerCase()]=b[2];b=q[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===H?e:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return H||(a=z[c]=z[c]||a,y[a]=b),this},overrideMimeType:function(a){return H||
189
+ (p.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>H)for(b in a)x[b]=[x[b],a[b]];else A.always(a[A.status]);return this},abort:function(a){a=a||F;return n&&n.abort(a),d(0,a),this}};if(v.promise(A).complete=w.add,A.success=A.done,A.error=A.fail,p.url=((a||p.url||aa)+"").replace(Jd,"").replace(Md,ia[1]+"//"),p.type=b.method||b.type||p.method||p.type,p.dataTypes=c.trim(p.dataType||"*").toLowerCase().match(U)||[""],null==p.crossDomain&&(f=Bc.exec(p.url.toLowerCase()),p.crossDomain=!(!f||f[1]===
190
+ ia[1]&&f[2]===ia[2]&&(f[3]||("http:"===f[1]?80:443))==(ia[3]||("http:"===ia[1]?80:443)))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=c.param(p.data,p.traditional)),Sb(Dc,p,b,A),2===H)return A;(m=p.global)&&0===c.active++&&c.event.trigger("ajaxStart");p.type=p.type.toUpperCase();p.hasContent=!Ld.test(p.type);k=p.url;p.hasContent||(p.data&&(k=p.url+=(zb.test(k)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=Ac.test(k)?k.replace(Ac,"$1_="+yb++):k+(zb.test(k)?"&":"?")+"_="+yb++));p.ifModified&&
191
+ (c.lastModified[k]&&A.setRequestHeader("If-Modified-Since",c.lastModified[k]),c.etag[k]&&A.setRequestHeader("If-None-Match",c.etag[k]));(p.data&&p.hasContent&&!1!==p.contentType||b.contentType)&&A.setRequestHeader("Content-Type",p.contentType);A.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ec+"; q=0.01":""):p.accepts["*"]);for(g in p.headers)A.setRequestHeader(g,p.headers[g]);if(p.beforeSend&&(!1===p.beforeSend.call(s,A,p)||
192
+ 2===H))return A.abort();F="abort";for(g in{success:1,error:1,complete:1})A[g](p[g]);if(n=Sb($a,p,b,A)){A.readyState=1;m&&r.trigger("ajaxSend",[A,p]);p.async&&0<p.timeout&&(j=setTimeout(function(){A.abort("timeout")},p.timeout));try{H=1,n.send(y,d)}catch(B){if(!(2>H))throw B;d(-1,B)}}else d(-1,"No Transport");return A},getScript:function(a,b){return c.get(a,h,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")}});c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
193
+ contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return c.globalEval(a),a}}});c.ajaxPrefilter("script",function(a){a.cache===h&&(a.cache=!1);a.crossDomain&&(a.type="GET",a.global=!1)});c.ajaxTransport("script",function(a){if(a.crossDomain){var b,d=r.head||c("head")[0]||r.documentElement;return{send:function(c,g){b=r.createElement("script");b.async=!0;a.scriptCharset&&(b.charset=a.scriptCharset);b.src=a.url;b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||
194
+ /loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||g(200,"success"))};d.insertBefore(b,d.firstChild)},abort:function(){b&&b.onload(h,!0)}}}});var Fc=[],Ab=/(=)\?(?=&|$)|\?\?/;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Fc.pop()||c.expando+"_"+yb++;return this[a]=!0,a}});c.ajaxPrefilter("json jsonp",function(a,b,d){var f,g,k,j=!1!==a.jsonp&&(Ab.test(a.url)?"url":"string"==typeof a.data&&!(a.contentType||"").indexOf("application/x-www-form-urlencoded")&&
195
+ Ab.test(a.data)&&"data");return j||"jsonp"===a.dataTypes[0]?(f=a.jsonpCallback=c.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,j?a[j]=a[j].replace(Ab,"$1"+f):!1!==a.jsonp&&(a.url+=(zb.test(a.url)?"&":"?")+a.jsonp+"="+f),a.converters["script json"]=function(){return k||c.error(f+" was not called"),k[0]},a.dataTypes[0]="json",g=e[f],e[f]=function(){k=arguments},d.always(function(){e[f]=g;a[f]&&(a.jsonpCallback=b.jsonpCallback,Fc.push(f));k&&c.isFunction(g)&&g(k[0]);k=g=h}),"script"):
196
+ h});var sa,ya,Nd=0,Bb=e.ActiveXObject&&function(){for(var a in sa)sa[a](h,!0)};c.ajaxSettings.xhr=e.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&Tb()))a:{try{a=new e.ActiveXObject("Microsoft.XMLHTTP");break a}catch(b){}a=void 0}return a}:Tb;ya=c.ajaxSettings.xhr();c.support.cors=!!ya&&"withCredentials"in ya;(ya=c.support.ajax=!!ya)&&c.ajaxTransport(function(a){if(!a.crossDomain||c.support.cors){var b;return{send:function(d,f){var g,k,j=a.xhr();if(a.username?j.open(a.type,a.url,a.async,a.username,
197
+ a.password):j.open(a.type,a.url,a.async),a.xhrFields)for(k in a.xhrFields)j[k]=a.xhrFields[k];a.mimeType&&j.overrideMimeType&&j.overrideMimeType(a.mimeType);a.crossDomain||d["X-Requested-With"]||(d["X-Requested-With"]="XMLHttpRequest");try{for(k in d)j.setRequestHeader(k,d[k])}catch(m){}j.send(a.hasContent&&a.data||null);b=function(d,k){var e,m,t,n;try{if(b&&(k||4===j.readyState))if(b=h,g&&(j.onreadystatechange=c.noop,Bb&&delete sa[g]),k)4!==j.readyState&&j.abort();else{n={};e=j.status;m=j.getAllResponseHeaders();
198
+ "string"==typeof j.responseText&&(n.text=j.responseText);try{t=j.statusText}catch(q){t=""}e||!a.isLocal||a.crossDomain?1223===e&&(e=204):e=n.text?200:404}}catch(s){k||f(-1,s)}n&&f(e,t,n,m)};a.async?4===j.readyState?setTimeout(b):(g=++Nd,Bb&&(sa||(sa={},c(e).unload(Bb)),sa[g]=b),j.onreadystatechange=b):b()},abort:function(){b&&b(h,!0)}}}});var ka,Wa,Od=/^(?:toggle|show|hide)$/,Pd=RegExp("^(?:([+-])=|)("+Ha+")([a-z%]*)$","i"),Qd=/queueHooks$/,Ca=[function(a,b,d){var f,g,e,h,j,m,n=this,q=a.style,p={},
199
+ s=[],r=a.nodeType&&ta(a);d.queue||(j=c._queueHooks(a,"fx"),null==j.unqueued&&(j.unqueued=0,m=j.empty.fire,j.empty.fire=function(){j.unqueued||m()}),j.unqueued++,n.always(function(){n.always(function(){j.unqueued--;c.queue(a,"fx").length||j.empty.fire()})}));1===a.nodeType&&("height"in b||"width"in b)&&(d.overflow=[q.overflow,q.overflowX,q.overflowY],"inline"===c.css(a,"display")&&"none"===c.css(a,"float")&&(c.support.inlineBlockNeedsLayout&&"inline"!==Kb(a.nodeName)?q.zoom=1:q.display="inline-block"));
200
+ d.overflow&&(q.overflow="hidden",c.support.shrinkWrapBlocks||n.always(function(){q.overflow=d.overflow[0];q.overflowX=d.overflow[1];q.overflowY=d.overflow[2]}));for(g in b)if(e=b[g],Od.exec(e))(delete b[g],f=f||"toggle"===e,e===(r?"hide":"show"))||s.push(g);if(b=s.length){e=c._data(a,"fxshow")||c._data(a,"fxshow",{});"hidden"in e&&(r=e.hidden);f&&(e.hidden=!r);r?c(a).show():n.done(function(){c(a).hide()});n.done(function(){var b;c._removeData(a,"fxshow");for(b in p)c.style(a,b,p[b])});for(g=0;b>g;g++)f=
201
+ s[g],h=n.createTween(f,r?e[f]:0),p[f]=e[f]||c.style(a,f),f in e||(e[f]=h.start,r&&(h.end=h.start,h.start="width"===f||"height"===f?1:0))}}],va={"*":[function(a,b){var d,f,g=this.createTween(a,b),e=Pd.exec(b),h=g.cur(),j=+h||0,m=1,n=20;if(e){if(d=+e[2],f=e[3]||(c.cssNumber[a]?"":"px"),"px"!==f&&j){j=c.css(g.elem,a,!0)||d||1;do m=m||".5",j/=m,c.style(g.elem,a,j+f);while(m!==(m=g.cur()/h)&&1!==m&&--n)}g.unit=f;g.start=j;g.end=e[1]?j+(e[1]+1)*d:d}return g}]};c.Animation=c.extend(Vb,{tweener:function(a,
202
+ b){c.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var d,f=0,g=a.length;g>f;f++)d=a[f],va[d]=va[d]||[],va[d].unshift(b)},prefilter:function(a,b){b?Ca.unshift(a):Ca.push(a)}});c.Tween=M;M.prototype={constructor:M,init:function(a,b,d,f,g,e){this.elem=a;this.prop=d;this.easing=g||"swing";this.options=b;this.start=this.now=this.cur();this.end=f;this.unit=e||(c.cssNumber[d]?"":"px")},cur:function(){var a=M.propHooks[this.prop];return a&&a.get?a.get(this):M.propHooks._default.get(this)},run:function(a){var b,
203
+ d=M.propHooks[this.prop];return this.pos=b=this.options.duration?c.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),d&&d.set?d.set(this):M.propHooks._default.set(this),this}};M.prototype.init.prototype=M.prototype;M.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=c.css(a.elem,a.prop,""),b&&"auto"!==
204
+ b?b:0):a.elem[a.prop]},set:function(a){c.fx.step[a.prop]?c.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[c.cssProps[a.prop]]||c.cssHooks[a.prop])?c.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}};M.propHooks.scrollTop=M.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}};c.each(["toggle","show","hide"],function(a,b){var d=c.fn[b];c.fn[b]=function(a,c,e){return null==a||"boolean"==typeof a?d.apply(this,arguments):this.animate(Ea(b,!0),
205
+ a,c,e)}});c.fn.extend({fadeTo:function(a,b,c,f){return this.filter(ta).css("opacity",0).show().end().animate({opacity:b},a,c,f)},animate:function(a,b,d,f){var g=c.isEmptyObject(a),e=c.speed(b,d,f),h=function(){var b=Vb(this,c.extend({},a),e);h.finish=function(){b.stop(!0)};(g||c._data(this,"finish"))&&b.stop(!0)};return h.finish=h,g||!1===e.queue?this.each(h):this.queue(e.queue,h)},stop:function(a,b,d){var f=function(a){var b=a.stop;delete a.stop;b(d)};return"string"!=typeof a&&(d=b,b=a,a=h),b&&!1!==
206
+ a&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",h=c.timers,j=c._data(this);if(e)j[e]&&j[e].stop&&f(j[e]);else for(e in j)j[e]&&j[e].stop&&Qd.test(e)&&f(j[e]);for(e=h.length;e--;)h[e].elem!==this||null!=a&&h[e].queue!==a||(h[e].anim.stop(d),b=!1,h.splice(e,1));(b||!d)&&c.dequeue(this,a)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var b,d=c._data(this),f=d[a+"queue"];b=d[a+"queueHooks"];var g=c.timers,e=f?f.length:0;d.finish=!0;c.queue(this,
207
+ a,[]);b&&b.cur&&b.cur.finish&&b.cur.finish.call(this);for(b=g.length;b--;)g[b].elem===this&&g[b].queue===a&&(g[b].anim.stop(!0),g.splice(b,1));for(b=0;e>b;b++)f[b]&&f[b].finish&&f[b].finish.call(this);delete d.finish})}});c.each({slideDown:Ea("show"),slideUp:Ea("hide"),slideToggle:Ea("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(a,c,g){return this.animate(b,a,c,g)}});c.speed=function(a,b,d){var f=a&&"object"==typeof a?c.extend({},
208
+ a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};return f.duration=c.fx.off?0:"number"==typeof f.duration?f.duration:f.duration in c.fx.speeds?c.fx.speeds[f.duration]:c.fx.speeds._default,(null==f.queue||!0===f.queue)&&(f.queue="fx"),f.old=f.complete,f.complete=function(){c.isFunction(f.old)&&f.old.call(this);f.queue&&c.dequeue(this,f.queue)},f};c.easing={linear:function(a){return a},swing:function(a){return 0.5-Math.cos(a*Math.PI)/2}};c.timers=[];c.fx=M.prototype.init;
209
+ c.fx.tick=function(){var a,b=c.timers,d=0;for(ka=c.now();b.length>d;d++)a=b[d],a()||b[d]!==a||b.splice(d--,1);b.length||c.fx.stop();ka=h};c.fx.timer=function(a){a()&&c.timers.push(a)&&c.fx.start()};c.fx.interval=13;c.fx.start=function(){Wa||(Wa=setInterval(c.fx.tick,c.fx.interval))};c.fx.stop=function(){clearInterval(Wa);Wa=null};c.fx.speeds={slow:600,fast:200,_default:400};c.fx.step={};c.expr&&c.expr.filters&&(c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length});
210
+ c.fn.offset=function(a){if(arguments.length)return a===h?this:this.each(function(b){c.offset.setOffset(this,a,b)});var b,d,f={top:0,left:0},g=this[0],e=g&&g.ownerDocument;if(e)return b=e.documentElement,c.contains(b,g)?(typeof g.getBoundingClientRect!==R&&(f=g.getBoundingClientRect()),d=Wb(e),{top:f.top+(d.pageYOffset||b.scrollTop)-(b.clientTop||0),left:f.left+(d.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):f};c.offset={setOffset:function(a,b,d){var f=c.css(a,"position");"static"===f&&(a.style.position=
211
+ "relative");var g=c(a),e=g.offset(),h=c.css(a,"top"),j=c.css(a,"left"),m={},n={},q,p;("absolute"===f||"fixed"===f)&&-1<c.inArray("auto",[h,j])?(n=g.position(),q=n.top,p=n.left):(q=parseFloat(h)||0,p=parseFloat(j)||0);c.isFunction(b)&&(b=b.call(a,d,e));null!=b.top&&(m.top=b.top-e.top+q);null!=b.left&&(m.left=b.left-e.left+p);"using"in b?b.using.call(a,m):g.css(m)}};c.fn.extend({position:function(){if(this[0]){var a,b,d={top:0,left:0},f=this[0];return"fixed"===c.css(f,"position")?b=f.getBoundingClientRect():
212
+ (a=this.offsetParent(),b=this.offset(),c.nodeName(a[0],"html")||(d=a.offset()),d.top+=c.css(a[0],"borderTopWidth",!0),d.left+=c.css(a[0],"borderLeftWidth",!0)),{top:b.top-d.top-c.css(f,"marginTop",!0),left:b.left-d.left-c.css(f,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||r.documentElement;a&&!c.nodeName(a,"html")&&"static"===c.css(a,"position");)a=a.offsetParent;return a||r.documentElement})}});c.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},
213
+ function(a,b){var d=/Y/.test(b);c.fn[a]=function(f){return c.access(this,function(a,f,e){var j=Wb(a);return e===h?j?b in j?j[b]:j.document.documentElement[f]:a[f]:(j?j.scrollTo(d?c(j).scrollLeft():e,d?e:c(j).scrollTop()):a[f]=e,h)},a,f,arguments.length,null)}});c.each({Height:"height",Width:"width"},function(a,b){c.each({padding:"inner"+a,content:b,"":"outer"+a},function(d,f){c.fn[f]=function(g,f){var e=arguments.length&&(d||"boolean"!=typeof g),j=d||(!0===g||!0===f?"margin":"border");return c.access(this,
214
+ function(b,d,g){var f;return c.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(f=b.documentElement,Math.max(b.body["scroll"+a],f["scroll"+a],b.body["offset"+a],f["offset"+a],f["client"+a])):g===h?c.css(b,d,j):c.style(b,d,g,j)},b,e?g:h,e,null)}})});e.jQuery=e.$=c;"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return c});j=void 0}return j};window.modules=e})();
215
+ (function(){var e=window.modules||[];window.require=function(j){j=j.replace(/\//g,"__");-1===j.indexOf("__")&&(j="__"+j);return null===e[j]?null:e[j]()}})();
216
+ (function(){var e=window.modules||[],j=null;e.cronus__multi_signal_relay=function(){if(null===j){var e={}.hasOwnProperty,h=require("cronus/signal"),s=function(e){var h,j,m;s.__super__.constructor.call(this);j=0;for(m=e.length;j<m;j++)h=e[j],h.add(this.dispatch)},q=s,v=function(){this.constructor=q},m;for(m in h)e.call(h,m)&&(q[m]=h[m]);v.prototype=h.prototype;q.prototype=new v;q.__super__=h.prototype;s.prototype.applyListeners=function(e){var h,j,m,n,q;n=this.listeners;q=[];j=0;for(m=n.length;j<m;j++)h=
217
+ n[j],q.push(h.apply(h,e));return q};j=s}return j};window.modules=e})();
218
+ (function(){var e=window.modules||[],j=null;e.cronus__signal=function(){if(null===j){var e=[].slice,h=function(){var e=this.dispatch,h=this;this.dispatch=function(){return e.apply(h,arguments)};this.isApplyingListeners=!1;this.listeners=[];this.onceListeners=[];this.removeCache=[]};h.prototype.add=function(e){return this.listeners.push(e)};h.prototype.addOnce=function(e){this.onceListeners.push(e);return this.add(e)};h.prototype.remove=function(e){if(this.isApplyingListeners)return this.removeCache.push(e);
219
+ if(-1!==this.listeners.indexOf(e))return this.listeners.splice(this.listeners.indexOf(e),1)};h.prototype.removeAll=function(){return this.listeners=[]};h.prototype.numListeners=function(){return this.listeners.length};h.prototype.dispatch=function(){var h;h=1<=arguments.length?e.call(arguments,0):[];this.isApplyingListeners=!0;this.applyListeners(h);this.removeOnceListeners();this.isApplyingListeners=!1;return this.clearRemoveCache()};h.prototype.applyListeners=function(e){var h,j,m,n,N;n=this.listeners;
220
+ N=[];j=0;for(m=n.length;j<m;j++)h=n[j],N.push(h.apply(h,e));return N};h.prototype.removeOnceListeners=function(){var e,h,j,m;m=this.onceListeners;h=0;for(j=m.length;h<j;h++)e=m[h],this.remove(e);return this.onceListeners=[]};h.prototype.clearRemoveCache=function(){var e,h,j,m;m=this.removeCache;h=0;for(j=m.length;h<j;h++)e=m[h],this.remove(e);return this.removeCache=[]};j=h}return j};window.modules=e})();
221
+ (function(){var e=window.modules||[],j=null;e.cronus__signal_relay=function(){if(null===j){var e={}.hasOwnProperty,h=require("cronus/signal"),s=function(e){s.__super__.constructor.call(this);e.add(this.dispatch)},q=s,v=function(){this.constructor=q},m;for(m in h)e.call(h,m)&&(q[m]=h[m]);v.prototype=h.prototype;q.prototype=new v;q.__super__=h.prototype;s.prototype.applyListeners=function(e){var h,j,m,n,q;n=this.listeners;q=[];j=0;for(m=n.length;j<m;j++)h=n[j],q.push(h.apply(h,e));return q};j=s}return j};
222
+ window.modules=e})();(function(){var e=window.modules||[];window.require=function(j){j=j.replace(/\//g,"__");-1===j.indexOf("__")&&(j="__"+j);return null===e[j]?null:e[j]()}})();
223
+