aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2019-05-12 20:32:41 +0200
committerHarald Eilertsen <haraldei@anduin.net>2019-05-12 20:32:41 +0200
commitcf87417bac7efbc93667382520758b4c5e44638a (patch)
treecfc28bd5d99435e7a03c61a59dfe05f5594d73b5
parentac2f6e26c6a0471fd6e587b588710405ec3829db (diff)
downloadhmnoweb-cf87417bac7efbc93667382520758b4c5e44638a.tar.gz
hmnoweb-cf87417bac7efbc93667382520758b4c5e44638a.tar.bz2
hmnoweb-cf87417bac7efbc93667382520758b4c5e44638a.zip
Update assets.
-rw-r--r--public/assets/admin-c68c90bf420a39762f013bd78295ee27.js.gzbin79 -> 79 bytes
-rw-r--r--public/assets/admin.js.gzbin79 -> 79 bytes
-rw-r--r--public/assets/application-0b2ae0bf73e68414a78148b9d7aa67d4.js27
-rw-r--r--public/assets/application-0b2ae0bf73e68414a78148b9d7aa67d4.js.gzbin0 -> 35435 bytes
-rw-r--r--public/assets/application-74ea0a61faeead1c8c5c65a26a6e3914.css.gzbin1458 -> 1458 bytes
-rw-r--r--public/assets/application.css.gzbin1407 -> 1407 bytes
-rw-r--r--public/assets/application.js8
-rw-r--r--public/assets/application.js.gzbin34979 -> 35435 bytes
-rw-r--r--public/assets/manifest.yml16
-rw-r--r--public/assets/modernizr-min-0cfed4c8c40566090aa12c92ae7776d8.js.gzbin6132 -> 6132 bytes
-rw-r--r--public/assets/modernizr-min.js.gzbin6132 -> 6132 bytes
-rw-r--r--public/assets/refinery/admin-0782215d5da880c8dc5e2b3864e0df6a.js.gzbin5885 -> 5885 bytes
-rw-r--r--public/assets/refinery/admin.js.gzbin5854 -> 5854 bytes
-rw-r--r--public/assets/refinery/admin/video-ece67a41d5e8f1f986c1bb7a07c98610.css.gzbin499 -> 499 bytes
-rw-r--r--public/assets/refinery/admin/video.css.gzbin499 -> 499 bytes
-rw-r--r--public/assets/refinery/admin/wymeditor_monkeypatch-6c0f3d3b096d3f85c8b0e7da2f6dbcd0.js.gzbin220 -> 220 bytes
-rw-r--r--public/assets/refinery/admin/wymeditor_monkeypatch.js.gzbin220 -> 220 bytes
-rw-r--r--public/assets/refinery/ajaxy_pagination-31502fd935145e1ca2129fc1a0194ecc.js.gzbin372 -> 372 bytes
-rw-r--r--public/assets/refinery/ajaxy_pagination.js.gzbin372 -> 372 bytes
-rw-r--r--public/assets/refinery/blog/backend-7a76ae50bdd83f91b0e104fc8c768d3f.css.gzbin814 -> 814 bytes
-rw-r--r--public/assets/refinery/blog/backend-b4349fa7ad9efe6fad3e180f13824ed2.js.gzbin964 -> 964 bytes
-rw-r--r--public/assets/refinery/blog/backend.css.gzbin494 -> 494 bytes
-rw-r--r--public/assets/refinery/blog/backend.js.gzbin964 -> 964 bytes
-rw-r--r--public/assets/refinery/blog/frontend-40ec94f12c8010262cd9a91effa3695a.js.gzbin274 -> 274 bytes
-rw-r--r--public/assets/refinery/blog/frontend-494d9760f31ec565eb3e47e6c6653fce.css.gzbin638 -> 638 bytes
-rw-r--r--public/assets/refinery/blog/frontend.css.gzbin612 -> 612 bytes
-rw-r--r--public/assets/refinery/blog/frontend.js.gzbin274 -> 274 bytes
-rw-r--r--public/assets/refinery/blog/ui-lightness/jquery-ui-1.8.13.custom-78bcd8b309692ad7db39d1be3af494fb.css.gzbin2396 -> 2396 bytes
-rw-r--r--public/assets/refinery/blog/ui-lightness/jquery-ui-1.8.13.custom.css.gzbin2396 -> 2396 bytes
-rw-r--r--public/assets/refinery/boot_wym-088bec7e2595658f30e8e60ec948cd9a.js.gzbin2560 -> 2560 bytes
-rw-r--r--public/assets/refinery/boot_wym.js.gzbin2468 -> 2468 bytes
-rw-r--r--public/assets/refinery/core-be2c10d9a54f1fc40c523df655019035.js.gzbin250 -> 250 bytes
-rw-r--r--public/assets/refinery/core.js.gzbin250 -> 250 bytes
-rw-r--r--public/assets/refinery/formatting-b44a4730207530562f26df85da80f491.css.gzbin279 -> 279 bytes
-rw-r--r--public/assets/refinery/formatting.css.gzbin279 -> 279 bytes
-rw-r--r--public/assets/refinery/inquiries/inquiries-81e237be21ff2fec45cbac36984963f9.css.gzbin136 -> 136 bytes
-rw-r--r--public/assets/refinery/inquiries/inquiries.css.gzbin136 -> 136 bytes
-rw-r--r--public/assets/refinery/interface-aa38581611f42a443dbf982b9622715f.js.gzbin1053 -> 1053 bytes
-rw-r--r--public/assets/refinery/interface.js.gzbin959 -> 959 bytes
-rw-r--r--public/assets/refinery/layout-c3b76b11c3efa36212a37f44f0243721.css.gzbin7397 -> 7397 bytes
-rw-r--r--public/assets/refinery/layout.css.gzbin6554 -> 6554 bytes
-rw-r--r--public/assets/refinery/modal_dialogs-8574253f887482edeb011128a3b8c08b.js.gzbin1263 -> 1263 bytes
-rw-r--r--public/assets/refinery/modal_dialogs.js.gzbin1263 -> 1263 bytes
-rw-r--r--public/assets/refinery/nestedsortables-b266f4b69dbfaaf32ef97e3f14088321.js12
-rw-r--r--public/assets/refinery/nestedsortables-b266f4b69dbfaaf32ef97e3f14088321.js.gzbin0 -> 2270 bytes
-rw-r--r--public/assets/refinery/nestedsortables.js2
-rw-r--r--public/assets/refinery/nestedsortables.js.gzbin2276 -> 2270 bytes
-rw-r--r--public/assets/refinery/page-image-picker-2e152f46f671179cd0c3738b6a1cc815.css.gzbin446 -> 446 bytes
-rw-r--r--public/assets/refinery/page-image-picker-7724cd16d94e1b5061014518892b91bf.js.gzbin1470 -> 1470 bytes
-rw-r--r--public/assets/refinery/page-image-picker.css.gzbin419 -> 419 bytes
-rw-r--r--public/assets/refinery/page-image-picker.js.gzbin1407 -> 1407 bytes
-rw-r--r--public/assets/refinery/refinery-41dfb57e7405fff112fbf719272d4cb7.js65
-rw-r--r--public/assets/refinery/refinery-41dfb57e7405fff112fbf719272d4cb7.js.gzbin0 -> 112838 bytes
-rw-r--r--public/assets/refinery/refinery-fdf0e3ebc62a619d26537cf8801b3c9e.css.gzbin10086 -> 10086 bytes
-rw-r--r--public/assets/refinery/refinery.css.gzbin8704 -> 8704 bytes
-rw-r--r--public/assets/refinery/refinery.js14
-rw-r--r--public/assets/refinery/refinery.js.gzbin112715 -> 112733 bytes
-rw-r--r--public/assets/refinery/serializelist-0ebebab4562223d3f0db7954f7406910.js.gzbin696 -> 696 bytes
-rw-r--r--public/assets/refinery/serializelist.js.gzbin696 -> 696 bytes
-rw-r--r--public/assets/refinery/site_bar-5453829eadce9d9d1b09126a2e827bd0.js.gzbin185 -> 185 bytes
-rw-r--r--public/assets/refinery/site_bar-b8215e638413454f1c75742fe5c9f401.css.gzbin582 -> 582 bytes
-rw-r--r--public/assets/refinery/site_bar.css.gzbin555 -> 555 bytes
-rw-r--r--public/assets/refinery/site_bar.js.gzbin185 -> 185 bytes
-rw-r--r--public/assets/refinery/sortable_list-6f67261b794a657be68e19c993764a99.js.gzbin1108 -> 1108 bytes
-rw-r--r--public/assets/refinery/sortable_list.js.gzbin1108 -> 1108 bytes
-rw-r--r--public/assets/refinery/sortable_menu-fad5918a2dd61d8815ba575b06833a27.js.gzbin311 -> 311 bytes
-rw-r--r--public/assets/refinery/sortable_menu.js.gzbin311 -> 311 bytes
-rw-r--r--public/assets/refinery/submenu-570ced67a262e79cae523bc0d5e34748.css.gzbin268 -> 268 bytes
-rw-r--r--public/assets/refinery/submenu-805791e9f1e8cefcd4970ebf3c734d50.js.gzbin652 -> 652 bytes
-rw-r--r--public/assets/refinery/submenu.css.gzbin218 -> 218 bytes
-rw-r--r--public/assets/refinery/submenu.js.gzbin621 -> 621 bytes
-rw-r--r--public/assets/refinery/submit_continue-348d497757901da976503cbb9b83c64a.js.gzbin302 -> 302 bytes
-rw-r--r--public/assets/refinery/submit_continue.js.gzbin302 -> 302 bytes
-rw-r--r--public/assets/refinery/theme-826827947dc7b4764fcddc0c4d777e60.css.gzbin167 -> 167 bytes
-rw-r--r--public/assets/refinery/theme.css.gzbin167 -> 167 bytes
-rw-r--r--public/assets/refinery/tooltips-205a2fd4e02cbb8339970837799f9483.css.gzbin379 -> 379 bytes
-rw-r--r--public/assets/refinery/tooltips.css.gzbin379 -> 379 bytes
-rw-r--r--public/assets/refinery/tree-4bd54dfe43656bece5b36e31db2ea744.js.gzbin260 -> 260 bytes
-rw-r--r--public/assets/refinery/tree.js.gzbin260 -> 260 bytes
-rw-r--r--public/assets/refinery/ui-ce98ee1f8ab3d2ddb62e51f5c7842566.css.gzbin689 -> 689 bytes
-rw-r--r--public/assets/refinery/ui.css.gzbin660 -> 660 bytes
-rw-r--r--public/assets/refinery/wymeditor-bf115bb2865772909d7b19dea688d63b.js84
-rw-r--r--public/assets/refinery/wymeditor-bf115bb2865772909d7b19dea688d63b.js.gzbin0 -> 25133 bytes
-rw-r--r--public/assets/refinery/wymeditor.js4
-rw-r--r--public/assets/refinery/wymeditor.js.gzbin25002 -> 25005 bytes
-rw-r--r--public/assets/wymeditor/lang/bg-6f610783c323d80f3b83559393be4430.js.gzbin931 -> 931 bytes
-rw-r--r--public/assets/wymeditor/lang/bg.js.gzbin931 -> 931 bytes
-rw-r--r--public/assets/wymeditor/lang/ca-bcdd5925c851ade672d497c77eef10f1.js.gzbin545 -> 545 bytes
-rw-r--r--public/assets/wymeditor/lang/ca.js.gzbin545 -> 545 bytes
-rw-r--r--public/assets/wymeditor/lang/cs-8eedf3a8d33b92bdcbe5ea4a4ce50a4b.js.gzbin794 -> 794 bytes
-rw-r--r--public/assets/wymeditor/lang/cs.js.gzbin794 -> 794 bytes
-rw-r--r--public/assets/wymeditor/lang/da-04af3bccf874f81849f90860106d0cd7.js.gzbin583 -> 583 bytes
-rw-r--r--public/assets/wymeditor/lang/da.js.gzbin583 -> 583 bytes
-rw-r--r--public/assets/wymeditor/lang/de-0b7d7099886726997b7b9cac3cb003be.js.gzbin579 -> 579 bytes
-rw-r--r--public/assets/wymeditor/lang/de.js.gzbin579 -> 579 bytes
-rw-r--r--public/assets/wymeditor/lang/en-288e9008effd3ab8b3ec0d90741265f3.js.gzbin562 -> 562 bytes
-rw-r--r--public/assets/wymeditor/lang/en.js.gzbin562 -> 562 bytes
-rw-r--r--public/assets/wymeditor/lang/es-6e5350d9ab86d96244dff35963a09c2f.js.gzbin683 -> 683 bytes
-rw-r--r--public/assets/wymeditor/lang/es.js.gzbin683 -> 683 bytes
-rw-r--r--public/assets/wymeditor/lang/fa-36435aabc5c1cfef05d27fdf0e4dcbbe.js.gzbin729 -> 729 bytes
-rw-r--r--public/assets/wymeditor/lang/fa.js.gzbin729 -> 729 bytes
-rw-r--r--public/assets/wymeditor/lang/fi-bb5e0b27b8246d3a38a351b39978112e.js.gzbin695 -> 695 bytes
-rw-r--r--public/assets/wymeditor/lang/fi.js.gzbin695 -> 695 bytes
-rw-r--r--public/assets/wymeditor/lang/fr-8f71562c88db398511755e113315f3f4.js.gzbin668 -> 668 bytes
-rw-r--r--public/assets/wymeditor/lang/fr.js.gzbin668 -> 668 bytes
-rw-r--r--public/assets/wymeditor/lang/he-973a69fbd3cd459eccc469ca11123ba7.js.gzbin682 -> 682 bytes
-rw-r--r--public/assets/wymeditor/lang/he.js.gzbin682 -> 682 bytes
-rw-r--r--public/assets/wymeditor/lang/hu-437c7b931102a540dfd8d95babe99526.js.gzbin589 -> 589 bytes
-rw-r--r--public/assets/wymeditor/lang/hu.js.gzbin589 -> 589 bytes
-rw-r--r--public/assets/wymeditor/lang/it-2238234cd1e6f6abf89df8a7f9f32f04.js.gzbin536 -> 536 bytes
-rw-r--r--public/assets/wymeditor/lang/it.js.gzbin536 -> 536 bytes
-rw-r--r--public/assets/wymeditor/lang/ja-62b46067e14d7d6d27ed53d4fcb5776d.js.gzbin738 -> 738 bytes
-rw-r--r--public/assets/wymeditor/lang/ja.js.gzbin738 -> 738 bytes
-rw-r--r--public/assets/wymeditor/lang/lv-c952bfb8e4b6537451b2bffa8eea50fc.js.gzbin617 -> 617 bytes
-rw-r--r--public/assets/wymeditor/lang/lv.js.gzbin617 -> 617 bytes
-rw-r--r--public/assets/wymeditor/lang/nb-aa47cb4faa22dc7fec636c6795b1e55b.js.gzbin560 -> 560 bytes
-rw-r--r--public/assets/wymeditor/lang/nb.js.gzbin560 -> 560 bytes
-rw-r--r--public/assets/wymeditor/lang/nl-968f398a9ee8a678b918ae7d894dfe74.js.gzbin685 -> 685 bytes
-rw-r--r--public/assets/wymeditor/lang/nl.js.gzbin685 -> 685 bytes
-rw-r--r--public/assets/wymeditor/lang/nn-69a0aa875817cc42f09614f76bf6112e.js.gzbin536 -> 536 bytes
-rw-r--r--public/assets/wymeditor/lang/nn.js.gzbin536 -> 536 bytes
-rw-r--r--public/assets/wymeditor/lang/pl-209e023234bf8f1d973e9680d7c46d8b.js.gzbin721 -> 721 bytes
-rw-r--r--public/assets/wymeditor/lang/pl.js.gzbin721 -> 721 bytes
-rw-r--r--public/assets/wymeditor/lang/pt-BR-6b085287779ffd2df849ceac4106709d.js.gzbin708 -> 708 bytes
-rw-r--r--public/assets/wymeditor/lang/pt-BR.js.gzbin708 -> 708 bytes
-rw-r--r--public/assets/wymeditor/lang/pt-f104833125a7fded5da99cf0a33d974e.js.gzbin552 -> 552 bytes
-rw-r--r--public/assets/wymeditor/lang/pt.js.gzbin552 -> 552 bytes
-rw-r--r--public/assets/wymeditor/lang/rs-38798d883ad460f2d08b079e43f34b10.js.gzbin570 -> 570 bytes
-rw-r--r--public/assets/wymeditor/lang/rs.js.gzbin570 -> 570 bytes
-rw-r--r--public/assets/wymeditor/lang/ru-54d7545f781ce7c3e126c4db17723c15.js.gzbin916 -> 916 bytes
-rw-r--r--public/assets/wymeditor/lang/ru.js.gzbin916 -> 916 bytes
-rw-r--r--public/assets/wymeditor/lang/sk-2c20425a652dcc81a5c7dc029ecbd1d2.js.gzbin797 -> 797 bytes
-rw-r--r--public/assets/wymeditor/lang/sk.js.gzbin797 -> 797 bytes
-rw-r--r--public/assets/wymeditor/lang/sl-d665eb65e98f05b4748b87e582dc29d5.js.gzbin615 -> 615 bytes
-rw-r--r--public/assets/wymeditor/lang/sl.js.gzbin615 -> 615 bytes
-rw-r--r--public/assets/wymeditor/lang/sv-cbf521aded7a88d522294de7091b5edd.js.gzbin549 -> 549 bytes
-rw-r--r--public/assets/wymeditor/lang/sv.js.gzbin549 -> 549 bytes
-rw-r--r--public/assets/wymeditor/lang/tr-9aadb156a4d22019a134b397a917a74f.js.gzbin583 -> 583 bytes
-rw-r--r--public/assets/wymeditor/lang/tr.js.gzbin583 -> 583 bytes
-rw-r--r--public/assets/wymeditor/lang/vi-6eb051fd20ffaa59f5e1bffac904157e.js.gzbin682 -> 682 bytes
-rw-r--r--public/assets/wymeditor/lang/vi.js.gzbin682 -> 682 bytes
-rw-r--r--public/assets/wymeditor/lang/zh-CN-aa9162ae39f8d3c74c02cba4d0f68fec.js.gzbin658 -> 658 bytes
-rw-r--r--public/assets/wymeditor/lang/zh-CN.js.gzbin658 -> 658 bytes
-rw-r--r--public/assets/wymeditor/skins/refinery/skin-160f86836ef4799f452b3af9281791a0.js.gzbin347 -> 347 bytes
-rw-r--r--public/assets/wymeditor/skins/refinery/skin-49bab52ba275810fac618ddb02c49e7b.css.gzbin2156 -> 2156 bytes
-rw-r--r--public/assets/wymeditor/skins/refinery/skin.css.gzbin1715 -> 1715 bytes
-rw-r--r--public/assets/wymeditor/skins/refinery/skin.js.gzbin347 -> 347 bytes
-rw-r--r--public/assets/wymeditor/skins/refinery/wymiframe-80caee6a424600a27d7803989c843a60.css.gzbin1603 -> 1603 bytes
-rw-r--r--public/assets/wymeditor/skins/refinery/wymiframe.css.gzbin973 -> 973 bytes
149 files changed, 210 insertions, 22 deletions
diff --git a/public/assets/admin-c68c90bf420a39762f013bd78295ee27.js.gz b/public/assets/admin-c68c90bf420a39762f013bd78295ee27.js.gz
index c68132a..4d6d0c3 100644
--- a/public/assets/admin-c68c90bf420a39762f013bd78295ee27.js.gz
+++ b/public/assets/admin-c68c90bf420a39762f013bd78295ee27.js.gz
Binary files differ
diff --git a/public/assets/admin.js.gz b/public/assets/admin.js.gz
index f09cb58..95867e4 100644
--- a/public/assets/admin.js.gz
+++ b/public/assets/admin.js.gz
Binary files differ
diff --git a/public/assets/application-0b2ae0bf73e68414a78148b9d7aa67d4.js b/public/assets/application-0b2ae0bf73e68414a78148b9d7aa67d4.js
new file mode 100644
index 0000000..582ba5f
--- /dev/null
+++ b/public/assets/application-0b2ae0bf73e68414a78148b9d7aa67d4.js
@@ -0,0 +1,27 @@
+/*!
+ * jQuery JavaScript Library v1.10.0
+ * http://jquery.com/
+ *
+ * Includes Sizzle.js
+ * http://sizzlejs.com/
+ *
+ * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
+ * Released under the MIT license
+ * http://jquery.org/license
+ *
+ * Date: 2013-05-24T18:39Z
+ */
+!function(m,k){function s(e){var t=e.length,n=Ae.type(e);return!Ae.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||"function"!==n&&(0===t||"number"==typeof t&&0<t&&t-1 in e)))}function e(e){var n=Ce[e]={};return Ae.each(e.match(fe)||[],function(e,t){n[t]=!0}),n}function r(e,t,n,r){if(Ae.acceptData(e)){var i,o,a=Ae.expando,s=e.nodeType,l=s?Ae.cache:e,u=s?e[a]:e[a]&&a;if(u&&l[u]&&(r||l[u].data)||n!==k||"string"!=typeof t)return u||(u=s?e[a]=te.pop()||Ae.guid++:a),l[u]||(l[u]=s?{}:{toJSON:Ae.noop}),"object"!=typeof t&&"function"!=typeof t||(r?l[u]=Ae.extend(l[u],t):l[u].data=Ae.extend(l[u].data,t)),o=l[u],r||(o.data||(o.data={}),o=o.data),n!==k&&(o[Ae.camelCase(t)]=n),"string"==typeof t?null==(i=o[t])&&(i=o[Ae.camelCase(t)]):i=o,i}}function n(e,t,n){if(Ae.acceptData(e)){var r,i,o=e.nodeType,a=o?Ae.cache:e,s=o?e[Ae.expando]:Ae.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){i=(t=Ae.isArray(t)?t.concat(Ae.map(t,Ae.camelCase)):t in r?[t]:(t=Ae.camelCase(t))in r?[t]:t.split(" ")).length;for(;i--;)delete r[t[i]];if(n?!u(r):!Ae.isEmptyObject(r))return}(n||(delete a[s].data,u(a[s])))&&(o?Ae.cleanData([e],!0):Ae.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function l(e,t,n){if(n===k&&1===e.nodeType){var r="data-"+t.replace(Se,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Ne.test(n)?Ae.parseJSON(n):n)}catch(i){}Ae.data(e,t,n)}else n=k}return n}function u(e){var t;for(t in e)if(("data"!==t||!Ae.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function i(){return!0}function c(){return!1}function t(){try{return G.activeElement}catch(e){}}function o(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function a(e,n,r){if(Ae.isFunction(n))return Ae.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return Ae.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(We.test(n))return Ae.filter(n,e,r);n=Ae.filter(n,e)}return Ae.grep(e,function(e){return 0<=Ae.inArray(e,n)!==r})}function g(e){var t=Ue.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function f(e,t){return Ae.nodeName(e,"table")&&Ae.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function y(e){return e.type=(null!==Ae.find.attr(e,"type"))+"/"+e.type,e}function v(e){var t=it.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function b(e,t){for(var n,r=0;null!=(n=e[r]);r++)Ae._data(n,"globalEval",!t||Ae._data(t[r],"globalEval"))}function p(e,t){if(1===t.nodeType&&Ae.hasData(e)){var n,r,i,o=Ae._data(e),a=Ae._data(t,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(r=0,i=s[n].length;r<i;r++)Ae.event.add(t,n,s[n][r]);a.data&&(a.data=Ae.extend({},a.data))}}function d(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!Ae.support.noCloneEvent&&t[Ae.expando]){for(r in(i=Ae._data(t)).events)Ae.removeEvent(t,r,i.handle);t.removeAttribute(Ae.expando)}"script"===n&&t.text!==e.text?(y(t).text=e.text,v(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),Ae.support.html5Clone&&e.innerHTML&&!Ae.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&tt.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)}}function x(e,t){var n,r,i=0,o=typeof e.getElementsByTagName!==Y?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==Y?e.querySelectorAll(t||"*"):k;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||Ae.nodeName(r,t)?o.push(r):Ae.merge(o,x(r,t));return t===k||t&&Ae.nodeName(e,t)?Ae.merge([e],o):o}function w(e){tt.test(e.type)&&(e.defaultChecked=e.checked)}function h(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=kt.length;i--;)if((t=kt[i]+n)in e)return t;return r}function T(e,t){return e=t||e,"none"===Ae.css(e,"display")||!Ae.contains(e.ownerDocument,e)}function C(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)(r=e[a]).style&&(o[a]=Ae._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&T(r)&&(o[a]=Ae._data(r,"olddisplay",j(r.nodeName)))):o[a]||(i=T(r),(n&&"none"!==n||!i)&&Ae._data(r,"olddisplay",i?n:Ae.css(r,"display"))));for(a=0;a<s;a++)(r=e[a]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function N(e,t,n){var r=gt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function S(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=Ae.css(e,n+Tt[o],!0,i)),r?("content"===n&&(a-=Ae.css(e,"padding"+Tt[o],!0,i)),"margin"!==n&&(a-=Ae.css(e,"border"+Tt[o]+"Width",!0,i))):(a+=Ae.css(e,"padding"+Tt[o],!0,i),"padding"!==n&&(a+=Ae.css(e,"border"+Tt[o]+"Width",!0,i)));return a}function E(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=ut(e),a=Ae.support.boxSizing&&"border-box"===Ae.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=ct(e,t,o))<0||null==i)&&(i=e.style[t]),yt.test(i))return i;r=a&&(Ae.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+S(e,t,n||(a?"border":"content"),r,o)+"px"}function j(e){var t=G,n=bt[e];return n||("none"!==(n=A(e,t))&&n||((t=((lt=(lt||Ae("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement))[0].contentWindow||lt[0].contentDocument).document).write("<!doctype html><html><body>"),t.close(),n=A(e,t),lt.detach()),bt[e]=n),n}function A(e,t){var n=Ae(t.createElement(e)).appendTo(t.body),r=Ae.css(n[0],"display");return n.remove(),r}function D(n,e,r,i){var t;if(Ae.isArray(e))Ae.each(e,function(e,t){r||Nt.test(n)?i(n,t):D(n+"["+("object"==typeof t?e:"")+"]",t,r,i)});else if(r||"object"!==Ae.type(e))i(n,e);else for(t in e)D(n+"["+t+"]",e[t],r,i)}function L(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(fe)||[];if(Ae.isFunction(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function H(t,i,o,a){function s(e){var r;return l[e]=!0,Ae.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||l[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),s(n),!1)}),r}var l={},u=t===Wt;return s(i.dataTypes[0])||!l["*"]&&s("*")}function q(e,t){var n,r,i=Ae.ajaxSettings.flatOptions||{};for(r in t)t[r]!==k&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&Ae.extend(!0,e,n),e}function F(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),i===k&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){o=a;break}r||(r=a)}o=o||r}if(o)return o!==l[0]&&l.unshift(o),n[o]}function _(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}function M(){try{return new m.XMLHttpRequest}catch(e){}}function O(){try{return new m.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function R(){return setTimeout(function(){Gt=k}),Gt=Ae.now()}function B(e,t,n){for(var r,i=(nn[t]||[]).concat(nn["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function P(o,e,t){var n,a,r=0,i=tn.length,s=Ae.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var e=Gt||R(),t=Math.max(0,u.startTime+u.duration-e),n=1-(t/u.duration||0),r=0,i=u.tweens.length;r<i;r++)u.tweens[r].run(n);return s.notifyWith(o,[u,n,t]),n<1&&i?t:(s.resolveWith(o,[u]),!1)},u=s.promise({elem:o,props:Ae.extend({},e),opts:Ae.extend(!0,{specialEasing:{}},t),originalProperties:e,originalOptions:t,startTime:Gt||R(),duration:t.duration,tweens:[],createTween:function(e,t){var n=Ae.Tween(o,u.opts,e,t,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(n),n},stop:function(e){var t=0,n=e?u.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)u.tweens[t].run(1);return e?s.resolveWith(o,[u,e]):s.rejectWith(o,[u,e]),this}}),c=u.props;for($(c,u.opts.specialEasing);r<i;r++)if(n=tn[r].call(u,o,c,u.opts))return n;return Ae.map(c,B,u),Ae.isFunction(u.opts.start)&&u.opts.start.call(o,u),Ae.fx.timer(Ae.extend(l,{elem:o,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function $(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=Ae.camelCase(n)],o=e[n],Ae.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=Ae.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}function W(t,e,n){var r,i,o,a,s,l,u=this,c={},f=t.style,p=t.nodeType&&T(t),d=Ae._data(t,"fxshow");for(r in n.queue||(null==(s=Ae._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,Ae.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],"inline"===Ae.css(t,"display")&&"none"===Ae.css(t,"float")&&(Ae.support.inlineBlockNeedsLayout&&"inline"!==j(t.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",Ae.support.shrinkWrapBlocks||u.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),e)if(i=e[r],Kt.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(p?"hide":"show"))continue;c[r]=d&&d[r]||Ae.style(t,r)}if(!Ae.isEmptyObject(c))for(r in d?"hidden"in d&&(p=d.hidden):d=Ae._data(t,"fxshow",{}),o&&(d.hidden=!p),p?Ae(t).show():u.done(function(){Ae(t).hide()}),u.done(function(){var e;for(e in Ae._removeData(t,"fxshow"),c)Ae.style(t,e,c[e])}),c)a=B(p?d[r]:0,r,u),r in d||(d[r]=a.start,p&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}function I(e,t,n,r,i){return new I.prototype.init(e,t,n,r,i)}function z(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=Tt[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function X(e){return Ae.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var U,V,Y=typeof k,J=m.location,G=m.document,Q=G.documentElement,K=m.jQuery,Z=m.$,ee={},te=[],ne="1.10.0",re=te.concat,ie=te.push,oe=te.slice,ae=te.indexOf,se=ee.toString,le=ee.hasOwnProperty,ue=ne.trim,Ae=function(e,t){return new Ae.fn.init(e,t,V)},ce=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,fe=/\S+/g,pe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,de=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,he=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,me=/^[\],:{}\s]*$/,ge=/(?:^|:|,)(?:\s*\[)+/g,ye=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,ve=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,be=/^-ms-/,xe=/-([\da-z])/gi,we=function(e,t){return t.toUpperCase()},Te=function(e){(G.addEventListener||"load"===e.type||"complete"===G.readyState)&&(ke(),Ae.ready())},ke=function(){G.addEventListener?(G.removeEventListener("DOMContentLoaded",Te,!1),m.removeEventListener("load",Te,!1)):(G.detachEvent("onreadystatechange",Te),m.detachEvent("onload",Te))};Ae.fn=Ae.prototype={jquery:ne,constructor:Ae,init:function(e,t,n){var r,i;if(!e)return this;if("string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):Ae.isFunction(e)?n.ready(e):(e.selector!==k&&(this.selector=e.selector,this.context=e.context),Ae.makeArray(e,this));if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:de.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof Ae?t[0]:t,Ae.merge(this,Ae.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:G,!0)),he.test(r[1])&&Ae.isPlainObject(t))for(r in t)Ae.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if((i=G.getElementById(r[2]))&&i.parentNode){if(i.id!==r[2])return n.find(e);this.length=1,this[0]=i}return this.context=G,this.selector=e,this},selector:"",length:0,toArray:function(){return oe.call(this)},get:function(e){return null==e?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e){var t=Ae.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return Ae.each(this,e,t)},ready:function(e){return Ae.ready.promise().done(e),this},slice:function(){return this.pushStack(oe.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},map:function(n){return this.pushStack(Ae.map(this,function(e,t){return n.call(e,t,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:ie,sort:[].sort,splice:[].splice},Ae.fn.init.prototype=Ae.fn,Ae.extend=Ae.fn.extend=function(e,t){var n,r,i,o,a,s,l=e||{},u=1,c=arguments.length,f=!1;for("boolean"==typeof l&&(f=l,l=t||{},u=2),"object"==typeof l||Ae.isFunction(l)||(l={}),c===u&&(l=this,--u);u<c;u++)if(null!=(a=arguments[u]))for(o in a)n=l[o],l!==(i=a[o])&&(f&&i&&(Ae.isPlainObject(i)||(r=Ae.isArray(i)))?(r?(r=!1,s=n&&Ae.isArray(n)?n:[]):s=n&&Ae.isPlainObject(n)?n:{},l[o]=Ae.extend(f,s,i)):i!==k&&(l[o]=i));return l},Ae.extend({expando:"jQuery"+(ne+Math.random()).replace(/\D/g,""),noConflict:function(e){return m.$===Ae&&(m.$=Z),e&&m.jQuery===Ae&&(m.jQuery=K),Ae},isReady:!1,readyWait:1,holdReady:function(e){e?Ae.readyWait++:Ae.ready(!0)},ready:function(e){if(!0===e?!--Ae.readyWait:!Ae.isReady){if(!G.body)return setTimeout(Ae.ready);(Ae.isReady=!0)!==e&&0<--Ae.readyWait||(U.resolveWith(G,[Ae]),Ae.fn.trigger&&Ae(G).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===Ae.type(e)},isArray:Array.isArray||function(e){return"array"===Ae.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?String(e):"object"==typeof e||"function"==typeof e?ee[se.call(e)]||"object":typeof e},isPlainObject:function(e){var t;if(!e||"object"!==Ae.type(e)||e.nodeType||Ae.isWindow(e))return!1;try{if(e.constructor&&!le.call(e,"constructor")&&!le.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(Ae.support.ownLast)for(t in e)return le.call(e,t);for(t in e);return t===k||le.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||G;var r=he.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=Ae.buildFragment([e],t,i),i&&Ae(i).remove(),Ae.merge([],r.childNodes))},parseJSON:function(e){return m.JSON&&m.JSON.parse?m.JSON.parse(e):null===e?e:"string"==typeof e&&(e=Ae.trim(e))&&me.test(e.replace(ye,"@").replace(ve,"]").replace(ge,""))?new Function("return "+e)():void Ae.error("Invalid JSON: "+e)},parseXML:function(e){var t;if(!e||"string"!=typeof e)return null;try{m.DOMParser?t=(new DOMParser).parseFromString(e,"text/xml"):((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(n){t=k}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||Ae.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){e&&Ae.trim(e)&&(m.execScript||function(e){m.eval.call(m,e)})(e)},camelCase:function(e){return e.replace(be,"ms-").replace(xe,we)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r=0,i=e.length,o=s(e);if(n){if(o)for(;r<i&&!1!==t.apply(e[r],n);r++);else for(r in e)if(!1===t.apply(e[r],n))break}else if(o)for(;r<i&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:ue&&!ue.call("\ufeff\xa0")?function(e){return null==e?"":ue.call(e)}:function(e){return null==e?"":(e+"").replace(pe,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(s(Object(e))?Ae.merge(n,"string"==typeof e?[e]:e):ie.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(ae)return ae.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){var n=t.length,r=e.length,i=0;if("number"==typeof n)for(;i<n;i++)e[r++]=t[i];else for(;t[i]!==k;)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){var r=[],i=0,o=e.length;for(n=!!n;i<o;i++)n!==!!t(e[i],i)&&r.push(e[i]);return r},map:function(e,t,n){var r,i=0,o=e.length,a=[];if(s(e))for(;i<o;i++)null!=(r=t(e[i],i,n))&&(a[a.length]=r);else for(i in e)null!=(r=t(e[i],i,n))&&(a[a.length]=r);return re.apply([],a)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(i=e[t],t=e,e=i),Ae.isFunction(e)?(n=oe.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(oe.call(arguments)))}).guid=e.guid=e.guid||Ae.guid++,r):k},access:function(e,t,n,r,i,o,a){var s=0,l=e.length,u=null==n;if("object"===Ae.type(n))for(s in i=!0,n)Ae.access(e,t,s,n[s],!0,o,a);else if(r!==k&&(i=!0,Ae.isFunction(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(Ae(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:u?t.call(e):l?t(e[0],n):o},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i}}),Ae.ready.promise=function(e){if(!U)if(U=Ae.Deferred(),"complete"===G.readyState)setTimeout(Ae.ready);else if(G.addEventListener)G.addEventListener("DOMContentLoaded",Te,!1),m.addEventListener("load",Te,!1);else{G.attachEvent("onreadystatechange",Te),m.attachEvent("onload",Te);var t=!1;try{t=null==m.frameElement&&G.documentElement}catch(n){}t&&t.doScroll&&function r(){if(!Ae.isReady){try{t.doScroll("left")}catch(n){return setTimeout(r,50)}ke(),Ae.ready()}}()}return U.promise(e)},Ae.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){ee["[object "+t+"]"]=t.toLowerCase()}),V=Ae(G),
+/*!
+ * Sizzle CSS Selector Engine v1.9.4-pre
+ * http://sizzlejs.com/
+ *
+ * Copyright 2013 jQuery Foundation, Inc. and other contributors
+ * Released under the MIT license
+ * http://jquery.org/license
+ *
+ * Date: 2013-05-15
+ */
+function(n,i){function w(e,t,n,r){var i,o,a,s,l,u,c,f,p,d;if((t?t.ownerDocument||t:z)!==M&&_(t),n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=(t=t||M).nodeType)&&9!==s)return[];if(R&&!r){if(i=Te.exec(e))if(a=i[1]){if(9===s){if(!(o=t.getElementById(a))||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&W(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return ie.apply(n,t.getElementsByTagName(e)),n;if((a=i[3])&&E.getElementsByClassName&&t.getElementsByClassName)return ie.apply(n,t.getElementsByClassName(a)),n}if(E.qsa&&(!B||!B.test(e))){if(f=c=I,p=t,d=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(u=m(e),(c=t.getAttribute("id"))?f=c.replace(Ne,"\\$&"):t.setAttribute("id",f),f="[id='"+f+"'] ",l=u.length;l--;)u[l]=f+g(u[l]);p=ge.test(e)&&t.parentNode||t,d=u.join(",")}if(d)try{return ie.apply(n,p.querySelectorAll(d)),n}catch(h){}finally{c||t.removeAttribute("id")}}}return C(e.replace(de,"$1"),t,n,r)}function t(e){return we.test(e+"")}function e(){function n(e,t){return r.push(e+=" ")>A.cacheLength&&delete n[r.shift()],n[e]=t}var r=[];return n}function l(e){return e[I]=!0,e}function r(e){var t=M.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t,n){for(var r,i=(e=e.split("|")).length,o=n?null:t;i--;)(r=A.attrHandle[e[i]])&&r!==t||(A.attrHandle[e[i]]=o)}function a(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:!0===e[t]?t.toLowerCase():null}function s(e,t){return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}function u(e){if("input"===e.nodeName.toLowerCase())return e.defaultValue}function c(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Z)-(~e.sourceIndex||Z);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function f(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function p(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function d(a){return l(function(o){return o=+o,l(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function m(e,t){var n,r,i,o,a,s,l,u=Y[e+" "];if(u)return t?0:u.slice(0);for(a=e,s=[],l=A.preFilter;a;){for(o in n&&!(r=he.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=me.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(de," ")}),a=a.slice(n.length)),A.filter)!(r=xe[o].exec(a))||l[o]&&!(r=l[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?w.error(e):Y(e,s).slice(0)}function g(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function h(s,e,t){var l=e.dir,u=t&&"parentNode"===l,c=U++;return e.first?function(e,t,n){for(;e=e[l];)if(1===e.nodeType||u)return s(e,t,n)}:function(e,t,n){var r,i,o,a=X+" "+c;if(n){for(;e=e[l];)if((1===e.nodeType||u)&&s(e,t,n))return!0}else for(;e=e[l];)if(1===e.nodeType||u)if((i=(o=e[I]||(e[I]={}))[l])&&i[0]===a){if(!0===(r=i[1])||r===j)return!0===r}else if((i=o[l]=[a])[1]=s(e,t,n)||j,!0===i[1])return!0}}function y(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function T(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),u&&t.push(s)));return a}function v(d,h,m,g,y,e){return g&&!g[I]&&(g=v(g)),y&&!y[I]&&(y=v(y,e)),l(function(e,t,n,r){var i,o,a,s=[],l=[],u=t.length,c=e||k(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:T(c,s,d,n,r),p=m?y||(e?d:u||g)?[]:t:f;if(m&&m(f,p,n,r),g)for(i=T(p,l),g(i,[],n,r),o=i.length;o--;)(a=i[o])&&(p[l[o]]=!(f[l[o]]=a));if(e){if(y||d){if(y){for(i=[],o=p.length;o--;)(a=p[o])&&i.push(f[o]=a);y(null,p=[],i,r)}for(o=p.length;o--;)(a=p[o])&&-1<(i=y?ae.call(e,a):s[o])&&(e[i]=!(t[i]=a))}}else p=T(p===t?p.splice(u,p.length):p),y?y(null,t,p,r):ie.apply(t,p)})}function b(e){for(var r,t,n,i=e.length,o=A.relative[e[0].type],a=o||A.relative[" "],s=o?1:0,l=h(function(e){return e===r},a,!0),u=h(function(e){return-1<ae.call(r,e)},a,!0),c=[function(e,t,n){return!o&&(n||t!==q)||((r=t).nodeType?l(e,t,n):u(e,t,n))}];s<i;s++)if(t=A.relative[e[s].type])c=[h(y(c),t)];else{if((t=A.filter[e[s].type].apply(null,e[s].matches))[I]){for(n=++s;n<i&&!A.relative[e[n].type];n++);return v(1<s&&y(c),1<s&&g(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(de,"$1"),t,s<n&&b(e.slice(s,n)),n<i&&b(e=e.slice(n)),n<i&&g(e))}c.push(t)}return y(c)}function x(g,y){var v=0,b=0<y.length,x=0<g.length,e=function(e,t,n,r,i){var o,a,s,l=[],u=0,c="0",f=e&&[],p=null!=i,d=q,h=e||x&&A.find.TAG("*",i&&t.parentNode||t),m=X+=null==d?1:Math.random()||.1;for(p&&(q=t!==M&&t,j=v);null!=(o=h[c]);c++){if(x&&o){for(a=0;s=g[a++];)if(s(o,t,n)){r.push(o);break}p&&(X=m,j=++v)}b&&((o=!s&&o)&&u--,e&&f.push(o))}if(u+=c,b&&c!==u){for(a=0;s=y[a++];)s(f,l,t,n);if(e){if(0<u)for(;c--;)f[c]||l[c]||(l[c]=ne.call(r));l=T(l)}ie.apply(r,l),p&&!e&&0<l.length&&1<u+y.length&&w.uniqueSort(r)}return p&&(X=m,q=d),f};return b?l(e):e}function k(e,t,n){for(var r=0,i=t.length;r<i;r++)w(e,t[r],n);return n}function C(e,t,n,r){var i,o,a,s,l,u=m(e);if(!r&&1===u.length){if(2<(o=u[0]=u[0].slice(0)).length&&"ID"===(a=o[0]).type&&E.getById&&9===t.nodeType&&R&&A.relative[o[1].type]){if(!(t=(A.find.ID(a.matches[0].replace(Se,Ee),t)||[])[0]))return n;e=e.slice(o.shift().value.length)}for(i=xe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!A.relative[s=a.type]);)if((l=A.find[s])&&(r=l(a.matches[0].replace(Se,Ee),ge.test(o[0].type)&&t.parentNode||t))){if(o.splice(i,1),!(e=r.length&&g(o)))return ie.apply(n,r),n;break}}return H(e,u)(r,t,!R,n,ge.test(e)),n}function N(){}var S,E,j,A,D,L,H,q,F,_,M,O,R,B,P,$,W,I="sizzle"+-new Date,z=n.document,X=0,U=0,V=e(),Y=e(),J=e(),G=!1,Q=function(){return 0},K=typeof i,Z=1<<31,ee={}.hasOwnProperty,te=[],ne=te.pop,re=te.push,ie=te.push,oe=te.slice,ae=te.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},se="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",le="[\\x20\\t\\r\\n\\f]",ue="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ce=ue.replace("w","w#"),fe="\\["+le+"*("+ue+")"+le+"*(?:([*^$|!~]?=)"+le+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ce+")|)|)"+le+"*\\]",pe=":("+ue+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+fe.replace(3,8)+")*)|.*)\\)|)",de=new RegExp("^"+le+"+|((?:^|[^\\\\])(?:\\\\.)*)"+le+"+$","g"),he=new RegExp("^"+le+"*,"+le+"*"),me=new RegExp("^"+le+"*([>+~]|"+le+")"+le+"*"),ge=new RegExp(le+"*[+~]"),ye=new RegExp("="+le+"*([^\\]'\"]*)"+le+"*\\]","g"),ve=new RegExp(pe),be=new RegExp("^"+ce+"$"),xe={ID:new RegExp("^#("+ue+")"),CLASS:new RegExp("^\\.("+ue+")"),TAG:new RegExp("^("+ue.replace("w","w*")+")"),ATTR:new RegExp("^"+fe),PSEUDO:new RegExp("^"+pe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+le+"*(even|odd|(([+-]|)(\\d*)n|)"+le+"*(?:([+-]|)"+le+"*(\\d+)|))"+le+"*\\)|)","i"),bool:new RegExp("^(?:"+se+")$","i"),needsContext:new RegExp("^"+le+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+le+"*((?:-\\d)?\\d*)"+le+"*\\)|)(?=[^-]|$)","i")},we=/^[^{]+\{\s*\[native \w/,Te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ke=/^(?:input|select|textarea|button)$/i,Ce=/^h\d$/i,Ne=/'|\\/g,Se=new RegExp("\\\\([\\da-f]{1,6}"+le+"?|("+le+")|.)","ig"),Ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{ie.apply(te=oe.call(z.childNodes),z.childNodes),te[z.childNodes.length].nodeType}catch(je){ie={apply:te.length?function(e,t){re.apply(e,oe.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}for(S in L=w.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},E=w.support={},_=w.setDocument=function(e){var l=e?e.ownerDocument||e:z;return l!==M&&9===l.nodeType&&l.documentElement?(O=(M=l).documentElement,R=!L(l),E.attributes=r(function(e){return e.innerHTML="<a href='#'></a>",o("type|href|height|width",s,"#"===e.firstChild.getAttribute("href")),o(se,a,null==e.getAttribute("disabled")),e.className="i",!e.getAttribute("className")}),E.input=r(function(e){return e.innerHTML="<input>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}),o("value",u,E.attributes&&E.input),E.getElementsByTagName=r(function(e){return e.appendChild(l.createComment("")),!e.getElementsByTagName("*").length}),E.getElementsByClassName=r(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),E.getById=r(function(e){return O.appendChild(e).id=I,!l.getElementsByName||!l.getElementsByName(I).length}),E.getById?(A.find.ID=function(e,t){if(typeof t.getElementById!==K&&R){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},A.filter.ID=function(e){var t=e.replace(Se,Ee);return function(e){return e.getAttribute("id")===t}}):(delete A.find.ID,A.filter.ID=function(e){var n=e.replace(Se,Ee);return function(e){var t=typeof e.getAttributeNode!==K&&e.getAttributeNode("id");return t&&t.value===n}}),A.find.TAG=E.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==K)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},A.find.CLASS=E.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!==K&&R)return t.getElementsByClassName(e)},P=[],B=[],(E.qsa=t(l.querySelectorAll))&&(r(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||B.push("\\["+le+"*(?:value|"+se+")"),e.querySelectorAll(":checked").length||B.push(":checked")}),r(function(e){var t=l.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&B.push("[*^$]="+le+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||B.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),B.push(",.*:")})),(E.matchesSelector=t($=O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&r(function(e){E.disconnectedMatch=$.call(e,"div"),$.call(e,"[s!='']:x"),P.push("!=",pe)}),B=B.length&&new RegExp(B.join("|")),P=P.length&&new RegExp(P.join("|")),W=t(O.contains)||O.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)for(;t=t.parentNode;)if(t===e)return!0;return!1},E.sortDetached=r(function(e){return 1&e.compareDocumentPosition(l.createElement("div"))}),Q=O.compareDocumentPosition?function(e,t){if(e===t)return G=!0,0;var n=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return n?1&n||!E.sortDetached&&t.compareDocumentPosition(e)===n?e===l||W(z,e)?-1:t===l||W(z,t)?1:F?ae.call(F,e)-ae.call(F,t):0:4&n?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(e===t)return G=!0,0;if(!i||!o)return e===l?-1:t===l?1:i?-1:o?1:F?ae.call(F,e)-ae.call(F,t):0;if(i===o)return c(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?c(a[r],s[r]):a[r]===z?-1:s[r]===z?1:0},l):M},w.matches=function(e,t){return w(e,null,null,t)},w.matchesSelector=function(e,t){if((e.ownerDocument||e)!==M&&_(e),t=t.replace(ye,"='$1']"),E.matchesSelector&&R&&(!P||!P.test(t))&&(!B||!B.test(t)))try{var n=$.call(e,t);if(n||E.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(je){}return 0<w(t,M,null,[e]).length},w.contains=function(e,t){return(e.ownerDocument||e)!==M&&_(e),W(e,t)},w.attr=function(e,t){(e.ownerDocument||e)!==M&&_(e);var n=A.attrHandle[t.toLowerCase()],r=n&&ee.call(A.attrHandle,t.toLowerCase())?n(e,t,!R):i;return r===i?E.attributes||!R?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null:r},w.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},w.uniqueSort=function(e){var t,n=[],r=0,i=0;if(G=!E.detectDuplicates,F=!E.sortStable&&e.slice(0),e.sort(Q),G){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return e},D=w.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+=D(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=D(t);return n},A=w.selectors={cacheLength:50,createPseudo:l,match:xe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Se,Ee),e[3]=(e[4]||e[5]||"").replace(Se,Ee),"~="===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]||w.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]&&w.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return xe.CHILD.test(e[0])?null:(e[3]&&e[4]!==i?e[2]=e[4]:n&&ve.test(n)&&(t=m(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){var t=e.replace(Se,Ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=V[e+" "];return t||(t=new RegExp("(^|"+le+")"+e+"("+le+"|$)"))&&V(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==K&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=w.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,m){var g="nth"!==d.slice(0,3),y="last"!==d.slice(-4),v="of-type"===e;return 1===h&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,l,u=g!==y?"nextSibling":"previousSibling",c=e.parentNode,f=v&&e.nodeName.toLowerCase(),p=!n&&!v;if(c){if(g){for(;u;){for(o=e;o=o[u];)if(v?o.nodeName.toLowerCase()===f:1===o.nodeType)return!1;l=u="only"===d&&!l&&"nextSibling"}return!0}if(l=[y?c.firstChild:c.lastChild],y&&p){for(s=(r=(i=c[I]||(c[I]={}))[d]||[])[0]===X&&r[1],a=r[0]===X&&r[2],o=s&&c.childNodes[s];o=++s&&o&&o[u]||(a=s=0)||l.pop();)if(1===o.nodeType&&++a&&o===e){i[d]=[X,s,a];break}}else if(p&&(r=(e[I]||(e[I]={}))[d])&&r[0]===X)a=r[1];else for(;(o=++s&&o&&o[u]||(a=s=0)||l.pop())&&((v?o.nodeName.toLowerCase()!==f:1!==o.nodeType)||!++a||(p&&((o[I]||(o[I]={}))[d]=[X,a]),o!==e)););return(a-=m)===h||a%h==0&&0<=a/h}}},PSEUDO:function(e,o){var t,a=A.pseudos[e]||A.setFilters[e.toLowerCase()]||w.error("unsupported pseudo: "+e);return a[I]?a(o):1<a.length?(t=[e,e,"",o],A.setFilters.hasOwnProperty(e.toLowerCase())?l(function(e,t){for(var n,r=a(e,o),i=r.length;i--;)e[n=ae.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:l(function(e){var r=[],i=[],s=H(e.replace(de,"$1"));return s[I]?l(function(e,t,n,r){for(var i,o=s(e,null,r,[]),a=e.length;a--;)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),!i.pop()}}),has:l(function(t){return function(e){return 0<w(t,e).length}}),contains:l(function(t){return function(e){return-1<(e.textContent||e.innerText||D(e)).indexOf(t)}}),lang:l(function(n){return be.test(n||"")||w.error("unsupported lang: "+n),n=n.replace(Se,Ee).toLowerCase(),function(e){var t;do{if(t=R?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===O},focus:function(e){return e===M.activeElement&&(!M.hasFocus||M.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},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,!0===e.selected},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!A.pseudos.empty(e)},header:function(e){return Ce.test(e.nodeName)},input:function(e){return ke.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:d(function(){return[0]}),last:d(function(e,t){return[t-1]}),eq:d(function(e,t,n){return[n<0?n+t:n]}),even:d(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:d(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:d(function(e,t,n){for(var r=n<0?n+t:n;0<=--r;)e.push(r);return e}),gt:d(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})A.pseudos[S]=f(S);for(S in{submit:!0,reset:!0})A.pseudos[S]=p(S);H=w.compile=function(e,t){var n,r=[],i=[],o=J[e+" "];if(!o){for(t||(t=m(e)),n=t.length;n--;)(o=b(t[n]))[I]?r.push(o):i.push(o);o=J(e,x(i,r))}return o},A.pseudos.nth=A.pseudos.eq,N.prototype=A.filters=A.pseudos,A.setFilters=new N,E.sortStable=I.split("").sort(Q).join("")===I,_(),[0,0].sort(Q),E.detectDuplicates=G,Ae.find=w,Ae.expr=w.selectors,Ae.expr[":"]=Ae.expr.pseudos,Ae.unique=w.uniqueSort,Ae.text=w.getText,Ae.isXMLDoc=w.isXML,Ae.contains=w.contains}(m);var Ce={};Ae.Callbacks=function(i){i="string"==typeof i?Ce[i]||e(i):Ae.extend({},i);var o,t,n,a,r,s,l=[],u=!i.once&&[],c=function(e){for(t=i.memory&&e,n=!0,r=s||0,s=0,a=l.length,o=!0;l&&r<a;r++)if(!1===l[r].apply(e[0],e[1])&&i.stopOnFalse){t=!1;break}o=!1,l&&(u?u.length&&c(u.shift()):t?l=[]:f.disable())},f={add:function(){if(l){var e=l.length;!function r(e){Ae.each(e,function(e,t){var n=Ae.type(t);"function"===n?i.unique&&f.has(t)||l.push(t):t&&t.length&&"string"!==n&&r(t)})}(arguments),o?a=l.length:t&&(s=e,c(t))}return this},remove:function(){return l&&Ae.each(arguments,function(e,t){for(var n;-1<(n=Ae.inArray(t,l,n));)l.splice(n,1),o&&(n<=a&&a--,n<=r&&r--)}),this},has:function(e){return e?-1<Ae.inArray(e,l):!(!l||!l.length)},empty:function(){return l=[],a=0,this},disable:function(){return l=u=t=k,this},disabled:function(){return!l},lock:function(){return u=k,t||f.disable(),this},locked:function(){return!u},fireWith:function(e,t){return t=[e,(t=t||[]).slice?t.slice():t],!l||n&&!u||(o?u.push(t):c(t)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!n}};return f},Ae.extend({Deferred:function(e){var a=[["resolve","done",Ae.Callbacks("once memory"),"resolved"],["reject","fail",Ae.Callbacks("once memory"),"rejected"],["notify","progress",Ae.Callbacks("memory")]],i="pending",s={state:function(){return i},always:function(){return l.done(arguments).fail(arguments),this},then:function(){var o=arguments;return Ae.Deferred(function(i){Ae.each(a,function(e,t){var n=t[0],r=Ae.isFunction(o[e])&&o[e];l[t[1]](function(){var e=r&&r.apply(this,arguments);e&&Ae.isFunction(e.promise)?e.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[n+"With"](this===s?i.promise():this,r?[e]:arguments)})}),o=null}).promise()},promise:function(e){return null!=e?Ae.extend(e,s):s}},l={};return s.pipe=s.then,Ae.each(a,function(e,t){var n=t[2],r=t[3];s[t[1]]=n.add,r&&n.add(function(){i=r},a[1^e][2].disable,a[2][2].lock),l[t[0]]=function(){return l[t[0]+"With"](this===l?s:this,arguments),this},l[t[0]+"With"]=n.fireWith}),s.promise(l),e&&e.call(l,l),l},when:function(e){var i,t,n,r=0,o=oe.call(arguments),a=o.length,s=1!==a||e&&Ae.isFunction(e.promise)?a:0,l=1===s?e:Ae.Deferred(),u=function(t,n,r){return function(e){n[t]=this,r[t]=1<arguments.length?oe.call(arguments):e,r===i?l.notifyWith(n,r):--s||l.resolveWith(n,r)}};if(1<a)for(i=new Array(a),t=new Array(a),n=new Array(a);r<a;r++)o[r]&&Ae.isFunction(o[r].promise)?o[r].promise().done(u(r,n,o)).fail(l.reject).progress(u(r,t,i)):--s;return s||l.resolveWith(n,o),l.promise()}}),Ae.support=function(o){var e,t,n,r,i,a,s,l,u,c=G.createElement("div");if(c.setAttribute("className","t"),c.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=c.getElementsByTagName("*")||[],!(t=c.getElementsByTagName("a")[0])||!t.style||!e.length)return o;a=(r=G.createElement("select")).appendChild(G.createElement("option")),n=c.getElementsByTagName("input")[0],t.style.cssText="top:1px;float:left;opacity:.5",o.getSetAttribute="t"!==c.className,o.leadingWhitespace=3===c.firstChild.nodeType,o.tbody=!c.getElementsByTagName("tbody").length,o.htmlSerialize=!!c.getElementsByTagName("link").length,o.style=/top/.test(t.getAttribute("style")),o.hrefNormalized="/a"===t.getAttribute("href"),o.opacity=/^0.5/.test(t.style.opacity),o.cssFloat=!!t.style.cssFloat,o.checkOn=!!n.value,o.optSelected=a.selected,o.enctype=!!G.createElement("form").enctype,o.html5Clone="<:nav></:nav>"!==G.createElement("nav").cloneNode(!0).outerHTML,o.inlineBlockNeedsLayout=!1,o.shrinkWrapBlocks=!1,o.pixelPosition=!1,o.deleteExpando=!0,o.noCloneEvent=!0,o.reliableMarginRight=!0,o.boxSizingReliable=!0,n.checked=!0,o.noCloneChecked=n.cloneNode(!0).checked,r.disabled=!0,o.optDisabled=!a.disabled;try{delete c.test}catch(f){o.deleteExpando=!1}for(u in(n=G.createElement("input")).setAttribute("value",""),o.input=""===n.getAttribute("value"),n.value="t",n.setAttribute("type","radio"),o.radioValue="t"===n.value,n.setAttribute("checked","t"),n.setAttribute("name","t"),(i=G.createDocumentFragment()).appendChild(n),o.appendChecked=n.checked,o.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,c.attachEvent&&(c.attachEvent("onclick",function(){o.noCloneEvent=!1}),c.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})c.setAttribute(s="on"+u,"t"),o[u+"Bubbles"]=s in m||!1===c.attributes[s].expando;for(u in c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===c.style.backgroundClip,Ae(o))break;return o.ownLast="0"!==u,Ae(function(){var e,t,n,r="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",i=G.getElementsByTagName("body")[0];i&&((e=G.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",i.appendChild(e).appendChild(c),c.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(n=c.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",l=0===n[0].offsetHeight,n[0].style.display="",n[1].style.display="none",o.reliableHiddenOffsets=l&&0===n[0].offsetHeight,c.innerHTML="",c.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%;",Ae.swap(i,null!=i.style.zoom?{zoom:1}:{},function(){o.boxSizing=4===c.offsetWidth}),m.getComputedStyle&&(o.pixelPosition="1%"!==(m.getComputedStyle(c,null)||{}).top,o.boxSizingReliable="4px"===(m.getComputedStyle(c,null)||{width:"4px"}).width,(t=c.appendChild(G.createElement("div"))).style.cssText=c.style.cssText=r,t.style.marginRight=t.style.width="0",c.style.width="1px",o.reliableMarginRight=!parseFloat((m.getComputedStyle(t,null)||{}).marginRight)),typeof c.style.zoom!==Y&&(c.innerHTML="",c.style.cssText=r+"width:1px;padding:1px;display:inline;zoom:1",o.inlineBlockNeedsLayout=3===c.offsetWidth,c.style.display="block",c.innerHTML="<div></div>",c.firstChild.style.width="5px",o.shrinkWrapBlocks=3!==c.offsetWidth,o.inlineBlockNeedsLayout&&(i.style.zoom=1)),i.removeChild(e),e=c=n=t=null)}),e=r=i=a=t=n=null,o}({});var Ne=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Se=/([A-Z])/g;Ae.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?Ae.cache[e[Ae.expando]]:e[Ae.expando])&&!u(e)},data:function(e,t,n){return r(e,t,n)},removeData:function(e,t){return n(e,t)},_data:function(e,t,n){return r(e,t,n,!0)},_removeData:function(e,t){return n(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&Ae.noData[e.nodeName.toLowerCase()];return!t||!0!==t&&e.getAttribute("classid")===t}}),Ae.fn.extend({data:function(e,t){var n,r,i=null,o=0,a=this[0];if(e!==k)return"object"==typeof e?this.each(function(){Ae.data(this,e)}):1<arguments.length?this.each(function(){Ae.data(this,e,t)}):a?l(a,e,Ae.data(a,e)):null;if(this.length&&(i=Ae.data(a),1===a.nodeType&&!Ae._data(a,"parsedAttrs"))){for(n=a.attributes;o<n.length;o++)0===(r=n[o].name).indexOf("data-")&&l(a,r=Ae.camelCase(r.slice(5)),i[r]);Ae._data(a,"parsedAttrs",!0)}return i},removeData:function(e){return this.each(function(){Ae.removeData(this,e)})}}),Ae.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Ae._data(e,t),n&&(!r||Ae.isArray(n)?r=Ae._data(e,t,Ae.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=Ae.queue(e,t),r=n.length,i=n.shift(),o=Ae._queueHooks(e,t),a=function(){Ae.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),(o.cur=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 Ae._data(e,n)||Ae._data(e,n,{empty:Ae.Callbacks("once memory").add(function(){Ae._removeData(e,t+"queue"),Ae._removeData(e,n)})})}}),Ae.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?Ae.queue(this[0],t):n===k?this:this.each(function(){var e=Ae.queue(this,t,n);Ae._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&Ae.dequeue(this,t)})},dequeue:function(e){return this.each(function(){Ae.dequeue(this,e)})},delay:function(r,e){return r=Ae.fx&&Ae.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=setTimeout(e,r);t.stop=function(){clearTimeout(n)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=Ae.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=k),e=e||"fx";a--;)(n=Ae._data(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var Ee,je,De=/[\t\r\n\f]/g,Le=/\r/g,He=/^(?:input|select|textarea|button|object)$/i,qe=/^(?:a|area)$/i,Fe=/^(?:checked|selected)$/i,_e=Ae.support.getSetAttribute,Me=Ae.support.input;Ae.fn.extend({attr:function(e,t){return Ae.access(this,Ae.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){Ae.removeAttr(this,e)})},prop:function(e,t){return Ae.access(this,Ae.prop,e,t,1<arguments.length)},removeProp:function(t){return t=Ae.propFix[t]||t,this.each(function(){try{this[t]=k,delete this[t]}catch(e){}})},addClass:function(t){var e,n,r,i,o,a=0,s=this.length,l="string"==typeof t&&t;if(Ae.isFunction(t))return this.each(function(e){Ae(this).addClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(fe)||[];a<s;a++)if(r=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(De," "):" ")){for(o=0;i=e[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");n.className=Ae.trim(r)}return this},removeClass:function(t){var e,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof t&&t;if(Ae.isFunction(t))return this.each(function(e){Ae(this).removeClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(fe)||[];a<s;a++)if(r=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(De," "):"")){for(o=0;i=e[o++];)for(;0<=r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");n.className=t?Ae.trim(r):""}return this},toggleClass:function(o,a){var s=typeof o,l="boolean"==typeof a;return Ae.isFunction(o)?this.each(function(e){Ae(this).toggleClass(o.call(this,e,this.className,a),a)}):this.each(function(){if("string"===s)for(var e,t=0,n=Ae(this),r=a,i=o.match(fe)||[];e=i[t++];)r=l?r:!n.hasClass(e),n[r?"addClass":"removeClass"](e);else s!==Y&&"boolean"!==s||(this.className&&Ae._data(this,"__className__",this.className),this.className=this.className||!1===o?"":Ae._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&0<=(" "+this[n].className+" ").replace(De," ").indexOf(t))return!0;return!1},val:function(n){var e,r,i,t=this[0];return arguments.length?(i=Ae.isFunction(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,Ae(this).val()):n)?t="":"number"==typeof t?t+="":Ae.isArray(t)&&(t=Ae.map(t,function(e){return null==e?"":e+""})),(r=Ae.valHooks[this.type]||Ae.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&r.set(this,t,"value")!==k||(this.value=t))})):t?(r=Ae.valHooks[t.type]||Ae.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&(e=r.get(t,"value"))!==k?e:"string"==typeof(e=t.value)?e.replace(Le,""):null==e?"":e:void 0}}),Ae.extend({valHooks:{option:{get:function(e){var t=Ae.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,l=i<0?s:o?i:0;l<s;l++)if(((n=r[l]).selected||l===i)&&(Ae.support.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!Ae.nodeName(n.parentNode,"optgroup"))){if(t=Ae(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=Ae.makeArray(t),a=i.length;a--;)((r=i[a]).selected=0<=Ae.inArray(Ae(r).val(),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===Y?Ae.prop(e,t,n):(1===o&&Ae.isXMLDoc(e)||(t=t.toLowerCase(),r=Ae.attrHooks[t]||(Ae.expr.match.bool.test(t)?je:Ee)),n===k?r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=Ae.find.attr(e,t))?k:i:null!==n?r&&"set"in r&&(i=r.set(e,n,t))!==k?i:(e.setAttribute(t,n+""),n):void Ae.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(fe);if(o&&1===e.nodeType)for(;n=o[i++];)r=Ae.propFix[n]||n,Ae.expr.match.bool.test(n)?Me&&_e||!Fe.test(n)?e[r]=!1:e[Ae.camelCase("default-"+n)]=e[r]=!1:Ae.attr(e,n,""),e.removeAttribute(_e?n:r)},attrHooks:{type:{set:function(e,t){if(!Ae.support.radioValue&&"radio"===t&&Ae.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!Ae.isXMLDoc(e))&&(t=Ae.propFix[t]||t,i=Ae.propHooks[t]),n!==k?i&&"set"in i&&(r=i.set(e,n,t))!==k?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=Ae.find.attr(e,"tabindex");return t?parseInt(t,10):He.test(e.nodeName)||qe.test(e.nodeName)&&e.href?0:-1}}}}),je={set:function(e,t,n){return!1===t?Ae.removeAttr(e,n):Me&&_e||!Fe.test(n)?e.setAttribute(!_e&&Ae.propFix[n]||n,n):e[Ae.camelCase("default-"+n)]=e[n]=!0,n}},Ae.each(Ae.expr.match.bool.source.match(/\w+/g),function(e,t){var o=Ae.expr.attrHandle[t]||Ae.find.attr;Ae.expr.attrHandle[t]=Me&&_e||!Fe.test(t)?function(e,t,n){var r=Ae.expr.attrHandle[t],i=n?k:(Ae.expr.attrHandle[t]=k)!=o(e,t,n)?t.toLowerCase():null;return Ae.expr.attrHandle[t]=r,i}:function(e,t,n){return n?k:e[Ae.camelCase("default-"+t)]?t.toLowerCase():null}}),Me&&_e||(Ae.attrHooks.value={set:function(e,t,n){if(!Ae.nodeName(e,"input"))return Ee&&Ee.set(e,t,n);e.defaultValue=t}}),_e||(Ee={set:function(e,t,n){var r=e.getAttributeNode(n);return r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n)?t:k}},Ae.expr.attrHandle.id=Ae.expr.attrHandle.name=Ae.expr.attrHandle.coords=function(e,t,n){var r;return n?k:(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},Ae.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:k},set:Ee.set},Ae.attrHooks.contenteditable={set:function(e,t,n){Ee.set(e,""!==t&&t,n)}},Ae.each(["width","height"],function(e,n){Ae.attrHooks[n]={set:function(e,t){if(""===t)return e.setAttribute(n,"auto"),t}}})),Ae.support.hrefNormalized||Ae.each(["href","src"],function(e,t){Ae.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),Ae.support.style||(Ae.attrHooks.style={get:function(e){return e.style.cssText||k},set:function(e,t){return e.style.cssText=t+""}}),Ae.support.optSelected||(Ae.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,
+t.parentNode&&t.parentNode.selectedIndex),null}}),Ae.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Ae.propFix[this.toLowerCase()]=this}),Ae.support.enctype||(Ae.propFix.enctype="encoding"),Ae.each(["radio","checkbox"],function(){Ae.valHooks[this]={set:function(e,t){if(Ae.isArray(t))return e.checked=0<=Ae.inArray(Ae(e).val(),t)}},Ae.support.checkOn||(Ae.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Oe=/^(?:input|select|textarea)$/i,Re=/^key/,Be=/^(?:mouse|contextmenu)|click/,Pe=/^(?:focusinfocus|focusoutblur)$/,$e=/^([^.]*)(?:\.(.+)|)$/;Ae.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,u,c,f,p,d,h,m,g=Ae._data(e);if(g){for(n.handler&&(n=(l=n).handler,i=l.selector),n.guid||(n.guid=Ae.guid++),(a=g.events)||(a=g.events={}),(c=g.handle)||((c=g.handle=function(e){return typeof Ae===Y||e&&Ae.event.triggered===e.type?k:Ae.event.dispatch.apply(c.elem,arguments)}).elem=e),s=(t=(t||"").match(fe)||[""]).length;s--;)d=m=(o=$e.exec(t[s])||[])[1],h=(o[2]||"").split(".").sort(),d&&(u=Ae.event.special[d]||{},d=(i?u.delegateType:u.bindType)||d,u=Ae.event.special[d]||{},f=Ae.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&Ae.expr.match.needsContext.test(i),namespace:h.join(".")},l),(p=a[d])||((p=a[d]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,r,h,c)||(e.addEventListener?e.addEventListener(d,c,!1):e.attachEvent&&e.attachEvent("on"+d,c))),u.add&&(u.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,f):p.push(f),Ae.event.global[d]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,f,p,d,h,m,g=Ae.hasData(e)&&Ae._data(e);if(g&&(c=g.events)){for(u=(t=(t||"").match(fe)||[""]).length;u--;)if(d=m=(s=$e.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=Ae.event.special[d]||{},p=c[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=p.length;o--;)a=p[o],!i&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(p.splice(o,1),a.selector&&p.delegateCount--,f.remove&&f.remove.call(e,a));l&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,g.handle)||Ae.removeEvent(e,d,g.handle),delete c[d])}else for(d in c)Ae.event.remove(e,d+t[u],n,r,!0);Ae.isEmptyObject(c)&&(delete g.handle,Ae._removeData(e,"events"))}},trigger:function(e,t,n,r){var i,o,a,s,l,u,c,f=[n||G],p=le.call(e,"type")?e.type:e,d=le.call(e,"namespace")?e.namespace.split("."):[];if(a=u=n=n||G,3!==n.nodeType&&8!==n.nodeType&&!Pe.test(p+Ae.event.triggered)&&(0<=p.indexOf(".")&&(p=(d=p.split(".")).shift(),d.sort()),o=p.indexOf(":")<0&&"on"+p,(e=e[Ae.expando]?e:new Ae.Event(p,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=d.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=k,e.target||(e.target=n),t=null==t?[e]:Ae.makeArray(t,[e]),l=Ae.event.special[p]||{},r||!l.trigger||!1!==l.trigger.apply(n,t))){if(!r&&!l.noBubble&&!Ae.isWindow(n)){for(s=l.delegateType||p,Pe.test(s+p)||(a=a.parentNode);a;a=a.parentNode)f.push(a),u=a;u===(n.ownerDocument||G)&&f.push(u.defaultView||u.parentWindow||m)}for(c=0;(a=f[c++])&&!e.isPropagationStopped();)e.type=1<c?s:l.bindType||p,(i=(Ae._data(a,"events")||{})[e.type]&&Ae._data(a,"handle"))&&i.apply(a,t),(i=o&&a[o])&&Ae.acceptData(a)&&i.apply&&!1===i.apply(a,t)&&e.preventDefault();if(e.type=p,!r&&!e.isDefaultPrevented()&&(!l._default||!1===l._default.apply(f.pop(),t))&&Ae.acceptData(n)&&o&&n[p]&&!Ae.isWindow(n)){(u=n[o])&&(n[o]=null),Ae.event.triggered=p;try{n[p]()}catch(h){}Ae.event.triggered=k,u&&(n[o]=u)}return e.result}},dispatch:function(e){e=Ae.event.fix(e);var t,n,r,i,o,a=[],s=oe.call(arguments),l=(Ae._data(this,"events")||{})[e.type]||[],u=Ae.event.special[e.type]||{};if((s[0]=e).delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(a=Ae.event.handlers.call(this,e,l),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,o=0;(r=i.handlers[o++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(r.namespace)||(e.handleObj=r,e.data=r.data,(n=((Ae.event.special[r.origType]||{}).handle||r.handler).apply(i.elem,s))!==k&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],o=0;o<s;o++)i[n=(r=t[o]).selector+" "]===k&&(i[n]=r.needsContext?0<=Ae(n,this).index(l):Ae.find(n,this,null,[l]).length),i[n]&&i.push(r);i.length&&a.push({elem:l,handlers:i})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[Ae.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Be.test(i)?this.mouseHooks:Re.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new Ae.Event(o),t=r.length;t--;)e[n=r[t]]=o[n];return e.target||(e.target=o.srcElement||G),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):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,t){var n,r,i,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(i=(r=e.target.ownerDocument||G).documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||o===k||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==t()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===t()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(Ae.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return Ae.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==k&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=Ae.extend(new Ae.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?Ae.event.trigger(i,null,t):Ae.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},Ae.removeEvent=G.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]===Y&&(e[r]=null),e.detachEvent(r,n))},Ae.Event=function(e,t){if(!(this instanceof Ae.Event))return new Ae.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault()?i:c):this.type=e,t&&Ae.extend(this,t),this.timeStamp=e&&e.timeStamp||Ae.now(),this[Ae.expando]=!0},Ae.Event.prototype={isDefaultPrevented:c,isPropagationStopped:c,isImmediatePropagationStopped:c,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=i,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=i,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=i,this.stopPropagation()}},Ae.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,o){Ae.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=this,r=e.relatedTarget,i=e.handleObj;return r&&(r===n||Ae.contains(n,r))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=o),t}}}),Ae.support.submitBubbles||(Ae.event.special.submit={setup:function(){if(Ae.nodeName(this,"form"))return!1;Ae.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=Ae.nodeName(t,"input")||Ae.nodeName(t,"button")?t.form:k;n&&!Ae._data(n,"submitBubbles")&&(Ae.event.add(n,"submit._submit",function(e){e._submit_bubble=!0}),Ae._data(n,"submitBubbles",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&Ae.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(Ae.nodeName(this,"form"))return!1;Ae.event.remove(this,"._submit")}}),Ae.support.changeBubbles||(Ae.event.special.change={setup:function(){if(Oe.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(Ae.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),Ae.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),Ae.event.simulate("change",this,e,!0)})),!1;Ae.event.add(this,"beforeactivate._change",function(e){var t=e.target;Oe.test(t.nodeName)&&!Ae._data(t,"changeBubbles")&&(Ae.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||Ae.event.simulate("change",this.parentNode,e,!0)}),Ae._data(t,"changeBubbles",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return Ae.event.remove(this,"._change"),!Oe.test(this.nodeName)}}),Ae.support.focusinBubbles||Ae.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){Ae.event.simulate(t,e.target,Ae.event.fix(e),!0)};Ae.event.special[t]={setup:function(){0==n++&&G.addEventListener(e,r,!0)},teardown:function(){0==--n&&G.removeEventListener(e,r,!0)}}}),Ae.fn.extend({on:function(e,t,n,r,i){var o,a;if("object"==typeof e){for(o in"string"!=typeof t&&(n=n||t,t=k),e)this.on(o,t,n,e[o],i);return this}if(null==n&&null==r?(r=t,n=t=k):null==r&&("string"==typeof t?(r=n,n=k):(r=n,n=t,t=k)),!1===r)r=c;else if(!r)return this;return 1===i&&(a=r,(r=function(e){return Ae().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=Ae.guid++)),this.each(function(){Ae.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,Ae(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=k),!1===n&&(n=c),this.each(function(){Ae.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i]);return this},trigger:function(e,t){return this.each(function(){Ae.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Ae.event.trigger(e,t,n,!0)}});var We=/^.[^:#\[\.,]*$/,Ie=/^(?:parents|prev(?:Until|All))/,ze=Ae.expr.match.needsContext,Xe={children:!0,contents:!0,next:!0,prev:!0};Ae.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(Ae(e).filter(function(){for(t=0;t<i;t++)if(Ae.contains(r[t],this))return!0}));for(t=0;t<i;t++)Ae.find(e,r[t],n);return(n=this.pushStack(1<i?Ae.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=Ae(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(Ae.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(a(this,e||[],!0))},filter:function(e){return this.pushStack(a(this,e||[],!1))},is:function(e){return!!a(this,"string"==typeof e&&ze.test(e)?Ae(e):e||[],!1).length},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=ze.test(e)||"string"!=typeof e?Ae(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&Ae.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(1<o.length?Ae.unique(o):o)},index:function(e){return e?"string"==typeof e?Ae.inArray(this[0],Ae(e)):Ae.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?Ae(e,t):Ae.makeArray(e&&e.nodeType?[e]:e),r=Ae.merge(this.get(),n);return this.pushStack(Ae.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Ae.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ae.dir(e,"parentNode")},parentsUntil:function(e,t,n){return Ae.dir(e,"parentNode",n)},next:function(e){return o(e,"nextSibling")},prev:function(e){return o(e,"previousSibling")},nextAll:function(e){return Ae.dir(e,"nextSibling")},prevAll:function(e){return Ae.dir(e,"previousSibling")},nextUntil:function(e,t,n){return Ae.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ae.dir(e,"previousSibling",n)},siblings:function(e){return Ae.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return Ae.sibling(e.firstChild)},contents:function(e){return Ae.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:Ae.merge([],e.childNodes)}},function(r,i){Ae.fn[r]=function(e,t){var n=Ae.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=Ae.filter(t,n)),1<this.length&&(Xe[r]||(n=Ae.unique(n)),Ie.test(r)&&(n=n.reverse())),this.pushStack(n)}}),Ae.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Ae.find.matchesSelector(r,e)?[r]:[]:Ae.find.matches(e,Ae.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(n===k||1!==i.nodeType||!Ae(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var Ue="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ve=/ jQuery\d+="(?:null|\d+)"/g,Ye=new RegExp("<(?:"+Ue+")[\\s/>]","i"),Je=/^\s+/,Ge=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Qe=/<([\w:]+)/,Ke=/<tbody/i,Ze=/<|&#?\w+;/,et=/<(?:script|style|link)/i,tt=/^(?:checkbox|radio)$/i,nt=/checked\s*(?:[^=]|=\s*.checked.)/i,rt=/^$|\/(?:java|ecma)script/i,it=/^true\/(.*)/,ot=/^\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:Ae.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},st=g(G).appendChild(G.createElement("div"));at.optgroup=at.option,at.tbody=at.tfoot=at.colgroup=at.caption=at.thead,at.th=at.td,Ae.fn.extend({text:function(e){return Ae.access(this,function(e){return e===k?Ae.text(this):this.empty().append((this[0]&&this[0].ownerDocument||G).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||f(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=f(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?Ae.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||Ae.cleanData(x(n)),n.parentNode&&(t&&Ae.contains(n.ownerDocument,n)&&b(x(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&Ae.cleanData(x(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&Ae.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Ae.clone(this,e,t)})},html:function(e){return Ae.access(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===k)return 1===t.nodeType?t.innerHTML.replace(Ve,""):k;if("string"==typeof e&&!et.test(e)&&(Ae.support.htmlSerialize||!Ye.test(e))&&(Ae.support.leadingWhitespace||!Je.test(e))&&!at[(Qe.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Ge,"<$1></$2>");try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(Ae.cleanData(x(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var r=Ae.map(this,function(e){return[e.nextSibling,e.parentNode]}),i=0;return this.domManip(arguments,function(e){var t=r[i++],n=r[i++];n&&(t&&t.parentNode!==n&&(t=this.nextSibling),Ae(this).remove(),n.insertBefore(e,t))},!0),i?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(n,r,i){n=re.apply([],n);var e,t,o,a,s,l,u=0,c=this.length,f=this,p=c-1,d=n[0],h=Ae.isFunction(d);if(h||!(c<=1||"string"!=typeof d||Ae.support.checkClone)&&nt.test(d))return this.each(function(e){var t=f.eq(e);h&&(n[0]=d.call(this,e,t.html())),t.domManip(n,r,i)});if(c&&(e=(l=Ae.buildFragment(n,this[0].ownerDocument,!1,!i&&this)).firstChild,1===l.childNodes.length&&(l=e),e)){for(o=(a=Ae.map(x(l,"script"),y)).length;u<c;u++)t=l,u!==p&&(t=Ae.clone(t,!0,!0),o&&Ae.merge(a,x(t,"script"))),r.call(this[u],t,u);if(o)for(s=a[a.length-1].ownerDocument,Ae.map(a,v),u=0;u<o;u++)t=a[u],rt.test(t.type||"")&&!Ae._data(t,"globalEval")&&Ae.contains(s,t)&&(t.src?Ae._evalUrl(t.src):Ae.globalEval((t.text||t.textContent||t.innerHTML||"").replace(ot,"")));l=e=null}return this}}),Ae.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){Ae.fn[e]=function(e){for(var t,n=0,r=[],i=Ae(e),o=i.length-1;n<=o;n++)t=n===o?this:this.clone(!0),Ae(i[n])[a](t),ie.apply(r,t.get());return this.pushStack(r)}}),Ae.extend({clone:function(e,t,n){var r,i,o,a,s,l=Ae.contains(e.ownerDocument,e);if(Ae.support.html5Clone||Ae.isXMLDoc(e)||!Ye.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(st.innerHTML=e.outerHTML,st.removeChild(o=st.firstChild)),!(Ae.support.noCloneEvent&&Ae.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Ae.isXMLDoc(e)))for(r=x(o),s=x(e),a=0;null!=(i=s[a]);++a)r[a]&&d(i,r[a]);if(t)if(n)for(s=s||x(e),r=r||x(o),a=0;null!=(i=s[a]);a++)p(i,r[a]);else p(e,o);return 0<(r=x(o,"script")).length&&b(r,!l&&x(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){for(var i,o,a,s,l,u,c,f=e.length,p=g(t),d=[],h=0;h<f;h++)if((o=e[h])||0===o)if("object"===Ae.type(o))Ae.merge(d,o.nodeType?[o]:o);else if(Ze.test(o)){for(s=s||p.appendChild(t.createElement("div")),l=(Qe.exec(o)||["",""])[1].toLowerCase(),c=at[l]||at._default,s.innerHTML=c[1]+o.replace(Ge,"<$1></$2>")+c[2],i=c[0];i--;)s=s.lastChild;if(!Ae.support.leadingWhitespace&&Je.test(o)&&d.push(t.createTextNode(Je.exec(o)[0])),!Ae.support.tbody)for(i=(o="table"!==l||Ke.test(o)?"<table>"!==c[1]||Ke.test(o)?0:s:s.firstChild)&&o.childNodes.length;i--;)Ae.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(Ae.merge(d,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=p.lastChild}else d.push(t.createTextNode(o));for(s&&p.removeChild(s),Ae.support.appendChecked||Ae.grep(x(d,"input"),w),h=0;o=d[h++];)if((!r||-1===Ae.inArray(o,r))&&(a=Ae.contains(o.ownerDocument,o),s=x(p.appendChild(o),"script"),a&&b(s),n))for(i=0;o=s[i++];)rt.test(o.type||"")&&n.push(o);return s=null,p},cleanData:function(e,t){for(var n,r,i,o,a=0,s=Ae.expando,l=Ae.cache,u=Ae.support.deleteExpando,c=Ae.event.special;null!=(n=e[a]);a++)if((t||Ae.acceptData(n))&&(o=(i=n[s])&&l[i])){if(o.events)for(r in o.events)c[r]?Ae.event.remove(n,r):Ae.removeEvent(n,r,o.handle);l[i]&&(delete l[i],u?delete n[s]:typeof n.removeAttribute!==Y?n.removeAttribute(s):n[s]=null,te.push(i))}},_evalUrl:function(e){return Ae.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),Ae.fn.extend({wrapAll:function(t){if(Ae.isFunction(t))return this.each(function(e){Ae(this).wrapAll(t.call(this,e))});if(this[0]){var e=Ae(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(n){return Ae.isFunction(n)?this.each(function(e){Ae(this).wrapInner(n.call(this,e))}):this.each(function(){var e=Ae(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=Ae.isFunction(t);return this.each(function(e){Ae(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){Ae.nodeName(this,"body")||Ae(this).replaceWith(this.childNodes)}).end()}});var lt,ut,ct,ft=/alpha\([^)]*\)/i,pt=/opacity\s*=\s*([^)]*)/,dt=/^(top|right|bottom|left)$/,ht=/^(none|table(?!-c[ea]).+)/,mt=/^margin/,gt=new RegExp("^("+ce+")(.*)$","i"),yt=new RegExp("^("+ce+")(?!px)[a-z%]+$","i"),vt=new RegExp("^([+-])=("+ce+")","i"),bt={BODY:"block"},xt={position:"absolute",visibility:"hidden",display:"block"},wt={letterSpacing:0,fontWeight:400},Tt=["Top","Right","Bottom","Left"],kt=["Webkit","O","Moz","ms"];Ae.fn.extend({css:function(e,t){return Ae.access(this,function(e,t,n){var r,i,o={},a=0;if(Ae.isArray(t)){for(i=ut(e),r=t.length;a<r;a++)o[t[a]]=Ae.css(e,t[a],!1,i);return o}return n!==k?Ae.style(e,t,n):Ae.css(e,t)},e,t,1<arguments.length)},show:function(){return C(this,!0)},hide:function(){return C(this)},toggle:function(e){var t="boolean"==typeof e;return this.each(function(){(t?e:T(this))?Ae(this).show():Ae(this).hide()})}}),Ae.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ct(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":Ae.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=Ae.camelCase(t),l=e.style;if(t=Ae.cssProps[s]||(Ae.cssProps[s]=h(l,s)),a=Ae.cssHooks[t]||Ae.cssHooks[s],n===k)return a&&"get"in a&&(i=a.get(e,!1,r))!==k?i:l[t];if(!("string"===(o=typeof n)&&(i=vt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(Ae.css(e,t)),o="number"),null==n||"number"===o&&isNaN(n)||("number"!==o||Ae.cssNumber[s]||(n+="px"),Ae.support.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&(n=a.set(e,n,r))===k)))try{l[t]=n}catch(u){}}},css:function(e,t,n,r){var i,o,a,s=Ae.camelCase(t);return t=Ae.cssProps[s]||(Ae.cssProps[s]=h(e.style,s)),(a=Ae.cssHooks[t]||Ae.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),o===k&&(o=ct(e,t,r)),"normal"===o&&t in wt&&(o=wt[t]),""===n||n?(i=parseFloat(o),!0===n||Ae.isNumeric(i)?i||0:o):o}}),m.getComputedStyle?(ut=function(e){return m.getComputedStyle(e,null)},ct=function(e,t,n){var r,i,o,a=n||ut(e),s=a?a.getPropertyValue(t)||a[t]:k,l=e.style;return a&&(""!==s||Ae.contains(e.ownerDocument,e)||(s=Ae.style(e,t)),yt.test(s)&&mt.test(t)&&(r=l.width,i=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=a.width,l.width=r,l.minWidth=i,l.maxWidth=o)),s}):G.documentElement.currentStyle&&(ut=function(e){return e.currentStyle},ct=function(e,t,n){var r,i,o,a=n||ut(e),s=a?a[t]:k,l=e.style;return null==s&&l&&l[t]&&(s=l[t]),yt.test(s)&&!dt.test(t)&&(r=l.left,(o=(i=e.runtimeStyle)&&i.left)&&(i.left=e.currentStyle.left),l.left="fontSize"===t?"1em":s,s=l.pixelLeft+"px",l.left=r,o&&(i.left=o)),""===s?"auto":s}),Ae.each(["height","width"],function(e,i){Ae.cssHooks[i]={get:function(e,t,n){if(t)return 0===e.offsetWidth&&ht.test(Ae.css(e,"display"))?Ae.swap(e,xt,function(){return E(e,i,n)}):E(e,i,n)},set:function(e,t,n){var r=n&&ut(e);return N(e,t,n?S(e,i,n,Ae.support.boxSizing&&"border-box"===Ae.css(e,"boxSizing",!1,r),r):0)}}}),Ae.support.opacity||(Ae.cssHooks.opacity={get:function(e,t){return pt.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=Ae.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";((n.zoom=1)<=t||""===t)&&""===Ae.trim(o.replace(ft,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=ft.test(o)?o.replace(ft,i):o+" "+i)}}),Ae(function(){Ae.support.reliableMarginRight||(Ae.cssHooks.marginRight={get:function(e,t){if(t)return Ae.swap(e,{display:"inline-block"},ct,[e,"marginRight"])}}),!Ae.support.pixelPosition&&Ae.fn.position&&Ae.each(["top","left"],function(e,n){Ae.cssHooks[n]={get:function(e,t){if(t)return t=ct(e,n),yt.test(t)?Ae(e).position()[n]+"px":t}}})}),Ae.expr&&Ae.expr.filters&&(Ae.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!Ae.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||Ae.css(e,"display"))},Ae.expr.filters.visible=function(e){return!Ae.expr.filters.hidden(e)}),Ae.each({margin:"",padding:"",border:"Width"},function(i,o){Ae.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Tt[t]+o]=r[t]||r[t-2]||r[0];return n}},mt.test(i)||(Ae.cssHooks[i+o].set=N)});var Ct=/%20/g,Nt=/\[\]$/,St=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;Ae.fn.extend({serialize:function(){return Ae.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Ae.prop(this,"elements");return e?Ae.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Ae(this).is(":disabled")&&jt.test(this.nodeName)&&!Et.test(e)&&(this.checked||!tt.test(e))}).map(function(e,t){var n=Ae(this).val();return null==n?null:Ae.isArray(n)?Ae.map(n,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}}),Ae.param=function(e,t){var n,r=[],i=function(e,t){t=Ae.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(t===k&&(t=Ae.ajaxSettings&&Ae.ajaxSettings.traditional),Ae.isArray(e)||e.jquery&&!Ae.isPlainObject(e))Ae.each(e,function(){i(this.name,this.value)});else for(n in e)D(n,e[n],t,i);return r.join("&").replace(Ct,"+")},Ae.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,n){Ae.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),Ae.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},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)}});var At,Dt,Lt=Ae.now(),Ht=/\?/,qt=/#.*$/,Ft=/([?&])_=[^&]*/,_t=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Mt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ot=/^(?:GET|HEAD)$/,Rt=/^\/\//,Bt=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Pt=Ae.fn.load,$t={},Wt={},It="*/".concat("*");try{Dt=J.href}catch(rn){(Dt=G.createElement("a")).href="",Dt=Dt.href}At=Bt.exec(Dt.toLowerCase())||[],Ae.fn.load=function(e,t,n){if("string"!=typeof e&&Pt)return Pt.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return 0<=s&&(r=e.slice(s,e.length),e=e.slice(0,s)),Ae.isFunction(t)?(n=t,t=k):t&&"object"==typeof t&&(o="POST"),0<a.length&&Ae.ajax({url:e,type:o,dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?Ae("<div>").append(Ae.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this},Ae.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Ae.fn[t]=function(e){return this.on(t,e)}}),Ae.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Dt,type:"GET",isLocal:Mt.test(At[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,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",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":Ae.parseJSON,"text xml":Ae.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?q(q(e,Ae.ajaxSettings),t):q(Ae.ajaxSettings,e)},ajaxPrefilter:L($t),ajaxTransport:L(Wt),ajax:function(e,t){function n(e,t,n,r){var i,o,a,s,l,u=t;2!==w&&(w=2,p&&clearTimeout(p),h=k,f=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=F(m,T,n)),s=_(m,s,T,i),i?(m.ifModified&&((l=T.getResponseHeader("Last-Modified"))&&(Ae.lastModified[c]=l),(l=T.getResponseHeader("etag"))&&(Ae.etag[c]=l)),204===e||"HEAD"===m.type?u="nocontent":304===e?u="notmodified":(u=s.state,o=s.data,i=!(a=s.error))):(a=u,!e&&u||(u="error",e<0&&(e=0))),T.status=e,T.statusText=(t||u)+"",i?v.resolveWith(g,[o,u,T]):v.rejectWith(g,[T,u,a]),T.statusCode(x),x=k,d&&y.trigger(i?"ajaxSuccess":"ajaxError",[T,m,i?o:a]),b.fireWith(g,[T,u]),d&&(y.trigger("ajaxComplete",[T,m]),--Ae.active||Ae.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=k),t=t||{};var r,i,c,f,p,d,h,o,m=Ae.ajaxSetup({},t),g=m.context||m,y=m.context&&(g.nodeType||g.jquery)?Ae(g):Ae.event,v=Ae.Deferred(),b=Ae.Callbacks("once memory"),x=m.statusCode||{},a={},s={},w=0,l="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!o)for(o={};t=_t.exec(f);)o[t[1].toLowerCase()]=t[2];t=o[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?f:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=s[n]=s[n]||e,a[e]=t),this},overrideMimeType:function(e){return w||(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)x[t]=[x[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||l;return h&&h.abort(t),n(0,t),this}};if(v.promise(T).complete=b.add,T.success=T.done,T.error=T.fail,m.url=((e||m.url||Dt)+"").replace(qt,"").replace(Rt,At[1]+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=Ae.trim(m.dataType||"*").toLowerCase().match(fe)||[""],null==m.crossDomain&&(r=Bt.exec(m.url.toLowerCase()),m.crossDomain=!(!r||r[1]===At[1]&&r[2]===At[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(At[3]||("http:"===At[1]?"80":"443")))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=Ae.param(m.data,m.traditional)),H($t,m,t,T),2===w)return T;for(i in(d=m.global)&&0==Ae.active++&&Ae.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Ot.test(m.type),c=m.url,m.hasContent||(m.data&&(c=m.url+=(Ht.test(c)?"&":"?")+m.data,delete m.data),!1===m.cache&&(m.url=Ft.test(c)?c.replace(Ft,"$1_="+Lt++):c+(Ht.test(c)?"&":"?")+"_="+Lt++)),m.ifModified&&(Ae.lastModified[c]&&T.setRequestHeader("If-Modified-Since",Ae.lastModified[c]),Ae.etag[c]&&T.setRequestHeader("If-None-Match",Ae.etag[c])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&T.setRequestHeader("Content-Type",m.contentType),T.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+It+"; q=0.01":""):m.accepts["*"]),m.headers)T.setRequestHeader(i,m.headers[i]);if(m.beforeSend&&(!1===m.beforeSend.call(g,T,m)||2===w))return T.abort();for(i in l="abort",{success:1,error:1,complete:1})T[i](m[i]);if(h=H(Wt,m,t,T)){T.readyState=1,d&&y.trigger("ajaxSend",[T,m]),m.async&&0<m.timeout&&(p=setTimeout(function(){T.abort("timeout")},m.timeout));try{w=1,h.send(a,n)}catch(rn){if(!(w<2))throw rn;n(-1,rn)}}else n(-1,"No Transport");return T},getJSON:function(e,t,n){return Ae.get(e,t,n,"json")},getScript:function(e,t){return Ae.get(e,k,t,"script")}}),Ae.each(["get","post"],function(e,i){Ae[i]=function(e,t,n,r){return Ae.isFunction(t)&&(r=r||n,n=t,t=k),Ae.ajax({url:e,type:i,dataType:r,data:t,success:n})}}),Ae.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return Ae.globalEval(e),e}}}),Ae.ajaxPrefilter("script",function(e){e.cache===k&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),Ae.ajaxTransport("script",function(t){if(t.crossDomain){var r,i=G.head||Ae("head")[0]||G.documentElement;return{send:function(e,n){(r=G.createElement("script")).async=!0,t.scriptCharset&&(
+r.charset=t.scriptCharset),r.src=t.url,r.onload=r.onreadystatechange=function(e,t){(t||!r.readyState||/loaded|complete/.test(r.readyState))&&(r.onload=r.onreadystatechange=null,r.parentNode&&r.parentNode.removeChild(r),r=null,t||n(200,"success"))},i.insertBefore(r,i.firstChild)},abort:function(){r&&r.onload(k,!0)}}}});var zt=[],Xt=/(=)\?(?=&|$)|\?\?/;Ae.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||Ae.expando+"_"+Lt++;return this[e]=!0,e}}),Ae.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Xt.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=Ae.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Xt,"$1"+r):!1!==e.jsonp&&(e.url+=(Ht.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||Ae.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=m[r],m[r]=function(){o=arguments},n.always(function(){m[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&Ae.isFunction(i)&&i(o[0]),o=i=k}),"script"});var Ut,Vt,Yt=0,Jt=m.ActiveXObject&&function(){var e;for(e in Ut)Ut[e](k,!0)};Ae.ajaxSettings.xhr=m.ActiveXObject?function(){return!this.isLocal&&M()||O()}:M,Vt=Ae.ajaxSettings.xhr(),Ae.support.cors=!!Vt&&"withCredentials"in Vt,(Vt=Ae.support.ajax=!!Vt)&&Ae.ajaxTransport(function(c){var f;if(!c.crossDomain||Ae.support.cors)return{send:function(e,s){var l,t,u=c.xhr();if(c.username?u.open(c.type,c.url,c.async,c.username,c.password):u.open(c.type,c.url,c.async),c.xhrFields)for(t in c.xhrFields)u[t]=c.xhrFields[t];c.mimeType&&u.overrideMimeType&&u.overrideMimeType(c.mimeType),c.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");try{for(t in e)u.setRequestHeader(t,e[t])}catch(n){}u.send(c.hasContent&&c.data||null),f=function(e,t){var n,r,i,o;try{if(f&&(t||4===u.readyState))if(f=k,l&&(u.onreadystatechange=Ae.noop,Jt&&delete Ut[l]),t)4!==u.readyState&&u.abort();else{o={},n=u.status,r=u.getAllResponseHeaders(),"string"==typeof u.responseText&&(o.text=u.responseText);try{i=u.statusText}catch(rn){i=""}n||!c.isLocal||c.crossDomain?1223===n&&(n=204):n=o.text?200:404}}catch(a){t||s(-1,a)}o&&s(n,i,o,r)},c.async?4===u.readyState?setTimeout(f):(l=++Yt,Jt&&(Ut||(Ut={},Ae(m).unload(Jt)),Ut[l]=f),u.onreadystatechange=f):f()},abort:function(){f&&f(k,!0)}}});var Gt,Qt,Kt=/^(?:toggle|show|hide)$/,Zt=new RegExp("^(?:([+-])=|)("+ce+")([a-z%]*)$","i"),en=/queueHooks$/,tn=[W],nn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Zt.exec(t),o=i&&i[3]||(Ae.cssNumber[e]?"":"px"),a=(Ae.cssNumber[e]||"px"!==o&&+r)&&Zt.exec(Ae.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o)for(o=o||a[3],i=i||[],a=+r||1;a/=s=s||".5",Ae.style(n.elem,e,a+o),s!==(s=n.cur()/r)&&1!==s&&--l;);return i&&(n.unit=o,n.start=+a||+r||0,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};Ae.Animation=Ae.extend(P,{tweener:function(e,t){Ae.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;r<i;r++)n=e[r],nn[n]=nn[n]||[],nn[n].unshift(t)},prefilter:function(e,t){t?tn.unshift(e):tn.push(e)}}),(Ae.Tween=I).prototype={constructor:I,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||(Ae.cssNumber[n]?"":"px")},cur:function(){var e=I.propHooks[this.prop];return e&&e.get?e.get(this):I.propHooks._default.get(this)},run:function(e){var t,n=I.propHooks[this.prop];return this.options.duration?this.pos=t=Ae.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=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):I.propHooks._default.set(this),this}},I.prototype.init.prototype=I.prototype,I.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=Ae.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){Ae.fx.step[e.prop]?Ae.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[Ae.cssProps[e.prop]]||Ae.cssHooks[e.prop])?Ae.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Ae.each(["toggle","show","hide"],function(e,r){var i=Ae.fn[r];Ae.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(z(r,!0),e,t,n)}}),Ae.fn.extend({fadeTo:function(e,t,n,r){return this.filter(T).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=Ae.isEmptyObject(t),o=Ae.speed(e,n,r),a=function(){var e=P(this,Ae.extend({},t),o);a.finish=function(){e.stop(!0)},(i||Ae._data(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=k),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=Ae.timers,r=Ae._data(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&en.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||Ae.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Ae._data(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=Ae.timers,o=n?n.length:0;for(t.finish=!0,Ae.queue(this,a,[]),r&&r.cur&&r.cur.finish&&r.cur.finish.call(this),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),Ae.each({slideDown:z("show"),slideUp:z("hide"),slideToggle:z("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){Ae.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),Ae.speed=function(e,t,n){var r=e&&"object"==typeof e?Ae.extend({},e):{complete:n||!n&&t||Ae.isFunction(e)&&e,duration:e,easing:n&&t||t&&!Ae.isFunction(t)&&t};return r.duration=Ae.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in Ae.fx.speeds?Ae.fx.speeds[r.duration]:Ae.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){Ae.isFunction(r.old)&&r.old.call(this),r.queue&&Ae.dequeue(this,r.queue)},r},Ae.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},Ae.timers=[],Ae.fx=I.prototype.init,Ae.fx.tick=function(){var e,t=Ae.timers,n=0;for(Gt=Ae.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||Ae.fx.stop(),Gt=k},Ae.fx.timer=function(e){e()&&Ae.timers.push(e)&&Ae.fx.start()},Ae.fx.interval=13,Ae.fx.start=function(){Qt||(Qt=setInterval(Ae.fx.tick,Ae.fx.interval))},Ae.fx.stop=function(){clearInterval(Qt),Qt=null},Ae.fx.speeds={slow:600,fast:200,_default:400},Ae.fx.step={},Ae.expr&&Ae.expr.filters&&(Ae.expr.filters.animated=function(t){return Ae.grep(Ae.timers,function(e){return t===e.elem}).length}),Ae.fn.offset=function(t){if(arguments.length)return t===k?this:this.each(function(e){Ae.offset.setOffset(this,t,e)});var e,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;return o?(e=o.documentElement,Ae.contains(e,i)?(typeof i.getBoundingClientRect!==Y&&(r=i.getBoundingClientRect()),n=X(o),{top:r.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:r.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):r):void 0},Ae.offset={setOffset:function(e,t,n){var r=Ae.css(e,"position");"static"===r&&(e.style.position="relative");var i,o,a=Ae(e),s=a.offset(),l=Ae.css(e,"top"),u=Ae.css(e,"left"),c={},f={};("absolute"===r||"fixed"===r)&&-1<Ae.inArray("auto",[l,u])?(i=(f=a.position()).top,o=f.left):(i=parseFloat(l)||0,o=parseFloat(u)||0),Ae.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(c.top=t.top-s.top+i),null!=t.left&&(c.left=t.left-s.left+o),"using"in t?t.using.call(e,c):a.css(c)}},Ae.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===Ae.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),Ae.nodeName(e[0],"html")||(n=e.offset()),n.top+=Ae.css(e[0],"borderTopWidth",!0),n.left+=Ae.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-Ae.css(r,"marginTop",!0),left:t.left-n.left-Ae.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||Q;e&&!Ae.nodeName(e,"html")&&"static"===Ae.css(e,"position");)e=e.offsetParent;return e||Q})}}),Ae.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o=/Y/.test(i);Ae.fn[t]=function(e){return Ae.access(this,function(e,t,n){var r=X(e);if(n===k)return r?i in r?r[i]:r.document.documentElement[t]:e[t];r?r.scrollTo(o?Ae(r).scrollLeft():n,o?n:Ae(r).scrollTop()):e[t]=n},t,e,arguments.length,null)}}),Ae.each({Height:"height",Width:"width"},function(o,a){Ae.each({padding:"inner"+o,content:a,"":"outer"+o},function(r,e){Ae.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return Ae.access(this,function(e,t,n){var r;return Ae.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):n===k?Ae.css(e,t,i):Ae.style(e,t,n,i)},a,n?e:k,n,null)}})}),Ae.fn.size=function(){return this.length},Ae.fn.andSelf=Ae.fn.addBack,"object"==typeof module&&"object"==typeof module.exports?module.exports=Ae:(m.jQuery=m.$=Ae,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Ae}))}(window),function(f,p){var d;f.rails!==p&&f.error("jquery-ujs has already been loaded!"),f.rails=d={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]",buttonClickSelector:"button[data-remote]",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type])",disableSelector:"input[data-disable-with], button[data-disable-with], textarea[data-disable-with]",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input[type=file]",linkDisableSelector:"a[data-disable-with]",CSRFProtection:function(e){var t=f('meta[name="csrf-token"]').attr("content");t&&e.setRequestHeader("X-CSRF-Token",t)},fire:function(e,t,n){var r=f.Event(t);return e.trigger(r,n),!1!==r.result},confirm:function(e){return confirm(e)},ajax:function(e){return f.ajax(e)},href:function(e){return e.attr("href")},handleRemote:function(r){var e,t,n,i,o,a,s,l;if(d.fire(r,"ajax:before")){if(o=(i=r.data("cross-domain"))===p?null:i,a=r.data("with-credentials")||null,s=r.data("type")||f.ajaxSettings&&f.ajaxSettings.dataType,r.is("form")){e=r.attr("method"),t=r.attr("action"),n=r.serializeArray();var u=r.data("ujs:submit-button");u&&(n.push(u),r.data("ujs:submit-button",null))}else r.is(d.inputChangeSelector)?(e=r.data("method"),t=r.data("url"),n=r.serialize(),r.data("params")&&(n=n+"&"+r.data("params"))):r.is(d.buttonClickSelector)?(e=r.data("method")||"get",t=r.data("url"),n=r.serialize(),r.data("params")&&(n=n+"&"+r.data("params"))):(e=r.data("method"),t=d.href(r),n=r.data("params")||null);l={type:e||"GET",data:n,dataType:s,beforeSend:function(e,t){return t.dataType===p&&e.setRequestHeader("accept","*/*;q=0.5, "+t.accepts.script),d.fire(r,"ajax:beforeSend",[e,t])},success:function(e,t,n){r.trigger("ajax:success",[e,t,n])},complete:function(e,t){r.trigger("ajax:complete",[e,t])},error:function(e,t,n){r.trigger("ajax:error",[e,t,n])},crossDomain:o},a&&(l.xhrFields={withCredentials:a}),t&&(l.url=t);var c=d.ajax(l);return r.trigger("ajax:send",c),c}return!1},handleMethod:function(e){var t=d.href(e),n=e.data("method"),r=e.attr("target"),i=f("meta[name=csrf-token]").attr("content"),o=f("meta[name=csrf-param]").attr("content"),a=f('<form method="post" action="'+t+'"></form>'),s='<input name="_method" value="'+n+'" type="hidden" />';o!==p&&i!==p&&(s+='<input name="'+o+'" value="'+i+'" type="hidden" />'),r&&a.attr("target",r),a.hide().append(s).appendTo("body"),a.submit()},disableFormElements:function(e){e.find(d.disableSelector).each(function(){var e=f(this),t=e.is("button")?"html":"val";e.data("ujs:enable-with",e[t]()),e[t](e.data("disable-with")),e.prop("disabled",!0)})},enableFormElements:function(e){e.find(d.enableSelector).each(function(){var e=f(this),t=e.is("button")?"html":"val";e.data("ujs:enable-with")&&e[t](e.data("ujs:enable-with")),e.prop("disabled",!1)})},allowAction:function(e){var t,n=e.data("confirm"),r=!1;return!n||(d.fire(e,"confirm")&&(r=d.confirm(n),t=d.fire(e,"confirm:complete",[r])),r&&t)},blankInputs:function(e,t,n){var r,i=f(),o=t||"input,textarea",a=e.find(o);return a.each(function(){if(r=f(this),!(r.is("input[type=checkbox],input[type=radio]")?r.is(":checked"):r.val())==!n){if(r.is("input[type=radio]")&&a.filter('input[type=radio]:checked[name="'+r.attr("name")+'"]').length)return!0;i=i.add(r)}}),!!i.length&&i},nonBlankInputs:function(e,t){return d.blankInputs(e,t,!0)},stopEverything:function(e){return f(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(e){e.data("ujs:enable-with",e.html()),e.html(e.data("disable-with")),e.bind("click.railsDisable",function(e){return d.stopEverything(e)})},enableElement:function(e){e.data("ujs:enable-with")!==p&&(e.html(e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.unbind("click.railsDisable")}},d.fire(f(document),"rails:attachBindings")&&(f.ajaxPrefilter(function(e,t,n){e.crossDomain||d.CSRFProtection(n)}),f(document).delegate(d.linkDisableSelector,"ajax:complete",function(){d.enableElement(f(this))}),f(document).delegate(d.linkClickSelector,"click.rails",function(e){var t=f(this),n=t.data("method"),r=t.data("params");if(!d.allowAction(t))return d.stopEverything(e);if(t.is(d.linkDisableSelector)&&d.disableElement(t),t.data("remote")===p)return t.data("method")?(d.handleMethod(t),!1):void 0;if((e.metaKey||e.ctrlKey)&&(!n||"GET"===n)&&!r)return!0;var i=d.handleRemote(t);return!1===i?d.enableElement(t):i.error(function(){d.enableElement(t)}),!1}),f(document).delegate(d.buttonClickSelector,"click.rails",function(e){var t=f(this);return d.allowAction(t)?(d.handleRemote(t),!1):d.stopEverything(e)}),f(document).delegate(d.inputChangeSelector,"change.rails",function(e){var t=f(this);return d.allowAction(t)?(d.handleRemote(t),!1):d.stopEverything(e)}),f(document).delegate(d.formSubmitSelector,"submit.rails",function(e){var t=f(this),n=t.data("remote")!==p,r=d.blankInputs(t,d.requiredInputSelector),i=d.nonBlankInputs(t,d.fileInputSelector);if(!d.allowAction(t))return d.stopEverything(e);if(r&&t.attr("novalidate")==p&&d.fire(t,"ajax:aborted:required",[r]))return d.stopEverything(e);if(n){if(i){setTimeout(function(){d.disableFormElements(t)},13);var o=d.fire(t,"ajax:aborted:file",[i]);return o||setTimeout(function(){d.enableFormElements(t)},13),o}return d.handleRemote(t),!1}setTimeout(function(){d.disableFormElements(t)},13)}),f(document).delegate(d.formInputClickSelector,"click.rails",function(e){var t=f(this);if(!d.allowAction(t))return d.stopEverything(e);var n=t.attr("name"),r=n?{name:n,value:t.val()}:null;t.closest("form").data("ujs:submit-button",r)}),f(document).delegate(d.formSubmitSelector,"ajax:beforeSend.rails",function(e){this==e.target&&d.disableFormElements(f(this))}),f(document).delegate(d.formSubmitSelector,"ajax:complete.rails",function(e){this==e.target&&d.enableFormElements(f(this))}),f(function(){var e=f("meta[name=csrf-token]").attr("content"),t=f("meta[name=csrf-param]").attr("content");f('form input[name="'+t+'"]').val(e)}))}(jQuery),$(function(){$(document).ready(function(){$(".tree ul:first > li:first").addClass("branch_start"),$(".tree ul").find("li:last").addClass("branch_end"),$("ul.tristate").tristate(),$(".tree").delegate(".toggle","click",function(e){e.preventDefault();var t=$(this).parents("li:first"),n=t.find(".icon.toggle"),r=t.find(".nested");n.hasClass("expanded")?(n.removeClass("expanded"),r.slideUp()):(n.addClass("expanded"),r.slideDown())})})}),function(o){o.fn.tristate=function(e){var i={selector:o(this).selector,checked:null,container:null,siblings:null};o.extend(i,e);return this.each(function(){var r,e=o(this),t=r={init:function(){o('input[type="checkbox"]',e).change(function(){i.checked=o(this).prop("checked"),i.container=o(this).parent(),i.siblings=i.container.siblings(),i.container.find('input[type="checkbox"]').prop({indeterminate:!1,checked:i.checked}),r.checkSiblings(i.container)}),o("input[type=checkbox]:checked",e).each(function(){r.checkSiblings(o(this).parent())})},checkSiblings:function(e){var t=e.parent().parent(),n=!0;e.siblings().each(function(){return n=o(this).children('input[type="checkbox"]').prop("checked")===i.checked}),n&&i.checked?(t.children('input[type="checkbox"]').prop({indeterminate:!1,checked:i.checked}),r.checkSiblings(t)):n&&!i.checked?(t.children('input[type="checkbox"]').prop("checked",i.checked),t.children('input[type="checkbox"]').prop("indeterminate",0<t.find('input[type="checkbox"]:checked').length),r.checkSiblings(t)):e.parents("li").children('input[type="checkbox"]').prop({indeterminate:!0,checked:!1})}};t.init(),t.checkSiblings(e)})}}(jQuery),window.onload=function(){$("video").is("*")&&($("body").append('<link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet">'),$("body").append('<script src="http://vjs.zencdn.net/c/video.js"></script>'))}; \ No newline at end of file
diff --git a/public/assets/application-0b2ae0bf73e68414a78148b9d7aa67d4.js.gz b/public/assets/application-0b2ae0bf73e68414a78148b9d7aa67d4.js.gz
new file mode 100644
index 0000000..899292e
--- /dev/null
+++ b/public/assets/application-0b2ae0bf73e68414a78148b9d7aa67d4.js.gz
Binary files differ
diff --git a/public/assets/application-74ea0a61faeead1c8c5c65a26a6e3914.css.gz b/public/assets/application-74ea0a61faeead1c8c5c65a26a6e3914.css.gz
index afae70e..b6cc433 100644
--- a/public/assets/application-74ea0a61faeead1c8c5c65a26a6e3914.css.gz
+++ b/public/assets/application-74ea0a61faeead1c8c5c65a26a6e3914.css.gz
Binary files differ
diff --git a/public/assets/application.css.gz b/public/assets/application.css.gz
index f3718af..56ceea4 100644
--- a/public/assets/application.css.gz
+++ b/public/assets/application.css.gz
Binary files differ
diff --git a/public/assets/application.js b/public/assets/application.js
index 5fcf3f8..582ba5f 100644
--- a/public/assets/application.js
+++ b/public/assets/application.js
@@ -11,7 +11,7 @@
*
* Date: 2013-05-24T18:39Z
*/
-!function(m,C){function s(e){var t=e.length,n=Ae.type(e);return!Ae.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||"function"!==n&&(0===t||"number"==typeof t&&0<t&&t-1 in e)))}function e(e){var n=ke[e]={};return Ae.each(e.match(fe)||[],function(e,t){n[t]=!0}),n}function r(e,t,n,r){if(Ae.acceptData(e)){var i,o,a=Ae.expando,s=e.nodeType,l=s?Ae.cache:e,u=s?e[a]:e[a]&&a;if(u&&l[u]&&(r||l[u].data)||n!==C||"string"!=typeof t)return u||(u=s?e[a]=te.pop()||Ae.guid++:a),l[u]||(l[u]=s?{}:{toJSON:Ae.noop}),"object"!=typeof t&&"function"!=typeof t||(r?l[u]=Ae.extend(l[u],t):l[u].data=Ae.extend(l[u].data,t)),o=l[u],r||(o.data||(o.data={}),o=o.data),n!==C&&(o[Ae.camelCase(t)]=n),"string"==typeof t?null==(i=o[t])&&(i=o[Ae.camelCase(t)]):i=o,i}}function n(e,t,n){if(Ae.acceptData(e)){var r,i,o=e.nodeType,a=o?Ae.cache:e,s=o?e[Ae.expando]:Ae.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){i=(t=Ae.isArray(t)?t.concat(Ae.map(t,Ae.camelCase)):t in r?[t]:(t=Ae.camelCase(t))in r?[t]:t.split(" ")).length;for(;i--;)delete r[t[i]];if(n?!u(r):!Ae.isEmptyObject(r))return}(n||(delete a[s].data,u(a[s])))&&(o?Ae.cleanData([e],!0):Ae.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function l(e,t,n){if(n===C&&1===e.nodeType){var r="data-"+t.replace(Ee,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Ne.test(n)?Ae.parseJSON(n):n)}catch(i){}Ae.data(e,t,n)}else n=C}return n}function u(e){var t;for(t in e)if(("data"!==t||!Ae.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function i(){return!0}function c(){return!1}function t(){try{return G.activeElement}catch(e){}}function o(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function a(e,n,r){if(Ae.isFunction(n))return Ae.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return Ae.grep(e,function(e){return e===n!==r});if("string"==typeof n){if($e.test(n))return Ae.filter(n,e,r);n=Ae.filter(n,e)}return Ae.grep(e,function(e){return 0<=Ae.inArray(e,n)!==r})}function g(e){var t=Ue.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function f(e,t){return Ae.nodeName(e,"table")&&Ae.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function y(e){return e.type=(null!==Ae.find.attr(e,"type"))+"/"+e.type,e}function v(e){var t=it.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function b(e,t){for(var n,r=0;null!=(n=e[r]);r++)Ae._data(n,"globalEval",!t||Ae._data(t[r],"globalEval"))}function p(e,t){if(1===t.nodeType&&Ae.hasData(e)){var n,r,i,o=Ae._data(e),a=Ae._data(t,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(r=0,i=s[n].length;r<i;r++)Ae.event.add(t,n,s[n][r]);a.data&&(a.data=Ae.extend({},a.data))}}function d(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!Ae.support.noCloneEvent&&t[Ae.expando]){for(r in(i=Ae._data(t)).events)Ae.removeEvent(t,r,i.handle);t.removeAttribute(Ae.expando)}"script"===n&&t.text!==e.text?(y(t).text=e.text,v(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),Ae.support.html5Clone&&e.innerHTML&&!Ae.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&tt.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)}}function x(e,t){var n,r,i=0,o=typeof e.getElementsByTagName!==Y?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==Y?e.querySelectorAll(t||"*"):C;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||Ae.nodeName(r,t)?o.push(r):Ae.merge(o,x(r,t));return t===C||t&&Ae.nodeName(e,t)?Ae.merge([e],o):o}function w(e){tt.test(e.type)&&(e.defaultChecked=e.checked)}function h(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Ct.length;i--;)if((t=Ct[i]+n)in e)return t;return r}function T(e,t){return e=t||e,"none"===Ae.css(e,"display")||!Ae.contains(e.ownerDocument,e)}function k(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)(r=e[a]).style&&(o[a]=Ae._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&T(r)&&(o[a]=Ae._data(r,"olddisplay",j(r.nodeName)))):o[a]||(i=T(r),(n&&"none"!==n||!i)&&Ae._data(r,"olddisplay",i?n:Ae.css(r,"display"))));for(a=0;a<s;a++)(r=e[a]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function N(e,t,n){var r=gt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function E(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=Ae.css(e,n+Tt[o],!0,i)),r?("content"===n&&(a-=Ae.css(e,"padding"+Tt[o],!0,i)),"margin"!==n&&(a-=Ae.css(e,"border"+Tt[o]+"Width",!0,i))):(a+=Ae.css(e,"padding"+Tt[o],!0,i),"padding"!==n&&(a+=Ae.css(e,"border"+Tt[o]+"Width",!0,i)));return a}function S(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=ut(e),a=Ae.support.boxSizing&&"border-box"===Ae.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=ct(e,t,o))<0||null==i)&&(i=e.style[t]),yt.test(i))return i;r=a&&(Ae.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+E(e,t,n||(a?"border":"content"),r,o)+"px"}function j(e){var t=G,n=bt[e];return n||("none"!==(n=A(e,t))&&n||((t=((lt=(lt||Ae("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement))[0].contentWindow||lt[0].contentDocument).document).write("<!doctype html><html><body>"),t.close(),n=A(e,t),lt.detach()),bt[e]=n),n}function A(e,t){var n=Ae(t.createElement(e)).appendTo(t.body),r=Ae.css(n[0],"display");return n.remove(),r}function D(n,e,r,i){var t;if(Ae.isArray(e))Ae.each(e,function(e,t){r||Nt.test(n)?i(n,t):D(n+"["+("object"==typeof t?e:"")+"]",t,r,i)});else if(r||"object"!==Ae.type(e))i(n,e);else for(t in e)D(n+"["+t+"]",e[t],r,i)}function L(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(fe)||[];if(Ae.isFunction(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function H(t,i,o,a){function s(e){var r;return l[e]=!0,Ae.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||l[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),s(n),!1)}),r}var l={},u=t===$t;return s(i.dataTypes[0])||!l["*"]&&s("*")}function q(e,t){var n,r,i=Ae.ajaxSettings.flatOptions||{};for(r in t)t[r]!==C&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&Ae.extend(!0,e,n),e}function F(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),i===C&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){o=a;break}r||(r=a)}o=o||r}if(o)return o!==l[0]&&l.unshift(o),n[o]}function _(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}function M(){try{return new m.XMLHttpRequest}catch(e){}}function O(){try{return new m.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function R(){return setTimeout(function(){Gt=C}),Gt=Ae.now()}function B(e,t,n){for(var r,i=(nn[t]||[]).concat(nn["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function P(o,e,t){var n,a,r=0,i=tn.length,s=Ae.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var e=Gt||R(),t=Math.max(0,u.startTime+u.duration-e),n=1-(t/u.duration||0),r=0,i=u.tweens.length;r<i;r++)u.tweens[r].run(n);return s.notifyWith(o,[u,n,t]),n<1&&i?t:(s.resolveWith(o,[u]),!1)},u=s.promise({elem:o,props:Ae.extend({},e),opts:Ae.extend(!0,{specialEasing:{}},t),originalProperties:e,originalOptions:t,startTime:Gt||R(),duration:t.duration,tweens:[],createTween:function(e,t){var n=Ae.Tween(o,u.opts,e,t,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(n),n},stop:function(e){var t=0,n=e?u.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)u.tweens[t].run(1);return e?s.resolveWith(o,[u,e]):s.rejectWith(o,[u,e]),this}}),c=u.props;for(W(c,u.opts.specialEasing);r<i;r++)if(n=tn[r].call(u,o,c,u.opts))return n;return Ae.map(c,B,u),Ae.isFunction(u.opts.start)&&u.opts.start.call(o,u),Ae.fx.timer(Ae.extend(l,{elem:o,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function W(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=Ae.camelCase(n)],o=e[n],Ae.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=Ae.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}function $(t,e,n){var r,i,o,a,s,l,u=this,c={},f=t.style,p=t.nodeType&&T(t),d=Ae._data(t,"fxshow");for(r in n.queue||(null==(s=Ae._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,Ae.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],"inline"===Ae.css(t,"display")&&"none"===Ae.css(t,"float")&&(Ae.support.inlineBlockNeedsLayout&&"inline"!==j(t.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",Ae.support.shrinkWrapBlocks||u.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),e)if(i=e[r],Qt.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(p?"hide":"show"))continue;c[r]=d&&d[r]||Ae.style(t,r)}if(!Ae.isEmptyObject(c))for(r in d?"hidden"in d&&(p=d.hidden):d=Ae._data(t,"fxshow",{}),o&&(d.hidden=!p),p?Ae(t).show():u.done(function(){Ae(t).hide()}),u.done(function(){var e;for(e in Ae._removeData(t,"fxshow"),c)Ae.style(t,e,c[e])}),c)a=B(p?d[r]:0,r,u),r in d||(d[r]=a.start,p&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}function I(e,t,n,r,i){return new I.prototype.init(e,t,n,r,i)}function z(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=Tt[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function X(e){return Ae.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var U,V,Y=typeof C,J=m.location,G=m.document,K=G.documentElement,Q=m.jQuery,Z=m.$,ee={},te=[],ne="1.10.0",re=te.concat,ie=te.push,oe=te.slice,ae=te.indexOf,se=ee.toString,le=ee.hasOwnProperty,ue=ne.trim,Ae=function(e,t){return new Ae.fn.init(e,t,V)},ce=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,fe=/\S+/g,pe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,de=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,he=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,me=/^[\],:{}\s]*$/,ge=/(?:^|:|,)(?:\s*\[)+/g,ye=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,ve=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,be=/^-ms-/,xe=/-([\da-z])/gi,we=function(e,t){return t.toUpperCase()},Te=function(e){(G.addEventListener||"load"===e.type||"complete"===G.readyState)&&(Ce(),Ae.ready())},Ce=function(){G.addEventListener?(G.removeEventListener("DOMContentLoaded",Te,!1),m.removeEventListener("load",Te,!1)):(G.detachEvent("onreadystatechange",Te),m.detachEvent("onload",Te))};Ae.fn=Ae.prototype={jquery:ne,constructor:Ae,init:function(e,t,n){var r,i;if(!e)return this;if("string"==typeof e){if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:de.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof Ae?t[0]:t,Ae.merge(this,Ae.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:G,!0)),he.test(r[1])&&Ae.isPlainObject(t))for(r in t)Ae.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if((i=G.getElementById(r[2]))&&i.parentNode){if(i.id!==r[2])return n.find(e);this.length=1,this[0]=i}return this.context=G,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):Ae.isFunction(e)?n.ready(e):(e.selector!==C&&(this.selector=e.selector,this.context=e.context),Ae.makeArray(e,this))},selector:"",length:0,toArray:function(){return oe.call(this)},get:function(e){return null==e?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e){var t=Ae.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return Ae.each(this,e,t)},ready:function(e){return Ae.ready.promise().done(e),this},slice:function(){return this.pushStack(oe.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},map:function(n){return this.pushStack(Ae.map(this,function(e,t){return n.call(e,t,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:ie,sort:[].sort,splice:[].splice},Ae.fn.init.prototype=Ae.fn,Ae.extend=Ae.fn.extend=function(e,t){var n,r,i,o,a,s,l=e||{},u=1,c=arguments.length,f=!1;for("boolean"==typeof l&&(f=l,l=t||{},u=2),"object"==typeof l||Ae.isFunction(l)||(l={}),c===u&&(l=this,--u);u<c;u++)if(null!=(a=arguments[u]))for(o in a)n=l[o],l!==(i=a[o])&&(f&&i&&(Ae.isPlainObject(i)||(r=Ae.isArray(i)))?(r?(r=!1,s=n&&Ae.isArray(n)?n:[]):s=n&&Ae.isPlainObject(n)?n:{},l[o]=Ae.extend(f,s,i)):i!==C&&(l[o]=i));return l},Ae.extend({expando:"jQuery"+(ne+Math.random()).replace(/\D/g,""),noConflict:function(e){return m.$===Ae&&(m.$=Z),e&&m.jQuery===Ae&&(m.jQuery=Q),Ae},isReady:!1,readyWait:1,holdReady:function(e){e?Ae.readyWait++:Ae.ready(!0)},ready:function(e){if(!0===e?!--Ae.readyWait:!Ae.isReady){if(!G.body)return setTimeout(Ae.ready);(Ae.isReady=!0)!==e&&0<--Ae.readyWait||(U.resolveWith(G,[Ae]),Ae.fn.trigger&&Ae(G).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===Ae.type(e)},isArray:Array.isArray||function(e){return"array"===Ae.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?String(e):"object"==typeof e||"function"==typeof e?ee[se.call(e)]||"object":typeof e},isPlainObject:function(e){var t;if(!e||"object"!==Ae.type(e)||e.nodeType||Ae.isWindow(e))return!1;try{if(e.constructor&&!le.call(e,"constructor")&&!le.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(Ae.support.ownLast)for(t in e)return le.call(e,t);for(t in e);return t===C||le.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||G;var r=he.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=Ae.buildFragment([e],t,i),i&&Ae(i).remove(),Ae.merge([],r.childNodes))},parseJSON:function(e){return m.JSON&&m.JSON.parse?m.JSON.parse(e):null===e?e:"string"==typeof e&&(e=Ae.trim(e))&&me.test(e.replace(ye,"@").replace(ve,"]").replace(ge,""))?new Function("return "+e)():void Ae.error("Invalid JSON: "+e)},parseXML:function(e){var t;if(!e||"string"!=typeof e)return null;try{m.DOMParser?t=(new DOMParser).parseFromString(e,"text/xml"):((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(n){t=C}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||Ae.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){e&&Ae.trim(e)&&(m.execScript||function(e){m.eval.call(m,e)})(e)},camelCase:function(e){return e.replace(be,"ms-").replace(xe,we)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r=0,i=e.length,o=s(e);if(n){if(o)for(;r<i&&!1!==t.apply(e[r],n);r++);else for(r in e)if(!1===t.apply(e[r],n))break}else if(o)for(;r<i&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:ue&&!ue.call("\ufeff\xa0")?function(e){return null==e?"":ue.call(e)}:function(e){return null==e?"":(e+"").replace(pe,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(s(Object(e))?Ae.merge(n,"string"==typeof e?[e]:e):ie.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(ae)return ae.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){var n=t.length,r=e.length,i=0;if("number"==typeof n)for(;i<n;i++)e[r++]=t[i];else for(;t[i]!==C;)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){var r=[],i=0,o=e.length;for(n=!!n;i<o;i++)n!==!!t(e[i],i)&&r.push(e[i]);return r},map:function(e,t,n){var r,i=0,o=e.length,a=[];if(s(e))for(;i<o;i++)null!=(r=t(e[i],i,n))&&(a[a.length]=r);else for(i in e)null!=(r=t(e[i],i,n))&&(a[a.length]=r);return re.apply([],a)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(i=e[t],t=e,e=i),Ae.isFunction(e)?(n=oe.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(oe.call(arguments)))}).guid=e.guid=e.guid||Ae.guid++,r):C},access:function(e,t,n,r,i,o,a){var s=0,l=e.length,u=null==n;if("object"===Ae.type(n))for(s in i=!0,n)Ae.access(e,t,s,n[s],!0,o,a);else if(r!==C&&(i=!0,Ae.isFunction(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(Ae(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:u?t.call(e):l?t(e[0],n):o},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i}}),Ae.ready.promise=function(t){if(!U)if(U=Ae.Deferred(),"complete"===G.readyState)setTimeout(Ae.ready);else if(G.addEventListener)G.addEventListener("DOMContentLoaded",Te,!1),m.addEventListener("load",Te,!1);else{G.attachEvent("onreadystatechange",Te),m.attachEvent("onload",Te);var n=!1;try{n=null==m.frameElement&&G.documentElement}catch(r){}n&&n.doScroll&&function e(){if(!Ae.isReady){try{n.doScroll("left")}catch(r){return setTimeout(e,50)}Ce(),Ae.ready()}}()}return U.promise(t)},Ae.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){ee["[object "+t+"]"]=t.toLowerCase()}),V=Ae(G),
+!function(m,k){function s(e){var t=e.length,n=Ae.type(e);return!Ae.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||"function"!==n&&(0===t||"number"==typeof t&&0<t&&t-1 in e)))}function e(e){var n=Ce[e]={};return Ae.each(e.match(fe)||[],function(e,t){n[t]=!0}),n}function r(e,t,n,r){if(Ae.acceptData(e)){var i,o,a=Ae.expando,s=e.nodeType,l=s?Ae.cache:e,u=s?e[a]:e[a]&&a;if(u&&l[u]&&(r||l[u].data)||n!==k||"string"!=typeof t)return u||(u=s?e[a]=te.pop()||Ae.guid++:a),l[u]||(l[u]=s?{}:{toJSON:Ae.noop}),"object"!=typeof t&&"function"!=typeof t||(r?l[u]=Ae.extend(l[u],t):l[u].data=Ae.extend(l[u].data,t)),o=l[u],r||(o.data||(o.data={}),o=o.data),n!==k&&(o[Ae.camelCase(t)]=n),"string"==typeof t?null==(i=o[t])&&(i=o[Ae.camelCase(t)]):i=o,i}}function n(e,t,n){if(Ae.acceptData(e)){var r,i,o=e.nodeType,a=o?Ae.cache:e,s=o?e[Ae.expando]:Ae.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){i=(t=Ae.isArray(t)?t.concat(Ae.map(t,Ae.camelCase)):t in r?[t]:(t=Ae.camelCase(t))in r?[t]:t.split(" ")).length;for(;i--;)delete r[t[i]];if(n?!u(r):!Ae.isEmptyObject(r))return}(n||(delete a[s].data,u(a[s])))&&(o?Ae.cleanData([e],!0):Ae.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function l(e,t,n){if(n===k&&1===e.nodeType){var r="data-"+t.replace(Se,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Ne.test(n)?Ae.parseJSON(n):n)}catch(i){}Ae.data(e,t,n)}else n=k}return n}function u(e){var t;for(t in e)if(("data"!==t||!Ae.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function i(){return!0}function c(){return!1}function t(){try{return G.activeElement}catch(e){}}function o(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function a(e,n,r){if(Ae.isFunction(n))return Ae.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return Ae.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(We.test(n))return Ae.filter(n,e,r);n=Ae.filter(n,e)}return Ae.grep(e,function(e){return 0<=Ae.inArray(e,n)!==r})}function g(e){var t=Ue.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function f(e,t){return Ae.nodeName(e,"table")&&Ae.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function y(e){return e.type=(null!==Ae.find.attr(e,"type"))+"/"+e.type,e}function v(e){var t=it.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function b(e,t){for(var n,r=0;null!=(n=e[r]);r++)Ae._data(n,"globalEval",!t||Ae._data(t[r],"globalEval"))}function p(e,t){if(1===t.nodeType&&Ae.hasData(e)){var n,r,i,o=Ae._data(e),a=Ae._data(t,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(r=0,i=s[n].length;r<i;r++)Ae.event.add(t,n,s[n][r]);a.data&&(a.data=Ae.extend({},a.data))}}function d(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!Ae.support.noCloneEvent&&t[Ae.expando]){for(r in(i=Ae._data(t)).events)Ae.removeEvent(t,r,i.handle);t.removeAttribute(Ae.expando)}"script"===n&&t.text!==e.text?(y(t).text=e.text,v(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),Ae.support.html5Clone&&e.innerHTML&&!Ae.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&tt.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)}}function x(e,t){var n,r,i=0,o=typeof e.getElementsByTagName!==Y?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==Y?e.querySelectorAll(t||"*"):k;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||Ae.nodeName(r,t)?o.push(r):Ae.merge(o,x(r,t));return t===k||t&&Ae.nodeName(e,t)?Ae.merge([e],o):o}function w(e){tt.test(e.type)&&(e.defaultChecked=e.checked)}function h(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=kt.length;i--;)if((t=kt[i]+n)in e)return t;return r}function T(e,t){return e=t||e,"none"===Ae.css(e,"display")||!Ae.contains(e.ownerDocument,e)}function C(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)(r=e[a]).style&&(o[a]=Ae._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&T(r)&&(o[a]=Ae._data(r,"olddisplay",j(r.nodeName)))):o[a]||(i=T(r),(n&&"none"!==n||!i)&&Ae._data(r,"olddisplay",i?n:Ae.css(r,"display"))));for(a=0;a<s;a++)(r=e[a]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function N(e,t,n){var r=gt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function S(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=Ae.css(e,n+Tt[o],!0,i)),r?("content"===n&&(a-=Ae.css(e,"padding"+Tt[o],!0,i)),"margin"!==n&&(a-=Ae.css(e,"border"+Tt[o]+"Width",!0,i))):(a+=Ae.css(e,"padding"+Tt[o],!0,i),"padding"!==n&&(a+=Ae.css(e,"border"+Tt[o]+"Width",!0,i)));return a}function E(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=ut(e),a=Ae.support.boxSizing&&"border-box"===Ae.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=ct(e,t,o))<0||null==i)&&(i=e.style[t]),yt.test(i))return i;r=a&&(Ae.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+S(e,t,n||(a?"border":"content"),r,o)+"px"}function j(e){var t=G,n=bt[e];return n||("none"!==(n=A(e,t))&&n||((t=((lt=(lt||Ae("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement))[0].contentWindow||lt[0].contentDocument).document).write("<!doctype html><html><body>"),t.close(),n=A(e,t),lt.detach()),bt[e]=n),n}function A(e,t){var n=Ae(t.createElement(e)).appendTo(t.body),r=Ae.css(n[0],"display");return n.remove(),r}function D(n,e,r,i){var t;if(Ae.isArray(e))Ae.each(e,function(e,t){r||Nt.test(n)?i(n,t):D(n+"["+("object"==typeof t?e:"")+"]",t,r,i)});else if(r||"object"!==Ae.type(e))i(n,e);else for(t in e)D(n+"["+t+"]",e[t],r,i)}function L(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(fe)||[];if(Ae.isFunction(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function H(t,i,o,a){function s(e){var r;return l[e]=!0,Ae.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||l[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),s(n),!1)}),r}var l={},u=t===Wt;return s(i.dataTypes[0])||!l["*"]&&s("*")}function q(e,t){var n,r,i=Ae.ajaxSettings.flatOptions||{};for(r in t)t[r]!==k&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&Ae.extend(!0,e,n),e}function F(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),i===k&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){o=a;break}r||(r=a)}o=o||r}if(o)return o!==l[0]&&l.unshift(o),n[o]}function _(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}function M(){try{return new m.XMLHttpRequest}catch(e){}}function O(){try{return new m.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function R(){return setTimeout(function(){Gt=k}),Gt=Ae.now()}function B(e,t,n){for(var r,i=(nn[t]||[]).concat(nn["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function P(o,e,t){var n,a,r=0,i=tn.length,s=Ae.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var e=Gt||R(),t=Math.max(0,u.startTime+u.duration-e),n=1-(t/u.duration||0),r=0,i=u.tweens.length;r<i;r++)u.tweens[r].run(n);return s.notifyWith(o,[u,n,t]),n<1&&i?t:(s.resolveWith(o,[u]),!1)},u=s.promise({elem:o,props:Ae.extend({},e),opts:Ae.extend(!0,{specialEasing:{}},t),originalProperties:e,originalOptions:t,startTime:Gt||R(),duration:t.duration,tweens:[],createTween:function(e,t){var n=Ae.Tween(o,u.opts,e,t,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(n),n},stop:function(e){var t=0,n=e?u.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)u.tweens[t].run(1);return e?s.resolveWith(o,[u,e]):s.rejectWith(o,[u,e]),this}}),c=u.props;for($(c,u.opts.specialEasing);r<i;r++)if(n=tn[r].call(u,o,c,u.opts))return n;return Ae.map(c,B,u),Ae.isFunction(u.opts.start)&&u.opts.start.call(o,u),Ae.fx.timer(Ae.extend(l,{elem:o,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function $(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=Ae.camelCase(n)],o=e[n],Ae.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=Ae.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}function W(t,e,n){var r,i,o,a,s,l,u=this,c={},f=t.style,p=t.nodeType&&T(t),d=Ae._data(t,"fxshow");for(r in n.queue||(null==(s=Ae._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,Ae.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],"inline"===Ae.css(t,"display")&&"none"===Ae.css(t,"float")&&(Ae.support.inlineBlockNeedsLayout&&"inline"!==j(t.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",Ae.support.shrinkWrapBlocks||u.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),e)if(i=e[r],Kt.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(p?"hide":"show"))continue;c[r]=d&&d[r]||Ae.style(t,r)}if(!Ae.isEmptyObject(c))for(r in d?"hidden"in d&&(p=d.hidden):d=Ae._data(t,"fxshow",{}),o&&(d.hidden=!p),p?Ae(t).show():u.done(function(){Ae(t).hide()}),u.done(function(){var e;for(e in Ae._removeData(t,"fxshow"),c)Ae.style(t,e,c[e])}),c)a=B(p?d[r]:0,r,u),r in d||(d[r]=a.start,p&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}function I(e,t,n,r,i){return new I.prototype.init(e,t,n,r,i)}function z(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=Tt[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function X(e){return Ae.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var U,V,Y=typeof k,J=m.location,G=m.document,Q=G.documentElement,K=m.jQuery,Z=m.$,ee={},te=[],ne="1.10.0",re=te.concat,ie=te.push,oe=te.slice,ae=te.indexOf,se=ee.toString,le=ee.hasOwnProperty,ue=ne.trim,Ae=function(e,t){return new Ae.fn.init(e,t,V)},ce=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,fe=/\S+/g,pe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,de=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,he=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,me=/^[\],:{}\s]*$/,ge=/(?:^|:|,)(?:\s*\[)+/g,ye=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,ve=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,be=/^-ms-/,xe=/-([\da-z])/gi,we=function(e,t){return t.toUpperCase()},Te=function(e){(G.addEventListener||"load"===e.type||"complete"===G.readyState)&&(ke(),Ae.ready())},ke=function(){G.addEventListener?(G.removeEventListener("DOMContentLoaded",Te,!1),m.removeEventListener("load",Te,!1)):(G.detachEvent("onreadystatechange",Te),m.detachEvent("onload",Te))};Ae.fn=Ae.prototype={jquery:ne,constructor:Ae,init:function(e,t,n){var r,i;if(!e)return this;if("string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):Ae.isFunction(e)?n.ready(e):(e.selector!==k&&(this.selector=e.selector,this.context=e.context),Ae.makeArray(e,this));if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:de.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof Ae?t[0]:t,Ae.merge(this,Ae.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:G,!0)),he.test(r[1])&&Ae.isPlainObject(t))for(r in t)Ae.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if((i=G.getElementById(r[2]))&&i.parentNode){if(i.id!==r[2])return n.find(e);this.length=1,this[0]=i}return this.context=G,this.selector=e,this},selector:"",length:0,toArray:function(){return oe.call(this)},get:function(e){return null==e?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e){var t=Ae.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return Ae.each(this,e,t)},ready:function(e){return Ae.ready.promise().done(e),this},slice:function(){return this.pushStack(oe.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},map:function(n){return this.pushStack(Ae.map(this,function(e,t){return n.call(e,t,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:ie,sort:[].sort,splice:[].splice},Ae.fn.init.prototype=Ae.fn,Ae.extend=Ae.fn.extend=function(e,t){var n,r,i,o,a,s,l=e||{},u=1,c=arguments.length,f=!1;for("boolean"==typeof l&&(f=l,l=t||{},u=2),"object"==typeof l||Ae.isFunction(l)||(l={}),c===u&&(l=this,--u);u<c;u++)if(null!=(a=arguments[u]))for(o in a)n=l[o],l!==(i=a[o])&&(f&&i&&(Ae.isPlainObject(i)||(r=Ae.isArray(i)))?(r?(r=!1,s=n&&Ae.isArray(n)?n:[]):s=n&&Ae.isPlainObject(n)?n:{},l[o]=Ae.extend(f,s,i)):i!==k&&(l[o]=i));return l},Ae.extend({expando:"jQuery"+(ne+Math.random()).replace(/\D/g,""),noConflict:function(e){return m.$===Ae&&(m.$=Z),e&&m.jQuery===Ae&&(m.jQuery=K),Ae},isReady:!1,readyWait:1,holdReady:function(e){e?Ae.readyWait++:Ae.ready(!0)},ready:function(e){if(!0===e?!--Ae.readyWait:!Ae.isReady){if(!G.body)return setTimeout(Ae.ready);(Ae.isReady=!0)!==e&&0<--Ae.readyWait||(U.resolveWith(G,[Ae]),Ae.fn.trigger&&Ae(G).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===Ae.type(e)},isArray:Array.isArray||function(e){return"array"===Ae.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?String(e):"object"==typeof e||"function"==typeof e?ee[se.call(e)]||"object":typeof e},isPlainObject:function(e){var t;if(!e||"object"!==Ae.type(e)||e.nodeType||Ae.isWindow(e))return!1;try{if(e.constructor&&!le.call(e,"constructor")&&!le.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(Ae.support.ownLast)for(t in e)return le.call(e,t);for(t in e);return t===k||le.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||G;var r=he.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=Ae.buildFragment([e],t,i),i&&Ae(i).remove(),Ae.merge([],r.childNodes))},parseJSON:function(e){return m.JSON&&m.JSON.parse?m.JSON.parse(e):null===e?e:"string"==typeof e&&(e=Ae.trim(e))&&me.test(e.replace(ye,"@").replace(ve,"]").replace(ge,""))?new Function("return "+e)():void Ae.error("Invalid JSON: "+e)},parseXML:function(e){var t;if(!e||"string"!=typeof e)return null;try{m.DOMParser?t=(new DOMParser).parseFromString(e,"text/xml"):((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(n){t=k}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||Ae.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){e&&Ae.trim(e)&&(m.execScript||function(e){m.eval.call(m,e)})(e)},camelCase:function(e){return e.replace(be,"ms-").replace(xe,we)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r=0,i=e.length,o=s(e);if(n){if(o)for(;r<i&&!1!==t.apply(e[r],n);r++);else for(r in e)if(!1===t.apply(e[r],n))break}else if(o)for(;r<i&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:ue&&!ue.call("\ufeff\xa0")?function(e){return null==e?"":ue.call(e)}:function(e){return null==e?"":(e+"").replace(pe,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(s(Object(e))?Ae.merge(n,"string"==typeof e?[e]:e):ie.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(ae)return ae.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){var n=t.length,r=e.length,i=0;if("number"==typeof n)for(;i<n;i++)e[r++]=t[i];else for(;t[i]!==k;)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){var r=[],i=0,o=e.length;for(n=!!n;i<o;i++)n!==!!t(e[i],i)&&r.push(e[i]);return r},map:function(e,t,n){var r,i=0,o=e.length,a=[];if(s(e))for(;i<o;i++)null!=(r=t(e[i],i,n))&&(a[a.length]=r);else for(i in e)null!=(r=t(e[i],i,n))&&(a[a.length]=r);return re.apply([],a)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(i=e[t],t=e,e=i),Ae.isFunction(e)?(n=oe.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(oe.call(arguments)))}).guid=e.guid=e.guid||Ae.guid++,r):k},access:function(e,t,n,r,i,o,a){var s=0,l=e.length,u=null==n;if("object"===Ae.type(n))for(s in i=!0,n)Ae.access(e,t,s,n[s],!0,o,a);else if(r!==k&&(i=!0,Ae.isFunction(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(Ae(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:u?t.call(e):l?t(e[0],n):o},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i}}),Ae.ready.promise=function(e){if(!U)if(U=Ae.Deferred(),"complete"===G.readyState)setTimeout(Ae.ready);else if(G.addEventListener)G.addEventListener("DOMContentLoaded",Te,!1),m.addEventListener("load",Te,!1);else{G.attachEvent("onreadystatechange",Te),m.attachEvent("onload",Te);var t=!1;try{t=null==m.frameElement&&G.documentElement}catch(n){}t&&t.doScroll&&function r(){if(!Ae.isReady){try{t.doScroll("left")}catch(n){return setTimeout(r,50)}ke(),Ae.ready()}}()}return U.promise(e)},Ae.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){ee["[object "+t+"]"]=t.toLowerCase()}),V=Ae(G),
/*!
* Sizzle CSS Selector Engine v1.9.4-pre
* http://sizzlejs.com/
@@ -22,6 +22,6 @@
*
* Date: 2013-05-15
*/
-function(n,i){function w(e,t,n,r){var i,o,a,s,l,u,c,f,p,d;if((t?t.ownerDocument||t:z)!==M&&_(t),n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=(t=t||M).nodeType)&&9!==s)return[];if(R&&!r){if(i=Te.exec(e))if(a=i[1]){if(9===s){if(!(o=t.getElementById(a))||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&$(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return ie.apply(n,t.getElementsByTagName(e)),n;if((a=i[3])&&S.getElementsByClassName&&t.getElementsByClassName)return ie.apply(n,t.getElementsByClassName(a)),n}if(S.qsa&&(!B||!B.test(e))){if(f=c=I,p=t,d=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(u=m(e),(c=t.getAttribute("id"))?f=c.replace(Ne,"\\$&"):t.setAttribute("id",f),f="[id='"+f+"'] ",l=u.length;l--;)u[l]=f+g(u[l]);p=ge.test(e)&&t.parentNode||t,d=u.join(",")}if(d)try{return ie.apply(n,p.querySelectorAll(d)),n}catch(h){}finally{c||t.removeAttribute("id")}}}return k(e.replace(de,"$1"),t,n,r)}function t(e){return we.test(e+"")}function e(){function n(e,t){return r.push(e+=" ")>A.cacheLength&&delete n[r.shift()],n[e]=t}var r=[];return n}function l(e){return e[I]=!0,e}function r(e){var t=M.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t,n){for(var r,i=(e=e.split("|")).length,o=n?null:t;i--;)(r=A.attrHandle[e[i]])&&r!==t||(A.attrHandle[e[i]]=o)}function a(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:!0===e[t]?t.toLowerCase():null}function s(e,t){return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}function u(e){if("input"===e.nodeName.toLowerCase())return e.defaultValue}function c(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Z)-(~e.sourceIndex||Z);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function f(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function p(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function d(a){return l(function(o){return o=+o,l(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function m(e,t){var n,r,i,o,a,s,l,u=Y[e+" "];if(u)return t?0:u.slice(0);for(a=e,s=[],l=A.preFilter;a;){for(o in n&&!(r=he.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=me.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(de," ")}),a=a.slice(n.length)),A.filter)!(r=xe[o].exec(a))||l[o]&&!(r=l[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?w.error(e):Y(e,s).slice(0)}function g(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function h(s,e,t){var l=e.dir,u=t&&"parentNode"===l,c=U++;return e.first?function(e,t,n){for(;e=e[l];)if(1===e.nodeType||u)return s(e,t,n)}:function(e,t,n){var r,i,o,a=X+" "+c;if(n){for(;e=e[l];)if((1===e.nodeType||u)&&s(e,t,n))return!0}else for(;e=e[l];)if(1===e.nodeType||u)if((i=(o=e[I]||(e[I]={}))[l])&&i[0]===a){if(!0===(r=i[1])||r===j)return!0===r}else if((i=o[l]=[a])[1]=s(e,t,n)||j,!0===i[1])return!0}}function y(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function T(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),u&&t.push(s)));return a}function v(d,h,m,g,y,e){return g&&!g[I]&&(g=v(g)),y&&!y[I]&&(y=v(y,e)),l(function(e,t,n,r){var i,o,a,s=[],l=[],u=t.length,c=e||C(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:T(c,s,d,n,r),p=m?y||(e?d:u||g)?[]:t:f;if(m&&m(f,p,n,r),g)for(i=T(p,l),g(i,[],n,r),o=i.length;o--;)(a=i[o])&&(p[l[o]]=!(f[l[o]]=a));if(e){if(y||d){if(y){for(i=[],o=p.length;o--;)(a=p[o])&&i.push(f[o]=a);y(null,p=[],i,r)}for(o=p.length;o--;)(a=p[o])&&-1<(i=y?ae.call(e,a):s[o])&&(e[i]=!(t[i]=a))}}else p=T(p===t?p.splice(u,p.length):p),y?y(null,t,p,r):ie.apply(t,p)})}function b(e){for(var r,t,n,i=e.length,o=A.relative[e[0].type],a=o||A.relative[" "],s=o?1:0,l=h(function(e){return e===r},a,!0),u=h(function(e){return-1<ae.call(r,e)},a,!0),c=[function(e,t,n){return!o&&(n||t!==q)||((r=t).nodeType?l(e,t,n):u(e,t,n))}];s<i;s++)if(t=A.relative[e[s].type])c=[h(y(c),t)];else{if((t=A.filter[e[s].type].apply(null,e[s].matches))[I]){for(n=++s;n<i&&!A.relative[e[n].type];n++);return v(1<s&&y(c),1<s&&g(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(de,"$1"),t,s<n&&b(e.slice(s,n)),n<i&&b(e=e.slice(n)),n<i&&g(e))}c.push(t)}return y(c)}function x(g,y){var v=0,b=0<y.length,x=0<g.length,e=function(e,t,n,r,i){var o,a,s,l=[],u=0,c="0",f=e&&[],p=null!=i,d=q,h=e||x&&A.find.TAG("*",i&&t.parentNode||t),m=X+=null==d?1:Math.random()||.1;for(p&&(q=t!==M&&t,j=v);null!=(o=h[c]);c++){if(x&&o){for(a=0;s=g[a++];)if(s(o,t,n)){r.push(o);break}p&&(X=m,j=++v)}b&&((o=!s&&o)&&u--,e&&f.push(o))}if(u+=c,b&&c!==u){for(a=0;s=y[a++];)s(f,l,t,n);if(e){if(0<u)for(;c--;)f[c]||l[c]||(l[c]=ne.call(r));l=T(l)}ie.apply(r,l),p&&!e&&0<l.length&&1<u+y.length&&w.uniqueSort(r)}return p&&(X=m,q=d),f};return b?l(e):e}function C(e,t,n){for(var r=0,i=t.length;r<i;r++)w(e,t[r],n);return n}function k(e,t,n,r){var i,o,a,s,l,u=m(e);if(!r&&1===u.length){if(2<(o=u[0]=u[0].slice(0)).length&&"ID"===(a=o[0]).type&&S.getById&&9===t.nodeType&&R&&A.relative[o[1].type]){if(!(t=(A.find.ID(a.matches[0].replace(Ee,Se),t)||[])[0]))return n;e=e.slice(o.shift().value.length)}for(i=xe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!A.relative[s=a.type]);)if((l=A.find[s])&&(r=l(a.matches[0].replace(Ee,Se),ge.test(o[0].type)&&t.parentNode||t))){if(o.splice(i,1),!(e=r.length&&g(o)))return ie.apply(n,r),n;break}}return H(e,u)(r,t,!R,n,ge.test(e)),n}function N(){}var E,S,j,A,D,L,H,q,F,_,M,O,R,B,P,W,$,I="sizzle"+-new Date,z=n.document,X=0,U=0,V=e(),Y=e(),J=e(),G=!1,K=function(){return 0},Q=typeof i,Z=1<<31,ee={}.hasOwnProperty,te=[],ne=te.pop,re=te.push,ie=te.push,oe=te.slice,ae=te.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},se="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",le="[\\x20\\t\\r\\n\\f]",ue="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ce=ue.replace("w","w#"),fe="\\["+le+"*("+ue+")"+le+"*(?:([*^$|!~]?=)"+le+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ce+")|)|)"+le+"*\\]",pe=":("+ue+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+fe.replace(3,8)+")*)|.*)\\)|)",de=new RegExp("^"+le+"+|((?:^|[^\\\\])(?:\\\\.)*)"+le+"+$","g"),he=new RegExp("^"+le+"*,"+le+"*"),me=new RegExp("^"+le+"*([>+~]|"+le+")"+le+"*"),ge=new RegExp(le+"*[+~]"),ye=new RegExp("="+le+"*([^\\]'\"]*)"+le+"*\\]","g"),ve=new RegExp(pe),be=new RegExp("^"+ce+"$"),xe={ID:new RegExp("^#("+ue+")"),CLASS:new RegExp("^\\.("+ue+")"),TAG:new RegExp("^("+ue.replace("w","w*")+")"),ATTR:new RegExp("^"+fe),PSEUDO:new RegExp("^"+pe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+le+"*(even|odd|(([+-]|)(\\d*)n|)"+le+"*(?:([+-]|)"+le+"*(\\d+)|))"+le+"*\\)|)","i"),bool:new RegExp("^(?:"+se+")$","i"),needsContext:new RegExp("^"+le+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+le+"*((?:-\\d)?\\d*)"+le+"*\\)|)(?=[^-]|$)","i")},we=/^[^{]+\{\s*\[native \w/,Te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ce=/^(?:input|select|textarea|button)$/i,ke=/^h\d$/i,Ne=/'|\\/g,Ee=new RegExp("\\\\([\\da-f]{1,6}"+le+"?|("+le+")|.)","ig"),Se=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{ie.apply(te=oe.call(z.childNodes),z.childNodes),te[z.childNodes.length].nodeType}catch(je){ie={apply:te.length?function(e,t){re.apply(e,oe.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}for(E in L=w.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},S=w.support={},_=w.setDocument=function(e){var l=e?e.ownerDocument||e:z;return l!==M&&9===l.nodeType&&l.documentElement?(O=(M=l).documentElement,R=!L(l),S.attributes=r(function(e){return e.innerHTML="<a href='#'></a>",o("type|href|height|width",s,"#"===e.firstChild.getAttribute("href")),o(se,a,null==e.getAttribute("disabled")),e.className="i",!e.getAttribute("className")}),S.input=r(function(e){return e.innerHTML="<input>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}),o("value",u,S.attributes&&S.input),S.getElementsByTagName=r(function(e){return e.appendChild(l.createComment("")),!e.getElementsByTagName("*").length}),S.getElementsByClassName=r(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),S.getById=r(function(e){return O.appendChild(e).id=I,!l.getElementsByName||!l.getElementsByName(I).length}),S.getById?(A.find.ID=function(e,t){if(typeof t.getElementById!==Q&&R){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},A.filter.ID=function(e){var t=e.replace(Ee,Se);return function(e){return e.getAttribute("id")===t}}):(delete A.find.ID,A.filter.ID=function(e){var n=e.replace(Ee,Se);return function(e){var t=typeof e.getAttributeNode!==Q&&e.getAttributeNode("id");return t&&t.value===n}}),A.find.TAG=S.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==Q)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},A.find.CLASS=S.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!==Q&&R)return t.getElementsByClassName(e)},P=[],B=[],(S.qsa=t(l.querySelectorAll))&&(r(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||B.push("\\["+le+"*(?:value|"+se+")"),e.querySelectorAll(":checked").length||B.push(":checked")}),r(function(e){var t=l.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&B.push("[*^$]="+le+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||B.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),B.push(",.*:")})),(S.matchesSelector=t(W=O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&r(function(e){S.disconnectedMatch=W.call(e,"div"),W.call(e,"[s!='']:x"),P.push("!=",pe)}),B=B.length&&new RegExp(B.join("|")),P=P.length&&new RegExp(P.join("|")),$=t(O.contains)||O.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)for(;t=t.parentNode;)if(t===e)return!0;return!1},S.sortDetached=r(function(e){return 1&e.compareDocumentPosition(l.createElement("div"))}),K=O.compareDocumentPosition?function(e,t){if(e===t)return G=!0,0;var n=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return n?1&n||!S.sortDetached&&t.compareDocumentPosition(e)===n?e===l||$(z,e)?-1:t===l||$(z,t)?1:F?ae.call(F,e)-ae.call(F,t):0:4&n?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(e===t)return G=!0,0;if(!i||!o)return e===l?-1:t===l?1:i?-1:o?1:F?ae.call(F,e)-ae.call(F,t):0;if(i===o)return c(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?c(a[r],s[r]):a[r]===z?-1:s[r]===z?1:0},l):M},w.matches=function(e,t){return w(e,null,null,t)},w.matchesSelector=function(e,t){if((e.ownerDocument||e)!==M&&_(e),t=t.replace(ye,"='$1']"),S.matchesSelector&&R&&(!P||!P.test(t))&&(!B||!B.test(t)))try{var n=W.call(e,t);if(n||S.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(je){}return 0<w(t,M,null,[e]).length},w.contains=function(e,t){return(e.ownerDocument||e)!==M&&_(e),$(e,t)},w.attr=function(e,t){(e.ownerDocument||e)!==M&&_(e);var n=A.attrHandle[t.toLowerCase()],r=n&&ee.call(A.attrHandle,t.toLowerCase())?n(e,t,!R):i;return r===i?S.attributes||!R?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null:r},w.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},w.uniqueSort=function(e){var t,n=[],r=0,i=0;if(G=!S.detectDuplicates,F=!S.sortStable&&e.slice(0),e.sort(K),G){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return e},D=w.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+=D(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=D(t);return n},A=w.selectors={cacheLength:50,createPseudo:l,match:xe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Ee,Se),e[3]=(e[4]||e[5]||"").replace(Ee,Se),"~="===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]||w.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]&&w.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return xe.CHILD.test(e[0])?null:(e[3]&&e[4]!==i?e[2]=e[4]:n&&ve.test(n)&&(t=m(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){var t=e.replace(Ee,Se).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=V[e+" "];return t||(t=new RegExp("(^|"+le+")"+e+"("+le+"|$)"))&&V(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==Q&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=w.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,m){var g="nth"!==d.slice(0,3),y="last"!==d.slice(-4),v="of-type"===e;return 1===h&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,l,u=g!==y?"nextSibling":"previousSibling",c=e.parentNode,f=v&&e.nodeName.toLowerCase(),p=!n&&!v;if(c){if(g){for(;u;){for(o=e;o=o[u];)if(v?o.nodeName.toLowerCase()===f:1===o.nodeType)return!1;l=u="only"===d&&!l&&"nextSibling"}return!0}if(l=[y?c.firstChild:c.lastChild],y&&p){for(s=(r=(i=c[I]||(c[I]={}))[d]||[])[0]===X&&r[1],a=r[0]===X&&r[2],o=s&&c.childNodes[s];o=++s&&o&&o[u]||(a=s=0)||l.pop();)if(1===o.nodeType&&++a&&o===e){i[d]=[X,s,a];break}}else if(p&&(r=(e[I]||(e[I]={}))[d])&&r[0]===X)a=r[1];else for(;(o=++s&&o&&o[u]||(a=s=0)||l.pop())&&((v?o.nodeName.toLowerCase()!==f:1!==o.nodeType)||!++a||(p&&((o[I]||(o[I]={}))[d]=[X,a]),o!==e)););return(a-=m)===h||a%h==0&&0<=a/h}}},PSEUDO:function(e,o){var t,a=A.pseudos[e]||A.setFilters[e.toLowerCase()]||w.error("unsupported pseudo: "+e);return a[I]?a(o):1<a.length?(t=[e,e,"",o],A.setFilters.hasOwnProperty(e.toLowerCase())?l(function(e,t){for(var n,r=a(e,o),i=r.length;i--;)e[n=ae.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:l(function(e){var r=[],i=[],s=H(e.replace(de,"$1"));return s[I]?l(function(e,t,n,r){for(var i,o=s(e,null,r,[]),a=e.length;a--;)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),!i.pop()}}),has:l(function(t){return function(e){return 0<w(t,e).length}}),contains:l(function(t){return function(e){return-1<(e.textContent||e.innerText||D(e)).indexOf(t)}}),lang:l(function(n){return be.test(n||"")||w.error("unsupported lang: "+n),n=n.replace(Ee,Se).toLowerCase(),function(e){var t;do{if(t=R?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===O},focus:function(e){return e===M.activeElement&&(!M.hasFocus||M.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},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,!0===e.selected},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!A.pseudos.empty(e)},header:function(e){return ke.test(e.nodeName)},input:function(e){return Ce.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:d(function(){return[0]}),last:d(function(e,t){return[t-1]}),eq:d(function(e,t,n){return[n<0?n+t:n]}),even:d(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:d(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:d(function(e,t,n){for(var r=n<0?n+t:n;0<=--r;)e.push(r);return e}),gt:d(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})A.pseudos[E]=f(E);for(E in{submit:!0,reset:!0})A.pseudos[E]=p(E);H=w.compile=function(e,t){var n,r=[],i=[],o=J[e+" "];if(!o){for(t||(t=m(e)),n=t.length;n--;)(o=b(t[n]))[I]?r.push(o):i.push(o);o=J(e,x(i,r))}return o},A.pseudos.nth=A.pseudos.eq,N.prototype=A.filters=A.pseudos,A.setFilters=new N,S.sortStable=I.split("").sort(K).join("")===I,_(),[0,0].sort(K),S.detectDuplicates=G,Ae.find=w,Ae.expr=w.selectors,Ae.expr[":"]=Ae.expr.pseudos,Ae.unique=w.uniqueSort,Ae.text=w.getText,Ae.isXMLDoc=w.isXML,Ae.contains=w.contains}(m);var ke={};Ae.Callbacks=function(i){i="string"==typeof i?ke[i]||e(i):Ae.extend({},i);var o,t,n,a,r,s,l=[],u=!i.once&&[],c=function(e){for(t=i.memory&&e,n=!0,r=s||0,s=0,a=l.length,o=!0;l&&r<a;r++)if(!1===l[r].apply(e[0],e[1])&&i.stopOnFalse){t=!1;break}o=!1,l&&(u?u.length&&c(u.shift()):t?l=[]:f.disable())},f={add:function(){if(l){var e=l.length;!function r(e){Ae.each(e,function(e,t){var n=Ae.type(t);"function"===n?i.unique&&f.has(t)||l.push(t):t&&t.length&&"string"!==n&&r(t)})}(arguments),o?a=l.length:t&&(s=e,c(t))}return this},remove:function(){return l&&Ae.each(arguments,function(e,t){for(var n;-1<(n=Ae.inArray(t,l,n));)l.splice(n,1),o&&(n<=a&&a--,n<=r&&r--)}),this},has:function(e){return e?-1<Ae.inArray(e,l):!(!l||!l.length)},empty:function(){return l=[],a=0,this},disable:function(){return l=u=t=C,this},disabled:function(){return!l},lock:function(){return u=C,t||f.disable(),this},locked:function(){return!u},fireWith:function(e,t){return t=[e,(t=t||[]).slice?t.slice():t],!l||n&&!u||(o?u.push(t):c(t)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!n}};return f},Ae.extend({Deferred:function(e){var a=[["resolve","done",Ae.Callbacks("once memory"),"resolved"],["reject","fail",Ae.Callbacks("once memory"),"rejected"],["notify","progress",Ae.Callbacks("memory")]],i="pending",s={state:function(){return i},always:function(){return l.done(arguments).fail(arguments),this},then:function(){var o=arguments;return Ae.Deferred(function(i){Ae.each(a,function(e,t){var n=t[0],r=Ae.isFunction(o[e])&&o[e];l[t[1]](function(){var e=r&&r.apply(this,arguments);e&&Ae.isFunction(e.promise)?e.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[n+"With"](this===s?i.promise():this,r?[e]:arguments)})}),o=null}).promise()},promise:function(e){return null!=e?Ae.extend(e,s):s}},l={};return s.pipe=s.then,Ae.each(a,function(e,t){var n=t[2],r=t[3];s[t[1]]=n.add,r&&n.add(function(){i=r},a[1^e][2].disable,a[2][2].lock),l[t[0]]=function(){return l[t[0]+"With"](this===l?s:this,arguments),this},l[t[0]+"With"]=n.fireWith}),s.promise(l),e&&e.call(l,l),l},when:function(e){var i,t,n,r=0,o=oe.call(arguments),a=o.length,s=1!==a||e&&Ae.isFunction(e.promise)?a:0,l=1===s?e:Ae.Deferred(),u=function(t,n,r){return function(e){n[t]=this,r[t]=1<arguments.length?oe.call(arguments):e,r===i?l.notifyWith(n,r):--s||l.resolveWith(n,r)}};if(1<a)for(i=new Array(a),t=new Array(a),n=new Array(a);r<a;r++)o[r]&&Ae.isFunction(o[r].promise)?o[r].promise().done(u(r,n,o)).fail(l.reject).progress(u(r,t,i)):--s;return s||l.resolveWith(n,o),l.promise()}}),Ae.support=function(o){var e,t,n,r,i,a,s,l,u,c=G.createElement("div");if(c.setAttribute("className","t"),c.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=c.getElementsByTagName("*")||[],!(t=c.getElementsByTagName("a")[0])||!t.style||!e.length)return o;a=(r=G.createElement("select")).appendChild(G.createElement("option")),n=c.getElementsByTagName("input")[0],t.style.cssText="top:1px;float:left;opacity:.5",o.getSetAttribute="t"!==c.className,o.leadingWhitespace=3===c.firstChild.nodeType,o.tbody=!c.getElementsByTagName("tbody").length,o.htmlSerialize=!!c.getElementsByTagName("link").length,o.style=/top/.test(t.getAttribute("style")),o.hrefNormalized="/a"===t.getAttribute("href"),o.opacity=/^0.5/.test(t.style.opacity),o.cssFloat=!!t.style.cssFloat,o.checkOn=!!n.value,o.optSelected=a.selected,o.enctype=!!G.createElement("form").enctype,o.html5Clone="<:nav></:nav>"!==G.createElement("nav").cloneNode(!0).outerHTML,o.inlineBlockNeedsLayout=!1,o.shrinkWrapBlocks=!1,o.pixelPosition=!1,o.deleteExpando=!0,o.noCloneEvent=!0,o.reliableMarginRight=!0,o.boxSizingReliable=!0,n.checked=!0,o.noCloneChecked=n.cloneNode(!0).checked,r.disabled=!0,o.optDisabled=!a.disabled;try{delete c.test}catch(f){o.deleteExpando=!1}for(u in(n=G.createElement("input")).setAttribute("value",""),o.input=""===n.getAttribute("value"),n.value="t",n.setAttribute("type","radio"),o.radioValue="t"===n.value,n.setAttribute("checked","t"),n.setAttribute("name","t"),(i=G.createDocumentFragment()).appendChild(n),o.appendChecked=n.checked,o.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,c.attachEvent&&(c.attachEvent("onclick",function(){o.noCloneEvent=!1}),c.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})c.setAttribute(s="on"+u,"t"),o[u+"Bubbles"]=s in m||!1===c.attributes[s].expando;for(u in c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===c.style.backgroundClip,Ae(o))break;return o.ownLast="0"!==u,Ae(function(){var e,t,n,r="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",i=G.getElementsByTagName("body")[0];i&&((e=G.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",i.appendChild(e).appendChild(c),c.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(n=c.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",l=0===n[0].offsetHeight,n[0].style.display="",n[1].style.display="none",o.reliableHiddenOffsets=l&&0===n[0].offsetHeight,c.innerHTML="",c.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%;",Ae.swap(i,null!=i.style.zoom?{zoom:1}:{},function(){o.boxSizing=4===c.offsetWidth}),m.getComputedStyle&&(o.pixelPosition="1%"!==(m.getComputedStyle(c,null)||{}).top,o.boxSizingReliable="4px"===(m.getComputedStyle(c,null)||{width:"4px"}).width,(t=c.appendChild(G.createElement("div"))).style.cssText=c.style.cssText=r,t.style.marginRight=t.style.width="0",c.style.width="1px",o.reliableMarginRight=!parseFloat((m.getComputedStyle(t,null)||{}).marginRight)),typeof c.style.zoom!==Y&&(c.innerHTML="",c.style.cssText=r+"width:1px;padding:1px;display:inline;zoom:1",o.inlineBlockNeedsLayout=3===c.offsetWidth,c.style.display="block",c.innerHTML="<div></div>",c.firstChild.style.width="5px",o.shrinkWrapBlocks=3!==c.offsetWidth,o.inlineBlockNeedsLayout&&(i.style.zoom=1)),i.removeChild(e),e=c=n=t=null)}),e=r=i=a=t=n=null,o}({});var Ne=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Ee=/([A-Z])/g;Ae.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?Ae.cache[e[Ae.expando]]:e[Ae.expando])&&!u(e)},data:function(e,t,n){return r(e,t,n)},removeData:function(e,t){return n(e,t)},_data:function(e,t,n){return r(e,t,n,!0)},_removeData:function(e,t){return n(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&Ae.noData[e.nodeName.toLowerCase()];return!t||!0!==t&&e.getAttribute("classid")===t}}),Ae.fn.extend({data:function(e,t){var n,r,i=null,o=0,a=this[0];if(e===C){if(this.length&&(i=Ae.data(a),1===a.nodeType&&!Ae._data(a,"parsedAttrs"))){for(n=a.attributes;o<n.length;o++)0===(r=n[o].name).indexOf("data-")&&l(a,r=Ae.camelCase(r.slice(5)),i[r]);Ae._data(a,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each(function(){Ae.data(this,e)}):1<arguments.length?this.each(function(){Ae.data(this,e,t)}):a?l(a,e,Ae.data(a,e)):null},removeData:function(e){return this.each(function(){Ae.removeData(this,e)})}}),Ae.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Ae._data(e,t),n&&(!r||Ae.isArray(n)?r=Ae._data(e,t,Ae.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=Ae.queue(e,t),r=n.length,i=n.shift(),o=Ae._queueHooks(e,t),a=function(){Ae.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),(o.cur=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 Ae._data(e,n)||Ae._data(e,n,{empty:Ae.Callbacks("once memory").add(function(){Ae._removeData(e,t+"queue"),Ae._removeData(e,n)})})}}),Ae.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?Ae.queue(this[0],t):n===C?this:this.each(function(){var e=Ae.queue(this,t,n);Ae._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&Ae.dequeue(this,t)})},dequeue:function(e){return this.each(function(){Ae.dequeue(this,e)})},delay:function(r,e){return r=Ae.fx&&Ae.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=setTimeout(e,r);t.stop=function(){clearTimeout(n)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=Ae.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=C),e=e||"fx";a--;)(n=Ae._data(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var Se,je,De=/[\t\r\n\f]/g,Le=/\r/g,He=/^(?:input|select|textarea|button|object)$/i,qe=/^(?:a|area)$/i,Fe=/^(?:checked|selected)$/i,_e=Ae.support.getSetAttribute,Me=Ae.support.input;Ae.fn.extend({attr:function(e,t){return Ae.access(this,Ae.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){Ae.removeAttr(this,e)})},prop:function(e,t){return Ae.access(this,Ae.prop,e,t,1<arguments.length)},removeProp:function(t){return t=Ae.propFix[t]||t,this.each(function(){try{this[t]=C,delete this[t]}catch(e){}})},addClass:function(t){var e,n,r,i,o,a=0,s=this.length,l="string"==typeof t&&t;if(Ae.isFunction(t))return this.each(function(e){Ae(this).addClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(fe)||[];a<s;a++)if(r=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(De," "):" ")){for(o=0;i=e[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");n.className=Ae.trim(r)}return this},removeClass:function(t){var e,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof t&&t;if(Ae.isFunction(t))return this.each(function(e){Ae(this).removeClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(fe)||[];a<s;a++)if(r=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(De," "):"")){for(o=0;i=e[o++];)for(;0<=r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");n.className=t?Ae.trim(r):""}return this},toggleClass:function(o,a){var s=typeof o,l="boolean"==typeof a;return Ae.isFunction(o)?this.each(function(e){Ae(this).toggleClass(o.call(this,e,this.className,a),a)}):this.each(function(){if("string"===s)for(var e,t=0,n=Ae(this),r=a,i=o.match(fe)||[];e=i[t++];)r=l?r:!n.hasClass(e),n[r?"addClass":"removeClass"](e);else s!==Y&&"boolean"!==s||(this.className&&Ae._data(this,"__className__",this.className),this.className=this.className||!1===o?"":Ae._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&0<=(" "+this[n].className+" ").replace(De," ").indexOf(t))return!0;return!1},val:function(n){var e,r,i,t=this[0];return arguments.length?(i=Ae.isFunction(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,Ae(this).val()):n)?t="":"number"==typeof t?t+="":Ae.isArray(t)&&(t=Ae.map(t,function(e){return null==e?"":e+""})),(r=Ae.valHooks[this.type]||Ae.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&r.set(this,t,"value")!==C||(this.value=t))})):t?(r=Ae.valHooks[t.type]||Ae.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&(e=r.get(t,"value"))!==C?e:"string"==typeof(e=t.value)?e.replace(Le,""):null==e?"":e:void 0}}),Ae.extend({valHooks:{option:{get:function(e){var t=Ae.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,l=i<0?s:o?i:0;l<s;l++)if(((n=r[l]).selected||l===i)&&(Ae.support.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!Ae.nodeName(n.parentNode,"optgroup"))){if(t=Ae(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=Ae.makeArray(t),a=i.length;a--;)((r=i[a]).selected=0<=Ae.inArray(Ae(r).val(),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===Y?Ae.prop(e,t,n):(1===o&&Ae.isXMLDoc(e)||(t=t.toLowerCase(),r=Ae.attrHooks[t]||(Ae.expr.match.bool.test(t)?je:Se)),n===C?r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=Ae.find.attr(e,t))?C:i:null!==n?r&&"set"in r&&(i=r.set(e,n,t))!==C?i:(e.setAttribute(t,n+""),n):void Ae.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(fe);if(o&&1===e.nodeType)for(;n=o[i++];)r=Ae.propFix[n]||n,Ae.expr.match.bool.test(n)?Me&&_e||!Fe.test(n)?e[r]=!1:e[Ae.camelCase("default-"+n)]=e[r]=!1:Ae.attr(e,n,""),e.removeAttribute(_e?n:r)},attrHooks:{type:{set:function(e,t){if(!Ae.support.radioValue&&"radio"===t&&Ae.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!Ae.isXMLDoc(e))&&(t=Ae.propFix[t]||t,i=Ae.propHooks[t]),n!==C?i&&"set"in i&&(r=i.set(e,n,t))!==C?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=Ae.find.attr(e,"tabindex");return t?parseInt(t,10):He.test(e.nodeName)||qe.test(e.nodeName)&&e.href?0:-1}}}}),je={set:function(e,t,n){return!1===t?Ae.removeAttr(e,n):Me&&_e||!Fe.test(n)?e.setAttribute(!_e&&Ae.propFix[n]||n,n):e[Ae.camelCase("default-"+n)]=e[n]=!0,n}},Ae.each(Ae.expr.match.bool.source.match(/\w+/g),function(e,t){var o=Ae.expr.attrHandle[t]||Ae.find.attr;Ae.expr.attrHandle[t]=Me&&_e||!Fe.test(t)?function(e,t,n){var r=Ae.expr.attrHandle[t],i=n?C:(Ae.expr.attrHandle[t]=C)!=o(e,t,n)?t.toLowerCase():null;return Ae.expr.attrHandle[t]=r,i}:function(e,t,n){return n?C:e[Ae.camelCase("default-"+t)]?t.toLowerCase():null}}),Me&&_e||(Ae.attrHooks.value={set:function(e,t,n){if(!Ae.nodeName(e,"input"))return Se&&Se.set(e,t,n);e.defaultValue=t}}),_e||(Se={set:function(e,t,n){var r=e.getAttributeNode(n);return r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n)?t:C}},Ae.expr.attrHandle.id=Ae.expr.attrHandle.name=Ae.expr.attrHandle.coords=function(e,t,n){var r;return n?C:(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},Ae.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:C},set:Se.set},Ae.attrHooks.contenteditable={set:function(e,t,n){Se.set(e,""!==t&&t,n)}},Ae.each(["width","height"],function(e,n){Ae.attrHooks[n]={set:function(e,t){if(""===t)return e.setAttribute(n,"auto"),t}}})),Ae.support.hrefNormalized||Ae.each(["href","src"],function(e,t){Ae.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),Ae.support.style||(Ae.attrHooks.style={get:function(e){return e.style.cssText||C},set:function(e,t){return e.style.cssText=t+""}}),Ae.support.optSelected||(Ae.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,
-t.parentNode&&t.parentNode.selectedIndex),null}}),Ae.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Ae.propFix[this.toLowerCase()]=this}),Ae.support.enctype||(Ae.propFix.enctype="encoding"),Ae.each(["radio","checkbox"],function(){Ae.valHooks[this]={set:function(e,t){if(Ae.isArray(t))return e.checked=0<=Ae.inArray(Ae(e).val(),t)}},Ae.support.checkOn||(Ae.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Oe=/^(?:input|select|textarea)$/i,Re=/^key/,Be=/^(?:mouse|contextmenu)|click/,Pe=/^(?:focusinfocus|focusoutblur)$/,We=/^([^.]*)(?:\.(.+)|)$/;Ae.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,u,c,f,p,d,h,m,g=Ae._data(e);if(g){for(n.handler&&(n=(l=n).handler,i=l.selector),n.guid||(n.guid=Ae.guid++),(a=g.events)||(a=g.events={}),(c=g.handle)||((c=g.handle=function(e){return typeof Ae===Y||e&&Ae.event.triggered===e.type?C:Ae.event.dispatch.apply(c.elem,arguments)}).elem=e),s=(t=(t||"").match(fe)||[""]).length;s--;)d=m=(o=We.exec(t[s])||[])[1],h=(o[2]||"").split(".").sort(),d&&(u=Ae.event.special[d]||{},d=(i?u.delegateType:u.bindType)||d,u=Ae.event.special[d]||{},f=Ae.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&Ae.expr.match.needsContext.test(i),namespace:h.join(".")},l),(p=a[d])||((p=a[d]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,r,h,c)||(e.addEventListener?e.addEventListener(d,c,!1):e.attachEvent&&e.attachEvent("on"+d,c))),u.add&&(u.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,f):p.push(f),Ae.event.global[d]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,f,p,d,h,m,g=Ae.hasData(e)&&Ae._data(e);if(g&&(c=g.events)){for(u=(t=(t||"").match(fe)||[""]).length;u--;)if(d=m=(s=We.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=Ae.event.special[d]||{},p=c[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=p.length;o--;)a=p[o],!i&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(p.splice(o,1),a.selector&&p.delegateCount--,f.remove&&f.remove.call(e,a));l&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,g.handle)||Ae.removeEvent(e,d,g.handle),delete c[d])}else for(d in c)Ae.event.remove(e,d+t[u],n,r,!0);Ae.isEmptyObject(c)&&(delete g.handle,Ae._removeData(e,"events"))}},trigger:function(e,t,n,r){var i,o,a,s,l,u,c,f=[n||G],p=le.call(e,"type")?e.type:e,d=le.call(e,"namespace")?e.namespace.split("."):[];if(a=u=n=n||G,3!==n.nodeType&&8!==n.nodeType&&!Pe.test(p+Ae.event.triggered)&&(0<=p.indexOf(".")&&(p=(d=p.split(".")).shift(),d.sort()),o=p.indexOf(":")<0&&"on"+p,(e=e[Ae.expando]?e:new Ae.Event(p,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=d.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=C,e.target||(e.target=n),t=null==t?[e]:Ae.makeArray(t,[e]),l=Ae.event.special[p]||{},r||!l.trigger||!1!==l.trigger.apply(n,t))){if(!r&&!l.noBubble&&!Ae.isWindow(n)){for(s=l.delegateType||p,Pe.test(s+p)||(a=a.parentNode);a;a=a.parentNode)f.push(a),u=a;u===(n.ownerDocument||G)&&f.push(u.defaultView||u.parentWindow||m)}for(c=0;(a=f[c++])&&!e.isPropagationStopped();)e.type=1<c?s:l.bindType||p,(i=(Ae._data(a,"events")||{})[e.type]&&Ae._data(a,"handle"))&&i.apply(a,t),(i=o&&a[o])&&Ae.acceptData(a)&&i.apply&&!1===i.apply(a,t)&&e.preventDefault();if(e.type=p,!r&&!e.isDefaultPrevented()&&(!l._default||!1===l._default.apply(f.pop(),t))&&Ae.acceptData(n)&&o&&n[p]&&!Ae.isWindow(n)){(u=n[o])&&(n[o]=null),Ae.event.triggered=p;try{n[p]()}catch(h){}Ae.event.triggered=C,u&&(n[o]=u)}return e.result}},dispatch:function(e){e=Ae.event.fix(e);var t,n,r,i,o,a=[],s=oe.call(arguments),l=(Ae._data(this,"events")||{})[e.type]||[],u=Ae.event.special[e.type]||{};if((s[0]=e).delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(a=Ae.event.handlers.call(this,e,l),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,o=0;(r=i.handlers[o++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(r.namespace)||(e.handleObj=r,e.data=r.data,(n=((Ae.event.special[r.origType]||{}).handle||r.handler).apply(i.elem,s))!==C&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],o=0;o<s;o++)i[n=(r=t[o]).selector+" "]===C&&(i[n]=r.needsContext?0<=Ae(n,this).index(l):Ae.find(n,this,null,[l]).length),i[n]&&i.push(r);i.length&&a.push({elem:l,handlers:i})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[Ae.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Be.test(i)?this.mouseHooks:Re.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new Ae.Event(o),t=r.length;t--;)e[n=r[t]]=o[n];return e.target||(e.target=o.srcElement||G),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):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,t){var n,r,i,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(i=(r=e.target.ownerDocument||G).documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||o===C||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==t()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===t()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(Ae.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return Ae.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==C&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=Ae.extend(new Ae.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?Ae.event.trigger(i,null,t):Ae.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},Ae.removeEvent=G.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]===Y&&(e[r]=null),e.detachEvent(r,n))},Ae.Event=function(e,t){if(!(this instanceof Ae.Event))return new Ae.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault()?i:c):this.type=e,t&&Ae.extend(this,t),this.timeStamp=e&&e.timeStamp||Ae.now(),this[Ae.expando]=!0},Ae.Event.prototype={isDefaultPrevented:c,isPropagationStopped:c,isImmediatePropagationStopped:c,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=i,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=i,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=i,this.stopPropagation()}},Ae.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,o){Ae.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=this,r=e.relatedTarget,i=e.handleObj;return r&&(r===n||Ae.contains(n,r))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=o),t}}}),Ae.support.submitBubbles||(Ae.event.special.submit={setup:function(){if(Ae.nodeName(this,"form"))return!1;Ae.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=Ae.nodeName(t,"input")||Ae.nodeName(t,"button")?t.form:C;n&&!Ae._data(n,"submitBubbles")&&(Ae.event.add(n,"submit._submit",function(e){e._submit_bubble=!0}),Ae._data(n,"submitBubbles",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&Ae.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(Ae.nodeName(this,"form"))return!1;Ae.event.remove(this,"._submit")}}),Ae.support.changeBubbles||(Ae.event.special.change={setup:function(){if(Oe.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(Ae.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),Ae.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),Ae.event.simulate("change",this,e,!0)})),!1;Ae.event.add(this,"beforeactivate._change",function(e){var t=e.target;Oe.test(t.nodeName)&&!Ae._data(t,"changeBubbles")&&(Ae.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||Ae.event.simulate("change",this.parentNode,e,!0)}),Ae._data(t,"changeBubbles",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return Ae.event.remove(this,"._change"),!Oe.test(this.nodeName)}}),Ae.support.focusinBubbles||Ae.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){Ae.event.simulate(t,e.target,Ae.event.fix(e),!0)};Ae.event.special[t]={setup:function(){0==n++&&G.addEventListener(e,r,!0)},teardown:function(){0==--n&&G.removeEventListener(e,r,!0)}}}),Ae.fn.extend({on:function(e,t,n,r,i){var o,a;if("object"==typeof e){for(o in"string"!=typeof t&&(n=n||t,t=C),e)this.on(o,t,n,e[o],i);return this}if(null==n&&null==r?(r=t,n=t=C):null==r&&("string"==typeof t?(r=n,n=C):(r=n,n=t,t=C)),!1===r)r=c;else if(!r)return this;return 1===i&&(a=r,(r=function(e){return Ae().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=Ae.guid++)),this.each(function(){Ae.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,Ae(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=C),!1===n&&(n=c),this.each(function(){Ae.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){Ae.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Ae.event.trigger(e,t,n,!0)}});var $e=/^.[^:#\[\.,]*$/,Ie=/^(?:parents|prev(?:Until|All))/,ze=Ae.expr.match.needsContext,Xe={children:!0,contents:!0,next:!0,prev:!0};Ae.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(Ae(e).filter(function(){for(t=0;t<i;t++)if(Ae.contains(r[t],this))return!0}));for(t=0;t<i;t++)Ae.find(e,r[t],n);return(n=this.pushStack(1<i?Ae.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=Ae(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(Ae.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(a(this,e||[],!0))},filter:function(e){return this.pushStack(a(this,e||[],!1))},is:function(e){return!!a(this,"string"==typeof e&&ze.test(e)?Ae(e):e||[],!1).length},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=ze.test(e)||"string"!=typeof e?Ae(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&Ae.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(1<o.length?Ae.unique(o):o)},index:function(e){return e?"string"==typeof e?Ae.inArray(this[0],Ae(e)):Ae.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?Ae(e,t):Ae.makeArray(e&&e.nodeType?[e]:e),r=Ae.merge(this.get(),n);return this.pushStack(Ae.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Ae.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ae.dir(e,"parentNode")},parentsUntil:function(e,t,n){return Ae.dir(e,"parentNode",n)},next:function(e){return o(e,"nextSibling")},prev:function(e){return o(e,"previousSibling")},nextAll:function(e){return Ae.dir(e,"nextSibling")},prevAll:function(e){return Ae.dir(e,"previousSibling")},nextUntil:function(e,t,n){return Ae.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ae.dir(e,"previousSibling",n)},siblings:function(e){return Ae.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return Ae.sibling(e.firstChild)},contents:function(e){return Ae.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:Ae.merge([],e.childNodes)}},function(r,i){Ae.fn[r]=function(e,t){var n=Ae.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=Ae.filter(t,n)),1<this.length&&(Xe[r]||(n=Ae.unique(n)),Ie.test(r)&&(n=n.reverse())),this.pushStack(n)}}),Ae.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Ae.find.matchesSelector(r,e)?[r]:[]:Ae.find.matches(e,Ae.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(n===C||1!==i.nodeType||!Ae(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var Ue="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ve=/ jQuery\d+="(?:null|\d+)"/g,Ye=new RegExp("<(?:"+Ue+")[\\s/>]","i"),Je=/^\s+/,Ge=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ke=/<([\w:]+)/,Qe=/<tbody/i,Ze=/<|&#?\w+;/,et=/<(?:script|style|link)/i,tt=/^(?:checkbox|radio)$/i,nt=/checked\s*(?:[^=]|=\s*.checked.)/i,rt=/^$|\/(?:java|ecma)script/i,it=/^true\/(.*)/,ot=/^\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:Ae.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},st=g(G).appendChild(G.createElement("div"));at.optgroup=at.option,at.tbody=at.tfoot=at.colgroup=at.caption=at.thead,at.th=at.td,Ae.fn.extend({text:function(e){return Ae.access(this,function(e){return e===C?Ae.text(this):this.empty().append((this[0]&&this[0].ownerDocument||G).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||f(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=f(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?Ae.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||Ae.cleanData(x(n)),n.parentNode&&(t&&Ae.contains(n.ownerDocument,n)&&b(x(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&Ae.cleanData(x(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&Ae.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Ae.clone(this,e,t)})},html:function(e){return Ae.access(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===C)return 1===t.nodeType?t.innerHTML.replace(Ve,""):C;if("string"==typeof e&&!et.test(e)&&(Ae.support.htmlSerialize||!Ye.test(e))&&(Ae.support.leadingWhitespace||!Je.test(e))&&!at[(Ke.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Ge,"<$1></$2>");try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(Ae.cleanData(x(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var r=Ae.map(this,function(e){return[e.nextSibling,e.parentNode]}),i=0;return this.domManip(arguments,function(e){var t=r[i++],n=r[i++];n&&(t&&t.parentNode!==n&&(t=this.nextSibling),Ae(this).remove(),n.insertBefore(e,t))},!0),i?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(n,r,i){n=re.apply([],n);var e,t,o,a,s,l,u=0,c=this.length,f=this,p=c-1,d=n[0],h=Ae.isFunction(d);if(h||!(c<=1||"string"!=typeof d||Ae.support.checkClone)&&nt.test(d))return this.each(function(e){var t=f.eq(e);h&&(n[0]=d.call(this,e,t.html())),t.domManip(n,r,i)});if(c&&(e=(l=Ae.buildFragment(n,this[0].ownerDocument,!1,!i&&this)).firstChild,1===l.childNodes.length&&(l=e),e)){for(o=(a=Ae.map(x(l,"script"),y)).length;u<c;u++)t=l,u!==p&&(t=Ae.clone(t,!0,!0),o&&Ae.merge(a,x(t,"script"))),r.call(this[u],t,u);if(o)for(s=a[a.length-1].ownerDocument,Ae.map(a,v),u=0;u<o;u++)t=a[u],rt.test(t.type||"")&&!Ae._data(t,"globalEval")&&Ae.contains(s,t)&&(t.src?Ae._evalUrl(t.src):Ae.globalEval((t.text||t.textContent||t.innerHTML||"").replace(ot,"")));l=e=null}return this}}),Ae.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){Ae.fn[e]=function(e){for(var t,n=0,r=[],i=Ae(e),o=i.length-1;n<=o;n++)t=n===o?this:this.clone(!0),Ae(i[n])[a](t),ie.apply(r,t.get());return this.pushStack(r)}}),Ae.extend({clone:function(e,t,n){var r,i,o,a,s,l=Ae.contains(e.ownerDocument,e);if(Ae.support.html5Clone||Ae.isXMLDoc(e)||!Ye.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(st.innerHTML=e.outerHTML,st.removeChild(o=st.firstChild)),!(Ae.support.noCloneEvent&&Ae.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Ae.isXMLDoc(e)))for(r=x(o),s=x(e),a=0;null!=(i=s[a]);++a)r[a]&&d(i,r[a]);if(t)if(n)for(s=s||x(e),r=r||x(o),a=0;null!=(i=s[a]);a++)p(i,r[a]);else p(e,o);return 0<(r=x(o,"script")).length&&b(r,!l&&x(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){for(var i,o,a,s,l,u,c,f=e.length,p=g(t),d=[],h=0;h<f;h++)if((o=e[h])||0===o)if("object"===Ae.type(o))Ae.merge(d,o.nodeType?[o]:o);else if(Ze.test(o)){for(s=s||p.appendChild(t.createElement("div")),l=(Ke.exec(o)||["",""])[1].toLowerCase(),c=at[l]||at._default,s.innerHTML=c[1]+o.replace(Ge,"<$1></$2>")+c[2],i=c[0];i--;)s=s.lastChild;if(!Ae.support.leadingWhitespace&&Je.test(o)&&d.push(t.createTextNode(Je.exec(o)[0])),!Ae.support.tbody)for(i=(o="table"!==l||Qe.test(o)?"<table>"!==c[1]||Qe.test(o)?0:s:s.firstChild)&&o.childNodes.length;i--;)Ae.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(Ae.merge(d,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=p.lastChild}else d.push(t.createTextNode(o));for(s&&p.removeChild(s),Ae.support.appendChecked||Ae.grep(x(d,"input"),w),h=0;o=d[h++];)if((!r||-1===Ae.inArray(o,r))&&(a=Ae.contains(o.ownerDocument,o),s=x(p.appendChild(o),"script"),a&&b(s),n))for(i=0;o=s[i++];)rt.test(o.type||"")&&n.push(o);return s=null,p},cleanData:function(e,t){for(var n,r,i,o,a=0,s=Ae.expando,l=Ae.cache,u=Ae.support.deleteExpando,c=Ae.event.special;null!=(n=e[a]);a++)if((t||Ae.acceptData(n))&&(o=(i=n[s])&&l[i])){if(o.events)for(r in o.events)c[r]?Ae.event.remove(n,r):Ae.removeEvent(n,r,o.handle);l[i]&&(delete l[i],u?delete n[s]:typeof n.removeAttribute!==Y?n.removeAttribute(s):n[s]=null,te.push(i))}},_evalUrl:function(e){return Ae.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),Ae.fn.extend({wrapAll:function(t){if(Ae.isFunction(t))return this.each(function(e){Ae(this).wrapAll(t.call(this,e))});if(this[0]){var e=Ae(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(n){return Ae.isFunction(n)?this.each(function(e){Ae(this).wrapInner(n.call(this,e))}):this.each(function(){var e=Ae(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=Ae.isFunction(t);return this.each(function(e){Ae(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){Ae.nodeName(this,"body")||Ae(this).replaceWith(this.childNodes)}).end()}});var lt,ut,ct,ft=/alpha\([^)]*\)/i,pt=/opacity\s*=\s*([^)]*)/,dt=/^(top|right|bottom|left)$/,ht=/^(none|table(?!-c[ea]).+)/,mt=/^margin/,gt=new RegExp("^("+ce+")(.*)$","i"),yt=new RegExp("^("+ce+")(?!px)[a-z%]+$","i"),vt=new RegExp("^([+-])=("+ce+")","i"),bt={BODY:"block"},xt={position:"absolute",visibility:"hidden",display:"block"},wt={letterSpacing:0,fontWeight:400},Tt=["Top","Right","Bottom","Left"],Ct=["Webkit","O","Moz","ms"];Ae.fn.extend({css:function(e,t){return Ae.access(this,function(e,t,n){var r,i,o={},a=0;if(Ae.isArray(t)){for(i=ut(e),r=t.length;a<r;a++)o[t[a]]=Ae.css(e,t[a],!1,i);return o}return n!==C?Ae.style(e,t,n):Ae.css(e,t)},e,t,1<arguments.length)},show:function(){return k(this,!0)},hide:function(){return k(this)},toggle:function(e){var t="boolean"==typeof e;return this.each(function(){(t?e:T(this))?Ae(this).show():Ae(this).hide()})}}),Ae.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ct(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":Ae.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=Ae.camelCase(t),l=e.style;if(t=Ae.cssProps[s]||(Ae.cssProps[s]=h(l,s)),a=Ae.cssHooks[t]||Ae.cssHooks[s],n===C)return a&&"get"in a&&(i=a.get(e,!1,r))!==C?i:l[t];if(!("string"===(o=typeof n)&&(i=vt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(Ae.css(e,t)),o="number"),null==n||"number"===o&&isNaN(n)||("number"!==o||Ae.cssNumber[s]||(n+="px"),Ae.support.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&(n=a.set(e,n,r))===C)))try{l[t]=n}catch(u){}}},css:function(e,t,n,r){var i,o,a,s=Ae.camelCase(t);return t=Ae.cssProps[s]||(Ae.cssProps[s]=h(e.style,s)),(a=Ae.cssHooks[t]||Ae.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),o===C&&(o=ct(e,t,r)),"normal"===o&&t in wt&&(o=wt[t]),""===n||n?(i=parseFloat(o),!0===n||Ae.isNumeric(i)?i||0:o):o}}),m.getComputedStyle?(ut=function(e){return m.getComputedStyle(e,null)},ct=function(e,t,n){var r,i,o,a=n||ut(e),s=a?a.getPropertyValue(t)||a[t]:C,l=e.style;return a&&(""!==s||Ae.contains(e.ownerDocument,e)||(s=Ae.style(e,t)),yt.test(s)&&mt.test(t)&&(r=l.width,i=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=a.width,l.width=r,l.minWidth=i,l.maxWidth=o)),s}):G.documentElement.currentStyle&&(ut=function(e){return e.currentStyle},ct=function(e,t,n){var r,i,o,a=n||ut(e),s=a?a[t]:C,l=e.style;return null==s&&l&&l[t]&&(s=l[t]),yt.test(s)&&!dt.test(t)&&(r=l.left,(o=(i=e.runtimeStyle)&&i.left)&&(i.left=e.currentStyle.left),l.left="fontSize"===t?"1em":s,s=l.pixelLeft+"px",l.left=r,o&&(i.left=o)),""===s?"auto":s}),Ae.each(["height","width"],function(e,i){Ae.cssHooks[i]={get:function(e,t,n){if(t)return 0===e.offsetWidth&&ht.test(Ae.css(e,"display"))?Ae.swap(e,xt,function(){return S(e,i,n)}):S(e,i,n)},set:function(e,t,n){var r=n&&ut(e);return N(e,t,n?E(e,i,n,Ae.support.boxSizing&&"border-box"===Ae.css(e,"boxSizing",!1,r),r):0)}}}),Ae.support.opacity||(Ae.cssHooks.opacity={get:function(e,t){return pt.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=Ae.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";((n.zoom=1)<=t||""===t)&&""===Ae.trim(o.replace(ft,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=ft.test(o)?o.replace(ft,i):o+" "+i)}}),Ae(function(){Ae.support.reliableMarginRight||(Ae.cssHooks.marginRight={get:function(e,t){if(t)return Ae.swap(e,{display:"inline-block"},ct,[e,"marginRight"])}}),!Ae.support.pixelPosition&&Ae.fn.position&&Ae.each(["top","left"],function(e,n){Ae.cssHooks[n]={get:function(e,t){if(t)return t=ct(e,n),yt.test(t)?Ae(e).position()[n]+"px":t}}})}),Ae.expr&&Ae.expr.filters&&(Ae.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!Ae.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||Ae.css(e,"display"))},Ae.expr.filters.visible=function(e){return!Ae.expr.filters.hidden(e)}),Ae.each({margin:"",padding:"",border:"Width"},function(i,o){Ae.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Tt[t]+o]=r[t]||r[t-2]||r[0];return n}},mt.test(i)||(Ae.cssHooks[i+o].set=N)});var kt=/%20/g,Nt=/\[\]$/,Et=/\r?\n/g,St=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;Ae.fn.extend({serialize:function(){return Ae.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Ae.prop(this,"elements");return e?Ae.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Ae(this).is(":disabled")&&jt.test(this.nodeName)&&!St.test(e)&&(this.checked||!tt.test(e))}).map(function(e,t){var n=Ae(this).val();return null==n?null:Ae.isArray(n)?Ae.map(n,function(e){return{name:t.name,value:e.replace(Et,"\r\n")}}):{name:t.name,value:n.replace(Et,"\r\n")}}).get()}}),Ae.param=function(e,t){var n,r=[],i=function(e,t){t=Ae.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(t===C&&(t=Ae.ajaxSettings&&Ae.ajaxSettings.traditional),Ae.isArray(e)||e.jquery&&!Ae.isPlainObject(e))Ae.each(e,function(){i(this.name,this.value)});else for(n in e)D(n,e[n],t,i);return r.join("&").replace(kt,"+")},Ae.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,n){Ae.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),Ae.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},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)}});var At,Dt,Lt=Ae.now(),Ht=/\?/,qt=/#.*$/,Ft=/([?&])_=[^&]*/,_t=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Mt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ot=/^(?:GET|HEAD)$/,Rt=/^\/\//,Bt=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Pt=Ae.fn.load,Wt={},$t={},It="*/".concat("*");try{Dt=J.href}catch(rn){(Dt=G.createElement("a")).href="",Dt=Dt.href}At=Bt.exec(Dt.toLowerCase())||[],Ae.fn.load=function(e,t,n){if("string"!=typeof e&&Pt)return Pt.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return 0<=s&&(r=e.slice(s,e.length),e=e.slice(0,s)),Ae.isFunction(t)?(n=t,t=C):t&&"object"==typeof t&&(o="POST"),0<a.length&&Ae.ajax({url:e,type:o,dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?Ae("<div>").append(Ae.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this},Ae.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Ae.fn[t]=function(e){return this.on(t,e)}}),Ae.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Dt,type:"GET",isLocal:Mt.test(At[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,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",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":Ae.parseJSON,"text xml":Ae.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?q(q(e,Ae.ajaxSettings),t):q(Ae.ajaxSettings,e)},ajaxPrefilter:L(Wt),ajaxTransport:L($t),ajax:function(e,t){function n(e,t,n,r){var i,o,a,s,l,u=t;2!==w&&(w=2,p&&clearTimeout(p),h=C,f=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=F(m,T,n)),s=_(m,s,T,i),i?(m.ifModified&&((l=T.getResponseHeader("Last-Modified"))&&(Ae.lastModified[c]=l),(l=T.getResponseHeader("etag"))&&(Ae.etag[c]=l)),204===e||"HEAD"===m.type?u="nocontent":304===e?u="notmodified":(u=s.state,o=s.data,i=!(a=s.error))):(a=u,!e&&u||(u="error",e<0&&(e=0))),T.status=e,T.statusText=(t||u)+"",i?v.resolveWith(g,[o,u,T]):v.rejectWith(g,[T,u,a]),T.statusCode(x),x=C,d&&y.trigger(i?"ajaxSuccess":"ajaxError",[T,m,i?o:a]),b.fireWith(g,[T,u]),d&&(y.trigger("ajaxComplete",[T,m]),--Ae.active||Ae.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=C),t=t||{};var r,i,c,f,p,d,h,o,m=Ae.ajaxSetup({},t),g=m.context||m,y=m.context&&(g.nodeType||g.jquery)?Ae(g):Ae.event,v=Ae.Deferred(),b=Ae.Callbacks("once memory"),x=m.statusCode||{},a={},s={},w=0,l="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!o)for(o={};t=_t.exec(f);)o[t[1].toLowerCase()]=t[2];t=o[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?f:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=s[n]=s[n]||e,a[e]=t),this},overrideMimeType:function(e){return w||(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)x[t]=[x[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||l;return h&&h.abort(t),n(0,t),this}};if(v.promise(T).complete=b.add,T.success=T.done,T.error=T.fail,m.url=((e||m.url||Dt)+"").replace(qt,"").replace(Rt,At[1]+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=Ae.trim(m.dataType||"*").toLowerCase().match(fe)||[""],null==m.crossDomain&&(r=Bt.exec(m.url.toLowerCase()),m.crossDomain=!(!r||r[1]===At[1]&&r[2]===At[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(At[3]||("http:"===At[1]?"80":"443")))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=Ae.param(m.data,m.traditional)),H(Wt,m,t,T),2===w)return T;for(i in(d=m.global)&&0==Ae.active++&&Ae.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Ot.test(m.type),c=m.url,m.hasContent||(m.data&&(c=m.url+=(Ht.test(c)?"&":"?")+m.data,delete m.data),!1===m.cache&&(m.url=Ft.test(c)?c.replace(Ft,"$1_="+Lt++):c+(Ht.test(c)?"&":"?")+"_="+Lt++)),m.ifModified&&(Ae.lastModified[c]&&T.setRequestHeader("If-Modified-Since",Ae.lastModified[c]),Ae.etag[c]&&T.setRequestHeader("If-None-Match",Ae.etag[c])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&T.setRequestHeader("Content-Type",m.contentType),T.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+It+"; q=0.01":""):m.accepts["*"]),m.headers)T.setRequestHeader(i,m.headers[i]);if(m.beforeSend&&(!1===m.beforeSend.call(g,T,m)||2===w))return T.abort();for(i in l="abort",{success:1,error:1,complete:1})T[i](m[i]);if(h=H($t,m,t,T)){T.readyState=1,d&&y.trigger("ajaxSend",[T,m]),m.async&&0<m.timeout&&(p=setTimeout(function(){T.abort("timeout")},m.timeout));try{w=1,h.send(a,n)}catch(rn){if(!(w<2))throw rn;n(-1,rn)}}else n(-1,"No Transport");return T},getJSON:function(e,t,n){return Ae.get(e,t,n,"json")},getScript:function(e,t){return Ae.get(e,C,t,"script")}}),Ae.each(["get","post"],function(e,i){Ae[i]=function(e,t,n,r){return Ae.isFunction(t)&&(r=r||n,n=t,t=C),Ae.ajax({url:e,type:i,dataType:r,data:t,success:n})}}),Ae.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return Ae.globalEval(e),e}}}),Ae.ajaxPrefilter("script",function(e){e.cache===C&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),Ae.ajaxTransport("script",function(t){if(t.crossDomain){var r,i=G.head||Ae("head")[0]||G.documentElement;return{send:function(e,n){(r=G.createElement("script")).async=!0,t.scriptCharset&&(
-r.charset=t.scriptCharset),r.src=t.url,r.onload=r.onreadystatechange=function(e,t){(t||!r.readyState||/loaded|complete/.test(r.readyState))&&(r.onload=r.onreadystatechange=null,r.parentNode&&r.parentNode.removeChild(r),r=null,t||n(200,"success"))},i.insertBefore(r,i.firstChild)},abort:function(){r&&r.onload(C,!0)}}}});var zt=[],Xt=/(=)\?(?=&|$)|\?\?/;Ae.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||Ae.expando+"_"+Lt++;return this[e]=!0,e}}),Ae.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Xt.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=Ae.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Xt,"$1"+r):!1!==e.jsonp&&(e.url+=(Ht.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||Ae.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=m[r],m[r]=function(){o=arguments},n.always(function(){m[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&Ae.isFunction(i)&&i(o[0]),o=i=C}),"script"});var Ut,Vt,Yt=0,Jt=m.ActiveXObject&&function(){var e;for(e in Ut)Ut[e](C,!0)};Ae.ajaxSettings.xhr=m.ActiveXObject?function(){return!this.isLocal&&M()||O()}:M,Vt=Ae.ajaxSettings.xhr(),Ae.support.cors=!!Vt&&"withCredentials"in Vt,(Vt=Ae.support.ajax=!!Vt)&&Ae.ajaxTransport(function(c){var f;if(!c.crossDomain||Ae.support.cors)return{send:function(e,s){var l,t,u=c.xhr();if(c.username?u.open(c.type,c.url,c.async,c.username,c.password):u.open(c.type,c.url,c.async),c.xhrFields)for(t in c.xhrFields)u[t]=c.xhrFields[t];c.mimeType&&u.overrideMimeType&&u.overrideMimeType(c.mimeType),c.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");try{for(t in e)u.setRequestHeader(t,e[t])}catch(n){}u.send(c.hasContent&&c.data||null),f=function(e,t){var n,r,i,o;try{if(f&&(t||4===u.readyState))if(f=C,l&&(u.onreadystatechange=Ae.noop,Jt&&delete Ut[l]),t)4!==u.readyState&&u.abort();else{o={},n=u.status,r=u.getAllResponseHeaders(),"string"==typeof u.responseText&&(o.text=u.responseText);try{i=u.statusText}catch(rn){i=""}n||!c.isLocal||c.crossDomain?1223===n&&(n=204):n=o.text?200:404}}catch(a){t||s(-1,a)}o&&s(n,i,o,r)},c.async?4===u.readyState?setTimeout(f):(l=++Yt,Jt&&(Ut||(Ut={},Ae(m).unload(Jt)),Ut[l]=f),u.onreadystatechange=f):f()},abort:function(){f&&f(C,!0)}}});var Gt,Kt,Qt=/^(?:toggle|show|hide)$/,Zt=new RegExp("^(?:([+-])=|)("+ce+")([a-z%]*)$","i"),en=/queueHooks$/,tn=[$],nn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Zt.exec(t),o=i&&i[3]||(Ae.cssNumber[e]?"":"px"),a=(Ae.cssNumber[e]||"px"!==o&&+r)&&Zt.exec(Ae.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o)for(o=o||a[3],i=i||[],a=+r||1;a/=s=s||".5",Ae.style(n.elem,e,a+o),s!==(s=n.cur()/r)&&1!==s&&--l;);return i&&(n.unit=o,n.start=+a||+r||0,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};Ae.Animation=Ae.extend(P,{tweener:function(e,t){Ae.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;r<i;r++)n=e[r],nn[n]=nn[n]||[],nn[n].unshift(t)},prefilter:function(e,t){t?tn.unshift(e):tn.push(e)}}),(Ae.Tween=I).prototype={constructor:I,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||(Ae.cssNumber[n]?"":"px")},cur:function(){var e=I.propHooks[this.prop];return e&&e.get?e.get(this):I.propHooks._default.get(this)},run:function(e){var t,n=I.propHooks[this.prop];return this.options.duration?this.pos=t=Ae.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=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):I.propHooks._default.set(this),this}},I.prototype.init.prototype=I.prototype,I.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=Ae.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){Ae.fx.step[e.prop]?Ae.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[Ae.cssProps[e.prop]]||Ae.cssHooks[e.prop])?Ae.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Ae.each(["toggle","show","hide"],function(e,r){var i=Ae.fn[r];Ae.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(z(r,!0),e,t,n)}}),Ae.fn.extend({fadeTo:function(e,t,n,r){return this.filter(T).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=Ae.isEmptyObject(t),o=Ae.speed(e,n,r),a=function(){var e=P(this,Ae.extend({},t),o);a.finish=function(){e.stop(!0)},(i||Ae._data(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=C),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=Ae.timers,r=Ae._data(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&en.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||Ae.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Ae._data(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=Ae.timers,o=n?n.length:0;for(t.finish=!0,Ae.queue(this,a,[]),r&&r.cur&&r.cur.finish&&r.cur.finish.call(this),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),Ae.each({slideDown:z("show"),slideUp:z("hide"),slideToggle:z("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){Ae.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),Ae.speed=function(e,t,n){var r=e&&"object"==typeof e?Ae.extend({},e):{complete:n||!n&&t||Ae.isFunction(e)&&e,duration:e,easing:n&&t||t&&!Ae.isFunction(t)&&t};return r.duration=Ae.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in Ae.fx.speeds?Ae.fx.speeds[r.duration]:Ae.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){Ae.isFunction(r.old)&&r.old.call(this),r.queue&&Ae.dequeue(this,r.queue)},r},Ae.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},Ae.timers=[],Ae.fx=I.prototype.init,Ae.fx.tick=function(){var e,t=Ae.timers,n=0;for(Gt=Ae.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||Ae.fx.stop(),Gt=C},Ae.fx.timer=function(e){e()&&Ae.timers.push(e)&&Ae.fx.start()},Ae.fx.interval=13,Ae.fx.start=function(){Kt||(Kt=setInterval(Ae.fx.tick,Ae.fx.interval))},Ae.fx.stop=function(){clearInterval(Kt),Kt=null},Ae.fx.speeds={slow:600,fast:200,_default:400},Ae.fx.step={},Ae.expr&&Ae.expr.filters&&(Ae.expr.filters.animated=function(t){return Ae.grep(Ae.timers,function(e){return t===e.elem}).length}),Ae.fn.offset=function(t){if(arguments.length)return t===C?this:this.each(function(e){Ae.offset.setOffset(this,t,e)});var e,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;return o?(e=o.documentElement,Ae.contains(e,i)?(typeof i.getBoundingClientRect!==Y&&(r=i.getBoundingClientRect()),n=X(o),{top:r.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:r.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):r):void 0},Ae.offset={setOffset:function(e,t,n){var r=Ae.css(e,"position");"static"===r&&(e.style.position="relative");var i,o,a=Ae(e),s=a.offset(),l=Ae.css(e,"top"),u=Ae.css(e,"left"),c={},f={};("absolute"===r||"fixed"===r)&&-1<Ae.inArray("auto",[l,u])?(i=(f=a.position()).top,o=f.left):(i=parseFloat(l)||0,o=parseFloat(u)||0),Ae.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(c.top=t.top-s.top+i),null!=t.left&&(c.left=t.left-s.left+o),"using"in t?t.using.call(e,c):a.css(c)}},Ae.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===Ae.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),Ae.nodeName(e[0],"html")||(n=e.offset()),n.top+=Ae.css(e[0],"borderTopWidth",!0),n.left+=Ae.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-Ae.css(r,"marginTop",!0),left:t.left-n.left-Ae.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||K;e&&!Ae.nodeName(e,"html")&&"static"===Ae.css(e,"position");)e=e.offsetParent;return e||K})}}),Ae.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o=/Y/.test(i);Ae.fn[t]=function(e){return Ae.access(this,function(e,t,n){var r=X(e);if(n===C)return r?i in r?r[i]:r.document.documentElement[t]:e[t];r?r.scrollTo(o?Ae(r).scrollLeft():n,o?n:Ae(r).scrollTop()):e[t]=n},t,e,arguments.length,null)}}),Ae.each({Height:"height",Width:"width"},function(o,a){Ae.each({padding:"inner"+o,content:a,"":"outer"+o},function(r,e){Ae.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return Ae.access(this,function(e,t,n){var r;return Ae.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):n===C?Ae.css(e,t,i):Ae.style(e,t,n,i)},a,n?e:C,n,null)}})}),Ae.fn.size=function(){return this.length},Ae.fn.andSelf=Ae.fn.addBack,"object"==typeof module&&"object"==typeof module.exports?module.exports=Ae:(m.jQuery=m.$=Ae,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Ae}))}(window),function(f,p){var d;f.rails!==p&&f.error("jquery-ujs has already been loaded!"),f.rails=d={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]",buttonClickSelector:"button[data-remote]",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type])",disableSelector:"input[data-disable-with], button[data-disable-with], textarea[data-disable-with]",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input[type=file]",linkDisableSelector:"a[data-disable-with]",CSRFProtection:function(e){var t=f('meta[name="csrf-token"]').attr("content");t&&e.setRequestHeader("X-CSRF-Token",t)},fire:function(e,t,n){var r=f.Event(t);return e.trigger(r,n),!1!==r.result},confirm:function(e){return confirm(e)},ajax:function(e){return f.ajax(e)},href:function(e){return e.attr("href")},handleRemote:function(r){var e,t,n,i,o,a,s,l;if(d.fire(r,"ajax:before")){if(o=(i=r.data("cross-domain"))===p?null:i,a=r.data("with-credentials")||null,s=r.data("type")||f.ajaxSettings&&f.ajaxSettings.dataType,r.is("form")){e=r.attr("method"),t=r.attr("action"),n=r.serializeArray();var u=r.data("ujs:submit-button");u&&(n.push(u),r.data("ujs:submit-button",null))}else r.is(d.inputChangeSelector)?(e=r.data("method"),t=r.data("url"),n=r.serialize(),r.data("params")&&(n=n+"&"+r.data("params"))):r.is(d.buttonClickSelector)?(e=r.data("method")||"get",t=r.data("url"),n=r.serialize(),r.data("params")&&(n=n+"&"+r.data("params"))):(e=r.data("method"),t=d.href(r),n=r.data("params")||null);l={type:e||"GET",data:n,dataType:s,beforeSend:function(e,t){return t.dataType===p&&e.setRequestHeader("accept","*/*;q=0.5, "+t.accepts.script),d.fire(r,"ajax:beforeSend",[e,t])},success:function(e,t,n){r.trigger("ajax:success",[e,t,n])},complete:function(e,t){r.trigger("ajax:complete",[e,t])},error:function(e,t,n){r.trigger("ajax:error",[e,t,n])},crossDomain:o},a&&(l.xhrFields={withCredentials:a}),t&&(l.url=t);var c=d.ajax(l);return r.trigger("ajax:send",c),c}return!1},handleMethod:function(e){var t=d.href(e),n=e.data("method"),r=e.attr("target"),i=f("meta[name=csrf-token]").attr("content"),o=f("meta[name=csrf-param]").attr("content"),a=f('<form method="post" action="'+t+'"></form>'),s='<input name="_method" value="'+n+'" type="hidden" />';o!==p&&i!==p&&(s+='<input name="'+o+'" value="'+i+'" type="hidden" />'),r&&a.attr("target",r),a.hide().append(s).appendTo("body"),a.submit()},disableFormElements:function(e){e.find(d.disableSelector).each(function(){var e=f(this),t=e.is("button")?"html":"val";e.data("ujs:enable-with",e[t]()),e[t](e.data("disable-with")),e.prop("disabled",!0)})},enableFormElements:function(e){e.find(d.enableSelector).each(function(){var e=f(this),t=e.is("button")?"html":"val";e.data("ujs:enable-with")&&e[t](e.data("ujs:enable-with")),e.prop("disabled",!1)})},allowAction:function(e){var t,n=e.data("confirm"),r=!1;return!n||(d.fire(e,"confirm")&&(r=d.confirm(n),t=d.fire(e,"confirm:complete",[r])),r&&t)},blankInputs:function(e,t,n){var r,i=f(),o=t||"input,textarea",a=e.find(o);return a.each(function(){if(r=f(this),!(r.is("input[type=checkbox],input[type=radio]")?r.is(":checked"):r.val())==!n){if(r.is("input[type=radio]")&&a.filter('input[type=radio]:checked[name="'+r.attr("name")+'"]').length)return!0;i=i.add(r)}}),!!i.length&&i},nonBlankInputs:function(e,t){return d.blankInputs(e,t,!0)},stopEverything:function(e){return f(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(e){e.data("ujs:enable-with",e.html()),e.html(e.data("disable-with")),e.bind("click.railsDisable",function(e){return d.stopEverything(e)})},enableElement:function(e){e.data("ujs:enable-with")!==p&&(e.html(e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.unbind("click.railsDisable")}},d.fire(f(document),"rails:attachBindings")&&(f.ajaxPrefilter(function(e,t,n){e.crossDomain||d.CSRFProtection(n)}),f(document).delegate(d.linkDisableSelector,"ajax:complete",function(){d.enableElement(f(this))}),f(document).delegate(d.linkClickSelector,"click.rails",function(e){var t=f(this),n=t.data("method"),r=t.data("params");if(!d.allowAction(t))return d.stopEverything(e);if(t.is(d.linkDisableSelector)&&d.disableElement(t),t.data("remote")!==p){if((e.metaKey||e.ctrlKey)&&(!n||"GET"===n)&&!r)return!0;var i=d.handleRemote(t);return!1===i?d.enableElement(t):i.error(function(){d.enableElement(t)}),!1}return t.data("method")?(d.handleMethod(t),!1):void 0}),f(document).delegate(d.buttonClickSelector,"click.rails",function(e){var t=f(this);return d.allowAction(t)?(d.handleRemote(t),!1):d.stopEverything(e)}),f(document).delegate(d.inputChangeSelector,"change.rails",function(e){var t=f(this);return d.allowAction(t)?(d.handleRemote(t),!1):d.stopEverything(e)}),f(document).delegate(d.formSubmitSelector,"submit.rails",function(e){var t=f(this),n=t.data("remote")!==p,r=d.blankInputs(t,d.requiredInputSelector),i=d.nonBlankInputs(t,d.fileInputSelector);if(!d.allowAction(t))return d.stopEverything(e);if(r&&t.attr("novalidate")==p&&d.fire(t,"ajax:aborted:required",[r]))return d.stopEverything(e);if(n){if(i){setTimeout(function(){d.disableFormElements(t)},13);var o=d.fire(t,"ajax:aborted:file",[i]);return o||setTimeout(function(){d.enableFormElements(t)},13),o}return d.handleRemote(t),!1}setTimeout(function(){d.disableFormElements(t)},13)}),f(document).delegate(d.formInputClickSelector,"click.rails",function(e){var t=f(this);if(!d.allowAction(t))return d.stopEverything(e);var n=t.attr("name"),r=n?{name:n,value:t.val()}:null;t.closest("form").data("ujs:submit-button",r)}),f(document).delegate(d.formSubmitSelector,"ajax:beforeSend.rails",function(e){this==e.target&&d.disableFormElements(f(this))}),f(document).delegate(d.formSubmitSelector,"ajax:complete.rails",function(e){this==e.target&&d.enableFormElements(f(this))}),f(function(){var e=f("meta[name=csrf-token]").attr("content"),t=f("meta[name=csrf-param]").attr("content");f('form input[name="'+t+'"]').val(e)}))}(jQuery),window.onload=function(){$("video").is("*")&&($("body").append('<link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet">'),$("body").append('<script src="http://vjs.zencdn.net/c/video.js"></script>'))}; \ No newline at end of file
+function(n,i){function w(e,t,n,r){var i,o,a,s,l,u,c,f,p,d;if((t?t.ownerDocument||t:z)!==M&&_(t),n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=(t=t||M).nodeType)&&9!==s)return[];if(R&&!r){if(i=Te.exec(e))if(a=i[1]){if(9===s){if(!(o=t.getElementById(a))||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&W(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return ie.apply(n,t.getElementsByTagName(e)),n;if((a=i[3])&&E.getElementsByClassName&&t.getElementsByClassName)return ie.apply(n,t.getElementsByClassName(a)),n}if(E.qsa&&(!B||!B.test(e))){if(f=c=I,p=t,d=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(u=m(e),(c=t.getAttribute("id"))?f=c.replace(Ne,"\\$&"):t.setAttribute("id",f),f="[id='"+f+"'] ",l=u.length;l--;)u[l]=f+g(u[l]);p=ge.test(e)&&t.parentNode||t,d=u.join(",")}if(d)try{return ie.apply(n,p.querySelectorAll(d)),n}catch(h){}finally{c||t.removeAttribute("id")}}}return C(e.replace(de,"$1"),t,n,r)}function t(e){return we.test(e+"")}function e(){function n(e,t){return r.push(e+=" ")>A.cacheLength&&delete n[r.shift()],n[e]=t}var r=[];return n}function l(e){return e[I]=!0,e}function r(e){var t=M.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t,n){for(var r,i=(e=e.split("|")).length,o=n?null:t;i--;)(r=A.attrHandle[e[i]])&&r!==t||(A.attrHandle[e[i]]=o)}function a(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:!0===e[t]?t.toLowerCase():null}function s(e,t){return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}function u(e){if("input"===e.nodeName.toLowerCase())return e.defaultValue}function c(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Z)-(~e.sourceIndex||Z);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function f(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function p(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function d(a){return l(function(o){return o=+o,l(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function m(e,t){var n,r,i,o,a,s,l,u=Y[e+" "];if(u)return t?0:u.slice(0);for(a=e,s=[],l=A.preFilter;a;){for(o in n&&!(r=he.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=me.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(de," ")}),a=a.slice(n.length)),A.filter)!(r=xe[o].exec(a))||l[o]&&!(r=l[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?w.error(e):Y(e,s).slice(0)}function g(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function h(s,e,t){var l=e.dir,u=t&&"parentNode"===l,c=U++;return e.first?function(e,t,n){for(;e=e[l];)if(1===e.nodeType||u)return s(e,t,n)}:function(e,t,n){var r,i,o,a=X+" "+c;if(n){for(;e=e[l];)if((1===e.nodeType||u)&&s(e,t,n))return!0}else for(;e=e[l];)if(1===e.nodeType||u)if((i=(o=e[I]||(e[I]={}))[l])&&i[0]===a){if(!0===(r=i[1])||r===j)return!0===r}else if((i=o[l]=[a])[1]=s(e,t,n)||j,!0===i[1])return!0}}function y(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function T(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),u&&t.push(s)));return a}function v(d,h,m,g,y,e){return g&&!g[I]&&(g=v(g)),y&&!y[I]&&(y=v(y,e)),l(function(e,t,n,r){var i,o,a,s=[],l=[],u=t.length,c=e||k(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:T(c,s,d,n,r),p=m?y||(e?d:u||g)?[]:t:f;if(m&&m(f,p,n,r),g)for(i=T(p,l),g(i,[],n,r),o=i.length;o--;)(a=i[o])&&(p[l[o]]=!(f[l[o]]=a));if(e){if(y||d){if(y){for(i=[],o=p.length;o--;)(a=p[o])&&i.push(f[o]=a);y(null,p=[],i,r)}for(o=p.length;o--;)(a=p[o])&&-1<(i=y?ae.call(e,a):s[o])&&(e[i]=!(t[i]=a))}}else p=T(p===t?p.splice(u,p.length):p),y?y(null,t,p,r):ie.apply(t,p)})}function b(e){for(var r,t,n,i=e.length,o=A.relative[e[0].type],a=o||A.relative[" "],s=o?1:0,l=h(function(e){return e===r},a,!0),u=h(function(e){return-1<ae.call(r,e)},a,!0),c=[function(e,t,n){return!o&&(n||t!==q)||((r=t).nodeType?l(e,t,n):u(e,t,n))}];s<i;s++)if(t=A.relative[e[s].type])c=[h(y(c),t)];else{if((t=A.filter[e[s].type].apply(null,e[s].matches))[I]){for(n=++s;n<i&&!A.relative[e[n].type];n++);return v(1<s&&y(c),1<s&&g(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(de,"$1"),t,s<n&&b(e.slice(s,n)),n<i&&b(e=e.slice(n)),n<i&&g(e))}c.push(t)}return y(c)}function x(g,y){var v=0,b=0<y.length,x=0<g.length,e=function(e,t,n,r,i){var o,a,s,l=[],u=0,c="0",f=e&&[],p=null!=i,d=q,h=e||x&&A.find.TAG("*",i&&t.parentNode||t),m=X+=null==d?1:Math.random()||.1;for(p&&(q=t!==M&&t,j=v);null!=(o=h[c]);c++){if(x&&o){for(a=0;s=g[a++];)if(s(o,t,n)){r.push(o);break}p&&(X=m,j=++v)}b&&((o=!s&&o)&&u--,e&&f.push(o))}if(u+=c,b&&c!==u){for(a=0;s=y[a++];)s(f,l,t,n);if(e){if(0<u)for(;c--;)f[c]||l[c]||(l[c]=ne.call(r));l=T(l)}ie.apply(r,l),p&&!e&&0<l.length&&1<u+y.length&&w.uniqueSort(r)}return p&&(X=m,q=d),f};return b?l(e):e}function k(e,t,n){for(var r=0,i=t.length;r<i;r++)w(e,t[r],n);return n}function C(e,t,n,r){var i,o,a,s,l,u=m(e);if(!r&&1===u.length){if(2<(o=u[0]=u[0].slice(0)).length&&"ID"===(a=o[0]).type&&E.getById&&9===t.nodeType&&R&&A.relative[o[1].type]){if(!(t=(A.find.ID(a.matches[0].replace(Se,Ee),t)||[])[0]))return n;e=e.slice(o.shift().value.length)}for(i=xe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!A.relative[s=a.type]);)if((l=A.find[s])&&(r=l(a.matches[0].replace(Se,Ee),ge.test(o[0].type)&&t.parentNode||t))){if(o.splice(i,1),!(e=r.length&&g(o)))return ie.apply(n,r),n;break}}return H(e,u)(r,t,!R,n,ge.test(e)),n}function N(){}var S,E,j,A,D,L,H,q,F,_,M,O,R,B,P,$,W,I="sizzle"+-new Date,z=n.document,X=0,U=0,V=e(),Y=e(),J=e(),G=!1,Q=function(){return 0},K=typeof i,Z=1<<31,ee={}.hasOwnProperty,te=[],ne=te.pop,re=te.push,ie=te.push,oe=te.slice,ae=te.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},se="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",le="[\\x20\\t\\r\\n\\f]",ue="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ce=ue.replace("w","w#"),fe="\\["+le+"*("+ue+")"+le+"*(?:([*^$|!~]?=)"+le+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ce+")|)|)"+le+"*\\]",pe=":("+ue+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+fe.replace(3,8)+")*)|.*)\\)|)",de=new RegExp("^"+le+"+|((?:^|[^\\\\])(?:\\\\.)*)"+le+"+$","g"),he=new RegExp("^"+le+"*,"+le+"*"),me=new RegExp("^"+le+"*([>+~]|"+le+")"+le+"*"),ge=new RegExp(le+"*[+~]"),ye=new RegExp("="+le+"*([^\\]'\"]*)"+le+"*\\]","g"),ve=new RegExp(pe),be=new RegExp("^"+ce+"$"),xe={ID:new RegExp("^#("+ue+")"),CLASS:new RegExp("^\\.("+ue+")"),TAG:new RegExp("^("+ue.replace("w","w*")+")"),ATTR:new RegExp("^"+fe),PSEUDO:new RegExp("^"+pe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+le+"*(even|odd|(([+-]|)(\\d*)n|)"+le+"*(?:([+-]|)"+le+"*(\\d+)|))"+le+"*\\)|)","i"),bool:new RegExp("^(?:"+se+")$","i"),needsContext:new RegExp("^"+le+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+le+"*((?:-\\d)?\\d*)"+le+"*\\)|)(?=[^-]|$)","i")},we=/^[^{]+\{\s*\[native \w/,Te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ke=/^(?:input|select|textarea|button)$/i,Ce=/^h\d$/i,Ne=/'|\\/g,Se=new RegExp("\\\\([\\da-f]{1,6}"+le+"?|("+le+")|.)","ig"),Ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{ie.apply(te=oe.call(z.childNodes),z.childNodes),te[z.childNodes.length].nodeType}catch(je){ie={apply:te.length?function(e,t){re.apply(e,oe.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}for(S in L=w.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},E=w.support={},_=w.setDocument=function(e){var l=e?e.ownerDocument||e:z;return l!==M&&9===l.nodeType&&l.documentElement?(O=(M=l).documentElement,R=!L(l),E.attributes=r(function(e){return e.innerHTML="<a href='#'></a>",o("type|href|height|width",s,"#"===e.firstChild.getAttribute("href")),o(se,a,null==e.getAttribute("disabled")),e.className="i",!e.getAttribute("className")}),E.input=r(function(e){return e.innerHTML="<input>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}),o("value",u,E.attributes&&E.input),E.getElementsByTagName=r(function(e){return e.appendChild(l.createComment("")),!e.getElementsByTagName("*").length}),E.getElementsByClassName=r(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),E.getById=r(function(e){return O.appendChild(e).id=I,!l.getElementsByName||!l.getElementsByName(I).length}),E.getById?(A.find.ID=function(e,t){if(typeof t.getElementById!==K&&R){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},A.filter.ID=function(e){var t=e.replace(Se,Ee);return function(e){return e.getAttribute("id")===t}}):(delete A.find.ID,A.filter.ID=function(e){var n=e.replace(Se,Ee);return function(e){var t=typeof e.getAttributeNode!==K&&e.getAttributeNode("id");return t&&t.value===n}}),A.find.TAG=E.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==K)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},A.find.CLASS=E.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!==K&&R)return t.getElementsByClassName(e)},P=[],B=[],(E.qsa=t(l.querySelectorAll))&&(r(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||B.push("\\["+le+"*(?:value|"+se+")"),e.querySelectorAll(":checked").length||B.push(":checked")}),r(function(e){var t=l.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&B.push("[*^$]="+le+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||B.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),B.push(",.*:")})),(E.matchesSelector=t($=O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&r(function(e){E.disconnectedMatch=$.call(e,"div"),$.call(e,"[s!='']:x"),P.push("!=",pe)}),B=B.length&&new RegExp(B.join("|")),P=P.length&&new RegExp(P.join("|")),W=t(O.contains)||O.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)for(;t=t.parentNode;)if(t===e)return!0;return!1},E.sortDetached=r(function(e){return 1&e.compareDocumentPosition(l.createElement("div"))}),Q=O.compareDocumentPosition?function(e,t){if(e===t)return G=!0,0;var n=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return n?1&n||!E.sortDetached&&t.compareDocumentPosition(e)===n?e===l||W(z,e)?-1:t===l||W(z,t)?1:F?ae.call(F,e)-ae.call(F,t):0:4&n?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(e===t)return G=!0,0;if(!i||!o)return e===l?-1:t===l?1:i?-1:o?1:F?ae.call(F,e)-ae.call(F,t):0;if(i===o)return c(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?c(a[r],s[r]):a[r]===z?-1:s[r]===z?1:0},l):M},w.matches=function(e,t){return w(e,null,null,t)},w.matchesSelector=function(e,t){if((e.ownerDocument||e)!==M&&_(e),t=t.replace(ye,"='$1']"),E.matchesSelector&&R&&(!P||!P.test(t))&&(!B||!B.test(t)))try{var n=$.call(e,t);if(n||E.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(je){}return 0<w(t,M,null,[e]).length},w.contains=function(e,t){return(e.ownerDocument||e)!==M&&_(e),W(e,t)},w.attr=function(e,t){(e.ownerDocument||e)!==M&&_(e);var n=A.attrHandle[t.toLowerCase()],r=n&&ee.call(A.attrHandle,t.toLowerCase())?n(e,t,!R):i;return r===i?E.attributes||!R?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null:r},w.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},w.uniqueSort=function(e){var t,n=[],r=0,i=0;if(G=!E.detectDuplicates,F=!E.sortStable&&e.slice(0),e.sort(Q),G){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return e},D=w.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+=D(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=D(t);return n},A=w.selectors={cacheLength:50,createPseudo:l,match:xe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Se,Ee),e[3]=(e[4]||e[5]||"").replace(Se,Ee),"~="===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]||w.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]&&w.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return xe.CHILD.test(e[0])?null:(e[3]&&e[4]!==i?e[2]=e[4]:n&&ve.test(n)&&(t=m(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){var t=e.replace(Se,Ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=V[e+" "];return t||(t=new RegExp("(^|"+le+")"+e+"("+le+"|$)"))&&V(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==K&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=w.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,m){var g="nth"!==d.slice(0,3),y="last"!==d.slice(-4),v="of-type"===e;return 1===h&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,l,u=g!==y?"nextSibling":"previousSibling",c=e.parentNode,f=v&&e.nodeName.toLowerCase(),p=!n&&!v;if(c){if(g){for(;u;){for(o=e;o=o[u];)if(v?o.nodeName.toLowerCase()===f:1===o.nodeType)return!1;l=u="only"===d&&!l&&"nextSibling"}return!0}if(l=[y?c.firstChild:c.lastChild],y&&p){for(s=(r=(i=c[I]||(c[I]={}))[d]||[])[0]===X&&r[1],a=r[0]===X&&r[2],o=s&&c.childNodes[s];o=++s&&o&&o[u]||(a=s=0)||l.pop();)if(1===o.nodeType&&++a&&o===e){i[d]=[X,s,a];break}}else if(p&&(r=(e[I]||(e[I]={}))[d])&&r[0]===X)a=r[1];else for(;(o=++s&&o&&o[u]||(a=s=0)||l.pop())&&((v?o.nodeName.toLowerCase()!==f:1!==o.nodeType)||!++a||(p&&((o[I]||(o[I]={}))[d]=[X,a]),o!==e)););return(a-=m)===h||a%h==0&&0<=a/h}}},PSEUDO:function(e,o){var t,a=A.pseudos[e]||A.setFilters[e.toLowerCase()]||w.error("unsupported pseudo: "+e);return a[I]?a(o):1<a.length?(t=[e,e,"",o],A.setFilters.hasOwnProperty(e.toLowerCase())?l(function(e,t){for(var n,r=a(e,o),i=r.length;i--;)e[n=ae.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:l(function(e){var r=[],i=[],s=H(e.replace(de,"$1"));return s[I]?l(function(e,t,n,r){for(var i,o=s(e,null,r,[]),a=e.length;a--;)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),!i.pop()}}),has:l(function(t){return function(e){return 0<w(t,e).length}}),contains:l(function(t){return function(e){return-1<(e.textContent||e.innerText||D(e)).indexOf(t)}}),lang:l(function(n){return be.test(n||"")||w.error("unsupported lang: "+n),n=n.replace(Se,Ee).toLowerCase(),function(e){var t;do{if(t=R?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===O},focus:function(e){return e===M.activeElement&&(!M.hasFocus||M.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},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,!0===e.selected},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!A.pseudos.empty(e)},header:function(e){return Ce.test(e.nodeName)},input:function(e){return ke.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:d(function(){return[0]}),last:d(function(e,t){return[t-1]}),eq:d(function(e,t,n){return[n<0?n+t:n]}),even:d(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:d(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:d(function(e,t,n){for(var r=n<0?n+t:n;0<=--r;)e.push(r);return e}),gt:d(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})A.pseudos[S]=f(S);for(S in{submit:!0,reset:!0})A.pseudos[S]=p(S);H=w.compile=function(e,t){var n,r=[],i=[],o=J[e+" "];if(!o){for(t||(t=m(e)),n=t.length;n--;)(o=b(t[n]))[I]?r.push(o):i.push(o);o=J(e,x(i,r))}return o},A.pseudos.nth=A.pseudos.eq,N.prototype=A.filters=A.pseudos,A.setFilters=new N,E.sortStable=I.split("").sort(Q).join("")===I,_(),[0,0].sort(Q),E.detectDuplicates=G,Ae.find=w,Ae.expr=w.selectors,Ae.expr[":"]=Ae.expr.pseudos,Ae.unique=w.uniqueSort,Ae.text=w.getText,Ae.isXMLDoc=w.isXML,Ae.contains=w.contains}(m);var Ce={};Ae.Callbacks=function(i){i="string"==typeof i?Ce[i]||e(i):Ae.extend({},i);var o,t,n,a,r,s,l=[],u=!i.once&&[],c=function(e){for(t=i.memory&&e,n=!0,r=s||0,s=0,a=l.length,o=!0;l&&r<a;r++)if(!1===l[r].apply(e[0],e[1])&&i.stopOnFalse){t=!1;break}o=!1,l&&(u?u.length&&c(u.shift()):t?l=[]:f.disable())},f={add:function(){if(l){var e=l.length;!function r(e){Ae.each(e,function(e,t){var n=Ae.type(t);"function"===n?i.unique&&f.has(t)||l.push(t):t&&t.length&&"string"!==n&&r(t)})}(arguments),o?a=l.length:t&&(s=e,c(t))}return this},remove:function(){return l&&Ae.each(arguments,function(e,t){for(var n;-1<(n=Ae.inArray(t,l,n));)l.splice(n,1),o&&(n<=a&&a--,n<=r&&r--)}),this},has:function(e){return e?-1<Ae.inArray(e,l):!(!l||!l.length)},empty:function(){return l=[],a=0,this},disable:function(){return l=u=t=k,this},disabled:function(){return!l},lock:function(){return u=k,t||f.disable(),this},locked:function(){return!u},fireWith:function(e,t){return t=[e,(t=t||[]).slice?t.slice():t],!l||n&&!u||(o?u.push(t):c(t)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!n}};return f},Ae.extend({Deferred:function(e){var a=[["resolve","done",Ae.Callbacks("once memory"),"resolved"],["reject","fail",Ae.Callbacks("once memory"),"rejected"],["notify","progress",Ae.Callbacks("memory")]],i="pending",s={state:function(){return i},always:function(){return l.done(arguments).fail(arguments),this},then:function(){var o=arguments;return Ae.Deferred(function(i){Ae.each(a,function(e,t){var n=t[0],r=Ae.isFunction(o[e])&&o[e];l[t[1]](function(){var e=r&&r.apply(this,arguments);e&&Ae.isFunction(e.promise)?e.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[n+"With"](this===s?i.promise():this,r?[e]:arguments)})}),o=null}).promise()},promise:function(e){return null!=e?Ae.extend(e,s):s}},l={};return s.pipe=s.then,Ae.each(a,function(e,t){var n=t[2],r=t[3];s[t[1]]=n.add,r&&n.add(function(){i=r},a[1^e][2].disable,a[2][2].lock),l[t[0]]=function(){return l[t[0]+"With"](this===l?s:this,arguments),this},l[t[0]+"With"]=n.fireWith}),s.promise(l),e&&e.call(l,l),l},when:function(e){var i,t,n,r=0,o=oe.call(arguments),a=o.length,s=1!==a||e&&Ae.isFunction(e.promise)?a:0,l=1===s?e:Ae.Deferred(),u=function(t,n,r){return function(e){n[t]=this,r[t]=1<arguments.length?oe.call(arguments):e,r===i?l.notifyWith(n,r):--s||l.resolveWith(n,r)}};if(1<a)for(i=new Array(a),t=new Array(a),n=new Array(a);r<a;r++)o[r]&&Ae.isFunction(o[r].promise)?o[r].promise().done(u(r,n,o)).fail(l.reject).progress(u(r,t,i)):--s;return s||l.resolveWith(n,o),l.promise()}}),Ae.support=function(o){var e,t,n,r,i,a,s,l,u,c=G.createElement("div");if(c.setAttribute("className","t"),c.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=c.getElementsByTagName("*")||[],!(t=c.getElementsByTagName("a")[0])||!t.style||!e.length)return o;a=(r=G.createElement("select")).appendChild(G.createElement("option")),n=c.getElementsByTagName("input")[0],t.style.cssText="top:1px;float:left;opacity:.5",o.getSetAttribute="t"!==c.className,o.leadingWhitespace=3===c.firstChild.nodeType,o.tbody=!c.getElementsByTagName("tbody").length,o.htmlSerialize=!!c.getElementsByTagName("link").length,o.style=/top/.test(t.getAttribute("style")),o.hrefNormalized="/a"===t.getAttribute("href"),o.opacity=/^0.5/.test(t.style.opacity),o.cssFloat=!!t.style.cssFloat,o.checkOn=!!n.value,o.optSelected=a.selected,o.enctype=!!G.createElement("form").enctype,o.html5Clone="<:nav></:nav>"!==G.createElement("nav").cloneNode(!0).outerHTML,o.inlineBlockNeedsLayout=!1,o.shrinkWrapBlocks=!1,o.pixelPosition=!1,o.deleteExpando=!0,o.noCloneEvent=!0,o.reliableMarginRight=!0,o.boxSizingReliable=!0,n.checked=!0,o.noCloneChecked=n.cloneNode(!0).checked,r.disabled=!0,o.optDisabled=!a.disabled;try{delete c.test}catch(f){o.deleteExpando=!1}for(u in(n=G.createElement("input")).setAttribute("value",""),o.input=""===n.getAttribute("value"),n.value="t",n.setAttribute("type","radio"),o.radioValue="t"===n.value,n.setAttribute("checked","t"),n.setAttribute("name","t"),(i=G.createDocumentFragment()).appendChild(n),o.appendChecked=n.checked,o.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,c.attachEvent&&(c.attachEvent("onclick",function(){o.noCloneEvent=!1}),c.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})c.setAttribute(s="on"+u,"t"),o[u+"Bubbles"]=s in m||!1===c.attributes[s].expando;for(u in c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===c.style.backgroundClip,Ae(o))break;return o.ownLast="0"!==u,Ae(function(){var e,t,n,r="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",i=G.getElementsByTagName("body")[0];i&&((e=G.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",i.appendChild(e).appendChild(c),c.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(n=c.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",l=0===n[0].offsetHeight,n[0].style.display="",n[1].style.display="none",o.reliableHiddenOffsets=l&&0===n[0].offsetHeight,c.innerHTML="",c.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%;",Ae.swap(i,null!=i.style.zoom?{zoom:1}:{},function(){o.boxSizing=4===c.offsetWidth}),m.getComputedStyle&&(o.pixelPosition="1%"!==(m.getComputedStyle(c,null)||{}).top,o.boxSizingReliable="4px"===(m.getComputedStyle(c,null)||{width:"4px"}).width,(t=c.appendChild(G.createElement("div"))).style.cssText=c.style.cssText=r,t.style.marginRight=t.style.width="0",c.style.width="1px",o.reliableMarginRight=!parseFloat((m.getComputedStyle(t,null)||{}).marginRight)),typeof c.style.zoom!==Y&&(c.innerHTML="",c.style.cssText=r+"width:1px;padding:1px;display:inline;zoom:1",o.inlineBlockNeedsLayout=3===c.offsetWidth,c.style.display="block",c.innerHTML="<div></div>",c.firstChild.style.width="5px",o.shrinkWrapBlocks=3!==c.offsetWidth,o.inlineBlockNeedsLayout&&(i.style.zoom=1)),i.removeChild(e),e=c=n=t=null)}),e=r=i=a=t=n=null,o}({});var Ne=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Se=/([A-Z])/g;Ae.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?Ae.cache[e[Ae.expando]]:e[Ae.expando])&&!u(e)},data:function(e,t,n){return r(e,t,n)},removeData:function(e,t){return n(e,t)},_data:function(e,t,n){return r(e,t,n,!0)},_removeData:function(e,t){return n(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&Ae.noData[e.nodeName.toLowerCase()];return!t||!0!==t&&e.getAttribute("classid")===t}}),Ae.fn.extend({data:function(e,t){var n,r,i=null,o=0,a=this[0];if(e!==k)return"object"==typeof e?this.each(function(){Ae.data(this,e)}):1<arguments.length?this.each(function(){Ae.data(this,e,t)}):a?l(a,e,Ae.data(a,e)):null;if(this.length&&(i=Ae.data(a),1===a.nodeType&&!Ae._data(a,"parsedAttrs"))){for(n=a.attributes;o<n.length;o++)0===(r=n[o].name).indexOf("data-")&&l(a,r=Ae.camelCase(r.slice(5)),i[r]);Ae._data(a,"parsedAttrs",!0)}return i},removeData:function(e){return this.each(function(){Ae.removeData(this,e)})}}),Ae.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Ae._data(e,t),n&&(!r||Ae.isArray(n)?r=Ae._data(e,t,Ae.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=Ae.queue(e,t),r=n.length,i=n.shift(),o=Ae._queueHooks(e,t),a=function(){Ae.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),(o.cur=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 Ae._data(e,n)||Ae._data(e,n,{empty:Ae.Callbacks("once memory").add(function(){Ae._removeData(e,t+"queue"),Ae._removeData(e,n)})})}}),Ae.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?Ae.queue(this[0],t):n===k?this:this.each(function(){var e=Ae.queue(this,t,n);Ae._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&Ae.dequeue(this,t)})},dequeue:function(e){return this.each(function(){Ae.dequeue(this,e)})},delay:function(r,e){return r=Ae.fx&&Ae.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=setTimeout(e,r);t.stop=function(){clearTimeout(n)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=Ae.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=k),e=e||"fx";a--;)(n=Ae._data(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var Ee,je,De=/[\t\r\n\f]/g,Le=/\r/g,He=/^(?:input|select|textarea|button|object)$/i,qe=/^(?:a|area)$/i,Fe=/^(?:checked|selected)$/i,_e=Ae.support.getSetAttribute,Me=Ae.support.input;Ae.fn.extend({attr:function(e,t){return Ae.access(this,Ae.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){Ae.removeAttr(this,e)})},prop:function(e,t){return Ae.access(this,Ae.prop,e,t,1<arguments.length)},removeProp:function(t){return t=Ae.propFix[t]||t,this.each(function(){try{this[t]=k,delete this[t]}catch(e){}})},addClass:function(t){var e,n,r,i,o,a=0,s=this.length,l="string"==typeof t&&t;if(Ae.isFunction(t))return this.each(function(e){Ae(this).addClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(fe)||[];a<s;a++)if(r=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(De," "):" ")){for(o=0;i=e[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");n.className=Ae.trim(r)}return this},removeClass:function(t){var e,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof t&&t;if(Ae.isFunction(t))return this.each(function(e){Ae(this).removeClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(fe)||[];a<s;a++)if(r=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(De," "):"")){for(o=0;i=e[o++];)for(;0<=r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");n.className=t?Ae.trim(r):""}return this},toggleClass:function(o,a){var s=typeof o,l="boolean"==typeof a;return Ae.isFunction(o)?this.each(function(e){Ae(this).toggleClass(o.call(this,e,this.className,a),a)}):this.each(function(){if("string"===s)for(var e,t=0,n=Ae(this),r=a,i=o.match(fe)||[];e=i[t++];)r=l?r:!n.hasClass(e),n[r?"addClass":"removeClass"](e);else s!==Y&&"boolean"!==s||(this.className&&Ae._data(this,"__className__",this.className),this.className=this.className||!1===o?"":Ae._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&0<=(" "+this[n].className+" ").replace(De," ").indexOf(t))return!0;return!1},val:function(n){var e,r,i,t=this[0];return arguments.length?(i=Ae.isFunction(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,Ae(this).val()):n)?t="":"number"==typeof t?t+="":Ae.isArray(t)&&(t=Ae.map(t,function(e){return null==e?"":e+""})),(r=Ae.valHooks[this.type]||Ae.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&r.set(this,t,"value")!==k||(this.value=t))})):t?(r=Ae.valHooks[t.type]||Ae.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&(e=r.get(t,"value"))!==k?e:"string"==typeof(e=t.value)?e.replace(Le,""):null==e?"":e:void 0}}),Ae.extend({valHooks:{option:{get:function(e){var t=Ae.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,l=i<0?s:o?i:0;l<s;l++)if(((n=r[l]).selected||l===i)&&(Ae.support.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!Ae.nodeName(n.parentNode,"optgroup"))){if(t=Ae(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=Ae.makeArray(t),a=i.length;a--;)((r=i[a]).selected=0<=Ae.inArray(Ae(r).val(),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===Y?Ae.prop(e,t,n):(1===o&&Ae.isXMLDoc(e)||(t=t.toLowerCase(),r=Ae.attrHooks[t]||(Ae.expr.match.bool.test(t)?je:Ee)),n===k?r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=Ae.find.attr(e,t))?k:i:null!==n?r&&"set"in r&&(i=r.set(e,n,t))!==k?i:(e.setAttribute(t,n+""),n):void Ae.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(fe);if(o&&1===e.nodeType)for(;n=o[i++];)r=Ae.propFix[n]||n,Ae.expr.match.bool.test(n)?Me&&_e||!Fe.test(n)?e[r]=!1:e[Ae.camelCase("default-"+n)]=e[r]=!1:Ae.attr(e,n,""),e.removeAttribute(_e?n:r)},attrHooks:{type:{set:function(e,t){if(!Ae.support.radioValue&&"radio"===t&&Ae.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!Ae.isXMLDoc(e))&&(t=Ae.propFix[t]||t,i=Ae.propHooks[t]),n!==k?i&&"set"in i&&(r=i.set(e,n,t))!==k?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=Ae.find.attr(e,"tabindex");return t?parseInt(t,10):He.test(e.nodeName)||qe.test(e.nodeName)&&e.href?0:-1}}}}),je={set:function(e,t,n){return!1===t?Ae.removeAttr(e,n):Me&&_e||!Fe.test(n)?e.setAttribute(!_e&&Ae.propFix[n]||n,n):e[Ae.camelCase("default-"+n)]=e[n]=!0,n}},Ae.each(Ae.expr.match.bool.source.match(/\w+/g),function(e,t){var o=Ae.expr.attrHandle[t]||Ae.find.attr;Ae.expr.attrHandle[t]=Me&&_e||!Fe.test(t)?function(e,t,n){var r=Ae.expr.attrHandle[t],i=n?k:(Ae.expr.attrHandle[t]=k)!=o(e,t,n)?t.toLowerCase():null;return Ae.expr.attrHandle[t]=r,i}:function(e,t,n){return n?k:e[Ae.camelCase("default-"+t)]?t.toLowerCase():null}}),Me&&_e||(Ae.attrHooks.value={set:function(e,t,n){if(!Ae.nodeName(e,"input"))return Ee&&Ee.set(e,t,n);e.defaultValue=t}}),_e||(Ee={set:function(e,t,n){var r=e.getAttributeNode(n);return r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n)?t:k}},Ae.expr.attrHandle.id=Ae.expr.attrHandle.name=Ae.expr.attrHandle.coords=function(e,t,n){var r;return n?k:(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},Ae.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:k},set:Ee.set},Ae.attrHooks.contenteditable={set:function(e,t,n){Ee.set(e,""!==t&&t,n)}},Ae.each(["width","height"],function(e,n){Ae.attrHooks[n]={set:function(e,t){if(""===t)return e.setAttribute(n,"auto"),t}}})),Ae.support.hrefNormalized||Ae.each(["href","src"],function(e,t){Ae.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),Ae.support.style||(Ae.attrHooks.style={get:function(e){return e.style.cssText||k},set:function(e,t){return e.style.cssText=t+""}}),Ae.support.optSelected||(Ae.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,
+t.parentNode&&t.parentNode.selectedIndex),null}}),Ae.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Ae.propFix[this.toLowerCase()]=this}),Ae.support.enctype||(Ae.propFix.enctype="encoding"),Ae.each(["radio","checkbox"],function(){Ae.valHooks[this]={set:function(e,t){if(Ae.isArray(t))return e.checked=0<=Ae.inArray(Ae(e).val(),t)}},Ae.support.checkOn||(Ae.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Oe=/^(?:input|select|textarea)$/i,Re=/^key/,Be=/^(?:mouse|contextmenu)|click/,Pe=/^(?:focusinfocus|focusoutblur)$/,$e=/^([^.]*)(?:\.(.+)|)$/;Ae.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,u,c,f,p,d,h,m,g=Ae._data(e);if(g){for(n.handler&&(n=(l=n).handler,i=l.selector),n.guid||(n.guid=Ae.guid++),(a=g.events)||(a=g.events={}),(c=g.handle)||((c=g.handle=function(e){return typeof Ae===Y||e&&Ae.event.triggered===e.type?k:Ae.event.dispatch.apply(c.elem,arguments)}).elem=e),s=(t=(t||"").match(fe)||[""]).length;s--;)d=m=(o=$e.exec(t[s])||[])[1],h=(o[2]||"").split(".").sort(),d&&(u=Ae.event.special[d]||{},d=(i?u.delegateType:u.bindType)||d,u=Ae.event.special[d]||{},f=Ae.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&Ae.expr.match.needsContext.test(i),namespace:h.join(".")},l),(p=a[d])||((p=a[d]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,r,h,c)||(e.addEventListener?e.addEventListener(d,c,!1):e.attachEvent&&e.attachEvent("on"+d,c))),u.add&&(u.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,f):p.push(f),Ae.event.global[d]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,f,p,d,h,m,g=Ae.hasData(e)&&Ae._data(e);if(g&&(c=g.events)){for(u=(t=(t||"").match(fe)||[""]).length;u--;)if(d=m=(s=$e.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=Ae.event.special[d]||{},p=c[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=p.length;o--;)a=p[o],!i&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(p.splice(o,1),a.selector&&p.delegateCount--,f.remove&&f.remove.call(e,a));l&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,g.handle)||Ae.removeEvent(e,d,g.handle),delete c[d])}else for(d in c)Ae.event.remove(e,d+t[u],n,r,!0);Ae.isEmptyObject(c)&&(delete g.handle,Ae._removeData(e,"events"))}},trigger:function(e,t,n,r){var i,o,a,s,l,u,c,f=[n||G],p=le.call(e,"type")?e.type:e,d=le.call(e,"namespace")?e.namespace.split("."):[];if(a=u=n=n||G,3!==n.nodeType&&8!==n.nodeType&&!Pe.test(p+Ae.event.triggered)&&(0<=p.indexOf(".")&&(p=(d=p.split(".")).shift(),d.sort()),o=p.indexOf(":")<0&&"on"+p,(e=e[Ae.expando]?e:new Ae.Event(p,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=d.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=k,e.target||(e.target=n),t=null==t?[e]:Ae.makeArray(t,[e]),l=Ae.event.special[p]||{},r||!l.trigger||!1!==l.trigger.apply(n,t))){if(!r&&!l.noBubble&&!Ae.isWindow(n)){for(s=l.delegateType||p,Pe.test(s+p)||(a=a.parentNode);a;a=a.parentNode)f.push(a),u=a;u===(n.ownerDocument||G)&&f.push(u.defaultView||u.parentWindow||m)}for(c=0;(a=f[c++])&&!e.isPropagationStopped();)e.type=1<c?s:l.bindType||p,(i=(Ae._data(a,"events")||{})[e.type]&&Ae._data(a,"handle"))&&i.apply(a,t),(i=o&&a[o])&&Ae.acceptData(a)&&i.apply&&!1===i.apply(a,t)&&e.preventDefault();if(e.type=p,!r&&!e.isDefaultPrevented()&&(!l._default||!1===l._default.apply(f.pop(),t))&&Ae.acceptData(n)&&o&&n[p]&&!Ae.isWindow(n)){(u=n[o])&&(n[o]=null),Ae.event.triggered=p;try{n[p]()}catch(h){}Ae.event.triggered=k,u&&(n[o]=u)}return e.result}},dispatch:function(e){e=Ae.event.fix(e);var t,n,r,i,o,a=[],s=oe.call(arguments),l=(Ae._data(this,"events")||{})[e.type]||[],u=Ae.event.special[e.type]||{};if((s[0]=e).delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(a=Ae.event.handlers.call(this,e,l),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,o=0;(r=i.handlers[o++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(r.namespace)||(e.handleObj=r,e.data=r.data,(n=((Ae.event.special[r.origType]||{}).handle||r.handler).apply(i.elem,s))!==k&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],o=0;o<s;o++)i[n=(r=t[o]).selector+" "]===k&&(i[n]=r.needsContext?0<=Ae(n,this).index(l):Ae.find(n,this,null,[l]).length),i[n]&&i.push(r);i.length&&a.push({elem:l,handlers:i})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[Ae.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Be.test(i)?this.mouseHooks:Re.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new Ae.Event(o),t=r.length;t--;)e[n=r[t]]=o[n];return e.target||(e.target=o.srcElement||G),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):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,t){var n,r,i,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(i=(r=e.target.ownerDocument||G).documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||o===k||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==t()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===t()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(Ae.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return Ae.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==k&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=Ae.extend(new Ae.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?Ae.event.trigger(i,null,t):Ae.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},Ae.removeEvent=G.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]===Y&&(e[r]=null),e.detachEvent(r,n))},Ae.Event=function(e,t){if(!(this instanceof Ae.Event))return new Ae.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault()?i:c):this.type=e,t&&Ae.extend(this,t),this.timeStamp=e&&e.timeStamp||Ae.now(),this[Ae.expando]=!0},Ae.Event.prototype={isDefaultPrevented:c,isPropagationStopped:c,isImmediatePropagationStopped:c,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=i,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=i,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=i,this.stopPropagation()}},Ae.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,o){Ae.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=this,r=e.relatedTarget,i=e.handleObj;return r&&(r===n||Ae.contains(n,r))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=o),t}}}),Ae.support.submitBubbles||(Ae.event.special.submit={setup:function(){if(Ae.nodeName(this,"form"))return!1;Ae.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=Ae.nodeName(t,"input")||Ae.nodeName(t,"button")?t.form:k;n&&!Ae._data(n,"submitBubbles")&&(Ae.event.add(n,"submit._submit",function(e){e._submit_bubble=!0}),Ae._data(n,"submitBubbles",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&Ae.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(Ae.nodeName(this,"form"))return!1;Ae.event.remove(this,"._submit")}}),Ae.support.changeBubbles||(Ae.event.special.change={setup:function(){if(Oe.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(Ae.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),Ae.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),Ae.event.simulate("change",this,e,!0)})),!1;Ae.event.add(this,"beforeactivate._change",function(e){var t=e.target;Oe.test(t.nodeName)&&!Ae._data(t,"changeBubbles")&&(Ae.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||Ae.event.simulate("change",this.parentNode,e,!0)}),Ae._data(t,"changeBubbles",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return Ae.event.remove(this,"._change"),!Oe.test(this.nodeName)}}),Ae.support.focusinBubbles||Ae.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){Ae.event.simulate(t,e.target,Ae.event.fix(e),!0)};Ae.event.special[t]={setup:function(){0==n++&&G.addEventListener(e,r,!0)},teardown:function(){0==--n&&G.removeEventListener(e,r,!0)}}}),Ae.fn.extend({on:function(e,t,n,r,i){var o,a;if("object"==typeof e){for(o in"string"!=typeof t&&(n=n||t,t=k),e)this.on(o,t,n,e[o],i);return this}if(null==n&&null==r?(r=t,n=t=k):null==r&&("string"==typeof t?(r=n,n=k):(r=n,n=t,t=k)),!1===r)r=c;else if(!r)return this;return 1===i&&(a=r,(r=function(e){return Ae().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=Ae.guid++)),this.each(function(){Ae.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,Ae(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=k),!1===n&&(n=c),this.each(function(){Ae.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i]);return this},trigger:function(e,t){return this.each(function(){Ae.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Ae.event.trigger(e,t,n,!0)}});var We=/^.[^:#\[\.,]*$/,Ie=/^(?:parents|prev(?:Until|All))/,ze=Ae.expr.match.needsContext,Xe={children:!0,contents:!0,next:!0,prev:!0};Ae.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(Ae(e).filter(function(){for(t=0;t<i;t++)if(Ae.contains(r[t],this))return!0}));for(t=0;t<i;t++)Ae.find(e,r[t],n);return(n=this.pushStack(1<i?Ae.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=Ae(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(Ae.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(a(this,e||[],!0))},filter:function(e){return this.pushStack(a(this,e||[],!1))},is:function(e){return!!a(this,"string"==typeof e&&ze.test(e)?Ae(e):e||[],!1).length},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=ze.test(e)||"string"!=typeof e?Ae(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&Ae.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(1<o.length?Ae.unique(o):o)},index:function(e){return e?"string"==typeof e?Ae.inArray(this[0],Ae(e)):Ae.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?Ae(e,t):Ae.makeArray(e&&e.nodeType?[e]:e),r=Ae.merge(this.get(),n);return this.pushStack(Ae.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Ae.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ae.dir(e,"parentNode")},parentsUntil:function(e,t,n){return Ae.dir(e,"parentNode",n)},next:function(e){return o(e,"nextSibling")},prev:function(e){return o(e,"previousSibling")},nextAll:function(e){return Ae.dir(e,"nextSibling")},prevAll:function(e){return Ae.dir(e,"previousSibling")},nextUntil:function(e,t,n){return Ae.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ae.dir(e,"previousSibling",n)},siblings:function(e){return Ae.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return Ae.sibling(e.firstChild)},contents:function(e){return Ae.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:Ae.merge([],e.childNodes)}},function(r,i){Ae.fn[r]=function(e,t){var n=Ae.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=Ae.filter(t,n)),1<this.length&&(Xe[r]||(n=Ae.unique(n)),Ie.test(r)&&(n=n.reverse())),this.pushStack(n)}}),Ae.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Ae.find.matchesSelector(r,e)?[r]:[]:Ae.find.matches(e,Ae.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(n===k||1!==i.nodeType||!Ae(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var Ue="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ve=/ jQuery\d+="(?:null|\d+)"/g,Ye=new RegExp("<(?:"+Ue+")[\\s/>]","i"),Je=/^\s+/,Ge=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Qe=/<([\w:]+)/,Ke=/<tbody/i,Ze=/<|&#?\w+;/,et=/<(?:script|style|link)/i,tt=/^(?:checkbox|radio)$/i,nt=/checked\s*(?:[^=]|=\s*.checked.)/i,rt=/^$|\/(?:java|ecma)script/i,it=/^true\/(.*)/,ot=/^\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:Ae.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},st=g(G).appendChild(G.createElement("div"));at.optgroup=at.option,at.tbody=at.tfoot=at.colgroup=at.caption=at.thead,at.th=at.td,Ae.fn.extend({text:function(e){return Ae.access(this,function(e){return e===k?Ae.text(this):this.empty().append((this[0]&&this[0].ownerDocument||G).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||f(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=f(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?Ae.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||Ae.cleanData(x(n)),n.parentNode&&(t&&Ae.contains(n.ownerDocument,n)&&b(x(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&Ae.cleanData(x(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&Ae.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Ae.clone(this,e,t)})},html:function(e){return Ae.access(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===k)return 1===t.nodeType?t.innerHTML.replace(Ve,""):k;if("string"==typeof e&&!et.test(e)&&(Ae.support.htmlSerialize||!Ye.test(e))&&(Ae.support.leadingWhitespace||!Je.test(e))&&!at[(Qe.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Ge,"<$1></$2>");try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(Ae.cleanData(x(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var r=Ae.map(this,function(e){return[e.nextSibling,e.parentNode]}),i=0;return this.domManip(arguments,function(e){var t=r[i++],n=r[i++];n&&(t&&t.parentNode!==n&&(t=this.nextSibling),Ae(this).remove(),n.insertBefore(e,t))},!0),i?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(n,r,i){n=re.apply([],n);var e,t,o,a,s,l,u=0,c=this.length,f=this,p=c-1,d=n[0],h=Ae.isFunction(d);if(h||!(c<=1||"string"!=typeof d||Ae.support.checkClone)&&nt.test(d))return this.each(function(e){var t=f.eq(e);h&&(n[0]=d.call(this,e,t.html())),t.domManip(n,r,i)});if(c&&(e=(l=Ae.buildFragment(n,this[0].ownerDocument,!1,!i&&this)).firstChild,1===l.childNodes.length&&(l=e),e)){for(o=(a=Ae.map(x(l,"script"),y)).length;u<c;u++)t=l,u!==p&&(t=Ae.clone(t,!0,!0),o&&Ae.merge(a,x(t,"script"))),r.call(this[u],t,u);if(o)for(s=a[a.length-1].ownerDocument,Ae.map(a,v),u=0;u<o;u++)t=a[u],rt.test(t.type||"")&&!Ae._data(t,"globalEval")&&Ae.contains(s,t)&&(t.src?Ae._evalUrl(t.src):Ae.globalEval((t.text||t.textContent||t.innerHTML||"").replace(ot,"")));l=e=null}return this}}),Ae.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){Ae.fn[e]=function(e){for(var t,n=0,r=[],i=Ae(e),o=i.length-1;n<=o;n++)t=n===o?this:this.clone(!0),Ae(i[n])[a](t),ie.apply(r,t.get());return this.pushStack(r)}}),Ae.extend({clone:function(e,t,n){var r,i,o,a,s,l=Ae.contains(e.ownerDocument,e);if(Ae.support.html5Clone||Ae.isXMLDoc(e)||!Ye.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(st.innerHTML=e.outerHTML,st.removeChild(o=st.firstChild)),!(Ae.support.noCloneEvent&&Ae.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Ae.isXMLDoc(e)))for(r=x(o),s=x(e),a=0;null!=(i=s[a]);++a)r[a]&&d(i,r[a]);if(t)if(n)for(s=s||x(e),r=r||x(o),a=0;null!=(i=s[a]);a++)p(i,r[a]);else p(e,o);return 0<(r=x(o,"script")).length&&b(r,!l&&x(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){for(var i,o,a,s,l,u,c,f=e.length,p=g(t),d=[],h=0;h<f;h++)if((o=e[h])||0===o)if("object"===Ae.type(o))Ae.merge(d,o.nodeType?[o]:o);else if(Ze.test(o)){for(s=s||p.appendChild(t.createElement("div")),l=(Qe.exec(o)||["",""])[1].toLowerCase(),c=at[l]||at._default,s.innerHTML=c[1]+o.replace(Ge,"<$1></$2>")+c[2],i=c[0];i--;)s=s.lastChild;if(!Ae.support.leadingWhitespace&&Je.test(o)&&d.push(t.createTextNode(Je.exec(o)[0])),!Ae.support.tbody)for(i=(o="table"!==l||Ke.test(o)?"<table>"!==c[1]||Ke.test(o)?0:s:s.firstChild)&&o.childNodes.length;i--;)Ae.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(Ae.merge(d,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=p.lastChild}else d.push(t.createTextNode(o));for(s&&p.removeChild(s),Ae.support.appendChecked||Ae.grep(x(d,"input"),w),h=0;o=d[h++];)if((!r||-1===Ae.inArray(o,r))&&(a=Ae.contains(o.ownerDocument,o),s=x(p.appendChild(o),"script"),a&&b(s),n))for(i=0;o=s[i++];)rt.test(o.type||"")&&n.push(o);return s=null,p},cleanData:function(e,t){for(var n,r,i,o,a=0,s=Ae.expando,l=Ae.cache,u=Ae.support.deleteExpando,c=Ae.event.special;null!=(n=e[a]);a++)if((t||Ae.acceptData(n))&&(o=(i=n[s])&&l[i])){if(o.events)for(r in o.events)c[r]?Ae.event.remove(n,r):Ae.removeEvent(n,r,o.handle);l[i]&&(delete l[i],u?delete n[s]:typeof n.removeAttribute!==Y?n.removeAttribute(s):n[s]=null,te.push(i))}},_evalUrl:function(e){return Ae.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),Ae.fn.extend({wrapAll:function(t){if(Ae.isFunction(t))return this.each(function(e){Ae(this).wrapAll(t.call(this,e))});if(this[0]){var e=Ae(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(n){return Ae.isFunction(n)?this.each(function(e){Ae(this).wrapInner(n.call(this,e))}):this.each(function(){var e=Ae(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=Ae.isFunction(t);return this.each(function(e){Ae(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){Ae.nodeName(this,"body")||Ae(this).replaceWith(this.childNodes)}).end()}});var lt,ut,ct,ft=/alpha\([^)]*\)/i,pt=/opacity\s*=\s*([^)]*)/,dt=/^(top|right|bottom|left)$/,ht=/^(none|table(?!-c[ea]).+)/,mt=/^margin/,gt=new RegExp("^("+ce+")(.*)$","i"),yt=new RegExp("^("+ce+")(?!px)[a-z%]+$","i"),vt=new RegExp("^([+-])=("+ce+")","i"),bt={BODY:"block"},xt={position:"absolute",visibility:"hidden",display:"block"},wt={letterSpacing:0,fontWeight:400},Tt=["Top","Right","Bottom","Left"],kt=["Webkit","O","Moz","ms"];Ae.fn.extend({css:function(e,t){return Ae.access(this,function(e,t,n){var r,i,o={},a=0;if(Ae.isArray(t)){for(i=ut(e),r=t.length;a<r;a++)o[t[a]]=Ae.css(e,t[a],!1,i);return o}return n!==k?Ae.style(e,t,n):Ae.css(e,t)},e,t,1<arguments.length)},show:function(){return C(this,!0)},hide:function(){return C(this)},toggle:function(e){var t="boolean"==typeof e;return this.each(function(){(t?e:T(this))?Ae(this).show():Ae(this).hide()})}}),Ae.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ct(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":Ae.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=Ae.camelCase(t),l=e.style;if(t=Ae.cssProps[s]||(Ae.cssProps[s]=h(l,s)),a=Ae.cssHooks[t]||Ae.cssHooks[s],n===k)return a&&"get"in a&&(i=a.get(e,!1,r))!==k?i:l[t];if(!("string"===(o=typeof n)&&(i=vt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(Ae.css(e,t)),o="number"),null==n||"number"===o&&isNaN(n)||("number"!==o||Ae.cssNumber[s]||(n+="px"),Ae.support.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&(n=a.set(e,n,r))===k)))try{l[t]=n}catch(u){}}},css:function(e,t,n,r){var i,o,a,s=Ae.camelCase(t);return t=Ae.cssProps[s]||(Ae.cssProps[s]=h(e.style,s)),(a=Ae.cssHooks[t]||Ae.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),o===k&&(o=ct(e,t,r)),"normal"===o&&t in wt&&(o=wt[t]),""===n||n?(i=parseFloat(o),!0===n||Ae.isNumeric(i)?i||0:o):o}}),m.getComputedStyle?(ut=function(e){return m.getComputedStyle(e,null)},ct=function(e,t,n){var r,i,o,a=n||ut(e),s=a?a.getPropertyValue(t)||a[t]:k,l=e.style;return a&&(""!==s||Ae.contains(e.ownerDocument,e)||(s=Ae.style(e,t)),yt.test(s)&&mt.test(t)&&(r=l.width,i=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=a.width,l.width=r,l.minWidth=i,l.maxWidth=o)),s}):G.documentElement.currentStyle&&(ut=function(e){return e.currentStyle},ct=function(e,t,n){var r,i,o,a=n||ut(e),s=a?a[t]:k,l=e.style;return null==s&&l&&l[t]&&(s=l[t]),yt.test(s)&&!dt.test(t)&&(r=l.left,(o=(i=e.runtimeStyle)&&i.left)&&(i.left=e.currentStyle.left),l.left="fontSize"===t?"1em":s,s=l.pixelLeft+"px",l.left=r,o&&(i.left=o)),""===s?"auto":s}),Ae.each(["height","width"],function(e,i){Ae.cssHooks[i]={get:function(e,t,n){if(t)return 0===e.offsetWidth&&ht.test(Ae.css(e,"display"))?Ae.swap(e,xt,function(){return E(e,i,n)}):E(e,i,n)},set:function(e,t,n){var r=n&&ut(e);return N(e,t,n?S(e,i,n,Ae.support.boxSizing&&"border-box"===Ae.css(e,"boxSizing",!1,r),r):0)}}}),Ae.support.opacity||(Ae.cssHooks.opacity={get:function(e,t){return pt.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=Ae.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";((n.zoom=1)<=t||""===t)&&""===Ae.trim(o.replace(ft,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=ft.test(o)?o.replace(ft,i):o+" "+i)}}),Ae(function(){Ae.support.reliableMarginRight||(Ae.cssHooks.marginRight={get:function(e,t){if(t)return Ae.swap(e,{display:"inline-block"},ct,[e,"marginRight"])}}),!Ae.support.pixelPosition&&Ae.fn.position&&Ae.each(["top","left"],function(e,n){Ae.cssHooks[n]={get:function(e,t){if(t)return t=ct(e,n),yt.test(t)?Ae(e).position()[n]+"px":t}}})}),Ae.expr&&Ae.expr.filters&&(Ae.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!Ae.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||Ae.css(e,"display"))},Ae.expr.filters.visible=function(e){return!Ae.expr.filters.hidden(e)}),Ae.each({margin:"",padding:"",border:"Width"},function(i,o){Ae.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Tt[t]+o]=r[t]||r[t-2]||r[0];return n}},mt.test(i)||(Ae.cssHooks[i+o].set=N)});var Ct=/%20/g,Nt=/\[\]$/,St=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;Ae.fn.extend({serialize:function(){return Ae.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Ae.prop(this,"elements");return e?Ae.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Ae(this).is(":disabled")&&jt.test(this.nodeName)&&!Et.test(e)&&(this.checked||!tt.test(e))}).map(function(e,t){var n=Ae(this).val();return null==n?null:Ae.isArray(n)?Ae.map(n,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}}),Ae.param=function(e,t){var n,r=[],i=function(e,t){t=Ae.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(t===k&&(t=Ae.ajaxSettings&&Ae.ajaxSettings.traditional),Ae.isArray(e)||e.jquery&&!Ae.isPlainObject(e))Ae.each(e,function(){i(this.name,this.value)});else for(n in e)D(n,e[n],t,i);return r.join("&").replace(Ct,"+")},Ae.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,n){Ae.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),Ae.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},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)}});var At,Dt,Lt=Ae.now(),Ht=/\?/,qt=/#.*$/,Ft=/([?&])_=[^&]*/,_t=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Mt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ot=/^(?:GET|HEAD)$/,Rt=/^\/\//,Bt=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Pt=Ae.fn.load,$t={},Wt={},It="*/".concat("*");try{Dt=J.href}catch(rn){(Dt=G.createElement("a")).href="",Dt=Dt.href}At=Bt.exec(Dt.toLowerCase())||[],Ae.fn.load=function(e,t,n){if("string"!=typeof e&&Pt)return Pt.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return 0<=s&&(r=e.slice(s,e.length),e=e.slice(0,s)),Ae.isFunction(t)?(n=t,t=k):t&&"object"==typeof t&&(o="POST"),0<a.length&&Ae.ajax({url:e,type:o,dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?Ae("<div>").append(Ae.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this},Ae.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Ae.fn[t]=function(e){return this.on(t,e)}}),Ae.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Dt,type:"GET",isLocal:Mt.test(At[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,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",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":Ae.parseJSON,"text xml":Ae.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?q(q(e,Ae.ajaxSettings),t):q(Ae.ajaxSettings,e)},ajaxPrefilter:L($t),ajaxTransport:L(Wt),ajax:function(e,t){function n(e,t,n,r){var i,o,a,s,l,u=t;2!==w&&(w=2,p&&clearTimeout(p),h=k,f=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=F(m,T,n)),s=_(m,s,T,i),i?(m.ifModified&&((l=T.getResponseHeader("Last-Modified"))&&(Ae.lastModified[c]=l),(l=T.getResponseHeader("etag"))&&(Ae.etag[c]=l)),204===e||"HEAD"===m.type?u="nocontent":304===e?u="notmodified":(u=s.state,o=s.data,i=!(a=s.error))):(a=u,!e&&u||(u="error",e<0&&(e=0))),T.status=e,T.statusText=(t||u)+"",i?v.resolveWith(g,[o,u,T]):v.rejectWith(g,[T,u,a]),T.statusCode(x),x=k,d&&y.trigger(i?"ajaxSuccess":"ajaxError",[T,m,i?o:a]),b.fireWith(g,[T,u]),d&&(y.trigger("ajaxComplete",[T,m]),--Ae.active||Ae.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=k),t=t||{};var r,i,c,f,p,d,h,o,m=Ae.ajaxSetup({},t),g=m.context||m,y=m.context&&(g.nodeType||g.jquery)?Ae(g):Ae.event,v=Ae.Deferred(),b=Ae.Callbacks("once memory"),x=m.statusCode||{},a={},s={},w=0,l="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!o)for(o={};t=_t.exec(f);)o[t[1].toLowerCase()]=t[2];t=o[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?f:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=s[n]=s[n]||e,a[e]=t),this},overrideMimeType:function(e){return w||(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)x[t]=[x[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||l;return h&&h.abort(t),n(0,t),this}};if(v.promise(T).complete=b.add,T.success=T.done,T.error=T.fail,m.url=((e||m.url||Dt)+"").replace(qt,"").replace(Rt,At[1]+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=Ae.trim(m.dataType||"*").toLowerCase().match(fe)||[""],null==m.crossDomain&&(r=Bt.exec(m.url.toLowerCase()),m.crossDomain=!(!r||r[1]===At[1]&&r[2]===At[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(At[3]||("http:"===At[1]?"80":"443")))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=Ae.param(m.data,m.traditional)),H($t,m,t,T),2===w)return T;for(i in(d=m.global)&&0==Ae.active++&&Ae.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Ot.test(m.type),c=m.url,m.hasContent||(m.data&&(c=m.url+=(Ht.test(c)?"&":"?")+m.data,delete m.data),!1===m.cache&&(m.url=Ft.test(c)?c.replace(Ft,"$1_="+Lt++):c+(Ht.test(c)?"&":"?")+"_="+Lt++)),m.ifModified&&(Ae.lastModified[c]&&T.setRequestHeader("If-Modified-Since",Ae.lastModified[c]),Ae.etag[c]&&T.setRequestHeader("If-None-Match",Ae.etag[c])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&T.setRequestHeader("Content-Type",m.contentType),T.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+It+"; q=0.01":""):m.accepts["*"]),m.headers)T.setRequestHeader(i,m.headers[i]);if(m.beforeSend&&(!1===m.beforeSend.call(g,T,m)||2===w))return T.abort();for(i in l="abort",{success:1,error:1,complete:1})T[i](m[i]);if(h=H(Wt,m,t,T)){T.readyState=1,d&&y.trigger("ajaxSend",[T,m]),m.async&&0<m.timeout&&(p=setTimeout(function(){T.abort("timeout")},m.timeout));try{w=1,h.send(a,n)}catch(rn){if(!(w<2))throw rn;n(-1,rn)}}else n(-1,"No Transport");return T},getJSON:function(e,t,n){return Ae.get(e,t,n,"json")},getScript:function(e,t){return Ae.get(e,k,t,"script")}}),Ae.each(["get","post"],function(e,i){Ae[i]=function(e,t,n,r){return Ae.isFunction(t)&&(r=r||n,n=t,t=k),Ae.ajax({url:e,type:i,dataType:r,data:t,success:n})}}),Ae.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return Ae.globalEval(e),e}}}),Ae.ajaxPrefilter("script",function(e){e.cache===k&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),Ae.ajaxTransport("script",function(t){if(t.crossDomain){var r,i=G.head||Ae("head")[0]||G.documentElement;return{send:function(e,n){(r=G.createElement("script")).async=!0,t.scriptCharset&&(
+r.charset=t.scriptCharset),r.src=t.url,r.onload=r.onreadystatechange=function(e,t){(t||!r.readyState||/loaded|complete/.test(r.readyState))&&(r.onload=r.onreadystatechange=null,r.parentNode&&r.parentNode.removeChild(r),r=null,t||n(200,"success"))},i.insertBefore(r,i.firstChild)},abort:function(){r&&r.onload(k,!0)}}}});var zt=[],Xt=/(=)\?(?=&|$)|\?\?/;Ae.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||Ae.expando+"_"+Lt++;return this[e]=!0,e}}),Ae.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Xt.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=Ae.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Xt,"$1"+r):!1!==e.jsonp&&(e.url+=(Ht.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||Ae.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=m[r],m[r]=function(){o=arguments},n.always(function(){m[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&Ae.isFunction(i)&&i(o[0]),o=i=k}),"script"});var Ut,Vt,Yt=0,Jt=m.ActiveXObject&&function(){var e;for(e in Ut)Ut[e](k,!0)};Ae.ajaxSettings.xhr=m.ActiveXObject?function(){return!this.isLocal&&M()||O()}:M,Vt=Ae.ajaxSettings.xhr(),Ae.support.cors=!!Vt&&"withCredentials"in Vt,(Vt=Ae.support.ajax=!!Vt)&&Ae.ajaxTransport(function(c){var f;if(!c.crossDomain||Ae.support.cors)return{send:function(e,s){var l,t,u=c.xhr();if(c.username?u.open(c.type,c.url,c.async,c.username,c.password):u.open(c.type,c.url,c.async),c.xhrFields)for(t in c.xhrFields)u[t]=c.xhrFields[t];c.mimeType&&u.overrideMimeType&&u.overrideMimeType(c.mimeType),c.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");try{for(t in e)u.setRequestHeader(t,e[t])}catch(n){}u.send(c.hasContent&&c.data||null),f=function(e,t){var n,r,i,o;try{if(f&&(t||4===u.readyState))if(f=k,l&&(u.onreadystatechange=Ae.noop,Jt&&delete Ut[l]),t)4!==u.readyState&&u.abort();else{o={},n=u.status,r=u.getAllResponseHeaders(),"string"==typeof u.responseText&&(o.text=u.responseText);try{i=u.statusText}catch(rn){i=""}n||!c.isLocal||c.crossDomain?1223===n&&(n=204):n=o.text?200:404}}catch(a){t||s(-1,a)}o&&s(n,i,o,r)},c.async?4===u.readyState?setTimeout(f):(l=++Yt,Jt&&(Ut||(Ut={},Ae(m).unload(Jt)),Ut[l]=f),u.onreadystatechange=f):f()},abort:function(){f&&f(k,!0)}}});var Gt,Qt,Kt=/^(?:toggle|show|hide)$/,Zt=new RegExp("^(?:([+-])=|)("+ce+")([a-z%]*)$","i"),en=/queueHooks$/,tn=[W],nn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Zt.exec(t),o=i&&i[3]||(Ae.cssNumber[e]?"":"px"),a=(Ae.cssNumber[e]||"px"!==o&&+r)&&Zt.exec(Ae.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o)for(o=o||a[3],i=i||[],a=+r||1;a/=s=s||".5",Ae.style(n.elem,e,a+o),s!==(s=n.cur()/r)&&1!==s&&--l;);return i&&(n.unit=o,n.start=+a||+r||0,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};Ae.Animation=Ae.extend(P,{tweener:function(e,t){Ae.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;r<i;r++)n=e[r],nn[n]=nn[n]||[],nn[n].unshift(t)},prefilter:function(e,t){t?tn.unshift(e):tn.push(e)}}),(Ae.Tween=I).prototype={constructor:I,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||(Ae.cssNumber[n]?"":"px")},cur:function(){var e=I.propHooks[this.prop];return e&&e.get?e.get(this):I.propHooks._default.get(this)},run:function(e){var t,n=I.propHooks[this.prop];return this.options.duration?this.pos=t=Ae.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=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):I.propHooks._default.set(this),this}},I.prototype.init.prototype=I.prototype,I.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=Ae.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){Ae.fx.step[e.prop]?Ae.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[Ae.cssProps[e.prop]]||Ae.cssHooks[e.prop])?Ae.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Ae.each(["toggle","show","hide"],function(e,r){var i=Ae.fn[r];Ae.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(z(r,!0),e,t,n)}}),Ae.fn.extend({fadeTo:function(e,t,n,r){return this.filter(T).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=Ae.isEmptyObject(t),o=Ae.speed(e,n,r),a=function(){var e=P(this,Ae.extend({},t),o);a.finish=function(){e.stop(!0)},(i||Ae._data(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=k),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=Ae.timers,r=Ae._data(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&en.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||Ae.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Ae._data(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=Ae.timers,o=n?n.length:0;for(t.finish=!0,Ae.queue(this,a,[]),r&&r.cur&&r.cur.finish&&r.cur.finish.call(this),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),Ae.each({slideDown:z("show"),slideUp:z("hide"),slideToggle:z("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){Ae.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),Ae.speed=function(e,t,n){var r=e&&"object"==typeof e?Ae.extend({},e):{complete:n||!n&&t||Ae.isFunction(e)&&e,duration:e,easing:n&&t||t&&!Ae.isFunction(t)&&t};return r.duration=Ae.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in Ae.fx.speeds?Ae.fx.speeds[r.duration]:Ae.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){Ae.isFunction(r.old)&&r.old.call(this),r.queue&&Ae.dequeue(this,r.queue)},r},Ae.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},Ae.timers=[],Ae.fx=I.prototype.init,Ae.fx.tick=function(){var e,t=Ae.timers,n=0;for(Gt=Ae.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||Ae.fx.stop(),Gt=k},Ae.fx.timer=function(e){e()&&Ae.timers.push(e)&&Ae.fx.start()},Ae.fx.interval=13,Ae.fx.start=function(){Qt||(Qt=setInterval(Ae.fx.tick,Ae.fx.interval))},Ae.fx.stop=function(){clearInterval(Qt),Qt=null},Ae.fx.speeds={slow:600,fast:200,_default:400},Ae.fx.step={},Ae.expr&&Ae.expr.filters&&(Ae.expr.filters.animated=function(t){return Ae.grep(Ae.timers,function(e){return t===e.elem}).length}),Ae.fn.offset=function(t){if(arguments.length)return t===k?this:this.each(function(e){Ae.offset.setOffset(this,t,e)});var e,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;return o?(e=o.documentElement,Ae.contains(e,i)?(typeof i.getBoundingClientRect!==Y&&(r=i.getBoundingClientRect()),n=X(o),{top:r.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:r.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):r):void 0},Ae.offset={setOffset:function(e,t,n){var r=Ae.css(e,"position");"static"===r&&(e.style.position="relative");var i,o,a=Ae(e),s=a.offset(),l=Ae.css(e,"top"),u=Ae.css(e,"left"),c={},f={};("absolute"===r||"fixed"===r)&&-1<Ae.inArray("auto",[l,u])?(i=(f=a.position()).top,o=f.left):(i=parseFloat(l)||0,o=parseFloat(u)||0),Ae.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(c.top=t.top-s.top+i),null!=t.left&&(c.left=t.left-s.left+o),"using"in t?t.using.call(e,c):a.css(c)}},Ae.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===Ae.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),Ae.nodeName(e[0],"html")||(n=e.offset()),n.top+=Ae.css(e[0],"borderTopWidth",!0),n.left+=Ae.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-Ae.css(r,"marginTop",!0),left:t.left-n.left-Ae.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||Q;e&&!Ae.nodeName(e,"html")&&"static"===Ae.css(e,"position");)e=e.offsetParent;return e||Q})}}),Ae.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o=/Y/.test(i);Ae.fn[t]=function(e){return Ae.access(this,function(e,t,n){var r=X(e);if(n===k)return r?i in r?r[i]:r.document.documentElement[t]:e[t];r?r.scrollTo(o?Ae(r).scrollLeft():n,o?n:Ae(r).scrollTop()):e[t]=n},t,e,arguments.length,null)}}),Ae.each({Height:"height",Width:"width"},function(o,a){Ae.each({padding:"inner"+o,content:a,"":"outer"+o},function(r,e){Ae.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return Ae.access(this,function(e,t,n){var r;return Ae.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):n===k?Ae.css(e,t,i):Ae.style(e,t,n,i)},a,n?e:k,n,null)}})}),Ae.fn.size=function(){return this.length},Ae.fn.andSelf=Ae.fn.addBack,"object"==typeof module&&"object"==typeof module.exports?module.exports=Ae:(m.jQuery=m.$=Ae,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Ae}))}(window),function(f,p){var d;f.rails!==p&&f.error("jquery-ujs has already been loaded!"),f.rails=d={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]",buttonClickSelector:"button[data-remote]",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type])",disableSelector:"input[data-disable-with], button[data-disable-with], textarea[data-disable-with]",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input[type=file]",linkDisableSelector:"a[data-disable-with]",CSRFProtection:function(e){var t=f('meta[name="csrf-token"]').attr("content");t&&e.setRequestHeader("X-CSRF-Token",t)},fire:function(e,t,n){var r=f.Event(t);return e.trigger(r,n),!1!==r.result},confirm:function(e){return confirm(e)},ajax:function(e){return f.ajax(e)},href:function(e){return e.attr("href")},handleRemote:function(r){var e,t,n,i,o,a,s,l;if(d.fire(r,"ajax:before")){if(o=(i=r.data("cross-domain"))===p?null:i,a=r.data("with-credentials")||null,s=r.data("type")||f.ajaxSettings&&f.ajaxSettings.dataType,r.is("form")){e=r.attr("method"),t=r.attr("action"),n=r.serializeArray();var u=r.data("ujs:submit-button");u&&(n.push(u),r.data("ujs:submit-button",null))}else r.is(d.inputChangeSelector)?(e=r.data("method"),t=r.data("url"),n=r.serialize(),r.data("params")&&(n=n+"&"+r.data("params"))):r.is(d.buttonClickSelector)?(e=r.data("method")||"get",t=r.data("url"),n=r.serialize(),r.data("params")&&(n=n+"&"+r.data("params"))):(e=r.data("method"),t=d.href(r),n=r.data("params")||null);l={type:e||"GET",data:n,dataType:s,beforeSend:function(e,t){return t.dataType===p&&e.setRequestHeader("accept","*/*;q=0.5, "+t.accepts.script),d.fire(r,"ajax:beforeSend",[e,t])},success:function(e,t,n){r.trigger("ajax:success",[e,t,n])},complete:function(e,t){r.trigger("ajax:complete",[e,t])},error:function(e,t,n){r.trigger("ajax:error",[e,t,n])},crossDomain:o},a&&(l.xhrFields={withCredentials:a}),t&&(l.url=t);var c=d.ajax(l);return r.trigger("ajax:send",c),c}return!1},handleMethod:function(e){var t=d.href(e),n=e.data("method"),r=e.attr("target"),i=f("meta[name=csrf-token]").attr("content"),o=f("meta[name=csrf-param]").attr("content"),a=f('<form method="post" action="'+t+'"></form>'),s='<input name="_method" value="'+n+'" type="hidden" />';o!==p&&i!==p&&(s+='<input name="'+o+'" value="'+i+'" type="hidden" />'),r&&a.attr("target",r),a.hide().append(s).appendTo("body"),a.submit()},disableFormElements:function(e){e.find(d.disableSelector).each(function(){var e=f(this),t=e.is("button")?"html":"val";e.data("ujs:enable-with",e[t]()),e[t](e.data("disable-with")),e.prop("disabled",!0)})},enableFormElements:function(e){e.find(d.enableSelector).each(function(){var e=f(this),t=e.is("button")?"html":"val";e.data("ujs:enable-with")&&e[t](e.data("ujs:enable-with")),e.prop("disabled",!1)})},allowAction:function(e){var t,n=e.data("confirm"),r=!1;return!n||(d.fire(e,"confirm")&&(r=d.confirm(n),t=d.fire(e,"confirm:complete",[r])),r&&t)},blankInputs:function(e,t,n){var r,i=f(),o=t||"input,textarea",a=e.find(o);return a.each(function(){if(r=f(this),!(r.is("input[type=checkbox],input[type=radio]")?r.is(":checked"):r.val())==!n){if(r.is("input[type=radio]")&&a.filter('input[type=radio]:checked[name="'+r.attr("name")+'"]').length)return!0;i=i.add(r)}}),!!i.length&&i},nonBlankInputs:function(e,t){return d.blankInputs(e,t,!0)},stopEverything:function(e){return f(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(e){e.data("ujs:enable-with",e.html()),e.html(e.data("disable-with")),e.bind("click.railsDisable",function(e){return d.stopEverything(e)})},enableElement:function(e){e.data("ujs:enable-with")!==p&&(e.html(e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.unbind("click.railsDisable")}},d.fire(f(document),"rails:attachBindings")&&(f.ajaxPrefilter(function(e,t,n){e.crossDomain||d.CSRFProtection(n)}),f(document).delegate(d.linkDisableSelector,"ajax:complete",function(){d.enableElement(f(this))}),f(document).delegate(d.linkClickSelector,"click.rails",function(e){var t=f(this),n=t.data("method"),r=t.data("params");if(!d.allowAction(t))return d.stopEverything(e);if(t.is(d.linkDisableSelector)&&d.disableElement(t),t.data("remote")===p)return t.data("method")?(d.handleMethod(t),!1):void 0;if((e.metaKey||e.ctrlKey)&&(!n||"GET"===n)&&!r)return!0;var i=d.handleRemote(t);return!1===i?d.enableElement(t):i.error(function(){d.enableElement(t)}),!1}),f(document).delegate(d.buttonClickSelector,"click.rails",function(e){var t=f(this);return d.allowAction(t)?(d.handleRemote(t),!1):d.stopEverything(e)}),f(document).delegate(d.inputChangeSelector,"change.rails",function(e){var t=f(this);return d.allowAction(t)?(d.handleRemote(t),!1):d.stopEverything(e)}),f(document).delegate(d.formSubmitSelector,"submit.rails",function(e){var t=f(this),n=t.data("remote")!==p,r=d.blankInputs(t,d.requiredInputSelector),i=d.nonBlankInputs(t,d.fileInputSelector);if(!d.allowAction(t))return d.stopEverything(e);if(r&&t.attr("novalidate")==p&&d.fire(t,"ajax:aborted:required",[r]))return d.stopEverything(e);if(n){if(i){setTimeout(function(){d.disableFormElements(t)},13);var o=d.fire(t,"ajax:aborted:file",[i]);return o||setTimeout(function(){d.enableFormElements(t)},13),o}return d.handleRemote(t),!1}setTimeout(function(){d.disableFormElements(t)},13)}),f(document).delegate(d.formInputClickSelector,"click.rails",function(e){var t=f(this);if(!d.allowAction(t))return d.stopEverything(e);var n=t.attr("name"),r=n?{name:n,value:t.val()}:null;t.closest("form").data("ujs:submit-button",r)}),f(document).delegate(d.formSubmitSelector,"ajax:beforeSend.rails",function(e){this==e.target&&d.disableFormElements(f(this))}),f(document).delegate(d.formSubmitSelector,"ajax:complete.rails",function(e){this==e.target&&d.enableFormElements(f(this))}),f(function(){var e=f("meta[name=csrf-token]").attr("content"),t=f("meta[name=csrf-param]").attr("content");f('form input[name="'+t+'"]').val(e)}))}(jQuery),$(function(){$(document).ready(function(){$(".tree ul:first > li:first").addClass("branch_start"),$(".tree ul").find("li:last").addClass("branch_end"),$("ul.tristate").tristate(),$(".tree").delegate(".toggle","click",function(e){e.preventDefault();var t=$(this).parents("li:first"),n=t.find(".icon.toggle"),r=t.find(".nested");n.hasClass("expanded")?(n.removeClass("expanded"),r.slideUp()):(n.addClass("expanded"),r.slideDown())})})}),function(o){o.fn.tristate=function(e){var i={selector:o(this).selector,checked:null,container:null,siblings:null};o.extend(i,e);return this.each(function(){var r,e=o(this),t=r={init:function(){o('input[type="checkbox"]',e).change(function(){i.checked=o(this).prop("checked"),i.container=o(this).parent(),i.siblings=i.container.siblings(),i.container.find('input[type="checkbox"]').prop({indeterminate:!1,checked:i.checked}),r.checkSiblings(i.container)}),o("input[type=checkbox]:checked",e).each(function(){r.checkSiblings(o(this).parent())})},checkSiblings:function(e){var t=e.parent().parent(),n=!0;e.siblings().each(function(){return n=o(this).children('input[type="checkbox"]').prop("checked")===i.checked}),n&&i.checked?(t.children('input[type="checkbox"]').prop({indeterminate:!1,checked:i.checked}),r.checkSiblings(t)):n&&!i.checked?(t.children('input[type="checkbox"]').prop("checked",i.checked),t.children('input[type="checkbox"]').prop("indeterminate",0<t.find('input[type="checkbox"]:checked').length),r.checkSiblings(t)):e.parents("li").children('input[type="checkbox"]').prop({indeterminate:!0,checked:!1})}};t.init(),t.checkSiblings(e)})}}(jQuery),window.onload=function(){$("video").is("*")&&($("body").append('<link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet">'),$("body").append('<script src="http://vjs.zencdn.net/c/video.js"></script>'))}; \ No newline at end of file
diff --git a/public/assets/application.js.gz b/public/assets/application.js.gz
index a30dc5f..a17509f 100644
--- a/public/assets/application.js.gz
+++ b/public/assets/application.js.gz
Binary files differ
diff --git a/public/assets/manifest.yml b/public/assets/manifest.yml
index 55bde72..251f968 100644
--- a/public/assets/manifest.yml
+++ b/public/assets/manifest.yml
@@ -9,8 +9,8 @@ module-header-bg.jpg: module-header-bg-d4f37a2b7ac2bfe76c60e9c9695b66e1.jpg
module-header-bg/index.jpg: module-header-bg-d4f37a2b7ac2bfe76c60e9c9695b66e1.jpg
rails.png: rails-71e944d9b39043eba50b77788c0d767f.png
rails/index.png: rails-71e944d9b39043eba50b77788c0d767f.png
-application.js: application-4d6493fe963234b4c7b45ade62c3c467.js
-application/index.js: application-4d6493fe963234b4c7b45ade62c3c467.js
+application.js: application-0b2ae0bf73e68414a78148b9d7aa67d4.js
+application/index.js: application-0b2ae0bf73e68414a78148b9d7aa67d4.js
application.css: application-74ea0a61faeead1c8c5c65a26a6e3914.css
application/index.css: application-74ea0a61faeead1c8c5c65a26a6e3914.css
refinery/blog/backend.css: refinery/blog/backend-7a76ae50bdd83f91b0e104fc8c768d3f.css
@@ -405,10 +405,10 @@ refinery/interface.js: refinery/interface-aa38581611f42a443dbf982b9622715f.js
refinery/interface/index.js: refinery/interface-aa38581611f42a443dbf982b9622715f.js
refinery/modal_dialogs.js: refinery/modal_dialogs-8574253f887482edeb011128a3b8c08b.js
refinery/modal_dialogs/index.js: refinery/modal_dialogs-8574253f887482edeb011128a3b8c08b.js
-refinery/nestedsortables.js: refinery/nestedsortables-f06a9d7e8817ff59ffcc30502aa2747b.js
-refinery/nestedsortables/index.js: refinery/nestedsortables-f06a9d7e8817ff59ffcc30502aa2747b.js
-refinery/refinery.js: refinery/refinery-63be8375ee2c8d3fc88bb8edcae25cc1.js
-refinery/refinery/index.js: refinery/refinery-63be8375ee2c8d3fc88bb8edcae25cc1.js
+refinery/nestedsortables.js: refinery/nestedsortables-b266f4b69dbfaaf32ef97e3f14088321.js
+refinery/nestedsortables/index.js: refinery/nestedsortables-b266f4b69dbfaaf32ef97e3f14088321.js
+refinery/refinery.js: refinery/refinery-41dfb57e7405fff112fbf719272d4cb7.js
+refinery/refinery/index.js: refinery/refinery-41dfb57e7405fff112fbf719272d4cb7.js
refinery/serializelist.js: refinery/serializelist-0ebebab4562223d3f0db7954f7406910.js
refinery/serializelist/index.js: refinery/serializelist-0ebebab4562223d3f0db7954f7406910.js
refinery/site_bar.js: refinery/site_bar-5453829eadce9d9d1b09126a2e827bd0.js
@@ -423,8 +423,8 @@ refinery/submit_continue.js: refinery/submit_continue-348d497757901da976503cbb9b
refinery/submit_continue/index.js: refinery/submit_continue-348d497757901da976503cbb9b83c64a.js
refinery/tree.js: refinery/tree-4bd54dfe43656bece5b36e31db2ea744.js
refinery/tree/index.js: refinery/tree-4bd54dfe43656bece5b36e31db2ea744.js
-refinery/wymeditor.js: refinery/wymeditor-79d60d4052e5c51a1197b1e4c121b854.js
-refinery/wymeditor/index.js: refinery/wymeditor-79d60d4052e5c51a1197b1e4c121b854.js
+refinery/wymeditor.js: refinery/wymeditor-bf115bb2865772909d7b19dea688d63b.js
+refinery/wymeditor/index.js: refinery/wymeditor-bf115bb2865772909d7b19dea688d63b.js
wymeditor/GPL-license.txt: wymeditor/GPL-license-27f89c0db4520f46798bc20a5c16db4b.txt
wymeditor/GPL-license/index.txt: wymeditor/GPL-license-27f89c0db4520f46798bc20a5c16db4b.txt
wymeditor/MIT-license.txt: wymeditor/MIT-license-f55cec0b778af91bab8b018dbbc5d69a.txt
diff --git a/public/assets/modernizr-min-0cfed4c8c40566090aa12c92ae7776d8.js.gz b/public/assets/modernizr-min-0cfed4c8c40566090aa12c92ae7776d8.js.gz
index 8fd3179..582b5a5 100644
--- a/public/assets/modernizr-min-0cfed4c8c40566090aa12c92ae7776d8.js.gz
+++ b/public/assets/modernizr-min-0cfed4c8c40566090aa12c92ae7776d8.js.gz
Binary files differ
diff --git a/public/assets/modernizr-min.js.gz b/public/assets/modernizr-min.js.gz
index 917c359..38e7ff4 100644
--- a/public/assets/modernizr-min.js.gz
+++ b/public/assets/modernizr-min.js.gz
Binary files differ
diff --git a/public/assets/refinery/admin-0782215d5da880c8dc5e2b3864e0df6a.js.gz b/public/assets/refinery/admin-0782215d5da880c8dc5e2b3864e0df6a.js.gz
index b990117..0412f82 100644
--- a/public/assets/refinery/admin-0782215d5da880c8dc5e2b3864e0df6a.js.gz
+++ b/public/assets/refinery/admin-0782215d5da880c8dc5e2b3864e0df6a.js.gz
Binary files differ
diff --git a/public/assets/refinery/admin.js.gz b/public/assets/refinery/admin.js.gz
index 040621f..992c7a0 100644
--- a/public/assets/refinery/admin.js.gz
+++ b/public/assets/refinery/admin.js.gz
Binary files differ
diff --git a/public/assets/refinery/admin/video-ece67a41d5e8f1f986c1bb7a07c98610.css.gz b/public/assets/refinery/admin/video-ece67a41d5e8f1f986c1bb7a07c98610.css.gz
index 7ebabe2..ec9326e 100644
--- a/public/assets/refinery/admin/video-ece67a41d5e8f1f986c1bb7a07c98610.css.gz
+++ b/public/assets/refinery/admin/video-ece67a41d5e8f1f986c1bb7a07c98610.css.gz
Binary files differ
diff --git a/public/assets/refinery/admin/video.css.gz b/public/assets/refinery/admin/video.css.gz
index 54a6cc8..b33429e 100644
--- a/public/assets/refinery/admin/video.css.gz
+++ b/public/assets/refinery/admin/video.css.gz
Binary files differ
diff --git a/public/assets/refinery/admin/wymeditor_monkeypatch-6c0f3d3b096d3f85c8b0e7da2f6dbcd0.js.gz b/public/assets/refinery/admin/wymeditor_monkeypatch-6c0f3d3b096d3f85c8b0e7da2f6dbcd0.js.gz
index 79c6c6a..5e310c6 100644
--- a/public/assets/refinery/admin/wymeditor_monkeypatch-6c0f3d3b096d3f85c8b0e7da2f6dbcd0.js.gz
+++ b/public/assets/refinery/admin/wymeditor_monkeypatch-6c0f3d3b096d3f85c8b0e7da2f6dbcd0.js.gz
Binary files differ
diff --git a/public/assets/refinery/admin/wymeditor_monkeypatch.js.gz b/public/assets/refinery/admin/wymeditor_monkeypatch.js.gz
index b3d9f86..c614c3b 100644
--- a/public/assets/refinery/admin/wymeditor_monkeypatch.js.gz
+++ b/public/assets/refinery/admin/wymeditor_monkeypatch.js.gz
Binary files differ
diff --git a/public/assets/refinery/ajaxy_pagination-31502fd935145e1ca2129fc1a0194ecc.js.gz b/public/assets/refinery/ajaxy_pagination-31502fd935145e1ca2129fc1a0194ecc.js.gz
index 8a1e304..0123b91 100644
--- a/public/assets/refinery/ajaxy_pagination-31502fd935145e1ca2129fc1a0194ecc.js.gz
+++ b/public/assets/refinery/ajaxy_pagination-31502fd935145e1ca2129fc1a0194ecc.js.gz
Binary files differ
diff --git a/public/assets/refinery/ajaxy_pagination.js.gz b/public/assets/refinery/ajaxy_pagination.js.gz
index 8ef5442..c23bc7e 100644
--- a/public/assets/refinery/ajaxy_pagination.js.gz
+++ b/public/assets/refinery/ajaxy_pagination.js.gz
Binary files differ
diff --git a/public/assets/refinery/blog/backend-7a76ae50bdd83f91b0e104fc8c768d3f.css.gz b/public/assets/refinery/blog/backend-7a76ae50bdd83f91b0e104fc8c768d3f.css.gz
index ca92784..9077aa6 100644
--- a/public/assets/refinery/blog/backend-7a76ae50bdd83f91b0e104fc8c768d3f.css.gz
+++ b/public/assets/refinery/blog/backend-7a76ae50bdd83f91b0e104fc8c768d3f.css.gz
Binary files differ
diff --git a/public/assets/refinery/blog/backend-b4349fa7ad9efe6fad3e180f13824ed2.js.gz b/public/assets/refinery/blog/backend-b4349fa7ad9efe6fad3e180f13824ed2.js.gz
index 38dcc41..b9bf9a8 100644
--- a/public/assets/refinery/blog/backend-b4349fa7ad9efe6fad3e180f13824ed2.js.gz
+++ b/public/assets/refinery/blog/backend-b4349fa7ad9efe6fad3e180f13824ed2.js.gz
Binary files differ
diff --git a/public/assets/refinery/blog/backend.css.gz b/public/assets/refinery/blog/backend.css.gz
index 3a9c240..aa88949 100644
--- a/public/assets/refinery/blog/backend.css.gz
+++ b/public/assets/refinery/blog/backend.css.gz
Binary files differ
diff --git a/public/assets/refinery/blog/backend.js.gz b/public/assets/refinery/blog/backend.js.gz
index bd2212e..34796a1 100644
--- a/public/assets/refinery/blog/backend.js.gz
+++ b/public/assets/refinery/blog/backend.js.gz
Binary files differ
diff --git a/public/assets/refinery/blog/frontend-40ec94f12c8010262cd9a91effa3695a.js.gz b/public/assets/refinery/blog/frontend-40ec94f12c8010262cd9a91effa3695a.js.gz
index dace077..fe48122 100644
--- a/public/assets/refinery/blog/frontend-40ec94f12c8010262cd9a91effa3695a.js.gz
+++ b/public/assets/refinery/blog/frontend-40ec94f12c8010262cd9a91effa3695a.js.gz
Binary files differ
diff --git a/public/assets/refinery/blog/frontend-494d9760f31ec565eb3e47e6c6653fce.css.gz b/public/assets/refinery/blog/frontend-494d9760f31ec565eb3e47e6c6653fce.css.gz
index 2f34bc7..b21bb45 100644
--- a/public/assets/refinery/blog/frontend-494d9760f31ec565eb3e47e6c6653fce.css.gz
+++ b/public/assets/refinery/blog/frontend-494d9760f31ec565eb3e47e6c6653fce.css.gz
Binary files differ
diff --git a/public/assets/refinery/blog/frontend.css.gz b/public/assets/refinery/blog/frontend.css.gz
index 47639a3..0a40787 100644
--- a/public/assets/refinery/blog/frontend.css.gz
+++ b/public/assets/refinery/blog/frontend.css.gz
Binary files differ
diff --git a/public/assets/refinery/blog/frontend.js.gz b/public/assets/refinery/blog/frontend.js.gz
index 76ece2e..29cbfe6 100644
--- a/public/assets/refinery/blog/frontend.js.gz
+++ b/public/assets/refinery/blog/frontend.js.gz
Binary files differ
diff --git a/public/assets/refinery/blog/ui-lightness/jquery-ui-1.8.13.custom-78bcd8b309692ad7db39d1be3af494fb.css.gz b/public/assets/refinery/blog/ui-lightness/jquery-ui-1.8.13.custom-78bcd8b309692ad7db39d1be3af494fb.css.gz
index 1c3726b..9e5ddb8 100644
--- a/public/assets/refinery/blog/ui-lightness/jquery-ui-1.8.13.custom-78bcd8b309692ad7db39d1be3af494fb.css.gz
+++ b/public/assets/refinery/blog/ui-lightness/jquery-ui-1.8.13.custom-78bcd8b309692ad7db39d1be3af494fb.css.gz
Binary files differ
diff --git a/public/assets/refinery/blog/ui-lightness/jquery-ui-1.8.13.custom.css.gz b/public/assets/refinery/blog/ui-lightness/jquery-ui-1.8.13.custom.css.gz
index 0b49b95..ffae20f 100644
--- a/public/assets/refinery/blog/ui-lightness/jquery-ui-1.8.13.custom.css.gz
+++ b/public/assets/refinery/blog/ui-lightness/jquery-ui-1.8.13.custom.css.gz
Binary files differ
diff --git a/public/assets/refinery/boot_wym-088bec7e2595658f30e8e60ec948cd9a.js.gz b/public/assets/refinery/boot_wym-088bec7e2595658f30e8e60ec948cd9a.js.gz
index 9295bce..32b7cc3 100644
--- a/public/assets/refinery/boot_wym-088bec7e2595658f30e8e60ec948cd9a.js.gz
+++ b/public/assets/refinery/boot_wym-088bec7e2595658f30e8e60ec948cd9a.js.gz
Binary files differ
diff --git a/public/assets/refinery/boot_wym.js.gz b/public/assets/refinery/boot_wym.js.gz
index 455fa7b..0ea2482 100644
--- a/public/assets/refinery/boot_wym.js.gz
+++ b/public/assets/refinery/boot_wym.js.gz
Binary files differ
diff --git a/public/assets/refinery/core-be2c10d9a54f1fc40c523df655019035.js.gz b/public/assets/refinery/core-be2c10d9a54f1fc40c523df655019035.js.gz
index ac60cbe..bf7f336 100644
--- a/public/assets/refinery/core-be2c10d9a54f1fc40c523df655019035.js.gz
+++ b/public/assets/refinery/core-be2c10d9a54f1fc40c523df655019035.js.gz
Binary files differ
diff --git a/public/assets/refinery/core.js.gz b/public/assets/refinery/core.js.gz
index 909f4df..2da9df5 100644
--- a/public/assets/refinery/core.js.gz
+++ b/public/assets/refinery/core.js.gz
Binary files differ
diff --git a/public/assets/refinery/formatting-b44a4730207530562f26df85da80f491.css.gz b/public/assets/refinery/formatting-b44a4730207530562f26df85da80f491.css.gz
index 9c142b2..6d3eb54 100644
--- a/public/assets/refinery/formatting-b44a4730207530562f26df85da80f491.css.gz
+++ b/public/assets/refinery/formatting-b44a4730207530562f26df85da80f491.css.gz
Binary files differ
diff --git a/public/assets/refinery/formatting.css.gz b/public/assets/refinery/formatting.css.gz
index ec853dc..3a9790c 100644
--- a/public/assets/refinery/formatting.css.gz
+++ b/public/assets/refinery/formatting.css.gz
Binary files differ
diff --git a/public/assets/refinery/inquiries/inquiries-81e237be21ff2fec45cbac36984963f9.css.gz b/public/assets/refinery/inquiries/inquiries-81e237be21ff2fec45cbac36984963f9.css.gz
index a403343..3aa0358 100644
--- a/public/assets/refinery/inquiries/inquiries-81e237be21ff2fec45cbac36984963f9.css.gz
+++ b/public/assets/refinery/inquiries/inquiries-81e237be21ff2fec45cbac36984963f9.css.gz
Binary files differ
diff --git a/public/assets/refinery/inquiries/inquiries.css.gz b/public/assets/refinery/inquiries/inquiries.css.gz
index d7d6ced..39f92bc 100644
--- a/public/assets/refinery/inquiries/inquiries.css.gz
+++ b/public/assets/refinery/inquiries/inquiries.css.gz
Binary files differ
diff --git a/public/assets/refinery/interface-aa38581611f42a443dbf982b9622715f.js.gz b/public/assets/refinery/interface-aa38581611f42a443dbf982b9622715f.js.gz
index 86769e8..83d74a3 100644
--- a/public/assets/refinery/interface-aa38581611f42a443dbf982b9622715f.js.gz
+++ b/public/assets/refinery/interface-aa38581611f42a443dbf982b9622715f.js.gz
Binary files differ
diff --git a/public/assets/refinery/interface.js.gz b/public/assets/refinery/interface.js.gz
index b512a45..4f26104 100644
--- a/public/assets/refinery/interface.js.gz
+++ b/public/assets/refinery/interface.js.gz
Binary files differ
diff --git a/public/assets/refinery/layout-c3b76b11c3efa36212a37f44f0243721.css.gz b/public/assets/refinery/layout-c3b76b11c3efa36212a37f44f0243721.css.gz
index 6e135be..21f0a59 100644
--- a/public/assets/refinery/layout-c3b76b11c3efa36212a37f44f0243721.css.gz
+++ b/public/assets/refinery/layout-c3b76b11c3efa36212a37f44f0243721.css.gz
Binary files differ
diff --git a/public/assets/refinery/layout.css.gz b/public/assets/refinery/layout.css.gz
index ce7ba1d..0e05383 100644
--- a/public/assets/refinery/layout.css.gz
+++ b/public/assets/refinery/layout.css.gz
Binary files differ
diff --git a/public/assets/refinery/modal_dialogs-8574253f887482edeb011128a3b8c08b.js.gz b/public/assets/refinery/modal_dialogs-8574253f887482edeb011128a3b8c08b.js.gz
index 79f2c8d..51396ff 100644
--- a/public/assets/refinery/modal_dialogs-8574253f887482edeb011128a3b8c08b.js.gz
+++ b/public/assets/refinery/modal_dialogs-8574253f887482edeb011128a3b8c08b.js.gz
Binary files differ
diff --git a/public/assets/refinery/modal_dialogs.js.gz b/public/assets/refinery/modal_dialogs.js.gz
index 7a68932..d606bdd 100644
--- a/public/assets/refinery/modal_dialogs.js.gz
+++ b/public/assets/refinery/modal_dialogs.js.gz
Binary files differ
diff --git a/public/assets/refinery/nestedsortables-b266f4b69dbfaaf32ef97e3f14088321.js b/public/assets/refinery/nestedsortables-b266f4b69dbfaaf32ef97e3f14088321.js
new file mode 100644
index 0000000..efffd8e
--- /dev/null
+++ b/public/assets/refinery/nestedsortables-b266f4b69dbfaaf32ef97e3f14088321.js
@@ -0,0 +1,12 @@
+/*
+ * jQuery UI Nested Sortable
+ * v 1.3.4 / 28 apr 2011
+ * http://mjsarfatti.com/sandbox/nestedSortable
+ *
+ * Depends:
+ * jquery.ui.sortable.js 1.8+
+ *
+ * License CC BY-SA 3.0
+ * Copyright 2010-2011, Manuele J Sarfatti
+ */
+!function(c){c.widget("ui.nestedSortable",c.extend({},c.ui.sortable.prototype,{options:{tabSize:20,disableNesting:"ui-nestedSortable-no-nesting",errorClass:"ui-nestedSortable-error",listType:"ol",maxLevels:0,noJumpFix:0},_create:function(){return 0==this.noJumpFix&&this.element.height(this.element.height()),this.element.data("sortable",this.element.data("nestedSortable")),c.ui.sortable.prototype._create.apply(this,arguments)},_mouseDrag:function(t){if(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll){var e=this.options,i=!1;this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<e.scrollSensitivity?this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop+e.scrollSpeed:t.pageY-this.overflowOffset.top<e.scrollSensitivity&&(this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop-e.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<e.scrollSensitivity?this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft+e.scrollSpeed:t.pageX-this.overflowOffset.left<e.scrollSensitivity&&(this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft-e.scrollSpeed)):(t.pageY-c(document).scrollTop()<e.scrollSensitivity?i=c(document).scrollTop(c(document).scrollTop()-e.scrollSpeed):c(window).height()-(t.pageY-c(document).scrollTop())<e.scrollSensitivity&&(i=c(document).scrollTop(c(document).scrollTop()+e.scrollSpeed)),t.pageX-c(document).scrollLeft()<e.scrollSensitivity?i=c(document).scrollLeft(c(document).scrollLeft()-e.scrollSpeed):c(window).width()-(t.pageX-c(document).scrollLeft())<e.scrollSensitivity&&(i=c(document).scrollLeft(c(document).scrollLeft()+e.scrollSpeed))),!1!==i&&c.ui.ddmanager&&!e.dropBehaviour&&c.ui.ddmanager.prepareOffsets(this,t)}this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"==this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"==this.options.axis||(this.helper[0].style.top=this.position.top+"px");for(var s=this.items.length-1;0<=s;s--){var o=this.items[s],l=o.item[0],r=this._intersectsWithPointer(o);if(r&&!(l==this.currentItem[0]||this.placeholder[1==r?"next":"prev"]()[0]==l||c.contains(this.placeholder[0],l)||"semi-dynamic"==this.options.type&&c.contains(this.element[0],l))){if(this.direction=1==r?"down":"up","pointer"!=this.options.tolerance&&!this._intersectsWithSides(o))break;this._rearrange(t,o),this._clearEmpty(l),this._trigger("change",t,this._uiHash());break}}var n=this.placeholder[0].parentNode.parentNode&&c(this.placeholder[0].parentNode.parentNode).closest(".ui-sortable").length?c(this.placeholder[0].parentNode.parentNode):null,h=this._getLevel(this.placeholder),a=this._getChildLevels(this.helper),p=this.placeholder[0].previousSibling?c(this.placeholder[0].previousSibling):null;if(null!=p)for(;"li"!=p[0].nodeName.toLowerCase()||p[0]==this.currentItem[0];){if(!p[0].previousSibling){p=null;break}p=c(p[0].previousSibling)}return newList=document.createElement(e.listType),this.beyondMaxLevels=0,null!=n&&this.positionAbs.left<n.offset().left?(n.after(this.placeholder[0]),this._clearEmpty(n[0]),this._trigger("change",t,this._uiHash())):null!=p&&this.positionAbs.left>p.offset().left+e.tabSize?(this._isAllowed(p,h+a+1),p.children(e.listType).length||p[0].appendChild(newList),p.children(e.listType)[0].appendChild(this.placeholder[0]),this._trigger("change",t,this._uiHash())):this._isAllowed(n,h+a),this._contactContainers(t),c.ui.ddmanager&&c.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,e){if(this.beyondMaxLevels){for(var i=this.placeholder.parent().closest(this.options.items),s=this.beyondMaxLevels-1;0<s;s--)i=i.parent().closest(this.options.items);this.placeholder.removeClass(this.options.errorClass),i.after(this.placeholder),this._trigger("change",t,this._uiHash())}c.ui.sortable.prototype._mouseStop.apply(this,arguments)},serialize:function(i){var t=this._getItemsAsjQuery(i&&i.connected),s=[];return i=i||{},c(t).each(function(){var t=(c(i.item||this).attr(i.attribute||"id")||"").match(i.expression||/(.+)[-=_](.+)/),e=(c(i.item||this).parent(i.listType).parent("li").attr(i.attribute||"id")||"").match(i.expression||/(.+)[-=_](.+)/);t&&s.push((i.key||t[1]+"["+(i.key&&i.expression?t[1]:t[2])+"]")+"="+(e?i.key&&i.expression?e[1]:e[2]:"root"))}),!s.length&&i.key&&s.push(i.key+"="),s.join("&")},toHierarchy:function(s){function o(t){var e=(c(t).attr(s.attribute||"id")||"").match(s.expression||/(.+)[-=_](.+)/);if(null!=e){var i={id:e[2]};return 0<c(t).children(s.listType).children("li").length&&(i.children=[],c(t).children(s.listType).children("li").each(function(){var t=o(c(this));i.children.push(t)})),i}}(s=s||{}).startDepthCount;var e=[];return c(this.element).children("li").each(function(){var t=o(c(this));e.push(t)}),e},toArray:function(s){function t(t,e){return t.left-e.left}function o(t,e,i){return right=i+1,0<c(t).children(s.listType).children("li").length&&(e++,c(t).children(s.listType).children("li").each(function(){right=o(c(this),e,right)}),e--),id=c(t).attr(s.attribute||"id").match(s.expression||/(.+)[-=_](.+)/),e===l+1?pid="root":(parentItem=c(t).parent(s.listType).parent("li").attr("id").match(s.expression||/(.+)[-=_](.+)/),pid=parentItem[2]),null!=id&&r.push({item_id:id[2],parent_id:pid,depth:e,left:i,right:right}),right+1}var l=(s=s||{}).startDepthCount||0,r=[],e=2;return r.push({item_id:"root",parent_id:"none",depth:l,left:"1",right:2*(c("li",this.element).length+1)}),c(this.element).children("li").each(function(){e=o(this,l+1,e)}),r=r.sort(t)},_clear:function(t,e){c.ui.sortable.prototype._clear.apply(this,arguments);for(var i=this.items.length-1;0<=i;i--){var s=this.items[i].item[0];this._clearEmpty(s)}return!0},_clearEmpty:function(t){t.children[1]&&0==t.children[1].children.length&&t.removeChild(t.children[1])},_getLevel:function(t){var e=1;if(this.options.listType)for(var i=t.closest(this.options.listType);!i.is(".ui-sortable");)e++,i=i.parent().closest(this.options.listType);return e},_getChildLevels:function(t,i){var s=this,e=this.options,o=0;return i=i||0,c(t).children(e.listType).children(e.items).each(function(t,e){o=Math.max(s._getChildLevels(e,i+1),o)}),i?o+1:o},_isAllowed:function(t,e){var i=this.options;null!=t&&t.hasClass(i.disableNesting)?(this.placeholder.addClass(i.errorClass),i.maxLevels<e&&0!=i.maxLevels?this.beyondMaxLevels=e-i.maxLevels:this.beyondMaxLevels=1):i.maxLevels<e&&0!=i.maxLevels?(this.placeholder.addClass(i.errorClass),this.beyondMaxLevels=e-i.maxLevels):(this.placeholder.removeClass(i.errorClass),this.beyondMaxLevels=0)}})),c.ui.nestedSortable.prototype.options=c.extend({},c.ui.sortable.prototype.options,c.ui.nestedSortable.prototype.options)}(jQuery); \ No newline at end of file
diff --git a/public/assets/refinery/nestedsortables-b266f4b69dbfaaf32ef97e3f14088321.js.gz b/public/assets/refinery/nestedsortables-b266f4b69dbfaaf32ef97e3f14088321.js.gz
new file mode 100644
index 0000000..9f9002e
--- /dev/null
+++ b/public/assets/refinery/nestedsortables-b266f4b69dbfaaf32ef97e3f14088321.js.gz
Binary files differ
diff --git a/public/assets/refinery/nestedsortables.js b/public/assets/refinery/nestedsortables.js
index 33961e1..efffd8e 100644
--- a/public/assets/refinery/nestedsortables.js
+++ b/public/assets/refinery/nestedsortables.js
@@ -9,4 +9,4 @@
* License CC BY-SA 3.0
* Copyright 2010-2011, Manuele J Sarfatti
*/
-!function(c){c.widget("ui.nestedSortable",c.extend({},c.ui.sortable.prototype,{options:{tabSize:20,disableNesting:"ui-nestedSortable-no-nesting",errorClass:"ui-nestedSortable-error",listType:"ol",maxLevels:0,noJumpFix:0},_create:function(){return 0==this.noJumpFix&&this.element.height(this.element.height()),this.element.data("sortable",this.element.data("nestedSortable")),c.ui.sortable.prototype._create.apply(this,arguments)},_mouseDrag:function(t){if(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll){var e=this.options,i=!1;this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<e.scrollSensitivity?this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop+e.scrollSpeed:t.pageY-this.overflowOffset.top<e.scrollSensitivity&&(this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop-e.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<e.scrollSensitivity?this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft+e.scrollSpeed:t.pageX-this.overflowOffset.left<e.scrollSensitivity&&(this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft-e.scrollSpeed)):(t.pageY-c(document).scrollTop()<e.scrollSensitivity?i=c(document).scrollTop(c(document).scrollTop()-e.scrollSpeed):c(window).height()-(t.pageY-c(document).scrollTop())<e.scrollSensitivity&&(i=c(document).scrollTop(c(document).scrollTop()+e.scrollSpeed)),t.pageX-c(document).scrollLeft()<e.scrollSensitivity?i=c(document).scrollLeft(c(document).scrollLeft()-e.scrollSpeed):c(window).width()-(t.pageX-c(document).scrollLeft())<e.scrollSensitivity&&(i=c(document).scrollLeft(c(document).scrollLeft()+e.scrollSpeed))),!1!==i&&c.ui.ddmanager&&!e.dropBehaviour&&c.ui.ddmanager.prepareOffsets(this,t)}this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"==this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"==this.options.axis||(this.helper[0].style.top=this.position.top+"px");for(var s=this.items.length-1;0<=s;s--){var o=this.items[s],l=o.item[0],r=this._intersectsWithPointer(o);if(r&&!(l==this.currentItem[0]||this.placeholder[1==r?"next":"prev"]()[0]==l||c.contains(this.placeholder[0],l)||"semi-dynamic"==this.options.type&&c.contains(this.element[0],l))){if(this.direction=1==r?"down":"up","pointer"!=this.options.tolerance&&!this._intersectsWithSides(o))break;this._rearrange(t,o),this._clearEmpty(l),this._trigger("change",t,this._uiHash());break}}var n=this.placeholder[0].parentNode.parentNode&&c(this.placeholder[0].parentNode.parentNode).closest(".ui-sortable").length?c(this.placeholder[0].parentNode.parentNode):null,h=this._getLevel(this.placeholder),a=this._getChildLevels(this.helper),p=this.placeholder[0].previousSibling?c(this.placeholder[0].previousSibling):null;if(null!=p)for(;"li"!=p[0].nodeName.toLowerCase()||p[0]==this.currentItem[0];){if(!p[0].previousSibling){p=null;break}p=c(p[0].previousSibling)}return newList=document.createElement(e.listType),this.beyondMaxLevels=0,null!=n&&this.positionAbs.left<n.offset().left?(n.after(this.placeholder[0]),this._clearEmpty(n[0]),this._trigger("change",t,this._uiHash())):null!=p&&this.positionAbs.left>p.offset().left+e.tabSize?(this._isAllowed(p,h+a+1),p.children(e.listType).length||p[0].appendChild(newList),p.children(e.listType)[0].appendChild(this.placeholder[0]),this._trigger("change",t,this._uiHash())):this._isAllowed(n,h+a),this._contactContainers(t),c.ui.ddmanager&&c.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t){if(this.beyondMaxLevels){for(var e=this.placeholder.parent().closest(this.options.items),i=this.beyondMaxLevels-1;0<i;i--)e=e.parent().closest(this.options.items);this.placeholder.removeClass(this.options.errorClass),e.after(this.placeholder),this._trigger("change",t,this._uiHash())}c.ui.sortable.prototype._mouseStop.apply(this,arguments)},serialize:function(i){var t=this._getItemsAsjQuery(i&&i.connected),s=[];return i=i||{},c(t).each(function(){var t=(c(i.item||this).attr(i.attribute||"id")||"").match(i.expression||/(.+)[-=_](.+)/),e=(c(i.item||this).parent(i.listType).parent("li").attr(i.attribute||"id")||"").match(i.expression||/(.+)[-=_](.+)/);t&&s.push((i.key||t[1]+"["+(i.key&&i.expression?t[1]:t[2])+"]")+"="+(e?i.key&&i.expression?e[1]:e[2]:"root"))}),!s.length&&i.key&&s.push(i.key+"="),s.join("&")},toHierarchy:function(s){function o(t){var e=(c(t).attr(s.attribute||"id")||"").match(s.expression||/(.+)[-=_](.+)/);if(null!=e){var i={id:e[2]};return 0<c(t).children(s.listType).children("li").length&&(i.children=[],c(t).children(s.listType).children("li").each(function(){var t=o(c(this));i.children.push(t)})),i}}(s=s||{}).startDepthCount;var e=[];return c(this.element).children("li").each(function(){var t=o(c(this));e.push(t)}),e},toArray:function(s){function t(t,e){return t.left-e.left}function o(t,e,i){return right=i+1,0<c(t).children(s.listType).children("li").length&&(e++,c(t).children(s.listType).children("li").each(function(){right=o(c(this),e,right)}),e--),id=c(t).attr(s.attribute||"id").match(s.expression||/(.+)[-=_](.+)/),e===l+1?pid="root":(parentItem=c(t).parent(s.listType).parent("li").attr("id").match(s.expression||/(.+)[-=_](.+)/),pid=parentItem[2]),null!=id&&r.push({item_id:id[2],parent_id:pid,depth:e,left:i,right:right}),right+1}var l=(s=s||{}).startDepthCount||0,r=[],e=2;return r.push({item_id:"root",parent_id:"none",depth:l,left:"1",right:2*(c("li",this.element).length+1)}),c(this.element).children("li").each(function(){e=o(this,l+1,e)}),r=r.sort(t)},_clear:function(){c.ui.sortable.prototype._clear.apply(this,arguments);for(var t=this.items.length-1;0<=t;t--){var e=this.items[t].item[0];this._clearEmpty(e)}return!0},_clearEmpty:function(t){t.children[1]&&0==t.children[1].children.length&&t.removeChild(t.children[1])},_getLevel:function(t){var e=1;if(this.options.listType)for(var i=t.closest(this.options.listType);!i.is(".ui-sortable");)e++,i=i.parent().closest(this.options.listType);return e},_getChildLevels:function(t,i){var s=this,e=this.options,o=0;return i=i||0,c(t).children(e.listType).children(e.items).each(function(t,e){o=Math.max(s._getChildLevels(e,i+1),o)}),i?o+1:o},_isAllowed:function(t,e){var i=this.options;null!=t&&t.hasClass(i.disableNesting)?(this.placeholder.addClass(i.errorClass),i.maxLevels<e&&0!=i.maxLevels?this.beyondMaxLevels=e-i.maxLevels:this.beyondMaxLevels=1):i.maxLevels<e&&0!=i.maxLevels?(this.placeholder.addClass(i.errorClass),this.beyondMaxLevels=e-i.maxLevels):(this.placeholder.removeClass(i.errorClass),this.beyondMaxLevels=0)}})),c.ui.nestedSortable.prototype.options=c.extend({},c.ui.sortable.prototype.options,c.ui.nestedSortable.prototype.options)}(jQuery); \ No newline at end of file
+!function(c){c.widget("ui.nestedSortable",c.extend({},c.ui.sortable.prototype,{options:{tabSize:20,disableNesting:"ui-nestedSortable-no-nesting",errorClass:"ui-nestedSortable-error",listType:"ol",maxLevels:0,noJumpFix:0},_create:function(){return 0==this.noJumpFix&&this.element.height(this.element.height()),this.element.data("sortable",this.element.data("nestedSortable")),c.ui.sortable.prototype._create.apply(this,arguments)},_mouseDrag:function(t){if(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll){var e=this.options,i=!1;this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<e.scrollSensitivity?this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop+e.scrollSpeed:t.pageY-this.overflowOffset.top<e.scrollSensitivity&&(this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop-e.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<e.scrollSensitivity?this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft+e.scrollSpeed:t.pageX-this.overflowOffset.left<e.scrollSensitivity&&(this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft-e.scrollSpeed)):(t.pageY-c(document).scrollTop()<e.scrollSensitivity?i=c(document).scrollTop(c(document).scrollTop()-e.scrollSpeed):c(window).height()-(t.pageY-c(document).scrollTop())<e.scrollSensitivity&&(i=c(document).scrollTop(c(document).scrollTop()+e.scrollSpeed)),t.pageX-c(document).scrollLeft()<e.scrollSensitivity?i=c(document).scrollLeft(c(document).scrollLeft()-e.scrollSpeed):c(window).width()-(t.pageX-c(document).scrollLeft())<e.scrollSensitivity&&(i=c(document).scrollLeft(c(document).scrollLeft()+e.scrollSpeed))),!1!==i&&c.ui.ddmanager&&!e.dropBehaviour&&c.ui.ddmanager.prepareOffsets(this,t)}this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"==this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"==this.options.axis||(this.helper[0].style.top=this.position.top+"px");for(var s=this.items.length-1;0<=s;s--){var o=this.items[s],l=o.item[0],r=this._intersectsWithPointer(o);if(r&&!(l==this.currentItem[0]||this.placeholder[1==r?"next":"prev"]()[0]==l||c.contains(this.placeholder[0],l)||"semi-dynamic"==this.options.type&&c.contains(this.element[0],l))){if(this.direction=1==r?"down":"up","pointer"!=this.options.tolerance&&!this._intersectsWithSides(o))break;this._rearrange(t,o),this._clearEmpty(l),this._trigger("change",t,this._uiHash());break}}var n=this.placeholder[0].parentNode.parentNode&&c(this.placeholder[0].parentNode.parentNode).closest(".ui-sortable").length?c(this.placeholder[0].parentNode.parentNode):null,h=this._getLevel(this.placeholder),a=this._getChildLevels(this.helper),p=this.placeholder[0].previousSibling?c(this.placeholder[0].previousSibling):null;if(null!=p)for(;"li"!=p[0].nodeName.toLowerCase()||p[0]==this.currentItem[0];){if(!p[0].previousSibling){p=null;break}p=c(p[0].previousSibling)}return newList=document.createElement(e.listType),this.beyondMaxLevels=0,null!=n&&this.positionAbs.left<n.offset().left?(n.after(this.placeholder[0]),this._clearEmpty(n[0]),this._trigger("change",t,this._uiHash())):null!=p&&this.positionAbs.left>p.offset().left+e.tabSize?(this._isAllowed(p,h+a+1),p.children(e.listType).length||p[0].appendChild(newList),p.children(e.listType)[0].appendChild(this.placeholder[0]),this._trigger("change",t,this._uiHash())):this._isAllowed(n,h+a),this._contactContainers(t),c.ui.ddmanager&&c.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,e){if(this.beyondMaxLevels){for(var i=this.placeholder.parent().closest(this.options.items),s=this.beyondMaxLevels-1;0<s;s--)i=i.parent().closest(this.options.items);this.placeholder.removeClass(this.options.errorClass),i.after(this.placeholder),this._trigger("change",t,this._uiHash())}c.ui.sortable.prototype._mouseStop.apply(this,arguments)},serialize:function(i){var t=this._getItemsAsjQuery(i&&i.connected),s=[];return i=i||{},c(t).each(function(){var t=(c(i.item||this).attr(i.attribute||"id")||"").match(i.expression||/(.+)[-=_](.+)/),e=(c(i.item||this).parent(i.listType).parent("li").attr(i.attribute||"id")||"").match(i.expression||/(.+)[-=_](.+)/);t&&s.push((i.key||t[1]+"["+(i.key&&i.expression?t[1]:t[2])+"]")+"="+(e?i.key&&i.expression?e[1]:e[2]:"root"))}),!s.length&&i.key&&s.push(i.key+"="),s.join("&")},toHierarchy:function(s){function o(t){var e=(c(t).attr(s.attribute||"id")||"").match(s.expression||/(.+)[-=_](.+)/);if(null!=e){var i={id:e[2]};return 0<c(t).children(s.listType).children("li").length&&(i.children=[],c(t).children(s.listType).children("li").each(function(){var t=o(c(this));i.children.push(t)})),i}}(s=s||{}).startDepthCount;var e=[];return c(this.element).children("li").each(function(){var t=o(c(this));e.push(t)}),e},toArray:function(s){function t(t,e){return t.left-e.left}function o(t,e,i){return right=i+1,0<c(t).children(s.listType).children("li").length&&(e++,c(t).children(s.listType).children("li").each(function(){right=o(c(this),e,right)}),e--),id=c(t).attr(s.attribute||"id").match(s.expression||/(.+)[-=_](.+)/),e===l+1?pid="root":(parentItem=c(t).parent(s.listType).parent("li").attr("id").match(s.expression||/(.+)[-=_](.+)/),pid=parentItem[2]),null!=id&&r.push({item_id:id[2],parent_id:pid,depth:e,left:i,right:right}),right+1}var l=(s=s||{}).startDepthCount||0,r=[],e=2;return r.push({item_id:"root",parent_id:"none",depth:l,left:"1",right:2*(c("li",this.element).length+1)}),c(this.element).children("li").each(function(){e=o(this,l+1,e)}),r=r.sort(t)},_clear:function(t,e){c.ui.sortable.prototype._clear.apply(this,arguments);for(var i=this.items.length-1;0<=i;i--){var s=this.items[i].item[0];this._clearEmpty(s)}return!0},_clearEmpty:function(t){t.children[1]&&0==t.children[1].children.length&&t.removeChild(t.children[1])},_getLevel:function(t){var e=1;if(this.options.listType)for(var i=t.closest(this.options.listType);!i.is(".ui-sortable");)e++,i=i.parent().closest(this.options.listType);return e},_getChildLevels:function(t,i){var s=this,e=this.options,o=0;return i=i||0,c(t).children(e.listType).children(e.items).each(function(t,e){o=Math.max(s._getChildLevels(e,i+1),o)}),i?o+1:o},_isAllowed:function(t,e){var i=this.options;null!=t&&t.hasClass(i.disableNesting)?(this.placeholder.addClass(i.errorClass),i.maxLevels<e&&0!=i.maxLevels?this.beyondMaxLevels=e-i.maxLevels:this.beyondMaxLevels=1):i.maxLevels<e&&0!=i.maxLevels?(this.placeholder.addClass(i.errorClass),this.beyondMaxLevels=e-i.maxLevels):(this.placeholder.removeClass(i.errorClass),this.beyondMaxLevels=0)}})),c.ui.nestedSortable.prototype.options=c.extend({},c.ui.sortable.prototype.options,c.ui.nestedSortable.prototype.options)}(jQuery); \ No newline at end of file
diff --git a/public/assets/refinery/nestedsortables.js.gz b/public/assets/refinery/nestedsortables.js.gz
index c05c25c..e17768b 100644
--- a/public/assets/refinery/nestedsortables.js.gz
+++ b/public/assets/refinery/nestedsortables.js.gz
Binary files differ
diff --git a/public/assets/refinery/page-image-picker-2e152f46f671179cd0c3738b6a1cc815.css.gz b/public/assets/refinery/page-image-picker-2e152f46f671179cd0c3738b6a1cc815.css.gz
index 71edef6..5efff5a 100644
--- a/public/assets/refinery/page-image-picker-2e152f46f671179cd0c3738b6a1cc815.css.gz
+++ b/public/assets/refinery/page-image-picker-2e152f46f671179cd0c3738b6a1cc815.css.gz
Binary files differ
diff --git a/public/assets/refinery/page-image-picker-7724cd16d94e1b5061014518892b91bf.js.gz b/public/assets/refinery/page-image-picker-7724cd16d94e1b5061014518892b91bf.js.gz
index b9d20d4..1ed9d98 100644
--- a/public/assets/refinery/page-image-picker-7724cd16d94e1b5061014518892b91bf.js.gz
+++ b/public/assets/refinery/page-image-picker-7724cd16d94e1b5061014518892b91bf.js.gz
Binary files differ
diff --git a/public/assets/refinery/page-image-picker.css.gz b/public/assets/refinery/page-image-picker.css.gz
index 10be1fe..1fcce6a 100644
--- a/public/assets/refinery/page-image-picker.css.gz
+++ b/public/assets/refinery/page-image-picker.css.gz
Binary files differ
diff --git a/public/assets/refinery/page-image-picker.js.gz b/public/assets/refinery/page-image-picker.js.gz
index d3f418d..dffc812 100644
--- a/public/assets/refinery/page-image-picker.js.gz
+++ b/public/assets/refinery/page-image-picker.js.gz
Binary files differ
diff --git a/public/assets/refinery/refinery-41dfb57e7405fff112fbf719272d4cb7.js b/public/assets/refinery/refinery-41dfb57e7405fff112fbf719272d4cb7.js
new file mode 100644
index 0000000..3c490e9
--- /dev/null
+++ b/public/assets/refinery/refinery-41dfb57e7405fff112fbf719272d4cb7.js
@@ -0,0 +1,65 @@
+/*!
+ * jQuery JavaScript Library v1.10.0
+ * http://jquery.com/
+ *
+ * Includes Sizzle.js
+ * http://sizzlejs.com/
+ *
+ * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
+ * Released under the MIT license
+ * http://jquery.org/license
+ *
+ * Date: 2013-05-24T18:39Z
+ */
+function ImageDialog(t){(self=this).defaults={callback:null,multiple:!1},this.settings=$.extend({},this.defaults,t),this.create=function(){this.callback=this.settings.callback,this.init_tabs(),this.init_select(),this.init_actions()},this.init_tabs=function(){var t=$("#dialog_menu_left input:radio"),e=t.parent().filter(".selected_radio").find("input:radio").first()||t.first();t.click(function(){self.switch_area($(this))}),e.attr("checked","true"),self.switch_area(e)},this.switch_area=function(t){$("#dialog_menu_left .selected_radio").removeClass("selected_radio"),t.parent().addClass("selected_radio"),$("#dialog_main .dialog_area").hide(),$("#"+t.val()+"_area").show()},this.init_select=function(){$("#existing_image_area_content ul li img").click(function(){self.toggle_image($(this))}),0<(selected_img=$("#existing_image_area_content ul li.selected img")).length&&self.toggle_image(selected_img.first())},this.toggle_image=function(t){if(0<t.length){self.settings.multiple||$("#existing_image_area_content ul li.selected").removeClass("selected"),t.parent().toggleClass("selected");t.attr("data-id");var e=$("#existing_image_size_area li.selected a").attr("data-geometry"),i=$("#existing_image_size_area li.selected a").attr("data-size"),n=$("#wants_to_resize_image").is(":checked");image_url=n?t.attr("data-"+i):t.attr("data-original"),parent&&(null!=(wym_src=parent.document.getElementById("wym_src"))&&(wym_src.value=image_url),null!=(wym_title=parent.document.getElementById("wym_title"))&&(wym_title.value=t.attr("title")),null!=(wym_alt=parent.document.getElementById("wym_alt"))&&(wym_alt.value=t.attr("alt")),null!=(wym_size=parent.document.getElementById("wym_size"))&&void 0!==e&&(wym_size.value=e.replace(/[<>=]/g,"")))}},this.submit_image_choice=function(t){t.preventDefault(),selected_images=$("#existing_image_area_content ul li.selected img"),selected_images=self.settings.multiple?selected_images.get():selected_images.get(0),selected_images&&$.isFunction(self.callback)&&self.callback(selected_images),close_dialog(t)},this.init_actions=function(){$("#existing_image_area .form-actions-dialog #submit_button").not(".wym_iframe_body #existing_image_area .form-actions-dialog #submit_button").click($.proxy(self.submit_image_choice,self)),$(".form-actions-dialog #cancel_button").not(".wym_iframe_body .form-actions-dialog #cancel_button").click($.proxy(close_dialog,self)),$("#existing_image_size_area ul li a").click(function(t){$("#existing_image_size_area ul li").removeClass("selected"),$(this).parent().addClass("selected"),$("#existing_image_size_area #wants_to_resize_image").attr("checked","checked"),self.toggle_image($("#existing_image_area_content ul li.selected img")),t.preventDefault()}),$("#existing_image_size_area #wants_to_resize_image").change(function(){$(this).is(":checked")?$("#existing_image_size_area ul li:first a").click():($("#existing_image_size_area ul li").removeClass("selected"),self.toggle_image($("#existing_image_area_content ul li.selected img")))}),image_area=$("#existing_image_area").not("#wym_iframe_body #existing_image_area"),image_area.find(".form-actions input#submit_button").click($.proxy(function(t){t.preventDefault(),$(this.document.getElementById("wym_dialog_submit")).click()},parent)),image_area.find(".form-actions a.close_dialog").click(close_dialog)}}!function(m,k){function r(t){var e=t.length,i=Et.type(t);return!Et.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===i||"function"!==i&&(0===e||"number"==typeof e&&0<e&&e-1 in t)))}function t(t){var i=Ct[t]={};return Et.each(t.match(ut)||[],function(t,e){i[e]=!0}),i}function n(t,e,i,n){if(Et.acceptData(t)){var s,o,a=Et.expando,r=t.nodeType,l=r?Et.cache:t,h=r?t[a]:t[a]&&a;if(h&&l[h]&&(n||l[h].data)||i!==k||"string"!=typeof e)return h||(h=r?t[a]=et.pop()||Et.guid++:a),l[h]||(l[h]=r?{}:{toJSON:Et.noop}),"object"!=typeof e&&"function"!=typeof e||(n?l[h]=Et.extend(l[h],e):l[h].data=Et.extend(l[h].data,e)),o=l[h],n||(o.data||(o.data={}),o=o.data),i!==k&&(o[Et.camelCase(e)]=i),"string"==typeof e?null==(s=o[e])&&(s=o[Et.camelCase(e)]):s=o,s}}function i(t,e,i){if(Et.acceptData(t)){var n,s,o=t.nodeType,a=o?Et.cache:t,r=o?t[Et.expando]:Et.expando;if(a[r]){if(e&&(n=i?a[r]:a[r].data)){s=(e=Et.isArray(e)?e.concat(Et.map(e,Et.camelCase)):e in n?[e]:(e=Et.camelCase(e))in n?[e]:e.split(" ")).length;for(;s--;)delete n[e[s]];if(i?!h(n):!Et.isEmptyObject(n))return}(i||(delete a[r].data,h(a[r])))&&(o?Et.cleanData([t],!0):Et.support.deleteExpando||a!=a.window?delete a[r]:a[r]=null)}}}function l(t,e,i){if(i===k&&1===t.nodeType){var n="data-"+e.replace(Tt,"-$1").toLowerCase();if("string"==typeof(i=t.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:Dt.test(i)?Et.parseJSON(i):i)}catch(s){}Et.data(t,e,i)}else i=k}return i}function h(t){var e;for(e in t)if(("data"!==e||!Et.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function s(){return!0}function c(){return!1}function e(){try{return Q.activeElement}catch(t){}}function o(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function a(t,i,n){if(Et.isFunction(i))return Et.grep(t,function(t,e){return!!i.call(t,e,t)!==n});if(i.nodeType)return Et.grep(t,function(t){return t===i!==n});if("string"==typeof i){if(Rt.test(i))return Et.filter(i,t,n);i=Et.filter(i,t)}return Et.grep(t,function(t){return 0<=Et.inArray(t,i)!==n})}function g(t){var e=Ut.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}function u(t,e){return Et.nodeName(t,"table")&&Et.nodeName(1===e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function v(t){return t.type=(null!==Et.find.attr(t,"type"))+"/"+t.type,t}function b(t){var e=se.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function _(t,e){for(var i,n=0;null!=(i=t[n]);n++)Et._data(i,"globalEval",!e||Et._data(e[n],"globalEval"))}function d(t,e){if(1===e.nodeType&&Et.hasData(t)){var i,n,s,o=Et._data(t),a=Et._data(e,o),r=o.events;if(r)for(i in delete a.handle,a.events={},r)for(n=0,s=r[i].length;n<s;n++)Et.event.add(e,i,r[i][n]);a.data&&(a.data=Et.extend({},a.data))}}function p(t,e){var i,n,s;if(1===e.nodeType){if(i=e.nodeName.toLowerCase(),!Et.support.noCloneEvent&&e[Et.expando]){for(n in(s=Et._data(e)).events)Et.removeEvent(e,n,s.handle);e.removeAttribute(Et.expando)}"script"===i&&e.text!==t.text?(v(e).text=t.text,b(e)):"object"===i?(e.parentNode&&(e.outerHTML=t.outerHTML),Et.support.html5Clone&&t.innerHTML&&!Et.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===i&&ee.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===i?e.defaultSelected=e.selected=t.defaultSelected:"input"!==i&&"textarea"!==i||(e.defaultValue=t.defaultValue)}}function y(t,e){var i,n,s=0,o=typeof t.getElementsByTagName!==V?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==V?t.querySelectorAll(e||"*"):k;if(!o)for(o=[],i=t.childNodes||t;null!=(n=i[s]);s++)!e||Et.nodeName(n,e)?o.push(n):Et.merge(o,y(n,e));return e===k||e&&Et.nodeName(t,e)?Et.merge([t],o):o}function w(t){ee.test(t.type)&&(t.defaultChecked=t.checked)}function f(t,e){if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),n=e,s=ke.length;s--;)if((e=ke[s]+i)in t)return e;return n}function x(t,e){return t=e||t,"none"===Et.css(t,"display")||!Et.contains(t.ownerDocument,t)}function C(t,e){for(var i,n,s,o=[],a=0,r=t.length;a<r;a++)(n=t[a]).style&&(o[a]=Et._data(n,"olddisplay"),i=n.style.display,e?(o[a]||"none"!==i||(n.style.display=""),""===n.style.display&&x(n)&&(o[a]=Et._data(n,"olddisplay",N(n.nodeName)))):o[a]||(s=x(n),(i&&"none"!==i||!s)&&Et._data(n,"olddisplay",s?i:Et.css(n,"display"))));for(a=0;a<r;a++)(n=t[a]).style&&(e&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=e?o[a]||"":"none"));return t}function D(t,e,i){var n=ge.exec(e);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):e}function T(t,e,i,n,s){for(var o=i===(n?"border":"content")?4:"width"===e?1:0,a=0;o<4;o+=2)"margin"===i&&(a+=Et.css(t,i+xe[o],!0,s)),n?("content"===i&&(a-=Et.css(t,"padding"+xe[o],!0,s)),"margin"!==i&&(a-=Et.css(t,"border"+xe[o]+"Width",!0,s))):(a+=Et.css(t,"padding"+xe[o],!0,s),"padding"!==i&&(a+=Et.css(t,"border"+xe[o]+"Width",!0,s)));return a}function S(t,e,i){var n=!0,s="width"===e?t.offsetWidth:t.offsetHeight,o=he(t),a=Et.support.boxSizing&&"border-box"===Et.css(t,"boxSizing",!1,o);if(s<=0||null==s){if(((s=ce(t,e,o))<0||null==s)&&(s=t.style[e]),ve.test(s))return s;n=a&&(Et.support.boxSizingReliable||s===t.style[e]),s=parseFloat(s)||0}return s+T(t,e,i||(a?"border":"content"),n,o)+"px"}function N(t){var e=Q,i=_e[t];return i||("none"!==(i=E(t,e))&&i||((e=((le=(le||Et("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(e.documentElement))[0].contentWindow||le[0].contentDocument).document).write("<!doctype html><html><body>"),e.close(),i=E(t,e),le.detach()),_e[t]=i),i}function E(t,e){var i=Et(e.createElement(t)).appendTo(e.body),n=Et.css(i[0],"display");return i.remove(),n}function I(i,t,n,s){var e;if(Et.isArray(t))Et.each(t,function(t,e){n||De.test(i)?s(i,e):I(i+"["+("object"==typeof e?t:"")+"]",e,n,s)});else if(n||"object"!==Et.type(t))s(i,t);else for(e in t)I(i+"["+e+"]",t[e],n,s)}function P(o){return function(t,e){"string"!=typeof t&&(e=t,t="*");var i,n=0,s=t.toLowerCase().match(ut)||[];if(Et.isFunction(e))for(;i=s[n++];)"+"===i[0]?(i=i.slice(1)||"*",(o[i]=o[i]||[]).unshift(e)):(o[i]=o[i]||[]).push(e)}}function M(e,s,o,a){function r(t){var n;return l[t]=!0,Et.each(e[t]||[],function(t,e){var i=e(s,o,a);return"string"!=typeof i||h||l[i]?h?!(n=i):void 0:(s.dataTypes.unshift(i),r(i),!1)}),n}var l={},h=e===Re;return r(s.dataTypes[0])||!l["*"]&&r("*")}function A(t,e){var i,n,s=Et.ajaxSettings.flatOptions||{};for(n in e)e[n]!==k&&((s[n]?t:i||(i={}))[n]=e[n]);return i&&Et.extend(!0,t,i),t}function $(t,e,i){for(var n,s,o,a,r=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),s===k&&(s=t.mimeType||e.getResponseHeader("Content-Type"));if(s)for(a in r)if(r[a]&&r[a].test(s)){l.unshift(a);break}if(l[0]in i)o=l[0];else{for(a in i){if(!l[0]||t.converters[a+" "+l[0]]){o=a;break}n||(n=a)}o=o||n}if(o)return o!==l[0]&&l.unshift(o),i[o]}function z(t,e,i,n){var s,o,a,r,l,h={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)h[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(i[t.responseFields[o]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=h[l+" "+o]||h["* "+o]))for(s in h)if((r=s.split(" "))[1]===o&&(a=h[l+" "+r[0]]||h["* "+r[0]])){!0===a?a=h[s]:!0!==h[s]&&(o=r[0],c.unshift(r[1]));break}if(!0!==a)if(a&&t["throws"])e=a(e);else try{e=a(e)}catch(u){return{state:"parsererror",error:a?u:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}function H(){try{return new m.XMLHttpRequest}catch(t){}}function j(){try{return new m.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function W(){return setTimeout(function(){Qe=k}),Qe=Et.now()}function O(t,e,i){for(var n,s=(ii[e]||[]).concat(ii["*"]),o=0,a=s.length;o<a;o++)if(n=s[o].call(i,e,t))return n}function L(o,t,e){var i,a,n=0,s=ei.length,r=Et.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var t=Qe||W(),e=Math.max(0,h.startTime+h.duration-t),i=1-(e/h.duration||0),n=0,s=h.tweens.length;n<s;n++)h.tweens[n].run(i);return r.notifyWith(o,[h,i,e]),i<1&&s?e:(r.resolveWith(o,[h]),!1)},h=r.promise({elem:o,props:Et.extend({},t),opts:Et.extend(!0,{specialEasing:{}},e),originalProperties:t,originalOptions:e,startTime:Qe||W(),duration:e.duration,tweens:[],createTween:function(t,e){var i=Et.Tween(o,h.opts,t,e,h.opts.specialEasing[t]||h.opts.easing);return h.tweens.push(i),i},stop:function(t){var e=0,i=t?h.tweens.length:0;if(a)return this;for(a=!0;e<i;e++)h.tweens[e].run(1);return t?r.resolveWith(o,[h,t]):r.rejectWith(o,[h,t]),this}}),c=h.props;for(F(c,h.opts.specialEasing);n<s;n++)if(i=ei[n].call(h,o,c,h.opts))return i;return Et.map(c,O,h),Et.isFunction(h.opts.start)&&h.opts.start.call(o,h),Et.fx.timer(Et.extend(l,{elem:o,anim:h,queue:h.opts.queue})),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always)}function F(t,e){var i,n,s,o,a;for(i in t)if(s=e[n=Et.camelCase(i)],o=t[i],Et.isArray(o)&&(s=o[1],o=t[i]=o[0]),i!==n&&(t[n]=o,delete t[i]),(a=Et.cssHooks[n])&&"expand"in a)for(i in o=a.expand(o),delete t[n],o)i in t||(t[i]=o[i],e[i]=s);else e[n]=s}function R(e,t,i){var n,s,o,a,r,l,h=this,c={},u=e.style,d=e.nodeType&&x(e),p=Et._data(e,"fxshow");for(n in i.queue||(null==(r=Et._queueHooks(e,"fx")).unqueued&&(r.unqueued=0,l=r.empty.fire,r.empty.fire=function(){r.unqueued||l()}),r.unqueued++,h.always(function(){h.always(function(){r.unqueued--,Et.queue(e,"fx").length||r.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(i.overflow=[u.overflow,u.overflowX,u.overflowY],"inline"===Et.css(e,"display")&&"none"===Et.css(e,"float")&&(Et.support.inlineBlockNeedsLayout&&"inline"!==N(e.nodeName)?u.zoom=1:u.display="inline-block")),i.overflow&&(u.overflow="hidden",Et.support.shrinkWrapBlocks||h.always(function(){u.overflow=i.overflow[0],u.overflowX=i.overflow[1],u.overflowY=i.overflow[2]})),t)if(s=t[n],Je.exec(s)){if(delete t[n],o=o||"toggle"===s,s===(d?"hide":"show"))continue;c[n]=p&&p[n]||Et.style(e,n)}if(!Et.isEmptyObject(c))for(n in p?"hidden"in p&&(d=p.hidden):p=Et._data(e,"fxshow",{}),o&&(p.hidden=!d),d?Et(e).show():h.done(function(){Et(e).hide()}),h.done(function(){var t;for(t in Et._removeData(e,"fxshow"),c)Et.style(e,t,c[t])}),c)a=O(d?p[n]:0,n,h),n in p||(p[n]=a.start,d&&(a.end=a.start,a.start="width"===n||"height"===n?1:0))}function B(t,e,i,n,s){return new B.prototype.init(t,e,i,n,s)}function q(t,e){var i,n={height:t},s=0;for(e=e?1:0;s<4;s+=2-e)n["margin"+(i=xe[s])]=n["padding"+i]=t;return e&&(n.opacity=n.width=t),n}function Y(t){return Et.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}var U,K,V=typeof k,X=m.location,Q=m.document,G=Q.documentElement,J=m.jQuery,Z=m.$,tt={},et=[],it="1.10.0",nt=et.concat,st=et.push,ot=et.slice,at=et.indexOf,rt=tt.toString,lt=tt.hasOwnProperty,ht=it.trim,Et=function(t,e){return new Et.fn.init(t,e,K)},ct=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ut=/\S+/g,dt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,pt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ft=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,mt=/^[\],:{}\s]*$/,gt=/(?:^|:|,)(?:\s*\[)+/g,vt=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,bt=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,_t=/^-ms-/,yt=/-([\da-z])/gi,wt=function(t,e){return e.toUpperCase()},xt=function(t){(Q.addEventListener||"load"===t.type||"complete"===Q.readyState)&&(kt(),Et.ready())},kt=function(){Q.addEventListener?(Q.removeEventListener("DOMContentLoaded",xt,!1),m.removeEventListener("load",xt,!1)):(Q.detachEvent("onreadystatechange",xt),m.detachEvent("onload",xt))};Et.fn=Et.prototype={jquery:it,constructor:Et,init:function(t,e,i){var n,s;if(!t)return this;if("string"!=typeof t)return t.nodeType?(this.context=this[0]=t,this.length=1,this):Et.isFunction(t)?i.ready(t):(t.selector!==k&&(this.selector=t.selector,this.context=t.context),Et.makeArray(t,this));if(!(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:pt.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof Et?e[0]:e,Et.merge(this,Et.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:Q,!0)),ft.test(n[1])&&Et.isPlainObject(e))for(n in e)Et.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if((s=Q.getElementById(n[2]))&&s.parentNode){if(s.id!==n[2])return i.find(t);this.length=1,this[0]=s}return this.context=Q,this.selector=t,this},selector:"",length:0,toArray:function(){return ot.call(this)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t){var e=Et.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return Et.each(this,t,e)},ready:function(t){return Et.ready.promise().done(t),this},slice:function(){return this.pushStack(ot.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(0<=i&&i<e?[this[i]]:[])},map:function(i){return this.pushStack(Et.map(this,function(t,e){return i.call(t,e,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:st,sort:[].sort,splice:[].splice},Et.fn.init.prototype=Et.fn,Et.extend=Et.fn.extend=function(t,e){var i,n,s,o,a,r,l=t||{},h=1,c=arguments.length,u=!1;for("boolean"==typeof l&&(u=l,l=e||{},h=2),"object"==typeof l||Et.isFunction(l)||(l={}),c===h&&(l=this,--h);h<c;h++)if(null!=(a=arguments[h]))for(o in a)i=l[o],l!==(s=a[o])&&(u&&s&&(Et.isPlainObject(s)||(n=Et.isArray(s)))?(n?(n=!1,r=i&&Et.isArray(i)?i:[]):r=i&&Et.isPlainObject(i)?i:{},l[o]=Et.extend(u,r,s)):s!==k&&(l[o]=s));return l},Et.extend({expando:"jQuery"+(it+Math.random()).replace(/\D/g,""),noConflict:function(t){return m.$===Et&&(m.$=Z),t&&m.jQuery===Et&&(m.jQuery=J),Et},isReady:!1,readyWait:1,holdReady:function(t){t?Et.readyWait++:Et.ready(!0)},ready:function(t){if(!0===t?!--Et.readyWait:!Et.isReady){if(!Q.body)return setTimeout(Et.ready);(Et.isReady=!0)!==t&&0<--Et.readyWait||(U.resolveWith(Q,[Et]),Et.fn.trigger&&Et(Q).trigger("ready").off("ready"))}},isFunction:function(t){return"function"===Et.type(t)},isArray:Array.isArray||function(t){return"array"===Et.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?String(t):"object"==typeof t||"function"==typeof t?tt[rt.call(t)]||"object":typeof t},isPlainObject:function(t){var e;if(!t||"object"!==Et.type(t)||t.nodeType||Et.isWindow(t))return!1;try{if(t.constructor&&!lt.call(t,"constructor")&&!lt.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(i){return!1}if(Et.support.ownLast)for(e in t)return lt.call(t,e);for(e in t);return e===k||lt.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},error:function(t){throw new Error(t)},parseHTML:function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||Q;var n=ft.exec(t),s=!i&&[];return n?[e.createElement(n[1])]:(n=Et.buildFragment([t],e,s),s&&Et(s).remove(),Et.merge([],n.childNodes))},parseJSON:function(t){return m.JSON&&m.JSON.parse?m.JSON.parse(t):null===t?t:"string"==typeof t&&(t=Et.trim(t))&&mt.test(t.replace(vt,"@").replace(bt,"]").replace(gt,""))?new Function("return "+t)():void Et.error("Invalid JSON: "+t)},parseXML:function(t){var e;if(!t||"string"!=typeof t)return null;try{m.DOMParser?e=(new DOMParser).parseFromString(t,"text/xml"):((e=new ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t))}catch(i){e=k}return e&&e.documentElement&&!e.getElementsByTagName("parsererror").length||Et.error("Invalid XML: "+t),e},noop:function(){},globalEval:function(t){t&&Et.trim(t)&&(m.execScript||function(t){m.eval.call(m,t)})(t)},camelCase:function(t){return t.replace(_t,"ms-").replace(yt,wt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var n=0,s=t.length,o=r(t);if(i){if(o)for(;n<s&&!1!==e.apply(t[n],i);n++);else for(n in t)if(!1===e.apply(t[n],i))break}else if(o)for(;n<s&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},trim:ht&&!ht.call("\ufeff\xa0")?function(t){return null==t?"":ht.call(t)}:function(t){return null==t?"":(t+"").replace(dt,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(r(Object(t))?Et.merge(i,"string"==typeof t?[t]:t):st.call(i,t)),i},inArray:function(t,e,i){var n;if(e){if(at)return at.call(e,t,i);for(n=e.length,i=i?i<0?Math.max(0,n+i):i:0;i<n;i++)if(i in e&&e[i]===t)return i}return-1},merge:function(t,e){var i=e.length,n=t.length,s=0;if("number"==typeof i)for(;s<i;s++)t[n++]=e[s];else for(;e[s]!==k;)t[n++]=e[s++];return t.length=n,t},grep:function(t,e,i){var n=[],s=0,o=t.length;for(i=!!i;s<o;s++)i!==!!e(t[s],s)&&n.push(t[s]);return n},map:function(t,e,i){var n,s=0,o=t.length,a=[];if(r(t))for(;s<o;s++)null!=(n=e(t[s],s,i))&&(a[a.length]=n);else for(s in t)null!=(n=e(t[s],s,i))&&(a[a.length]=n);return nt.apply([],a)},guid:1,proxy:function(t,e){var i,n,s;return"string"==typeof e&&(s=t[e],e=t,t=s),Et.isFunction(t)?(i=ot.call(arguments,2),(n=function(){return t.apply(e||this,i.concat(ot.call(arguments)))}).guid=t.guid=t.guid||Et.guid++,n):k},access:function(t,e,i,n,s,o,a){var r=0,l=t.length,h=null==i;if("object"===Et.type(i))for(r in s=!0,i)Et.access(t,e,r,i[r],!0,o,a);else if(n!==k&&(s=!0,Et.isFunction(n)||(a=!0),h&&(a?(e.call(t,n),e=null):(h=e,e=function(t,e,i){return h.call(Et(t),i)})),e))for(;r<l;r++)e(t[r],i,a?n:n.call(t[r],r,e(t[r],i)));return s?t:h?e.call(t):l?e(t[0],i):o},now:function(){return(new Date).getTime()},swap:function(t,e,i,n){var s,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];for(o in s=i.apply(t,n||[]),e)t.style[o]=a[o];return s}}),Et.ready.promise=function(t){if(!U)if(U=Et.Deferred(),"complete"===Q.readyState)setTimeout(Et.ready);else if(Q.addEventListener)Q.addEventListener("DOMContentLoaded",xt,!1),m.addEventListener("load",xt,!1);else{Q.attachEvent("onreadystatechange",xt),m.attachEvent("onload",xt);var e=!1;try{e=null==m.frameElement&&Q.documentElement}catch(i){}e&&e.doScroll&&function n(){if(!Et.isReady){try{e.doScroll("left")}catch(i){return setTimeout(n,50)}kt(),Et.ready()}}()}return U.promise(t)},Et.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){tt["[object "+e+"]"]=e.toLowerCase()}),K=Et(Q),
+/*!
+ * Sizzle CSS Selector Engine v1.9.4-pre
+ * http://sizzlejs.com/
+ *
+ * Copyright 2013 jQuery Foundation, Inc. and other contributors
+ * Released under the MIT license
+ * http://jquery.org/license
+ *
+ * Date: 2013-05-15
+ */
+function(i,s){function w(t,e,i,n){var s,o,a,r,l,h,c,u,d,p;if((e?e.ownerDocument||e:q)!==H&&z(e),i=i||[],!t||"string"!=typeof t)return i;if(1!==(r=(e=e||H).nodeType)&&9!==r)return[];if(W&&!n){if(s=xt.exec(t))if(a=s[1]){if(9===r){if(!(o=e.getElementById(a))||!o.parentNode)return i;if(o.id===a)return i.push(o),i}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(a))&&R(e,o)&&o.id===a)return i.push(o),i}else{if(s[2])return st.apply(i,e.getElementsByTagName(t)),i;if((a=s[3])&&S.getElementsByClassName&&e.getElementsByClassName)return st.apply(i,e.getElementsByClassName(a)),i}if(S.qsa&&(!O||!O.test(t))){if(u=c=B,d=e,p=9===r&&t,1===r&&"object"!==e.nodeName.toLowerCase()){for(h=m(t),(c=e.getAttribute("id"))?u=c.replace(Dt,"\\$&"):e.setAttribute("id",u),u="[id='"+u+"'] ",l=h.length;l--;)h[l]=u+g(h[l]);d=gt.test(t)&&e.parentNode||e,p=h.join(",")}if(p)try{return st.apply(i,d.querySelectorAll(p)),i}catch(f){}finally{c||e.removeAttribute("id")}}}return C(t.replace(pt,"$1"),e,i,n)}function e(t){return wt.test(t+"")}function t(){function i(t,e){return n.push(t+=" ")>E.cacheLength&&delete i[n.shift()],i[t]=e}var n=[];return i}function l(t){return t[B]=!0,t}function n(t){var e=H.createElement("div");try{return!!t(e)}catch(i){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e,i){for(var n,s=(t=t.split("|")).length,o=i?null:e;s--;)(n=E.attrHandle[t[s]])&&n!==e||(E.attrHandle[t[s]]=o)}function a(t,e){var i=t.getAttributeNode(e);return i&&i.specified?i.value:!0===t[e]?e.toLowerCase():null}function r(t,e){return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}function h(t){if("input"===t.nodeName.toLowerCase())return t.defaultValue}function c(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||Z)-(~t.sourceIndex||Z);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function u(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function d(i){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===i}}function p(a){return l(function(o){return o=+o,l(function(t,e){for(var i,n=a([],t.length,o),s=n.length;s--;)t[i=n[s]]&&(t[i]=!(e[i]=t[i]))})})}function m(t,e){var i,n,s,o,a,r,l,h=V[t+" "];if(h)return e?0:h.slice(0);for(a=t,r=[],l=E.preFilter;a;){for(o in i&&!(n=ft.exec(a))||(n&&(a=a.slice(n[0].length)||a),r.push(s=[])),i=!1,(n=mt.exec(a))&&(i=n.shift(),s.push({value:i,type:n[0].replace(pt," ")}),a=a.slice(i.length)),E.filter)!(n=yt[o].exec(a))||l[o]&&!(n=l[o](n))||(i=n.shift(),s.push({value:i,type:o,matches:n}),a=a.slice(i.length));if(!i)break}return e?a.length:a?w.error(t):V(t,r).slice(0)}function g(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function f(r,t,e){var l=t.dir,h=e&&"parentNode"===l,c=U++;return t.first?function(t,e,i){for(;t=t[l];)if(1===t.nodeType||h)return r(t,e,i)}:function(t,e,i){var n,s,o,a=Y+" "+c;if(i){for(;t=t[l];)if((1===t.nodeType||h)&&r(t,e,i))return!0}else for(;t=t[l];)if(1===t.nodeType||h)if((s=(o=t[B]||(t[B]={}))[l])&&s[0]===a){if(!0===(n=s[1])||n===N)return!0===n}else if((s=o[l]=[a])[1]=r(t,e,i)||N,!0===s[1])return!0}}function v(s){return 1<s.length?function(t,e,i){for(var n=s.length;n--;)if(!s[n](t,e,i))return!1;return!0}:s[0]}function x(t,e,i,n,s){for(var o,a=[],r=0,l=t.length,h=null!=e;r<l;r++)(o=t[r])&&(i&&!i(o,n,s)||(a.push(o),h&&e.push(r)));return a}function b(p,f,m,g,v,t){return g&&!g[B]&&(g=b(g)),v&&!v[B]&&(v=b(v,t)),l(function(t,e,i,n){var s,o,a,r=[],l=[],h=e.length,c=t||k(f||"*",i.nodeType?[i]:i,[]),u=!p||!t&&f?c:x(c,r,p,i,n),d=m?v||(t?p:h||g)?[]:e:u;if(m&&m(u,d,i,n),g)for(s=x(d,l),g(s,[],i,n),o=s.length;o--;)(a=s[o])&&(d[l[o]]=!(u[l[o]]=a));if(t){if(v||p){if(v){for(s=[],o=d.length;o--;)(a=d[o])&&s.push(u[o]=a);v(null,d=[],s,n)}for(o=d.length;o--;)(a=d[o])&&-1<(s=v?at.call(t,a):r[o])&&(t[s]=!(e[s]=a))}}else d=x(d===e?d.splice(h,d.length):d),v?v(null,e,d,n):st.apply(e,d)})}function _(t){for(var n,e,i,s=t.length,o=E.relative[t[0].type],a=o||E.relative[" "],r=o?1:0,l=f(function(t){return t===n},a,!0),h=f(function(t){return-1<at.call(n,t)},a,!0),c=[function(t,e,i){return!o&&(i||e!==A)||((n=e).nodeType?l(t,e,i):h(t,e,i))}];r<s;r++)if(e=E.relative[t[r].type])c=[f(v(c),e)];else{if((e=E.filter[t[r].type].apply(null,t[r].matches))[B]){for(i=++r;i<s&&!E.relative[t[i].type];i++);return b(1<r&&v(c),1<r&&g(t.slice(0,r-1).concat({value:" "===t[r-2].type?"*":""})).replace(pt,"$1"),e,r<i&&_(t.slice(r,i)),i<s&&_(t=t.slice(i)),i<s&&g(t))}c.push(e)}return v(c)}function y(g,v){var b=0,_=0<v.length,y=0<g.length,t=function(t,e,i,n,s){var o,a,r,l=[],h=0,c="0",u=t&&[],d=null!=s,p=A,f=t||y&&E.find.TAG("*",s&&e.parentNode||e),m=Y+=null==p?1:Math.random()||.1;for(d&&(A=e!==H&&e,N=b);null!=(o=f[c]);c++){if(y&&o){for(a=0;r=g[a++];)if(r(o,e,i)){n.push(o);break}d&&(Y=m,N=++b)}_&&((o=!r&&o)&&h--,t&&u.push(o))}if(h+=c,_&&c!==h){for(a=0;r=v[a++];)r(u,l,e,i);if(t){if(0<h)for(;c--;)u[c]||l[c]||(l[c]=it.call(n));l=x(l)}st.apply(n,l),d&&!t&&0<l.length&&1<h+v.length&&w.uniqueSort(n)}return d&&(Y=m,A=p),u};return _?l(t):t}function k(t,e,i){for(var n=0,s=e.length;n<s;n++)w(t,e[n],i);return i}function C(t,e,i,n){var s,o,a,r,l,h=m(t);if(!n&&1===h.length){if(2<(o=h[0]=h[0].slice(0)).length&&"ID"===(a=o[0]).type&&S.getById&&9===e.nodeType&&W&&E.relative[o[1].type]){if(!(e=(E.find.ID(a.matches[0].replace(Tt,St),e)||[])[0]))return i;t=t.slice(o.shift().value.length)}for(s=yt.needsContext.test(t)?0:o.length;s--&&(a=o[s],!E.relative[r=a.type]);)if((l=E.find[r])&&(n=l(a.matches[0].replace(Tt,St),gt.test(o[0].type)&&e.parentNode||e))){if(o.splice(s,1),!(t=n.length&&g(o)))return st.apply(i,n),i;break}}return M(t,h)(n,e,!W,i,gt.test(t)),i}function D(){}var T,S,N,E,I,P,M,A,$,z,H,j,W,O,L,F,R,B="sizzle"+-new Date,q=i.document,Y=0,U=0,K=t(),V=t(),X=t(),Q=!1,G=function(){return 0},J=typeof s,Z=1<<31,tt={}.hasOwnProperty,et=[],it=et.pop,nt=et.push,st=et.push,ot=et.slice,at=et.indexOf||function(t){for(var e=0,i=this.length;e<i;e++)if(this[e]===t)return e;return-1},rt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",lt="[\\x20\\t\\r\\n\\f]",ht="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ct=ht.replace("w","w#"),ut="\\["+lt+"*("+ht+")"+lt+"*(?:([*^$|!~]?=)"+lt+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ct+")|)|)"+lt+"*\\]",dt=":("+ht+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+ut.replace(3,8)+")*)|.*)\\)|)",pt=new RegExp("^"+lt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+lt+"+$","g"),ft=new RegExp("^"+lt+"*,"+lt+"*"),mt=new RegExp("^"+lt+"*([>+~]|"+lt+")"+lt+"*"),gt=new RegExp(lt+"*[+~]"),vt=new RegExp("="+lt+"*([^\\]'\"]*)"+lt+"*\\]","g"),bt=new RegExp(dt),_t=new RegExp("^"+ct+"$"),yt={ID:new RegExp("^#("+ht+")"),CLASS:new RegExp("^\\.("+ht+")"),TAG:new RegExp("^("+ht.replace("w","w*")+")"),ATTR:new RegExp("^"+ut),PSEUDO:new RegExp("^"+dt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+lt+"*(even|odd|(([+-]|)(\\d*)n|)"+lt+"*(?:([+-]|)"+lt+"*(\\d+)|))"+lt+"*\\)|)","i"),bool:new RegExp("^(?:"+rt+")$","i"),needsContext:new RegExp("^"+lt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+lt+"*((?:-\\d)?\\d*)"+lt+"*\\)|)(?=[^-]|$)","i")},wt=/^[^{]+\{\s*\[native \w/,xt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,kt=/^(?:input|select|textarea|button)$/i,Ct=/^h\d$/i,Dt=/'|\\/g,Tt=new RegExp("\\\\([\\da-f]{1,6}"+lt+"?|("+lt+")|.)","ig"),St=function(t,e,i){var n="0x"+e-65536;return n!=n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)};try{st.apply(et=ot.call(q.childNodes),q.childNodes),et[q.childNodes.length].nodeType}catch(Nt){st={apply:et.length?function(t,e){nt.apply(t,ot.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}for(T in P=w.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},S=w.support={},z=w.setDocument=function(t){var l=t?t.ownerDocument||t:q;return l!==H&&9===l.nodeType&&l.documentElement?(j=(H=l).documentElement,W=!P(l),S.attributes=n(function(t){return t.innerHTML="<a href='#'></a>",o("type|href|height|width",r,"#"===t.firstChild.getAttribute("href")),o(rt,a,null==t.getAttribute("disabled")),t.className="i",!t.getAttribute("className")}),S.input=n(function(t){return t.innerHTML="<input>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}),o("value",h,S.attributes&&S.input),S.getElementsByTagName=n(function(t){return t.appendChild(l.createComment("")),!t.getElementsByTagName("*").length}),S.getElementsByClassName=n(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),S.getById=n(function(t){return j.appendChild(t).id=B,!l.getElementsByName||!l.getElementsByName(B).length}),S.getById?(E.find.ID=function(t,e){if(typeof e.getElementById!==J&&W){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},E.filter.ID=function(t){var e=t.replace(Tt,St);return function(t){return t.getAttribute("id")===e}}):(delete E.find.ID,E.filter.ID=function(t){var i=t.replace(Tt,St);return function(t){var e=typeof t.getAttributeNode!==J&&t.getAttributeNode("id");return e&&e.value===i}}),E.find.TAG=S.getElementsByTagName?function(t,e){if(typeof e.getElementsByTagName!==J)return e.getElementsByTagName(t)}:function(t,e){var i,n=[],s=0,o=e.getElementsByTagName(t);if("*"!==t)return o;for(;i=o[s++];)1===i.nodeType&&n.push(i);return n},E.find.CLASS=S.getElementsByClassName&&function(t,e){if(typeof e.getElementsByClassName!==J&&W)return e.getElementsByClassName(t)},L=[],O=[],(S.qsa=e(l.querySelectorAll))&&(n(function(t){t.innerHTML="<select><option selected=''></option></select>",t.querySelectorAll("[selected]").length||O.push("\\["+lt+"*(?:value|"+rt+")"),t.querySelectorAll(":checked").length||O.push(":checked")}),n(function(t){var e=l.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("t",""),t.querySelectorAll("[t^='']").length&&O.push("[*^$]="+lt+"*(?:''|\"\")"),t.querySelectorAll(":enabled").length||O.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),O.push(",.*:")})),(S.matchesSelector=e(F=j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&n(function(t){S.disconnectedMatch=F.call(t,"div"),F.call(t,"[s!='']:x"),L.push("!=",dt)}),O=O.length&&new RegExp(O.join("|")),L=L.length&&new RegExp(L.join("|")),R=e(j.contains)||j.compareDocumentPosition?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},S.sortDetached=n(function(t){return 1&t.compareDocumentPosition(l.createElement("div"))}),G=j.compareDocumentPosition?function(t,e){if(t===e)return Q=!0,0;var i=e.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(e);return i?1&i||!S.sortDetached&&e.compareDocumentPosition(t)===i?t===l||R(q,t)?-1:e===l||R(q,e)?1:$?at.call($,t)-at.call($,e):0:4&i?-1:1:t.compareDocumentPosition?-1:1}:function(t,e){var i,n=0,s=t.parentNode,o=e.parentNode,a=[t],r=[e];if(t===e)return Q=!0,0;if(!s||!o)return t===l?-1:e===l?1:s?-1:o?1:$?at.call($,t)-at.call($,e):0;if(s===o)return c(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)r.unshift(i);for(;a[n]===r[n];)n++;return n?c(a[n],r[n]):a[n]===q?-1:r[n]===q?1:0},l):H},w.matches=function(t,e){return w(t,null,null,e)},w.matchesSelector=function(t,e){if((t.ownerDocument||t)!==H&&z(t),e=e.replace(vt,"='$1']"),S.matchesSelector&&W&&(!L||!L.test(e))&&(!O||!O.test(e)))try{var i=F.call(t,e);if(i||S.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(Nt){}return 0<w(e,H,null,[t]).length},w.contains=function(t,e){return(t.ownerDocument||t)!==H&&z(t),R(t,e)},w.attr=function(t,e){(t.ownerDocument||t)!==H&&z(t);var i=E.attrHandle[e.toLowerCase()],n=i&&tt.call(E.attrHandle,e.toLowerCase())?i(t,e,!W):s;return n===s?S.attributes||!W?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null:n},w.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},w.uniqueSort=function(t){var e,i=[],n=0,s=0;if(Q=!S.detectDuplicates,$=!S.sortStable&&t.slice(0),t.sort(G),Q){for(;e=t[s++];)e===t[s]&&(n=i.push(s));for(;n--;)t.splice(i[n],1)}return t},I=w.getText=function(t){var e,i="",n=0,s=t.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=I(t)}else if(3===s||4===s)return t.nodeValue}else for(;e=t[n];n++)i+=I(e);return i},E=w.selectors={cacheLength:50,createPseudo:l,match:yt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Tt,St),t[3]=(t[4]||t[5]||"").replace(Tt,St),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||w.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&w.error(t[0]),t},PSEUDO:function(t){var e,i=!t[5]&&t[2];return yt.CHILD.test(t[0])?null:(t[3]&&t[4]!==s?t[2]=t[4]:i&&bt.test(i)&&(e=m(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(Tt,St).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=K[t+" "];return e||(e=new RegExp("(^|"+lt+")"+t+"("+lt+"|$)"))&&K(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==J&&t.getAttribute("class")||"")})},ATTR:function(i,n,s){return function(t){var e=w.attr(t,i);return null==e?"!="===n:!n||(e+="","="===n?e===s:"!="===n?e!==s:"^="===n?s&&0===e.indexOf(s):"*="===n?s&&-1<e.indexOf(s):"$="===n?s&&e.slice(-s.length)===s:"~="===n?-1<(" "+e+" ").indexOf(s):"|="===n&&(e===s||e.slice(0,s.length+1)===s+"-"))}},CHILD:function(p,t,e,f,m){var g="nth"!==p.slice(0,3),v="last"!==p.slice(-4),b="of-type"===t;return 1===f&&0===m?function(t){return!!t.parentNode}:function(t,e,i){var n,s,o,a,r,l,h=g!==v?"nextSibling":"previousSibling",c=t.parentNode,u=b&&t.nodeName.toLowerCase(),d=!i&&!b;if(c){if(g){for(;h;){for(o=t;o=o[h];)if(b?o.nodeName.toLowerCase()===u:1===o.nodeType)return!1;l=h="only"===p&&!l&&"nextSibling"}return!0}if(l=[v?c.firstChild:c.lastChild],v&&d){for(r=(n=(s=c[B]||(c[B]={}))[p]||[])[0]===Y&&n[1],a=n[0]===Y&&n[2],o=r&&c.childNodes[r];o=++r&&o&&o[h]||(a=r=0)||l.pop();)if(1===o.nodeType&&++a&&o===t){s[p]=[Y,r,a];break}}else if(d&&(n=(t[B]||(t[B]={}))[p])&&n[0]===Y)a=n[1];else for(;(o=++r&&o&&o[h]||(a=r=0)||l.pop())&&((b?o.nodeName.toLowerCase()!==u:1!==o.nodeType)||!++a||(d&&((o[B]||(o[B]={}))[p]=[Y,a]),o!==t)););return(a-=m)===f||a%f==0&&0<=a/f}}},PSEUDO:function(t,o){var e,a=E.pseudos[t]||E.setFilters[t.toLowerCase()]||w.error("unsupported pseudo: "+t);return a[B]?a(o):1<a.length?(e=[t,t,"",o],E.setFilters.hasOwnProperty(t.toLowerCase())?l(function(t,e){for(var i,n=a(t,o),s=n.length;s--;)t[i=at.call(t,n[s])]=!(e[i]=n[s])}):function(t){return a(t,0,e)}):a}},pseudos:{not:l(function(t){var n=[],s=[],r=M(t.replace(pt,"$1"));return r[B]?l(function(t,e,i,n){for(var s,o=r(t,null,n,[]),a=t.length;a--;)(s=o[a])&&(t[a]=!(e[a]=s))}):function(t,e,i){return n[0]=t,r(n,null,i,s),!s.pop()}}),has:l(function(e){return function(t){return 0<w(e,t).length}}),contains:l(function(e){return function(t){return-1<(t.textContent||t.innerText||I(t)).indexOf(e)}}),lang:l(function(i){return _t.test(i||"")||w.error("unsupported lang: "+i),i=i.replace(Tt,St).toLowerCase(),function(t){var e;do{if(e=W?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===i||0===e.indexOf(i+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=i.location&&i.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===j},focus:function(t){return t===H.activeElement&&(!H.hasFocus||H.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if("@"<t.nodeName||3===t.nodeType||4===t.nodeType)return!1;return!0},parent:function(t){return!E.pseudos.empty(t)},header:function(t){return Ct.test(t.nodeName)},input:function(t){return kt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||e.toLowerCase()===t.type)},first:p(function(){return[0]}),last:p(function(t,e){return[e-1]}),eq:p(function(t,e,i){return[i<0?i+e:i]}),even:p(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:p(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:p(function(t,e,i){for(var n=i<0?i+e:i;0<=--n;)t.push(n);return t}),gt:p(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}},{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})E.pseudos[T]=u(T);for(T in{submit:!0,reset:!0})E.pseudos[T]=d(T);M=w.compile=function(t,e){var i,n=[],s=[],o=X[t+" "];if(!o){for(e||(e=m(t)),i=e.length;i--;)(o=_(e[i]))[B]?n.push(o):s.push(o);o=X(t,y(s,n))}return o},E.pseudos.nth=E.pseudos.eq,D.prototype=E.filters=E.pseudos,E.setFilters=new D,S.sortStable=B.split("").sort(G).join("")===B,z(),[0,0].sort(G),S.detectDuplicates=Q,Et.find=w,Et.expr=w.selectors,Et.expr[":"]=Et.expr.pseudos,Et.unique=w.uniqueSort,Et.text=w.getText,Et.isXMLDoc=w.isXML,Et.contains=w.contains}(m);var Ct={};Et.Callbacks=function(s){s="string"==typeof s?Ct[s]||t(s):Et.extend({},s);var o,e,i,a,n,r,l=[],h=!s.once&&[],c=function(t){for(e=s.memory&&t,i=!0,n=r||0,r=0,a=l.length,o=!0;l&&n<a;n++)if(!1===l[n].apply(t[0],t[1])&&s.stopOnFalse){e=!1;break}o=!1,l&&(h?h.length&&c(h.shift()):e?l=[]:u.disable())},u={add:function(){if(l){var t=l.length;!function n(t){Et.each(t,function(t,e){var i=Et.type(e);"function"===i?s.unique&&u.has(e)||l.push(e):e&&e.length&&"string"!==i&&n(e)})}(arguments),o?a=l.length:e&&(r=t,c(e))}return this},remove:function(){return l&&Et.each(arguments,function(t,e){for(var i;-1<(i=Et.inArray(e,l,i));)l.splice(i,1),o&&(i<=a&&a--,i<=n&&n--)}),this},has:function(t){return t?-1<Et.inArray(t,l):!(!l||!l.length)},empty:function(){return l=[],a=0,this},disable:function(){return l=h=e=k,this},disabled:function(){return!l},lock:function(){return h=k,e||u.disable(),this},locked:function(){return!h},fireWith:function(t,e){return e=[t,(e=e||[]).slice?e.slice():e],!l||i&&!h||(o?h.push(e):c(e)),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},Et.extend({Deferred:function(t){var a=[["resolve","done",Et.Callbacks("once memory"),"resolved"],["reject","fail",Et.Callbacks("once memory"),"rejected"],["notify","progress",Et.Callbacks("memory")]],s="pending",r={state:function(){return s},always:function(){return l.done(arguments).fail(arguments),this},then:function(){var o=arguments;return Et.Deferred(function(s){Et.each(a,function(t,e){var i=e[0],n=Et.isFunction(o[t])&&o[t];l[e[1]](function(){var t=n&&n.apply(this,arguments);t&&Et.isFunction(t.promise)?t.promise().done(s.resolve).fail(s.reject).progress(s.notify):s[i+"With"](this===r?s.promise():this,n?[t]:arguments)})}),o=null}).promise()},promise:function(t){return null!=t?Et.extend(t,r):r}},l={};return r.pipe=r.then,Et.each(a,function(t,e){var i=e[2],n=e[3];r[e[1]]=i.add,n&&i.add(function(){s=n},a[1^t][2].disable,a[2][2].lock),l[e[0]]=function(){return l[e[0]+"With"](this===l?r:this,arguments),this},l[e[0]+"With"]=i.fireWith}),r.promise(l),t&&t.call(l,l),l},when:function(t){var s,e,i,n=0,o=ot.call(arguments),a=o.length,r=1!==a||t&&Et.isFunction(t.promise)?a:0,l=1===r?t:Et.Deferred(),h=function(e,i,n){return function(t){i[e]=this,n[e]=1<arguments.length?ot.call(arguments):t,n===s?l.notifyWith(i,n):--r||l.resolveWith(i,n)}};if(1<a)for(s=new Array(a),e=new Array(a),i=new Array(a);n<a;n++)o[n]&&Et.isFunction(o[n].promise)?o[n].promise().done(h(n,i,o)).fail(l.reject).progress(h(n,e,s)):--r;return r||l.resolveWith(i,o),l.promise()}}),Et.support=function(o){var t,e,i,n,s,a,r,l,h,c=Q.createElement("div");if(c.setAttribute("className","t"),c.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=c.getElementsByTagName("*")||[],!(e=c.getElementsByTagName("a")[0])||!e.style||!t.length)return o;a=(n=Q.createElement("select")).appendChild(Q.createElement("option")),i=c.getElementsByTagName("input")[0],e.style.cssText="top:1px;float:left;opacity:.5",o.getSetAttribute="t"!==c.className,o.leadingWhitespace=3===c.firstChild.nodeType,o.tbody=!c.getElementsByTagName("tbody").length,o.htmlSerialize=!!c.getElementsByTagName("link").length,o.style=/top/.test(e.getAttribute("style")),o.hrefNormalized="/a"===e.getAttribute("href"),o.opacity=/^0.5/.test(e.style.opacity),o.cssFloat=!!e.style.cssFloat,o.checkOn=!!i.value,o.optSelected=a.selected,o.enctype=!!Q.createElement("form").enctype,o.html5Clone="<:nav></:nav>"!==Q.createElement("nav").cloneNode(!0).outerHTML,o.inlineBlockNeedsLayout=!1,o.shrinkWrapBlocks=!1,o.pixelPosition=!1,o.deleteExpando=!0,o.noCloneEvent=!0,o.reliableMarginRight=!0,o.boxSizingReliable=!0,i.checked=!0,o.noCloneChecked=i.cloneNode(!0).checked,n.disabled=!0,o.optDisabled=!a.disabled;try{delete c.test}catch(u){o.deleteExpando=!1}for(h in(i=Q.createElement("input")).setAttribute("value",""),o.input=""===i.getAttribute("value"),i.value="t",i.setAttribute("type","radio"),o.radioValue="t"===i.value,i.setAttribute("checked","t"),i.setAttribute("name","t"),(s=Q.createDocumentFragment()).appendChild(i),o.appendChecked=i.checked,o.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,c.attachEvent&&(c.attachEvent("onclick",function(){o.noCloneEvent=!1}),c.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})c.setAttribute(r="on"+h,"t"),o[h+"Bubbles"]=r in m||!1===c.attributes[r].expando;for(h in c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===c.style.backgroundClip,Et(o))break;return o.ownLast="0"!==h,Et(function(){var t,e,i,n="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",s=Q.getElementsByTagName("body")[0];s&&((t=Q.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",s.appendChild(t).appendChild(c),c.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(i=c.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",l=0===i[0].offsetHeight,i[0].style.display="",i[1].style.display="none",o.reliableHiddenOffsets=l&&0===i[0].offsetHeight,c.innerHTML="",c.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%;",Et.swap(s,null!=s.style.zoom?{zoom:1}:{},function(){o.boxSizing=4===c.offsetWidth}),m.getComputedStyle&&(o.pixelPosition="1%"!==(m.getComputedStyle(c,null)||{}).top,o.boxSizingReliable="4px"===(m.getComputedStyle(c,null)||{width:"4px"}).width,(e=c.appendChild(Q.createElement("div"))).style.cssText=c.style.cssText=n,e.style.marginRight=e.style.width="0",c.style.width="1px",o.reliableMarginRight=!parseFloat((m.getComputedStyle(e,null)||{}).marginRight)),typeof c.style.zoom!==V&&(c.innerHTML="",c.style.cssText=n+"width:1px;padding:1px;display:inline;zoom:1",o.inlineBlockNeedsLayout=3===c.offsetWidth,c.style.display="block",c.innerHTML="<div></div>",c.firstChild.style.width="5px",o.shrinkWrapBlocks=3!==c.offsetWidth,o.inlineBlockNeedsLayout&&(s.style.zoom=1)),s.removeChild(t),t=c=i=e=null)}),t=n=s=a=e=i=null,o}({});var Dt=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Tt=/([A-Z])/g;Et.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?Et.cache[t[Et.expando]]:t[Et.expando])&&!h(t)},data:function(t,e,i){return n(t,e,i)},removeData:function(t,e){return i(t,e)},_data:function(t,e,i){return n(t,e,i,!0)},_removeData:function(t,e){return i(t,e,!0)},acceptData:function(t){if(t.nodeType&&1!==t.nodeType&&9!==t.nodeType)return!1;var e=t.nodeName&&Et.noData[t.nodeName.toLowerCase()];return!e||!0!==e&&t.getAttribute("classid")===e}}),Et.fn.extend({data:function(t,e){var i,n,s=null,o=0,a=this[0];if(t!==k)return"object"==typeof t?this.each(function(){Et.data(this,t)}):1<arguments.length?this.each(function(){Et.data(this,t,e)}):a?l(a,t,Et.data(a,t)):null;if(this.length&&(s=Et.data(a),1===a.nodeType&&!Et._data(a,"parsedAttrs"))){for(i=a.attributes;o<i.length;o++)0===(n=i[o].name).indexOf("data-")&&l(a,n=Et.camelCase(n.slice(5)),s[n]);Et._data(a,"parsedAttrs",!0)}return s},removeData:function(t){return this.each(function(){Et.removeData(this,t)})}}),Et.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=Et._data(t,e),i&&(!n||Et.isArray(i)?n=Et._data(t,e,Et.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=Et.queue(t,e),n=i.length,s=i.shift(),o=Et._queueHooks(t,e),a=function(){Et.dequeue(t,e)};"inprogress"===s&&(s=i.shift(),n--),(o.cur=s)&&("fx"===e&&i.unshift("inprogress"),delete o.stop,s.call(t,a,o)),!n&&o&&o.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return Et._data(t,i)||Et._data(t,i,{empty:Et.Callbacks("once memory").add(function(){Et._removeData(t,e+"queue"),Et._removeData(t,i)})})}}),Et.fn.extend({queue:function(e,i){var t=2;return"string"!=typeof e&&(i=e,e="fx",t--),arguments.length<t?Et.queue(this[0],e):i===k?this:this.each(function(){var t=Et.queue(this,e,i);Et._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&Et.dequeue(this,e)})},dequeue:function(t){return this.each(function(){Et.dequeue(this,t)})},delay:function(n,t){return n=Et.fx&&Et.fx.speeds[n]||n,t=t||"fx",this.queue(t,function(t,e){var i=setTimeout(t,n);e.stop=function(){clearTimeout(i)}})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,s=Et.Deferred(),o=this,a=this.length,r=function(){--n||s.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=k),t=t||"fx";a--;)(i=Et._data(o[a],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(r));return r(),s.promise(e)}});var St,Nt,It=/[\t\r\n\f]/g,Pt=/\r/g,Mt=/^(?:input|select|textarea|button|object)$/i,At=/^(?:a|area)$/i,$t=/^(?:checked|selected)$/i,zt=Et.support.getSetAttribute,Ht=Et.support.input;Et.fn.extend({attr:function(t,e){return Et.access(this,Et.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){Et.removeAttr(this,t)})},prop:function(t,e){return Et.access(this,Et.prop,t,e,1<arguments.length)},removeProp:function(e){return e=Et.propFix[e]||e,this.each(function(){try{this[e]=k,delete this[e]}catch(t){}})},addClass:function(e){var t,i,n,s,o,a=0,r=this.length,l="string"==typeof e&&e;if(Et.isFunction(e))return this.each(function(t){Et(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(ut)||[];a<r;a++)if(n=1===(i=this[a]).nodeType&&(i.className?(" "+i.className+" ").replace(It," "):" ")){for(o=0;s=t[o++];)n.indexOf(" "+s+" ")<0&&(n+=s+" ");i.className=Et.trim(n)}return this},removeClass:function(e){var t,i,n,s,o,a=0,r=this.length,l=0===arguments.length||"string"==typeof e&&e;if(Et.isFunction(e))return this.each(function(t){Et(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(ut)||[];a<r;a++)if(n=1===(i=this[a]).nodeType&&(i.className?(" "+i.className+" ").replace(It," "):"")){for(o=0;s=t[o++];)for(;0<=n.indexOf(" "+s+" ");)n=n.replace(" "+s+" "," ");i.className=e?Et.trim(n):""}return this},toggleClass:function(o,a){var r=typeof o,l="boolean"==typeof a;return Et.isFunction(o)?this.each(function(t){Et(this).toggleClass(o.call(this,t,this.className,a),a)}):this.each(function(){if("string"===r)for(var t,e=0,i=Et(this),n=a,s=o.match(ut)||[];t=s[e++];)n=l?n:!i.hasClass(t),i[n?"addClass":"removeClass"](t);else r!==V&&"boolean"!==r||(this.className&&Et._data(this,"__className__",this.className),this.className=this.className||!1===o?"":Et._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",i=0,n=this.length;i<n;i++)if(1===this[i].nodeType&&0<=(" "+this[i].className+" ").replace(It," ").indexOf(e))return!0;return!1},val:function(i){var t,n,s,e=this[0];return arguments.length?(s=Et.isFunction(i),this.each(function(t){var e;1===this.nodeType&&(null==(e=s?i.call(this,t,Et(this).val()):i)?e="":"number"==typeof e?e+="":Et.isArray(e)&&(e=Et.map(e,function(t){return null==t?"":t+""})),(n=Et.valHooks[this.type]||Et.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&n.set(this,e,"value")!==k||(this.value=e))})):e?(n=Et.valHooks[e.type]||Et.valHooks[e.nodeName.toLowerCase()])&&"get"in n&&(t=n.get(e,"value"))!==k?t:"string"==typeof(t=e.value)?t.replace(Pt,""):null==t?"":t:void 0}}),Et.extend({valHooks:{option:{get:function(t){var e=Et.find.attr(t,"value");return null!=e?e:t.text}},select:{get:function(t){for(var e,i,n=t.options,s=t.selectedIndex,o="select-one"===t.type||s<0,a=o?null:[],r=o?s+1:n.length,l=s<0?r:o?s:0;l<r;l++)if(((i=n[l]).selected||l===s)&&(Et.support.optDisabled?!i.disabled:null===i.getAttribute("disabled"))&&(!i.parentNode.disabled||!Et.nodeName(i.parentNode,"optgroup"))){if(e=Et(i).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var i,n,s=t.options,o=Et.makeArray(e),a=s.length;a--;)((n=s[a]).selected=0<=Et.inArray(Et(n).val(),o))&&(i=!0);return i||(t.selectedIndex=-1),o}}},attr:function(t,e,i){var n,s,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return typeof t.getAttribute===V?Et.prop(t,e,i):(1===o&&Et.isXMLDoc(t)||(e=e.toLowerCase(),n=Et.attrHooks[e]||(Et.expr.match.bool.test(e)?Nt:St)),i===k?n&&"get"in n&&null!==(s=n.get(t,e))?s:null==(s=Et.find.attr(t,e))?k:s:null!==i?n&&"set"in n&&(s=n.set(t,i,e))!==k?s:(t.setAttribute(e,i+""),i):void Et.removeAttr(t,e))},removeAttr:function(t,e){var i,n,s=0,o=e&&e.match(ut);if(o&&1===t.nodeType)for(;i=o[s++];)n=Et.propFix[i]||i,Et.expr.match.bool.test(i)?Ht&&zt||!$t.test(i)?t[n]=!1:t[Et.camelCase("default-"+i)]=t[n]=!1:Et.attr(t,i,""),t.removeAttribute(zt?i:n)},attrHooks:{type:{set:function(t,e){if(!Et.support.radioValue&&"radio"===e&&Et.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,i){var n,s,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return(1!==o||!Et.isXMLDoc(t))&&(e=Et.propFix[e]||e,s=Et.propHooks[e]),i!==k?s&&"set"in s&&(n=s.set(t,i,e))!==k?n:t[e]=i:s&&"get"in s&&null!==(n=s.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=Et.find.attr(t,"tabindex");return e?parseInt(e,10):Mt.test(t.nodeName)||At.test(t.nodeName)&&t.href?0:-1}}}}),Nt={set:function(t,e,i){return!1===e?Et.removeAttr(t,i):Ht&&zt||!$t.test(i)?t.setAttribute(!zt&&Et.propFix[i]||i,i):t[Et.camelCase("default-"+i)]=t[i]=!0,i}},Et.each(Et.expr.match.bool.source.match(/\w+/g),function(t,e){var o=Et.expr.attrHandle[e]||Et.find.attr;Et.expr.attrHandle[e]=Ht&&zt||!$t.test(e)?function(t,e,i){var n=Et.expr.attrHandle[e],s=i?k:(Et.expr.attrHandle[e]=k)!=o(t,e,i)?e.toLowerCase():null;return Et.expr.attrHandle[e]=n,s}:function(t,e,i){return i?k:t[Et.camelCase("default-"+e)]?e.toLowerCase():null}}),Ht&&zt||(Et.attrHooks.value={set:function(t,e,i){if(!Et.nodeName(t,"input"))return St&&St.set(t,e,i);t.defaultValue=e}}),zt||(St={set:function(t,e,i){var n=t.getAttributeNode(i);return n||t.setAttributeNode(n=t.ownerDocument.createAttribute(i)),n.value=e+="","value"===i||e===t.getAttribute(i)?e:k}},Et.expr.attrHandle.id=Et.expr.attrHandle.name=Et.expr.attrHandle.coords=function(t,e,i){var n;return i?k:(n=t.getAttributeNode(e))&&""!==n.value?n.value:null},Et.valHooks.button={get:function(t,e){var i=t.getAttributeNode(e);return i&&i.specified?i.value:k},set:St.set},Et.attrHooks.contenteditable={set:function(t,e,i){St.set(t,""!==e&&e,i)}},Et.each(["width","height"],function(t,i){Et.attrHooks[i]={set:function(t,e){if(""===e)return t.setAttribute(i,"auto"),e}}})),Et.support.hrefNormalized||Et.each(["href","src"],function(t,e){Et.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),Et.support.style||(Et.attrHooks.style={get:function(t){return t.style.cssText||k},set:function(t,e){return t.style.cssText=e+""}}),Et.support.optSelected||(Et.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,
+e.parentNode&&e.parentNode.selectedIndex),null}}),Et.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Et.propFix[this.toLowerCase()]=this}),Et.support.enctype||(Et.propFix.enctype="encoding"),Et.each(["radio","checkbox"],function(){Et.valHooks[this]={set:function(t,e){if(Et.isArray(e))return t.checked=0<=Et.inArray(Et(t).val(),e)}},Et.support.checkOn||(Et.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var jt=/^(?:input|select|textarea)$/i,Wt=/^key/,Ot=/^(?:mouse|contextmenu)|click/,Lt=/^(?:focusinfocus|focusoutblur)$/,Ft=/^([^.]*)(?:\.(.+)|)$/;Et.event={global:{},add:function(t,e,i,n,s){var o,a,r,l,h,c,u,d,p,f,m,g=Et._data(t);if(g){for(i.handler&&(i=(l=i).handler,s=l.selector),i.guid||(i.guid=Et.guid++),(a=g.events)||(a=g.events={}),(c=g.handle)||((c=g.handle=function(t){return typeof Et===V||t&&Et.event.triggered===t.type?k:Et.event.dispatch.apply(c.elem,arguments)}).elem=t),r=(e=(e||"").match(ut)||[""]).length;r--;)p=m=(o=Ft.exec(e[r])||[])[1],f=(o[2]||"").split(".").sort(),p&&(h=Et.event.special[p]||{},p=(s?h.delegateType:h.bindType)||p,h=Et.event.special[p]||{},u=Et.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&Et.expr.match.needsContext.test(s),namespace:f.join(".")},l),(d=a[p])||((d=a[p]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,f,c)||(t.addEventListener?t.addEventListener(p,c,!1):t.attachEvent&&t.attachEvent("on"+p,c))),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),s?d.splice(d.delegateCount++,0,u):d.push(u),Et.event.global[p]=!0);t=null}},remove:function(t,e,i,n,s){var o,a,r,l,h,c,u,d,p,f,m,g=Et.hasData(t)&&Et._data(t);if(g&&(c=g.events)){for(h=(e=(e||"").match(ut)||[""]).length;h--;)if(p=m=(r=Ft.exec(e[h])||[])[1],f=(r[2]||"").split(".").sort(),p){for(u=Et.event.special[p]||{},d=c[p=(n?u.delegateType:u.bindType)||p]||[],r=r[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=d.length;o--;)a=d[o],!s&&m!==a.origType||i&&i.guid!==a.guid||r&&!r.test(a.namespace)||n&&n!==a.selector&&("**"!==n||!a.selector)||(d.splice(o,1),a.selector&&d.delegateCount--,u.remove&&u.remove.call(t,a));l&&!d.length&&(u.teardown&&!1!==u.teardown.call(t,f,g.handle)||Et.removeEvent(t,p,g.handle),delete c[p])}else for(p in c)Et.event.remove(t,p+e[h],i,n,!0);Et.isEmptyObject(c)&&(delete g.handle,Et._removeData(t,"events"))}},trigger:function(t,e,i,n){var s,o,a,r,l,h,c,u=[i||Q],d=lt.call(t,"type")?t.type:t,p=lt.call(t,"namespace")?t.namespace.split("."):[];if(a=h=i=i||Q,3!==i.nodeType&&8!==i.nodeType&&!Lt.test(d+Et.event.triggered)&&(0<=d.indexOf(".")&&(d=(p=d.split(".")).shift(),p.sort()),o=d.indexOf(":")<0&&"on"+d,(t=t[Et.expando]?t:new Et.Event(d,"object"==typeof t&&t)).isTrigger=n?2:3,t.namespace=p.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=k,t.target||(t.target=i),e=null==e?[t]:Et.makeArray(e,[t]),l=Et.event.special[d]||{},n||!l.trigger||!1!==l.trigger.apply(i,e))){if(!n&&!l.noBubble&&!Et.isWindow(i)){for(r=l.delegateType||d,Lt.test(r+d)||(a=a.parentNode);a;a=a.parentNode)u.push(a),h=a;h===(i.ownerDocument||Q)&&u.push(h.defaultView||h.parentWindow||m)}for(c=0;(a=u[c++])&&!t.isPropagationStopped();)t.type=1<c?r:l.bindType||d,(s=(Et._data(a,"events")||{})[t.type]&&Et._data(a,"handle"))&&s.apply(a,e),(s=o&&a[o])&&Et.acceptData(a)&&s.apply&&!1===s.apply(a,e)&&t.preventDefault();if(t.type=d,!n&&!t.isDefaultPrevented()&&(!l._default||!1===l._default.apply(u.pop(),e))&&Et.acceptData(i)&&o&&i[d]&&!Et.isWindow(i)){(h=i[o])&&(i[o]=null),Et.event.triggered=d;try{i[d]()}catch(f){}Et.event.triggered=k,h&&(i[o]=h)}return t.result}},dispatch:function(t){t=Et.event.fix(t);var e,i,n,s,o,a=[],r=ot.call(arguments),l=(Et._data(this,"events")||{})[t.type]||[],h=Et.event.special[t.type]||{};if((r[0]=t).delegateTarget=this,!h.preDispatch||!1!==h.preDispatch.call(this,t)){for(a=Et.event.handlers.call(this,t,l),e=0;(s=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=s.elem,o=0;(n=s.handlers[o++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(n.namespace)||(t.handleObj=n,t.data=n.data,(i=((Et.event.special[n.origType]||{}).handle||n.handler).apply(s.elem,r))!==k&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return h.postDispatch&&h.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,s,o,a=[],r=e.delegateCount,l=t.target;if(r&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(s=[],o=0;o<r;o++)s[i=(n=e[o]).selector+" "]===k&&(s[i]=n.needsContext?0<=Et(i,this).index(l):Et.find(i,this,null,[l]).length),s[i]&&s.push(n);s.length&&a.push({elem:l,handlers:s})}return r<e.length&&a.push({elem:this,handlers:e.slice(r)}),a},fix:function(t){if(t[Et.expando])return t;var e,i,n,s=t.type,o=t,a=this.fixHooks[s];for(a||(this.fixHooks[s]=a=Ot.test(s)?this.mouseHooks:Wt.test(s)?this.keyHooks:{}),n=a.props?this.props.concat(a.props):this.props,t=new Et.Event(o),e=n.length;e--;)t[i=n[e]]=o[i];return t.target||(t.target=o.srcElement||Q),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,o):t},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(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var i,n,s,o=e.button,a=e.fromElement;return null==t.pageX&&null!=e.clientX&&(s=(n=t.target.ownerDocument||Q).documentElement,i=n.body,t.pageX=e.clientX+(s&&s.scrollLeft||i&&i.scrollLeft||0)-(s&&s.clientLeft||i&&i.clientLeft||0),t.pageY=e.clientY+(s&&s.scrollTop||i&&i.scrollTop||0)-(s&&s.clientTop||i&&i.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?e.toElement:a),t.which||o===k||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==e()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){if(this===e()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(Et.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(t){return Et.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){t.result!==k&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,i,n){var s=Et.extend(new Et.Event,i,{type:t,isSimulated:!0,originalEvent:{}});n?Et.event.trigger(s,null,e):Et.event.dispatch.call(e,s),s.isDefaultPrevented()&&i.preventDefault()}},Et.removeEvent=Q.removeEventListener?function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i,!1)}:function(t,e,i){var n="on"+e;t.detachEvent&&(typeof t[n]===V&&(t[n]=null),t.detachEvent(n,i))},Et.Event=function(t,e){if(!(this instanceof Et.Event))return new Et.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||!1===t.returnValue||t.getPreventDefault&&t.getPreventDefault()?s:c):this.type=t,e&&Et.extend(this,e),this.timeStamp=t&&t.timeStamp||Et.now(),this[Et.expando]=!0},Et.Event.prototype={isDefaultPrevented:c,isPropagationStopped:c,isImmediatePropagationStopped:c,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=s,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=s,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=s,this.stopPropagation()}},Et.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,o){Et.event.special[t]={delegateType:o,bindType:o,handle:function(t){var e,i=this,n=t.relatedTarget,s=t.handleObj;return n&&(n===i||Et.contains(i,n))||(t.type=s.origType,e=s.handler.apply(this,arguments),t.type=o),e}}}),Et.support.submitBubbles||(Et.event.special.submit={setup:function(){if(Et.nodeName(this,"form"))return!1;Et.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,i=Et.nodeName(e,"input")||Et.nodeName(e,"button")?e.form:k;i&&!Et._data(i,"submitBubbles")&&(Et.event.add(i,"submit._submit",function(t){t._submit_bubble=!0}),Et._data(i,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&Et.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){if(Et.nodeName(this,"form"))return!1;Et.event.remove(this,"._submit")}}),Et.support.changeBubbles||(Et.event.special.change={setup:function(){if(jt.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(Et.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),Et.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),Et.event.simulate("change",this,t,!0)})),!1;Et.event.add(this,"beforeactivate._change",function(t){var e=t.target;jt.test(e.nodeName)&&!Et._data(e,"changeBubbles")&&(Et.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||Et.event.simulate("change",this.parentNode,t,!0)}),Et._data(e,"changeBubbles",!0))})},handle:function(t){var e=t.target;if(this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type)return t.handleObj.handler.apply(this,arguments)},teardown:function(){return Et.event.remove(this,"._change"),!jt.test(this.nodeName)}}),Et.support.focusinBubbles||Et.each({focus:"focusin",blur:"focusout"},function(t,e){var i=0,n=function(t){Et.event.simulate(e,t.target,Et.event.fix(t),!0)};Et.event.special[e]={setup:function(){0==i++&&Q.addEventListener(t,n,!0)},teardown:function(){0==--i&&Q.removeEventListener(t,n,!0)}}}),Et.fn.extend({on:function(t,e,i,n,s){var o,a;if("object"==typeof t){for(o in"string"!=typeof e&&(i=i||e,e=k),t)this.on(o,e,i,t[o],s);return this}if(null==i&&null==n?(n=e,i=e=k):null==n&&("string"==typeof e?(n=i,i=k):(n=i,i=e,e=k)),!1===n)n=c;else if(!n)return this;return 1===s&&(a=n,(n=function(t){return Et().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=Et.guid++)),this.each(function(){Et.event.add(this,t,n,i,e)})},one:function(t,e,i,n){return this.on(t,e,i,n,1)},off:function(t,e,i){var n,s;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,Et(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(i=e,e=k),!1===i&&(i=c),this.each(function(){Et.event.remove(this,t,i,e)});for(s in t)this.off(s,e,t[s]);return this},trigger:function(t,e){return this.each(function(){Et.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return Et.event.trigger(t,e,i,!0)}});var Rt=/^.[^:#\[\.,]*$/,Bt=/^(?:parents|prev(?:Until|All))/,qt=Et.expr.match.needsContext,Yt={children:!0,contents:!0,next:!0,prev:!0};Et.fn.extend({find:function(t){var e,i=[],n=this,s=n.length;if("string"!=typeof t)return this.pushStack(Et(t).filter(function(){for(e=0;e<s;e++)if(Et.contains(n[e],this))return!0}));for(e=0;e<s;e++)Et.find(t,n[e],i);return(i=this.pushStack(1<s?Et.unique(i):i)).selector=this.selector?this.selector+" "+t:t,i},has:function(t){var e,i=Et(t,this),n=i.length;return this.filter(function(){for(e=0;e<n;e++)if(Et.contains(this,i[e]))return!0})},not:function(t){return this.pushStack(a(this,t||[],!0))},filter:function(t){return this.pushStack(a(this,t||[],!1))},is:function(t){return!!a(this,"string"==typeof t&&qt.test(t)?Et(t):t||[],!1).length},closest:function(t,e){for(var i,n=0,s=this.length,o=[],a=qt.test(t)||"string"!=typeof t?Et(t,e||this.context):0;n<s;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(a?-1<a.index(i):1===i.nodeType&&Et.find.matchesSelector(i,t))){i=o.push(i);break}return this.pushStack(1<o.length?Et.unique(o):o)},index:function(t){return t?"string"==typeof t?Et.inArray(this[0],Et(t)):Et.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){var i="string"==typeof t?Et(t,e):Et.makeArray(t&&t.nodeType?[t]:t),n=Et.merge(this.get(),i);return this.pushStack(Et.unique(n))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),Et.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Et.dir(t,"parentNode")},parentsUntil:function(t,e,i){return Et.dir(t,"parentNode",i)},next:function(t){return o(t,"nextSibling")},prev:function(t){return o(t,"previousSibling")},nextAll:function(t){return Et.dir(t,"nextSibling")},prevAll:function(t){return Et.dir(t,"previousSibling")},nextUntil:function(t,e,i){return Et.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return Et.dir(t,"previousSibling",i)},siblings:function(t){return Et.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return Et.sibling(t.firstChild)},contents:function(t){return Et.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:Et.merge([],t.childNodes)}},function(n,s){Et.fn[n]=function(t,e){var i=Et.map(this,s,t);return"Until"!==n.slice(-5)&&(e=t),e&&"string"==typeof e&&(i=Et.filter(e,i)),1<this.length&&(Yt[n]||(i=Et.unique(i)),Bt.test(n)&&(i=i.reverse())),this.pushStack(i)}}),Et.extend({filter:function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?Et.find.matchesSelector(n,t)?[n]:[]:Et.find.matches(t,Et.grep(e,function(t){return 1===t.nodeType}))},dir:function(t,e,i){for(var n=[],s=t[e];s&&9!==s.nodeType&&(i===k||1!==s.nodeType||!Et(s).is(i));)1===s.nodeType&&n.push(s),s=s[e];return n},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}});var Ut="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Kt=/ jQuery\d+="(?:null|\d+)"/g,Vt=new RegExp("<(?:"+Ut+")[\\s/>]","i"),Xt=/^\s+/,Qt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Gt=/<([\w:]+)/,Jt=/<tbody/i,Zt=/<|&#?\w+;/,te=/<(?:script|style|link)/i,ee=/^(?:checkbox|radio)$/i,ie=/checked\s*(?:[^=]|=\s*.checked.)/i,ne=/^$|\/(?:java|ecma)script/i,se=/^true\/(.*)/,oe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ae={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:Et.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},re=g(Q).appendChild(Q.createElement("div"));ae.optgroup=ae.option,ae.tbody=ae.tfoot=ae.colgroup=ae.caption=ae.thead,ae.th=ae.td,Et.fn.extend({text:function(t){return Et.access(this,function(t){return t===k?Et.text(this):this.empty().append((this[0]&&this[0].ownerDocument||Q).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||u(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=u(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var i,n=t?Et.filter(t,this):this,s=0;null!=(i=n[s]);s++)e||1!==i.nodeType||Et.cleanData(y(i)),i.parentNode&&(e&&Et.contains(i.ownerDocument,i)&&_(y(i,"script")),i.parentNode.removeChild(i));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&Et.cleanData(y(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&Et.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return Et.clone(this,t,e)})},html:function(t){return Et.access(this,function(t){var e=this[0]||{},i=0,n=this.length;if(t===k)return 1===e.nodeType?e.innerHTML.replace(Kt,""):k;if("string"==typeof t&&!te.test(t)&&(Et.support.htmlSerialize||!Vt.test(t))&&(Et.support.leadingWhitespace||!Xt.test(t))&&!ae[(Gt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Qt,"<$1></$2>");try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(Et.cleanData(y(e,!1)),e.innerHTML=t);e=0}catch(s){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var n=Et.map(this,function(t){return[t.nextSibling,t.parentNode]}),s=0;return this.domManip(arguments,function(t){var e=n[s++],i=n[s++];i&&(e&&e.parentNode!==i&&(e=this.nextSibling),Et(this).remove(),i.insertBefore(t,e))},!0),s?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(i,n,s){i=nt.apply([],i);var t,e,o,a,r,l,h=0,c=this.length,u=this,d=c-1,p=i[0],f=Et.isFunction(p);if(f||!(c<=1||"string"!=typeof p||Et.support.checkClone)&&ie.test(p))return this.each(function(t){var e=u.eq(t);f&&(i[0]=p.call(this,t,e.html())),e.domManip(i,n,s)});if(c&&(t=(l=Et.buildFragment(i,this[0].ownerDocument,!1,!s&&this)).firstChild,1===l.childNodes.length&&(l=t),t)){for(o=(a=Et.map(y(l,"script"),v)).length;h<c;h++)e=l,h!==d&&(e=Et.clone(e,!0,!0),o&&Et.merge(a,y(e,"script"))),n.call(this[h],e,h);if(o)for(r=a[a.length-1].ownerDocument,Et.map(a,b),h=0;h<o;h++)e=a[h],ne.test(e.type||"")&&!Et._data(e,"globalEval")&&Et.contains(r,e)&&(e.src?Et._evalUrl(e.src):Et.globalEval((e.text||e.textContent||e.innerHTML||"").replace(oe,"")));l=t=null}return this}}),Et.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,a){Et.fn[t]=function(t){for(var e,i=0,n=[],s=Et(t),o=s.length-1;i<=o;i++)e=i===o?this:this.clone(!0),Et(s[i])[a](e),st.apply(n,e.get());return this.pushStack(n)}}),Et.extend({clone:function(t,e,i){var n,s,o,a,r,l=Et.contains(t.ownerDocument,t);if(Et.support.html5Clone||Et.isXMLDoc(t)||!Vt.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(re.innerHTML=t.outerHTML,re.removeChild(o=re.firstChild)),!(Et.support.noCloneEvent&&Et.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||Et.isXMLDoc(t)))for(n=y(o),r=y(t),a=0;null!=(s=r[a]);++a)n[a]&&p(s,n[a]);if(e)if(i)for(r=r||y(t),n=n||y(o),a=0;null!=(s=r[a]);a++)d(s,n[a]);else d(t,o);return 0<(n=y(o,"script")).length&&_(n,!l&&y(t,"script")),n=r=s=null,o},buildFragment:function(t,e,i,n){for(var s,o,a,r,l,h,c,u=t.length,d=g(e),p=[],f=0;f<u;f++)if((o=t[f])||0===o)if("object"===Et.type(o))Et.merge(p,o.nodeType?[o]:o);else if(Zt.test(o)){for(r=r||d.appendChild(e.createElement("div")),l=(Gt.exec(o)||["",""])[1].toLowerCase(),c=ae[l]||ae._default,r.innerHTML=c[1]+o.replace(Qt,"<$1></$2>")+c[2],s=c[0];s--;)r=r.lastChild;if(!Et.support.leadingWhitespace&&Xt.test(o)&&p.push(e.createTextNode(Xt.exec(o)[0])),!Et.support.tbody)for(s=(o="table"!==l||Jt.test(o)?"<table>"!==c[1]||Jt.test(o)?0:r:r.firstChild)&&o.childNodes.length;s--;)Et.nodeName(h=o.childNodes[s],"tbody")&&!h.childNodes.length&&o.removeChild(h);for(Et.merge(p,r.childNodes),r.textContent="";r.firstChild;)r.removeChild(r.firstChild);r=d.lastChild}else p.push(e.createTextNode(o));for(r&&d.removeChild(r),Et.support.appendChecked||Et.grep(y(p,"input"),w),f=0;o=p[f++];)if((!n||-1===Et.inArray(o,n))&&(a=Et.contains(o.ownerDocument,o),r=y(d.appendChild(o),"script"),a&&_(r),i))for(s=0;o=r[s++];)ne.test(o.type||"")&&i.push(o);return r=null,d},cleanData:function(t,e){for(var i,n,s,o,a=0,r=Et.expando,l=Et.cache,h=Et.support.deleteExpando,c=Et.event.special;null!=(i=t[a]);a++)if((e||Et.acceptData(i))&&(o=(s=i[r])&&l[s])){if(o.events)for(n in o.events)c[n]?Et.event.remove(i,n):Et.removeEvent(i,n,o.handle);l[s]&&(delete l[s],h?delete i[r]:typeof i.removeAttribute!==V?i.removeAttribute(r):i[r]=null,et.push(s))}},_evalUrl:function(t){return Et.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),Et.fn.extend({wrapAll:function(e){if(Et.isFunction(e))return this.each(function(t){Et(this).wrapAll(e.call(this,t))});if(this[0]){var t=Et(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(i){return Et.isFunction(i)?this.each(function(t){Et(this).wrapInner(i.call(this,t))}):this.each(function(){var t=Et(this),e=t.contents();e.length?e.wrapAll(i):t.append(i)})},wrap:function(e){var i=Et.isFunction(e);return this.each(function(t){Et(this).wrapAll(i?e.call(this,t):e)})},unwrap:function(){return this.parent().each(function(){Et.nodeName(this,"body")||Et(this).replaceWith(this.childNodes)}).end()}});var le,he,ce,ue=/alpha\([^)]*\)/i,de=/opacity\s*=\s*([^)]*)/,pe=/^(top|right|bottom|left)$/,fe=/^(none|table(?!-c[ea]).+)/,me=/^margin/,ge=new RegExp("^("+ct+")(.*)$","i"),ve=new RegExp("^("+ct+")(?!px)[a-z%]+$","i"),be=new RegExp("^([+-])=("+ct+")","i"),_e={BODY:"block"},ye={position:"absolute",visibility:"hidden",display:"block"},we={letterSpacing:0,fontWeight:400},xe=["Top","Right","Bottom","Left"],ke=["Webkit","O","Moz","ms"];Et.fn.extend({css:function(t,e){return Et.access(this,function(t,e,i){var n,s,o={},a=0;if(Et.isArray(e)){for(s=he(t),n=e.length;a<n;a++)o[e[a]]=Et.css(t,e[a],!1,s);return o}return i!==k?Et.style(t,e,i):Et.css(t,e)},t,e,1<arguments.length)},show:function(){return C(this,!0)},hide:function(){return C(this)},toggle:function(t){var e="boolean"==typeof t;return this.each(function(){(e?t:x(this))?Et(this).show():Et(this).hide()})}}),Et.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=ce(t,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":Et.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var s,o,a,r=Et.camelCase(e),l=t.style;if(e=Et.cssProps[r]||(Et.cssProps[r]=f(l,r)),a=Et.cssHooks[e]||Et.cssHooks[r],i===k)return a&&"get"in a&&(s=a.get(t,!1,n))!==k?s:l[e];if(!("string"===(o=typeof i)&&(s=be.exec(i))&&(i=(s[1]+1)*s[2]+parseFloat(Et.css(t,e)),o="number"),null==i||"number"===o&&isNaN(i)||("number"!==o||Et.cssNumber[r]||(i+="px"),Et.support.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&(i=a.set(t,i,n))===k)))try{l[e]=i}catch(h){}}},css:function(t,e,i,n){var s,o,a,r=Et.camelCase(e);return e=Et.cssProps[r]||(Et.cssProps[r]=f(t.style,r)),(a=Et.cssHooks[e]||Et.cssHooks[r])&&"get"in a&&(o=a.get(t,!0,i)),o===k&&(o=ce(t,e,n)),"normal"===o&&e in we&&(o=we[e]),""===i||i?(s=parseFloat(o),!0===i||Et.isNumeric(s)?s||0:o):o}}),m.getComputedStyle?(he=function(t){return m.getComputedStyle(t,null)},ce=function(t,e,i){var n,s,o,a=i||he(t),r=a?a.getPropertyValue(e)||a[e]:k,l=t.style;return a&&(""!==r||Et.contains(t.ownerDocument,t)||(r=Et.style(t,e)),ve.test(r)&&me.test(e)&&(n=l.width,s=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=r,r=a.width,l.width=n,l.minWidth=s,l.maxWidth=o)),r}):Q.documentElement.currentStyle&&(he=function(t){return t.currentStyle},ce=function(t,e,i){var n,s,o,a=i||he(t),r=a?a[e]:k,l=t.style;return null==r&&l&&l[e]&&(r=l[e]),ve.test(r)&&!pe.test(e)&&(n=l.left,(o=(s=t.runtimeStyle)&&s.left)&&(s.left=t.currentStyle.left),l.left="fontSize"===e?"1em":r,r=l.pixelLeft+"px",l.left=n,o&&(s.left=o)),""===r?"auto":r}),Et.each(["height","width"],function(t,s){Et.cssHooks[s]={get:function(t,e,i){if(e)return 0===t.offsetWidth&&fe.test(Et.css(t,"display"))?Et.swap(t,ye,function(){return S(t,s,i)}):S(t,s,i)},set:function(t,e,i){var n=i&&he(t);return D(t,e,i?T(t,s,i,Et.support.boxSizing&&"border-box"===Et.css(t,"boxSizing",!1,n),n):0)}}}),Et.support.opacity||(Et.cssHooks.opacity={get:function(t,e){return de.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var i=t.style,n=t.currentStyle,s=Et.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=n&&n.filter||i.filter||"";((i.zoom=1)<=e||""===e)&&""===Et.trim(o.replace(ue,""))&&i.removeAttribute&&(i.removeAttribute("filter"),""===e||n&&!n.filter)||(i.filter=ue.test(o)?o.replace(ue,s):o+" "+s)}}),Et(function(){Et.support.reliableMarginRight||(Et.cssHooks.marginRight={get:function(t,e){if(e)return Et.swap(t,{display:"inline-block"},ce,[t,"marginRight"])}}),!Et.support.pixelPosition&&Et.fn.position&&Et.each(["top","left"],function(t,i){Et.cssHooks[i]={get:function(t,e){if(e)return e=ce(t,i),ve.test(e)?Et(t).position()[i]+"px":e}}})}),Et.expr&&Et.expr.filters&&(Et.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!Et.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||Et.css(t,"display"))},Et.expr.filters.visible=function(t){return!Et.expr.filters.hidden(t)}),Et.each({margin:"",padding:"",border:"Width"},function(s,o){Et.cssHooks[s+o]={expand:function(t){for(var e=0,i={},n="string"==typeof t?t.split(" "):[t];e<4;e++)i[s+xe[e]+o]=n[e]||n[e-2]||n[0];return i}},me.test(s)||(Et.cssHooks[s+o].set=D)});var Ce=/%20/g,De=/\[\]$/,Te=/\r?\n/g,Se=/^(?:submit|button|image|reset|file)$/i,Ne=/^(?:input|select|textarea|keygen)/i;Et.fn.extend({serialize:function(){return Et.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=Et.prop(this,"elements");return t?Et.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!Et(this).is(":disabled")&&Ne.test(this.nodeName)&&!Se.test(t)&&(this.checked||!ee.test(t))}).map(function(t,e){var i=Et(this).val();return null==i?null:Et.isArray(i)?Et.map(i,function(t){return{name:e.name,value:t.replace(Te,"\r\n")}}):{name:e.name,value:i.replace(Te,"\r\n")}}).get()}}),Et.param=function(t,e){var i,n=[],s=function(t,e){e=Et.isFunction(e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(e===k&&(e=Et.ajaxSettings&&Et.ajaxSettings.traditional),Et.isArray(t)||t.jquery&&!Et.isPlainObject(t))Et.each(t,function(){s(this.name,this.value)});else for(i in t)I(i,t[i],e,s);return n.join("&").replace(Ce,"+")},Et.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(t,i){Et.fn[i]=function(t,e){return 0<arguments.length?this.on(i,null,t,e):this.trigger(i)}}),Et.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)}});var Ee,Ie,Pe=Et.now(),Me=/\?/,Ae=/#.*$/,$e=/([?&])_=[^&]*/,ze=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,He=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,je=/^(?:GET|HEAD)$/,We=/^\/\//,Oe=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Le=Et.fn.load,Fe={},Re={},Be="*/".concat("*");try{Ie=X.href}catch(ni){(Ie=Q.createElement("a")).href="",Ie=Ie.href}Ee=Oe.exec(Ie.toLowerCase())||[],Et.fn.load=function(t,e,i){if("string"!=typeof t&&Le)return Le.apply(this,arguments);var n,s,o,a=this,r=t.indexOf(" ");return 0<=r&&(n=t.slice(r,t.length),t=t.slice(0,r)),Et.isFunction(e)?(i=e,e=k):e&&"object"==typeof e&&(o="POST"),0<a.length&&Et.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){s=arguments,a.html(n?Et("<div>").append(Et.parseHTML(t)).find(n):t)}).complete(i&&function(t,e){a.each(i,s||[t.responseText,e,t])}),this},Et.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){Et.fn[e]=function(t){return this.on(e,t)}}),Et.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ie,type:"GET",isLocal:He.test(Ee[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Be,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",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":Et.parseJSON,"text xml":Et.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?A(A(t,Et.ajaxSettings),e):A(Et.ajaxSettings,t)},ajaxPrefilter:P(Fe),ajaxTransport:P(Re),ajax:function(t,e){function i(t,e,i,n){var s,o,a,r,l,h=e;2!==w&&(w=2,d&&clearTimeout(d),f=k,u=n||"",x.readyState=0<t?4:0,s=200<=t&&t<300||304===t,i&&(r=$(m,x,i)),r=z(m,r,x,s),s?(m.ifModified&&((l=x.getResponseHeader("Last-Modified"))&&(Et.lastModified[c]=l),(l=x.getResponseHeader("etag"))&&(Et.etag[c]=l)),204===t||"HEAD"===m.type?h="nocontent":304===t?h="notmodified":(h=r.state,o=r.data,s=!(a=r.error))):(a=h,!t&&h||(h="error",t<0&&(t=0))),x.status=t,x.statusText=(e||h)+"",s?b.resolveWith(g,[o,h,x]):b.rejectWith(g,[x,h,a]),x.statusCode(y),y=k,p&&v.trigger(s?"ajaxSuccess":"ajaxError",[x,m,s?o:a]),_.fireWith(g,[x,h]),p&&(v.trigger("ajaxComplete",[x,m]),--Et.active||Et.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=k),e=e||{};var n,s,c,u,d,p,f,o,m=Et.ajaxSetup({},e),g=m.context||m,v=m.context&&(g.nodeType||g.jquery)?Et(g):Et.event,b=Et.Deferred(),_=Et.Callbacks("once memory"),y=m.statusCode||{},a={},r={},w=0,l="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(2===w){if(!o)for(o={};e=ze.exec(u);)o[e[1].toLowerCase()]=e[2];e=o[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===w?u:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return w||(t=r[i]=r[i]||t,a[t]=e),this},overrideMimeType:function(t){return w||(m.mimeType=t),this},statusCode:function(t){var e;if(t)if(w<2)for(e in t)y[e]=[y[e],t[e]];else x.always(t[x.status]);return this},abort:function(t){var e=t||l;return f&&f.abort(e),i(0,e),this}};if(b.promise(x).complete=_.add,x.success=x.done,x.error=x.fail,m.url=((t||m.url||Ie)+"").replace(Ae,"").replace(We,Ee[1]+"//"),m.type=e.method||e.type||m.method||m.type,m.dataTypes=Et.trim(m.dataType||"*").toLowerCase().match(ut)||[""],null==m.crossDomain&&(n=Oe.exec(m.url.toLowerCase()),m.crossDomain=!(!n||n[1]===Ee[1]&&n[2]===Ee[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(Ee[3]||("http:"===Ee[1]?"80":"443")))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=Et.param(m.data,m.traditional)),M(Fe,m,e,x),2===w)return x;for(s in(p=m.global)&&0==Et.active++&&Et.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!je.test(m.type),c=m.url,m.hasContent||(m.data&&(c=m.url+=(Me.test(c)?"&":"?")+m.data,delete m.data),!1===m.cache&&(m.url=$e.test(c)?c.replace($e,"$1_="+Pe++):c+(Me.test(c)?"&":"?")+"_="+Pe++)),m.ifModified&&(Et.lastModified[c]&&x.setRequestHeader("If-Modified-Since",Et.lastModified[c]),Et.etag[c]&&x.setRequestHeader("If-None-Match",Et.etag[c])),(m.data&&m.hasContent&&!1!==m.contentType||e.contentType)&&x.setRequestHeader("Content-Type",m.contentType),x.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Be+"; q=0.01":""):m.accepts["*"]),m.headers)x.setRequestHeader(s,m.headers[s]);if(m.beforeSend&&(!1===m.beforeSend.call(g,x,m)||2===w))return x.abort();for(s in l="abort",{success:1,error:1,complete:1})x[s](m[s]);if(f=M(Re,m,e,x)){x.readyState=1,p&&v.trigger("ajaxSend",[x,m]),m.async&&0<m.timeout&&(d=setTimeout(function(){x.abort("timeout")},m.timeout));try{w=1,f.send(a,i)}catch(ni){if(!(w<2))throw ni;i(-1,ni)}}else i(-1,"No Transport");return x},getJSON:function(t,e,i){return Et.get(t,e,i,"json")},getScript:function(t,e){return Et.get(t,k,e,"script")}}),Et.each(["get","post"],function(t,s){Et[s]=function(t,e,i,n){return Et.isFunction(e)&&(n=n||i,i=e,e=k),Et.ajax({url:t,type:s,dataType:n,data:e,success:i})}}),Et.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return Et.globalEval(t),t}}}),Et.ajaxPrefilter("script",function(t){t.cache===k&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),Et.ajaxTransport("script",function(e){if(e.crossDomain){var n,s=Q.head||Et("head")[0]||Q.documentElement;return{send:function(t,i){(n=Q.createElement("script")).async=!0,e.scriptCharset&&(
+n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(t,e){(e||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,e||i(200,"success"))},s.insertBefore(n,s.firstChild)},abort:function(){n&&n.onload(k,!0)}}}});var qe=[],Ye=/(=)\?(?=&|$)|\?\?/;Et.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=qe.pop()||Et.expando+"_"+Pe++;return this[t]=!0,t}}),Et.ajaxPrefilter("json jsonp",function(t,e,i){var n,s,o,a=!1!==t.jsonp&&(Ye.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ye.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=Et.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Ye,"$1"+n):!1!==t.jsonp&&(t.url+=(Me.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return o||Et.error(n+" was not called"),o[0]},t.dataTypes[0]="json",s=m[n],m[n]=function(){o=arguments},i.always(function(){m[n]=s,t[n]&&(t.jsonpCallback=e.jsonpCallback,qe.push(n)),o&&Et.isFunction(s)&&s(o[0]),o=s=k}),"script"});var Ue,Ke,Ve=0,Xe=m.ActiveXObject&&function(){var t;for(t in Ue)Ue[t](k,!0)};Et.ajaxSettings.xhr=m.ActiveXObject?function(){return!this.isLocal&&H()||j()}:H,Ke=Et.ajaxSettings.xhr(),Et.support.cors=!!Ke&&"withCredentials"in Ke,(Ke=Et.support.ajax=!!Ke)&&Et.ajaxTransport(function(c){var u;if(!c.crossDomain||Et.support.cors)return{send:function(t,r){var l,e,h=c.xhr();if(c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async),c.xhrFields)for(e in c.xhrFields)h[e]=c.xhrFields[e];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),c.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest");try{for(e in t)h.setRequestHeader(e,t[e])}catch(i){}h.send(c.hasContent&&c.data||null),u=function(t,e){var i,n,s,o;try{if(u&&(e||4===h.readyState))if(u=k,l&&(h.onreadystatechange=Et.noop,Xe&&delete Ue[l]),e)4!==h.readyState&&h.abort();else{o={},i=h.status,n=h.getAllResponseHeaders(),"string"==typeof h.responseText&&(o.text=h.responseText);try{s=h.statusText}catch(ni){s=""}i||!c.isLocal||c.crossDomain?1223===i&&(i=204):i=o.text?200:404}}catch(a){e||r(-1,a)}o&&r(i,s,o,n)},c.async?4===h.readyState?setTimeout(u):(l=++Ve,Xe&&(Ue||(Ue={},Et(m).unload(Xe)),Ue[l]=u),h.onreadystatechange=u):u()},abort:function(){u&&u(k,!0)}}});var Qe,Ge,Je=/^(?:toggle|show|hide)$/,Ze=new RegExp("^(?:([+-])=|)("+ct+")([a-z%]*)$","i"),ti=/queueHooks$/,ei=[R],ii={"*":[function(t,e){var i=this.createTween(t,e),n=i.cur(),s=Ze.exec(e),o=s&&s[3]||(Et.cssNumber[t]?"":"px"),a=(Et.cssNumber[t]||"px"!==o&&+n)&&Ze.exec(Et.css(i.elem,t)),r=1,l=20;if(a&&a[3]!==o)for(o=o||a[3],s=s||[],a=+n||1;a/=r=r||".5",Et.style(i.elem,t,a+o),r!==(r=i.cur()/n)&&1!==r&&--l;);return s&&(i.unit=o,i.start=+a||+n||0,i.end=s[1]?a+(s[1]+1)*s[2]:+s[2]),i}]};Et.Animation=Et.extend(L,{tweener:function(t,e){Et.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var i,n=0,s=t.length;n<s;n++)i=t[n],ii[i]=ii[i]||[],ii[i].unshift(e)},prefilter:function(t,e){e?ei.unshift(t):ei.push(t)}}),(Et.Tween=B).prototype={constructor:B,init:function(t,e,i,n,s,o){this.elem=t,this.prop=i,this.easing=s||"swing",this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=o||(Et.cssNumber[i]?"":"px")},cur:function(){var t=B.propHooks[this.prop];return t&&t.get?t.get(this):B.propHooks._default.get(this)},run:function(t){var e,i=B.propHooks[this.prop];return this.options.duration?this.pos=e=Et.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):B.propHooks._default.set(this),this}},B.prototype.init.prototype=B.prototype,B.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=Et.css(t.elem,t.prop,""))&&"auto"!==e?e:0:t.elem[t.prop]},set:function(t){Et.fx.step[t.prop]?Et.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[Et.cssProps[t.prop]]||Et.cssHooks[t.prop])?Et.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},B.propHooks.scrollTop=B.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},Et.each(["toggle","show","hide"],function(t,n){var s=Et.fn[n];Et.fn[n]=function(t,e,i){return null==t||"boolean"==typeof t?s.apply(this,arguments):this.animate(q(n,!0),t,e,i)}}),Et.fn.extend({fadeTo:function(t,e,i,n){return this.filter(x).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(e,t,i,n){var s=Et.isEmptyObject(e),o=Et.speed(t,i,n),a=function(){var t=L(this,Et.extend({},e),o);a.finish=function(){t.stop(!0)},(s||Et._data(this,"finish"))&&t.stop(!0)};return a.finish=a,s||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(s,t,o){var a=function(t){var e=t.stop;delete t.stop,e(o)};return"string"!=typeof s&&(o=t,t=s,s=k),t&&!1!==s&&this.queue(s||"fx",[]),this.each(function(){var t=!0,e=null!=s&&s+"queueHooks",i=Et.timers,n=Et._data(this);if(e)n[e]&&n[e].stop&&a(n[e]);else for(e in n)n[e]&&n[e].stop&&ti.test(e)&&a(n[e]);for(e=i.length;e--;)i[e].elem!==this||null!=s&&i[e].queue!==s||(i[e].anim.stop(o),t=!1,i.splice(e,1));!t&&o||Et.dequeue(this,s)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var t,e=Et._data(this),i=e[a+"queue"],n=e[a+"queueHooks"],s=Et.timers,o=i?i.length:0;for(e.finish=!0,Et.queue(this,a,[]),n&&n.cur&&n.cur.finish&&n.cur.finish.call(this),t=s.length;t--;)s[t].elem===this&&s[t].queue===a&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<o;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete e.finish})}}),Et.each({slideDown:q("show"),slideUp:q("hide"),slideToggle:q("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){Et.fn[t]=function(t,e,i){return this.animate(n,t,e,i)}}),Et.speed=function(t,e,i){var n=t&&"object"==typeof t?Et.extend({},t):{complete:i||!i&&e||Et.isFunction(t)&&t,duration:t,easing:i&&e||e&&!Et.isFunction(e)&&e};return n.duration=Et.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in Et.fx.speeds?Et.fx.speeds[n.duration]:Et.fx.speeds._default,null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){Et.isFunction(n.old)&&n.old.call(this),n.queue&&Et.dequeue(this,n.queue)},n},Et.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},Et.timers=[],Et.fx=B.prototype.init,Et.fx.tick=function(){var t,e=Et.timers,i=0;for(Qe=Et.now();i<e.length;i++)(t=e[i])()||e[i]!==t||e.splice(i--,1);e.length||Et.fx.stop(),Qe=k},Et.fx.timer=function(t){t()&&Et.timers.push(t)&&Et.fx.start()},Et.fx.interval=13,Et.fx.start=function(){Ge||(Ge=setInterval(Et.fx.tick,Et.fx.interval))},Et.fx.stop=function(){clearInterval(Ge),Ge=null},Et.fx.speeds={slow:600,fast:200,_default:400},Et.fx.step={},Et.expr&&Et.expr.filters&&(Et.expr.filters.animated=function(e){return Et.grep(Et.timers,function(t){return e===t.elem}).length}),Et.fn.offset=function(e){if(arguments.length)return e===k?this:this.each(function(t){Et.offset.setOffset(this,e,t)});var t,i,n={top:0,left:0},s=this[0],o=s&&s.ownerDocument;return o?(t=o.documentElement,Et.contains(t,s)?(typeof s.getBoundingClientRect!==V&&(n=s.getBoundingClientRect()),i=Y(o),{top:n.top+(i.pageYOffset||t.scrollTop)-(t.clientTop||0),left:n.left+(i.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):n):void 0},Et.offset={setOffset:function(t,e,i){var n=Et.css(t,"position");"static"===n&&(t.style.position="relative");var s,o,a=Et(t),r=a.offset(),l=Et.css(t,"top"),h=Et.css(t,"left"),c={},u={};("absolute"===n||"fixed"===n)&&-1<Et.inArray("auto",[l,h])?(s=(u=a.position()).top,o=u.left):(s=parseFloat(l)||0,o=parseFloat(h)||0),Et.isFunction(e)&&(e=e.call(t,i,r)),null!=e.top&&(c.top=e.top-r.top+s),null!=e.left&&(c.left=e.left-r.left+o),"using"in e?e.using.call(t,c):a.css(c)}},Et.fn.extend({position:function(){if(this[0]){var t,e,i={top:0,left:0},n=this[0];return"fixed"===Et.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),Et.nodeName(t[0],"html")||(i=t.offset()),i.top+=Et.css(t[0],"borderTopWidth",!0),i.left+=Et.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-Et.css(n,"marginTop",!0),left:e.left-i.left-Et.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||G;t&&!Et.nodeName(t,"html")&&"static"===Et.css(t,"position");)t=t.offsetParent;return t||G})}}),Et.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,s){var o=/Y/.test(s);Et.fn[e]=function(t){return Et.access(this,function(t,e,i){var n=Y(t);if(i===k)return n?s in n?n[s]:n.document.documentElement[e]:t[e];n?n.scrollTo(o?Et(n).scrollLeft():i,o?i:Et(n).scrollTop()):t[e]=i},e,t,arguments.length,null)}}),Et.each({Height:"height",Width:"width"},function(o,a){Et.each({padding:"inner"+o,content:a,"":"outer"+o},function(n,t){Et.fn[t]=function(t,e){var i=arguments.length&&(n||"boolean"!=typeof t),s=n||(!0===t||!0===e?"margin":"border");return Et.access(this,function(t,e,i){var n;return Et.isWindow(t)?t.document.documentElement["client"+o]:9===t.nodeType?(n=t.documentElement,Math.max(t.body["scroll"+o],n["scroll"+o],t.body["offset"+o],n["offset"+o],n["client"+o])):i===k?Et.css(t,e,s):Et.style(t,e,i,s)},a,i?t:k,i,null)}})}),Et.fn.size=function(){return this.length},Et.fn.andSelf=Et.fn.addBack,"object"==typeof module&&"object"==typeof module.exports?module.exports=Et:(m.jQuery=m.$=Et,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Et}))}(window),function(u,d){var p;u.rails!==d&&u.error("jquery-ujs has already been loaded!"),u.rails=p={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]",buttonClickSelector:"button[data-remote]",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type])",disableSelector:"input[data-disable-with], button[data-disable-with], textarea[data-disable-with]",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input[type=file]",linkDisableSelector:"a[data-disable-with]",CSRFProtection:function(t){var e=u('meta[name="csrf-token"]').attr("content");e&&t.setRequestHeader("X-CSRF-Token",e)},fire:function(t,e,i){var n=u.Event(e);return t.trigger(n,i),!1!==n.result},confirm:function(t){return confirm(t)},ajax:function(t){return u.ajax(t)},href:function(t){return t.attr("href")},handleRemote:function(n){var t,e,i,s,o,a,r,l;if(p.fire(n,"ajax:before")){if(o=(s=n.data("cross-domain"))===d?null:s,a=n.data("with-credentials")||null,r=n.data("type")||u.ajaxSettings&&u.ajaxSettings.dataType,n.is("form")){t=n.attr("method"),e=n.attr("action"),i=n.serializeArray();var h=n.data("ujs:submit-button");h&&(i.push(h),n.data("ujs:submit-button",null))}else n.is(p.inputChangeSelector)?(t=n.data("method"),e=n.data("url"),i=n.serialize(),n.data("params")&&(i=i+"&"+n.data("params"))):n.is(p.buttonClickSelector)?(t=n.data("method")||"get",e=n.data("url"),i=n.serialize(),n.data("params")&&(i=i+"&"+n.data("params"))):(t=n.data("method"),e=p.href(n),i=n.data("params")||null);l={type:t||"GET",data:i,dataType:r,beforeSend:function(t,e){return e.dataType===d&&t.setRequestHeader("accept","*/*;q=0.5, "+e.accepts.script),p.fire(n,"ajax:beforeSend",[t,e])},success:function(t,e,i){n.trigger("ajax:success",[t,e,i])},complete:function(t,e){n.trigger("ajax:complete",[t,e])},error:function(t,e,i){n.trigger("ajax:error",[t,e,i])},crossDomain:o},a&&(l.xhrFields={withCredentials:a}),e&&(l.url=e);var c=p.ajax(l);return n.trigger("ajax:send",c),c}return!1},handleMethod:function(t){var e=p.href(t),i=t.data("method"),n=t.attr("target"),s=u("meta[name=csrf-token]").attr("content"),o=u("meta[name=csrf-param]").attr("content"),a=u('<form method="post" action="'+e+'"></form>'),r='<input name="_method" value="'+i+'" type="hidden" />';o!==d&&s!==d&&(r+='<input name="'+o+'" value="'+s+'" type="hidden" />'),n&&a.attr("target",n),a.hide().append(r).appendTo("body"),a.submit()},disableFormElements:function(t){t.find(p.disableSelector).each(function(){var t=u(this),e=t.is("button")?"html":"val";t.data("ujs:enable-with",t[e]()),t[e](t.data("disable-with")),t.prop("disabled",!0)})},enableFormElements:function(t){t.find(p.enableSelector).each(function(){var t=u(this),e=t.is("button")?"html":"val";t.data("ujs:enable-with")&&t[e](t.data("ujs:enable-with")),t.prop("disabled",!1)})},allowAction:function(t){var e,i=t.data("confirm"),n=!1;return!i||(p.fire(t,"confirm")&&(n=p.confirm(i),e=p.fire(t,"confirm:complete",[n])),n&&e)},blankInputs:function(t,e,i){var n,s=u(),o=e||"input,textarea",a=t.find(o);return a.each(function(){if(n=u(this),!(n.is("input[type=checkbox],input[type=radio]")?n.is(":checked"):n.val())==!i){if(n.is("input[type=radio]")&&a.filter('input[type=radio]:checked[name="'+n.attr("name")+'"]').length)return!0;s=s.add(n)}}),!!s.length&&s},nonBlankInputs:function(t,e){return p.blankInputs(t,e,!0)},stopEverything:function(t){return u(t.target).trigger("ujs:everythingStopped"),t.stopImmediatePropagation(),!1},disableElement:function(t){t.data("ujs:enable-with",t.html()),t.html(t.data("disable-with")),t.bind("click.railsDisable",function(t){return p.stopEverything(t)})},enableElement:function(t){t.data("ujs:enable-with")!==d&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.unbind("click.railsDisable")}},p.fire(u(document),"rails:attachBindings")&&(u.ajaxPrefilter(function(t,e,i){t.crossDomain||p.CSRFProtection(i)}),u(document).delegate(p.linkDisableSelector,"ajax:complete",function(){p.enableElement(u(this))}),u(document).delegate(p.linkClickSelector,"click.rails",function(t){var e=u(this),i=e.data("method"),n=e.data("params");if(!p.allowAction(e))return p.stopEverything(t);if(e.is(p.linkDisableSelector)&&p.disableElement(e),e.data("remote")===d)return e.data("method")?(p.handleMethod(e),!1):void 0;if((t.metaKey||t.ctrlKey)&&(!i||"GET"===i)&&!n)return!0;var s=p.handleRemote(e);return!1===s?p.enableElement(e):s.error(function(){p.enableElement(e)}),!1}),u(document).delegate(p.buttonClickSelector,"click.rails",function(t){var e=u(this);return p.allowAction(e)?(p.handleRemote(e),!1):p.stopEverything(t)}),u(document).delegate(p.inputChangeSelector,"change.rails",function(t){var e=u(this);return p.allowAction(e)?(p.handleRemote(e),!1):p.stopEverything(t)}),u(document).delegate(p.formSubmitSelector,"submit.rails",function(t){var e=u(this),i=e.data("remote")!==d,n=p.blankInputs(e,p.requiredInputSelector),s=p.nonBlankInputs(e,p.fileInputSelector);if(!p.allowAction(e))return p.stopEverything(t);if(n&&e.attr("novalidate")==d&&p.fire(e,"ajax:aborted:required",[n]))return p.stopEverything(t);if(i){if(s){setTimeout(function(){p.disableFormElements(e)},13);var o=p.fire(e,"ajax:aborted:file",[s]);return o||setTimeout(function(){p.enableFormElements(e)},13),o}return p.handleRemote(e),!1}setTimeout(function(){p.disableFormElements(e)},13)}),u(document).delegate(p.formInputClickSelector,"click.rails",function(t){var e=u(this);if(!p.allowAction(e))return p.stopEverything(t);var i=e.attr("name"),n=i?{name:i,value:e.val()}:null;e.closest("form").data("ujs:submit-button",n)}),u(document).delegate(p.formSubmitSelector,"ajax:beforeSend.rails",function(t){this==t.target&&p.disableFormElements(u(this))}),u(document).delegate(p.formSubmitSelector,"ajax:complete.rails",function(t){this==t.target&&p.enableFormElements(u(this))}),u(function(){var t=u("meta[name=csrf-token]").attr("content"),e=u("meta[name=csrf-param]").attr("content");u('form input[name="'+e+'"]').val(t)}))}(jQuery),
+/*! jQuery UI - v1.10.3 - 2013-05-03
+* http://jqueryui.com
+* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.effect.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.position.js, jquery.ui.progressbar.js, jquery.ui.slider.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+function(r,l){function n(t,e){var i,n,s,o=t.nodeName.toLowerCase();return"area"===o?(n=(i=t.parentNode).name,!(!t.href||!n||"map"!==i.nodeName.toLowerCase())&&(!!(s=r("img[usemap=#"+n+"]")[0])&&a(s))):(/input|select|textarea|button|object/.test(o)?!t.disabled:"a"===o&&t.href||e)&&a(t)}function a(t){return r.expr.filters.visible(t)&&!r(t).parents().addBack().filter(function(){return"hidden"===r.css(this,"visibility")}).length}var t,e,i=0,s=/^ui-id-\d+$/;r.ui=r.ui||{},r.extend(r.ui,{version:"1.10.3",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),r.fn.extend({focus:(t=r.fn.focus,function(e,i){return"number"==typeof e?this.each(function(){var t=this;setTimeout(function(){r(t).focus(),i&&i.call(t)},e)}):t.apply(this,arguments)}),scrollParent:function(){var t;return t=r.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(r.css(this,"position"))&&/(auto|scroll)/.test(r.css(this,"overflow")+r.css(this,"overflow-y")+r.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(r.css(this,"overflow")+r.css(this,"overflow-y")+r.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?r(document):t},zIndex:function(t){if(t!==l)return this.css("zIndex",t);if(this.length)for(var e,i,n=r(this[0]);n.length&&n[0]!==document;){if(("absolute"===(e=n.css("position"))||"relative"===e||"fixed"===e)&&(i=parseInt(n.css("zIndex"),10),!isNaN(i)&&0!==i))return i;n=n.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++i)})},removeUniqueId:function(){return this.each(function(){s.test(this.id)&&r(this).removeAttr("id")})}}),r.extend(r.expr[":"],{data:r.expr.createPseudo?r.expr.createPseudo(function(e){return function(t){return!!r.data(t,e)}}):function(t,e,i){return!!r.data(t,i[3])},focusable:function(t){return n(t,!isNaN(r.attr(t,"tabindex")))},tabbable:function(t){var e=r.attr(t,"tabindex"),i=isNaN(e);return(i||0<=e)&&n(t,!i)}}),r("<a>").outerWidth(1).jquery||r.each(["Width","Height"],function(t,i){function n(t,e,i,n){return r.each(s,function(){e-=parseFloat(r.css(t,"padding"+this))||0,i&&(e-=parseFloat(r.css(t,"border"+this+"Width"))||0),n&&(e-=parseFloat(r.css(t,"margin"+this))||0)}),e}var s="Width"===i?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),a={innerWidth:r.fn.innerWidth,innerHeight:r.fn.innerHeight,outerWidth:r.fn.outerWidth,outerHeight:r.fn.outerHeight};r.fn["inner"+i]=function(t){return t===l?a["inner"+i].call(this):this.each(function(){r(this).css(o,n(this,t)+"px")})},r.fn["outer"+i]=function(t,e){return"number"!=typeof t?a["outer"+i].call(this,t):this.each(function(){r(this).css(o,n(this,t,!0,e)+"px")})}}),r.fn.addBack||(r.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),r("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(r.fn.removeData=(e=r.fn.removeData,function(t){return arguments.length?e.call(this,r.camelCase(t)):e.call(this)})),r.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),r.support.selectstart="onselectstart"in document.createElement("div"),r.fn.extend({disableSelection:function(){return this.bind((r.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(t){t.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),r.extend(r.ui,{plugin:{add:function(t,e,i){var n,s=r.ui[t].prototype;for(n in i)s.plugins[n]=s.plugins[n]||[],s.plugins[n].push([e,i[n]])},call:function(t,e,i){var n,s=t.plugins[e];if(s&&t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType)for(n=0;n<s.length;n++)t.options[s[n][0]]&&s[n][1].apply(t.element,i)}},hasScroll:function(t,e){if("hidden"===r(t).css("overflow"))return!1;var i=e&&"left"===e?"scrollLeft":"scrollTop",n=!1;return 0<t[i]||(t[i]=1,n=0<t[i],t[i]=0,n)}})}(jQuery),function(c,r){var i=0,l=Array.prototype.slice,s=c.cleanData;c.cleanData=function(t){for(var e,i=0;null!=(e=t[i]);i++)try{c(e).triggerHandler("remove")}catch(n){}s(t)},c.widget=function(t,i,e){var n,s,o,a,r={},l=t.split(".")[0];t=t.split(".")[1],n=l+"-"+t,e||(e=i,i=c.Widget),c.expr[":"][n.toLowerCase()]=function(t){return!!c.data(t,n)},c[l]=c[l]||{},s=c[l][t],o=c[l][t]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},c.extend(o,s,{version:e.version,_proto:c.extend({},e),_childConstructors:[]}),(a=new i).options=c.widget.extend({},a.options),c.each(e,function(e,n){var s,o;c.isFunction(n)?r[e]=(s=function(){return i.prototype[e].apply(this,arguments)},o=function(t){return i.prototype[e].apply(this,t)},function(){var t,e=this._super,i=this._superApply;return this._super=s,this._superApply=o,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}):r[e]=n}),o.prototype=c.widget.extend(a,{widgetEventPrefix:s?a.widgetEventPrefix:t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:n}),s?(c.each(s._childConstructors,function(t,e){var i=e.prototype;c.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete s._childConstructors):i._childConstructors.push(o),c.widget.bridge(t,o)},c.widget.extend=function(t){for(var e,i,n=l.call(arguments,1),s=0,o=n.length;s<o;s++)for(e in n[s])i=n[s][e],n[s].hasOwnProperty(e)&&i!==r&&(c.isPlainObject(i)?t[e]=c.isPlainObject(t[e])?c.widget.extend({},t[e],i):c.widget.extend({},i):t[e]=i);return t},c.widget.bridge=function(o,e){var a=e.prototype.widgetFullName||o;c.fn[o]=function(i){var t="string"==typeof i,n=l.call(arguments,1),s=this;return i=!t&&n.length?c.widget.extend.apply(null,[i].concat(n)):i,t?this.each(function(){var t,e=c.data(this,a);return e?c.isFunction(e[i])&&"_"!==i.charAt(0)?(t=e[i].apply(e,n))!==e&&t!==r?(s=t&&t.jquery?s.pushStack(t.get()):t,!1):void 0:c.error("no such method '"+i+"' for "+o+" widget instance"):c.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+i+"'")}):this.each(function(){var t=c.data(this,a);t?t.option(i||{})._init():c.data(this,a,new e(i,this))}),s}},c.Widget=function(){},c.Widget._childConstructors=[],c.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,e){e=c(e||this.defaultElement||this)[0],this.element=c(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=c.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=c(),this.hoverable=c(),this.focusable=c(),e!==this&&(c.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=c(e.style?e.ownerDocument:e.document||e),this.window=c(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:c.noop,_getCreateEventData:c.noop,_create:c.noop,_init:c.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(c.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:c.noop,widget:function(){return this.element},option:function(t,e){var i,n,s,o=t;if(0===arguments.length)return c.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(n=o[t]=c.widget.extend({},this.options[t]),s=0;s<i.length-1;s++)n[i[s]]=n[i[s]]||{},n=n[i[s]];if(t=i.pop(),e===r)return n[t]===r?null:n[t];n[t]=e}else{if(e===r)return this.options[t]===r?null:this.options[t];o[t]=e}return this._setOptions(o),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!e).attr("aria-disabled",e),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(a,r,t){var l,h=this;"boolean"!=typeof a&&(t=r,r=a,a=!1),t?(r=l=c(r),this.bindings=this.bindings.add(r)):(t=r,r=this.element,l=this.widget()),c.each(t,function(t,e){function i(){if(a||!0!==h.options.disabled&&!c(this).hasClass("ui-state-disabled"))return("string"==typeof e?h[e]:e).apply(h,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||c.guid++);var n=t.match(/^(\w+)\s*(.*)$/),s=n[1]+h.eventNamespace,o=n[2];o?l.delegate(o,s,i):r.bind(s,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){function i(){return("string"==typeof t?n[t]:t).apply(n,arguments)}var n=this;return setTimeout(i,e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){c(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){c(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){c(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){c(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,e,i){var n,s,o=this.options[t];if(i=i||{},(e=c.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],s=e.originalEvent)for(n in s)n in e||(e[n]=s[n]);return this.element.trigger(e,i),!(c.isFunction(o)&&!1===o.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},c.each({show:"fadeIn",hide:"fadeOut"},function(o,a){c.Widget.prototype["_"+o]=function(e,t,i){"string"==typeof t&&(t={effect:t});var n,s=t?!0===t||"number"==typeof t?a:t.effect||a:o;"number"==typeof(t=t||{})&&(t={duration:t}),n=!c.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&c.effects&&c.effects.effect[s]?e[o](t):s!==o&&e[s]?e[s](t.duration,t.easing,i):e.queue(function(t){c(this)[o](),i&&i.call(e[0]),t()})}})}(jQuery),function(s){var o=!1;s(document).mouseup(function(){o=!1}),s.widget("ui.mouse",{version:"1.10.3",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).bind("click."+this.widgetName,function(t){if(!0===s.data(t.target,e.widgetName+".preventClickEvent"))return s.removeData(t.target,e.widgetName+".preventClickEvent"),t.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&s(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!o){this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var e=this,i=1===t.which,n=!("string"!=typeof this.options.cancel||!t.target.nodeName)&&s(t.target).closest(this.options.cancel).length;return!(i&&!n&&this._mouseCapture(t))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted)?(t.preventDefault(),!0):(!0===s.data(t.target,this.widgetName+".preventClickEvent")&&s.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return e._mouseMove(t)},this._mouseUpDelegate=function(t){return e._mouseUp(t)},s(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),o=!0))}},_mouseMove:function(t){return s.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button?this._mouseUp(t):this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){return s(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&s.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}(jQuery),function(_){_.widget("ui.draggable",_.ui.mouse,{version:"1.10.3",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"!==this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy()},_mouseCapture:function(t){var e=this.options;return!(this.helper||e.disabled||0<_(t.target).closest(".ui-resizable-handle").length)&&(this.handle=this._getHandle(t),!!this.handle&&(_(!0===e.iframeFix?"iframe":e.iframeFix).each(function(){_("<div class='ui-draggable-iframeFix' style='background: #fff;'></div>").css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(_(this).offset()).appendTo("body")}),!0))},_mouseStart:function(t){var e=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),_.ui.ddmanager&&(_.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offsetParent=this.helper.offsetParent(),this.offsetParentCssPosition=this.offsetParent.css("position"),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.offset.scroll=!1,_.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),_.ui.ddmanager&&!e.dropBehaviour&&_.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),_.ui.ddmanager&&_.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,e){if("fixed"===this.offsetParentCssPosition&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),!e){var i=this._uiHash();if(!1===this._trigger("drag",t,i))return this._mouseUp({}),!1;this.position=i.position}return this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),_.ui.ddmanager&&_.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var e=this,i=!1;return _.ui.ddmanager&&!this.options.dropBehaviour&&(i=_.ui.ddmanager.drop(this,t)),this.dropped&&(i=this.dropped,this.dropped=!1),("original"!==this.options.helper||_.contains(this.element[0].ownerDocument,this.element[0]))&&("invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||!0===this.options.revert||_.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?_(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==e._trigger("stop",t)&&e._clear()}):!1!==this._trigger("stop",t)&&this._clear()),!1},_mouseUp:function(t){return _("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),_.ui.ddmanager&&_.ui.ddmanager.dragStop(this,t),_.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){return!this.options.handle||!!_(t.target).closest(this.element.find(this.options.handle)).length},_createHelper:function(t){var e=this.options,i=_.isFunction(e.helper)?_(e.helper.apply(this.element[0],[t])):"clone"===e.helper?this.element.clone().removeAttr("id"):this.element;return i.parents("body").length||i.appendTo("parent"===e.appendTo?this.element[0].parentNode:e.appendTo),i[0]===this.element[0]||/(fixed|absolute)/.test(i.css("position"))||i.css("position","absolute"),i},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),_.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&_.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&_.ui.ie)&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e,i,n=this.options;n.containment?"window"!==n.containment?"document"!==n.containment?n.containment.constructor!==Array?("parent"===n.containment&&(n.containment=this.helper[0].parentNode),(i=(e=_(n.containment))[0])&&(t="hidden"!==e.css("overflow"),this.containment=[(parseInt(e.css("borderLeftWidth"),10)||0)+(parseInt(e.css("paddingLeft"),10)||0),(parseInt(e.css("borderTopWidth"),10)||0)+(parseInt(e.css("paddingTop"),10)||0),(t?Math.max(i.scrollWidth,i.offsetWidth):i.offsetWidth)-(parseInt(e.css("borderRightWidth"),10)||0)-(parseInt(e.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(i.scrollHeight,i.offsetHeight):i.offsetHeight)-(parseInt(e.css("borderBottomWidth"),10)||0)-(parseInt(e.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=e)):this.containment=n.containment:this.containment=[0,0,_(document).width()-this.helperProportions.width-this.margins.left,(_(document).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[_(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,_(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,_(window).scrollLeft()+_(window).width()-this.helperProportions.width-this.margins.left,_(window).scrollTop()+(_(window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(t,e){e||(e=this.position);var i="absolute"===t?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&_.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent;return this.offset.scroll||(this.offset.scroll={top:n.scrollTop(),left:n.scrollLeft()}),{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top)*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)*i}},_generatePosition:function(t){var e,i,n,s,o=this.options,a="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&_.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=t.pageX,l=t.pageY;return this.offset.scroll||(this.offset.scroll={top:a.scrollTop(),left:a.scrollLeft()}),this.originalPosition&&(this.containment&&(this.relative_container?(i=this.relative_container.offset(),e=[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]):e=this.containment,t.pageX-this.offset.click.left<e[0]&&(r=e[0]+this.offset.click.left),t.pageY-this.offset.click.top<e[1]&&(l=e[1]+this.offset.click.top),t.pageX-this.offset.click.left>e[2]&&(r=e[2]+this.offset.click.left),t.pageY-this.offset.click.top>e[3]&&(l=e[3]+this.offset.click.top)),o.grid&&(n=o.grid[1]?this.originalPageY+Math.round((l-this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY,l=e?n-this.offset.click.top>=e[1]||n-this.offset.click.top>e[3]?n:n-this.offset.click.top>=e[1]?n-o.grid[1]:n+o.grid[1]:n,s=o.grid[0]?this.originalPageX+Math.round((r-this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX,r=e?s-this.offset.click.left>=e[0]||s-this.offset.click.left>e[2]?s:s-this.offset.click.left>=e[0]?s-o.grid[0]:s+o.grid[0]:s)),{top:l-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top),left:r-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(t,e,i){return i=i||this._uiHash(),_.ui.plugin.call(this,t,[e,i]),"drag"===t&&(this.positionAbs=this._convertPositionTo("absolute")),_.Widget.prototype._trigger.call(this,t,e,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),_.ui.plugin.add("draggable","connectToSortable",{start:function(e,t){var i=_(this).data("ui-draggable"),n=i.options,s=_.extend({},t,{item:i.element});i.sortables=[],_(n.connectToSortable).each(function(){var t=_.data(this,"ui-sortable");t&&!t.options.disabled&&(i.sortables.push({instance:t,shouldRevert:t.options.revert}),t.refreshPositions(),t._trigger("activate",e,s))})},stop:function(t,e){var i=_(this).data("ui-draggable"),n=_.extend({},e,{item:i.element});_.each(i.sortables,function(){this.instance.isOver?(this.instance.isOver=0,i.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=this.shouldRevert),this.instance._mouseStop(t),this.instance.options.helper=this.instance.options._helper,"original"===i.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",t,n))})},drag:function(i,n){var s=_(this).data("ui-draggable"),o=this;_.each(s.sortables,function(){var t=!1,e=this;this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(t=!0,_.each(s.sortables,function(){return this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this!==e&&this.instance._intersectsWith(this.instance.containerCache)&&_.contains(e.instance.element[0],this.instance.element[0])&&(t=!1),t})),t?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=_(o).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return n.helper[0]},i.target=this.instance.currentItem[0],this.instance._mouseCapture(i,!0),this.instance._mouseStart(i,!0,!0),this.instance.offset.click.top=s.offset.click.top,this.instance.offset.click.left=s.offset.click.left,this.instance.offset.parent.left-=s.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=s.offset.parent.top-this.instance.offset.parent.top,s._trigger("toSortable",i),s.dropped=this.instance.element,s.currentItem=s.element,this.instance.fromOutside=s),this.instance.currentItem&&this.instance._mouseDrag(i)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",i,this.instance._uiHash(this.instance)),this.instance._mouseStop(i,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),s._trigger("fromSortable",i),s.dropped=!1)})}}),_.ui.plugin.add("draggable","cursor",{start:function(){var t=_("body"),e=_(this).data("ui-draggable").options;t.css("cursor")&&(e._cursor=t.css("cursor")),t.css("cursor",e.cursor)},stop:function(){var t=_(this).data("ui-draggable").options;t._cursor&&_("body").css("cursor",t._cursor)}}),_.ui.plugin.add("draggable","opacity",{start:function(t,e){var i=_(e.helper),n=_(this).data("ui-draggable").options;i.css("opacity")&&(n._opacity=i.css("opacity")),i.css("opacity",n.opacity)},stop:function(t,e){var i=_(this).data("ui-draggable").options;i._opacity&&_(e.helper).css("opacity",i._opacity)}}),_.ui.plugin.add("draggable","scroll",{start:function(){var t=_(this).data("ui-draggable");t.scrollParent[0]!==document&&"HTML"!==t.scrollParent[0].tagName&&(t.overflowOffset=t.scrollParent.offset())},drag:function(t){var e=_(this).data("ui-draggable"),i=e.options,n=!1;e.scrollParent[0]!==document&&"HTML"!==e.scrollParent[0].tagName?(i.axis&&"x"===i.axis||(e.overflowOffset.top+e.scrollParent[0].offsetHeight-t.pageY<i.scrollSensitivity?e.scrollParent[0].scrollTop=n=e.scrollParent[0].scrollTop+i.scrollSpeed:t.pageY-e.overflowOffset.top<i.scrollSensitivity&&(e.scrollParent[0].scrollTop=n=e.scrollParent[0].scrollTop-i.scrollSpeed)),i.axis&&"y"===i.axis||(e.overflowOffset.left+e.scrollParent[0].offsetWidth-t.pageX<i.scrollSensitivity?e.scrollParent[0].scrollLeft=n=e.scrollParent[0].scrollLeft+i.scrollSpeed:t.pageX-e.overflowOffset.left<i.scrollSensitivity&&(e.scrollParent[0].scrollLeft=n=e.scrollParent[0].scrollLeft-i.scrollSpeed))):(i.axis&&"x"===i.axis||(t.pageY-_(document).scrollTop()<i.scrollSensitivity?n=_(document).scrollTop(_(document).scrollTop()-i.scrollSpeed):_(window).height()-(t.pageY-_(document).scrollTop())<i.scrollSensitivity&&(n=_(document).scrollTop(_(document).scrollTop()+i.scrollSpeed))),i.axis&&"y"===i.axis||(t.pageX-_(document).scrollLeft()<i.scrollSensitivity?n=_(document).scrollLeft(_(document).scrollLeft()-i.scrollSpeed):_(window).width()-(t.pageX-_(document).scrollLeft())<i.scrollSensitivity&&(n=_(document).scrollLeft(_(document).scrollLeft()+i.scrollSpeed)))),!1!==n&&_.ui.ddmanager&&!i.dropBehaviour&&_.ui.ddmanager.prepareOffsets(e,t)}}),_.ui.plugin.add("draggable","snap",{start:function(){var i=_(this).data("ui-draggable"),t=i.options;i.snapElements=[],_(t.snap.constructor!==String?t.snap.items||":data(ui-draggable)":t.snap).each(function(){var t=_(this),e=t.offset();this!==i.element[0]&&i.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:e.top,left:e.left})})},drag:function(t,e){var i,n,s,o,a,r,l,h,c,u,d=_(this).data("ui-draggable"),p=d.options,f=p.snapTolerance,m=e.offset.left,g=m+d.helperProportions.width,v=e.offset.top,b=v+d.helperProportions.height;for(c=d.snapElements.length-1;0<=c;c--)r=(a=d.snapElements[c].left)+d.snapElements[c].width,h=(l=d.snapElements[c].top)+d.snapElements[c].height,g<a-f||r+f<m||b<l-f||h+f<v||!_.contains(d.snapElements[c].item.ownerDocument,d.snapElements[c].item)?(d.snapElements[c].snapping&&d.options.snap.release&&d.options.snap.release.call(d.element,t,_.extend(d._uiHash(),{snapItem:d.snapElements[c].item})),d.snapElements[c].snapping=!1):("inner"!==p.snapMode&&(i=Math.abs(l-b)<=f,n=Math.abs(h-v)<=f,s=Math.abs(a-g)<=f,o=Math.abs(r-m)<=f,i&&(e.position.top=d._convertPositionTo("relative",{top:l-d.helperProportions.height,left:0}).top-d.margins.top),n&&(e.position.top=d._convertPositionTo("relative",{top:h,left:0}).top-d.margins.top),s&&(e.position.left=d._convertPositionTo("relative",{top:0,left:a-d.helperProportions.width}).left-d.margins.left),o&&(e.position.left=d._convertPositionTo("relative",{top:0,left:r}).left-d.margins.left)),u=i||n||s||o,"outer"!==p.snapMode&&(i=Math.abs(l-v)<=f,n=Math.abs(h-b)<=f,s=Math.abs(a-m)<=f,o=Math.abs(r-g)<=f,i&&(e.position.top=d._convertPositionTo("relative",{top:l,left:0}).top-d.margins.top),n&&(e.position.top=d._convertPositionTo("relative",{top:h-d.helperProportions.height,left:0}).top-d.margins.top),s&&(e.position.left=d._convertPositionTo("relative",{top:0,left:a}).left-d.margins.left),o&&(e.position.left=d._convertPositionTo("relative",{top:0,left:r-d.helperProportions.width}).left-d.margins.left)),!d.snapElements[c].snapping&&(i||n||s||o||u)&&d.options.snap.snap&&d.options.snap.snap.call(d.element,t,_.extend(d._uiHash(),{snapItem:d.snapElements[c].item})),d.snapElements[c].snapping=i||n||s||o||u)}}),_.ui.plugin.add("draggable","stack",{start:function(){var e,t=this.data("ui-draggable").options,i=_.makeArray(_(t.stack)).sort(function(t,e){return(parseInt(_(t).css("zIndex"),10)||0)-(parseInt(_(e).css("zIndex"),10)||0)});i.length&&(e=parseInt(_(i[0]).css("zIndex"),10)||0,_(i).each(function(t){_(this).css("zIndex",e+t)}),this.css("zIndex",e+i.length))}}),_.ui.plugin.add("draggable","zIndex",{start:function(t,e){var i=_(e.helper),n=_(this).data("ui-draggable").options;i.css("zIndex")&&(n._zIndex=i.css("zIndex")),i.css("zIndex",n.zIndex)},stop:function(t,e){var i=_(this).data("ui-draggable").options;i._zIndex&&_(e.helper).css("zIndex",i._zIndex)}})}(jQuery),function(r){function d(t,e,i){return e<t&&t<e+i}r.widget("ui.droppable",{version:"1.10.3",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var t=this.options,e=t.accept;this.isover=!1,this.isout=!0,this.accept=r.isFunction(e)?e:function(t){return t.is(e)},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},r.ui.ddmanager.droppables[t.scope]=r.ui.ddmanager.droppables[t.scope]||[],r.ui.ddmanager.droppables[t.scope].push(this),t.addClasses&&this.element.addClass("ui-droppable")},_destroy:function(){for(var t=0,e=r.ui.ddmanager.droppables[this.options.scope];t<e.length;t++)e[t]===this&&e.splice(t,1);this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(t,e){"accept"===t&&(this.accept=r.isFunction(e)?e:function(t){return t.is(e)}),r.Widget.prototype._setOption.apply(this,arguments)},_activate:function(t){var e=r.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),e&&this._trigger("activate",t,this.ui(e))},_deactivate:function(t){var e=r.ui.ddmanager.current
+;this.options.activeClass&&this.element.removeClass(this.options.activeClass),e&&this._trigger("deactivate",t,this.ui(e))},_over:function(t){var e=r.ui.ddmanager.current;e&&(e.currentItem||e.element)[0]!==this.element[0]&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",t,this.ui(e)))},_out:function(t){var e=r.ui.ddmanager.current;e&&(e.currentItem||e.element)[0]!==this.element[0]&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",t,this.ui(e)))},_drop:function(t,e){var i=e||r.ui.ddmanager.current,n=!1;return!(!i||(i.currentItem||i.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var t=r.data(this,"ui-droppable");if(t.options.greedy&&!t.options.disabled&&t.options.scope===i.options.scope&&t.accept.call(t.element[0],i.currentItem||i.element)&&r.ui.intersect(i,r.extend(t,{offset:t.element.offset()}),t.options.tolerance))return!(n=!0)}),!n&&(!!this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",t,this.ui(i)),this.element)))},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}}}),r.ui.intersect=function(t,e,i){if(!e.offset)return!1;var n,s=(t.positionAbs||t.position.absolute).left,o=s+t.helperProportions.width,a=(t.positionAbs||t.position.absolute).top,r=a+t.helperProportions.height,l=e.offset.left,h=l+e.proportions.width,c=e.offset.top,u=c+e.proportions.height;switch(i){case"fit":return l<=s&&o<=h&&c<=a&&r<=u;case"intersect":return l<s+t.helperProportions.width/2&&o-t.helperProportions.width/2<h&&c<a+t.helperProportions.height/2&&r-t.helperProportions.height/2<u;case"pointer":return n=(t.positionAbs||t.position.absolute).left+(t.clickOffset||t.offset.click).left,d((t.positionAbs||t.position.absolute).top+(t.clickOffset||t.offset.click).top,c,e.proportions.height)&&d(n,l,e.proportions.width);case"touch":return(c<=a&&a<=u||c<=r&&r<=u||a<c&&u<r)&&(l<=s&&s<=h||l<=o&&o<=h||s<l&&h<o);default:return!1}},r.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(t,e){var i,n,s=r.ui.ddmanager.droppables[t.options.scope]||[],o=e?e.type:null,a=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();t:for(i=0;i<s.length;i++)if(!(s[i].options.disabled||t&&!s[i].accept.call(s[i].element[0],t.currentItem||t.element))){for(n=0;n<a.length;n++)if(a[n]===s[i].element[0]){s[i].proportions.height=0;continue t}s[i].visible="none"!==s[i].element.css("display"),s[i].visible&&("mousedown"===o&&s[i]._activate.call(s[i],e),s[i].offset=s[i].element.offset(),s[i].proportions={width:s[i].element[0].offsetWidth,height:s[i].element[0].offsetHeight})}},drop:function(t,e){var i=!1;return r.each((r.ui.ddmanager.droppables[t.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&r.ui.intersect(t,this,this.options.tolerance)&&(i=this._drop.call(this,e)||i),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,e)))}),i},dragStart:function(t,e){t.element.parentsUntil("body").bind("scroll.droppable",function(){t.options.refreshPositions||r.ui.ddmanager.prepareOffsets(t,e)})},drag:function(o,a){o.options.refreshPositions&&r.ui.ddmanager.prepareOffsets(o,a),r.each(r.ui.ddmanager.droppables[o.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var t,e,i,n=r.ui.intersect(o,this,this.options.tolerance),s=!n&&this.isover?"isout":n&&!this.isover?"isover":null;s&&(this.options.greedy&&(e=this.options.scope,(i=this.element.parents(":data(ui-droppable)").filter(function(){return r.data(this,"ui-droppable").options.scope===e})).length&&((t=r.data(i[0],"ui-droppable")).greedyChild="isover"===s)),t&&"isover"===s&&(t.isover=!1,t.isout=!0,t._out.call(t,a)),this[s]=!0,this["isout"===s?"isover":"isout"]=!1,this["isover"===s?"_over":"_out"].call(this,a),t&&"isout"===s&&(t.isout=!1,t.isover=!0,t._over.call(t,a)))}})},dragStop:function(t,e){t.element.parentsUntil("body").unbind("scroll.droppable"),t.options.refreshPositions||r.ui.ddmanager.prepareOffsets(t,e)}}}(jQuery),function(v){function d(t){return parseInt(t,10)||0}function u(t){return!isNaN(parseInt(t,10))}v.widget("ui.resizable",v.ui.mouse,{version:"1.10.3",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_create:function(){var t,e,i,n,s=this,o=this.options;if(this.element.addClass("ui-resizable"),v.extend(this,{_aspectRatio:!!o.aspectRatio,aspectRatio:o.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:o.helper||o.ghost||o.animate?o.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(v("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.data("ui-resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=o.handles||(v(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),t=this.handles.split(","),this.handles={},e=0;e<t.length;e++)i=v.trim(t[e]),(n=v("<div class='ui-resizable-handle "+("ui-resizable-"+i)+"'></div>")).css({zIndex:o.zIndex}),"se"===i&&n.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[i]=".ui-resizable-"+i,this.element.append(n);this._renderAxis=function(t){var e,i,n,s;for(e in t=t||this.element,this.handles)this.handles[e].constructor===String&&(this.handles[e]=v(this.handles[e],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(i=v(this.handles[e],this.element),s=/sw|ne|nw|se|n|s/.test(e)?i.outerHeight():i.outerWidth(),n=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(n,s),this._proportionallyResize()),v(this.handles[e]).length},this._renderAxis(this.element),this._handles=v(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){s.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),s.axis=n&&n[1]?n[1]:"se")}),o.autoHide&&(this._handles.hide(),v(this.element).addClass("ui-resizable-autohide").mouseenter(function(){o.disabled||(v(this).removeClass("ui-resizable-autohide"),s._handles.show())}).mouseleave(function(){o.disabled||s.resizing||(v(this).addClass("ui-resizable-autohide"),s._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var t,e=function(t){v(t).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(e(this.element),t=this.element,this.originalElement.css({position:t.css("position"),width:t.outerWidth(),height:t.outerHeight(),top:t.css("top"),left:t.css("left")}).insertAfter(t),t.remove()),this.originalElement.css("resize",this.originalResizeStyle),e(this.originalElement),this},_mouseCapture:function(t){var e,i,n=!1;for(e in this.handles)((i=v(this.handles[e])[0])===t.target||v.contains(i,t.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(t){var e,i,n,s=this.options,o=this.element.position(),a=this.element;return this.resizing=!0,/absolute/.test(a.css("position"))?a.css({position:"absolute",top:a.css("top"),left:a.css("left")}):a.is(".ui-draggable")&&a.css({position:"absolute",top:o.top,left:o.left}),this._renderProxy(),e=d(this.helper.css("left")),i=d(this.helper.css("top")),s.containment&&(e+=v(s.containment).scrollLeft()||0,i+=v(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:e,top:i},this.size=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.originalPosition={left:e,top:i},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=v(".ui-resizable-"+this.axis).css("cursor"),v("body").css("cursor","auto"===n?this.axis+"-resize":n),a.addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e,i=this.helper,n={},s=this.originalMousePosition,o=this.axis,a=this.position.top,r=this.position.left,l=this.size.width,h=this.size.height,c=t.pageX-s.left||0,u=t.pageY-s.top||0,d=this._change[o];return d&&(e=d.apply(this,[t,c,u]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(e=this._updateRatio(e,t)),e=this._respectSize(e,t),this._updateCache(e),this._propagate("resize",t),this.position.top!==a&&(n.top=this.position.top+"px"),this.position.left!==r&&(n.left=this.position.left+"px"),this.size.width!==l&&(n.width=this.size.width+"px"),this.size.height!==h&&(n.height=this.size.height+"px"),i.css(n),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),v.isEmptyObject(n)||this._trigger("resize",t,this.ui())),!1},_mouseStop:function(t){this.resizing=!1;var e,i,n,s,o,a,r,l=this.options,h=this;return this._helper&&(n=(i=(e=this._proportionallyResizeElements).length&&/textarea/i.test(e[0].nodeName))&&v.ui.hasScroll(e[0],"left")?0:h.sizeDiff.height,s=i?0:h.sizeDiff.width,o={width:h.helper.width()-s,height:h.helper.height()-n},a=parseInt(h.element.css("left"),10)+(h.position.left-h.originalPosition.left)||null,r=parseInt(h.element.css("top"),10)+(h.position.top-h.originalPosition.top)||null,l.animate||this.element.css(v.extend(o,{top:r,left:a})),h.helper.height(h.size.height),h.helper.width(h.size.width),this._helper&&!l.animate&&this._proportionallyResize()),v("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(t){var e,i,n,s,o,a=this.options;o={minWidth:u(a.minWidth)?a.minWidth:0,maxWidth:u(a.maxWidth)?a.maxWidth:Infinity,minHeight:u(a.minHeight)?a.minHeight:0,maxHeight:u(a.maxHeight)?a.maxHeight:Infinity},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,n=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,s=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),n>o.minHeight&&(o.minHeight=n),i<o.maxWidth&&(o.maxWidth=i),s<o.maxHeight&&(o.maxHeight=s)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),u(t.left)&&(this.position.left=t.left),u(t.top)&&(this.position.top=t.top),u(t.height)&&(this.size.height=t.height),u(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,n=this.axis;return u(t.height)?t.width=t.height*this.aspectRatio:u(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===n&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===n&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,n=u(t.width)&&e.maxWidth&&e.maxWidth<t.width,s=u(t.height)&&e.maxHeight&&e.maxHeight<t.height,o=u(t.width)&&e.minWidth&&e.minWidth>t.width,a=u(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,l=this.position.top+this.size.height,h=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),n&&(t.width=e.maxWidth),s&&(t.height=e.maxHeight),o&&h&&(t.left=r-e.minWidth),n&&h&&(t.left=r-e.maxWidth),a&&c&&(t.top=l-e.minHeight),s&&c&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_proportionallyResize:function(){if(this._proportionallyResizeElements.length){var t,e,i,n,s,o=this.helper||this.element;for(t=0;t<this._proportionallyResizeElements.length;t++){if(s=this._proportionallyResizeElements[t],!this.borderDif)for(this.borderDif=[],i=[s.css("borderTopWidth"),s.css("borderRightWidth"),s.css("borderBottomWidth"),s.css("borderLeftWidth")],n=[s.css("paddingTop"),s.css("paddingRight"),s.css("paddingBottom"),s.css("paddingLeft")],e=0;e<i.length;e++)this.borderDif[e]=(parseInt(i[e],10)||0)+(parseInt(n[e],10)||0);s.css({height:o.height()-this.borderDif[0]-this.borderDif[2]||0,width:o.width()-this.borderDif[1]-this.borderDif[3]||0})}}},_renderProxy:function(){var t=this.element,e=this.options;this.elementOffset=t.offset(),this._helper?(this.helper=this.helper||v("<div style='overflow:hidden;'></div>"),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++e.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var n=this.originalSize;return{top:this.originalPosition.top+i,height:n.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return v.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e,i){return v.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return v.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return v.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){v.ui.plugin.call(this,t,[e,this.ui()]),"resize"!==t&&this._trigger(t,e,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),v.ui.plugin.add("resizable","animate",{stop:function(e){var i=v(this).data("ui-resizable"),t=i.options,n=i._proportionallyResizeElements,s=n.length&&/textarea/i.test(n[0].nodeName),o=s&&v.ui.hasScroll(n[0],"left")?0:i.sizeDiff.height,a=s?0:i.sizeDiff.width,r={width:i.size.width-a,height:i.size.height-o},l=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,h=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(v.extend(r,h&&l?{top:h,left:l}:{}),{duration:t.animateDuration,easing:t.animateEasing,step:function(){var t={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};n&&n.length&&v(n[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),v.ui.plugin.add("resizable","containment",{start:function(){var i,n,t,e,s,o,a,r=v(this).data("ui-resizable"),l=r.options,h=r.element,c=l.containment,u=c instanceof v?c.get(0):/parent/.test(c)?h.parent().get(0):c;u&&(r.containerElement=v(u),/document/.test(c)||c===document?(r.containerOffset={left:0,top:0},r.containerPosition={left:0,top:0},r.parentData={element:v(document),left:0,top:0,width:v(document).width(),height:v(document).height()||document.body.parentNode.scrollHeight}):(i=v(u),n=[],v(["Top","Right","Left","Bottom"]).each(function(t,e){n[t]=d(i.css("padding"+e))}),r.containerOffset=i.offset(),r.containerPosition=i.position(),r.containerSize={height:i.innerHeight()-n[3],width:i.innerWidth()-n[1]},t=r.containerOffset,e=r.containerSize.height,s=r.containerSize.width,o=v.ui.hasScroll(u,"left")?u.scrollWidth:s,a=v.ui.hasScroll(u)?u.scrollHeight:e,r.parentData={element:u,left:t.left,top:t.top,width:o,height:a}))},resize:function(t){var e,i,n,s,o=v(this).data("ui-resizable"),a=o.options,r=o.containerOffset,l=o.position,h=o._aspectRatio||t.shiftKey,c={top:0,left:0},u=o.containerElement;u[0]!==document&&/static/.test(u.css("position"))&&(c=r),l.left<(o._helper?r.left:0)&&(o.size.width=o.size.width+(o._helper?o.position.left-r.left:o.position.left-c.left),h&&(o.size.height=o.size.width/o.aspectRatio),o.position.left=a.helper?r.left:0),l.top<(o._helper?r.top:0)&&(o.size.height=o.size.height+(o._helper?o.position.top-r.top:o.position.top),h&&(o.size.width=o.size.height*o.aspectRatio),o.position.top=o._helper?r.top:0),o.offset.left=o.parentData.left+o.position.left,o.offset.top=o.parentData.top+o.position.top,e=Math.abs((o._helper,o.offset.left-c.left+o.sizeDiff.width)),i=Math.abs((o._helper?o.offset.top-c.top:o.offset.top-r.top)+o.sizeDiff.height),n=o.containerElement.get(0)===o.element.parent().get(0),s=/relative|absolute/.test(o.containerElement.css("position")),n&&s&&(e-=o.parentData.left),e+o.size.width>=o.parentData.width&&(o.size.width=o.parentData.width-e,h&&(o.size.height=o.size.width/o.aspectRatio)),i+o.size.height>=o.parentData.height&&(o.size.height=o.parentData.height-i,h&&(o.size.width=o.size.height*o.aspectRatio))},stop:function(){var t=v(this).data("ui-resizable"),e=t.options,i=t.containerOffset,n=t.containerPosition,s=t.containerElement,o=v(t.helper),a=o.offset(),r=o.outerWidth()-t.sizeDiff.width,l=o.outerHeight()-t.sizeDiff.height;t._helper&&!e.animate&&/relative/.test(s.css("position"))&&v(this).css({left:a.left-n.left-i.left,width:r,height:l}),t._helper&&!e.animate&&/static/.test(s.css("position"))&&v(this).css({left:a.left-n.left-i.left,width:r,height:l})}}),v.ui.plugin.add("resizable","alsoResize",{start:function(){var t=v(this).data("ui-resizable").options,e=function(t){v(t).each(function(){var t=v(this);t.data("ui-resizable-alsoresize",{width:parseInt(t.width(),10),height:parseInt(t.height(),10),left:parseInt(t.css("left"),10),top:parseInt(t.css("top"),10)})})};"object"!=typeof t.alsoResize||t.alsoResize.parentNode?e(t.alsoResize):t.alsoResize.length?(t.alsoResize=t.alsoResize[0],e(t.alsoResize)):v.each(t.alsoResize,function(t){e(t)})},resize:function(t,o){var e=v(this).data("ui-resizable"),i=e.options,n=e.originalSize,s=e.originalPosition,a={height:e.size.height-n.height||0,width:e.size.width-n.width||0,top:e.position.top-s.top||0,left:e.position.left-s.left||0},r=function(t,i){v(t).each(function(){var t=v(this),n=v(this).data("ui-resizable-alsoresize"),s={},e=i&&i.length?i:t.parents(o.originalElement[0]).length?["width","height"]:["width","height","top","left"];v.each(e,function(t,e){var i=(n[e]||0)+(a[e]||0);i&&0<=i&&(s[e]=i||null)}),t.css(s)})};"object"!=typeof i.alsoResize||i.alsoResize.nodeType?r(i.alsoResize):v.each(i.alsoResize,function(t,e){r(t,e)})},stop:function(){v(this).removeData("resizable-alsoresize")}}),v.ui.plugin.add("resizable","ghost",{start:function(){var t=v(this).data("ui-resizable"),e=t.options,i=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof e.ghost?e.ghost:""),t.ghost.appendTo(t.helper)},resize:function(){var t=v(this).data("ui-resizable");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=v(this).data("ui-resizable");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),v.ui.plugin.add("resizable","grid",{resize:function(){var t=v(this).data("ui-resizable"),e=t.options,i=t.size,n=t.originalSize,s=t.originalPosition,o=t.axis,a="number"==typeof e.grid?[e.grid,e.grid]:e.grid,r=a[0]||1,l=a[1]||1,h=Math.round((i.width-n.width)/r)*r,c=Math.round((i.height-n.height)/l)*l,u=n.width+h,d=n.height+c,p=e.maxWidth&&e.maxWidth<u,f=e.maxHeight&&e.maxHeight<d,m=e.minWidth&&e.minWidth>u,g=e.minHeight&&e.minHeight>d;e.grid=a,m&&(u+=r),g&&(d+=l),p&&(u-=r),f&&(d-=l),/^(se|s|e)$/.test(o)?(t.size.width=u,t.size.height=d):/^(ne)$/.test(o)?(t.size.width=u,t.size.height=d,t.position.top=s.top-c):(/^(sw)$/.test(o)?(t.size.width=u,t.size.height=d):(t.size.width=u,t.size.height=d,t.position.top=s.top-c),t.position.left=s.left-h)}})}(jQuery),function(h){h.widget("ui.selectable",h.ui.mouse,{version:"1.10.3",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var t,e=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){(t=h(e.options.filter,e.element[0])).addClass("ui-selectee"),t.each(function(){var t=h(this),e=t.offset();h.data(this,"selectable-item",{element:this,$element:t,left:e.left,top:e.top,right:e.left+t.outerWidth(),bottom:e.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=t.addClass("ui-selectee"),this._mouseInit(),this.helper=h("<div class='ui-selectable-helper'></div>")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(i){var n=this,t=this.options;this.opos=[i.pageX,i.pageY],this.options.disabled||(this.selectees=h(t.filter,this.element[0]),this._trigger("start",i),h(t.appendTo).append(this.helper),this.helper.css({left:i.pageX,top:i.pageY,width:0,height:0}),t.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var t=h.data(this,"selectable-item");t.startselected=!0,i.metaKey||i.ctrlKey||(t.$element.removeClass("ui-selected"),t.selected=!1,t.$element.addClass("ui-unselecting"),t.unselecting=!0,n._trigger("unselecting",i,{unselecting:t.element}))}),h(i.target).parents().addBack().each(function(){var t,e=h.data(this,"selectable-item");if(e)return t=!i.metaKey&&!i.ctrlKey||!e.$element.hasClass("ui-selected"),e.$element.removeClass(t?"ui-unselecting":"ui-selected").addClass(t?"ui-selecting":"ui-unselecting"),e.unselecting=!t,e.selecting=t,(e.selected=t)?n._trigger("selecting",i,{selecting:e.element}):n._trigger("unselecting",i,{unselecting:e.element}),!1}))},_mouseDrag:function(i){if(this.dragged=!0,!this.options.disabled){var t,n=this,s=this.options,o=this.opos[0],a=this.opos[1],r=i.pageX,l=i.pageY;return r<o&&(t=r,r=o,o=t),l<a&&(t=l,l=a,a=t),this.helper.css({left:o,top:a,width:r-o,height:l-a}),this.selectees.each(function(){var t=h.data(this,"selectable-item"),e=!1;t&&t.element!==n.element[0]&&("touch"===s.tolerance?e=!(t.left>r||t.right<o||t.top>l||t.bottom<a):"fit"===s.tolerance&&(e=t.left>o&&t.right<r&&t.top>a&&t.bottom<l),e?(t.selected&&(t.$element.removeClass("ui-selected"),t.selected=!1),t.unselecting&&(t.$element.removeClass("ui-unselecting"),t.unselecting=!1),t.selecting||(t.$element.addClass("ui-selecting"),t.selecting=!0,n._trigger("selecting",i,{selecting:t.element}))):(t.selecting&&((i.metaKey||i.ctrlKey)&&t.startselected?(t.$element.removeClass("ui-selecting"),t.selecting=!1,t.$element.addClass("ui-selected"),t.selected=!0):(t.$element.removeClass("ui-selecting"),t.selecting=!1,t.startselected&&(t.$element.addClass("ui-unselecting"),t.unselecting=!0),n._trigger("unselecting",i,{unselecting:t.element}))),t.selected&&(i.metaKey||i.ctrlKey||t.startselected||(t.$element.removeClass("ui-selected"),t.selected=!1,t.$element.addClass("ui-unselecting"),t.unselecting=!0,n._trigger("unselecting",i,{unselecting:t.element})))))}),!1}},_mouseStop:function(e){var i=this;return this.dragged=!1,h(".ui-unselecting",this.element[0]).each(function(){var t=h.data(this,"selectable-item");t.$element.removeClass("ui-unselecting"),t.unselecting=!1,t.startselected=!1,i._trigger("unselected",e,{unselected:t.element})}),h(".ui-selecting",this.element[0]).each(function(){var t=h.data(this,"selectable-item");t.$element.removeClass("ui-selecting").addClass("ui-selected"),t.selecting=!1,t.selected=!0,t.startselected=!0,i._trigger("selected",e,{selected:t.element})}),this._trigger("stop",e),this.helper.remove(),!1}})}(jQuery),function(p){function f(t,e,i){return e<t&&t<e+i}function m(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))}p.widget("ui.sortable",p.ui.mouse,{version:"1.10.3",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_create:function(){var t=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=!!this.items.length&&("x"===t.axis||m(this.items[0].item)),this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var t=this.items.length-1;0<=t;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_setOption:function(t,e){"disabled"===t?(this.options[t]=e,this.widget().toggleClass("ui-sortable-disabled",!!e)):p.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(t,e){var i=null,n=!1,s=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(t),p(t.target).parents().each(function(){if(p.data(this,s.widgetName+"-item")===s)return i=p(this),!1}),p.data(t.target,s.widgetName+"-item")===s&&(i=p(t.target)),!!i&&(!(this.options.handle&&!e&&(p(this.options.handle,i).find("*").addBack().each(function(){this===t.target&&(n=!0)}),!n))&&(this.currentItem=i,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(t,e,i){var n,s,o=this.options;if((this.currentContainer=this).refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},p.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),o.containment&&this._setContainment(),o.cursor&&"auto"!==o.cursor&&(s=this.document.find("body"),this.storedCursor=s.css("cursor"),s.css("cursor",o.cursor),this.storedStylesheet=p("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(s)),o.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",o.opacity)),o.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",o.zIndex)),this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(n=this.containers.length-1;0<=n;n--)this.containers[n]._trigger("activate",t,this._uiHash(this));return p.ui.ddmanager&&(p.ui.ddmanager.current=this),p.ui.ddmanager&&!o.dropBehaviour&&p.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var e,i,n,s,o=this.options,a=!1;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<o.scrollSensitivity?this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop+o.scrollSpeed:t.pageY-this.overflowOffset.top<o.scrollSensitivity&&(this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop-o.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<o.scrollSensitivity?this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft+o.scrollSpeed:t.pageX-this.overflowOffset.left<o.scrollSensitivity&&(this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft-o.scrollSpeed)):(t.pageY-p(document).scrollTop()<o.scrollSensitivity?a=p(document).scrollTop(p(document).scrollTop()-o.scrollSpeed):p(window).height()-(t.pageY-p(document).scrollTop())<o.scrollSensitivity&&(a=p(document).scrollTop(p(document).scrollTop()+o.scrollSpeed)),t.pageX-p(document).scrollLeft()<o.scrollSensitivity?a=p(document).scrollLeft(p(document).scrollLeft()-o.scrollSpeed):p(window).width()-(t.pageX-p(document).scrollLeft())<o.scrollSensitivity&&(a=p(document).scrollLeft(p(document).scrollLeft()+o.scrollSpeed))),!1!==a&&p.ui.ddmanager&&!o.dropBehaviour&&p.ui.ddmanager.prepareOffsets(this,t)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),e=this.items.length-1;0<=e;e--)if(n=(i=this.items[e]).item[0],(s=this._intersectsWithPointer(i))&&i.instance===this.currentContainer&&!(n===this.currentItem[0]||this.placeholder[1===s?"next":"prev"]()[0]===n||p.contains(this.placeholder[0],n)||"semi-dynamic"===this.options.type&&p.contains(this.element[0],n))){if(this.direction=1===s?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(t,i),this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),p.ui.ddmanager&&p.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,e){if(t){if(p.ui.ddmanager&&!this.options.dropBehaviour&&p.ui.ddmanager.drop(this,t),this.options.revert){var i=this,n=this.placeholder.offset(),s=this.options.axis,o={};s&&"x"!==s||(o.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft)),s&&"y"!==s||(o.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,p(this.helper).animate(o,parseInt(this.options.revert,10)||500,function(){i._clear(t)})}else this._clear(t,e);return!1}},cancel:function(){if(this.dragging){this._mouseUp({target:null}),"original"===this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var t=this.containers.length-1;0<=t;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}
+return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),p.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?p(this.domPosition.prev).after(this.currentItem):p(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var t=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},p(t).each(function(){var t=(p(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);t&&i.push((e.key||t[1]+"[]")+"="+(e.key&&e.expression?t[1]:t[2]))}),!i.length&&e.key&&i.push(e.key+"="),i.join("&")},toArray:function(t){var e=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},e.each(function(){i.push(p(t.item||this).attr(t.attribute||"id")||"")}),i},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,n=this.positionAbs.top,s=n+this.helperProportions.height,o=t.left,a=o+t.width,r=t.top,l=r+t.height,h=this.offset.click.top,c=this.offset.click.left,u="x"===this.options.axis||r<n+h&&n+h<l,d="y"===this.options.axis||o<e+c&&e+c<a,p=u&&d;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?p:o<e+this.helperProportions.width/2&&i-this.helperProportions.width/2<a&&r<n+this.helperProportions.height/2&&s-this.helperProportions.height/2<l},_intersectsWithPointer:function(t){var e="x"===this.options.axis||f(this.positionAbs.top+this.offset.click.top,t.top,t.height),i="y"===this.options.axis||f(this.positionAbs.left+this.offset.click.left,t.left,t.width),n=e&&i,s=this._getDragVerticalDirection(),o=this._getDragHorizontalDirection();return!!n&&(this.floating?o&&"right"===o||"down"===s?2:1:s&&("down"===s?2:1))},_intersectsWithSides:function(t){var e=f(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),i=f(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),n=this._getDragVerticalDirection(),s=this._getDragHorizontalDirection();return this.floating&&s?"right"===s&&i||"left"===s&&!i:n&&("down"===n&&e||"up"===n&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(0<t?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(0<t?"right":"left")},refresh:function(t){return this._refreshItems(t),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(t){var e,i,n,s,o=[],a=[],r=this._connectWith();if(r&&t)for(e=r.length-1;0<=e;e--)for(i=(n=p(r[e])).length-1;0<=i;i--)(s=p.data(n[i],this.widgetFullName))&&s!==this&&!s.options.disabled&&a.push([p.isFunction(s.options.items)?s.options.items.call(s.element):p(s.options.items,s.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),s]);for(a.push([p.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):p(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),e=a.length-1;0<=e;e--)a[e][0].each(function(){o.push(this)});return p(o)},_removeCurrentsFromItems:function(){var i=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=p.grep(this.items,function(t){for(var e=0;e<i.length;e++)if(i[e]===t.item[0])return!1;return!0})},_refreshItems:function(t){this.items=[],this.containers=[this];var e,i,n,s,o,a,r,l,h=this.items,c=[[p.isFunction(this.options.items)?this.options.items.call(this.element[0],t,{item:this.currentItem}):p(this.options.items,this.element),this]],u=this._connectWith();if(u&&this.ready)for(e=u.length-1;0<=e;e--)for(i=(n=p(u[e])).length-1;0<=i;i--)(s=p.data(n[i],this.widgetFullName))&&s!==this&&!s.options.disabled&&(c.push([p.isFunction(s.options.items)?s.options.items.call(s.element[0],t,{item:this.currentItem}):p(s.options.items,s.element),s]),this.containers.push(s));for(e=c.length-1;0<=e;e--)for(o=c[e][1],i=0,l=(a=c[e][0]).length;i<l;i++)(r=p(a[i])).data(this.widgetName+"-item",o),h.push({item:r,instance:o,width:0,height:0,left:0,top:0})},refreshPositions:function(t){var e,i,n,s;for(this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),e=this.items.length-1;0<=e;e--)(i=this.items[e]).instance!==this.currentContainer&&this.currentContainer&&i.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?p(this.options.toleranceElement,i.item):i.item,t||(i.width=n.outerWidth(),i.height=n.outerHeight()),s=n.offset(),i.left=s.left,i.top=s.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(e=this.containers.length-1;0<=e;e--)s=this.containers[e].element.offset(),this.containers[e].containerCache.left=s.left,this.containers[e].containerCache.top=s.top,this.containers[e].containerCache.width=this.containers[e].element.outerWidth(),this.containers[e].containerCache.height=this.containers[e].element.outerHeight();return this},_createPlaceholder:function(i){var n,s=(i=i||this).options;s.placeholder&&s.placeholder.constructor!==String||(n=s.placeholder,s.placeholder={element:function(){var t=i.currentItem[0].nodeName.toLowerCase(),e=p("<"+t+">",i.document[0]).addClass(n||i.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper");return"tr"===t?i.currentItem.children().each(function(){p("<td>&#160;</td>",i.document[0]).attr("colspan",p(this).attr("colspan")||1).appendTo(e)}):"img"===t&&e.attr("src",i.currentItem.attr("src")),n||e.css("visibility","hidden"),e},update:function(t,e){n&&!s.forcePlaceholderSize||(e.height()||e.height(i.currentItem.innerHeight()-parseInt(i.currentItem.css("paddingTop")||0,10)-parseInt(i.currentItem.css("paddingBottom")||0,10)),e.width()||e.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css("paddingLeft")||0,10)-parseInt(i.currentItem.css("paddingRight")||0,10)))}}),i.placeholder=p(s.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),s.placeholder.update(i,i.placeholder)},_contactContainers:function(t){var e,i,n,s,o,a,r,l,h,c,u=null,d=null;for(e=this.containers.length-1;0<=e;e--)if(!p.contains(this.currentItem[0],this.containers[e].element[0]))if(this._intersectsWith(this.containers[e].containerCache)){if(u&&p.contains(this.containers[e].element[0],u.element[0]))continue;u=this.containers[e],d=e}else this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",t,this._uiHash(this)),this.containers[e].containerCache.over=0);if(u)if(1===this.containers.length)this.containers[d].containerCache.over||(this.containers[d]._trigger("over",t,this._uiHash(this)),this.containers[d].containerCache.over=1);else{for(n=1e4,s=null,o=(c=u.floating||m(this.currentItem))?"left":"top",a=c?"width":"height",r=this.positionAbs[o]+this.offset.click[o],i=this.items.length-1;0<=i;i--)p.contains(this.containers[d].element[0],this.items[i].item[0])&&this.items[i].item[0]!==this.currentItem[0]&&(c&&!f(this.positionAbs.top+this.offset.click.top,this.items[i].top,this.items[i].height)||(l=this.items[i].item.offset()[o],h=!1,Math.abs(l-r)>Math.abs(l+this.items[i][a]-r)&&(h=!0,l+=this.items[i][a]),Math.abs(l-r)<n&&(n=Math.abs(l-r),s=this.items[i],this.direction=h?"up":"down")));if(!s&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[d])return;s?this._rearrange(t,s,null,!0):this._rearrange(t,null,this.containers[d].element,!0),this._trigger("change",t,this._uiHash()),this.containers[d]._trigger("change",t,this._uiHash(this)),this.currentContainer=this.containers[d],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[d]._trigger("over",t,this._uiHash(this)),this.containers[d].containerCache.over=1}},_createHelper:function(t){var e=this.options,i=p.isFunction(e.helper)?p(e.helper.apply(this.element[0],[t,this.currentItem])):"clone"===e.helper?this.currentItem.clone():this.currentItem;return i.parents("body").length||p("parent"!==e.appendTo?e.appendTo:this.currentItem[0].parentNode)[0].appendChild(i[0]),i[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),i[0].style.width&&!e.forceHelperSize||i.width(this.currentItem.width()),i[0].style.height&&!e.forceHelperSize||i.height(this.currentItem.height()),i},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),p.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&p.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&p.ui.ie)&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e,i,n=this.options;"parent"===n.containment&&(n.containment=this.helper[0].parentNode),"document"!==n.containment&&"window"!==n.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,p("document"===n.containment?document:window).width()-this.helperProportions.width-this.margins.left,(p("document"===n.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(t=p(n.containment)[0],e=p(n.containment).offset(),i="hidden"!==p(t).css("overflow"),this.containment=[e.left+(parseInt(p(t).css("borderLeftWidth"),10)||0)+(parseInt(p(t).css("paddingLeft"),10)||0)-this.margins.left,e.top+(parseInt(p(t).css("borderTopWidth"),10)||0)+(parseInt(p(t).css("paddingTop"),10)||0)-this.margins.top,e.left+(i?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(p(t).css("borderLeftWidth"),10)||0)-(parseInt(p(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,e.top+(i?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(p(t).css("borderTopWidth"),10)||0)-(parseInt(p(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(t,e){e||(e=this.position);var i="absolute"===t?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&p.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(n[0].tagName);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():s?0:n.scrollTop())*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():s?0:n.scrollLeft())*i}},_generatePosition:function(t){var e,i,n=this.options,s=t.pageX,o=t.pageY,a="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&p.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(a[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(t.pageX-this.offset.click.left<this.containment[0]&&(s=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top<this.containment[1]&&(o=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left>this.containment[2]&&(s=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top)),n.grid&&(e=this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1],o=this.containment?e-this.offset.click.top>=this.containment[1]&&e-this.offset.click.top<=this.containment[3]?e:e-this.offset.click.top>=this.containment[1]?e-n.grid[1]:e+n.grid[1]:e,i=this.originalPageX+Math.round((s-this.originalPageX)/n.grid[0])*n.grid[0],s=this.containment?i-this.offset.click.left>=this.containment[0]&&i-this.offset.click.left<=this.containment[2]?i:i-this.offset.click.left>=this.containment[0]?i-n.grid[0]:i+n.grid[0]:i)),{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():r?0:a.scrollTop()),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():r?0:a.scrollLeft())}},_rearrange:function(t,e,i,n){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var s=this.counter;this._delay(function(){s===this.counter&&this.refreshPositions(!n)})},_clear:function(t,e){this.reverting=!1;var i,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!e&&n.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||n.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(n.push(function(t){this._trigger("remove",t,this._uiHash())}),n.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;0<=i;i--)e||n.push(function(e){return function(t){e._trigger("deactivate",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&&(n.push(function(e){return function(t){e._trigger("out",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!e){for(this._trigger("beforeStop",t,this._uiHash()),i=0;i<n.length;i++)n[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1}if(e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null,!e){for(i=0;i<n.length;i++)n[i].call(this,t);this._trigger("stop",t,this._uiHash())}return!(this.fromOutside=!1)},_trigger:function(){!1===p.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(t){var e=t||this;return{helper:e.helper,placeholder:e.placeholder||p([]),position:e.position,originalPosition:e.originalPosition,offset:e.positionAbs,item:e.currentItem,sender:t?t.element:null}}})}(jQuery),function(u,d){var i,r="ui-effects-";u.effects={effect:{}},
+/*!
+ * jQuery Color Animations v2.1.2
+ * https://github.com/jquery/jquery-color
+ *
+ * Copyright 2013 jQuery Foundation and other contributors
+ * Released under the MIT license.
+ * http://jquery.org/license
+ *
+ * Date: Wed Jan 16 08:47:09 2013 -0600
+ */
+function(c,u){function d(t,e,i){var n=g[e.type]||{};return null==t?i||!e.def?null:e.def:(t=n.floor?~~t:parseFloat(t),isNaN(t)?e.def:n.mod?(t+n.mod)%n.mod:t<0?0:n.max<t?n.max:t)}function r(a){var r=f(),l=r._rgba=[];return a=a.toLowerCase(),b(e,function(t,e){var i,n=e.re.exec(a),s=n&&e.parse(n),o=e.space||"rgba";if(s)return i=r[o](s),r[m[o].cache]=i[m[o].cache],l=r._rgba=i._rgba,!1}),l.length?("0,0,0,0"===l.join()&&c.extend(l,h.transparent),r):h[a]}function l(t,e,i){return 6*(i=(i+1)%1)<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}var h,t="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",p=/^([\-+])=\s*(\d+\.?\d*)/,e=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],f=c.Color=function(t,e,i,n){return new c.Color.fn.parse(t,e,i,n)},m={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},g={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},v=f.support={},i=c("<p>")[0],b=c.each;i.style.cssText="background-color:rgba(1,1,1,.5)",v.rgba=-1<i.style.backgroundColor.indexOf("rgba"),b(m,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),f.fn=c.extend(f.prototype,{parse:function(s,t,e,i){if(s===u)return this._rgba=[null,null,null,null],this;(s.jquery||s.nodeType)&&(s=c(s).css(t),t=u);var o=this,n=c.type(s),a=this._rgba=[];return t!==u&&(s=[s,t,e,i],n="array"),"string"===n?this.parse(r(s)||h._default):"array"===n?(b(m.rgba.props,function(t,e){a[e.idx]=d(s[e.idx],e)}),this):"object"===n?(b(m,s instanceof f?function(t,e){s[e.cache]&&(o[e.cache]=s[e.cache].slice())}:function(t,i){var n=i.cache;b(i.props,function(t,e){if(!o[n]&&i.to){if("alpha"===t||null==s[t])return;o[n]=i.to(o._rgba)}o[n][e.idx]=d(s[t],e,!0)}),o[n]&&c.inArray(null,o[n].slice(0,3))<0&&(o[n][3]=1,i.from&&(o._rgba=i.from(o[n])))}),this):void 0},is:function(t){var s=f(t),o=!0,a=this;return b(m,function(t,e){var i,n=s[e.cache];return n&&(i=a[e.cache]||e.to&&e.to(a._rgba)||[],b(e.props,function(t,e){if(null!=n[e.idx])return o=n[e.idx]===i[e.idx]})),o}),o},_space:function(){var i=[],n=this;return b(m,function(t,e){n[e.cache]&&i.push(t)}),i.pop()},transition:function(t,a){var r=f(t),e=r._space(),i=m[e],n=0===this.alpha()?f("transparent"):this,l=n[i.cache]||i.to(n._rgba),h=l.slice();return r=r[i.cache],b(i.props,function(t,e){var i=e.idx,n=l[i],s=r[i],o=g[e.type]||{};null!==s&&(null===n?h[i]=s:(o.mod&&(s-n>o.mod/2?n+=o.mod:n-s>o.mod/2&&(n-=o.mod)),h[i]=d((s-n)*a+n,e)))}),this[e](h)},blend:function(t){if(1===this._rgba[3])return this;var e=this._rgba.slice(),i=e.pop(),n=f(t)._rgba;return f(c.map(e,function(t,e){return(1-i)*n[e]+i*t}))},toRgbaString:function(){var t="rgba(",e=c.map(this._rgba,function(t,e){return null==t?2<e?1:0:t});return 1===e[3]&&(e.pop(),t="rgb("),t+e.join()+")"},toHslaString:function(){var t="hsla(",e=c.map(this.hsla(),function(t,e){return null==t&&(t=2<e?1:0),e&&e<3&&(t=Math.round(100*t)+"%"),t});return 1===e[3]&&(e.pop(),t="hsl("),t+e.join()+")"},toHexString:function(t){var e=this._rgba.slice(),i=e.pop();return t&&e.push(~~(255*i)),"#"+c.map(e,function(t){return 1===(t=(t||0).toString(16)).length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),f.fn.parse.prototype=f.fn,m.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,i,n=t[0]/255,s=t[1]/255,o=t[2]/255,a=t[3],r=Math.max(n,s,o),l=Math.min(n,s,o),h=r-l,c=r+l,u=.5*c;return e=l===r?0:n===r?60*(s-o)/h+360:s===r?60*(o-n)/h+120:60*(n-s)/h+240,i=0===h?0:u<=.5?h/c:h/(2-c),[Math.round(e)%360,i,u,null==a?1:a]},m.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],n=t[2],s=t[3],o=n<=.5?n*(1+i):n+i-n*i,a=2*n-o;return[Math.round(255*l(a,o,e+1/3)),Math.round(255*l(a,o,e)),Math.round(255*l(a,o,e-1/3)),s]},b(m,function(l,t){var i=t.props,a=t.cache,r=t.to,h=t.from;f.fn[l]=function(t){if(r&&!this[a]&&(this[a]=r(this._rgba)),t===u)return this[a].slice();var e,n=c.type(t),s="array"===n||"object"===n?t:arguments,o=this[a].slice();return b(i,function(t,e){var i=s["object"===n?t:e.idx];null==i&&(i=o[e.idx]),o[e.idx]=d(i,e)}),h?((e=f(h(o)))[a]=o,e):f(o)},b(i,function(a,r){f.fn[a]||(f.fn[a]=function(t){var e,i=c.type(t),n="alpha"===a?this._hsla?"hsla":"rgba":l,s=this[n](),o=s[r.idx];return"undefined"===i?o:("function"===i&&(t=t.call(this,o),i=c.type(t)),null==t&&r.empty?this:("string"===i&&(e=p.exec(t))&&(t=o+parseFloat(e[2])*("+"===e[1]?1:-1)),s[r.idx]=t,this[n](s)))})})}),f.hook=function(t){var e=t.split(" ");b(e,function(t,a){c.cssHooks[a]={set:function(t,e){var i,n,s="";if("transparent"!==e&&("string"!==c.type(e)||(i=r(e)))){if(e=f(i||e),!v.rgba&&1!==e._rgba[3]){for(n="backgroundColor"===a?t.parentNode:t;(""===s||"transparent"===s)&&n&&n.style;)try{s=c.css(n,"backgroundColor"),n=n.parentNode}catch(o){}e=e.blend(s&&"transparent"!==s?s:"_default")}e=e.toRgbaString()}try{t.style[a]=e}catch(o){}}},c.fx.step[a]=function(t){t.colorInit||(t.start=f(t.elem,a),t.end=f(t.end),t.colorInit=!0),c.cssHooks[a].set(t.elem,t.start.transition(t.end,t.pos))}})},f.hook(t),c.cssHooks.borderColor={expand:function(i){var n={};return b(["Top","Right","Bottom","Left"],function(t,e){n["border"+e+"Color"]=i}),n}},h=c.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){function a(t){var e,i,n=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,s={};if(n&&n.length&&n[0]&&n[n[0]])for(i=n.length;i--;)"string"==typeof n[e=n[i]]&&(s[u.camelCase(e)]=n[e]);else for(e in n)"string"==typeof n[e]&&(s[e]=n[e]);return s}function r(t,e){var i,n,s={};for(i in e)n=e[i],t[i]!==n&&(c[i]||!u.fx.step[i]&&isNaN(parseFloat(n))||(s[i]=n));return s}var o,s,l,h=["add","remove","toggle"],c={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};u.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,e){u.fx.step[e]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(jQuery.style(t.elem,e,t.end),t.setAttr=!0)}}),u.fn.addBack||(u.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),u.effects.animateClass=function(s,t,e,i){var o=u.speed(t,e,i);return this.queue(function(){var t,i=u(this),e=i.attr("class")||"",n=o.children?i.find("*").addBack():i;n=n.map(function(){return{el:u(this),start:a(this)}}),(t=function(){u.each(h,function(t,e){s[e]&&i[e+"Class"](s[e])})})(),n=n.map(function(){return this.end=a(this.el[0]),this.diff=r(this.start,this.end),this}),i.attr("class",e),n=n.map(function(){var t=this,e=u.Deferred(),i=u.extend({},o,{queue:!1,complete:function(){e.resolve(t)}});return this.el.animate(this.diff,i),e.promise()}),u.when.apply(u,n.get()).done(function(){t(),u.each(arguments,function(){var e=this.el;u.each(this.diff,function(t){e.css(t,"")})}),o.complete.call(i[0])})})},u.fn.extend({addClass:(l=u.fn.addClass,function(t,e,i,n){return e?u.effects.animateClass.call(this,{add:t},e,i,n):l.apply(this,arguments)}),removeClass:(s=u.fn.removeClass,function(t,e,i,n){return 1<arguments.length?u.effects.animateClass.call(this,{remove:t},e,i,n):s.apply(this,arguments)}),toggleClass:(o=u.fn.toggleClass,function(t,e,i,n,s){return"boolean"==typeof e||e===d?i?u.effects.animateClass.call(this,e?{add:t}:{remove:t},i,n,s):o.apply(this,arguments):u.effects.animateClass.call(this,{toggle:t},e,i,n)}),switchClass:function(t,e,i,n,s){return u.effects.animateClass.call(this,{add:e,remove:t},i,n,s)}})}(),function(){function n(t,e,i,n){return u.isPlainObject(t)&&(t=(e=t).effect),t={effect:t},null==e&&(e={}),u.isFunction(e)&&(n=e,i=null,e={}),("number"==typeof e||u.fx.speeds[e])&&(n=i,i=e,e={}),u.isFunction(i)&&(n=i,i=null),e&&u.extend(t,e),i=i||e.duration,t.duration=u.fx.off?0:"number"==typeof i?i:i in u.fx.speeds?u.fx.speeds[i]:u.fx.speeds._default,t.complete=n||e.complete,t}function i(t){return!(t&&"number"!=typeof t&&!u.fx.speeds[t])||("string"==typeof t&&!u.effects.effect[t]||(!!u.isFunction(t)||"object"==typeof t&&!t.effect))}var s,o,a;u.extend(u.effects,{version:"1.10.3",save:function(t,e){for(var i=0;i<e.length;i++)null!==e[i]&&t.data(r+e[i],t[0].style[e[i]])},restore:function(t,e){var i,n;for(n=0;n<e.length;n++)null!==e[n]&&((i=t.data(r+e[n]))===d&&(i=""),t.css(e[n],i))},setMode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},getBaseline:function(t,e){var i,n;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=t[1]/e.width}return{x:n,y:i}},createWrapper:function(i){if(i.parent().is(".ui-effects-wrapper"))return i.parent();var n={width:i.outerWidth(!0),height:i.outerHeight(!0),"float":i.css("float")},t=u("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e={width:i.width(),height:i.height()},s=document.activeElement;try{s.id}catch(o){s=document.body}return i.wrap(t),(i[0]===s||u.contains(i[0],s))&&u(s).focus(),t=i.parent(),"static"===i.css("position")?(t.css({position:"relative"}),i.css({position:"relative"})):(u.extend(n,{position:i.css("position"),zIndex:i.css("z-index")}),u.each(["top","left","bottom","right"],function(t,e){n[e]=i.css(e),isNaN(parseInt(n[e],10))&&(n[e]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(e),t.css(n).show()},removeWrapper:function(t){var e=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===e||u.contains(t[0],e))&&u(e).focus()),t},setTransition:function(n,t,s,o){return o=o||{},u.each(t,function(t,e){var i=n.cssUnit(e);0<i[0]&&(o[e]=i[0]*s+i[1])}),o}}),u.fn.extend({effect:function(){function t(t){function e(){u.isFunction(n)&&n.call(i[0]),u.isFunction(t)&&t()}var i=u(this),n=o.complete,s=o.mode;(i.is(":hidden")?"hide"===s:"show"===s)?(i[s](),e()):a.call(i[0],o,e)}var o=n.apply(this,arguments),e=o.mode,i=o.queue,a=u.effects.effect[o.effect];return u.fx.off||!a?e?this[e](o.duration,o.complete):this.each(function(){o.complete&&o.complete.call(this)}):!1===i?this.each(t):this.queue(i||"fx",t)},show:(a=u.fn.show,function(t){if(i(t))return a.apply(this,arguments);var e=n.apply(this,arguments);return e.mode="show",this.effect.call(this,e)}),hide:(o=u.fn.hide,function(t){if(i(t))return o.apply(this,arguments);var e=n.apply(this,arguments);return e.mode="hide",this.effect.call(this,e)}),toggle:(s=u.fn.toggle,function(t){if(i(t)||"boolean"==typeof t)return s.apply(this,arguments);var e=n.apply(this,arguments);return e.mode="toggle",this.effect.call(this,e)}),cssUnit:function(t){var i=this.css(t),n=[];return u.each(["em","px","%","pt"],function(t,e){0<i.indexOf(e)&&(n=[parseFloat(i),e])}),n}})}(),i={},u.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,t){i[t]=function(t){return Math.pow(t,e+2)}}),u.extend(i,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;t<((e=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),u.each(i,function(t,e){u.easing["easeIn"+t]=e,u.easing["easeOut"+t]=function(t){return 1-e(1-t)},u.easing["easeInOut"+t]=function(t){return t<.5?e(2*t)/2:1-e(-2*t+2)/2}})}(jQuery),function(h){var s=0,d={},p={};d.height=d.paddingTop=d.paddingBottom=d.borderTopWidth=d.borderBottomWidth="hide",p.height=p.paddingTop=p.paddingBottom=p.borderTopWidth=p.borderBottomWidth="show",h.widget("ui.accordion",{version:"1.10.3",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var t=this.options;this.prevShow=this.prevHide=h(),this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),t.collapsible||!1!==t.active&&null!=t.active||(t.active=0),this._processPanels(),t.active<0&&(t.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():h(),content:this.active.length?this.active.next():h()}},_createIcons:function(){var t=this.options.icons;t&&(h("<span>").addClass("ui-accordion-header-icon ui-icon "+t.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(t.header).addClass(t.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){"active"!==t?("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||!1!==this.options.active||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons()),"disabled"===t&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!e)):this._activate(e)},_keydown:function(t){if(!t.altKey&&!t.ctrlKey){var e=h.ui.keyCode,i=this.headers.length,n=this.headers.index(t.target),s=!1;switch(t.keyCode){case e.RIGHT:case e.DOWN:s=this.headers[(n+1)%i];break;case e.LEFT:case e.UP:s=this.headers[(n-1+i)%i];break;case e.SPACE:case e.ENTER:this._eventHandler(t);break;case e.HOME:s=this.headers[0];break;case e.END:s=this.headers[i-1]}s&&(h(t.target).attr("tabIndex",-1),h(s).attr("tabIndex",0),s.focus(),t.preventDefault())}},_panelKeyDown:function(t){t.keyCode===h.ui.keyCode.UP&&t.ctrlKey&&h(t.currentTarget).prev().focus()},refresh:function(){var t=this.options;this._processPanels(),!1===t.active&&!0===t.collapsible||!this.headers.length?(t.active=!1,this.active=h()):!1===t.active?this._activate(0):this.active.length&&!h.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=h()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide()},_refresh:function(){var i,t=this.options,e=t.heightStyle,n=this.element.parent(),o=this.accordionId="ui-accordion-"+(this.element.attr("id")||++s);this.active=this._findActive(t.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"),this.active.next().addClass("ui-accordion-content-active").show(),this.headers.attr("role","tab").each(function(t){var e=h(this),i=e.attr("id"),n=e.next(),s=n.attr("id");i||(i=o+"-header-"+t,e.attr("id",i)),s||(s=o+"-panel-"+t,n.attr("id",s)),e.attr("aria-controls",s),n.attr("aria-labelledby",i)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(t.event),"fill"===e?(i=n.height(),this.element.siblings(":visible").each(function(){var t=h(this),e=t.css("position");"absolute"!==e&&"fixed"!==e&&(i-=t.outerHeight(!0))}),this.headers.each(function(){i-=h(this).outerHeight(!0)}),this.headers.next().each(function(){h(this).height(Math.max(0,i-h(this).innerHeight()+h(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.headers.next().each(function(){i=Math.max(i,h(this).css("height","").height())}).height(i))},_activate:function(t){var e=this._findActive(t)[0];e!==this.active[0]&&(e=e||this.active[0],this._eventHandler({target:e,currentTarget:e,preventDefault:h.noop}))},_findActive:function(t){return"number"==typeof t?this.headers.eq(t):h()},_setupEvents:function(t){var i={keydown:"_keydown"};t&&h.each(t.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(t){var e=this.options,i=this.active,n=h(t.currentTarget),s=n[0]===i[0],o=s&&e.collapsible,a=o?h():n.next(),r=i.next(),l={oldHeader:i,oldPanel:r,newHeader:o?h():n,newPanel:a};t.preventDefault(),s&&!e.collapsible||!1===this._trigger("beforeActivate",t,l)||(e.active=!o&&this.headers.index(n),this.active=s?h():n,this._toggle(l),i.removeClass("ui-accordion-header-active ui-state-active"),e.icons&&i.children(".ui-accordion-header-icon").removeClass(e.icons.activeHeader).addClass(e.icons.header),s||(n.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),e.icons&&n.children(".ui-accordion-header-icon").removeClass(e.icons.header).addClass(e.icons.activeHeader),n.next().addClass("ui-accordion-content-active")))},_toggle:function(t){var e=t.newPanel,i=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=e,this.prevHide=i,this.options.animate?this._animate(e,i,t):(i.hide(),e.show(),this._toggleComplete(t)),i.attr({"aria-expanded":"false","aria-hidden":"true"}),i.prev().attr("aria-selected","false"),e.length&&i.length?i.prev().attr("tabIndex",-1):e.length&&this.headers.filter(function(){return 0===h(this).attr("tabIndex")}).attr("tabIndex",-1),e.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(t,i,e){var n,s,o,a=this,r=0,l=t.length&&(!i.length||t.index()<i.index()),h=this.options.animate||{},c=l&&h.down||h,u=function(){a._toggleComplete(e)};return"number"==typeof c&&(o=c),"string"==typeof c&&(s=c),s=s||c.easing||h.easing,o=o||c.duration||h.duration,i.length?t.length?(n=t.show().outerHeight(),i.animate(d,{duration:o,easing:s,step:function(t,e){e.now=Math.round(t)}}),void t.hide().animate(p,{duration:o,easing:s,complete:u,step:function(t,e){e.now=Math.round(t),"height"!==e.prop?r+=e.now:"content"!==a.options.heightStyle&&(e.now=Math.round(n-i.outerHeight()-r),r=0)}})):i.animate(d,o,s,u):t.animate(p,o,s,u)},_toggleComplete:function(t){var e=t.oldPanel;e.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all"),e.length&&(e.parent()[0].className=e.parent()[0].className),this._trigger("activate",null,t)}})}(jQuery),function(a){var n=0;a.widget("ui.autocomplete",{version:"1.10.3",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var i,n,s,t=this.element[0].nodeName.toLowerCase(),e="textarea"===t,o="input"===t;this.isMultiLine=!!e||!o&&this.element.prop("isContentEditable"),this.valueMethod=this.element[e||o?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(t){if(this.element.prop("readOnly"))n=s=i=!0;else{n=s=i=!1;var e=a.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:i=!0,this._move("previousPage",t);break;case e.PAGE_DOWN:i=!0,this._move("nextPage",t);break;case e.UP:i=!0,this._keyEvent("previous",t);break;case e.DOWN:i=!0,this._keyEvent("next",t);break;case e.ENTER:case e.NUMPAD_ENTER:this.menu.active&&(i=!0,t.preventDefault(),this.menu.select(t));break;case e.TAB:this.menu.active&&this.menu.select(t);break;case e.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(t),t.preventDefault());break;default:n=!0,this._searchTimeout(t)}}},keypress:function(t){if(i)return i=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||t.preventDefault());if(!n){var e=a.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:this._move("previousPage",t);break;case e.PAGE_DOWN:this._move("nextPage",t);break;case e.UP:this._keyEvent("previous",t);break;case e.DOWN:this._keyEvent("next",t)}}},input:function(t){if(s)return s=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),this._change(t))}}),this._initSource(),this.menu=a("<ul>").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({role:null}).hide().data("ui-menu"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];a(t.target).closest(".ui-menu-item").length||this._delay(function(){var e=this;this.document.one("mousedown",function(t){t.target===e.element[0]||t.target===i||a.contains(i,t.target)||e.close()})})},menufocus:function(t,e){if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){a(t.target).trigger(t.originalEvent)});var i=e.item.data("ui-autocomplete-item");!1!==this._trigger("focus",t,{item:i})?t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(i.value):this.liveRegion.text(i.value)},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),n=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=n,this._delay(function(){this.previous=n,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=a("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertBefore(this.element),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?a(t):this.document.find(t).eq(0)),t||(t=this.element.closest(".ui-front")),t.length||(t=this.document[0].body),t},_initSource:function(){var i,n,s=this;a.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(a.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(t,e){s.xhr&&s.xhr.abort(),s.xhr=a.ajax({url:n,data:t,dataType:"json",success:function(t){e(t)},error:function(){e([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):!1!==this._trigger("search",e)?this._search(t):void 0},_search:function(t){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var e=this,i=++n;return function(t){i===n&&e.__response(t),e.pending--,e.pending||e.element.removeClass("ui-autocomplete-loading")}},__response:function(t){t&&(t=this._normalize(t)),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:a.map(t,function(t){return"string"==typeof t?{label:t,value:t}:a.extend({label:t.label||t.value,value:t.value||t.label},t)})},_suggest:function(t){var e=this.menu.element.empty();this._renderMenu(e,t),this.isNewMenu=!0,this.menu.refresh(),e.show(),this._resizeMenu(),e.position(a.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(i,t){var n=this;a.each(t,function(t,e){n._renderItemData(i,e)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(t,e){return a("<li>").append(a("<a>").text(e.label)).appendTo(t)},_move:function(t,e){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this._value(this.term),void this.menu.blur()):void this.menu[t](e);this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())}}),a.extend(a.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,e){var i=new RegExp(a.ui.autocomplete.escapeRegex(e),"i");return a.grep(t,function(t){return i.test(t.label||t.value||t)})}}),a.widget("ui.autocomplete",a.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(1<t?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var e;this._superApply(arguments),this.options.disabled||this.cancelSearch||(e=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.text(e))}})}(jQuery),function(o){var a,r,l,h,c="ui-button ui-widget ui-state-default ui-corner-all",t="ui-state-hover ui-state-active ",u="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",d=function(){var t=o(this);setTimeout(function(){t.find(":ui-button").button("refresh")},1)},p=function(t){var e=t.name,i=t.form,n=o([]);return e&&(e=e.replace(/'/g,"\\'"),n=i?o(i).find("[name='"+e+"']"):o("[name='"+e+"']",t.ownerDocument).filter(function(){return!this.form})),n};o.widget("ui.button",{version:"1.10.3",defaultElement:"<button>",options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset"+this.eventNamespace).bind("reset"+this.eventNamespace,d),"boolean"!=typeof this.options.disabled?this.options.disabled=!!this.element.prop("disabled"):this.element.prop("disabled",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr("title");var e=this,i=this.options,t="checkbox"===this.type||"radio"===this.type,n=t?"":"ui-state-active",s="ui-state-focus";null===i.label&&(i.label="input"===this.type?this.buttonElement.val():this.buttonElement.html()),this._hoverable(this.buttonElement),this.buttonElement.addClass(c).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){i.disabled||this===a&&o(this).addClass("ui-state-active")}).bind("mouseleave"+this.eventNamespace,function(){i.disabled||o(this).removeClass(n)}).bind("click"+this.eventNamespace,function(t){i.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}),this.element.bind("focus"+this.eventNamespace,function(){e.buttonElement.addClass(s)}).bind("blur"+this.eventNamespace,function(){e.buttonElement.removeClass(s)}),t&&(this.element.bind("change"+this.eventNamespace,function(){h||e.refresh()}),this.buttonElement.bind("mousedown"+this.eventNamespace,function(t){i.disabled||(h=!1,r=t.pageX,l=t.pageY)}).bind("mouseup"+this.eventNamespace,function(t){i.disabled||r===t.pageX&&l===t.pageY||(h=!0)})),"checkbox"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(i.disabled||h)return!1}):"radio"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(i.disabled||h)return!1;o(this).addClass("ui-state-active"),e.buttonElement.attr("aria-pressed","true");var t=e.element[0];p(t).not(t).map(function(){return o(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown"+this.eventNamespace,function(){if(i.disabled)return!1;o(this).addClass("ui-state-active"),a=this,e.document.one("mouseup",function(){a=null})}).bind("mouseup"+this.eventNamespace,function(){if(i.disabled)return!1;o(this).removeClass("ui-state-active")}).bind("keydown"+this.eventNamespace,function(t){if(i.disabled)return!1;t.keyCode!==o.ui.keyCode.SPACE&&t.keyCode!==o.ui.keyCode.ENTER||o(this).addClass("ui-state-active")}).bind("keyup"+this.eventNamespace+" blur"+this.eventNamespace,function(){o(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(t){t.keyCode===o.ui.keyCode.SPACE&&o(this).click()})),this._setOption("disabled",i.disabled),this._resetButton()},_determineButtonType:function(){var t,e,i;this.element.is("[type=checkbox]")?this.type="checkbox":this.element.is("[type=radio]")?this.type="radio":this.element.is("input")?this.type="input":this.type="button","checkbox"===this.type||"radio"===this.type?(t=this.element.parents().last(),e="label[for='"+this.element.attr("id")+"']",this.buttonElement=t.find(e),this.buttonElement.length||(t=t.length?t.siblings():this.element.siblings(),this.buttonElement=t.filter(e),this.buttonElement.length||(this.buttonElement=t.find(e))),this.element.addClass("ui-helper-hidden-accessible"),(i=this.element.is(":checked"))&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.prop("aria-pressed",i)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass("ui-helper-hidden-accessible"),this.buttonElement.removeClass(c+" "+t+" "+u).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title")},_setOption:function(t,e){this._super(t,e),"disabled"!==t?this._resetButton(
+):e?this.element.prop("disabled",!0):this.element.prop("disabled",!1)},refresh:function(){var t=this.element.is("input, button")?this.element.is(":disabled"):this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOption("disabled",t),"radio"===this.type?p(this.element[0]).each(function(){o(this).is(":checked")?o(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):o(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")}):"checkbox"===this.type&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false"))},_resetButton:function(){if("input"!==this.type){var t=this.buttonElement.removeClass(u),e=o("<span></span>",this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(t.empty()).text(),i=this.options.icons,n=i.primary&&i.secondary,s=[];i.primary||i.secondary?(this.options.text&&s.push("ui-button-text-icon"+(n?"s":i.primary?"-primary":"-secondary")),i.primary&&t.prepend("<span class='ui-button-icon-primary ui-icon "+i.primary+"'></span>"),i.secondary&&t.append("<span class='ui-button-icon-secondary ui-icon "+i.secondary+"'></span>"),this.options.text||(s.push(n?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle||t.attr("title",o.trim(e)))):s.push("ui-button-text-only"),t.addClass(s.join(" "))}else this.options.label&&this.element.val(this.options.label)}}),o.widget("ui.buttonset",{version:"1.10.3",options:{items:"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(t,e){"disabled"===t&&this.buttons.button("option",t,e),this._super(t,e)},refresh:function(){var t="rtl"===this.element.css("direction");this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return o(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(t?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(t?"ui-corner-left":"ui-corner-right").end().end()},_destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return o(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy")}})}(jQuery),function(k,l){function t(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},k.extend(this._defaults,this.regional[""]),this.dpDiv=i(k("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function i(t){var e="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.delegate(e,"mouseout",function(){k(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&k(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&k(this).removeClass("ui-datepicker-next-hover")}).delegate(e,"mouseover",function(){k.datepicker._isDisabledDatepicker(o.inline?t.parent()[0]:o.input[0])||(k(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),k(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&k(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&k(this).addClass("ui-datepicker-next-hover"))})}function u(t,e){for(var i in k.extend(t,e),e)null==e[i]&&(t[i]=e[i]);return t}k.extend(k.ui,{datepicker:{version:"1.10.3"}});var o,d="datepicker";k.extend(t.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return u(this._defaults,t||{}),this},_attachDatepicker:function(t,e){var i,n,s;n="div"===(i=t.nodeName.toLowerCase())||"span"===i,t.id||(this.uuid+=1,t.id="dp"+this.uuid),(s=this._newInst(k(t),n)).settings=k.extend({},e||{}),"input"===i?this._connectDatepicker(t,s):n&&this._inlineDatepicker(t,s)},_newInst:function(t,e){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:e,dpDiv:e?i(k("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(t,e){var i=k(t);e.append=k([]),e.trigger=k([]),i.hasClass(this.markerClassName)||(this._attachments(i,e),i.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(e),k.data(t,d,e),e.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,e){var i,n,s,o=this._get(e,"appendText"),a=this._get(e,"isRTL");e.append&&e.append.remove(),o&&(e.append=k("<span class='"+this._appendClass+"'>"+o+"</span>"),t[a?"before":"after"](e.append)),t.unbind("focus",this._showDatepicker),e.trigger&&e.trigger.remove(),"focus"!==(i=this._get(e,"showOn"))&&"both"!==i||t.focus(this._showDatepicker),"button"!==i&&"both"!==i||(n=this._get(e,"buttonText"),s=this._get(e,"buttonImage"),e.trigger=k(this._get(e,"buttonImageOnly")?k("<img/>").addClass(this._triggerClass).attr({src:s,alt:n,title:n}):k("<button type='button'></button>").addClass(this._triggerClass).html(s?k("<img/>").attr({src:s,alt:n,title:n}):n)),t[a?"before":"after"](e.trigger),e.trigger.click(function(){return k.datepicker._datepickerShowing&&k.datepicker._lastInput===t[0]?k.datepicker._hideDatepicker():(k.datepicker._datepickerShowing&&k.datepicker._lastInput!==t[0]&&k.datepicker._hideDatepicker(),k.datepicker._showDatepicker(t[0])),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,n,s,o=new Date(2009,11,20),a=this._get(t,"dateFormat");a.match(/[DM]/)&&(e=function(t){for(s=n=i=0;s<t.length;s++)t[s].length>i&&(i=t[s].length,n=s);return n},o.setMonth(e(this._get(t,a.match(/MM/)?"monthNames":"monthNamesShort"))),o.setDate(e(this._get(t,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-o.getDay())),t.input.attr("size",this._formatDate(t,o).length)}},_inlineDatepicker:function(t,e){var i=k(t);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(e.dpDiv),k.data(t,d,e),this._setDate(e,this._getDefaultDate(e),!0),this._updateDatepicker(e),this._updateAlternate(e),e.settings.disabled&&this._disableDatepicker(t),e.dpDiv.css("display","block"))},_dialogDatepicker:function(t,e,i,n,s){var o,a,r,l,h,c=this._dialogInst;return c||(this.uuid+=1,o="dp"+this.uuid,this._dialogInput=k("<input type='text' id='"+o+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.keydown(this._doKeyDown),k("body").append(this._dialogInput),(c=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},k.data(this._dialogInput[0],d,c)),u(c.settings,n||{}),e=e&&e.constructor===Date?this._formatDate(c,e):e,this._dialogInput.val(e),this._pos=s?s.length?s:[s.pageX,s.pageY]:null,this._pos||(a=document.documentElement.clientWidth,r=document.documentElement.clientHeight,l=document.documentElement.scrollLeft||document.body.scrollLeft,h=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[a/2-100+l,r/2-150+h]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),c.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),k.blockUI&&k.blockUI(this.dpDiv),k.data(this._dialogInput[0],d,c),this},_destroyDatepicker:function(t){var e,i=k(t),n=k.data(t,d);i.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),k.removeData(t,d),"input"===e?(n.append.remove(),n.trigger.remove(),i.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):"div"!==e&&"span"!==e||i.removeClass(this.markerClassName).empty())},_enableDatepicker:function(e){var t,i,n=k(e),s=k.data(e,d);n.hasClass(this.markerClassName)&&("input"===(t=e.nodeName.toLowerCase())?(e.disabled=!1,s.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==t&&"span"!==t||((i=n.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=k.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var t,i,n=k(e),s=k.data(e,d);n.hasClass(this.markerClassName)&&("input"===(t=e.nodeName.toLowerCase())?(e.disabled=!0,s.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==t&&"span"!==t||((i=n.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=k.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e<this._disabledInputs.length;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(t){try{return k.data(t,d)}catch(e){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,e,i){var n,s,o,a,r=this._getInst(t);if(2===arguments.length&&"string"==typeof e)return"defaults"===e?k.extend({},k.datepicker._defaults):r?"all"===e?k.extend({},r.settings):this._get(r,e):null;n=e||{},"string"==typeof e&&((n={})[e]=i),r&&(this._curInst===r&&this._hideDatepicker(),s=this._getDateDatepicker(t,!0),o=this._getMinMaxDate(r,"min"),a=this._getMinMaxDate(r,"max"),u(r.settings,n),null!==o&&n.dateFormat!==l&&n.minDate===l&&(r.settings.minDate=this._formatDate(r,o)),null!==a&&n.dateFormat!==l&&n.maxDate===l&&(r.settings.maxDate=this._formatDate(r,a)),"disabled"in n&&(n.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(k(t),r),this._autoSize(r),this._setDate(r,s),this._updateAlternate(r),this._updateDatepicker(r))},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var i=this._getInst(t);i&&(this._setDate(i,e),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(t,e){var i=this._getInst(t);return i&&!i.inline&&this._setDateFromField(i,e),i?this._getDate(i):null},_doKeyDown:function(t){var e,i,n,s=k.datepicker._getInst(t.target),o=!0,a=s.dpDiv.is(".ui-datepicker-rtl");if(s._keyEvent=!0,k.datepicker._datepickerShowing)switch(t.keyCode){case 9:k.datepicker._hideDatepicker(),o=!1;break;case 13:return(n=k("td."+k.datepicker._dayOverClass+":not(."+k.datepicker._currentClass+")",s.dpDiv))[0]&&k.datepicker._selectDay(t.target,s.selectedMonth,s.selectedYear,n[0]),(e=k.datepicker._get(s,"onSelect"))?(i=k.datepicker._formatDate(s),e.apply(s.input?s.input[0]:null,[i,s])):k.datepicker._hideDatepicker(),!1;case 27:k.datepicker._hideDatepicker();break;case 33:k.datepicker._adjustDate(t.target,t.ctrlKey?-k.datepicker._get(s,"stepBigMonths"):-k.datepicker._get(s,"stepMonths"),"M");break;case 34:k.datepicker._adjustDate(t.target,t.ctrlKey?+k.datepicker._get(s,"stepBigMonths"):+k.datepicker._get(s,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&k.datepicker._clearDate(t.target),o=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&k.datepicker._gotoToday(t.target),o=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&k.datepicker._adjustDate(t.target,a?1:-1,"D"),o=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&k.datepicker._adjustDate(t.target,t.ctrlKey?-k.datepicker._get(s,"stepBigMonths"):-k.datepicker._get(s,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&k.datepicker._adjustDate(t.target,-7,"D"),o=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&k.datepicker._adjustDate(t.target,a?-1:1,"D"),o=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&k.datepicker._adjustDate(t.target,t.ctrlKey?+k.datepicker._get(s,"stepBigMonths"):+k.datepicker._get(s,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&k.datepicker._adjustDate(t.target,7,"D"),o=t.ctrlKey||t.metaKey;break;default:o=!1}else 36===t.keyCode&&t.ctrlKey?k.datepicker._showDatepicker(this):o=!1;o&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var e,i,n=k.datepicker._getInst(t.target);if(k.datepicker._get(n,"constrainInput"))return e=k.datepicker._possibleChars(k.datepicker._get(n,"dateFormat")),i=String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||i<" "||!e||-1<e.indexOf(i)},_doKeyUp:function(t){var e=k.datepicker._getInst(t.target);if(e.input.val()!==e.lastVal)try{k.datepicker.parseDate(k.datepicker._get(e,"dateFormat"),e.input?e.input.val():null,k.datepicker._getFormatConfig(e))&&(k.datepicker._setDateFromField(e),k.datepicker._updateAlternate(e),k.datepicker._updateDatepicker(e))}catch(i){}return!0},_showDatepicker:function(t){var e,i,n,s,o,a,r;("input"!==(t=t.target||t).nodeName.toLowerCase()&&(t=k("input",t.parentNode)[0]),k.datepicker._isDisabledDatepicker(t)||k.datepicker._lastInput===t)||(e=k.datepicker._getInst(t),k.datepicker._curInst&&k.datepicker._curInst!==e&&(k.datepicker._curInst.dpDiv.stop(!0,!0),e&&k.datepicker._datepickerShowing&&k.datepicker._hideDatepicker(k.datepicker._curInst.input[0])),!1!==(n=(i=k.datepicker._get(e,"beforeShow"))?i.apply(t,[t,e]):{})&&(u(e.settings,n),e.lastVal=null,k.datepicker._lastInput=t,k.datepicker._setDateFromField(e),k.datepicker._inDialog&&(t.value=""),k.datepicker._pos||(k.datepicker._pos=k.datepicker._findPos(t),k.datepicker._pos[1]+=t.offsetHeight),s=!1,k(t).parents().each(function(){return!(s|="fixed"===k(this).css("position"))}),o={left:k.datepicker._pos[0],top:k.datepicker._pos[1]},k.datepicker._pos=null,e.dpDiv.empty(),e.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),k.datepicker._updateDatepicker(e),o=k.datepicker._checkOffset(e,o,s),e.dpDiv.css({position:k.datepicker._inDialog&&k.blockUI?"static":s?"fixed":"absolute",display:"none",left:o.left+"px",top:o.top+"px"}),e.inline||(a=k.datepicker._get(e,"showAnim"),r=k.datepicker._get(e,"duration"),e.dpDiv.zIndex(k(t).zIndex()+1),k.datepicker._datepickerShowing=!0,k.effects&&k.effects.effect[a]?e.dpDiv.show(a,k.datepicker._get(e,"showOptions"),r):e.dpDiv[a||"show"](a?r:null),k.datepicker._shouldFocusInput(e)&&e.input.focus(),k.datepicker._curInst=e)))},_updateDatepicker:function(t){this.maxRows=4,(o=t).dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t),t.dpDiv.find("."+this._dayOverClass+" a").mouseover();var e,i=this._getNumberOfMonths(t),n=i[1],s=17;t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<n&&t.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",s*n+"em"),t.dpDiv[(1!==i[0]||1!==i[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===k.datepicker._curInst&&k.datepicker._datepickerShowing&&k.datepicker._shouldFocusInput(t)&&t.input.focus(),t.yearshtml&&(e=t.yearshtml,setTimeout(function(){e===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),e=t.yearshtml=null},0))},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(t,e,i){var n=t.dpDiv.outerWidth(),s=t.dpDiv.outerHeight(),o=t.input?t.input.outerWidth():0,a=t.input?t.input.outerHeight():0,r=document.documentElement.clientWidth+(i?0:k(document).scrollLeft()),l=document.documentElement.clientHeight+(i?0:k(document).scrollTop());return e.left-=this._get(t,"isRTL")?n-o:0,e.left-=i&&e.left===t.input.offset().left?k(document).scrollLeft():0,e.top-=i&&e.top===t.input.offset().top+a?k(document).scrollTop():0,e.left-=Math.min(e.left,e.left+n>r&&n<r?Math.abs(e.left+n-r):0),e.top-=Math.min(e.top,e.top+s>l&&s<l?Math.abs(s+a):0),e},_findPos:function(t){for(var e,i=this._getInst(t),n=this._get(i,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||k.expr.filters.hidden(t));)t=t[n?"previousSibling":"nextSibling"];return[(e=k(t).offset()).left,e.top]},_hideDatepicker:function(t){var e,i,n,s,o=this._curInst;!o||t&&o!==k.data(t,d)||this._datepickerShowing&&(e=this._get(o,"showAnim"),i=this._get(o,"duration"),n=function(){k.datepicker._tidyDialog(o)},k.effects&&(k.effects.effect[e]||k.effects[e])?o.dpDiv.hide(e,k.datepicker._get(o,"showOptions"),i,n):o.dpDiv["slideDown"===e?"slideUp":"fadeIn"===e?"fadeOut":"hide"](e?i:null,n),e||n(),this._datepickerShowing=!1,(s=this._get(o,"onClose"))&&s.apply(o.input?o.input[0]:null,[o.input?o.input.val():"",o]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),k.blockUI&&(k.unblockUI(),k("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(k.datepicker._curInst){var e=k(t.target),i=k.datepicker._getInst(e[0]);(e[0].id===k.datepicker._mainDivId||0!==e.parents("#"+k.datepicker._mainDivId).length||e.hasClass(k.datepicker.markerClassName)||e.closest("."+k.datepicker._triggerClass).length||!k.datepicker._datepickerShowing||k.datepicker._inDialog&&k.blockUI)&&(!e.hasClass(k.datepicker.markerClassName)||k.datepicker._curInst===i)||k.datepicker._hideDatepicker()}},_adjustDate:function(t,e,i){var n=k(t),s=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustInstDate(s,e+("M"===i?this._get(s,"showCurrentAtPos"):0),i),this._updateDatepicker(s))},_gotoToday:function(t){var e,i=k(t),n=this._getInst(i[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear):(e=new Date,n.selectedDay=e.getDate(),n.drawMonth=n.selectedMonth=e.getMonth(),n.drawYear=n.selectedYear=e.getFullYear()),this._notifyChange(n),this._adjustDate(i)},_selectMonthYear:function(t,e,i){var n=k(t),s=this._getInst(n[0]);s["selected"+("M"===i?"Month":"Year")]=s["draw"+("M"===i?"Month":"Year")]=parseInt(e.options[e.selectedIndex].value,10),this._notifyChange(s),this._adjustDate(n)},_selectDay:function(t,e,i,n){var s,o=k(t);k(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(o[0])||((s=this._getInst(o[0])).selectedDay=s.currentDay=k("a",n).html(),s.selectedMonth=s.currentMonth=e,s.selectedYear=s.currentYear=i,this._selectDate(t,this._formatDate(s,s.currentDay,s.currentMonth,s.currentYear)))},_clearDate:function(t){var e=k(t);this._selectDate(e,"")},_selectDate:function(t,e){var i,n=k(t),s=this._getInst(n[0]);e=null!=e?e:this._formatDate(s),s.input&&s.input.val(e),this._updateAlternate(s),(i=this._get(s,"onSelect"))?i.apply(s.input?s.input[0]:null,[e,s]):s.input&&s.input.trigger("change"),s.inline?this._updateDatepicker(s):(this._hideDatepicker(),this._lastInput=s.input[0],"object"!=typeof s.input[0]&&s.input.focus(),this._lastInput=null)},_updateAlternate:function(t){var e,i,n,s=this._get(t,"altField");s&&(e=this._get(t,"altFormat")||this._get(t,"dateFormat"),i=this._getDate(t),n=this.formatDate(e,i,this._getFormatConfig(t)),k(s).each(function(){k(this).val(n)}))},noWeekends:function(t){var e=t.getDay();return[0<e&&e<6,""]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(i,o,t){if(null==i||null==o)throw"Invalid arguments";if(""===(o="object"==typeof o?o.toString():o+""))return null;var n,e,s,a,r=0,l=(t?t.shortYearCutoff:null)||this._defaults.shortYearCutoff,h="string"!=typeof l?l:(new Date).getFullYear()%100+parseInt(l,10),c=(t?t.dayNamesShort:null)||this._defaults.dayNamesShort,u=(t?t.dayNames:null)||this._defaults.dayNames,d=(t?t.monthNamesShort:null)||this._defaults.monthNamesShort,p=(t?t.monthNames:null)||this._defaults.monthNames,f=-1,m=-1,g=-1,v=-1,b=!1,_=function(t){var e=n+1<i.length&&i.charAt(n+1)===t;return e&&n++,e},y=function(t){var e=_(t),i=new RegExp("^\\d{1,"+("@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2)+"}"),n=o.substring(r).match(i);if(!n)throw"Missing number at position "+r;return r+=n[0].length,parseInt(n[0],10)},w=function(t,e,i){var n=-1,s=k.map(_(t)?i:e,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(k.each(s,function(t,e){var i=e[1];if(o.substr(r,i.length).toLowerCase()===i.toLowerCase())return n=e[0],r+=i.length,!1}),-1!==n)return n+1;throw"Unknown name at position "+r},x=function(){if(o.charAt(r)!==i.charAt(n))throw"Unexpected literal at position "+r;r++};for(n=0;n<i.length;n++)if(b)"'"!==i.charAt(n)||_("'")?x():b=!1;else switch(i.charAt(n)){case"d":g=y("d");break;case"D":w("D",c,u);break;case"o":v=y("o");break;case"m":m=y("m");break;case"M":m=w("M",d,p);break;case"y":f=y("y");break;case"@":f=(a=new Date(y("@"))).getFullYear(),m=a.getMonth()+1,g=a.getDate();break;case"!":f=(a=new Date((y("!")-this._ticksTo1970)/1e4)).getFullYear(),m=a.getMonth()+1,g=a.getDate();break;case"'":_("'")?x():b=!0;break;default:x()}if(r<o.length&&(s=o.substr(r),!/^\s+/.test(s)))throw"Extra/unparsed characters found in date: "+s;if(-1===f?f=(new Date).getFullYear():f<100&&(f+=(new Date).getFullYear()-(new Date).getFullYear()%100+(f<=h?0:-100)),-1<v)for(m=1,g=v;;){if(g<=(e=this._getDaysInMonth(f,m-1)))break;m++,g-=e}if((a=this._daylightSavingAdjust(new Date(f,m-1,g))).getFullYear()!==f||a.getMonth()+1!==m||a.getDate()!==g)throw"Invalid date";return a},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(i,t,e){if(!t)return"";var n,s=(e?e.dayNamesShort:null)||this._defaults.dayNamesShort,o=(e?e.dayNames:null)||this._defaults.dayNames,a=(e?e.monthNamesShort:null)||this._defaults.monthNamesShort,r=(e?e.monthNames:null)||this._defaults.monthNames,l=function(t){var e=n+1<i.length&&i.charAt(n+1)===t;return e&&n++,e},h=function(t,e,i){var n=""+e;if(l(t))for(;n.length<i;)n="0"+n;return n},c=function(t,e,i,n){return l(t)?n[e]:i[e]},u="",d=!1;if(t)for(n=0;n<i.length;n++)if(d)"'"!==i.charAt(n)||l("'")?u+=i.charAt(n):d=!1;else switch(i.charAt(n)){case"d":u+=h("d",t.getDate(),2);break;case"D":u+=c("D",t.getDay(),s,o);break;case"o":u+=h("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":u+=h("m",t.getMonth()+1,2);break;case"M":u+=c("M",t.getMonth(),a,r);break;case"y":u+=l("y")?t.getFullYear():(t.getYear()%100<10?"0":"")+t.getYear()%100;break;case"@":u+=t.getTime();break;case"!":u+=1e4*t.getTime()+this._ticksTo1970;break;case"'":l("'")?u+="'":d=!0;break;default:u+=i.charAt(n)}return u},_possibleChars:function(i){var n,t="",e=!1,s=function(t){var e=n+1<i.length&&i.charAt(n+1)===t;return e&&n++,e};for(n=0;n<i.length;n++)if(e)"'"!==i.charAt(n)||s("'")?t+=i.charAt(n):e=!1;else switch(i.charAt(n)){case"d":case"m":case"y":case"@":t+="0123456789";break;case"D":case"M":return null;case"'":s("'")?t+="'":e=!0;break;default:t+=i.charAt(n)}return t},_get:function(t,e){return t.settings[e]!==l?t.settings[e]:this._defaults[e]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),n=t.lastVal=t.input?t.input.val():null,s=this._getDefaultDate(t),o=s,a=this._getFormatConfig(t);try{o=this.parseDate(i,n,a)||s}catch(r){n=e?"":n}t.selectedDay=o.getDate(),t.drawMonth=t.selectedMonth=o.getMonth(),t.drawYear=t.selectedYear=o.getFullYear(),t.currentDay=n?o.getDate():0,t.currentMonth=n?o.getMonth():0,t.currentYear=n?o.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(l,t,e){var i=function(t){var e=new Date;return e.setDate(e.getDate()+t),e},n=null==t||""===t?e:"string"==typeof t?function(t){try{return k.datepicker.parseDate(k.datepicker._get(l,"dateFormat"),t,k.datepicker._getFormatConfig(l))}catch(r){}for(var e=(t.toLowerCase().match(/^c/)?k.datepicker._getDate(l):null)||new Date,i=e.getFullYear(),n=e.getMonth(),s=e.getDate(),o=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,a=o.exec(t);a;){switch(a[2]||"d"){case"d":case"D":s+=parseInt(a[1],10);break;case"w":case"W":s+=7*parseInt(a[1],10);break;case"m":case"M":n+=parseInt(a[1],10),s=Math.min(s,k.datepicker._getDaysInMonth(i,n));break;case"y":case"Y":i+=parseInt(a[1],10),s=Math.min(s,k.datepicker._getDaysInMonth(i,n))}a=o.exec(t)}return new Date(i,n,s)}(t):"number"==typeof t?isNaN(t)?e:i(t):new Date(t.getTime());return(n=n&&"Invalid Date"===n.toString()?e:n)&&(n.setHours(0),n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0)),this._daylightSavingAdjust(n)},_daylightSavingAdjust:function(t){return t?(t.setHours(12<t.getHours()?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var n=!e,s=t.selectedMonth,o=t.selectedYear,a=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=a.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=a.getMonth(),t.drawYear=t.selectedYear=t.currentYear=a.getFullYear(),s===t.selectedMonth&&o===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(n?"":this._formatDate(t))},_getDate:function(t){return!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_attachHandlers:function(t){var e=this._get(t,"stepMonths"),i="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){k.datepicker._adjustDate(i,-e,"M")},next:function(){k.datepicker._adjustDate(i,+e,"M")},hide:function(){k.datepicker._hideDatepicker()},today:function(){k.datepicker._gotoToday(i)},selectDay:function(){return k.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return k.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return k.datepicker._selectMonthYear(i,this,"Y"),!1}};k(this).bind(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,i,n,s,o,a,r,l,h,c,u,d,p,f,m,g,v,b,_,y,w,x,k,C,D,T,S,N,E,I,P,M,A,$,z,H,j,W,O,L=new Date,F=this._daylightSavingAdjust(new Date(L.getFullYear(),L.getMonth(),L.getDate())),R=this._get(t,"isRTL"),B=this._get(t,"showButtonPanel"),q=this._get(t,"hideIfNoPrevNext"),Y=this._get(t,"navigationAsDateFormat"),U=this._getNumberOfMonths(t),K=this._get(t,"showCurrentAtPos"),V=this._get(t,"stepMonths"),X=1!==U[0]||1!==U[1],Q=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),G=this._getMinMaxDate(t,"min"),J=this._getMinMaxDate(t,"max"),Z=t.drawMonth-K,tt=t.drawYear;if(Z<0&&(Z+=12,tt--),J)for(e=this._daylightSavingAdjust(new Date(J.getFullYear(),J.getMonth()-U[0]*U[1]+1,J.getDate())),e=G&&e<G?G:e;this._daylightSavingAdjust(new Date(tt,Z,1))>e;)--Z<0&&(Z=11,tt--);for(t.drawMonth=Z,t.drawYear=tt,i=this._get(t,"prevText"),i=Y?this.formatDate(i,this._daylightSavingAdjust(new Date(tt,Z-V,1)),this._getFormatConfig(t)):i,n=this._canAdjustMonth(t,-1,tt,Z)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(R?"e":"w")+"'>"+i+"</span></a>":q?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(R?"e":"w")+"'>"+i+"</span></a>",s=this._get(t,"nextText"),s=Y?this.formatDate(s,this._daylightSavingAdjust(new Date(tt,Z+V,1)),this._getFormatConfig(t)):s,o=this._canAdjustMonth(t,1,tt,Z)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(R?"w":"e")+"'>"+s+"</span></a>":q?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(R?"w":"e")+"'>"+s+"</span></a>",a=this._get(t,"currentText"),r=this._get(t,"gotoCurrent")&&t.currentDay?Q:F,a=Y?this.formatDate(a,r,this._getFormatConfig(t)):a,l=t.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(t,"closeText")+"</button>",h=B?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(R?l:"")+(this._isInRange(t,r)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+a+"</button>":"")+(R?"":l)+"</div>":"",c=parseInt(this._get(t,"firstDay"),10),c=isNaN(c)?0:c,u=this._get(t,"showWeek"),d=this._get(t,"dayNames"),p=this._get(t,"dayNamesMin"),f=this._get(t,"monthNames"),m=this._get(t,"monthNamesShort"),g=this._get(t,"beforeShowDay"),v=this._get(t,"showOtherMonths"),b=this._get(t,"selectOtherMonths"),_=this._getDefaultDate(t),y="",x=0;x<U[0];x++){for(k="",this.maxRows=4,C=0;C<U[1];C++){if(D=this._daylightSavingAdjust(new Date(tt,Z,t.selectedDay)),T=" ui-corner-all",S="",X){if(S+="<div class='ui-datepicker-group",1<U[1])switch(C){case 0:S+=" ui-datepicker-group-first",T=" ui-corner-"+(R?"right":"left");break;case U[1]-1:S+=" ui-datepicker-group-last",T=" ui-corner-"+(R?"left":"right");break;default:S+=" ui-datepicker-group-middle",T=""}S+="'>"}for(S+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+T+"'>"+(/all|left/.test(T)&&0===x?R?o:n:"")+(/all|right/.test(T)&&0===x?R?n:o:"")+this._generateMonthYearHeader(t,Z,tt,G,J,0<x||0<C,f,m)+"</div><table class='ui-datepicker-calendar'><thead><tr>",N=u?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",w=0;w<7;w++)N+="<th"+(5<=(w+c+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+d[E=(w+c)%7]+"'>"+p[E]+"</span></th>";for(S+=N+"</tr></thead><tbody>",I=this._getDaysInMonth(tt,Z),tt===t.selectedYear&&Z===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,I)),P=(this._getFirstDayOfMonth(tt,Z)-c+7)%7,M=Math.ceil((P+I)/7),A=X&&this.maxRows>M?this.maxRows:M,this.maxRows=A,$=this._daylightSavingAdjust(new Date(tt,Z,1-P)),z=0;z<A;z++){for(S+="<tr>",H=u?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")($)+"</td>":"",w=0;w<7;w++)j=g?g.apply(t.input?t.input[0]:null,[$]):[!0,""],O=(W=$.getMonth()!==Z)&&!b||!j[0]||G&&$<G||J&&J<$,H+="<td class='"+(5<=(w+c+6)%7?" ui-datepicker-week-end":"")+(W?" ui-datepicker-other-month":"")+($.getTime()===D.getTime()&&Z===t.selectedMonth&&t._keyEvent||_.getTime()===$.getTime()&&_.getTime()===D.getTime()?" "+this._dayOverClass:"")+(O?" "+this._unselectableClass+" ui-state-disabled":""
+)+(W&&!v?"":" "+j[1]+($.getTime()===Q.getTime()?" "+this._currentClass:"")+($.getTime()===F.getTime()?" ui-datepicker-today":""))+"'"+(W&&!v||!j[2]?"":" title='"+j[2].replace(/'/g,"&#39;")+"'")+(O?"":" data-handler='selectDay' data-event='click' data-month='"+$.getMonth()+"' data-year='"+$.getFullYear()+"'")+">"+(W&&!v?"&#xa0;":O?"<span class='ui-state-default'>"+$.getDate()+"</span>":"<a class='ui-state-default"+($.getTime()===F.getTime()?" ui-state-highlight":"")+($.getTime()===Q.getTime()?" ui-state-active":"")+(W?" ui-priority-secondary":"")+"' href='#'>"+$.getDate()+"</a>")+"</td>",$.setDate($.getDate()+1),$=this._daylightSavingAdjust($);S+=H+"</tr>"}11<++Z&&(Z=0,tt++),k+=S+="</tbody></table>"+(X?"</div>"+(0<U[0]&&C===U[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}y+=k}return y+=h,t._keyEvent=!1,y},_generateMonthYearHeader:function(t,e,i,n,s,o,a,r){var l,h,c,u,d,p,f,m,g=this._get(t,"changeMonth"),v=this._get(t,"changeYear"),b=this._get(t,"showMonthAfterYear"),_="<div class='ui-datepicker-title'>",y="";if(o||!g)y+="<span class='ui-datepicker-month'>"+a[e]+"</span>";else{for(l=n&&n.getFullYear()===i,h=s&&s.getFullYear()===i,y+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",c=0;c<12;c++)(!l||c>=n.getMonth())&&(!h||c<=s.getMonth())&&(y+="<option value='"+c+"'"+(c===e?" selected='selected'":"")+">"+r[c]+"</option>");y+="</select>"}if(b||(_+=y+(!o&&g&&v?"":"&#xa0;")),!t.yearshtml)if(t.yearshtml="",o||!v)_+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(u=this._get(t,"yearRange").split(":"),d=(new Date).getFullYear(),f=(p=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?d+parseInt(t,10):parseInt(t,10);return isNaN(e)?d:e})(u[0]),m=Math.max(f,p(u[1]||"")),f=n?Math.max(f,n.getFullYear()):f,m=s?Math.min(m,s.getFullYear()):m,t.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";f<=m;f++)t.yearshtml+="<option value='"+f+"'"+(f===i?" selected='selected'":"")+">"+f+"</option>";t.yearshtml+="</select>",_+=t.yearshtml,t.yearshtml=null}return _+=this._get(t,"yearSuffix"),b&&(_+=(!o&&g&&v?"":"&#xa0;")+y),_+="</div>"},_adjustInstDate:function(t,e,i){var n=t.drawYear+("Y"===i?e:0),s=t.drawMonth+("M"===i?e:0),o=Math.min(t.selectedDay,this._getDaysInMonth(n,s))+("D"===i?e:0),a=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(n,s,o)));t.selectedDay=a.getDate(),t.drawMonth=t.selectedMonth=a.getMonth(),t.drawYear=t.selectedYear=a.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),n=this._getMinMaxDate(t,"max"),s=i&&e<i?i:e;return n&&n<s?n:s},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,n){var s=this._getNumberOfMonths(t),o=this._daylightSavingAdjust(new Date(i,n+(e<0?e:s[0]*s[1]),1));return e<0&&o.setDate(this._getDaysInMonth(o.getFullYear(),o.getMonth())),this._isInRange(t,o)},_isInRange:function(t,e){var i,n,s=this._getMinMaxDate(t,"min"),o=this._getMinMaxDate(t,"max"),a=null,r=null,l=this._get(t,"yearRange");return l&&(i=l.split(":"),n=(new Date).getFullYear(),a=parseInt(i[0],10),r=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(a+=n),i[1].match(/[+\-].*/)&&(r+=n)),(!s||e.getTime()>=s.getTime())&&(!o||e.getTime()<=o.getTime())&&(!a||e.getFullYear()>=a)&&(!r||e.getFullYear()<=r)},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,n){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var s=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(n,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),s,this._getFormatConfig(t))}}),k.fn.datepicker=function(t,e){if(!this.length)return this;k.datepicker.initialized||(k(document).mousedown(k.datepicker._checkExternalClick),k.datepicker.initialized=!0),0===k("#"+k.datepicker._mainDivId).length&&k("body").append(k.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!==t&&"getDate"!==t&&"widget"!==t?"option"===t&&2===arguments.length&&"string"==typeof e?k.datepicker["_"+t+"Datepicker"].apply(k.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof t?k.datepicker["_"+t+"Datepicker"].apply(k.datepicker,[this].concat(i)):k.datepicker._attachDatepicker(this,t)}):k.datepicker["_"+t+"Datepicker"].apply(k.datepicker,[this[0]].concat(i))},k.datepicker=new t,k.datepicker.initialized=!1,k.datepicker.uuid=(new Date).getTime(),k.datepicker.version="1.10.3"}(jQuery),function(a){var o={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},r={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};a.widget("ui.dialog",{version:"1.10.3",options:{appendTo:"body",autoOpen:!0,buttons:[],closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(t){var e=a(this).css(t).offset().top;e<0&&a(this).css("top",t.top-e)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),this.options.title=this.options.title||this.originalTitle,this._createWrapper(),this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(this.uiDialog),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&a.fn.draggable&&this._makeDraggable(),this.options.resizable&&a.fn.resizable&&this._makeResizable(),this._isOpen=!1},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var t=this.options.appendTo;return t&&(t.jquery||t.nodeType)?a(t):this.document.find(t||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._destroyOverlay(),this.element.removeUniqueId().removeClass("ui-dialog-content ui-widget-content").css(this.originalCss).detach(),this.uiDialog.stop(!0,!0).remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(t=e.parent.children().eq(e.index)).length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:a.noop,enable:a.noop,close:function(t){var e=this;this._isOpen&&!1!==this._trigger("beforeClose",t)&&(this._isOpen=!1,this._destroyOverlay(),this.opener.filter(":focusable").focus().length||a(this.document[0].activeElement).blur(),this._hide(this.uiDialog,this.options.hide,function(){e._trigger("close",t)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,e){var i=!!this.uiDialog.nextAll(":visible").insertBefore(this.uiDialog).length;return i&&!e&&this._trigger("focus",t),i},open:function(){var t=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=a(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this._show(this.uiDialog,this.options.show,function(){t._focusTabbable(),t._trigger("focus")}),this._trigger("open"))},_focusTabbable:function(){var t=this.element.find("[autofocus]");t.length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).focus()},_keepFocus:function(t){function e(){var t=this.document[0].activeElement;this.uiDialog[0]===t||a.contains(this.uiDialog[0],t)||this._focusTabbable()}t.preventDefault(),e.call(this),this._delay(e)},_createWrapper:function(){this.uiDialog=a("<div>").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front "+this.options.dialogClass).hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._on(this.uiDialog,{keydown:function(t){if(this.options.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===a.ui.keyCode.ESCAPE)return t.preventDefault(),void this.close(t);if(t.keyCode===a.ui.keyCode.TAB){var e=this.uiDialog.find(":tabbable"),i=e.filter(":first"),n=e.filter(":last");t.target!==n[0]&&t.target!==this.uiDialog[0]||t.shiftKey?t.target!==i[0]&&t.target!==this.uiDialog[0]||!t.shiftKey||(n.focus(1),t.preventDefault()):(i.focus(1),t.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var t;this.uiDialogTitlebar=a("<div>").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedown:function(t){a(t.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.focus()}}),this.uiDialogTitlebarClose=a("<button></button>").button({label:this.options.closeText,icons:{primary:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),t=a("<span>").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar),this._title(t),this.uiDialog.attr({"aria-labelledby":t.attr("id")})},_title:function(t){this.options.title||t.html("&#160;"),t.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=a("<div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),this.uiButtonSet=a("<div>").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane),this._createButtons()},_createButtons:function(){var s=this,t=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),a.isEmptyObject(t)||a.isArray(t)&&!t.length?this.uiDialog.removeClass("ui-dialog-buttons"):(a.each(t,function(t,e){var i,n;e=a.isFunction(e)?{click:e,text:t}:e,e=a.extend({type:"button"},e),i=e.click,e.click=function(){i.apply(s.element[0],arguments)},n={icons:e.icons,text:e.showText},delete e.icons,delete e.showText,a("<button></button>",e).button(n).appendTo(s.uiButtonSet)}),this.uiDialog.addClass("ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){function i(t){return{position:t.position,offset:t.offset}}var n=this,s=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(t,e){a(this).addClass("ui-dialog-dragging"),n._blockFrames(),n._trigger("dragStart",t,i(e))},drag:function(t,e){n._trigger("drag",t,i(e))},stop:function(t,e){s.position=[e.position.left-n.document.scrollLeft(),e.position.top-n.document.scrollTop()],a(this).removeClass("ui-dialog-dragging"),n._unblockFrames(),n._trigger("dragStop",t,i(e))}})},_makeResizable:function(){function i(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}var n=this,s=this.options,t=s.resizable,e=this.uiDialog.css("position"),o="string"==typeof t?t:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:s.maxWidth,maxHeight:s.maxHeight,minWidth:s.minWidth,minHeight:this._minHeight(),handles:o,start:function(t,e){a(this).addClass("ui-dialog-resizing"),n._blockFrames(),n._trigger("resizeStart",t,i(e))},resize:function(t,e){n._trigger("resize",t,i(e))},stop:function(t,e){s.height=a(this).height(),s.width=a(this).width(),a(this).removeClass("ui-dialog-resizing"),n._unblockFrames(),n._trigger("resizeStop",t,i(e))}}).css("position",e)},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(t){var i=this,n=!1,s={};a.each(t,function(t,e){i._setOption(t,e),t in o&&(n=!0),t in r&&(s[t]=e)}),n&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(t,e){var i,n,s=this.uiDialog;"dialogClass"===t&&s.removeClass(this.options.dialogClass).addClass(e),"disabled"!==t&&(this._super(t,e),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:""+e}),"draggable"===t&&((i=s.is(":data(ui-draggable)"))&&!e&&s.draggable("destroy"),!i&&e&&this._makeDraggable()),"position"===t&&this._position(),"resizable"===t&&((n=s.is(":data(ui-resizable)"))&&!e&&s.resizable("destroy"),n&&"string"==typeof e&&s.resizable("option","handles",e),n||!1===e||this._makeResizable()),"title"===t&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,i,n=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),n.minWidth>n.width&&(n.width=n.minWidth),t=this.uiDialog.css({height:"auto",width:n.width}).outerHeight(),e=Math.max(0,n.minHeight-t),i="number"==typeof n.maxHeight?Math.max(0,n.maxHeight-t):"none","auto"===n.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,n.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var t=a(this);return a("<div>").css({position:"absolute",width:t.outerWidth(),height:t.outerHeight()}).appendTo(t.parent()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(t){return!!a(t.target).closest(".ui-dialog").length||!!a(t.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=this,i=this.widgetFullName;a.ui.dialog.overlayInstances||this._delay(function(){a.ui.dialog.overlayInstances&&this.document.bind("focusin.dialog",function(t){e._allowInteraction(t)||(t.preventDefault(),a(".ui-dialog:visible:last .ui-dialog-content").data(i)._focusTabbable())})}),this.overlay=a("<div>").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),a.ui.dialog.overlayInstances++}},_destroyOverlay:function(){this.options.modal&&this.overlay&&(a.ui.dialog.overlayInstances--,a.ui.dialog.overlayInstances||this.document.unbind("focusin.dialog"),this.overlay.remove(),this.overlay=null)}}),a.ui.dialog.overlayInstances=0,!1!==a.uiBackCompat&&a.widget("ui.dialog",a.ui.dialog,{_position:function(){var t,e=this.options.position,i=[],n=[0,0];e?(("string"==typeof e||"object"==typeof e&&"0"in e)&&(1===(i=e.split?e.split(" "):[e[0],e[1]]).length&&(i[1]=i[0]),a.each(["left","top"],function(t,e){+i[t]===i[t]&&(n[t]=i[t],i[t]=e)}),e={my:i[0]+(n[0]<0?n[0]:"+"+n[0])+" "+i[1]+(n[1]<0?n[1]:"+"+n[1]),at:i.join(" ")}),e=a.extend({},a.ui.dialog.prototype.options.position,e)):e=a.ui.dialog.prototype.options.position,(t=this.uiDialog.is(":visible"))||this.uiDialog.show(),this.uiDialog.position(e),t||this.uiDialog.hide()}})}(jQuery),function(m){var g=/up|down|vertical/,v=/up|left|vertical|horizontal/;m.effects.effect.blind=function(t,e){var i,n,s,o=m(this),a=["position","top","bottom","left","right","height","width"],r=m.effects.setMode(o,t.mode||"hide"),l=t.direction||"up",h=g.test(l),c=h?"height":"width",u=h?"top":"left",d=v.test(l),p={},f="show"===r;o.parent().is(".ui-effects-wrapper")?m.effects.save(o.parent(),a):m.effects.save(o,a),o.show(),n=(i=m.effects.createWrapper(o).css({overflow:"hidden"}))[c](),s=parseFloat(i.css(u))||0,p[c]=f?n:0,d||(o.css(h?"bottom":"right",0).css(h?"top":"left","auto").css({position:"absolute"}),p[u]=f?s:n+s),f&&(i.css(c,0),d||i.css(u,s+n)),i.animate(p,{duration:t.duration,easing:t.easing,queue:!1,complete:function(){"hide"===r&&o.hide(),m.effects.restore(o,a),m.effects.removeWrapper(o),e()}})}}(jQuery),function(y){y.effects.effect.bounce=function(t,e){var i,n,s,o=y(this),a=["position","top","bottom","left","right","height","width"],r=y.effects.setMode(o,t.mode||"effect"),l="hide"===r,h="show"===r,c=t.direction||"up",u=t.distance,d=t.times||5,p=2*d+(h||l?1:0),f=t.duration/p,m=t.easing,g="up"===c||"down"===c?"top":"left",v="up"===c||"left"===c,b=o.queue(),_=b.length;for((h||l)&&a.push("opacity"),y.effects.save(o,a),o.show(),y.effects.createWrapper(o),u||(u=o["top"===g?"outerHeight":"outerWidth"]()/3),h&&((s={opacity:1})[g]=0,o.css("opacity",0).css(g,v?2*-u:2*u).animate(s,f,m)),l&&(u/=Math.pow(2,d-1)),i=(s={})[g]=0;i<d;i++)(n={})[g]=(v?"-=":"+=")+u,o.animate(n,f,m).animate(s,f,m),u=l?2*u:u/2;l&&((n={opacity:0})[g]=(v?"-=":"+=")+u,o.animate(n,f,m)),o.queue(function(){l&&o.hide(),y.effects.restore(o,a),y.effects.removeWrapper(o),e()}),1<_&&b.splice.apply(b,[1,0].concat(b.splice(_,p+1))),o.dequeue()}}(jQuery),function(d){d.effects.effect.clip=function(t,e){var i,n,s,o=d(this),a=["position","top","bottom","left","right","height","width"],r="show"===d.effects.setMode(o,t.mode||"hide"),l="vertical"===(t.direction||"vertical"),h=l?"height":"width",c=l?"top":"left",u={};d.effects.save(o,a),o.show(),i=d.effects.createWrapper(o).css({overflow:"hidden"}),s=(n="IMG"===o[0].tagName?i:o)[h](),r&&(n.css(h,0),n.css(c,s/2)),u[h]=r?s:0,u[c]=r?0:s/2,n.animate(u,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){r||o.hide(),d.effects.restore(o,a),d.effects.removeWrapper(o),e()}})}}(jQuery),function(u){u.effects.effect.drop=function(t,e){var i,n=u(this),s=["position","top","bottom","left","right","opacity","height","width"],o=u.effects.setMode(n,t.mode||"hide"),a="show"===o,r=t.direction||"left",l="up"===r||"down"===r?"top":"left",h="up"===r||"left"===r?"pos":"neg",c={opacity:a?1:0};u.effects.save(n,s),n.show(),u.effects.createWrapper(n),i=t.distance||n["top"===l?"outerHeight":"outerWidth"](!0)/2,a&&n.css("opacity",0).css(l,"pos"===h?-i:i),c[l]=(a?"pos"===h?"+=":"-=":"pos"===h?"-=":"+=")+i,n.animate(c,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===o&&n.hide(),u.effects.restore(n,s),u.effects.removeWrapper(n),e()}})}}(jQuery),function(b){b.effects.effect.explode=function(t,e){function i(){v.push(this),v.length===c*u&&n()}function n(){d.css({visibility:"visible"}),b(v).remove(),p||d.hide(),e()}var s,o,a,r,l,h,c=t.pieces?Math.round(Math.sqrt(t.pieces)):3,u=c,d=b(this),p="show"===b.effects.setMode(d,t.mode||"hide"),f=d.show().css("visibility","hidden").offset(),m=Math.ceil(d.outerWidth()/u),g=Math.ceil(d.outerHeight()/c),v=[];for(s=0;s<c;s++)for(r=f.top+s*g,h=s-(c-1)/2,o=0;o<u;o++)a=f.left+o*m,l=o-(u-1)/2,d.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-o*m,top:-s*g}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:m,height:g,left:a+(p?l*m:0),top:r+(p?h*g:0),opacity:p?0:1}).animate({left:a+(p?0:l*m),top:r+(p?0:h*g),opacity:p?1:0},t.duration||500,t.easing,i)}}(jQuery),function(s){s.effects.effect.fade=function(t,e){var i=s(this),n=s.effects.setMode(i,t.mode||"toggle");i.animate({opacity:n},{queue:!1,duration:t.duration,easing:t.easing,complete:e})}}(jQuery),function(v){v.effects.effect.fold=function(t,e){var i,n,s=v(this),o=["position","top","bottom","left","right","height","width"],a=v.effects.setMode(s,t.mode||"hide"),r="show"===a,l="hide"===a,h=t.size||15,c=/([0-9]+)%/.exec(h),u=!!t.horizFirst,d=r!==u,p=d?["width","height"]:["height","width"],f=t.duration/2,m={},g={};v.effects.save(s,o),s.show(),i=v.effects.createWrapper(s).css({overflow:"hidden"}),n=d?[i.width(),i.height()]:[i.height(),i.width()],c&&(h=parseInt(c[1],10)/100*n[l?0:1]),r&&i.css(u?{height:0,width:h}:{height:h,width:0}),m[p[0]]=r?n[0]:h,g[p[1]]=r?n[1]:0,i.animate(m,f,t.easing).animate(g,f,t.easing,function(){l&&s.hide(),v.effects.restore(s,o),v.effects.removeWrapper(s),e()})}}(jQuery),function(a){a.effects.effect.highlight=function(t,e){var i=a(this),n=["backgroundImage","backgroundColor","opacity"],s=a.effects.setMode(i,t.mode||"show"),o={backgroundColor:i.css("backgroundColor")};"hide"===s&&(o.opacity=0),a.effects.save(i,n),i.show().css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===s&&i.hide(),a.effects.restore(i,n),e()}})}}(jQuery),function(p){p.effects.effect.pulsate=function(t,e){var i,n=p(this),s=p.effects.setMode(n,t.mode||"show"),o="show"===s,a="hide"===s,r=o||"hide"===s,l=2*(t.times||5)+(r?1:0),h=t.duration/l,c=0,u=n.queue(),d=u.length;for(!o&&n.is(":visible")||(n.css("opacity",0).show(),c=1),i=1;i<l;i++)n.animate({opacity:c},h,t.easing),c=1-c;n.animate({opacity:c},h,t.easing),n.queue(function(){a&&n.hide(),e()}),1<d&&u.splice.apply(u,[1,0].concat(u.splice(d,l+1))),n.dequeue()}}(jQuery),function(_){_.effects.effect.puff=function(t,e){var i=_(this),n=_.effects.setMode(i,t.mode||"hide"),s="hide"===n,o=parseInt(t.percent,10)||150,a=o/100,r={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};_.extend(t,{effect:"scale",queue:!1,fade:!0,mode:n,complete:e,percent:s?o:100,from:s?r:{height:r.height*a,width:r.width*a,outerHeight:r.outerHeight*a,outerWidth:r.outerWidth*a}}),i.effect(t)},_.effects.effect.scale=function(t,e){var i=_(this),n=_.extend(!0,{},t),s=_.effects.setMode(i,t.mode||"effect"),o=parseInt(t.percent,10)||(0===parseInt(t.percent,10)?0:"hide"===s?0:100),a=t.direction||"both",r=t.origin,l={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()},h={y:"horizontal"!==a?o/100:1,x:"vertical"!==a?o/100:1};n.effect="size",n.queue=!1,n.complete=e,"effect"!==s&&(n.origin=r||["middle","center"],n.restore=!0),n.from=t.from||("show"===s?{height:0,width:0,outerHeight:0,outerWidth:0}:l),n.to={height:l.height*h.y,width:l.width*h.x,outerHeight:l.outerHeight*h.y,outerWidth:l.outerWidth*h.x},n.fade&&("show"===s&&(n.from.opacity=0,n.to.opacity=1),"hide"===s&&(n.from.opacity=1,n.to.opacity=0)),i.effect(n)},_.effects.effect.size=function(i,t){var e,n,s,o=_(this),a=["position","top","bottom","left","right","width","height","overflow","opacity"],r=["position","top","bottom","left","right","overflow","opacity"],l=["width","height","overflow"],h=["fontSize"],c=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],u=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],d=_.effects.setMode(o,i.mode||"effect"),p=i.restore||"effect"!==d,f=i.scale||"both",m=i.origin||["middle","center"],g=o.css("position"),v=p?a:r,b={height:0,width:0,outerHeight:0,outerWidth:0};"show"===d&&o.show(),e={height:o.height(),width:o.width(),outerHeight:o.outerHeight(),outerWidth:o.outerWidth()},"toggle"===i.mode&&"show"===d?(o.from=i.to||b,o.to=i.from||e):(o.from=i.from||("show"===d?b:e),o.to=i.to||("hide"===d?b:e)),s={from:{y:o.from.height/e.height,x:o.from.width/e.width},to:{y:o.to.height/e.height,x:o.to.width/e.width}},"box"!==f&&"both"!==f||(s.from.y!==s.to.y&&(v=v.concat(c),o.from=_.effects.setTransition(o,c,s.from.y,o.from),o.to=_.effects.setTransition(o,c,s.to.y,o.to)),s.from.x!==s.to.x&&(v=v.concat(u),o.from=_.effects.setTransition(o,u,s.from.x,o.from),o.to=_.effects.setTransition(o,u,s.to.x,o.to))),"content"!==f&&"both"!==f||s.from.y!==s.to.y&&(v=v.concat(h).concat(l),o.from=_.effects.setTransition(o,h,s.from.y,o.from),o.to=_.effects.setTransition(o,h,s.to.y,o.to)),_.effects.save(o,v),o.show(),_.effects.createWrapper(o),o.css("overflow","hidden").css(o.from),m&&(n=_.effects.getBaseline(m,e),o.from.top=(e.outerHeight-o.outerHeight())*n.y,o.from.left=(e.outerWidth-o.outerWidth())*n.x,o.to.top=(e.outerHeight-o.to.outerHeight)*n.y,o.to.left=(e.outerWidth-o.to.outerWidth)*n.x),o.css(o.from),"content"!==f&&"both"!==f||(c=c.concat(["marginTop","marginBottom"]).concat(h),u=u.concat(["marginLeft","marginRight"]),l=a.concat(c).concat(u),o.find("*[width]").each(function(){var t=_(this),e={height:t.height(),width:t.width(),outerHeight:t.outerHeight(),outerWidth:t.outerWidth()};p&&_.effects.save(t,l),t.from={height:e.height*s.from.y,width:e.width*s.from.x,outerHeight:e.outerHeight*s.from.y,outerWidth:e.outerWidth*s.from.x},t.to={height:e.height*s.to.y,width:e.width*s.to.x,outerHeight:e.height*s.to.y,outerWidth:e.width*s.to.x},s.from.y!==s.to.y&&(t.from=_.effects.setTransition(t,c,s.from.y,t.from),t.to=_.effects.setTransition(t,c,s.to.y,t.to)),s.from.x!==s.to.x&&(t.from=_.effects.setTransition(t,u,s.from.x,t.from),t.to=_.effects.setTransition(t,u,s.to.x,t.to)),t.css(t.from),t.animate(t.to,i.duration,i.easing,function(){p&&_.effects.restore(t,l)})})),o.animate(o.to,{queue:!1,duration:i.duration,easing:i.easing,complete:function(){0===o.to.opacity&&o.css("opacity",o.from.opacity),"hide"===d&&o.hide(),_.effects.restore(o,v),p||("static"===g?o.css({position:"relative",top:o.to.top,left:o.to.left}):_.each(["top","left"],function(s,t){o.css(t,function(t,e){var i=parseInt(e,10),n=s?o.to.left:o.to.top;return"auto"===e?n+"px":i+n+"px"})})),_.effects.removeWrapper(o),t()}})}}(jQuery),function(b){b.effects.effect.shake=function(t,e){var i,n=b(this),s=["position","top","bottom","left","right","height","width"],o=b.effects.setMode(n,t.mode||"effect"),a=t.direction||"left",r=t.distance||20,l=t.times||3,h=2*l+1,c=Math.round(t.duration/h),u="up"===a||"down"===a?"top":"left",d="up"===a||"left"===a,p={},f={},m={},g=n.queue(),v=g.length;for(b.effects.save(n,s),n.show(),b.effects.createWrapper(n),p[u]=(d?"-=":"+=")+r,f[u]=(d?"+=":"-=")+2*r,m[u]=(d?"-=":"+=")+2*r,n.animate(p,c,t.easing),i=1;i<l;i++)n.animate(f,c,t.easing).animate(m,c,t.easing);n.animate(f,c,t.easing).animate(p,c/2,t.easing).queue(function(){"hide"===o&&n.hide(),b.effects.restore(n,s),b.effects.removeWrapper(n),e()}),1<v&&g.splice.apply(g,[1,0].concat(g.splice(v,h+1))),n.dequeue()}}(jQuery),function(u){u.effects.effect.slide=function(t,e){var i,n=u(this),s=["position","top","bottom","left","right","width","height"],o=u.effects.setMode(n,t.mode||"show"),a="show"===o,r=t.direction||"left",l="up"===r||"down"===r?"top":"left",h="up"===r||"left"===r,c={};u.effects.save(n,s),n.show(),i=t.distance||n["top"===l?"outerHeight":"outerWidth"](!0),u.effects.createWrapper(n).css({overflow:"hidden"}),a&&n.css(l,h?isNaN(i)?"-"+i:-i:i),c[l]=(a?h?"+=":"-=":h?"-=":"+=")+i,n.animate(c,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===o&&n.hide(),u.effects.restore(n,s),u.effects.removeWrapper(n),e()}})}}(jQuery),function(d){d.effects.effect.transfer=function(t,e){var i=d(this),n=d(t.to),s="fixed"===n.css("position"),o=d("body"),a=s?o.scrollTop():0,r=s?o.scrollLeft():0,l=n.offset(),h={top:l.top-a,left:l.left-r,height:n.innerHeight(),width:n.innerWidth()},c=i.offset(),u=d("<div class='ui-effects-transfer'></div>").appendTo(document.body).addClass(t.className).css({top:c.top-a,left:c.left-r,height:i.innerHeight(),width:i.innerWidth(),position:s?"fixed":"absolute"}).animate(h,t.duration,t.easing,function(){u.remove(),e()})}}(jQuery),function(l){l.widget("ui.menu",{version:"1.10.3",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,l.proxy(function(t){this.options.disabled&&t.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(t){t.preventDefault()},"click .ui-state-disabled > a":function(t){t.preventDefault()},"click .ui-menu-item:has(a)":function(t){var e=l(t.target).closest(".ui-menu-item");!this.mouseHandled&&e.not(".ui-state-disabled").length&&(this.mouseHandled=!0,this.select(t),e.has(".ui-menu").length?this.expand(t):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(t){var e=l(t.currentTarget);e.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(t,e)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.children(".ui-menu-item").eq(0);e||this.focus(t,i)},blur:function(t){this._delay(function(){l.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){l(t.target).closest(".ui-menu").length||this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var t=l(this);t.data("ui-menu-submenu-carat")&&t.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(t){function e(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var i,n,s,o,a,r=!0;switch(t.keyCode){case l.ui.keyCode.PAGE_UP:this.previousPage(t);break;case l.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case l.ui.keyCode.HOME:this._move("first","first",t);break;case l.ui.keyCode.END:this._move("last","last",t);break;case l.ui.keyCode.UP:this.previous(t);break;case l.ui.keyCode.DOWN:this.next(t);break;case l.ui.keyCode.LEFT:this.collapse(t);break;case l.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case l.ui.keyCode.ENTER:case l.ui.keyCode.SPACE:this._activate(t);break;case l.ui.keyCode.ESCAPE:this.collapse(t);break;default:r=!1,n=this.previousFilter||"",s=String.fromCharCode(t.keyCode),o=!1,clearTimeout(this.filterTimer),s===n?o=!0:s=n+s,a=new RegExp("^"+e(s),"i"),i=this.activeMenu.children(".ui-menu-item").filter(function(){return a.test(l(this).children("a").text())}),(i=o&&-1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-item"):i).length||(s=String.fromCharCode(t.keyCode),a=new RegExp("^"+e(s),"i"),i=this.activeMenu.children(".ui-menu-item").filter(function(){return a.test(l(this).children("a").text())})),i.length?(this.focus(t,i),1<i.length?(this.previousFilter=s,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}r&&t.preventDefault()},_activate:function(t){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var t,n=this.options.icons.submenu,e=this.element.find(this.options.menus);e.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=l(this),e=t.prev("a"),i=l("<span>").addClass("ui-menu-icon ui-icon "+n).data("ui-menu-submenu-carat",!0);e.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",
+e.attr("id"))}),(t=e.add(this.element)).children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),t.children(":not(.ui-menu-item)").each(function(){var t=l(this);/[^\-\u2014\u2013\s]/.test(t.text())||t.addClass("ui-widget-content ui-menu-divider")}),t.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!l.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){"icons"===t&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(e.submenu),this._super(t,e)},focus:function(t,e){var i,n;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),n=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",n.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,i,n,s,o,a;this._hasScroll()&&(e=parseFloat(l.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(l.css(this.activeMenu[0],"paddingTop"))||0,n=t.offset().top-this.activeMenu.offset().top-e-i,s=this.activeMenu.scrollTop(),o=this.activeMenu.height(),a=t.height(),n<0?this.activeMenu.scrollTop(s+n):o<n+a&&this.activeMenu.scrollTop(s+n-o+a))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",t,{item:this.active}))},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(t){var e=l.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(e)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var t=i?this.element:l(e&&e.target).closest(this.element.find(".ui-menu"));t.length||(t=this.element),this._close(t),this.blur(e),this.activeMenu=t},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var n;this.active&&(n="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),n&&n.length&&this.active||(n=this.activeMenu.children(".ui-menu-item")[e]()),this.focus(i,n)},nextPage:function(t){var e,i,n;this.active?this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return(e=l(this)).offset().top-i-n<0}),this.focus(t,e)):this.focus(t,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())):this.next(t)},previousPage:function(t){var e,i,n;this.active?this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return 0<(e=l(this)).offset().top-i+n}),this.focus(t,e)):this.focus(t,this.activeMenu.children(".ui-menu-item").first())):this.next(t)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||l(t.target).closest(".ui-menu-item");var e={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,e)}})}(jQuery),function(x,s){function k(t,e,i){return[parseFloat(t[0])*(h.test(t[0])?e/100:1),parseFloat(t[1])*(h.test(t[1])?i/100:1)]}function C(t,e){return parseInt(x.css(t,e),10)||0}function e(t){var e=t[0];return 9===e.nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:x.isWindow(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()}}x.ui=x.ui||{};var o,D=Math.max,T=Math.abs,S=Math.round,n=/left|center|right/,a=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,h=/%$/,i=x.fn.position;x.position={scrollbarWidth:function(){if(o!==s)return o;var t,e,i=x("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),n=i.children()[0];return x("body").append(i),t=n.offsetWidth,i.css("overflow","scroll"),t===(e=n.offsetWidth)&&(e=i[0].clientWidth),i.remove(),o=t-e},getScrollInfo:function(t){var e=t.isWindow?"":t.element.css("overflow-x"),i=t.isWindow?"":t.element.css("overflow-y"),n="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:n?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=x.isWindow(e[0]);return{element:e,isWindow:i,offset:e.offset()||{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:i?e.width():e.outerWidth(),height:i?e.height():e.outerHeight()}}},x.fn.position=function(u){if(!u||!u.of)return i.apply(this,arguments);u=x.extend({},u);var d,p,f,m,g,t,v=x(u.of),b=x.position.getWithinInfo(u.within),_=x.position.getScrollInfo(b),y=(u.collision||"flip").split(" "),w={};return t=e(v),v[0].preventDefault&&(u.at="left top"),p=t.width,f=t.height,m=t.offset,g=x.extend({},m),x.each(["my","at"],function(){var t,e,i=(u[this]||"").split(" ");1===i.length&&(i=n.test(i[0])?i.concat(["center"]):a.test(i[0])?["center"].concat(i):["center","center"]),i[0]=n.test(i[0])?i[0]:"center",i[1]=a.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),w[this]=[t?t[0]:0,e?e[0]:0],u[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===y.length&&(y[1]=y[0]),"right"===u.at[0]?g.left+=p:"center"===u.at[0]&&(g.left+=p/2),"bottom"===u.at[1]?g.top+=f:"center"===u.at[1]&&(g.top+=f/2),d=k(w.at,p,f),g.left+=d[0],g.top+=d[1],this.each(function(){var i,t,a=x(this),r=a.outerWidth(),l=a.outerHeight(),e=C(this,"marginLeft"),n=C(this,"marginTop"),s=r+e+C(this,"marginRight")+_.width,o=l+n+C(this,"marginBottom")+_.height,h=x.extend({},g),c=k(w.my,a.outerWidth(),a.outerHeight());"right"===u.my[0]?h.left-=r:"center"===u.my[0]&&(h.left-=r/2),"bottom"===u.my[1]?h.top-=l:"center"===u.my[1]&&(h.top-=l/2),h.left+=c[0],h.top+=c[1],x.support.offsetFractions||(h.left=S(h.left),h.top=S(h.top)),i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[y[t]]&&x.ui.position[y[t]][e](h,{targetWidth:p,targetHeight:f,elemWidth:r,elemHeight:l,collisionPosition:i,collisionWidth:s,collisionHeight:o,offset:[d[0]+c[0],d[1]+c[1]],my:u.my,at:u.at,within:b,elem:a})}),u.using&&(t=function(t){var e=m.left-h.left,i=e+p-r,n=m.top-h.top,s=n+f-l,o={target:{element:v,left:m.left,top:m.top,width:p,height:f},element:{element:a,left:h.left,top:h.top,width:r,height:l},horizontal:i<0?"left":0<e?"right":"center",vertical:s<0?"top":0<n?"bottom":"middle"};p<r&&T(e+i)<p&&(o.horizontal="center"),f<l&&T(n+s)<f&&(o.vertical="middle"),D(T(e),T(i))>D(T(n),T(s))?o.important="horizontal":o.important="vertical",u.using.call(this,t,o)}),a.offset(x.extend(h,{using:t}))})},x.ui.position={fit:{left:function(t,e){var i,n=e.within,s=n.isWindow?n.scrollLeft:n.offset.left,o=n.width,a=t.left-e.collisionPosition.marginLeft,r=s-a,l=a+e.collisionWidth-o-s;e.collisionWidth>o?0<r&&l<=0?(i=t.left+r+e.collisionWidth-o-s,t.left+=r-i):t.left=0<l&&r<=0?s:l<r?s+o-e.collisionWidth:s:0<r?t.left+=r:0<l?t.left-=l:t.left=D(t.left-a,t.left)},top:function(t,e){var i,n=e.within,s=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,a=t.top-e.collisionPosition.marginTop,r=s-a,l=a+e.collisionHeight-o-s;e.collisionHeight>o?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-s,t.top+=r-i):t.top=0<l&&r<=0?s:l<r?s+o-e.collisionHeight:s:0<r?t.top+=r:0<l?t.top-=l:t.top=D(t.top-a,t.top)}},flip:{left:function(t,e){var i,n,s=e.within,o=s.offset.left+s.scrollLeft,a=s.width,r=s.isWindow?s.scrollLeft:s.offset.left,l=t.left-e.collisionPosition.marginLeft,h=l-r,c=l+e.collisionWidth-a-r,u="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,d="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,p=-2*e.offset[0];h<0?((i=t.left+u+d+p+e.collisionWidth-a-o)<0||i<T(h))&&(t.left+=u+d+p):0<c&&(0<(n=t.left-e.collisionPosition.marginLeft+u+d+p-r)||T(n)<c)&&(t.left+=u+d+p)},top:function(t,e){var i,n,s=e.within,o=s.offset.top+s.scrollTop,a=s.height,r=s.isWindow?s.scrollTop:s.offset.top,l=t.top-e.collisionPosition.marginTop,h=l-r,c=l+e.collisionHeight-a-r,u="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,d="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,p=-2*e.offset[1];h<0?(n=t.top+u+d+p+e.collisionHeight-a-o,t.top+u+d+p>h&&(n<0||n<T(h))&&(t.top+=u+d+p)):0<c&&(i=t.top-e.collisionPosition.marginTop+u+d+p-r,t.top+u+d+p>c&&(0<i||T(i)<c)&&(t.top+=u+d+p))}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},function(){var t,e,i,n,s,o=document.getElementsByTagName("body")[0],a=document.createElement("div");for(s in t=document.createElement(o?"div":"body"),i={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},o&&x.extend(i,{position:"absolute",left:"-1000px",top:"-1000px"}),i)t.style[s]=i[s];t.appendChild(a),(e=o||document.documentElement).insertBefore(t,e.firstChild),a.style.cssText="position: absolute; left: 10.7432222px;",n=x(a).offset().left,x.support.offsetFractions=10<n&&n<11,t.innerHTML="",e.removeChild(t)}()}(jQuery),function(i,e){i.widget("ui.progressbar",{version:"1.10.3",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min}),this.valueDiv=i("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(t){if(t===e)return this.options.value;this.options.value=this._constrainedValue(t),this._refreshValue()},_constrainedValue:function(t){return t===e&&(t=this.options.value),this.indeterminate=!1===t,"number"!=typeof t&&(t=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var t=this.options.value,e=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).toggleClass("ui-corner-right",t===this.options.max).width(e.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=i("<div class='ui-progressbar-overlay'></div>").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":t}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),t===this.options.max&&this._trigger("complete")}})}(jQuery),function(c){var o=5;c.widget("ui.slider",c.ui.mouse,{version:"1.10.3",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var t,e,i=this.options,n=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),s="<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>",o=[];for(e=i.values&&i.values.length||1,n.length>e&&(n.slice(e).remove(),n=n.slice(0,e)),t=n.length;t<e;t++)o.push(s);this.handles=n.add(c(o.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(t){c(this).data("ui-slider-handle-index",t)})},_createRange:function(){var t=this.options,e="";t.range?(!0===t.range&&(t.values?t.values.length&&2!==t.values.length?t.values=[t.values[0],t.values[0]]:c.isArray(t.values)&&(t.values=t.values.slice(0)):t.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=c("<div></div>").appendTo(this.element),e="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(e+("min"===t.range||"max"===t.range?" ui-slider-range-"+t.range:""))):this.range=c([])},_setupEvents:function(){var t=this.handles.add(this.range).filter("a");this._off(t),this._on(t,this._handleEvents),this._hoverable(t),this._focusable(t)},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(t){var e,i,n,s,o,a,r,l=this,h=this.options;return!h.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(t){var e=Math.abs(i-l.values(t));(e<n||n===e&&(t===l._lastChangedValue||l.values(t)===h.min))&&(n=e,s=c(this),o=t)}),!1!==this._start(t,o)&&(this._mouseSliding=!0,this._handleIndex=o,s.addClass("ui-state-active").focus(),a=s.offset(),r=!c(t.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=r?{left:0,top:0}:{left:t.pageX-a.left-s.width()/2,top:t.pageY-a.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,o,i),this._animateOff=!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,n,s,o;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),1<(n=i/e)&&(n=1),n<0&&(n=0),"vertical"===this.orientation&&(n=1-n),s=this._valueMax()-this._valueMin(),o=this._valueMin()+n*s,this._trimAlignValue(o)},_start:function(t,e){var i={handle:this.handles[e],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("start",t,i)},_slide:function(t,e,i){var n,s,o;this.options.values&&this.options.values.length?(n=this.values(e?0:1),2===this.options.values.length&&!0===this.options.range&&(0===e&&n<i||1===e&&i<n)&&(i=n),i!==this.values(e)&&((s=this.values())[e]=i,o=this._trigger("slide",t,{handle:this.handles[e],value:i,values:s}),n=this.values(e?0:1),!1!==o&&this.values(e,i,!0))):i!==this.value()&&!1!==(o=this._trigger("slide",t,{handle:this.handles[e],value:i}))&&this.value(i)},_stop:function(t,e){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("stop",t,i)},_change:function(t,e){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._lastChangedValue=e,this._trigger("change",t,i)}},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),void this._change(null,0)):this._value()},values:function(t,e){var i,n,s;if(1<arguments.length)return this.options.values[t]=this._trimAlignValue(e),this._refreshValue(),void this._change(null,t);if(!arguments.length)return this._values();if(!c.isArray(t))return this.options.values&&this.options.values.length?this._values(t):this.value();for(i=this.options.values,n=t,s=0;s<i.length;s+=1)i[s]=this._trimAlignValue(n[s]),this._change(null,s);this._refreshValue()},_setOption:function(t,e){var i,n=0;switch("range"===t&&!0===this.options.range&&("min"===e?(this.options.value=this._values(0),this.options.values=null):"max"===e&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),c.isArray(this.options.values)&&(n=this.options.values.length),c.Widget.prototype._setOption.apply(this,arguments),t){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=0;i<n;i+=1)this._change(null,i);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,n;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),n=0;n<i.length;n+=1)i[n]=this._trimAlignValue(i[n]);return i}return[]},_trimAlignValue:function(t){if(t<=this._valueMin())return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=0<this.options.step?this.options.step:1,i=(t-this._valueMin())%e,n=t-i;return 2*Math.abs(i)>=e&&(n+=0<i?e:-e),parseFloat(n.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,i,t,n,s,o=this.options.range,a=this.options,r=this,l=!this._animateOff&&a.animate,h={};this.options.values&&this.options.values.length?this.handles.each(function(t){i=(r.values(t)-r._valueMin())/(r._valueMax()-r._valueMin())*100,h["horizontal"===r.orientation?"left":"bottom"]=i+"%",c(this).stop(1,1)[l?"animate":"css"](h,a.animate),!0===r.options.range&&("horizontal"===r.orientation?(0===t&&r.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},a.animate),1===t&&r.range[l?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:a.animate})):(0===t&&r.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},a.animate),1===t&&r.range[l?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:a.animate}))),e=i}):(t=this.value(),n=this._valueMin(),s=this._valueMax(),i=s!==n?(t-n)/(s-n)*100:0,h["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](h,a.animate),"min"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},a.animate),"max"===o&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:a.animate}),"min"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},a.animate),"max"===o&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:a.animate}))},_handleEvents:{keydown:function(t){var e,i,n,s=c(t.target).data("ui-slider-handle-index");switch(t.keyCode){case c.ui.keyCode.HOME:case c.ui.keyCode.END:case c.ui.keyCode.PAGE_UP:case c.ui.keyCode.PAGE_DOWN:case c.ui.keyCode.UP:case c.ui.keyCode.RIGHT:case c.ui.keyCode.DOWN:case c.ui.keyCode.LEFT:if(t.preventDefault(),!this._keySliding&&(this._keySliding=!0,c(t.target).addClass("ui-state-active"),!1===this._start(t,s)))return}switch(n=this.options.step,e=i=this.options.values&&this.options.values.length?this.values(s):this.value(),t.keyCode){case c.ui.keyCode.HOME:i=this._valueMin();break;case c.ui.keyCode.END:i=this._valueMax();break;case c.ui.keyCode.PAGE_UP:i=this._trimAlignValue(e+(this._valueMax()-this._valueMin())/o);break;case c.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(e-(this._valueMax()-this._valueMin())/o);break;case c.ui.keyCode.UP:case c.ui.keyCode.RIGHT:if(e===this._valueMax())return;i=this._trimAlignValue(e+n);break;case c.ui.keyCode.DOWN:case c.ui.keyCode.LEFT:if(e===this._valueMin())return;i=this._trimAlignValue(e-n)}this._slide(t,s,i)},click:function(t){t.preventDefault()},keyup:function(t){var e=c(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,e),this._change(t,e),c(t.target).removeClass("ui-state-active"))}}})}(jQuery),function(o){function e(e){return function(){var t=this.element.val();e.apply(this,arguments),this._refresh(),t!==this.element.val()&&this._trigger("change")}}o.widget("ui.spinner",{version:"1.10.3",defaultElement:"<input>",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var n={},s=this.element;return o.each(["min","max","step"],function(t,e){var i=s.attr(e);i!==undefined&&i.length&&(n[e]=i)}),n},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t))},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((0<e?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(t){function e(){this.element[0]===this.document[0].activeElement||(this.element.focus(),this.previous=i,this._delay(function(){this.previous=i}))}var i;i=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),t.preventDefault(),e.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,e.call(this)}),!1!==this._start(t)&&this._repeat(null,o(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){if(o(t.currentTarget).hasClass("ui-state-active"))return!1!==this._start(t)&&void this._repeat(null,o(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var t=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton"),this.buttons=t.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(.5*t.height())&&0<t.height()&&t.height(t.height()),this.options.disabled&&this.disable()},_keydown:function(t){var e=this.options,i=o.ui.keyCode;switch(t.keyCode){case i.UP:return this._repeat(null,1,t),!0;case i.DOWN:return this._repeat(null,-1,t),!0;case i.PAGE_UP:return this._repeat(null,e.page,t),!0;case i.PAGE_DOWN:return this._repeat(null,-e.page,t),!0}return!1},_uiSpinnerHtml:function(){return"<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>"},_buttonHtml:function(){return"<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon "+this.options.icons.up+"'>&#9650;</span></a><a class='ui-spinner-button ui-spinner-down ui-corner-br'><span class='ui-icon "+this.options.icons.down+"'>&#9660;</span></a>"},_start:function(t){return!(!this.spinning&&!1===this._trigger("start",t))&&(this.counter||(this.counter=1),this.spinning=!0)},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",e,{value:i})||(this._value(i),this.counter++)},_increment:function(t){var e=this.options.incremental;return e?o.isFunction(e)?e(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),i=e.indexOf(".");return-1===i?0:e.length-i-1},_adjustValue:function(t){var e,i,n=this.options;return i=t-(e=null!==n.min?n.min:0),t=e+(i=Math.round(i/n.step)*n.step),t=parseFloat(t.toFixed(this._precision())),null!==n.max&&t>n.max?n.max:null!==n.min&&t<n.min?n.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){if("culture"===t||"numberFormat"===t){var i=this._parse(this.element.val());return this.options[t]=e,void this.element.val(this._format(i))}"max"!==t&&"min"!==t&&"step"!==t||"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(this.buttons.first().find(".ui-icon").removeClass(this.options.icons.up).addClass(e.up),this.buttons.last().find(".ui-icon").removeClass(this.options.icons.down).addClass(e.down)),this._super(t,e),"disabled"===t&&(e?(this.element.prop("disabled",!0),this.buttons.button("disable")):(this.element.prop("disabled",!1),this.buttons.button("enable")))},_setOptions:e(function(t){this._super(t),this._value(this.element.val())}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),""===t||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},_value:function(t,e){var i;""!==t&&null!==(i=this._parse(t))&&(e||(i=this._adjustValue(i)),t=this._format(i)),this.element.val(t),this._refresh()},_destroy:function(){this.element.removeClass("ui-spinner-input").prop("disabled",!1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:e(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:e(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:e(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:e(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){if(!arguments.length)return this._parse(this.element.val());e(this._value).call(this,t)},widget:function(){return this.uiSpinner}})}(jQuery),function(h,n){function e(){return++t}function c(t){return 1<t.hash.length&&decodeURIComponent(t.href.replace(i,""))===decodeURIComponent(location.href.replace(i,""))}var t=0,i=/#.*$/;h.widget("ui.tabs",{version:"1.10.3",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var e=this,t=this.options;this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",t.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(t){h(this).is(".ui-state-disabled")&&t.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){h(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs(),t.active=this._initialActive(),h.isArray(t.disabled)&&(t.disabled=h.unique(t.disabled.concat(h.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(t.active):this.active=h(),this._refresh(),this.active.length&&this.load(t.active)},_initialActive:function(){var i=this.options.active,t=this.options.collapsible,n=location.hash.substring(1);return null===i&&(n&&this.tabs.each(function(t,e){if(h(e).attr("aria-controls")===n)return i=t,!1}),null===i&&(i=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),null!==i&&-1!==i||(i=!!this.tabs.length&&0)),!1!==i&&-1===(i=this.tabs.index(this.tabs.eq(i)))&&(i=!t&&0),!t&&!1===i&&this.anchors.length&&(i=0),i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):h()}},_tabKeydown:function(t){var e=h(this.document[0].activeElement).closest("li"),i=this.tabs.index(e),n=!0;if(!this._handlePageNav(t)){switch(t.keyCode){case h.ui.keyCode.RIGHT:case h.ui.keyCode.DOWN:i++;break;case h.ui.keyCode.UP:case h.ui.keyCode.LEFT:n=!1,i--;break;case h.ui.keyCode.END:i=this.anchors.length-1;break;case h.ui.keyCode.HOME:i=0;break;case h.ui.keyCode.SPACE:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i);case h.ui.keyCode.ENTER:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}t.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,n),t.ctrlKey||(e.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",i)},this.delay))}},_panelKeydown:function(t){this._handlePageNav(t)||t.ctrlKey&&t.keyCode===h.ui.keyCode.UP&&(t.preventDefault(),this.active.focus())},_handlePageNav:function(t){return t.altKey&&t.keyCode===h.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):t.altKey&&t.keyCode===h.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(t,e){function i(){return n<t&&(t=0),t<0&&(t=n),t}for(var n=this.tabs.length-1;-1!==h.inArray(i(),this.options.disabled);)t=e?t+1:t-1;return t},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).focus(),t},_setOption:function(t,e){"active"!==t?"disabled"!==t?(this._super(t,e),
+"collapsible"===t&&(this.element.toggleClass("ui-tabs-collapsible",e),e||!1!==this.options.active||this._activate(0)),"event"===t&&this._setupEvents(e),"heightStyle"===t&&this._setupHeightStyle(e)):this._setupDisabled(e):this._activate(e)},_tabId:function(t){return t.attr("aria-controls")||"ui-tabs-"+e()},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t=this.options,e=this.tablist.children(":has(a[href])");t.disabled=h.map(e.filter(".ui-state-disabled"),function(t){return e.index(t)}),this._processTabs(),!1!==t.active&&this.anchors.length?this.active.length&&!h.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=h()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=h()),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var l=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return h("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=h(),this.anchors.each(function(t,e){var i,n,s,o=h(e).uniqueId().attr("id"),a=h(e).closest("li"),r=a.attr("aria-controls");c(e)?(i=e.hash,n=l.element.find(l._sanitizeSelector(i))):(i="#"+(s=l._tabId(a)),(n=l.element.find(i)).length||(n=l._createPanel(s)).insertAfter(l.panels[t-1]||l.tablist),n.attr("aria-live","polite")),n.length&&(l.panels=l.panels.add(n)),r&&a.data("ui-tabs-aria-controls",r),a.attr({"aria-controls":i.substring(1),"aria-labelledby":o}),n.attr("aria-labelledby",o)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(t){return h("<div>").attr("id",t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(t){h.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1);for(var e,i=0;e=this.tabs[i];i++)!0===t||-1!==h.inArray(i,t)?h(e).addClass("ui-state-disabled").attr("aria-disabled","true"):h(e).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=t},_setupEvents:function(t){var i={click:function(t){t.preventDefault()}};t&&h.each(t.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var i,e=this.element.parent();"fill"===t?(i=e.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var t=h(this),e=t.css("position");"absolute"!==e&&"fixed"!==e&&(i-=t.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=h(this).outerHeight(!0)}),this.panels.each(function(){h(this).height(Math.max(0,i-h(this).innerHeight()+h(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.panels.each(function(){i=Math.max(i,h(this).height("").height())}).height(i))},_eventHandler:function(t){var e=this.options,i=this.active,n=h(t.currentTarget).closest("li"),s=n[0]===i[0],o=s&&e.collapsible,a=o?h():this._getPanelForTab(n),r=i.length?this._getPanelForTab(i):h(),l={oldTab:i,oldPanel:r,newTab:o?h():n,newPanel:a};t.preventDefault(),n.hasClass("ui-state-disabled")||n.hasClass("ui-tabs-loading")||this.running||s&&!e.collapsible||!1===this._trigger("beforeActivate",t,l)||(e.active=!o&&this.tabs.index(n),this.active=s?h():n,this.xhr&&this.xhr.abort(),r.length||a.length||h.error("jQuery UI Tabs: Mismatching fragment identifier."),a.length&&this.load(this.tabs.index(n),t),this._toggle(t,l))},_toggle:function(t,e){function i(){s.running=!1,s._trigger("activate",t,e)}function n(){e.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),o.length&&s.options.show?s._show(o,s.options.show,i):(o.show(),i())}var s=this,o=e.newPanel,a=e.oldPanel;this.running=!0,a.length&&this.options.hide?this._hide(a,this.options.hide,function(){e.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),n()}):(e.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),a.hide(),n()),a.attr({"aria-expanded":"false","aria-hidden":"true"}),e.oldTab.attr("aria-selected","false"),o.length&&a.length?e.oldTab.attr("tabIndex",-1):o.length&&this.tabs.filter(function(){return 0===h(this).attr("tabIndex")}).attr("tabIndex",-1),o.attr({"aria-expanded":"true","aria-hidden":"false"}),e.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(t){var e,i=this._findActive(t);i[0]!==this.active[0]&&(i.length||(i=this.active),e=i.find(".ui-tabs-anchor")[0],this._eventHandler({target:e,currentTarget:e,preventDefault:h.noop}))},_findActive:function(t){return!1===t?h():this.tabs.eq(t)},_getIndex:function(t){return"string"==typeof t&&(t=this.anchors.index(this.anchors.filter("[href$='"+t+"']"))),t},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){h.data(this,"ui-tabs-destroy")?h(this).remove():h(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var t=h(this),e=t.data("ui-tabs-aria-controls");e?t.attr("aria-controls",e).removeData("ui-tabs-aria-controls"):t.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var t=this.options.disabled;!1!==t&&(i===n?t=!1:(i=this._getIndex(i),t=h.isArray(t)?h.map(t,function(t){return t!==i?t:null}):h.map(this.tabs,function(t,e){return e!==i?e:null})),this._setupDisabled(t))},disable:function(t){var e=this.options.disabled;if(!0!==e){if(t===n)e=!0;else{if(t=this._getIndex(t),-1!==h.inArray(t,e))return;e=h.isArray(e)?h.merge([t],e).sort():[t]}this._setupDisabled(e)}},load:function(t,e){t=this._getIndex(t);var i=this,n=this.tabs.eq(t),s=n.find(".ui-tabs-anchor"),o=this._getPanelForTab(n),a={tab:n,panel:o};c(s[0])||(this.xhr=h.ajax(this._ajaxSettings(s,e,a)),this.xhr&&"canceled"!==this.xhr.statusText&&(n.addClass("ui-tabs-loading"),o.attr("aria-busy","true"),this.xhr.success(function(t){setTimeout(function(){o.html(t),i._trigger("load",e,a)},1)}).complete(function(t,e){setTimeout(function(){"abort"===e&&i.panels.stop(!1,!0),n.removeClass("ui-tabs-loading"),o.removeAttr("aria-busy"),t===i.xhr&&delete i.xhr},1)})))},_ajaxSettings:function(t,i,n){var s=this;return{url:t.attr("href"),beforeSend:function(t,e){return s._trigger("beforeLoad",i,h.extend({jqXHR:t,ajaxSettings:e},n))}}},_getPanelForTab:function(t){var e=h(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+e))}})}(jQuery),function(l){function h(t,e){var i=(t.attr("aria-describedby")||"").split(/\s+/);i.push(e),t.data("ui-tooltip-id",e).attr("aria-describedby",l.trim(i.join(" ")))}function s(t){var e=t.data("ui-tooltip-id"),i=(t.attr("aria-describedby")||"").split(/\s+/),n=l.inArray(e,i);-1!==n&&i.splice(n,1),t.removeData("ui-tooltip-id"),(i=l.trim(i.join(" ")))?t.attr("aria-describedby",i):t.removeAttr("aria-describedby")}var n=0;l.widget("ui.tooltip",{version:"1.10.3",options:{content:function(){var t=l(this).attr("title")||"";return l("<a>").text(t).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable()},_setOption:function(t,e){var i=this;if("disabled"===t)return this[e?"_disable":"_enable"](),void(this.options[t]=e);this._super(t,e),"content"===t&&l.each(this.tooltips,function(t,e){i._updateContent(e)})},_disable:function(){var n=this;l.each(this.tooltips,function(t,e){var i=l.Event("blur");i.target=i.currentTarget=e[0],n.close(i,!0)}),this.element.find(this.options.items).addBack().each(function(){var t=l(this);t.is("[title]")&&t.data("ui-tooltip-title",t.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var t=l(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))})},open:function(t){var i=this,e=l(t?t.target:this.element).closest(this.options.items);e.length&&!e.data("ui-tooltip-id")&&(e.attr("title")&&e.data("ui-tooltip-title",e.attr("title")),e.data("ui-tooltip-open",!0),t&&"mouseover"===t.type&&e.parents().each(function(){var t,e=l(this);e.data("ui-tooltip-open")&&((t=l.Event("blur")).target=t.currentTarget=this,i.close(t,!0)),e.attr("title")&&(e.uniqueId(),i.parents[this.id]={element:this,title:e.attr("title")},e.attr("title",""))}),this._updateContent(e,t))},_updateContent:function(e,i){var t,n=this.options.content,s=this,o=i?i.type:null;if("string"==typeof n)return this._open(i,e,n);(t=n.call(e[0],function(t){e.data("ui-tooltip-open")&&s._delay(function(){i&&(i.type=o),this._open(i,e,t)})}))&&this._open(i,e,t)},_open:function(t,i,e){function n(t){r.of=t,s.is(":hidden")||s.position(r)}var s,o,a,r=l.extend({},this.options.position);e&&((s=this._find(i)).length?s.find(".ui-tooltip-content").html(e):(i.is("[title]")&&(t&&"mouseover"===t.type?i.attr("title",""):i.removeAttr("title")),s=this._tooltip(i),h(i,s.attr("id")),s.find(".ui-tooltip-content").html(e),this.options.track&&t&&/^mouse/.test(t.type)?(this._on(this.document,{mousemove:n}),n(t)):s.position(l.extend({of:i},this.options.position)),s.hide(),this._show(s,this.options.show),this.options.show&&this.options.show.delay&&(a=this.delayedShow=setInterval(function(){s.is(":visible")&&(n(r.of),clearInterval(a))},l.fx.interval)),this._trigger("open",t,{tooltip:s}),o={keyup:function(t){if(t.keyCode===l.ui.keyCode.ESCAPE){var e=l.Event(t);e.currentTarget=i[0],this.close(e,!0)}},remove:function(){this._removeTooltip(s)}},t&&"mouseover"!==t.type||(o.mouseleave="close"),t&&"focusin"!==t.type||(o.focusout="close"),this._on(!0,i,o)))},close:function(t){var i=this,e=l(t?t.currentTarget:this.element),n=this._find(e);this.closing||(clearInterval(this.delayedShow),e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title")),s(e),n.stop(!0),this._hide(n,this.options.hide,function(){i._removeTooltip(l(this))}),e.removeData("ui-tooltip-open"),this._off(e,"mouseleave focusout keyup"),e[0]!==this.element[0]&&this._off(e,"remove"),this._off(this.document,"mousemove"),t&&"mouseleave"===t.type&&l.each(this.parents,function(t,e){l(e.element).attr("title",e.title),delete i.parents[t]}),this.closing=!0,this._trigger("close",t,{tooltip:n}),this.closing=!1)},_tooltip:function(t){var e="ui-tooltip-"+n++,i=l("<div>").attr({id:e,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return l("<div>").addClass("ui-tooltip-content").appendTo(i),i.appendTo(this.document[0].body),this.tooltips[e]=t,i},_find:function(t){var e=t.data("ui-tooltip-id");return e?l("#"+e):l()},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_destroy:function(){var n=this;l.each(this.tooltips,function(t,e){var i=l.Event("blur");i.target=i.currentTarget=e[0],n.close(i,!0),l("#"+t).remove(),e.data("ui-tooltip-title")&&(e.attr("title",e.data("ui-tooltip-title")),e.removeData("ui-tooltip-title"))})}})}(jQuery),window.Modernizr=function(a,c,r){function n(t){_.cssText=t}function t(t,e){return n(k.join(t+";")+(e||""))}function o(t,e){return typeof t===e}function s(t,e){return!!~(""+t).indexOf(e)}function l(t,e){for(var i in t)if(_[t[i]]!==r)return"pfx"!=e||t[i];return!1}function h(t,e,i){for(var n in t){var s=e[t[n]];if(s!==r)return!1===i?t[n]:o(s,"function")?s.bind(i||e):s}return!1}function e(t,e,i){var n=t.charAt(0).toUpperCase()+t.substr(1),s=(t+" "+D.join(n+" ")+n).split(" ");return o(e,"string")||o(e,"undefined")?l(s,e):h(s=(t+" "+T.join(n+" ")+n).split(" "),e,i)}function i(){f.input=function(t){for(var e=0,i=t.length;e<i;e++)I[t[e]]=t[e]in y;return I.list&&(I.list=!!c.createElement("datalist")&&!!a.HTMLDataListElement),I}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),f.inputtypes=function(t){for(var e,i,n,s=0,o=t.length;s<o;s++)y.setAttribute("type",i=t[s]),(e="text"!==y.type)&&(y.value=w,y.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(i)&&y.style.WebkitAppearance!==r?(g.appendChild(y),e=(n=c.defaultView).getComputedStyle&&"textfield"!==n.getComputedStyle(y,null).WebkitAppearance&&0!==y.offsetHeight,g.removeChild(y)):/^(search|tel)$/.test(i)||(/^(url|email)$/.test(i)?e=y.checkValidity&&!1===y.checkValidity():/^color$/.test(i)?(g.appendChild(y),g.offsetWidth,e=y.value!=w,g.removeChild(y)):e=y.value!=w)),E[t[s]]=!!e;return E}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var u,d,p="2.5.3",f={},m=!0,g=c.documentElement,v="modernizr",b=c.createElement(v),_=b.style,y=c.createElement("input"),w=":)",x={}.toString,k=" -webkit- -moz- -o- -ms- ".split(" "),C="Webkit Moz O ms",D=C.split(" "),T=C.toLowerCase().split(" "),S={svg:"http://www.w3.org/2000/svg"},N={},E={},I={},P=[],M=P.slice,A=function(t,e,i,n){var s,o,a,r=c.createElement("div"),l=c.body,h=l||c.createElement("body");if(parseInt(i,10))for(;i--;)(a=c.createElement("div")).id=n?n[i]:v+(i+1),r.appendChild(a);return s=["&#173;","<style>",t,"</style>"].join(""),r.id=v,h.innerHTML+=s,h.appendChild(r),l||(h.style.background="",g.appendChild(h)),o=e(r,t),l?r.parentNode.removeChild(r):h.parentNode.removeChild(h),!!o},$=function(){function t(t,e){e=e||c.createElement(n[t]||"div");var i=(t="on"+t)in e;return i||(e.setAttribute||(e=c.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(t,""),i=o(e[t],"function"),o(e[t],"undefined")||(e[t]=r),e.removeAttribute(t))),e=null,i}var n={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return t}(),z={}.hasOwnProperty;d=o(z,"undefined")||o(z.call,"undefined")?function(t,e){return e in t&&o(t.constructor.prototype[e],"undefined")}:function(t,e){return z.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(n){var s=this;if("function"!=typeof s)throw new TypeError;var o=M.call(arguments,1),a=function(){if(this instanceof a){var t=function(){};t.prototype=s.prototype;var e=new t,i=s.apply(e,o.concat(M.call(arguments)));return Object(i)===i?i:e}return s.apply(n,o.concat(M.call(arguments)))};return a});var H,j,W;H=["fontface","touch","csstransforms3d","generatedcontent"],j=['@font-face {font-family:"font";src:url("https://")}',["@media (",k.join("touch-enabled),("),v,")","{#touch{top:9px;position:absolute}}"].join(""),["@media (",k.join("transform-3d),("),v,")","{#csstransforms3d{left:9px;position:absolute;height:3px;}}"].join(""),['#generatedcontent:after{content:"',w,'";visibility:hidden}'].join("")].join(""),W=H.length,A(j,function(t,e){for(var i=c.styleSheets[c.styleSheets.length-1],n=i?i.cssRules&&i.cssRules[0]?i.cssRules[0].cssText:i.cssText||"":"",s=t.childNodes,o={};W--;)o[s[W].id]=s[W];f.touch="ontouchstart"in a||a.DocumentTouch&&c instanceof DocumentTouch||9===(o.touch&&o.touch.offsetTop),f.csstransforms3d=9===(o.csstransforms3d&&o.csstransforms3d.offsetLeft)&&3===o.csstransforms3d.offsetHeight,f.generatedcontent=1<=(o.generatedcontent&&o.generatedcontent.offsetHeight),f.fontface=/src/i.test(n)&&0===n.indexOf(e.split(" ")[0])},W,H);for(var O in N.flexbox=function(){return e("flexOrder")},N.canvas=function(){var t=c.createElement("canvas");return!!t.getContext&&!!t.getContext("2d")},N.canvastext=function(){return!!f.canvas&&!!o(c.createElement("canvas").getContext("2d").fillText,"function")},N.webgl=function(){try{var t,e=c.createElement("canvas");t=!(!a.WebGLRenderingContext||!e.getContext("experimental-webgl")&&!e.getContext("webgl")),e=r}catch(m){t=!1}return t},N.touch=function(){return f.touch},N.geolocation=function(){return!!navigator.geolocation},N.postmessage=function(){return!!a.postMessage},N.websqldatabase=function(){return!!a.openDatabase},N.indexedDB=function(){return!!e("indexedDB",a)},N.hashchange=function(){return $("hashchange",a)&&(c.documentMode===r||7<c.documentMode)},N.history=function(){return!!a.history&&!!history.pushState},N.draganddrop=function(){var t=c.createElement("div");return"draggable"in t||"ondragstart"in t&&"ondrop"in t},N.websockets=function(){for(var t=-1,e=D.length;++t<e;)if(a[D[t]+"WebSocket"])return!0;return"WebSocket"in a},N.rgba=function(){return n("background-color:rgba(150,255,150,.5)"),s(_.backgroundColor,"rgba")},N.hsla=function(){return n("background-color:hsla(120,40%,100%,.5)"),s(_.backgroundColor,"rgba")||s(_.backgroundColor,"hsla")},N.multiplebgs=function(){return n("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(_.background)},N.backgroundsize=function(){return e("backgroundSize")},N.borderimage=function(){return e("borderImage")},N.borderradius=function(){return e("borderRadius")},N.boxshadow=function(){return e("boxShadow")},N.textshadow=function(){return""===c.createElement("div").style.textShadow},N.opacity=function(){return t("opacity:.55"),/^0.55$/.test(_.opacity)},N.cssanimations=function(){return e("animationName")},N.csscolumns=function(){return e("columnCount")},N.cssgradients=function(){var t="background-image:",e="gradient(linear,left top,right bottom,from(#9f9),to(white));",i="linear-gradient(left top,#9f9, white);";return n((t+"-webkit- ".split(" ").join(e+t)+k.join(i+t)).slice(0,-t.length)),s(_.backgroundImage,"gradient")},N.cssreflections=function(){return e("boxReflect")},N.csstransforms=function(){return!!e("transform")},N.csstransforms3d=function(){var t=!!e("perspective");return t&&"webkitPerspective"in g.style&&(t=f.csstransforms3d),t},N.csstransitions=function(){return e("transition")},N.fontface=function(){return f.fontface},N.generatedcontent=function(){return f.generatedcontent},N.video=function(){var t=c.createElement("video"),e=!1;try{(e=!!t.canPlayType)&&((e=new Boolean(e)).ogg=t.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),e.h264=t.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),e.webm=t.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(p){}return e},N.audio=function(){var t=c.createElement("audio"),e=!1;try{(e=!!t.canPlayType)&&((e=new Boolean(e)).ogg=t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),e.mp3=t.canPlayType("audio/mpeg;").replace(/^no$/,""),e.wav=t.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),e.m4a=(t.canPlayType("audio/x-m4a;")||t.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(p){}return e},N.localstorage=function(){try{return localStorage.setItem(v,v),localStorage.removeItem(v),!0}catch(a){return!1}},N.sessionstorage=function(){try{return sessionStorage.setItem(v,v),sessionStorage.removeItem(v),!0}catch(a){return!1}},N.webworkers=function(){return!!a.Worker},N.applicationcache=function(){return!!a.applicationCache},N.svg=function(){return!!c.createElementNS&&!!c.createElementNS(S.svg,"svg").createSVGRect},N.inlinesvg=function(){var t=c.createElement("div");return t.innerHTML="<svg/>",(t.firstChild&&t.firstChild.namespaceURI)==S.svg},N.smil=function(){return!!c.createElementNS&&/SVGAnimate/.test(x.call(c.createElementNS(S.svg,"animate")))},N.svgclippaths=function(){return!!c.createElementNS&&/SVGClipPath/.test(x.call(c.createElementNS(S.svg,"clipPath")))},N)d(N,O)&&(u=O.toLowerCase(),f[u]=N[O](),P.push((f[u]?"":"no-")+u));return f.input||i(),n(""),b=y=null,f._version=p,f._prefixes=k,f._domPrefixes=T,f._cssomPrefixes=D,f.hasEvent=$,f.testProp=function(t){return l([t])},f.testAllProps=e,f.testStyles=A,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(m?" js "+P.join(" "):""),f}(this,this.document),function(t,e){function c(t,e){var i=t.createElement("p"),n=t.getElementsByTagName("head")[0]||t.documentElement;return i.innerHTML="x<style>"+e+"</style>",n.insertBefore(i.lastChild,n.firstChild)}function a(){var t=g.elements;return"string"==typeof t?t.split(" "):t}function i(t){var i={},n=t.createElement,s=(0,t.createDocumentFragment)();t.createElement=function(t){var e=(i[t]||(i[t]=n(t))).cloneNode();return g.shivMethods&&e.canHaveChildren&&!m.test(t)?s.appendChild(e):e},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+a().join().replace(/\w+/g,function(t){return i[t]=n(t),s.createElement(t),'c("'+t+'")'})+");return n}")(g,s)}function n(t){var e;return t.documentShived||(g.shivCSS&&!l&&(e=!!c(t,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),h||(e=!i(t)),e&&(t.documentShived=e)),t}function u(t){for(var e,i=t.getElementsByTagName("*"),n=i.length,s=RegExp("^(?:"+a().join("|")+")$","i"),o=[];n--;)e=i[n],s.test(e.nodeName)&&o.push(e.applyElement(r(e)));return o}function r(t){for(var e,i=t.attributes,n=i.length,s=t.ownerDocument.createElement(_+":"+t.nodeName);n--;)(e=i[n]).specified&&s.setAttribute(e.nodeName,e.nodeValue);return s.style.cssText=t.style.cssText,s}function d(t){for(var e,i=t.split("{"),n=i.length,s=RegExp("(^|[\\s,>+~])("+a().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),o="$1"+_+"\\:$2";n--;)(e=i[n]=i[n].split("}"))[e.length-1]=e[e.length-1].replace(s,o),i[n]=e.join("}");return i.join("{")}function s(t){for(var e=t.length;e--;)t[e].removeNode()}function o(r){var l,h,t=r.namespaces,e=r.parentWindow;return!y||r.printShived||("undefined"==typeof t[_]&&t.add(_),e.attachEvent("onbeforeprint",function(){for(var t,e,i,n=r.styleSheets,s=[],o=n.length,a=Array(o);o--;)a[o]=n[o];for(;i=a.pop();)if(!i.disabled&&b.test(i.media)){for(o=0,e=(t=i.imports).length;o<e;o++)a.push(t[o]);try{s.push(i.cssText)}catch(_){}}s=d(s.reverse().join("")),h=u(r),l=c(r,s)}),e.attachEvent("onafterprint",function(){s(h),l.removeNode(!0)}),r.printShived=!0),r}var l,h,p,f=t.html5||{},m=/^<|^(?:button|form|map|select|textarea)$/i;(p=e.createElement("a")).innerHTML="<xyz></xyz>",l="hidden"in p,h=1==p.childNodes.length||function(){try{e.createElement("a")}catch(p){return!0}var t=e.createDocumentFragment();return"undefined"==typeof t.cloneNode||"undefined"==typeof t.createDocumentFragment||"undefined"==typeof t.createElement}();var g={elements:f.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==f.shivCSS,shivMethods:!1!==f.shivMethods,type:"default",shivDocument:n};t.html5=g,n(e);var v,b=/^$|\b(?:all|print)\b/,_="html5shiv",y=!h&&(v=e.documentElement,"undefined"!=typeof e.namespaces&&"undefined"!=typeof e.parentWindow&&"undefined"!=typeof v.applyElement&&"undefined"!=typeof v.removeNode&&"undefined"!=typeof t.attachEvent);g.type+=" print",(g.shivPrint=o)(e)}(this,document),function(t,d,l){function u(t){return"[object Function]"==s.call(t)}function p(t){return"string"==typeof t}function f(){}function m(t){return!t||"loaded"==t||"complete"==t||"uninitialized"==t}function g(){var t=y.shift();w=1,t?t.t?b(function(){("c"==t.t?v.injectCss:v.injectJs)(t.s,0,t.a,t.x,t.e,1)},0):(t(),g()):w=0}function o(i,n,t,e,s,o,a){function r(t){if(!h&&m(l.readyState)&&(u.r=h=1,!w&&g(),l.onload=l.onreadystatechange=null,t))for(var e in"img"!=i&&b(function(){k.removeChild(l)},50),T[n])T[n].hasOwnProperty(e)&&T[n][e].onload()}a=a||v.errorTimeout;var l={},h=0,c=0,u={t:t,s:n,e:s,a:o,x:a};1===T[n]&&(c=1,T[n]=[],l=d.createElement(i)),"object"==i?l.data=n:(l.src=n,l.type=i),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){r.call(this,c)},y.splice(e,0,u),"img"!=i&&(c||2===T[n]?(k.insertBefore(l,x?null:_),b(r,a)):T[n].push(l))}function e(t,e,i,n,s){return w=0,e=e||"j",p(t)?o("c"==e?c:r,t,e,this.i++,i,n,s):(y.splice(this.i++,0,t),1==y.length&&g()),this}function h(){var t=v;return t.loader={load:e,i:0},t}var i,v,n=d.documentElement,b=t.setTimeout,_=d.getElementsByTagName("script")[0],s={}.toString,y=[],w=0,a="MozAppearance"in n.style,x=a&&!!d.createRange().compareNode,k=x?n:_.parentNode,r=(n=t.opera&&"[object Opera]"==s.call(t.opera),n=!!d.attachEvent&&!n,a?"object":n?"script":"img"),c=n?"script":r,C=Array.isArray||function(t){return"[object Array]"==s.call(t)},D=[],T={},S={timeout:function(t,e){return e.length&&(t.timeout=e[0]),t}};(v=function(t){function r(t){t=t.split("!");var e,i,n,s=D.length,o=t.pop(),a=t.length;o={url:o,origUrl:o,prefixes:t};for(i=0;i<a;i++)n=t[i].split("="),(e=S[n.shift()])&&(o=e(o,n));for(i=0;i<s;i++)o=D[i](o);return o}function c(t,e,i,n,s){var o=r(t),a=o.autoCallback;o.url.split(".").pop().split("?").shift(),o.bypass||(e&&(e=u(e)?e:e[t]||e[n]||e[t.split("/").pop().split("?")[0]]||g),o.instead?o.instead(t,e,i,n,s):(T[o.url]?o.noexec=!0:T[o.url]=1,i.load(o.url,o.forceCSS||!o.forceJS&&"css"==o.url.split(".").pop().split("?").shift()?"c":l,o.noexec,o.attrs,o.timeout),(u(e)||u(a))&&i.load(function(){h(),e&&e(o.origUrl,s,n),a&&a(o.origUrl,s,n),T[o.url]=2})))}function e(t,e){function i(i,t){if(i){if(p(i))t||(r=function(){var t=[].slice.call(arguments);l.apply(this,t),h()}),c(i,r,e,0,o);else if(Object(i)===i)for(s in n=function(){var t,e=0;for(t in i)i.hasOwnProperty(t)&&e++;return e}(),i)i.hasOwnProperty(s)&&(!t&&!--n&&(u(r)?r=function(){var t=[].slice.call(arguments);l.apply(this,t),h()}:r[s]=function(e){return function(){var t=[].slice.call(arguments);e&&e.apply(this,t),h()}}(l[s])),c(i[s],r,e,s,o))}else!t&&h()}var n,s,o=!!t.test,a=t.load||t.both,r=t.callback||f,l=r,h=t.complete||f;i(o?t.yep:t.nope,!!a),a&&i(a)}var i,n,s=this.yepnope.loader;if(p(t))c(t,0,s,0);else if(C(t))for(i=0;i<t.length;i++)p(n=t[i])?c(n,0,s,0):C(n)?v(n):Object(n)===n&&e(n,s);else Object(t)===t&&e(t,s)}).addPrefix=function(t,e){S[t]=e},v.addFilter=function(t){D.push(t)},v.errorTimeout=1e4,null==d.readyState&&d.addEventListener&&(d.readyState="loading",d.addEventListener("DOMContentLoaded",i=function(){d.removeEventListener("DOMContentLoaded",i,0),d.readyState="complete"},0)),t.yepnope=h(),t.yepnope.executeStack=g,t.yepnope.injectJs=function(t,e,i,n,s,o){var a,r,l=d.createElement("script");n=n||v.errorTimeout;for(r in l.src=t,i)l.setAttribute(r,i[r]);e=o?g:e||f,l.onreadystatechange=l.onload=function(){!a&&m(l.readyState)&&(a=1,e(),l.onload=l.onreadystatechange=null)},b(function(){a||e(a=1)},n),s?l.onload():_.parentNode.insertBefore(l,_)},t.yepnope.injectCss=function(t,e,i,n,s,o){var a;n=d.createElement("link"),e=o?g:e||f;for(a in n.href=t,n.rel="stylesheet",n.type="text/css",i)n.setAttribute(a,i[a]);s||(_.parentNode.insertBefore(n,_),b(e,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},function(s){s.extend(s,{placeholder:{browser_supported:function(){return this._supported!==undefined?this._supported:this._supported=!!("placeholder"in s('<input type="text">')[0])},shim:function(t){var e={color:"#888",cls:"placeholder",lr_padding:4,selector:"input[placeholder], textarea[placeholder]"};s.extend(e,t),!this.browser_supported()&&s(e.selector)._placeholder_shim(e)}}}),s.extend(s.fn,{_placeholder_shim:function(n){function i(t){var e=s(t).offsetParent().offset(),i=s(t).offset();return{top:i.top-e.top+(s(t).outerHeight()-s(t).height())/2,left:i.left-e.left+n.lr_padding,width:s(t).width()-n.lr_padding}}return this.each(function(){if(s(this).data("placeholder"))return s(this).data("placeholder").css(i(s(this))),!0;var t={};"auto"!=s(this).css("height")&&(t={lineHeight:s(this).css("height")});var e=s("<label />").text(s(this).attr("placeholder")).addClass(n.cls).css(s.extend({position:"absolute",display:"inline","float":"none",overflow:"hidden",whiteSpace:"nowrap",textAlign:"left",color:n.color,cursor:"text",paddingTop:s(this).css("padding-top"),paddingLeft:s(this).css("padding-left"),fontSize:s(this).css("font-size"),fontFamily:s(this).css("font-family"),fontStyle:s(this).css("font-style"),fontWeight:s(this).css("font-weight"),textTransform:s(this).css("text-transform"),zIndex:99},t)).css(i(this)).attr("for",this.id).data("target",s(this)).click(function(){s(this).data("target").focus()}).insertBefore(this);s(this).data("placeholder",e).focus(function(){e.hide()}).blur(function(){e[s(this).val().length?"hide":"show"]()}).triggerHandler("blur"),s(window).resize(function(){var t=e.data("target");e.css(i(t))})})}})}(jQuery),jQuery(document).add(window).bind("ready load",function(){jQuery.placeholder&&jQuery.placeholder.shim()}),$.fn.extend({everyTime:function(t,e,i,n){return this.each(function(){$.timer.add(this,t,e,i,n)})},oneTime:function(t,e,i){return this.each(function(){$.timer.add(this,t,e,i,1)})},stopTime:function(t,e){return this.each(function(){$.timer.remove(this,t,e)})}}),$.extend({timer:{global:[],guid:1,dataKey:"$.timer",regex:/^([0-9]+(?:\.[0-9]*)?)\s*(.*s)?$/,powers:{ms:1,cs:10,ds:100,s:1e3,das:1e4,hs:1e5,ks:1e6},timeParse:function(t){if(t==undefined||null==t)return null;var e=this.regex.exec($.trim(t.toString()));return e[2]?parseFloat(e[1])*(this.powers[e[2]]||1):t},add:function(t,e,i,n,s){var o=0;if($.isFunction(i)&&(s||(s=n),n=i,i=e),!("number"!=typeof(e=$.timer.timeParse(e))||isNaN(e)||e<0)){("number"!=typeof s||isNaN(s)||s<0)&&(s=0),s=s||0;var a=$.data(t,this.dataKey)||$.data(t,this.dataKey,{});a[i]||(a[i]={}),n.timerID=n.timerID||this.guid++;var r=function(){(++o>s&&0!==s||!1===n.call(t,o))&&$.timer.remove(t,i,n)};r.timerID=n.timerID,a[i][n.timerID]||(a[i][n.timerID]=window.setInterval(r,e)),this.global.push(t)}},remove:function(t,e,i){var n,s=$.data(t,this.dataKey);if(s){if(e){if(s[e]){if(i)i.timerID&&(window.clearInterval(s[e][i.timerID]),delete s[e][i.timerID]);else for(var i in s[e])window.clearInterval(s[e][i]),delete s[e][i];for(n in s[e])break;n||(n=null,delete s[e])}}else for(e in s)this.remove(t,e,i);for(n in s)break;n||$.removeData(t,this.dataKey)}}}}),$(window).bind("unload",function(){$.each($.timer.global,function(t,e){$.timer.remove(e)})}),
+/*!
+ * jCarousel - Riding carousels with jQuery
+ * http://sorgalla.com/jcarousel/
+ *
+ * Copyright (c) 2006 Jan Sorgalla (http://sorgalla.com)
+ * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
+ * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
+ *
+ * Built on top of the jQuery library
+ * http://jquery.com
+ *
+ * Inspired by the "Carousel Component" by Bill Scott
+ * http://billwscott.com/carousel/
+ */
+function(_){var h={vertical:!(_.fn.jcarousel=function(t){if("string"!=typeof t)return this.each(function(){_(this).data("jcarousel",new y(this,t))});var e=_(this).data("jcarousel"),i=Array.prototype.slice.call(arguments,1);return e[t].apply(e,i)}),listTag:"ul",itemTag:"li",start:1,offset:1,size:null,scroll:3,visible:null,animation:"normal",easing:"swing",auto:0,wrap:null,initCallback:null,reloadCallback:null,itemLoadCallback:null,itemFirstInCallback:null,itemFirstOutCallback:null,itemLastInCallback:null,itemLastOutCallback:null,itemVisibleInCallback:null,itemVisibleOutCallback:null,buttonNextHTML:"<div></div>",buttonPrevHTML:"<div></div>",buttonNextEvent:"click",buttonPrevEvent:"click",buttonNextCallback:null,buttonPrevCallback:null};_.jcarousel=function(t,e){this.options=_.extend({},h,e||{}),this.locked=!1,this.container=null,this.clip=null,this.list=null,this.buttonNext=null,this.buttonPrev=null,this.wh=this.options.vertical?"height":"width",this.lt=this.options.vertical?"top":"left";for(var i="",n=t.className.split(" "),s=0;s<n.length;s++)if(-1!=n[s].indexOf("jcarousel-skin")){_(t).removeClass(n[s]),i=n[s];break}t.nodeName.toUpperCase()==this.options.listTag.toUpperCase()?(this.list=_(t),this.container=this.list.parent(),this.container.hasClass("jcarousel-clip")?(this.container.parent().hasClass("jcarousel-container")||(this.container=this.container.wrap("<div></div>")),this.container=this.container.parent()):this.container.hasClass("jcarousel-container")||(this.container=this.list.wrap("<div></div>").parent())):(this.container=_(t),this.list=this.container.find(this.options.listTag).eq(0)),""!=i&&-1==this.container.parent()[0].className.indexOf("jcarousel-skin")&&this.container.wrap('<div class=" '+i+'"></div>'),this.clip=this.list.parent(),this.clip.length&&this.clip.hasClass("jcarousel-clip")||(this.clip=this.list.wrap("<div></div>").parent()),this.buttonNext=_(".jcarousel-next",this.container),0==this.buttonNext.size()&&null!=this.options.buttonNextHTML&&(this.buttonNext=this.clip.after(this.options.buttonNextHTML).next()),this.buttonNext.addClass(this.className("jcarousel-next")),this.buttonPrev=_(".jcarousel-prev",this.container),0==this.buttonPrev.size()&&null!=this.options.buttonPrevHTML&&(this.buttonPrev=this.clip.before(this.options.buttonPrevHTML).prev()),this.buttonPrev.addClass(this.className("jcarousel-prev")),this.clip.addClass(this.className("jcarousel-clip")).css({overflow:"hidden",position:"relative"}),this.list.addClass(this.className("jcarousel-list")).css({overflow:"hidden",position:"relative",top:0,left:0,margin:0,padding:0}),this.container.addClass(this.className("jcarousel-container")).css({position:"relative"});var o=null!=this.options.visible?Math.ceil(this.clipping()/this.options.visible):null,a=this.list.children(this.options.itemTag),r=this;if(0<a.size()){var l=0;s=this.options.offset;a.each(function(){r.format(this,s++),l+=r.dimension(this,o)}),this.list.css(this.wh,l+"px"),e&&e.size!==undefined||(this.options.size=a.size())}this.container.css("display","block"),this.buttonNext.css("display","block"),this.buttonPrev.css("display","block"),this.funcNext=function(){r.next()},this.funcPrev=function(){r.prev()},this.funcResize=function(){r.reload()},null!=this.options.initCallback&&this.options.initCallback(this,"init"),_.browser.safari?(this.buttons(!1,!1),_(window).bind("load.jcarousel",function(){r.setup()})):this.setup()};var y=_.jcarousel;y.fn=y.prototype={jcarousel:"0.2.4"},y.fn.extend=y.extend=_.extend,y.fn.extend({setup:function(){if(this.first=null,this.last=null,this.prevFirst=null,this.prevLast=null,this.animating=!1,this.timer=null,this.tail=null,this.inTail=!1,!this.locked){this.list.css(this.lt,this.pos(this.options.offset)+"px");var t=this.pos(this.options.start);this.prevFirst=this.prevLast=null,this.animate(t,!1),_(window).unbind("resize.jcarousel",this.funcResize).bind("resize.jcarousel",this.funcResize)}},reset:function(){this.list.empty(),this.list.css(this.lt,"0px"),this.list.css(this.wh,"10px"),null!=this.options.initCallback&&this.options.initCallback(this,"reset"),this.setup()},reload:function(){if(null!=this.tail&&this.inTail&&this.list.css(this.lt,y.intval(this.list.css(this.lt))+this.tail),this.tail=null,this.inTail=!1,null!=this.options.reloadCallback&&this.options.reloadCallback(this),null!=this.options.visible){var e=this,i=Math.ceil(this.clipping()/this.options.visible),n=0,s=0;_(this.options.itemTag,this.list).each(function(t){n+=e.dimension(this,i),t+1<e.first&&(s=n)}),this.list.css(this.wh,n+"px"),this.list.css(this.lt,-s+"px")}this.scroll(this.first,!1)},lock:function(){this.locked=!0,this.buttons()},unlock:function(){this.locked=!1,this.buttons()},size:function(t){return t!=undefined&&(this.options.size=t,this.locked||this.buttons()),this.options.size},has:function(t,e){e!=undefined&&e||(e=t),null!==this.options.size&&e>this.options.size&&(e=this.options.size);for(var i=t;i<=e;i++){var n=this.get(i);if(!n.length||n.hasClass("jcarousel-item-placeholder"))return!1}return!0},get:function(t){return _(".jcarousel-item-"+t,this.list)},add:function(t,e){var i=0;if(0==(s=this.get(t)).length){for(var n,s=this.create(t),o=y.intval(t);n=this.get(--o);)if(o<=0||n.length){o<=0?this.list.prepend(s):n.after(s);break}}else i=this.dimension(s);s.removeClass(this.className("jcarousel-item-placeholder")),"string"==typeof e?s.html(e):s.empty().append(e);var a=null!=this.options.visible?Math.ceil(this.clipping()/this.options.visible):null,r=this.dimension(s,a)-i;return 0<t&&t<this.first&&this.list.css(this.lt,y.intval(this.list.css(this.lt))-r+"px"),this.list.css(this.wh,y.intval(this.list.css(this.wh))+r+"px"),s},remove:function(t){var e=this.get(t);if(e.length&&!(t>=this.first&&t<=this.last)){var i=this.dimension(e);t<this.first&&this.list.css(this.lt,y.intval(this.list.css(this.lt))+i+"px"),e.remove(),this.list.css(this.wh,y.intval(this.list.css(this.wh))-i+"px")}},next:function(){this.stopAuto(),null==this.tail||this.inTail?this.scroll("both"!=this.options.wrap&&"last"!=this.options.wrap||null==this.options.size||this.last!=this.options.size?this.first+this.options.scroll:1):this.scrollTail(!1)},prev:function(){this.stopAuto(),null!=this.tail&&this.inTail?this.scrollTail(!0):this.scroll("both"!=this.options.wrap&&"first"!=this.options.wrap||null==this.options.size||1!=this.first?this.first-this.options.scroll:this.options.size)},scrollTail:function(t){if(!this.locked&&!this.animating&&this.tail){var e=y.intval(this.list.css(this.lt));t?e+=this.tail:e-=this.tail,this.inTail=!t,this.prevFirst=this.first,this.prevLast=this.last,this.animate(e)}},scroll:function(t,e){this.locked||this.animating||this.animate(this.pos(t),e)},pos:function(t){var e=y.intval(this.list.css(this.lt));if(this.locked||this.animating)return e;"circular"!=this.options.wrap&&(t=t<1?1:this.options.size&&t>this.options.size?this.options.size:t);for(var i,n=this.first>t,s="circular"!=this.options.wrap&&this.first<=1?1:this.first,o=n?this.get(s):this.get(this.last),a=n?s:s-1,r=null,l=0,h=!1,c=0;n?--a>=t:++a<t;)h=!(r=this.get(a)).length,0==r.length&&(r=this.create(a).addClass(this.className("jcarousel-item-placeholder")),o[n?"before":"after"](r),null!=this.first&&"circular"==this.options.wrap&&null!==this.options.size&&(a<=0||a>this.options.size)&&(i=this.get(this.index(a))).length&&this.add(a,i.children().clone(!0))),o=r,c=this.dimension(r),h&&(l+=c),null!=this.first&&("circular"==this.options.wrap||1<=a&&(null==this.options.size||a<=this.options.size))&&(e=n?e+c:e-c);var u=this.clipping(),d=[],p=0,f=(a=t,0);for(o=this.get(t-1);++p;){if(h=!(r=this.get(a)).length,0==r.length&&(r=this.create(a).addClass(this.className("jcarousel-item-placeholder")),0==o.length?this.list.prepend(r):o[n?"before":"after"](r),null!=this.first&&"circular"==this.options.wrap&&null!==this.options.size&&(a<=0||a>this.options.size)&&(i=this.get(this.index(a))).length&&this.add(a,i.find(">*").clone(!0))),o=r,0==(c=this.dimension(r)))return console&&_.isFunction(console.log)&&console.log("jCarousel: No width/height set for items. This will cause an infinite loop. Aborting..."),0;if("circular"!=this.options.wrap&&null!==this.options.size&&a>this.options.size?d.push(r):h&&(l+=c),u<=(f+=c))break;a++}for(var m=0;m<d.length;m++)d[m].remove();0<l&&(this.list.css(this.wh,this.dimension(this.list)+l+"px"),n&&(e-=l,this.list.css(this.lt,y.intval(this.list.css(this.lt))-l+"px")));var g=t+p-1;if("circular"!=this.options.wrap&&this.options.size&&g>this.options.size&&(g=this.options.size),g<a)for(a=g,f=p=0;++p;){if(!(r=this.get(a--)).length)break;if(u<=(f+=this.dimension(r)))break}var v=g-p+1;if("circular"!=this.options.wrap&&v<1&&(v=1),this.inTail&&n&&(e+=this.tail,this.inTail=!1),this.tail=null,"circular"!=this.options.wrap&&g==this.options.size&&1<=g-p+1){var b=y.margin(this.get(g),this.options.vertical?"marginBottom":"marginRight");u<f-b&&(this.tail=f-u-b)}for(;t-- >v;)e+=this.dimension(this.get(t));return this.prevFirst=this.first,this.prevLast=this.last,this.first=v,this.last=g,e},animate:function(t,e){if(!this.locked&&!this.animating){this.animating=!0;var i=this,n=function(){i.animating=!1,0==t&&i.list.css(i.lt,0),("circular"==i.options.wrap||"both"==i.options.wrap||"last"==i.options.wrap||null==i.options.size||i.last<i.options.size)&&i.startAuto(),i.buttons(),i.notify("onAfterAnimation")};if(this.notify("onBeforeAnimation"),this.options.animation&&0!=e){var s=this.options.vertical?{top:t}:{left:t};this.list.animate(s,this.options.animation,this.options.easing,n)}else this.list.css(this.lt,t+"px"),n()}},startAuto:function(t){if(t!=undefined&&(this.options.auto=t),0==this.options.auto)return this.stopAuto();if(null==this.timer){var e=this;this.timer=setTimeout(function(){e.next()},1e3*this.options.auto)}},stopAuto:function(){null!=this.timer&&(clearTimeout(this.timer),this.timer=null)},buttons:function(t,e){if(t==undefined||null==t){t=!this.locked&&0!==this.options.size&&(this.options.wrap&&"first"!=this.options.wrap||null==this.options.size||this.last<this.options.size);this.locked||this.options.wrap&&"first"!=this.options.wrap||null==this.options.size||!(this.last>=this.options.size)||(t=null!=this.tail&&!this.inTail)}if(e==undefined||null==e){e=!this.locked&&0!==this.options.size&&(this.options.wrap&&"last"!=this.options.wrap||1<this.first);this.locked||this.options.wrap&&"last"!=this.options.wrap||null==this.options.size||1!=this.first||(e=null!=this.tail&&this.inTail)}var i=this;this.buttonNext[t?"bind":"unbind"](this.options.buttonNextEvent+".jcarousel",this.funcNext)[t?"removeClass":"addClass"](this.className("jcarousel-next-disabled")).attr("disabled",!t),this.buttonPrev[e?"bind":"unbind"](this.options.buttonPrevEvent+".jcarousel",this.funcPrev)[e?"removeClass":"addClass"](this.className("jcarousel-prev-disabled")).attr("disabled",!e),0<this.buttonNext.length&&(this.buttonNext[0].jcarouselstate==undefined||this.buttonNext[0].jcarouselstate!=t)&&null!=this.options.buttonNextCallback&&(this.buttonNext.each(function(){i.options.buttonNextCallback(i,this,t)}),this.buttonNext[0].jcarouselstate=t),0<this.buttonPrev.length&&(this.buttonPrev[0].jcarouselstate==undefined||this.buttonPrev[0].jcarouselstate!=e)&&null!=this.options.buttonPrevCallback&&(this.buttonPrev.each(function(){i.options.buttonPrevCallback(i,this,e)}),this.buttonPrev[0].jcarouselstate=e)},notify:function(t){var e=null==this.prevFirst?"init":this.prevFirst<this.first?"next":"prev";this.callback("itemLoadCallback",t,e),this.prevFirst!==this.first&&(this.callback("itemFirstInCallback",t,e,this.first),this.callback("itemFirstOutCallback",t,e,this.prevFirst)),this.prevLast!==this.last&&(this.callback("itemLastInCallback",t,e,this.last),this.callback("itemLastOutCallback",t,e,this.prevLast)),this.callback("itemVisibleInCallback",t,e,this.first,this.last,this.prevFirst,this.prevLast),this.callback("itemVisibleOutCallback",t,e,this.prevFirst,this.prevLast,this.first,this.last)},callback:function(t,e,i,n,s,o,a){if(this.options[t]!=undefined&&("object"==typeof this.options[t]||"onAfterAnimation"==e)){var r="object"==typeof this.options[t]?this.options[t][e]:this.options[t];if(_.isFunction(r)){var l=this;if(n===undefined)r(l,i,e);else if(s===undefined)this.get(n).each(function(){r(l,this,n,i,e)});else for(var h=n;h<=s;h++)null===h||o<=h&&h<=a||this.get(h).each(function(){r(l,this,h,i,e)})}}},create:function(t){return this.format("<"+this.options.itemTag+"></"+this.options.itemTag+">",t)},format:function(t,e){var i=_(t).addClass(this.className("jcarousel-item")).addClass(this.className("jcarousel-item-"+e)).css({"float":"left","list-style":"none"});return i.attr("jcarouselindex",e),i},className:function(t){return t+" "+t+(this.options.vertical?"-vertical":"-horizontal")},dimension:function(t,e){var i=t.jquery!=undefined?t[0]:t,n=this.options.vertical?i.offsetHeight+y.margin(i,"marginTop")+y.margin(i,"marginBottom"):i.offsetWidth+y.margin(i,"marginLeft")+y.margin(i,"marginRight");if(e==undefined||n==e)return n;var s=this.options.vertical?e-y.margin(i,"marginTop")-y.margin(i,"marginBottom"):e-y.margin(i,"marginLeft")-y.margin(i,"marginRight");return _(i).css(this.wh,s+"px"),this.dimension(i)},clipping:function(){if(null!=this.clip[0])return this.options.vertical?this.clip[0].offsetHeight-y.intval(this.clip.css("borderTopWidth"))-y.intval(this.clip.css("borderBottomWidth")):this.clip[0].offsetWidth-y.intval(this.clip.css("borderLeftWidth"))-y.intval(this.clip.css("borderRightWidth"))},index:function(t,e){return e==undefined&&(e=this.options.size),Math.round(((t-1)/e-Math.floor((t-1)/e))*e)+1}}),y.extend({defaults:function(t){return _.extend(h,t||{})},margin:function(t,e){if(!t)return 0;var i=t.jquery!=undefined?t[0]:t;if("marginRight"==e&&_.browser.safari){var n,s,o={display:"block","float":"none",width:"auto"};return _.swap(i,o,function(){n=i.offsetWidth}),o.marginRight=0,_.swap(i,o,function(){s=i.offsetWidth}),s-n}return y.intval(_.css(i,e))},intval:function(t){return t=parseInt(t),isNaN(t)?0:t}})}(jQuery),function(t,e){"use strict";var i,n;t.uaMatch=function(t){t=t.toLowerCase();var e=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[],i=/(ipad)/.exec(t)||/(iphone)/.exec(t)||/(android)/.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0",platform:i[0]||""}},n={},(i=t.uaMatch(e.navigator.userAgent)).browser&&(n[i.browser]=!0,n.version=i.version),i.platform&&(n[i.platform]=!0),n.chrome?n.webkit=!0:n.webkit&&(n.safari=!0),t.browser=n}(jQuery,window),"undefined"==typeof custom_wymeditor_boot_options&&(custom_wymeditor_boot_options={}),$(document).ready(function(){$("form input[type=text]:first").focus(),init_flash_messages()}),init_flash_messages=function(){$("#flash").css({opacity:0,visibility:"visible"}).animate({opacity:"1"},550),$("#flash_close").on("click",function(t){try{$("#flash").animate({opacity:0,visibility:"hidden"},330,function(){$("#flash").hide()})}catch(e){$("#flash").hide()}t.preventDefault()}),$("#flash.flash_message").prependTo("#records")},$(function(){$logo=$("#site_bar_content #site_bar_refinery_cms_logo"),$logo.css("left",$("#site_bar_content").width()/2-$logo.width()/2),$switch_anchor=$("#editor_switch a").not(".ie7 #editor_switch a, .ie6 #editor_switch a"),$("#editor_switch a").appendTo($("<span></span>").prependTo("#editor_switch"))});var shiftHeld=!1,initialLoad=!0;init_refinery_admin=function(){init_interface(),init_sortable_menu(),init_submit_continue(),init_modal_dialogs(),init_tooltips(),init_ajaxy_pagination()},$(document).ready(init_refinery_admin),"object"==typeof window.onpopstate&&$(window).bind("popstate",function(){initialLoad||$(document).paginateTo(location.pathname+location.href.split(location.pathname)[1]),initialLoad=!1}),$.fn.paginateTo=function(t){$.ajax({url:t,cache:!1,success:function(t){$(".pagination_container").slideTo(t),$(".pagination_container .pagination a").each(function(){$(this).attr("href",$(this).attr("href").replace(/\?\_\=[^&]+&/,"?"))})},error:function(){window.location=popstate_location}})},$.fn.slideTo=function(t){return $(this).html(t),$(this).applyMinimumHeightFromChildren(),$(this).find(".pagination_frame").removeClass("frame_right").addClass("frame_center"),init_modal_dialogs(),init_tooltips(),$(this)},$.fn.applyMinimumHeightFromChildren=function(){return child_heights=0,$(this).children().each(function(t,i){child_heights+=$(i).height(),$.each(["marginTop","marginBottom","paddingTop","paddingBottom"],function(t,e){child_heights+=parseInt($(i).css(e))||0})}),$(this).css("min-height",child_heights),$(this)},init_modal_dialogs=function(){$('a[href*="dialog=true"]').not("#dialog_container a").each(function(t,e){$(e).data({"dialog-width":parseInt($($(e).attr("href").match("width=([0-9]*)")).last().get(0),10)||928,"dialog-height":parseInt($($(e).attr("href").match("height=([0-9]*)")).last().get(0),10)||473,"dialog-title":$(e).attr("title")||$(e).attr("name")||$(e).html()||null}).attr("href",$(e).attr("href").replace(/(&(amp;)?|\?)(dialog=true|(width|height)=\d+)/g,"").replace(/(\/[^&\?]*)&(amp;)?/,"$1?")).click(function(t){$anchor=$(this),iframe_src=(iframe_src=$anchor.attr("href"))+(-1<iframe_src.indexOf("?")?"&":"?")+"app_dialog=true&dialog=true",iframe=$("<iframe id='dialog_iframe' frameborder='0' marginheight='0' marginwidth='0' border='0'></iframe>"),iframe.dialog({title:$anchor.data("dialog-title"),modal:!0,resizable:!1,autoOpen:!0,width:$anchor.data("dialog-width"),height:$anchor.data("dialog-height"),open:onOpenDialog,close:onCloseDialog}),iframe.attr("src",iframe_src),t.preventDefault()})})},refinery_dialog_success=function(){close_dialog(),$.ajax({url:window.location.pathname+window.location.search,cache:!1,success:function(t){$(".pagination_container").html(t),$("#flash_container > #flash").remove(),$("#flash_container").append($(".pagination_container").find("#flash")),$("#flash").css({width:"auto",visibility:""}).fadeIn(550),init_refinery_admin()}})},trigger_reordering=function(t,e){$menu=$("#menu"),t.preventDefault(),$("#menu_reorder, #menu_reorder_done").toggle(),$("#site_bar, #content").fadeTo(500,e?.35:1),e?$menu.find(".tab a").click(function(t){t.preventDefault()}):$menu.find(".tab a").unbind("click"),$menu.sortable(e?"enable":"disable")},trigger_reordering_content_section=function(t,e){$menu=$("#page-tabs").sortable(),t.preventDefault(),$("#reorder_page_part, #reorder_page_part_done").toggle(),$("#site_bar, #menu, .field:not(:has(#page-tabs)), .page_part:visible, #more_options_field, .form-actions").fadeTo(500,e?.35:1),$menu.sortable(e?"enable":"disable").sortable({items:"li",stop:function(){$("#page-tabs li[data-index]").each(function(t){$("#page_parts_attributes_"+$(this).data("index")+"_position").val(t+1)})}})},submit_and_continue=function(t,e){$(this).hasClass("wymupdate")&&$.each(WYMeditor.INSTANCES,function(t,e){e.update()}),$("#continue_editing").val(!0),$("#flash").fadeOut(250),$(".fieldWithErrors").removeClass("fieldWithErrors").addClass("field"),$("#flash_container .errorExplanation").remove(),$.post($("#continue_editing").get(0).form.action,$($("#continue_editing").get(0).form).serialize(),function(t){0<($flash_container=$("#flash_container")).length&&($flash_container.html(t),$("#flash").css({width:"auto",visibility:null}).fadeIn(550),$(".errorExplanation").not($("#flash_container .errorExplanation")).remove(),null!=(error_fields=$("#fieldsWithErrors").val())?$.each(error_fields.split(","),function(){$("#"+this).wrap("<div class='fieldWithErrors' />")}):e&&(window.location=e),$(".fieldWithErrors:first :input:first").focus(),$("#continue_editing").val(!1),init_flash_messages(),$("form").attr("action",$("#new_action").attr("value")))},"html"),t.preventDefault()},init_tooltips=function(t){$($(null!=t?t:"a[title], span[title], #image_grid img[title], *[tooltip]")).not(".no-tooltip").each(function(t,e){$(e).hover(function(i){"mouseenter"==i.type||"mouseover"==i.type?$(this).oneTime(350,"tooltip",$.proxy(function(){$(".tooltip").remove(),tooltip=$("<div class='tooltip'><div><span></span></div></div>").appendTo("#tooltip_container"),tooltip.find("span").html($(this).attr("tooltip")),tooltip_nib_extension=$.browser.msie?".gif":".png",nib=$("<img src='/assets/refinery/tooltip-nib"+tooltip_nib_extension+"' class='tooltip-nib'/>").appendTo("#tooltip_container"),tooltip.css({opacity:0,maxWidth:"300px"}),required_left_offset=$(this).offset().left-tooltip.outerWidth()/2+$(this).outerWidth()/2,tooltip.css("left",0<required_left_offset?required_left_offset:0);var t=tooltip.offset(),e=tooltip.outerWidth();t&&t.left+e>(window_width=$(window).width())&&tooltip.css("left",window_width-e),tooltip.css({top:$(this).offset().top-tooltip.outerHeight()-10}),nib.css({opacity:0}),(t=tooltip.offset())&&nib.css({left:$(this).offset().left+$(this).outerWidth()/2-5,top:t.top+tooltip.height()});try{tooltip.animate({top:t.top-10,opacity:1},200,"swing"),nib.animate({top:nib.offset().top-10,opacity:1},200)}catch(i){tooltip.show(),nib.show()}},$(this))):"mouseleave"!=i.type&&"mouseout"!=i.type||($(this).stopTime("tooltip"),null==(tt_offset=(tooltip=$(".tooltip")).css("z-index","-1").offset())&&(tt_offset={top:0,left:0}),tooltip.animate({top:tt_offset.top-20,opacity:0},125,"swing",function(){$(this).remove()}),null==(nib_offset=(nib=$(".tooltip-nib")).offset())&&(nib_offset={top:0,left:0}),nib.animate({top:nib_offset.top-20,opacity:0},125,"swing",function(){$(this).remove()}))}).click(function(){$(this).stopTime("tooltip")}),null==$(e).attr("tooltip")&&$(e).attr("tooltip",$(e).attr("title")),$elements=$(e).add($(e).children("img")).removeAttr("title"),$.browser.msie&&$elements.removeAttr("alt")})};var link_tester={email_re:new RegExp(/^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i),url_re:new RegExp(/^(https?|ftp):\/\/(-\.)?([^\s/?\.#-]+\.?)+(\/[^\s]*)?$/i),page_re:new RegExp("^(https?://"+document.location.host+"|/[a-z0-9]+)"),email:function(t,e){""!=t&&e(link_tester.email_re.test(t))},url:function(t,e){""!=t&&(link_tester.page_re.test(t)?link_tester.page(t,e):e(link_tester.url_re.test(t)))},page:function(t,e){var i=!1;$.ajax({url:t,timeout:5e3,success:function(){i=!0},complete:function(){e(i)}})},validate_textbox:function(t,e,i){var n="",s=$("<img id='"+e.replace("#","")+"_test_loader' src='/assets/refinery/ajax-loader-ba9484edf9b3e640a57fad6430b15bdd.gif' alt='Testing...' style='display: none;'/>"),o=$("<span id='"+e.replace("#","")+"_test_result'></span>");s.insertAfter($(e)),o.insertAfter(s),$(e).bind("paste blur",function(){$(e).stop(!0),$(e+"_test_loader").hide(),$(e+"_test_result").hide(),$(e+"_test_result").removeClass("success_icon").removeClass("failure_icon"),""!=this.value&&$(e).delay(300).queue(function(){$(e+"_test_loader").show(),$(e+"_test_result").hide(),$(e+"_test_result").removeClass("success_icon").removeClass("failure_icon"),t(this.value,function(t){n=t?"success_icon":"failure_icon",$(e+"_test_result").addClass(n).show(),$(e+"_test_loader").hide()}),i&&i($(e)),$(this).dequeue()})})},validate_url_textbox:function(t,e){link_tester.validate_textbox(link_tester.url,t,e)},validate_email_textbox:function(t,e){link_tester.validate_textbox(link_tester.email,t,e)}},link_dialog={initialised:!1,init:function(){this.initialised||(this.init_tabs(),this.init_resources_submit(),this.init_close(),this.page_tab(),this.web_tab(),this.email_tab(),this.initialised=!0)},init_tabs:function(){var t=$("#dialog_menu_left input:radio"),e=t.parent().filter(".selected_radio").find("input:radio").first()||t.first();t.click(function(){link_dialog.switch_area($(this))}),e.attr("checked","true"),link_dialog.switch_area(e)},init_resources_submit:function(){$("#existing_resource_area .form-actions-dialog #submit_button").click(function(t){t.preventDefault(),0<(resource_selected=$("#existing_resource_area_content ul li.linked a")).length&&(resourceUrl=parseURL(resource_selected.attr("href")),relevant_href=resourceUrl.pathname,resourceUrl.hostname.match(/s3.amazonaws.com/)&&(relevant_href=resourceUrl.protocol+"//"+resourceUrl.host+relevant_href),"function"==typeof resource_picker.callback&&resource_picker.callback({id:resource_selected.attr("id").replace("resource_",""),href:relevant_href,html:resource_selected.html()})),$(".form-actions-dialog #cancel_button").trigger("click")})},init_close:function(){$(".form-actions-dialog #cancel_button").not(".wym_iframe_body .form-actions-dialog #cancel_button").click(close_dialog),parent&&parent.document.location.href!=document.location.href&&null!=parent.document.getElementById("wym_dialog_submit")&&($("#dialog_container .form-actions input#submit_button").click(function(t){t.preventDefault(),$(parent.document.getElementById("wym_dialog_submit")).click()}),$("#dialog_container .form-actions a.close_dialog").click(close_dialog))},switch_area:function(t){$("#dialog_menu_left .selected_radio").removeClass("selected_radio"),$(t).parent().addClass("selected_radio"),$("#dialog_main .dialog_area").hide(),$("#"+$(t).val()+"_area").show()},page_tab:function(){$(".link_list li").click(function(t){t.preventDefault(),$(".link_list li.linked").removeClass("linked"),$(this).addClass("linked");var e=$(this).children("a.page_link").get(0),i=0<window.location.port.length?":"+window.location.port:"",n=e.href.replace(window.location.protocol+"//"+window.location.hostname+i,"");link_dialog.update_parent(n,e.rel.replace(/\ ?<em>.+?<\/em>/,""))})},web_tab:function(){link_tester.validate_url_textbox("#web_address_text",function(){}),$("#web_address_text, #web_address_target_blank").change(function(){link_dialog.update_parent($("#web_address_text").val(),$("#web_address_text").val(),$("#web_address_target_blank").get(0).checked?"_blank":"")})},email_tab:function(){link_tester.validate_email_textbox("#email_address_text",function(){}),$("#email_address_text, #email_default_subject_text, #email_default_body_text").change(function(){var t=$("#email_default_subject_text").val(),e=$("#email_default_body_text").val(),i=$("#email_address_text").val();modifier="?",additional="",0<t.length&&(additional+=modifier+"subject="+t,modifier="&"),0<e.length&&(additional+=modifier+"body="+e,modifier="&");for(var n="",s=0;s<i.length;s++)n+="%"+i.charCodeAt(s).toString(16);link_dialog.update_parent("mailto:"+n+additional,i)})},update_parent:function(t,e,i){null!=parent&&(null!=(wym_href=parent.document.getElementById("wym_href"))&&(wym_href.value=t),null!=(wym_title=parent.document.getElementById("wym_title"))&&(wym_title.value=e),null!=(wym_target=parent.document.getElementById("wym_target"))&&(wym_target.value=i||""))}},page_options={initialised:!1,init:function(t,e,i){this.initialised||(page_options.tabs=$("#page-tabs").tabs(),part_shown=$("#page-tabs .page_part.field").not(".ui-tabs-hide"),$("#page-tabs .page_part.field").removeClass("ui-tabs-hide"),this.enable_parts=t,this.new_part_url=e,this.del_part_url=i,this.show_options(),$(document).ready($.proxy(function(){$("#page-tabs .page_part.field").not(this).addClass("ui-tabs-hide")},part_shown)),this.enable_parts&&this.page_part_dialog(),this.initialised=!0)},show_options:function(){$("#toggle_advanced_options").click(function(t){t.preventDefault(),$("#more_options").animate({opacity:"toggle",height:"toggle"},250),$("html,body").animate({scrollTop:$("#toggle_advanced_options").parent().offset().top},250)})},page_part_dialog:function(){$("#new_page_part_dialog").dialog({title:"Create Content Section",modal:!0,resizable:!1,autoOpen:!1,width:600,height:200}),$("#add_page_part").click(function(t){t.preventDefault(),$("#new_page_part_dialog").dialog("open")}),$("#new_page_part_save").click(function(t){t.preventDefault();var e=$("#new_page_part_title").val();if(0<e.length){var i=e.toLowerCase().replace(" ","_");0===$("#page_part_"+i).size()?$.get(page_options.new_part_url,{title:e,part_index:$("#new_page_part_index").val(),body:""},function(t){$("#submit_continue_button").remove(),$("#page_part_editors").append(t),page_options.tabs.find("ul").append("<li><a href='#page_part_new_"+$("#new_page_part_index").val()+"'>"+e+"</a></li>"),page_options.tabs.tabs("refresh"),$("#page-tabs #page_parts li").last().attr("data-index",$("#new_page_part_index").val()),page_options.tabs.tabs("option","active",-1),WYMeditor.init(),$("#new_page_part_index").val(parseInt($("#new_page_part_index").val(),10)+1),$("#new_page_part_title").val(""),$("#new_page_part_dialog").dialog("close")},"html"):alert("A content section with that title already exists, please choose another.")}else alert("You have not entered a title for the content section, please enter one.")}),$("#new_page_part_cancel").click(function(t){t.preventDefault(),$("#new_page_part_dialog").dialog("close"),$("#new_page_part_title").val("")}),$("#delete_page_part").click(function(t){t.preventDefault();var e=page_options.tabs.find(".ui-tabs-active a").text();if(confirm("This will remove the content section '"+e+"' immediately even if you don't save this page, are you sure?")){var i=page_options.tabs.find(".ui-tabs-active a").attr("id").match(/\d+/)[0]-1;0<$("#page_parts_attributes_"+i+"_id").length&&$.ajax({url:page_options.del_part_url+"/"+$("#page_parts_attributes_"+i+"_id").val(),type:"DELETE"}),page_options.tabs.find(".ui-tabs-active").remove(),page_options.tabs.find("#page_part_"+e.toLowerCase()).remove(),page_options.tabs.find("#page_part_new_"+i).remove(),$("[id^=page_parts_attributes_"+i+"_]").remove(),$("#submit_continue_button").remove(),page_options.tabs.tabs("refresh")}}),$("#reorder_page_part").click(function(t){trigger_reordering_content_section(t,!0)}),$("#reorder_page_part_done").click(function(t){trigger_reordering_content_section(t,!1)})}},image_picker={initialised:!1,options:{selected:"",thumbnail:"medium",field:"#image",image_display:".current_picked_image",no_image_message:".no_picked_image_selected",image_container:".current_image_container",remove_image_button:".remove_picked_image",picker_container:".image_picker_container",image_link:".current_image_link",image_toggler:null},init:function(t){return this.initialised||(this.options=$.extend(this.options,t),$(this.options.picker_container).find(this.options.remove_image_button).click($.proxy(this.remove_image,{container:this.options.picker_container,picker:this})),$(this.options.picker_container).find(this.options.image_toggler).click($.proxy(this.toggle_image,{container:this.options.picker_container,picker:this})),this.initialised=!0),this},remove_image:function(t){t.preventDefault(),$(this.container).find(this.picker.options.image_display).removeClass("brown_border").attr({src:"",width:"",height:""}).css({width:"auto",height:"auto"}).hide(),$(this.container).find(this.picker.options.field).val("").trigger("change"),$(this.container).find(this.picker.options.no_image_message).show(),$(this.container).find(this.picker.options.remove_image_button).hide()},toggle_image:function(t){$(this.container).find(this.picker.options.image_toggler).html("Show"==$(this.container).find(this.picker.options.image_toggler).html()?"Hide":"Show"),$(this.container).find(this.picker.options.image_container).toggle(),t.preventDefault()},changed:function(){$(this.container).find(this.picker.options.field).val(this.image.id.replace("image_","")).trigger("change");var t=this.picker.options.thumbnail||"original";this.image.src=$(this.image).attr("data-"+t),current_image=$(this.container).find(this.picker.options.image_display),current_image.replaceWith($("<img src='"+this.image.src+"?"+Math.floor(1e5*Math.random())+"' id='"+current_image.attr("id")+"' class='"+this.picker.options.image_display.replace(/^./,"")+" brown_border' />")),$(this.container).find(this.picker.options.remove_image_button).show(),$(this.container).find(this.picker.options.no_image_message).hide()}},resource_picker={initialised:!1,callback:null,init:function(t){this.initialised||(this.callback=t,this.initialised=!0)}};close_dialog=function(t){iframed()?(the_body=$(parent.document.body),the_dialog=parent.$(".ui-dialog-content")):(the_body=$(document.body).removeClass("hide-overflow"),the_dialog=$(".ui-dialog-content"),the_dialog.filter(":data(dialog)").dialog("close"),the_dialog.remove()),$(document.body).hasClass("wym_iframe_body")||(the_body.removeClass("hide-overflow"),the_dialog.filter(":data(dialog)").dialog("close"),the_dialog.remove(),t&&t.preventDefault&&t.preventDefault())},parseURL=function(t){var e={href:t},i=t.replace("//","/").split("/");e.protocol=i[0],e.host=i[1],i[1]=i[1].split(":"),e.hostname=i[1][0],e.port=1<i[1].length?i[1][1]:"",i.splice(0,2),e.pathname="/"==e.href[0]?"/"+e.host:"",e.pathname+="/"+i.join("/"),e.pathname=e.pathname.split("#"),e.hash=1<e.pathname.length?"#"+e.pathname[1]:"",
+e.pathname=e.pathname[0],e.pathname=e.pathname.split("?"),e.search=1<e.pathname.length?"?"+e.pathname[1]:"",e.pathname=e.pathname[0];var n=t.split("?")[1];return e.options=n,e},iframed=function(){return parent&&parent.document&&parent.document.location.href!=document.location.href&&$.isFunction(parent.$)},$(document).ready(function(){$('nav#actions.multilist > ul:not(.search_list) li a[href$="'+window.location.pathname+'"]').not(".not_a_link a").parent().addClass("selected"),0===$("nav#actions.multilist > ul:not(.search_list) li.selected").length&&$("nav#actions.multilist > ul:not(.search_list) li a:nth(1)").parent().addClass("selected"),$("nav#actions.multilist > ul:not(.search_list) li > a").not(".not_a_link a").not("a.reorder_icon").each(function(){null==$(this).data("dialog-title")&&$(this).bind("click",function(){$(this).css("background-image","url('/assets/refinery/ajax-loader-ba9484edf9b3e640a57fad6430b15bdd.gif') !important")})}),$("ul.collapsible_menu").each(function(){(first_li=$(this).children("li:first")).after(div=$("<div></div>")),$("<span class='arrow'>&nbsp;</span>").appendTo(first_li),0===$(this).children("li.selected").length&&(div.hide(),first_li.addClass("closed")),$(this).children("li:not(:first)").appendTo(div),first_li.find("> a, > span.arrow").click(function(t){$(this).parent().toggleClass("closed"),$(this).parent().toggleClass("open"),$(this).parent().next("div").animate({opacity:"toggle",height:"toggle"},250,$.proxy(function(){$(this).css("background-image",null)},$(this))),t.preventDefault()})}),$(".success_icon, .failure_icon").bind("click",function(t){$.get($(this).attr("href"),$.proxy(function(t){$(this).css("background-image","").removeClass("failure_icon").removeClass("success_icon").addClass(t.enabled?"success_icon":"failure_icon")},$(this))),t.preventDefault()})}),function(){this.init_interface=function(){var t;return parent&&parent.document.location.href!==document.location.href&&$("body#dialog_container.dialog").addClass("iframed"),$("input:submit:not(.button)").addClass("button"),$("textarea.wymeditor").each(function(){var t,e,i,n;if(n=$(this),null!=(t=WYMeditor.INSTANCES[$((n.next(".wym_box").find("iframe").attr("id")||"").split("_")).last().get(0)])&&(null!=(e=n.parent().next())&&0<e.length&&e.find("input, textarea").keydown($.proxy(function(t){if(t.shiftKey&&t.keyCode===$.ui.keyCode.TAB)return this._iframe.contentWindow.focus(),t.preventDefault()},t)).keyup(function(){return!1}),null!=(i=n.parent().prev())&&0<i.length))return i.find("input, textarea").keydown($.proxy(function(t){if(t.keyCode===$.ui.keyCode.TAB)return this._iframe.contentWindow.focus(),t.preventDefault()},t))}),0<(t=$("#menu")).length&&t.jcarousel({vertical:!1,scroll:1,buttonNextHTML:"<img src='/assets/refinery/carousel-right-5b288008062fdd6c73b742f82f564eef.png' alt='down' height='15' width='10' />",buttonPrevHTML:"<img src='/assets/refinery/carousel-left-66712656360e353e8f35d31895a21538.png' alt='up' height='15' width='10' />",listTag:t.get(0).tagName.toLowerCase(),itemTag:t.children(":first").get(0).tagName.toLowerCase()}),$("#current_locale li a").click(function(t){return $("#current_locale li a span").each(function(){return $(this).css("display","none"===$(this).css("display")?"":"none")}),$("#other_locales").animate({opacity:"toggle",height:"toggle"},250),$("html,body").animate({scrollTop:$("#other_locales").parent().offset().top},250),t.preventDefault()}),$("#existing_image img").load(function(){var t;if(0<(t=$("#existing_image").height()-$("form.edit_image").height()+8))return $("form.edit_image .form-actions").css({"margin-top":t})}),$(".form-actions .form-actions-left input:submit#submit_button").click(function(){return $("<img src='/assets/refinery/ajax-loader-ba9484edf9b3e640a57fad6430b15bdd.gif' width='16' height='16' class='save-loader' />").appendTo($(this).parent())}),$(".form-actions.form-actions-dialog .form-actions-left a.close_dialog").click(function(t){var e;return e=$(".ui-dialog-titlebar-close"),parent&&(e=parent.$(".ui-dialog-titlebar-close")),e.trigger("click"),t.preventDefault()}),$("a.suppress").on("click",function(t){return t.preventDefault()})}}.call(this),function(){this.init_sortable_menu=function(){var t;if(0!==(t=$("#menu")).length)return t.sortable({items:"> *:not(#menu_reorder, #menu_reorder_done)",axis:"x",cursor:"crosshair",connectWith:".nested",update:function(){return $.post("/refinery/update_menu_positions",t.sortable("serialize",{key:"menu[]",expression:/plugin_([\w]*)$/}))}}).tabs(),t.sortable("disable"),t.find("#menu_reorder").click(function(t){return trigger_reordering(t,!0)}),t.find("#menu_reorder_done").click(function(t){return trigger_reordering(t,!1)})}}.call(this),function(){this.init_submit_continue=function(){var t;return $("#submit_continue_button").click(submit_and_continue),$("form").change(function(){return $(this).attr("data-changes-made",!0)}),0<(t=$("#continue_editing")).length&&"no-prompt"!==t.attr("rel")&&$("#editor_switch a").click(function(t){if(0<$("form[data-changes-made]").length&&!confirm("translation missing: en.js.admin.confirm_changes"))return t.preventDefault()}),$("input[id=page_custom_slug]").change(function(){return $("#submit_continue_button").remove()})}}.call(this),function(){this.init_ajaxy_pagination=function(){if("function"==typeof window.history.pushState&&0<$(".pagination_container").length&&$(".pagination_container .pagination a").on("click",function(t){var e,i;return i=this.href.replace(/(\&(amp\;)?)?from_page\=\d+/,""),i=(i+="&from_page="+$(".current").text()).replace("?&","?").replace(/\s+/,""),e=location.pathname+location.href.split(location.pathname)[1],window.history.pushState({path:e},"",i),$(document).paginateTo(i),t.preventDefault()}),$(".pagination_container").applyMinimumHeightFromChildren(),0===$(".pagination_container").find(".pagination").length)return $(".pagination_frame").css("top","0px")}}.call(this); \ No newline at end of file
diff --git a/public/assets/refinery/refinery-41dfb57e7405fff112fbf719272d4cb7.js.gz b/public/assets/refinery/refinery-41dfb57e7405fff112fbf719272d4cb7.js.gz
new file mode 100644
index 0000000..0ed0fe4
--- /dev/null
+++ b/public/assets/refinery/refinery-41dfb57e7405fff112fbf719272d4cb7.js.gz
Binary files differ
diff --git a/public/assets/refinery/refinery-fdf0e3ebc62a619d26537cf8801b3c9e.css.gz b/public/assets/refinery/refinery-fdf0e3ebc62a619d26537cf8801b3c9e.css.gz
index a2833c3..eefeee7 100644
--- a/public/assets/refinery/refinery-fdf0e3ebc62a619d26537cf8801b3c9e.css.gz
+++ b/public/assets/refinery/refinery-fdf0e3ebc62a619d26537cf8801b3c9e.css.gz
Binary files differ
diff --git a/public/assets/refinery/refinery.css.gz b/public/assets/refinery/refinery.css.gz
index a4ed58a..5959864 100644
--- a/public/assets/refinery/refinery.css.gz
+++ b/public/assets/refinery/refinery.css.gz
Binary files differ
diff --git a/public/assets/refinery/refinery.js b/public/assets/refinery/refinery.js
index ac2ba66..4b46072 100644
--- a/public/assets/refinery/refinery.js
+++ b/public/assets/refinery/refinery.js
@@ -11,7 +11,7 @@
*
* Date: 2013-05-24T18:39Z
*/
-function ImageDialog(t){(self=this).defaults={callback:null,multiple:!1},this.settings=$.extend({},this.defaults,t),this.create=function(){this.callback=this.settings.callback,this.init_tabs(),this.init_select(),this.init_actions()},this.init_tabs=function(){var t=$("#dialog_menu_left input:radio"),e=t.parent().filter(".selected_radio").find("input:radio").first()||t.first();t.click(function(){self.switch_area($(this))}),e.attr("checked","true"),self.switch_area(e)},this.switch_area=function(t){$("#dialog_menu_left .selected_radio").removeClass("selected_radio"),t.parent().addClass("selected_radio"),$("#dialog_main .dialog_area").hide(),$("#"+t.val()+"_area").show()},this.init_select=function(){$("#existing_image_area_content ul li img").click(function(){self.toggle_image($(this))}),0<(selected_img=$("#existing_image_area_content ul li.selected img")).length&&self.toggle_image(selected_img.first())},this.toggle_image=function(t){if(0<t.length){self.settings.multiple||$("#existing_image_area_content ul li.selected").removeClass("selected"),t.parent().toggleClass("selected");t.attr("data-id");var e=$("#existing_image_size_area li.selected a").attr("data-geometry"),i=$("#existing_image_size_area li.selected a").attr("data-size"),n=$("#wants_to_resize_image").is(":checked");image_url=n?t.attr("data-"+i):t.attr("data-original"),parent&&(null!=(wym_src=parent.document.getElementById("wym_src"))&&(wym_src.value=image_url),null!=(wym_title=parent.document.getElementById("wym_title"))&&(wym_title.value=t.attr("title")),null!=(wym_alt=parent.document.getElementById("wym_alt"))&&(wym_alt.value=t.attr("alt")),null!=(wym_size=parent.document.getElementById("wym_size"))&&void 0!==e&&(wym_size.value=e.replace(/[<>=]/g,"")))}},this.submit_image_choice=function(t){t.preventDefault(),selected_images=$("#existing_image_area_content ul li.selected img"),selected_images=self.settings.multiple?selected_images.get():selected_images.get(0),selected_images&&$.isFunction(self.callback)&&self.callback(selected_images),close_dialog(t)},this.init_actions=function(){$("#existing_image_area .form-actions-dialog #submit_button").not(".wym_iframe_body #existing_image_area .form-actions-dialog #submit_button").click($.proxy(self.submit_image_choice,self)),$(".form-actions-dialog #cancel_button").not(".wym_iframe_body .form-actions-dialog #cancel_button").click($.proxy(close_dialog,self)),$("#existing_image_size_area ul li a").click(function(t){$("#existing_image_size_area ul li").removeClass("selected"),$(this).parent().addClass("selected"),$("#existing_image_size_area #wants_to_resize_image").attr("checked","checked"),self.toggle_image($("#existing_image_area_content ul li.selected img")),t.preventDefault()}),$("#existing_image_size_area #wants_to_resize_image").change(function(){$(this).is(":checked")?$("#existing_image_size_area ul li:first a").click():($("#existing_image_size_area ul li").removeClass("selected"),self.toggle_image($("#existing_image_area_content ul li.selected img")))}),image_area=$("#existing_image_area").not("#wym_iframe_body #existing_image_area"),image_area.find(".form-actions input#submit_button").click($.proxy(function(t){t.preventDefault(),$(this.document.getElementById("wym_dialog_submit")).click()},parent)),image_area.find(".form-actions a.close_dialog").click(close_dialog)}}!function(m,k){function r(t){var e=t.length,i=Et.type(t);return!Et.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===i||"function"!==i&&(0===e||"number"==typeof e&&0<e&&e-1 in t)))}function t(t){var i=Ct[t]={};return Et.each(t.match(ut)||[],function(t,e){i[e]=!0}),i}function n(t,e,i,n){if(Et.acceptData(t)){var s,o,a=Et.expando,r=t.nodeType,l=r?Et.cache:t,h=r?t[a]:t[a]&&a;if(h&&l[h]&&(n||l[h].data)||i!==k||"string"!=typeof e)return h||(h=r?t[a]=et.pop()||Et.guid++:a),l[h]||(l[h]=r?{}:{toJSON:Et.noop}),"object"!=typeof e&&"function"!=typeof e||(n?l[h]=Et.extend(l[h],e):l[h].data=Et.extend(l[h].data,e)),o=l[h],n||(o.data||(o.data={}),o=o.data),i!==k&&(o[Et.camelCase(e)]=i),"string"==typeof e?null==(s=o[e])&&(s=o[Et.camelCase(e)]):s=o,s}}function i(t,e,i){if(Et.acceptData(t)){var n,s,o=t.nodeType,a=o?Et.cache:t,r=o?t[Et.expando]:Et.expando;if(a[r]){if(e&&(n=i?a[r]:a[r].data)){s=(e=Et.isArray(e)?e.concat(Et.map(e,Et.camelCase)):e in n?[e]:(e=Et.camelCase(e))in n?[e]:e.split(" ")).length;for(;s--;)delete n[e[s]];if(i?!h(n):!Et.isEmptyObject(n))return}(i||(delete a[r].data,h(a[r])))&&(o?Et.cleanData([t],!0):Et.support.deleteExpando||a!=a.window?delete a[r]:a[r]=null)}}}function l(t,e,i){if(i===k&&1===t.nodeType){var n="data-"+e.replace(Tt,"-$1").toLowerCase();if("string"==typeof(i=t.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:Dt.test(i)?Et.parseJSON(i):i)}catch(s){}Et.data(t,e,i)}else i=k}return i}function h(t){var e;for(e in t)if(("data"!==e||!Et.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function s(){return!0}function c(){return!1}function e(){try{return Q.activeElement}catch(t){}}function o(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function a(t,i,n){if(Et.isFunction(i))return Et.grep(t,function(t,e){return!!i.call(t,e,t)!==n});if(i.nodeType)return Et.grep(t,function(t){return t===i!==n});if("string"==typeof i){if(Rt.test(i))return Et.filter(i,t,n);i=Et.filter(i,t)}return Et.grep(t,function(t){return 0<=Et.inArray(t,i)!==n})}function g(t){var e=Ut.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}function u(t,e){return Et.nodeName(t,"table")&&Et.nodeName(1===e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function v(t){return t.type=(null!==Et.find.attr(t,"type"))+"/"+t.type,t}function _(t){var e=se.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function b(t,e){for(var i,n=0;null!=(i=t[n]);n++)Et._data(i,"globalEval",!e||Et._data(e[n],"globalEval"))}function d(t,e){if(1===e.nodeType&&Et.hasData(t)){var i,n,s,o=Et._data(t),a=Et._data(e,o),r=o.events;if(r)for(i in delete a.handle,a.events={},r)for(n=0,s=r[i].length;n<s;n++)Et.event.add(e,i,r[i][n]);a.data&&(a.data=Et.extend({},a.data))}}function p(t,e){var i,n,s;if(1===e.nodeType){if(i=e.nodeName.toLowerCase(),!Et.support.noCloneEvent&&e[Et.expando]){for(n in(s=Et._data(e)).events)Et.removeEvent(e,n,s.handle);e.removeAttribute(Et.expando)}"script"===i&&e.text!==t.text?(v(e).text=t.text,_(e)):"object"===i?(e.parentNode&&(e.outerHTML=t.outerHTML),Et.support.html5Clone&&t.innerHTML&&!Et.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===i&&ee.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===i?e.defaultSelected=e.selected=t.defaultSelected:"input"!==i&&"textarea"!==i||(e.defaultValue=t.defaultValue)}}function y(t,e){var i,n,s=0,o=typeof t.getElementsByTagName!==V?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==V?t.querySelectorAll(e||"*"):k;if(!o)for(o=[],i=t.childNodes||t;null!=(n=i[s]);s++)!e||Et.nodeName(n,e)?o.push(n):Et.merge(o,y(n,e));return e===k||e&&Et.nodeName(t,e)?Et.merge([t],o):o}function w(t){ee.test(t.type)&&(t.defaultChecked=t.checked)}function f(t,e){if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),n=e,s=ke.length;s--;)if((e=ke[s]+i)in t)return e;return n}function x(t,e){return t=e||t,"none"===Et.css(t,"display")||!Et.contains(t.ownerDocument,t)}function C(t,e){for(var i,n,s,o=[],a=0,r=t.length;a<r;a++)(n=t[a]).style&&(o[a]=Et._data(n,"olddisplay"),i=n.style.display,e?(o[a]||"none"!==i||(n.style.display=""),""===n.style.display&&x(n)&&(o[a]=Et._data(n,"olddisplay",N(n.nodeName)))):o[a]||(s=x(n),(i&&"none"!==i||!s)&&Et._data(n,"olddisplay",s?i:Et.css(n,"display"))));for(a=0;a<r;a++)(n=t[a]).style&&(e&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=e?o[a]||"":"none"));return t}function D(t,e,i){var n=ge.exec(e);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):e}function T(t,e,i,n,s){for(var o=i===(n?"border":"content")?4:"width"===e?1:0,a=0;o<4;o+=2)"margin"===i&&(a+=Et.css(t,i+xe[o],!0,s)),n?("content"===i&&(a-=Et.css(t,"padding"+xe[o],!0,s)),"margin"!==i&&(a-=Et.css(t,"border"+xe[o]+"Width",!0,s))):(a+=Et.css(t,"padding"+xe[o],!0,s),"padding"!==i&&(a+=Et.css(t,"border"+xe[o]+"Width",!0,s)));return a}function S(t,e,i){var n=!0,s="width"===e?t.offsetWidth:t.offsetHeight,o=he(t),a=Et.support.boxSizing&&"border-box"===Et.css(t,"boxSizing",!1,o);if(s<=0||null==s){if(((s=ce(t,e,o))<0||null==s)&&(s=t.style[e]),ve.test(s))return s;n=a&&(Et.support.boxSizingReliable||s===t.style[e]),s=parseFloat(s)||0}return s+T(t,e,i||(a?"border":"content"),n,o)+"px"}function N(t){var e=Q,i=be[t];return i||("none"!==(i=E(t,e))&&i||((e=((le=(le||Et("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(e.documentElement))[0].contentWindow||le[0].contentDocument).document).write("<!doctype html><html><body>"),e.close(),i=E(t,e),le.detach()),be[t]=i),i}function E(t,e){var i=Et(e.createElement(t)).appendTo(e.body),n=Et.css(i[0],"display");return i.remove(),n}function I(i,t,n,s){var e;if(Et.isArray(t))Et.each(t,function(t,e){n||De.test(i)?s(i,e):I(i+"["+("object"==typeof e?t:"")+"]",e,n,s)});else if(n||"object"!==Et.type(t))s(i,t);else for(e in t)I(i+"["+e+"]",t[e],n,s)}function P(o){return function(t,e){"string"!=typeof t&&(e=t,t="*");var i,n=0,s=t.toLowerCase().match(ut)||[];if(Et.isFunction(e))for(;i=s[n++];)"+"===i[0]?(i=i.slice(1)||"*",(o[i]=o[i]||[]).unshift(e)):(o[i]=o[i]||[]).push(e)}}function M(e,s,o,a){function r(t){var n;return l[t]=!0,Et.each(e[t]||[],function(t,e){var i=e(s,o,a);return"string"!=typeof i||h||l[i]?h?!(n=i):void 0:(s.dataTypes.unshift(i),r(i),!1)}),n}var l={},h=e===Re;return r(s.dataTypes[0])||!l["*"]&&r("*")}function A(t,e){var i,n,s=Et.ajaxSettings.flatOptions||{};for(n in e)e[n]!==k&&((s[n]?t:i||(i={}))[n]=e[n]);return i&&Et.extend(!0,t,i),t}function $(t,e,i){for(var n,s,o,a,r=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),s===k&&(s=t.mimeType||e.getResponseHeader("Content-Type"));if(s)for(a in r)if(r[a]&&r[a].test(s)){l.unshift(a);break}if(l[0]in i)o=l[0];else{for(a in i){if(!l[0]||t.converters[a+" "+l[0]]){o=a;break}n||(n=a)}o=o||n}if(o)return o!==l[0]&&l.unshift(o),i[o]}function z(t,e,i,n){var s,o,a,r,l,h={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)h[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(i[t.responseFields[o]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=h[l+" "+o]||h["* "+o]))for(s in h)if((r=s.split(" "))[1]===o&&(a=h[l+" "+r[0]]||h["* "+r[0]])){!0===a?a=h[s]:!0!==h[s]&&(o=r[0],c.unshift(r[1]));break}if(!0!==a)if(a&&t["throws"])e=a(e);else try{e=a(e)}catch(u){return{state:"parsererror",error:a?u:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}function H(){try{return new m.XMLHttpRequest}catch(t){}}function j(){try{return new m.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function W(){return setTimeout(function(){Qe=k}),Qe=Et.now()}function O(t,e,i){for(var n,s=(ii[e]||[]).concat(ii["*"]),o=0,a=s.length;o<a;o++)if(n=s[o].call(i,e,t))return n}function L(o,t,e){var i,a,n=0,s=ei.length,r=Et.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var t=Qe||W(),e=Math.max(0,h.startTime+h.duration-t),i=1-(e/h.duration||0),n=0,s=h.tweens.length;n<s;n++)h.tweens[n].run(i);return r.notifyWith(o,[h,i,e]),i<1&&s?e:(r.resolveWith(o,[h]),!1)},h=r.promise({elem:o,props:Et.extend({},t),opts:Et.extend(!0,{specialEasing:{}},e),originalProperties:t,originalOptions:e,startTime:Qe||W(),duration:e.duration,tweens:[],createTween:function(t,e){var i=Et.Tween(o,h.opts,t,e,h.opts.specialEasing[t]||h.opts.easing);return h.tweens.push(i),i},stop:function(t){var e=0,i=t?h.tweens.length:0;if(a)return this;for(a=!0;e<i;e++)h.tweens[e].run(1);return t?r.resolveWith(o,[h,t]):r.rejectWith(o,[h,t]),this}}),c=h.props;for(F(c,h.opts.specialEasing);n<s;n++)if(i=ei[n].call(h,o,c,h.opts))return i;return Et.map(c,O,h),Et.isFunction(h.opts.start)&&h.opts.start.call(o,h),Et.fx.timer(Et.extend(l,{elem:o,anim:h,queue:h.opts.queue})),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always)}function F(t,e){var i,n,s,o,a;for(i in t)if(s=e[n=Et.camelCase(i)],o=t[i],Et.isArray(o)&&(s=o[1],o=t[i]=o[0]),i!==n&&(t[n]=o,delete t[i]),(a=Et.cssHooks[n])&&"expand"in a)for(i in o=a.expand(o),delete t[n],o)i in t||(t[i]=o[i],e[i]=s);else e[n]=s}function R(e,t,i){var n,s,o,a,r,l,h=this,c={},u=e.style,d=e.nodeType&&x(e),p=Et._data(e,"fxshow");for(n in i.queue||(null==(r=Et._queueHooks(e,"fx")).unqueued&&(r.unqueued=0,l=r.empty.fire,r.empty.fire=function(){r.unqueued||l()}),r.unqueued++,h.always(function(){h.always(function(){r.unqueued--,Et.queue(e,"fx").length||r.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(i.overflow=[u.overflow,u.overflowX,u.overflowY],"inline"===Et.css(e,"display")&&"none"===Et.css(e,"float")&&(Et.support.inlineBlockNeedsLayout&&"inline"!==N(e.nodeName)?u.zoom=1:u.display="inline-block")),i.overflow&&(u.overflow="hidden",Et.support.shrinkWrapBlocks||h.always(function(){u.overflow=i.overflow[0],u.overflowX=i.overflow[1],u.overflowY=i.overflow[2]})),t)if(s=t[n],Je.exec(s)){if(delete t[n],o=o||"toggle"===s,s===(d?"hide":"show"))continue;c[n]=p&&p[n]||Et.style(e,n)}if(!Et.isEmptyObject(c))for(n in p?"hidden"in p&&(d=p.hidden):p=Et._data(e,"fxshow",{}),o&&(p.hidden=!d),d?Et(e).show():h.done(function(){Et(e).hide()}),h.done(function(){var t;for(t in Et._removeData(e,"fxshow"),c)Et.style(e,t,c[t])}),c)a=O(d?p[n]:0,n,h),n in p||(p[n]=a.start,d&&(a.end=a.start,a.start="width"===n||"height"===n?1:0))}function B(t,e,i,n,s){return new B.prototype.init(t,e,i,n,s)}function q(t,e){var i,n={height:t},s=0;for(e=e?1:0;s<4;s+=2-e)n["margin"+(i=xe[s])]=n["padding"+i]=t;return e&&(n.opacity=n.width=t),n}function Y(t){return Et.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}var U,K,V=typeof k,X=m.location,Q=m.document,G=Q.documentElement,J=m.jQuery,Z=m.$,tt={},et=[],it="1.10.0",nt=et.concat,st=et.push,ot=et.slice,at=et.indexOf,rt=tt.toString,lt=tt.hasOwnProperty,ht=it.trim,Et=function(t,e){return new Et.fn.init(t,e,K)},ct=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ut=/\S+/g,dt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,pt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ft=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,mt=/^[\],:{}\s]*$/,gt=/(?:^|:|,)(?:\s*\[)+/g,vt=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,_t=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,bt=/^-ms-/,yt=/-([\da-z])/gi,wt=function(t,e){return e.toUpperCase()},xt=function(t){(Q.addEventListener||"load"===t.type||"complete"===Q.readyState)&&(kt(),Et.ready())},kt=function(){Q.addEventListener?(Q.removeEventListener("DOMContentLoaded",xt,!1),m.removeEventListener("load",xt,!1)):(Q.detachEvent("onreadystatechange",xt),m.detachEvent("onload",xt))};Et.fn=Et.prototype={jquery:it,constructor:Et,init:function(t,e,i){var n,s;if(!t)return this;if("string"==typeof t){if(!(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:pt.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof Et?e[0]:e,Et.merge(this,Et.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:Q,!0)),ft.test(n[1])&&Et.isPlainObject(e))for(n in e)Et.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if((s=Q.getElementById(n[2]))&&s.parentNode){if(s.id!==n[2])return i.find(t);this.length=1,this[0]=s}return this.context=Q,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):Et.isFunction(t)?i.ready(t):(t.selector!==k&&(this.selector=t.selector,this.context=t.context),Et.makeArray(t,this))},selector:"",length:0,toArray:function(){return ot.call(this)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t){var e=Et.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return Et.each(this,t,e)},ready:function(t){return Et.ready.promise().done(t),this},slice:function(){return this.pushStack(ot.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(0<=i&&i<e?[this[i]]:[])},map:function(i){return this.pushStack(Et.map(this,function(t,e){return i.call(t,e,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:st,sort:[].sort,splice:[].splice},Et.fn.init.prototype=Et.fn,Et.extend=Et.fn.extend=function(t,e){var i,n,s,o,a,r,l=t||{},h=1,c=arguments.length,u=!1;for("boolean"==typeof l&&(u=l,l=e||{},h=2),"object"==typeof l||Et.isFunction(l)||(l={}),c===h&&(l=this,--h);h<c;h++)if(null!=(a=arguments[h]))for(o in a)i=l[o],l!==(s=a[o])&&(u&&s&&(Et.isPlainObject(s)||(n=Et.isArray(s)))?(n?(n=!1,r=i&&Et.isArray(i)?i:[]):r=i&&Et.isPlainObject(i)?i:{},l[o]=Et.extend(u,r,s)):s!==k&&(l[o]=s));return l},Et.extend({expando:"jQuery"+(it+Math.random()).replace(/\D/g,""),noConflict:function(t){return m.$===Et&&(m.$=Z),t&&m.jQuery===Et&&(m.jQuery=J),Et},isReady:!1,readyWait:1,holdReady:function(t){t?Et.readyWait++:Et.ready(!0)},ready:function(t){if(!0===t?!--Et.readyWait:!Et.isReady){if(!Q.body)return setTimeout(Et.ready);(Et.isReady=!0)!==t&&0<--Et.readyWait||(U.resolveWith(Q,[Et]),Et.fn.trigger&&Et(Q).trigger("ready").off("ready"))}},isFunction:function(t){return"function"===Et.type(t)},isArray:Array.isArray||function(t){return"array"===Et.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?String(t):"object"==typeof t||"function"==typeof t?tt[rt.call(t)]||"object":typeof t},isPlainObject:function(t){var e;if(!t||"object"!==Et.type(t)||t.nodeType||Et.isWindow(t))return!1;try{if(t.constructor&&!lt.call(t,"constructor")&&!lt.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(i){return!1}if(Et.support.ownLast)for(e in t)return lt.call(t,e);for(e in t);return e===k||lt.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},error:function(t){throw new Error(t)},parseHTML:function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||Q;var n=ft.exec(t),s=!i&&[];return n?[e.createElement(n[1])]:(n=Et.buildFragment([t],e,s),s&&Et(s).remove(),Et.merge([],n.childNodes))},parseJSON:function(t){return m.JSON&&m.JSON.parse?m.JSON.parse(t):null===t?t:"string"==typeof t&&(t=Et.trim(t))&&mt.test(t.replace(vt,"@").replace(_t,"]").replace(gt,""))?new Function("return "+t)():void Et.error("Invalid JSON: "+t)},parseXML:function(t){var e;if(!t||"string"!=typeof t)return null;try{m.DOMParser?e=(new DOMParser).parseFromString(t,"text/xml"):((e=new ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t))}catch(i){e=k}return e&&e.documentElement&&!e.getElementsByTagName("parsererror").length||Et.error("Invalid XML: "+t),e},noop:function(){},globalEval:function(t){t&&Et.trim(t)&&(m.execScript||function(t){m.eval.call(m,t)})(t)},camelCase:function(t){return t.replace(bt,"ms-").replace(yt,wt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var n=0,s=t.length,o=r(t);if(i){if(o)for(;n<s&&!1!==e.apply(t[n],i);n++);else for(n in t)if(!1===e.apply(t[n],i))break}else if(o)for(;n<s&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},trim:ht&&!ht.call("\ufeff\xa0")?function(t){return null==t?"":ht.call(t)}:function(t){return null==t?"":(t+"").replace(dt,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(r(Object(t))?Et.merge(i,"string"==typeof t?[t]:t):st.call(i,t)),i},inArray:function(t,e,i){var n;if(e){if(at)return at.call(e,t,i);for(n=e.length,i=i?i<0?Math.max(0,n+i):i:0;i<n;i++)if(i in e&&e[i]===t)return i}return-1},merge:function(t,e){var i=e.length,n=t.length,s=0;if("number"==typeof i)for(;s<i;s++)t[n++]=e[s];else for(;e[s]!==k;)t[n++]=e[s++];return t.length=n,t},grep:function(t,e,i){var n=[],s=0,o=t.length;for(i=!!i;s<o;s++)i!==!!e(t[s],s)&&n.push(t[s]);return n},map:function(t,e,i){var n,s=0,o=t.length,a=[];if(r(t))for(;s<o;s++)null!=(n=e(t[s],s,i))&&(a[a.length]=n);else for(s in t)null!=(n=e(t[s],s,i))&&(a[a.length]=n);return nt.apply([],a)},guid:1,proxy:function(t,e){var i,n,s;return"string"==typeof e&&(s=t[e],e=t,t=s),Et.isFunction(t)?(i=ot.call(arguments,2),(n=function(){return t.apply(e||this,i.concat(ot.call(arguments)))}).guid=t.guid=t.guid||Et.guid++,n):k},access:function(t,e,i,n,s,o,a){var r=0,l=t.length,h=null==i;if("object"===Et.type(i))for(r in s=!0,i)Et.access(t,e,r,i[r],!0,o,a);else if(n!==k&&(s=!0,Et.isFunction(n)||(a=!0),h&&(a?(e.call(t,n),e=null):(h=e,e=function(t,e,i){return h.call(Et(t),i)})),e))for(;r<l;r++)e(t[r],i,a?n:n.call(t[r],r,e(t[r],i)));return s?t:h?e.call(t):l?e(t[0],i):o},now:function(){return(new Date).getTime()},swap:function(t,e,i,n){var s,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];for(o in s=i.apply(t,n||[]),e)t.style[o]=a[o];return s}}),Et.ready.promise=function(e){if(!U)if(U=Et.Deferred(),"complete"===Q.readyState)setTimeout(Et.ready);else if(Q.addEventListener)Q.addEventListener("DOMContentLoaded",xt,!1),m.addEventListener("load",xt,!1);else{Q.attachEvent("onreadystatechange",xt),m.attachEvent("onload",xt);var i=!1;try{i=null==m.frameElement&&Q.documentElement}catch(n){}i&&i.doScroll&&function t(){if(!Et.isReady){try{i.doScroll("left")}catch(n){return setTimeout(t,50)}kt(),Et.ready()}}()}return U.promise(e)},Et.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){tt["[object "+e+"]"]=e.toLowerCase()}),K=Et(Q),
+function ImageDialog(t){(self=this).defaults={callback:null,multiple:!1},this.settings=$.extend({},this.defaults,t),this.create=function(){this.callback=this.settings.callback,this.init_tabs(),this.init_select(),this.init_actions()},this.init_tabs=function(){var t=$("#dialog_menu_left input:radio"),e=t.parent().filter(".selected_radio").find("input:radio").first()||t.first();t.click(function(){self.switch_area($(this))}),e.attr("checked","true"),self.switch_area(e)},this.switch_area=function(t){$("#dialog_menu_left .selected_radio").removeClass("selected_radio"),t.parent().addClass("selected_radio"),$("#dialog_main .dialog_area").hide(),$("#"+t.val()+"_area").show()},this.init_select=function(){$("#existing_image_area_content ul li img").click(function(){self.toggle_image($(this))}),0<(selected_img=$("#existing_image_area_content ul li.selected img")).length&&self.toggle_image(selected_img.first())},this.toggle_image=function(t){if(0<t.length){self.settings.multiple||$("#existing_image_area_content ul li.selected").removeClass("selected"),t.parent().toggleClass("selected");t.attr("data-id");var e=$("#existing_image_size_area li.selected a").attr("data-geometry"),i=$("#existing_image_size_area li.selected a").attr("data-size"),n=$("#wants_to_resize_image").is(":checked");image_url=n?t.attr("data-"+i):t.attr("data-original"),parent&&(null!=(wym_src=parent.document.getElementById("wym_src"))&&(wym_src.value=image_url),null!=(wym_title=parent.document.getElementById("wym_title"))&&(wym_title.value=t.attr("title")),null!=(wym_alt=parent.document.getElementById("wym_alt"))&&(wym_alt.value=t.attr("alt")),null!=(wym_size=parent.document.getElementById("wym_size"))&&void 0!==e&&(wym_size.value=e.replace(/[<>=]/g,"")))}},this.submit_image_choice=function(t){t.preventDefault(),selected_images=$("#existing_image_area_content ul li.selected img"),selected_images=self.settings.multiple?selected_images.get():selected_images.get(0),selected_images&&$.isFunction(self.callback)&&self.callback(selected_images),close_dialog(t)},this.init_actions=function(){$("#existing_image_area .form-actions-dialog #submit_button").not(".wym_iframe_body #existing_image_area .form-actions-dialog #submit_button").click($.proxy(self.submit_image_choice,self)),$(".form-actions-dialog #cancel_button").not(".wym_iframe_body .form-actions-dialog #cancel_button").click($.proxy(close_dialog,self)),$("#existing_image_size_area ul li a").click(function(t){$("#existing_image_size_area ul li").removeClass("selected"),$(this).parent().addClass("selected"),$("#existing_image_size_area #wants_to_resize_image").attr("checked","checked"),self.toggle_image($("#existing_image_area_content ul li.selected img")),t.preventDefault()}),$("#existing_image_size_area #wants_to_resize_image").change(function(){$(this).is(":checked")?$("#existing_image_size_area ul li:first a").click():($("#existing_image_size_area ul li").removeClass("selected"),self.toggle_image($("#existing_image_area_content ul li.selected img")))}),image_area=$("#existing_image_area").not("#wym_iframe_body #existing_image_area"),image_area.find(".form-actions input#submit_button").click($.proxy(function(t){t.preventDefault(),$(this.document.getElementById("wym_dialog_submit")).click()},parent)),image_area.find(".form-actions a.close_dialog").click(close_dialog)}}!function(m,k){function r(t){var e=t.length,i=Et.type(t);return!Et.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===i||"function"!==i&&(0===e||"number"==typeof e&&0<e&&e-1 in t)))}function t(t){var i=Ct[t]={};return Et.each(t.match(ut)||[],function(t,e){i[e]=!0}),i}function n(t,e,i,n){if(Et.acceptData(t)){var s,o,a=Et.expando,r=t.nodeType,l=r?Et.cache:t,h=r?t[a]:t[a]&&a;if(h&&l[h]&&(n||l[h].data)||i!==k||"string"!=typeof e)return h||(h=r?t[a]=et.pop()||Et.guid++:a),l[h]||(l[h]=r?{}:{toJSON:Et.noop}),"object"!=typeof e&&"function"!=typeof e||(n?l[h]=Et.extend(l[h],e):l[h].data=Et.extend(l[h].data,e)),o=l[h],n||(o.data||(o.data={}),o=o.data),i!==k&&(o[Et.camelCase(e)]=i),"string"==typeof e?null==(s=o[e])&&(s=o[Et.camelCase(e)]):s=o,s}}function i(t,e,i){if(Et.acceptData(t)){var n,s,o=t.nodeType,a=o?Et.cache:t,r=o?t[Et.expando]:Et.expando;if(a[r]){if(e&&(n=i?a[r]:a[r].data)){s=(e=Et.isArray(e)?e.concat(Et.map(e,Et.camelCase)):e in n?[e]:(e=Et.camelCase(e))in n?[e]:e.split(" ")).length;for(;s--;)delete n[e[s]];if(i?!h(n):!Et.isEmptyObject(n))return}(i||(delete a[r].data,h(a[r])))&&(o?Et.cleanData([t],!0):Et.support.deleteExpando||a!=a.window?delete a[r]:a[r]=null)}}}function l(t,e,i){if(i===k&&1===t.nodeType){var n="data-"+e.replace(Tt,"-$1").toLowerCase();if("string"==typeof(i=t.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:Dt.test(i)?Et.parseJSON(i):i)}catch(s){}Et.data(t,e,i)}else i=k}return i}function h(t){var e;for(e in t)if(("data"!==e||!Et.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function s(){return!0}function c(){return!1}function e(){try{return Q.activeElement}catch(t){}}function o(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function a(t,i,n){if(Et.isFunction(i))return Et.grep(t,function(t,e){return!!i.call(t,e,t)!==n});if(i.nodeType)return Et.grep(t,function(t){return t===i!==n});if("string"==typeof i){if(Rt.test(i))return Et.filter(i,t,n);i=Et.filter(i,t)}return Et.grep(t,function(t){return 0<=Et.inArray(t,i)!==n})}function g(t){var e=Ut.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}function u(t,e){return Et.nodeName(t,"table")&&Et.nodeName(1===e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function v(t){return t.type=(null!==Et.find.attr(t,"type"))+"/"+t.type,t}function _(t){var e=se.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function b(t,e){for(var i,n=0;null!=(i=t[n]);n++)Et._data(i,"globalEval",!e||Et._data(e[n],"globalEval"))}function d(t,e){if(1===e.nodeType&&Et.hasData(t)){var i,n,s,o=Et._data(t),a=Et._data(e,o),r=o.events;if(r)for(i in delete a.handle,a.events={},r)for(n=0,s=r[i].length;n<s;n++)Et.event.add(e,i,r[i][n]);a.data&&(a.data=Et.extend({},a.data))}}function p(t,e){var i,n,s;if(1===e.nodeType){if(i=e.nodeName.toLowerCase(),!Et.support.noCloneEvent&&e[Et.expando]){for(n in(s=Et._data(e)).events)Et.removeEvent(e,n,s.handle);e.removeAttribute(Et.expando)}"script"===i&&e.text!==t.text?(v(e).text=t.text,_(e)):"object"===i?(e.parentNode&&(e.outerHTML=t.outerHTML),Et.support.html5Clone&&t.innerHTML&&!Et.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===i&&ee.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===i?e.defaultSelected=e.selected=t.defaultSelected:"input"!==i&&"textarea"!==i||(e.defaultValue=t.defaultValue)}}function y(t,e){var i,n,s=0,o=typeof t.getElementsByTagName!==V?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==V?t.querySelectorAll(e||"*"):k;if(!o)for(o=[],i=t.childNodes||t;null!=(n=i[s]);s++)!e||Et.nodeName(n,e)?o.push(n):Et.merge(o,y(n,e));return e===k||e&&Et.nodeName(t,e)?Et.merge([t],o):o}function w(t){ee.test(t.type)&&(t.defaultChecked=t.checked)}function f(t,e){if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),n=e,s=ke.length;s--;)if((e=ke[s]+i)in t)return e;return n}function x(t,e){return t=e||t,"none"===Et.css(t,"display")||!Et.contains(t.ownerDocument,t)}function C(t,e){for(var i,n,s,o=[],a=0,r=t.length;a<r;a++)(n=t[a]).style&&(o[a]=Et._data(n,"olddisplay"),i=n.style.display,e?(o[a]||"none"!==i||(n.style.display=""),""===n.style.display&&x(n)&&(o[a]=Et._data(n,"olddisplay",N(n.nodeName)))):o[a]||(s=x(n),(i&&"none"!==i||!s)&&Et._data(n,"olddisplay",s?i:Et.css(n,"display"))));for(a=0;a<r;a++)(n=t[a]).style&&(e&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=e?o[a]||"":"none"));return t}function D(t,e,i){var n=ge.exec(e);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):e}function T(t,e,i,n,s){for(var o=i===(n?"border":"content")?4:"width"===e?1:0,a=0;o<4;o+=2)"margin"===i&&(a+=Et.css(t,i+xe[o],!0,s)),n?("content"===i&&(a-=Et.css(t,"padding"+xe[o],!0,s)),"margin"!==i&&(a-=Et.css(t,"border"+xe[o]+"Width",!0,s))):(a+=Et.css(t,"padding"+xe[o],!0,s),"padding"!==i&&(a+=Et.css(t,"border"+xe[o]+"Width",!0,s)));return a}function S(t,e,i){var n=!0,s="width"===e?t.offsetWidth:t.offsetHeight,o=he(t),a=Et.support.boxSizing&&"border-box"===Et.css(t,"boxSizing",!1,o);if(s<=0||null==s){if(((s=ce(t,e,o))<0||null==s)&&(s=t.style[e]),ve.test(s))return s;n=a&&(Et.support.boxSizingReliable||s===t.style[e]),s=parseFloat(s)||0}return s+T(t,e,i||(a?"border":"content"),n,o)+"px"}function N(t){var e=Q,i=be[t];return i||("none"!==(i=E(t,e))&&i||((e=((le=(le||Et("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(e.documentElement))[0].contentWindow||le[0].contentDocument).document).write("<!doctype html><html><body>"),e.close(),i=E(t,e),le.detach()),be[t]=i),i}function E(t,e){var i=Et(e.createElement(t)).appendTo(e.body),n=Et.css(i[0],"display");return i.remove(),n}function I(i,t,n,s){var e;if(Et.isArray(t))Et.each(t,function(t,e){n||De.test(i)?s(i,e):I(i+"["+("object"==typeof e?t:"")+"]",e,n,s)});else if(n||"object"!==Et.type(t))s(i,t);else for(e in t)I(i+"["+e+"]",t[e],n,s)}function P(o){return function(t,e){"string"!=typeof t&&(e=t,t="*");var i,n=0,s=t.toLowerCase().match(ut)||[];if(Et.isFunction(e))for(;i=s[n++];)"+"===i[0]?(i=i.slice(1)||"*",(o[i]=o[i]||[]).unshift(e)):(o[i]=o[i]||[]).push(e)}}function M(e,s,o,a){function r(t){var n;return l[t]=!0,Et.each(e[t]||[],function(t,e){var i=e(s,o,a);return"string"!=typeof i||h||l[i]?h?!(n=i):void 0:(s.dataTypes.unshift(i),r(i),!1)}),n}var l={},h=e===Re;return r(s.dataTypes[0])||!l["*"]&&r("*")}function A(t,e){var i,n,s=Et.ajaxSettings.flatOptions||{};for(n in e)e[n]!==k&&((s[n]?t:i||(i={}))[n]=e[n]);return i&&Et.extend(!0,t,i),t}function $(t,e,i){for(var n,s,o,a,r=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),s===k&&(s=t.mimeType||e.getResponseHeader("Content-Type"));if(s)for(a in r)if(r[a]&&r[a].test(s)){l.unshift(a);break}if(l[0]in i)o=l[0];else{for(a in i){if(!l[0]||t.converters[a+" "+l[0]]){o=a;break}n||(n=a)}o=o||n}if(o)return o!==l[0]&&l.unshift(o),i[o]}function z(t,e,i,n){var s,o,a,r,l,h={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)h[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(i[t.responseFields[o]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=h[l+" "+o]||h["* "+o]))for(s in h)if((r=s.split(" "))[1]===o&&(a=h[l+" "+r[0]]||h["* "+r[0]])){!0===a?a=h[s]:!0!==h[s]&&(o=r[0],c.unshift(r[1]));break}if(!0!==a)if(a&&t["throws"])e=a(e);else try{e=a(e)}catch(u){return{state:"parsererror",error:a?u:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}function H(){try{return new m.XMLHttpRequest}catch(t){}}function j(){try{return new m.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function W(){return setTimeout(function(){Qe=k}),Qe=Et.now()}function O(t,e,i){for(var n,s=(ii[e]||[]).concat(ii["*"]),o=0,a=s.length;o<a;o++)if(n=s[o].call(i,e,t))return n}function L(o,t,e){var i,a,n=0,s=ei.length,r=Et.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var t=Qe||W(),e=Math.max(0,h.startTime+h.duration-t),i=1-(e/h.duration||0),n=0,s=h.tweens.length;n<s;n++)h.tweens[n].run(i);return r.notifyWith(o,[h,i,e]),i<1&&s?e:(r.resolveWith(o,[h]),!1)},h=r.promise({elem:o,props:Et.extend({},t),opts:Et.extend(!0,{specialEasing:{}},e),originalProperties:t,originalOptions:e,startTime:Qe||W(),duration:e.duration,tweens:[],createTween:function(t,e){var i=Et.Tween(o,h.opts,t,e,h.opts.specialEasing[t]||h.opts.easing);return h.tweens.push(i),i},stop:function(t){var e=0,i=t?h.tweens.length:0;if(a)return this;for(a=!0;e<i;e++)h.tweens[e].run(1);return t?r.resolveWith(o,[h,t]):r.rejectWith(o,[h,t]),this}}),c=h.props;for(F(c,h.opts.specialEasing);n<s;n++)if(i=ei[n].call(h,o,c,h.opts))return i;return Et.map(c,O,h),Et.isFunction(h.opts.start)&&h.opts.start.call(o,h),Et.fx.timer(Et.extend(l,{elem:o,anim:h,queue:h.opts.queue})),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always)}function F(t,e){var i,n,s,o,a;for(i in t)if(s=e[n=Et.camelCase(i)],o=t[i],Et.isArray(o)&&(s=o[1],o=t[i]=o[0]),i!==n&&(t[n]=o,delete t[i]),(a=Et.cssHooks[n])&&"expand"in a)for(i in o=a.expand(o),delete t[n],o)i in t||(t[i]=o[i],e[i]=s);else e[n]=s}function R(e,t,i){var n,s,o,a,r,l,h=this,c={},u=e.style,d=e.nodeType&&x(e),p=Et._data(e,"fxshow");for(n in i.queue||(null==(r=Et._queueHooks(e,"fx")).unqueued&&(r.unqueued=0,l=r.empty.fire,r.empty.fire=function(){r.unqueued||l()}),r.unqueued++,h.always(function(){h.always(function(){r.unqueued--,Et.queue(e,"fx").length||r.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(i.overflow=[u.overflow,u.overflowX,u.overflowY],"inline"===Et.css(e,"display")&&"none"===Et.css(e,"float")&&(Et.support.inlineBlockNeedsLayout&&"inline"!==N(e.nodeName)?u.zoom=1:u.display="inline-block")),i.overflow&&(u.overflow="hidden",Et.support.shrinkWrapBlocks||h.always(function(){u.overflow=i.overflow[0],u.overflowX=i.overflow[1],u.overflowY=i.overflow[2]})),t)if(s=t[n],Je.exec(s)){if(delete t[n],o=o||"toggle"===s,s===(d?"hide":"show"))continue;c[n]=p&&p[n]||Et.style(e,n)}if(!Et.isEmptyObject(c))for(n in p?"hidden"in p&&(d=p.hidden):p=Et._data(e,"fxshow",{}),o&&(p.hidden=!d),d?Et(e).show():h.done(function(){Et(e).hide()}),h.done(function(){var t;for(t in Et._removeData(e,"fxshow"),c)Et.style(e,t,c[t])}),c)a=O(d?p[n]:0,n,h),n in p||(p[n]=a.start,d&&(a.end=a.start,a.start="width"===n||"height"===n?1:0))}function B(t,e,i,n,s){return new B.prototype.init(t,e,i,n,s)}function q(t,e){var i,n={height:t},s=0;for(e=e?1:0;s<4;s+=2-e)n["margin"+(i=xe[s])]=n["padding"+i]=t;return e&&(n.opacity=n.width=t),n}function Y(t){return Et.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}var U,K,V=typeof k,X=m.location,Q=m.document,G=Q.documentElement,J=m.jQuery,Z=m.$,tt={},et=[],it="1.10.0",nt=et.concat,st=et.push,ot=et.slice,at=et.indexOf,rt=tt.toString,lt=tt.hasOwnProperty,ht=it.trim,Et=function(t,e){return new Et.fn.init(t,e,K)},ct=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ut=/\S+/g,dt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,pt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ft=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,mt=/^[\],:{}\s]*$/,gt=/(?:^|:|,)(?:\s*\[)+/g,vt=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,_t=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,bt=/^-ms-/,yt=/-([\da-z])/gi,wt=function(t,e){return e.toUpperCase()},xt=function(t){(Q.addEventListener||"load"===t.type||"complete"===Q.readyState)&&(kt(),Et.ready())},kt=function(){Q.addEventListener?(Q.removeEventListener("DOMContentLoaded",xt,!1),m.removeEventListener("load",xt,!1)):(Q.detachEvent("onreadystatechange",xt),m.detachEvent("onload",xt))};Et.fn=Et.prototype={jquery:it,constructor:Et,init:function(t,e,i){var n,s;if(!t)return this;if("string"!=typeof t)return t.nodeType?(this.context=this[0]=t,this.length=1,this):Et.isFunction(t)?i.ready(t):(t.selector!==k&&(this.selector=t.selector,this.context=t.context),Et.makeArray(t,this));if(!(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:pt.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof Et?e[0]:e,Et.merge(this,Et.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:Q,!0)),ft.test(n[1])&&Et.isPlainObject(e))for(n in e)Et.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if((s=Q.getElementById(n[2]))&&s.parentNode){if(s.id!==n[2])return i.find(t);this.length=1,this[0]=s}return this.context=Q,this.selector=t,this},selector:"",length:0,toArray:function(){return ot.call(this)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t){var e=Et.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return Et.each(this,t,e)},ready:function(t){return Et.ready.promise().done(t),this},slice:function(){return this.pushStack(ot.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(0<=i&&i<e?[this[i]]:[])},map:function(i){return this.pushStack(Et.map(this,function(t,e){return i.call(t,e,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:st,sort:[].sort,splice:[].splice},Et.fn.init.prototype=Et.fn,Et.extend=Et.fn.extend=function(t,e){var i,n,s,o,a,r,l=t||{},h=1,c=arguments.length,u=!1;for("boolean"==typeof l&&(u=l,l=e||{},h=2),"object"==typeof l||Et.isFunction(l)||(l={}),c===h&&(l=this,--h);h<c;h++)if(null!=(a=arguments[h]))for(o in a)i=l[o],l!==(s=a[o])&&(u&&s&&(Et.isPlainObject(s)||(n=Et.isArray(s)))?(n?(n=!1,r=i&&Et.isArray(i)?i:[]):r=i&&Et.isPlainObject(i)?i:{},l[o]=Et.extend(u,r,s)):s!==k&&(l[o]=s));return l},Et.extend({expando:"jQuery"+(it+Math.random()).replace(/\D/g,""),noConflict:function(t){return m.$===Et&&(m.$=Z),t&&m.jQuery===Et&&(m.jQuery=J),Et},isReady:!1,readyWait:1,holdReady:function(t){t?Et.readyWait++:Et.ready(!0)},ready:function(t){if(!0===t?!--Et.readyWait:!Et.isReady){if(!Q.body)return setTimeout(Et.ready);(Et.isReady=!0)!==t&&0<--Et.readyWait||(U.resolveWith(Q,[Et]),Et.fn.trigger&&Et(Q).trigger("ready").off("ready"))}},isFunction:function(t){return"function"===Et.type(t)},isArray:Array.isArray||function(t){return"array"===Et.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?String(t):"object"==typeof t||"function"==typeof t?tt[rt.call(t)]||"object":typeof t},isPlainObject:function(t){var e;if(!t||"object"!==Et.type(t)||t.nodeType||Et.isWindow(t))return!1;try{if(t.constructor&&!lt.call(t,"constructor")&&!lt.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(i){return!1}if(Et.support.ownLast)for(e in t)return lt.call(t,e);for(e in t);return e===k||lt.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},error:function(t){throw new Error(t)},parseHTML:function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||Q;var n=ft.exec(t),s=!i&&[];return n?[e.createElement(n[1])]:(n=Et.buildFragment([t],e,s),s&&Et(s).remove(),Et.merge([],n.childNodes))},parseJSON:function(t){return m.JSON&&m.JSON.parse?m.JSON.parse(t):null===t?t:"string"==typeof t&&(t=Et.trim(t))&&mt.test(t.replace(vt,"@").replace(_t,"]").replace(gt,""))?new Function("return "+t)():void Et.error("Invalid JSON: "+t)},parseXML:function(t){var e;if(!t||"string"!=typeof t)return null;try{m.DOMParser?e=(new DOMParser).parseFromString(t,"text/xml"):((e=new ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t))}catch(i){e=k}return e&&e.documentElement&&!e.getElementsByTagName("parsererror").length||Et.error("Invalid XML: "+t),e},noop:function(){},globalEval:function(t){t&&Et.trim(t)&&(m.execScript||function(t){m.eval.call(m,t)})(t)},camelCase:function(t){return t.replace(bt,"ms-").replace(yt,wt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var n=0,s=t.length,o=r(t);if(i){if(o)for(;n<s&&!1!==e.apply(t[n],i);n++);else for(n in t)if(!1===e.apply(t[n],i))break}else if(o)for(;n<s&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},trim:ht&&!ht.call("\ufeff\xa0")?function(t){return null==t?"":ht.call(t)}:function(t){return null==t?"":(t+"").replace(dt,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(r(Object(t))?Et.merge(i,"string"==typeof t?[t]:t):st.call(i,t)),i},inArray:function(t,e,i){var n;if(e){if(at)return at.call(e,t,i);for(n=e.length,i=i?i<0?Math.max(0,n+i):i:0;i<n;i++)if(i in e&&e[i]===t)return i}return-1},merge:function(t,e){var i=e.length,n=t.length,s=0;if("number"==typeof i)for(;s<i;s++)t[n++]=e[s];else for(;e[s]!==k;)t[n++]=e[s++];return t.length=n,t},grep:function(t,e,i){var n=[],s=0,o=t.length;for(i=!!i;s<o;s++)i!==!!e(t[s],s)&&n.push(t[s]);return n},map:function(t,e,i){var n,s=0,o=t.length,a=[];if(r(t))for(;s<o;s++)null!=(n=e(t[s],s,i))&&(a[a.length]=n);else for(s in t)null!=(n=e(t[s],s,i))&&(a[a.length]=n);return nt.apply([],a)},guid:1,proxy:function(t,e){var i,n,s;return"string"==typeof e&&(s=t[e],e=t,t=s),Et.isFunction(t)?(i=ot.call(arguments,2),(n=function(){return t.apply(e||this,i.concat(ot.call(arguments)))}).guid=t.guid=t.guid||Et.guid++,n):k},access:function(t,e,i,n,s,o,a){var r=0,l=t.length,h=null==i;if("object"===Et.type(i))for(r in s=!0,i)Et.access(t,e,r,i[r],!0,o,a);else if(n!==k&&(s=!0,Et.isFunction(n)||(a=!0),h&&(a?(e.call(t,n),e=null):(h=e,e=function(t,e,i){return h.call(Et(t),i)})),e))for(;r<l;r++)e(t[r],i,a?n:n.call(t[r],r,e(t[r],i)));return s?t:h?e.call(t):l?e(t[0],i):o},now:function(){return(new Date).getTime()},swap:function(t,e,i,n){var s,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];for(o in s=i.apply(t,n||[]),e)t.style[o]=a[o];return s}}),Et.ready.promise=function(t){if(!U)if(U=Et.Deferred(),"complete"===Q.readyState)setTimeout(Et.ready);else if(Q.addEventListener)Q.addEventListener("DOMContentLoaded",xt,!1),m.addEventListener("load",xt,!1);else{Q.attachEvent("onreadystatechange",xt),m.attachEvent("onload",xt);var e=!1;try{e=null==m.frameElement&&Q.documentElement}catch(i){}e&&e.doScroll&&function n(){if(!Et.isReady){try{e.doScroll("left")}catch(i){return setTimeout(n,50)}kt(),Et.ready()}}()}return U.promise(t)},Et.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){tt["[object "+e+"]"]=e.toLowerCase()}),K=Et(Q),
/*!
* Sizzle CSS Selector Engine v1.9.4-pre
* http://sizzlejs.com/
@@ -22,16 +22,16 @@ function ImageDialog(t){(self=this).defaults={callback:null,multiple:!1},this.se
*
* Date: 2013-05-15
*/
-function(i,s){function w(t,e,i,n){var s,o,a,r,l,h,c,u,d,p;if((e?e.ownerDocument||e:q)!==H&&z(e),i=i||[],!t||"string"!=typeof t)return i;if(1!==(r=(e=e||H).nodeType)&&9!==r)return[];if(W&&!n){if(s=xt.exec(t))if(a=s[1]){if(9===r){if(!(o=e.getElementById(a))||!o.parentNode)return i;if(o.id===a)return i.push(o),i}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(a))&&R(e,o)&&o.id===a)return i.push(o),i}else{if(s[2])return st.apply(i,e.getElementsByTagName(t)),i;if((a=s[3])&&S.getElementsByClassName&&e.getElementsByClassName)return st.apply(i,e.getElementsByClassName(a)),i}if(S.qsa&&(!O||!O.test(t))){if(u=c=B,d=e,p=9===r&&t,1===r&&"object"!==e.nodeName.toLowerCase()){for(h=m(t),(c=e.getAttribute("id"))?u=c.replace(Dt,"\\$&"):e.setAttribute("id",u),u="[id='"+u+"'] ",l=h.length;l--;)h[l]=u+g(h[l]);d=gt.test(t)&&e.parentNode||e,p=h.join(",")}if(p)try{return st.apply(i,d.querySelectorAll(p)),i}catch(f){}finally{c||e.removeAttribute("id")}}}return C(t.replace(pt,"$1"),e,i,n)}function e(t){return wt.test(t+"")}function t(){function i(t,e){return n.push(t+=" ")>E.cacheLength&&delete i[n.shift()],i[t]=e}var n=[];return i}function l(t){return t[B]=!0,t}function n(t){var e=H.createElement("div");try{return!!t(e)}catch(i){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e,i){for(var n,s=(t=t.split("|")).length,o=i?null:e;s--;)(n=E.attrHandle[t[s]])&&n!==e||(E.attrHandle[t[s]]=o)}function a(t,e){var i=t.getAttributeNode(e);return i&&i.specified?i.value:!0===t[e]?e.toLowerCase():null}function r(t,e){return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}function h(t){if("input"===t.nodeName.toLowerCase())return t.defaultValue}function c(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||Z)-(~t.sourceIndex||Z);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function u(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function d(i){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===i}}function p(a){return l(function(o){return o=+o,l(function(t,e){for(var i,n=a([],t.length,o),s=n.length;s--;)t[i=n[s]]&&(t[i]=!(e[i]=t[i]))})})}function m(t,e){var i,n,s,o,a,r,l,h=V[t+" "];if(h)return e?0:h.slice(0);for(a=t,r=[],l=E.preFilter;a;){for(o in i&&!(n=ft.exec(a))||(n&&(a=a.slice(n[0].length)||a),r.push(s=[])),i=!1,(n=mt.exec(a))&&(i=n.shift(),s.push({value:i,type:n[0].replace(pt," ")}),a=a.slice(i.length)),E.filter)!(n=yt[o].exec(a))||l[o]&&!(n=l[o](n))||(i=n.shift(),s.push({value:i,type:o,matches:n}),a=a.slice(i.length));if(!i)break}return e?a.length:a?w.error(t):V(t,r).slice(0)}function g(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function f(r,t,e){var l=t.dir,h=e&&"parentNode"===l,c=U++;return t.first?function(t,e,i){for(;t=t[l];)if(1===t.nodeType||h)return r(t,e,i)}:function(t,e,i){var n,s,o,a=Y+" "+c;if(i){for(;t=t[l];)if((1===t.nodeType||h)&&r(t,e,i))return!0}else for(;t=t[l];)if(1===t.nodeType||h)if((s=(o=t[B]||(t[B]={}))[l])&&s[0]===a){if(!0===(n=s[1])||n===N)return!0===n}else if((s=o[l]=[a])[1]=r(t,e,i)||N,!0===s[1])return!0}}function v(s){return 1<s.length?function(t,e,i){for(var n=s.length;n--;)if(!s[n](t,e,i))return!1;return!0}:s[0]}function x(t,e,i,n,s){for(var o,a=[],r=0,l=t.length,h=null!=e;r<l;r++)(o=t[r])&&(i&&!i(o,n,s)||(a.push(o),h&&e.push(r)));return a}function _(p,f,m,g,v,t){return g&&!g[B]&&(g=_(g)),v&&!v[B]&&(v=_(v,t)),l(function(t,e,i,n){var s,o,a,r=[],l=[],h=e.length,c=t||k(f||"*",i.nodeType?[i]:i,[]),u=!p||!t&&f?c:x(c,r,p,i,n),d=m?v||(t?p:h||g)?[]:e:u;if(m&&m(u,d,i,n),g)for(s=x(d,l),g(s,[],i,n),o=s.length;o--;)(a=s[o])&&(d[l[o]]=!(u[l[o]]=a));if(t){if(v||p){if(v){for(s=[],o=d.length;o--;)(a=d[o])&&s.push(u[o]=a);v(null,d=[],s,n)}for(o=d.length;o--;)(a=d[o])&&-1<(s=v?at.call(t,a):r[o])&&(t[s]=!(e[s]=a))}}else d=x(d===e?d.splice(h,d.length):d),v?v(null,e,d,n):st.apply(e,d)})}function b(t){for(var n,e,i,s=t.length,o=E.relative[t[0].type],a=o||E.relative[" "],r=o?1:0,l=f(function(t){return t===n},a,!0),h=f(function(t){return-1<at.call(n,t)},a,!0),c=[function(t,e,i){return!o&&(i||e!==A)||((n=e).nodeType?l(t,e,i):h(t,e,i))}];r<s;r++)if(e=E.relative[t[r].type])c=[f(v(c),e)];else{if((e=E.filter[t[r].type].apply(null,t[r].matches))[B]){for(i=++r;i<s&&!E.relative[t[i].type];i++);return _(1<r&&v(c),1<r&&g(t.slice(0,r-1).concat({value:" "===t[r-2].type?"*":""})).replace(pt,"$1"),e,r<i&&b(t.slice(r,i)),i<s&&b(t=t.slice(i)),i<s&&g(t))}c.push(e)}return v(c)}function y(g,v){var _=0,b=0<v.length,y=0<g.length,t=function(t,e,i,n,s){var o,a,r,l=[],h=0,c="0",u=t&&[],d=null!=s,p=A,f=t||y&&E.find.TAG("*",s&&e.parentNode||e),m=Y+=null==p?1:Math.random()||.1;for(d&&(A=e!==H&&e,N=_);null!=(o=f[c]);c++){if(y&&o){for(a=0;r=g[a++];)if(r(o,e,i)){n.push(o);break}d&&(Y=m,N=++_)}b&&((o=!r&&o)&&h--,t&&u.push(o))}if(h+=c,b&&c!==h){for(a=0;r=v[a++];)r(u,l,e,i);if(t){if(0<h)for(;c--;)u[c]||l[c]||(l[c]=it.call(n));l=x(l)}st.apply(n,l),d&&!t&&0<l.length&&1<h+v.length&&w.uniqueSort(n)}return d&&(Y=m,A=p),u};return b?l(t):t}function k(t,e,i){for(var n=0,s=e.length;n<s;n++)w(t,e[n],i);return i}function C(t,e,i,n){var s,o,a,r,l,h=m(t);if(!n&&1===h.length){if(2<(o=h[0]=h[0].slice(0)).length&&"ID"===(a=o[0]).type&&S.getById&&9===e.nodeType&&W&&E.relative[o[1].type]){if(!(e=(E.find.ID(a.matches[0].replace(Tt,St),e)||[])[0]))return i;t=t.slice(o.shift().value.length)}for(s=yt.needsContext.test(t)?0:o.length;s--&&(a=o[s],!E.relative[r=a.type]);)if((l=E.find[r])&&(n=l(a.matches[0].replace(Tt,St),gt.test(o[0].type)&&e.parentNode||e))){if(o.splice(s,1),!(t=n.length&&g(o)))return st.apply(i,n),i;break}}return M(t,h)(n,e,!W,i,gt.test(t)),i}function D(){}var T,S,N,E,I,P,M,A,$,z,H,j,W,O,L,F,R,B="sizzle"+-new Date,q=i.document,Y=0,U=0,K=t(),V=t(),X=t(),Q=!1,G=function(){return 0},J=typeof s,Z=1<<31,tt={}.hasOwnProperty,et=[],it=et.pop,nt=et.push,st=et.push,ot=et.slice,at=et.indexOf||function(t){for(var e=0,i=this.length;e<i;e++)if(this[e]===t)return e;return-1},rt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",lt="[\\x20\\t\\r\\n\\f]",ht="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ct=ht.replace("w","w#"),ut="\\["+lt+"*("+ht+")"+lt+"*(?:([*^$|!~]?=)"+lt+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ct+")|)|)"+lt+"*\\]",dt=":("+ht+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+ut.replace(3,8)+")*)|.*)\\)|)",pt=new RegExp("^"+lt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+lt+"+$","g"),ft=new RegExp("^"+lt+"*,"+lt+"*"),mt=new RegExp("^"+lt+"*([>+~]|"+lt+")"+lt+"*"),gt=new RegExp(lt+"*[+~]"),vt=new RegExp("="+lt+"*([^\\]'\"]*)"+lt+"*\\]","g"),_t=new RegExp(dt),bt=new RegExp("^"+ct+"$"),yt={ID:new RegExp("^#("+ht+")"),CLASS:new RegExp("^\\.("+ht+")"),TAG:new RegExp("^("+ht.replace("w","w*")+")"),ATTR:new RegExp("^"+ut),PSEUDO:new RegExp("^"+dt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+lt+"*(even|odd|(([+-]|)(\\d*)n|)"+lt+"*(?:([+-]|)"+lt+"*(\\d+)|))"+lt+"*\\)|)","i"),bool:new RegExp("^(?:"+rt+")$","i"),needsContext:new RegExp("^"+lt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+lt+"*((?:-\\d)?\\d*)"+lt+"*\\)|)(?=[^-]|$)","i")},wt=/^[^{]+\{\s*\[native \w/,xt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,kt=/^(?:input|select|textarea|button)$/i,Ct=/^h\d$/i,Dt=/'|\\/g,Tt=new RegExp("\\\\([\\da-f]{1,6}"+lt+"?|("+lt+")|.)","ig"),St=function(t,e,i){var n="0x"+e-65536;return n!=n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)};try{st.apply(et=ot.call(q.childNodes),q.childNodes),et[q.childNodes.length].nodeType}catch(Nt){st={apply:et.length?function(t,e){nt.apply(t,ot.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}for(T in P=w.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},S=w.support={},z=w.setDocument=function(t){var l=t?t.ownerDocument||t:q;return l!==H&&9===l.nodeType&&l.documentElement?(j=(H=l).documentElement,W=!P(l),S.attributes=n(function(t){return t.innerHTML="<a href='#'></a>",o("type|href|height|width",r,"#"===t.firstChild.getAttribute("href")),o(rt,a,null==t.getAttribute("disabled")),t.className="i",!t.getAttribute("className")}),S.input=n(function(t){return t.innerHTML="<input>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}),o("value",h,S.attributes&&S.input),S.getElementsByTagName=n(function(t){return t.appendChild(l.createComment("")),!t.getElementsByTagName("*").length}),S.getElementsByClassName=n(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),S.getById=n(function(t){return j.appendChild(t).id=B,!l.getElementsByName||!l.getElementsByName(B).length}),S.getById?(E.find.ID=function(t,e){if(typeof e.getElementById!==J&&W){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},E.filter.ID=function(t){var e=t.replace(Tt,St);return function(t){return t.getAttribute("id")===e}}):(delete E.find.ID,E.filter.ID=function(t){var i=t.replace(Tt,St);return function(t){var e=typeof t.getAttributeNode!==J&&t.getAttributeNode("id");return e&&e.value===i}}),E.find.TAG=S.getElementsByTagName?function(t,e){if(typeof e.getElementsByTagName!==J)return e.getElementsByTagName(t)}:function(t,e){var i,n=[],s=0,o=e.getElementsByTagName(t);if("*"===t){for(;i=o[s++];)1===i.nodeType&&n.push(i);return n}return o},E.find.CLASS=S.getElementsByClassName&&function(t,e){if(typeof e.getElementsByClassName!==J&&W)return e.getElementsByClassName(t)},L=[],O=[],(S.qsa=e(l.querySelectorAll))&&(n(function(t){t.innerHTML="<select><option selected=''></option></select>",t.querySelectorAll("[selected]").length||O.push("\\["+lt+"*(?:value|"+rt+")"),t.querySelectorAll(":checked").length||O.push(":checked")}),n(function(t){var e=l.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("t",""),t.querySelectorAll("[t^='']").length&&O.push("[*^$]="+lt+"*(?:''|\"\")"),t.querySelectorAll(":enabled").length||O.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),O.push(",.*:")})),(S.matchesSelector=e(F=j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&n(function(t){S.disconnectedMatch=F.call(t,"div"),F.call(t,"[s!='']:x"),L.push("!=",dt)}),O=O.length&&new RegExp(O.join("|")),L=L.length&&new RegExp(L.join("|")),R=e(j.contains)||j.compareDocumentPosition?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},S.sortDetached=n(function(t){return 1&t.compareDocumentPosition(l.createElement("div"))}),G=j.compareDocumentPosition?function(t,e){if(t===e)return Q=!0,0;var i=e.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(e);return i?1&i||!S.sortDetached&&e.compareDocumentPosition(t)===i?t===l||R(q,t)?-1:e===l||R(q,e)?1:$?at.call($,t)-at.call($,e):0:4&i?-1:1:t.compareDocumentPosition?-1:1}:function(t,e){var i,n=0,s=t.parentNode,o=e.parentNode,a=[t],r=[e];if(t===e)return Q=!0,0;if(!s||!o)return t===l?-1:e===l?1:s?-1:o?1:$?at.call($,t)-at.call($,e):0;if(s===o)return c(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)r.unshift(i);for(;a[n]===r[n];)n++;return n?c(a[n],r[n]):a[n]===q?-1:r[n]===q?1:0},l):H},w.matches=function(t,e){return w(t,null,null,e)},w.matchesSelector=function(t,e){if((t.ownerDocument||t)!==H&&z(t),e=e.replace(vt,"='$1']"),S.matchesSelector&&W&&(!L||!L.test(e))&&(!O||!O.test(e)))try{var i=F.call(t,e);if(i||S.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(Nt){}return 0<w(e,H,null,[t]).length},w.contains=function(t,e){return(t.ownerDocument||t)!==H&&z(t),R(t,e)},w.attr=function(t,e){(t.ownerDocument||t)!==H&&z(t);var i=E.attrHandle[e.toLowerCase()],n=i&&tt.call(E.attrHandle,e.toLowerCase())?i(t,e,!W):s;return n===s?S.attributes||!W?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null:n},w.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},w.uniqueSort=function(t){var e,i=[],n=0,s=0;if(Q=!S.detectDuplicates,$=!S.sortStable&&t.slice(0),t.sort(G),Q){for(;e=t[s++];)e===t[s]&&(n=i.push(s));for(;n--;)t.splice(i[n],1)}return t},I=w.getText=function(t){var e,i="",n=0,s=t.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=I(t)}else if(3===s||4===s)return t.nodeValue}else for(;e=t[n];n++)i+=I(e);return i},E=w.selectors={cacheLength:50,createPseudo:l,match:yt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Tt,St),t[3]=(t[4]||t[5]||"").replace(Tt,St),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||w.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&w.error(t[0]),t},PSEUDO:function(t){var e,i=!t[5]&&t[2];return yt.CHILD.test(t[0])?null:(t[3]&&t[4]!==s?t[2]=t[4]:i&&_t.test(i)&&(e=m(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(Tt,St).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=K[t+" "];return e||(e=new RegExp("(^|"+lt+")"+t+"("+lt+"|$)"))&&K(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==J&&t.getAttribute("class")||"")})},ATTR:function(i,n,s){return function(t){var e=w.attr(t,i);return null==e?"!="===n:!n||(e+="","="===n?e===s:"!="===n?e!==s:"^="===n?s&&0===e.indexOf(s):"*="===n?s&&-1<e.indexOf(s):"$="===n?s&&e.slice(-s.length)===s:"~="===n?-1<(" "+e+" ").indexOf(s):"|="===n&&(e===s||e.slice(0,s.length+1)===s+"-"))}},CHILD:function(p,t,e,f,m){var g="nth"!==p.slice(0,3),v="last"!==p.slice(-4),_="of-type"===t;return 1===f&&0===m?function(t){return!!t.parentNode}:function(t,e,i){var n,s,o,a,r,l,h=g!==v?"nextSibling":"previousSibling",c=t.parentNode,u=_&&t.nodeName.toLowerCase(),d=!i&&!_;if(c){if(g){for(;h;){for(o=t;o=o[h];)if(_?o.nodeName.toLowerCase()===u:1===o.nodeType)return!1;l=h="only"===p&&!l&&"nextSibling"}return!0}if(l=[v?c.firstChild:c.lastChild],v&&d){for(r=(n=(s=c[B]||(c[B]={}))[p]||[])[0]===Y&&n[1],a=n[0]===Y&&n[2],o=r&&c.childNodes[r];o=++r&&o&&o[h]||(a=r=0)||l.pop();)if(1===o.nodeType&&++a&&o===t){s[p]=[Y,r,a];break}}else if(d&&(n=(t[B]||(t[B]={}))[p])&&n[0]===Y)a=n[1];else for(;(o=++r&&o&&o[h]||(a=r=0)||l.pop())&&((_?o.nodeName.toLowerCase()!==u:1!==o.nodeType)||!++a||(d&&((o[B]||(o[B]={}))[p]=[Y,a]),o!==t)););return(a-=m)===f||a%f==0&&0<=a/f}}},PSEUDO:function(t,o){var e,a=E.pseudos[t]||E.setFilters[t.toLowerCase()]||w.error("unsupported pseudo: "+t);return a[B]?a(o):1<a.length?(e=[t,t,"",o],E.setFilters.hasOwnProperty(t.toLowerCase())?l(function(t,e){for(var i,n=a(t,o),s=n.length;s--;)t[i=at.call(t,n[s])]=!(e[i]=n[s])}):function(t){return a(t,0,e)}):a}},pseudos:{not:l(function(t){var n=[],s=[],r=M(t.replace(pt,"$1"));return r[B]?l(function(t,e,i,n){for(var s,o=r(t,null,n,[]),a=t.length;a--;)(s=o[a])&&(t[a]=!(e[a]=s))}):function(t,e,i){return n[0]=t,r(n,null,i,s),!s.pop()}}),has:l(function(e){return function(t){return 0<w(e,t).length}}),contains:l(function(e){return function(t){return-1<(t.textContent||t.innerText||I(t)).indexOf(e)}}),lang:l(function(i){return bt.test(i||"")||w.error("unsupported lang: "+i),i=i.replace(Tt,St).toLowerCase(),function(t){var e;do{if(e=W?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===i||0===e.indexOf(i+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=i.location&&i.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===j},focus:function(t){return t===H.activeElement&&(!H.hasFocus||H.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if("@"<t.nodeName||3===t.nodeType||4===t.nodeType)return!1;return!0},parent:function(t){return!E.pseudos.empty(t)},header:function(t){return Ct.test(t.nodeName)},input:function(t){return kt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||e.toLowerCase()===t.type)},first:p(function(){return[0]}),last:p(function(t,e){return[e-1]}),eq:p(function(t,e,i){return[i<0?i+e:i]}),even:p(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:p(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:p(function(t,e,i){for(var n=i<0?i+e:i;0<=--n;)t.push(n);return t}),gt:p(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}},{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})E.pseudos[T]=u(T);for(T in{submit:!0,reset:!0})E.pseudos[T]=d(T);M=w.compile=function(t,e){var i,n=[],s=[],o=X[t+" "];if(!o){for(e||(e=m(t)),i=e.length;i--;)(o=b(e[i]))[B]?n.push(o):s.push(o);o=X(t,y(s,n))}return o},E.pseudos.nth=E.pseudos.eq,D.prototype=E.filters=E.pseudos,E.setFilters=new D,S.sortStable=B.split("").sort(G).join("")===B,z(),[0,0].sort(G),S.detectDuplicates=Q,Et.find=w,Et.expr=w.selectors,Et.expr[":"]=Et.expr.pseudos,Et.unique=w.uniqueSort,Et.text=w.getText,Et.isXMLDoc=w.isXML,Et.contains=w.contains}(m);var Ct={};Et.Callbacks=function(s){s="string"==typeof s?Ct[s]||t(s):Et.extend({},s);var o,e,i,a,n,r,l=[],h=!s.once&&[],c=function(t){for(e=s.memory&&t,i=!0,n=r||0,r=0,a=l.length,o=!0;l&&n<a;n++)if(!1===l[n].apply(t[0],t[1])&&s.stopOnFalse){e=!1;break}o=!1,l&&(h?h.length&&c(h.shift()):e?l=[]:u.disable())},u={add:function(){if(l){var t=l.length;!function n(t){Et.each(t,function(t,e){var i=Et.type(e);"function"===i?s.unique&&u.has(e)||l.push(e):e&&e.length&&"string"!==i&&n(e)})}(arguments),o?a=l.length:e&&(r=t,c(e))}return this},remove:function(){return l&&Et.each(arguments,function(t,e){for(var i;-1<(i=Et.inArray(e,l,i));)l.splice(i,1),o&&(i<=a&&a--,i<=n&&n--)}),this},has:function(t){return t?-1<Et.inArray(t,l):!(!l||!l.length)},empty:function(){return l=[],a=0,this},disable:function(){return l=h=e=k,this},disabled:function(){return!l},lock:function(){return h=k,e||u.disable(),this},locked:function(){return!h},fireWith:function(t,e){return e=[t,(e=e||[]).slice?e.slice():e],!l||i&&!h||(o?h.push(e):c(e)),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},Et.extend({Deferred:function(t){var a=[["resolve","done",Et.Callbacks("once memory"),"resolved"],["reject","fail",Et.Callbacks("once memory"),"rejected"],["notify","progress",Et.Callbacks("memory")]],s="pending",r={state:function(){return s},always:function(){return l.done(arguments).fail(arguments),this},then:function(){var o=arguments;return Et.Deferred(function(s){Et.each(a,function(t,e){var i=e[0],n=Et.isFunction(o[t])&&o[t];l[e[1]](function(){var t=n&&n.apply(this,arguments);t&&Et.isFunction(t.promise)?t.promise().done(s.resolve).fail(s.reject).progress(s.notify):s[i+"With"](this===r?s.promise():this,n?[t]:arguments)})}),o=null}).promise()},promise:function(t){return null!=t?Et.extend(t,r):r}},l={};return r.pipe=r.then,Et.each(a,function(t,e){var i=e[2],n=e[3];r[e[1]]=i.add,n&&i.add(function(){s=n},a[1^t][2].disable,a[2][2].lock),l[e[0]]=function(){return l[e[0]+"With"](this===l?r:this,arguments),this},l[e[0]+"With"]=i.fireWith}),r.promise(l),t&&t.call(l,l),l},when:function(t){var s,e,i,n=0,o=ot.call(arguments),a=o.length,r=1!==a||t&&Et.isFunction(t.promise)?a:0,l=1===r?t:Et.Deferred(),h=function(e,i,n){return function(t){i[e]=this,n[e]=1<arguments.length?ot.call(arguments):t,n===s?l.notifyWith(i,n):--r||l.resolveWith(i,n)}};if(1<a)for(s=new Array(a),e=new Array(a),i=new Array(a);n<a;n++)o[n]&&Et.isFunction(o[n].promise)?o[n].promise().done(h(n,i,o)).fail(l.reject).progress(h(n,e,s)):--r;return r||l.resolveWith(i,o),l.promise()}}),Et.support=function(o){var t,e,i,n,s,a,r,l,h,c=Q.createElement("div");if(c.setAttribute("className","t"),c.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=c.getElementsByTagName("*")||[],!(e=c.getElementsByTagName("a")[0])||!e.style||!t.length)return o;a=(n=Q.createElement("select")).appendChild(Q.createElement("option")),i=c.getElementsByTagName("input")[0],e.style.cssText="top:1px;float:left;opacity:.5",o.getSetAttribute="t"!==c.className,o.leadingWhitespace=3===c.firstChild.nodeType,o.tbody=!c.getElementsByTagName("tbody").length,o.htmlSerialize=!!c.getElementsByTagName("link").length,o.style=/top/.test(e.getAttribute("style")),o.hrefNormalized="/a"===e.getAttribute("href"),o.opacity=/^0.5/.test(e.style.opacity),o.cssFloat=!!e.style.cssFloat,o.checkOn=!!i.value,o.optSelected=a.selected,o.enctype=!!Q.createElement("form").enctype,o.html5Clone="<:nav></:nav>"!==Q.createElement("nav").cloneNode(!0).outerHTML,o.inlineBlockNeedsLayout=!1,o.shrinkWrapBlocks=!1,o.pixelPosition=!1,o.deleteExpando=!0,o.noCloneEvent=!0,o.reliableMarginRight=!0,o.boxSizingReliable=!0,i.checked=!0,o.noCloneChecked=i.cloneNode(!0).checked,n.disabled=!0,o.optDisabled=!a.disabled;try{delete c.test}catch(u){o.deleteExpando=!1}for(h in(i=Q.createElement("input")).setAttribute("value",""),o.input=""===i.getAttribute("value"),i.value="t",i.setAttribute("type","radio"),o.radioValue="t"===i.value,i.setAttribute("checked","t"),i.setAttribute("name","t"),(s=Q.createDocumentFragment()).appendChild(i),o.appendChecked=i.checked,o.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,c.attachEvent&&(c.attachEvent("onclick",function(){o.noCloneEvent=!1}),c.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})c.setAttribute(r="on"+h,"t"),o[h+"Bubbles"]=r in m||!1===c.attributes[r].expando;for(h in c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===c.style.backgroundClip,Et(o))break;return o.ownLast="0"!==h,Et(function(){var t,e,i,n="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",s=Q.getElementsByTagName("body")[0];s&&((t=Q.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",s.appendChild(t).appendChild(c),c.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(i=c.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",l=0===i[0].offsetHeight,i[0].style.display="",i[1].style.display="none",o.reliableHiddenOffsets=l&&0===i[0].offsetHeight,c.innerHTML="",c.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%;",Et.swap(s,null!=s.style.zoom?{zoom:1}:{},function(){o.boxSizing=4===c.offsetWidth}),m.getComputedStyle&&(o.pixelPosition="1%"!==(m.getComputedStyle(c,null)||{}).top,o.boxSizingReliable="4px"===(m.getComputedStyle(c,null)||{width:"4px"}).width,(e=c.appendChild(Q.createElement("div"))).style.cssText=c.style.cssText=n,e.style.marginRight=e.style.width="0",c.style.width="1px",o.reliableMarginRight=!parseFloat((m.getComputedStyle(e,null)||{}).marginRight)),typeof c.style.zoom!==V&&(c.innerHTML="",c.style.cssText=n+"width:1px;padding:1px;display:inline;zoom:1",o.inlineBlockNeedsLayout=3===c.offsetWidth,c.style.display="block",c.innerHTML="<div></div>",c.firstChild.style.width="5px",o.shrinkWrapBlocks=3!==c.offsetWidth,o.inlineBlockNeedsLayout&&(s.style.zoom=1)),s.removeChild(t),t=c=i=e=null)}),t=n=s=a=e=i=null,o}({});var Dt=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Tt=/([A-Z])/g;Et.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?Et.cache[t[Et.expando]]:t[Et.expando])&&!h(t)},data:function(t,e,i){return n(t,e,i)},removeData:function(t,e){return i(t,e)},_data:function(t,e,i){return n(t,e,i,!0)},_removeData:function(t,e){return i(t,e,!0)},acceptData:function(t){if(t.nodeType&&1!==t.nodeType&&9!==t.nodeType)return!1;var e=t.nodeName&&Et.noData[t.nodeName.toLowerCase()];return!e||!0!==e&&t.getAttribute("classid")===e}}),Et.fn.extend({data:function(t,e){var i,n,s=null,o=0,a=this[0];if(t===k){if(this.length&&(s=Et.data(a),1===a.nodeType&&!Et._data(a,"parsedAttrs"))){for(i=a.attributes;o<i.length;o++)0===(n=i[o].name).indexOf("data-")&&l(a,n=Et.camelCase(n.slice(5)),s[n]);Et._data(a,"parsedAttrs",!0)}return s}return"object"==typeof t?this.each(function(){Et.data(this,t)}):1<arguments.length?this.each(function(){Et.data(this,t,e)}):a?l(a,t,Et.data(a,t)):null},removeData:function(t){return this.each(function(){Et.removeData(this,t)})}}),Et.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=Et._data(t,e),i&&(!n||Et.isArray(i)?n=Et._data(t,e,Et.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=Et.queue(t,e),n=i.length,s=i.shift(),o=Et._queueHooks(t,e),a=function(){Et.dequeue(t,e)};"inprogress"===s&&(s=i.shift(),n--),(o.cur=s)&&("fx"===e&&i.unshift("inprogress"),delete o.stop,s.call(t,a,o)),!n&&o&&o.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return Et._data(t,i)||Et._data(t,i,{empty:Et.Callbacks("once memory").add(function(){Et._removeData(t,e+"queue"),Et._removeData(t,i)})})}}),Et.fn.extend({queue:function(e,i){var t=2;return"string"!=typeof e&&(i=e,e="fx",t--),arguments.length<t?Et.queue(this[0],e):i===k?this:this.each(function(){var t=Et.queue(this,e,i);Et._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&Et.dequeue(this,e)})},dequeue:function(t){return this.each(function(){Et.dequeue(this,t)})},delay:function(n,t){return n=Et.fx&&Et.fx.speeds[n]||n,t=t||"fx",this.queue(t,function(t,e){var i=setTimeout(t,n);e.stop=function(){clearTimeout(i)}})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,s=Et.Deferred(),o=this,a=this.length,r=function(){--n||s.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=k),t=t||"fx";a--;)(i=Et._data(o[a],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(r));return r(),s.promise(e)}});var St,Nt,It=/[\t\r\n\f]/g,Pt=/\r/g,Mt=/^(?:input|select|textarea|button|object)$/i,At=/^(?:a|area)$/i,$t=/^(?:checked|selected)$/i,zt=Et.support.getSetAttribute,Ht=Et.support.input;Et.fn.extend({attr:function(t,e){return Et.access(this,Et.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){Et.removeAttr(this,t)})},prop:function(t,e){return Et.access(this,Et.prop,t,e,1<arguments.length)},removeProp:function(e){return e=Et.propFix[e]||e,this.each(function(){try{this[e]=k,delete this[e]}catch(t){}})},addClass:function(e){var t,i,n,s,o,a=0,r=this.length,l="string"==typeof e&&e;if(Et.isFunction(e))return this.each(function(t){Et(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(ut)||[];a<r;a++)if(n=1===(i=this[a]).nodeType&&(i.className?(" "+i.className+" ").replace(It," "):" ")){for(o=0;s=t[o++];)n.indexOf(" "+s+" ")<0&&(n+=s+" ");i.className=Et.trim(n)}return this},removeClass:function(e){var t,i,n,s,o,a=0,r=this.length,l=0===arguments.length||"string"==typeof e&&e;if(Et.isFunction(e))return this.each(function(t){Et(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(ut)||[];a<r;a++)if(n=1===(i=this[a]).nodeType&&(i.className?(" "+i.className+" ").replace(It," "):"")){for(o=0;s=t[o++];)for(;0<=n.indexOf(" "+s+" ");)n=n.replace(" "+s+" "," ");i.className=e?Et.trim(n):""}return this},toggleClass:function(o,a){var r=typeof o,l="boolean"==typeof a;return Et.isFunction(o)?this.each(function(t){Et(this).toggleClass(o.call(this,t,this.className,a),a)}):this.each(function(){if("string"===r)for(var t,e=0,i=Et(this),n=a,s=o.match(ut)||[];t=s[e++];)n=l?n:!i.hasClass(t),i[n?"addClass":"removeClass"](t);else r!==V&&"boolean"!==r||(this.className&&Et._data(this,"__className__",this.className),this.className=this.className||!1===o?"":Et._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",i=0,n=this.length;i<n;i++)if(1===this[i].nodeType&&0<=(" "+this[i].className+" ").replace(It," ").indexOf(e))return!0;return!1},val:function(i){var t,n,s,e=this[0];return arguments.length?(s=Et.isFunction(i),this.each(function(t){var e;1===this.nodeType&&(null==(e=s?i.call(this,t,Et(this).val()):i)?e="":"number"==typeof e?e+="":Et.isArray(e)&&(e=Et.map(e,function(t){return null==t?"":t+""})),(n=Et.valHooks[this.type]||Et.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&n.set(this,e,"value")!==k||(this.value=e))})):e?(n=Et.valHooks[e.type]||Et.valHooks[e.nodeName.toLowerCase()])&&"get"in n&&(t=n.get(e,"value"))!==k?t:"string"==typeof(t=e.value)?t.replace(Pt,""):null==t?"":t:void 0}}),Et.extend({valHooks:{option:{get:function(t){var e=Et.find.attr(t,"value");return null!=e?e:t.text}},select:{get:function(t){for(var e,i,n=t.options,s=t.selectedIndex,o="select-one"===t.type||s<0,a=o?null:[],r=o?s+1:n.length,l=s<0?r:o?s:0;l<r;l++)if(((i=n[l]).selected||l===s)&&(Et.support.optDisabled?!i.disabled:null===i.getAttribute("disabled"))&&(!i.parentNode.disabled||!Et.nodeName(i.parentNode,"optgroup"))){if(e=Et(i).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var i,n,s=t.options,o=Et.makeArray(e),a=s.length;a--;)((n=s[a]).selected=0<=Et.inArray(Et(n).val(),o))&&(i=!0);return i||(t.selectedIndex=-1),o}}},attr:function(t,e,i){var n,s,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return typeof t.getAttribute===V?Et.prop(t,e,i):(1===o&&Et.isXMLDoc(t)||(e=e.toLowerCase(),n=Et.attrHooks[e]||(Et.expr.match.bool.test(e)?Nt:St)),i===k?n&&"get"in n&&null!==(s=n.get(t,e))?s:null==(s=Et.find.attr(t,e))?k:s:null!==i?n&&"set"in n&&(s=n.set(t,i,e))!==k?s:(t.setAttribute(e,i+""),i):void Et.removeAttr(t,e))},removeAttr:function(t,e){var i,n,s=0,o=e&&e.match(ut);if(o&&1===t.nodeType)for(;i=o[s++];)n=Et.propFix[i]||i,Et.expr.match.bool.test(i)?Ht&&zt||!$t.test(i)?t[n]=!1:t[Et.camelCase("default-"+i)]=t[n]=!1:Et.attr(t,i,""),t.removeAttribute(zt?i:n)},attrHooks:{type:{set:function(t,e){if(!Et.support.radioValue&&"radio"===e&&Et.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,i){var n,s,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return(1!==o||!Et.isXMLDoc(t))&&(e=Et.propFix[e]||e,s=Et.propHooks[e]),i!==k?s&&"set"in s&&(n=s.set(t,i,e))!==k?n:t[e]=i:s&&"get"in s&&null!==(n=s.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=Et.find.attr(t,"tabindex");return e?parseInt(e,10):Mt.test(t.nodeName)||At.test(t.nodeName)&&t.href?0:-1}}}}),Nt={set:function(t,e,i){return!1===e?Et.removeAttr(t,i):Ht&&zt||!$t.test(i)?t.setAttribute(!zt&&Et.propFix[i]||i,i):t[Et.camelCase("default-"+i)]=t[i]=!0,i}},Et.each(Et.expr.match.bool.source.match(/\w+/g),function(t,e){var o=Et.expr.attrHandle[e]||Et.find.attr;Et.expr.attrHandle[e]=Ht&&zt||!$t.test(e)?function(t,e,i){var n=Et.expr.attrHandle[e],s=i?k:(Et.expr.attrHandle[e]=k)!=o(t,e,i)?e.toLowerCase():null;return Et.expr.attrHandle[e]=n,s}:function(t,e,i){return i?k:t[Et.camelCase("default-"+e)]?e.toLowerCase():null}}),Ht&&zt||(Et.attrHooks.value={set:function(t,e,i){if(!Et.nodeName(t,"input"))return St&&St.set(t,e,i);t.defaultValue=e}}),zt||(St={set:function(t,e,i){var n=t.getAttributeNode(i);return n||t.setAttributeNode(n=t.ownerDocument.createAttribute(i)),n.value=e+="","value"===i||e===t.getAttribute(i)?e:k}},Et.expr.attrHandle.id=Et.expr.attrHandle.name=Et.expr.attrHandle.coords=function(t,e,i){var n;return i?k:(n=t.getAttributeNode(e))&&""!==n.value?n.value:null},Et.valHooks.button={get:function(t,e){var i=t.getAttributeNode(e);return i&&i.specified?i.value:k},set:St.set},Et.attrHooks.contenteditable={set:function(t,e,i){St.set(t,""!==e&&e,i)}},Et.each(["width","height"],function(t,i){Et.attrHooks[i]={set:function(t,e){if(""===e)return t.setAttribute(i,"auto"),e}}})),Et.support.hrefNormalized||Et.each(["href","src"],function(t,e){Et.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),Et.support.style||(Et.attrHooks.style={get:function(t){return t.style.cssText||k},set:function(t,e){return t.style.cssText=e+""}}),Et.support.optSelected||(Et.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,
-e.parentNode&&e.parentNode.selectedIndex),null}}),Et.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Et.propFix[this.toLowerCase()]=this}),Et.support.enctype||(Et.propFix.enctype="encoding"),Et.each(["radio","checkbox"],function(){Et.valHooks[this]={set:function(t,e){if(Et.isArray(e))return t.checked=0<=Et.inArray(Et(t).val(),e)}},Et.support.checkOn||(Et.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var jt=/^(?:input|select|textarea)$/i,Wt=/^key/,Ot=/^(?:mouse|contextmenu)|click/,Lt=/^(?:focusinfocus|focusoutblur)$/,Ft=/^([^.]*)(?:\.(.+)|)$/;Et.event={global:{},add:function(t,e,i,n,s){var o,a,r,l,h,c,u,d,p,f,m,g=Et._data(t);if(g){for(i.handler&&(i=(l=i).handler,s=l.selector),i.guid||(i.guid=Et.guid++),(a=g.events)||(a=g.events={}),(c=g.handle)||((c=g.handle=function(t){return typeof Et===V||t&&Et.event.triggered===t.type?k:Et.event.dispatch.apply(c.elem,arguments)}).elem=t),r=(e=(e||"").match(ut)||[""]).length;r--;)p=m=(o=Ft.exec(e[r])||[])[1],f=(o[2]||"").split(".").sort(),p&&(h=Et.event.special[p]||{},p=(s?h.delegateType:h.bindType)||p,h=Et.event.special[p]||{},u=Et.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&Et.expr.match.needsContext.test(s),namespace:f.join(".")},l),(d=a[p])||((d=a[p]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,f,c)||(t.addEventListener?t.addEventListener(p,c,!1):t.attachEvent&&t.attachEvent("on"+p,c))),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),s?d.splice(d.delegateCount++,0,u):d.push(u),Et.event.global[p]=!0);t=null}},remove:function(t,e,i,n,s){var o,a,r,l,h,c,u,d,p,f,m,g=Et.hasData(t)&&Et._data(t);if(g&&(c=g.events)){for(h=(e=(e||"").match(ut)||[""]).length;h--;)if(p=m=(r=Ft.exec(e[h])||[])[1],f=(r[2]||"").split(".").sort(),p){for(u=Et.event.special[p]||{},d=c[p=(n?u.delegateType:u.bindType)||p]||[],r=r[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=d.length;o--;)a=d[o],!s&&m!==a.origType||i&&i.guid!==a.guid||r&&!r.test(a.namespace)||n&&n!==a.selector&&("**"!==n||!a.selector)||(d.splice(o,1),a.selector&&d.delegateCount--,u.remove&&u.remove.call(t,a));l&&!d.length&&(u.teardown&&!1!==u.teardown.call(t,f,g.handle)||Et.removeEvent(t,p,g.handle),delete c[p])}else for(p in c)Et.event.remove(t,p+e[h],i,n,!0);Et.isEmptyObject(c)&&(delete g.handle,Et._removeData(t,"events"))}},trigger:function(t,e,i,n){var s,o,a,r,l,h,c,u=[i||Q],d=lt.call(t,"type")?t.type:t,p=lt.call(t,"namespace")?t.namespace.split("."):[];if(a=h=i=i||Q,3!==i.nodeType&&8!==i.nodeType&&!Lt.test(d+Et.event.triggered)&&(0<=d.indexOf(".")&&(d=(p=d.split(".")).shift(),p.sort()),o=d.indexOf(":")<0&&"on"+d,(t=t[Et.expando]?t:new Et.Event(d,"object"==typeof t&&t)).isTrigger=n?2:3,t.namespace=p.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=k,t.target||(t.target=i),e=null==e?[t]:Et.makeArray(e,[t]),l=Et.event.special[d]||{},n||!l.trigger||!1!==l.trigger.apply(i,e))){if(!n&&!l.noBubble&&!Et.isWindow(i)){for(r=l.delegateType||d,Lt.test(r+d)||(a=a.parentNode);a;a=a.parentNode)u.push(a),h=a;h===(i.ownerDocument||Q)&&u.push(h.defaultView||h.parentWindow||m)}for(c=0;(a=u[c++])&&!t.isPropagationStopped();)t.type=1<c?r:l.bindType||d,(s=(Et._data(a,"events")||{})[t.type]&&Et._data(a,"handle"))&&s.apply(a,e),(s=o&&a[o])&&Et.acceptData(a)&&s.apply&&!1===s.apply(a,e)&&t.preventDefault();if(t.type=d,!n&&!t.isDefaultPrevented()&&(!l._default||!1===l._default.apply(u.pop(),e))&&Et.acceptData(i)&&o&&i[d]&&!Et.isWindow(i)){(h=i[o])&&(i[o]=null),Et.event.triggered=d;try{i[d]()}catch(f){}Et.event.triggered=k,h&&(i[o]=h)}return t.result}},dispatch:function(t){t=Et.event.fix(t);var e,i,n,s,o,a=[],r=ot.call(arguments),l=(Et._data(this,"events")||{})[t.type]||[],h=Et.event.special[t.type]||{};if((r[0]=t).delegateTarget=this,!h.preDispatch||!1!==h.preDispatch.call(this,t)){for(a=Et.event.handlers.call(this,t,l),e=0;(s=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=s.elem,o=0;(n=s.handlers[o++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(n.namespace)||(t.handleObj=n,t.data=n.data,(i=((Et.event.special[n.origType]||{}).handle||n.handler).apply(s.elem,r))!==k&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return h.postDispatch&&h.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,s,o,a=[],r=e.delegateCount,l=t.target;if(r&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(s=[],o=0;o<r;o++)s[i=(n=e[o]).selector+" "]===k&&(s[i]=n.needsContext?0<=Et(i,this).index(l):Et.find(i,this,null,[l]).length),s[i]&&s.push(n);s.length&&a.push({elem:l,handlers:s})}return r<e.length&&a.push({elem:this,handlers:e.slice(r)}),a},fix:function(t){if(t[Et.expando])return t;var e,i,n,s=t.type,o=t,a=this.fixHooks[s];for(a||(this.fixHooks[s]=a=Ot.test(s)?this.mouseHooks:Wt.test(s)?this.keyHooks:{}),n=a.props?this.props.concat(a.props):this.props,t=new Et.Event(o),e=n.length;e--;)t[i=n[e]]=o[i];return t.target||(t.target=o.srcElement||Q),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,o):t},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(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var i,n,s,o=e.button,a=e.fromElement;return null==t.pageX&&null!=e.clientX&&(s=(n=t.target.ownerDocument||Q).documentElement,i=n.body,t.pageX=e.clientX+(s&&s.scrollLeft||i&&i.scrollLeft||0)-(s&&s.clientLeft||i&&i.clientLeft||0),t.pageY=e.clientY+(s&&s.scrollTop||i&&i.scrollTop||0)-(s&&s.clientTop||i&&i.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?e.toElement:a),t.which||o===k||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==e()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){if(this===e()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(Et.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(t){return Et.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){t.result!==k&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,i,n){var s=Et.extend(new Et.Event,i,{type:t,isSimulated:!0,originalEvent:{}});n?Et.event.trigger(s,null,e):Et.event.dispatch.call(e,s),s.isDefaultPrevented()&&i.preventDefault()}},Et.removeEvent=Q.removeEventListener?function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i,!1)}:function(t,e,i){var n="on"+e;t.detachEvent&&(typeof t[n]===V&&(t[n]=null),t.detachEvent(n,i))},Et.Event=function(t,e){if(!(this instanceof Et.Event))return new Et.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||!1===t.returnValue||t.getPreventDefault&&t.getPreventDefault()?s:c):this.type=t,e&&Et.extend(this,e),this.timeStamp=t&&t.timeStamp||Et.now(),this[Et.expando]=!0},Et.Event.prototype={isDefaultPrevented:c,isPropagationStopped:c,isImmediatePropagationStopped:c,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=s,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=s,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=s,this.stopPropagation()}},Et.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,o){Et.event.special[t]={delegateType:o,bindType:o,handle:function(t){var e,i=this,n=t.relatedTarget,s=t.handleObj;return n&&(n===i||Et.contains(i,n))||(t.type=s.origType,e=s.handler.apply(this,arguments),t.type=o),e}}}),Et.support.submitBubbles||(Et.event.special.submit={setup:function(){if(Et.nodeName(this,"form"))return!1;Et.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,i=Et.nodeName(e,"input")||Et.nodeName(e,"button")?e.form:k;i&&!Et._data(i,"submitBubbles")&&(Et.event.add(i,"submit._submit",function(t){t._submit_bubble=!0}),Et._data(i,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&Et.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){if(Et.nodeName(this,"form"))return!1;Et.event.remove(this,"._submit")}}),Et.support.changeBubbles||(Et.event.special.change={setup:function(){if(jt.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(Et.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),Et.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),Et.event.simulate("change",this,t,!0)})),!1;Et.event.add(this,"beforeactivate._change",function(t){var e=t.target;jt.test(e.nodeName)&&!Et._data(e,"changeBubbles")&&(Et.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||Et.event.simulate("change",this.parentNode,t,!0)}),Et._data(e,"changeBubbles",!0))})},handle:function(t){var e=t.target;if(this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type)return t.handleObj.handler.apply(this,arguments)},teardown:function(){return Et.event.remove(this,"._change"),!jt.test(this.nodeName)}}),Et.support.focusinBubbles||Et.each({focus:"focusin",blur:"focusout"},function(t,e){var i=0,n=function(t){Et.event.simulate(e,t.target,Et.event.fix(t),!0)};Et.event.special[e]={setup:function(){0==i++&&Q.addEventListener(t,n,!0)},teardown:function(){0==--i&&Q.removeEventListener(t,n,!0)}}}),Et.fn.extend({on:function(t,e,i,n,s){var o,a;if("object"==typeof t){for(o in"string"!=typeof e&&(i=i||e,e=k),t)this.on(o,e,i,t[o],s);return this}if(null==i&&null==n?(n=e,i=e=k):null==n&&("string"==typeof e?(n=i,i=k):(n=i,i=e,e=k)),!1===n)n=c;else if(!n)return this;return 1===s&&(a=n,(n=function(t){return Et().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=Et.guid++)),this.each(function(){Et.event.add(this,t,n,i,e)})},one:function(t,e,i,n){return this.on(t,e,i,n,1)},off:function(t,e,i){var n,s;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,Et(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(s in t)this.off(s,e,t[s]);return this}return!1!==e&&"function"!=typeof e||(i=e,e=k),!1===i&&(i=c),this.each(function(){Et.event.remove(this,t,i,e)})},trigger:function(t,e){return this.each(function(){Et.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return Et.event.trigger(t,e,i,!0)}});var Rt=/^.[^:#\[\.,]*$/,Bt=/^(?:parents|prev(?:Until|All))/,qt=Et.expr.match.needsContext,Yt={children:!0,contents:!0,next:!0,prev:!0};Et.fn.extend({find:function(t){var e,i=[],n=this,s=n.length;if("string"!=typeof t)return this.pushStack(Et(t).filter(function(){for(e=0;e<s;e++)if(Et.contains(n[e],this))return!0}));for(e=0;e<s;e++)Et.find(t,n[e],i);return(i=this.pushStack(1<s?Et.unique(i):i)).selector=this.selector?this.selector+" "+t:t,i},has:function(t){var e,i=Et(t,this),n=i.length;return this.filter(function(){for(e=0;e<n;e++)if(Et.contains(this,i[e]))return!0})},not:function(t){return this.pushStack(a(this,t||[],!0))},filter:function(t){return this.pushStack(a(this,t||[],!1))},is:function(t){return!!a(this,"string"==typeof t&&qt.test(t)?Et(t):t||[],!1).length},closest:function(t,e){for(var i,n=0,s=this.length,o=[],a=qt.test(t)||"string"!=typeof t?Et(t,e||this.context):0;n<s;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(a?-1<a.index(i):1===i.nodeType&&Et.find.matchesSelector(i,t))){i=o.push(i);break}return this.pushStack(1<o.length?Et.unique(o):o)},index:function(t){return t?"string"==typeof t?Et.inArray(this[0],Et(t)):Et.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){var i="string"==typeof t?Et(t,e):Et.makeArray(t&&t.nodeType?[t]:t),n=Et.merge(this.get(),i);return this.pushStack(Et.unique(n))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),Et.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Et.dir(t,"parentNode")},parentsUntil:function(t,e,i){return Et.dir(t,"parentNode",i)},next:function(t){return o(t,"nextSibling")},prev:function(t){return o(t,"previousSibling")},nextAll:function(t){return Et.dir(t,"nextSibling")},prevAll:function(t){return Et.dir(t,"previousSibling")},nextUntil:function(t,e,i){return Et.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return Et.dir(t,"previousSibling",i)},siblings:function(t){return Et.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return Et.sibling(t.firstChild)},contents:function(t){return Et.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:Et.merge([],t.childNodes)}},function(n,s){Et.fn[n]=function(t,e){var i=Et.map(this,s,t);return"Until"!==n.slice(-5)&&(e=t),e&&"string"==typeof e&&(i=Et.filter(e,i)),1<this.length&&(Yt[n]||(i=Et.unique(i)),Bt.test(n)&&(i=i.reverse())),this.pushStack(i)}}),Et.extend({filter:function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?Et.find.matchesSelector(n,t)?[n]:[]:Et.find.matches(t,Et.grep(e,function(t){return 1===t.nodeType}))},dir:function(t,e,i){for(var n=[],s=t[e];s&&9!==s.nodeType&&(i===k||1!==s.nodeType||!Et(s).is(i));)1===s.nodeType&&n.push(s),s=s[e];return n},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}});var Ut="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Kt=/ jQuery\d+="(?:null|\d+)"/g,Vt=new RegExp("<(?:"+Ut+")[\\s/>]","i"),Xt=/^\s+/,Qt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Gt=/<([\w:]+)/,Jt=/<tbody/i,Zt=/<|&#?\w+;/,te=/<(?:script|style|link)/i,ee=/^(?:checkbox|radio)$/i,ie=/checked\s*(?:[^=]|=\s*.checked.)/i,ne=/^$|\/(?:java|ecma)script/i,se=/^true\/(.*)/,oe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ae={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:Et.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},re=g(Q).appendChild(Q.createElement("div"));ae.optgroup=ae.option,ae.tbody=ae.tfoot=ae.colgroup=ae.caption=ae.thead,ae.th=ae.td,Et.fn.extend({text:function(t){return Et.access(this,function(t){return t===k?Et.text(this):this.empty().append((this[0]&&this[0].ownerDocument||Q).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||u(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=u(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var i,n=t?Et.filter(t,this):this,s=0;null!=(i=n[s]);s++)e||1!==i.nodeType||Et.cleanData(y(i)),i.parentNode&&(e&&Et.contains(i.ownerDocument,i)&&b(y(i,"script")),i.parentNode.removeChild(i));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&Et.cleanData(y(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&Et.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return Et.clone(this,t,e)})},html:function(t){return Et.access(this,function(t){var e=this[0]||{},i=0,n=this.length;if(t===k)return 1===e.nodeType?e.innerHTML.replace(Kt,""):k;if("string"==typeof t&&!te.test(t)&&(Et.support.htmlSerialize||!Vt.test(t))&&(Et.support.leadingWhitespace||!Xt.test(t))&&!ae[(Gt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Qt,"<$1></$2>");try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(Et.cleanData(y(e,!1)),e.innerHTML=t);e=0}catch(s){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var n=Et.map(this,function(t){return[t.nextSibling,t.parentNode]}),s=0;return this.domManip(arguments,function(t){var e=n[s++],i=n[s++];i&&(e&&e.parentNode!==i&&(e=this.nextSibling),Et(this).remove(),i.insertBefore(t,e))},!0),s?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(i,n,s){i=nt.apply([],i);var t,e,o,a,r,l,h=0,c=this.length,u=this,d=c-1,p=i[0],f=Et.isFunction(p);if(f||!(c<=1||"string"!=typeof p||Et.support.checkClone)&&ie.test(p))return this.each(function(t){var e=u.eq(t);f&&(i[0]=p.call(this,t,e.html())),e.domManip(i,n,s)});if(c&&(t=(l=Et.buildFragment(i,this[0].ownerDocument,!1,!s&&this)).firstChild,1===l.childNodes.length&&(l=t),t)){for(o=(a=Et.map(y(l,"script"),v)).length;h<c;h++)e=l,h!==d&&(e=Et.clone(e,!0,!0),o&&Et.merge(a,y(e,"script"))),n.call(this[h],e,h);if(o)for(r=a[a.length-1].ownerDocument,Et.map(a,_),h=0;h<o;h++)e=a[h],ne.test(e.type||"")&&!Et._data(e,"globalEval")&&Et.contains(r,e)&&(e.src?Et._evalUrl(e.src):Et.globalEval((e.text||e.textContent||e.innerHTML||"").replace(oe,"")));l=t=null}return this}}),Et.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,a){Et.fn[t]=function(t){for(var e,i=0,n=[],s=Et(t),o=s.length-1;i<=o;i++)e=i===o?this:this.clone(!0),Et(s[i])[a](e),st.apply(n,e.get());return this.pushStack(n)}}),Et.extend({clone:function(t,e,i){var n,s,o,a,r,l=Et.contains(t.ownerDocument,t);if(Et.support.html5Clone||Et.isXMLDoc(t)||!Vt.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(re.innerHTML=t.outerHTML,re.removeChild(o=re.firstChild)),!(Et.support.noCloneEvent&&Et.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||Et.isXMLDoc(t)))for(n=y(o),r=y(t),a=0;null!=(s=r[a]);++a)n[a]&&p(s,n[a]);if(e)if(i)for(r=r||y(t),n=n||y(o),a=0;null!=(s=r[a]);a++)d(s,n[a]);else d(t,o);return 0<(n=y(o,"script")).length&&b(n,!l&&y(t,"script")),n=r=s=null,o},buildFragment:function(t,e,i,n){for(var s,o,a,r,l,h,c,u=t.length,d=g(e),p=[],f=0;f<u;f++)if((o=t[f])||0===o)if("object"===Et.type(o))Et.merge(p,o.nodeType?[o]:o);else if(Zt.test(o)){for(r=r||d.appendChild(e.createElement("div")),l=(Gt.exec(o)||["",""])[1].toLowerCase(),c=ae[l]||ae._default,r.innerHTML=c[1]+o.replace(Qt,"<$1></$2>")+c[2],s=c[0];s--;)r=r.lastChild;if(!Et.support.leadingWhitespace&&Xt.test(o)&&p.push(e.createTextNode(Xt.exec(o)[0])),!Et.support.tbody)for(s=(o="table"!==l||Jt.test(o)?"<table>"!==c[1]||Jt.test(o)?0:r:r.firstChild)&&o.childNodes.length;s--;)Et.nodeName(h=o.childNodes[s],"tbody")&&!h.childNodes.length&&o.removeChild(h);for(Et.merge(p,r.childNodes),r.textContent="";r.firstChild;)r.removeChild(r.firstChild);r=d.lastChild}else p.push(e.createTextNode(o));for(r&&d.removeChild(r),Et.support.appendChecked||Et.grep(y(p,"input"),w),f=0;o=p[f++];)if((!n||-1===Et.inArray(o,n))&&(a=Et.contains(o.ownerDocument,o),r=y(d.appendChild(o),"script"),a&&b(r),i))for(s=0;o=r[s++];)ne.test(o.type||"")&&i.push(o);return r=null,d},cleanData:function(t,e){for(var i,n,s,o,a=0,r=Et.expando,l=Et.cache,h=Et.support.deleteExpando,c=Et.event.special;null!=(i=t[a]);a++)if((e||Et.acceptData(i))&&(o=(s=i[r])&&l[s])){if(o.events)for(n in o.events)c[n]?Et.event.remove(i,n):Et.removeEvent(i,n,o.handle);l[s]&&(delete l[s],h?delete i[r]:typeof i.removeAttribute!==V?i.removeAttribute(r):i[r]=null,et.push(s))}},_evalUrl:function(t){return Et.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),Et.fn.extend({wrapAll:function(e){if(Et.isFunction(e))return this.each(function(t){Et(this).wrapAll(e.call(this,t))});if(this[0]){var t=Et(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(i){return Et.isFunction(i)?this.each(function(t){Et(this).wrapInner(i.call(this,t))}):this.each(function(){var t=Et(this),e=t.contents();e.length?e.wrapAll(i):t.append(i)})},wrap:function(e){var i=Et.isFunction(e);return this.each(function(t){Et(this).wrapAll(i?e.call(this,t):e)})},unwrap:function(){return this.parent().each(function(){Et.nodeName(this,"body")||Et(this).replaceWith(this.childNodes)}).end()}});var le,he,ce,ue=/alpha\([^)]*\)/i,de=/opacity\s*=\s*([^)]*)/,pe=/^(top|right|bottom|left)$/,fe=/^(none|table(?!-c[ea]).+)/,me=/^margin/,ge=new RegExp("^("+ct+")(.*)$","i"),ve=new RegExp("^("+ct+")(?!px)[a-z%]+$","i"),_e=new RegExp("^([+-])=("+ct+")","i"),be={BODY:"block"},ye={position:"absolute",visibility:"hidden",display:"block"},we={letterSpacing:0,fontWeight:400},xe=["Top","Right","Bottom","Left"],ke=["Webkit","O","Moz","ms"];Et.fn.extend({css:function(t,e){return Et.access(this,function(t,e,i){var n,s,o={},a=0;if(Et.isArray(e)){for(s=he(t),n=e.length;a<n;a++)o[e[a]]=Et.css(t,e[a],!1,s);return o}return i!==k?Et.style(t,e,i):Et.css(t,e)},t,e,1<arguments.length)},show:function(){return C(this,!0)},hide:function(){return C(this)},toggle:function(t){var e="boolean"==typeof t;return this.each(function(){(e?t:x(this))?Et(this).show():Et(this).hide()})}}),Et.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=ce(t,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":Et.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var s,o,a,r=Et.camelCase(e),l=t.style;if(e=Et.cssProps[r]||(Et.cssProps[r]=f(l,r)),a=Et.cssHooks[e]||Et.cssHooks[r],i===k)return a&&"get"in a&&(s=a.get(t,!1,n))!==k?s:l[e];if(!("string"===(o=typeof i)&&(s=_e.exec(i))&&(i=(s[1]+1)*s[2]+parseFloat(Et.css(t,e)),o="number"),null==i||"number"===o&&isNaN(i)||("number"!==o||Et.cssNumber[r]||(i+="px"),Et.support.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&(i=a.set(t,i,n))===k)))try{l[e]=i}catch(h){}}},css:function(t,e,i,n){var s,o,a,r=Et.camelCase(e);return e=Et.cssProps[r]||(Et.cssProps[r]=f(t.style,r)),(a=Et.cssHooks[e]||Et.cssHooks[r])&&"get"in a&&(o=a.get(t,!0,i)),o===k&&(o=ce(t,e,n)),"normal"===o&&e in we&&(o=we[e]),""===i||i?(s=parseFloat(o),!0===i||Et.isNumeric(s)?s||0:o):o}}),m.getComputedStyle?(he=function(t){return m.getComputedStyle(t,null)},ce=function(t,e,i){var n,s,o,a=i||he(t),r=a?a.getPropertyValue(e)||a[e]:k,l=t.style;return a&&(""!==r||Et.contains(t.ownerDocument,t)||(r=Et.style(t,e)),ve.test(r)&&me.test(e)&&(n=l.width,s=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=r,r=a.width,l.width=n,l.minWidth=s,l.maxWidth=o)),r}):Q.documentElement.currentStyle&&(he=function(t){return t.currentStyle},ce=function(t,e,i){var n,s,o,a=i||he(t),r=a?a[e]:k,l=t.style;return null==r&&l&&l[e]&&(r=l[e]),ve.test(r)&&!pe.test(e)&&(n=l.left,(o=(s=t.runtimeStyle)&&s.left)&&(s.left=t.currentStyle.left),l.left="fontSize"===e?"1em":r,r=l.pixelLeft+"px",l.left=n,o&&(s.left=o)),""===r?"auto":r}),Et.each(["height","width"],function(t,s){Et.cssHooks[s]={get:function(t,e,i){if(e)return 0===t.offsetWidth&&fe.test(Et.css(t,"display"))?Et.swap(t,ye,function(){return S(t,s,i)}):S(t,s,i)},set:function(t,e,i){var n=i&&he(t);return D(t,e,i?T(t,s,i,Et.support.boxSizing&&"border-box"===Et.css(t,"boxSizing",!1,n),n):0)}}}),Et.support.opacity||(Et.cssHooks.opacity={get:function(t,e){return de.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var i=t.style,n=t.currentStyle,s=Et.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=n&&n.filter||i.filter||"";((i.zoom=1)<=e||""===e)&&""===Et.trim(o.replace(ue,""))&&i.removeAttribute&&(i.removeAttribute("filter"),""===e||n&&!n.filter)||(i.filter=ue.test(o)?o.replace(ue,s):o+" "+s)}}),Et(function(){Et.support.reliableMarginRight||(Et.cssHooks.marginRight={get:function(t,e){if(e)return Et.swap(t,{display:"inline-block"},ce,[t,"marginRight"])}}),!Et.support.pixelPosition&&Et.fn.position&&Et.each(["top","left"],function(t,i){Et.cssHooks[i]={get:function(t,e){if(e)return e=ce(t,i),ve.test(e)?Et(t).position()[i]+"px":e}}})}),Et.expr&&Et.expr.filters&&(Et.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!Et.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||Et.css(t,"display"))},Et.expr.filters.visible=function(t){return!Et.expr.filters.hidden(t)}),Et.each({margin:"",padding:"",border:"Width"},function(s,o){Et.cssHooks[s+o]={expand:function(t){for(var e=0,i={},n="string"==typeof t?t.split(" "):[t];e<4;e++)i[s+xe[e]+o]=n[e]||n[e-2]||n[0];return i}},me.test(s)||(Et.cssHooks[s+o].set=D)});var Ce=/%20/g,De=/\[\]$/,Te=/\r?\n/g,Se=/^(?:submit|button|image|reset|file)$/i,Ne=/^(?:input|select|textarea|keygen)/i;Et.fn.extend({serialize:function(){return Et.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=Et.prop(this,"elements");return t?Et.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!Et(this).is(":disabled")&&Ne.test(this.nodeName)&&!Se.test(t)&&(this.checked||!ee.test(t))}).map(function(t,e){var i=Et(this).val();return null==i?null:Et.isArray(i)?Et.map(i,function(t){return{name:e.name,value:t.replace(Te,"\r\n")}}):{name:e.name,value:i.replace(Te,"\r\n")}}).get()}}),Et.param=function(t,e){var i,n=[],s=function(t,e){e=Et.isFunction(e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(e===k&&(e=Et.ajaxSettings&&Et.ajaxSettings.traditional),Et.isArray(t)||t.jquery&&!Et.isPlainObject(t))Et.each(t,function(){s(this.name,this.value)});else for(i in t)I(i,t[i],e,s);return n.join("&").replace(Ce,"+")},Et.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(t,i){Et.fn[i]=function(t,e){return 0<arguments.length?this.on(i,null,t,e):this.trigger(i)}}),Et.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)}});var Ee,Ie,Pe=Et.now(),Me=/\?/,Ae=/#.*$/,$e=/([?&])_=[^&]*/,ze=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,He=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,je=/^(?:GET|HEAD)$/,We=/^\/\//,Oe=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Le=Et.fn.load,Fe={},Re={},Be="*/".concat("*");try{Ie=X.href}catch(ni){(Ie=Q.createElement("a")).href="",Ie=Ie.href}Ee=Oe.exec(Ie.toLowerCase())||[],Et.fn.load=function(t,e,i){if("string"!=typeof t&&Le)return Le.apply(this,arguments);var n,s,o,a=this,r=t.indexOf(" ");return 0<=r&&(n=t.slice(r,t.length),t=t.slice(0,r)),Et.isFunction(e)?(i=e,e=k):e&&"object"==typeof e&&(o="POST"),0<a.length&&Et.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){s=arguments,a.html(n?Et("<div>").append(Et.parseHTML(t)).find(n):t)}).complete(i&&function(t,e){a.each(i,s||[t.responseText,e,t])}),this},Et.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){Et.fn[e]=function(t){return this.on(e,t)}}),Et.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ie,type:"GET",isLocal:He.test(Ee[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Be,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",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":Et.parseJSON,"text xml":Et.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?A(A(t,Et.ajaxSettings),e):A(Et.ajaxSettings,t)},ajaxPrefilter:P(Fe),ajaxTransport:P(Re),ajax:function(t,e){function i(t,e,i,n){var s,o,a,r,l,h=e;2!==w&&(w=2,d&&clearTimeout(d),f=k,u=n||"",x.readyState=0<t?4:0,s=200<=t&&t<300||304===t,i&&(r=$(m,x,i)),r=z(m,r,x,s),s?(m.ifModified&&((l=x.getResponseHeader("Last-Modified"))&&(Et.lastModified[c]=l),(l=x.getResponseHeader("etag"))&&(Et.etag[c]=l)),204===t||"HEAD"===m.type?h="nocontent":304===t?h="notmodified":(h=r.state,o=r.data,s=!(a=r.error))):(a=h,!t&&h||(h="error",t<0&&(t=0))),x.status=t,x.statusText=(e||h)+"",s?_.resolveWith(g,[o,h,x]):_.rejectWith(g,[x,h,a]),x.statusCode(y),y=k,p&&v.trigger(s?"ajaxSuccess":"ajaxError",[x,m,s?o:a]),b.fireWith(g,[x,h]),p&&(v.trigger("ajaxComplete",[x,m]),--Et.active||Et.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=k),e=e||{};var n,s,c,u,d,p,f,o,m=Et.ajaxSetup({},e),g=m.context||m,v=m.context&&(g.nodeType||g.jquery)?Et(g):Et.event,_=Et.Deferred(),b=Et.Callbacks("once memory"),y=m.statusCode||{},a={},r={},w=0,l="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(2===w){if(!o)for(o={};e=ze.exec(u);)o[e[1].toLowerCase()]=e[2];e=o[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===w?u:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return w||(t=r[i]=r[i]||t,a[t]=e),this},overrideMimeType:function(t){return w||(m.mimeType=t),this},statusCode:function(t){var e;if(t)if(w<2)for(e in t)y[e]=[y[e],t[e]];else x.always(t[x.status]);return this},abort:function(t){var e=t||l;return f&&f.abort(e),i(0,e),this}};if(_.promise(x).complete=b.add,x.success=x.done,x.error=x.fail,m.url=((t||m.url||Ie)+"").replace(Ae,"").replace(We,Ee[1]+"//"),m.type=e.method||e.type||m.method||m.type,m.dataTypes=Et.trim(m.dataType||"*").toLowerCase().match(ut)||[""],null==m.crossDomain&&(n=Oe.exec(m.url.toLowerCase()),m.crossDomain=!(!n||n[1]===Ee[1]&&n[2]===Ee[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(Ee[3]||("http:"===Ee[1]?"80":"443")))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=Et.param(m.data,m.traditional)),M(Fe,m,e,x),2===w)return x;for(s in(p=m.global)&&0==Et.active++&&Et.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!je.test(m.type),c=m.url,m.hasContent||(m.data&&(c=m.url+=(Me.test(c)?"&":"?")+m.data,delete m.data),!1===m.cache&&(m.url=$e.test(c)?c.replace($e,"$1_="+Pe++):c+(Me.test(c)?"&":"?")+"_="+Pe++)),m.ifModified&&(Et.lastModified[c]&&x.setRequestHeader("If-Modified-Since",Et.lastModified[c]),Et.etag[c]&&x.setRequestHeader("If-None-Match",Et.etag[c])),(m.data&&m.hasContent&&!1!==m.contentType||e.contentType)&&x.setRequestHeader("Content-Type",m.contentType),x.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Be+"; q=0.01":""):m.accepts["*"]),m.headers)x.setRequestHeader(s,m.headers[s]);if(m.beforeSend&&(!1===m.beforeSend.call(g,x,m)||2===w))return x.abort();for(s in l="abort",{success:1,error:1,complete:1})x[s](m[s]);if(f=M(Re,m,e,x)){x.readyState=1,p&&v.trigger("ajaxSend",[x,m]),m.async&&0<m.timeout&&(d=setTimeout(function(){x.abort("timeout")},m.timeout));try{w=1,f.send(a,i)}catch(ni){if(!(w<2))throw ni;i(-1,ni)}}else i(-1,"No Transport");return x},getJSON:function(t,e,i){return Et.get(t,e,i,"json")},getScript:function(t,e){return Et.get(t,k,e,"script")}}),Et.each(["get","post"],function(t,s){Et[s]=function(t,e,i,n){return Et.isFunction(e)&&(n=n||i,i=e,e=k),Et.ajax({url:t,type:s,dataType:n,data:e,success:i})}}),Et.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return Et.globalEval(t),t}}}),Et.ajaxPrefilter("script",function(t){t.cache===k&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),Et.ajaxTransport("script",function(e){if(e.crossDomain){var n,s=Q.head||Et("head")[0]||Q.documentElement;return{send:function(t,i){(n=Q.createElement("script")).async=!0,e.scriptCharset&&(
-n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(t,e){(e||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,e||i(200,"success"))},s.insertBefore(n,s.firstChild)},abort:function(){n&&n.onload(k,!0)}}}});var qe=[],Ye=/(=)\?(?=&|$)|\?\?/;Et.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=qe.pop()||Et.expando+"_"+Pe++;return this[t]=!0,t}}),Et.ajaxPrefilter("json jsonp",function(t,e,i){var n,s,o,a=!1!==t.jsonp&&(Ye.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ye.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=Et.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Ye,"$1"+n):!1!==t.jsonp&&(t.url+=(Me.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return o||Et.error(n+" was not called"),o[0]},t.dataTypes[0]="json",s=m[n],m[n]=function(){o=arguments},i.always(function(){m[n]=s,t[n]&&(t.jsonpCallback=e.jsonpCallback,qe.push(n)),o&&Et.isFunction(s)&&s(o[0]),o=s=k}),"script"});var Ue,Ke,Ve=0,Xe=m.ActiveXObject&&function(){var t;for(t in Ue)Ue[t](k,!0)};Et.ajaxSettings.xhr=m.ActiveXObject?function(){return!this.isLocal&&H()||j()}:H,Ke=Et.ajaxSettings.xhr(),Et.support.cors=!!Ke&&"withCredentials"in Ke,(Ke=Et.support.ajax=!!Ke)&&Et.ajaxTransport(function(c){var u;if(!c.crossDomain||Et.support.cors)return{send:function(t,r){var l,e,h=c.xhr();if(c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async),c.xhrFields)for(e in c.xhrFields)h[e]=c.xhrFields[e];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),c.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest");try{for(e in t)h.setRequestHeader(e,t[e])}catch(i){}h.send(c.hasContent&&c.data||null),u=function(t,e){var i,n,s,o;try{if(u&&(e||4===h.readyState))if(u=k,l&&(h.onreadystatechange=Et.noop,Xe&&delete Ue[l]),e)4!==h.readyState&&h.abort();else{o={},i=h.status,n=h.getAllResponseHeaders(),"string"==typeof h.responseText&&(o.text=h.responseText);try{s=h.statusText}catch(ni){s=""}i||!c.isLocal||c.crossDomain?1223===i&&(i=204):i=o.text?200:404}}catch(a){e||r(-1,a)}o&&r(i,s,o,n)},c.async?4===h.readyState?setTimeout(u):(l=++Ve,Xe&&(Ue||(Ue={},Et(m).unload(Xe)),Ue[l]=u),h.onreadystatechange=u):u()},abort:function(){u&&u(k,!0)}}});var Qe,Ge,Je=/^(?:toggle|show|hide)$/,Ze=new RegExp("^(?:([+-])=|)("+ct+")([a-z%]*)$","i"),ti=/queueHooks$/,ei=[R],ii={"*":[function(t,e){var i=this.createTween(t,e),n=i.cur(),s=Ze.exec(e),o=s&&s[3]||(Et.cssNumber[t]?"":"px"),a=(Et.cssNumber[t]||"px"!==o&&+n)&&Ze.exec(Et.css(i.elem,t)),r=1,l=20;if(a&&a[3]!==o)for(o=o||a[3],s=s||[],a=+n||1;a/=r=r||".5",Et.style(i.elem,t,a+o),r!==(r=i.cur()/n)&&1!==r&&--l;);return s&&(i.unit=o,i.start=+a||+n||0,i.end=s[1]?a+(s[1]+1)*s[2]:+s[2]),i}]};Et.Animation=Et.extend(L,{tweener:function(t,e){Et.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var i,n=0,s=t.length;n<s;n++)i=t[n],ii[i]=ii[i]||[],ii[i].unshift(e)},prefilter:function(t,e){e?ei.unshift(t):ei.push(t)}}),(Et.Tween=B).prototype={constructor:B,init:function(t,e,i,n,s,o){this.elem=t,this.prop=i,this.easing=s||"swing",this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=o||(Et.cssNumber[i]?"":"px")},cur:function(){var t=B.propHooks[this.prop];return t&&t.get?t.get(this):B.propHooks._default.get(this)},run:function(t){var e,i=B.propHooks[this.prop];return this.options.duration?this.pos=e=Et.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):B.propHooks._default.set(this),this}},B.prototype.init.prototype=B.prototype,B.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=Et.css(t.elem,t.prop,""))&&"auto"!==e?e:0:t.elem[t.prop]},set:function(t){Et.fx.step[t.prop]?Et.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[Et.cssProps[t.prop]]||Et.cssHooks[t.prop])?Et.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},B.propHooks.scrollTop=B.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},Et.each(["toggle","show","hide"],function(t,n){var s=Et.fn[n];Et.fn[n]=function(t,e,i){return null==t||"boolean"==typeof t?s.apply(this,arguments):this.animate(q(n,!0),t,e,i)}}),Et.fn.extend({fadeTo:function(t,e,i,n){return this.filter(x).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(e,t,i,n){var s=Et.isEmptyObject(e),o=Et.speed(t,i,n),a=function(){var t=L(this,Et.extend({},e),o);a.finish=function(){t.stop(!0)},(s||Et._data(this,"finish"))&&t.stop(!0)};return a.finish=a,s||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(s,t,o){var a=function(t){var e=t.stop;delete t.stop,e(o)};return"string"!=typeof s&&(o=t,t=s,s=k),t&&!1!==s&&this.queue(s||"fx",[]),this.each(function(){var t=!0,e=null!=s&&s+"queueHooks",i=Et.timers,n=Et._data(this);if(e)n[e]&&n[e].stop&&a(n[e]);else for(e in n)n[e]&&n[e].stop&&ti.test(e)&&a(n[e]);for(e=i.length;e--;)i[e].elem!==this||null!=s&&i[e].queue!==s||(i[e].anim.stop(o),t=!1,i.splice(e,1));!t&&o||Et.dequeue(this,s)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var t,e=Et._data(this),i=e[a+"queue"],n=e[a+"queueHooks"],s=Et.timers,o=i?i.length:0;for(e.finish=!0,Et.queue(this,a,[]),n&&n.cur&&n.cur.finish&&n.cur.finish.call(this),t=s.length;t--;)s[t].elem===this&&s[t].queue===a&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<o;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete e.finish})}}),Et.each({slideDown:q("show"),slideUp:q("hide"),slideToggle:q("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){Et.fn[t]=function(t,e,i){return this.animate(n,t,e,i)}}),Et.speed=function(t,e,i){var n=t&&"object"==typeof t?Et.extend({},t):{complete:i||!i&&e||Et.isFunction(t)&&t,duration:t,easing:i&&e||e&&!Et.isFunction(e)&&e};return n.duration=Et.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in Et.fx.speeds?Et.fx.speeds[n.duration]:Et.fx.speeds._default,null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){Et.isFunction(n.old)&&n.old.call(this),n.queue&&Et.dequeue(this,n.queue)},n},Et.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},Et.timers=[],Et.fx=B.prototype.init,Et.fx.tick=function(){var t,e=Et.timers,i=0;for(Qe=Et.now();i<e.length;i++)(t=e[i])()||e[i]!==t||e.splice(i--,1);e.length||Et.fx.stop(),Qe=k},Et.fx.timer=function(t){t()&&Et.timers.push(t)&&Et.fx.start()},Et.fx.interval=13,Et.fx.start=function(){Ge||(Ge=setInterval(Et.fx.tick,Et.fx.interval))},Et.fx.stop=function(){clearInterval(Ge),Ge=null},Et.fx.speeds={slow:600,fast:200,_default:400},Et.fx.step={},Et.expr&&Et.expr.filters&&(Et.expr.filters.animated=function(e){return Et.grep(Et.timers,function(t){return e===t.elem}).length}),Et.fn.offset=function(e){if(arguments.length)return e===k?this:this.each(function(t){Et.offset.setOffset(this,e,t)});var t,i,n={top:0,left:0},s=this[0],o=s&&s.ownerDocument;return o?(t=o.documentElement,Et.contains(t,s)?(typeof s.getBoundingClientRect!==V&&(n=s.getBoundingClientRect()),i=Y(o),{top:n.top+(i.pageYOffset||t.scrollTop)-(t.clientTop||0),left:n.left+(i.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):n):void 0},Et.offset={setOffset:function(t,e,i){var n=Et.css(t,"position");"static"===n&&(t.style.position="relative");var s,o,a=Et(t),r=a.offset(),l=Et.css(t,"top"),h=Et.css(t,"left"),c={},u={};("absolute"===n||"fixed"===n)&&-1<Et.inArray("auto",[l,h])?(s=(u=a.position()).top,o=u.left):(s=parseFloat(l)||0,o=parseFloat(h)||0),Et.isFunction(e)&&(e=e.call(t,i,r)),null!=e.top&&(c.top=e.top-r.top+s),null!=e.left&&(c.left=e.left-r.left+o),"using"in e?e.using.call(t,c):a.css(c)}},Et.fn.extend({position:function(){if(this[0]){var t,e,i={top:0,left:0},n=this[0];return"fixed"===Et.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),Et.nodeName(t[0],"html")||(i=t.offset()),i.top+=Et.css(t[0],"borderTopWidth",!0),i.left+=Et.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-Et.css(n,"marginTop",!0),left:e.left-i.left-Et.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||G;t&&!Et.nodeName(t,"html")&&"static"===Et.css(t,"position");)t=t.offsetParent;return t||G})}}),Et.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,s){var o=/Y/.test(s);Et.fn[e]=function(t){return Et.access(this,function(t,e,i){var n=Y(t);if(i===k)return n?s in n?n[s]:n.document.documentElement[e]:t[e];n?n.scrollTo(o?Et(n).scrollLeft():i,o?i:Et(n).scrollTop()):t[e]=i},e,t,arguments.length,null)}}),Et.each({Height:"height",Width:"width"},function(o,a){Et.each({padding:"inner"+o,content:a,"":"outer"+o},function(n,t){Et.fn[t]=function(t,e){var i=arguments.length&&(n||"boolean"!=typeof t),s=n||(!0===t||!0===e?"margin":"border");return Et.access(this,function(t,e,i){var n;return Et.isWindow(t)?t.document.documentElement["client"+o]:9===t.nodeType?(n=t.documentElement,Math.max(t.body["scroll"+o],n["scroll"+o],t.body["offset"+o],n["offset"+o],n["client"+o])):i===k?Et.css(t,e,s):Et.style(t,e,i,s)},a,i?t:k,i,null)}})}),Et.fn.size=function(){return this.length},Et.fn.andSelf=Et.fn.addBack,"object"==typeof module&&"object"==typeof module.exports?module.exports=Et:(m.jQuery=m.$=Et,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Et}))}(window),function(u,d){var p;u.rails!==d&&u.error("jquery-ujs has already been loaded!"),u.rails=p={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]",buttonClickSelector:"button[data-remote]",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type])",disableSelector:"input[data-disable-with], button[data-disable-with], textarea[data-disable-with]",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input[type=file]",linkDisableSelector:"a[data-disable-with]",CSRFProtection:function(t){var e=u('meta[name="csrf-token"]').attr("content");e&&t.setRequestHeader("X-CSRF-Token",e)},fire:function(t,e,i){var n=u.Event(e);return t.trigger(n,i),!1!==n.result},confirm:function(t){return confirm(t)},ajax:function(t){return u.ajax(t)},href:function(t){return t.attr("href")},handleRemote:function(n){var t,e,i,s,o,a,r,l;if(p.fire(n,"ajax:before")){if(o=(s=n.data("cross-domain"))===d?null:s,a=n.data("with-credentials")||null,r=n.data("type")||u.ajaxSettings&&u.ajaxSettings.dataType,n.is("form")){t=n.attr("method"),e=n.attr("action"),i=n.serializeArray();var h=n.data("ujs:submit-button");h&&(i.push(h),n.data("ujs:submit-button",null))}else n.is(p.inputChangeSelector)?(t=n.data("method"),e=n.data("url"),i=n.serialize(),n.data("params")&&(i=i+"&"+n.data("params"))):n.is(p.buttonClickSelector)?(t=n.data("method")||"get",e=n.data("url"),i=n.serialize(),n.data("params")&&(i=i+"&"+n.data("params"))):(t=n.data("method"),e=p.href(n),i=n.data("params")||null);l={type:t||"GET",data:i,dataType:r,beforeSend:function(t,e){return e.dataType===d&&t.setRequestHeader("accept","*/*;q=0.5, "+e.accepts.script),p.fire(n,"ajax:beforeSend",[t,e])},success:function(t,e,i){n.trigger("ajax:success",[t,e,i])},complete:function(t,e){n.trigger("ajax:complete",[t,e])},error:function(t,e,i){n.trigger("ajax:error",[t,e,i])},crossDomain:o},a&&(l.xhrFields={withCredentials:a}),e&&(l.url=e);var c=p.ajax(l);return n.trigger("ajax:send",c),c}return!1},handleMethod:function(t){var e=p.href(t),i=t.data("method"),n=t.attr("target"),s=u("meta[name=csrf-token]").attr("content"),o=u("meta[name=csrf-param]").attr("content"),a=u('<form method="post" action="'+e+'"></form>'),r='<input name="_method" value="'+i+'" type="hidden" />';o!==d&&s!==d&&(r+='<input name="'+o+'" value="'+s+'" type="hidden" />'),n&&a.attr("target",n),a.hide().append(r).appendTo("body"),a.submit()},disableFormElements:function(t){t.find(p.disableSelector).each(function(){var t=u(this),e=t.is("button")?"html":"val";t.data("ujs:enable-with",t[e]()),t[e](t.data("disable-with")),t.prop("disabled",!0)})},enableFormElements:function(t){t.find(p.enableSelector).each(function(){var t=u(this),e=t.is("button")?"html":"val";t.data("ujs:enable-with")&&t[e](t.data("ujs:enable-with")),t.prop("disabled",!1)})},allowAction:function(t){var e,i=t.data("confirm"),n=!1;return!i||(p.fire(t,"confirm")&&(n=p.confirm(i),e=p.fire(t,"confirm:complete",[n])),n&&e)},blankInputs:function(t,e,i){var n,s=u(),o=e||"input,textarea",a=t.find(o);return a.each(function(){if(n=u(this),!(n.is("input[type=checkbox],input[type=radio]")?n.is(":checked"):n.val())==!i){if(n.is("input[type=radio]")&&a.filter('input[type=radio]:checked[name="'+n.attr("name")+'"]').length)return!0;s=s.add(n)}}),!!s.length&&s},nonBlankInputs:function(t,e){return p.blankInputs(t,e,!0)},stopEverything:function(t){return u(t.target).trigger("ujs:everythingStopped"),t.stopImmediatePropagation(),!1},disableElement:function(t){t.data("ujs:enable-with",t.html()),t.html(t.data("disable-with")),t.bind("click.railsDisable",function(t){return p.stopEverything(t)})},enableElement:function(t){t.data("ujs:enable-with")!==d&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.unbind("click.railsDisable")}},p.fire(u(document),"rails:attachBindings")&&(u.ajaxPrefilter(function(t,e,i){t.crossDomain||p.CSRFProtection(i)}),u(document).delegate(p.linkDisableSelector,"ajax:complete",function(){p.enableElement(u(this))}),u(document).delegate(p.linkClickSelector,"click.rails",function(t){var e=u(this),i=e.data("method"),n=e.data("params");if(!p.allowAction(e))return p.stopEverything(t);if(e.is(p.linkDisableSelector)&&p.disableElement(e),e.data("remote")!==d){if((t.metaKey||t.ctrlKey)&&(!i||"GET"===i)&&!n)return!0;var s=p.handleRemote(e);return!1===s?p.enableElement(e):s.error(function(){p.enableElement(e)}),!1}return e.data("method")?(p.handleMethod(e),!1):void 0}),u(document).delegate(p.buttonClickSelector,"click.rails",function(t){var e=u(this);return p.allowAction(e)?(p.handleRemote(e),!1):p.stopEverything(t)}),u(document).delegate(p.inputChangeSelector,"change.rails",function(t){var e=u(this);return p.allowAction(e)?(p.handleRemote(e),!1):p.stopEverything(t)}),u(document).delegate(p.formSubmitSelector,"submit.rails",function(t){var e=u(this),i=e.data("remote")!==d,n=p.blankInputs(e,p.requiredInputSelector),s=p.nonBlankInputs(e,p.fileInputSelector);if(!p.allowAction(e))return p.stopEverything(t);if(n&&e.attr("novalidate")==d&&p.fire(e,"ajax:aborted:required",[n]))return p.stopEverything(t);if(i){if(s){setTimeout(function(){p.disableFormElements(e)},13);var o=p.fire(e,"ajax:aborted:file",[s]);return o||setTimeout(function(){p.enableFormElements(e)},13),o}return p.handleRemote(e),!1}setTimeout(function(){p.disableFormElements(e)},13)}),u(document).delegate(p.formInputClickSelector,"click.rails",function(t){var e=u(this);if(!p.allowAction(e))return p.stopEverything(t);var i=e.attr("name"),n=i?{name:i,value:e.val()}:null;e.closest("form").data("ujs:submit-button",n)}),u(document).delegate(p.formSubmitSelector,"ajax:beforeSend.rails",function(t){this==t.target&&p.disableFormElements(u(this))}),u(document).delegate(p.formSubmitSelector,"ajax:complete.rails",function(t){this==t.target&&p.enableFormElements(u(this))}),u(function(){var t=u("meta[name=csrf-token]").attr("content"),e=u("meta[name=csrf-param]").attr("content");u('form input[name="'+e+'"]').val(t)}))}(jQuery),
+function(i,s){function w(t,e,i,n){var s,o,a,r,l,h,c,u,d,p;if((e?e.ownerDocument||e:q)!==H&&z(e),i=i||[],!t||"string"!=typeof t)return i;if(1!==(r=(e=e||H).nodeType)&&9!==r)return[];if(W&&!n){if(s=xt.exec(t))if(a=s[1]){if(9===r){if(!(o=e.getElementById(a))||!o.parentNode)return i;if(o.id===a)return i.push(o),i}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(a))&&R(e,o)&&o.id===a)return i.push(o),i}else{if(s[2])return st.apply(i,e.getElementsByTagName(t)),i;if((a=s[3])&&S.getElementsByClassName&&e.getElementsByClassName)return st.apply(i,e.getElementsByClassName(a)),i}if(S.qsa&&(!O||!O.test(t))){if(u=c=B,d=e,p=9===r&&t,1===r&&"object"!==e.nodeName.toLowerCase()){for(h=m(t),(c=e.getAttribute("id"))?u=c.replace(Dt,"\\$&"):e.setAttribute("id",u),u="[id='"+u+"'] ",l=h.length;l--;)h[l]=u+g(h[l]);d=gt.test(t)&&e.parentNode||e,p=h.join(",")}if(p)try{return st.apply(i,d.querySelectorAll(p)),i}catch(f){}finally{c||e.removeAttribute("id")}}}return C(t.replace(pt,"$1"),e,i,n)}function e(t){return wt.test(t+"")}function t(){function i(t,e){return n.push(t+=" ")>E.cacheLength&&delete i[n.shift()],i[t]=e}var n=[];return i}function l(t){return t[B]=!0,t}function n(t){var e=H.createElement("div");try{return!!t(e)}catch(i){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e,i){for(var n,s=(t=t.split("|")).length,o=i?null:e;s--;)(n=E.attrHandle[t[s]])&&n!==e||(E.attrHandle[t[s]]=o)}function a(t,e){var i=t.getAttributeNode(e);return i&&i.specified?i.value:!0===t[e]?e.toLowerCase():null}function r(t,e){return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}function h(t){if("input"===t.nodeName.toLowerCase())return t.defaultValue}function c(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||Z)-(~t.sourceIndex||Z);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function u(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function d(i){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===i}}function p(a){return l(function(o){return o=+o,l(function(t,e){for(var i,n=a([],t.length,o),s=n.length;s--;)t[i=n[s]]&&(t[i]=!(e[i]=t[i]))})})}function m(t,e){var i,n,s,o,a,r,l,h=V[t+" "];if(h)return e?0:h.slice(0);for(a=t,r=[],l=E.preFilter;a;){for(o in i&&!(n=ft.exec(a))||(n&&(a=a.slice(n[0].length)||a),r.push(s=[])),i=!1,(n=mt.exec(a))&&(i=n.shift(),s.push({value:i,type:n[0].replace(pt," ")}),a=a.slice(i.length)),E.filter)!(n=yt[o].exec(a))||l[o]&&!(n=l[o](n))||(i=n.shift(),s.push({value:i,type:o,matches:n}),a=a.slice(i.length));if(!i)break}return e?a.length:a?w.error(t):V(t,r).slice(0)}function g(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function f(r,t,e){var l=t.dir,h=e&&"parentNode"===l,c=U++;return t.first?function(t,e,i){for(;t=t[l];)if(1===t.nodeType||h)return r(t,e,i)}:function(t,e,i){var n,s,o,a=Y+" "+c;if(i){for(;t=t[l];)if((1===t.nodeType||h)&&r(t,e,i))return!0}else for(;t=t[l];)if(1===t.nodeType||h)if((s=(o=t[B]||(t[B]={}))[l])&&s[0]===a){if(!0===(n=s[1])||n===N)return!0===n}else if((s=o[l]=[a])[1]=r(t,e,i)||N,!0===s[1])return!0}}function v(s){return 1<s.length?function(t,e,i){for(var n=s.length;n--;)if(!s[n](t,e,i))return!1;return!0}:s[0]}function x(t,e,i,n,s){for(var o,a=[],r=0,l=t.length,h=null!=e;r<l;r++)(o=t[r])&&(i&&!i(o,n,s)||(a.push(o),h&&e.push(r)));return a}function _(p,f,m,g,v,t){return g&&!g[B]&&(g=_(g)),v&&!v[B]&&(v=_(v,t)),l(function(t,e,i,n){var s,o,a,r=[],l=[],h=e.length,c=t||k(f||"*",i.nodeType?[i]:i,[]),u=!p||!t&&f?c:x(c,r,p,i,n),d=m?v||(t?p:h||g)?[]:e:u;if(m&&m(u,d,i,n),g)for(s=x(d,l),g(s,[],i,n),o=s.length;o--;)(a=s[o])&&(d[l[o]]=!(u[l[o]]=a));if(t){if(v||p){if(v){for(s=[],o=d.length;o--;)(a=d[o])&&s.push(u[o]=a);v(null,d=[],s,n)}for(o=d.length;o--;)(a=d[o])&&-1<(s=v?at.call(t,a):r[o])&&(t[s]=!(e[s]=a))}}else d=x(d===e?d.splice(h,d.length):d),v?v(null,e,d,n):st.apply(e,d)})}function b(t){for(var n,e,i,s=t.length,o=E.relative[t[0].type],a=o||E.relative[" "],r=o?1:0,l=f(function(t){return t===n},a,!0),h=f(function(t){return-1<at.call(n,t)},a,!0),c=[function(t,e,i){return!o&&(i||e!==A)||((n=e).nodeType?l(t,e,i):h(t,e,i))}];r<s;r++)if(e=E.relative[t[r].type])c=[f(v(c),e)];else{if((e=E.filter[t[r].type].apply(null,t[r].matches))[B]){for(i=++r;i<s&&!E.relative[t[i].type];i++);return _(1<r&&v(c),1<r&&g(t.slice(0,r-1).concat({value:" "===t[r-2].type?"*":""})).replace(pt,"$1"),e,r<i&&b(t.slice(r,i)),i<s&&b(t=t.slice(i)),i<s&&g(t))}c.push(e)}return v(c)}function y(g,v){var _=0,b=0<v.length,y=0<g.length,t=function(t,e,i,n,s){var o,a,r,l=[],h=0,c="0",u=t&&[],d=null!=s,p=A,f=t||y&&E.find.TAG("*",s&&e.parentNode||e),m=Y+=null==p?1:Math.random()||.1;for(d&&(A=e!==H&&e,N=_);null!=(o=f[c]);c++){if(y&&o){for(a=0;r=g[a++];)if(r(o,e,i)){n.push(o);break}d&&(Y=m,N=++_)}b&&((o=!r&&o)&&h--,t&&u.push(o))}if(h+=c,b&&c!==h){for(a=0;r=v[a++];)r(u,l,e,i);if(t){if(0<h)for(;c--;)u[c]||l[c]||(l[c]=it.call(n));l=x(l)}st.apply(n,l),d&&!t&&0<l.length&&1<h+v.length&&w.uniqueSort(n)}return d&&(Y=m,A=p),u};return b?l(t):t}function k(t,e,i){for(var n=0,s=e.length;n<s;n++)w(t,e[n],i);return i}function C(t,e,i,n){var s,o,a,r,l,h=m(t);if(!n&&1===h.length){if(2<(o=h[0]=h[0].slice(0)).length&&"ID"===(a=o[0]).type&&S.getById&&9===e.nodeType&&W&&E.relative[o[1].type]){if(!(e=(E.find.ID(a.matches[0].replace(Tt,St),e)||[])[0]))return i;t=t.slice(o.shift().value.length)}for(s=yt.needsContext.test(t)?0:o.length;s--&&(a=o[s],!E.relative[r=a.type]);)if((l=E.find[r])&&(n=l(a.matches[0].replace(Tt,St),gt.test(o[0].type)&&e.parentNode||e))){if(o.splice(s,1),!(t=n.length&&g(o)))return st.apply(i,n),i;break}}return M(t,h)(n,e,!W,i,gt.test(t)),i}function D(){}var T,S,N,E,I,P,M,A,$,z,H,j,W,O,L,F,R,B="sizzle"+-new Date,q=i.document,Y=0,U=0,K=t(),V=t(),X=t(),Q=!1,G=function(){return 0},J=typeof s,Z=1<<31,tt={}.hasOwnProperty,et=[],it=et.pop,nt=et.push,st=et.push,ot=et.slice,at=et.indexOf||function(t){for(var e=0,i=this.length;e<i;e++)if(this[e]===t)return e;return-1},rt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",lt="[\\x20\\t\\r\\n\\f]",ht="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ct=ht.replace("w","w#"),ut="\\["+lt+"*("+ht+")"+lt+"*(?:([*^$|!~]?=)"+lt+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ct+")|)|)"+lt+"*\\]",dt=":("+ht+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+ut.replace(3,8)+")*)|.*)\\)|)",pt=new RegExp("^"+lt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+lt+"+$","g"),ft=new RegExp("^"+lt+"*,"+lt+"*"),mt=new RegExp("^"+lt+"*([>+~]|"+lt+")"+lt+"*"),gt=new RegExp(lt+"*[+~]"),vt=new RegExp("="+lt+"*([^\\]'\"]*)"+lt+"*\\]","g"),_t=new RegExp(dt),bt=new RegExp("^"+ct+"$"),yt={ID:new RegExp("^#("+ht+")"),CLASS:new RegExp("^\\.("+ht+")"),TAG:new RegExp("^("+ht.replace("w","w*")+")"),ATTR:new RegExp("^"+ut),PSEUDO:new RegExp("^"+dt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+lt+"*(even|odd|(([+-]|)(\\d*)n|)"+lt+"*(?:([+-]|)"+lt+"*(\\d+)|))"+lt+"*\\)|)","i"),bool:new RegExp("^(?:"+rt+")$","i"),needsContext:new RegExp("^"+lt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+lt+"*((?:-\\d)?\\d*)"+lt+"*\\)|)(?=[^-]|$)","i")},wt=/^[^{]+\{\s*\[native \w/,xt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,kt=/^(?:input|select|textarea|button)$/i,Ct=/^h\d$/i,Dt=/'|\\/g,Tt=new RegExp("\\\\([\\da-f]{1,6}"+lt+"?|("+lt+")|.)","ig"),St=function(t,e,i){var n="0x"+e-65536;return n!=n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)};try{st.apply(et=ot.call(q.childNodes),q.childNodes),et[q.childNodes.length].nodeType}catch(Nt){st={apply:et.length?function(t,e){nt.apply(t,ot.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}for(T in P=w.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},S=w.support={},z=w.setDocument=function(t){var l=t?t.ownerDocument||t:q;return l!==H&&9===l.nodeType&&l.documentElement?(j=(H=l).documentElement,W=!P(l),S.attributes=n(function(t){return t.innerHTML="<a href='#'></a>",o("type|href|height|width",r,"#"===t.firstChild.getAttribute("href")),o(rt,a,null==t.getAttribute("disabled")),t.className="i",!t.getAttribute("className")}),S.input=n(function(t){return t.innerHTML="<input>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}),o("value",h,S.attributes&&S.input),S.getElementsByTagName=n(function(t){return t.appendChild(l.createComment("")),!t.getElementsByTagName("*").length}),S.getElementsByClassName=n(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),S.getById=n(function(t){return j.appendChild(t).id=B,!l.getElementsByName||!l.getElementsByName(B).length}),S.getById?(E.find.ID=function(t,e){if(typeof e.getElementById!==J&&W){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},E.filter.ID=function(t){var e=t.replace(Tt,St);return function(t){return t.getAttribute("id")===e}}):(delete E.find.ID,E.filter.ID=function(t){var i=t.replace(Tt,St);return function(t){var e=typeof t.getAttributeNode!==J&&t.getAttributeNode("id");return e&&e.value===i}}),E.find.TAG=S.getElementsByTagName?function(t,e){if(typeof e.getElementsByTagName!==J)return e.getElementsByTagName(t)}:function(t,e){var i,n=[],s=0,o=e.getElementsByTagName(t);if("*"!==t)return o;for(;i=o[s++];)1===i.nodeType&&n.push(i);return n},E.find.CLASS=S.getElementsByClassName&&function(t,e){if(typeof e.getElementsByClassName!==J&&W)return e.getElementsByClassName(t)},L=[],O=[],(S.qsa=e(l.querySelectorAll))&&(n(function(t){t.innerHTML="<select><option selected=''></option></select>",t.querySelectorAll("[selected]").length||O.push("\\["+lt+"*(?:value|"+rt+")"),t.querySelectorAll(":checked").length||O.push(":checked")}),n(function(t){var e=l.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("t",""),t.querySelectorAll("[t^='']").length&&O.push("[*^$]="+lt+"*(?:''|\"\")"),t.querySelectorAll(":enabled").length||O.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),O.push(",.*:")})),(S.matchesSelector=e(F=j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&n(function(t){S.disconnectedMatch=F.call(t,"div"),F.call(t,"[s!='']:x"),L.push("!=",dt)}),O=O.length&&new RegExp(O.join("|")),L=L.length&&new RegExp(L.join("|")),R=e(j.contains)||j.compareDocumentPosition?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},S.sortDetached=n(function(t){return 1&t.compareDocumentPosition(l.createElement("div"))}),G=j.compareDocumentPosition?function(t,e){if(t===e)return Q=!0,0;var i=e.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(e);return i?1&i||!S.sortDetached&&e.compareDocumentPosition(t)===i?t===l||R(q,t)?-1:e===l||R(q,e)?1:$?at.call($,t)-at.call($,e):0:4&i?-1:1:t.compareDocumentPosition?-1:1}:function(t,e){var i,n=0,s=t.parentNode,o=e.parentNode,a=[t],r=[e];if(t===e)return Q=!0,0;if(!s||!o)return t===l?-1:e===l?1:s?-1:o?1:$?at.call($,t)-at.call($,e):0;if(s===o)return c(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)r.unshift(i);for(;a[n]===r[n];)n++;return n?c(a[n],r[n]):a[n]===q?-1:r[n]===q?1:0},l):H},w.matches=function(t,e){return w(t,null,null,e)},w.matchesSelector=function(t,e){if((t.ownerDocument||t)!==H&&z(t),e=e.replace(vt,"='$1']"),S.matchesSelector&&W&&(!L||!L.test(e))&&(!O||!O.test(e)))try{var i=F.call(t,e);if(i||S.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(Nt){}return 0<w(e,H,null,[t]).length},w.contains=function(t,e){return(t.ownerDocument||t)!==H&&z(t),R(t,e)},w.attr=function(t,e){(t.ownerDocument||t)!==H&&z(t);var i=E.attrHandle[e.toLowerCase()],n=i&&tt.call(E.attrHandle,e.toLowerCase())?i(t,e,!W):s;return n===s?S.attributes||!W?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null:n},w.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},w.uniqueSort=function(t){var e,i=[],n=0,s=0;if(Q=!S.detectDuplicates,$=!S.sortStable&&t.slice(0),t.sort(G),Q){for(;e=t[s++];)e===t[s]&&(n=i.push(s));for(;n--;)t.splice(i[n],1)}return t},I=w.getText=function(t){var e,i="",n=0,s=t.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=I(t)}else if(3===s||4===s)return t.nodeValue}else for(;e=t[n];n++)i+=I(e);return i},E=w.selectors={cacheLength:50,createPseudo:l,match:yt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Tt,St),t[3]=(t[4]||t[5]||"").replace(Tt,St),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||w.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&w.error(t[0]),t},PSEUDO:function(t){var e,i=!t[5]&&t[2];return yt.CHILD.test(t[0])?null:(t[3]&&t[4]!==s?t[2]=t[4]:i&&_t.test(i)&&(e=m(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(Tt,St).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=K[t+" "];return e||(e=new RegExp("(^|"+lt+")"+t+"("+lt+"|$)"))&&K(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==J&&t.getAttribute("class")||"")})},ATTR:function(i,n,s){return function(t){var e=w.attr(t,i);return null==e?"!="===n:!n||(e+="","="===n?e===s:"!="===n?e!==s:"^="===n?s&&0===e.indexOf(s):"*="===n?s&&-1<e.indexOf(s):"$="===n?s&&e.slice(-s.length)===s:"~="===n?-1<(" "+e+" ").indexOf(s):"|="===n&&(e===s||e.slice(0,s.length+1)===s+"-"))}},CHILD:function(p,t,e,f,m){var g="nth"!==p.slice(0,3),v="last"!==p.slice(-4),_="of-type"===t;return 1===f&&0===m?function(t){return!!t.parentNode}:function(t,e,i){var n,s,o,a,r,l,h=g!==v?"nextSibling":"previousSibling",c=t.parentNode,u=_&&t.nodeName.toLowerCase(),d=!i&&!_;if(c){if(g){for(;h;){for(o=t;o=o[h];)if(_?o.nodeName.toLowerCase()===u:1===o.nodeType)return!1;l=h="only"===p&&!l&&"nextSibling"}return!0}if(l=[v?c.firstChild:c.lastChild],v&&d){for(r=(n=(s=c[B]||(c[B]={}))[p]||[])[0]===Y&&n[1],a=n[0]===Y&&n[2],o=r&&c.childNodes[r];o=++r&&o&&o[h]||(a=r=0)||l.pop();)if(1===o.nodeType&&++a&&o===t){s[p]=[Y,r,a];break}}else if(d&&(n=(t[B]||(t[B]={}))[p])&&n[0]===Y)a=n[1];else for(;(o=++r&&o&&o[h]||(a=r=0)||l.pop())&&((_?o.nodeName.toLowerCase()!==u:1!==o.nodeType)||!++a||(d&&((o[B]||(o[B]={}))[p]=[Y,a]),o!==t)););return(a-=m)===f||a%f==0&&0<=a/f}}},PSEUDO:function(t,o){var e,a=E.pseudos[t]||E.setFilters[t.toLowerCase()]||w.error("unsupported pseudo: "+t);return a[B]?a(o):1<a.length?(e=[t,t,"",o],E.setFilters.hasOwnProperty(t.toLowerCase())?l(function(t,e){for(var i,n=a(t,o),s=n.length;s--;)t[i=at.call(t,n[s])]=!(e[i]=n[s])}):function(t){return a(t,0,e)}):a}},pseudos:{not:l(function(t){var n=[],s=[],r=M(t.replace(pt,"$1"));return r[B]?l(function(t,e,i,n){for(var s,o=r(t,null,n,[]),a=t.length;a--;)(s=o[a])&&(t[a]=!(e[a]=s))}):function(t,e,i){return n[0]=t,r(n,null,i,s),!s.pop()}}),has:l(function(e){return function(t){return 0<w(e,t).length}}),contains:l(function(e){return function(t){return-1<(t.textContent||t.innerText||I(t)).indexOf(e)}}),lang:l(function(i){return bt.test(i||"")||w.error("unsupported lang: "+i),i=i.replace(Tt,St).toLowerCase(),function(t){var e;do{if(e=W?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===i||0===e.indexOf(i+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=i.location&&i.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===j},focus:function(t){return t===H.activeElement&&(!H.hasFocus||H.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if("@"<t.nodeName||3===t.nodeType||4===t.nodeType)return!1;return!0},parent:function(t){return!E.pseudos.empty(t)},header:function(t){return Ct.test(t.nodeName)},input:function(t){return kt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||e.toLowerCase()===t.type)},first:p(function(){return[0]}),last:p(function(t,e){return[e-1]}),eq:p(function(t,e,i){return[i<0?i+e:i]}),even:p(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:p(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:p(function(t,e,i){for(var n=i<0?i+e:i;0<=--n;)t.push(n);return t}),gt:p(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}},{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})E.pseudos[T]=u(T);for(T in{submit:!0,reset:!0})E.pseudos[T]=d(T);M=w.compile=function(t,e){var i,n=[],s=[],o=X[t+" "];if(!o){for(e||(e=m(t)),i=e.length;i--;)(o=b(e[i]))[B]?n.push(o):s.push(o);o=X(t,y(s,n))}return o},E.pseudos.nth=E.pseudos.eq,D.prototype=E.filters=E.pseudos,E.setFilters=new D,S.sortStable=B.split("").sort(G).join("")===B,z(),[0,0].sort(G),S.detectDuplicates=Q,Et.find=w,Et.expr=w.selectors,Et.expr[":"]=Et.expr.pseudos,Et.unique=w.uniqueSort,Et.text=w.getText,Et.isXMLDoc=w.isXML,Et.contains=w.contains}(m);var Ct={};Et.Callbacks=function(s){s="string"==typeof s?Ct[s]||t(s):Et.extend({},s);var o,e,i,a,n,r,l=[],h=!s.once&&[],c=function(t){for(e=s.memory&&t,i=!0,n=r||0,r=0,a=l.length,o=!0;l&&n<a;n++)if(!1===l[n].apply(t[0],t[1])&&s.stopOnFalse){e=!1;break}o=!1,l&&(h?h.length&&c(h.shift()):e?l=[]:u.disable())},u={add:function(){if(l){var t=l.length;!function n(t){Et.each(t,function(t,e){var i=Et.type(e);"function"===i?s.unique&&u.has(e)||l.push(e):e&&e.length&&"string"!==i&&n(e)})}(arguments),o?a=l.length:e&&(r=t,c(e))}return this},remove:function(){return l&&Et.each(arguments,function(t,e){for(var i;-1<(i=Et.inArray(e,l,i));)l.splice(i,1),o&&(i<=a&&a--,i<=n&&n--)}),this},has:function(t){return t?-1<Et.inArray(t,l):!(!l||!l.length)},empty:function(){return l=[],a=0,this},disable:function(){return l=h=e=k,this},disabled:function(){return!l},lock:function(){return h=k,e||u.disable(),this},locked:function(){return!h},fireWith:function(t,e){return e=[t,(e=e||[]).slice?e.slice():e],!l||i&&!h||(o?h.push(e):c(e)),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},Et.extend({Deferred:function(t){var a=[["resolve","done",Et.Callbacks("once memory"),"resolved"],["reject","fail",Et.Callbacks("once memory"),"rejected"],["notify","progress",Et.Callbacks("memory")]],s="pending",r={state:function(){return s},always:function(){return l.done(arguments).fail(arguments),this},then:function(){var o=arguments;return Et.Deferred(function(s){Et.each(a,function(t,e){var i=e[0],n=Et.isFunction(o[t])&&o[t];l[e[1]](function(){var t=n&&n.apply(this,arguments);t&&Et.isFunction(t.promise)?t.promise().done(s.resolve).fail(s.reject).progress(s.notify):s[i+"With"](this===r?s.promise():this,n?[t]:arguments)})}),o=null}).promise()},promise:function(t){return null!=t?Et.extend(t,r):r}},l={};return r.pipe=r.then,Et.each(a,function(t,e){var i=e[2],n=e[3];r[e[1]]=i.add,n&&i.add(function(){s=n},a[1^t][2].disable,a[2][2].lock),l[e[0]]=function(){return l[e[0]+"With"](this===l?r:this,arguments),this},l[e[0]+"With"]=i.fireWith}),r.promise(l),t&&t.call(l,l),l},when:function(t){var s,e,i,n=0,o=ot.call(arguments),a=o.length,r=1!==a||t&&Et.isFunction(t.promise)?a:0,l=1===r?t:Et.Deferred(),h=function(e,i,n){return function(t){i[e]=this,n[e]=1<arguments.length?ot.call(arguments):t,n===s?l.notifyWith(i,n):--r||l.resolveWith(i,n)}};if(1<a)for(s=new Array(a),e=new Array(a),i=new Array(a);n<a;n++)o[n]&&Et.isFunction(o[n].promise)?o[n].promise().done(h(n,i,o)).fail(l.reject).progress(h(n,e,s)):--r;return r||l.resolveWith(i,o),l.promise()}}),Et.support=function(o){var t,e,i,n,s,a,r,l,h,c=Q.createElement("div");if(c.setAttribute("className","t"),c.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=c.getElementsByTagName("*")||[],!(e=c.getElementsByTagName("a")[0])||!e.style||!t.length)return o;a=(n=Q.createElement("select")).appendChild(Q.createElement("option")),i=c.getElementsByTagName("input")[0],e.style.cssText="top:1px;float:left;opacity:.5",o.getSetAttribute="t"!==c.className,o.leadingWhitespace=3===c.firstChild.nodeType,o.tbody=!c.getElementsByTagName("tbody").length,o.htmlSerialize=!!c.getElementsByTagName("link").length,o.style=/top/.test(e.getAttribute("style")),o.hrefNormalized="/a"===e.getAttribute("href"),o.opacity=/^0.5/.test(e.style.opacity),o.cssFloat=!!e.style.cssFloat,o.checkOn=!!i.value,o.optSelected=a.selected,o.enctype=!!Q.createElement("form").enctype,o.html5Clone="<:nav></:nav>"!==Q.createElement("nav").cloneNode(!0).outerHTML,o.inlineBlockNeedsLayout=!1,o.shrinkWrapBlocks=!1,o.pixelPosition=!1,o.deleteExpando=!0,o.noCloneEvent=!0,o.reliableMarginRight=!0,o.boxSizingReliable=!0,i.checked=!0,o.noCloneChecked=i.cloneNode(!0).checked,n.disabled=!0,o.optDisabled=!a.disabled;try{delete c.test}catch(u){o.deleteExpando=!1}for(h in(i=Q.createElement("input")).setAttribute("value",""),o.input=""===i.getAttribute("value"),i.value="t",i.setAttribute("type","radio"),o.radioValue="t"===i.value,i.setAttribute("checked","t"),i.setAttribute("name","t"),(s=Q.createDocumentFragment()).appendChild(i),o.appendChecked=i.checked,o.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,c.attachEvent&&(c.attachEvent("onclick",function(){o.noCloneEvent=!1}),c.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})c.setAttribute(r="on"+h,"t"),o[h+"Bubbles"]=r in m||!1===c.attributes[r].expando;for(h in c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===c.style.backgroundClip,Et(o))break;return o.ownLast="0"!==h,Et(function(){var t,e,i,n="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",s=Q.getElementsByTagName("body")[0];s&&((t=Q.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",s.appendChild(t).appendChild(c),c.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(i=c.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",l=0===i[0].offsetHeight,i[0].style.display="",i[1].style.display="none",o.reliableHiddenOffsets=l&&0===i[0].offsetHeight,c.innerHTML="",c.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%;",Et.swap(s,null!=s.style.zoom?{zoom:1}:{},function(){o.boxSizing=4===c.offsetWidth}),m.getComputedStyle&&(o.pixelPosition="1%"!==(m.getComputedStyle(c,null)||{}).top,o.boxSizingReliable="4px"===(m.getComputedStyle(c,null)||{width:"4px"}).width,(e=c.appendChild(Q.createElement("div"))).style.cssText=c.style.cssText=n,e.style.marginRight=e.style.width="0",c.style.width="1px",o.reliableMarginRight=!parseFloat((m.getComputedStyle(e,null)||{}).marginRight)),typeof c.style.zoom!==V&&(c.innerHTML="",c.style.cssText=n+"width:1px;padding:1px;display:inline;zoom:1",o.inlineBlockNeedsLayout=3===c.offsetWidth,c.style.display="block",c.innerHTML="<div></div>",c.firstChild.style.width="5px",o.shrinkWrapBlocks=3!==c.offsetWidth,o.inlineBlockNeedsLayout&&(s.style.zoom=1)),s.removeChild(t),t=c=i=e=null)}),t=n=s=a=e=i=null,o}({});var Dt=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Tt=/([A-Z])/g;Et.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?Et.cache[t[Et.expando]]:t[Et.expando])&&!h(t)},data:function(t,e,i){return n(t,e,i)},removeData:function(t,e){return i(t,e)},_data:function(t,e,i){return n(t,e,i,!0)},_removeData:function(t,e){return i(t,e,!0)},acceptData:function(t){if(t.nodeType&&1!==t.nodeType&&9!==t.nodeType)return!1;var e=t.nodeName&&Et.noData[t.nodeName.toLowerCase()];return!e||!0!==e&&t.getAttribute("classid")===e}}),Et.fn.extend({data:function(t,e){var i,n,s=null,o=0,a=this[0];if(t!==k)return"object"==typeof t?this.each(function(){Et.data(this,t)}):1<arguments.length?this.each(function(){Et.data(this,t,e)}):a?l(a,t,Et.data(a,t)):null;if(this.length&&(s=Et.data(a),1===a.nodeType&&!Et._data(a,"parsedAttrs"))){for(i=a.attributes;o<i.length;o++)0===(n=i[o].name).indexOf("data-")&&l(a,n=Et.camelCase(n.slice(5)),s[n]);Et._data(a,"parsedAttrs",!0)}return s},removeData:function(t){return this.each(function(){Et.removeData(this,t)})}}),Et.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=Et._data(t,e),i&&(!n||Et.isArray(i)?n=Et._data(t,e,Et.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=Et.queue(t,e),n=i.length,s=i.shift(),o=Et._queueHooks(t,e),a=function(){Et.dequeue(t,e)};"inprogress"===s&&(s=i.shift(),n--),(o.cur=s)&&("fx"===e&&i.unshift("inprogress"),delete o.stop,s.call(t,a,o)),!n&&o&&o.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return Et._data(t,i)||Et._data(t,i,{empty:Et.Callbacks("once memory").add(function(){Et._removeData(t,e+"queue"),Et._removeData(t,i)})})}}),Et.fn.extend({queue:function(e,i){var t=2;return"string"!=typeof e&&(i=e,e="fx",t--),arguments.length<t?Et.queue(this[0],e):i===k?this:this.each(function(){var t=Et.queue(this,e,i);Et._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&Et.dequeue(this,e)})},dequeue:function(t){return this.each(function(){Et.dequeue(this,t)})},delay:function(n,t){return n=Et.fx&&Et.fx.speeds[n]||n,t=t||"fx",this.queue(t,function(t,e){var i=setTimeout(t,n);e.stop=function(){clearTimeout(i)}})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,s=Et.Deferred(),o=this,a=this.length,r=function(){--n||s.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=k),t=t||"fx";a--;)(i=Et._data(o[a],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(r));return r(),s.promise(e)}});var St,Nt,It=/[\t\r\n\f]/g,Pt=/\r/g,Mt=/^(?:input|select|textarea|button|object)$/i,At=/^(?:a|area)$/i,$t=/^(?:checked|selected)$/i,zt=Et.support.getSetAttribute,Ht=Et.support.input;Et.fn.extend({attr:function(t,e){return Et.access(this,Et.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){Et.removeAttr(this,t)})},prop:function(t,e){return Et.access(this,Et.prop,t,e,1<arguments.length)},removeProp:function(e){return e=Et.propFix[e]||e,this.each(function(){try{this[e]=k,delete this[e]}catch(t){}})},addClass:function(e){var t,i,n,s,o,a=0,r=this.length,l="string"==typeof e&&e;if(Et.isFunction(e))return this.each(function(t){Et(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(ut)||[];a<r;a++)if(n=1===(i=this[a]).nodeType&&(i.className?(" "+i.className+" ").replace(It," "):" ")){for(o=0;s=t[o++];)n.indexOf(" "+s+" ")<0&&(n+=s+" ");i.className=Et.trim(n)}return this},removeClass:function(e){var t,i,n,s,o,a=0,r=this.length,l=0===arguments.length||"string"==typeof e&&e;if(Et.isFunction(e))return this.each(function(t){Et(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(ut)||[];a<r;a++)if(n=1===(i=this[a]).nodeType&&(i.className?(" "+i.className+" ").replace(It," "):"")){for(o=0;s=t[o++];)for(;0<=n.indexOf(" "+s+" ");)n=n.replace(" "+s+" "," ");i.className=e?Et.trim(n):""}return this},toggleClass:function(o,a){var r=typeof o,l="boolean"==typeof a;return Et.isFunction(o)?this.each(function(t){Et(this).toggleClass(o.call(this,t,this.className,a),a)}):this.each(function(){if("string"===r)for(var t,e=0,i=Et(this),n=a,s=o.match(ut)||[];t=s[e++];)n=l?n:!i.hasClass(t),i[n?"addClass":"removeClass"](t);else r!==V&&"boolean"!==r||(this.className&&Et._data(this,"__className__",this.className),this.className=this.className||!1===o?"":Et._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",i=0,n=this.length;i<n;i++)if(1===this[i].nodeType&&0<=(" "+this[i].className+" ").replace(It," ").indexOf(e))return!0;return!1},val:function(i){var t,n,s,e=this[0];return arguments.length?(s=Et.isFunction(i),this.each(function(t){var e;1===this.nodeType&&(null==(e=s?i.call(this,t,Et(this).val()):i)?e="":"number"==typeof e?e+="":Et.isArray(e)&&(e=Et.map(e,function(t){return null==t?"":t+""})),(n=Et.valHooks[this.type]||Et.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&n.set(this,e,"value")!==k||(this.value=e))})):e?(n=Et.valHooks[e.type]||Et.valHooks[e.nodeName.toLowerCase()])&&"get"in n&&(t=n.get(e,"value"))!==k?t:"string"==typeof(t=e.value)?t.replace(Pt,""):null==t?"":t:void 0}}),Et.extend({valHooks:{option:{get:function(t){var e=Et.find.attr(t,"value");return null!=e?e:t.text}},select:{get:function(t){for(var e,i,n=t.options,s=t.selectedIndex,o="select-one"===t.type||s<0,a=o?null:[],r=o?s+1:n.length,l=s<0?r:o?s:0;l<r;l++)if(((i=n[l]).selected||l===s)&&(Et.support.optDisabled?!i.disabled:null===i.getAttribute("disabled"))&&(!i.parentNode.disabled||!Et.nodeName(i.parentNode,"optgroup"))){if(e=Et(i).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var i,n,s=t.options,o=Et.makeArray(e),a=s.length;a--;)((n=s[a]).selected=0<=Et.inArray(Et(n).val(),o))&&(i=!0);return i||(t.selectedIndex=-1),o}}},attr:function(t,e,i){var n,s,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return typeof t.getAttribute===V?Et.prop(t,e,i):(1===o&&Et.isXMLDoc(t)||(e=e.toLowerCase(),n=Et.attrHooks[e]||(Et.expr.match.bool.test(e)?Nt:St)),i===k?n&&"get"in n&&null!==(s=n.get(t,e))?s:null==(s=Et.find.attr(t,e))?k:s:null!==i?n&&"set"in n&&(s=n.set(t,i,e))!==k?s:(t.setAttribute(e,i+""),i):void Et.removeAttr(t,e))},removeAttr:function(t,e){var i,n,s=0,o=e&&e.match(ut);if(o&&1===t.nodeType)for(;i=o[s++];)n=Et.propFix[i]||i,Et.expr.match.bool.test(i)?Ht&&zt||!$t.test(i)?t[n]=!1:t[Et.camelCase("default-"+i)]=t[n]=!1:Et.attr(t,i,""),t.removeAttribute(zt?i:n)},attrHooks:{type:{set:function(t,e){if(!Et.support.radioValue&&"radio"===e&&Et.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,i){var n,s,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return(1!==o||!Et.isXMLDoc(t))&&(e=Et.propFix[e]||e,s=Et.propHooks[e]),i!==k?s&&"set"in s&&(n=s.set(t,i,e))!==k?n:t[e]=i:s&&"get"in s&&null!==(n=s.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=Et.find.attr(t,"tabindex");return e?parseInt(e,10):Mt.test(t.nodeName)||At.test(t.nodeName)&&t.href?0:-1}}}}),Nt={set:function(t,e,i){return!1===e?Et.removeAttr(t,i):Ht&&zt||!$t.test(i)?t.setAttribute(!zt&&Et.propFix[i]||i,i):t[Et.camelCase("default-"+i)]=t[i]=!0,i}},Et.each(Et.expr.match.bool.source.match(/\w+/g),function(t,e){var o=Et.expr.attrHandle[e]||Et.find.attr;Et.expr.attrHandle[e]=Ht&&zt||!$t.test(e)?function(t,e,i){var n=Et.expr.attrHandle[e],s=i?k:(Et.expr.attrHandle[e]=k)!=o(t,e,i)?e.toLowerCase():null;return Et.expr.attrHandle[e]=n,s}:function(t,e,i){return i?k:t[Et.camelCase("default-"+e)]?e.toLowerCase():null}}),Ht&&zt||(Et.attrHooks.value={set:function(t,e,i){if(!Et.nodeName(t,"input"))return St&&St.set(t,e,i);t.defaultValue=e}}),zt||(St={set:function(t,e,i){var n=t.getAttributeNode(i);return n||t.setAttributeNode(n=t.ownerDocument.createAttribute(i)),n.value=e+="","value"===i||e===t.getAttribute(i)?e:k}},Et.expr.attrHandle.id=Et.expr.attrHandle.name=Et.expr.attrHandle.coords=function(t,e,i){var n;return i?k:(n=t.getAttributeNode(e))&&""!==n.value?n.value:null},Et.valHooks.button={get:function(t,e){var i=t.getAttributeNode(e);return i&&i.specified?i.value:k},set:St.set},Et.attrHooks.contenteditable={set:function(t,e,i){St.set(t,""!==e&&e,i)}},Et.each(["width","height"],function(t,i){Et.attrHooks[i]={set:function(t,e){if(""===e)return t.setAttribute(i,"auto"),e}}})),Et.support.hrefNormalized||Et.each(["href","src"],function(t,e){Et.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),Et.support.style||(Et.attrHooks.style={get:function(t){return t.style.cssText||k},set:function(t,e){return t.style.cssText=e+""}}),Et.support.optSelected||(Et.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,
+e.parentNode&&e.parentNode.selectedIndex),null}}),Et.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Et.propFix[this.toLowerCase()]=this}),Et.support.enctype||(Et.propFix.enctype="encoding"),Et.each(["radio","checkbox"],function(){Et.valHooks[this]={set:function(t,e){if(Et.isArray(e))return t.checked=0<=Et.inArray(Et(t).val(),e)}},Et.support.checkOn||(Et.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var jt=/^(?:input|select|textarea)$/i,Wt=/^key/,Ot=/^(?:mouse|contextmenu)|click/,Lt=/^(?:focusinfocus|focusoutblur)$/,Ft=/^([^.]*)(?:\.(.+)|)$/;Et.event={global:{},add:function(t,e,i,n,s){var o,a,r,l,h,c,u,d,p,f,m,g=Et._data(t);if(g){for(i.handler&&(i=(l=i).handler,s=l.selector),i.guid||(i.guid=Et.guid++),(a=g.events)||(a=g.events={}),(c=g.handle)||((c=g.handle=function(t){return typeof Et===V||t&&Et.event.triggered===t.type?k:Et.event.dispatch.apply(c.elem,arguments)}).elem=t),r=(e=(e||"").match(ut)||[""]).length;r--;)p=m=(o=Ft.exec(e[r])||[])[1],f=(o[2]||"").split(".").sort(),p&&(h=Et.event.special[p]||{},p=(s?h.delegateType:h.bindType)||p,h=Et.event.special[p]||{},u=Et.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&Et.expr.match.needsContext.test(s),namespace:f.join(".")},l),(d=a[p])||((d=a[p]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,f,c)||(t.addEventListener?t.addEventListener(p,c,!1):t.attachEvent&&t.attachEvent("on"+p,c))),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),s?d.splice(d.delegateCount++,0,u):d.push(u),Et.event.global[p]=!0);t=null}},remove:function(t,e,i,n,s){var o,a,r,l,h,c,u,d,p,f,m,g=Et.hasData(t)&&Et._data(t);if(g&&(c=g.events)){for(h=(e=(e||"").match(ut)||[""]).length;h--;)if(p=m=(r=Ft.exec(e[h])||[])[1],f=(r[2]||"").split(".").sort(),p){for(u=Et.event.special[p]||{},d=c[p=(n?u.delegateType:u.bindType)||p]||[],r=r[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=d.length;o--;)a=d[o],!s&&m!==a.origType||i&&i.guid!==a.guid||r&&!r.test(a.namespace)||n&&n!==a.selector&&("**"!==n||!a.selector)||(d.splice(o,1),a.selector&&d.delegateCount--,u.remove&&u.remove.call(t,a));l&&!d.length&&(u.teardown&&!1!==u.teardown.call(t,f,g.handle)||Et.removeEvent(t,p,g.handle),delete c[p])}else for(p in c)Et.event.remove(t,p+e[h],i,n,!0);Et.isEmptyObject(c)&&(delete g.handle,Et._removeData(t,"events"))}},trigger:function(t,e,i,n){var s,o,a,r,l,h,c,u=[i||Q],d=lt.call(t,"type")?t.type:t,p=lt.call(t,"namespace")?t.namespace.split("."):[];if(a=h=i=i||Q,3!==i.nodeType&&8!==i.nodeType&&!Lt.test(d+Et.event.triggered)&&(0<=d.indexOf(".")&&(d=(p=d.split(".")).shift(),p.sort()),o=d.indexOf(":")<0&&"on"+d,(t=t[Et.expando]?t:new Et.Event(d,"object"==typeof t&&t)).isTrigger=n?2:3,t.namespace=p.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=k,t.target||(t.target=i),e=null==e?[t]:Et.makeArray(e,[t]),l=Et.event.special[d]||{},n||!l.trigger||!1!==l.trigger.apply(i,e))){if(!n&&!l.noBubble&&!Et.isWindow(i)){for(r=l.delegateType||d,Lt.test(r+d)||(a=a.parentNode);a;a=a.parentNode)u.push(a),h=a;h===(i.ownerDocument||Q)&&u.push(h.defaultView||h.parentWindow||m)}for(c=0;(a=u[c++])&&!t.isPropagationStopped();)t.type=1<c?r:l.bindType||d,(s=(Et._data(a,"events")||{})[t.type]&&Et._data(a,"handle"))&&s.apply(a,e),(s=o&&a[o])&&Et.acceptData(a)&&s.apply&&!1===s.apply(a,e)&&t.preventDefault();if(t.type=d,!n&&!t.isDefaultPrevented()&&(!l._default||!1===l._default.apply(u.pop(),e))&&Et.acceptData(i)&&o&&i[d]&&!Et.isWindow(i)){(h=i[o])&&(i[o]=null),Et.event.triggered=d;try{i[d]()}catch(f){}Et.event.triggered=k,h&&(i[o]=h)}return t.result}},dispatch:function(t){t=Et.event.fix(t);var e,i,n,s,o,a=[],r=ot.call(arguments),l=(Et._data(this,"events")||{})[t.type]||[],h=Et.event.special[t.type]||{};if((r[0]=t).delegateTarget=this,!h.preDispatch||!1!==h.preDispatch.call(this,t)){for(a=Et.event.handlers.call(this,t,l),e=0;(s=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=s.elem,o=0;(n=s.handlers[o++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(n.namespace)||(t.handleObj=n,t.data=n.data,(i=((Et.event.special[n.origType]||{}).handle||n.handler).apply(s.elem,r))!==k&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return h.postDispatch&&h.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,s,o,a=[],r=e.delegateCount,l=t.target;if(r&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(s=[],o=0;o<r;o++)s[i=(n=e[o]).selector+" "]===k&&(s[i]=n.needsContext?0<=Et(i,this).index(l):Et.find(i,this,null,[l]).length),s[i]&&s.push(n);s.length&&a.push({elem:l,handlers:s})}return r<e.length&&a.push({elem:this,handlers:e.slice(r)}),a},fix:function(t){if(t[Et.expando])return t;var e,i,n,s=t.type,o=t,a=this.fixHooks[s];for(a||(this.fixHooks[s]=a=Ot.test(s)?this.mouseHooks:Wt.test(s)?this.keyHooks:{}),n=a.props?this.props.concat(a.props):this.props,t=new Et.Event(o),e=n.length;e--;)t[i=n[e]]=o[i];return t.target||(t.target=o.srcElement||Q),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,o):t},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(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var i,n,s,o=e.button,a=e.fromElement;return null==t.pageX&&null!=e.clientX&&(s=(n=t.target.ownerDocument||Q).documentElement,i=n.body,t.pageX=e.clientX+(s&&s.scrollLeft||i&&i.scrollLeft||0)-(s&&s.clientLeft||i&&i.clientLeft||0),t.pageY=e.clientY+(s&&s.scrollTop||i&&i.scrollTop||0)-(s&&s.clientTop||i&&i.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?e.toElement:a),t.which||o===k||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==e()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){if(this===e()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(Et.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(t){return Et.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){t.result!==k&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,i,n){var s=Et.extend(new Et.Event,i,{type:t,isSimulated:!0,originalEvent:{}});n?Et.event.trigger(s,null,e):Et.event.dispatch.call(e,s),s.isDefaultPrevented()&&i.preventDefault()}},Et.removeEvent=Q.removeEventListener?function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i,!1)}:function(t,e,i){var n="on"+e;t.detachEvent&&(typeof t[n]===V&&(t[n]=null),t.detachEvent(n,i))},Et.Event=function(t,e){if(!(this instanceof Et.Event))return new Et.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||!1===t.returnValue||t.getPreventDefault&&t.getPreventDefault()?s:c):this.type=t,e&&Et.extend(this,e),this.timeStamp=t&&t.timeStamp||Et.now(),this[Et.expando]=!0},Et.Event.prototype={isDefaultPrevented:c,isPropagationStopped:c,isImmediatePropagationStopped:c,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=s,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=s,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=s,this.stopPropagation()}},Et.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,o){Et.event.special[t]={delegateType:o,bindType:o,handle:function(t){var e,i=this,n=t.relatedTarget,s=t.handleObj;return n&&(n===i||Et.contains(i,n))||(t.type=s.origType,e=s.handler.apply(this,arguments),t.type=o),e}}}),Et.support.submitBubbles||(Et.event.special.submit={setup:function(){if(Et.nodeName(this,"form"))return!1;Et.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,i=Et.nodeName(e,"input")||Et.nodeName(e,"button")?e.form:k;i&&!Et._data(i,"submitBubbles")&&(Et.event.add(i,"submit._submit",function(t){t._submit_bubble=!0}),Et._data(i,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&Et.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){if(Et.nodeName(this,"form"))return!1;Et.event.remove(this,"._submit")}}),Et.support.changeBubbles||(Et.event.special.change={setup:function(){if(jt.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(Et.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),Et.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),Et.event.simulate("change",this,t,!0)})),!1;Et.event.add(this,"beforeactivate._change",function(t){var e=t.target;jt.test(e.nodeName)&&!Et._data(e,"changeBubbles")&&(Et.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||Et.event.simulate("change",this.parentNode,t,!0)}),Et._data(e,"changeBubbles",!0))})},handle:function(t){var e=t.target;if(this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type)return t.handleObj.handler.apply(this,arguments)},teardown:function(){return Et.event.remove(this,"._change"),!jt.test(this.nodeName)}}),Et.support.focusinBubbles||Et.each({focus:"focusin",blur:"focusout"},function(t,e){var i=0,n=function(t){Et.event.simulate(e,t.target,Et.event.fix(t),!0)};Et.event.special[e]={setup:function(){0==i++&&Q.addEventListener(t,n,!0)},teardown:function(){0==--i&&Q.removeEventListener(t,n,!0)}}}),Et.fn.extend({on:function(t,e,i,n,s){var o,a;if("object"==typeof t){for(o in"string"!=typeof e&&(i=i||e,e=k),t)this.on(o,e,i,t[o],s);return this}if(null==i&&null==n?(n=e,i=e=k):null==n&&("string"==typeof e?(n=i,i=k):(n=i,i=e,e=k)),!1===n)n=c;else if(!n)return this;return 1===s&&(a=n,(n=function(t){return Et().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=Et.guid++)),this.each(function(){Et.event.add(this,t,n,i,e)})},one:function(t,e,i,n){return this.on(t,e,i,n,1)},off:function(t,e,i){var n,s;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,Et(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(i=e,e=k),!1===i&&(i=c),this.each(function(){Et.event.remove(this,t,i,e)});for(s in t)this.off(s,e,t[s]);return this},trigger:function(t,e){return this.each(function(){Et.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return Et.event.trigger(t,e,i,!0)}});var Rt=/^.[^:#\[\.,]*$/,Bt=/^(?:parents|prev(?:Until|All))/,qt=Et.expr.match.needsContext,Yt={children:!0,contents:!0,next:!0,prev:!0};Et.fn.extend({find:function(t){var e,i=[],n=this,s=n.length;if("string"!=typeof t)return this.pushStack(Et(t).filter(function(){for(e=0;e<s;e++)if(Et.contains(n[e],this))return!0}));for(e=0;e<s;e++)Et.find(t,n[e],i);return(i=this.pushStack(1<s?Et.unique(i):i)).selector=this.selector?this.selector+" "+t:t,i},has:function(t){var e,i=Et(t,this),n=i.length;return this.filter(function(){for(e=0;e<n;e++)if(Et.contains(this,i[e]))return!0})},not:function(t){return this.pushStack(a(this,t||[],!0))},filter:function(t){return this.pushStack(a(this,t||[],!1))},is:function(t){return!!a(this,"string"==typeof t&&qt.test(t)?Et(t):t||[],!1).length},closest:function(t,e){for(var i,n=0,s=this.length,o=[],a=qt.test(t)||"string"!=typeof t?Et(t,e||this.context):0;n<s;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(a?-1<a.index(i):1===i.nodeType&&Et.find.matchesSelector(i,t))){i=o.push(i);break}return this.pushStack(1<o.length?Et.unique(o):o)},index:function(t){return t?"string"==typeof t?Et.inArray(this[0],Et(t)):Et.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){var i="string"==typeof t?Et(t,e):Et.makeArray(t&&t.nodeType?[t]:t),n=Et.merge(this.get(),i);return this.pushStack(Et.unique(n))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),Et.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Et.dir(t,"parentNode")},parentsUntil:function(t,e,i){return Et.dir(t,"parentNode",i)},next:function(t){return o(t,"nextSibling")},prev:function(t){return o(t,"previousSibling")},nextAll:function(t){return Et.dir(t,"nextSibling")},prevAll:function(t){return Et.dir(t,"previousSibling")},nextUntil:function(t,e,i){return Et.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return Et.dir(t,"previousSibling",i)},siblings:function(t){return Et.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return Et.sibling(t.firstChild)},contents:function(t){return Et.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:Et.merge([],t.childNodes)}},function(n,s){Et.fn[n]=function(t,e){var i=Et.map(this,s,t);return"Until"!==n.slice(-5)&&(e=t),e&&"string"==typeof e&&(i=Et.filter(e,i)),1<this.length&&(Yt[n]||(i=Et.unique(i)),Bt.test(n)&&(i=i.reverse())),this.pushStack(i)}}),Et.extend({filter:function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?Et.find.matchesSelector(n,t)?[n]:[]:Et.find.matches(t,Et.grep(e,function(t){return 1===t.nodeType}))},dir:function(t,e,i){for(var n=[],s=t[e];s&&9!==s.nodeType&&(i===k||1!==s.nodeType||!Et(s).is(i));)1===s.nodeType&&n.push(s),s=s[e];return n},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}});var Ut="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Kt=/ jQuery\d+="(?:null|\d+)"/g,Vt=new RegExp("<(?:"+Ut+")[\\s/>]","i"),Xt=/^\s+/,Qt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Gt=/<([\w:]+)/,Jt=/<tbody/i,Zt=/<|&#?\w+;/,te=/<(?:script|style|link)/i,ee=/^(?:checkbox|radio)$/i,ie=/checked\s*(?:[^=]|=\s*.checked.)/i,ne=/^$|\/(?:java|ecma)script/i,se=/^true\/(.*)/,oe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ae={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:Et.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},re=g(Q).appendChild(Q.createElement("div"));ae.optgroup=ae.option,ae.tbody=ae.tfoot=ae.colgroup=ae.caption=ae.thead,ae.th=ae.td,Et.fn.extend({text:function(t){return Et.access(this,function(t){return t===k?Et.text(this):this.empty().append((this[0]&&this[0].ownerDocument||Q).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||u(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=u(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var i,n=t?Et.filter(t,this):this,s=0;null!=(i=n[s]);s++)e||1!==i.nodeType||Et.cleanData(y(i)),i.parentNode&&(e&&Et.contains(i.ownerDocument,i)&&b(y(i,"script")),i.parentNode.removeChild(i));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&Et.cleanData(y(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&Et.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return Et.clone(this,t,e)})},html:function(t){return Et.access(this,function(t){var e=this[0]||{},i=0,n=this.length;if(t===k)return 1===e.nodeType?e.innerHTML.replace(Kt,""):k;if("string"==typeof t&&!te.test(t)&&(Et.support.htmlSerialize||!Vt.test(t))&&(Et.support.leadingWhitespace||!Xt.test(t))&&!ae[(Gt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Qt,"<$1></$2>");try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(Et.cleanData(y(e,!1)),e.innerHTML=t);e=0}catch(s){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var n=Et.map(this,function(t){return[t.nextSibling,t.parentNode]}),s=0;return this.domManip(arguments,function(t){var e=n[s++],i=n[s++];i&&(e&&e.parentNode!==i&&(e=this.nextSibling),Et(this).remove(),i.insertBefore(t,e))},!0),s?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(i,n,s){i=nt.apply([],i);var t,e,o,a,r,l,h=0,c=this.length,u=this,d=c-1,p=i[0],f=Et.isFunction(p);if(f||!(c<=1||"string"!=typeof p||Et.support.checkClone)&&ie.test(p))return this.each(function(t){var e=u.eq(t);f&&(i[0]=p.call(this,t,e.html())),e.domManip(i,n,s)});if(c&&(t=(l=Et.buildFragment(i,this[0].ownerDocument,!1,!s&&this)).firstChild,1===l.childNodes.length&&(l=t),t)){for(o=(a=Et.map(y(l,"script"),v)).length;h<c;h++)e=l,h!==d&&(e=Et.clone(e,!0,!0),o&&Et.merge(a,y(e,"script"))),n.call(this[h],e,h);if(o)for(r=a[a.length-1].ownerDocument,Et.map(a,_),h=0;h<o;h++)e=a[h],ne.test(e.type||"")&&!Et._data(e,"globalEval")&&Et.contains(r,e)&&(e.src?Et._evalUrl(e.src):Et.globalEval((e.text||e.textContent||e.innerHTML||"").replace(oe,"")));l=t=null}return this}}),Et.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,a){Et.fn[t]=function(t){for(var e,i=0,n=[],s=Et(t),o=s.length-1;i<=o;i++)e=i===o?this:this.clone(!0),Et(s[i])[a](e),st.apply(n,e.get());return this.pushStack(n)}}),Et.extend({clone:function(t,e,i){var n,s,o,a,r,l=Et.contains(t.ownerDocument,t);if(Et.support.html5Clone||Et.isXMLDoc(t)||!Vt.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(re.innerHTML=t.outerHTML,re.removeChild(o=re.firstChild)),!(Et.support.noCloneEvent&&Et.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||Et.isXMLDoc(t)))for(n=y(o),r=y(t),a=0;null!=(s=r[a]);++a)n[a]&&p(s,n[a]);if(e)if(i)for(r=r||y(t),n=n||y(o),a=0;null!=(s=r[a]);a++)d(s,n[a]);else d(t,o);return 0<(n=y(o,"script")).length&&b(n,!l&&y(t,"script")),n=r=s=null,o},buildFragment:function(t,e,i,n){for(var s,o,a,r,l,h,c,u=t.length,d=g(e),p=[],f=0;f<u;f++)if((o=t[f])||0===o)if("object"===Et.type(o))Et.merge(p,o.nodeType?[o]:o);else if(Zt.test(o)){for(r=r||d.appendChild(e.createElement("div")),l=(Gt.exec(o)||["",""])[1].toLowerCase(),c=ae[l]||ae._default,r.innerHTML=c[1]+o.replace(Qt,"<$1></$2>")+c[2],s=c[0];s--;)r=r.lastChild;if(!Et.support.leadingWhitespace&&Xt.test(o)&&p.push(e.createTextNode(Xt.exec(o)[0])),!Et.support.tbody)for(s=(o="table"!==l||Jt.test(o)?"<table>"!==c[1]||Jt.test(o)?0:r:r.firstChild)&&o.childNodes.length;s--;)Et.nodeName(h=o.childNodes[s],"tbody")&&!h.childNodes.length&&o.removeChild(h);for(Et.merge(p,r.childNodes),r.textContent="";r.firstChild;)r.removeChild(r.firstChild);r=d.lastChild}else p.push(e.createTextNode(o));for(r&&d.removeChild(r),Et.support.appendChecked||Et.grep(y(p,"input"),w),f=0;o=p[f++];)if((!n||-1===Et.inArray(o,n))&&(a=Et.contains(o.ownerDocument,o),r=y(d.appendChild(o),"script"),a&&b(r),i))for(s=0;o=r[s++];)ne.test(o.type||"")&&i.push(o);return r=null,d},cleanData:function(t,e){for(var i,n,s,o,a=0,r=Et.expando,l=Et.cache,h=Et.support.deleteExpando,c=Et.event.special;null!=(i=t[a]);a++)if((e||Et.acceptData(i))&&(o=(s=i[r])&&l[s])){if(o.events)for(n in o.events)c[n]?Et.event.remove(i,n):Et.removeEvent(i,n,o.handle);l[s]&&(delete l[s],h?delete i[r]:typeof i.removeAttribute!==V?i.removeAttribute(r):i[r]=null,et.push(s))}},_evalUrl:function(t){return Et.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),Et.fn.extend({wrapAll:function(e){if(Et.isFunction(e))return this.each(function(t){Et(this).wrapAll(e.call(this,t))});if(this[0]){var t=Et(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(i){return Et.isFunction(i)?this.each(function(t){Et(this).wrapInner(i.call(this,t))}):this.each(function(){var t=Et(this),e=t.contents();e.length?e.wrapAll(i):t.append(i)})},wrap:function(e){var i=Et.isFunction(e);return this.each(function(t){Et(this).wrapAll(i?e.call(this,t):e)})},unwrap:function(){return this.parent().each(function(){Et.nodeName(this,"body")||Et(this).replaceWith(this.childNodes)}).end()}});var le,he,ce,ue=/alpha\([^)]*\)/i,de=/opacity\s*=\s*([^)]*)/,pe=/^(top|right|bottom|left)$/,fe=/^(none|table(?!-c[ea]).+)/,me=/^margin/,ge=new RegExp("^("+ct+")(.*)$","i"),ve=new RegExp("^("+ct+")(?!px)[a-z%]+$","i"),_e=new RegExp("^([+-])=("+ct+")","i"),be={BODY:"block"},ye={position:"absolute",visibility:"hidden",display:"block"},we={letterSpacing:0,fontWeight:400},xe=["Top","Right","Bottom","Left"],ke=["Webkit","O","Moz","ms"];Et.fn.extend({css:function(t,e){return Et.access(this,function(t,e,i){var n,s,o={},a=0;if(Et.isArray(e)){for(s=he(t),n=e.length;a<n;a++)o[e[a]]=Et.css(t,e[a],!1,s);return o}return i!==k?Et.style(t,e,i):Et.css(t,e)},t,e,1<arguments.length)},show:function(){return C(this,!0)},hide:function(){return C(this)},toggle:function(t){var e="boolean"==typeof t;return this.each(function(){(e?t:x(this))?Et(this).show():Et(this).hide()})}}),Et.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=ce(t,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":Et.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var s,o,a,r=Et.camelCase(e),l=t.style;if(e=Et.cssProps[r]||(Et.cssProps[r]=f(l,r)),a=Et.cssHooks[e]||Et.cssHooks[r],i===k)return a&&"get"in a&&(s=a.get(t,!1,n))!==k?s:l[e];if(!("string"===(o=typeof i)&&(s=_e.exec(i))&&(i=(s[1]+1)*s[2]+parseFloat(Et.css(t,e)),o="number"),null==i||"number"===o&&isNaN(i)||("number"!==o||Et.cssNumber[r]||(i+="px"),Et.support.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&(i=a.set(t,i,n))===k)))try{l[e]=i}catch(h){}}},css:function(t,e,i,n){var s,o,a,r=Et.camelCase(e);return e=Et.cssProps[r]||(Et.cssProps[r]=f(t.style,r)),(a=Et.cssHooks[e]||Et.cssHooks[r])&&"get"in a&&(o=a.get(t,!0,i)),o===k&&(o=ce(t,e,n)),"normal"===o&&e in we&&(o=we[e]),""===i||i?(s=parseFloat(o),!0===i||Et.isNumeric(s)?s||0:o):o}}),m.getComputedStyle?(he=function(t){return m.getComputedStyle(t,null)},ce=function(t,e,i){var n,s,o,a=i||he(t),r=a?a.getPropertyValue(e)||a[e]:k,l=t.style;return a&&(""!==r||Et.contains(t.ownerDocument,t)||(r=Et.style(t,e)),ve.test(r)&&me.test(e)&&(n=l.width,s=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=r,r=a.width,l.width=n,l.minWidth=s,l.maxWidth=o)),r}):Q.documentElement.currentStyle&&(he=function(t){return t.currentStyle},ce=function(t,e,i){var n,s,o,a=i||he(t),r=a?a[e]:k,l=t.style;return null==r&&l&&l[e]&&(r=l[e]),ve.test(r)&&!pe.test(e)&&(n=l.left,(o=(s=t.runtimeStyle)&&s.left)&&(s.left=t.currentStyle.left),l.left="fontSize"===e?"1em":r,r=l.pixelLeft+"px",l.left=n,o&&(s.left=o)),""===r?"auto":r}),Et.each(["height","width"],function(t,s){Et.cssHooks[s]={get:function(t,e,i){if(e)return 0===t.offsetWidth&&fe.test(Et.css(t,"display"))?Et.swap(t,ye,function(){return S(t,s,i)}):S(t,s,i)},set:function(t,e,i){var n=i&&he(t);return D(t,e,i?T(t,s,i,Et.support.boxSizing&&"border-box"===Et.css(t,"boxSizing",!1,n),n):0)}}}),Et.support.opacity||(Et.cssHooks.opacity={get:function(t,e){return de.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var i=t.style,n=t.currentStyle,s=Et.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=n&&n.filter||i.filter||"";((i.zoom=1)<=e||""===e)&&""===Et.trim(o.replace(ue,""))&&i.removeAttribute&&(i.removeAttribute("filter"),""===e||n&&!n.filter)||(i.filter=ue.test(o)?o.replace(ue,s):o+" "+s)}}),Et(function(){Et.support.reliableMarginRight||(Et.cssHooks.marginRight={get:function(t,e){if(e)return Et.swap(t,{display:"inline-block"},ce,[t,"marginRight"])}}),!Et.support.pixelPosition&&Et.fn.position&&Et.each(["top","left"],function(t,i){Et.cssHooks[i]={get:function(t,e){if(e)return e=ce(t,i),ve.test(e)?Et(t).position()[i]+"px":e}}})}),Et.expr&&Et.expr.filters&&(Et.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!Et.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||Et.css(t,"display"))},Et.expr.filters.visible=function(t){return!Et.expr.filters.hidden(t)}),Et.each({margin:"",padding:"",border:"Width"},function(s,o){Et.cssHooks[s+o]={expand:function(t){for(var e=0,i={},n="string"==typeof t?t.split(" "):[t];e<4;e++)i[s+xe[e]+o]=n[e]||n[e-2]||n[0];return i}},me.test(s)||(Et.cssHooks[s+o].set=D)});var Ce=/%20/g,De=/\[\]$/,Te=/\r?\n/g,Se=/^(?:submit|button|image|reset|file)$/i,Ne=/^(?:input|select|textarea|keygen)/i;Et.fn.extend({serialize:function(){return Et.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=Et.prop(this,"elements");return t?Et.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!Et(this).is(":disabled")&&Ne.test(this.nodeName)&&!Se.test(t)&&(this.checked||!ee.test(t))}).map(function(t,e){var i=Et(this).val();return null==i?null:Et.isArray(i)?Et.map(i,function(t){return{name:e.name,value:t.replace(Te,"\r\n")}}):{name:e.name,value:i.replace(Te,"\r\n")}}).get()}}),Et.param=function(t,e){var i,n=[],s=function(t,e){e=Et.isFunction(e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(e===k&&(e=Et.ajaxSettings&&Et.ajaxSettings.traditional),Et.isArray(t)||t.jquery&&!Et.isPlainObject(t))Et.each(t,function(){s(this.name,this.value)});else for(i in t)I(i,t[i],e,s);return n.join("&").replace(Ce,"+")},Et.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(t,i){Et.fn[i]=function(t,e){return 0<arguments.length?this.on(i,null,t,e):this.trigger(i)}}),Et.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===ar