-
Rating: = ($item['rating'] > 0) ? (int)($item['rating'] * 2) : '-' ?> / 10
-
- Chapters: = $item['chapters_read'] ?> / = ($item['manga']['chapter_count'] > 0) ? $item['manga']['chapter_count'] : "-" ?>
- Volumes: = $item['volumes_read'] ?> / = ($item['manga']['volume_count'] > 0) ? $item['manga']['volume_count'] : "-" ?>*/ ?>
+
+
+
Rating: = ($item['rating'] > 0) ? (int)($item['rating'] * 2) : '-' ?> / 10
+
+
+
+ Chapters: = $item['chapters_read'] ?> /
+ = ($item['manga']['chapter_count'] > 0) ? $item['manga']['chapter_count'] : "-" ?>
+
+
+
+
+ Volumes: = $item['volumes_read'] ?> /
+ = ($item['manga']['volume_count'] > 0) ? $item['manga']['volume_count'] : "-" ?>
+
= $item['manga']['manga_type'] ?>
*/ ?>
-
-
\ No newline at end of file
+
+
+
+
\ No newline at end of file
diff --git a/app/views/manga/list.php b/app/views/manga/list.php
index 15c9ebf4..594a35df 100644
--- a/app/views/manga/list.php
+++ b/app/views/manga/list.php
@@ -31,10 +31,4 @@
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/app/views/message.php b/app/views/message.php
new file mode 100644
index 00000000..f77682fc
--- /dev/null
+++ b/app/views/message.php
@@ -0,0 +1,5 @@
+
+
+ = $message ?>
+ x
+
\ No newline at end of file
diff --git a/composer.json b/composer.json
index 0e781e3d..49ee5c41 100644
--- a/composer.json
+++ b/composer.json
@@ -3,6 +3,7 @@
"guzzlehttp/guzzle": "5.3.*",
"filp/whoops": "1.1.*",
"aura/router": "2.2.*",
+ "aura/web": "2.0.*",
"aviat4ion/query": "2.0.*",
"robmorgan/phinx": "*",
"abeautifulsite/simpleimage": "*"
diff --git a/public/config/config.php b/public/config/config.php
new file mode 100644
index 00000000..0b3d3de4
--- /dev/null
+++ b/public/config/config.php
@@ -0,0 +1,71 @@
+ array(
+ 'path/to/css/file1.css',
+ 'path/to/css/file2.css'
+ ),
+ */
+ 'base' => [
+ 'marx.css',
+ 'base.css'
+ ]
+];
+// End of css_groups.php
\ No newline at end of file
diff --git a/public/config/js_groups.php b/public/config/js_groups.php
new file mode 100644
index 00000000..3df263a4
--- /dev/null
+++ b/public/config/js_groups.php
@@ -0,0 +1,40 @@
+ array(
+ 'path/to/js/file1.js',
+ 'path/to/js/file2.js'
+ ),
+ */
+ 'table' => [
+ 'lib/jquery.min.js',
+ 'lib/table_sorter/jquery.tablesorter.min.js',
+ 'sort_tables.js'
+ ],
+ 'edit' => [
+ 'lib/jquery.min.js',
+ 'show_message.js',
+ 'anime_edit.js',
+ 'manga_edit.js'
+ ]
+];
+
+// End of js_groups.php
\ No newline at end of file
diff --git a/public/css.php b/public/css.php
new file mode 100644
index 00000000..3e9f8a11
--- /dev/null
+++ b/public/css.php
@@ -0,0 +1,138 @@
+ ')',
+ ') ' => ')',
+ ' }' => '}',
+ '} ' => '}',
+ ' {' => '{',
+ '{ ' => '{',
+ ', ' => ',',
+ ': ' => ':',
+ '; ' => ';',
+ );
+
+ //Eradicate every last space!
+ $buffer = trim(strtr($buffer, $replace));
+ $buffer = str_replace('{ ', '{', $buffer);
+ $buffer = str_replace('} ', '}', $buffer);
+
+ return $buffer;
+}
+
+function get_last_modifed()
+{
+ global $groups, $css_root;
+
+ $modified = array();
+
+ // Get all the css files, and concatenate them together
+ if(isset($groups[$_GET['g']]))
+ {
+ foreach($groups[$_GET['g']] as $file)
+ {
+ $new_file = realpath($css_root.$file);
+ $modified[] = filemtime($new_file);
+ }
+ }
+
+ //Add myth css file for last modified check
+ $modified[] = filemtime(realpath("css/base.myth.css"));
+
+ //Add this page for last modified check
+ $modified[] = filemtime(__FILE__);
+
+ //Get the latest modified date
+ rsort($modified);
+ $last_modified = $modified[0];
+
+ return $last_modified;
+}
+
+function get_css()
+{
+ global $groups, $path_from, $path_to, $css_root;
+
+ $css = '';
+
+ if(isset($groups[$_GET['g']]))
+ {
+ foreach($groups[$_GET['g']] as $file)
+ {
+ $new_file = realpath($css_root.$file);
+ $css .= file_get_contents($new_file);
+ $modified[] = filemtime($new_file);
+ }
+ }
+
+ // If not in debug mode, minify the css
+ if( ! isset($_GET['debug']))
+ {
+ $css = compress($css);
+ }
+
+ // Correct paths that have changed due to concatenation
+ // based on rules in the config file
+ $css = strtr($css, $path_from, $path_to);
+
+ return $css;
+}
+
+// --------------------------------------------------------------------------
+$last_modified = get_last_modifed();
+
+$requested_time=(isset($_SERVER['HTTP_IF_MODIFIED_SINCE']))
+ ? strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE'])
+ : 0;
+
+// Send 304 when not modified for faster response
+if($last_modified === $requested_time)
+{
+ header("HTTP/1.1 304 Not Modified");
+ exit();
+}
+else // Re-compress after running myth
+{
+ $cmd = "/usr/bin/myth -c {$css_root}base.myth.css {$css_root}base.css";
+ exec($cmd);
+}
+
+//This GZIPs the CSS for transmission to the user
+//making file size smaller and transfer rate quicker
+ob_start("ob_gzhandler");
+
+header("Content-Type: text/css; charset=utf8");
+header("Cache-control: public, max-age=691200, must-revalidate");
+header("Last-Modified: ".gmdate('D, d M Y H:i:s', $last_modified)." GMT");
+header("Expires: ".gmdate('D, d M Y H:i:s', (filemtime(basename(__FILE__)) + 691200))." GMT");
+
+echo get_css();
+
+ob_end_flush();
+//End of css.php
\ No newline at end of file
diff --git a/public/css/base.css b/public/css/base.css
index 59acd785..b26ec005 100644
--- a/public/css/base.css
+++ b/public/css/base.css
@@ -1,187 +1,2 @@
-body {
- margin: 0.5em;
-}
-
-table {
- width: 85%;
- margin: 0 auto;
-}
-
-tbody > tr:nth-child(odd) {
- background: #ddd;
-}
-
-.align_left {
- text-align: left;
-}
-
-.align_right {
- text-align: right;
-}
-
-.round_all {
- border-radius: 0.5em;
-}
-
-.round_top {
- border-radius: 0;
- border-top-right-radius: 0.5em;
- border-top-left-radius: 0.5em;
-}
-
-.round_bottom {
- border-radius: 0;
- border-bottom-right-radius: 0.5em;
- border-bottom-left-radius: 0.5em;
-}
-
-.media-wrap {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-align-content: space-around;
- -ms-flex-line-pack: distribute;
- align-content: space-around;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-flex-wrap: wrap;
- -ms-flex-wrap: wrap;
- flex-wrap: wrap;
- text-align: center;
- margin: 0 auto;
-}
-
-.media {
- position: relative;
- vertical-align: top;
- display: inline-block;
- text-align: center;
- width: 220px;
- height: 319px;
- margin: 0.25em;
-}
-
-.name,
-.media_metadata > div,
-.medium_metadata > div,
-.row {
- text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.85);
- background: rgba(0, 0, 0, 0.45);
- color: #ffffff;
- padding: 0.25em;
- text-align: right;
-}
-
-.media_type,
-.age_rating {
- text-align: left;
-}
-
-.media > .media_metadata {
- position: absolute;
- bottom: 0;
- right: 0;
-}
-
-.media > .medium_metadata {
- position: absolute;
- bottom: 0;
- left: 0;
-}
-
-.media > .name {
- position: absolute;
- top: 0;
-}
-
-.media:hover > .name,
-.media:hover > .media_metadata > div,
-.media:hover > .medium_metadata > div,
-.media:hover > .table .row {
- background: rgba(0,0,0,0.75);
-}
-
-.media > .name > a {
- text-align: justify;
- background: none;
- color: #fff;
- text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.85);
-}
-
-/* -----------------------------------------------------------------------------
- Anime-list-specific styles
-------------------------------------------------------------------------------*/
-
-.anime .name {
- text-align: center;
- width: 100%;
- padding: 0.5em 0.6em;
-}
-
-.anime .media_type,
-.anime .airing_status,
-.anime .user_rating,
-.anime .completion,
-.anime .age_rating {
- background: none;
- text-align: center;
-}
-
-.anime .table {
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
-}
-
-.anime .row {
- width: 100%;
- background: rgba(0, 0, 0, 0.45);
- display: table;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-content: center;
- -ms-flex-line-pack: center;
- align-content: center;
- -webkit-justify-content: space-around;
- -ms-flex-pack: distribute;
- justify-content: space-around;
- text-align: center;
- padding: 0 inherit;
-}
-
-.anime .row > div {
- font-size: 0.8em;
- display: flex-item;
- -webkit-align-self: center;
- -ms-flex-item-align: center;
- align-self: center;
- text-align: center;
- vertical-align: middle;
-}
-
-/* -----------------------------------------------------------------------------
- Manga-list-specific styles
-------------------------------------------------------------------------------*/
-
-.manga .media > .name {
- padding: 0.5em;
- margin: 1em;
-}
-
-.manga .media {
- border: 1px solid #ddd;
- width: 200px;
- height: 290px;
- margin: 0.25em;
-}
-
-.manga .media_metadata {
- padding: 0.25em;
- margin: 0.75em;
-}
\ No newline at end of file
+body{margin:0.5em;}table{width:85%;margin:0 auto;}tbody > tr:nth-child(odd){background:#ddd;}.align_left{text-align:left;}.align_right{text-align:right;}.round_all{border-radius:0.5em;}.round_top{border-radius:0;border-top-right-radius:0.5em;border-top-left-radius:0.5em;}.round_bottom{border-radius:0;border-bottom-right-radius:0.5em;border-bottom-left-radius:0.5em;}.media-wrap{text-align:center;margin:0 auto;}.media{position:relative;vertical-align:top;display:inline-block;text-align:center;width:220px;height:319px;margin:0.25em;}button{background:rgba(255,255,255,0.65);margin:0;}.name,.media_metadata > div,.medium_metadata > div,.row{text-shadow:1px 2px 1px rgba(0, 0, 0, 0.85);background:rgba(0, 0, 0, 0.45);color:#ffffff;padding:0.25em;text-align:right;}.media_type,.age_rating{text-align:left;}.media > .media_metadata{position:absolute;bottom:0;right:0;}.media > .medium_metadata{position:absolute;bottom:0;left:0;}.media > .name{position:absolute;top:0;}.media:hover > .name,.media:hover > .media_metadata > div,.media:hover > .medium_metadata > div,.media:hover > .table .row{background:rgba(0,0,0,0.75);}.media:hover > button[hidden],.media:hover > .edit_buttons[hidden]{display:block;}.media > .name > a{text-align:justify;background:none;color:#fff;text-shadow:1px 2px 1px rgba(0, 0, 0, 0.85);}.message{position:relative;margin:0.5em auto;padding:0.5em;width:95%;}.message .close{width:1em;height:1em;position:absolute;right:0.5em;top:0.5em;text-align:center;vertical-align:middle;line-height:1em;}.message .close:hover{cursor:pointer;}.message .icon{left:0.5em;top:0.5em;margin-right:1em;}.message.error{border:1px solid #924949;background:#f3e6e6;}.message.success{border:1px solid #1f8454;background:#70dda9;}.message.info{border:1px solid #bfbe3a;background:#FFFFCC;}.anime .name,.manga .name{text-align:center;width:100%;padding:0.5em 0;}.anime .name > a{text-align:center;width:100%;padding:0.5em 1em;}.anime .media_type,.anime .airing_status,.anime .user_rating,.anime .completion,.anime .age_rating{background:none;text-align:center;}.anime .table,.manga .table{position:absolute;bottom:0;left:0;width:100%;}.anime .row,.manga .row{width:100%;background:rgba(0, 0, 0, 0.45);display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-content:space-around;-ms-flex-line-pack:distribute;align-content:space-around;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;text-align:center;padding:0 inherit;}.anime .row > div,.manga .row > div{font-size:0.8em;display:flex-item;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;text-align:center;vertical-align:middle;}.anime .media > button.plus_one{position:absolute;top:calc(50% - 21.5px);left:calc(50% - 66.5px);}.manga .media{border:1px solid #ddd;width:200px;height:290px;margin:0.25em;}.manga .media > .edit_buttons{position:absolute;top:calc(50% - 42.5px);left:calc(50% - 81.5px);}
+/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi92YXIvd3d3L2h0ZG9jcy9hbmltZS50aW1zaG9tZXBhZ2UubmV0L3B1YmxpYy9jc3MvYmFzZS5teXRoLmNzcyIsInNvdXJjZS5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBUUEsS0FDQyxjQUdELE1BQ0MsVUFDQSxlQUdELDBCQUNDLGlCQUdELFlBQ0MsaUJBQUEsYUFJQSxrQkFBQSxXQUlBLHFCQUdELFdBQ0MsZ0JBQ0EsOEJBQ0EsOEJBQUEsY0FJQSxnQkFDQSxpQ0FDQSxpQ0FBQSxZQUlBLGtCQUNBLGVBR0QsT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JrTzF4dVhIUjNhV1IwYURveU1EQndlRHRjYmx4MGFHVnBaMmgwT2pJNU1IQjRPMXh1WEhSdFlYSm5hVzQ2TUM0eU5XVnRPMXh1ZlZ4dVhHNHViV0Z1WjJFZ0xtMWxaR2xoSUQ0Z0xtVmthWFJmWW5WMGRHOXVjeUI3WEc1Y2RIQnZjMmwwYVc5dU9tRmljMjlzZFhSbE8xeHVYSFIwYjNBNklHTmhiR01vTlRBbElDMGdLRGcxY0hnZ0x5QXlLU2s3WEc1Y2RHeGxablE2SUdOaGJHTW9OVEFsSUMwZ0tERTJNM0I0SUM4Z01pa3BPMXh1ZlZ4dUlsMTkgKi8iXX0= */
\ No newline at end of file
diff --git a/public/css/base.myth.css b/public/css/base.myth.css
index 91862b50..2aa8bd6b 100644
--- a/public/css/base.myth.css
+++ b/public/css/base.myth.css
@@ -3,6 +3,7 @@
--title-overlay: rgba(0, 0, 0, 0.45);
--text-color: #ffffff;
--normal-padding: 0.25em;
+ --radius: 0.5em;
}
body {
@@ -27,27 +28,22 @@ tbody > tr:nth-child(odd) {
}
.round_all {
- border-radius:0.5em;
+ border-radius:var(--radius);
}
.round_top {
border-radius: 0;
- border-top-right-radius:0.5em;
- border-top-left-radius:0.5em;
+ border-top-right-radius:var(--radius);
+ border-top-left-radius:var(--radius);
}
.round_bottom {
border-radius: 0;
- border-bottom-right-radius:0.5em;
- border-bottom-left-radius:0.5em;
+ border-bottom-right-radius:var(--radius);
+ border-bottom-left-radius:var(--radius);
}
.media-wrap {
- display:flex;
- justify-content: center;
- align-content: space-around;
- align-items: center;
- flex-wrap: wrap;
text-align:center;
margin:0 auto;
}
@@ -62,6 +58,11 @@ tbody > tr:nth-child(odd) {
margin: var(--normal-padding);
}
+button {
+ background:rgba(255,255,255,0.65);
+ margin: 0;
+}
+
.name,
.media_metadata > div,
.medium_metadata > div,
@@ -102,6 +103,12 @@ tbody > tr:nth-child(odd) {
background:rgba(0,0,0,0.75);
}
+ .media:hover > button[hidden],
+ .media:hover > .edit_buttons[hidden]
+ {
+ display:block;
+ }
+
.media > .name > a {
text-align:justify;
background:none;
@@ -109,16 +116,68 @@ tbody > tr:nth-child(odd) {
text-shadow: var(--shadow);
}
+/* -----------------------------------------------------------------------------
+ Message boxes
+------------------------------------------------------------------------------*/
+
+.message{
+ position:relative;
+ margin:0.5em auto;
+ padding:0.5em;
+ width:95%;
+}
+
+.message .close{
+ width:1em;
+ height:1em;
+ position:absolute;
+ right:0.5em;
+ top:0.5em;
+ text-align:center;
+ vertical-align:middle;
+ line-height:1em;
+}
+
+.message .close:hover {
+ cursor:pointer;
+}
+
+.message .icon{
+ left:0.5em;
+ top:0.5em;
+ margin-right:1em;
+}
+
+.message.error{
+ border:1px solid #924949;
+ background: #f3e6e6;
+}
+
+.message.success{
+ border:1px solid #1f8454;
+ background: #70dda9;
+}
+
+.message.info{
+ border:1px solid #bfbe3a;
+ background: #FFFFCC;
+}
/* -----------------------------------------------------------------------------
Anime-list-specific styles
------------------------------------------------------------------------------*/
-.anime .name {
+.anime .name, .manga .name {
text-align:center;
width:100%;
- padding:0.5em 0.6em;;
+ padding:0.5em 0;
}
+ .anime .name > a {
+ text-align:center;
+ width:100%;
+ padding:0.5em 1em;
+ }
+
.anime .media_type,
.anime .airing_status,
.anime .user_rating,
@@ -129,25 +188,24 @@ tbody > tr:nth-child(odd) {
}
-.anime .table {
+.anime .table, .manga .table {
position:absolute;
bottom:0;
left:0;
width:100%;
}
-.anime .row {
+.anime .row, .manga .row {
width:100%;
background: var(--title-overlay);
- display:table;
display: flex;
- align-content:center;
+ align-content: space-around;
justify-content: space-around;
text-align:center;
padding:0 inherit;
}
-.anime .row > div {
+.anime .row > div, .manga .row > div {
font-size:0.8em;
display:flex-item;
align-self:center;
@@ -155,15 +213,15 @@ tbody > tr:nth-child(odd) {
vertical-align:middle;
}
+.anime .media > button.plus_one {
+ position:absolute;
+ top: calc(50% - (43px / 2));
+ left: calc(50% - (97px / 2 + 18));
+}
+
/* -----------------------------------------------------------------------------
Manga-list-specific styles
------------------------------------------------------------------------------*/
-
-.manga .media > .name {
- padding:0.5em;
- margin:1em;
-}
-
.manga .media {
border:1px solid #ddd;
width:200px;
@@ -171,7 +229,8 @@ tbody > tr:nth-child(odd) {
margin:0.25em;
}
-.manga .media_metadata {
- padding: var(--normal-padding);
- margin: 0.75em;
+.manga .media > .edit_buttons {
+ position:absolute;
+ top: calc(50% - (85px / 2));
+ left: calc(50% - (163px / 2));
}
diff --git a/public/js.php b/public/js.php
new file mode 100644
index 00000000..ffacbd43
--- /dev/null
+++ b/public/js.php
@@ -0,0 +1,182 @@
+c;c++)r.set(a[c],"globalEval",!b||r.get(b[c],"globalEval"))}function Za(a,b){var c,e,f,g,h,k;if(1===b.nodeType){if(r.hasData(a)&&(c=r.access(a),e=r.set(b,c),k=c.events))for(f in delete e.handle,
+e.events={},k)for(c=0,e=k[f].length;e>c;c++)d.event.add(b,f,k[f][c]);C.hasData(a)&&(g=C.access(a),h=d.extend({},g),C.set(b,h))}}function A(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&d.nodeName(a,b)?d.merge([a],c):c}function $a(a,b){var c,e=d(b.createElement(a)).appendTo(b.body),f=n.getDefaultComputedStyle&&(c=n.getDefaultComputedStyle(e[0]))?c.display:d.css(e[0],"display");return e.detach(),f}function Ha(a){var b=
+u,c=ab[a];return c||(c=$a(a,b),"none"!==c&&c||(sa=(sa||d("
")).appendTo(b.documentElement),b=sa[0].contentDocument,b.write(),b.close(),c=$a(a,b),sa.detach()),ab[a]=c),c}function T(a,b,c){var e,f,g,h,k=a.style;return c=c||ta(a),c&&(h=c.getPropertyValue(b)||c[b]),c&&(""!==h||d.contains(a.ownerDocument,a)||(h=d.style(a,b)),Ia.test(h)&&bb.test(b)&&(e=k.width,f=k.minWidth,g=k.maxWidth,k.minWidth=k.maxWidth=k.width=h,h=c.width,k.width=e,k.minWidth=f,k.maxWidth=
+g)),void 0!==h?h+"":h}function cb(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}function db(a,b){if(b in a)return b;for(var c=b[0].toUpperCase()+b.slice(1),d=b,f=eb.length;f--;)if(b=eb[f]+c,b in a)return b;return d}function fb(a,b,c){return(a=Pb.exec(b))?Math.max(0,a[1]-(c||0))+(a[2]||"px"):b}function gb(a,b,c,e,f){b=c===(e?"border":"content")?4:"width"===b?1:0;for(var g=0;4>b;b+=2)"margin"===c&&(g+=d.css(a,c+Y[b],!0,f)),e?("content"===c&&(g-=d.css(a,
+"padding"+Y[b],!0,f)),"margin"!==c&&(g-=d.css(a,"border"+Y[b]+"Width",!0,f))):(g+=d.css(a,"padding"+Y[b],!0,f),"padding"!==c&&(g+=d.css(a,"border"+Y[b]+"Width",!0,f)));return g}function hb(a,b,c){var e=!0,f="width"===b?a.offsetWidth:a.offsetHeight,g=ta(a),h="border-box"===d.css(a,"boxSizing",!1,g);if(0>=f||null==f){if(f=T(a,b,g),(0>f||null==f)&&(f=a.style[b]),Ia.test(f))return f;e=h&&(v.boxSizingReliable()||f===a.style[b]);f=parseFloat(f)||0}return f+gb(a,b,c||(h?"border":"content"),e,g)+"px"}function ib(a,
+b){for(var c,e,f,g=[],h=0,k=a.length;k>h;h++)e=a[h],e.style&&(g[h]=r.get(e,"olddisplay"),c=e.style.display,b?(g[h]||"none"!==c||(e.style.display=""),""===e.style.display&&ha(e)&&(g[h]=r.access(e,"olddisplay",Ha(e.nodeName)))):(f=ha(e),"none"===c&&f||r.set(e,"olddisplay",f?c:d.css(e,"display"))));for(h=0;k>h;h++)e=a[h],e.style&&(b&&"none"!==e.style.display&&""!==e.style.display||(e.style.display=b?g[h]||"":"none"));return a}function E(a,b,c,d,f){return new E.prototype.init(a,b,c,d,f)}function jb(){return setTimeout(function(){Z=
+void 0}),Z=d.now()}function ua(a,b){var c,d=0,f={height:a};for(b=b?1:0;4>d;d+=2-b)c=Y[d],f["margin"+c]=f["padding"+c]=a;return b&&(f.opacity=f.width=a),f}function kb(a,b,c){for(var d,f=(ia[b]||[]).concat(ia["*"]),g=0,h=f.length;h>g;g++)if(d=f[g].call(c,b,a))return d}function Qb(a,b){var c,e,f,g,h;for(c in a)if(e=d.camelCase(c),f=b[e],g=a[c],d.isArray(g)&&(f=g[1],g=a[c]=g[0]),c!==e&&(a[e]=g,delete a[c]),h=d.cssHooks[e],h&&"expand"in h)for(c in g=h.expand(g),delete a[e],g)c in a||(a[c]=g[c],b[c]=f);
+else b[e]=f}function lb(a,b,c){var e,f=0,g=da.length,h=d.Deferred().always(function(){delete k.elem}),k=function(){if(e)return!1;for(var b=Z||jb(),b=Math.max(0,l.startTime+l.duration-b),c=1-(b/l.duration||0),d=0,f=l.tweens.length;f>d;d++)l.tweens[d].run(c);return h.notifyWith(a,[l,c,b]),1>c&&f?b:(h.resolveWith(a,[l]),!1)},l=h.promise({elem:a,props:d.extend({},b),opts:d.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:Z||jb(),duration:c.duration,tweens:[],createTween:function(b,
+c){var e=d.Tween(a,l.opts,b,c,l.opts.specialEasing[b]||l.opts.easing);return l.tweens.push(e),e},stop:function(b){var c=0,d=b?l.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)l.tweens[c].run(1);return b?h.resolveWith(a,[l,b]):h.rejectWith(a,[l,b]),this}});c=l.props;for(Qb(c,l.opts.specialEasing);g>f;f++)if(b=da[f].call(l,a,c,l.opts))return b;return d.map(c,kb,l),d.isFunction(l.opts.start)&&l.opts.start.call(a,l),d.fx.timer(d.extend(k,{elem:a,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,
+l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function mb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var e,f=0,g=b.toLowerCase().match(Q)||[];if(d.isFunction(c))for(;e=g[f++];)"+"===e[0]?(e=e.slice(1)||"*",(a[e]=a[e]||[]).unshift(c)):(a[e]=a[e]||[]).push(c)}}function nb(a,b,c,e){function f(k){var l;return g[k]=!0,d.each(a[k]||[],function(a,d){var k=d(b,c,e);return"string"!=typeof k||h||g[k]?h?!(l=k):void 0:(b.dataTypes.unshift(k),f(k),!1)}),l}var g={},h=a===Ja;return f(b.dataTypes[0])||
+!g["*"]&&f("*")}function Ka(a,b){var c,e,f=d.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((f[c]?a:e||(e={}))[c]=b[c]);return e&&d.extend(!0,a,e),a}function La(a,b,c,e){var f;if(d.isArray(b))d.each(b,function(b,d){c||Rb.test(a)?e(a,d):La(a+"["+("object"==typeof d?b:"")+"]",d,c,e)});else if(c||"object"!==d.type(b))e(a,b);else for(f in b)La(a+"["+f+"]",b[f],c,e)}function ob(a){return d.isWindow(a)?a:9===a.nodeType&&a.defaultView}var aa=[],N=aa.slice,pb=aa.concat,Ma=aa.push,ra=aa.indexOf,va=
+{},Sb=va.toString,Na=va.hasOwnProperty,v={},u=n.document,d=function(a,b){return new d.fn.init(a,b)},Tb=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,Ub=/^-ms-/,Vb=/-([\da-z])/gi,Wb=function(a,b){return b.toUpperCase()};d.fn=d.prototype={jquery:"2.1.4",constructor:d,selector:"",length:0,toArray:function(){return N.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:N.call(this)},pushStack:function(a){a=d.merge(this.constructor(),a);return a.prevObject=this,a.context=this.context,a},each:function(a,
+b){return d.each(this,a,b)},map:function(a){return this.pushStack(d.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(N.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length;a=+a+(0>a?b:0);return this.pushStack(0<=a&&b>a?[this[a]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:Ma,sort:aa.sort,splice:aa.splice};d.extend=d.fn.extend=function(){var a,b,c,e,f,g,h=arguments[0]||
+{},k=1,l=arguments.length,t=!1;"boolean"==typeof h&&(t=h,h=arguments[k]||{},k++);"object"==typeof h||d.isFunction(h)||(h={});for(k===l&&(h=this,k--);l>k;k++)if(null!=(a=arguments[k]))for(b in a)c=h[b],e=a[b],h!==e&&(t&&e&&(d.isPlainObject(e)||(f=d.isArray(e)))?(f?(f=!1,g=c&&d.isArray(c)?c:[]):g=c&&d.isPlainObject(c)?c:{},h[b]=d.extend(t,g,e)):void 0!==e&&(h[b]=e));return h};d.extend({expando:"jQuery"+("2.1.4"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw Error(a);},noop:function(){},
+isFunction:function(a){return"function"===d.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return!d.isArray(a)&&0<=a-parseFloat(a)+1},isPlainObject:function(a){return"object"!==d.type(a)||a.nodeType||d.isWindow(a)?!1:a.constructor&&!Na.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){for(var b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?va[Sb.call(a)]||"object":
+typeof a},globalEval:function(a){var b,c=eval;(a=d.trim(a))&&(1===a.indexOf("use strict")?(b=u.createElement("script"),b.text=a,u.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(Ub,"ms-").replace(Vb,Wb)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,f=0,g=a.length,h=z(a);if(c)if(h)for(;g>f&&(d=b.apply(a[f],c),!1!==d);f++);else for(f in a){if(d=b.apply(a[f],c),!1===d)break}else if(h)for(;g>
+f&&(d=b.call(a[f],f,a[f]),!1!==d);f++);else for(f in a)if(d=b.call(a[f],f,a[f]),!1===d)break;return a},trim:function(a){return null==a?"":(a+"").replace(Tb,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(z(Object(a))?d.merge(c,"string"==typeof a?[a]:a):Ma.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:ra.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,f=a.length;c>d;d++)a[f++]=b[d];return a.length=f,a},grep:function(a,b,c){for(var d=[],f=0,g=a.length,h=!c;g>f;f++)c=!b(a[f],
+f),c!==h&&d.push(a[f]);return d},map:function(a,b,c){var d,f=0,g=a.length,h=[];if(z(a))for(;g>f;f++)d=b(a[f],f,c),null!=d&&h.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&h.push(d);return pb.apply([],h)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(c=a[b],b=a,a=c),d.isFunction(a)?(e=N.call(arguments,2),f=function(){return a.apply(b||this,e.concat(N.call(arguments)))},f.guid=a.guid=a.guid||d.guid++,f):void 0},now:Date.now,support:v});d.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),
+function(a,b){va["[object "+b+"]"]=b.toLowerCase()});var U=function(a){function b(a,b,c,d){var e,f,g,h,k;if((b?b.ownerDocument||b:O)!==G&&ka(b),b=b||G,c=c||[],h=b.nodeType,"string"!=typeof a||!a||1!==h&&9!==h&&11!==h)return c;if(!d&&J){if(11!==h&&(e=ua.exec(a)))if(g=e[1])if(9===h){if(f=b.getElementById(g),!f||!f.parentNode)return c;if(f.id===g)return c.push(f),c}else{if(b.ownerDocument&&(f=b.ownerDocument.getElementById(g))&&D(b,f)&&f.id===g)return c.push(f),c}else{if(e[2])return ea.apply(c,b.getElementsByTagName(a)),
+c;if((g=e[3])&&x.getElementsByClassName)return ea.apply(c,b.getElementsByClassName(g)),c}if(x.qsa&&(!F||!F.test(a))){if(f=e=y,g=b,k=1!==h&&a,1===h&&"object"!==b.nodeName.toLowerCase()){h=ya(a);(e=b.getAttribute("id"))?f=e.replace(va,"\\$&"):b.setAttribute("id",f);f="[id='"+f+"'] ";for(g=h.length;g--;)h[g]=f+w(h[g]);g=da.test(a)&&p(b.parentNode)||b;k=h.join(",")}if(k)try{return ea.apply(c,g.querySelectorAll(k)),c}catch(l){}finally{e||b.removeAttribute("id")}}}return A(a.replace(T,"$1"),b,c,d)}function c(){function a(c,
+d){return b.push(c+" ")>q.cacheLength&&delete a[b.shift()],a[c+" "]=d}var b=[];return a}function d(a){return a[y]=!0,a}function f(a){var b=G.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b)}}function g(a,b){for(var c=a.split("|"),d=a.length;d--;)q.attrHandle[c[d]]=b}function h(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||-2147483648)-(~a.sourceIndex||-2147483648);if(d)return d;if(c)for(;c=c.nextSibling;)if(c===b)return-1;
+return a?1:-1}function k(a){return function(b){return"input"===b.nodeName.toLowerCase()&&b.type===a}}function l(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function t(a){return d(function(b){return b=+b,d(function(c,d){for(var e,f=a([],c.length,b),g=f.length;g--;)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function p(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}function m(){}function w(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;
+return d}function n(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=P++;return b.first?function(b,c,f){for(;b=b[d];)if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,k,Oa=[I,f];if(g)for(;b=b[d];){if((1===b.nodeType||e)&&a(b,c,g))return!0}else for(;b=b[d];)if(1===b.nodeType||e){if(k=b[y]||(b[y]={}),(h=k[d])&&h[0]===I&&h[1]===f)return Oa[2]=h[2];if(k[d]=Oa,Oa[2]=a(b,c,g))return!0}}}function r(a){return 1
h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),l&&b.push(h));return g}function v(a,c,f,g,h,k){return g&&!g[y]&&(g=v(g)),h&&!h[y]&&(h=v(h,k)),d(function(d,e,k,l){var m,ja,p=[],t=[],w=e.length,q;if(!(q=d)){q=c||"*";for(var n=k.nodeType?[k]:k,r=[],B=0,y=n.length;y>B;B++)b(q,n[B],r);q=r}q=!a||!d&&c?q:u(q,p,a,k,l);n=f?h||(d?a:w||g)?[]:e:q;if(f&&f(q,n,k,l),g)for(m=u(n,t),g(m,[],k,l),k=m.length;k--;)(ja=m[k])&&(n[t[k]]=!(q[t[k]]=ja));if(d){if(h||a){if(h){m=
+[];for(k=n.length;k--;)(ja=n[k])&&m.push(q[k]=ja);h(null,n=[],m,l)}for(k=n.length;k--;)(ja=n[k])&&-1<(m=h?la(d,ja):p[k])&&(d[m]=!(e[m]=ja))}}else n=u(n===e?n.splice(w,n.length):n),h?h(null,e,n,l):ea.apply(e,n)})}function C(a){var b,c,d,e=a.length,f=q.relative[a[0].type];c=f||q.relative[" "];for(var g=f?1:0,h=n(function(a){return a===b},c,!0),k=n(function(a){return-1g;g++)if(c=q.relative[a[g].type])l=
+[n(r(l),c)];else{if(c=q.filter[a[g].type].apply(null,a[g].matches),c[y]){for(d=++g;e>d&&!q.relative[a[d].type];d++);return v(1g&&C(a.slice(g,d)),e>d&&C(a=a.slice(d)),e>d&&w(a))}l.push(c)}return r(l)}function z(a,c){var f=0c;c++)if(a[c]===b)return c;return-1},Z="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w","w#"),aa="\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+Z+"))|)[\\x20\\t\\r\\n\\f]*\\]",U=":((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+
+aa+")*)|.*)\\)|)",ga=RegExp("[\\x20\\t\\r\\n\\f]+","g"),T=RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),ha=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,ia=/^[\x20\t\r\n\f]*([>+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,oa=RegExp("=[\\x20\\t\\r\\n\\f]*([^\\]'\"]*?)[\\x20\\t\\r\\n\\f]*\\]","g"),pa=new RegExp(U),ra=new RegExp("^"+Z+"$"),W={ID:/^#((?:\\.|[\w-]|[^\x00-\xa0])+)/,CLASS:/^\.((?:\\.|[\w-]|[^\x00-\xa0])+)/,TAG:new RegExp("^("+"(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w",
+"w*")+")"),ATTR:new RegExp("^"+aa),PSEUDO:new RegExp("^"+U),CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i,bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},
+sa=/^(?:input|select|textarea|button)$/i,ta=/^h\d$/i,Aa=/^[^{]+\{\s*\[native \w/,ua=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,da=/[+~]/,va=/'|\\/g,ba=RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)","ig"),ca=function(a,b,c){a="0x"+b-65536;return a!==a||c?b:0>a?String.fromCharCode(a+65536):String.fromCharCode(a>>10|55296,1023&a|56320)},na=function(){ka()};try{ea.apply(N=X.call(O.childNodes),O.childNodes),N[O.childNodes.length].nodeType}catch(Ba){ea={apply:N.length?function(a,b){Y.apply(a,
+X.call(b))}:function(a,b){for(var c=a.length,d=0;a[c++]=b[d++];);a.length=c-1}}}x=b.support={};za=b.isXML=function(a){return(a=a&&(a.ownerDocument||a).documentElement)?"HTML"!==a.nodeName:!1};ka=b.setDocument=function(a){var b,c,d=a?a.ownerDocument||a:O;return d!==G&&9===d.nodeType&&d.documentElement?(G=d,R=d.documentElement,c=d.defaultView,c&&c!==c.top&&(c.addEventListener?c.addEventListener("unload",na,!1):c.attachEvent&&c.attachEvent("onunload",na)),J=!za(d),x.attributes=f(function(a){return a.className=
+"i",!a.getAttribute("className")}),x.getElementsByTagName=f(function(a){return a.appendChild(d.createComment("")),!a.getElementsByTagName("*").length}),x.getElementsByClassName=Aa.test(d.getElementsByClassName),x.getById=f(function(a){return R.appendChild(a).id=y,!d.getElementsByName||!d.getElementsByName(y).length}),x.getById?(q.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&J){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},q.filter.ID=function(a){var b=a.replace(ba,ca);
+return function(a){return a.getAttribute("id")===b}}):(delete q.find.ID,q.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return(a="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id"))&&a.value===b}}),q.find.TAG=x.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):x.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){for(;c=f[e++];)1===c.nodeType&&d.push(c);return d}return f},
+q.find.CLASS=x.getElementsByClassName&&function(a,b){return J?b.getElementsByClassName(a):void 0},ma=[],F=[],(x.qsa=Aa.test(d.querySelectorAll))&&(f(function(a){R.appendChild(a).innerHTML="";a.querySelectorAll("[msallowcapture^='']").length&&F.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")");a.querySelectorAll("[selected]").length||F.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)");
+a.querySelectorAll("[id~="+y+"-]").length||F.push("~=");a.querySelectorAll(":checked").length||F.push(":checked");a.querySelectorAll("a#"+y+"+*").length||F.push(".#.+[+~]")}),f(function(a){var b=d.createElement("input");b.setAttribute("type","hidden");a.appendChild(b).setAttribute("name","D");a.querySelectorAll("[name=d]").length&&F.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?=");a.querySelectorAll(":enabled").length||F.push(":enabled",":disabled");a.querySelectorAll("*,:x");F.push(",.*:")})),(x.matchesSelector=
+Aa.test(M=R.matches||R.webkitMatchesSelector||R.mozMatchesSelector||R.oMatchesSelector||R.msMatchesSelector))&&f(function(a){x.disconnectedMatch=M.call(a,"div");M.call(a,"[s!='']:x");ma.push("!=",U)}),F=F.length&&new RegExp(F.join("|")),ma=ma.length&&new RegExp(ma.join("|")),b=Aa.test(R.compareDocumentPosition),D=b||Aa.test(R.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&
+16&a.compareDocumentPosition(d)))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1},L=b?function(a,b){if(a===b)return xa=!0,0;var c=!a.compareDocumentPosition-!b.compareDocumentPosition;return c?c:(c=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&c||!x.sortDetached&&b.compareDocumentPosition(a)===c?a===d||a.ownerDocument===O&&D(O,a)?-1:b===d||b.ownerDocument===O&&D(O,b)?1:fa?la(fa,a)-la(fa,b):0:4&c?-1:1)}:function(a,b){if(a===b)return xa=!0,0;var c,
+e=0;c=a.parentNode;var f=b.parentNode,g=[a],k=[b];if(!c||!f)return a===d?-1:b===d?1:c?-1:f?1:fa?la(fa,a)-la(fa,b):0;if(c===f)return h(a,b);for(c=a;c=c.parentNode;)g.unshift(c);for(c=b;c=c.parentNode;)k.unshift(c);for(;g[e]===k[e];)e++;return e?h(g[e],k[e]):g[e]===O?-1:k[e]===O?1:0},d):G};b.matches=function(a,c){return b(a,null,null,c)};b.matchesSelector=function(a,c){if((a.ownerDocument||a)!==G&&ka(a),c=c.replace(oa,"='$1']"),!(!x.matchesSelector||!J||ma&&ma.test(c)||F&&F.test(c)))try{var d=M.call(a,
+c);if(d||x.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||b.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&
+b.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&pa.test(c)&&(b=ya(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=K[a+" "];return b||(b=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+a+"([\\x20\\t\\r\\n\\f]|$)"))&&
+K(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,c,d){return function(e){e=b.attr(e,a);return null==e?"!="===c:c?(e+="","="===c?e===d:"!="===c?e!==d:"^="===c?d&&0===e.indexOf(d):"*="===c?d&&-1a.nodeType)return!1;return!0},parent:function(a){return!q.pseudos.empty(a)},header:function(a){return ta.test(a.nodeName)},
+input:function(a){return sa.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:t(function(){return[0]}),last:t(function(a,b){return[b-1]}),eq:t(function(a,b,c){return[0>c?c+b:c]}),even:t(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:t(function(a,b){for(var c=1;b>c;c+=
+2)a.push(c);return a}),lt:t(function(a,b,c){for(b=0>c?c+b:c;0<=--b;)a.push(b);return a}),gt:t(function(a,b,c){for(c=0>c?c+b:c;++c(?:<\/\1>|)$/,Jb=/^.[^:#\[\.,]*$/;d.filter=function(a,b,c){var e=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===e.nodeType?d.find.matchesSelector(e,a)?[e]:[]:d.find.matches(a,d.grep(b,function(a){return 1===a.nodeType}))};d.fn.extend({find:function(a){var b,c=this.length,e=[],f=
+this;if("string"!=typeof a)return this.pushStack(d(a).filter(function(){for(b=0;c>b;b++)if(d.contains(f[b],this))return!0}));for(b=0;c>b;b++)d.find(a,f[b],e);return e=this.pushStack(1)[^>]*|#([\w-]*))$/;
+(d.fn.init=function(a,b){var c,e;if(!a)return this;if("string"==typeof a){if(c="<"===a[0]&&">"===a[a.length-1]&&3<=a.length?[null,a,null]:Xb.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||na).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof d?b[0]:b,d.merge(this,d.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:u,!0)),rb.test(c[1])&&d.isPlainObject(b))for(c in b)d.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return e=u.getElementById(c[2]),e&&e.parentNode&&(this.length=
+1,this[0]=e),this.context=u,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):d.isFunction(a)?"undefined"!=typeof na.ready?na.ready(a):a(d):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),d.makeArray(a,this))}).prototype=d.fn;na=d(u);var Yb=/^(?:parents|prev(?:Until|All))/,Zb={children:!0,contents:!0,next:!0,prev:!0};d.extend({dir:function(a,b,c){for(var e=[],f=void 0!==c;(a=a[b])&&9!==a.nodeType;)if(1===a.nodeType){if(f&&d(a).is(c))break;e.push(a)}return e},
+sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}});d.fn.extend({has:function(a){var b=d(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(d.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,e=0,f=this.length,g=[],h=qb.test(a)||"string"!=typeof a?d(a,b||this.context):0;f>e;e++)for(c=this[e];c&&c!==b;c=c.parentNode)if(11>c.nodeType&&(h?-1h;h++)if(!1===k[h].apply(d[0],d[1])&&a.stopOnFalse){b=!1;break}e=
+!1;k&&(l?l.length&&t(l.shift()):b?k=[]:p.disable())},p={add:function(){if(k){var c=k.length;!function B(b){d.each(b,function(b,c){var e=d.type(c);"function"===e?a.unique&&p.has(c)||k.push(c):c&&c.length&&"string"!==e&&B(c)})}(arguments);e?g=k.length:b&&(f=c,t(b))}return this},remove:function(){return k&&d.each(arguments,function(a,b){for(var c;-1<(c=d.inArray(b,k,c));)k.splice(c,1),e&&(g>=c&&g--,h>=c&&h--)}),this},has:function(a){return a?-1b;b++)c[b]&&d.isFunction(c[b].promise)?c[b].promise().done(h(b,t,c)).fail(g.reject).progress(h(b,l,k)):--f;return f||g.resolveWith(t,c),g.promise()}});var Ba;d.fn.ready=function(a){return d.ready.promise().done(a),this};d.extend({isReady:!1,readyWait:1,holdReady:function(a){a?d.readyWait++:d.ready(!0)},ready:function(a){(!0===a?--d.readyWait:d.isReady)||(d.isReady=!0,!0!==a&&0<
+--d.readyWait||(Ba.resolveWith(u,[d]),d.fn.triggerHandler&&(d(u).triggerHandler("ready"),d(u).off("ready"))))}});d.ready.promise=function(a){return Ba||(Ba=d.Deferred(),"complete"===u.readyState?setTimeout(d.ready):(u.addEventListener("DOMContentLoaded",H,!1),n.addEventListener("load",H,!1))),Ba.promise(a)};d.ready.promise();var V=d.access=function(a,b,c,e,f,g,h){var k=0,l=a.length,t=null==c;if("object"===d.type(c))for(k in f=!0,c)d.access(a,b,k,c[k],!0,g,h);else if(void 0!==e&&(f=!0,d.isFunction(e)||
+(h=!0),t&&(h?(b.call(a,e),b=null):(t=b,b=function(a,b,c){return t.call(d(a),c)})),b))for(;l>k;k++)b(a[k],c,h?e:e.call(a[k],k,b(a[k],c)));return f?a:t?b.call(a):l?b(a[0],c):g};d.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};P.uid=1;P.accepts=d.acceptData;P.prototype={key:function(a){if(!P.accepts(a))return 0;var b={},c=a[this.expando];if(!c){c=P.uid++;try{b[this.expando]={value:c},Object.defineProperties(a,b)}catch(e){b[this.expando]=c,d.extend(a,b)}}return this.cache[c]||
+(this.cache[c]={}),c},set:function(a,b,c){var e;a=this.key(a);var f=this.cache[a];if("string"==typeof b)f[b]=c;else if(d.isEmptyObject(f))d.extend(this.cache[a],b);else for(e in b)f[e]=b[e];return f},get:function(a,b){var c=this.cache[this.key(a)];return void 0===b?c:c[b]},access:function(a,b,c){var e;return void 0===b||b&&"string"==typeof b&&void 0===c?(e=this.get(a,b),void 0!==e?e:this.get(a,d.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,e,f=this.key(a),g=this.cache[f];
+if(void 0===b)this.cache[f]={};else for(d.isArray(b)?e=b.concat(b.map(d.camelCase)):(c=d.camelCase(b),b in g?e=[b,c]:(e=c,e=e in g?[e]:e.match(Q)||[])),c=e.length;c--;)delete g[e[c]]},hasData:function(a){return!d.isEmptyObject(this.cache[a[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}};var r=new P,C=new P,Lb=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Kb=/([A-Z])/g;d.extend({hasData:function(a){return C.hasData(a)||r.hasData(a)},data:function(a,b,c){return C.access(a,
+b,c)},removeData:function(a,b){C.remove(a,b)},_data:function(a,b,c){return r.access(a,b,c)},_removeData:function(a,b){r.remove(a,b)}});d.fn.extend({data:function(a,b){var c,e,f,g=this[0],h=g&&g.attributes;if(void 0===a){if(this.length&&(f=C.get(g),1===g.nodeType&&!r.get(g,"hasDataAttrs"))){for(c=h.length;c--;)h[c]&&(e=h[c].name,0===e.indexOf("data-")&&(e=d.camelCase(e.slice(5)),Wa(g,e,f[e])));r.set(g,"hasDataAttrs",!0)}return f}return"object"==typeof a?this.each(function(){C.set(this,a)}):V(this,
+function(b){var c,e=d.camelCase(a);if(g&&void 0===b){if((c=C.get(g,a),void 0!==c)||(c=C.get(g,e),void 0!==c)||(c=Wa(g,e,void 0),void 0!==c))return c}else this.each(function(){var c=C.get(this,e);C.set(this,e,b);-1!==a.indexOf("-")&&void 0!==c&&C.set(this,a,b)})},null,b,1x";v.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue}();v.focusinBubbles="onfocusin"in n;var $b=/^key/,ac=/^(?:mouse|pointer|contextmenu)|click/,tb=/^(?:focusinfocus|focusoutblur)$/,ub=/^([^.]*)(?:\.(.+)|)$/;d.event={global:{},add:function(a,b,c,e,f){var g,h,k,l,t,p,m,n,B,u;if(t=r.get(a))for(c.handler&&(g=c,c=g.handler,f=g.selector),c.guid||(c.guid=d.guid++),(l=t.events)||(l=t.events={}),(h=t.handle)||(h=t.handle=function(b){return"undefined"!==typeof d&&
+d.event.triggered!==b.type?d.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(Q)||[""],t=b.length;t--;)k=ub.exec(b[t])||[],B=u=k[1],k=(k[2]||"").split(".").sort(),B&&(m=d.event.special[B]||{},B=(f?m.delegateType:m.bindType)||B,m=d.event.special[B]||{},p=d.extend({type:B,origType:u,data:e,handler:c,guid:c.guid,selector:f,needsContext:f&&d.expr.match.needsContext.test(f),namespace:k.join(".")},g),(n=l[B])||(n=l[B]=[],n.delegateCount=0,m.setup&&!1!==m.setup.call(a,e,k,h)||a.addEventListener&&
+a.addEventListener(B,h,!1)),m.add&&(m.add.call(a,p),p.handler.guid||(p.handler.guid=c.guid)),f?n.splice(n.delegateCount++,0,p):n.push(p),d.event.global[B]=!0)},remove:function(a,b,c,e,f){var g,h,k,l,t,p,m,n,B,u,v,C=r.hasData(a)&&r.get(a);if(C&&(l=C.events)){b=(b||"").match(Q)||[""];for(t=b.length;t--;)if(k=ub.exec(b[t])||[],B=v=k[1],u=(k[2]||"").split(".").sort(),B){m=d.event.special[B]||{};B=(e?m.delegateType:m.bindType)||B;n=l[B]||[];k=k[2]&&new RegExp("(^|\\.)"+u.join("\\.(?:.*\\.|)")+"(\\.|$)");
+for(h=g=n.length;g--;)p=n[g],!f&&v!==p.origType||c&&c.guid!==p.guid||k&&!k.test(p.namespace)||e&&e!==p.selector&&("**"!==e||!p.selector)||(n.splice(g,1),p.selector&&n.delegateCount--,m.remove&&m.remove.call(a,p));h&&!n.length&&(m.teardown&&!1!==m.teardown.call(a,u,C.handle)||d.removeEvent(a,B,C.handle),delete l[B])}else for(B in l)d.event.remove(a,B+b[t],c,e,!0);d.isEmptyObject(l)&&(delete C.handle,r.remove(a,"events"))}},trigger:function(a,b,c,e){var f,g,h,k,l,t,p,m=[c||u],w=Na.call(a,"type")?a.type:
+a;f=Na.call(a,"namespace")?a.namespace.split("."):[];if(g=h=c=c||u,3!==c.nodeType&&8!==c.nodeType&&!tb.test(w+d.event.triggered)&&(0<=w.indexOf(".")&&(f=w.split("."),w=f.shift(),f.sort()),l=0>w.indexOf(":")&&"on"+w,a=a[d.expando]?a:new d.Event(w,"object"==typeof a&&a),a.isTrigger=e?2:3,a.namespace=f.join("."),a.namespace_re=a.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,a.result=void 0,a.target||(a.target=c),b=null==b?[a]:d.makeArray(b,[a]),p=d.event.special[w]||{},e||!p.trigger||
+!1!==p.trigger.apply(c,b))){if(!e&&!p.noBubble&&!d.isWindow(c)){k=p.delegateType||w;for(tb.test(k+w)||(g=g.parentNode);g;g=g.parentNode)m.push(g),h=g;h===(c.ownerDocument||u)&&m.push(h.defaultView||h.parentWindow||n)}for(f=0;(g=m[f++])&&!a.isPropagationStopped();)a.type=1c;c++)g=b[c],f=g.selector+" ",void 0===e[f]&&(e[f]=g.needsContext?0<=d(f,this).index(l):d.find(f,this,null,[l]).length),e[f]&&e.push(g);e.length&&h.push({elem:l,handlers:e})}return k]*)\/>/gi,wb=/<([\w:]+)/,bc=/<|?\w+;/,cc=/<(?:script|style|link)/i,dc=/checked\s*(?:[^=]|=\s*.checked.)/i,xb=/^$|\/(?:java|ecma)script/i,Ob=/^true\/(.*)/,ec=
+/^\s*\s*$/g,K={option:[1,""],thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};K.optgroup=K.option;K.tbody=K.tfoot=K.colgroup=K.caption=K.thead;K.th=K.td;d.extend({clone:function(a,b,c){var e,f,g,h,k=a.cloneNode(!0),l=d.contains(a.ownerDocument,a);if(!(v.noCloneChecked||1!==a.nodeType&&
+11!==a.nodeType||d.isXMLDoc(a)))for(h=A(k),g=A(a),e=0,f=g.length;f>e;e++){var n=g[e],p=h[e],m=p.nodeName.toLowerCase();"input"===m&&sb.test(n.type)?p.checked=n.checked:("input"===m||"textarea"===m)&&(p.defaultValue=n.defaultValue)}if(b)if(c)for(g=g||A(a),h=h||A(k),e=0,f=g.length;f>e;e++)Za(g[e],h[e]);else Za(a,k);return h=A(k,"script"),0p;p++)if(f=a[p],f||0===f)if("object"===
+d.type(f))d.merge(n,f.nodeType?[f]:f);else if(bc.test(f)){g=g||l.appendChild(b.createElement("div"));h=(wb.exec(f)||["",""])[1].toLowerCase();h=K[h]||K._default;g.innerHTML=h[1]+f.replace(vb,"<$1>$2>")+h[2];for(h=h[0];h--;)g=g.lastChild;d.merge(n,g.childNodes);g=l.firstChild;g.textContent=""}else n.push(b.createTextNode(f));l.textContent="";for(p=0;f=n[p++];)if((!e||-1===d.inArray(f,e))&&(k=d.contains(f.ownerDocument,f),g=A(l.appendChild(f),"script"),k&&Ga(g),c))for(h=0;f=g[h++];)xb.test(f.type||
+"")&&c.push(f);return l},cleanData:function(a){for(var b,c,e,f,g=d.event.special,h=0;void 0!==(c=a[h]);h++){if(d.acceptData(c)&&(f=c[r.expando],f&&(b=r.cache[f]))){if(b.events)for(e in b.events)g[e]?d.event.remove(c,e):d.removeEvent(c,e,b.handle);r.cache[f]&&delete r.cache[f]}delete C.cache[c[C.expando]]}}});d.fn.extend({text:function(a){return V(this,function(a){return void 0===a?d.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=
+a)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ya(this,a).appendChild(a)})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ya(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,
+function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,e=a?d.filter(a,this):this,f=0;null!=(c=e[f]);f++)b||1!==c.nodeType||d.cleanData(A(c)),c.parentNode&&(b&&d.contains(c.ownerDocument,c)&&Ga(A(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(d.cleanData(A(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return d.clone(this,
+a,b)})},html:function(a){return V(this,function(a){var c=this[0]||{},e=0,f=this.length;if(void 0===a&&1===c.nodeType)return c.innerHTML;if("string"==typeof a&&!cc.test(a)&&!K[(wb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(vb,"<$1>$2>");try{for(;f>e;e++)c=this[e]||{},1===c.nodeType&&(d.cleanData(A(c,!1)),c.innerHTML=a);c=0}catch(g){}}c&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode;d.cleanData(A(this));
+a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=pb.apply([],a);var c,e,f,g,h=0,k=this.length,l=this,n=k-1,p=a[0],m=d.isFunction(p);if(m||1h;h++)g=c,h!==n&&(g=d.clone(g,!0,!0),f&&d.merge(e,A(g,"script"))),b.call(this[h],g,h);if(f)for(c=e[e.length-1].ownerDocument,d.map(e,Nb),h=0;f>h;h++)g=e[h],xb.test(g.type||"")&&!r.access(g,"globalEval")&&d.contains(c,g)&&(g.src?d._evalUrl&&d._evalUrl(g.src):d.globalEval(g.textContent.replace(ec,"")))}return this}});d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(a){for(var e=[],f=
+d(a),g=f.length-1,h=0;g>=h;h++)a=h===g?this:this.clone(!0),d(f[h])[b](a),Ma.apply(e,a.get());return this.pushStack(e)}});var sa,ab={},bb=/^margin/,Ia=new RegExp("^("+Da+")(?!px)[a-z%]+$","i"),ta=function(a){return a.ownerDocument.defaultView.opener?a.ownerDocument.defaultView.getComputedStyle(a,null):n.getComputedStyle(a,null)};!function(){var a,b,c=u.documentElement,e=u.createElement("div"),f=u.createElement("div");if(f.style){var g=function(){f.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute";
+f.innerHTML="";c.appendChild(e);var d=n.getComputedStyle(f,null);a="1%"!==d.top;b="4px"===d.width;c.removeChild(e)};f.style.backgroundClip="content-box";f.cloneNode(!0).style.backgroundClip="";v.clearCloneStyle="content-box"===f.style.backgroundClip;e.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute";e.appendChild(f);n.getComputedStyle&&d.extend(v,{pixelPosition:function(){return g(),a},boxSizingReliable:function(){return null==b&&g(),b},reliableMarginRight:function(){var a,
+b=f.appendChild(u.createElement("div"));return b.style.cssText=f.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",b.style.marginRight=b.style.width="0",f.style.width="1px",c.appendChild(e),a=!parseFloat(n.getComputedStyle(b,null).marginRight),c.removeChild(e),f.removeChild(b),a}})}}();d.swap=function(a,b,c,d){var f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];c=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];
+return c};var fc=/^(none|table(?!-c[ea]).+)/,Pb=new RegExp("^("+Da+")(.*)$","i"),gc=new RegExp("^([+-])=("+Da+")","i"),hc={position:"absolute",visibility:"hidden",display:"block"},yb={letterSpacing:"0",fontWeight:"400"},eb=["Webkit","O","Moz","ms"];d.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=T(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},
+cssProps:{"float":"cssFloat"},style:function(a,b,c,e){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var f,g,h,k=d.camelCase(b),l=a.style;return b=d.cssProps[k]||(d.cssProps[k]=db(l,k)),h=d.cssHooks[b]||d.cssHooks[k],void 0===c?h&&"get"in h&&void 0!==(f=h.get(a,!1,e))?f:l[b]:(g=typeof c,"string"===g&&(f=gc.exec(c))&&(c=(f[1]+1)*f[2]+parseFloat(d.css(a,b)),g="number"),null!=c&&c===c&&("number"!==g||d.cssNumber[k]||(c+="px"),v.clearCloneStyle||""!==c||0!==b.indexOf("background")||(l[b]="inherit"),h&&
+"set"in h&&void 0===(c=h.set(a,c,e))||(l[b]=c)),void 0)}},css:function(a,b,c,e){var f,g,h,k=d.camelCase(b);return b=d.cssProps[k]||(d.cssProps[k]=db(a.style,k)),h=d.cssHooks[b]||d.cssHooks[k],h&&"get"in h&&(f=h.get(a,!0,c)),void 0===f&&(f=T(a,b,e)),"normal"===f&&b in yb&&(f=yb[b]),""===c||c?(g=parseFloat(f),!0===c||d.isNumeric(g)?g||0:f):f}});d.each(["height","width"],function(a,b){d.cssHooks[b]={get:function(a,e,f){return e?fc.test(d.css(a,"display"))&&0===a.offsetWidth?d.swap(a,hc,function(){return hb(a,
+b,f)}):hb(a,b,f):void 0},set:function(a,e,f){var g=f&&ta(a);return fb(a,e,f?gb(a,b,f,"border-box"===d.css(a,"boxSizing",!1,g),g):0)}}});d.cssHooks.marginRight=cb(v.reliableMarginRight,function(a,b){return b?d.swap(a,{display:"inline-block"},T,[a,"marginRight"]):void 0});d.each({margin:"",padding:"",border:"Width"},function(a,b){d.cssHooks[a+b]={expand:function(c){var d=0,f={};for(c="string"==typeof c?c.split(" "):[c];4>d;d++)f[a+Y[d]+b]=c[d]||c[d-2]||c[0];return f}};bb.test(a)||(d.cssHooks[a+b].set=
+fb)});d.fn.extend({css:function(a,b){return V(this,function(a,b,f){var g,h={},k=0;if(d.isArray(b)){f=ta(a);for(g=b.length;g>k;k++)h[b[k]]=d.css(a,b[k],!1,f);return h}return void 0!==f?d.style(a,b,f):d.css(a,b)},a,b,1e;e++)c=a[e],ia[c]=ia[c]||[],ia[c].unshift(b)},prefilter:function(a,b){b?da.unshift(a):da.push(a)}});d.speed=function(a,b,c){var e=a&&"object"==typeof a?d.extend({},a):{complete:c||!c&&b||d.isFunction(a)&&a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};return e.duration=d.fx.off?0:"number"==typeof e.duration?e.duration:e.duration in d.fx.speeds?d.fx.speeds[e.duration]:d.fx.speeds._default,(null==e.queue||!0===e.queue)&&(e.queue=
+"fx"),e.old=e.complete,e.complete=function(){d.isFunction(e.old)&&e.old.call(this);e.queue&&d.dequeue(this,e.queue)},e};d.fn.extend({fadeTo:function(a,b,c,d){return this.filter(ha).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,e){var f=d.isEmptyObject(a),g=d.speed(b,c,e);b=function(){var b=lb(this,d.extend({},a),g);(f||r.get(this,"finish"))&&b.stop(!0)};return b.finish=b,f||!1===g.queue?this.each(b):this.queue(g.queue,b)},stop:function(a,b,c){var e=function(a){var b=
+a.stop;delete a.stop;b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&!1!==a&&this.queue(a||"fx",[]),this.each(function(){var b=!0,g=null!=a&&a+"queueHooks",h=d.timers,k=r.get(this);if(g)k[g]&&k[g].stop&&e(k[g]);else for(g in k)k[g]&&k[g].stop&&jc.test(g)&&e(k[g]);for(g=h.length;g--;)h[g].elem!==this||null!=a&&h[g].queue!==a||(h[g].anim.stop(c),b=!1,h.splice(g,1));!b&&c||d.dequeue(this,a)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var b,c=r.get(this),e=c[a+"queue"];
+b=c[a+"queueHooks"];var f=d.timers,g=e?e.length:0;c.finish=!0;d.queue(this,a,[]);b&&b.stop&&b.stop.call(this,!0);for(b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)e[b]&&e[b].finish&&e[b].finish.call(this);delete c.finish})}});d.each(["toggle","show","hide"],function(a,b){var c=d.fn[b];d.fn[b]=function(a,d,g){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(ua(b,!0),a,d,g)}});d.each({slideDown:ua("show"),slideUp:ua("hide"),
+slideToggle:ua("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(a,d,f){return this.animate(b,a,d,f)}});d.timers=[];d.fx.tick=function(){var a,b=0,c=d.timers;for(Z=d.now();bh;h++)if(c=this[h],e=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(Qa," "):" ")){for(g=0;f=b[g++];)0>e.indexOf(" "+f+" ")&&(e+=f+" ");e=d.trim(e);c.className!==e&&(c.className=e)}return this},removeClass:function(a){var b,
+c,e,f,g;b=0===arguments.length||"string"==typeof a&&a;var h=0,k=this.length;if(d.isFunction(a))return this.each(function(b){d(this).removeClass(a.call(this,b,this.className))});if(b)for(b=(a||"").match(Q)||[];k>h;h++)if(c=this[h],e=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(Qa," "):"")){for(g=0;f=b[g++];)for(;0<=e.indexOf(" "+f+" ");)e=e.replace(" "+f+" "," ");e=a?d.trim(e):"";c.className!==e&&(c.className=e)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&
+"string"===c?b?this.addClass(a):this.removeClass(a):this.each(d.isFunction(a)?function(c){d(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c)for(var b,f=0,g=d(this),h=a.match(Q)||[];b=h[f++];)g.hasClass(b)?g.removeClass(b):g.addClass(b);else("undefined"===c||"boolean"===c)&&(this.className&&r.set(this,"__className__",this.className),this.className=this.className||!1===a?"":r.get(this,"__className__")||"")})},hasClass:function(a){a=" "+a+" ";for(var b=0,c=this.length;c>
+b;b++)if(1===this[b].nodeType&&0<=(" "+this[b].className+" ").replace(Qa," ").indexOf(a))return!0;return!1}});var lc=/\r/g;d.fn.extend({val:function(a){var b,c,e,f=this[0];if(arguments.length)return e=d.isFunction(a),this.each(function(c){var f;1===this.nodeType&&(f=e?a.call(this,c,d(this).val()):a,null==f?f="":"number"==typeof f?f+="":d.isArray(f)&&(f=d.map(f,function(a){return null==a?"":a+""})),b=d.valHooks[this.type]||d.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,f,
+"value")||(this.value=f))});if(f)return b=d.valHooks[f.type]||d.valHooks[f.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(f,"value"))?c:(c=f.value,"string"==typeof c?c.replace(lc,""):null==c?"":c)}});d.extend({valHooks:{option:{get:function(a){var b=d.find.attr(a,"value");return null!=b?b:d.trim(d.text(a))}},select:{get:function(a){for(var b,c=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:c.length,k=0>e?h:f?e:0;h>k;k++)if(b=c[k],!(!b.selected&&k!==e||(v.optDisabled?
+b.disabled:null!==b.getAttribute("disabled"))||b.parentNode.disabled&&d.nodeName(b.parentNode,"optgroup"))){if(a=d(b).val(),f)return a;g.push(a)}return g},set:function(a,b){for(var c,e,f=a.options,g=d.makeArray(b),h=f.length;h--;)e=f[h],(e.selected=0<=d.inArray(e.value,g))&&(c=!0);return c||(a.selectedIndex=-1),g}}}});d.each(["radio","checkbox"],function(){d.valHooks[this]={set:function(a,b){return d.isArray(b)?a.checked=0<=d.inArray(d(a).val(),b):void 0}};v.checkOn||(d.valHooks[this].get=function(a){return null===
+a.getAttribute("value")?"on":a.value})});d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){d.fn[b]=function(a,d){return 0a||304===a;if(c){x=m;for(var E=q,J,F,A,M,N=x.contents,y=x.dataTypes;"*"===y[0];)y.shift(),void 0===J&&(J=x.mimeType||E.getResponseHeader("Content-Type"));if(J)for(F in N)if(N[F]&&N[F].test(J)){y.unshift(F);break}if(y[0]in c)A=y[0];else{for(F in c){if(!y[0]||x.converters[F+" "+y[0]]){A=F;break}M||(M=F)}A=A||M}x=A?(A!==y[0]&&y.unshift(A),c[A]):void 0}var O;a:{c=m;J=x;F=q;A=h;var I,P,K;x={};E=c.dataTypes.slice();if(E[1])for(I in c.converters)x[I.toLowerCase()]=
+c.converters[I];for(M=E.shift();M;)if(c.responseFields[M]&&(F[c.responseFields[M]]=J),!K&&A&&c.dataFilter&&(J=c.dataFilter(J,c.dataType)),K=M,M=E.shift())if("*"===M)M=K;else if("*"!==K&&K!==M){if(I=x[K+" "+M]||x["* "+M],!I)for(O in x)if(P=O.split(" "),P[1]===M&&(I=x[K+" "+P[0]]||x["* "+P[0]])){!0===I?I=x[O]:!0!==x[O]&&(M=P[0],E.unshift(P[1]));break}if(!0!==I)if(I&&c["throws"])J=I(J);else try{J=I(J)}catch(L){O={state:"parsererror",error:I?L:"No conversion from "+K+" to "+M};break a}}O={state:"success",
+data:J}}x=O;h?(m.ifModified&&(D=q.getResponseHeader("Last-Modified"),D&&(d.lastModified[f]=D),D=q.getResponseHeader("etag"),D&&(d.etag[f]=D)),204===a||"HEAD"===m.type?G="nocontent":304===a?G="notmodified":(G=x.state,l=x.data,p=x.error,h=!p)):(p=G,(a||!G)&&(G="error",0>a&&(a=0)));q.status=a;q.statusText=(b||G)+"";h?v.resolveWith(r,[l,G,q]):v.rejectWith(r,[q,G,p]);q.statusCode(H);H=void 0;n&&u.trigger(h?"ajaxSuccess":"ajaxError",[q,m,h?l:p]);C.fireWith(r,[q,G]);n&&(u.trigger("ajaxComplete",[q,m]),--d.active||
+d.event.trigger("ajaxStop"))}}"object"==typeof a&&(b=a,a=void 0);b=b||{};var e,f,g,h,k,l,n,p,m=d.ajaxSetup({},b),r=m.context||m,u=m.context&&(r.nodeType||r.jquery)?d(r):d.event,v=d.Deferred(),C=d.Callbacks("once memory"),H=m.statusCode||{},D={},E={},z=0,x="canceled",q={readyState:0,getResponseHeader:function(a){var b;if(2===z){if(!h)for(h={};b=nc.exec(g);)h[b[1].toLowerCase()]=b[2];b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===z?g:null},setRequestHeader:function(a,
+b){var c=a.toLowerCase();return z||(a=E[c]=E[c]||a,D[a]=b),this},overrideMimeType:function(a){return z||(m.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>z)for(b in a)H[b]=[H[b],a[b]];else q.always(a[q.status]);return this},abort:function(a){a=a||x;return e&&e.abort(a),c(0,a),this}};if(v.promise(q).complete=C.add,q.success=q.done,q.error=q.fail,m.url=((a||m.url||Ta)+"").replace(mc,"").replace(pc,ga[1]+"//"),m.type=b.method||b.type||m.method||m.type,m.dataTypes=d.trim(m.dataType||"*").toLowerCase().match(Q)||
+[""],null==m.crossDomain&&(l=Cb.exec(m.url.toLowerCase()),m.crossDomain=!(!l||l[1]===ga[1]&&l[2]===ga[2]&&(l[3]||("http:"===l[1]?"80":"443"))===(ga[3]||("http:"===ga[1]?"80":"443")))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=d.param(m.data,m.traditional)),nb(Db,m,b,q),2===z)return q;(n=d.event&&m.global)&&0===d.active++&&d.event.trigger("ajaxStart");m.type=m.type.toUpperCase();m.hasContent=!oc.test(m.type);f=m.url;m.hasContent||(m.data&&(f=m.url+=(Sa.test(f)?"&":"?")+m.data,delete m.data),
+!1===m.cache&&(m.url=Bb.test(f)?f.replace(Bb,"$1_="+Ra++):f+(Sa.test(f)?"&":"?")+"_="+Ra++));m.ifModified&&(d.lastModified[f]&&q.setRequestHeader("If-Modified-Since",d.lastModified[f]),d.etag[f]&&q.setRequestHeader("If-None-Match",d.etag[f]));(m.data&&m.hasContent&&!1!==m.contentType||b.contentType)&&q.setRequestHeader("Content-Type",m.contentType);q.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Eb+"; q=0.01":""):m.accepts["*"]);
+for(p in m.headers)q.setRequestHeader(p,m.headers[p]);if(m.beforeSend&&(!1===m.beforeSend.call(r,q,m)||2===z))return q.abort();x="abort";for(p in{success:1,error:1,complete:1})q[p](m[p]);if(e=nb(Ja,m,b,q)){q.readyState=1;n&&u.trigger("ajaxSend",[q,m]);m.async&&0z))throw A;c(-1,A)}}else c(-1,"No Transport");return q},getJSON:function(a,b,c){return d.get(a,b,c,"json")},getScript:function(a,b){return d.get(a,
+void 0,b,"script")}});d.each(["get","post"],function(a,b){d[b]=function(a,e,f,g){return d.isFunction(e)&&(g=g||f,f=e,e=void 0),d.ajax({url:a,type:b,dataType:g,data:e,success:f})}});d._evalUrl=function(a){return d.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})};d.fn.extend({wrapAll:function(a){var b;return d.isFunction(a)?this.each(function(b){d(this).wrapAll(a.call(this,b))}):(this[0]&&(b=d(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),
+b.map(function(){for(var a=this;a.firstElementChild;)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return this.each(d.isFunction(a)?function(b){d(this).wrapInner(a.call(this,b))}:function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=d.isFunction(a);return this.each(function(c){d(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()}});
+d.expr.filters.hidden=function(a){return 0>=a.offsetWidth&&0>=a.offsetHeight};d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)};var qc=/%20/g,Rb=/\[\]$/,Fb=/\r?\n/g,rc=/^(?:submit|button|image|reset|file)$/i,sc=/^(?:input|select|textarea|keygen)/i;d.param=function(a,b){var c,e=[],f=function(a,b){b=d.isFunction(b)?b():null==b?"":b;e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=d.ajaxSettings&&d.ajaxSettings.traditional),d.isArray(a)||a.jquery&&!d.isPlainObject(a))d.each(a,
+function(){f(this.name,this.value)});else for(c in a)La(c,a[c],b,f);return e.join("&").replace(qc,"+")};d.fn.extend({serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=d.prop(this,"elements");return a?d.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!d(this).is(":disabled")&&sc.test(this.nodeName)&&!rc.test(a)&&(this.checked||!sb.test(a))}).map(function(a,b){var c=d(this).val();return null==c?null:d.isArray(c)?
+d.map(c,function(a){return{name:b.name,value:a.replace(Fb,"\r\n")}}):{name:b.name,value:c.replace(Fb,"\r\n")}}).get()}});d.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(a){}};var tc=0,Fa={},uc={0:200,1223:204},pa=d.ajaxSettings.xhr();n.attachEvent&&n.attachEvent("onunload",function(){for(var a in Fa)Fa[a]()});v.cors=!!pa&&"withCredentials"in pa;v.ajax=pa=!!pa;d.ajaxTransport(function(a){var b;return v.cors||pa&&!a.crossDomain?{send:function(c,d){var f,g=a.xhr(),h=++tc;if(g.open(a.type,
+a.url,a.async,a.username,a.password),a.xhrFields)for(f in a.xhrFields)g[f]=a.xhrFields[f];a.mimeType&&g.overrideMimeType&&g.overrideMimeType(a.mimeType);a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(f in c)g.setRequestHeader(f,c[f]);b=function(a){return function(){b&&(delete Fa[h],b=g.onload=g.onerror=null,"abort"===a?g.abort():"error"===a?d(g.status,g.statusText):d(uc[g.status]||g.status,g.statusText,"string"==typeof g.responseText?{text:g.responseText}:void 0,
+g.getAllResponseHeaders()))}};g.onload=b();g.onerror=b("error");b=Fa[h]=b("abort");try{g.send(a.hasContent&&a.data||null)}catch(k){if(b)throw k;}},abort:function(){b&&b()}}:void 0});d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return d.globalEval(a),a}}});d.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1);a.crossDomain&&(a.type=
+"GET")});d.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=d("