Interactive interface for browsing global, full-resolution satellite imagery
Remove unused /ext dependencies
Jo Sprague985588b84194
diff --git a/Gruntfile.js b/Gruntfile.jsindex 4f71e5d86..451c44721 100644--- a/Gruntfile.js+++ b/Gruntfile.js@@ -385,7 +385,6 @@ module.exports = function(grunt) {'!build/worldview-debug/web/css/bulkDownload.css','!build/worldview-debug/web/ext/**/*'],- modules: ['web/ext/node_modules/**'],config_src: ['web/config/**/*'],build_source: ['build/worldview', 'build/worldview-debug'diff --git a/package.json b/package.jsonindex c5a886f76..1d5c919a9 100644--- a/package.json+++ b/package.json@@ -106,7 +106,7 @@"worldview-options-eosdis": "github:nasa-gibs/worldview-options-eosdis#v2.1.2"},"browser": {- "d3": "./web/ext/ui/d3/d3.js",+ "d3": "./web/ext/d3/d3.js","isotope-layout": "./node_modules/isotope-layout/dist/isotope.pkgd.js","jquery": "./node_modules/jquery/dist/jquery.js"},diff --git a/web/ext/ui/d3/d3.js b/web/ext/d3/d3.jssimilarity index 100%rename from web/ext/ui/d3/d3.jsrename to web/ext/d3/d3.jsdiff --git a/web/ext/ui/d3/d3.min.js b/web/ext/d3/d3.min.jssimilarity index 100%rename from web/ext/ui/d3/d3.min.jsrename to web/ext/d3/d3.min.jsdiff --git a/web/ext/date/mobiscroll-2.6.0/mobiscroll.css b/web/ext/date/mobiscroll-2.6.0/mobiscroll.cssdeleted file mode 100644index ba8c746b2..000000000--- a/web/ext/date/mobiscroll-2.6.0/mobiscroll.css+++ /dev/null@@ -1,2082 +0,0 @@-/* Datewheel overlay */-.dw {- position: absolute;- top: 5%;- left: 0;- z-index: 1001;- color: #fff;- font-family: arial, verdana, sans-serif;- font-size: 12px;- text-shadow: none;- box-sizing: border-box;- -webkit-box-sizing: border-box;- -moz-box-sizing: border-box;- -webkit-user-select: none;- -moz-user-select: none;- -ms-user-select: none;- -ms-touch-action: none;- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);- -webkit-backface-visibility: hidden;-}-.dwi {- position: static;- display: inline-block;-}-.dwwr {- min-width: 170px;- zoom: 1;- padding: 0 10px;- text-align: center;-}-/* Datewheel overlay background */-.dw-persp, .dwo {- width: 100%;- height: auto;- position: absolute;- top: 0;- left: 0;- z-index: 1001;-}-.dwo {- background: #000;- opacity: .7;- filter: Alpha(Opacity=70);- display:none;-}-/* Bubble positionings */-.dw-bubble .dw {- margin: 20px 0;-}-.dw-bubble .dw-arrw {- position: absolute;- left: 0;- width: 100%;-}-.dw-bubble-top .dw-arrw {- bottom: -36px;-}-.dw-bubble-bottom .dw-arrw {- top: -36px;-}-.dw-bubble .dw-arrw-i {- margin: 0 30px;- position: relative;- height: 36px;-}-.dw-bubble .dw-arr {- display: block;-}-.dw-arr {- display: none;- position: absolute;- left: 0;- width: 0;- height: 0;- border-width: 18px 18px;- border-style: solid;- margin-left: -18px;-}-.dw-bubble-bottom .dw-arr {- top: 0;- border-color: transparent transparent #fff transparent;-}-.dw-bubble-top .dw-arr {- bottom: 0;- border-color: #fff transparent transparent transparent;-}-/* Datewheel wheel container wrapper */-.dwc {- padding: 30px 2px 5px 2px;- display: inline-block;-}-/* Datewheel label */-.dwl {- text-align: center;- line-height: 30px;- height: 30px;- white-space: nowrap;- position: absolute;- top: -30px;- width: 100%;-}-/* Datewheel value */-.dwv {- padding: 10px 0;- border-bottom: 1px solid #000;-}-/* Datewheel wheel container */-.dwrc {- -webkit-border-radius: 3px;- border-radius: 3px;-}-.dwwc {- margin: 0;- padding: 0 2px;- position: relative;- background: #000;- zoom: 1;-}-/* Datewheel wheels */-.dwwl {- margin: 4px 2px;- padding: 0 2px;- position: relative;- z-index: 5;-}-.dwww {- position: relative;- padding: 1px;-}-.dww {- overflow: hidden;- position: relative;- z-index: 2;-}-.dw-moz .dww {- opacity: .99; /* Fixes Firefox translate overflow bug */-}-.dwsc .dwwl {- background: #888;- background: linear-gradient(#000 0%,#333 35%, #888 50%,#333 65%,#000 100%);- background: -webkit-gradient(linear,left bottom,left top,from(#000),color-stop(0.35, #333),color-stop(0.50, #888),color-stop(0.65, #333),to(#000));- background: -webkit-linear-gradient(#000 0%,#333 35%, #888 50%,#333 65%,#000 100%);- background: -moz-linear-gradient(#000 0%,#333 35%, #888 50%,#333 65%,#000 100%);-}-.dwsc .dww {- color: #fff;- background: #444;- background: linear-gradient(#000 0%,#444 45%, #444 55%, #000 100%);- background: -webkit-gradient(linear,left bottom,left top,from(#000),color-stop(0.45, #444),color-stop(0.55, #444),to(#000));- background: -webkit-linear-gradient(#000 0%,#444 45%, #444 55%, #000 100%);- background: -moz-linear-gradient(#000 0%,#444 45%, #444 55%, #000 100%);-}-.dw-bf {- -webkit-perspective: 1000;- -webkit-backface-visibility: hidden;-}-.dw-ul {- position: relative;- z-index: 2;-}-.dw-li {- padding: 0 5px;- display: block;- text-align: center;- line-height: 40px;- font-size: 26px;- white-space: nowrap;- text-shadow: 0 1px 1px #000;- vertical-align: bottom;- opacity: .3;- filter: Alpha(Opacity=30);-}-/* Higlighted */-.dw-li.dw-hl {- background: #fff;- background: rgba(255,255,255,.3);-}-/* Valid entry */-.dw-li.dw-v {- opacity: 1;- filter: Alpha(Opacity=100);-}-/* Hidden entry */-.dw-li.dw-h {- visibility: hidden;-}-.dw-i {- position: relative;- height: 100%;-}-/* Wheel +/- buttons */-.dwwb {- position: absolute;- z-index: 4;- left: 0;- cursor: pointer;- width: 100%;- height: 40px;- text-align: center;- opacity: 1;- transition: opacity .2s linear;- -webkit-transition: opacity .2s linear;-}-.dwa .dwwb {- opacity: 0;-}-.dwwbp {- top: 0;- -webkit-border-radius: 3px 3px 0 0;- border-radius: 3px 3px 0 0;- font-size: 40px;-}-.dwwbm {- bottom: 0;- -webkit-border-radius: 0 0 3px 3px;- border-radius: 0 0 3px 3px;- font-size: 32px;- font-weight: bold;-}-.dwpm .dwwc {- background: transparent;-}-.dwpm .dwwl {- padding: 0;-}-.dwpm .dw-li {- text-shadow: none;-}-.dwpm .dwwol {- display: none;-}-/* Datewheel wheel overlay */-.dwwo {- position: absolute;- z-index: 3;- top: 0;- left: 0;- width: 100%;- height: 100%;- background: linear-gradient(#000 0%,rgba(44,44,44,0) 52%, rgba(44,44,44,0) 48%, #000 100%);- background: -webkit-gradient(linear,left bottom,left top,from(#000),color-stop(0.52, rgba(44,44,44,0)),color-stop(0.48, rgba(44,44,44,0)),to(#000));- background: -webkit-linear-gradient(#000 0%,rgba(44,44,44,0) 52%, rgba(44,44,44,0) 48%, #000 100%);- background: -moz-linear-gradient(#000 0%,rgba(44,44,44,0) 52%, rgba(44,44,44,0) 48%, #000 100%);-}-/* Background line */-.dwwol {- position: absolute;- z-index: 1;- top: 50%;- left: 0;- width: 100%;- height: 0;- margin-top: -1px;- border-top: 1px solid #333;- border-bottom: 1px solid #555;-}-/* Datewheel button */-.dwbg .dwb {- cursor: pointer;- overflow: hidden;- display: block;- height: 40px;- line-height: 40px;- padding: 0 15px;- margin: 0 2px;- font-size: 14px;- font-weight: bold;- text-decoration: none;- text-shadow: 0 -1px 1px #000;- border-radius: 5px;- box-shadow: 0 1px 3px rgba(0,0,0,0.5);- color: #fff;- background: #000;- background: linear-gradient(#6e6e6e 50%,#000 50%);- background: -webkit-gradient(linear,left bottom,left top,color-stop(0.5, #000),color-stop(0.5, #6e6e6e));- background: -webkit-linear-gradient(#6e6e6e 50%,#000 50%);- background: -moz-linear-gradient(#6e6e6e 50%,#000 50%);- white-space: nowrap;- text-overflow: ellipsis;- -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);- -webkit-border-radius: 5px;- -webkit-backface-visibility: hidden;-}-/* Datewheel button container */-.dwbc {- padding: 5px 0;- text-align: center;-}-/* Datewheel button wrapper */-.dwbw {- display: inline-block;- width: 50%;- position: relative;- z-index: 5;-}-.dwbc-p .dwbw {- width: 33.33%;-}-/* Hidden label */-.dwhl {- padding-top: 10px;-}-.dwhl .dwl {- display: none;-}-/* Multiple selection */-.dwms .dwwms .dw-li {- padding: 0 40px;- position: relative;-}-.dwms .dw-msel:after {- width: 40px;- text-align: center;- position: absolute;- top: 0;- left: 0;- content: '✔';-}-/* Backgrounds */-.dwbg {- background: rgba(38,43,49,0.85);- border-radius: 3px;- -webkit-border-radius: 3px;-}-.dwbg .dwpm .dwwl {- border: 1px solid #aaa;-}-.dwbg .dwpm .dww {- color: #000;- background: #fff;- -webkit-border-radius: 3px;-}-.dwbg .dwwb {- background: #ccc;- color: #888;- text-shadow: 0 -1px 1px #333;- box-shadow: 0 0 5px #333;- -webkit-box-shadow: 0 0 5px #333;-}-.dwbg .dwwbp {- background: linear-gradient(#f7f7f7,#bdbdbd);- background: -webkit-gradient(linear,left bottom,left top,from(#bdbdbd),to(#f7f7f7));- background: -webkit-linear-gradient(#f7f7f7,#bdbdbd);- background: -moz-linear-gradient(#f7f7f7,#bdbdbd);-}-.dwbg .dwwbm {- background: linear-gradient(#bdbdbd,#f7f7f7);- background: -webkit-gradient(linear,left bottom,left top,from(#f7f7f7),to(#bdbdbd));- background: -webkit-linear-gradient(#bdbdbd,#f7f7f7);- background: -moz-linear-gradient(#bdbdbd,#f7f7f7);-}-.dwbg .dwb-a {- background: #3c7500;- background: linear-gradient(#94c840 50%,#3c7500 50%);- background: -webkit-gradient(linear,left bottom,left top,color-stop(0.5, #3c7500),color-stop(0.5, #94c840));- background: -webkit-linear-gradient(#94c840 50%,#3c7500 50%);- background: -moz-linear-gradient(#94c840 50%,#3c7500 50%);-}-.dwbg .dwwl .dwb-a {- background: #3c7500;- background: linear-gradient(#94c840,#3c7500);- background: -webkit-gradient(linear,left bottom,left top,from(#3c7500),to(#94c840));- background: -webkit-linear-gradient(#94c840,#3c7500);- background: -moz-linear-gradient(#94c840,#3c7500);-}--/* jQuery Mobile Theme */-.jqm .dwo {- background: none;-}-.jqm .dw {- padding: 6px;- z-index: 1003;-}-.jqm .dwv {- position: static;- width: auto;- padding: .7em 15px .7em 15px;- border: 0;-}-.jqm .dwwr {- border: 0;- padding: 0;-}-.jqm .dwpm .dwwo {- background: none;-}-.jqm .dwc {- padding: 30px 5px 5px 5px;- }-.jqm .dwhl {- padding: 5px;-}-.jqm .dwwb {- margin: 0;- border: 0;-}-.jqm .dwwb span {- padding: 0;-}-.jqm .dwwbp .ui-btn-inner {- font-size: 40px;- border-radius: 3px 3px 0 0;- -webkit-border-radius: 3px 3px 0 0;- -moz-border-radius: 3px 3px 0 0;-}-.jqm .dwwbm .ui-btn-inner {- font-size: 32px;- border-radius: 0 0 3px 3px;- -webkit-border-radius: 0 0 3px 3px;- -moz-border-radius: 0 0 3px 3px;-}-.jqm .dwwbp span {- font-weight: normal;-}-.jqm .dwbc {- padding: 0;-}-.jqm .dwbc .ui-btn {- margin: .5em 5px;-}-.jqm .dwbc .ui-btn-inner {- font-size: 12px;-}-.jqm .dwpm .dwl {- border: 0;- background: none;-}-/* Bubble positioning */-.jqm .dw-bubble-bottom .dw-arr-{- border-color: transparent transparent #444 transparent;-}-.jqm .dw-bubble-top .dw-arr-{- border-color: #222 transparent transparent transparent;-}-/* Docked */-.jqm.dw-bottom .dw, .jqm.dw-top .dw {- padding: 0;- border-radius: 0;- -webkit-border-radius: 0;- -moz-border-radius: 0;-}-.jqm.dw-top .dw {- border-right: 0;- border-top: 0;- border-left: 0;-}-.jqm.dw-bottom .dw {- border-bottom: 0;- border-right: 0;- border-left: 0;-}--/* Android Skin */-.android .dw {- padding: 0;- background: #000;- border: 2px solid #555;- color: #fff;-}-.android .dwv {- padding: 10px;- border-bottom: 1px solid #333;-}-.android .dwwr {- padding: 0;-}-.android .dww {- top: 0;-}-.android .dwwc {- background: #000;-}-.android .dw .dwpm .dww,-.android .dw .dwpm .dwwl {- border: 0;- background: #fff;-}-.android .dw .dwpm .dww {- margin: 0;-}-.android .dwpm .dww .dw-li {- color: #000;- text-shadow: none;-}-.android .dwbc {- padding: 5px 1px;- background: #9c9c9c;-}-.android .dw .dwb {- margin: 0 5px;- background: #ccc;- background: linear-gradient(#eee,#ccc);- background: -webkit-gradient(linear,left bottom,left top,from(#ccc),to(#eee));- background: -moz-linear-gradient(#eee,#ccc);- background: -o-linear-gradient(#eee,#ccc);- color: #000;- font-weight: normal;- text-shadow: none;- border-radius: 0;- -moz-border-radius: 0;- -webkit-border-radius: 0;-}-.android .dw .dwb-a, .android .dw .dwwl .dwb-a {- background: #ffb25a;- background: linear-gradient(#ffb25a,#ef6100);- background: -webkit-gradient(linear,left bottom,left top,from(#ef6100),to(#ffb25a));- background: -moz-linear-gradient(#ffb25a,#ef6100);- background: -o-linear-gradient(#ffb25a,#ef6100);-}-/* Bubble positioning */-.android .dw-bubble-bottom .dw-arr {- border-color: transparent transparent #000 transparent;-}-.android .dw-bubble-top .dw-arr {- border-color: #9c9c9c transparent transparent transparent;-}-/* Docked */-.android.dw-top .dw,-.android.dw-bottom .dw {- border-right: 0;- border-left: 0;-}-.android.dw-top .dw {- border-top: 0;-}-.android.dw-bottom .dw {- border-bottom: 0;-}--/* Android ICS skin */-.android-ics .dw {- padding: 0;- color: #31b6e7;- background: #292829;-}-.android-ics .dw .dwwc,-.android-ics .dw .dwwl,-.android-ics .dw .dww,-.android-ics .dw .dwb,-.android-ics .dw .dwpm .dww {- background: none;-}-.android-ics .dwwr {- padding: 0;-}-.android-ics .dwc {- padding: 30px 10px 1px 10px;-}-.android-ics .dwhl {- padding: 1px 10px;-}-.android-ics .dwv {- height: 36px;- line-height: 36px;- padding: 0;- border-bottom: 2px solid #31b6e7;- font-size: 18px;-}-.android-ics .dwwl {- margin: 0 2px;-}-.android-ics .dww,-.android-ics .dw .dwpm .dwwl,-.android-ics .dw .dwpm .dww {- border: 0;-}-.android-ics .dww .dw-li {- color: #fff;- font-size: 18px;- text-shadow: none;-}-.android-ics .dww .dw-li.dw-hl {- background: #31b6e7;- background: rgba(49,182,231,.5);-}-.android-ics .dwwo {- background: linear-gradient(#282828 0%,rgba(40,40,40,0) 52%, rgba(40,40,40,0) 48%, #282828 100%);- background: -webkit-gradient(linear,left bottom,left top,from(#282828),color-stop(0.52, rgba(40,40,40,0)),color-stop(0.48, rgba(40,40,40,0)),to(#282828));- background: -moz-linear-gradient(#282828 0%,rgba(40,40,40,0) 52%, rgba(40,40,40,0) 48%, #282828 100%);- background: -o-linear-gradient(#282828 0%,rgba(40,40,40,0) 52%, rgba(40,40,40,0) 48%, #282828 100%);-}-.android-ics .dw .dwwb {- background: #292829;- box-shadow: none;- -webkit-box-shadow: none;-}-.android-ics .dwwb span {- display: none;-}-.android-ics .dwwb:after {- position: absolute;- top: 50%;- left: 50%;- margin-top: -8px;- margin-left: -8px;- color: #7e7e7e;- width: 0;- height: 0;- border-width: 8px;- border-style: solid;- content: '';-}-.android-ics .dwwbm {- top: 0;- bottom: auto;-}-.android-ics .dwwbp {- bottom: 0;- top: auto;-}-.android-ics .dwwbm:after {- border-color: transparent transparent #7e7e7e transparent;-}-.android-ics .dwwbp:after {- border-color: #7e7e7e transparent transparent transparent;-}-.android-ics .dw .dwwl .dwb-a {- background: #292829;-}-.android-ics .dwwbm.dwb-a:after {- border-color: transparent transparent #319abd transparent;-}-.android-ics .dwwbp.dwb-a:after {- border-color: #319abd transparent transparent transparent;-}-.android-ics .dw .dwwol {- width: 60%;- left: 20%;- height: 36px;- border-top: 2px solid #31b6e7;- border-bottom: 2px solid #31b6e7;- margin-top: -20px;- display: block;-}-.android-ics .dwbc {- border-top: 1px solid #424542;- padding: 0;-}-.android-ics .dw .dwb {- height: 36px;- line-height: 36px;- padding: 0;- margin: 0;- font-weight: normal;- text-shadow: none;- box-shadow: none;- border-radius: 0;- -webkit-border-radius: 0;- -webkit-box-shadow: none;-}-.android-ics .dw .dwb-a {- background: #29799c;-}-.android-ics .dwb-s .dwb, .android-ics .dwb-n .dwb {- border-right: 1px solid #424542;-}-/* Docked */-.android-ics.dw-bottom .dw, .android-ics.dw-top .dw {- border-radius: 0;- -webkit-border-radius: 0;-}-/* Multiple select */-.android-ics .dwwms .dwwol {- display: none;-}-.android-ics .dwwms .dw-li {- padding-left: 5px;- padding-right: 36px;-}-.android-ics .dwwms .dw-li:after {- content: '';- position: absolute;- top: 50%;- left: auto;- right: 10px;- width: 14px;- height: 14px;- margin-top: -9px;- color: #31b6e7;- line-height: 14px;- border: 1px solid #424542;- text-shadow: 0 0 5px #29799c;-}-.android-ics .dwwms .dw-msel:after {- content: '✔';-}-/* Light version */-.android-ics.light .dw {- background: #f5f5f5;-}-.android-ics.light .dww .dw-li {- color: #000;-}-.android-ics.light .dwwo {- background: linear-gradient(#f5f5f5 0%,rgba(245,245,245,0) 52%, rgba(245,245,245,0) 48%, #f5f5f5 100%);- background: -webkit-gradient(linear,left bottom,left top,from(#f5f5f5),color-stop(0.52, rgba(245,245,245,0)),color-stop(0.48, rgba(245,245,245,0)),to(#f5f5f5));- background: -moz-linear-gradient(#f5f5f5 0%,rgba(245,245,245,0) 52%, rgba(245,245,245,0) 48%, #f5f5f5 100%);- background: -o-linear-gradient(#f5f5f5 0%,rgba(245,245,245,0) 52%, rgba(245,245,245,0) 48%, #f5f5f5 100%);-}-.android-ics.light .dw .dwwb {- background: #f5f5f5;- color: #f5f5f5;-}-.android-ics.light .dwbc {- border-top: 1px solid #dbdbdb;-}-.android-ics.light .dwb {- color: #000;-}-.android-ics.light .dwb-a {- color: #fff;-}-.android-ics.light .dwb-s .dwb, .android-ics.light .dwb-n .dwb {- border-right: 1px solid #dbdbdb;-}-/* Bubble positioning */-.android-ics .dw-bubble-bottom .dw-arr {- border-color: transparent transparent #292829 transparent;-}-.android-ics .dw-bubble-top .dw-arr {- border-color: #292829 transparent transparent transparent;-}-/* Bubble positioning */-.android-ics.light .dw-bubble-bottom .dw-arr {- border-color: transparent transparent #f5f5f5 transparent;-}-.android-ics.light .dw-bubble-top .dw-arr {- border-color: #f5f5f5 transparent transparent transparent;-}-/* Multiple select */-.android-ics.light .dwwms .dw-li:after {- text-shadow: 0 0 5px #31b6e7;-}--/* iOS Skin */-.ios .dw {- min-width: 134px;- padding: 0;- border: 1px solid #2d3034;- background: none;- color: #fff;- border-radius: 0;- -webkit-border-radius: 0;-}-.ios .dwo {- background: none;-}-.ios .dwwr {- position: relative;- margin-top: 40px;- background: #50515d;- background: linear-gradient(#9f9fa6,#484a55 50%,#272836 50%,#282a39);- background: -webkit-gradient(linear,left top,left bottom,from(#9f9fa6),color-stop(0.5, #484a55),color-stop(0.5, #272836),to(#282a39));- background: -webkit-linear-gradient(#9f9fa6,#484a55 50%,#272836 50%,#282a39);- background: -moz-linear-gradient(#9f9fa6,#484a55 50%,#272836 50%,#282a39);-}-.ios .dwi .dwwr {- margin-top: 0;-}-.ios .dwv {- display: none;-}-.ios .dwc {- padding: 30px 2px;- margin: 0;-}-.ios .dwhl {- padding: 10px 2px;-}-.ios .dwwc {- background: transparent;-}-.ios .dwwl {- margin: 4px 0;- border-left: 1px solid #000;- border-right: 1px solid #000;- background: #cbcce0;- background: linear-gradient(#2c2c38 0%,#cbcce0 35%, #cbcce0 65%,#2c2c38 100%);- background: -webkit-gradient(linear,left bottom,left top,from(#2c2c38),color-stop(0.35, #cbcce0),color-stop(0.65, #cbcce0),to(#2c2c38));- background: -webkit-linear-gradient(#2c2c38 0%,#cbcce0 35%, #cbcce0 65%,#2c2c38 100%);- background: -moz-linear-gradient(#2c2c38 0%,#cbcce0 35%, #cbcce0 65%,#2c2c38 100%);- box-shadow: 0 1px 1px rgba(255,255,255,0.3);- -webkit-box-shadow: 0 1px 1px rgba(255,255,255,0.3);-}-.ios td:first-child .dwwl {- border-top-left-radius: 3px;- border-bottom-left-radius: 3px;- -webkit-border-top-left-radius: 3px;- -webkit-border-bottom-left-radius: 3px;-}-.ios td:last-child .dwwl {- border-top-right-radius: 3px;- border-bottom-right-radius: 3px;- -webkit-border-top-right-radius: 3px;- -webkit-border-bottom-right-radius: 3px;-}-.ios .dwsc .dwwl {- border-radius: 0;- -webkit-border-radius: 0;-}-.ios .dwsc .dww {- background: #fff;- background: linear-gradient(#333 0%,#999 10%,#fff 30%,#fff 70%,#999 90%,#333 100%);- background: -webkit-gradient(linear,left bottom,left top,from(#333),color-stop(0.10, #999),color-stop(0.30, #fff),color-stop(0.70, #fff),color-stop(0.90, #999),to(#333));- background: -webkit-linear-gradient(#333 0%,#999 10%,#fff 30%,#fff 70%,#999 90%,#333 100%);- background: -moz-linear-gradient(#333 0%,#999 10%,#fff 30%,#fff 70%,#999 90%,#333 100%);- border-radius: 0;- -webkit-border-radius: 0;-}-.ios .dw .dwpm .dww {- background: linear-gradient(#333,#fff 48%,#fff 52%,#333);- background: -webkit-gradient(linear,left bottom,left top,from(#333),color-stop(0.48, #fff),color-stop(0.52, #fff),to(#333));- background: -webkit-linear-gradient(#333 0%,#fff 48%,#fff 52%,#333 100%);- background: -moz-linear-gradient(#333 0%,#fff 48%,#fff 52%,#333 100%);-}-.ios .dw .dwpm .dwwl {- margin: 4px 2px;- border: 1px solid #000;-}-.ios .dw .dwpm .dww {- margin: 0;- border: 0;-}-.ios .dww .dw-li {- color: #000;- font-size: 20px;- font-weight: bold;- text-align: right;- text-shadow: none;-}-.ios .dww .dw-li.dw-hl {- background: linear-gradient(#0288f3,#005de6);- background: -webkit-gradient(linear,left bottom,left top,from(#0288f3),to(#005de6));- background: -webkit-linear-gradient(#0288f3,#005de6);- background: -moz-linear-gradient(#0288f3,#005de6);- color: #fff;-}-.ios .dwwo {- background: linear-gradient(#333 0%,rgba(153,153,153,0) 10%, rgba(153,153,153,0) 90%, #333 100%);- background: -webkit-gradient(linear,left bottom,left top,from(#333),color-stop(0.1, rgba(153,153,153,0)),color-stop(0.9, rgba(153,153,153,0)),to(#333));- background: -webkit-linear-gradient(#333 0%,rgba(153,153,153,0) 10%, rgba(153,153,153,0) 90%, #333 100%);- background: -moz-linear-gradient(#333 0%,rgba(153,153,153,0) 10%, rgba(153,153,153,0) 90%, #333 100%);-}-.ios .dwwol {- height: 28px;- padding: 1px;- margin-top: -16px;- border-color: #7b8699;- background: #6f75b0;- background: linear-gradient(rgba(151, 157, 197, 0.5) 50%,rgba(111, 117, 176, 0.5) 50%);- background: -webkit-gradient(linear,left bottom,left top,color-stop(0.5, rgba(111, 117, 176, 0.5)),color-stop(0.5, rgba(151, 157, 197, 0.5)));- background: -webkit-linear-gradient(rgba(151, 157, 197, 0.5) 50%,rgba(111, 117, 176, 0.5) 50%);- background: -moz-linear-gradient(rgba(151, 157, 197, 0.5) 50%,rgba(111, 117, 176, 0.5) 50%);- z-index: 10;- left: -1px;- box-shadow: 0 1px 3px rgba(0,0,0,0.5);- -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);- filter: alpha(opacity=50);-}-.ios .dww .dwwol {- display: none;-}-.ios .dw .dwbc {- position: absolute;- top: -40px;- left: 0;- width: 100%;- height: 28px;- padding: 5px 0;- background: #454545;- background: linear-gradient(rgba(69,69,69,0.7),rgba(37,37,37,0.7) 50%,rgba(16,16,16,0.7) 50%,rgba(0,0,0,0.7));- background: -webkit-gradient(linear,left top,left bottom,from(rgba(69,69,69,0.7)),color-stop(0.5, rgba(37,37,37,0.7)),color-stop(0.5, rgba(16,16,16,0.7)),to(rgba(0,0,0,0.7)));- background: -webkit-linear-gradient(rgba(69,69,69,0.7),rgba(37,37,37,0.7) 50%,rgba(16,16,16,0.7) 50%,rgba(0,0,0,0.7));- background: -moz-linear-gradient(rgba(69,69,69,0.7),rgba(37,37,37,0.7) 50%,rgba(16,16,16,0.7) 50%,rgba(0,0,0,0.7));- border-bottom: 1px solid #888;- border-bottom: 1px solid rgba(255,255,255,0.5);- border-top: 1px solid #888;- border-top: 1px solid rgba(255,255,255,0.5);-}-.ios .dw .dwb {- margin: 0 5px;- padding: 0 10px;- display: inline-block;- font-size: 12px;- height: 26px;- line-height: 26px;- border: 1px solid #1f1f1f;- background: #1a1a1a;- background: linear-gradient(#7b7b7b,#1a1a1a 50%,#000 50%);- background: -webkit-gradient(linear,left top,left bottom,from(#7b7b7b),color-stop(0.5, #1a1a1a),color-stop(0.5, #000));- background: -webkit-linear-gradient(#7b7b7b,#1a1a1a 50%,#000 50%);- background: -moz-linear-gradient(#7b7b7b,#1a1a1a 50%,#000 50%);- box-shadow: 0 1px 0 rgba(255,255,255,0.3);- -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.3);-}-.ios .dwb-s .dwb {- border: 1px solid #194aab;- background: #194aab;- background: linear-gradient(#82aaff,#3162c4 50%,#194aab 50%);- background: -webkit-gradient(linear,left top,left bottom,from(#82aaff),color-stop(0.5,#3162c4),color-stop(0.5,#194aab));- background: -webkit-linear-gradient(#82aaff,#3162c4 50%,#194aab 50%);- background: -moz-linear-gradient(#82aaff,#3162c4 50%,#194aab 50%);-}-.ios .dwb-a {- opacity: .8;- filter: alpha(opacity=80);-}-.ios .dw .dwwb {- color: #fff;- border: 0;- background: #3f4e68;- background: linear-gradient(#c7d1e2 0%,#808ea6 50%,#75859f 50%,#3f4e68 100%);- background: -webkit-gradient(linear,left bottom,left top,from(#3f4e68),color-stop(0.5, #75859f),color-stop(0.5, #808ea6),to(#c7d1e2));- background: -webkit-linear-gradient(#c7d1e2 0%,#808ea6 50%,#75859f 50%,#3f4e68 100%);- background: -moz-linear-gradient(#c7d1e2 0%,#808ea6 50%,#75859f 50%,#3f4e68 100%);-}-.ios .dw .dwwl .dwb-a {- background: #252c36;- background: linear-gradient(#6b6e75 0%,#272e38 50%,#171e28 50%,#252c36 100%);- background: -webkit-gradient(linear,left bottom,left top,from(#252c36),color-stop(0.5, #171e28),color-stop(0.5, #272e38),to(#6b6e75));- background: -webkit-linear-gradient(#6b6e75 0%,#272e38 50%,#171e28 50%,#252c36 100%);- background: -moz-linear-gradient(#6b6e75 0%,#272e38 50%,#171e28 50%,#252c36 100%);-}-.ios .dwb-s, .ios .dwb-n {- width: auto;- float: right;- text-align: right;-}-.ios .dwb-c {- width: auto;- float: left;- text-align: left;-}-/* Bubble positioning */-.ios.dw-bubble .dw {- padding: 6px;- background: #afafaf;- background: linear-gradient(#afafaf, #1b2530 30%);- background: -webkit-gradient(linear,left top,left bottom,from(#afafaf),color-stop(0.3, #1b2530));- background: -webkit-linear-gradient(#afafaf, #1b2530 30%);- background: -moz-linear-gradient(#afafaf, #1b2530 30%);- box-shadow: 0 0 25px rgba(0,0,0,0.7);- border-radius: 5px;- -webkit-border-radius: 5px;- -webkit-box-shadow: 0 0 25px rgba(0,0,0,0.7);-}-.ios .dw-bubble-bottom .dw-arr {- border-color: transparent transparent #2d3034 transparent;-}-.ios .dw-bubble-bottom .dw-arr:after {- content: '';- position: absolute;- top: -16px;- left: -17px;- border: 17px solid #afafaf;- border-color: transparent transparent #afafaf transparent;-}-.ios .dw-bubble-top .dw-arr {- border-color: #1b2530 transparent transparent transparent;-}-/* Multiple select */-.ios .dwwms .dwwol {- display: none;-}-.ios .dwwms .dw-li {- padding: 0 5px 0 30px;- text-align: left;-}-.ios .dw-msel:after {- width: 30px;-}-.ios .dww .dw-msel {- color: #215085;-}--/* Sense UI Skin */-.sense-ui .dw {- padding: 0;- background: #333;- border: 2px solid #fff;- color: #fff;-}-.sense-ui .dwwr {- padding: 0;-}-.sense-ui .dwv {- padding: 5px 10px;- border-bottom: 1px solid #666;- text-align: left;-}-.sense-ui .dwwc {- background: #333;-}-.sense-ui .dw .dwpm .dwwl,-.sense-ui .dw .dwpm .dww {- background: #fff;- border: 0;- padding: 0;-}-.sense-ui .dwbc {- padding: 5px 1px;- background: #000;- background: linear-gradient(#666 50%,#000 50%);- background: -webkit-gradient(linear,left bottom,left top,color-stop(0.5, #000),color-stop(0.5, #666));- background: -moz-linear-gradient(#666 50%,#000 50%);- background: -o-linear-gradient(#666 50%,#000 50%);-}-.sense-ui .dw .dwb {- margin: 0 5px;- border: 1px solid #333;- background: #222;- background: linear-gradient(#444,#000);- background: -webkit-gradient(linear,left bottom,left top,from(#000),to(#444));- background: -moz-linear-gradient(#444,#000);- background: -o-linear-gradient(#444,#000);- box-shadow: inset 0 0 5px #000;-}-.sense-ui .dw .dwb-a {- background: #3c7500;- background: linear-gradient(#94c840,#3c7500);- background: -webkit-gradient(linear,left bottom,left top,from(#3c7500),to(#94c840));- background: -moz-linear-gradient(#94c840,#3c7500);- background: -o-linear-gradient(#94c840,#3c7500);-}-/* Docked */-.sense-ui.dw-top .dw {- border: 0;- border-radius: 0;- -webkit-border-radius: 0;-}-.sense-ui.dw-bottom .dw {- border: 0;- border-top: 1px solid #666;- border-radius: 0;- -webkit-border-radius: 0;-}--.wp .dw {- background: #1f1f1f;- border-radius: 0;- -webkit-border-radius: 0;-}-.wp .dwwr {- padding: 10px;-}-.wp .dwv {- display: none;-}-.wp .dwc {- padding: 30px 0 0 0;- vertical-align: middle;-}-.wp .dwhl {- padding: 0;-}-.wp .dwwc {- padding: 3px;- background: none;-}-.wp .dwwl {- margin: 0;- padding: 0 2px;- background: none;-}-.wp .dwl {- color: #fff;-}-.wp .dw .dwwl .dww {- background: none;- border: 0;- color: #fff;-}-.wp .dw-li {- position: relative;- padding: 0;- font-size: 26px;- letter-spacing: -1px;- text-align: left;- text-shadow: none;- opacity: 0;- box-sizing: border-box;- filter: Alpha(Opacity=0);- /*transition: opacity .3s linear;*/- -webkit-box-sizing: border-box;- /*-webkit-transition: opacity .3s linear;*/- -moz-box-sizing: border-box;- /*-moz-transition: opacity .3s linear;*/-}-.wp .dw-i {- position: relative;- top: 4%;- height: 92%;- padding: 0 5px;- border: 1px solid #4c4c4c;- box-sizing: border-box;- -webkit-box-sizing: border-box;- -moz-box-sizing: border-box;- filter: inherit;-}-.wp .wpa .dw-li, .wp .dwa .dw-li {- opacity: .3;- filter: Alpha(Opacity=30);-}-.wp .wpa .dw-v, .wp .dwa .dw-v, .wp .wpam .dw-v {- opacity: 1;- filter: Alpha(Opacity=100);-}-.wp .dw-day, .wp .dw-mon {- display: block;- color: #a9a9a9;- line-height: 18px;- font-size: 11px;- letter-spacing: normal;- position: absolute;- bottom: 0;- filter: inherit;-}-.wp .dw-sel {- opacity: 1;- filter: Alpha(Opacity=100);-}-.wp .dw .dw-sel .dw-i {- color: #fff;- background: #4c4c4c;- /*transition: all .1s linear;- -webkit-transition: all .1s linear;- -moz-transition: all .1s linear;*/-}-.wp .dw-sel .dw-day, .wp .dw-sel .dw-mon {- color: #fff;-}-.wp .dw-hl {- background: none;-}-.wp .dw-hl .dw-i {- background: #4c4c4c;-}-.wp .dwa .dww .dw-sel .dw-i {- border: 1px solid #4c4c4c;- background-color: transparent;-}-.wp .dwa .dw-day, .wp .dwa .dw-month {- color: #a9a9a9;-}-.wp .dwwo {- display: none;-}-.wp .dwwol {- display: none;-}-.wp .dwbc {- padding: 0;-}-.wp .dwbw {- float: none;- width: auto;-}-.wp .dw .dwb {- position: relative;- top: 0;- min-width: 32px;- display: inline-block;- height: 20px;- padding: 29px 5px 0 5px;- background: none;- box-shadow: none;- line-height: 20px;- font-size: 11px;- font-weight: normal;- text-transform: lowercase;- text-shadow: none;- transition: top .1s linear;- -webkit-box-shadow: none;- -webkit-transition: top .1s linear;- -moz-transition: top .1s linear;-}-.wp .dwb:after {- content: '';- position: absolute;- top: 3px;- left: 50%;- width: 26px;- height: 26px;- margin: 0 -13px;- background: url(wp_icons.png) center center no-repeat;-}-.wp .dwb-s .dwb:after {- background-position: 0 0;-}-.wp .dwb-c .dwb:after {- background-position: -26px 0;-}-.wp .dwb-n .dwb:after {- background-position: -52px 0;-}-.wp .dwb-s .dwb-a:after {- background-position: 0 -26px;-}-.wp .dwb-c .dwb-a:after {- background-position: -26px -26px;-}-.wp .dwb-n .dwb-a:after {- background-position: -52px -26px;-}-.wp .dwb.dwb-a {- top: -3px;-}-/* +/- buttons */-.wp .dw .dwwl .dwb-a {- background: #1f1f1f;-}-.wp .dw .dwpm .dwwl {- border: 0;-}-.wp .dw .dwwb {- background: #1f1f1f;- border-radius: 0;- box-shadow: none;- box-sizing: border-box;- color: #a9a9a9;- -webkit-box-shadow: none;- -webkit-border-radius: 0;- -webkit-box-sizing: border-box;- -moz-box-sizing: border-box;-}-.wp .dwwb span {- position: absolute;- top: 50%;- left: 50%;- width: 26px;- height: 0;- padding-top: 26px;- overflow: hidden;- margin: -13px;- display: block;- background: url(wp_icons.png) center center no-repeat;-}-.wp .dwwbp span {- background-position: -78px 0;-}-.wp .dwwbp.dwb-a span {- background-position: -78px -26px;-}-.wp .dwwbm span {- background-position: -104px 0;-}-.wp .dwwbm.dwb-a span {- background-position: -104px -26px;-}-/* Bubble positioning */-.wp .dw-bubble-bottom .dw-arr {- border-color: transparent transparent #1f1f1f transparent;-}-.wp .dw-bubble-top .dw-arr {- border-color: #1f1f1f transparent transparent transparent;-}-/* Multiple select */-.wp .dwwms .dw-li {- opacity: .3;- filter: Alpha(Opacity=30);- padding: 0 0 0 30px;-}-.wp .dwwms .dw-v {- opacity: 1;- filter: Alpha(Opacity=100);-}-.wp .dwc .dwwms .dw-i,-.wp .dwc .dwwms .dw-sel .dw-i,-.wp .dwc .dwwms .dw-hl .dw-i,-.wp .dwc .dwwms.dwa .dw-sel .dw-i {- border: 0;- background: none;-}-.wp .dwwms .dw-li:after {- content: '';- position: absolute;- top: 50%;- left: 5px;- width: 20px;- height: 20px;- margin-top: -10px;- font-size: 18px;- line-height: 20px;- background: #4c4c4c;- color: #fff;-}-.wp .dwwms .dw-msel:after {- content: '✔';-}-/* Light version */-.wp.light .dw {- background: #dedede;-}-.wp.light .dwv,-.wp.light .dwl,-.wp.light .dwb {- color: #000;-}-.wp.light .dw-li {- color: #6b6b6b;-}-.wp.light .dw-i {- border-color: #b5b5b5;-}-.wp.light .dw-sel .dw-i {- background: #b5b5b5;-}-.wp.light .dw-hl .dw-i {- color: #fff;- background: #b5b5b5;-}-.wp.light .dw-day, .wp.light .dw-mon {- color: #6b6b6b;-}-.wp.light .dw-sel .dw-day, .wp.light .dw-sel .dw-mon {- color: #fff;-}-.wp.light .dw .dwa .dw-sel .dw-i {- color: #6b6b6b;- border: 1px solid #b5b5b5;- background-color: transparent;-}-.wp.light .dw .dwc .dwa .dw-day, .wp.light .dw .dwc .dwa .dw-mon {- color: #6b6b6b;-}-.wp.light .dwb:after {- background-image: url(wp_icons_light.png);-}-.wp.light .dw .dwwb {- background: #dedede;-}-.wp.light .dwwb span {- background-image: url(wp_icons_light.png);-}-/* Bubble positioning */-.wp.light .dw-bubble-bottom .dw-arr {- border-color: transparent transparent #dedede transparent;-}-.wp.light .dw-bubble-top .dw-arr {- border-color: #dedede transparent transparent transparent;-}-/* Multiple select */-.wp.light .dwc .dwwms .dw-i,-.wp.light .dwwms.dwa .dw-sel .dw-i {- border: 0;- background: none;- color: #000;-}-.wp.light .dwwms .dw-li:after {- background: #b5b5b5;-}-.wp.light .wp-none .dwwms .dw-li:after {- color: #000;-}-/* Accents */-.wp.light .wp-none .dw-sel .dw-i, .wp.light .wp-none .dw-hl .dw-i {- color: #000;-}-.wp.light .wp-none .dw-day, .wp.light .wp-none .dw-mon {- color: #6b6b6b;-}-.wp .wp-lime .dw-sel .dw-i, .wp .wp-lime .dw-hl .dw-i, .wp .wp-lime .dwwms .dw-li:after {- background: #a4c400;- border-color: #a4c400;-}-.wp .wp-green .dw-sel .dw-i, .wp .wp-green .dw-hl .dw-i, .wp .wp-green .dwwms .dw-li:after {- background: #60a917;- border-color: #60a917;-}-.wp .wp-emerald .dw-sel .dw-i, .wp .wp-emerald .dw-hl .dw-i, .wp .wp-emerald .dwwms .dw-li:after {- background: #008a00;- border-color: #008a00;-}-.wp .wp-teal .dw-sel .dw-i, .wp .wp-teal .dw-hl .dw-i, .wp .wp-teal .dwwms .dw-li:after {- background: #00aba9;- border-color: #00aba9;-}-.wp .wp-cyan .dw-sel .dw-i, .wp .wp-cyan .dw-hl .dw-i, .wp .wp-cyan .dwwms .dw-li:after {- background: #1ba1e2;- border-color: #1ba1e2;-}-.wp .wp-cobalt .dw-sel .dw-i, .wp .wp-cobalt .dw-hl .dw-i, .wp .wp-cobalt .dwwms .dw-li:after {- background: #0050ef;- border-color: #0050ef;-}-.wp .wp-indigo .dw-sel .dw-i, .wp .wp-indigo .dw-hl .dw-i, .wp .wp-indigo .dwwms .dw-li:after {- background: #6a00ff;- border-color: #6a00ff;-}-.wp .wp-violet .dw-sel .dw-i, .wp .wp-violet .dw-hl .dw-i, .wp .wp-violet .dwwms .dw-li:after {- background: #aa00ff;- border-color: #aa00ff;-}-.wp .wp-pink .dw-sel .dw-i, .wp .wp-pink .dw-hl .dw-i, .wp .wp-pink .dwwms .dw-li:after {- background: #f472d0;- border-color: #f472d0;-}-.wp .wp-magenta .dw-sel .dw-i, .wp .wp-magenta .dw-hl .dw-i, .wp .wp-magenta .dwwms .dw-li:after {- background: #d80073;- border-color: #d80073;-}-.wp .wp-crimson .dw-sel .dw-i, .wp .wp-crimson .dw-hl .dw-i, .wp .wp-crimson .dwwms .dw-li:after {- background: #a20025;- border-color: #a20025;-}-.wp .wp-red .dw-sel .dw-i, .wp .wp-red .dw-hl .dw-i, .wp .wp-red .dwwms .dw-li:after {- background: #e51400;- border-color: #e51400;-}-.wp .wp-orange .dw-sel .dw-i, .wp .wp-orange .dw-hl .dw-i, .wp .wp-orange .dwwms .dw-li:after {- background: #fa6800;- border-color: #fa6800;-}-.wp .wp-amber .dw-sel .dw-i, .wp .wp-amber .dw-hl .dw-i, .wp .wp-amber .dwwms .dw-li:after {- background: #f0a30a;- border-color: #f0a30a;-}-.wp .wp-yellow .dw-sel .dw-i, .wp .wp-yellow .dw-hl .dw-i, .wp .wp-yellow .dwwms .dw-li:after {- background: #d8c100;- border-color: #d8c100;-}-.wp .wp-brown .dw-sel .dw-i, .wp .wp-brown .dw-hl .dw-i, .wp .wp-brown .dwwms .dw-li:after {- background: #825a2c;- border-color: #825a2c;-}-.wp .wp-olive .dw-sel .dw-i, .wp .wp-olive .dw-hl .dw-i, .wp .wp-olive .dwwms .dw-li:after {- background: #6d8764;- border-color: #6d8764;-}-.wp .wp-steel .dw-sel .dw-i, .wp .wp-steel .dw-hl .dw-i, .wp .wp-steel .dwwms .dw-li:after {- background: #647687;- border-color: #647687;-}-.wp .wp-mauve .dw-sel .dw-i, .wp .wp-mauve .dw-hl .dw-i, .wp .wp-mauve .dwwms .dw-li:after {- background: #76608a;- border-color: #76608a;-}-.wp .wp-sienna .dw-sel .dw-i, .wp .wp-sienna .dw-hl .dw-i, .wp .wp-sienna .dwwms .dw-li:after {- background: #7a3b3f;- border-color: #7a3b3f;-}--.dw-trans .dw-persp {- overflow: hidden;- perspective: 1000px;- -webkit-perspective: 1000px;- -moz-perspective: 1000px;-}-.dw-trans .dwwb,-.dw-trans .dwwo {- -webkit-backface-visibility: hidden;-}-.dw-in,-.dw-out {- animation-duration: 350ms;- -webkit-animation-duration: 350ms;- -moz-animation-duration: 350ms;-}-.dw-in {- animation-timing-function: ease-out;- -webkit-animation-timing-function: ease-out;- -moz-animation-timing-function: ease-out;-}-.dw-out {- animation-timing-function: ease-in;- -webkit-animation-timing-function: ease-in;- -moz-animation-timing-function: ease-in;-}-.dw-flip,-.dw-swing,-.dw-slidehorizontal,-.dw-slidevertical,-.dw-slidedown,-.dw-slideup,-.dw-fade {- backface-visibility: hidden;- transform: translateX(0);- -webkit-backface-visibility: hidden;- -webkit-transform: translateX(0);- -moz-backface-visibility: hidden;- -moz-transform: translateX(0);-}-.dw-swing,-.dw-slidehorizontal,-.dw-slidevertical,-.dw-slidedown,-.dw-slideup,-.dw-fade {- transform-origin: 0 0;- -webkit-transform-origin: 0 0;- -moz-transform-origin: 0 0;-}-.dw-flip,-.dw-pop {- transform-origin: 50% 50%;- -webkit-transform-origin: 50% 50%;- -moz-transform-origin: 50% 50%;-}-.dw-pop.dw-in {- opacity: 1;- transform: scale(1);- animation-name: dw-p-in;- -webkit-animation-name: dw-p-in;- -webkit-transform: scale(1);- -moz-animation-name: dw-p-in;- -moz-transform: scale(1);-}-.dw-pop.dw-out {- opacity: 0;- animation-name: dw-p-out;- -webkit-animation-name: dw-p-out;- -moz-animation-name: dw-p-out;-}-.dw-flip.dw-in {- opacity: 1;- transform: scale(1);- animation-name: dw-fl-in;- -webkit-animation-name: dw-fl-in;- -webkit-transform: scale(1);- -moz-animation-name: dw-fl-in;- -moz-transform: scale(1);-}-.dw-flip.dw-out {- opacity: 0;- animation-name: dw-fl-out;- -webkit-animation-name: dw-fl-out;- -moz-animation-name: dw-fl-out;-}-.dw-swing.dw-in {- opacity: 1;- transform: scale(1);- animation-name: dw-sw-in;- -webkit-animation-name: dw-sw-in;- -webkit-transform: scale(1);- -moz-animation-name: dw-sw-in;- -moz-transform: scale(1);-}-.dw-swing.dw-out {- opacity: 0;- animation-name: dw-sw-out;- -webkit-animation-name: dw-sw-out;- -moz-animation-name: dw-sw-out;-}-.dw-slidehorizontal.dw-in {- opacity: 1;- transform: scale(1);- animation-name: dw-sh-in;- -webkit-animation-name: dw-sh-in;- -webkit-transform: scale(1);- -moz-animation-name: dw-sh-in;- -moz-transform: scale(1);-}-.dw-slidehorizontal.dw-out {- opacity: 0;- animation-name: dw-sh-out;- -webkit-animation-name: dw-sh-out;- -moz-animation-name: dw-sh-out;-}-.dw-slidevertical.dw-in {- opacity: 1;- animation-name: dw-dw-sv-in;- transform: scale(1);- -webkit-animation-name: dw-dw-sv-in;- -webkit-transform: scale(1);- -moz-animation-name: dw-dw-sv-in;- -moz-transform: scale(1);-}-.dw-slidevertical.dw-out {- opacity: 0;- animation-name: dw-sv-out;- -webkit-animation-name: dw-sv-out;- -moz-animation-name: dw-sv-out;-}-.dw-slidedown.dw-in {- animation-name: dw-sd-in;- transform: scale(1);- -webkit-animation-name: dw-sd-in;- -webkit-transform: scale(1);- -moz-animation-name: dw-sd-in;- -moz-transform: scale(1);-}-.dw-slidedown.dw-out {- animation-name: dw-sd-out;- -webkit-animation-name: dw-sd-out;- -moz-animation-name: dw-sd-out;-}-.dw-slideup.dw-in {- transform: scale(1);- animation-name: dw-su-in;- -webkit-animation-name: dw-su-in;- -webkit-transform: scale(1);- -moz-animation-name: dw-su-in;- -moz-transform: scale(1);-}-.dw-slideup.dw-out {- animation-name: dw-su-out;- -webkit-animation-name: dw-su-out;- -moz-animation-name: dw-su-out;-}-.dw-fade.dw-in {- opacity: 1;- animation-name: dw-f-in;- -webkit-animation-name: dw-f-in;- -moz-animation-name: dw-f-in;-}-.dw-fade.dw-out {- opacity: 0;- animation-name: dw-f-out;- -webkit-animation-name: dw-f-out;- -moz-animation-name: dw-f-out;-}-/* Fade in */-@keyframes dw-f-in {- from {- opacity: 0;- }- to {- opacity: 1;- }-}-@-webkit-keyframes dw-f-in {- from {- opacity: 0;- }- to {- opacity: 1;- }-}-@-moz-keyframes dw-f-in {- from {- opacity: 0;- }- to {- opacity: 1;- }-}-/* Fade out */-@keyframes dw-f-out {- from {- opacity: 1;- }- to {- opacity: 0;- }-}-@-webkit-keyframes dw-f-out {- from {- opacity: 1;- }- to {- opacity: 0;- }-}-@-moz-keyframes dw-f-out {- from {- opacity: 1;- }- to {- opacity: 0;- }-}-/* Pop in */-@keyframes dw-p-in {- from {- opacity: 0;- transform: scale(0.8);- }- to {- opacity: 1;- transform: scale(1);- }-}-@-webkit-keyframes dw-p-in {- from {- opacity: 0;- -webkit-transform: scale(0.8);- }- to {- opacity: 1;- -webkit-transform: scale(1);- }-}-@-moz-keyframes dw-p-in {- from {- opacity: 0;- -moz-transform: scale(0.8);- }- to {- opacity: 1;- -moz-transform: scale(1);- }-}-/* Pop out */-@keyframes dw-p-out {- from {- opacity: 1;- transform: scale(1);- }- to {- opacity: 0;- transform: scale(0.8);- }-}-@-webkit-keyframes dw-p-out {- from {- opacity: 1;- -webkit-transform: scale(1);- }- to {- opacity: 0;- -webkit-transform: scale(0.8);- }-}-@-moz-keyframes dw-p-out {- from {- opacity: 1;- -moz-transform: scale(1);- }- to {- opacity: 0;- -moz-transform: scale(0.8);- }-}-/* Flip in */-@keyframes dw-fl-in {- from {- opacity: 0;- transform: rotateY(90deg);- }- to {- opacity: 1;- transform: rotateY(0);- }-}-@-webkit-keyframes dw-fl-in {- from {- opacity: 0;- -webkit-transform: rotateY(90deg);- }- to {- opacity: 1;- -webkit-transform: rotateY(0);- }-}-@-moz-keyframes dw-fl-in {- from {- opacity: 0;- -moz-transform: rotateY(90deg);- }- to {- opacity: 1;- -moz-transform: rotateY(0);- }-}-/* Flip out */-@keyframes dw-fl-out {- from {- opacity: 1;- transform: rotateY(0deg);- }- to {- opacity: 0;- transform: rotateY(-90deg);- }-}-@-webkit-keyframes dw-fl-out {- from {- opacity: 1;- -webkit-transform: rotateY(0deg);- }- to {- opacity: 0;- -webkit-transform: rotateY(-90deg);- }-}-@-moz-keyframes dw-fl-out {- from {- opacity: 1;- -moz-transform: rotateY(0deg);- }- to {- opacity: 0;- -moz-transform: rotateY(-90deg);- }-}-/* Swing in */-@keyframes dw-sw-in {- from {- opacity: 0;- transform: rotateY(-90deg);- }- to {- opacity: 1;- transform: rotateY(0deg);- }-}-@-webkit-keyframes dw-sw-in {- from {- opacity: 0;- -webkit-transform: rotateY(-90deg);- }- to {- opacity: 1;- -webkit-transform: rotateY(0deg);- }-}-@-moz-keyframes dw-sw-in {- from {- opacity: 0;- -moz-transform: rotateY(-90deg);- }- to {- opacity: 1;- -moz-transform: rotateY(0deg);- }-}-/* Swing out */-@keyframes dw-sw-out {- from {- opacity: 1;- transform: rotateY(0deg);- }- to {- opacity: 0;- transform: rotateY(-90deg);- }-}-@-webkit-keyframes dw-sw-out {- from {- opacity: 1;- -webkit-transform: rotateY(0deg);- }- to {- opacity: 0;- -webkit-transform: rotateY(-90deg);- }-}-@-moz-keyframes dw-sw-out {- from {- opacity: 1;- -moz-transform: rotateY(0deg);- }- to {- opacity: 0;- -moz-transform: rotateY(-90deg);- }-}-/* Slide horizontal in */-@keyframes dw-sh-in {- from {- opacity: 0;- transform: translateX(-100%);- }- to {- opacity: 1;- transform: translateX(0);- }-}-@-webkit-keyframes dw-sh-in {- from {- opacity: 0;- -webkit-transform: translateX(-100%);- }- to {- opacity: 1;- -webkit-transform: translateX(0);- }-}-@-moz-keyframes dw-sh-in {- from {- opacity: 0;- -moz-transform: translateX(-100%);- }- to {- opacity: 1;- -moz-transform: translateX(0);- }-}-/* Slide horizontal out */-@keyframes dw-sh-out {- from {- opacity: 1;- transform: translateX(0);- }- to {- opacity: 0;- transform: translateX(100%);- }-}-@-webkit-keyframes dw-sh-out {- from {- opacity: 1;- -webkit-transform: translateX(0);- }- to {- opacity: 0;- -webkit-transform: translateX(100%);- }-}-@-moz-keyframes dw-sh-out {- from {- opacity: 1;- -moz-transform: translateX(0);- }- to {- opacity: 0;- -moz-transform: translateX(100%);- }-}-/* Slide vertical in */-@keyframes dw-dw-sv-in {- from {- opacity: 0;- transform: translateY(-100%);- }- to {- opacity: 1;- transform: translateY(0);- }-}-@-webkit-keyframes dw-dw-sv-in {- from {- opacity: 0;- -webkit-transform: translateY(-100%);- }- to {- opacity: 1;- -webkit-transform: translateY(0);- }-}-@-moz-keyframes dw-dw-sv-in {- from {- opacity: 0;- -moz-transform: translateY(-100%);- }- to {- opacity: 1;- -moz-transform: translateY(0);- }-}-/* Slide vertical out */-@keyframes dw-sv-out {- from {- opacity: 1;- transform: translateY(0);- }- to {- opacity: 0;- transform: translateY(100%);- }-}-@-webkit-keyframes dw-sv-out {- from {- opacity: 1;- -webkit-transform: translateY(0);- }- to {- opacity: 0;- -webkit-transform: translateY(100%);- }-}-@-moz-keyframes dw-sv-out {- from {- opacity: 1;- -moz-transform: translateY(0);- }- to {- opacity: 0;- -moz-transform: translateY(100%);- }-}-/* Slide Down In */-@keyframes dw-sd-in {- from {- transform: translateY(-100%);- }- to {- transform: translateY(0);- }-}-@-webkit-keyframes dw-sd-in {- from {- opacity: 1;- -webkit-transform: translateY(-100%);- }- to {- opacity: 1;- -webkit-transform: translateY(0);- }-}-@-moz-keyframes dw-sd-in {- from {- -moz-transform: translateY(-100%);- }- to {- -moz-transform: translateY(0);- }-}-/* Slide down out */-@keyframes dw-sd-out {- from {- transform: translateY(0);- }- to {- transform: translateY(-100%);- }-}-@-webkit-keyframes dw-sd-out {- from {- opacity: 1;- -webkit-transform: translateY(0);- }- to {- opacity: 1;- -webkit-transform: translateY(-100%);- }-}-@-moz-keyframes dw-sd-out {- from {- -moz-transform: translateY(0);- }- to {- -moz-transform: translateY(-100%);- }-}-/* Slide Up In */-@keyframes dw-su-in {- from {- transform: translateY(100%);- }- to {- transform: translateY(0);- }-}-@-webkit-keyframes dw-su-in {- from {- opacity: 1;- -webkit-transform: translateY(100%);- }- to {- opacity: 1;- -webkit-transform: translateY(0);- }-}-@-moz-keyframes dw-su-in {- from {- -moz-transform: translateY(100%);- }- to {- -moz-transform: translateY(0);- }-}-/* Slide up out */-@keyframes dw-su-out {- from {- transform: translateY(0);- }- to {- transform: translateY(100%);- }-}-@-webkit-keyframes dw-su-out {- from {- opacity: 1;- -webkit-transform: translateY(0);- }- to {- opacity: 1;- -webkit-transform: translateY(100%);- }-}-@-moz-keyframes dw-su-out {- from {- -moz-transform: translateY(0);- }- to {- -moz-transform: translateY(100%);- }-}diff --git a/web/ext/date/mobiscroll-2.6.0/mobiscroll.js b/web/ext/date/mobiscroll-2.6.0/mobiscroll.jsdeleted file mode 100644index 02950e342..000000000--- a/web/ext/date/mobiscroll-2.6.0/mobiscroll.js+++ /dev/null@@ -1,2236 +0,0 @@-/*jslint eqeq: true, plusplus: true, undef: true, sloppy: true, vars: true, forin: true, nomen: true */-/*!- * jQuery MobiScroll v2.6.0- * http://mobiscroll.com- *- * Copyright 2010-2013, Acid Media- * Licensed under the MIT license.- *- */-(function ($) {-- function Scroller(elem, settings) {- var m,- hi,- v,- dw,- ww, // Window width- wh, // Window height- rwh,- mw, // Modal width- mh, // Modal height- anim,- debounce,- theme,- lang,- click,- scrollable,- moved,- start,- startTime,- stop,- p,- min,- max,- target,- index,- timer,- readOnly,- that = this,- ms = $.mobiscroll,- e = elem,- elm = $(e),- s = extend({}, defaults),- pres = {},- iv = {},- pos = {},- pixels = {},- wheels = [],- input = elm.is('input'),- visible = false,- onStart = function (e) {- // Scroll start- if (testTouch(e) && !move && !isReadOnly(this) && !click) {- // Prevent scroll- e.preventDefault();-- move = true;- scrollable = s.mode != 'clickpick';- target = $('.dw-ul', this);- setGlobals(target);- moved = iv[index] !== undefined; // Don't allow tap, if still moving- p = moved ? getCurrentPosition(target) : pos[index];- start = getCoord(e, 'Y');- startTime = new Date();- stop = start;- scroll(target, index, p, 0.001);-- if (scrollable) {- target.closest('.dwwl').addClass('dwa');- }-- $(document).bind(MOVE_EVENT, onMove).bind(END_EVENT, onEnd);- }- },- onMove = function (e) {- if (scrollable) {- e.preventDefault();- e.stopPropagation();- stop = getCoord(e, 'Y');- scroll(target, index, constrain(p + (start - stop) / hi, min - 1, max + 1));- }- moved = true;- },- onEnd = function (e) {- var time = new Date() - startTime,- val = constrain(p + (start - stop) / hi, min - 1, max + 1),- speed,- dist,- tindex,- ttop = target.offset().top;-- if (time < 300) {- speed = (stop - start) / time;- dist = (speed * speed) / s.speedUnit;- if (stop - start < 0) {- dist = -dist;- }- } else {- dist = stop - start;- }-- tindex = Math.round(p - dist / hi);-- if (!dist && !moved) { // this is a "tap"- var idx = Math.floor((stop - ttop) / hi),- li = $('.dw-li', target).eq(idx),- hl = scrollable;-- if (event('onValueTap', [li]) !== false) {- tindex = idx;- } else {- hl = true;- }-- if (hl) {- li.addClass('dw-hl'); // Highlight- setTimeout(function () {- li.removeClass('dw-hl');- }, 200);- }- }-- if (scrollable) {- calc(target, tindex, 0, true, Math.round(val));- }-- move = false;- target = null;-- $(document).unbind(MOVE_EVENT, onMove).unbind(END_EVENT, onEnd);- },- onBtnStart = function (e) {- $(document).bind(END_EVENT, onBtnEnd);- // Active button- if (!$(this).hasClass('dwb-d')) {- $(this).addClass('dwb-a');- }- // +/- buttons- if ($(this).hasClass('dwwb')) {- var w = $(this).closest('.dwwl');- if (testTouch(e) && !isReadOnly(w) && !w.hasClass('dwa')) {- e.stopPropagation();- e.preventDefault();- click = true;- // + Button- var t = w.find('.dw-ul'),- func = $(this).hasClass('dwwbp') ? plus : minus;-- setGlobals(t);- clearInterval(timer);- timer = setInterval(function () { func(t); }, s.delay);- func(t);- }- }- },- onBtnEnd = function (e) {- if (click) {- clearInterval(timer);- click = false;- }- $(document).unbind(END_EVENT, onBtnEnd);- $('.dwb-a', dw).removeClass('dwb-a');- },- onScroll = function (e) {- if (!isReadOnly(this)) {- e.preventDefault();- e = e.originalEvent;- var delta = e.wheelDelta ? (e.wheelDelta / 120) : (e.detail ? (-e.detail / 3) : 0),- t = $('.dw-ul', this);-- setGlobals(t);- calc(t, Math.round(pos[index] - delta), delta < 0 ? 1 : 2);- }- };-- // Private functions-- function isReadOnly(wh) {- if ($.isArray(s.readonly)) {- var i = $('.dwwl', dw).index(wh);- return s.readonly[i];- }- return s.readonly;- }-- function generateWheelItems(i) {- var html = '<div class="dw-bf">',- ww = wheels[i],- w = ww.values ? ww : convert(ww),- l = 1,- values = w.values,- keys = w.keys || values;-- $.each(values, function (j, v) {- if (l % 20 == 0) {- html += '</div><div class="dw-bf">';- }- html += '<div class="dw-li dw-v" data-val="' + keys[j] + '" style="height:' + hi + 'px;line-height:' + hi + 'px;"><div class="dw-i">' + v + '</div></div>';- l++;- });-- html += '</div>';- return html;- }-- function setGlobals(t) {- min = $('.dw-li', t).index($('.dw-v', t).eq(0));- max = $('.dw-li', t).index($('.dw-v', t).eq(-1));- index = $('.dw-ul', dw).index(t);- }-- function formatHeader(v) {- var t = s.headerText;- return t ? (typeof t === 'function' ? t.call(e, v) : t.replace(/\{value\}/i, v)) : '';- }-- function read() {- that.temp = ((input && that.val !== null && that.val != elm.val()) || that.values === null) ? s.parseValue(elm.val() || '', that) : that.values.slice(0);- setVal();- }-- function getCurrentPosition(t) {- var style = window.getComputedStyle ? getComputedStyle(t[0]) : t[0].style,- matrix,- px;-- if (has3d) {- $.each(['t', 'webkitT', 'MozT', 'OT', 'msT'], function (i, v) {- if (style[v + 'ransform'] !== undefined) {- matrix = style[v + 'ransform'];- return false;- }- });- matrix = matrix.split(')')[0].split(', ');- px = matrix[13] || matrix[5];- } else {- px = style.top.replace('px', '');- }-- return Math.round(m - (px / hi));- }-- function ready(t, i) {- clearTimeout(iv[i]);- delete iv[i];- t.closest('.dwwl').removeClass('dwa');- }-- function scroll(t, index, val, time, active) {-- var px = (m - val) * hi,- style = t[0].style,- i;-- if (px == pixels[index] && iv[index]) {- return;- }-- if (time && px != pixels[index]) {- // Trigger animation start event- event('onAnimStart', [dw, index, time]);- }-- pixels[index] = px;-- style[pr + 'Transition'] = 'all ' + (time ? time.toFixed(3) : 0) + 's ease-out';-- if (has3d) {- style[pr + 'Transform'] = 'translate3d(0,' + px + 'px,0)';- } else {- style.top = px + 'px';- }-- if (iv[index]) {- ready(t, index);- }-- if (time && active !== undefined) {- t.closest('.dwwl').addClass('dwa');- iv[index] = setTimeout(function () {- ready(t, index);- }, time * 1000);- }-- pos[index] = val;- }-- function scrollToPos(time, index, manual, dir, active) {-- // Call validation event- if (event('validate', [dw, index, time]) !== false) {-- // Set scrollers to position- $('.dw-ul', dw).each(function (i) {- var t = $(this),- cell = $('.dw-li[data-val="' + that.temp[i] + '"]', t),- cells = $('.dw-li', t),- v = cells.index(cell),- l = cells.length,- sc = i == index || index === undefined;-- // Scroll to a valid cell- if (!cell.hasClass('dw-v')) {- var cell1 = cell,- cell2 = cell,- dist1 = 0,- dist2 = 0;-- while (v - dist1 >= 0 && !cell1.hasClass('dw-v')) {- dist1++;- cell1 = cells.eq(v - dist1);- }-- while (v + dist2 < l && !cell2.hasClass('dw-v')) {- dist2++;- cell2 = cells.eq(v + dist2);- }-- // If we have direction (+/- or mouse wheel), the distance does not count- if (((dist2 < dist1 && dist2 && dir !== 2) || !dist1 || (v - dist1 < 0) || dir == 1) && cell2.hasClass('dw-v')) {- cell = cell2;- v = v + dist2;- } else {- cell = cell1;- v = v - dist1;- }- }-- if (!(cell.hasClass('dw-sel')) || sc) {- // Set valid value- that.temp[i] = cell.attr('data-val');-- // Add selected class to cell- $('.dw-sel', t).removeClass('dw-sel');- cell.addClass('dw-sel');-- // Scroll to position- scroll(t, i, v, sc ? time : 0.1, sc ? active : false);- }- });-- // Reformat value if validation changed something- v = s.formatResult(that.temp);- if (s.display == 'inline') {- setVal(manual, 0, true);- } else {- $('.dwv', dw).html(formatHeader(v));- }-- if (manual) {- event('onChange', [v]);- }- }-- }-- function event(name, args) {- var ret;- args.push(that);- $.each([theme.defaults, pres, settings], function (i, v) {- if (v[name]) { // Call preset event- ret = v[name].apply(e, args);- }- });- return ret;- }-- function calc(t, val, dir, anim, orig) {- val = constrain(val, min, max);-- var cell = $('.dw-li', t).eq(val),- o = orig === undefined ? val : orig,- idx = index,- time = anim ? (val == o ? 0.1 : Math.abs((val - o) * s.timeUnit)) : 0;-- // Set selected scroller value- that.temp[idx] = cell.attr('data-val');-- scroll(t, idx, val, time, orig);-- setTimeout(function () {- // Validate- scrollToPos(time, idx, true, dir, orig);- }, 10);- }-- function plus(t) {- var val = pos[index] + 1;- calc(t, val > max ? min : val, 1, true);- }-- function minus(t) {- var val = pos[index] - 1;- calc(t, val < min ? max : val, 2, true);- }-- function setVal(fill, time, noscroll, temp) {-- if (visible && !noscroll) {- scrollToPos(time);- }-- v = s.formatResult(that.temp);-- if (!temp) {- that.values = that.temp.slice(0);- that.val = v;- }-- if (fill) {- if (input) {- elm.val(v).trigger('change');- }- }- }-- // Public functions-- that.position = function (check) {-- if (s.display == 'inline' || (ww === $(window).width() && rwh === $(window).height() && check) || (event('onPosition', [dw]) === false)) {- return;- }-- var w,- l,- t,- aw, // anchor width- ah, // anchor height- ap, // anchor position- at, // anchor top- al, // anchor left- arr, // arrow- arrw, // arrow width- arrl, // arrow left- scroll,- totalw = 0,- minw = 0,- st = $(window).scrollTop(),- wr = $('.dwwr', dw),- d = $('.dw', dw),- css = {},- anchor = s.anchor === undefined ? elm : s.anchor;-- ww = $(window).width();- rwh = $(window).height();- wh = window.innerHeight; // on iOS we need innerHeight- wh = wh || rwh;-- if (/modal|bubble/.test(s.display)) {- $('.dwc', dw).each(function () {- w = $(this).outerWidth(true);- totalw += w;- minw = (w > minw) ? w : minw;- });- w = totalw > ww ? minw : totalw;- wr.width(w).css('white-space', totalw > ww ? '' : 'nowrap');- }-- mw = d.outerWidth();- mh = d.outerHeight(true);-- if (s.display == 'modal') {- l = (ww - mw) / 2;- t = st + (wh - mh) / 2;- } else if (s.display == 'bubble') {- scroll = true;- arr = $('.dw-arrw-i', dw);- ap = anchor.offset();- at = ap.top;- al = ap.left;-- // horizontal positioning- aw = anchor.outerWidth();- ah = anchor.outerHeight();- l = al - (d.outerWidth(true) - aw) / 2;- l = l > (ww - mw) ? (ww - (mw + 20)) : l;- l = l >= 0 ? l : 20;-- // vertical positioning- t = at - mh; // above the input- if ((t < st) || (at > st + wh)) { // if doesn't fit above or the input is out of the screen- d.removeClass('dw-bubble-top').addClass('dw-bubble-bottom');- t = at + ah; // below the input- } else {- d.removeClass('dw-bubble-bottom').addClass('dw-bubble-top');- }-- // Calculate Arrow position- arrw = arr.outerWidth();- arrl = al + aw / 2 - (l + (mw - arrw) / 2);-- // Limit Arrow position- $('.dw-arr', dw).css({ left: constrain(arrl, 0, arrw) });- } else {- css.width = '100%';- if (s.display == 'top') {- t = st;- } else if (s.display == 'bottom') {- t = st + wh - mh;- }- }-- css.top = t < 0 ? 0 : t;- css.left = l;- d.css(css);-- // If top + modal height > doc height, increase doc height- $('.dw-persp', dw).height(0).height(t + mh > $(document).height() ? t + mh : $(document).height());-- // Scroll needed- if (scroll && ((t + mh > st + wh) || (at > st + wh))) {- $(window).scrollTop(t + mh - wh);- }- };-- /**- * Enables the scroller and the associated input.- */- that.enable = function () {- s.disabled = false;- if (input) {- elm.prop('disabled', false);- }- };-- /**- * Disables the scroller and the associated input.- */- that.disable = function () {- s.disabled = true;- if (input) {- elm.prop('disabled', true);- }- };-- /**- * Gets the selected wheel values, formats it, and set the value of the scroller instance.- * If input parameter is true, populates the associated input element.- * @param {Array} values - Wheel values.- * @param {Boolean} [fill=false] - Also set the value of the associated input element.- * @param {Number} [time=0] - Animation time- * @param {Boolean} [temp=false] - If true, then only set the temporary value.(only scroll there but not set the value)- */- that.setValue = function (values, fill, time, temp) {- that.temp = $.isArray(values) ? values.slice(0) : s.parseValue.call(e, values + '', that);- setVal(fill, time, false, temp);- };-- that.getValue = function () {- return that.values;- };-- that.getValues = function () {- var ret = [],- i;-- for (i in that._selectedValues) {- ret.push(that._selectedValues[i]);- }- return ret;- };-- /**- * Changes the values of a wheel, and scrolls to the correct position- */- that.changeWheel = function (idx, time) {- if (dw) {- var i = 0,- nr = idx.length;-- $.each(s.wheels, function (j, wg) {- $.each(wg, function (k, w) {- if ($.inArray(i, idx) > -1) {- wheels[i] = w;- $('.dw-ul', dw).eq(i).html(generateWheelItems(i));- nr--;- if (!nr) {- that.position();- scrollToPos(time, undefined, true);- return false;- }- }- i++;- });- if (!nr) {- return false;- }- });- }- };-- /**- * Return true if the scroller is currently visible.- */- that.isVisible = function () {- return visible;- };-- that.tap = function (el, handler) {- var startX,- startY;-- if (s.tap) {- el.bind('touchstart', function (e) {- e.preventDefault();- startX = getCoord(e, 'X');- startY = getCoord(e, 'Y');- }).bind('touchend', function (e) {- // If movement is less than 20px, fire the click event handler- if (Math.abs(getCoord(e, 'X') - startX) < 20 && Math.abs(getCoord(e, 'Y') - startY) < 20) {- handler.call(this, e);- }- tap = true;- setTimeout(function () {- tap = false;- }, 300);- });- }-- el.bind('click', function (e) {- if (!tap) {- // If handler was not called on touchend, call it on click;- handler.call(this, e);- }- });-- };-- /**- * Shows the scroller instance.- * @param {Boolean} prevAnim - Prevent animation if true- */- that.show = function (prevAnim) {- if (s.disabled || visible) {- return false;- }-- if (s.display == 'top') {- anim = 'slidedown';- }-- if (s.display == 'bottom') {- anim = 'slideup';- }-- // Parse value from input- read();-- event('onBeforeShow', []);-- // Create wheels- var l = 0,- mAnim = '';-- if (anim && !prevAnim) {- mAnim = 'dw-' + anim + ' dw-in';- }- // Create wheels containers- var html = '<div class="' + s.theme + ' dw-' + s.display + (prefix ? ' dw' + prefix : '') + '">' + (s.display == 'inline' ? '<div class="dw dwbg dwi"><div class="dwwr">' : '<div class="dw-persp">' + '<div class="dwo"></div><div class="dw dwbg ' + mAnim + '"><div class="dw-arrw"><div class="dw-arrw-i"><div class="dw-arr"></div></div></div><div class="dwwr">' + (s.headerText ? '<div class="dwv"></div>' : '')) + '<div class="dwcc">';-- $.each(s.wheels, function (i, wg) { // Wheel groups- html += '<div class="dwc' + (s.mode != 'scroller' ? ' dwpm' : ' dwsc') + (s.showLabel ? '' : ' dwhl') + '"><div class="dwwc dwrc"><table cellpadding="0" cellspacing="0"><tr>';- $.each(wg, function (j, w) { // Wheels- wheels[l] = w;- html += '<td><div class="dwwl dwrc dwwl' + l + '">' + (s.mode != 'scroller' ? '<div class="dwb-e dwwb dwwbp" style="height:' + hi + 'px;line-height:' + hi + 'px;"><span>+</span></div><div class="dwb-e dwwb dwwbm" style="height:' + hi + 'px;line-height:' + hi + 'px;"><span>–</span></div>' : '') + '<div class="dwl">' + (w.label || j) + '</div><div class="dwww"><div class="dww" style="height:' + (s.rows * hi) + 'px;min-width:' + s.width + 'px;"><div class="dw-ul">';- // Create wheel values- html += generateWheelItems(l);- html += '</div><div class="dwwol"></div></div><div class="dwwo"></div></div><div class="dwwol"></div></div></td>';- l++;- });-- html += '</tr></table></div></div>';- });-- html += '</div>' + (s.display != 'inline' ? '<div class="dwbc' + (s.button3 ? ' dwbc-p' : '') + '"><span class="dwbw dwb-s"><span class="dwb dwb-e">' + s.setText + '</span></span>' + (s.button3 ? '<span class="dwbw dwb-n"><span class="dwb dwb-e">' + s.button3Text + '</span></span>' : '') + '<span class="dwbw dwb-c"><span class="dwb dwb-e">' + s.cancelText + '</span></span></div></div>' : '') + '</div></div></div>';- dw = $(html);-- scrollToPos();-- event('onMarkupReady', [dw]);-- // Show- if (s.display != 'inline') {- dw.appendTo('body');- if (anim && !prevAnim) {- dw.addClass('dw-trans');- // Remove animation class- setTimeout(function () {- dw.removeClass('dw-trans').find('.dw').removeClass(mAnim);- }, 350);- }- } else if (elm.is('div')) {- elm.html(dw);- } else {- dw.insertAfter(elm);- }-- event('onMarkupInserted', [dw]);-- visible = true;-- // Theme init- theme.init(dw, that);-- if (s.display != 'inline') {- // Init buttons- that.tap($('.dwb-s span', dw), function () {- if (that.hide(false, 'set') !== false) {- setVal(true, 0, true);- event('onSelect', [that.val]);- }- });-- that.tap($('.dwb-c span', dw), function () {- that.cancel();- });-- if (s.button3) {- that.tap($('.dwb-n span', dw), s.button3);- }-- // prevent scrolling if not specified otherwise- if (s.scrollLock) {- dw.bind('touchmove', function (e) {- if (mh <= wh && mw <= ww) {- e.preventDefault();- }- });- }-- // Disable inputs to prevent bleed through (Android bug) and set autocomplete to off (for Firefox)- /*$('input,select,button').each(function () {- if (!this.disabled) {- $(this).addClass('dwtd').prop('disabled', true).data('autocomplete', $(this).attr('autocomplete')).attr('autocomplete', 'off');- }- });*/-- // Set position- that.position();- $(window).bind('orientationchange.dw resize.dw', function () {- // Sometimes scrollTop is not correctly set, so we wait a little- clearTimeout(debounce);- debounce = setTimeout(function () {- that.position(true);- }, 100);- });- }-- // Events- dw.delegate('.dwwl', 'DOMMouseScroll mousewheel', onScroll).delegate('.dwb-e', START_EVENT, onBtnStart).delegate('.dwwl', START_EVENT, onStart);-- event('onShow', [dw, v]);- };-- /**- * Hides the scroller instance.- */- that.hide = function (prevAnim, btn) {- // If onClose handler returns false, prevent hide- if (!visible || event('onClose', [v, btn]) === false) {- return false;- }-- // Re-enable temporary disabled fields- $('.dwtd').each(function () {- $(this).prop('disabled', false).removeClass('dwtd');- if ($(this).data('autocomplete')) {- $(this).attr('autocomplete', $(this).data('autocomplete'));- } else {- $(this).removeAttr('autocomplete');- }- });- elm.blur();-- // Hide wheels and overlay- if (dw) {- if (s.display != 'inline' && anim && !prevAnim) {- dw.addClass('dw-trans').find('.dw').addClass('dw-' + anim + ' dw-out');- setTimeout(function () {- dw.remove();- dw = null;- }, 350);- } else {- dw.remove();- dw = null;- }- visible = false;- pixels = {};- // Stop positioning on window resize- $(window).unbind('.dw');- }- };-- /**- * Cancel and hide the scroller instance.- */- that.cancel = function () {- if (that.hide(false, 'cancel') !== false) {- event('onCancel', [that.val]);- }- };-- /**- * Scroller initialization.- */- that.init = function (ss) {- // Get theme defaults- theme = extend({ defaults: {}, init: empty }, ms.themes[ss.theme || s.theme]);-- // Get language defaults- lang = ms.i18n[ss.lang || s.lang];-- extend(settings, ss); // Update original user settings- extend(s, theme.defaults, lang, settings);-- that.settings = s;-- // Unbind all events (if re-init)- elm.unbind('.dw');-- var preset = ms.presets[s.preset];-- if (preset) {- pres = preset.call(e, that);- extend(s, pres, settings); // Load preset settings- }-- // Set private members- m = Math.floor(s.rows / 2);- hi = s.height;- anim = s.animate;-- if (visible) {- that.hide();- }-- if (s.display == 'inline') {- that.show();- } else {- read();- if (input && s.showOnFocus) {- // Set element readonly, save original state- if (readOnly === undefined) {- readOnly = e.readOnly;- }- e.readOnly = true;- // Init show datewheel- elm.bind('focus.dw', function () { that.show(); });- }- }- };-- that.trigger = function (name, params) {- return event(name, params);- };-- that.option = function (opt, value) {- var obj = {};- if (typeof opt === 'object') {- obj = opt;- } else {- obj[opt] = value;- }- that.init(obj);- };-- that.destroy = function () {- that.hide();- elm.unbind('.dw');- delete scrollers[e.id];- if (input) {- e.readOnly = readOnly;- }- };-- that.getInst = function () {- return that;- };-- that.values = null;- that.val = null;- that.temp = null;- that._selectedValues = {};-- that.init(settings);- }-- function testProps(props) {- var i;- for (i in props) {- if (mod[props[i]] !== undefined) {- return true;- }- }- return false;- }-- function testPrefix() {- var prefixes = ['Webkit', 'Moz', 'O', 'ms'],- p;-- for (p in prefixes) {- if (testProps([prefixes[p] + 'Transform'])) {- return '-' + prefixes[p].toLowerCase();- }- }- return '';- }-- function testTouch(e) {- if (e.type === 'touchstart') {- touch = true;- /*setTimeout(function () {- touch = false; // Reset if mouse event was not fired- }, 500);*/- } else if (touch) {- touch = false;- return false;- }- return true;- }-- function getCoord(e, c) {- var org = e.originalEvent,- ct = e.changedTouches;- return ct || (org && org.changedTouches) ? (org ? org.changedTouches[0]['page' + c] : ct[0]['page' + c]) : e['page' + c];-- }-- function constrain(val, min, max) {- return Math.max(min, Math.min(val, max));- }-- function convert(w) {- var ret = {- values: [],- keys: []- };- $.each(w, function (k, v) {- ret.keys.push(k);- ret.values.push(v);- });- return ret;- }-- function init(that, options, args) {- var ret = that;-- // Init- if (typeof options === 'object') {- return that.each(function () {- if (!this.id) {- uuid += 1;- this.id = 'mobiscroll' + uuid;- }- scrollers[this.id] = new Scroller(this, options);- });- }-- // Method call- if (typeof options === 'string') {- that.each(function () {- var r,- inst = scrollers[this.id];-- if (inst && inst[options]) {- r = inst[options].apply(this, Array.prototype.slice.call(args, 1));- if (r !== undefined) {- ret = r;- return false;- }- }- });- }-- return ret;- }-- var move,- tap,- touch,- date = new Date(),- uuid = date.getTime(),- scrollers = {},- empty = function () {},- mod = document.createElement('modernizr').style,- has3d = testProps(['perspectiveProperty', 'WebkitPerspective', 'MozPerspective', 'OPerspective', 'msPerspective']),- prefix = testPrefix(),- pr = prefix.replace(/^\-/, '').replace('moz', 'Moz'),- extend = $.extend,- START_EVENT = 'touchstart mousedown',- MOVE_EVENT = 'touchmove mousemove',- END_EVENT = 'touchend mouseup',- defaults = {- // Options- width: 70,- height: 40,- rows: 3,- delay: 300,- disabled: false,- readonly: false,- showOnFocus: true,- showLabel: true,- wheels: [],- theme: '',- headerText: '{value}',- display: 'modal',- mode: 'scroller',- preset: '',- lang: 'en-US',- setText: 'Set',- cancelText: 'Cancel',- scrollLock: true,- tap: true,- speedUnit: 0.0012,- timeUnit: 0.1,- formatResult: function (d) {- return d.join(' ');- },- parseValue: function (value, inst) {- var val = value.split(' '),- ret = [],- i = 0,- keys;-- $.each(inst.settings.wheels, function (j, wg) {- $.each(wg, function (k, w) {- w = w.values ? w : convert(w);- keys = w.keys || w.values;- if ($.inArray(val[i], keys) !== -1) {- ret.push(val[i]);- } else {- ret.push(keys[0]);- }- i++;- });- });- return ret;- }- };-- $(document).bind('mouseover mouseup mousedown click', function (e) { // Prevent standard behaviour on body click- if (tap) {- e.stopPropagation();- e.preventDefault();- return false;- }- });-- $.fn.mobiscroll = function (method) {- extend(this, $.mobiscroll.shorts);- return init(this, method, arguments);- };-- $.mobiscroll = $.mobiscroll || {- /**- * Set settings for all instances.- * @param {Object} o - New default settings.- */- setDefaults: function (o) {- extend(defaults, o);- },- presetShort: function (name) {- this.shorts[name] = function (method) {- return init(this, extend(method, { preset: name }), arguments);- };- },- shorts: {},- presets: {},- themes: {},- i18n: {}- };-- $.scroller = $.scroller || $.mobiscroll;- $.fn.scroller = $.fn.scroller || $.fn.mobiscroll;--})(jQuery);--/*jslint eqeq: true, plusplus: true, undef: true, sloppy: true, vars: true, forin: true */-(function ($) {-- var ms = $.mobiscroll,- date = new Date(),- defaults = {- dateFormat: 'mm/dd/yy',- dateOrder: 'mmddy',- timeWheels: 'hhiiA',- timeFormat: 'hh:ii A',- startYear: date.getFullYear() - 100,- endYear: date.getFullYear() + 1,- 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'],- shortYearCutoff: '+10',- monthText: 'Month',- dayText: 'Day',- yearText: 'Year',- hourText: 'Hours',- minuteText: 'Minutes',- secText: 'Seconds',- ampmText: ' ',- nowText: 'Now',- showNow: false,- stepHour: 1,- stepMinute: 1,- stepSecond: 1,- separator: ' '- },- preset = function (inst) {- var that = $(this),- html5def = {},- format;- // Force format for html5 date inputs (experimental)- if (that.is('input')) {- switch (that.attr('type')) {- case 'date':- format = 'yy-mm-dd';- break;- case 'datetime':- format = 'yy-mm-ddTHH:ii:ssZ';- break;- case 'datetime-local':- format = 'yy-mm-ddTHH:ii:ss';- break;- case 'month':- format = 'yy-mm';- html5def.dateOrder = 'mmyy';- break;- case 'time':- format = 'HH:ii:ss';- break;- }- // Check for min/max attributes- var min = that.attr('min'),- max = that.attr('max');- if (min) {- html5def.minDate = ms.parseDate(format, min);- }- if (max) {- html5def.maxDate = ms.parseDate(format, max);- }- }-- // Set year-month-day order- var i,- k,- keys,- values,- wg,- start,- end,- orig = $.extend({}, inst.settings),- s = $.extend(inst.settings, defaults, html5def, orig),- offset = 0,- wheels = [],- ord = [],- o = {},- f = { y: 'getFullYear', m: 'getMonth', d: 'getDate', h: getHour, i: getMinute, s: getSecond, a: getAmPm },- p = s.preset,- dord = s.dateOrder,- tord = s.timeWheels,- regen = dord.match(/D/),- ampm = tord.match(/a/i),- hampm = tord.match(/h/),- hformat = p == 'datetime' ? s.dateFormat + s.separator + s.timeFormat : p == 'time' ? s.timeFormat : s.dateFormat,- defd = new Date(),- stepH = s.stepHour,- stepM = s.stepMinute,- stepS = s.stepSecond,- mind = s.minDate || new Date(s.startYear, 0, 1),- maxd = s.maxDate || new Date(s.endYear, 11, 31, 23, 59, 59);-- format = format || hformat;-- if (p.match(/date/i)) {-- // Determine the order of year, month, day wheels- $.each(['y', 'm', 'd'], function (j, v) {- i = dord.search(new RegExp(v, 'i'));- if (i > -1) {- ord.push({ o: i, v: v });- }- });- ord.sort(function (a, b) { return a.o > b.o ? 1 : -1; });- $.each(ord, function (i, v) {- o[v.v] = i;- });-- wg = [];- for (k = 0; k < 3; k++) {- if (k == o.y) {- offset++;- values = [];- keys = [];- start = mind.getFullYear();- end = maxd.getFullYear();- for (i = start; i <= end; i++) {- keys.push(i);- values.push(dord.match(/yy/i) ? i : (i + '').substr(2, 2));- }- addWheel(wg, keys, values, s.yearText);- } else if (k == o.m) {- offset++;- values = [];- keys = [];- for (i = 0; i < 12; i++) {- var str = dord.replace(/[dy]/gi, '').replace(/mm/, i < 9 ? '0' + (i + 1) : i + 1).replace(/m/, (i + 1));- keys.push(i);- values.push(str.match(/MM/) ? str.replace(/MM/, '<span class="dw-mon">' + s.monthNames[i] + '</span>') : str.replace(/M/, '<span class="dw-mon">' + s.monthNamesShort[i] + '</span>'));- }- addWheel(wg, keys, values, s.monthText);- } else if (k == o.d) {- offset++;- values = [];- keys = [];- for (i = 1; i < 32; i++) {- keys.push(i);- values.push(dord.match(/dd/i) && i < 10 ? '0' + i : i);- }- addWheel(wg, keys, values, s.dayText);- }- }- wheels.push(wg);- }-- if (p.match(/time/i)) {-- // Determine the order of hours, minutes, seconds wheels- ord = [];- $.each(['h', 'i', 's', 'a'], function (i, v) {- i = tord.search(new RegExp(v, 'i'));- if (i > -1) {- ord.push({ o: i, v: v });- }- });- ord.sort(function (a, b) {- return a.o > b.o ? 1 : -1;- });- $.each(ord, function (i, v) {- o[v.v] = offset + i;- });-- wg = [];- for (k = offset; k < offset + 4; k++) {- if (k == o.h) {- offset++;- values = [];- keys = [];- for (i = 0; i < (hampm ? 12 : 24); i += stepH) {- keys.push(i);- values.push(hampm && i == 0 ? 12 : tord.match(/hh/i) && i < 10 ? '0' + i : i);- }- addWheel(wg, keys, values, s.hourText);- } else if (k == o.i) {- offset++;- values = [];- keys = [];- for (i = 0; i < 60; i += stepM) {- keys.push(i);- values.push(tord.match(/ii/) && i < 10 ? '0' + i : i);- }- addWheel(wg, keys, values, s.minuteText);- } else if (k == o.s) {- offset++;- values = [];- keys = [];- for (i = 0; i < 60; i += stepS) {- keys.push(i);- values.push(tord.match(/ss/) && i < 10 ? '0' + i : i);- }- addWheel(wg, keys, values, s.secText);- } else if (k == o.a) {- offset++;- var upper = tord.match(/A/);- addWheel(wg, [0, 1], upper ? ['AM', 'PM'] : ['am', 'pm'], s.ampmText);- }- }-- wheels.push(wg);- }-- function get(d, i, def) {- if (o[i] !== undefined) {- return +d[o[i]];- }- if (def !== undefined) {- return def;- }- return defd[f[i]] ? defd[f[i]]() : f[i](defd);- }-- function addWheel(wg, k, v, lbl) {- wg.push({- values: v,- keys: k,- label: lbl- });- }-- function step(v, st) {- return Math.floor(v / st) * st;- }-- function getHour(d) {- var hour = d.getHours();- hour = hampm && hour >= 12 ? hour - 12 : hour;- return step(hour, stepH);- }-- function getMinute(d) {- return step(d.getMinutes(), stepM);- }-- function getSecond(d) {- return step(d.getSeconds(), stepS);- }-- function getAmPm(d) {- return ampm && d.getHours() > 11 ? 1 : 0;- }-- function getDate(d) {- var hour = get(d, 'h', 0);- return new Date(get(d, 'y'), get(d, 'm'), get(d, 'd', 1), get(d, 'a') ? hour + 12 : hour, get(d, 'i', 0), get(d, 's', 0));- }-- // Extended methods- // ----- /**- * Sets the selected date- *- * @param {Date} d Date to select.- * @param {Boolean} [fill=false] Also set the value of the associated input element. Default is true.- * @return {Object} jQuery object to maintain chainability- */- inst.setDate = function (d, fill, time, temp) {- var i;-- // Set wheels- for (i in o) {- inst.temp[o[i]] = d[f[i]] ? d[f[i]]() : f[i](d);- }- inst.setValue(inst.temp, fill, time, temp);- };-- /**- * Returns the currently selected date.- *- * @param {Boolean} [temp=false] If true, return the currently shown date on the picker, otherwise the last selected one- * @return {Date}- */- inst.getDate = function (temp) {- return getDate(temp ? inst.temp : inst.values);- };-- // ----- return {- button3Text: s.showNow ? s.nowText : undefined,- button3: s.showNow ? function () { inst.setDate(new Date(), false, 0.3, true); } : undefined,- wheels: wheels,- headerText: function (v) {- return ms.formatDate(hformat, getDate(inst.temp), s);- },- /**- * Builds a date object from the wheel selections and formats it to the given date/time format- * @param {Array} d - An array containing the selected wheel values- * @return {String} - The formatted date string- */- formatResult: function (d) {- return ms.formatDate(format, getDate(d), s);- },- /**- * Builds a date object from the input value and returns an array to set wheel values- * @return {Array} - An array containing the wheel values to set- */- parseValue: function (val) {- var d = new Date(),- i,- result = [];- try {- d = ms.parseDate(format, val, s);- } catch (e) {- }- // Set wheels- for (i in o) {- result[o[i]] = d[f[i]] ? d[f[i]]() : f[i](d);- }- return result;- },- /**- * Validates the selected date to be in the minDate / maxDate range and sets unselectable values to disabled- * @param {Object} dw - jQuery object containing the generated html- * @param {Integer} [i] - Index of the changed wheel, not set for initial validation- */- validate: function (dw, i) {- var temp = inst.temp, //.slice(0),- mins = { y: mind.getFullYear(), m: 0, d: 1, h: 0, i: 0, s: 0, a: 0 },- maxs = { y: maxd.getFullYear(), m: 11, d: 31, h: step(hampm ? 11 : 23, stepH), i: step(59, stepM), s: step(59, stepS), a: 1 },- minprop = true,- maxprop = true;- $.each(['y', 'm', 'd', 'a', 'h', 'i', 's'], function (x, i) {- if (o[i] !== undefined) {- var min = mins[i],- max = maxs[i],- maxdays = 31,- val = get(temp, i),- t = $('.dw-ul', dw).eq(o[i]),- y,- m;- if (i == 'd') {- y = get(temp, 'y');- m = get(temp, 'm');- maxdays = 32 - new Date(y, m, 32).getDate();- max = maxdays;- if (regen) {- $('.dw-li', t).each(function () {- var that = $(this),- d = that.data('val'),- w = new Date(y, m, d).getDay(),- str = dord.replace(/[my]/gi, '').replace(/dd/, d < 10 ? '0' + d : d).replace(/d/, d);- $('.dw-i', that).html(str.match(/DD/) ? str.replace(/DD/, '<span class="dw-day">' + s.dayNames[w] + '</span>') : str.replace(/D/, '<span class="dw-day">' + s.dayNamesShort[w] + '</span>'));- });- }- }- if (minprop && mind) {- min = mind[f[i]] ? mind[f[i]]() : f[i](mind);- }- if (maxprop && maxd) {- max = maxd[f[i]] ? maxd[f[i]]() : f[i](maxd);- }- if (i != 'y') {- var i1 = $('.dw-li', t).index($('.dw-li[data-val="' + min + '"]', t)),- i2 = $('.dw-li', t).index($('.dw-li[data-val="' + max + '"]', t));- $('.dw-li', t).removeClass('dw-v').slice(i1, i2 + 1).addClass('dw-v');- if (i == 'd') { // Hide days not in month- $('.dw-li', t).removeClass('dw-h').slice(maxdays).addClass('dw-h');- }- }- if (val < min) {- val = min;- }- if (val > max) {- val = max;- }- if (minprop) {- minprop = val == min;- }- if (maxprop) {- maxprop = val == max;- }- // Disable some days- if (s.invalid && i == 'd') {- var idx = [];- // Disable exact dates- if (s.invalid.dates) {- $.each(s.invalid.dates, function (i, v) {- if (v.getFullYear() == y && v.getMonth() == m) {- idx.push(v.getDate() - 1);- }- });- }- // Disable days of week- if (s.invalid.daysOfWeek) {- var first = new Date(y, m, 1).getDay(),- j;- $.each(s.invalid.daysOfWeek, function (i, v) {- for (j = v - first; j < maxdays; j += 7) {- if (j >= 0) {- idx.push(j);- }- }- });- }- // Disable days of month- if (s.invalid.daysOfMonth) {- $.each(s.invalid.daysOfMonth, function (i, v) {- v = (v + '').split('/');- if (v[1]) {- if (v[0] - 1 == m) {- idx.push(v[1] - 1);- }- } else {- idx.push(v[0] - 1);- }- });- }- $.each(idx, function (i, v) {- $('.dw-li', t).eq(v).removeClass('dw-v');- });- }-- // Set modified value- temp[o[i]] = val;- }- });- }- };- };-- $.each(['date', 'time', 'datetime'], function (i, v) {- ms.presets[v] = preset;- ms.presetShort(v);- });-- /**- * Format a date into a string value with a specified format.- * @param {String} format - Output format.- * @param {Date} date - Date to format.- * @param {Object} settings - Settings.- * @return {String} - Returns the formatted date string.- */- ms.formatDate = function (format, date, settings) {- if (!date) {- return null;- }- var s = $.extend({}, defaults, settings),- look = function (m) { // Check whether a format character is doubled- var n = 0;- while (i + 1 < format.length && format.charAt(i + 1) == m) {- n++;- i++;- }- return n;- },- f1 = function (m, val, len) { // Format a number, with leading zero if necessary- var n = '' + val;- if (look(m)) {- while (n.length < len) {- n = '0' + n;- }- }- return n;- },- f2 = function (m, val, s, l) { // Format a name, short or long as requested- return (look(m) ? l[val] : s[val]);- },- i,- output = '',- literal = false;-- for (i = 0; i < format.length; i++) {- if (literal) {- if (format.charAt(i) == "'" && !look("'")) {- literal = false;- } else {- output += format.charAt(i);- }- } else {- switch (format.charAt(i)) {- case 'd':- output += f1('d', date.getDate(), 2);- break;- case 'D':- output += f2('D', date.getDay(), s.dayNamesShort, s.dayNames);- break;- case 'o':- output += f1('o', (date.getTime() - new Date(date.getFullYear(), 0, 0).getTime()) / 86400000, 3);- break;- case 'm':- output += f1('m', date.getMonth() + 1, 2);- break;- case 'M':- output += f2('M', date.getMonth(), s.monthNamesShort, s.monthNames);- break;- case 'y':- output += (look('y') ? date.getFullYear() : (date.getYear() % 100 < 10 ? '0' : '') + date.getYear() % 100);- break;- case 'h':- var h = date.getHours();- output += f1('h', (h > 12 ? (h - 12) : (h == 0 ? 12 : h)), 2);- break;- case 'H':- output += f1('H', date.getHours(), 2);- break;- case 'i':- output += f1('i', date.getMinutes(), 2);- break;- case 's':- output += f1('s', date.getSeconds(), 2);- break;- case 'a':- output += date.getHours() > 11 ? 'pm' : 'am';- break;- case 'A':- output += date.getHours() > 11 ? 'PM' : 'AM';- break;- case "'":- if (look("'")) {- output += "'";- } else {- literal = true;- }- break;- default:- output += format.charAt(i);- }- }- }- return output;- };-- /**- * Extract a date from a string value with a specified format.- * @param {String} format - Input format.- * @param {String} value - String to parse.- * @param {Object} settings - Settings.- * @return {Date} - Returns the extracted date.- */- ms.parseDate = function (format, value, settings) {- var def = new Date();-- if (!format || !value) {- return def;- }-- value = (typeof value == 'object' ? value.toString() : value + '');-- var s = $.extend({}, defaults, settings),- shortYearCutoff = s.shortYearCutoff,- year = def.getFullYear(),- month = def.getMonth() + 1,- day = def.getDate(),- doy = -1,- hours = def.getHours(),- minutes = def.getMinutes(),- seconds = 0, //def.getSeconds(),- ampm = -1,- literal = false, // Check whether a format character is doubled- lookAhead = function (match) {- var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) == match);- if (matches) {- iFormat++;- }- return matches;- },- getNumber = function (match) { // Extract a number from the string value- lookAhead(match);- var size = (match == '@' ? 14 : (match == '!' ? 20 : (match == 'y' ? 4 : (match == 'o' ? 3 : 2)))),- digits = new RegExp('^\\d{1,' + size + '}'),- num = value.substr(iValue).match(digits);-- if (!num) {- return 0;- }- //throw 'Missing number at position ' + iValue;- iValue += num[0].length;- return parseInt(num[0], 10);- },- getName = function (match, s, l) { // Extract a name from the string value and convert to an index- var names = (lookAhead(match) ? l : s),- i;-- for (i = 0; i < names.length; i++) {- if (value.substr(iValue, names[i].length).toLowerCase() == names[i].toLowerCase()) {- iValue += names[i].length;- return i + 1;- }- }- return 0;- //throw 'Unknown name at position ' + iValue;- },- checkLiteral = function () {- //if (value.charAt(iValue) != format.charAt(iFormat))- //throw 'Unexpected literal at position ' + iValue;- iValue++;- },- iValue = 0,- iFormat;-- for (iFormat = 0; iFormat < format.length; iFormat++) {- if (literal) {- if (format.charAt(iFormat) == "'" && !lookAhead("'")) {- literal = false;- } else {- checkLiteral();- }- } else {- switch (format.charAt(iFormat)) {- case 'd':- day = getNumber('d');- break;- case 'D':- getName('D', s.dayNamesShort, s.dayNames);- break;- case 'o':- doy = getNumber('o');- break;- case 'm':- month = getNumber('m');- break;- case 'M':- month = getName('M', s.monthNamesShort, s.monthNames);- break;- case 'y':- year = getNumber('y');- break;- case 'H':- hours = getNumber('H');- break;- case 'h':- hours = getNumber('h');- break;- case 'i':- minutes = getNumber('i');- break;- case 's':- seconds = getNumber('s');- break;- case 'a':- ampm = getName('a', ['am', 'pm'], ['am', 'pm']) - 1;- break;- case 'A':- ampm = getName('A', ['am', 'pm'], ['am', 'pm']) - 1;- break;- case "'":- if (lookAhead("'")) {- checkLiteral();- } else {- literal = true;- }- break;- default:- checkLiteral();- }- }- }- if (year < 100) {- year += new Date().getFullYear() - new Date().getFullYear() % 100 +- (year <= (typeof shortYearCutoff != 'string' ? shortYearCutoff : new Date().getFullYear() % 100 + parseInt(shortYearCutoff, 10)) ? 0 : -100);- }- if (doy > -1) {- month = 1;- day = doy;- do {- var dim = 32 - new Date(year, month - 1, 32).getDate();- if (day <= dim) {- break;- }- month++;- day -= dim;- } while (true);- }- hours = (ampm == -1) ? hours : ((ampm && hours < 12) ? (hours + 12) : (!ampm && hours == 12 ? 0 : hours));- var date = new Date(year, month - 1, day, hours, minutes, seconds);- if (date.getFullYear() != year || date.getMonth() + 1 != month || date.getDate() != day) {- throw 'Invalid date';- }- return date;- };--})(jQuery);--/*jslint eqeq: true, plusplus: true, undef: true, sloppy: true, vars: true, forin: true */-(function ($) {-- var defaults = {- inputClass: '',- invalid: [],- rtl: false,- group: false,- groupLabel: 'Groups'- };-- $.mobiscroll.presetShort('select');-- $.mobiscroll.presets.select = function (inst) {- var orig = $.extend({}, inst.settings),- s = $.extend(inst.settings, defaults, orig),- elm = $(this),- multiple = elm.prop('multiple'),- id = this.id + '_dummy',- option = multiple ? (elm.val() ? elm.val()[0] : $('option', elm).attr('value')) : elm.val(),- group = elm.find('option[value="' + option + '"]').parent(),- prev = group.index() + '',- gr = prev,- prevent,- l1 = $('label[for="' + this.id + '"]').attr('for', id),- l2 = $('label[for="' + id + '"]'),- label = s.label !== undefined ? s.label : (l2.length ? l2.text() : elm.attr('name')),- invalid = [],- origValues = [],- main = {},- grIdx,- optIdx,- timer,- input,- roPre = s.readonly,- w;-- function genWheels() {- var cont,- wg = 0,- values = [],- keys = [],- w = [[]];-- if (s.group) {- if (s.rtl) {- wg = 1;- }-- $('optgroup', elm).each(function (i) {- values.push($(this).attr('label'));- keys.push(i);- });-- w[wg] = [{- values: values,- keys: keys,- label: label- }];-- cont = group;- wg += (s.rtl ? -1 : 1);-- } else {- cont = elm;- }-- values = [];- keys = [];-- $('option', cont).each(function () {- var v = $(this).attr('value');- values.push($(this).text());- keys.push(v);- if ($(this).prop('disabled')) {- invalid.push(v);- }- });-- w[wg] = [{- values: values,- keys: keys,- label: label- }];-- return w;- }-- function setVal(v, fill) {- var value = [];-- if (multiple) {- var sel = [],- i = 0;-- for (i in inst._selectedValues) {- sel.push(main[i]);- value.push(i);- }- input.val(sel.join(', '));- } else {- input.val(v);- value = fill ? inst.values[optIdx] : null;- }-- if (fill) {- prevent = true;- elm.val(value).trigger('change');- }- }-- // if groups is true and there are no groups fall back to no grouping- if (s.group && !$('optgroup', elm).length) {- s.group = false;- }-- if (!s.invalid.length) {- s.invalid = invalid;- }-- if (s.group) {- if (s.rtl) {- grIdx = 1;- optIdx = 0;- } else {- grIdx = 0;- optIdx = 1;- }- } else {- grIdx = -1;- optIdx = 0;- }-- $('#' + id).remove();-- input = $('<input type="text" id="' + id + '" class="' + s.inputClass + '" readonly />').insertBefore(elm),-- $('option', elm).each(function () {- main[$(this).attr('value')] = $(this).text();- });-- if (s.showOnFocus) {- input.focus(function () {- inst.show();- });- }-- var v = elm.val() || [],- i = 0;-- for (i; i < v.length; i++) {- inst._selectedValues[v[i]] = v[i];- }-- setVal(main[option]);-- elm.unbind('.dwsel').bind('change.dwsel', function () {- if (!prevent) {- inst.setValue(multiple ? elm.val() || [] : [elm.val()], true);- }- prevent = false;- }).hide().closest('.ui-field-contain').trigger('create');-- // Extended methods- // ----- if (!inst._setValue) {- inst._setValue = inst.setValue;- }-- inst.setValue = function (d, fill, time, noscroll, temp) {- var value,- v = $.isArray(d) ? d[0] : d;-- option = v !== undefined ? v : $('option', elm).attr('value');-- if (multiple) {- inst._selectedValues = {};- var i = 0;- for (i; i < d.length; i++) {- inst._selectedValues[d[i]] = d[i];- }- }-- if (s.group) {- group = elm.find('option[value="' + option + '"]').parent();- gr = group.index();- value = s.rtl ? [option, group.index()] : [group.index(), option];- if (gr !== prev) { // Need to regenerate wheels, if group changed- s.wheels = genWheels();- inst.changeWheel([optIdx]);- prev = gr + '';- }- } else {- value = [option];- }-- inst._setValue(value, fill, time, noscroll, temp);-- // Set input/select values- if (fill) {- var changed = multiple ? true : option !== elm.val();- setVal(main[option], changed);- }- };-- inst.getValue = function (temp) {- var val = temp ? inst.temp : inst.values;- return val[optIdx];- };-- // ----- return {- width: 50,- wheels: w,- headerText: false,- multiple: multiple,- anchor: input,- formatResult: function (d) {- return main[d[optIdx]];- },- parseValue: function () {- var v = elm.val() || [],- i = 0;-- if (multiple) {- inst._selectedValues = {};- for (i; i < v.length; i++) {- inst._selectedValues[v[i]] = v[i];- }- }-- option = multiple ? (elm.val() ? elm.val()[0] : $('option', elm).attr('value')) : elm.val();-- group = elm.find('option[value="' + option + '"]').parent();- gr = group.index();- prev = gr + '';- return s.group && s.rtl ? [option, gr] : s.group ? [gr, option] : [option];- },- validate: function (dw, i, time) {- if (i === undefined && multiple) {- var v = inst._selectedValues,- j = 0;-- $('.dwwl' + optIdx + ' .dw-li', dw).removeClass('dw-msel');-- for (j in v) {- $('.dwwl' + optIdx + ' .dw-li[data-val="' + v[j] + '"]', dw).addClass('dw-msel');- }- }-- if (i === grIdx) {- gr = inst.temp[grIdx];- if (gr !== prev) {- group = elm.find('optgroup').eq(gr);- gr = group.index();- option = group.find('option').eq(0).val();- option = option || elm.val();- s.wheels = genWheels();- if (s.group) {- inst.temp = s.rtl ? [option, gr] : [gr, option];- s.readonly = [s.rtl, !s.rtl];- clearTimeout(timer);- timer = setTimeout(function () {- inst.changeWheel([optIdx]);- s.readonly = roPre;- prev = gr + '';- }, time * 1000);- return false;- }- } else {- s.readonly = roPre;- }- } else {- option = inst.temp[optIdx];- }-- var t = $('.dw-ul', dw).eq(optIdx);- $.each(s.invalid, function (i, v) {- $('.dw-li[data-val="' + v + '"]', t).removeClass('dw-v');- });- },- onBeforeShow: function (dw) {- s.wheels = genWheels();- if (s.group) {- inst.temp = s.rtl ? [option, group.index()] : [group.index(), option];- }- },- onMarkupReady: function (dw) {- $('.dwwl' + grIdx, dw).bind('mousedown touchstart', function () {- clearTimeout(timer);- });- if (multiple) {- dw.addClass('dwms');- $('.dwwl', dw).eq(optIdx).addClass('dwwms');- origValues = {};- var i;- for (i in inst._selectedValues) {- origValues[i] = inst._selectedValues[i];- }- }- },- onValueTap: function (li) {- if (multiple && li.hasClass('dw-v') && li.closest('.dw').find('.dw-ul').index(li.closest('.dw-ul')) == optIdx) {- var val = li.attr('data-val');- if (li.hasClass('dw-msel')) {- delete inst._selectedValues[val];- } else {- inst._selectedValues[val] = val;- }- li.toggleClass('dw-msel');-- if (s.display == 'inline') {- setVal(val, true);- }- return false;- }- },- onSelect: function (v) {- setVal(v, true);- if (s.group) {- inst.values = null;- }- },- onCancel: function () {- if (s.group) {- inst.values = null;- }- if (multiple) {- inst._selectedValues = {};- var i;- for (i in origValues) {- inst._selectedValues[i] = origValues[i];- }- }- },- onChange: function (v) {- if (s.display == 'inline' && !multiple) {- input.val(v);- prevent = true;- elm.val(inst.temp[optIdx]).trigger('change');- }- },- onClose: function () {- input.blur();- }- };- };--})(jQuery);--(function ($) {-- $.mobiscroll.themes.jqm = {- defaults: {- jqmBorder: 'a',- jqmBody: 'c',- jqmHeader: 'b',- jqmWheel: 'd',- jqmClickPick: 'c',- jqmSet: 'b',- jqmCancel: 'c'- },- init: function (elm, inst) {- var s = inst.settings;- $('.dw', elm).removeClass('dwbg').addClass('ui-overlay-shadow ui-corner-all ui-body-' + s.jqmBorder);- $('.dwb-s span', elm).attr('data-role', 'button').attr('data-theme', s.jqmSet);- $('.dwb-n span', elm).attr('data-role', 'button').attr('data-theme', s.jqmCancel);- $('.dwb-c span', elm).attr('data-role', 'button').attr('data-theme', s.jqmCancel);- $('.dwwb', elm).attr('data-role', 'button').attr('data-theme', s.jqmClickPick);- $('.dwv', elm).addClass('ui-header ui-bar-' + s.jqmHeader);- $('.dwwr', elm).addClass('ui-body-' + s.jqmBody);- $('.dwpm .dwwl', elm).addClass('ui-body-' + s.jqmWheel);- $('.dwpm .dwl', elm).addClass('ui-body-' + s.jqmBody);- elm.trigger('create');- // Hide on overlay click- $('.dwo', elm).click(function () { inst.cancel(); });- }- };--})(jQuery);--(function ($) {-- $.mobiscroll.themes.ios = {- defaults: {- dateOrder: 'MMdyy',- rows: 5,- height: 30,- width: 55,- headerText: false,- showLabel: false,- useShortLabels: true- }- }--})(jQuery);--(function ($) {-- $.mobiscroll.themes.android = {- defaults: {- dateOrder: 'Mddyy',- mode: 'clickpick',- height: 50,- showLabel: false- }- }--})(jQuery);---(function ($) {- var theme = {- defaults: {- dateOrder: 'Mddyy',- mode: 'mixed',- rows: 5,- width: 70,- height: 36,- showLabel: false,- useShortLabels: true- }- };-- $.mobiscroll.themes['android-ics'] = theme;- $.mobiscroll.themes['android-ics light'] = theme;--})(jQuery);---(function ($) {-- var anim;-- $.mobiscroll.themes.wp = {- defaults: {- width: 70,- height: 76,- accent: 'none',- dateOrder: 'mmMMddDDyy',- showLabel: false,- onAnimStart: function (dw, i, time) {- $('.dwwl' + i, dw).addClass('wpam');- clearTimeout(anim[i]);- anim[i] = setTimeout(function () {- $('.dwwl' + i, dw).removeClass('wpam');- }, time * 1000 + 100);- }- },- init: function (elm, inst) {- var click,- active;-- anim = {};-- $('.dw', elm).addClass('wp-' + inst.settings.accent);-- //$('.dwwl', elm).bind('touchstart mousedown DOMMouseScroll mousewheel', function () {- $('.dwwl', elm).delegate('.dw-sel', 'touchstart mousedown DOMMouseScroll mousewheel', function () {- click = true;- active = $(this).closest('.dwwl').hasClass('wpa');- $('.dwwl', elm).removeClass('wpa');- $(this).closest('.dwwl').addClass('wpa');- }).bind('touchmove mousemove', function () {- click = false;- }).bind('touchend mouseup', function () {- if (click && active) {- $(this).closest('.dwwl').removeClass('wpa');- }- });- }- };-- $.mobiscroll.themes['wp light'] = $.mobiscroll.themes.wp;--})(jQuery);--diff --git a/web/ext/date/mobiscroll-2.6.0/mobiscroll.min.css b/web/ext/date/mobiscroll-2.6.0/mobiscroll.min.cssdeleted file mode 100644index 2d6ebcc0d..000000000--- a/web/ext/date/mobiscroll-2.6.0/mobiscroll.min.css+++ /dev/null@@ -1 +0,0 @@-.dw{position:absolute;top:5%;left:0;z-index:1001;color:#fff;font-family:arial,verdana,sans-serif;font-size:12px;text-shadow:none;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-ms-touch-action:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-backface-visibility:hidden}.dwi{position:static;display:inline-block}.dwwr{min-width:170px;zoom:1;padding:0 10px;text-align:center}.dw-persp,.dwo{width:100%;height:auto;position:absolute;top:0;left:0;z-index:1001}.dwo{background:#000;opacity:.7;filter:Alpha(Opacity=70);display:none}.dw-bubble .dw{margin:20px 0}.dw-bubble .dw-arrw{position:absolute;left:0;width:100%}.dw-bubble-top .dw-arrw{bottom:-36px}.dw-bubble-bottom .dw-arrw{top:-36px}.dw-bubble .dw-arrw-i{margin:0 30px;position:relative;height:36px}.dw-bubble .dw-arr{display:block}.dw-arr{display:none;position:absolute;left:0;width:0;height:0;border-width:18px;border-style:solid;margin-left:-18px}.dw-bubble-bottom .dw-arr{top:0;border-color:transparent transparent #fff}.dw-bubble-top .dw-arr{bottom:0;border-color:#fff transparent transparent}.dwc{padding:30px 2px 5px;display:inline-block}.dwl{text-align:center;line-height:30px;height:30px;white-space:nowrap;position:absolute;top:-30px;width:100%}.dwv{padding:10px 0;border-bottom:1px solid #000}.dwrc{-webkit-border-radius:3px;border-radius:3px}.dwwc{margin:0;padding:0 2px;position:relative;background:#000;zoom:1}.dwwl{margin:4px 2px;padding:0 2px;position:relative;z-index:5}.dwww{position:relative;padding:1px}.dww{overflow:hidden;position:relative;z-index:2}.dw-moz .dww{opacity:.99}.dwsc .dwwl{background:#888;background:linear-gradient(#000 0,#333 35%,#888 50%,#333 65%,#000 100%);background:-webkit-gradient(linear,left bottom,left top,from(#000),color-stop(0.35,#333),color-stop(0.5,#888),color-stop(0.65,#333),to(#000));background:-webkit-linear-gradient(#000 0,#333 35%,#888 50%,#333 65%,#000 100%);background:-moz-linear-gradient(#000 0,#333 35%,#888 50%,#333 65%,#000 100%)}.dwsc .dww{color:#fff;background:#444;background:linear-gradient(#000 0,#444 45%,#444 55%,#000 100%);background:-webkit-gradient(linear,left bottom,left top,from(#000),color-stop(0.45,#444),color-stop(0.55,#444),to(#000));background:-webkit-linear-gradient(#000 0,#444 45%,#444 55%,#000 100%);background:-moz-linear-gradient(#000 0,#444 45%,#444 55%,#000 100%)}.dw-bf{-webkit-perspective:1000;-webkit-backface-visibility:hidden}.dw-ul{position:relative;z-index:2}.dw-li{padding:0 5px;display:block;text-align:center;line-height:40px;font-size:26px;white-space:nowrap;text-shadow:0 1px 1px #000;vertical-align:bottom;opacity:.3;filter:Alpha(Opacity=30)}.dw-li.dw-hl{background:#fff;background:rgba(255,255,255,.3)}.dw-li.dw-v{opacity:1;filter:Alpha(Opacity=100)}.dw-li.dw-h{visibility:hidden}.dw-i{position:relative;height:100%}.dwwb{position:absolute;z-index:4;left:0;cursor:pointer;width:100%;height:40px;text-align:center;opacity:1;transition:opacity .2s linear;-webkit-transition:opacity .2s linear}.dwa .dwwb{opacity:0}.dwwbp{top:0;-webkit-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;font-size:40px}.dwwbm{bottom:0;-webkit-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;font-size:32px;font-weight:700}.dwpm .dwwc{background:0 0}.dwpm .dwwl{padding:0}.dwpm .dw-li{text-shadow:none}.dwpm .dwwol{display:none}.dwwo{position:absolute;z-index:3;top:0;left:0;width:100%;height:100%;background:linear-gradient(#000 0,rgba(44,44,44,0) 52%,rgba(44,44,44,0) 48%,#000 100%);background:-webkit-gradient(linear,left bottom,left top,from(#000),color-stop(0.52,rgba(44,44,44,0)),color-stop(0.48,rgba(44,44,44,0)),to(#000));background:-webkit-linear-gradient(#000 0,rgba(44,44,44,0) 52%,rgba(44,44,44,0) 48%,#000 100%);background:-moz-linear-gradient(#000 0,rgba(44,44,44,0) 52%,rgba(44,44,44,0) 48%,#000 100%)}.dwwol{position:absolute;z-index:1;top:50%;left:0;width:100%;height:0;margin-top:-1px;border-top:1px solid #333;border-bottom:1px solid #555}.dwbg .dwb{cursor:pointer;overflow:hidden;display:block;height:40px;line-height:40px;padding:0 15px;margin:0 2px;font-size:14px;font-weight:700;text-decoration:none;text-shadow:0 -1px 1px #000;border-radius:5px;box-shadow:0 1px 3px rgba(0,0,0,.5);color:#fff;background:#000;background:linear-gradient(#6e6e6e 50%,#000 50%);background:-webkit-gradient(linear,left bottom,left top,color-stop(0.5,#000),color-stop(0.5,#6e6e6e));background:-webkit-linear-gradient(#6e6e6e 50%,#000 50%);background:-moz-linear-gradient(#6e6e6e 50%,#000 50%);white-space:nowrap;text-overflow:ellipsis;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.5);-webkit-border-radius:5px;-webkit-backface-visibility:hidden}.dwbc{padding:5px 0;text-align:center}.dwbw{display:inline-block;width:50%;position:relative;z-index:5}.dwbc-p .dwbw{width:33.33%}.dwhl{padding-top:10px}.dwhl .dwl{display:none}.dwms .dwwms .dw-li{padding:0 40px;position:relative}.dwms .dw-msel:after{width:40px;text-align:center;position:absolute;top:0;left:0;content:'✔'}.dwbg{background:rgba(38,43,49,.85);border-radius:3px;-webkit-border-radius:3px}.dwbg .dwpm .dwwl{border:1px solid #aaa}.dwbg .dwpm .dww{color:#000;background:#fff;-webkit-border-radius:3px}.dwbg .dwwb{background:#ccc;color:#888;text-shadow:0 -1px 1px #333;box-shadow:0 0 5px #333;-webkit-box-shadow:0 0 5px #333}.dwbg .dwwbp{background:linear-gradient(#f7f7f7,#bdbdbd);background:-webkit-gradient(linear,left bottom,left top,from(#bdbdbd),to(#f7f7f7));background:-webkit-linear-gradient(#f7f7f7,#bdbdbd);background:-moz-linear-gradient(#f7f7f7,#bdbdbd)}.dwbg .dwwbm{background:linear-gradient(#bdbdbd,#f7f7f7);background:-webkit-gradient(linear,left bottom,left top,from(#f7f7f7),to(#bdbdbd));background:-webkit-linear-gradient(#bdbdbd,#f7f7f7);background:-moz-linear-gradient(#bdbdbd,#f7f7f7)}.dwbg .dwb-a{background:#3c7500;background:linear-gradient(#94c840 50%,#3c7500 50%);background:-webkit-gradient(linear,left bottom,left top,color-stop(0.5,#3c7500),color-stop(0.5,#94c840));background:-webkit-linear-gradient(#94c840 50%,#3c7500 50%);background:-moz-linear-gradient(#94c840 50%,#3c7500 50%)}.dwbg .dwwl .dwb-a{background:#3c7500;background:linear-gradient(#94c840,#3c7500);background:-webkit-gradient(linear,left bottom,left top,from(#3c7500),to(#94c840));background:-webkit-linear-gradient(#94c840,#3c7500);background:-moz-linear-gradient(#94c840,#3c7500)}.jqm .dwo{background:0 0}.jqm .dw{padding:6px;z-index:1003}.jqm .dwv{position:static;width:auto;padding:.7em 15px;border:0}.jqm .dwwr{border:0;padding:0}.jqm .dwpm .dwwo{background:0 0}.jqm .dwc{padding:30px 5px 5px}.jqm .dwhl{padding:5px}.jqm .dwwb{margin:0;border:0}.jqm .dwwb span{padding:0}.jqm .dwwbp .ui-btn-inner{font-size:40px;border-radius:3px 3px 0 0;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0}.jqm .dwwbm .ui-btn-inner{font-size:32px;border-radius:0 0 3px 3px;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px}.jqm .dwwbp span{font-weight:400}.jqm .dwbc{padding:0}.jqm .dwbc .ui-btn{margin:.5em 5px}.jqm .dwbc .ui-btn-inner{font-size:12px}.jqm .dwpm .dwl{border:0;background:0 0}.jqm .dw-bubble-bottom .dw-arr{border-color:transparent transparent #444}.jqm .dw-bubble-top .dw-arr{border-color:#222 transparent transparent}.jqm.dw-bottom .dw,.jqm.dw-top .dw{padding:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0}.jqm.dw-top .dw{border-right:0;border-top:0;border-left:0}.jqm.dw-bottom .dw{border-bottom:0;border-right:0;border-left:0}.android .dw{padding:0;background:#000;border:2px solid #555;color:#fff}.android .dwv{padding:10px;border-bottom:1px solid #333}.android .dwwr{padding:0}.android .dww{top:0}.android .dwwc{background:#000}.android .dw .dwpm .dww,.android .dw .dwpm .dwwl{border:0;background:#fff}.android .dw .dwpm .dww{margin:0}.android .dwpm .dww .dw-li{color:#000;text-shadow:none}.android .dwbc{padding:5px 1px;background:#9c9c9c}.android .dw .dwb{margin:0 5px;background:#ccc;background:linear-gradient(#eee,#ccc);background:-webkit-gradient(linear,left bottom,left top,from(#ccc),to(#eee));background:-moz-linear-gradient(#eee,#ccc);background:-o-linear-gradient(#eee,#ccc);color:#000;font-weight:400;text-shadow:none;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0}.android .dw .dwb-a,.android .dw .dwwl .dwb-a{background:#ffb25a;background:linear-gradient(#ffb25a,#ef6100);background:-webkit-gradient(linear,left bottom,left top,from(#ef6100),to(#ffb25a));background:-moz-linear-gradient(#ffb25a,#ef6100);background:-o-linear-gradient(#ffb25a,#ef6100)}.android .dw-bubble-bottom .dw-arr{border-color:transparent transparent #000}.android .dw-bubble-top .dw-arr{border-color:#9c9c9c transparent transparent}.android.dw-bottom .dw,.android.dw-top .dw{border-right:0;border-left:0}.android.dw-top .dw{border-top:0}.android.dw-bottom .dw{border-bottom:0}.android-ics .dw{padding:0;color:#31b6e7;background:#292829}.android-ics .dw .dwb,.android-ics .dw .dwpm .dww,.android-ics .dw .dww,.android-ics .dw .dwwc,.android-ics .dw .dwwl{background:0 0}.android-ics .dwwr{padding:0}.android-ics .dwc{padding:30px 10px 1px}.android-ics .dwhl{padding:1px 10px}.android-ics .dwv{height:36px;line-height:36px;padding:0;border-bottom:2px solid #31b6e7;font-size:18px}.android-ics .dwwl{margin:0 2px}.android-ics .dw .dwpm .dww,.android-ics .dw .dwpm .dwwl,.android-ics .dww{border:0}.android-ics .dww .dw-li{color:#fff;font-size:18px;text-shadow:none}.android-ics .dww .dw-li.dw-hl{background:#31b6e7;background:rgba(49,182,231,.5)}.android-ics .dwwo{background:linear-gradient(#282828 0,rgba(40,40,40,0) 52%,rgba(40,40,40,0) 48%,#282828 100%);background:-webkit-gradient(linear,left bottom,left top,from(#282828),color-stop(0.52,rgba(40,40,40,0)),color-stop(0.48,rgba(40,40,40,0)),to(#282828));background:-moz-linear-gradient(#282828 0,rgba(40,40,40,0) 52%,rgba(40,40,40,0) 48%,#282828 100%);background:-o-linear-gradient(#282828 0,rgba(40,40,40,0) 52%,rgba(40,40,40,0) 48%,#282828 100%)}.android-ics .dw .dwwb{background:#292829;box-shadow:none;-webkit-box-shadow:none}.android-ics .dwwb span{display:none}.android-ics .dwwb:after{position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px;color:#7e7e7e;width:0;height:0;border-width:8px;border-style:solid;content:''}.android-ics .dwwbm{top:0;bottom:auto}.android-ics .dwwbp{bottom:0;top:auto}.android-ics .dwwbm:after{border-color:transparent transparent #7e7e7e}.android-ics .dwwbp:after{border-color:#7e7e7e transparent transparent}.android-ics .dw .dwwl .dwb-a{background:#292829}.android-ics .dwwbm.dwb-a:after{border-color:transparent transparent #319abd}.android-ics .dwwbp.dwb-a:after{border-color:#319abd transparent transparent}.android-ics .dw .dwwol{width:60%;left:20%;height:36px;border-top:2px solid #31b6e7;border-bottom:2px solid #31b6e7;margin-top:-20px;display:block}.android-ics .dwbc{border-top:1px solid #424542;padding:0}.android-ics .dw .dwb{height:36px;line-height:36px;padding:0;margin:0;font-weight:400;text-shadow:none;box-shadow:none;border-radius:0;-webkit-border-radius:0;-webkit-box-shadow:none}.android-ics .dw .dwb-a{background:#29799c}.android-ics .dwb-n .dwb,.android-ics .dwb-s .dwb{border-right:1px solid #424542}.android-ics.dw-bottom .dw,.android-ics.dw-top .dw{border-radius:0;-webkit-border-radius:0}.android-ics .dwwms .dwwol{display:none}.android-ics .dwwms .dw-li{padding-left:5px;padding-right:36px}.android-ics .dwwms .dw-li:after{content:'';position:absolute;top:50%;left:auto;right:10px;width:14px;height:14px;margin-top:-9px;color:#31b6e7;line-height:14px;border:1px solid #424542;text-shadow:0 0 5px #29799c}.android-ics .dwwms .dw-msel:after{content:'✔'}.android-ics.light .dw{background:#f5f5f5}.android-ics.light .dww .dw-li{color:#000}.android-ics.light .dwwo{background:linear-gradient(#f5f5f5 0,rgba(245,245,245,0) 52%,rgba(245,245,245,0) 48%,#f5f5f5 100%);background:-webkit-gradient(linear,left bottom,left top,from(#f5f5f5),color-stop(0.52,rgba(245,245,245,0)),color-stop(0.48,rgba(245,245,245,0)),to(#f5f5f5));background:-moz-linear-gradient(#f5f5f5 0,rgba(245,245,245,0) 52%,rgba(245,245,245,0) 48%,#f5f5f5 100%);background:-o-linear-gradient(#f5f5f5 0,rgba(245,245,245,0) 52%,rgba(245,245,245,0) 48%,#f5f5f5 100%)}.android-ics.light .dw .dwwb{background:#f5f5f5;color:#f5f5f5}.android-ics.light .dwbc{border-top:1px solid #dbdbdb}.android-ics.light .dwb{color:#000}.android-ics.light .dwb-a{color:#fff}.android-ics.light .dwb-n .dwb,.android-ics.light .dwb-s .dwb{border-right:1px solid #dbdbdb}.android-ics .dw-bubble-bottom .dw-arr{border-color:transparent transparent #292829}.android-ics .dw-bubble-top .dw-arr{border-color:#292829 transparent transparent}.android-ics.light .dw-bubble-bottom .dw-arr{border-color:transparent transparent #f5f5f5}.android-ics.light .dw-bubble-top .dw-arr{border-color:#f5f5f5 transparent transparent}.android-ics.light .dwwms .dw-li:after{text-shadow:0 0 5px #31b6e7}.ios .dw{min-width:134px;padding:0;border:1px solid #2d3034;background:0 0;color:#fff;border-radius:0;-webkit-border-radius:0}.ios .dwo{background:0 0}.ios .dwwr{position:relative;margin-top:40px;background:#50515d;background:linear-gradient(#9f9fa6,#484a55 50%,#272836 50%,#282a39);background:-webkit-gradient(linear,left top,left bottom,from(#9f9fa6),color-stop(0.5,#484a55),color-stop(0.5,#272836),to(#282a39));background:-webkit-linear-gradient(#9f9fa6,#484a55 50%,#272836 50%,#282a39);background:-moz-linear-gradient(#9f9fa6,#484a55 50%,#272836 50%,#282a39)}.ios .dwi .dwwr{margin-top:0}.ios .dwv{display:none}.ios .dwc{padding:30px 2px;margin:0}.ios .dwhl{padding:10px 2px}.ios .dwwc{background:0 0}.ios .dwwl{margin:4px 0;border-left:1px solid #000;border-right:1px solid #000;background:#cbcce0;background:linear-gradient(#2c2c38 0,#cbcce0 35%,#cbcce0 65%,#2c2c38 100%);background:-webkit-gradient(linear,left bottom,left top,from(#2c2c38),color-stop(0.35,#cbcce0),color-stop(0.65,#cbcce0),to(#2c2c38));background:-webkit-linear-gradient(#2c2c38 0,#cbcce0 35%,#cbcce0 65%,#2c2c38 100%);background:-moz-linear-gradient(#2c2c38 0,#cbcce0 35%,#cbcce0 65%,#2c2c38 100%);box-shadow:0 1px 1px rgba(255,255,255,.3);-webkit-box-shadow:0 1px 1px rgba(255,255,255,.3)}.ios td:first-child .dwwl{border-top-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;-webkit-border-bottom-left-radius:3px}.ios td:last-child .dwwl{border-top-right-radius:3px;border-bottom-right-radius:3px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px}.ios .dwsc .dwwl{border-radius:0;-webkit-border-radius:0}.ios .dwsc .dww{background:#fff;background:linear-gradient(#333 0,#999 10%,#fff 30%,#fff 70%,#999 90%,#333 100%);background:-webkit-gradient(linear,left bottom,left top,from(#333),color-stop(0.1,#999),color-stop(0.3,#fff),color-stop(0.7,#fff),color-stop(0.9,#999),to(#333));background:-webkit-linear-gradient(#333 0,#999 10%,#fff 30%,#fff 70%,#999 90%,#333 100%);background:-moz-linear-gradient(#333 0,#999 10%,#fff 30%,#fff 70%,#999 90%,#333 100%);border-radius:0;-webkit-border-radius:0}.ios .dw .dwpm .dww{background:linear-gradient(#333,#fff 48%,#fff 52%,#333);background:-webkit-gradient(linear,left bottom,left top,from(#333),color-stop(0.48,#fff),color-stop(0.52,#fff),to(#333));background:-webkit-linear-gradient(#333 0,#fff 48%,#fff 52%,#333 100%);background:-moz-linear-gradient(#333 0,#fff 48%,#fff 52%,#333 100%)}.ios .dw .dwpm .dwwl{margin:4px 2px;border:1px solid #000}.ios .dw .dwpm .dww{margin:0;border:0}.ios .dww .dw-li{color:#000;font-size:20px;font-weight:700;text-align:right;text-shadow:none}.ios .dww .dw-li.dw-hl{background:linear-gradient(#0288f3,#005de6);background:-webkit-gradient(linear,left bottom,left top,from(#0288f3),to(#005de6));background:-webkit-linear-gradient(#0288f3,#005de6);background:-moz-linear-gradient(#0288f3,#005de6);color:#fff}.ios .dwwo{background:linear-gradient(#333 0,rgba(153,153,153,0) 10%,rgba(153,153,153,0) 90%,#333 100%);background:-webkit-gradient(linear,left bottom,left top,from(#333),color-stop(0.1,rgba(153,153,153,0)),color-stop(0.9,rgba(153,153,153,0)),to(#333));background:-webkit-linear-gradient(#333 0,rgba(153,153,153,0) 10%,rgba(153,153,153,0) 90%,#333 100%);background:-moz-linear-gradient(#333 0,rgba(153,153,153,0) 10%,rgba(153,153,153,0) 90%,#333 100%)}.ios .dwwol{height:28px;padding:1px;margin-top:-16px;border-color:#7b8699;background:#6f75b0;background:linear-gradient(rgba(151,157,197,.5) 50%,rgba(111,117,176,.5) 50%);background:-webkit-gradient(linear,left bottom,left top,color-stop(0.5,rgba(111,117,176,.5)),color-stop(0.5,rgba(151,157,197,.5)));background:-webkit-linear-gradient(rgba(151,157,197,.5) 50%,rgba(111,117,176,.5) 50%);background:-moz-linear-gradient(rgba(151,157,197,.5) 50%,rgba(111,117,176,.5) 50%);z-index:10;left:-1px;box-shadow:0 1px 3px rgba(0,0,0,.5);-webkit-box-shadow:0 1px 3px rgba(0,0,0,.5);filter:alpha(opacity=50)}.ios .dww .dwwol{display:none}.ios .dw .dwbc{position:absolute;top:-40px;left:0;width:100%;height:28px;padding:5px 0;background:#454545;background:linear-gradient(rgba(69,69,69,.7),rgba(37,37,37,.7) 50%,rgba(16,16,16,.7) 50%,rgba(0,0,0,.7));background:-webkit-gradient(linear,left top,left bottom,from(rgba(69,69,69,.7)),color-stop(0.5,rgba(37,37,37,.7)),color-stop(0.5,rgba(16,16,16,.7)),to(rgba(0,0,0,.7)));background:-webkit-linear-gradient(rgba(69,69,69,.7),rgba(37,37,37,.7) 50%,rgba(16,16,16,.7) 50%,rgba(0,0,0,.7));background:-moz-linear-gradient(rgba(69,69,69,.7),rgba(37,37,37,.7) 50%,rgba(16,16,16,.7) 50%,rgba(0,0,0,.7));border-bottom:1px solid #888;border-bottom:1px solid rgba(255,255,255,.5);border-top:1px solid #888;border-top:1px solid rgba(255,255,255,.5)}.ios .dw .dwb{margin:0 5px;padding:0 10px;display:inline-block;font-size:12px;height:26px;line-height:26px;border:1px solid #1f1f1f;background:#1a1a1a;background:linear-gradient(#7b7b7b,#1a1a1a 50%,#000 50%);background:-webkit-gradient(linear,left top,left bottom,from(#7b7b7b),color-stop(0.5,#1a1a1a),color-stop(0.5,#000));background:-webkit-linear-gradient(#7b7b7b,#1a1a1a 50%,#000 50%);background:-moz-linear-gradient(#7b7b7b,#1a1a1a 50%,#000 50%);box-shadow:0 1px 0 rgba(255,255,255,.3);-webkit-box-shadow:0 1px 0 rgba(255,255,255,.3)}.ios .dwb-s .dwb{border:1px solid #194aab;background:#194aab;background:linear-gradient(#82aaff,#3162c4 50%,#194aab 50%);background:-webkit-gradient(linear,left top,left bottom,from(#82aaff),color-stop(0.5,#3162c4),color-stop(0.5,#194aab));background:-webkit-linear-gradient(#82aaff,#3162c4 50%,#194aab 50%);background:-moz-linear-gradient(#82aaff,#3162c4 50%,#194aab 50%)}.ios .dwb-a{opacity:.8;filter:alpha(opacity=80)}.ios .dw .dwwb{color:#fff;border:0;background:#3f4e68;background:linear-gradient(#c7d1e2 0,#808ea6 50%,#75859f 50%,#3f4e68 100%);background:-webkit-gradient(linear,left bottom,left top,from(#3f4e68),color-stop(0.5,#75859f),color-stop(0.5,#808ea6),to(#c7d1e2));background:-webkit-linear-gradient(#c7d1e2 0,#808ea6 50%,#75859f 50%,#3f4e68 100%);background:-moz-linear-gradient(#c7d1e2 0,#808ea6 50%,#75859f 50%,#3f4e68 100%)}.ios .dw .dwwl .dwb-a{background:#252c36;background:linear-gradient(#6b6e75 0,#272e38 50%,#171e28 50%,#252c36 100%);background:-webkit-gradient(linear,left bottom,left top,from(#252c36),color-stop(0.5,#171e28),color-stop(0.5,#272e38),to(#6b6e75));background:-webkit-linear-gradient(#6b6e75 0,#272e38 50%,#171e28 50%,#252c36 100%);background:-moz-linear-gradient(#6b6e75 0,#272e38 50%,#171e28 50%,#252c36 100%)}.ios .dwb-n,.ios .dwb-s{width:auto;float:right;text-align:right}.ios .dwb-c{width:auto;float:left;text-align:left}.ios.dw-bubble .dw{padding:6px;background:#afafaf;background:linear-gradient(#afafaf,#1b2530 30%);background:-webkit-gradient(linear,left top,left bottom,from(#afafaf),color-stop(0.3,#1b2530));background:-webkit-linear-gradient(#afafaf,#1b2530 30%);background:-moz-linear-gradient(#afafaf,#1b2530 30%);box-shadow:0 0 25px rgba(0,0,0,.7);border-radius:5px;-webkit-border-radius:5px;-webkit-box-shadow:0 0 25px rgba(0,0,0,.7)}.ios .dw-bubble-bottom .dw-arr{border-color:transparent transparent #2d3034}.ios .dw-bubble-bottom .dw-arr:after{content:'';position:absolute;top:-16px;left:-17px;border:17px solid #afafaf;border-color:transparent transparent #afafaf}.ios .dw-bubble-top .dw-arr{border-color:#1b2530 transparent transparent}.ios .dwwms .dwwol{display:none}.ios .dwwms .dw-li{padding:0 5px 0 30px;text-align:left}.ios .dw-msel:after{width:30px}.ios .dww .dw-msel{color:#215085}.sense-ui .dw{padding:0;background:#333;border:2px solid #fff;color:#fff}.sense-ui .dwwr{padding:0}.sense-ui .dwv{padding:5px 10px;border-bottom:1px solid #666;text-align:left}.sense-ui .dwwc{background:#333}.sense-ui .dw .dwpm .dww,.sense-ui .dw .dwpm .dwwl{background:#fff;border:0;padding:0}.sense-ui .dwbc{padding:5px 1px;background:#000;background:linear-gradient(#666 50%,#000 50%);background:-webkit-gradient(linear,left bottom,left top,color-stop(0.5,#000),color-stop(0.5,#666));background:-moz-linear-gradient(#666 50%,#000 50%);background:-o-linear-gradient(#666 50%,#000 50%)}.sense-ui .dw .dwb{margin:0 5px;border:1px solid #333;background:#222;background:linear-gradient(#444,#000);background:-webkit-gradient(linear,left bottom,left top,from(#000),to(#444));background:-moz-linear-gradient(#444,#000);background:-o-linear-gradient(#444,#000);box-shadow:inset 0 0 5px #000}.sense-ui .dw .dwb-a{background:#3c7500;background:linear-gradient(#94c840,#3c7500);background:-webkit-gradient(linear,left bottom,left top,from(#3c7500),to(#94c840));background:-moz-linear-gradient(#94c840,#3c7500);background:-o-linear-gradient(#94c840,#3c7500)}.sense-ui.dw-top .dw{border:0;border-radius:0;-webkit-border-radius:0}.sense-ui.dw-bottom .dw{border:0;border-top:1px solid #666;border-radius:0;-webkit-border-radius:0}.wp .dw{background:#1f1f1f;border-radius:0;-webkit-border-radius:0}.wp .dwwr{padding:10px}.wp .dwv{display:none}.wp .dwc{padding:30px 0 0;vertical-align:middle}.wp .dwhl{padding:0}.wp .dwwc{padding:3px;background:0 0}.wp .dwwl{margin:0;padding:0 2px;background:0 0}.wp .dwl{color:#fff}.wp .dw .dwwl .dww{background:0 0;border:0;color:#fff}.wp .dw-li{position:relative;padding:0;font-size:26px;letter-spacing:-1px;text-align:left;text-shadow:none;opacity:0;box-sizing:border-box;filter:Alpha(Opacity=0);-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.wp .dw-i{position:relative;top:4%;height:92%;padding:0 5px;border:1px solid #4c4c4c;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;filter:inherit}.wp .dwa .dw-li,.wp .wpa .dw-li{opacity:.3;filter:Alpha(Opacity=30)}.wp .dwa .dw-v,.wp .wpa .dw-v,.wp .wpam .dw-v{opacity:1;filter:Alpha(Opacity=100)}.wp .dw-day,.wp .dw-mon{display:block;color:#a9a9a9;line-height:18px;font-size:11px;letter-spacing:normal;position:absolute;bottom:0;filter:inherit}.wp .dw-sel{opacity:1;filter:Alpha(Opacity=100)}.wp .dw .dw-sel .dw-i{color:#fff;background:#4c4c4c}.wp .dw-sel .dw-day,.wp .dw-sel .dw-mon{color:#fff}.wp .dw-hl{background:0 0}.wp .dw-hl .dw-i{background:#4c4c4c}.wp .dwa .dww .dw-sel .dw-i{border:1px solid #4c4c4c;background-color:transparent}.wp .dwa .dw-day,.wp .dwa .dw-month{color:#a9a9a9}.wp .dwwo,.wp .dwwol{display:none}.wp .dwbc{padding:0}.wp .dwbw{float:none;width:auto}.wp .dw .dwb{position:relative;top:0;min-width:32px;display:inline-block;height:20px;padding:29px 5px 0;background:0 0;box-shadow:none;line-height:20px;font-size:11px;font-weight:400;text-transform:lowercase;text-shadow:none;transition:top .1s linear;-webkit-box-shadow:none;-webkit-transition:top .1s linear;-moz-transition:top .1s linear}.wp .dwb:after{content:'';position:absolute;top:3px;left:50%;width:26px;height:26px;margin:0 -13px;background:url(wp_icons.png) center center no-repeat}.wp .dwb-s .dwb:after{background-position:0 0}.wp .dwb-c .dwb:after{background-position:-26px 0}.wp .dwb-n .dwb:after{background-position:-52px 0}.wp .dwb-s .dwb-a:after{background-position:0 -26px}.wp .dwb-c .dwb-a:after{background-position:-26px -26px}.wp .dwb-n .dwb-a:after{background-position:-52px -26px}.wp .dwb.dwb-a{top:-3px}.wp .dw .dwwl .dwb-a{background:#1f1f1f}.wp .dw .dwpm .dwwl{border:0}.wp .dw .dwwb{background:#1f1f1f;border-radius:0;box-shadow:none;box-sizing:border-box;color:#a9a9a9;-webkit-box-shadow:none;-webkit-border-radius:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.wp .dwwb span{position:absolute;top:50%;left:50%;width:26px;height:0;padding-top:26px;overflow:hidden;margin:-13px;display:block;background:url(wp_icons.png) center center no-repeat}.wp .dwwbp span{background-position:-78px 0}.wp .dwwbp.dwb-a span{background-position:-78px -26px}.wp .dwwbm span{background-position:-104px 0}.wp .dwwbm.dwb-a span{background-position:-104px -26px}.wp .dw-bubble-bottom .dw-arr{border-color:transparent transparent #1f1f1f}.wp .dw-bubble-top .dw-arr{border-color:#1f1f1f transparent transparent}.wp .dwwms .dw-li{opacity:.3;filter:Alpha(Opacity=30);padding:0 0 0 30px}.wp .dwwms .dw-v{opacity:1;filter:Alpha(Opacity=100)}.wp .dwc .dwwms .dw-hl .dw-i,.wp .dwc .dwwms .dw-i,.wp .dwc .dwwms .dw-sel .dw-i,.wp .dwc .dwwms.dwa .dw-sel .dw-i{border:0;background:0 0}.wp .dwwms .dw-li:after{content:'';position:absolute;top:50%;left:5px;width:20px;height:20px;margin-top:-10px;font-size:18px;line-height:20px;background:#4c4c4c;color:#fff}.wp .dwwms .dw-msel:after{content:'✔'}.wp.light .dw{background:#dedede}.wp.light .dwb,.wp.light .dwl,.wp.light .dwv{color:#000}.wp.light .dw-li{color:#6b6b6b}.wp.light .dw-i{border-color:#b5b5b5}.wp.light .dw-sel .dw-i{background:#b5b5b5}.wp.light .dw-hl .dw-i{color:#fff;background:#b5b5b5}.wp.light .dw-day,.wp.light .dw-mon{color:#6b6b6b}.wp.light .dw-sel .dw-day,.wp.light .dw-sel .dw-mon{color:#fff}.wp.light .dw .dwa .dw-sel .dw-i{color:#6b6b6b;border:1px solid #b5b5b5;background-color:transparent}.wp.light .dw .dwc .dwa .dw-day,.wp.light .dw .dwc .dwa .dw-mon{color:#6b6b6b}.wp.light .dwb:after{background-image:url(wp_icons_light.png)}.wp.light .dw .dwwb{background:#dedede}.wp.light .dwwb span{background-image:url(wp_icons_light.png)}.wp.light .dw-bubble-bottom .dw-arr{border-color:transparent transparent #dedede}.wp.light .dw-bubble-top .dw-arr{border-color:#dedede transparent transparent}.wp.light .dwc .dwwms .dw-i,.wp.light .dwwms.dwa .dw-sel .dw-i{border:0;background:0 0;color:#000}.wp.light .dwwms .dw-li:after{background:#b5b5b5}.wp.light .wp-none .dw-hl .dw-i,.wp.light .wp-none .dw-sel .dw-i,.wp.light .wp-none .dwwms .dw-li:after{color:#000}.wp.light .wp-none .dw-day,.wp.light .wp-none .dw-mon{color:#6b6b6b}.wp .wp-lime .dw-hl .dw-i,.wp .wp-lime .dw-sel .dw-i,.wp .wp-lime .dwwms .dw-li:after{background:#a4c400;border-color:#a4c400}.wp .wp-green .dw-hl .dw-i,.wp .wp-green .dw-sel .dw-i,.wp .wp-green .dwwms .dw-li:after{background:#60a917;border-color:#60a917}.wp .wp-emerald .dw-hl .dw-i,.wp .wp-emerald .dw-sel .dw-i,.wp .wp-emerald .dwwms .dw-li:after{background:#008a00;border-color:#008a00}.wp .wp-teal .dw-hl .dw-i,.wp .wp-teal .dw-sel .dw-i,.wp .wp-teal .dwwms .dw-li:after{background:#00aba9;border-color:#00aba9}.wp .wp-cyan .dw-hl .dw-i,.wp .wp-cyan .dw-sel .dw-i,.wp .wp-cyan .dwwms .dw-li:after{background:#1ba1e2;border-color:#1ba1e2}.wp .wp-cobalt .dw-hl .dw-i,.wp .wp-cobalt .dw-sel .dw-i,.wp .wp-cobalt .dwwms .dw-li:after{background:#0050ef;border-color:#0050ef}.wp .wp-indigo .dw-hl .dw-i,.wp .wp-indigo .dw-sel .dw-i,.wp .wp-indigo .dwwms .dw-li:after{background:#6a00ff;border-color:#6a00ff}.wp .wp-violet .dw-hl .dw-i,.wp .wp-violet .dw-sel .dw-i,.wp .wp-violet .dwwms .dw-li:after{background:#a0f;border-color:#a0f}.wp .wp-pink .dw-hl .dw-i,.wp .wp-pink .dw-sel .dw-i,.wp .wp-pink .dwwms .dw-li:after{background:#f472d0;border-color:#f472d0}.wp .wp-magenta .dw-hl .dw-i,.wp .wp-magenta .dw-sel .dw-i,.wp .wp-magenta .dwwms .dw-li:after{background:#d80073;border-color:#d80073}.wp .wp-crimson .dw-hl .dw-i,.wp .wp-crimson .dw-sel .dw-i,.wp .wp-crimson .dwwms .dw-li:after{background:#a20025;border-color:#a20025}.wp .wp-red .dw-hl .dw-i,.wp .wp-red .dw-sel .dw-i,.wp .wp-red .dwwms .dw-li:after{background:#e51400;border-color:#e51400}.wp .wp-orange .dw-hl .dw-i,.wp .wp-orange .dw-sel .dw-i,.wp .wp-orange .dwwms .dw-li:after{background:#fa6800;border-color:#fa6800}.wp .wp-amber .dw-hl .dw-i,.wp .wp-amber .dw-sel .dw-i,.wp .wp-amber .dwwms .dw-li:after{background:#f0a30a;border-color:#f0a30a}.wp .wp-yellow .dw-hl .dw-i,.wp .wp-yellow .dw-sel .dw-i,.wp .wp-yellow .dwwms .dw-li:after{background:#d8c100;border-color:#d8c100}.wp .wp-brown .dw-hl .dw-i,.wp .wp-brown .dw-sel .dw-i,.wp .wp-brown .dwwms .dw-li:after{background:#825a2c;border-color:#825a2c}.wp .wp-olive .dw-hl .dw-i,.wp .wp-olive .dw-sel .dw-i,.wp .wp-olive .dwwms .dw-li:after{background:#6d8764;border-color:#6d8764}.wp .wp-steel .dw-hl .dw-i,.wp .wp-steel .dw-sel .dw-i,.wp .wp-steel .dwwms .dw-li:after{background:#647687;border-color:#647687}.wp .wp-mauve .dw-hl .dw-i,.wp .wp-mauve .dw-sel .dw-i,.wp .wp-mauve .dwwms .dw-li:after{background:#76608a;border-color:#76608a}.wp .wp-sienna .dw-hl .dw-i,.wp .wp-sienna .dw-sel .dw-i,.wp .wp-sienna .dwwms .dw-li:after{background:#7a3b3f;border-color:#7a3b3f}.dw-trans .dw-persp{overflow:hidden;perspective:1000px;-webkit-perspective:1000px;-moz-perspective:1000px}.dw-trans .dwwb,.dw-trans .dwwo{-webkit-backface-visibility:hidden}.dw-in,.dw-out{animation-duration:350ms;-webkit-animation-duration:350ms;-moz-animation-duration:350ms}.dw-in{animation-timing-function:ease-out;-webkit-animation-timing-function:ease-out;-moz-animation-timing-function:ease-out}.dw-out{animation-timing-function:ease-in;-webkit-animation-timing-function:ease-in;-moz-animation-timing-function:ease-in}.dw-fade,.dw-flip,.dw-slidedown,.dw-slidehorizontal,.dw-slideup,.dw-slidevertical,.dw-swing{backface-visibility:hidden;transform:translateX(0);-webkit-backface-visibility:hidden;-webkit-transform:translateX(0);-moz-backface-visibility:hidden;-moz-transform:translateX(0)}.dw-fade,.dw-slidedown,.dw-slidehorizontal,.dw-slideup,.dw-slidevertical,.dw-swing{transform-origin:0 0;-webkit-transform-origin:0 0;-moz-transform-origin:0 0}.dw-flip,.dw-pop{transform-origin:50% 50%;-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%}.dw-pop.dw-in{opacity:1;transform:scale(1);animation-name:dw-p-in;-webkit-animation-name:dw-p-in;-webkit-transform:scale(1);-moz-animation-name:dw-p-in;-moz-transform:scale(1)}.dw-pop.dw-out{opacity:0;animation-name:dw-p-out;-webkit-animation-name:dw-p-out;-moz-animation-name:dw-p-out}.dw-flip.dw-in{opacity:1;transform:scale(1);animation-name:dw-fl-in;-webkit-animation-name:dw-fl-in;-webkit-transform:scale(1);-moz-animation-name:dw-fl-in;-moz-transform:scale(1)}.dw-flip.dw-out{opacity:0;animation-name:dw-fl-out;-webkit-animation-name:dw-fl-out;-moz-animation-name:dw-fl-out}.dw-swing.dw-in{opacity:1;transform:scale(1);animation-name:dw-sw-in;-webkit-animation-name:dw-sw-in;-webkit-transform:scale(1);-moz-animation-name:dw-sw-in;-moz-transform:scale(1)}.dw-swing.dw-out{opacity:0;animation-name:dw-sw-out;-webkit-animation-name:dw-sw-out;-moz-animation-name:dw-sw-out}.dw-slidehorizontal.dw-in{opacity:1;transform:scale(1);animation-name:dw-sh-in;-webkit-animation-name:dw-sh-in;-webkit-transform:scale(1);-moz-animation-name:dw-sh-in;-moz-transform:scale(1)}.dw-slidehorizontal.dw-out{opacity:0;animation-name:dw-sh-out;-webkit-animation-name:dw-sh-out;-moz-animation-name:dw-sh-out}.dw-slidevertical.dw-in{opacity:1;animation-name:dw-dw-sv-in;transform:scale(1);-webkit-animation-name:dw-dw-sv-in;-webkit-transform:scale(1);-moz-animation-name:dw-dw-sv-in;-moz-transform:scale(1)}.dw-slidevertical.dw-out{opacity:0;animation-name:dw-sv-out;-webkit-animation-name:dw-sv-out;-moz-animation-name:dw-sv-out}.dw-slidedown.dw-in{animation-name:dw-sd-in;transform:scale(1);-webkit-animation-name:dw-sd-in;-webkit-transform:scale(1);-moz-animation-name:dw-sd-in;-moz-transform:scale(1)}.dw-slidedown.dw-out{animation-name:dw-sd-out;-webkit-animation-name:dw-sd-out;-moz-animation-name:dw-sd-out}.dw-slideup.dw-in{transform:scale(1);animation-name:dw-su-in;-webkit-animation-name:dw-su-in;-webkit-transform:scale(1);-moz-animation-name:dw-su-in;-moz-transform:scale(1)}.dw-slideup.dw-out{animation-name:dw-su-out;-webkit-animation-name:dw-su-out;-moz-animation-name:dw-su-out}.dw-fade.dw-in{opacity:1;animation-name:dw-f-in;-webkit-animation-name:dw-f-in;-moz-animation-name:dw-f-in}.dw-fade.dw-out{opacity:0;animation-name:dw-f-out;-webkit-animation-name:dw-f-out;-moz-animation-name:dw-f-out}@keyframes dw-f-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes dw-f-in{from{opacity:0}to{opacity:1}}@-moz-keyframes dw-f-in{from{opacity:0}to{opacity:1}}@keyframes dw-f-out{from{opacity:1}to{opacity:0}}@-webkit-keyframes dw-f-out{from{opacity:1}to{opacity:0}}@-moz-keyframes dw-f-out{from{opacity:1}to{opacity:0}}@keyframes dw-p-in{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:scale(1)}}@-webkit-keyframes dw-p-in{from{opacity:0;-webkit-transform:scale(0.8)}to{opacity:1;-webkit-transform:scale(1)}}@-moz-keyframes dw-p-in{from{opacity:0;-moz-transform:scale(0.8)}to{opacity:1;-moz-transform:scale(1)}}@keyframes dw-p-out{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0.8)}}@-webkit-keyframes dw-p-out{from{opacity:1;-webkit-transform:scale(1)}to{opacity:0;-webkit-transform:scale(0.8)}}@-moz-keyframes dw-p-out{from{opacity:1;-moz-transform:scale(1)}to{opacity:0;-moz-transform:scale(0.8)}}@keyframes dw-fl-in{from{opacity:0;transform:rotateY(90deg)}to{opacity:1;transform:rotateY(0)}}@-webkit-keyframes dw-fl-in{from{opacity:0;-webkit-transform:rotateY(90deg)}to{opacity:1;-webkit-transform:rotateY(0)}}@-moz-keyframes dw-fl-in{from{opacity:0;-moz-transform:rotateY(90deg)}to{opacity:1;-moz-transform:rotateY(0)}}@keyframes dw-fl-out{from{opacity:1;transform:rotateY(0deg)}to{opacity:0;transform:rotateY(-90deg)}}@-webkit-keyframes dw-fl-out{from{opacity:1;-webkit-transform:rotateY(0deg)}to{opacity:0;-webkit-transform:rotateY(-90deg)}}@-moz-keyframes dw-fl-out{from{opacity:1;-moz-transform:rotateY(0deg)}to{opacity:0;-moz-transform:rotateY(-90deg)}}@keyframes dw-sw-in{from{opacity:0;transform:rotateY(-90deg)}to{opacity:1;transform:rotateY(0deg)}}@-webkit-keyframes dw-sw-in{from{opacity:0;-webkit-transform:rotateY(-90deg)}to{opacity:1;-webkit-transform:rotateY(0deg)}}@-moz-keyframes dw-sw-in{from{opacity:0;-moz-transform:rotateY(-90deg)}to{opacity:1;-moz-transform:rotateY(0deg)}}@keyframes dw-sw-out{from{opacity:1;transform:rotateY(0deg)}to{opacity:0;transform:rotateY(-90deg)}}@-webkit-keyframes dw-sw-out{from{opacity:1;-webkit-transform:rotateY(0deg)}to{opacity:0;-webkit-transform:rotateY(-90deg)}}@-moz-keyframes dw-sw-out{from{opacity:1;-moz-transform:rotateY(0deg)}to{opacity:0;-moz-transform:rotateY(-90deg)}}@keyframes dw-sh-in{from{opacity:0;transform:translateX(-100%)}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes dw-sh-in{from{opacity:0;-webkit-transform:translateX(-100%)}to{opacity:1;-webkit-transform:translateX(0)}}@-moz-keyframes dw-sh-in{from{opacity:0;-moz-transform:translateX(-100%)}to{opacity:1;-moz-transform:translateX(0)}}@keyframes dw-sh-out{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(100%)}}@-webkit-keyframes dw-sh-out{from{opacity:1;-webkit-transform:translateX(0)}to{opacity:0;-webkit-transform:translateX(100%)}}@-moz-keyframes dw-sh-out{from{opacity:1;-moz-transform:translateX(0)}to{opacity:0;-moz-transform:translateX(100%)}}@keyframes dw-dw-sv-in{from{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes dw-dw-sv-in{from{opacity:0;-webkit-transform:translateY(-100%)}to{opacity:1;-webkit-transform:translateY(0)}}@-moz-keyframes dw-dw-sv-in{from{opacity:0;-moz-transform:translateY(-100%)}to{opacity:1;-moz-transform:translateY(0)}}@keyframes dw-sv-out{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(100%)}}@-webkit-keyframes dw-sv-out{from{opacity:1;-webkit-transform:translateY(0)}to{opacity:0;-webkit-transform:translateY(100%)}}@-moz-keyframes dw-sv-out{from{opacity:1;-moz-transform:translateY(0)}to{opacity:0;-moz-transform:translateY(100%)}}@keyframes dw-sd-in{from{transform:translateY(-100%)}to{transform:translateY(0)}}@-webkit-keyframes dw-sd-in{from{opacity:1;-webkit-transform:translateY(-100%)}to{opacity:1;-webkit-transform:translateY(0)}}@-moz-keyframes dw-sd-in{from{-moz-transform:translateY(-100%)}to{-moz-transform:translateY(0)}}@keyframes dw-sd-out{from{transform:translateY(0)}to{transform:translateY(-100%)}}@-webkit-keyframes dw-sd-out{from{opacity:1;-webkit-transform:translateY(0)}to{opacity:1;-webkit-transform:translateY(-100%)}}@-moz-keyframes dw-sd-out{from{-moz-transform:translateY(0)}to{-moz-transform:translateY(-100%)}}@keyframes dw-su-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@-webkit-keyframes dw-su-in{from{opacity:1;-webkit-transform:translateY(100%)}to{opacity:1;-webkit-transform:translateY(0)}}@-moz-keyframes dw-su-in{from{-moz-transform:translateY(100%)}to{-moz-transform:translateY(0)}}@keyframes dw-su-out{from{transform:translateY(0)}to{transform:translateY(100%)}}@-webkit-keyframes dw-su-out{from{opacity:1;-webkit-transform:translateY(0)}to{opacity:1;-webkit-transform:translateY(100%)}}@-moz-keyframes dw-su-out{from{-moz-transform:translateY(0)}to{-moz-transform:translateY(100%)}}\ No newline at end of filediff --git a/web/ext/date/mobiscroll-2.6.0/mobiscroll.min.js b/web/ext/date/mobiscroll-2.6.0/mobiscroll.min.jsdeleted file mode 100644index 697fde48b..000000000--- a/web/ext/date/mobiscroll-2.6.0/mobiscroll.min.js+++ /dev/null@@ -1 +0,0 @@-!function(a){function b(b,c){function d(b){if(a.isArray(jb.readonly)){var c=a(".dwwl",K).index(b);return jb.readonly[c]}return jb.readonly}function i(b){var c='<div class="dw-bf">',d=ob[b],e=d.values?d:h(d),f=1,g=e.values,i=e.keys||g;return a.each(g,function(a,b){f%20==0&&(c+='</div><div class="dw-bf">'),c+='<div class="dw-li dw-v" data-val="'+i[a]+'" style="height:'+I+"px;line-height:"+I+'px;"><div class="dw-i">'+b+"</div></div>",f++}),c+="</div>"}function l(b){_=a(".dw-li",b).index(a(".dw-v",b).eq(0)),ab=a(".dw-li",b).index(a(".dw-v",b).eq(-1)),cb=a(".dw-ul",K).index(b)}function m(a){var b=jb.headerText;return b?"function"==typeof b?b.call(hb,a):b.replace(/\{value\}/i,a):""}function n(){fb.temp=pb&&null!==fb.val&&fb.val!=ib.val()||null===fb.values?jb.parseValue(ib.val()||"",fb):fb.values.slice(0),G()}function q(b){var c,d,e=window.getComputedStyle?getComputedStyle(b[0]):b[0].style;return r?(a.each(["t","webkitT","MozT","OT","msT"],function(a,b){return void 0!==e[b+"ransform"]?(c=e[b+"ransform"],!1):void 0}),c=c.split(")")[0].split(", "),d=c[13]||c[5]):d=e.top.replace("px",""),Math.round(H-d/I)}function z(a,b){clearTimeout(lb[b]),delete lb[b],a.closest(".dwwl").removeClass("dwa")}function A(a,b,c,d,e){var f=(H-c)*I,g=a[0].style;f==nb[b]&&lb[b]||(d&&f!=nb[b]&&C("onAnimStart",[K,b,d]),nb[b]=f,g[t+"Transition"]="all "+(d?d.toFixed(3):0)+"s ease-out",r?g[t+"Transform"]="translate3d(0,"+f+"px,0)":g.top=f+"px",lb[b]&&z(a,b),d&&void 0!==e&&(a.closest(".dwwl").addClass("dwa"),lb[b]=setTimeout(function(){z(a,b)},1e3*d)),mb[b]=c)}function B(b,c,d,e,f){C("validate",[K,c,b])!==!1&&(a(".dw-ul",K).each(function(d){var g=a(this),h=a('.dw-li[data-val="'+fb.temp[d]+'"]',g),i=a(".dw-li",g),j=i.index(h),k=i.length,l=d==c||void 0===c;if(!h.hasClass("dw-v")){for(var m=h,n=h,o=0,p=0;j-o>=0&&!m.hasClass("dw-v");)o++,m=i.eq(j-o);for(;k>j+p&&!n.hasClass("dw-v");)p++,n=i.eq(j+p);(o>p&&p&&2!==e||!o||0>j-o||1==e)&&n.hasClass("dw-v")?(h=n,j+=p):(h=m,j-=o)}(!h.hasClass("dw-sel")||l)&&(fb.temp[d]=h.attr("data-val"),a(".dw-sel",g).removeClass("dw-sel"),h.addClass("dw-sel"),A(g,d,j,l?b:.1,l?f:!1))}),J=jb.formatResult(fb.temp),"inline"==jb.display?G(d,0,!0):a(".dwv",K).html(m(J)),d&&C("onChange",[J]))}function C(b,d){var e;return d.push(fb),a.each([S.defaults,kb,c],function(a,c){c[b]&&(e=c[b].apply(hb,d))}),e}function D(b,c,d,e,f){c=g(c,_,ab);var h=a(".dw-li",b).eq(c),i=void 0===f?c:f,j=cb,k=e?c==i?.1:Math.abs((c-i)*jb.timeUnit):0;fb.temp[j]=h.attr("data-val"),A(b,j,c,k,f),setTimeout(function(){B(k,j,!0,d,f)},10)}function E(a){var b=mb[cb]+1;D(a,b>ab?_:b,1,!0)}function F(a){var b=mb[cb]-1;D(a,_>b?ab:b,2,!0)}function G(a,b,c,d){qb&&!c&&B(b),J=jb.formatResult(fb.temp),d||(fb.values=fb.temp.slice(0),fb.val=J),a&&pb&&ib.val(J).trigger("change")}var H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,$,_,ab,bb,cb,db,eb,fb=this,gb=a.mobiscroll,hb=b,ib=a(hb),jb=u({},y),kb={},lb={},mb={},nb={},ob=[],pb=ib.is("input"),qb=!1,rb=function(b){!e(b)||j||d(this)||U||(b.preventDefault(),j=!0,V="clickpick"!=jb.mode,bb=a(".dw-ul",this),l(bb),W=void 0!==lb[cb],$=W?q(bb):mb[cb],X=f(b,"Y"),Y=new Date,Z=X,A(bb,cb,$,.001),V&&bb.closest(".dwwl").addClass("dwa"),a(document).bind(w,sb).bind(x,tb))},sb=function(a){V&&(a.preventDefault(),a.stopPropagation(),Z=f(a,"Y"),A(bb,cb,g($+(X-Z)/I,_-1,ab+1))),W=!0},tb=function(){var b,c,d,e=new Date-Y,f=g($+(X-Z)/I,_-1,ab+1),h=bb.offset().top;if(300>e?(b=(Z-X)/e,c=b*b/jb.speedUnit,0>Z-X&&(c=-c)):c=Z-X,d=Math.round($-c/I),!c&&!W){var i=Math.floor((Z-h)/I),k=a(".dw-li",bb).eq(i),l=V;C("onValueTap",[k])!==!1?d=i:l=!0,l&&(k.addClass("dw-hl"),setTimeout(function(){k.removeClass("dw-hl")},200))}V&&D(bb,d,0,!0,Math.round(f)),j=!1,bb=null,a(document).unbind(w,sb).unbind(x,tb)},ub=function(b){if(a(document).bind(x,vb),a(this).hasClass("dwb-d")||a(this).addClass("dwb-a"),a(this).hasClass("dwwb")){var c=a(this).closest(".dwwl");if(e(b)&&!d(c)&&!c.hasClass("dwa")){b.stopPropagation(),b.preventDefault(),U=!0;var f=c.find(".dw-ul"),g=a(this).hasClass("dwwbp")?E:F;l(f),clearInterval(db),db=setInterval(function(){g(f)},jb.delay),g(f)}}},vb=function(){U&&(clearInterval(db),U=!1),a(document).unbind(x,vb),a(".dwb-a",K).removeClass("dwb-a")},wb=function(b){if(!d(this)){b.preventDefault(),b=b.originalEvent;var c=b.wheelDelta?b.wheelDelta/120:b.detail?-b.detail/3:0,e=a(".dw-ul",this);l(e),D(e,Math.round(mb[cb]-c),0>c?1:2)}};fb.position=function(b){if(!("inline"==jb.display||L===a(window).width()&&N===a(window).height()&&b||C("onPosition",[K])===!1)){var c,d,e,f,h,i,j,k,l,m,n,o,p=0,q=0,r=a(window).scrollTop(),s=a(".dwwr",K),t=a(".dw",K),u={},v=void 0===jb.anchor?ib:jb.anchor;L=a(window).width(),N=a(window).height(),M=window.innerHeight,M=M||N,/modal|bubble/.test(jb.display)&&(a(".dwc",K).each(function(){c=a(this).outerWidth(!0),p+=c,q=c>q?c:q}),c=p>L?q:p,s.width(c).css("white-space",p>L?"":"nowrap")),O=t.outerWidth(),P=t.outerHeight(!0),"modal"==jb.display?(d=(L-O)/2,e=r+(M-P)/2):"bubble"==jb.display?(o=!0,l=a(".dw-arrw-i",K),i=v.offset(),j=i.top,k=i.left,f=v.outerWidth(),h=v.outerHeight(),d=k-(t.outerWidth(!0)-f)/2,d=d>L-O?L-(O+20):d,d=d>=0?d:20,e=j-P,r>e||j>r+M?(t.removeClass("dw-bubble-top").addClass("dw-bubble-bottom"),e=j+h):t.removeClass("dw-bubble-bottom").addClass("dw-bubble-top"),m=l.outerWidth(),n=k+f/2-(d+(O-m)/2),a(".dw-arr",K).css({left:g(n,0,m)})):(u.width="100%","top"==jb.display?e=r:"bottom"==jb.display&&(e=r+M-P)),u.top=0>e?0:e,u.left=d,t.css(u),a(".dw-persp",K).height(0).height(e+P>a(document).height()?e+P:a(document).height()),o&&(e+P>r+M||j>r+M)&&a(window).scrollTop(e+P-M)}},fb.enable=function(){jb.disabled=!1,pb&&ib.prop("disabled",!1)},fb.disable=function(){jb.disabled=!0,pb&&ib.prop("disabled",!0)},fb.setValue=function(b,c,d,e){fb.temp=a.isArray(b)?b.slice(0):jb.parseValue.call(hb,b+"",fb),G(c,d,!1,e)},fb.getValue=function(){return fb.values},fb.getValues=function(){var a,b=[];for(a in fb._selectedValues)b.push(fb._selectedValues[a]);return b},fb.changeWheel=function(b,c){if(K){var d=0,e=b.length;a.each(jb.wheels,function(f,g){return a.each(g,function(f,g){return a.inArray(d,b)>-1&&(ob[d]=g,a(".dw-ul",K).eq(d).html(i(d)),e--,!e)?(fb.position(),B(c,void 0,!0),!1):(d++,void 0)}),e?void 0:!1})}},fb.isVisible=function(){return qb},fb.tap=function(a,b){var c,d;jb.tap&&a.bind("touchstart",function(a){a.preventDefault(),c=f(a,"X"),d=f(a,"Y")}).bind("touchend",function(a){Math.abs(f(a,"X")-c)<20&&Math.abs(f(a,"Y")-d)<20&&b.call(this,a),k=!0,setTimeout(function(){k=!1},300)}),a.bind("click",function(a){k||b.call(this,a)})},fb.show=function(b){if(jb.disabled||qb)return!1;"top"==jb.display&&(Q="slidedown"),"bottom"==jb.display&&(Q="slideup"),n(),C("onBeforeShow",[]);var c=0,d="";Q&&!b&&(d="dw-"+Q+" dw-in");var e='<div class="'+jb.theme+" dw-"+jb.display+(s?" dw"+s:"")+'">'+("inline"==jb.display?'<div class="dw dwbg dwi"><div class="dwwr">':'<div class="dw-persp"><div class="dwo"></div><div class="dw dwbg '+d+'"><div class="dw-arrw"><div class="dw-arrw-i"><div class="dw-arr"></div></div></div><div class="dwwr">'+(jb.headerText?'<div class="dwv"></div>':""))+'<div class="dwcc">';a.each(jb.wheels,function(b,d){e+='<div class="dwc'+("scroller"!=jb.mode?" dwpm":" dwsc")+(jb.showLabel?"":" dwhl")+'"><div class="dwwc dwrc"><table cellpadding="0" cellspacing="0"><tr>',a.each(d,function(a,b){ob[c]=b,e+='<td><div class="dwwl dwrc dwwl'+c+'">'+("scroller"!=jb.mode?'<div class="dwb-e dwwb dwwbp" style="height:'+I+"px;line-height:"+I+'px;"><span>+</span></div><div class="dwb-e dwwb dwwbm" style="height:'+I+"px;line-height:"+I+'px;"><span>–</span></div>':"")+'<div class="dwl">'+(b.label||a)+'</div><div class="dwww"><div class="dww" style="height:'+jb.rows*I+"px;min-width:"+jb.width+'px;"><div class="dw-ul">',e+=i(c),e+='</div><div class="dwwol"></div></div><div class="dwwo"></div></div><div class="dwwol"></div></div></td>',c++}),e+="</tr></table></div></div>"}),e+="</div>"+("inline"!=jb.display?'<div class="dwbc'+(jb.button3?" dwbc-p":"")+'"><span class="dwbw dwb-s"><span class="dwb dwb-e">'+jb.setText+"</span></span>"+(jb.button3?'<span class="dwbw dwb-n"><span class="dwb dwb-e">'+jb.button3Text+"</span></span>":"")+'<span class="dwbw dwb-c"><span class="dwb dwb-e">'+jb.cancelText+"</span></span></div></div>":"")+"</div></div></div>",K=a(e),B(),C("onMarkupReady",[K]),"inline"!=jb.display?(K.appendTo("body"),Q&&!b&&(K.addClass("dw-trans"),setTimeout(function(){K.removeClass("dw-trans").find(".dw").removeClass(d)},350))):ib.is("div")?ib.html(K):K.insertAfter(ib),C("onMarkupInserted",[K]),qb=!0,S.init(K,fb),"inline"!=jb.display&&(fb.tap(a(".dwb-s span",K),function(){fb.hide(!1,"set")!==!1&&(G(!0,0,!0),C("onSelect",[fb.val]))}),fb.tap(a(".dwb-c span",K),function(){fb.cancel()}),jb.button3&&fb.tap(a(".dwb-n span",K),jb.button3),jb.scrollLock&&K.bind("touchmove",function(a){M>=P&&L>=O&&a.preventDefault()}),fb.position(),a(window).bind("orientationchange.dw resize.dw",function(){clearTimeout(R),R=setTimeout(function(){fb.position(!0)},100)})),K.delegate(".dwwl","DOMMouseScroll mousewheel",wb).delegate(".dwb-e",v,ub).delegate(".dwwl",v,rb),C("onShow",[K,J])},fb.hide=function(b,c){return qb&&C("onClose",[J,c])!==!1?(a(".dwtd").each(function(){a(this).prop("disabled",!1).removeClass("dwtd"),a(this).data("autocomplete")?a(this).attr("autocomplete",a(this).data("autocomplete")):a(this).removeAttr("autocomplete")}),ib.blur(),K&&("inline"!=jb.display&&Q&&!b?(K.addClass("dw-trans").find(".dw").addClass("dw-"+Q+" dw-out"),setTimeout(function(){K.remove(),K=null},350)):(K.remove(),K=null),qb=!1,nb={},a(window).unbind(".dw")),void 0):!1},fb.cancel=function(){fb.hide(!1,"cancel")!==!1&&C("onCancel",[fb.val])},fb.init=function(a){S=u({defaults:{},init:p},gb.themes[a.theme||jb.theme]),T=gb.i18n[a.lang||jb.lang],u(c,a),u(jb,S.defaults,T,c),fb.settings=jb,ib.unbind(".dw");var b=gb.presets[jb.preset];b&&(kb=b.call(hb,fb),u(jb,kb,c)),H=Math.floor(jb.rows/2),I=jb.height,Q=jb.animate,qb&&fb.hide(),"inline"==jb.display?fb.show():(n(),pb&&jb.showOnFocus&&(void 0===eb&&(eb=hb.readOnly),hb.readOnly=!0,ib.bind("focus.dw",function(){fb.show()})))},fb.trigger=function(a,b){return C(a,b)},fb.option=function(a,b){var c={};"object"==typeof a?c=a:c[a]=b,fb.init(c)},fb.destroy=function(){fb.hide(),ib.unbind(".dw"),delete o[hb.id],pb&&(hb.readOnly=eb)},fb.getInst=function(){return fb},fb.values=null,fb.val=null,fb.temp=null,fb._selectedValues={},fb.init(c)}function c(a){var b;for(b in a)if(void 0!==q[a[b]])return!0;return!1}function d(){var a,b=["Webkit","Moz","O","ms"];for(a in b)if(c([b[a]+"Transform"]))return"-"+b[a].toLowerCase();return""}function e(a){if("touchstart"===a.type)l=!0;else if(l)return l=!1,!1;return!0}function f(a,b){var c=a.originalEvent,d=a.changedTouches;return d||c&&c.changedTouches?c?c.changedTouches[0]["page"+b]:d[0]["page"+b]:a["page"+b]}function g(a,b,c){return Math.max(b,Math.min(a,c))}function h(b){var c={values:[],keys:[]};return a.each(b,function(a,b){c.keys.push(a),c.values.push(b)}),c}function i(a,c,d){var e=a;return"object"==typeof c?a.each(function(){this.id||(n+=1,this.id="mobiscroll"+n),o[this.id]=new b(this,c)}):("string"==typeof c&&a.each(function(){var a,b=o[this.id];return b&&b[c]&&(a=b[c].apply(this,Array.prototype.slice.call(d,1)),void 0!==a)?(e=a,!1):void 0}),e)}var j,k,l,m=new Date,n=m.getTime(),o={},p=function(){},q=document.createElement("modernizr").style,r=c(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]),s=d(),t=s.replace(/^\-/,"").replace("moz","Moz"),u=a.extend,v="touchstart mousedown",w="touchmove mousemove",x="touchend mouseup",y={width:70,height:40,rows:3,delay:300,disabled:!1,readonly:!1,showOnFocus:!0,showLabel:!0,wheels:[],theme:"",headerText:"{value}",display:"modal",mode:"scroller",preset:"",lang:"en-US",setText:"Set",cancelText:"Cancel",scrollLock:!0,tap:!0,speedUnit:.0012,timeUnit:.1,formatResult:function(a){return a.join(" ")},parseValue:function(b,c){var d,e=b.split(" "),f=[],g=0;return a.each(c.settings.wheels,function(b,c){a.each(c,function(b,c){c=c.values?c:h(c),d=c.keys||c.values,-1!==a.inArray(e[g],d)?f.push(e[g]):f.push(d[0]),g++})}),f}};a(document).bind("mouseover mouseup mousedown click",function(a){return k?(a.stopPropagation(),a.preventDefault(),!1):void 0}),a.fn.mobiscroll=function(b){return u(this,a.mobiscroll.shorts),i(this,b,arguments)},a.mobiscroll=a.mobiscroll||{setDefaults:function(a){u(y,a)},presetShort:function(a){this.shorts[a]=function(b){return i(this,u(b,{preset:a}),arguments)}},shorts:{},presets:{},themes:{},i18n:{}},a.scroller=a.scroller||a.mobiscroll,a.fn.scroller=a.fn.scroller||a.fn.mobiscroll}(jQuery),function(a){var b=a.mobiscroll,c=new Date,d={dateFormat:"mm/dd/yy",dateOrder:"mmddy",timeWheels:"hhiiA",timeFormat:"hh:ii A",startYear:c.getFullYear()-100,endYear:c.getFullYear()+1,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"],shortYearCutoff:"+10",monthText:"Month",dayText:"Day",yearText:"Year",hourText:"Hours",minuteText:"Minutes",secText:"Seconds",ampmText:" ",nowText:"Now",showNow:!1,stepHour:1,stepMinute:1,stepSecond:1,separator:" "},e=function(c){function e(a,b,c){return void 0!==D[b]?+a[D[b]]:void 0!==c?c:M[E[b]]?M[E[b]]():E[b](M)}function f(a,b,c,d){a.push({values:c,keys:b,label:d})}function g(a,b){return Math.floor(a/b)*b}function h(a){var b=a.getHours();return b=K&&b>=12?b-12:b,g(b,N)}function i(a){return g(a.getMinutes(),O)}function j(a){return g(a.getSeconds(),P)}function k(a){return J&&a.getHours()>11?1:0}function l(a){var b=e(a,"h",0);return new Date(e(a,"y"),e(a,"m"),e(a,"d",1),e(a,"a")?b+12:b,e(a,"i",0),e(a,"s",0))}var m,n=a(this),o={};if(n.is("input")){switch(n.attr("type")){case"date":m="yy-mm-dd";break;case"datetime":m="yy-mm-ddTHH:ii:ssZ";break;case"datetime-local":m="yy-mm-ddTHH:ii:ss";break;case"month":m="yy-mm",o.dateOrder="mmyy";break;case"time":m="HH:ii:ss"}var p=n.attr("min"),q=n.attr("max");p&&(o.minDate=b.parseDate(m,p)),q&&(o.maxDate=b.parseDate(m,q))}var r,s,t,u,v,w,x,y=a.extend({},c.settings),z=a.extend(c.settings,d,o,y),A=0,B=[],C=[],D={},E={y:"getFullYear",m:"getMonth",d:"getDate",h:h,i:i,s:j,a:k},F=z.preset,G=z.dateOrder,H=z.timeWheels,I=G.match(/D/),J=H.match(/a/i),K=H.match(/h/),L="datetime"==F?z.dateFormat+z.separator+z.timeFormat:"time"==F?z.timeFormat:z.dateFormat,M=new Date,N=z.stepHour,O=z.stepMinute,P=z.stepSecond,Q=z.minDate||new Date(z.startYear,0,1),R=z.maxDate||new Date(z.endYear,11,31,23,59,59);if(m=m||L,F.match(/date/i)){for(a.each(["y","m","d"],function(a,b){r=G.search(new RegExp(b,"i")),r>-1&&C.push({o:r,v:b})}),C.sort(function(a,b){return a.o>b.o?1:-1}),a.each(C,function(a,b){D[b.v]=a}),v=[],s=0;3>s;s++)if(s==D.y){for(A++,u=[],t=[],w=Q.getFullYear(),x=R.getFullYear(),r=w;x>=r;r++)t.push(r),u.push(G.match(/yy/i)?r:(r+"").substr(2,2));f(v,t,u,z.yearText)}else if(s==D.m){for(A++,u=[],t=[],r=0;12>r;r++){var S=G.replace(/[dy]/gi,"").replace(/mm/,9>r?"0"+(r+1):r+1).replace(/m/,r+1);t.push(r),u.push(S.match(/MM/)?S.replace(/MM/,'<span class="dw-mon">'+z.monthNames[r]+"</span>"):S.replace(/M/,'<span class="dw-mon">'+z.monthNamesShort[r]+"</span>"))}f(v,t,u,z.monthText)}else if(s==D.d){for(A++,u=[],t=[],r=1;32>r;r++)t.push(r),u.push(G.match(/dd/i)&&10>r?"0"+r:r);f(v,t,u,z.dayText)}B.push(v)}if(F.match(/time/i)){for(C=[],a.each(["h","i","s","a"],function(a,b){a=H.search(new RegExp(b,"i")),a>-1&&C.push({o:a,v:b})}),C.sort(function(a,b){return a.o>b.o?1:-1}),a.each(C,function(a,b){D[b.v]=A+a}),v=[],s=A;A+4>s;s++)if(s==D.h){for(A++,u=[],t=[],r=0;(K?12:24)>r;r+=N)t.push(r),u.push(K&&0==r?12:H.match(/hh/i)&&10>r?"0"+r:r);f(v,t,u,z.hourText)}else if(s==D.i){for(A++,u=[],t=[],r=0;60>r;r+=O)t.push(r),u.push(H.match(/ii/)&&10>r?"0"+r:r);f(v,t,u,z.minuteText)}else if(s==D.s){for(A++,u=[],t=[],r=0;60>r;r+=P)t.push(r),u.push(H.match(/ss/)&&10>r?"0"+r:r);f(v,t,u,z.secText)}else if(s==D.a){A++;var T=H.match(/A/);f(v,[0,1],T?["AM","PM"]:["am","pm"],z.ampmText)}B.push(v)}return c.setDate=function(a,b,d,e){var f;for(f in D)c.temp[D[f]]=a[E[f]]?a[E[f]]():E[f](a);c.setValue(c.temp,b,d,e)},c.getDate=function(a){return l(a?c.temp:c.values)},{button3Text:z.showNow?z.nowText:void 0,button3:z.showNow?function(){c.setDate(new Date,!1,.3,!0)}:void 0,wheels:B,headerText:function(){return b.formatDate(L,l(c.temp),z)},formatResult:function(a){return b.formatDate(m,l(a),z)},parseValue:function(a){var c,d=new Date,e=[];try{d=b.parseDate(m,a,z)}catch(f){}for(c in D)e[D[c]]=d[E[c]]?d[E[c]]():E[c](d);return e},validate:function(b){var d=c.temp,f={y:Q.getFullYear(),m:0,d:1,h:0,i:0,s:0,a:0},h={y:R.getFullYear(),m:11,d:31,h:g(K?11:23,N),i:g(59,O),s:g(59,P),a:1},i=!0,j=!0;a.each(["y","m","d","a","h","i","s"],function(c,g){if(void 0!==D[g]){var k,l,m=f[g],n=h[g],o=31,p=e(d,g),q=a(".dw-ul",b).eq(D[g]);if("d"==g&&(k=e(d,"y"),l=e(d,"m"),o=32-new Date(k,l,32).getDate(),n=o,I&&a(".dw-li",q).each(function(){var b=a(this),c=b.data("val"),d=new Date(k,l,c).getDay(),e=G.replace(/[my]/gi,"").replace(/dd/,10>c?"0"+c:c).replace(/d/,c);a(".dw-i",b).html(e.match(/DD/)?e.replace(/DD/,'<span class="dw-day">'+z.dayNames[d]+"</span>"):e.replace(/D/,'<span class="dw-day">'+z.dayNamesShort[d]+"</span>"))})),i&&Q&&(m=Q[E[g]]?Q[E[g]]():E[g](Q)),j&&R&&(n=R[E[g]]?R[E[g]]():E[g](R)),"y"!=g){var r=a(".dw-li",q).index(a('.dw-li[data-val="'+m+'"]',q)),s=a(".dw-li",q).index(a('.dw-li[data-val="'+n+'"]',q));a(".dw-li",q).removeClass("dw-v").slice(r,s+1).addClass("dw-v"),"d"==g&&a(".dw-li",q).removeClass("dw-h").slice(o).addClass("dw-h")}if(m>p&&(p=m),p>n&&(p=n),i&&(i=p==m),j&&(j=p==n),z.invalid&&"d"==g){var t=[];if(z.invalid.dates&&a.each(z.invalid.dates,function(a,b){b.getFullYear()==k&&b.getMonth()==l&&t.push(b.getDate()-1)}),z.invalid.daysOfWeek){var u,v=new Date(k,l,1).getDay();a.each(z.invalid.daysOfWeek,function(a,b){for(u=b-v;o>u;u+=7)u>=0&&t.push(u)})}z.invalid.daysOfMonth&&a.each(z.invalid.daysOfMonth,function(a,b){b=(b+"").split("/"),b[1]?b[0]-1==l&&t.push(b[1]-1):t.push(b[0]-1)}),a.each(t,function(b,c){a(".dw-li",q).eq(c).removeClass("dw-v")})}d[D[g]]=p}})}}};a.each(["date","time","datetime"],function(a,c){b.presets[c]=e,b.presetShort(c)}),b.formatDate=function(b,c,e){if(!c)return null;var f,g=a.extend({},d,e),h=function(a){for(var c=0;f+1<b.length&&b.charAt(f+1)==a;)c++,f++;return c},i=function(a,b,c){var d=""+b;if(h(a))for(;d.length<c;)d="0"+d;return d},j=function(a,b,c,d){return h(a)?d[b]:c[b]},k="",l=!1;for(f=0;f<b.length;f++)if(l)"'"!=b.charAt(f)||h("'")?k+=b.charAt(f):l=!1;else switch(b.charAt(f)){case"d":k+=i("d",c.getDate(),2);break;case"D":k+=j("D",c.getDay(),g.dayNamesShort,g.dayNames);break;case"o":k+=i("o",(c.getTime()-new Date(c.getFullYear(),0,0).getTime())/864e5,3);break;case"m":k+=i("m",c.getMonth()+1,2);break;case"M":k+=j("M",c.getMonth(),g.monthNamesShort,g.monthNames);break;case"y":k+=h("y")?c.getFullYear():(c.getYear()%100<10?"0":"")+c.getYear()%100;break;case"h":var m=c.getHours();k+=i("h",m>12?m-12:0==m?12:m,2);break;case"H":k+=i("H",c.getHours(),2);break;case"i":k+=i("i",c.getMinutes(),2);break;case"s":k+=i("s",c.getSeconds(),2);break;case"a":k+=c.getHours()>11?"pm":"am";break;case"A":k+=c.getHours()>11?"PM":"AM";break;case"'":h("'")?k+="'":l=!0;break;default:k+=b.charAt(f)}return k},b.parseDate=function(b,c,e){var f=new Date;if(!b||!c)return f;c="object"==typeof c?c.toString():c+"";var g,h=a.extend({},d,e),i=h.shortYearCutoff,j=f.getFullYear(),k=f.getMonth()+1,l=f.getDate(),m=-1,n=f.getHours(),o=f.getMinutes(),p=0,q=-1,r=!1,s=function(a){var c=g+1<b.length&&b.charAt(g+1)==a;return c&&g++,c},t=function(a){s(a);var b="@"==a?14:"!"==a?20:"y"==a?4:"o"==a?3:2,d=new RegExp("^\\d{1,"+b+"}"),e=c.substr(w).match(d);return e?(w+=e[0].length,parseInt(e[0],10)):0},u=function(a,b,d){var e,f=s(a)?d:b;for(e=0;e<f.length;e++)if(c.substr(w,f[e].length).toLowerCase()==f[e].toLowerCase())return w+=f[e].length,e+1;return 0},v=function(){w++},w=0;for(g=0;g<b.length;g++)if(r)"'"!=b.charAt(g)||s("'")?v():r=!1;else switch(b.charAt(g)){case"d":l=t("d");break;case"D":u("D",h.dayNamesShort,h.dayNames);break;case"o":m=t("o");break;case"m":k=t("m");break;case"M":k=u("M",h.monthNamesShort,h.monthNames);break;case"y":j=t("y");break;case"H":n=t("H");break;case"h":n=t("h");break;case"i":o=t("i");break;case"s":p=t("s");break;case"a":q=u("a",["am","pm"],["am","pm"])-1;break;case"A":q=u("A",["am","pm"],["am","pm"])-1;break;case"'":s("'")?v():r=!0;break;default:v()}if(100>j&&(j+=(new Date).getFullYear()-(new Date).getFullYear()%100+(j<=("string"!=typeof i?i:(new Date).getFullYear()%100+parseInt(i,10))?0:-100)),m>-1)for(k=1,l=m;;){var x=32-new Date(j,k-1,32).getDate();if(x>=l)break;k++,l-=x}n=-1==q?n:q&&12>n?n+12:q||12!=n?n:0;var y=new Date(j,k-1,l,n,o,p);if(y.getFullYear()!=j||y.getMonth()+1!=k||y.getDate()!=l)throw"Invalid date";return y}}(jQuery),function(a){var b={inputClass:"",invalid:[],rtl:!1,group:!1,groupLabel:"Groups"};a.mobiscroll.presetShort("select"),a.mobiscroll.presets.select=function(c){function d(){var b,c=0,d=[],e=[],f=[[]];return m.group?(m.rtl&&(c=1),a("optgroup",n).each(function(b){d.push(a(this).attr("label")),e.push(b)}),f[c]=[{values:d,keys:e,label:v}],b=r,c+=m.rtl?-1:1):b=n,d=[],e=[],a("option",b).each(function(){var b=a(this).attr("value");d.push(a(this).text()),e.push(b),a(this).prop("disabled")&&w.push(b)}),f[c]=[{values:d,keys:e,label:v}],f}function e(a,b){var d=[];if(o){var e=[],g=0;for(g in c._selectedValues)e.push(y[g]),d.push(g);j.val(e.join(", "))}else j.val(a),d=b?c.values[h]:null;b&&(f=!0,n.val(d).trigger("change"))}var f,g,h,i,j,k,l=a.extend({},c.settings),m=a.extend(c.settings,b,l),n=a(this),o=n.prop("multiple"),p=this.id+"_dummy",q=o?n.val()?n.val()[0]:a("option",n).attr("value"):n.val(),r=n.find('option[value="'+q+'"]').parent(),s=r.index()+"",t=s,u=(a('label[for="'+this.id+'"]').attr("for",p),a('label[for="'+p+'"]')),v=void 0!==m.label?m.label:u.length?u.text():n.attr("name"),w=[],x=[],y={},z=m.readonly;m.group&&!a("optgroup",n).length&&(m.group=!1),m.invalid.length||(m.invalid=w),m.group?m.rtl?(g=1,h=0):(g=0,h=1):(g=-1,h=0),a("#"+p).remove(),j=a('<input type="text" id="'+p+'" class="'+m.inputClass+'" readonly />').insertBefore(n),a("option",n).each(function(){y[a(this).attr("value")]=a(this).text()}),m.showOnFocus&&j.focus(function(){c.show()});var A=n.val()||[],B=0;for(B;B<A.length;B++)c._selectedValues[A[B]]=A[B];return e(y[q]),n.unbind(".dwsel").bind("change.dwsel",function(){f||c.setValue(o?n.val()||[]:[n.val()],!0),f=!1}).hide().closest(".ui-field-contain").trigger("create"),c._setValue||(c._setValue=c.setValue),c.setValue=function(b,f,g,i,j){var k,l=a.isArray(b)?b[0]:b;if(q=void 0!==l?l:a("option",n).attr("value"),o){c._selectedValues={};var p=0;for(p;p<b.length;p++)c._selectedValues[b[p]]=b[p]}if(m.group?(r=n.find('option[value="'+q+'"]').parent(),t=r.index(),k=m.rtl?[q,r.index()]:[r.index(),q],t!==s&&(m.wheels=d(),c.changeWheel([h]),s=t+"")):k=[q],c._setValue(k,f,g,i,j),f){var u=o?!0:q!==n.val();e(y[q],u)}},c.getValue=function(a){var b=a?c.temp:c.values;return b[h]},{width:50,wheels:k,headerText:!1,multiple:o,anchor:j,formatResult:function(a){return y[a[h]]},parseValue:function(){var b=n.val()||[],d=0;if(o)for(c._selectedValues={},d;d<b.length;d++)c._selectedValues[b[d]]=b[d];return q=o?n.val()?n.val()[0]:a("option",n).attr("value"):n.val(),r=n.find('option[value="'+q+'"]').parent(),t=r.index(),s=t+"",m.group&&m.rtl?[q,t]:m.group?[t,q]:[q]},validate:function(b,e,f){if(void 0===e&&o){var j=c._selectedValues,k=0;a(".dwwl"+h+" .dw-li",b).removeClass("dw-msel");for(k in j)a(".dwwl"+h+' .dw-li[data-val="'+j[k]+'"]',b).addClass("dw-msel")}if(e===g)if(t=c.temp[g],t!==s){if(r=n.find("optgroup").eq(t),t=r.index(),q=r.find("option").eq(0).val(),q=q||n.val(),m.wheels=d(),m.group)return c.temp=m.rtl?[q,t]:[t,q],m.readonly=[m.rtl,!m.rtl],clearTimeout(i),i=setTimeout(function(){c.changeWheel([h]),m.readonly=z,s=t+""},1e3*f),!1}else m.readonly=z;else q=c.temp[h];var l=a(".dw-ul",b).eq(h);a.each(m.invalid,function(b,c){a('.dw-li[data-val="'+c+'"]',l).removeClass("dw-v")})},onBeforeShow:function(){m.wheels=d(),m.group&&(c.temp=m.rtl?[q,r.index()]:[r.index(),q])},onMarkupReady:function(b){if(a(".dwwl"+g,b).bind("mousedown touchstart",function(){clearTimeout(i)}),o){b.addClass("dwms"),a(".dwwl",b).eq(h).addClass("dwwms"),x={};var d;for(d in c._selectedValues)x[d]=c._selectedValues[d]}},onValueTap:function(a){if(o&&a.hasClass("dw-v")&&a.closest(".dw").find(".dw-ul").index(a.closest(".dw-ul"))==h){var b=a.attr("data-val");return a.hasClass("dw-msel")?delete c._selectedValues[b]:c._selectedValues[b]=b,a.toggleClass("dw-msel"),"inline"==m.display&&e(b,!0),!1}},onSelect:function(a){e(a,!0),m.group&&(c.values=null)},onCancel:function(){if(m.group&&(c.values=null),o){c._selectedValues={};var a;for(a in x)c._selectedValues[a]=x[a]}},onChange:function(a){"inline"!=m.display||o||(j.val(a),f=!0,n.val(c.temp[h]).trigger("change"))},onClose:function(){j.blur()}}}}(jQuery),function(a){a.mobiscroll.themes.jqm={defaults:{jqmBorder:"a",jqmBody:"c",jqmHeader:"b",jqmWheel:"d",jqmClickPick:"c",jqmSet:"b",jqmCancel:"c"},init:function(b,c){var d=c.settings;a(".dw",b).removeClass("dwbg").addClass("ui-overlay-shadow ui-corner-all ui-body-"+d.jqmBorder),a(".dwb-s span",b).attr("data-role","button").attr("data-theme",d.jqmSet),a(".dwb-n span",b).attr("data-role","button").attr("data-theme",d.jqmCancel),a(".dwb-c span",b).attr("data-role","button").attr("data-theme",d.jqmCancel),a(".dwwb",b).attr("data-role","button").attr("data-theme",d.jqmClickPick),a(".dwv",b).addClass("ui-header ui-bar-"+d.jqmHeader),a(".dwwr",b).addClass("ui-body-"+d.jqmBody),a(".dwpm .dwwl",b).addClass("ui-body-"+d.jqmWheel),a(".dwpm .dwl",b).addClass("ui-body-"+d.jqmBody),b.trigger("create"),a(".dwo",b).click(function(){c.cancel()})}}}(jQuery),function(a){a.mobiscroll.themes.ios={defaults:{dateOrder:"MMdyy",rows:5,height:30,width:55,headerText:!1,showLabel:!1,useShortLabels:!0}}}(jQuery),function(a){a.mobiscroll.themes.android={defaults:{dateOrder:"Mddyy",mode:"clickpick",height:50,showLabel:!1}}}(jQuery),function(a){var b={defaults:{dateOrder:"Mddyy",mode:"mixed",rows:5,width:70,height:36,showLabel:!1,useShortLabels:!0}};a.mobiscroll.themes["android-ics"]=b,a.mobiscroll.themes["android-ics light"]=b}(jQuery),function(a){var b;a.mobiscroll.themes.wp={defaults:{width:70,height:76,accent:"none",dateOrder:"mmMMddDDyy",showLabel:!1,onAnimStart:function(c,d,e){a(".dwwl"+d,c).addClass("wpam"),clearTimeout(b[d]),b[d]=setTimeout(function(){a(".dwwl"+d,c).removeClass("wpam")},1e3*e+100)}},init:function(c,d){var e,f;b={},a(".dw",c).addClass("wp-"+d.settings.accent),a(".dwwl",c).delegate(".dw-sel","touchstart mousedown DOMMouseScroll mousewheel",function(){e=!0,f=a(this).closest(".dwwl").hasClass("wpa"),a(".dwwl",c).removeClass("wpa"),a(this).closest(".dwwl").addClass("wpa")}).bind("touchmove mousemove",function(){e=!1}).bind("touchend mouseup",function(){e&&f&&a(this).closest(".dwwl").removeClass("wpa")})}},a.mobiscroll.themes["wp light"]=a.mobiscroll.themes.wp}(jQuery);\ No newline at end of filediff --git a/web/ext/image/jcrop-0.9.12/Jcrop.gif b/web/ext/image/jcrop-0.9.12/Jcrop.gifdeleted file mode 100755index 72ea7ccb5..000000000Binary files a/web/ext/image/jcrop-0.9.12/Jcrop.gif and /dev/null differdiff --git a/web/ext/image/jcrop-0.9.12/jquery.Jcrop.css b/web/ext/image/jcrop-0.9.12/jquery.Jcrop.cssdeleted file mode 100644index 7264b0833..000000000--- a/web/ext/image/jcrop-0.9.12/jquery.Jcrop.css+++ /dev/null@@ -1,167 +0,0 @@-/* jquery.Jcrop.css v0.9.12 - MIT License */-/*- The outer-most container in a typical Jcrop instance- If you are having difficulty with formatting related to styles- on a parent element, place any fixes here or in a like selector-- You can also style this element if you want to add a border, etc- A better method for styling can be seen below with .jcrop-light- (Add a class to the holder and style elements for that extended class)-*/-.jcrop-holder {- direction: ltr;- text-align: left;- /* IE10 touch compatibility */- -ms-touch-action: none;-}-/* Selection Border */-.jcrop-vline,-.jcrop-hline {- background: #ffffff url("Jcrop.gif");- font-size: 0;- position: absolute;-}-.jcrop-vline {- height: 100%;- width: 1px !important;-}-.jcrop-vline.right {- right: 0;-}-.jcrop-hline {- height: 1px !important;- width: 100%;-}-.jcrop-hline.bottom {- bottom: 0;-}-/* Invisible click targets */-.jcrop-tracker {- height: 100%;- width: 100%;- /* "turn off" link highlight */- -webkit-tap-highlight-color: transparent;- /* disable callout, image save panel */- -webkit-touch-callout: none;- /* disable cut copy paste */- -webkit-user-select: none;-}-/* Selection Handles */-.jcrop-handle {- background-color: #333333;- border: 1px #eeeeee solid;- width: 7px;- height: 7px;- font-size: 1px;-}-.jcrop-handle.ord-n {- left: 50%;- margin-left: -4px;- margin-top: -4px;- top: 0;-}-.jcrop-handle.ord-s {- bottom: 0;- left: 50%;- margin-bottom: -4px;- margin-left: -4px;-}-.jcrop-handle.ord-e {- margin-right: -4px;- margin-top: -4px;- right: 0;- top: 50%;-}-.jcrop-handle.ord-w {- left: 0;- margin-left: -4px;- margin-top: -4px;- top: 50%;-}-.jcrop-handle.ord-nw {- left: 0;- margin-left: -4px;- margin-top: -4px;- top: 0;-}-.jcrop-handle.ord-ne {- margin-right: -4px;- margin-top: -4px;- right: 0;- top: 0;-}-.jcrop-handle.ord-se {- bottom: 0;- margin-bottom: -4px;- margin-right: -4px;- right: 0;-}-.jcrop-handle.ord-sw {- bottom: 0;- left: 0;- margin-bottom: -4px;- margin-left: -4px;-}-/* Dragbars */-.jcrop-dragbar.ord-n,-.jcrop-dragbar.ord-s {- height: 7px;- width: 100%;-}-.jcrop-dragbar.ord-e,-.jcrop-dragbar.ord-w {- height: 100%;- width: 7px;-}-.jcrop-dragbar.ord-n {- margin-top: -4px;-}-.jcrop-dragbar.ord-s {- bottom: 0;- margin-bottom: -4px;-}-.jcrop-dragbar.ord-e {- margin-right: -4px;- right: 0;-}-.jcrop-dragbar.ord-w {- margin-left: -4px;-}-/* The "jcrop-light" class/extension */-.jcrop-light .jcrop-vline,-.jcrop-light .jcrop-hline {- background: #ffffff;- filter: alpha(opacity=70) !important;- opacity: .70!important;-}-.jcrop-light .jcrop-handle {- -moz-border-radius: 3px;- -webkit-border-radius: 3px;- background-color: #000000;- border-color: #ffffff;- border-radius: 3px;-}-/* The "jcrop-dark" class/extension */-.jcrop-dark .jcrop-vline,-.jcrop-dark .jcrop-hline {- background: #000000;- filter: alpha(opacity=70) !important;- opacity: 0.7 !important;-}-.jcrop-dark .jcrop-handle {- -moz-border-radius: 3px;- -webkit-border-radius: 3px;- background-color: #ffffff;- border-color: #000000;- border-radius: 3px;-}-/* Simple macro to turn off the antlines */-.solid-line .jcrop-vline,-.solid-line .jcrop-hline {- background: #ffffff;-}-/* Fix for twitter bootstrap et al. */-.jcrop-holder img,-img.jcrop-preview {- max-width: none;-}diff --git a/web/ext/image/jcrop-0.9.12/jquery.Jcrop.js b/web/ext/image/jcrop-0.9.12/jquery.Jcrop.jsdeleted file mode 100644index 09b1bcf79..000000000--- a/web/ext/image/jcrop-0.9.12/jquery.Jcrop.js+++ /dev/null@@ -1,1694 +0,0 @@-/**- * jquery.Jcrop.js v0.9.12- * jQuery Image Cropping Plugin - released under MIT License- * Author: Kelly Hallman <[email protected]>- * http://github.com/tapmodo/Jcrop- * Copyright (c) 2008-2013 Tapmodo Interactive LLC {{{- *- * Permission is hereby granted, free of charge, to any person- * obtaining a copy of this software and associated documentation- * files (the "Software"), to deal in the Software without- * restriction, including without limitation the rights to use,- * copy, modify, merge, publish, distribute, sublicense, and/or sell- * copies of the Software, and to permit persons to whom the- * Software is furnished to do so, subject to the following- * conditions:- *- * The above copyright notice and this permission notice shall be- * included in all copies or substantial portions of the Software.- *- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR- * OTHER DEALINGS IN THE SOFTWARE.- *- * }}}- */--(function ($) {-- $.Jcrop = function (obj, opt) {- var options = $.extend({}, $.Jcrop.defaults),- docOffset,- _ua = navigator.userAgent.toLowerCase(),- is_msie = /msie/.test(_ua),- ie6mode = /msie [1-6]\./.test(_ua);-- // Internal Methods {{{- function px(n) {- return Math.round(n) + 'px';- }- function cssClass(cl) {- return options.baseClass + '-' + cl;- }- function supportsColorFade() {- return $.fx.step.hasOwnProperty('backgroundColor');- }- function getPos(obj) //{{{- {- var pos = $(obj).offset();- return [pos.left, pos.top];- }- //}}}- function mouseAbs(e) //{{{- {- return [(e.pageX - docOffset[0]), (e.pageY - docOffset[1])];- }- //}}}- function setOptions(opt) //{{{- {- if (typeof(opt) !== 'object') opt = {};- options = $.extend(options, opt);-- $.each(['onChange','onSelect','onRelease','onDblClick'],function(i,e) {- if (typeof(options[e]) !== 'function') options[e] = function () {};- });- }- //}}}- function startDragMode(mode, pos, touch) //{{{- {- docOffset = getPos($img);- Tracker.setCursor(mode === 'move' ? mode : mode + '-resize');-- if (mode === 'move') {- return Tracker.activateHandlers(createMover(pos), doneSelect, touch);- }-- var fc = Coords.getFixed();- var opp = oppLockCorner(mode);- var opc = Coords.getCorner(oppLockCorner(opp));-- Coords.setPressed(Coords.getCorner(opp));- Coords.setCurrent(opc);-- Tracker.activateHandlers(dragmodeHandler(mode, fc), doneSelect, touch);- }- //}}}- function dragmodeHandler(mode, f) //{{{- {- return function (pos) {- if (!options.aspectRatio) {- switch (mode) {- case 'e':- pos[1] = f.y2;- break;- case 'w':- pos[1] = f.y2;- break;- case 'n':- pos[0] = f.x2;- break;- case 's':- pos[0] = f.x2;- break;- }- } else {- switch (mode) {- case 'e':- pos[1] = f.y + 1;- break;- case 'w':- pos[1] = f.y + 1;- break;- case 'n':- pos[0] = f.x + 1;- break;- case 's':- pos[0] = f.x + 1;- break;- }- }- Coords.setCurrent(pos);- Selection.update();- };- }- //}}}- function createMover(pos) //{{{- {- var lloc = pos;- KeyManager.watchKeys();-- return function (pos) {- Coords.moveOffset([pos[0] - lloc[0], pos[1] - lloc[1]]);- lloc = pos;-- Selection.update();- };- }- //}}}- function oppLockCorner(ord) //{{{- {- switch (ord) {- case 'n':- return 'sw';- case 's':- return 'nw';- case 'e':- return 'nw';- case 'w':- return 'ne';- case 'ne':- return 'sw';- case 'nw':- return 'se';- case 'se':- return 'nw';- case 'sw':- return 'ne';- }- }- //}}}- function createDragger(ord) //{{{- {- return function (e) {- if (options.disabled) {- return false;- }- if ((ord === 'move') && !options.allowMove) {- return false;- }-- // Fix position of crop area when dragged the very first time.- // Necessary when crop image is in a hidden element when page is loaded.- docOffset = getPos($img);-- btndown = true;- startDragMode(ord, mouseAbs(e));- e.stopPropagation();- e.preventDefault();- return false;- };- }- //}}}- function presize($obj, w, h) //{{{- {- var nw = $obj.width(),- nh = $obj.height();- if ((nw > w) && w > 0) {- nw = w;- nh = (w / $obj.width()) * $obj.height();- }- if ((nh > h) && h > 0) {- nh = h;- nw = (h / $obj.height()) * $obj.width();- }- xscale = $obj.width() / nw;- yscale = $obj.height() / nh;- $obj.width(nw).height(nh);- }- //}}}- function unscale(c) //{{{- {- return {- x: c.x * xscale,- y: c.y * yscale,- x2: c.x2 * xscale,- y2: c.y2 * yscale,- w: c.w * xscale,- h: c.h * yscale- };- }- //}}}- function doneSelect(pos) //{{{- {- var c = Coords.getFixed();- if ((c.w > options.minSelect[0]) && (c.h > options.minSelect[1])) {- Selection.enableHandles();- Selection.done();- } else {- Selection.release();- }- Tracker.setCursor(options.allowSelect ? 'crosshair' : 'default');- }- //}}}- function newSelection(e) //{{{- {- if (options.disabled) {- return;- }- if (!options.allowSelect) {- return;- }- btndown = true;- docOffset = getPos($img);- Selection.disableHandles();- Tracker.setCursor('crosshair');- var pos = mouseAbs(e);- Coords.setPressed(pos);- Selection.update();- Tracker.activateHandlers(selectDrag, doneSelect, e.type.substring(0,5)==='touch');- KeyManager.watchKeys();-- e.stopPropagation();- e.preventDefault();- return false;- }- //}}}- function selectDrag(pos) //{{{- {- Coords.setCurrent(pos);- Selection.update();- }- //}}}- function newTracker() //{{{- {- var trk = $('<div></div>').addClass(cssClass('tracker'));- if (is_msie) {- trk.css({- opacity: 0,- backgroundColor: 'white'- });- }- return trk;- }- //}}}-- // }}}- // Initialization {{{- // Sanitize some options {{{- if (typeof(obj) !== 'object') {- obj = $(obj)[0];- }- if (typeof(opt) !== 'object') {- opt = {};- }- // }}}- setOptions(opt);- // Initialize some jQuery objects {{{- // The values are SET on the image(s) for the interface- // If the original image has any of these set, they will be reset- // However, if you destroy() the Jcrop instance the original image's- // character in the DOM will be as you left it.- var img_css = {- border: 'none',- visibility: 'visible',- margin: 0,- padding: 0,- position: 'absolute',- top: 0,- left: 0- };-- var $origimg = $(obj),- img_mode = true;-- if (obj.tagName == 'IMG') {- // Fix size of crop image.- // Necessary when crop image is within a hidden element when page is loaded.- if ($origimg[0].width != 0 && $origimg[0].height != 0) {- // Obtain dimensions from contained img element.- $origimg.width($origimg[0].width);- $origimg.height($origimg[0].height);- } else {- // Obtain dimensions from temporary image in case the original is not loaded yet (e.g. IE 7.0).- var tempImage = new Image();- tempImage.src = $origimg[0].src;- $origimg.width(tempImage.width);- $origimg.height(tempImage.height);- }-- var $img = $origimg.clone().removeAttr('id').css(img_css).show();-- $img.width($origimg.width());- $img.height($origimg.height());- $origimg.after($img).hide();-- } else {- $img = $origimg.css(img_css).show();- img_mode = false;- if (options.shade === null) { options.shade = true; }- }-- presize($img, options.boxWidth, options.boxHeight);-- var boundx = $img.width(),- boundy = $img.height(),--- $div = $('<div />').width(boundx).height(boundy).addClass(cssClass('holder')).css({- position: 'relative',- backgroundColor: options.bgColor- }).insertAfter($origimg).append($img);-- if (options.addClass) {- $div.addClass(options.addClass);- }-- var $img2 = $('<div />'),-- $img_holder = $('<div />')- .width('100%').height('100%').css({- zIndex: 310,- position: 'absolute',- overflow: 'hidden'- }),-- $hdl_holder = $('<div />')- .width('100%').height('100%').css('zIndex', 320),-- $sel = $('<div />')- .css({- position: 'absolute',- zIndex: 600- }).dblclick(function(){- var c = Coords.getFixed();- options.onDblClick.call(api,c);- }).insertBefore($img).append($img_holder, $hdl_holder);-- if (img_mode) {-- $img2 = $('<img />')- .attr('src', $img.attr('src')).css(img_css).width(boundx).height(boundy),-- $img_holder.append($img2);-- }-- if (ie6mode) {- $sel.css({- overflowY: 'hidden'- });- }-- var bound = options.boundary;- var $trk = newTracker().width(boundx + (bound * 2)).height(boundy + (bound * 2)).css({- position: 'absolute',- top: px(-bound),- left: px(-bound),- zIndex: 290- }).mousedown(newSelection);-- /* }}} */- // Set more variables {{{- var bgcolor = options.bgColor,- bgopacity = options.bgOpacity,- xlimit, ylimit, xmin, ymin, xscale, yscale, enabled = true,- btndown, animating, shift_down;-- docOffset = getPos($img);- // }}}- // }}}- // Internal Modules {{{- // Touch Module {{{- var Touch = (function () {- // Touch support detection function adapted (under MIT License)- // from code by Jeffrey Sambells - http://github.com/iamamused/- function hasTouchSupport() {- var support = {}, events = ['touchstart', 'touchmove', 'touchend'],- el = document.createElement('div'), i;-- try {- for(i=0; i<events.length; i++) {- var eventName = events[i];- eventName = 'on' + eventName;- var isSupported = (eventName in el);- if (!isSupported) {- el.setAttribute(eventName, 'return;');- isSupported = typeof el[eventName] == 'function';- }- support[events[i]] = isSupported;- }- return support.touchstart && support.touchend && support.touchmove;- }- catch(err) {- return false;- }- }-- function detectSupport() {- if ((options.touchSupport === true) || (options.touchSupport === false)) return options.touchSupport;- else return hasTouchSupport();- }- return {- createDragger: function (ord) {- return function (e) {- if (options.disabled) {- return false;- }- if ((ord === 'move') && !options.allowMove) {- return false;- }- docOffset = getPos($img);- btndown = true;- startDragMode(ord, mouseAbs(Touch.cfilter(e)), true);- e.stopPropagation();- e.preventDefault();- return false;- };- },- newSelection: function (e) {- return newSelection(Touch.cfilter(e));- },- cfilter: function (e){- e.pageX = e.originalEvent.changedTouches[0].pageX;- e.pageY = e.originalEvent.changedTouches[0].pageY;- return e;- },- isSupported: hasTouchSupport,- support: detectSupport()- };- }());- // }}}- // Coords Module {{{- var Coords = (function () {- var x1 = 0,- y1 = 0,- x2 = 0,- y2 = 0,- ox, oy;-- function setPressed(pos) //{{{- {- pos = rebound(pos);- x2 = x1 = pos[0];- y2 = y1 = pos[1];- }- //}}}- function setCurrent(pos) //{{{- {- pos = rebound(pos);- ox = pos[0] - x2;- oy = pos[1] - y2;- x2 = pos[0];- y2 = pos[1];- }- //}}}- function getOffset() //{{{- {- return [ox, oy];- }- //}}}- function moveOffset(offset) //{{{- {- var ox = offset[0],- oy = offset[1];-- if (0 > x1 + ox) {- ox -= ox + x1;- }- if (0 > y1 + oy) {- oy -= oy + y1;- }-- if (boundy < y2 + oy) {- oy += boundy - (y2 + oy);- }- if (boundx < x2 + ox) {- ox += boundx - (x2 + ox);- }-- x1 += ox;- x2 += ox;- y1 += oy;- y2 += oy;- }- //}}}- function getCorner(ord) //{{{- {- var c = getFixed();- switch (ord) {- case 'ne':- return [c.x2, c.y];- case 'nw':- return [c.x, c.y];- case 'se':- return [c.x2, c.y2];- case 'sw':- return [c.x, c.y2];- }- }- //}}}- function getFixed() //{{{- {- if (!options.aspectRatio) {- return getRect();- }- // This function could use some optimization I think...- var aspect = options.aspectRatio,- min_x = options.minSize[0] / xscale,--- //min_y = options.minSize[1]/yscale,- max_x = options.maxSize[0] / xscale,- max_y = options.maxSize[1] / yscale,- rw = x2 - x1,- rh = y2 - y1,- rwa = Math.abs(rw),- rha = Math.abs(rh),- real_ratio = rwa / rha,- xx, yy, w, h;-- if (max_x === 0) {- max_x = boundx * 10;- }- if (max_y === 0) {- max_y = boundy * 10;- }- if (real_ratio < aspect) {- yy = y2;- w = rha * aspect;- xx = rw < 0 ? x1 - w : w + x1;-- if (xx < 0) {- xx = 0;- h = Math.abs((xx - x1) / aspect);- yy = rh < 0 ? y1 - h : h + y1;- } else if (xx > boundx) {- xx = boundx;- h = Math.abs((xx - x1) / aspect);- yy = rh < 0 ? y1 - h : h + y1;- }- } else {- xx = x2;- h = rwa / aspect;- yy = rh < 0 ? y1 - h : y1 + h;- if (yy < 0) {- yy = 0;- w = Math.abs((yy - y1) * aspect);- xx = rw < 0 ? x1 - w : w + x1;- } else if (yy > boundy) {- yy = boundy;- w = Math.abs(yy - y1) * aspect;- xx = rw < 0 ? x1 - w : w + x1;- }- }-- // Magic %-)- if (xx > x1) { // right side- if (xx - x1 < min_x) {- xx = x1 + min_x;- } else if (xx - x1 > max_x) {- xx = x1 + max_x;- }- if (yy > y1) {- yy = y1 + (xx - x1) / aspect;- } else {- yy = y1 - (xx - x1) / aspect;- }- } else if (xx < x1) { // left side- if (x1 - xx < min_x) {- xx = x1 - min_x;- } else if (x1 - xx > max_x) {- xx = x1 - max_x;- }- if (yy > y1) {- yy = y1 + (x1 - xx) / aspect;- } else {- yy = y1 - (x1 - xx) / aspect;- }- }-- if (xx < 0) {- x1 -= xx;- xx = 0;- } else if (xx > boundx) {- x1 -= xx - boundx;- xx = boundx;- }-- if (yy < 0) {- y1 -= yy;- yy = 0;- } else if (yy > boundy) {- y1 -= yy - boundy;- yy = boundy;- }-- return makeObj(flipCoords(x1, y1, xx, yy));- }- //}}}- function rebound(p) //{{{- {- if (p[0] < 0) p[0] = 0;- if (p[1] < 0) p[1] = 0;-- if (p[0] > boundx) p[0] = boundx;- if (p[1] > boundy) p[1] = boundy;-- return [Math.round(p[0]), Math.round(p[1])];- }- //}}}- function flipCoords(x1, y1, x2, y2) //{{{- {- var xa = x1,- xb = x2,- ya = y1,- yb = y2;- if (x2 < x1) {- xa = x2;- xb = x1;- }- if (y2 < y1) {- ya = y2;- yb = y1;- }- return [xa, ya, xb, yb];- }- //}}}- function getRect() //{{{- {- var xsize = x2 - x1,- ysize = y2 - y1,- delta;-- if (xlimit && (Math.abs(xsize) > xlimit)) {- x2 = (xsize > 0) ? (x1 + xlimit) : (x1 - xlimit);- }- if (ylimit && (Math.abs(ysize) > ylimit)) {- y2 = (ysize > 0) ? (y1 + ylimit) : (y1 - ylimit);- }-- if (ymin / yscale && (Math.abs(ysize) < ymin / yscale)) {- y2 = (ysize > 0) ? (y1 + ymin / yscale) : (y1 - ymin / yscale);- }- if (xmin / xscale && (Math.abs(xsize) < xmin / xscale)) {- x2 = (xsize > 0) ? (x1 + xmin / xscale) : (x1 - xmin / xscale);- }-- if (x1 < 0) {- x2 -= x1;- x1 -= x1;- }- if (y1 < 0) {- y2 -= y1;- y1 -= y1;- }- if (x2 < 0) {- x1 -= x2;- x2 -= x2;- }- if (y2 < 0) {- y1 -= y2;- y2 -= y2;- }- if (x2 > boundx) {- delta = x2 - boundx;- x1 -= delta;- x2 -= delta;- }- if (y2 > boundy) {- delta = y2 - boundy;- y1 -= delta;- y2 -= delta;- }- if (x1 > boundx) {- delta = x1 - boundy;- y2 -= delta;- y1 -= delta;- }- if (y1 > boundy) {- delta = y1 - boundy;- y2 -= delta;- y1 -= delta;- }-- return makeObj(flipCoords(x1, y1, x2, y2));- }- //}}}- function makeObj(a) //{{{- {- return {- x: a[0],- y: a[1],- x2: a[2],- y2: a[3],- w: a[2] - a[0],- h: a[3] - a[1]- };- }- //}}}-- return {- flipCoords: flipCoords,- setPressed: setPressed,- setCurrent: setCurrent,- getOffset: getOffset,- moveOffset: moveOffset,- getCorner: getCorner,- getFixed: getFixed- };- }());-- //}}}- // Shade Module {{{- var Shade = (function() {- var enabled = false,- holder = $('<div />').css({- position: 'absolute',- zIndex: 240,- opacity: 0- }),- shades = {- top: createShade(),- left: createShade().height(boundy),- right: createShade().height(boundy),- bottom: createShade()- };-- function resizeShades(w,h) {- shades.left.css({ height: px(h) });- shades.right.css({ height: px(h) });- }- function updateAuto()- {- return updateShade(Coords.getFixed());- }- function updateShade(c)- {- shades.top.css({- left: px(c.x),- width: px(c.w),- height: px(c.y)- });- shades.bottom.css({- top: px(c.y2),- left: px(c.x),- width: px(c.w),- height: px(boundy-c.y2)- });- shades.right.css({- left: px(c.x2),- width: px(boundx-c.x2)- });- shades.left.css({- width: px(c.x)- });- }- function createShade() {- return $('<div />').css({- position: 'absolute',- backgroundColor: options.shadeColor||options.bgColor- }).appendTo(holder);- }- function enableShade() {- if (!enabled) {- enabled = true;- holder.insertBefore($img);- updateAuto();- Selection.setBgOpacity(1,0,1);- $img2.hide();-- setBgColor(options.shadeColor||options.bgColor,1);- if (Selection.isAwake())- {- setOpacity(options.bgOpacity,1);- }- else setOpacity(1,1);- }- }- function setBgColor(color,now) {- colorChangeMacro(getShades(),color,now);- }- function disableShade() {- if (enabled) {- holder.remove();- $img2.show();- enabled = false;- if (Selection.isAwake()) {- Selection.setBgOpacity(options.bgOpacity,1,1);- } else {- Selection.setBgOpacity(1,1,1);- Selection.disableHandles();- }- colorChangeMacro($div,0,1);- }- }- function setOpacity(opacity,now) {- if (enabled) {- if (options.bgFade && !now) {- holder.animate({- opacity: 1-opacity- },{- queue: false,- duration: options.fadeTime- });- }- else holder.css({opacity:1-opacity});- }- }- function refreshAll() {- options.shade ? enableShade() : disableShade();- if (Selection.isAwake()) setOpacity(options.bgOpacity);- }- function getShades() {- return holder.children();- }-- return {- update: updateAuto,- updateRaw: updateShade,- getShades: getShades,- setBgColor: setBgColor,- enable: enableShade,- disable: disableShade,- resize: resizeShades,- refresh: refreshAll,- opacity: setOpacity- };- }());- // }}}- // Selection Module {{{- var Selection = (function () {- var awake,- hdep = 370,- borders = {},- handle = {},- dragbar = {},- seehandles = false;-- // Private Methods- function insertBorder(type) //{{{- {- var jq = $('<div />').css({- position: 'absolute',- opacity: options.borderOpacity- }).addClass(cssClass(type));- $img_holder.append(jq);- return jq;- }- //}}}- function dragDiv(ord, zi) //{{{- {- var jq = $('<div />').mousedown(createDragger(ord)).css({- cursor: ord + '-resize',- position: 'absolute',- zIndex: zi- }).addClass('ord-'+ord);-- if (Touch.support) {- jq.bind('touchstart.jcrop', Touch.createDragger(ord));- }-- $hdl_holder.append(jq);- return jq;- }- //}}}- function insertHandle(ord) //{{{- {- var hs = options.handleSize,-- div = dragDiv(ord, hdep++).css({- opacity: options.handleOpacity- }).addClass(cssClass('handle'));-- if (hs) { div.width(hs).height(hs); }-- return div;- }- //}}}- function insertDragbar(ord) //{{{- {- return dragDiv(ord, hdep++).addClass('jcrop-dragbar');- }- //}}}- function createDragbars(li) //{{{- {- var i;- for (i = 0; i < li.length; i++) {- dragbar[li[i]] = insertDragbar(li[i]);- }- }- //}}}- function createBorders(li) //{{{- {- var cl,i;- for (i = 0; i < li.length; i++) {- switch(li[i]){- case'n': cl='hline'; break;- case's': cl='hline bottom'; break;- case'e': cl='vline right'; break;- case'w': cl='vline'; break;- }- borders[li[i]] = insertBorder(cl);- }- }- //}}}- function createHandles(li) //{{{- {- var i;- for (i = 0; i < li.length; i++) {- handle[li[i]] = insertHandle(li[i]);- }- }- //}}}- function moveto(x, y) //{{{- {- if (!options.shade) {- $img2.css({- top: px(-y),- left: px(-x)- });- }- $sel.css({- top: px(y),- left: px(x)- });- }- //}}}- function resize(w, h) //{{{- {- $sel.width(Math.round(w)).height(Math.round(h));- }- //}}}- function refresh() //{{{- {- var c = Coords.getFixed();-- Coords.setPressed([c.x, c.y]);- Coords.setCurrent([c.x2, c.y2]);-- updateVisible();- }- //}}}-- // Internal Methods- function updateVisible(select) //{{{- {- if (awake) {- return update(select);- }- }- //}}}- function update(select) //{{{- {- var c = Coords.getFixed();-- resize(c.w, c.h);- moveto(c.x, c.y);- if (options.shade) Shade.updateRaw(c);-- awake || show();-- if (select) {- options.onSelect.call(api, unscale(c));- } else {- options.onChange.call(api, unscale(c));- }- }- //}}}- function setBgOpacity(opacity,force,now) //{{{- {- if (!awake && !force) return;- if (options.bgFade && !now) {- $img.animate({- opacity: opacity- },{- queue: false,- duration: options.fadeTime- });- } else {- $img.css('opacity', opacity);- }- }- //}}}- function show() //{{{- {- $sel.show();-- if (options.shade) Shade.opacity(bgopacity);- else setBgOpacity(bgopacity,true);-- awake = true;- }- //}}}- function release() //{{{- {- disableHandles();- $sel.hide();-- if (options.shade) Shade.opacity(1);- else setBgOpacity(1);-- awake = false;- options.onRelease.call(api);- }- //}}}- function showHandles() //{{{- {- if (seehandles) {- $hdl_holder.show();- }- }- //}}}- function enableHandles() //{{{- {- seehandles = true;- if (options.allowResize) {- $hdl_holder.show();- return true;- }- }- //}}}- function disableHandles() //{{{- {- seehandles = false;- $hdl_holder.hide();- }- //}}}- function animMode(v) //{{{- {- if (v) {- animating = true;- disableHandles();- } else {- animating = false;- enableHandles();- }- }- //}}}- function done() //{{{- {- animMode(false);- refresh();- }- //}}}- // Insert draggable elements {{{- // Insert border divs for outline-- if (options.dragEdges && $.isArray(options.createDragbars))- createDragbars(options.createDragbars);-- if ($.isArray(options.createHandles))- createHandles(options.createHandles);-- if (options.drawBorders && $.isArray(options.createBorders))- createBorders(options.createBorders);-- //}}}-- // This is a hack for iOS5 to support drag/move touch functionality- $(document).bind('touchstart.jcrop-ios',function(e) {- if ($(e.currentTarget).hasClass('jcrop-tracker')) e.stopPropagation();- });-- var $track = newTracker().mousedown(createDragger('move')).css({- cursor: 'move',- position: 'absolute',- zIndex: 360- });-- if (Touch.support) {- $track.bind('touchstart.jcrop', Touch.createDragger('move'));- }-- $img_holder.append($track);- disableHandles();-- return {- updateVisible: updateVisible,- update: update,- release: release,- refresh: refresh,- isAwake: function () {- return awake;- },- setCursor: function (cursor) {- $track.css('cursor', cursor);- },- enableHandles: enableHandles,- enableOnly: function () {- seehandles = true;- },- showHandles: showHandles,- disableHandles: disableHandles,- animMode: animMode,- setBgOpacity: setBgOpacity,- done: done- };- }());-- //}}}- // Tracker Module {{{- var Tracker = (function () {- var onMove = function () {},- onDone = function () {},- trackDoc = options.trackDocument;-- function toFront(touch) //{{{- {- $trk.css({- zIndex: 450- });-- if (touch)- $(document)- .bind('touchmove.jcrop', trackTouchMove)- .bind('touchend.jcrop', trackTouchEnd);-- else if (trackDoc)- $(document)- .bind('mousemove.jcrop',trackMove)- .bind('mouseup.jcrop',trackUp);- }- //}}}- function toBack() //{{{- {- $trk.css({- zIndex: 290- });- $(document).unbind('.jcrop');- }- //}}}- function trackMove(e) //{{{- {- onMove(mouseAbs(e));- return false;- }- //}}}- function trackUp(e) //{{{- {- e.preventDefault();- e.stopPropagation();-- if (btndown) {- btndown = false;-- onDone(mouseAbs(e));-- if (Selection.isAwake()) {- options.onSelect.call(api, unscale(Coords.getFixed()));- }-- toBack();- onMove = function () {};- onDone = function () {};- }-- return false;- }- //}}}- function activateHandlers(move, done, touch) //{{{- {- btndown = true;- onMove = move;- onDone = done;- toFront(touch);- return false;- }- //}}}- function trackTouchMove(e) //{{{- {- onMove(mouseAbs(Touch.cfilter(e)));- return false;- }- //}}}- function trackTouchEnd(e) //{{{- {- return trackUp(Touch.cfilter(e));- }- //}}}- function setCursor(t) //{{{- {- $trk.css('cursor', t);- }- //}}}-- if (!trackDoc) {- $trk.mousemove(trackMove).mouseup(trackUp).mouseout(trackUp);- }-- $img.before($trk);- return {- activateHandlers: activateHandlers,- setCursor: setCursor- };- }());- //}}}- // KeyManager Module {{{- var KeyManager = (function () {- var $keymgr = $('<input type="radio" />').css({- position: 'fixed',- left: '-120px',- width: '12px'- }).addClass('jcrop-keymgr'),-- $keywrap = $('<div />').css({- position: 'absolute',- overflow: 'hidden'- }).append($keymgr);-- function watchKeys() //{{{- {- if (options.keySupport) {- $keymgr.show();- $keymgr.focus();- }- }- //}}}- function onBlur(e) //{{{- {- $keymgr.hide();- }- //}}}- function doNudge(e, x, y) //{{{- {- if (options.allowMove) {- Coords.moveOffset([x, y]);- Selection.updateVisible(true);- }- e.preventDefault();- e.stopPropagation();- }- //}}}- function parseKey(e) //{{{- {- if (e.ctrlKey || e.metaKey) {- return true;- }- shift_down = e.shiftKey ? true : false;- var nudge = shift_down ? 10 : 1;-- switch (e.keyCode) {- case 37:- doNudge(e, -nudge, 0);- break;- case 39:- doNudge(e, nudge, 0);- break;- case 38:- doNudge(e, 0, -nudge);- break;- case 40:- doNudge(e, 0, nudge);- break;- case 27:- if (options.allowSelect) Selection.release();- break;- case 9:- return true;- }-- return false;- }- //}}}-- if (options.keySupport) {- $keymgr.keydown(parseKey).blur(onBlur);- if (ie6mode || !options.fixedSupport) {- $keymgr.css({- position: 'absolute',- left: '-20px'- });- $keywrap.append($keymgr).insertBefore($img);- } else {- $keymgr.insertBefore($img);- }- }--- return {- watchKeys: watchKeys- };- }());- //}}}- // }}}- // API methods {{{- function setClass(cname) //{{{- {- $div.removeClass().addClass(cssClass('holder')).addClass(cname);- }- //}}}- function animateTo(a, callback) //{{{- {- var x1 = a[0] / xscale,- y1 = a[1] / yscale,- x2 = a[2] / xscale,- y2 = a[3] / yscale;-- if (animating) {- return;- }-- var animto = Coords.flipCoords(x1, y1, x2, y2),- c = Coords.getFixed(),- initcr = [c.x, c.y, c.x2, c.y2],- animat = initcr,- interv = options.animationDelay,- ix1 = animto[0] - initcr[0],- iy1 = animto[1] - initcr[1],- ix2 = animto[2] - initcr[2],- iy2 = animto[3] - initcr[3],- pcent = 0,- velocity = options.swingSpeed;-- x1 = animat[0];- y1 = animat[1];- x2 = animat[2];- y2 = animat[3];-- Selection.animMode(true);- var anim_timer;-- function queueAnimator() {- window.setTimeout(animator, interv);- }- var animator = (function () {- return function () {- pcent += (100 - pcent) / velocity;-- animat[0] = Math.round(x1 + ((pcent / 100) * ix1));- animat[1] = Math.round(y1 + ((pcent / 100) * iy1));- animat[2] = Math.round(x2 + ((pcent / 100) * ix2));- animat[3] = Math.round(y2 + ((pcent / 100) * iy2));-- if (pcent >= 99.8) {- pcent = 100;- }- if (pcent < 100) {- setSelectRaw(animat);- queueAnimator();- } else {- Selection.done();- Selection.animMode(false);- if (typeof(callback) === 'function') {- callback.call(api);- }- }- };- }());- queueAnimator();- }- //}}}- function setSelect(rect) //{{{- {- setSelectRaw([rect[0] / xscale, rect[1] / yscale, rect[2] / xscale, rect[3] / yscale]);- options.onSelect.call(api, unscale(Coords.getFixed()));- Selection.enableHandles();- }- //}}}- function setSelectRaw(l) //{{{- {- Coords.setPressed([l[0], l[1]]);- Coords.setCurrent([l[2], l[3]]);- Selection.update();- }- //}}}- function tellSelect() //{{{- {- return unscale(Coords.getFixed());- }- //}}}- function tellScaled() //{{{- {- return Coords.getFixed();- }- //}}}- function setOptionsNew(opt) //{{{- {- setOptions(opt);- interfaceUpdate();- }- //}}}- function disableCrop() //{{{- {- options.disabled = true;- Selection.disableHandles();- Selection.setCursor('default');- Tracker.setCursor('default');- }- //}}}- function enableCrop() //{{{- {- options.disabled = false;- interfaceUpdate();- }- //}}}- function cancelCrop() //{{{- {- Selection.done();- Tracker.activateHandlers(null, null);- }- //}}}- function destroy() //{{{- {- $div.remove();- $origimg.show();- $origimg.css('visibility','visible');- $(obj).removeData('Jcrop');- }- //}}}- function setImage(src, callback) //{{{- {- Selection.release();- disableCrop();- var img = new Image();- img.onload = function () {- var iw = img.width;- var ih = img.height;- var bw = options.boxWidth;- var bh = options.boxHeight;- $img.width(iw).height(ih);- $img.attr('src', src);- $img2.attr('src', src);- presize($img, bw, bh);- boundx = $img.width();- boundy = $img.height();- $img2.width(boundx).height(boundy);- $trk.width(boundx + (bound * 2)).height(boundy + (bound * 2));- $div.width(boundx).height(boundy);- Shade.resize(boundx,boundy);- enableCrop();-- if (typeof(callback) === 'function') {- callback.call(api);- }- };- img.src = src;- }- //}}}- function colorChangeMacro($obj,color,now) {- var mycolor = color || options.bgColor;- if (options.bgFade && supportsColorFade() && options.fadeTime && !now) {- $obj.animate({- backgroundColor: mycolor- }, {- queue: false,- duration: options.fadeTime- });- } else {- $obj.css('backgroundColor', mycolor);- }- }- function interfaceUpdate(alt) //{{{- // This method tweaks the interface based on options object.- // Called when options are changed and at end of initialization.- {- if (options.allowResize) {- if (alt) {- Selection.enableOnly();- } else {- Selection.enableHandles();- }- } else {- Selection.disableHandles();- }-- Tracker.setCursor(options.allowSelect ? 'crosshair' : 'default');- Selection.setCursor(options.allowMove ? 'move' : 'default');-- if (options.hasOwnProperty('trueSize')) {- xscale = options.trueSize[0] / boundx;- yscale = options.trueSize[1] / boundy;- }-- if (options.hasOwnProperty('setSelect')) {- setSelect(options.setSelect);- Selection.done();- delete(options.setSelect);- }-- Shade.refresh();-- if (options.bgColor != bgcolor) {- colorChangeMacro(- options.shade? Shade.getShades(): $div,- options.shade?- (options.shadeColor || options.bgColor):- options.bgColor- );- bgcolor = options.bgColor;- }-- if (bgopacity != options.bgOpacity) {- bgopacity = options.bgOpacity;- if (options.shade) Shade.refresh();- else Selection.setBgOpacity(bgopacity);- }-- xlimit = options.maxSize[0] || 0;- ylimit = options.maxSize[1] || 0;- xmin = options.minSize[0] || 0;- ymin = options.minSize[1] || 0;-- if (options.hasOwnProperty('outerImage')) {- $img.attr('src', options.outerImage);- delete(options.outerImage);- }-- Selection.refresh();- }- //}}}- //}}}-- if (Touch.support) $trk.bind('touchstart.jcrop', Touch.newSelection);-- $hdl_holder.hide();- interfaceUpdate(true);-- var api = {- setImage: setImage,- animateTo: animateTo,- setSelect: setSelect,- setOptions: setOptionsNew,- tellSelect: tellSelect,- tellScaled: tellScaled,- setClass: setClass,-- disable: disableCrop,- enable: enableCrop,- cancel: cancelCrop,- release: Selection.release,- destroy: destroy,-- focus: KeyManager.watchKeys,-- getBounds: function () {- return [boundx * xscale, boundy * yscale];- },- getWidgetSize: function () {- return [boundx, boundy];- },- getScaleFactor: function () {- return [xscale, yscale];- },- getOptions: function() {- // careful: internal values are returned- return options;- },-- ui: {- holder: $div,- selection: $sel- }- };-- if (is_msie) $div.bind('selectstart', function () { return false; });-- $origimg.data('Jcrop', api);- return api;- };- $.fn.Jcrop = function (options, callback) //{{{- {- var api;- // Iterate over each object, attach Jcrop- this.each(function () {- // If we've already attached to this object- if ($(this).data('Jcrop')) {- // The API can be requested this way (undocumented)- if (options === 'api') return $(this).data('Jcrop');- // Otherwise, we just reset the options...- else $(this).data('Jcrop').setOptions(options);- }- // If we haven't been attached, preload and attach- else {- if (this.tagName == 'IMG')- $.Jcrop.Loader(this,function(){- $(this).css({display:'block',visibility:'hidden'});- api = $.Jcrop(this, options);- if ($.isFunction(callback)) callback.call(api);- });- else {- $(this).css({display:'block',visibility:'hidden'});- api = $.Jcrop(this, options);- if ($.isFunction(callback)) callback.call(api);- }- }- });-- // Return "this" so the object is chainable (jQuery-style)- return this;- };- //}}}- // $.Jcrop.Loader - basic image loader {{{-- $.Jcrop.Loader = function(imgobj,success,error){- var $img = $(imgobj), img = $img[0];-- function completeCheck(){- if (img.complete) {- $img.unbind('.jcloader');- if ($.isFunction(success)) success.call(img);- }- else window.setTimeout(completeCheck,50);- }-- $img- .bind('load.jcloader',completeCheck)- .bind('error.jcloader',function(e){- $img.unbind('.jcloader');- if ($.isFunction(error)) error.call(img);- });-- if (img.complete && $.isFunction(success)){- $img.unbind('.jcloader');- success.call(img);- }- };-- //}}}- // Global Defaults {{{- $.Jcrop.defaults = {-- // Basic Settings- allowSelect: true,- allowMove: true,- allowResize: true,-- trackDocument: true,-- // Styling Options- baseClass: 'jcrop',- addClass: null,- bgColor: 'black',- bgOpacity: 0.6,- bgFade: false,- borderOpacity: 0.4,- handleOpacity: 0.5,- handleSize: null,-- aspectRatio: 0,- keySupport: true,- createHandles: ['n','s','e','w','nw','ne','se','sw'],- createDragbars: ['n','s','e','w'],- createBorders: ['n','s','e','w'],- drawBorders: true,- dragEdges: true,- fixedSupport: true,- touchSupport: null,-- shade: null,-- boxWidth: 0,- boxHeight: 0,- boundary: 2,- fadeTime: 400,- animationDelay: 20,- swingSpeed: 3,-- minSelect: [0, 0],- maxSize: [0, 0],- minSize: [0, 0],-- // Callbacks / Event Handlers- onChange: function () {},- onSelect: function () {},- onDblClick: function () {},- onRelease: function () {}- };-- // }}}-}(jQuery));diff --git a/web/ext/image/jcrop-0.9.12/jquery.Jcrop.min.css b/web/ext/image/jcrop-0.9.12/jquery.Jcrop.min.cssdeleted file mode 100644index 51ee2c8fd..000000000--- a/web/ext/image/jcrop-0.9.12/jquery.Jcrop.min.css+++ /dev/null@@ -1,2 +0,0 @@-/* jquery.Jcrop.min.css v0.9.12 (build:20140524) */-.jcrop-holder{direction:ltr;text-align:left;-ms-touch-action:none}.jcrop-hline,.jcrop-vline{background:#fff url(Jcrop.gif);font-size:0;position:absolute}.jcrop-vline{height:100%;width:1px!important}.jcrop-vline.right{right:0}.jcrop-hline{height:1px!important;width:100%}.jcrop-hline.bottom{bottom:0}.jcrop-tracker{height:100%;width:100%;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none}.jcrop-handle{background-color:#333;border:1px #eee solid;width:7px;height:7px;font-size:1px}.jcrop-handle.ord-n{left:50%;margin-left:-4px;margin-top:-4px;top:0}.jcrop-handle.ord-s{bottom:0;left:50%;margin-bottom:-4px;margin-left:-4px}.jcrop-handle.ord-e{margin-right:-4px;margin-top:-4px;right:0;top:50%}.jcrop-handle.ord-w{left:0;margin-left:-4px;margin-top:-4px;top:50%}.jcrop-handle.ord-nw{left:0;margin-left:-4px;margin-top:-4px;top:0}.jcrop-handle.ord-ne{margin-right:-4px;margin-top:-4px;right:0;top:0}.jcrop-handle.ord-se{bottom:0;margin-bottom:-4px;margin-right:-4px;right:0}.jcrop-handle.ord-sw{bottom:0;left:0;margin-bottom:-4px;margin-left:-4px}.jcrop-dragbar.ord-n,.jcrop-dragbar.ord-s{height:7px;width:100%}.jcrop-dragbar.ord-e,.jcrop-dragbar.ord-w{height:100%;width:7px}.jcrop-dragbar.ord-n{margin-top:-4px}.jcrop-dragbar.ord-s{bottom:0;margin-bottom:-4px}.jcrop-dragbar.ord-e{margin-right:-4px;right:0}.jcrop-dragbar.ord-w{margin-left:-4px}.jcrop-light .jcrop-hline,.jcrop-light .jcrop-vline{background:#fff;filter:alpha(opacity=70)!important;opacity:.7!important}.jcrop-light .jcrop-handle{-moz-border-radius:3px;-webkit-border-radius:3px;background-color:#000;border-color:#fff;border-radius:3px}.jcrop-dark .jcrop-hline,.jcrop-dark .jcrop-vline{background:#000;filter:alpha(opacity=70)!important;opacity:.7!important}.jcrop-dark .jcrop-handle{-moz-border-radius:3px;-webkit-border-radius:3px;background-color:#fff;border-color:#000;border-radius:3px}.solid-line .jcrop-hline,.solid-line .jcrop-vline{background:#fff}.jcrop-holder img,img.jcrop-preview{max-width:none}\ No newline at end of filediff --git a/web/ext/image/jcrop-0.9.12/jquery.Jcrop.min.js b/web/ext/image/jcrop-0.9.12/jquery.Jcrop.min.jsdeleted file mode 100644index d9ae1adfc..000000000--- a/web/ext/image/jcrop-0.9.12/jquery.Jcrop.min.js+++ /dev/null@@ -1,7 +0,0 @@-/**- * jquery.Jcrop.min.js v0.9.12 (build:20140524)- * jQuery Image Cropping Plugin - released under MIT License- * Copyright (c) 2008-2013 Tapmodo Interactive LLC- * https://github.com/tapmodo/Jcrop- */-!function($){$.Jcrop=function(obj,opt){function px(n){return Math.round(n)+"px"}function cssClass(cl){return options.baseClass+"-"+cl}function supportsColorFade(){return $.fx.step.hasOwnProperty("backgroundColor")}function getPos(obj){var pos=$(obj).offset();return[pos.left,pos.top]}function mouseAbs(e){return[e.pageX-docOffset[0],e.pageY-docOffset[1]]}function setOptions(opt){"object"!=typeof opt&&(opt={}),options=$.extend(options,opt),$.each(["onChange","onSelect","onRelease","onDblClick"],function(i,e){"function"!=typeof options[e]&&(options[e]=function(){})})}function startDragMode(mode,pos,touch){if(docOffset=getPos($img),Tracker.setCursor("move"===mode?mode:mode+"-resize"),"move"===mode)return Tracker.activateHandlers(createMover(pos),doneSelect,touch);var fc=Coords.getFixed(),opp=oppLockCorner(mode),opc=Coords.getCorner(oppLockCorner(opp));Coords.setPressed(Coords.getCorner(opp)),Coords.setCurrent(opc),Tracker.activateHandlers(dragmodeHandler(mode,fc),doneSelect,touch)}function dragmodeHandler(mode,f){return function(pos){if(options.aspectRatio)switch(mode){case"e":pos[1]=f.y+1;break;case"w":pos[1]=f.y+1;break;case"n":pos[0]=f.x+1;break;case"s":pos[0]=f.x+1}else switch(mode){case"e":pos[1]=f.y2;break;case"w":pos[1]=f.y2;break;case"n":pos[0]=f.x2;break;case"s":pos[0]=f.x2}Coords.setCurrent(pos),Selection.update()}}function createMover(pos){var lloc=pos;return KeyManager.watchKeys(),function(pos){Coords.moveOffset([pos[0]-lloc[0],pos[1]-lloc[1]]),lloc=pos,Selection.update()}}function oppLockCorner(ord){switch(ord){case"n":return"sw";case"s":return"nw";case"e":return"nw";case"w":return"ne";case"ne":return"sw";case"nw":return"se";case"se":return"nw";case"sw":return"ne"}}function createDragger(ord){return function(e){return options.disabled?!1:"move"!==ord||options.allowMove?(docOffset=getPos($img),btndown=!0,startDragMode(ord,mouseAbs(e)),e.stopPropagation(),e.preventDefault(),!1):!1}}function presize($obj,w,h){var nw=$obj.width(),nh=$obj.height();nw>w&&w>0&&(nw=w,nh=w/$obj.width()*$obj.height()),nh>h&&h>0&&(nh=h,nw=h/$obj.height()*$obj.width()),xscale=$obj.width()/nw,yscale=$obj.height()/nh,$obj.width(nw).height(nh)}function unscale(c){return{x:c.x*xscale,y:c.y*yscale,x2:c.x2*xscale,y2:c.y2*yscale,w:c.w*xscale,h:c.h*yscale}}function doneSelect(){var c=Coords.getFixed();c.w>options.minSelect[0]&&c.h>options.minSelect[1]?(Selection.enableHandles(),Selection.done()):Selection.release(),Tracker.setCursor(options.allowSelect?"crosshair":"default")}function newSelection(e){if(!options.disabled&&options.allowSelect){btndown=!0,docOffset=getPos($img),Selection.disableHandles(),Tracker.setCursor("crosshair");var pos=mouseAbs(e);return Coords.setPressed(pos),Selection.update(),Tracker.activateHandlers(selectDrag,doneSelect,"touch"===e.type.substring(0,5)),KeyManager.watchKeys(),e.stopPropagation(),e.preventDefault(),!1}}function selectDrag(pos){Coords.setCurrent(pos),Selection.update()}function newTracker(){var trk=$("<div></div>").addClass(cssClass("tracker"));return is_msie&&trk.css({opacity:0,backgroundColor:"white"}),trk}function setClass(cname){$div.removeClass().addClass(cssClass("holder")).addClass(cname)}function animateTo(a,callback){function queueAnimator(){window.setTimeout(animator,interv)}var x1=a[0]/xscale,y1=a[1]/yscale,x2=a[2]/xscale,y2=a[3]/yscale;if(!animating){var animto=Coords.flipCoords(x1,y1,x2,y2),c=Coords.getFixed(),initcr=[c.x,c.y,c.x2,c.y2],animat=initcr,interv=options.animationDelay,ix1=animto[0]-initcr[0],iy1=animto[1]-initcr[1],ix2=animto[2]-initcr[2],iy2=animto[3]-initcr[3],pcent=0,velocity=options.swingSpeed;x1=animat[0],y1=animat[1],x2=animat[2],y2=animat[3],Selection.animMode(!0);var animator=function(){return function(){pcent+=(100-pcent)/velocity,animat[0]=Math.round(x1+pcent/100*ix1),animat[1]=Math.round(y1+pcent/100*iy1),animat[2]=Math.round(x2+pcent/100*ix2),animat[3]=Math.round(y2+pcent/100*iy2),pcent>=99.8&&(pcent=100),100>pcent?(setSelectRaw(animat),queueAnimator()):(Selection.done(),Selection.animMode(!1),"function"==typeof callback&&callback.call(api))}}();queueAnimator()}}function setSelect(rect){setSelectRaw([rect[0]/xscale,rect[1]/yscale,rect[2]/xscale,rect[3]/yscale]),options.onSelect.call(api,unscale(Coords.getFixed())),Selection.enableHandles()}function setSelectRaw(l){Coords.setPressed([l[0],l[1]]),Coords.setCurrent([l[2],l[3]]),Selection.update()}function tellSelect(){return unscale(Coords.getFixed())}function tellScaled(){return Coords.getFixed()}function setOptionsNew(opt){setOptions(opt),interfaceUpdate()}function disableCrop(){options.disabled=!0,Selection.disableHandles(),Selection.setCursor("default"),Tracker.setCursor("default")}function enableCrop(){options.disabled=!1,interfaceUpdate()}function cancelCrop(){Selection.done(),Tracker.activateHandlers(null,null)}function destroy(){$div.remove(),$origimg.show(),$origimg.css("visibility","visible"),$(obj).removeData("Jcrop")}function setImage(src,callback){Selection.release(),disableCrop();var img=new Image;img.onload=function(){var iw=img.width,ih=img.height,bw=options.boxWidth,bh=options.boxHeight;$img.width(iw).height(ih),$img.attr("src",src),$img2.attr("src",src),presize($img,bw,bh),boundx=$img.width(),boundy=$img.height(),$img2.width(boundx).height(boundy),$trk.width(boundx+2*bound).height(boundy+2*bound),$div.width(boundx).height(boundy),Shade.resize(boundx,boundy),enableCrop(),"function"==typeof callback&&callback.call(api)},img.src=src}function colorChangeMacro($obj,color,now){var mycolor=color||options.bgColor;options.bgFade&&supportsColorFade()&&options.fadeTime&&!now?$obj.animate({backgroundColor:mycolor},{queue:!1,duration:options.fadeTime}):$obj.css("backgroundColor",mycolor)}function interfaceUpdate(alt){options.allowResize?alt?Selection.enableOnly():Selection.enableHandles():Selection.disableHandles(),Tracker.setCursor(options.allowSelect?"crosshair":"default"),Selection.setCursor(options.allowMove?"move":"default"),options.hasOwnProperty("trueSize")&&(xscale=options.trueSize[0]/boundx,yscale=options.trueSize[1]/boundy),options.hasOwnProperty("setSelect")&&(setSelect(options.setSelect),Selection.done(),delete options.setSelect),Shade.refresh(),options.bgColor!=bgcolor&&(colorChangeMacro(options.shade?Shade.getShades():$div,options.shade?options.shadeColor||options.bgColor:options.bgColor),bgcolor=options.bgColor),bgopacity!=options.bgOpacity&&(bgopacity=options.bgOpacity,options.shade?Shade.refresh():Selection.setBgOpacity(bgopacity)),xlimit=options.maxSize[0]||0,ylimit=options.maxSize[1]||0,xmin=options.minSize[0]||0,ymin=options.minSize[1]||0,options.hasOwnProperty("outerImage")&&($img.attr("src",options.outerImage),delete options.outerImage),Selection.refresh()}var docOffset,options=$.extend({},$.Jcrop.defaults),_ua=navigator.userAgent.toLowerCase(),is_msie=/msie/.test(_ua),ie6mode=/msie [1-6]\./.test(_ua);"object"!=typeof obj&&(obj=$(obj)[0]),"object"!=typeof opt&&(opt={}),setOptions(opt);var img_css={border:"none",visibility:"visible",margin:0,padding:0,position:"absolute",top:0,left:0},$origimg=$(obj),img_mode=!0;if("IMG"==obj.tagName){if(0!=$origimg[0].width&&0!=$origimg[0].height)$origimg.width($origimg[0].width),$origimg.height($origimg[0].height);else{var tempImage=new Image;tempImage.src=$origimg[0].src,$origimg.width(tempImage.width),$origimg.height(tempImage.height)}var $img=$origimg.clone().removeAttr("id").css(img_css).show();$img.width($origimg.width()),$img.height($origimg.height()),$origimg.after($img).hide()}else $img=$origimg.css(img_css).show(),img_mode=!1,null===options.shade&&(options.shade=!0);presize($img,options.boxWidth,options.boxHeight);var boundx=$img.width(),boundy=$img.height(),$div=$("<div />").width(boundx).height(boundy).addClass(cssClass("holder")).css({position:"relative",backgroundColor:options.bgColor}).insertAfter($origimg).append($img);options.addClass&&$div.addClass(options.addClass);var $img2=$("<div />"),$img_holder=$("<div />").width("100%").height("100%").css({zIndex:310,position:"absolute",overflow:"hidden"}),$hdl_holder=$("<div />").width("100%").height("100%").css("zIndex",320),$sel=$("<div />").css({position:"absolute",zIndex:600}).dblclick(function(){var c=Coords.getFixed();options.onDblClick.call(api,c)}).insertBefore($img).append($img_holder,$hdl_holder);img_mode&&($img2=$("<img />").attr("src",$img.attr("src")).css(img_css).width(boundx).height(boundy),$img_holder.append($img2)),ie6mode&&$sel.css({overflowY:"hidden"});var xlimit,ylimit,xmin,ymin,xscale,yscale,btndown,animating,shift_down,bound=options.boundary,$trk=newTracker().width(boundx+2*bound).height(boundy+2*bound).css({position:"absolute",top:px(-bound),left:px(-bound),zIndex:290}).mousedown(newSelection),bgcolor=options.bgColor,bgopacity=options.bgOpacity;docOffset=getPos($img);var Touch=function(){function hasTouchSupport(){var i,support={},events=["touchstart","touchmove","touchend"],el=document.createElement("div");try{for(i=0;i<events.length;i++){var eventName=events[i];eventName="on"+eventName;var isSupported=eventName in el;isSupported||(el.setAttribute(eventName,"return;"),isSupported="function"==typeof el[eventName]),support[events[i]]=isSupported}return support.touchstart&&support.touchend&&support.touchmove}catch(err){return!1}}function detectSupport(){return options.touchSupport===!0||options.touchSupport===!1?options.touchSupport:hasTouchSupport()}return{createDragger:function(ord){return function(e){return options.disabled?!1:"move"!==ord||options.allowMove?(docOffset=getPos($img),btndown=!0,startDragMode(ord,mouseAbs(Touch.cfilter(e)),!0),e.stopPropagation(),e.preventDefault(),!1):!1}},newSelection:function(e){return newSelection(Touch.cfilter(e))},cfilter:function(e){return e.pageX=e.originalEvent.changedTouches[0].pageX,e.pageY=e.originalEvent.changedTouches[0].pageY,e},isSupported:hasTouchSupport,support:detectSupport()}}(),Coords=function(){function setPressed(pos){pos=rebound(pos),x2=x1=pos[0],y2=y1=pos[1]}function setCurrent(pos){pos=rebound(pos),ox=pos[0]-x2,oy=pos[1]-y2,x2=pos[0],y2=pos[1]}function getOffset(){return[ox,oy]}function moveOffset(offset){var ox=offset[0],oy=offset[1];0>x1+ox&&(ox-=ox+x1),0>y1+oy&&(oy-=oy+y1),y2+oy>boundy&&(oy+=boundy-(y2+oy)),x2+ox>boundx&&(ox+=boundx-(x2+ox)),x1+=ox,x2+=ox,y1+=oy,y2+=oy}function getCorner(ord){var c=getFixed();switch(ord){case"ne":return[c.x2,c.y];case"nw":return[c.x,c.y];case"se":return[c.x2,c.y2];case"sw":return[c.x,c.y2]}}function getFixed(){if(!options.aspectRatio)return getRect();var xx,yy,w,h,aspect=options.aspectRatio,min_x=options.minSize[0]/xscale,max_x=options.maxSize[0]/xscale,max_y=options.maxSize[1]/yscale,rw=x2-x1,rh=y2-y1,rwa=Math.abs(rw),rha=Math.abs(rh),real_ratio=rwa/rha;return 0===max_x&&(max_x=10*boundx),0===max_y&&(max_y=10*boundy),aspect>real_ratio?(yy=y2,w=rha*aspect,xx=0>rw?x1-w:w+x1,0>xx?(xx=0,h=Math.abs((xx-x1)/aspect),yy=0>rh?y1-h:h+y1):xx>boundx&&(xx=boundx,h=Math.abs((xx-x1)/aspect),yy=0>rh?y1-h:h+y1)):(xx=x2,h=rwa/aspect,yy=0>rh?y1-h:y1+h,0>yy?(yy=0,w=Math.abs((yy-y1)*aspect),xx=0>rw?x1-w:w+x1):yy>boundy&&(yy=boundy,w=Math.abs(yy-y1)*aspect,xx=0>rw?x1-w:w+x1)),xx>x1?(min_x>xx-x1?xx=x1+min_x:xx-x1>max_x&&(xx=x1+max_x),yy=yy>y1?y1+(xx-x1)/aspect:y1-(xx-x1)/aspect):x1>xx&&(min_x>x1-xx?xx=x1-min_x:x1-xx>max_x&&(xx=x1-max_x),yy=yy>y1?y1+(x1-xx)/aspect:y1-(x1-xx)/aspect),0>xx?(x1-=xx,xx=0):xx>boundx&&(x1-=xx-boundx,xx=boundx),0>yy?(y1-=yy,yy=0):yy>boundy&&(y1-=yy-boundy,yy=boundy),makeObj(flipCoords(x1,y1,xx,yy))}function rebound(p){return p[0]<0&&(p[0]=0),p[1]<0&&(p[1]=0),p[0]>boundx&&(p[0]=boundx),p[1]>boundy&&(p[1]=boundy),[Math.round(p[0]),Math.round(p[1])]}function flipCoords(x1,y1,x2,y2){var xa=x1,xb=x2,ya=y1,yb=y2;return x1>x2&&(xa=x2,xb=x1),y1>y2&&(ya=y2,yb=y1),[xa,ya,xb,yb]}function getRect(){var delta,xsize=x2-x1,ysize=y2-y1;return xlimit&&Math.abs(xsize)>xlimit&&(x2=xsize>0?x1+xlimit:x1-xlimit),ylimit&&Math.abs(ysize)>ylimit&&(y2=ysize>0?y1+ylimit:y1-ylimit),ymin/yscale&&Math.abs(ysize)<ymin/yscale&&(y2=ysize>0?y1+ymin/yscale:y1-ymin/yscale),xmin/xscale&&Math.abs(xsize)<xmin/xscale&&(x2=xsize>0?x1+xmin/xscale:x1-xmin/xscale),0>x1&&(x2-=x1,x1-=x1),0>y1&&(y2-=y1,y1-=y1),0>x2&&(x1-=x2,x2-=x2),0>y2&&(y1-=y2,y2-=y2),x2>boundx&&(delta=x2-boundx,x1-=delta,x2-=delta),y2>boundy&&(delta=y2-boundy,y1-=delta,y2-=delta),x1>boundx&&(delta=x1-boundy,y2-=delta,y1-=delta),y1>boundy&&(delta=y1-boundy,y2-=delta,y1-=delta),makeObj(flipCoords(x1,y1,x2,y2))}function makeObj(a){return{x:a[0],y:a[1],x2:a[2],y2:a[3],w:a[2]-a[0],h:a[3]-a[1]}}var ox,oy,x1=0,y1=0,x2=0,y2=0;return{flipCoords:flipCoords,setPressed:setPressed,setCurrent:setCurrent,getOffset:getOffset,moveOffset:moveOffset,getCorner:getCorner,getFixed:getFixed}}(),Shade=function(){function resizeShades(w,h){shades.left.css({height:px(h)}),shades.right.css({height:px(h)})}function updateAuto(){return updateShade(Coords.getFixed())}function updateShade(c){shades.top.css({left:px(c.x),width:px(c.w),height:px(c.y)}),shades.bottom.css({top:px(c.y2),left:px(c.x),width:px(c.w),height:px(boundy-c.y2)}),shades.right.css({left:px(c.x2),width:px(boundx-c.x2)}),shades.left.css({width:px(c.x)})}function createShade(){return $("<div />").css({position:"absolute",backgroundColor:options.shadeColor||options.bgColor}).appendTo(holder)}function enableShade(){enabled||(enabled=!0,holder.insertBefore($img),updateAuto(),Selection.setBgOpacity(1,0,1),$img2.hide(),setBgColor(options.shadeColor||options.bgColor,1),Selection.isAwake()?setOpacity(options.bgOpacity,1):setOpacity(1,1))}function setBgColor(color,now){colorChangeMacro(getShades(),color,now)}function disableShade(){enabled&&(holder.remove(),$img2.show(),enabled=!1,Selection.isAwake()?Selection.setBgOpacity(options.bgOpacity,1,1):(Selection.setBgOpacity(1,1,1),Selection.disableHandles()),colorChangeMacro($div,0,1))}function setOpacity(opacity,now){enabled&&(options.bgFade&&!now?holder.animate({opacity:1-opacity},{queue:!1,duration:options.fadeTime}):holder.css({opacity:1-opacity}))}function refreshAll(){options.shade?enableShade():disableShade(),Selection.isAwake()&&setOpacity(options.bgOpacity)}function getShades(){return holder.children()}var enabled=!1,holder=$("<div />").css({position:"absolute",zIndex:240,opacity:0}),shades={top:createShade(),left:createShade().height(boundy),right:createShade().height(boundy),bottom:createShade()};return{update:updateAuto,updateRaw:updateShade,getShades:getShades,setBgColor:setBgColor,enable:enableShade,disable:disableShade,resize:resizeShades,refresh:refreshAll,opacity:setOpacity}}(),Selection=function(){function insertBorder(type){var jq=$("<div />").css({position:"absolute",opacity:options.borderOpacity}).addClass(cssClass(type));return $img_holder.append(jq),jq}function dragDiv(ord,zi){var jq=$("<div />").mousedown(createDragger(ord)).css({cursor:ord+"-resize",position:"absolute",zIndex:zi}).addClass("ord-"+ord);return Touch.support&&jq.bind("touchstart.jcrop",Touch.createDragger(ord)),$hdl_holder.append(jq),jq}function insertHandle(ord){var hs=options.handleSize,div=dragDiv(ord,hdep++).css({opacity:options.handleOpacity}).addClass(cssClass("handle"));return hs&&div.width(hs).height(hs),div}function insertDragbar(ord){return dragDiv(ord,hdep++).addClass("jcrop-dragbar")}function createDragbars(li){var i;for(i=0;i<li.length;i++)dragbar[li[i]]=insertDragbar(li[i])}function createBorders(li){var cl,i;for(i=0;i<li.length;i++){switch(li[i]){case"n":cl="hline";break;case"s":cl="hline bottom";break;case"e":cl="vline right";break;case"w":cl="vline"}borders[li[i]]=insertBorder(cl)}}function createHandles(li){var i;for(i=0;i<li.length;i++)handle[li[i]]=insertHandle(li[i])}function moveto(x,y){options.shade||$img2.css({top:px(-y),left:px(-x)}),$sel.css({top:px(y),left:px(x)})}function resize(w,h){$sel.width(Math.round(w)).height(Math.round(h))}function refresh(){var c=Coords.getFixed();Coords.setPressed([c.x,c.y]),Coords.setCurrent([c.x2,c.y2]),updateVisible()}function updateVisible(select){return awake?update(select):void 0}function update(select){var c=Coords.getFixed();resize(c.w,c.h),moveto(c.x,c.y),options.shade&&Shade.updateRaw(c),awake||show(),select?options.onSelect.call(api,unscale(c)):options.onChange.call(api,unscale(c))}function setBgOpacity(opacity,force,now){(awake||force)&&(options.bgFade&&!now?$img.animate({opacity:opacity},{queue:!1,duration:options.fadeTime}):$img.css("opacity",opacity))}function show(){$sel.show(),options.shade?Shade.opacity(bgopacity):setBgOpacity(bgopacity,!0),awake=!0}function release(){disableHandles(),$sel.hide(),options.shade?Shade.opacity(1):setBgOpacity(1),awake=!1,options.onRelease.call(api)}function showHandles(){seehandles&&$hdl_holder.show()}function enableHandles(){return seehandles=!0,options.allowResize?($hdl_holder.show(),!0):void 0}function disableHandles(){seehandles=!1,$hdl_holder.hide()}function animMode(v){v?(animating=!0,disableHandles()):(animating=!1,enableHandles())}function done(){animMode(!1),refresh()}var awake,hdep=370,borders={},handle={},dragbar={},seehandles=!1;options.dragEdges&&$.isArray(options.createDragbars)&&createDragbars(options.createDragbars),$.isArray(options.createHandles)&&createHandles(options.createHandles),options.drawBorders&&$.isArray(options.createBorders)&&createBorders(options.createBorders),$(document).bind("touchstart.jcrop-ios",function(e){$(e.currentTarget).hasClass("jcrop-tracker")&&e.stopPropagation()});var $track=newTracker().mousedown(createDragger("move")).css({cursor:"move",position:"absolute",zIndex:360});return Touch.support&&$track.bind("touchstart.jcrop",Touch.createDragger("move")),$img_holder.append($track),disableHandles(),{updateVisible:updateVisible,update:update,release:release,refresh:refresh,isAwake:function(){return awake},setCursor:function(cursor){$track.css("cursor",cursor)},enableHandles:enableHandles,enableOnly:function(){seehandles=!0},showHandles:showHandles,disableHandles:disableHandles,animMode:animMode,setBgOpacity:setBgOpacity,done:done}}(),Tracker=function(){function toFront(touch){$trk.css({zIndex:450}),touch?$(document).bind("touchmove.jcrop",trackTouchMove).bind("touchend.jcrop",trackTouchEnd):trackDoc&&$(document).bind("mousemove.jcrop",trackMove).bind("mouseup.jcrop",trackUp)}function toBack(){$trk.css({zIndex:290}),$(document).unbind(".jcrop")}function trackMove(e){return onMove(mouseAbs(e)),!1}function trackUp(e){return e.preventDefault(),e.stopPropagation(),btndown&&(btndown=!1,onDone(mouseAbs(e)),Selection.isAwake()&&options.onSelect.call(api,unscale(Coords.getFixed())),toBack(),onMove=function(){},onDone=function(){}),!1}function activateHandlers(move,done,touch){return btndown=!0,onMove=move,onDone=done,toFront(touch),!1}function trackTouchMove(e){return onMove(mouseAbs(Touch.cfilter(e))),!1}function trackTouchEnd(e){return trackUp(Touch.cfilter(e))}function setCursor(t){$trk.css("cursor",t)}var onMove=function(){},onDone=function(){},trackDoc=options.trackDocument;return trackDoc||$trk.mousemove(trackMove).mouseup(trackUp).mouseout(trackUp),$img.before($trk),{activateHandlers:activateHandlers,setCursor:setCursor}}(),KeyManager=function(){function watchKeys(){options.keySupport&&($keymgr.show(),$keymgr.focus())}function onBlur(){$keymgr.hide()}function doNudge(e,x,y){options.allowMove&&(Coords.moveOffset([x,y]),Selection.updateVisible(!0)),e.preventDefault(),e.stopPropagation()}function parseKey(e){if(e.ctrlKey||e.metaKey)return!0;shift_down=e.shiftKey?!0:!1;var nudge=shift_down?10:1;switch(e.keyCode){case 37:doNudge(e,-nudge,0);break;case 39:doNudge(e,nudge,0);break;case 38:doNudge(e,0,-nudge);break;case 40:doNudge(e,0,nudge);break;case 27:options.allowSelect&&Selection.release();break;case 9:return!0}return!1}var $keymgr=$('<input type="radio" />').css({position:"fixed",left:"-120px",width:"12px"}).addClass("jcrop-keymgr"),$keywrap=$("<div />").css({position:"absolute",overflow:"hidden"}).append($keymgr);return options.keySupport&&($keymgr.keydown(parseKey).blur(onBlur),ie6mode||!options.fixedSupport?($keymgr.css({position:"absolute",left:"-20px"}),$keywrap.append($keymgr).insertBefore($img)):$keymgr.insertBefore($img)),{watchKeys:watchKeys}}();Touch.support&&$trk.bind("touchstart.jcrop",Touch.newSelection),$hdl_holder.hide(),interfaceUpdate(!0);var api={setImage:setImage,animateTo:animateTo,setSelect:setSelect,setOptions:setOptionsNew,tellSelect:tellSelect,tellScaled:tellScaled,setClass:setClass,disable:disableCrop,enable:enableCrop,cancel:cancelCrop,release:Selection.release,destroy:destroy,focus:KeyManager.watchKeys,getBounds:function(){return[boundx*xscale,boundy*yscale]},getWidgetSize:function(){return[boundx,boundy]},getScaleFactor:function(){return[xscale,yscale]},getOptions:function(){return options},ui:{holder:$div,selection:$sel}};return is_msie&&$div.bind("selectstart",function(){return!1}),$origimg.data("Jcrop",api),api},$.fn.Jcrop=function(options,callback){var api;return this.each(function(){if($(this).data("Jcrop")){if("api"===options)return $(this).data("Jcrop");$(this).data("Jcrop").setOptions(options)}else"IMG"==this.tagName?$.Jcrop.Loader(this,function(){$(this).css({display:"block",visibility:"hidden"}),api=$.Jcrop(this,options),$.isFunction(callback)&&callback.call(api)}):($(this).css({display:"block",visibility:"hidden"}),api=$.Jcrop(this,options),$.isFunction(callback)&&callback.call(api))}),this},$.Jcrop.Loader=function(imgobj,success,error){function completeCheck(){img.complete?($img.unbind(".jcloader"),$.isFunction(success)&&success.call(img)):window.setTimeout(completeCheck,50)}var $img=$(imgobj),img=$img[0];$img.bind("load.jcloader",completeCheck).bind("error.jcloader",function(){$img.unbind(".jcloader"),$.isFunction(error)&&error.call(img)}),img.complete&&$.isFunction(success)&&($img.unbind(".jcloader"),success.call(img))},$.Jcrop.defaults={allowSelect:!0,allowMove:!0,allowResize:!0,trackDocument:!0,baseClass:"jcrop",addClass:null,bgColor:"black",bgOpacity:.6,bgFade:!1,borderOpacity:.4,handleOpacity:.5,handleSize:null,aspectRatio:0,keySupport:!0,createHandles:["n","s","e","w","nw","ne","se","sw"],createDragbars:["n","s","e","w"],createBorders:["n","s","e","w"],drawBorders:!0,dragEdges:!0,fixedSupport:!0,touchSupport:null,shade:null,boxWidth:0,boxHeight:0,boundary:2,fadeTime:400,animationDelay:20,swingSpeed:3,minSelect:[0,0],maxSize:[0,0],minSize:[0,0],onChange:function(){},onSelect:function(){},onDblClick:function(){},onRelease:function(){}}}(jQuery);\ No newline at end of filediff --git a/web/ext/layers/jcarousel/jcarousel.js b/web/ext/layers/jcarousel/jcarousel.jsdeleted file mode 100755index 9f9a21b96..000000000--- a/web/ext/layers/jcarousel/jcarousel.js+++ /dev/null@@ -1,1026 +0,0 @@-/*! jCarousel - v0.3.3 - 2015-04-07-* http://sorgalla.com/jcarousel/-* Copyright (c) 2006-2015 Jan Sorgalla; Licensed MIT */-(function($) {- 'use strict';-- var jCarousel = $.jCarousel = {};-- jCarousel.version = '0.3.3';-- var rRelativeTarget = /^([+\-]=)?(.+)$/;-- jCarousel.parseTarget = function(target) {- var relative = false,- parts = typeof target !== 'object' ?- rRelativeTarget.exec(target) :- null;-- if (parts) {- target = parseInt(parts[2], 10) || 0;-- if (parts[1]) {- relative = true;- if (parts[1] === '-=') {- target *= -1;- }- }- } else if (typeof target !== 'object') {- target = parseInt(target, 10) || 0;- }-- return {- target: target,- relative: relative- };- };-- jCarousel.detectCarousel = function(element) {- var carousel;-- while (element.length > 0) {- carousel = element.filter('[data-jcarousel]');-- if (carousel.length > 0) {- return carousel;- }-- carousel = element.find('[data-jcarousel]');-- if (carousel.length > 0) {- return carousel;- }-- element = element.parent();- }-- return null;- };-- jCarousel.base = function(pluginName) {- return {- version: jCarousel.version,- _options: {},- _element: null,- _carousel: null,- _init: $.noop,- _create: $.noop,- _destroy: $.noop,- _reload: $.noop,- create: function() {- this._element- .attr('data-' + pluginName.toLowerCase(), true)- .data(pluginName, this);-- if (false === this._trigger('create')) {- return this;- }-- this._create();-- this._trigger('createend');-- return this;- },- destroy: function() {- if (false === this._trigger('destroy')) {- return this;- }-- this._destroy();-- this._trigger('destroyend');-- this._element- .removeData(pluginName)- .removeAttr('data-' + pluginName.toLowerCase());-- return this;- },- reload: function(options) {- if (false === this._trigger('reload')) {- return this;- }-- if (options) {- this.options(options);- }-- this._reload();-- this._trigger('reloadend');-- return this;- },- element: function() {- return this._element;- },- options: function(key, value) {- if (arguments.length === 0) {- return $.extend({}, this._options);- }-- if (typeof key === 'string') {- if (typeof value === 'undefined') {- return typeof this._options[key] === 'undefined' ?- null :- this._options[key];- }-- this._options[key] = value;- } else {- this._options = $.extend({}, this._options, key);- }-- return this;- },- carousel: function() {- if (!this._carousel) {- this._carousel = jCarousel.detectCarousel(this.options('carousel') || this._element);-- if (!this._carousel) {- $.error('Could not detect carousel for plugin "' + pluginName + '"');- }- }-- return this._carousel;- },- _trigger: function(type, element, data) {- var event,- defaultPrevented = false;-- data = [this].concat(data || []);-- (element || this._element).each(function() {- event = $.Event((pluginName + ':' + type).toLowerCase());-- $(this).trigger(event, data);-- if (event.isDefaultPrevented()) {- defaultPrevented = true;- }- });-- return !defaultPrevented;- }- };- };-- jCarousel.plugin = function(pluginName, pluginPrototype) {- var Plugin = $[pluginName] = function(element, options) {- this._element = $(element);- this.options(options);-- this._init();- this.create();- };-- Plugin.fn = Plugin.prototype = $.extend(- {},- jCarousel.base(pluginName),- pluginPrototype- );-- $.fn[pluginName] = function(options) {- var args = Array.prototype.slice.call(arguments, 1),- returnValue = this;-- if (typeof options === 'string') {- this.each(function() {- var instance = $(this).data(pluginName);-- if (!instance) {- return $.error(- 'Cannot call methods on ' + pluginName + ' prior to initialization; ' +- 'attempted to call method "' + options + '"'- );- }-- if (!$.isFunction(instance[options]) || options.charAt(0) === '_') {- return $.error(- 'No such method "' + options + '" for ' + pluginName + ' instance'- );- }-- var methodValue = instance[options].apply(instance, args);-- if (methodValue !== instance && typeof methodValue !== 'undefined') {- returnValue = methodValue;- return false;- }- });- } else {- this.each(function() {- var instance = $(this).data(pluginName);-- if (instance instanceof Plugin) {- instance.reload(options);- } else {- new Plugin(this, options);- }- });- }-- return returnValue;- };-- return Plugin;- };-}(jQuery));--(function($, window) {- 'use strict';-- var toFloat = function(val) {- return parseFloat(val) || 0;- };-- $.jCarousel.plugin('jcarousel', {- animating: false,- tail: 0,- inTail: false,- resizeTimer: null,- lt: null,- vertical: false,- rtl: false,- circular: false,- underflow: false,- relative: false,-- _options: {- list: function() {- return this.element().children().eq(0);- },- items: function() {- return this.list().children();- },- animation: 400,- transitions: false,- wrap: null,- vertical: null,- rtl: null,- center: false- },-- // Protected, don't access directly- _list: null,- _items: null,- _target: $(),- _first: $(),- _last: $(),- _visible: $(),- _fullyvisible: $(),- _init: function() {- var self = this;-- this.onWindowResize = function() {- if (self.resizeTimer) {- clearTimeout(self.resizeTimer);- }-- self.resizeTimer = setTimeout(function() {- self.reload();- }, 100);- };-- return this;- },- _create: function() {- this._reload();-- $(window).on('resize.jcarousel', this.onWindowResize);- },- _destroy: function() {- $(window).off('resize.jcarousel', this.onWindowResize);- },- _reload: function() {- this.vertical = this.options('vertical');-- if (this.vertical == null) {- this.vertical = this.list().height() > this.list().width();- }-- this.rtl = this.options('rtl');-- if (this.rtl == null) {- this.rtl = (function(element) {- if (('' + element.attr('dir')).toLowerCase() === 'rtl') {- return true;- }-- var found = false;-- element.parents('[dir]').each(function() {- if ((/rtl/i).test($(this).attr('dir'))) {- found = true;- return false;- }- });-- return found;- }(this._element));- }-- this.lt = this.vertical ? 'top' : 'left';-- // Ensure before closest() call- this.relative = this.list().css('position') === 'relative';-- // Force list and items reload- this._list = null;- this._items = null;-- var item = this.index(this._target) >= 0 ?- this._target :- this.closest();-- // _prepare() needs this here- this.circular = this.options('wrap') === 'circular';- this.underflow = false;-- var props = {'left': 0, 'top': 0};-- if (item.length > 0) {- this._prepare(item);- this.list().find('[data-jcarousel-clone]').remove();-- // Force items reload- this._items = null;-- this.underflow = this._fullyvisible.length >= this.items().length;- this.circular = this.circular && !this.underflow;-- props[this.lt] = this._position(item) + 'px';- }-- this.move(props);-- return this;- },- list: function() {- if (this._list === null) {- var option = this.options('list');- this._list = $.isFunction(option) ? option.call(this) : this._element.find(option);- }-- return this._list;- },- items: function() {- if (this._items === null) {- var option = this.options('items');- this._items = ($.isFunction(option) ? option.call(this) : this.list().find(option)).not('[data-jcarousel-clone]');- }-- return this._items;- },- index: function(item) {- return this.items().index(item);- },- closest: function() {- var self = this,- pos = this.list().position()[this.lt],- closest = $(), // Ensure we're returning a jQuery instance- stop = false,- lrb = this.vertical ? 'bottom' : (this.rtl && !this.relative ? 'left' : 'right'),- width;-- if (this.rtl && this.relative && !this.vertical) {- pos += this.list().width() - this.clipping();- }-- this.items().each(function() {- closest = $(this);-- if (stop) {- return false;- }-- var dim = self.dimension(closest);-- pos += dim;-- if (pos >= 0) {- width = dim - toFloat(closest.css('margin-' + lrb));-- if ((Math.abs(pos) - dim + (width / 2)) <= 0) {- stop = true;- } else {- return false;- }- }- });--- return closest;- },- target: function() {- return this._target;- },- first: function() {- return this._first;- },- last: function() {- return this._last;- },- visible: function() {- return this._visible;- },- fullyvisible: function() {- return this._fullyvisible;- },- hasNext: function() {- if (false === this._trigger('hasnext')) {- return true;- }-- var wrap = this.options('wrap'),- end = this.items().length - 1,- check = this.options('center') ? this._target : this._last;-- return end >= 0 && !this.underflow &&- ((wrap && wrap !== 'first') ||- (this.index(check) < end) ||- (this.tail && !this.inTail)) ? true : false;- },- hasPrev: function() {- if (false === this._trigger('hasprev')) {- return true;- }-- var wrap = this.options('wrap');-- return this.items().length > 0 && !this.underflow &&- ((wrap && wrap !== 'last') ||- (this.index(this._first) > 0) ||- (this.tail && this.inTail)) ? true : false;- },- clipping: function() {- return this._element['inner' + (this.vertical ? 'Height' : 'Width')]();- },- dimension: function(element) {- return element['outer' + (this.vertical ? 'Height' : 'Width')](true);- },- scroll: function(target, animate, callback) {- if (this.animating) {- return this;- }-- if (false === this._trigger('scroll', null, [target, animate])) {- return this;- }-- if ($.isFunction(animate)) {- callback = animate;- animate = true;- }-- var parsed = $.jCarousel.parseTarget(target);-- if (parsed.relative) {- var end = this.items().length - 1,- scroll = Math.abs(parsed.target),- wrap = this.options('wrap'),- current,- first,- index,- start,- curr,- isVisible,- props,- i;-- if (parsed.target > 0) {- var last = this.index(this._last);-- if (last >= end && this.tail) {- if (!this.inTail) {- this._scrollTail(animate, callback);- } else {- if (wrap === 'both' || wrap === 'last') {- this._scroll(0, animate, callback);- } else {- if ($.isFunction(callback)) {- callback.call(this, false);- }- }- }- } else {- current = this.index(this._target);-- if ((this.underflow && current === end && (wrap === 'circular' || wrap === 'both' || wrap === 'last')) ||- (!this.underflow && last === end && (wrap === 'both' || wrap === 'last'))) {- this._scroll(0, animate, callback);- } else {- index = current + scroll;-- if (this.circular && index > end) {- i = end;- curr = this.items().get(-1);-- while (i++ < index) {- curr = this.items().eq(0);- isVisible = this._visible.index(curr) >= 0;-- if (isVisible) {- curr.after(curr.clone(true).attr('data-jcarousel-clone', true));- }-- this.list().append(curr);-- if (!isVisible) {- props = {};- props[this.lt] = this.dimension(curr);- this.moveBy(props);- }-- // Force items reload- this._items = null;- }-- this._scroll(curr, animate, callback);- } else {- this._scroll(Math.min(index, end), animate, callback);- }- }- }- } else {- if (this.inTail) {- this._scroll(Math.max((this.index(this._first) - scroll) + 1, 0), animate, callback);- } else {- first = this.index(this._first);- current = this.index(this._target);- start = this.underflow ? current : first;- index = start - scroll;-- if (start <= 0 && ((this.underflow && wrap === 'circular') || wrap === 'both' || wrap === 'first')) {- this._scroll(end, animate, callback);- } else {- if (this.circular && index < 0) {- i = index;- curr = this.items().get(0);-- while (i++ < 0) {- curr = this.items().eq(-1);- isVisible = this._visible.index(curr) >= 0;-- if (isVisible) {- curr.after(curr.clone(true).attr('data-jcarousel-clone', true));- }-- this.list().prepend(curr);-- // Force items reload- this._items = null;-- var dim = this.dimension(curr);-- props = {};- props[this.lt] = -dim;- this.moveBy(props);-- }-- this._scroll(curr, animate, callback);- } else {- this._scroll(Math.max(index, 0), animate, callback);- }- }- }- }- } else {- this._scroll(parsed.target, animate, callback);- }-- this._trigger('scrollend');-- return this;- },- moveBy: function(properties, opts) {- var position = this.list().position(),- multiplier = 1,- correction = 0;-- if (this.rtl && !this.vertical) {- multiplier = -1;-- if (this.relative) {- correction = this.list().width() - this.clipping();- }- }-- if (properties.left) {- properties.left = (position.left + correction + toFloat(properties.left) * multiplier) + 'px';- }-- if (properties.top) {- properties.top = (position.top + correction + toFloat(properties.top) * multiplier) + 'px';- }-- return this.move(properties, opts);- },- move: function(properties, opts) {- opts = opts || {};-- var option = this.options('transitions'),- transitions = !!option,- transforms = !!option.transforms,- transforms3d = !!option.transforms3d,- duration = opts.duration || 0,- list = this.list();-- if (!transitions && duration > 0) {- list.animate(properties, opts);- return;- }-- var complete = opts.complete || $.noop,- css = {};-- if (transitions) {- var backup = {- transitionDuration: list.css('transitionDuration'),- transitionTimingFunction: list.css('transitionTimingFunction'),- transitionProperty: list.css('transitionProperty')- },- oldComplete = complete;-- complete = function() {- $(this).css(backup);- oldComplete.call(this);- };- css = {- transitionDuration: (duration > 0 ? duration / 1000 : 0) + 's',- transitionTimingFunction: option.easing || opts.easing,- transitionProperty: duration > 0 ? (function() {- if (transforms || transforms3d) {- // We have to use 'all' because jQuery doesn't prefix- // css values, like transition-property: transform;- return 'all';- }-- return properties.left ? 'left' : 'top';- })() : 'none',- transform: 'none'- };- }-- if (transforms3d) {- css.transform = 'translate3d(' + (properties.left || 0) + ',' + (properties.top || 0) + ',0)';- } else if (transforms) {- css.transform = 'translate(' + (properties.left || 0) + ',' + (properties.top || 0) + ')';- } else {- $.extend(css, properties);- }-- if (transitions && duration > 0) {- list.one('transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd', complete);- }-- list.css(css);-- if (duration <= 0) {- list.each(function() {- complete.call(this);- });- }- },- _scroll: function(item, animate, callback) {- if (this.animating) {- if ($.isFunction(callback)) {- callback.call(this, false);- }-- return this;- }-- if (typeof item !== 'object') {- item = this.items().eq(item);- } else if (typeof item.jquery === 'undefined') {- item = $(item);- }-- if (item.length === 0) {- if ($.isFunction(callback)) {- callback.call(this, false);- }-- return this;- }-- this.inTail = false;-- this._prepare(item);-- var pos = this._position(item),- currPos = this.list().position()[this.lt];-- if (pos === currPos) {- if ($.isFunction(callback)) {- callback.call(this, false);- }-- return this;- }-- var properties = {};- properties[this.lt] = pos + 'px';-- this._animate(properties, animate, callback);-- return this;- },- _scrollTail: function(animate, callback) {- if (this.animating || !this.tail) {- if ($.isFunction(callback)) {- callback.call(this, false);- }-- return this;- }-- var pos = this.list().position()[this.lt];-- if (this.rtl && this.relative && !this.vertical) {- pos += this.list().width() - this.clipping();- }-- if (this.rtl && !this.vertical) {- pos += this.tail;- } else {- pos -= this.tail;- }-- this.inTail = true;-- var properties = {};- properties[this.lt] = pos + 'px';-- this._update({- target: this._target.next(),- fullyvisible: this._fullyvisible.slice(1).add(this._visible.last())- });-- this._animate(properties, animate, callback);-- return this;- },- _animate: function(properties, animate, callback) {- callback = callback || $.noop;-- if (false === this._trigger('animate')) {- callback.call(this, false);- return this;- }-- this.animating = true;-- var animation = this.options('animation'),- complete = $.proxy(function() {- this.animating = false;-- var c = this.list().find('[data-jcarousel-clone]');-- if (c.length > 0) {- c.remove();- this._reload();- }-- this._trigger('animateend');-- callback.call(this, true);- }, this);-- var opts = typeof animation === 'object' ?- $.extend({}, animation) :- {duration: animation},- oldComplete = opts.complete || $.noop;-- if (animate === false) {- opts.duration = 0;- } else if (typeof $.fx.speeds[opts.duration] !== 'undefined') {- opts.duration = $.fx.speeds[opts.duration];- }-- opts.complete = function() {- complete();- oldComplete.call(this);- };-- this.move(properties, opts);-- return this;- },- _prepare: function(item) {- var index = this.index(item),- idx = index,- wh = this.dimension(item),- clip = this.clipping(),- lrb = this.vertical ? 'bottom' : (this.rtl ? 'left' : 'right'),- center = this.options('center'),- update = {- target: item,- first: item,- last: item,- visible: item,- fullyvisible: wh <= clip ? item : $()- },- curr,- isVisible,- margin,- dim;-- if (center) {- wh /= 2;- clip /= 2;- }-- if (wh < clip) {- while (true) {- curr = this.items().eq(++idx);-- if (curr.length === 0) {- if (!this.circular) {- break;- }-- curr = this.items().eq(0);-- if (item.get(0) === curr.get(0)) {- break;- }-- isVisible = this._visible.index(curr) >= 0;-- if (isVisible) {- curr.after(curr.clone(true).attr('data-jcarousel-clone', true));- }-- this.list().append(curr);-- if (!isVisible) {- var props = {};- props[this.lt] = this.dimension(curr);- this.moveBy(props);- }-- // Force items reload- this._items = null;- }-- dim = this.dimension(curr);-- if (dim === 0) {- break;- }-- wh += dim;-- update.last = curr;- update.visible = update.visible.add(curr);-- // Remove right/bottom margin from total width- margin = toFloat(curr.css('margin-' + lrb));-- if ((wh - margin) <= clip) {- update.fullyvisible = update.fullyvisible.add(curr);- }-- if (wh >= clip) {- break;- }- }- }-- if (!this.circular && !center && wh < clip) {- idx = index;-- while (true) {- if (--idx < 0) {- break;- }-- curr = this.items().eq(idx);-- if (curr.length === 0) {- break;- }-- dim = this.dimension(curr);-- if (dim === 0) {- break;- }-- wh += dim;-- update.first = curr;- update.visible = update.visible.add(curr);-- // Remove right/bottom margin from total width- margin = toFloat(curr.css('margin-' + lrb));-- if ((wh - margin) <= clip) {- update.fullyvisible = update.fullyvisible.add(curr);- }-- if (wh >= clip) {- break;- }- }- }-- this._update(update);-- this.tail = 0;-- if (!center &&- this.options('wrap') !== 'circular' &&- this.options('wrap') !== 'custom' &&- this.index(update.last) === (this.items().length - 1)) {-- // Remove right/bottom margin from total width- wh -= toFloat(update.last.css('margin-' + lrb));-- if (wh > clip) {- this.tail = wh - clip;- }- }-- return this;- },- _position: function(item) {- var first = this._first,- pos = first.position()[this.lt],- center = this.options('center'),- centerOffset = center ? (this.clipping() / 2) - (this.dimension(first) / 2) : 0;-- if (this.rtl && !this.vertical) {- if (this.relative) {- pos -= this.list().width() - this.dimension(first);- } else {- pos -= this.clipping() - this.dimension(first);- }-- pos += centerOffset;- } else {- pos -= centerOffset;- }-- if (!center &&- (this.index(item) > this.index(first) || this.inTail) &&- this.tail) {- pos = this.rtl && !this.vertical ? pos - this.tail : pos + this.tail;- this.inTail = true;- } else {- this.inTail = false;- }-- return -pos;- },- _update: function(update) {- var self = this,- current = {- target: this._target,- first: this._first,- last: this._last,- visible: this._visible,- fullyvisible: this._fullyvisible- },- back = this.index(update.first || current.first) < this.index(current.first),- key,- doUpdate = function(key) {- var elIn = [],- elOut = [];-- update[key].each(function() {- if (current[key].index(this) < 0) {- elIn.push(this);- }- });-- current[key].each(function() {- if (update[key].index(this) < 0) {- elOut.push(this);- }- });-- if (back) {- elIn = elIn.reverse();- } else {- elOut = elOut.reverse();- }-- self._trigger(key + 'in', $(elIn));- self._trigger(key + 'out', $(elOut));-- self['_' + key] = update[key];- };-- for (key in update) {- doUpdate(key);- }-- return this;- }- });-}(jQuery, window));diff --git a/web/ext/layers/jcarousel/jcarousel.min.js b/web/ext/layers/jcarousel/jcarousel.min.jsdeleted file mode 100755index 96e91a3d5..000000000--- a/web/ext/layers/jcarousel/jcarousel.min.js+++ /dev/null@@ -1,4 +0,0 @@-/*! jCarousel - v0.3.3 - 2015-04-07-* http://sorgalla.com/jcarousel/-* Copyright (c) 2006-2015 Jan Sorgalla; Licensed MIT */-!function(a){"use strict";var b=a.jCarousel={};b.version="0.3.3";var c=/^([+\-]=)?(.+)$/;b.parseTarget=function(a){var b=!1,d="object"!=typeof a?c.exec(a):null;return d?(a=parseInt(d[2],10)||0,d[1]&&(b=!0,"-="===d[1]&&(a*=-1))):"object"!=typeof a&&(a=parseInt(a,10)||0),{target:a,relative:b}},b.detectCarousel=function(a){for(var b;a.length>0;){if(b=a.filter("[data-jcarousel]"),b.length>0)return b;if(b=a.find("[data-jcarousel]"),b.length>0)return b;a=a.parent()}return null},b.base=function(c){return{version:b.version,_options:{},_element:null,_carousel:null,_init:a.noop,_create:a.noop,_destroy:a.noop,_reload:a.noop,create:function(){return this._element.attr("data-"+c.toLowerCase(),!0).data(c,this),!1===this._trigger("create")?this:(this._create(),this._trigger("createend"),this)},destroy:function(){return!1===this._trigger("destroy")?this:(this._destroy(),this._trigger("destroyend"),this._element.removeData(c).removeAttr("data-"+c.toLowerCase()),this)},reload:function(a){return!1===this._trigger("reload")?this:(a&&this.options(a),this._reload(),this._trigger("reloadend"),this)},element:function(){return this._element},options:function(b,c){if(0===arguments.length)return a.extend({},this._options);if("string"==typeof b){if("undefined"==typeof c)return"undefined"==typeof this._options[b]?null:this._options[b];this._options[b]=c}else this._options=a.extend({},this._options,b);return this},carousel:function(){return this._carousel||(this._carousel=b.detectCarousel(this.options("carousel")||this._element),this._carousel||a.error('Could not detect carousel for plugin "'+c+'"')),this._carousel},_trigger:function(b,d,e){var f,g=!1;return e=[this].concat(e||[]),(d||this._element).each(function(){f=a.Event((c+":"+b).toLowerCase()),a(this).trigger(f,e),f.isDefaultPrevented()&&(g=!0)}),!g}}},b.plugin=function(c,d){var e=a[c]=function(b,c){this._element=a(b),this.options(c),this._init(),this.create()};return e.fn=e.prototype=a.extend({},b.base(c),d),a.fn[c]=function(b){var d=Array.prototype.slice.call(arguments,1),f=this;return this.each("string"==typeof b?function(){var e=a(this).data(c);if(!e)return a.error("Cannot call methods on "+c+' prior to initialization; attempted to call method "'+b+'"');if(!a.isFunction(e[b])||"_"===b.charAt(0))return a.error('No such method "'+b+'" for '+c+" instance");var g=e[b].apply(e,d);return g!==e&&"undefined"!=typeof g?(f=g,!1):void 0}:function(){var d=a(this).data(c);d instanceof e?d.reload(b):new e(this,b)}),f},e}}(jQuery),function(a,b){"use strict";var c=function(a){return parseFloat(a)||0};a.jCarousel.plugin("jcarousel",{animating:!1,tail:0,inTail:!1,resizeTimer:null,lt:null,vertical:!1,rtl:!1,circular:!1,underflow:!1,relative:!1,_options:{list:function(){return this.element().children().eq(0)},items:function(){return this.list().children()},animation:400,transitions:!1,wrap:null,vertical:null,rtl:null,center:!1},_list:null,_items:null,_target:a(),_first:a(),_last:a(),_visible:a(),_fullyvisible:a(),_init:function(){var a=this;return this.onWindowResize=function(){a.resizeTimer&&clearTimeout(a.resizeTimer),a.resizeTimer=setTimeout(function(){a.reload()},100)},this},_create:function(){this._reload(),a(b).on("resize.jcarousel",this.onWindowResize)},_destroy:function(){a(b).off("resize.jcarousel",this.onWindowResize)},_reload:function(){this.vertical=this.options("vertical"),null==this.vertical&&(this.vertical=this.list().height()>this.list().width()),this.rtl=this.options("rtl"),null==this.rtl&&(this.rtl=function(b){if("rtl"===(""+b.attr("dir")).toLowerCase())return!0;var c=!1;return b.parents("[dir]").each(function(){return/rtl/i.test(a(this).attr("dir"))?(c=!0,!1):void 0}),c}(this._element)),this.lt=this.vertical?"top":"left",this.relative="relative"===this.list().css("position"),this._list=null,this._items=null;var b=this.index(this._target)>=0?this._target:this.closest();this.circular="circular"===this.options("wrap"),this.underflow=!1;var c={left:0,top:0};return b.length>0&&(this._prepare(b),this.list().find("[data-jcarousel-clone]").remove(),this._items=null,this.underflow=this._fullyvisible.length>=this.items().length,this.circular=this.circular&&!this.underflow,c[this.lt]=this._position(b)+"px"),this.move(c),this},list:function(){if(null===this._list){var b=this.options("list");this._list=a.isFunction(b)?b.call(this):this._element.find(b)}return this._list},items:function(){if(null===this._items){var b=this.options("items");this._items=(a.isFunction(b)?b.call(this):this.list().find(b)).not("[data-jcarousel-clone]")}return this._items},index:function(a){return this.items().index(a)},closest:function(){var b,d=this,e=this.list().position()[this.lt],f=a(),g=!1,h=this.vertical?"bottom":this.rtl&&!this.relative?"left":"right";return this.rtl&&this.relative&&!this.vertical&&(e+=this.list().width()-this.clipping()),this.items().each(function(){if(f=a(this),g)return!1;var i=d.dimension(f);if(e+=i,e>=0){if(b=i-c(f.css("margin-"+h)),!(Math.abs(e)-i+b/2<=0))return!1;g=!0}}),f},target:function(){return this._target},first:function(){return this._first},last:function(){return this._last},visible:function(){return this._visible},fullyvisible:function(){return this._fullyvisible},hasNext:function(){if(!1===this._trigger("hasnext"))return!0;var a=this.options("wrap"),b=this.items().length-1,c=this.options("center")?this._target:this._last;return b>=0&&!this.underflow&&(a&&"first"!==a||this.index(c)<b||this.tail&&!this.inTail)?!0:!1},hasPrev:function(){if(!1===this._trigger("hasprev"))return!0;var a=this.options("wrap");return this.items().length>0&&!this.underflow&&(a&&"last"!==a||this.index(this._first)>0||this.tail&&this.inTail)?!0:!1},clipping:function(){return this._element["inner"+(this.vertical?"Height":"Width")]()},dimension:function(a){return a["outer"+(this.vertical?"Height":"Width")](!0)},scroll:function(b,c,d){if(this.animating)return this;if(!1===this._trigger("scroll",null,[b,c]))return this;a.isFunction(c)&&(d=c,c=!0);var e=a.jCarousel.parseTarget(b);if(e.relative){var f,g,h,i,j,k,l,m,n=this.items().length-1,o=Math.abs(e.target),p=this.options("wrap");if(e.target>0){var q=this.index(this._last);if(q>=n&&this.tail)this.inTail?"both"===p||"last"===p?this._scroll(0,c,d):a.isFunction(d)&&d.call(this,!1):this._scrollTail(c,d);else if(f=this.index(this._target),this.underflow&&f===n&&("circular"===p||"both"===p||"last"===p)||!this.underflow&&q===n&&("both"===p||"last"===p))this._scroll(0,c,d);else if(h=f+o,this.circular&&h>n){for(m=n,j=this.items().get(-1);m++<h;)j=this.items().eq(0),k=this._visible.index(j)>=0,k&&j.after(j.clone(!0).attr("data-jcarousel-clone",!0)),this.list().append(j),k||(l={},l[this.lt]=this.dimension(j),this.moveBy(l)),this._items=null;this._scroll(j,c,d)}else this._scroll(Math.min(h,n),c,d)}else if(this.inTail)this._scroll(Math.max(this.index(this._first)-o+1,0),c,d);else if(g=this.index(this._first),f=this.index(this._target),i=this.underflow?f:g,h=i-o,0>=i&&(this.underflow&&"circular"===p||"both"===p||"first"===p))this._scroll(n,c,d);else if(this.circular&&0>h){for(m=h,j=this.items().get(0);m++<0;){j=this.items().eq(-1),k=this._visible.index(j)>=0,k&&j.after(j.clone(!0).attr("data-jcarousel-clone",!0)),this.list().prepend(j),this._items=null;var r=this.dimension(j);l={},l[this.lt]=-r,this.moveBy(l)}this._scroll(j,c,d)}else this._scroll(Math.max(h,0),c,d)}else this._scroll(e.target,c,d);return this._trigger("scrollend"),this},moveBy:function(a,b){var d=this.list().position(),e=1,f=0;return this.rtl&&!this.vertical&&(e=-1,this.relative&&(f=this.list().width()-this.clipping())),a.left&&(a.left=d.left+f+c(a.left)*e+"px"),a.top&&(a.top=d.top+f+c(a.top)*e+"px"),this.move(a,b)},move:function(b,c){c=c||{};var d=this.options("transitions"),e=!!d,f=!!d.transforms,g=!!d.transforms3d,h=c.duration||0,i=this.list();if(!e&&h>0)return void i.animate(b,c);var j=c.complete||a.noop,k={};if(e){var l={transitionDuration:i.css("transitionDuration"),transitionTimingFunction:i.css("transitionTimingFunction"),transitionProperty:i.css("transitionProperty")},m=j;j=function(){a(this).css(l),m.call(this)},k={transitionDuration:(h>0?h/1e3:0)+"s",transitionTimingFunction:d.easing||c.easing,transitionProperty:h>0?function(){return f||g?"all":b.left?"left":"top"}():"none",transform:"none"}}g?k.transform="translate3d("+(b.left||0)+","+(b.top||0)+",0)":f?k.transform="translate("+(b.left||0)+","+(b.top||0)+")":a.extend(k,b),e&&h>0&&i.one("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",j),i.css(k),0>=h&&i.each(function(){j.call(this)})},_scroll:function(b,c,d){if(this.animating)return a.isFunction(d)&&d.call(this,!1),this;if("object"!=typeof b?b=this.items().eq(b):"undefined"==typeof b.jquery&&(b=a(b)),0===b.length)return a.isFunction(d)&&d.call(this,!1),this;this.inTail=!1,this._prepare(b);var e=this._position(b),f=this.list().position()[this.lt];if(e===f)return a.isFunction(d)&&d.call(this,!1),this;var g={};return g[this.lt]=e+"px",this._animate(g,c,d),this},_scrollTail:function(b,c){if(this.animating||!this.tail)return a.isFunction(c)&&c.call(this,!1),this;var d=this.list().position()[this.lt];this.rtl&&this.relative&&!this.vertical&&(d+=this.list().width()-this.clipping()),this.rtl&&!this.vertical?d+=this.tail:d-=this.tail,this.inTail=!0;var e={};return e[this.lt]=d+"px",this._update({target:this._target.next(),fullyvisible:this._fullyvisible.slice(1).add(this._visible.last())}),this._animate(e,b,c),this},_animate:function(b,c,d){if(d=d||a.noop,!1===this._trigger("animate"))return d.call(this,!1),this;this.animating=!0;var e=this.options("animation"),f=a.proxy(function(){this.animating=!1;var a=this.list().find("[data-jcarousel-clone]");a.length>0&&(a.remove(),this._reload()),this._trigger("animateend"),d.call(this,!0)},this),g="object"==typeof e?a.extend({},e):{duration:e},h=g.complete||a.noop;return c===!1?g.duration=0:"undefined"!=typeof a.fx.speeds[g.duration]&&(g.duration=a.fx.speeds[g.duration]),g.complete=function(){f(),h.call(this)},this.move(b,g),this},_prepare:function(b){var d,e,f,g,h=this.index(b),i=h,j=this.dimension(b),k=this.clipping(),l=this.vertical?"bottom":this.rtl?"left":"right",m=this.options("center"),n={target:b,first:b,last:b,visible:b,fullyvisible:k>=j?b:a()};if(m&&(j/=2,k/=2),k>j)for(;;){if(d=this.items().eq(++i),0===d.length){if(!this.circular)break;if(d=this.items().eq(0),b.get(0)===d.get(0))break;if(e=this._visible.index(d)>=0,e&&d.after(d.clone(!0).attr("data-jcarousel-clone",!0)),this.list().append(d),!e){var o={};o[this.lt]=this.dimension(d),this.moveBy(o)}this._items=null}if(g=this.dimension(d),0===g)break;if(j+=g,n.last=d,n.visible=n.visible.add(d),f=c(d.css("margin-"+l)),k>=j-f&&(n.fullyvisible=n.fullyvisible.add(d)),j>=k)break}if(!this.circular&&!m&&k>j)for(i=h;;){if(--i<0)break;if(d=this.items().eq(i),0===d.length)break;if(g=this.dimension(d),0===g)break;if(j+=g,n.first=d,n.visible=n.visible.add(d),f=c(d.css("margin-"+l)),k>=j-f&&(n.fullyvisible=n.fullyvisible.add(d)),j>=k)break}return this._update(n),this.tail=0,m||"circular"===this.options("wrap")||"custom"===this.options("wrap")||this.index(n.last)!==this.items().length-1||(j-=c(n.last.css("margin-"+l)),j>k&&(this.tail=j-k)),this},_position:function(a){var b=this._first,c=b.position()[this.lt],d=this.options("center"),e=d?this.clipping()/2-this.dimension(b)/2:0;return this.rtl&&!this.vertical?(c-=this.relative?this.list().width()-this.dimension(b):this.clipping()-this.dimension(b),c+=e):c-=e,!d&&(this.index(a)>this.index(b)||this.inTail)&&this.tail?(c=this.rtl&&!this.vertical?c-this.tail:c+this.tail,this.inTail=!0):this.inTail=!1,-c},_update:function(b){var c,d=this,e={target:this._target,first:this._first,last:this._last,visible:this._visible,fullyvisible:this._fullyvisible},f=this.index(b.first||e.first)<this.index(e.first),g=function(c){var g=[],h=[];b[c].each(function(){e[c].index(this)<0&&g.push(this)}),e[c].each(function(){b[c].index(this)<0&&h.push(this)}),f?g=g.reverse():h=h.reverse(),d._trigger(c+"in",a(g)),d._trigger(c+"out",a(h)),d["_"+c]=b[c]};for(c in b)g(c);return this}})}(jQuery,window);\ No newline at end of filediff --git a/web/ext/main/jquery-2.1.4/jquery.js b/web/ext/main/jquery-2.1.4/jquery.jsdeleted file mode 100644index eed17778c..000000000--- a/web/ext/main/jquery-2.1.4/jquery.js+++ /dev/null@@ -1,9210 +0,0 @@-/*!- * jQuery JavaScript Library v2.1.4- * http://jquery.com/- *- * Includes Sizzle.js- * http://sizzlejs.com/- *- * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors- * Released under the MIT license- * http://jquery.org/license- *- * Date: 2015-04-28T16:01Z- */--(function( global, factory ) {-- if ( typeof module === "object" && typeof module.exports === "object" ) {- // For CommonJS and CommonJS-like environments where a proper `window`- // is present, execute the factory and get jQuery.- // For environments that do not have a `window` with a `document`- // (such as Node.js), expose a factory as module.exports.- // This accentuates the need for the creation of a real `window`.- // e.g. var jQuery = require("jquery")(window);- // See ticket #14549 for more info.- module.exports = global.document ?- factory( global, true ) :- function( w ) {- if ( !w.document ) {- throw new Error( "jQuery requires a window with a document" );- }- return factory( w );- };- } else {- factory( global );- }--// Pass this if window is not defined yet-}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) {--// Support: Firefox 18+-// Can't be in strict mode, several libs including ASP.NET trace-// the stack via arguments.caller.callee and Firefox dies if-// you try to trace through "use strict" call chains. (#13335)-//--var arr = [];--var slice = arr.slice;--var concat = arr.concat;--var push = arr.push;--var indexOf = arr.indexOf;--var class2type = {};--var toString = class2type.toString;--var hasOwn = class2type.hasOwnProperty;--var support = {};----var- // Use the correct document accordingly with window argument (sandbox)- document = window.document,-- version = "2.1.4",-- // Define a local copy of jQuery- jQuery = function( selector, context ) {- // The jQuery object is actually just the init constructor 'enhanced'- // Need init if jQuery is called (just allow error to be thrown if not included)- return new jQuery.fn.init( selector, context );- },-- // Support: Android<4.1- // Make sure we trim BOM and NBSP- rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,-- // Matches dashed string for camelizing- rmsPrefix = /^-ms-/,- rdashAlpha = /-([\da-z])/gi,-- // Used by jQuery.camelCase as callback to replace()- fcamelCase = function( all, letter ) {- return letter.toUpperCase();- };--jQuery.fn = jQuery.prototype = {- // The current version of jQuery being used- jquery: version,-- constructor: jQuery,-- // Start with an empty selector- selector: "",-- // The default length of a jQuery object is 0- length: 0,-- toArray: function() {- return slice.call( this );- },-- // Get the Nth element in the matched element set OR- // Get the whole matched element set as a clean array- get: function( num ) {- return num != null ?-- // Return just the one element from the set- ( num < 0 ? this[ num + this.length ] : this[ num ] ) :-- // Return all the elements in a clean array- slice.call( this );- },-- // Take an array of elements and push it onto the stack- // (returning the new matched element set)- pushStack: function( elems ) {-- // Build a new jQuery matched element set- var ret = jQuery.merge( this.constructor(), elems );-- // Add the old object onto the stack (as a reference)- ret.prevObject = this;- ret.context = this.context;-- // Return the newly-formed element set- return ret;- },-- // Execute a callback for every element in the matched set.- // (You can seed the arguments with an array of args, but this is- // only used internally.)- each: function( callback, args ) {- return jQuery.each( this, callback, args );- },-- map: function( callback ) {- return this.pushStack( jQuery.map(this, function( elem, i ) {- return callback.call( elem, i, elem );- }));- },-- slice: function() {- return this.pushStack( slice.apply( this, arguments ) );- },-- first: function() {- return this.eq( 0 );- },-- last: function() {- return this.eq( -1 );- },-- eq: function( i ) {- var len = this.length,- j = +i + ( i < 0 ? len : 0 );- return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] );- },-- end: function() {- return this.prevObject || this.constructor(null);- },-- // For internal use only.- // Behaves like an Array's method, not like a jQuery method.- push: push,- sort: arr.sort,- splice: arr.splice-};--jQuery.extend = jQuery.fn.extend = function() {- var options, name, src, copy, copyIsArray, clone,- target = arguments[0] || {},- i = 1,- length = arguments.length,- deep = false;-- // Handle a deep copy situation- if ( typeof target === "boolean" ) {- deep = target;-- // Skip the boolean and the target- target = arguments[ i ] || {};- i++;- }-- // Handle case when target is a string or something (possible in deep copy)- if ( typeof target !== "object" && !jQuery.isFunction(target) ) {- target = {};- }-- // Extend jQuery itself if only one argument is passed- if ( i === length ) {- target = this;- i--;- }-- for ( ; i < length; i++ ) {- // Only deal with non-null/undefined values- if ( (options = arguments[ i ]) != null ) {- // Extend the base object- for ( name in options ) {- src = target[ name ];- copy = options[ name ];-- // Prevent never-ending loop- if ( target === copy ) {- continue;- }-- // Recurse if we're merging plain objects or arrays- if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) {- if ( copyIsArray ) {- copyIsArray = false;- clone = src && jQuery.isArray(src) ? src : [];-- } else {- clone = src && jQuery.isPlainObject(src) ? src : {};- }-- // Never move original objects, clone them- target[ name ] = jQuery.extend( deep, clone, copy );-- // Don't bring in undefined values- } else if ( copy !== undefined ) {- target[ name ] = copy;- }- }- }- }-- // Return the modified object- return target;-};--jQuery.extend({- // Unique for each copy of jQuery on the page- expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ),-- // Assume jQuery is ready without the ready module- isReady: true,-- error: function( msg ) {- throw new Error( msg );- },-- noop: function() {},-- isFunction: function( obj ) {- return jQuery.type(obj) === "function";- },-- isArray: Array.isArray,-- isWindow: function( obj ) {- return obj != null && obj === obj.window;- },-- isNumeric: function( obj ) {- // parseFloat NaNs numeric-cast false positives (null|true|false|"")- // ...but misinterprets leading-number strings, particularly hex literals ("0x...")- // subtraction forces infinities to NaN- // adding 1 corrects loss of precision from parseFloat (#15100)- return !jQuery.isArray( obj ) && (obj - parseFloat( obj ) + 1) >= 0;- },-- isPlainObject: function( obj ) {- // Not plain objects:- // - Any object or value whose internal [[Class]] property is not "[object Object]"- // - DOM nodes- // - window- if ( jQuery.type( obj ) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {- return false;- }-- if ( obj.constructor &&- !hasOwn.call( obj.constructor.prototype, "isPrototypeOf" ) ) {- return false;- }-- // If the function hasn't returned already, we're confident that- // |obj| is a plain object, created by {} or constructed with new Object- return true;- },-- isEmptyObject: function( obj ) {- var name;- for ( name in obj ) {- return false;- }- return true;- },-- type: function( obj ) {- if ( obj == null ) {- return obj + "";- }- // Support: Android<4.0, iOS<6 (functionish RegExp)- return typeof obj === "object" || typeof obj === "function" ?- class2type[ toString.call(obj) ] || "object" :- typeof obj;- },-- // Evaluates a script in a global context- globalEval: function( code ) {- var script,- indirect = eval;-- code = jQuery.trim( code );-- if ( code ) {- // If the code includes a valid, prologue position- // strict mode pragma, execute code by injecting a- // script tag into the document.- if ( code.indexOf("use strict") === 1 ) {- script = document.createElement("script");- script.text = code;- document.head.appendChild( script ).parentNode.removeChild( script );- } else {- // Otherwise, avoid the DOM node creation, insertion- // and removal by using an indirect global eval- indirect( code );- }- }- },-- // Convert dashed to camelCase; used by the css and data modules- // Support: IE9-11+- // Microsoft forgot to hump their vendor prefix (#9572)- camelCase: function( string ) {- return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );- },-- nodeName: function( elem, name ) {- return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();- },-- // args is for internal usage only- each: function( obj, callback, args ) {- var value,- i = 0,- length = obj.length,- isArray = isArraylike( obj );-- if ( args ) {- if ( isArray ) {- for ( ; i < length; i++ ) {- value = callback.apply( obj[ i ], args );-- if ( value === false ) {- break;- }- }- } else {- for ( i in obj ) {- value = callback.apply( obj[ i ], args );-- if ( value === false ) {- break;- }- }- }-- // A special, fast, case for the most common use of each- } else {- if ( isArray ) {- for ( ; i < length; i++ ) {- value = callback.call( obj[ i ], i, obj[ i ] );-- if ( value === false ) {- break;- }- }- } else {- for ( i in obj ) {- value = callback.call( obj[ i ], i, obj[ i ] );-- if ( value === false ) {- break;- }- }- }- }-- return obj;- },-- // Support: Android<4.1- trim: function( text ) {- return text == null ?- "" :- ( text + "" ).replace( rtrim, "" );- },-- // results is for internal usage only- makeArray: function( arr, results ) {- var ret = results || [];-- if ( arr != null ) {- if ( isArraylike( Object(arr) ) ) {- jQuery.merge( ret,- typeof arr === "string" ?- [ arr ] : arr- );- } else {- push.call( ret, arr );- }- }-- return ret;- },-- inArray: function( elem, arr, i ) {- return arr == null ? -1 : indexOf.call( arr, elem, i );- },-- merge: function( first, second ) {- var len = +second.length,- j = 0,- i = first.length;-- for ( ; j < len; j++ ) {- first[ i++ ] = second[ j ];- }-- first.length = i;-- return first;- },-- grep: function( elems, callback, invert ) {- var callbackInverse,- matches = [],- i = 0,- length = elems.length,- callbackExpect = !invert;-- // Go through the array, only saving the items- // that pass the validator function- for ( ; i < length; i++ ) {- callbackInverse = !callback( elems[ i ], i );- if ( callbackInverse !== callbackExpect ) {- matches.push( elems[ i ] );- }- }-- return matches;- },-- // arg is for internal usage only- map: function( elems, callback, arg ) {- var value,- i = 0,- length = elems.length,- isArray = isArraylike( elems ),- ret = [];-- // Go through the array, translating each of the items to their new values- if ( isArray ) {- for ( ; i < length; i++ ) {- value = callback( elems[ i ], i, arg );-- if ( value != null ) {- ret.push( value );- }- }-- // Go through every key on the object,- } else {- for ( i in elems ) {- value = callback( elems[ i ], i, arg );-- if ( value != null ) {- ret.push( value );- }- }- }-- // Flatten any nested arrays- return concat.apply( [], ret );- },-- // A global GUID counter for objects- guid: 1,-- // Bind a function to a context, optionally partially applying any- // arguments.- proxy: function( fn, context ) {- var tmp, args, proxy;-- if ( typeof context === "string" ) {- tmp = fn[ context ];- context = fn;- fn = tmp;- }-- // Quick check to determine if target is callable, in the spec- // this throws a TypeError, but we will just return undefined.- if ( !jQuery.isFunction( fn ) ) {- return undefined;- }-- // Simulated bind- args = slice.call( arguments, 2 );- proxy = function() {- return fn.apply( context || this, args.concat( slice.call( arguments ) ) );- };-- // Set the guid of unique handler to the same of original handler, so it can be removed- proxy.guid = fn.guid = fn.guid || jQuery.guid++;-- return proxy;- },-- now: Date.now,-- // jQuery.support is not used in Core but other projects attach their- // properties to it so it needs to exist.- support: support-});--// Populate the class2type map-jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) {- class2type[ "[object " + name + "]" ] = name.toLowerCase();-});--function isArraylike( obj ) {-- // Support: iOS 8.2 (not reproducible in simulator)- // `in` check used to prevent JIT error (gh-2145)- // hasOwn isn't used here due to false negatives- // regarding Nodelist length in IE- var length = "length" in obj && obj.length,- type = jQuery.type( obj );-- if ( type === "function" || jQuery.isWindow( obj ) ) {- return false;- }-- if ( obj.nodeType === 1 && length ) {- return true;- }-- return type === "array" || length === 0 ||- typeof length === "number" && length > 0 && ( length - 1 ) in obj;-}-var Sizzle =-/*!- * Sizzle CSS Selector Engine v2.2.0-pre- * http://sizzlejs.com/- *- * Copyright 2008, 2014 jQuery Foundation, Inc. and other contributors- * Released under the MIT license- * http://jquery.org/license- *- * Date: 2014-12-16- */-(function( window ) {--var i,- support,- Expr,- getText,- isXML,- tokenize,- compile,- select,- outermostContext,- sortInput,- hasDuplicate,-- // Local document vars- setDocument,- document,- docElem,- documentIsHTML,- rbuggyQSA,- rbuggyMatches,- matches,- contains,-- // Instance-specific data- expando = "sizzle" + 1 * new Date(),- preferredDoc = window.document,- dirruns = 0,- done = 0,- classCache = createCache(),- tokenCache = createCache(),- compilerCache = createCache(),- sortOrder = function( a, b ) {- if ( a === b ) {- hasDuplicate = true;- }- return 0;- },-- // General-purpose constants- MAX_NEGATIVE = 1 << 31,-- // Instance methods- hasOwn = ({}).hasOwnProperty,- arr = [],- pop = arr.pop,- push_native = arr.push,- push = arr.push,- slice = arr.slice,- // Use a stripped-down indexOf as it's faster than native- // http://jsperf.com/thor-indexof-vs-for/5- indexOf = function( list, elem ) {- var i = 0,- len = list.length;- for ( ; i < len; i++ ) {- if ( list[i] === elem ) {- return i;- }- }- return -1;- },-- booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",-- // Regular expressions-- // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace- whitespace = "[\\x20\\t\\r\\n\\f]",- // http://www.w3.org/TR/css3-syntax/#characters- characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",-- // Loosely modeled on CSS identifier characters- // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors- // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier- identifier = characterEncoding.replace( "w", "w#" ),-- // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors- attributes = "\\[" + whitespace + "*(" + characterEncoding + ")(?:" + whitespace +- // Operator (capture 2)- "*([*^$|!~]?=)" + whitespace +- // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"- "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace +- "*\\]",-- pseudos = ":(" + characterEncoding + ")(?:\\((" +- // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:- // 1. quoted (capture 3; capture 4 or capture 5)- "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" +- // 2. simple (capture 6)- "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" +- // 3. anything else (capture 2)- ".*" +- ")\\)|)",-- // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter- rwhitespace = new RegExp( whitespace + "+", "g" ),- rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ),-- rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ),- rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ),-- rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ),-- rpseudo = new RegExp( pseudos ),- ridentifier = new RegExp( "^" + identifier + "$" ),-- matchExpr = {- "ID": new RegExp( "^#(" + characterEncoding + ")" ),- "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ),- "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ),- "ATTR": new RegExp( "^" + attributes ),- "PSEUDO": new RegExp( "^" + pseudos ),- "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace +- "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace +- "*(\\d+)|))" + whitespace + "*\\)|)", "i" ),- "bool": new RegExp( "^(?:" + booleans + ")$", "i" ),- // For use in libraries implementing .is()- // We use this for POS matching in `select`- "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +- whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" )- },-- rinputs = /^(?:input|select|textarea|button)$/i,- rheader = /^h\d$/i,-- rnative = /^[^{]+\{\s*\[native \w/,-- // Easily-parseable/retrievable ID or TAG or CLASS selectors- rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,-- rsibling = /[+~]/,- rescape = /'|\\/g,-- // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters- runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ),- funescape = function( _, escaped, escapedWhitespace ) {- var high = "0x" + escaped - 0x10000;- // NaN means non-codepoint- // Support: Firefox<24- // Workaround erroneous numeric interpretation of +"0x"- return high !== high || escapedWhitespace ?- escaped :- high < 0 ?- // BMP codepoint- String.fromCharCode( high + 0x10000 ) :- // Supplemental Plane codepoint (surrogate pair)- String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );- },-- // Used for iframes- // See setDocument()- // Removing the function wrapper causes a "Permission Denied"- // error in IE- unloadHandler = function() {- setDocument();- };--// Optimize for push.apply( _, NodeList )-try {- push.apply(- (arr = slice.call( preferredDoc.childNodes )),- preferredDoc.childNodes- );- // Support: Android<4.0- // Detect silently failing push.apply- arr[ preferredDoc.childNodes.length ].nodeType;-} catch ( e ) {- push = { apply: arr.length ?-- // Leverage slice if possible- function( target, els ) {- push_native.apply( target, slice.call(els) );- } :-- // Support: IE<9- // Otherwise append directly- function( target, els ) {- var j = target.length,- i = 0;- // Can't trust NodeList.length- while ( (target[j++] = els[i++]) ) {}- target.length = j - 1;- }- };-}--function Sizzle( selector, context, results, seed ) {- var match, elem, m, nodeType,- // QSA vars- i, groups, old, nid, newContext, newSelector;-- if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) {- setDocument( context );- }-- context = context || document;- results = results || [];- nodeType = context.nodeType;-- if ( typeof selector !== "string" || !selector ||- nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {-- return results;- }-- if ( !seed && documentIsHTML ) {-- // Try to shortcut find operations when possible (e.g., not under DocumentFragment)- if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) {- // Speed-up: Sizzle("#ID")- if ( (m = match[1]) ) {- if ( nodeType === 9 ) {- elem = context.getElementById( m );- // Check parentNode to catch when Blackberry 4.6 returns- // nodes that are no longer in the document (jQuery #6963)- if ( elem && elem.parentNode ) {- // Handle the case where IE, Opera, and Webkit return items- // by name instead of ID- if ( elem.id === m ) {- results.push( elem );- return results;- }- } else {- return results;- }- } else {- // Context is not a document- if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) &&- contains( context, elem ) && elem.id === m ) {- results.push( elem );- return results;- }- }-- // Speed-up: Sizzle("TAG")- } else if ( match[2] ) {- push.apply( results, context.getElementsByTagName( selector ) );- return results;-- // Speed-up: Sizzle(".CLASS")- } else if ( (m = match[3]) && support.getElementsByClassName ) {- push.apply( results, context.getElementsByClassName( m ) );- return results;- }- }-- // QSA path- if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) {- nid = old = expando;- newContext = context;- newSelector = nodeType !== 1 && selector;-- // qSA works strangely on Element-rooted queries- // We can work around this by specifying an extra ID on the root- // and working up from there (Thanks to Andrew Dupont for the technique)- // IE 8 doesn't work on object elements- if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) {- groups = tokenize( selector );-- if ( (old = context.getAttribute("id")) ) {- nid = old.replace( rescape, "\\$&" );- } else {- context.setAttribute( "id", nid );- }- nid = "[id='" + nid + "'] ";-- i = groups.length;- while ( i-- ) {- groups[i] = nid + toSelector( groups[i] );- }- newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context;- newSelector = groups.join(",");- }-- if ( newSelector ) {- try {- push.apply( results,- newContext.querySelectorAll( newSelector )- );- return results;- } catch(qsaError) {- } finally {- if ( !old ) {- context.removeAttribute("id");- }- }- }- }- }-- // All others- return select( selector.replace( rtrim, "$1" ), context, results, seed );-}--/**- * Create key-value caches of limited size- * @returns {Function(string, Object)} Returns the Object data after storing it on itself with- * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)- * deleting the oldest entry- */-function createCache() {- var keys = [];-- function cache( key, value ) {- // Use (key + " ") to avoid collision with native prototype properties (see Issue #157)- if ( keys.push( key + " " ) > Expr.cacheLength ) {- // Only keep the most recent entries- delete cache[ keys.shift() ];- }- return (cache[ key + " " ] = value);- }- return cache;-}--/**- * Mark a function for special use by Sizzle- * @param {Function} fn The function to mark- */-function markFunction( fn ) {- fn[ expando ] = true;- return fn;-}--/**- * Support testing using an element- * @param {Function} fn Passed the created div and expects a boolean result- */-function assert( fn ) {- var div = document.createElement("div");-- try {- return !!fn( div );- } catch (e) {- return false;- } finally {- // Remove from its parent by default- if ( div.parentNode ) {- div.parentNode.removeChild( div );- }- // release memory in IE- div = null;- }-}--/**- * Adds the same handler for all of the specified attrs- * @param {String} attrs Pipe-separated list of attributes- * @param {Function} handler The method that will be applied- */-function addHandle( attrs, handler ) {- var arr = attrs.split("|"),- i = attrs.length;-- while ( i-- ) {- Expr.attrHandle[ arr[i] ] = handler;- }-}--/**- * Checks document order of two siblings- * @param {Element} a- * @param {Element} b- * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b- */-function siblingCheck( a, b ) {- var cur = b && a,- diff = cur && a.nodeType === 1 && b.nodeType === 1 &&- ( ~b.sourceIndex || MAX_NEGATIVE ) -- ( ~a.sourceIndex || MAX_NEGATIVE );-- // Use IE sourceIndex if available on both nodes- if ( diff ) {- return diff;- }-- // Check if b follows a- if ( cur ) {- while ( (cur = cur.nextSibling) ) {- if ( cur === b ) {- return -1;- }- }- }-- return a ? 1 : -1;-}--/**- * Returns a function to use in pseudos for input types- * @param {String} type- */-function createInputPseudo( type ) {- return function( elem ) {- var name = elem.nodeName.toLowerCase();- return name === "input" && elem.type === type;- };-}--/**- * Returns a function to use in pseudos for buttons- * @param {String} type- */-function createButtonPseudo( type ) {- return function( elem ) {- var name = elem.nodeName.toLowerCase();- return (name === "input" || name === "button") && elem.type === type;- };-}--/**- * Returns a function to use in pseudos for positionals- * @param {Function} fn- */-function createPositionalPseudo( fn ) {- return markFunction(function( argument ) {- argument = +argument;- return markFunction(function( seed, matches ) {- var j,- matchIndexes = fn( [], seed.length, argument ),- i = matchIndexes.length;-- // Match elements found at the specified indexes- while ( i-- ) {- if ( seed[ (j = matchIndexes[i]) ] ) {- seed[j] = !(matches[j] = seed[j]);- }- }- });- });-}--/**- * Checks a node for validity as a Sizzle context- * @param {Element|Object=} context- * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value- */-function testContext( context ) {- return context && typeof context.getElementsByTagName !== "undefined" && context;-}--// Expose support vars for convenience-support = Sizzle.support = {};--/**- * Detects XML nodes- * @param {Element|Object} elem An element or a document- * @returns {Boolean} True iff elem is a non-HTML XML node- */-isXML = Sizzle.isXML = function( elem ) {- // documentElement is verified for cases where it doesn't yet exist- // (such as loading iframes in IE - #4833)- var documentElement = elem && (elem.ownerDocument || elem).documentElement;- return documentElement ? documentElement.nodeName !== "HTML" : false;-};--/**- * Sets document-related variables once based on the current document- * @param {Element|Object} [doc] An element or document object to use to set the document- * @returns {Object} Returns the current document- */-setDocument = Sizzle.setDocument = function( node ) {- var hasCompare, parent,- doc = node ? node.ownerDocument || node : preferredDoc;-- // If no document and documentElement is available, return- if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {- return document;- }-- // Set our document- document = doc;- docElem = doc.documentElement;- parent = doc.defaultView;-- // Support: IE>8- // If iframe document is assigned to "document" variable and if iframe has been reloaded,- // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936- // IE6-8 do not support the defaultView property so parent will be undefined- if ( parent && parent !== parent.top ) {- // IE11 does not have attachEvent, so all must suffer- if ( parent.addEventListener ) {- parent.addEventListener( "unload", unloadHandler, false );- } else if ( parent.attachEvent ) {- parent.attachEvent( "onunload", unloadHandler );- }- }-- /* Support tests- ---------------------------------------------------------------------- */- documentIsHTML = !isXML( doc );-- /* Attributes- ---------------------------------------------------------------------- */-- // Support: IE<8- // Verify that getAttribute really returns attributes and not properties- // (excepting IE8 booleans)- support.attributes = assert(function( div ) {- div.className = "i";- return !div.getAttribute("className");- });-- /* getElement(s)By*- ---------------------------------------------------------------------- */-- // Check if getElementsByTagName("*") returns only elements- support.getElementsByTagName = assert(function( div ) {- div.appendChild( doc.createComment("") );- return !div.getElementsByTagName("*").length;- });-- // Support: IE<9- support.getElementsByClassName = rnative.test( doc.getElementsByClassName );-- // Support: IE<10- // Check if getElementById returns elements by name- // The broken getElementById methods don't pick up programatically-set names,- // so use a roundabout getElementsByName test- support.getById = assert(function( div ) {- docElem.appendChild( div ).id = expando;- return !doc.getElementsByName || !doc.getElementsByName( expando ).length;- });-- // ID find and filter- if ( support.getById ) {- Expr.find["ID"] = function( id, context ) {- if ( typeof context.getElementById !== "undefined" && documentIsHTML ) {- var m = context.getElementById( id );- // Check parentNode to catch when Blackberry 4.6 returns- // nodes that are no longer in the document #6963- return m && m.parentNode ? [ m ] : [];- }- };- Expr.filter["ID"] = function( id ) {- var attrId = id.replace( runescape, funescape );- return function( elem ) {- return elem.getAttribute("id") === attrId;- };- };- } else {- // Support: IE6/7- // getElementById is not reliable as a find shortcut- delete Expr.find["ID"];-- Expr.filter["ID"] = function( id ) {- var attrId = id.replace( runescape, funescape );- return function( elem ) {- var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id");- return node && node.value === attrId;- };- };- }-- // Tag- Expr.find["TAG"] = support.getElementsByTagName ?- function( tag, context ) {- if ( typeof context.getElementsByTagName !== "undefined" ) {- return context.getElementsByTagName( tag );-- // DocumentFragment nodes don't have gEBTN- } else if ( support.qsa ) {- return context.querySelectorAll( tag );- }- } :-- function( tag, context ) {- var elem,- tmp = [],- i = 0,- // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too- results = context.getElementsByTagName( tag );-- // Filter out possible comments- if ( tag === "*" ) {- while ( (elem = results[i++]) ) {- if ( elem.nodeType === 1 ) {- tmp.push( elem );- }- }-- return tmp;- }- return results;- };-- // Class- Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) {- if ( documentIsHTML ) {- return context.getElementsByClassName( className );- }- };-- /* QSA/matchesSelector- ---------------------------------------------------------------------- */-- // QSA and matchesSelector support-- // matchesSelector(:active) reports false when true (IE9/Opera 11.5)- rbuggyMatches = [];-- // qSa(:focus) reports false when true (Chrome 21)- // We allow this because of a bug in IE8/9 that throws an error- // whenever `document.activeElement` is accessed on an iframe- // So, we allow :focus to pass through QSA all the time to avoid the IE error- // See http://bugs.jquery.com/ticket/13378- rbuggyQSA = [];-- if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) {- // Build QSA regex- // Regex strategy adopted from Diego Perini- assert(function( div ) {- // Select is set to empty string on purpose- // This is to test IE's treatment of not explicitly- // setting a boolean content attribute,- // since its presence should be enough- // http://bugs.jquery.com/ticket/12359- docElem.appendChild( div ).innerHTML = "<a id='" + expando + "'></a>" +- "<select id='" + expando + "-\f]' msallowcapture=''>" +- "<option selected=''></option></select>";-- // Support: IE8, Opera 11-12.16- // Nothing should be selected when empty strings follow ^= or $= or *=- // The test attribute must be unknown in Opera but "safe" for WinRT- // http://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section- if ( div.querySelectorAll("[msallowcapture^='']").length ) {- rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" );- }-- // Support: IE8- // Boolean attributes and "value" are not treated correctly- if ( !div.querySelectorAll("[selected]").length ) {- rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" );- }-- // Support: Chrome<29, Android<4.2+, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.7+- if ( !div.querySelectorAll( "[id~=" + expando + "-]" ).length ) {- rbuggyQSA.push("~=");- }-- // Webkit/Opera - :checked should return selected option elements- // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked- // IE8 throws error here and will not see later tests- if ( !div.querySelectorAll(":checked").length ) {- rbuggyQSA.push(":checked");- }-- // Support: Safari 8+, iOS 8+- // https://bugs.webkit.org/show_bug.cgi?id=136851- // In-page `selector#id sibing-combinator selector` fails- if ( !div.querySelectorAll( "a#" + expando + "+*" ).length ) {- rbuggyQSA.push(".#.+[+~]");- }- });-- assert(function( div ) {- // Support: Windows 8 Native Apps- // The type and name attributes are restricted during .innerHTML assignment- var input = doc.createElement("input");- input.setAttribute( "type", "hidden" );- div.appendChild( input ).setAttribute( "name", "D" );-- // Support: IE8- // Enforce case-sensitivity of name attribute- if ( div.querySelectorAll("[name=d]").length ) {- rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" );- }-- // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)- // IE8 throws error here and will not see later tests- if ( !div.querySelectorAll(":enabled").length ) {- rbuggyQSA.push( ":enabled", ":disabled" );- }-- // Opera 10-11 does not throw on post-comma invalid pseudos- div.querySelectorAll("*,:x");- rbuggyQSA.push(",.*:");- });- }-- if ( (support.matchesSelector = rnative.test( (matches = docElem.matches ||- docElem.webkitMatchesSelector ||- docElem.mozMatchesSelector ||- docElem.oMatchesSelector ||- docElem.msMatchesSelector) )) ) {-- assert(function( div ) {- // Check to see if it's possible to do matchesSelector- // on a disconnected node (IE 9)- support.disconnectedMatch = matches.call( div, "div" );-- // This should fail with an exception- // Gecko does not error, returns false instead- matches.call( div, "[s!='']:x" );- rbuggyMatches.push( "!=", pseudos );- });- }-- rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") );- rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") );-- /* Contains- ---------------------------------------------------------------------- */- hasCompare = rnative.test( docElem.compareDocumentPosition );-- // Element contains another- // Purposefully does not implement inclusive descendent- // As in, an element does not contain itself- contains = hasCompare || rnative.test( docElem.contains ) ?- function( a, b ) {- var adown = a.nodeType === 9 ? a.documentElement : a,- bup = b && b.parentNode;- return a === bup || !!( bup && bup.nodeType === 1 && (- adown.contains ?- adown.contains( bup ) :- a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16- ));- } :- function( a, b ) {- if ( b ) {- while ( (b = b.parentNode) ) {- if ( b === a ) {- return true;- }- }- }- return false;- };-- /* Sorting- ---------------------------------------------------------------------- */-- // Document order sorting- sortOrder = hasCompare ?- function( a, b ) {-- // Flag for duplicate removal- if ( a === b ) {- hasDuplicate = true;- return 0;- }-- // Sort on method existence if only one input has compareDocumentPosition- var compare = !a.compareDocumentPosition - !b.compareDocumentPosition;- if ( compare ) {- return compare;- }-- // Calculate position if both inputs belong to the same document- compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ?- a.compareDocumentPosition( b ) :-- // Otherwise we know they are disconnected- 1;-- // Disconnected nodes- if ( compare & 1 ||- (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) {-- // Choose the first element that is related to our preferred document- if ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) {- return -1;- }- if ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) {- return 1;- }-- // Maintain original order- return sortInput ?- ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :- 0;- }-- return compare & 4 ? -1 : 1;- } :- function( a, b ) {- // Exit early if the nodes are identical- if ( a === b ) {- hasDuplicate = true;- return 0;- }-- var cur,- i = 0,- aup = a.parentNode,- bup = b.parentNode,- ap = [ a ],- bp = [ b ];-- // Parentless nodes are either documents or disconnected- if ( !aup || !bup ) {- return a === doc ? -1 :- b === doc ? 1 :- aup ? -1 :- bup ? 1 :- sortInput ?- ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :- 0;-- // If the nodes are siblings, we can do a quick check- } else if ( aup === bup ) {- return siblingCheck( a, b );- }-- // Otherwise we need full lists of their ancestors for comparison- cur = a;- while ( (cur = cur.parentNode) ) {- ap.unshift( cur );- }- cur = b;- while ( (cur = cur.parentNode) ) {- bp.unshift( cur );- }-- // Walk down the tree looking for a discrepancy- while ( ap[i] === bp[i] ) {- i++;- }-- return i ?- // Do a sibling check if the nodes have a common ancestor- siblingCheck( ap[i], bp[i] ) :-- // Otherwise nodes in our document sort first- ap[i] === preferredDoc ? -1 :- bp[i] === preferredDoc ? 1 :- 0;- };-- return doc;-};--Sizzle.matches = function( expr, elements ) {- return Sizzle( expr, null, null, elements );-};--Sizzle.matchesSelector = function( elem, expr ) {- // Set document vars if needed- if ( ( elem.ownerDocument || elem ) !== document ) {- setDocument( elem );- }-- // Make sure that attribute selectors are quoted- expr = expr.replace( rattributeQuotes, "='$1']" );-- if ( support.matchesSelector && documentIsHTML &&- ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&- ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {-- try {- var ret = matches.call( elem, expr );-- // IE 9's matchesSelector returns false on disconnected nodes- if ( ret || support.disconnectedMatch ||- // As well, disconnected nodes are said to be in a document- // fragment in IE 9- elem.document && elem.document.nodeType !== 11 ) {- return ret;- }- } catch (e) {}- }-- return Sizzle( expr, document, null, [ elem ] ).length > 0;-};--Sizzle.contains = function( context, elem ) {- // Set document vars if needed- if ( ( context.ownerDocument || context ) !== document ) {- setDocument( context );- }- return contains( context, elem );-};--Sizzle.attr = function( elem, name ) {- // Set document vars if needed- if ( ( elem.ownerDocument || elem ) !== document ) {- setDocument( elem );- }-- var fn = Expr.attrHandle[ name.toLowerCase() ],- // Don't get fooled by Object.prototype properties (jQuery #13807)- val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?- fn( elem, name, !documentIsHTML ) :- undefined;-- return val !== undefined ?- val :- support.attributes || !documentIsHTML ?- elem.getAttribute( name ) :- (val = elem.getAttributeNode(name)) && val.specified ?- val.value :- null;-};--Sizzle.error = function( msg ) {- throw new Error( "Syntax error, unrecognized expression: " + msg );-};--/**- * Document sorting and removing duplicates- * @param {ArrayLike} results- */-Sizzle.uniqueSort = function( results ) {- var elem,- duplicates = [],- j = 0,- i = 0;-- // Unless we *know* we can detect duplicates, assume their presence- hasDuplicate = !support.detectDuplicates;- sortInput = !support.sortStable && results.slice( 0 );- results.sort( sortOrder );-- if ( hasDuplicate ) {- while ( (elem = results[i++]) ) {- if ( elem === results[ i ] ) {- j = duplicates.push( i );- }- }- while ( j-- ) {- results.splice( duplicates[ j ], 1 );- }- }-- // Clear input after sorting to release objects- // See https://github.com/jquery/sizzle/pull/225- sortInput = null;-- return results;-};--/**- * Utility function for retrieving the text value of an array of DOM nodes- * @param {Array|Element} elem- */-getText = Sizzle.getText = function( elem ) {- var node,- ret = "",- i = 0,- nodeType = elem.nodeType;-- if ( !nodeType ) {- // If no nodeType, this is expected to be an array- while ( (node = elem[i++]) ) {- // Do not traverse comment nodes- ret += getText( node );- }- } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {- // Use textContent for elements- // innerText usage removed for consistency of new lines (jQuery #11153)- if ( typeof elem.textContent === "string" ) {- return elem.textContent;- } else {- // Traverse its children- for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {- ret += getText( elem );- }- }- } else if ( nodeType === 3 || nodeType === 4 ) {- return elem.nodeValue;- }- // Do not include comment or processing instruction nodes-- return ret;-};--Expr = Sizzle.selectors = {-- // Can be adjusted by the user- cacheLength: 50,-- createPseudo: markFunction,-- match: matchExpr,-- attrHandle: {},-- find: {},-- relative: {- ">": { dir: "parentNode", first: true },- " ": { dir: "parentNode" },- "+": { dir: "previousSibling", first: true },- "~": { dir: "previousSibling" }- },-- preFilter: {- "ATTR": function( match ) {- match[1] = match[1].replace( runescape, funescape );-- // Move the given value to match[3] whether quoted or unquoted- match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape );-- if ( match[2] === "~=" ) {- match[3] = " " + match[3] + " ";- }-- return match.slice( 0, 4 );- },-- "CHILD": function( match ) {- /* matches from matchExpr["CHILD"]- 1 type (only|nth|...)- 2 what (child|of-type)- 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...)- 4 xn-component of xn+y argument ([+-]?\d*n|)- 5 sign of xn-component- 6 x of xn-component- 7 sign of y-component- 8 y of y-component- */- match[1] = match[1].toLowerCase();-- if ( match[1].slice( 0, 3 ) === "nth" ) {- // nth-* requires argument- if ( !match[3] ) {- Sizzle.error( match[0] );- }-- // numeric x and y parameters for Expr.filter.CHILD- // remember that false/true cast respectively to 0/1- match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) );- match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" );-- // other types prohibit arguments- } else if ( match[3] ) {- Sizzle.error( match[0] );- }-- return match;- },-- "PSEUDO": function( match ) {- var excess,- unquoted = !match[6] && match[2];-- if ( matchExpr["CHILD"].test( match[0] ) ) {- return null;- }-- // Accept quoted arguments as-is- if ( match[3] ) {- match[2] = match[4] || match[5] || "";-- // Strip excess characters from unquoted arguments- } else if ( unquoted && rpseudo.test( unquoted ) &&- // Get excess from tokenize (recursively)- (excess = tokenize( unquoted, true )) &&- // advance to the next closing parenthesis- (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) {-- // excess is a negative index- match[0] = match[0].slice( 0, excess );- match[2] = unquoted.slice( 0, excess );- }-- // Return only captures needed by the pseudo filter method (type and argument)- return match.slice( 0, 3 );- }- },-- filter: {-- "TAG": function( nodeNameSelector ) {- var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();- return nodeNameSelector === "*" ?- function() { return true; } :- function( elem ) {- return elem.nodeName && elem.nodeName.toLowerCase() === nodeName;- };- },-- "CLASS": function( className ) {- var pattern = classCache[ className + " " ];-- return pattern ||- (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) &&- classCache( className, function( elem ) {- return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "" );- });- },-- "ATTR": function( name, operator, check ) {- return function( elem ) {- var result = Sizzle.attr( elem, name );-- if ( result == null ) {- return operator === "!=";- }- if ( !operator ) {- return true;- }-- result += "";-- return operator === "=" ? result === check :- operator === "!=" ? result !== check :- operator === "^=" ? check && result.indexOf( check ) === 0 :- operator === "*=" ? check && result.indexOf( check ) > -1 :- operator === "$=" ? check && result.slice( -check.length ) === check :- operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 :- operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" :- false;- };- },-- "CHILD": function( type, what, argument, first, last ) {- var simple = type.slice( 0, 3 ) !== "nth",- forward = type.slice( -4 ) !== "last",- ofType = what === "of-type";-- return first === 1 && last === 0 ?-- // Shortcut for :nth-*(n)- function( elem ) {- return !!elem.parentNode;- } :-- function( elem, context, xml ) {- var cache, outerCache, node, diff, nodeIndex, start,- dir = simple !== forward ? "nextSibling" : "previousSibling",- parent = elem.parentNode,- name = ofType && elem.nodeName.toLowerCase(),- useCache = !xml && !ofType;-- if ( parent ) {-- // :(first|last|only)-(child|of-type)- if ( simple ) {- while ( dir ) {- node = elem;- while ( (node = node[ dir ]) ) {- if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) {- return false;- }- }- // Reverse direction for :only-* (if we haven't yet done so)- start = dir = type === "only" && !start && "nextSibling";- }- return true;- }-- start = [ forward ? parent.firstChild : parent.lastChild ];-- // non-xml :nth-child(...) stores cache data on `parent`- if ( forward && useCache ) {- // Seek `elem` from a previously-cached index- outerCache = parent[ expando ] || (parent[ expando ] = {});- cache = outerCache[ type ] || [];- nodeIndex = cache[0] === dirruns && cache[1];- diff = cache[0] === dirruns && cache[2];- node = nodeIndex && parent.childNodes[ nodeIndex ];-- while ( (node = ++nodeIndex && node && node[ dir ] ||-- // Fallback to seeking `elem` from the start- (diff = nodeIndex = 0) || start.pop()) ) {-- // When found, cache indexes on `parent` and break- if ( node.nodeType === 1 && ++diff && node === elem ) {- outerCache[ type ] = [ dirruns, nodeIndex, diff ];- break;- }- }-- // Use previously-cached element index if available- } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) {- diff = cache[1];-- // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...)- } else {- // Use the same loop as above to seek `elem` from the start- while ( (node = ++nodeIndex && node && node[ dir ] ||- (diff = nodeIndex = 0) || start.pop()) ) {-- if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) {- // Cache the index of each encountered element- if ( useCache ) {- (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ];- }-- if ( node === elem ) {- break;- }- }- }- }-- // Incorporate the offset, then check against cycle size- diff -= last;- return diff === first || ( diff % first === 0 && diff / first >= 0 );- }- };- },-- "PSEUDO": function( pseudo, argument ) {- // pseudo-class names are case-insensitive- // http://www.w3.org/TR/selectors/#pseudo-classes- // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters- // Remember that setFilters inherits from pseudos- var args,- fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||- Sizzle.error( "unsupported pseudo: " + pseudo );-- // The user may use createPseudo to indicate that- // arguments are needed to create the filter function- // just as Sizzle does- if ( fn[ expando ] ) {- return fn( argument );- }-- // But maintain support for old signatures- if ( fn.length > 1 ) {- args = [ pseudo, pseudo, "", argument ];- return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?- markFunction(function( seed, matches ) {- var idx,- matched = fn( seed, argument ),- i = matched.length;- while ( i-- ) {- idx = indexOf( seed, matched[i] );- seed[ idx ] = !( matches[ idx ] = matched[i] );- }- }) :- function( elem ) {- return fn( elem, 0, args );- };- }-- return fn;- }- },-- pseudos: {- // Potentially complex pseudos- "not": markFunction(function( selector ) {- // Trim the selector passed to compile- // to avoid treating leading and trailing- // spaces as combinators- var input = [],- results = [],- matcher = compile( selector.replace( rtrim, "$1" ) );-- return matcher[ expando ] ?- markFunction(function( seed, matches, context, xml ) {- var elem,- unmatched = matcher( seed, null, xml, [] ),- i = seed.length;-- // Match elements unmatched by `matcher`- while ( i-- ) {- if ( (elem = unmatched[i]) ) {- seed[i] = !(matches[i] = elem);- }- }- }) :- function( elem, context, xml ) {- input[0] = elem;- matcher( input, null, xml, results );- // Don't keep the element (issue #299)- input[0] = null;- return !results.pop();- };- }),-- "has": markFunction(function( selector ) {- return function( elem ) {- return Sizzle( selector, elem ).length > 0;- };- }),-- "contains": markFunction(function( text ) {- text = text.replace( runescape, funescape );- return function( elem ) {- return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1;- };- }),-- // "Whether an element is represented by a :lang() selector- // is based solely on the element's language value- // being equal to the identifier C,- // or beginning with the identifier C immediately followed by "-".- // The matching of C against the element's language value is performed case-insensitively.- // The identifier C does not have to be a valid language name."- // http://www.w3.org/TR/selectors/#lang-pseudo- "lang": markFunction( function( lang ) {- // lang value must be a valid identifier- if ( !ridentifier.test(lang || "") ) {- Sizzle.error( "unsupported lang: " + lang );- }- lang = lang.replace( runescape, funescape ).toLowerCase();- return function( elem ) {- var elemLang;- do {- if ( (elemLang = documentIsHTML ?- elem.lang :- elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) {-- elemLang = elemLang.toLowerCase();- return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0;- }- } while ( (elem = elem.parentNode) && elem.nodeType === 1 );- return false;- };- }),-- // Miscellaneous- "target": function( elem ) {- var hash = window.location && window.location.hash;- return hash && hash.slice( 1 ) === elem.id;- },-- "root": function( elem ) {- return elem === docElem;- },-- "focus": function( elem ) {- return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);- },-- // Boolean properties- "enabled": function( elem ) {- return elem.disabled === false;- },-- "disabled": function( elem ) {- return elem.disabled === true;- },-- "checked": function( elem ) {- // In CSS3, :checked should return both checked and selected elements- // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked- var nodeName = elem.nodeName.toLowerCase();- return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected);- },-- "selected": function( elem ) {- // Accessing this property makes selected-by-default- // options in Safari work properly- if ( elem.parentNode ) {- elem.parentNode.selectedIndex;- }-- return elem.selected === true;- },-- // Contents- "empty": function( elem ) {- // http://www.w3.org/TR/selectors/#empty-pseudo- // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),- // but not by others (comment: 8; processing instruction: 7; etc.)- // nodeType < 6 works because attributes (2) do not appear as children- for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {- if ( elem.nodeType < 6 ) {- return false;- }- }- return true;- },-- "parent": function( elem ) {- return !Expr.pseudos["empty"]( elem );- },-- // Element/input types- "header": function( elem ) {- return rheader.test( elem.nodeName );- },-- "input": function( elem ) {- return rinputs.test( elem.nodeName );- },-- "button": function( elem ) {- var name = elem.nodeName.toLowerCase();- return name === "input" && elem.type === "button" || name === "button";- },-- "text": function( elem ) {- var attr;- return elem.nodeName.toLowerCase() === "input" &&- elem.type === "text" &&-- // Support: IE<8- // New HTML5 attribute values (e.g., "search") appear with elem.type === "text"- ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" );- },-- // Position-in-collection- "first": createPositionalPseudo(function() {- return [ 0 ];- }),-- "last": createPositionalPseudo(function( matchIndexes, length ) {- return [ length - 1 ];- }),-- "eq": createPositionalPseudo(function( matchIndexes, length, argument ) {- return [ argument < 0 ? argument + length : argument ];- }),-- "even": createPositionalPseudo(function( matchIndexes, length ) {- var i = 0;- for ( ; i < length; i += 2 ) {- matchIndexes.push( i );- }- return matchIndexes;- }),-- "odd": createPositionalPseudo(function( matchIndexes, length ) {- var i = 1;- for ( ; i < length; i += 2 ) {- matchIndexes.push( i );- }- return matchIndexes;- }),-- "lt": createPositionalPseudo(function( matchIndexes, length, argument ) {- var i = argument < 0 ? argument + length : argument;- for ( ; --i >= 0; ) {- matchIndexes.push( i );- }- return matchIndexes;- }),-- "gt": createPositionalPseudo(function( matchIndexes, length, argument ) {- var i = argument < 0 ? argument + length : argument;- for ( ; ++i < length; ) {- matchIndexes.push( i );- }- return matchIndexes;- })- }-};--Expr.pseudos["nth"] = Expr.pseudos["eq"];--// Add button/input type pseudos-for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {- Expr.pseudos[ i ] = createInputPseudo( i );-}-for ( i in { submit: true, reset: true } ) {- Expr.pseudos[ i ] = createButtonPseudo( i );-}--// Easy API for creating new setFilters-function setFilters() {}-setFilters.prototype = Expr.filters = Expr.pseudos;-Expr.setFilters = new setFilters();--tokenize = Sizzle.tokenize = function( selector, parseOnly ) {- var matched, match, tokens, type,- soFar, groups, preFilters,- cached = tokenCache[ selector + " " ];-- if ( cached ) {- return parseOnly ? 0 : cached.slice( 0 );- }-- soFar = selector;- groups = [];- preFilters = Expr.preFilter;-- while ( soFar ) {-- // Comma and first run- if ( !matched || (match = rcomma.exec( soFar )) ) {- if ( match ) {- // Don't consume trailing commas as valid- soFar = soFar.slice( match[0].length ) || soFar;- }- groups.push( (tokens = []) );- }-- matched = false;-- // Combinators- if ( (match = rcombinators.exec( soFar )) ) {- matched = match.shift();- tokens.push({- value: matched,- // Cast descendant combinators to space- type: match[0].replace( rtrim, " " )- });- soFar = soFar.slice( matched.length );- }-- // Filters- for ( type in Expr.filter ) {- if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] ||- (match = preFilters[ type ]( match ))) ) {- matched = match.shift();- tokens.push({- value: matched,- type: type,- matches: match- });- soFar = soFar.slice( matched.length );- }- }-- if ( !matched ) {- break;- }- }-- // Return the length of the invalid excess- // if we're just parsing- // Otherwise, throw an error or return tokens- return parseOnly ?- soFar.length :- soFar ?- Sizzle.error( selector ) :- // Cache the tokens- tokenCache( selector, groups ).slice( 0 );-};--function toSelector( tokens ) {- var i = 0,- len = tokens.length,- selector = "";- for ( ; i < len; i++ ) {- selector += tokens[i].value;- }- return selector;-}--function addCombinator( matcher, combinator, base ) {- var dir = combinator.dir,- checkNonElements = base && dir === "parentNode",- doneName = done++;-- return combinator.first ?- // Check against closest ancestor/preceding element- function( elem, context, xml ) {- while ( (elem = elem[ dir ]) ) {- if ( elem.nodeType === 1 || checkNonElements ) {- return matcher( elem, context, xml );- }- }- } :-- // Check against all ancestor/preceding elements- function( elem, context, xml ) {- var oldCache, outerCache,- newCache = [ dirruns, doneName ];-- // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching- if ( xml ) {- while ( (elem = elem[ dir ]) ) {- if ( elem.nodeType === 1 || checkNonElements ) {- if ( matcher( elem, context, xml ) ) {- return true;- }- }- }- } else {- while ( (elem = elem[ dir ]) ) {- if ( elem.nodeType === 1 || checkNonElements ) {- outerCache = elem[ expando ] || (elem[ expando ] = {});- if ( (oldCache = outerCache[ dir ]) &&- oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {-- // Assign to newCache so results back-propagate to previous elements- return (newCache[ 2 ] = oldCache[ 2 ]);- } else {- // Reuse newcache so results back-propagate to previous elements- outerCache[ dir ] = newCache;-- // A match means we're done; a fail means we have to keep checking- if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) {- return true;- }- }- }- }- }- };-}--function elementMatcher( matchers ) {- return matchers.length > 1 ?- function( elem, context, xml ) {- var i = matchers.length;- while ( i-- ) {- if ( !matchers[i]( elem, context, xml ) ) {- return false;- }- }- return true;- } :- matchers[0];-}--function multipleContexts( selector, contexts, results ) {- var i = 0,- len = contexts.length;- for ( ; i < len; i++ ) {- Sizzle( selector, contexts[i], results );- }- return results;-}--function condense( unmatched, map, filter, context, xml ) {- var elem,- newUnmatched = [],- i = 0,- len = unmatched.length,- mapped = map != null;-- for ( ; i < len; i++ ) {- if ( (elem = unmatched[i]) ) {- if ( !filter || filter( elem, context, xml ) ) {- newUnmatched.push( elem );- if ( mapped ) {- map.push( i );- }- }- }- }-- return newUnmatched;-}--function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {- if ( postFilter && !postFilter[ expando ] ) {- postFilter = setMatcher( postFilter );- }- if ( postFinder && !postFinder[ expando ] ) {- postFinder = setMatcher( postFinder, postSelector );- }- return markFunction(function( seed, results, context, xml ) {- var temp, i, elem,- preMap = [],- postMap = [],- preexisting = results.length,-- // Get initial elements from seed or context- elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ),-- // Prefilter to get matcher input, preserving a map for seed-results synchronization- matcherIn = preFilter && ( seed || !selector ) ?- condense( elems, preMap, preFilter, context, xml ) :- elems,-- matcherOut = matcher ?- // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,- postFinder || ( seed ? preFilter : preexisting || postFilter ) ?-- // ...intermediate processing is necessary- [] :-- // ...otherwise use results directly- results :- matcherIn;-- // Find primary matches- if ( matcher ) {- matcher( matcherIn, matcherOut, context, xml );- }-- // Apply postFilter- if ( postFilter ) {- temp = condense( matcherOut, postMap );- postFilter( temp, [], context, xml );-- // Un-match failing elements by moving them back to matcherIn- i = temp.length;- while ( i-- ) {- if ( (elem = temp[i]) ) {- matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem);- }- }- }-- if ( seed ) {- if ( postFinder || preFilter ) {- if ( postFinder ) {- // Get the final matcherOut by condensing this intermediate into postFinder contexts- temp = [];- i = matcherOut.length;- while ( i-- ) {- if ( (elem = matcherOut[i]) ) {- // Restore matcherIn since elem is not yet a final match- temp.push( (matcherIn[i] = elem) );- }- }- postFinder( null, (matcherOut = []), temp, xml );- }-- // Move matched elements from seed to results to keep them synchronized- i = matcherOut.length;- while ( i-- ) {- if ( (elem = matcherOut[i]) &&- (temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) {-- seed[temp] = !(results[temp] = elem);- }- }- }-- // Add elements to results, through postFinder if defined- } else {- matcherOut = condense(- matcherOut === results ?- matcherOut.splice( preexisting, matcherOut.length ) :- matcherOut- );- if ( postFinder ) {- postFinder( null, results, matcherOut, xml );- } else {- push.apply( results, matcherOut );- }- }- });-}--function matcherFromTokens( tokens ) {- var checkContext, matcher, j,- len = tokens.length,- leadingRelative = Expr.relative[ tokens[0].type ],- implicitRelative = leadingRelative || Expr.relative[" "],- i = leadingRelative ? 1 : 0,-- // The foundational matcher ensures that elements are reachable from top-level context(s)- matchContext = addCombinator( function( elem ) {- return elem === checkContext;- }, implicitRelative, true ),- matchAnyContext = addCombinator( function( elem ) {- return indexOf( checkContext, elem ) > -1;- }, implicitRelative, true ),- matchers = [ function( elem, context, xml ) {- var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || (- (checkContext = context).nodeType ?- matchContext( elem, context, xml ) :- matchAnyContext( elem, context, xml ) );- // Avoid hanging onto element (issue #299)- checkContext = null;- return ret;- } ];-- for ( ; i < len; i++ ) {- if ( (matcher = Expr.relative[ tokens[i].type ]) ) {- matchers = [ addCombinator(elementMatcher( matchers ), matcher) ];- } else {- matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches );-- // Return special upon seeing a positional matcher- if ( matcher[ expando ] ) {- // Find the next relative operator (if any) for proper handling- j = ++i;- for ( ; j < len; j++ ) {- if ( Expr.relative[ tokens[j].type ] ) {- break;- }- }- return setMatcher(- i > 1 && elementMatcher( matchers ),- i > 1 && toSelector(- // If the preceding token was a descendant combinator, insert an implicit any-element `*`- tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" })- ).replace( rtrim, "$1" ),- matcher,- i < j && matcherFromTokens( tokens.slice( i, j ) ),- j < len && matcherFromTokens( (tokens = tokens.slice( j )) ),- j < len && toSelector( tokens )- );- }- matchers.push( matcher );- }- }-- return elementMatcher( matchers );-}--function matcherFromGroupMatchers( elementMatchers, setMatchers ) {- var bySet = setMatchers.length > 0,- byElement = elementMatchers.length > 0,- superMatcher = function( seed, context, xml, results, outermost ) {- var elem, j, matcher,- matchedCount = 0,- i = "0",- unmatched = seed && [],- setMatched = [],- contextBackup = outermostContext,- // We must always have either seed elements or outermost context- elems = seed || byElement && Expr.find["TAG"]( "*", outermost ),- // Use integer dirruns iff this is the outermost matcher- dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1),- len = elems.length;-- if ( outermost ) {- outermostContext = context !== document && context;- }-- // Add elements passing elementMatchers directly to results- // Keep `i` a string if there are no elements so `matchedCount` will be "00" below- // Support: IE<9, Safari- // Tolerate NodeList properties (IE: "length"; Safari: <number>) matching elements by id- for ( ; i !== len && (elem = elems[i]) != null; i++ ) {- if ( byElement && elem ) {- j = 0;- while ( (matcher = elementMatchers[j++]) ) {- if ( matcher( elem, context, xml ) ) {- results.push( elem );- break;- }- }- if ( outermost ) {- dirruns = dirrunsUnique;- }- }-- // Track unmatched elements for set filters- if ( bySet ) {- // They will have gone through all possible matchers- if ( (elem = !matcher && elem) ) {- matchedCount--;- }-- // Lengthen the array for every element, matched or not- if ( seed ) {- unmatched.push( elem );- }- }- }-- // Apply set filters to unmatched elements- matchedCount += i;- if ( bySet && i !== matchedCount ) {- j = 0;- while ( (matcher = setMatchers[j++]) ) {- matcher( unmatched, setMatched, context, xml );- }-- if ( seed ) {- // Reintegrate element matches to eliminate the need for sorting- if ( matchedCount > 0 ) {- while ( i-- ) {- if ( !(unmatched[i] || setMatched[i]) ) {- setMatched[i] = pop.call( results );- }- }- }-- // Discard index placeholder values to get only actual matches- setMatched = condense( setMatched );- }-- // Add matches to results- push.apply( results, setMatched );-- // Seedless set matches succeeding multiple successful matchers stipulate sorting- if ( outermost && !seed && setMatched.length > 0 &&- ( matchedCount + setMatchers.length ) > 1 ) {-- Sizzle.uniqueSort( results );- }- }-- // Override manipulation of globals by nested matchers- if ( outermost ) {- dirruns = dirrunsUnique;- outermostContext = contextBackup;- }-- return unmatched;- };-- return bySet ?- markFunction( superMatcher ) :- superMatcher;-}--compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) {- var i,- setMatchers = [],- elementMatchers = [],- cached = compilerCache[ selector + " " ];-- if ( !cached ) {- // Generate a function of recursive functions that can be used to check each element- if ( !match ) {- match = tokenize( selector );- }- i = match.length;- while ( i-- ) {- cached = matcherFromTokens( match[i] );- if ( cached[ expando ] ) {- setMatchers.push( cached );- } else {- elementMatchers.push( cached );- }- }-- // Cache the compiled function- cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) );-- // Save selector and tokenization- cached.selector = selector;- }- return cached;-};--/**- * A low-level selection function that works with Sizzle's compiled- * selector functions- * @param {String|Function} selector A selector or a pre-compiled- * selector function built with Sizzle.compile- * @param {Element} context- * @param {Array} [results]- * @param {Array} [seed] A set of elements to match against- */-select = Sizzle.select = function( selector, context, results, seed ) {- var i, tokens, token, type, find,- compiled = typeof selector === "function" && selector,- match = !seed && tokenize( (selector = compiled.selector || selector) );-- results = results || [];-- // Try to minimize operations if there is no seed and only one group- if ( match.length === 1 ) {-- // Take a shortcut and set the context if the root selector is an ID- tokens = match[0] = match[0].slice( 0 );- if ( tokens.length > 2 && (token = tokens[0]).type === "ID" &&- support.getById && context.nodeType === 9 && documentIsHTML &&- Expr.relative[ tokens[1].type ] ) {-- context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];- if ( !context ) {- return results;-- // Precompiled matchers will still verify ancestry, so step up a level- } else if ( compiled ) {- context = context.parentNode;- }-- selector = selector.slice( tokens.shift().value.length );- }-- // Fetch a seed set for right-to-left matching- i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length;- while ( i-- ) {- token = tokens[i];-- // Abort if we hit a combinator- if ( Expr.relative[ (type = token.type) ] ) {- break;- }- if ( (find = Expr.find[ type ]) ) {- // Search, expanding context for leading sibling combinators- if ( (seed = find(- token.matches[0].replace( runescape, funescape ),- rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context- )) ) {-- // If seed is empty or no tokens remain, we can return early- tokens.splice( i, 1 );- selector = seed.length && toSelector( tokens );- if ( !selector ) {- push.apply( results, seed );- return results;- }-- break;- }- }- }- }-- // Compile and execute a filtering function if one is not provided- // Provide `match` to avoid retokenization if we modified the selector above- ( compiled || compile( selector, match ) )(- seed,- context,- !documentIsHTML,- results,- rsibling.test( selector ) && testContext( context.parentNode ) || context- );- return results;-};--// One-time assignments--// Sort stability-support.sortStable = expando.split("").sort( sortOrder ).join("") === expando;--// Support: Chrome 14-35+-// Always assume duplicates if they aren't passed to the comparison function-support.detectDuplicates = !!hasDuplicate;--// Initialize against the default document-setDocument();--// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)-// Detached nodes confoundingly follow *each other*-support.sortDetached = assert(function( div1 ) {- // Should return 1, but returns 4 (following)- return div1.compareDocumentPosition( document.createElement("div") ) & 1;-});--// Support: IE<8-// Prevent attribute/property "interpolation"-// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx-if ( !assert(function( div ) {- div.innerHTML = "<a href='#'></a>";- return div.firstChild.getAttribute("href") === "#" ;-}) ) {- addHandle( "type|href|height|width", function( elem, name, isXML ) {- if ( !isXML ) {- return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 );- }- });-}--// Support: IE<9-// Use defaultValue in place of getAttribute("value")-if ( !support.attributes || !assert(function( div ) {- div.innerHTML = "<input/>";- div.firstChild.setAttribute( "value", "" );- return div.firstChild.getAttribute( "value" ) === "";-}) ) {- addHandle( "value", function( elem, name, isXML ) {- if ( !isXML && elem.nodeName.toLowerCase() === "input" ) {- return elem.defaultValue;- }- });-}--// Support: IE<9-// Use getAttributeNode to fetch booleans when getAttribute lies-if ( !assert(function( div ) {- return div.getAttribute("disabled") == null;-}) ) {- addHandle( booleans, function( elem, name, isXML ) {- var val;- if ( !isXML ) {- return elem[ name ] === true ? name.toLowerCase() :- (val = elem.getAttributeNode( name )) && val.specified ?- val.value :- null;- }- });-}--return Sizzle;--})( window );----jQuery.find = Sizzle;-jQuery.expr = Sizzle.selectors;-jQuery.expr[":"] = jQuery.expr.pseudos;-jQuery.unique = Sizzle.uniqueSort;-jQuery.text = Sizzle.getText;-jQuery.isXMLDoc = Sizzle.isXML;-jQuery.contains = Sizzle.contains;----var rneedsContext = jQuery.expr.match.needsContext;--var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/);----var risSimple = /^.[^:#\[\.,]*$/;--// Implement the identical functionality for filter and not-function winnow( elements, qualifier, not ) {- if ( jQuery.isFunction( qualifier ) ) {- return jQuery.grep( elements, function( elem, i ) {- /* jshint -W018 */- return !!qualifier.call( elem, i, elem ) !== not;- });-- }-- if ( qualifier.nodeType ) {- return jQuery.grep( elements, function( elem ) {- return ( elem === qualifier ) !== not;- });-- }-- if ( typeof qualifier === "string" ) {- if ( risSimple.test( qualifier ) ) {- return jQuery.filter( qualifier, elements, not );- }-- qualifier = jQuery.filter( qualifier, elements );- }-- return jQuery.grep( elements, function( elem ) {- return ( indexOf.call( qualifier, elem ) >= 0 ) !== not;- });-}--jQuery.filter = function( expr, elems, not ) {- var elem = elems[ 0 ];-- if ( not ) {- expr = ":not(" + expr + ")";- }-- return elems.length === 1 && elem.nodeType === 1 ?- jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] :- jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {- return elem.nodeType === 1;- }));-};--jQuery.fn.extend({- find: function( selector ) {- var i,- len = this.length,- ret = [],- self = this;-- if ( typeof selector !== "string" ) {- return this.pushStack( jQuery( selector ).filter(function() {- for ( i = 0; i < len; i++ ) {- if ( jQuery.contains( self[ i ], this ) ) {- return true;- }- }- }) );- }-- for ( i = 0; i < len; i++ ) {- jQuery.find( selector, self[ i ], ret );- }-- // Needed because $( selector, context ) becomes $( context ).find( selector )- ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret );- ret.selector = this.selector ? this.selector + " " + selector : selector;- return ret;- },- filter: function( selector ) {- return this.pushStack( winnow(this, selector || [], false) );- },- not: function( selector ) {- return this.pushStack( winnow(this, selector || [], true) );- },- is: function( selector ) {- return !!winnow(- this,-- // If this is a positional/relative selector, check membership in the returned set- // so $("p:first").is("p:last") won't return true for a doc with two "p".- typeof selector === "string" && rneedsContext.test( selector ) ?- jQuery( selector ) :- selector || [],- false- ).length;- }-});---// Initialize a jQuery object---// A central reference to the root jQuery(document)-var rootjQuery,-- // A simple way to check for HTML strings- // Prioritize #id over <tag> to avoid XSS via location.hash (#9521)- // Strict HTML recognition (#11290: must start with <)- rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,-- init = jQuery.fn.init = function( selector, context ) {- var match, elem;-- // HANDLE: $(""), $(null), $(undefined), $(false)- if ( !selector ) {- return this;- }-- // Handle HTML strings- if ( typeof selector === "string" ) {- if ( selector[0] === "<" && selector[ selector.length - 1 ] === ">" && selector.length >= 3 ) {- // Assume that strings that start and end with <> are HTML and skip the regex check- match = [ null, selector, null ];-- } else {- match = rquickExpr.exec( selector );- }-- // Match html or make sure no context is specified for #id- if ( match && (match[1] || !context) ) {-- // HANDLE: $(html) -> $(array)- if ( match[1] ) {- context = context instanceof jQuery ? context[0] : context;-- // Option to run scripts is true for back-compat- // Intentionally let the error be thrown if parseHTML is not present- jQuery.merge( this, jQuery.parseHTML(- match[1],- context && context.nodeType ? context.ownerDocument || context : document,- true- ) );-- // HANDLE: $(html, props)- if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) {- for ( match in context ) {- // Properties of context are called as methods if possible- if ( jQuery.isFunction( this[ match ] ) ) {- this[ match ]( context[ match ] );-- // ...and otherwise set as attributes- } else {- this.attr( match, context[ match ] );- }- }- }-- return this;-- // HANDLE: $(#id)- } else {- elem = document.getElementById( match[2] );-- // Support: Blackberry 4.6- // gEBID returns nodes no longer in the document (#6963)- if ( elem && elem.parentNode ) {- // Inject the element directly into the jQuery object- this.length = 1;- this[0] = elem;- }-- this.context = document;- this.selector = selector;- return this;- }-- // HANDLE: $(expr, $(...))- } else if ( !context || context.jquery ) {- return ( context || rootjQuery ).find( selector );-- // HANDLE: $(expr, context)- // (which is just equivalent to: $(context).find(expr)- } else {- return this.constructor( context ).find( selector );- }-- // HANDLE: $(DOMElement)- } else if ( selector.nodeType ) {- this.context = this[0] = selector;- this.length = 1;- return this;-- // HANDLE: $(function)- // Shortcut for document ready- } else if ( jQuery.isFunction( selector ) ) {- return typeof rootjQuery.ready !== "undefined" ?- rootjQuery.ready( selector ) :- // Execute immediately if ready is not present- selector( jQuery );- }-- if ( selector.selector !== undefined ) {- this.selector = selector.selector;- this.context = selector.context;- }-- return jQuery.makeArray( selector, this );- };--// Give the init function the jQuery prototype for later instantiation-init.prototype = jQuery.fn;--// Initialize central reference-rootjQuery = jQuery( document );---var rparentsprev = /^(?:parents|prev(?:Until|All))/,- // Methods guaranteed to produce a unique set when starting from a unique set- guaranteedUnique = {- children: true,- contents: true,- next: true,- prev: true- };--jQuery.extend({- dir: function( elem, dir, until ) {- var matched = [],- truncate = until !== undefined;-- while ( (elem = elem[ dir ]) && elem.nodeType !== 9 ) {- if ( elem.nodeType === 1 ) {- if ( truncate && jQuery( elem ).is( until ) ) {- break;- }- matched.push( elem );- }- }- return matched;- },-- sibling: function( n, elem ) {- var matched = [];-- for ( ; n; n = n.nextSibling ) {- if ( n.nodeType === 1 && n !== elem ) {- matched.push( n );- }- }-- return matched;- }-});--jQuery.fn.extend({- has: function( target ) {- var targets = jQuery( target, this ),- l = targets.length;-- return this.filter(function() {- var i = 0;- for ( ; i < l; i++ ) {- if ( jQuery.contains( this, targets[i] ) ) {- return true;- }- }- });- },-- closest: function( selectors, context ) {- var cur,- i = 0,- l = this.length,- matched = [],- pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ?- jQuery( selectors, context || this.context ) :- 0;-- for ( ; i < l; i++ ) {- for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) {- // Always skip document fragments- if ( cur.nodeType < 11 && (pos ?- pos.index(cur) > -1 :-- // Don't pass non-elements to Sizzle- cur.nodeType === 1 &&- jQuery.find.matchesSelector(cur, selectors)) ) {-- matched.push( cur );- break;- }- }- }-- return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched );- },-- // Determine the position of an element within the set- index: function( elem ) {-- // No argument, return index in parent- if ( !elem ) {- return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;- }-- // Index in selector- if ( typeof elem === "string" ) {- return indexOf.call( jQuery( elem ), this[ 0 ] );- }-- // Locate the position of the desired element- return indexOf.call( this,-- // If it receives a jQuery object, the first element is used- elem.jquery ? elem[ 0 ] : elem- );- },-- add: function( selector, context ) {- return this.pushStack(- jQuery.unique(- jQuery.merge( this.get(), jQuery( selector, context ) )- )- );- },-- addBack: function( selector ) {- return this.add( selector == null ?- this.prevObject : this.prevObject.filter(selector)- );- }-});--function sibling( cur, dir ) {- while ( (cur = cur[dir]) && cur.nodeType !== 1 ) {}- return cur;-}--jQuery.each({- parent: function( elem ) {- var parent = elem.parentNode;- return parent && parent.nodeType !== 11 ? parent : null;- },- parents: function( elem ) {- return jQuery.dir( elem, "parentNode" );- },- parentsUntil: function( elem, i, until ) {- return jQuery.dir( elem, "parentNode", until );- },- next: function( elem ) {- return sibling( elem, "nextSibling" );- },- prev: function( elem ) {- return sibling( elem, "previousSibling" );- },- nextAll: function( elem ) {- return jQuery.dir( elem, "nextSibling" );- },- prevAll: function( elem ) {- return jQuery.dir( elem, "previousSibling" );- },- nextUntil: function( elem, i, until ) {- return jQuery.dir( elem, "nextSibling", until );- },- prevUntil: function( elem, i, until ) {- return jQuery.dir( elem, "previousSibling", until );- },- siblings: function( elem ) {- return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem );- },- children: function( elem ) {- return jQuery.sibling( elem.firstChild );- },- contents: function( elem ) {- return elem.contentDocument || jQuery.merge( [], elem.childNodes );- }-}, function( name, fn ) {- jQuery.fn[ name ] = function( until, selector ) {- var matched = jQuery.map( this, fn, until );-- if ( name.slice( -5 ) !== "Until" ) {- selector = until;- }-- if ( selector && typeof selector === "string" ) {- matched = jQuery.filter( selector, matched );- }-- if ( this.length > 1 ) {- // Remove duplicates- if ( !guaranteedUnique[ name ] ) {- jQuery.unique( matched );- }-- // Reverse order for parents* and prev-derivatives- if ( rparentsprev.test( name ) ) {- matched.reverse();- }- }-- return this.pushStack( matched );- };-});-var rnotwhite = (/\S+/g);----// String to Object options format cache-var optionsCache = {};--// Convert String-formatted options into Object-formatted ones and store in cache-function createOptions( options ) {- var object = optionsCache[ options ] = {};- jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) {- object[ flag ] = true;- });- return object;-}--/*- * Create a callback list using the following parameters:- *- * options: an optional list of space-separated options that will change how- * the callback list behaves or a more traditional option object- *- * By default a callback list will act like an event callback list and can be- * "fired" multiple times.- *- * Possible options:- *- * once: will ensure the callback list can only be fired once (like a Deferred)- *- * memory: will keep track of previous values and will call any callback added- * after the list has been fired right away with the latest "memorized"- * values (like a Deferred)- *- * unique: will ensure a callback can only be added once (no duplicate in the list)- *- * stopOnFalse: interrupt callings when a callback returns false- *- */-jQuery.Callbacks = function( options ) {-- // Convert options from String-formatted to Object-formatted if needed- // (we check in cache first)- options = typeof options === "string" ?- ( optionsCache[ options ] || createOptions( options ) ) :- jQuery.extend( {}, options );-- var // Last fire value (for non-forgettable lists)- memory,- // Flag to know if list was already fired- fired,- // Flag to know if list is currently firing- firing,- // First callback to fire (used internally by add and fireWith)- firingStart,- // End of the loop when firing- firingLength,- // Index of currently firing callback (modified by remove if needed)- firingIndex,- // Actual callback list- list = [],- // Stack of fire calls for repeatable lists- stack = !options.once && [],- // Fire callbacks- fire = function( data ) {- memory = options.memory && data;- fired = true;- firingIndex = firingStart || 0;- firingStart = 0;- firingLength = list.length;- firing = true;- for ( ; list && firingIndex < firingLength; firingIndex++ ) {- if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) {- memory = false; // To prevent further calls using add- break;- }- }- firing = false;- if ( list ) {- if ( stack ) {- if ( stack.length ) {- fire( stack.shift() );- }- } else if ( memory ) {- list = [];- } else {- self.disable();- }- }- },- // Actual Callbacks object- self = {- // Add a callback or a collection of callbacks to the list- add: function() {- if ( list ) {- // First, we save the current length- var start = list.length;- (function add( args ) {- jQuery.each( args, function( _, arg ) {- var type = jQuery.type( arg );- if ( type === "function" ) {- if ( !options.unique || !self.has( arg ) ) {- list.push( arg );- }- } else if ( arg && arg.length && type !== "string" ) {- // Inspect recursively- add( arg );- }- });- })( arguments );- // Do we need to add the callbacks to the- // current firing batch?- if ( firing ) {- firingLength = list.length;- // With memory, if we're not firing then- // we should call right away- } else if ( memory ) {- firingStart = start;- fire( memory );- }- }- return this;- },- // Remove a callback from the list- remove: function() {- if ( list ) {- jQuery.each( arguments, function( _, arg ) {- var index;- while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {- list.splice( index, 1 );- // Handle firing indexes- if ( firing ) {- if ( index <= firingLength ) {- firingLength--;- }- if ( index <= firingIndex ) {- firingIndex--;- }- }- }- });- }- return this;- },- // Check if a given callback is in the list.- // If no argument is given, return whether or not list has callbacks attached.- has: function( fn ) {- return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length );- },- // Remove all callbacks from the list- empty: function() {- list = [];- firingLength = 0;- return this;- },- // Have the list do nothing anymore- disable: function() {- list = stack = memory = undefined;- return this;- },- // Is it disabled?- disabled: function() {- return !list;- },- // Lock the list in its current state- lock: function() {- stack = undefined;- if ( !memory ) {- self.disable();- }- return this;- },- // Is it locked?- locked: function() {- return !stack;- },- // Call all callbacks with the given context and arguments- fireWith: function( context, args ) {- if ( list && ( !fired || stack ) ) {- args = args || [];- args = [ context, args.slice ? args.slice() : args ];- if ( firing ) {- stack.push( args );- } else {- fire( args );- }- }- return this;- },- // Call all the callbacks with the given arguments- fire: function() {- self.fireWith( this, arguments );- return this;- },- // To know if the callbacks have already been called at least once- fired: function() {- return !!fired;- }- };-- return self;-};---jQuery.extend({-- Deferred: function( func ) {- var tuples = [- // action, add listener, listener list, final state- [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ],- [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ],- [ "notify", "progress", jQuery.Callbacks("memory") ]- ],- state = "pending",- promise = {- state: function() {- return state;- },- always: function() {- deferred.done( arguments ).fail( arguments );- return this;- },- then: function( /* fnDone, fnFail, fnProgress */ ) {- var fns = arguments;- return jQuery.Deferred(function( newDefer ) {- jQuery.each( tuples, function( i, tuple ) {- var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ];- // deferred[ done | fail | progress ] for forwarding actions to newDefer- deferred[ tuple[1] ](function() {- var returned = fn && fn.apply( this, arguments );- if ( returned && jQuery.isFunction( returned.promise ) ) {- returned.promise()- .done( newDefer.resolve )- .fail( newDefer.reject )- .progress( newDefer.notify );- } else {- newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments );- }- });- });- fns = null;- }).promise();- },- // Get a promise for this deferred- // If obj is provided, the promise aspect is added to the object- promise: function( obj ) {- return obj != null ? jQuery.extend( obj, promise ) : promise;- }- },- deferred = {};-- // Keep pipe for back-compat- promise.pipe = promise.then;-- // Add list-specific methods- jQuery.each( tuples, function( i, tuple ) {- var list = tuple[ 2 ],- stateString = tuple[ 3 ];-- // promise[ done | fail | progress ] = list.add- promise[ tuple[1] ] = list.add;-- // Handle state- if ( stateString ) {- list.add(function() {- // state = [ resolved | rejected ]- state = stateString;-- // [ reject_list | resolve_list ].disable; progress_list.lock- }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock );- }-- // deferred[ resolve | reject | notify ]- deferred[ tuple[0] ] = function() {- deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments );- return this;- };- deferred[ tuple[0] + "With" ] = list.fireWith;- });-- // Make the deferred a promise- promise.promise( deferred );-- // Call given func if any- if ( func ) {- func.call( deferred, deferred );- }-- // All done!- return deferred;- },-- // Deferred helper- when: function( subordinate /* , ..., subordinateN */ ) {- var i = 0,- resolveValues = slice.call( arguments ),- length = resolveValues.length,-- // the count of uncompleted subordinates- remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0,-- // the master Deferred. If resolveValues consist of only a single Deferred, just use that.- deferred = remaining === 1 ? subordinate : jQuery.Deferred(),-- // Update function for both resolve and progress values- updateFunc = function( i, contexts, values ) {- return function( value ) {- contexts[ i ] = this;- values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;- if ( values === progressValues ) {- deferred.notifyWith( contexts, values );- } else if ( !( --remaining ) ) {- deferred.resolveWith( contexts, values );- }- };- },-- progressValues, progressContexts, resolveContexts;-- // Add listeners to Deferred subordinates; treat others as resolved- if ( length > 1 ) {- progressValues = new Array( length );- progressContexts = new Array( length );- resolveContexts = new Array( length );- for ( ; i < length; i++ ) {- if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) {- resolveValues[ i ].promise()- .done( updateFunc( i, resolveContexts, resolveValues ) )- .fail( deferred.reject )- .progress( updateFunc( i, progressContexts, progressValues ) );- } else {- --remaining;- }- }- }-- // If we're not waiting on anything, resolve the master- if ( !remaining ) {- deferred.resolveWith( resolveContexts, resolveValues );- }-- return deferred.promise();- }-});---// The deferred used on DOM ready-var readyList;--jQuery.fn.ready = function( fn ) {- // Add the callback- jQuery.ready.promise().done( fn );-- return this;-};--jQuery.extend({- // Is the DOM ready to be used? Set to true once it occurs.- isReady: false,-- // A counter to track how many items to wait for before- // the ready event fires. See #6781- readyWait: 1,-- // Hold (or release) the ready event- holdReady: function( hold ) {- if ( hold ) {- jQuery.readyWait++;- } else {- jQuery.ready( true );- }- },-- // Handle when the DOM is ready- ready: function( wait ) {-- // Abort if there are pending holds or we're already ready- if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {- return;- }-- // Remember that the DOM is ready- jQuery.isReady = true;-- // If a normal DOM Ready event fired, decrement, and wait if need be- if ( wait !== true && --jQuery.readyWait > 0 ) {- return;- }-- // If there are functions bound, to execute- readyList.resolveWith( document, [ jQuery ] );-- // Trigger any bound ready events- if ( jQuery.fn.triggerHandler ) {- jQuery( document ).triggerHandler( "ready" );- jQuery( document ).off( "ready" );- }- }-});--/**- * The ready event handler and self cleanup method- */-function completed() {- document.removeEventListener( "DOMContentLoaded", completed, false );- window.removeEventListener( "load", completed, false );- jQuery.ready();-}--jQuery.ready.promise = function( obj ) {- if ( !readyList ) {-- readyList = jQuery.Deferred();-- // Catch cases where $(document).ready() is called after the browser event has already occurred.- // We once tried to use readyState "interactive" here, but it caused issues like the one- // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15- if ( document.readyState === "complete" ) {- // Handle it asynchronously to allow scripts the opportunity to delay ready- setTimeout( jQuery.ready );-- } else {-- // Use the handy event callback- document.addEventListener( "DOMContentLoaded", completed, false );-- // A fallback to window.onload, that will always work- window.addEventListener( "load", completed, false );- }- }- return readyList.promise( obj );-};--// Kick off the DOM ready check even if the user does not-jQuery.ready.promise();-----// Multifunctional method to get and set values of a collection-// The value/s can optionally be executed if it's a function-var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) {- var i = 0,- len = elems.length,- bulk = key == null;-- // Sets many values- if ( jQuery.type( key ) === "object" ) {- chainable = true;- for ( i in key ) {- jQuery.access( elems, fn, i, key[i], true, emptyGet, raw );- }-- // Sets one value- } else if ( value !== undefined ) {- chainable = true;-- if ( !jQuery.isFunction( value ) ) {- raw = true;- }-- if ( bulk ) {- // Bulk operations run against the entire set- if ( raw ) {- fn.call( elems, value );- fn = null;-- // ...except when executing function values- } else {- bulk = fn;- fn = function( elem, key, value ) {- return bulk.call( jQuery( elem ), value );- };- }- }-- if ( fn ) {- for ( ; i < len; i++ ) {- fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) );- }- }- }-- return chainable ?- elems :-- // Gets- bulk ?- fn.call( elems ) :- len ? fn( elems[0], key ) : emptyGet;-};---/**- * Determines whether an object can have data- */-jQuery.acceptData = function( owner ) {- // Accepts only:- // - Node- // - Node.ELEMENT_NODE- // - Node.DOCUMENT_NODE- // - Object- // - Any- /* jshint -W018 */- return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );-};---function Data() {- // Support: Android<4,- // Old WebKit does not have Object.preventExtensions/freeze method,- // return new empty object instead with no [[set]] accessor- Object.defineProperty( this.cache = {}, 0, {- get: function() {- return {};- }- });-- this.expando = jQuery.expando + Data.uid++;-}--Data.uid = 1;-Data.accepts = jQuery.acceptData;--Data.prototype = {- key: function( owner ) {- // We can accept data for non-element nodes in modern browsers,- // but we should not, see #8335.- // Always return the key for a frozen object.- if ( !Data.accepts( owner ) ) {- return 0;- }-- var descriptor = {},- // Check if the owner object already has a cache key- unlock = owner[ this.expando ];-- // If not, create one- if ( !unlock ) {- unlock = Data.uid++;-- // Secure it in a non-enumerable, non-writable property- try {- descriptor[ this.expando ] = { value: unlock };- Object.defineProperties( owner, descriptor );-- // Support: Android<4- // Fallback to a less secure definition- } catch ( e ) {- descriptor[ this.expando ] = unlock;- jQuery.extend( owner, descriptor );- }- }-- // Ensure the cache object- if ( !this.cache[ unlock ] ) {- this.cache[ unlock ] = {};- }-- return unlock;- },- set: function( owner, data, value ) {- var prop,- // There may be an unlock assigned to this node,- // if there is no entry for this "owner", create one inline- // and set the unlock as though an owner entry had always existed- unlock = this.key( owner ),- cache = this.cache[ unlock ];-- // Handle: [ owner, key, value ] args- if ( typeof data === "string" ) {- cache[ data ] = value;-- // Handle: [ owner, { properties } ] args- } else {- // Fresh assignments by object are shallow copied- if ( jQuery.isEmptyObject( cache ) ) {- jQuery.extend( this.cache[ unlock ], data );- // Otherwise, copy the properties one-by-one to the cache object- } else {- for ( prop in data ) {- cache[ prop ] = data[ prop ];- }- }- }- return cache;- },- get: function( owner, key ) {- // Either a valid cache is found, or will be created.- // New caches will be created and the unlock returned,- // allowing direct access to the newly created- // empty data object. A valid owner object must be provided.- var cache = this.cache[ this.key( owner ) ];-- return key === undefined ?- cache : cache[ key ];- },- access: function( owner, key, value ) {- var stored;- // In cases where either:- //- // 1. No key was specified- // 2. A string key was specified, but no value provided- //- // Take the "read" path and allow the get method to determine- // which value to return, respectively either:- //- // 1. The entire cache object- // 2. The data stored at the key- //- if ( key === undefined ||- ((key && typeof key === "string") && value === undefined) ) {-- stored = this.get( owner, key );-- return stored !== undefined ?- stored : this.get( owner, jQuery.camelCase(key) );- }-- // [*]When the key is not a string, or both a key and value- // are specified, set or extend (existing objects) with either:- //- // 1. An object of properties- // 2. A key and value- //- this.set( owner, key, value );-- // Since the "set" path can have two possible entry points- // return the expected data based on which path was taken[*]- return value !== undefined ? value : key;- },- remove: function( owner, key ) {- var i, name, camel,- unlock = this.key( owner ),- cache = this.cache[ unlock ];-- if ( key === undefined ) {- this.cache[ unlock ] = {};-- } else {- // Support array or space separated string of keys- if ( jQuery.isArray( key ) ) {- // If "name" is an array of keys...- // When data is initially created, via ("key", "val") signature,- // keys will be converted to camelCase.- // Since there is no way to tell _how_ a key was added, remove- // both plain key and camelCase key. #12786- // This will only penalize the array argument path.- name = key.concat( key.map( jQuery.camelCase ) );- } else {- camel = jQuery.camelCase( key );- // Try the string as a key before any manipulation- if ( key in cache ) {- name = [ key, camel ];- } else {- // If a key with the spaces exists, use it.- // Otherwise, create an array by matching non-whitespace- name = camel;- name = name in cache ?- [ name ] : ( name.match( rnotwhite ) || [] );- }- }-- i = name.length;- while ( i-- ) {- delete cache[ name[ i ] ];- }- }- },- hasData: function( owner ) {- return !jQuery.isEmptyObject(- this.cache[ owner[ this.expando ] ] || {}- );- },- discard: function( owner ) {- if ( owner[ this.expando ] ) {- delete this.cache[ owner[ this.expando ] ];- }- }-};-var data_priv = new Data();--var data_user = new Data();----// Implementation Summary-//-// 1. Enforce API surface and semantic compatibility with 1.9.x branch-// 2. Improve the module's maintainability by reducing the storage-// paths to a single mechanism.-// 3. Use the same single mechanism to support "private" and "user" data.-// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData)-// 5. Avoid exposing implementation details on user objects (eg. expando properties)-// 6. Provide a clear path for implementation upgrade to WeakMap in 2014--var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,- rmultiDash = /([A-Z])/g;--function dataAttr( elem, key, data ) {- var name;-- // If nothing was found internally, try to fetch any- // data from the HTML5 data-* attribute- if ( data === undefined && elem.nodeType === 1 ) {- name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase();- data = elem.getAttribute( name );-- if ( typeof data === "string" ) {- try {- data = data === "true" ? true :- data === "false" ? false :- data === "null" ? null :- // Only convert to a number if it doesn't change the string- +data + "" === data ? +data :- rbrace.test( data ) ? jQuery.parseJSON( data ) :- data;- } catch( e ) {}-- // Make sure we set the data so it isn't changed later- data_user.set( elem, key, data );- } else {- data = undefined;- }- }- return data;-}--jQuery.extend({- hasData: function( elem ) {- return data_user.hasData( elem ) || data_priv.hasData( elem );- },-- data: function( elem, name, data ) {- return data_user.access( elem, name, data );- },-- removeData: function( elem, name ) {- data_user.remove( elem, name );- },-- // TODO: Now that all calls to _data and _removeData have been replaced- // with direct calls to data_priv methods, these can be deprecated.- _data: function( elem, name, data ) {- return data_priv.access( elem, name, data );- },-- _removeData: function( elem, name ) {- data_priv.remove( elem, name );- }-});--jQuery.fn.extend({- data: function( key, value ) {- var i, name, data,- elem = this[ 0 ],- attrs = elem && elem.attributes;-- // Gets all values- if ( key === undefined ) {- if ( this.length ) {- data = data_user.get( elem );-- if ( elem.nodeType === 1 && !data_priv.get( elem, "hasDataAttrs" ) ) {- i = attrs.length;- while ( i-- ) {-- // Support: IE11+- // The attrs elements can be null (#14894)- if ( attrs[ i ] ) {- name = attrs[ i ].name;- if ( name.indexOf( "data-" ) === 0 ) {- name = jQuery.camelCase( name.slice(5) );- dataAttr( elem, name, data[ name ] );- }- }- }- data_priv.set( elem, "hasDataAttrs", true );- }- }-- return data;- }-- // Sets multiple values- if ( typeof key === "object" ) {- return this.each(function() {- data_user.set( this, key );- });- }-- return access( this, function( value ) {- var data,- camelKey = jQuery.camelCase( key );-- // The calling jQuery object (element matches) is not empty- // (and therefore has an element appears at this[ 0 ]) and the- // `value` parameter was not undefined. An empty jQuery object- // will result in `undefined` for elem = this[ 0 ] which will- // throw an exception if an attempt to read a data cache is made.- if ( elem && value === undefined ) {- // Attempt to get data from the cache- // with the key as-is- data = data_user.get( elem, key );- if ( data !== undefined ) {- return data;- }-- // Attempt to get data from the cache- // with the key camelized- data = data_user.get( elem, camelKey );- if ( data !== undefined ) {- return data;- }-- // Attempt to "discover" the data in- // HTML5 custom data-* attrs- data = dataAttr( elem, camelKey, undefined );- if ( data !== undefined ) {- return data;- }-- // We tried really hard, but the data doesn't exist.- return;- }-- // Set the data...- this.each(function() {- // First, attempt to store a copy or reference of any- // data that might've been store with a camelCased key.- var data = data_user.get( this, camelKey );-- // For HTML5 data-* attribute interop, we have to- // store property names with dashes in a camelCase form.- // This might not apply to all properties...*- data_user.set( this, camelKey, value );-- // *... In the case of properties that might _actually_- // have dashes, we need to also store a copy of that- // unchanged property.- if ( key.indexOf("-") !== -1 && data !== undefined ) {- data_user.set( this, key, value );- }- });- }, null, value, arguments.length > 1, null, true );- },-- removeData: function( key ) {- return this.each(function() {- data_user.remove( this, key );- });- }-});---jQuery.extend({- queue: function( elem, type, data ) {- var queue;-- if ( elem ) {- type = ( type || "fx" ) + "queue";- queue = data_priv.get( elem, type );-- // Speed up dequeue by getting out quickly if this is just a lookup- if ( data ) {- if ( !queue || jQuery.isArray( data ) ) {- queue = data_priv.access( elem, type, jQuery.makeArray(data) );- } else {- queue.push( data );- }- }- return queue || [];- }- },-- dequeue: function( elem, type ) {- type = type || "fx";-- var queue = jQuery.queue( elem, type ),- startLength = queue.length,- fn = queue.shift(),- hooks = jQuery._queueHooks( elem, type ),- next = function() {- jQuery.dequeue( elem, type );- };-- // If the fx queue is dequeued, always remove the progress sentinel- if ( fn === "inprogress" ) {- fn = queue.shift();- startLength--;- }-- if ( fn ) {-- // Add a progress sentinel to prevent the fx queue from being- // automatically dequeued- if ( type === "fx" ) {- queue.unshift( "inprogress" );- }-- // Clear up the last queue stop function- delete hooks.stop;- fn.call( elem, next, hooks );- }-- if ( !startLength && hooks ) {- hooks.empty.fire();- }- },-- // Not public - generate a queueHooks object, or return the current one- _queueHooks: function( elem, type ) {- var key = type + "queueHooks";- return data_priv.get( elem, key ) || data_priv.access( elem, key, {- empty: jQuery.Callbacks("once memory").add(function() {- data_priv.remove( elem, [ type + "queue", key ] );- })- });- }-});--jQuery.fn.extend({- queue: function( type, data ) {- var setter = 2;-- if ( typeof type !== "string" ) {- data = type;- type = "fx";- setter--;- }-- if ( arguments.length < setter ) {- return jQuery.queue( this[0], type );- }-- return data === undefined ?- this :- this.each(function() {- var queue = jQuery.queue( this, type, data );-- // Ensure a hooks for this queue- jQuery._queueHooks( this, type );-- if ( type === "fx" && queue[0] !== "inprogress" ) {- jQuery.dequeue( this, type );- }- });- },- dequeue: function( type ) {- return this.each(function() {- jQuery.dequeue( this, type );- });- },- clearQueue: function( type ) {- return this.queue( type || "fx", [] );- },- // Get a promise resolved when queues of a certain type- // are emptied (fx is the type by default)- promise: function( type, obj ) {- var tmp,- count = 1,- defer = jQuery.Deferred(),- elements = this,- i = this.length,- resolve = function() {- if ( !( --count ) ) {- defer.resolveWith( elements, [ elements ] );- }- };-- if ( typeof type !== "string" ) {- obj = type;- type = undefined;- }- type = type || "fx";-- while ( i-- ) {- tmp = data_priv.get( elements[ i ], type + "queueHooks" );- if ( tmp && tmp.empty ) {- count++;- tmp.empty.add( resolve );- }- }- resolve();- return defer.promise( obj );- }-});-var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source;--var cssExpand = [ "Top", "Right", "Bottom", "Left" ];--var isHidden = function( elem, el ) {- // isHidden might be called from jQuery#filter function;- // in that case, element will be second argument- elem = el || elem;- return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem );- };--var rcheckableType = (/^(?:checkbox|radio)$/i);----(function() {- var fragment = document.createDocumentFragment(),- div = fragment.appendChild( document.createElement( "div" ) ),- input = document.createElement( "input" );-- // Support: Safari<=5.1- // Check state lost if the name is set (#11217)- // Support: Windows Web Apps (WWA)- // `name` and `type` must use .setAttribute for WWA (#14901)- input.setAttribute( "type", "radio" );- input.setAttribute( "checked", "checked" );- input.setAttribute( "name", "t" );-- div.appendChild( input );-- // Support: Safari<=5.1, Android<4.2- // Older WebKit doesn't clone checked state correctly in fragments- support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;-- // Support: IE<=11+- // Make sure textarea (and checkbox) defaultValue is properly cloned- div.innerHTML = "<textarea>x</textarea>";- support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;-})();-var strundefined = typeof undefined;----support.focusinBubbles = "onfocusin" in window;---var- rkeyEvent = /^key/,- rmouseEvent = /^(?:mouse|pointer|contextmenu)|click/,- rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,- rtypenamespace = /^([^.]*)(?:\.(.+)|)$/;--function returnTrue() {- return true;-}--function returnFalse() {- return false;-}--function safeActiveElement() {- try {- return document.activeElement;- } catch ( err ) { }-}--/*- * Helper functions for managing events -- not part of the public interface.- * Props to Dean Edwards' addEvent library for many of the ideas.- */-jQuery.event = {-- global: {},-- add: function( elem, types, handler, data, selector ) {-- var handleObjIn, eventHandle, tmp,- events, t, handleObj,- special, handlers, type, namespaces, origType,- elemData = data_priv.get( elem );-- // Don't attach events to noData or text/comment nodes (but allow plain objects)- if ( !elemData ) {- return;- }-- // Caller can pass in an object of custom data in lieu of the handler- if ( handler.handler ) {- handleObjIn = handler;- handler = handleObjIn.handler;- selector = handleObjIn.selector;- }-- // Make sure that the handler has a unique ID, used to find/remove it later- if ( !handler.guid ) {- handler.guid = jQuery.guid++;- }-- // Init the element's event structure and main handler, if this is the first- if ( !(events = elemData.events) ) {- events = elemData.events = {};- }- if ( !(eventHandle = elemData.handle) ) {- eventHandle = elemData.handle = function( e ) {- // Discard the second event of a jQuery.event.trigger() and- // when an event is called after a page has unloaded- return typeof jQuery !== strundefined && jQuery.event.triggered !== e.type ?- jQuery.event.dispatch.apply( elem, arguments ) : undefined;- };- }-- // Handle multiple events separated by a space- types = ( types || "" ).match( rnotwhite ) || [ "" ];- t = types.length;- while ( t-- ) {- tmp = rtypenamespace.exec( types[t] ) || [];- type = origType = tmp[1];- namespaces = ( tmp[2] || "" ).split( "." ).sort();-- // There *must* be a type, no attaching namespace-only handlers- if ( !type ) {- continue;- }-- // If event changes its type, use the special event handlers for the changed type- special = jQuery.event.special[ type ] || {};-- // If selector defined, determine special event api type, otherwise given type- type = ( selector ? special.delegateType : special.bindType ) || type;-- // Update special based on newly reset type- special = jQuery.event.special[ type ] || {};-- // handleObj is passed to all event handlers- handleObj = jQuery.extend({- type: type,- origType: origType,- data: data,- handler: handler,- guid: handler.guid,- selector: selector,- needsContext: selector && jQuery.expr.match.needsContext.test( selector ),- namespace: namespaces.join(".")- }, handleObjIn );-- // Init the event handler queue if we're the first- if ( !(handlers = events[ type ]) ) {- handlers = events[ type ] = [];- handlers.delegateCount = 0;-- // Only use addEventListener if the special events handler returns false- if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) {- if ( elem.addEventListener ) {- elem.addEventListener( type, eventHandle, false );- }- }- }-- if ( special.add ) {- special.add.call( elem, handleObj );-- if ( !handleObj.handler.guid ) {- handleObj.handler.guid = handler.guid;- }- }-- // Add to the element's handler list, delegates in front- if ( selector ) {- handlers.splice( handlers.delegateCount++, 0, handleObj );- } else {- handlers.push( handleObj );- }-- // Keep track of which events have ever been used, for event optimization- jQuery.event.global[ type ] = true;- }-- },-- // Detach an event or set of events from an element- remove: function( elem, types, handler, selector, mappedTypes ) {-- var j, origCount, tmp,- events, t, handleObj,- special, handlers, type, namespaces, origType,- elemData = data_priv.hasData( elem ) && data_priv.get( elem );-- if ( !elemData || !(events = elemData.events) ) {- return;- }-- // Once for each type.namespace in types; type may be omitted- types = ( types || "" ).match( rnotwhite ) || [ "" ];- t = types.length;- while ( t-- ) {- tmp = rtypenamespace.exec( types[t] ) || [];- type = origType = tmp[1];- namespaces = ( tmp[2] || "" ).split( "." ).sort();-- // Unbind all events (on this namespace, if provided) for the element- if ( !type ) {- for ( type in events ) {- jQuery.event.remove( elem, type + types[ t ], handler, selector, true );- }- continue;- }-- special = jQuery.event.special[ type ] || {};- type = ( selector ? special.delegateType : special.bindType ) || type;- handlers = events[ type ] || [];- tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" );-- // Remove matching events- origCount = j = handlers.length;- while ( j-- ) {- handleObj = handlers[ j ];-- if ( ( mappedTypes || origType === handleObj.origType ) &&- ( !handler || handler.guid === handleObj.guid ) &&- ( !tmp || tmp.test( handleObj.namespace ) ) &&- ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {- handlers.splice( j, 1 );-- if ( handleObj.selector ) {- handlers.delegateCount--;- }- if ( special.remove ) {- special.remove.call( elem, handleObj );- }- }- }-- // Remove generic event handler if we removed something and no more handlers exist- // (avoids potential for endless recursion during removal of special event handlers)- if ( origCount && !handlers.length ) {- if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) {- jQuery.removeEvent( elem, type, elemData.handle );- }-- delete events[ type ];- }- }-- // Remove the expando if it's no longer used- if ( jQuery.isEmptyObject( events ) ) {- delete elemData.handle;- data_priv.remove( elem, "events" );- }- },-- trigger: function( event, data, elem, onlyHandlers ) {-- var i, cur, tmp, bubbleType, ontype, handle, special,- eventPath = [ elem || document ],- type = hasOwn.call( event, "type" ) ? event.type : event,- namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : [];-- cur = tmp = elem = elem || document;-- // Don't do events on text and comment nodes- if ( elem.nodeType === 3 || elem.nodeType === 8 ) {- return;- }-- // focus/blur morphs to focusin/out; ensure we're not firing them right now- if ( rfocusMorph.test( type + jQuery.event.triggered ) ) {- return;- }-- if ( type.indexOf(".") >= 0 ) {- // Namespaced trigger; create a regexp to match event type in handle()- namespaces = type.split(".");- type = namespaces.shift();- namespaces.sort();- }- ontype = type.indexOf(":") < 0 && "on" + type;-- // Caller can pass in a jQuery.Event object, Object, or just an event type string- event = event[ jQuery.expando ] ?- event :- new jQuery.Event( type, typeof event === "object" && event );-- // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)- event.isTrigger = onlyHandlers ? 2 : 3;- event.namespace = namespaces.join(".");- event.namespace_re = event.namespace ?- new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) :- null;-- // Clean up the event in case it is being reused- event.result = undefined;- if ( !event.target ) {- event.target = elem;- }-- // Clone any incoming data and prepend the event, creating the handler arg list- data = data == null ?- [ event ] :- jQuery.makeArray( data, [ event ] );-- // Allow special events to draw outside the lines- special = jQuery.event.special[ type ] || {};- if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {- return;- }-- // Determine event propagation path in advance, per W3C events spec (#9951)- // Bubble up to document, then to window; watch for a global ownerDocument var (#9724)- if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) {-- bubbleType = special.delegateType || type;- if ( !rfocusMorph.test( bubbleType + type ) ) {- cur = cur.parentNode;- }- for ( ; cur; cur = cur.parentNode ) {- eventPath.push( cur );- tmp = cur;- }-- // Only add window if we got to document (e.g., not plain obj or detached DOM)- if ( tmp === (elem.ownerDocument || document) ) {- eventPath.push( tmp.defaultView || tmp.parentWindow || window );- }- }-- // Fire handlers on the event path- i = 0;- while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) {-- event.type = i > 1 ?- bubbleType :- special.bindType || type;-- // jQuery handler- handle = ( data_priv.get( cur, "events" ) || {} )[ event.type ] && data_priv.get( cur, "handle" );- if ( handle ) {- handle.apply( cur, data );- }-- // Native handler- handle = ontype && cur[ ontype ];- if ( handle && handle.apply && jQuery.acceptData( cur ) ) {- event.result = handle.apply( cur, data );- if ( event.result === false ) {- event.preventDefault();- }- }- }- event.type = type;-- // If nobody prevented the default action, do it now- if ( !onlyHandlers && !event.isDefaultPrevented() ) {-- if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) &&- jQuery.acceptData( elem ) ) {-- // Call a native DOM method on the target with the same name name as the event.- // Don't do default actions on window, that's where global variables be (#6170)- if ( ontype && jQuery.isFunction( elem[ type ] ) && !jQuery.isWindow( elem ) ) {-- // Don't re-trigger an onFOO event when we call its FOO() method- tmp = elem[ ontype ];-- if ( tmp ) {- elem[ ontype ] = null;- }-- // Prevent re-triggering of the same event, since we already bubbled it above- jQuery.event.triggered = type;- elem[ type ]();- jQuery.event.triggered = undefined;-- if ( tmp ) {- elem[ ontype ] = tmp;- }- }- }- }-- return event.result;- },-- dispatch: function( event ) {-- // Make a writable jQuery.Event from the native event object- event = jQuery.event.fix( event );-- var i, j, ret, matched, handleObj,- handlerQueue = [],- args = slice.call( arguments ),- handlers = ( data_priv.get( this, "events" ) || {} )[ event.type ] || [],- special = jQuery.event.special[ event.type ] || {};-- // Use the fix-ed jQuery.Event rather than the (read-only) native event- args[0] = event;- event.delegateTarget = this;-- // Call the preDispatch hook for the mapped type, and let it bail if desired- if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {- return;- }-- // Determine handlers- handlerQueue = jQuery.event.handlers.call( this, event, handlers );-- // Run delegates first; they may want to stop propagation beneath us- i = 0;- while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) {- event.currentTarget = matched.elem;-- j = 0;- while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) {-- // Triggered event must either 1) have no namespace, or 2) have namespace(s)- // a subset or equal to those in the bound event (both can have no namespace).- if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) {-- event.handleObj = handleObj;- event.data = handleObj.data;-- ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler )- .apply( matched.elem, args );-- if ( ret !== undefined ) {- if ( (event.result = ret) === false ) {- event.preventDefault();- event.stopPropagation();- }- }- }- }- }-- // Call the postDispatch hook for the mapped type- if ( special.postDispatch ) {- special.postDispatch.call( this, event );- }-- return event.result;- },-- handlers: function( event, handlers ) {- var i, matches, sel, handleObj,- handlerQueue = [],- delegateCount = handlers.delegateCount,- cur = event.target;-- // Find delegate handlers- // Black-hole SVG <use> instance trees (#13180)- // Avoid non-left-click bubbling in Firefox (#3861)- if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) {-- for ( ; cur !== this; cur = cur.parentNode || this ) {-- // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)- if ( cur.disabled !== true || event.type !== "click" ) {- matches = [];- for ( i = 0; i < delegateCount; i++ ) {- handleObj = handlers[ i ];-- // Don't conflict with Object.prototype properties (#13203)- sel = handleObj.selector + " ";-- if ( matches[ sel ] === undefined ) {- matches[ sel ] = handleObj.needsContext ?- jQuery( sel, this ).index( cur ) >= 0 :- jQuery.find( sel, this, null, [ cur ] ).length;- }- if ( matches[ sel ] ) {- matches.push( handleObj );- }- }- if ( matches.length ) {- handlerQueue.push({ elem: cur, handlers: matches });- }- }- }- }-- // Add the remaining (directly-bound) handlers- if ( delegateCount < handlers.length ) {- handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) });- }-- return handlerQueue;- },-- // Includes some event props shared by KeyEvent and MouseEvent- 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( event, original ) {-- // Add which for key events- if ( event.which == null ) {- event.which = original.charCode != null ? original.charCode : original.keyCode;- }-- return event;- }- },-- mouseHooks: {- props: "button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),- filter: function( event, original ) {- var eventDoc, doc, body,- button = original.button;-- // Calculate pageX/Y if missing and clientX/Y available- if ( event.pageX == null && original.clientX != null ) {- eventDoc = event.target.ownerDocument || document;- doc = eventDoc.documentElement;- body = eventDoc.body;-- event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 );- event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 );- }-- // Add which for click: 1 === left; 2 === middle; 3 === right- // Note: button is not normalized, so don't use it- if ( !event.which && button !== undefined ) {- event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) );- }-- return event;- }- },-- fix: function( event ) {- if ( event[ jQuery.expando ] ) {- return event;- }-- // Create a writable copy of the event object and normalize some properties- var i, prop, copy,- type = event.type,- originalEvent = event,- fixHook = this.fixHooks[ type ];-- if ( !fixHook ) {- this.fixHooks[ type ] = fixHook =- rmouseEvent.test( type ) ? this.mouseHooks :- rkeyEvent.test( type ) ? this.keyHooks :- {};- }- copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props;-- event = new jQuery.Event( originalEvent );-- i = copy.length;- while ( i-- ) {- prop = copy[ i ];- event[ prop ] = originalEvent[ prop ];- }-- // Support: Cordova 2.5 (WebKit) (#13255)- // All events should have a target; Cordova deviceready doesn't- if ( !event.target ) {- event.target = document;- }-- // Support: Safari 6.0+, Chrome<28- // Target should not be a text node (#504, #13143)- if ( event.target.nodeType === 3 ) {- event.target = event.target.parentNode;- }-- return fixHook.filter ? fixHook.filter( event, originalEvent ) : event;- },-- special: {- load: {- // Prevent triggered image.load events from bubbling to window.load- noBubble: true- },- focus: {- // Fire native event if possible so blur/focus sequence is correct- trigger: function() {- if ( this !== safeActiveElement() && this.focus ) {- this.focus();- return false;- }- },- delegateType: "focusin"- },- blur: {- trigger: function() {- if ( this === safeActiveElement() && this.blur ) {- this.blur();- return false;- }- },- delegateType: "focusout"- },- click: {- // For checkbox, fire native event so checked state will be right- trigger: function() {- if ( this.type === "checkbox" && this.click && jQuery.nodeName( this, "input" ) ) {- this.click();- return false;- }- },-- // For cross-browser consistency, don't fire native .click() on links- _default: function( event ) {- return jQuery.nodeName( event.target, "a" );- }- },-- beforeunload: {- postDispatch: function( event ) {-- // Support: Firefox 20+- // Firefox doesn't alert if the returnValue field is not set.- if ( event.result !== undefined && event.originalEvent ) {- event.originalEvent.returnValue = event.result;- }- }- }- },-- simulate: function( type, elem, event, bubble ) {- // Piggyback on a donor event to simulate a different one.- // Fake originalEvent to avoid donor's stopPropagation, but if the- // simulated event prevents default then we do the same on the donor.- var e = jQuery.extend(- new jQuery.Event(),- event,- {- type: type,- isSimulated: true,- originalEvent: {}- }- );- if ( bubble ) {- jQuery.event.trigger( e, null, elem );- } else {- jQuery.event.dispatch.call( elem, e );- }- if ( e.isDefaultPrevented() ) {- event.preventDefault();- }- }-};--jQuery.removeEvent = function( elem, type, handle ) {- if ( elem.removeEventListener ) {- elem.removeEventListener( type, handle, false );- }-};--jQuery.Event = function( src, props ) {- // Allow instantiation without the 'new' keyword- if ( !(this instanceof jQuery.Event) ) {- return new jQuery.Event( src, props );- }-- // Event object- if ( src && src.type ) {- this.originalEvent = src;- this.type = src.type;-- // Events bubbling up the document may have been marked as prevented- // by a handler lower down the tree; reflect the correct value.- this.isDefaultPrevented = src.defaultPrevented ||- src.defaultPrevented === undefined &&- // Support: Android<4.0- src.returnValue === false ?- returnTrue :- returnFalse;-- // Event type- } else {- this.type = src;- }-- // Put explicitly provided properties onto the event object- if ( props ) {- jQuery.extend( this, props );- }-- // Create a timestamp if incoming event doesn't have one- this.timeStamp = src && src.timeStamp || jQuery.now();-- // Mark it as fixed- this[ jQuery.expando ] = true;-};--// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding-// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html-jQuery.Event.prototype = {- isDefaultPrevented: returnFalse,- isPropagationStopped: returnFalse,- isImmediatePropagationStopped: returnFalse,-- preventDefault: function() {- var e = this.originalEvent;-- this.isDefaultPrevented = returnTrue;-- if ( e && e.preventDefault ) {- e.preventDefault();- }- },- stopPropagation: function() {- var e = this.originalEvent;-- this.isPropagationStopped = returnTrue;-- if ( e && e.stopPropagation ) {- e.stopPropagation();- }- },- stopImmediatePropagation: function() {- var e = this.originalEvent;-- this.isImmediatePropagationStopped = returnTrue;-- if ( e && e.stopImmediatePropagation ) {- e.stopImmediatePropagation();- }-- this.stopPropagation();- }-};--// Create mouseenter/leave events using mouseover/out and event-time checks-// Support: Chrome 15+-jQuery.each({- mouseenter: "mouseover",- mouseleave: "mouseout",- pointerenter: "pointerover",- pointerleave: "pointerout"-}, function( orig, fix ) {- jQuery.event.special[ orig ] = {- delegateType: fix,- bindType: fix,-- handle: function( event ) {- var ret,- target = this,- related = event.relatedTarget,- handleObj = event.handleObj;-- // For mousenter/leave call the handler if related is outside the target.- // NB: No relatedTarget if the mouse left/entered the browser window- if ( !related || (related !== target && !jQuery.contains( target, related )) ) {- event.type = handleObj.origType;- ret = handleObj.handler.apply( this, arguments );- event.type = fix;- }- return ret;- }- };-});--// Support: Firefox, Chrome, Safari-// Create "bubbling" focus and blur events-if ( !support.focusinBubbles ) {- jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) {-- // Attach a single capturing handler on the document while someone wants focusin/focusout- var handler = function( event ) {- jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true );- };-- jQuery.event.special[ fix ] = {- setup: function() {- var doc = this.ownerDocument || this,- attaches = data_priv.access( doc, fix );-- if ( !attaches ) {- doc.addEventListener( orig, handler, true );- }- data_priv.access( doc, fix, ( attaches || 0 ) + 1 );- },- teardown: function() {- var doc = this.ownerDocument || this,- attaches = data_priv.access( doc, fix ) - 1;-- if ( !attaches ) {- doc.removeEventListener( orig, handler, true );- data_priv.remove( doc, fix );-- } else {- data_priv.access( doc, fix, attaches );- }- }- };- });-}--jQuery.fn.extend({-- on: function( types, selector, data, fn, /*INTERNAL*/ one ) {- var origFn, type;-- // Types can be a map of types/handlers- if ( typeof types === "object" ) {- // ( types-Object, selector, data )- if ( typeof selector !== "string" ) {- // ( types-Object, data )- data = data || selector;- selector = undefined;- }- for ( type in types ) {- this.on( type, selector, data, types[ type ], one );- }- return this;- }-- if ( data == null && fn == null ) {- // ( types, fn )- fn = selector;- data = selector = undefined;- } else if ( fn == null ) {- if ( typeof selector === "string" ) {- // ( types, selector, fn )- fn = data;- data = undefined;- } else {- // ( types, data, fn )- fn = data;- data = selector;- selector = undefined;- }- }- if ( fn === false ) {- fn = returnFalse;- } else if ( !fn ) {- return this;- }-- if ( one === 1 ) {- origFn = fn;- fn = function( event ) {- // Can use an empty set, since event contains the info- jQuery().off( event );- return origFn.apply( this, arguments );- };- // Use same guid so caller can remove using origFn- fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );- }- return this.each( function() {- jQuery.event.add( this, types, fn, data, selector );- });- },- one: function( types, selector, data, fn ) {- return this.on( types, selector, data, fn, 1 );- },- off: function( types, selector, fn ) {- var handleObj, type;- if ( types && types.preventDefault && types.handleObj ) {- // ( event ) dispatched jQuery.Event- handleObj = types.handleObj;- jQuery( types.delegateTarget ).off(- handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType,- handleObj.selector,- handleObj.handler- );- return this;- }- if ( typeof types === "object" ) {- // ( types-object [, selector] )- for ( type in types ) {- this.off( type, selector, types[ type ] );- }- return this;- }- if ( selector === false || typeof selector === "function" ) {- // ( types [, fn] )- fn = selector;- selector = undefined;- }- if ( fn === false ) {- fn = returnFalse;- }- return this.each(function() {- jQuery.event.remove( this, types, fn, selector );- });- },-- trigger: function( type, data ) {- return this.each(function() {- jQuery.event.trigger( type, data, this );- });- },- triggerHandler: function( type, data ) {- var elem = this[0];- if ( elem ) {- return jQuery.event.trigger( type, data, elem, true );- }- }-});---var- rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,- rtagName = /<([\w:]+)/,- rhtml = /<|&#?\w+;/,- rnoInnerhtml = /<(?:script|style|link)/i,- // checked="checked" or checked- rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,- rscriptType = /^$|\/(?:java|ecma)script/i,- rscriptTypeMasked = /^true\/(.*)/,- rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,-- // We have to close these tags to support XHTML (#13200)- wrapMap = {-- // Support: IE9- option: [ 1, "<select multiple='multiple'>", "</select>" ],-- thead: [ 1, "<table>", "</table>" ],- col: [ 2, "<table><colgroup>", "</colgroup></table>" ],- tr: [ 2, "<table><tbody>", "</tbody></table>" ],- td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ],-- _default: [ 0, "", "" ]- };--// Support: IE9-wrapMap.optgroup = wrapMap.option;--wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;-wrapMap.th = wrapMap.td;--// Support: 1.x compatibility-// Manipulating tables requires a tbody-function manipulationTarget( elem, content ) {- return jQuery.nodeName( elem, "table" ) &&- jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ?-- elem.getElementsByTagName("tbody")[0] ||- elem.appendChild( elem.ownerDocument.createElement("tbody") ) :- elem;-}--// Replace/restore the type attribute of script elements for safe DOM manipulation-function disableScript( elem ) {- elem.type = (elem.getAttribute("type") !== null) + "/" + elem.type;- return elem;-}-function restoreScript( elem ) {- var match = rscriptTypeMasked.exec( elem.type );-- if ( match ) {- elem.type = match[ 1 ];- } else {- elem.removeAttribute("type");- }-- return elem;-}--// Mark scripts as having already been evaluated-function setGlobalEval( elems, refElements ) {- var i = 0,- l = elems.length;-- for ( ; i < l; i++ ) {- data_priv.set(- elems[ i ], "globalEval", !refElements || data_priv.get( refElements[ i ], "globalEval" )- );- }-}--function cloneCopyEvent( src, dest ) {- var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events;-- if ( dest.nodeType !== 1 ) {- return;- }-- // 1. Copy private data: events, handlers, etc.- if ( data_priv.hasData( src ) ) {- pdataOld = data_priv.access( src );- pdataCur = data_priv.set( dest, pdataOld );- events = pdataOld.events;-- if ( events ) {- delete pdataCur.handle;- pdataCur.events = {};-- for ( type in events ) {- for ( i = 0, l = events[ type ].length; i < l; i++ ) {- jQuery.event.add( dest, type, events[ type ][ i ] );- }- }- }- }-- // 2. Copy user data- if ( data_user.hasData( src ) ) {- udataOld = data_user.access( src );- udataCur = jQuery.extend( {}, udataOld );-- data_user.set( dest, udataCur );- }-}--function getAll( context, tag ) {- var ret = context.getElementsByTagName ? context.getElementsByTagName( tag || "*" ) :- context.querySelectorAll ? context.querySelectorAll( tag || "*" ) :- [];-- return tag === undefined || tag && jQuery.nodeName( context, tag ) ?- jQuery.merge( [ context ], ret ) :- ret;-}--// Fix IE bugs, see support tests-function fixInput( src, dest ) {- var nodeName = dest.nodeName.toLowerCase();-- // Fails to persist the checked state of a cloned checkbox or radio button.- if ( nodeName === "input" && rcheckableType.test( src.type ) ) {- dest.checked = src.checked;-- // Fails to return the selected option to the default selected state when cloning options- } else if ( nodeName === "input" || nodeName === "textarea" ) {- dest.defaultValue = src.defaultValue;- }-}--jQuery.extend({- clone: function( elem, dataAndEvents, deepDataAndEvents ) {- var i, l, srcElements, destElements,- clone = elem.cloneNode( true ),- inPage = jQuery.contains( elem.ownerDocument, elem );-- // Fix IE cloning issues- if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) &&- !jQuery.isXMLDoc( elem ) ) {-- // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2- destElements = getAll( clone );- srcElements = getAll( elem );-- for ( i = 0, l = srcElements.length; i < l; i++ ) {- fixInput( srcElements[ i ], destElements[ i ] );- }- }-- // Copy the events from the original to the clone- if ( dataAndEvents ) {- if ( deepDataAndEvents ) {- srcElements = srcElements || getAll( elem );- destElements = destElements || getAll( clone );-- for ( i = 0, l = srcElements.length; i < l; i++ ) {- cloneCopyEvent( srcElements[ i ], destElements[ i ] );- }- } else {- cloneCopyEvent( elem, clone );- }- }-- // Preserve script evaluation history- destElements = getAll( clone, "script" );- if ( destElements.length > 0 ) {- setGlobalEval( destElements, !inPage && getAll( elem, "script" ) );- }-- // Return the cloned set- return clone;- },-- buildFragment: function( elems, context, scripts, selection ) {- var elem, tmp, tag, wrap, contains, j,- fragment = context.createDocumentFragment(),- nodes = [],- i = 0,- l = elems.length;-- for ( ; i < l; i++ ) {- elem = elems[ i ];-- if ( elem || elem === 0 ) {-- // Add nodes directly- if ( jQuery.type( elem ) === "object" ) {- // Support: QtWebKit, PhantomJS- // push.apply(_, arraylike) throws on ancient WebKit- jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );-- // Convert non-html into a text node- } else if ( !rhtml.test( elem ) ) {- nodes.push( context.createTextNode( elem ) );-- // Convert html into DOM nodes- } else {- tmp = tmp || fragment.appendChild( context.createElement("div") );-- // Deserialize a standard representation- tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase();- wrap = wrapMap[ tag ] || wrapMap._default;- tmp.innerHTML = wrap[ 1 ] + elem.replace( rxhtmlTag, "<$1></$2>" ) + wrap[ 2 ];-- // Descend through wrappers to the right content- j = wrap[ 0 ];- while ( j-- ) {- tmp = tmp.lastChild;- }-- // Support: QtWebKit, PhantomJS- // push.apply(_, arraylike) throws on ancient WebKit- jQuery.merge( nodes, tmp.childNodes );-- // Remember the top-level container- tmp = fragment.firstChild;-- // Ensure the created nodes are orphaned (#12392)- tmp.textContent = "";- }- }- }-- // Remove wrapper from fragment- fragment.textContent = "";-- i = 0;- while ( (elem = nodes[ i++ ]) ) {-- // #4087 - If origin and destination elements are the same, and this is- // that element, do not do anything- if ( selection && jQuery.inArray( elem, selection ) !== -1 ) {- continue;- }-- contains = jQuery.contains( elem.ownerDocument, elem );-- // Append to fragment- tmp = getAll( fragment.appendChild( elem ), "script" );-- // Preserve script evaluation history- if ( contains ) {- setGlobalEval( tmp );- }-- // Capture executables- if ( scripts ) {- j = 0;- while ( (elem = tmp[ j++ ]) ) {- if ( rscriptType.test( elem.type || "" ) ) {- scripts.push( elem );- }- }- }- }-- return fragment;- },-- cleanData: function( elems ) {- var data, elem, type, key,- special = jQuery.event.special,- i = 0;-- for ( ; (elem = elems[ i ]) !== undefined; i++ ) {- if ( jQuery.acceptData( elem ) ) {- key = elem[ data_priv.expando ];-- if ( key && (data = data_priv.cache[ key ]) ) {- if ( data.events ) {- for ( type in data.events ) {- if ( special[ type ] ) {- jQuery.event.remove( elem, type );-- // This is a shortcut to avoid jQuery.event.remove's overhead- } else {- jQuery.removeEvent( elem, type, data.handle );- }- }- }- if ( data_priv.cache[ key ] ) {- // Discard any remaining `private` data- delete data_priv.cache[ key ];- }- }- }- // Discard any remaining `user` data- delete data_user.cache[ elem[ data_user.expando ] ];- }- }-});--jQuery.fn.extend({- text: function( value ) {- return access( this, function( value ) {- return value === undefined ?- jQuery.text( this ) :- this.empty().each(function() {- if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {- this.textContent = value;- }- });- }, null, value, arguments.length );- },-- append: function() {- return this.domManip( arguments, function( elem ) {- if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {- var target = manipulationTarget( this, elem );- target.appendChild( elem );- }- });- },-- prepend: function() {- return this.domManip( arguments, function( elem ) {- if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {- var target = manipulationTarget( this, elem );- target.insertBefore( elem, target.firstChild );- }- });- },-- before: function() {- return this.domManip( arguments, function( elem ) {- if ( this.parentNode ) {- this.parentNode.insertBefore( elem, this );- }- });- },-- after: function() {- return this.domManip( arguments, function( elem ) {- if ( this.parentNode ) {- this.parentNode.insertBefore( elem, this.nextSibling );- }- });- },-- remove: function( selector, keepData /* Internal Use Only */ ) {- var elem,- elems = selector ? jQuery.filter( selector, this ) : this,- i = 0;-- for ( ; (elem = elems[i]) != null; i++ ) {- if ( !keepData && elem.nodeType === 1 ) {- jQuery.cleanData( getAll( elem ) );- }-- if ( elem.parentNode ) {- if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) {- setGlobalEval( getAll( elem, "script" ) );- }- elem.parentNode.removeChild( elem );- }- }-- return this;- },-- empty: function() {- var elem,- i = 0;-- for ( ; (elem = this[i]) != null; i++ ) {- if ( elem.nodeType === 1 ) {-- // Prevent memory leaks- jQuery.cleanData( getAll( elem, false ) );-- // Remove any remaining nodes- elem.textContent = "";- }- }-- return this;- },-- clone: function( dataAndEvents, deepDataAndEvents ) {- dataAndEvents = dataAndEvents == null ? false : dataAndEvents;- deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;-- return this.map(function() {- return jQuery.clone( this, dataAndEvents, deepDataAndEvents );- });- },-- html: function( value ) {- return access( this, function( value ) {- var elem = this[ 0 ] || {},- i = 0,- l = this.length;-- if ( value === undefined && elem.nodeType === 1 ) {- return elem.innerHTML;- }-- // See if we can take a shortcut and just use innerHTML- if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&- !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) {-- value = value.replace( rxhtmlTag, "<$1></$2>" );-- try {- for ( ; i < l; i++ ) {- elem = this[ i ] || {};-- // Remove element nodes and prevent memory leaks- if ( elem.nodeType === 1 ) {- jQuery.cleanData( getAll( elem, false ) );- elem.innerHTML = value;- }- }-- elem = 0;-- // If using innerHTML throws an exception, use the fallback method- } catch( e ) {}- }-- if ( elem ) {- this.empty().append( value );- }- }, null, value, arguments.length );- },-- replaceWith: function() {- var arg = arguments[ 0 ];-- // Make the changes, replacing each context element with the new content- this.domManip( arguments, function( elem ) {- arg = this.parentNode;-- jQuery.cleanData( getAll( this ) );-- if ( arg ) {- arg.replaceChild( elem, this );- }- });-- // Force removal if there was no new content (e.g., from empty arguments)- return arg && (arg.length || arg.nodeType) ? this : this.remove();- },-- detach: function( selector ) {- return this.remove( selector, true );- },-- domManip: function( args, callback ) {-- // Flatten any nested arrays- args = concat.apply( [], args );-- var fragment, first, scripts, hasScripts, node, doc,- i = 0,- l = this.length,- set = this,- iNoClone = l - 1,- value = args[ 0 ],- isFunction = jQuery.isFunction( value );-- // We can't cloneNode fragments that contain checked, in WebKit- if ( isFunction ||- ( l > 1 && typeof value === "string" &&- !support.checkClone && rchecked.test( value ) ) ) {- return this.each(function( index ) {- var self = set.eq( index );- if ( isFunction ) {- args[ 0 ] = value.call( this, index, self.html() );- }- self.domManip( args, callback );- });- }-- if ( l ) {- fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this );- first = fragment.firstChild;-- if ( fragment.childNodes.length === 1 ) {- fragment = first;- }-- if ( first ) {- scripts = jQuery.map( getAll( fragment, "script" ), disableScript );- hasScripts = scripts.length;-- // Use the original fragment for the last item instead of the first because it can end up- // being emptied incorrectly in certain situations (#8070).- for ( ; i < l; i++ ) {- node = fragment;-- if ( i !== iNoClone ) {- node = jQuery.clone( node, true, true );-- // Keep references to cloned scripts for later restoration- if ( hasScripts ) {- // Support: QtWebKit- // jQuery.merge because push.apply(_, arraylike) throws- jQuery.merge( scripts, getAll( node, "script" ) );- }- }-- callback.call( this[ i ], node, i );- }-- if ( hasScripts ) {- doc = scripts[ scripts.length - 1 ].ownerDocument;-- // Reenable scripts- jQuery.map( scripts, restoreScript );-- // Evaluate executable scripts on first document insertion- for ( i = 0; i < hasScripts; i++ ) {- node = scripts[ i ];- if ( rscriptType.test( node.type || "" ) &&- !data_priv.access( node, "globalEval" ) && jQuery.contains( doc, node ) ) {-- if ( node.src ) {- // Optional AJAX dependency, but won't run scripts if not present- if ( jQuery._evalUrl ) {- jQuery._evalUrl( node.src );- }- } else {- jQuery.globalEval( node.textContent.replace( rcleanScript, "" ) );- }- }- }- }- }- }-- return this;- }-});--jQuery.each({- appendTo: "append",- prependTo: "prepend",- insertBefore: "before",- insertAfter: "after",- replaceAll: "replaceWith"-}, function( name, original ) {- jQuery.fn[ name ] = function( selector ) {- var elems,- ret = [],- insert = jQuery( selector ),- last = insert.length - 1,- i = 0;-- for ( ; i <= last; i++ ) {- elems = i === last ? this : this.clone( true );- jQuery( insert[ i ] )[ original ]( elems );-- // Support: QtWebKit- // .get() because push.apply(_, arraylike) throws- push.apply( ret, elems.get() );- }-- return this.pushStack( ret );- };-});---var iframe,- elemdisplay = {};--/**- * Retrieve the actual display of a element- * @param {String} name nodeName of the element- * @param {Object} doc Document object- */-// Called only from within defaultDisplay-function actualDisplay( name, doc ) {- var style,- elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ),-- // getDefaultComputedStyle might be reliably used only on attached element- display = window.getDefaultComputedStyle && ( style = window.getDefaultComputedStyle( elem[ 0 ] ) ) ?-- // Use of this method is a temporary fix (more like optimization) until something better comes along,- // since it was removed from specification and supported only in FF- style.display : jQuery.css( elem[ 0 ], "display" );-- // We don't have any data stored on the element,- // so use "detach" method as fast way to get rid of the element- elem.detach();-- return display;-}--/**- * Try to determine the default display value of an element- * @param {String} nodeName- */-function defaultDisplay( nodeName ) {- var doc = document,- display = elemdisplay[ nodeName ];-- if ( !display ) {- display = actualDisplay( nodeName, doc );-- // If the simple way fails, read from inside an iframe- if ( display === "none" || !display ) {-- // Use the already-created iframe if possible- iframe = (iframe || jQuery( "<iframe frameborder='0' width='0' height='0'/>" )).appendTo( doc.documentElement );-- // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse- doc = iframe[ 0 ].contentDocument;-- // Support: IE- doc.write();- doc.close();-- display = actualDisplay( nodeName, doc );- iframe.detach();- }-- // Store the correct default display- elemdisplay[ nodeName ] = display;- }-- return display;-}-var rmargin = (/^margin/);--var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" );--var getStyles = function( elem ) {- // Support: IE<=11+, Firefox<=30+ (#15098, #14150)- // IE throws on elements created in popups- // FF meanwhile throws on frame elements through "defaultView.getComputedStyle"- if ( elem.ownerDocument.defaultView.opener ) {- return elem.ownerDocument.defaultView.getComputedStyle( elem, null );- }-- return window.getComputedStyle( elem, null );- };----function curCSS( elem, name, computed ) {- var width, minWidth, maxWidth, ret,- style = elem.style;-- computed = computed || getStyles( elem );-- // Support: IE9- // getPropertyValue is only needed for .css('filter') (#12537)- if ( computed ) {- ret = computed.getPropertyValue( name ) || computed[ name ];- }-- if ( computed ) {-- if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) {- ret = jQuery.style( elem, name );- }-- // Support: iOS < 6- // A tribute to the "awesome hack by Dean Edwards"- // iOS < 6 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels- // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values- if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) {-- // Remember the original values- width = style.width;- minWidth = style.minWidth;- maxWidth = style.maxWidth;-- // Put in the new values to get a computed value out- style.minWidth = style.maxWidth = style.width = ret;- ret = computed.width;-- // Revert the changed values- style.width = width;- style.minWidth = minWidth;- style.maxWidth = maxWidth;- }- }-- return ret !== undefined ?- // Support: IE- // IE returns zIndex value as an integer.- ret + "" :- ret;-}---function addGetHookIf( conditionFn, hookFn ) {- // Define the hook, we'll check on the first run if it's really needed.- return {- get: function() {- if ( conditionFn() ) {- // Hook not needed (or it's not possible to use it due- // to missing dependency), remove it.- delete this.get;- return;- }-- // Hook needed; redefine it so that the support test is not executed again.- return (this.get = hookFn).apply( this, arguments );- }- };-}---(function() {- var pixelPositionVal, boxSizingReliableVal,- docElem = document.documentElement,- container = document.createElement( "div" ),- div = document.createElement( "div" );-- if ( !div.style ) {- return;- }-- // Support: IE9-11+- // Style of cloned element affects source element cloned (#8908)- div.style.backgroundClip = "content-box";- div.cloneNode( true ).style.backgroundClip = "";- support.clearCloneStyle = div.style.backgroundClip === "content-box";-- container.style.cssText = "border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;" +- "position:absolute";- container.appendChild( div );-- // Executing both pixelPosition & boxSizingReliable tests require only one layout- // so they're executed at the same time to save the second computation.- function computePixelPositionAndBoxSizingReliable() {- div.style.cssText =- // Support: Firefox<29, Android 2.3- // Vendor-prefix box-sizing- "-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";- div.innerHTML = "";- docElem.appendChild( container );-- var divStyle = window.getComputedStyle( div, null );- pixelPositionVal = divStyle.top !== "1%";- boxSizingReliableVal = divStyle.width === "4px";-- docElem.removeChild( container );- }-- // Support: node.js jsdom- // Don't assume that getComputedStyle is a property of the global object- if ( window.getComputedStyle ) {- jQuery.extend( support, {- pixelPosition: function() {-- // This test is executed only once but we still do memoizing- // since we can use the boxSizingReliable pre-computing.- // No need to check if the test was already performed, though.- computePixelPositionAndBoxSizingReliable();- return pixelPositionVal;- },- boxSizingReliable: function() {- if ( boxSizingReliableVal == null ) {- computePixelPositionAndBoxSizingReliable();- }- return boxSizingReliableVal;- },- reliableMarginRight: function() {-- // Support: Android 2.3- // Check if div with explicit width and no margin-right incorrectly- // gets computed margin-right based on width of container. (#3333)- // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right- // This support function is only executed once so no memoizing is needed.- var ret,- marginDiv = div.appendChild( document.createElement( "div" ) );-- // Reset CSS: box-sizing; display; margin; border; padding- marginDiv.style.cssText = div.style.cssText =- // Support: Firefox<29, Android 2.3- // Vendor-prefix box-sizing- "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;" +- "box-sizing:content-box;display:block;margin:0;border:0;padding:0";- marginDiv.style.marginRight = marginDiv.style.width = "0";- div.style.width = "1px";- docElem.appendChild( container );-- ret = !parseFloat( window.getComputedStyle( marginDiv, null ).marginRight );-- docElem.removeChild( container );- div.removeChild( marginDiv );-- return ret;- }- });- }-})();---// A method for quickly swapping in/out CSS properties to get correct calculations.-jQuery.swap = function( elem, options, callback, args ) {- var ret, name,- old = {};-- // Remember the old values, and insert the new ones- for ( name in options ) {- old[ name ] = elem.style[ name ];- elem.style[ name ] = options[ name ];- }-- ret = callback.apply( elem, args || [] );-- // Revert the old values- for ( name in options ) {- elem.style[ name ] = old[ name ];- }-- return ret;-};---var- // Swappable if display is none or starts with table except "table", "table-cell", or "table-caption"- // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display- rdisplayswap = /^(none|table(?!-c[ea]).+)/,- rnumsplit = new RegExp( "^(" + pnum + ")(.*)$", "i" ),- rrelNum = new RegExp( "^([+-])=(" + pnum + ")", "i" ),-- cssShow = { position: "absolute", visibility: "hidden", display: "block" },- cssNormalTransform = {- letterSpacing: "0",- fontWeight: "400"- },-- cssPrefixes = [ "Webkit", "O", "Moz", "ms" ];--// Return a css property mapped to a potentially vendor prefixed property-function vendorPropName( style, name ) {-- // Shortcut for names that are not vendor prefixed- if ( name in style ) {- return name;- }-- // Check for vendor prefixed names- var capName = name[0].toUpperCase() + name.slice(1),- origName = name,- i = cssPrefixes.length;-- while ( i-- ) {- name = cssPrefixes[ i ] + capName;- if ( name in style ) {- return name;- }- }-- return origName;-}--function setPositiveNumber( elem, value, subtract ) {- var matches = rnumsplit.exec( value );- return matches ?- // Guard against undefined "subtract", e.g., when used as in cssHooks- Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) :- value;-}--function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {- var i = extra === ( isBorderBox ? "border" : "content" ) ?- // If we already have the right measurement, avoid augmentation- 4 :- // Otherwise initialize for horizontal or vertical properties- name === "width" ? 1 : 0,-- val = 0;-- for ( ; i < 4; i += 2 ) {- // Both box models exclude margin, so add it if we want it- if ( extra === "margin" ) {- val += jQuery.css( elem, extra + cssExpand[ i ], true, styles );- }-- if ( isBorderBox ) {- // border-box includes padding, so remove it if we want content- if ( extra === "content" ) {- val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );- }-- // At this point, extra isn't border nor margin, so remove border- if ( extra !== "margin" ) {- val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );- }- } else {- // At this point, extra isn't content, so add padding- val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );-- // At this point, extra isn't content nor padding, so add border- if ( extra !== "padding" ) {- val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );- }- }- }-- return val;-}--function getWidthOrHeight( elem, name, extra ) {-- // Start with offset property, which is equivalent to the border-box value- var valueIsBorderBox = true,- val = name === "width" ? elem.offsetWidth : elem.offsetHeight,- styles = getStyles( elem ),- isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box";-- // Some non-html elements return undefined for offsetWidth, so check for null/undefined- // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285- // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668- if ( val <= 0 || val == null ) {- // Fall back to computed then uncomputed css if necessary- val = curCSS( elem, name, styles );- if ( val < 0 || val == null ) {- val = elem.style[ name ];- }-- // Computed unit is not pixels. Stop here and return.- if ( rnumnonpx.test(val) ) {- return val;- }-- // Check for style in case a browser which returns unreliable values- // for getComputedStyle silently falls back to the reliable elem.style- valueIsBorderBox = isBorderBox &&- ( support.boxSizingReliable() || val === elem.style[ name ] );-- // Normalize "", auto, and prepare for extra- val = parseFloat( val ) || 0;- }-- // Use the active box-sizing model to add/subtract irrelevant styles- return ( val +- augmentWidthOrHeight(- elem,- name,- extra || ( isBorderBox ? "border" : "content" ),- valueIsBorderBox,- styles- )- ) + "px";-}--function showHide( elements, show ) {- var display, elem, hidden,- values = [],- index = 0,- length = elements.length;-- for ( ; index < length; index++ ) {- elem = elements[ index ];- if ( !elem.style ) {- continue;- }-- values[ index ] = data_priv.get( elem, "olddisplay" );- display = elem.style.display;- if ( show ) {- // Reset the inline display of this element to learn if it is- // being hidden by cascaded rules or not- if ( !values[ index ] && display === "none" ) {- elem.style.display = "";- }-- // Set elements which have been overridden with display: none- // in a stylesheet to whatever the default browser style is- // for such an element- if ( elem.style.display === "" && isHidden( elem ) ) {- values[ index ] = data_priv.access( elem, "olddisplay", defaultDisplay(elem.nodeName) );- }- } else {- hidden = isHidden( elem );-- if ( display !== "none" || !hidden ) {- data_priv.set( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) );- }- }- }-- // Set the display of most of the elements in a second loop- // to avoid the constant reflow- for ( index = 0; index < length; index++ ) {- elem = elements[ index ];- if ( !elem.style ) {- continue;- }- if ( !show || elem.style.display === "none" || elem.style.display === "" ) {- elem.style.display = show ? values[ index ] || "" : "none";- }- }-- return elements;-}--jQuery.extend({-- // Add in style property hooks for overriding the default- // behavior of getting and setting a style property- cssHooks: {- opacity: {- get: function( elem, computed ) {- if ( computed ) {-- // We should always get a number back from opacity- var ret = curCSS( elem, "opacity" );- return ret === "" ? "1" : ret;- }- }- }- },-- // Don't automatically add "px" to these possibly-unitless properties- cssNumber: {- "columnCount": true,- "fillOpacity": true,- "flexGrow": true,- "flexShrink": true,- "fontWeight": true,- "lineHeight": true,- "opacity": true,- "order": true,- "orphans": true,- "widows": true,- "zIndex": true,- "zoom": true- },-- // Add in properties whose names you wish to fix before- // setting or getting the value- cssProps: {- "float": "cssFloat"- },-- // Get and set the style property on a DOM Node- style: function( elem, name, value, extra ) {-- // Don't set styles on text and comment nodes- if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {- return;- }-- // Make sure that we're working with the right name- var ret, type, hooks,- origName = jQuery.camelCase( name ),- style = elem.style;-- name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) );-- // Gets hook for the prefixed version, then unprefixed version- hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];-- // Check if we're setting a value- if ( value !== undefined ) {- type = typeof value;-- // Convert "+=" or "-=" to relative numbers (#7345)- if ( type === "string" && (ret = rrelNum.exec( value )) ) {- value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) );- // Fixes bug #9237- type = "number";- }-- // Make sure that null and NaN values aren't set (#7116)- if ( value == null || value !== value ) {- return;- }-- // If a number, add 'px' to the (except for certain CSS properties)- if ( type === "number" && !jQuery.cssNumber[ origName ] ) {- value += "px";- }-- // Support: IE9-11+- // background-* props affect original clone's values- if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) {- style[ name ] = "inherit";- }-- // If a hook was provided, use that value, otherwise just set the specified value- if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) {- style[ name ] = value;- }-- } else {- // If a hook was provided get the non-computed value from there- if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) {- return ret;- }-- // Otherwise just get the value from the style object- return style[ name ];- }- },-- css: function( elem, name, extra, styles ) {- var val, num, hooks,- origName = jQuery.camelCase( name );-- // Make sure that we're working with the right name- name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) );-- // Try prefixed name followed by the unprefixed name- hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];-- // If a hook was provided get the computed value from there- if ( hooks && "get" in hooks ) {- val = hooks.get( elem, true, extra );- }-- // Otherwise, if a way to get the computed value exists, use that- if ( val === undefined ) {- val = curCSS( elem, name, styles );- }-- // Convert "normal" to computed value- if ( val === "normal" && name in cssNormalTransform ) {- val = cssNormalTransform[ name ];- }-- // Make numeric if forced or a qualifier was provided and val looks numeric- if ( extra === "" || extra ) {- num = parseFloat( val );- return extra === true || jQuery.isNumeric( num ) ? num || 0 : val;- }- return val;- }-});--jQuery.each([ "height", "width" ], function( i, name ) {- jQuery.cssHooks[ name ] = {- get: function( elem, computed, extra ) {- if ( computed ) {-- // Certain elements can have dimension info if we invisibly show them- // but it must have a current display style that would benefit- return rdisplayswap.test( jQuery.css( elem, "display" ) ) && elem.offsetWidth === 0 ?- jQuery.swap( elem, cssShow, function() {- return getWidthOrHeight( elem, name, extra );- }) :- getWidthOrHeight( elem, name, extra );- }- },-- set: function( elem, value, extra ) {- var styles = extra && getStyles( elem );- return setPositiveNumber( elem, value, extra ?- augmentWidthOrHeight(- elem,- name,- extra,- jQuery.css( elem, "boxSizing", false, styles ) === "border-box",- styles- ) : 0- );- }- };-});--// Support: Android 2.3-jQuery.cssHooks.marginRight = addGetHookIf( support.reliableMarginRight,- function( elem, computed ) {- if ( computed ) {- return jQuery.swap( elem, { "display": "inline-block" },- curCSS, [ elem, "marginRight" ] );- }- }-);--// These hooks are used by animate to expand properties-jQuery.each({- margin: "",- padding: "",- border: "Width"-}, function( prefix, suffix ) {- jQuery.cssHooks[ prefix + suffix ] = {- expand: function( value ) {- var i = 0,- expanded = {},-- // Assumes a single number if not a string- parts = typeof value === "string" ? value.split(" ") : [ value ];-- for ( ; i < 4; i++ ) {- expanded[ prefix + cssExpand[ i ] + suffix ] =- parts[ i ] || parts[ i - 2 ] || parts[ 0 ];- }-- return expanded;- }- };-- if ( !rmargin.test( prefix ) ) {- jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;- }-});--jQuery.fn.extend({- css: function( name, value ) {- return access( this, function( elem, name, value ) {- var styles, len,- map = {},- i = 0;-- if ( jQuery.isArray( name ) ) {- styles = getStyles( elem );- len = name.length;-- for ( ; i < len; i++ ) {- map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );- }-- return map;- }-- return value !== undefined ?- jQuery.style( elem, name, value ) :- jQuery.css( elem, name );- }, name, value, arguments.length > 1 );- },- show: function() {- return showHide( this, true );- },- hide: function() {- return showHide( this );- },- toggle: function( state ) {- if ( typeof state === "boolean" ) {- return state ? this.show() : this.hide();- }-- return this.each(function() {- if ( isHidden( this ) ) {- jQuery( this ).show();- } else {- jQuery( this ).hide();- }- });- }-});---function Tween( elem, options, prop, end, easing ) {- return new Tween.prototype.init( elem, options, prop, end, easing );-}-jQuery.Tween = Tween;--Tween.prototype = {- constructor: Tween,- init: function( elem, options, prop, end, easing, unit ) {- this.elem = elem;- this.prop = prop;- this.easing = easing || "swing";- this.options = options;- this.start = this.now = this.cur();- this.end = end;- this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" );- },- cur: function() {- var hooks = Tween.propHooks[ this.prop ];-- return hooks && hooks.get ?- hooks.get( this ) :- Tween.propHooks._default.get( this );- },- run: function( percent ) {- var eased,- hooks = Tween.propHooks[ this.prop ];-- if ( this.options.duration ) {- this.pos = eased = jQuery.easing[ this.easing ](- percent, this.options.duration * percent, 0, 1, this.options.duration- );- } else {- this.pos = eased = percent;- }- this.now = ( this.end - this.start ) * eased + this.start;-- if ( this.options.step ) {- this.options.step.call( this.elem, this.now, this );- }-- if ( hooks && hooks.set ) {- hooks.set( this );- } else {- Tween.propHooks._default.set( this );- }- return this;- }-};--Tween.prototype.init.prototype = Tween.prototype;--Tween.propHooks = {- _default: {- get: function( tween ) {- var result;-- if ( tween.elem[ tween.prop ] != null &&- (!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) {- return tween.elem[ tween.prop ];- }-- // Passing an empty string as a 3rd parameter to .css will automatically- // attempt a parseFloat and fallback to a string if the parse fails.- // Simple values such as "10px" are parsed to Float;- // complex values such as "rotate(1rad)" are returned as-is.- result = jQuery.css( tween.elem, tween.prop, "" );- // Empty strings, null, undefined and "auto" are converted to 0.- return !result || result === "auto" ? 0 : result;- },- set: function( tween ) {- // Use step hook for back compat.- // Use cssHook if its there.- // Use .style if available and use plain properties where available.- if ( jQuery.fx.step[ tween.prop ] ) {- jQuery.fx.step[ tween.prop ]( tween );- } else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) {- jQuery.style( tween.elem, tween.prop, tween.now + tween.unit );- } else {- tween.elem[ tween.prop ] = tween.now;- }- }- }-};--// Support: IE9-// Panic based approach to setting things on disconnected nodes-Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {- set: function( tween ) {- if ( tween.elem.nodeType && tween.elem.parentNode ) {- tween.elem[ tween.prop ] = tween.now;- }- }-};--jQuery.easing = {- linear: function( p ) {- return p;- },- swing: function( p ) {- return 0.5 - Math.cos( p * Math.PI ) / 2;- }-};--jQuery.fx = Tween.prototype.init;--// Back Compat <1.8 extension point-jQuery.fx.step = {};-----var- fxNow, timerId,- rfxtypes = /^(?:toggle|show|hide)$/,- rfxnum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ),- rrun = /queueHooks$/,- animationPrefilters = [ defaultPrefilter ],- tweeners = {- "*": [ function( prop, value ) {- var tween = this.createTween( prop, value ),- target = tween.cur(),- parts = rfxnum.exec( value ),- unit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),-- // Starting value computation is required for potential unit mismatches- start = ( jQuery.cssNumber[ prop ] || unit !== "px" && +target ) &&- rfxnum.exec( jQuery.css( tween.elem, prop ) ),- scale = 1,- maxIterations = 20;-- if ( start && start[ 3 ] !== unit ) {- // Trust units reported by jQuery.css- unit = unit || start[ 3 ];-- // Make sure we update the tween properties later on- parts = parts || [];-- // Iteratively approximate from a nonzero starting point- start = +target || 1;-- do {- // If previous iteration zeroed out, double until we get *something*.- // Use string for doubling so we don't accidentally see scale as unchanged below- scale = scale || ".5";-- // Adjust and apply- start = start / scale;- jQuery.style( tween.elem, prop, start + unit );-- // Update scale, tolerating zero or NaN from tween.cur(),- // break the loop if scale is unchanged or perfect, or if we've just had enough- } while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations );- }-- // Update tween properties- if ( parts ) {- start = tween.start = +start || +target || 0;- tween.unit = unit;- // If a +=/-= token was provided, we're doing a relative animation- tween.end = parts[ 1 ] ?- start + ( parts[ 1 ] + 1 ) * parts[ 2 ] :- +parts[ 2 ];- }-- return tween;- } ]- };--// Animations created synchronously will run synchronously-function createFxNow() {- setTimeout(function() {- fxNow = undefined;- });- return ( fxNow = jQuery.now() );-}--// Generate parameters to create a standard animation-function genFx( type, includeWidth ) {- var which,- i = 0,- attrs = { height: type };-- // If we include width, step value is 1 to do all cssExpand values,- // otherwise step value is 2 to skip over Left and Right- includeWidth = includeWidth ? 1 : 0;- for ( ; i < 4 ; i += 2 - includeWidth ) {- which = cssExpand[ i ];- attrs[ "margin" + which ] = attrs[ "padding" + which ] = type;- }-- if ( includeWidth ) {- attrs.opacity = attrs.width = type;- }-- return attrs;-}--function createTween( value, prop, animation ) {- var tween,- collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ),- index = 0,- length = collection.length;- for ( ; index < length; index++ ) {- if ( (tween = collection[ index ].call( animation, prop, value )) ) {-- // We're done with this property- return tween;- }- }-}--function defaultPrefilter( elem, props, opts ) {- /* jshint validthis: true */- var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,- anim = this,- orig = {},- style = elem.style,- hidden = elem.nodeType && isHidden( elem ),- dataShow = data_priv.get( elem, "fxshow" );-- // Handle queue: false promises- if ( !opts.queue ) {- hooks = jQuery._queueHooks( elem, "fx" );- if ( hooks.unqueued == null ) {- hooks.unqueued = 0;- oldfire = hooks.empty.fire;- hooks.empty.fire = function() {- if ( !hooks.unqueued ) {- oldfire();- }- };- }- hooks.unqueued++;-- anim.always(function() {- // Ensure the complete handler is called before this completes- anim.always(function() {- hooks.unqueued--;- if ( !jQuery.queue( elem, "fx" ).length ) {- hooks.empty.fire();- }- });- });- }-- // Height/width overflow pass- if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) {- // Make sure that nothing sneaks out- // Record all 3 overflow attributes because IE9-10 do not- // change the overflow attribute when overflowX and- // overflowY are set to the same value- opts.overflow = [ style.overflow, style.overflowX, style.overflowY ];-- // Set display property to inline-block for height/width- // animations on inline elements that are having width/height animated- display = jQuery.css( elem, "display" );-- // Test default display if display is currently "none"- checkDisplay = display === "none" ?- data_priv.get( elem, "olddisplay" ) || defaultDisplay( elem.nodeName ) : display;-- if ( checkDisplay === "inline" && jQuery.css( elem, "float" ) === "none" ) {- style.display = "inline-block";- }- }-- if ( opts.overflow ) {- style.overflow = "hidden";- anim.always(function() {- style.overflow = opts.overflow[ 0 ];- style.overflowX = opts.overflow[ 1 ];- style.overflowY = opts.overflow[ 2 ];- });- }-- // show/hide pass- for ( prop in props ) {- value = props[ prop ];- if ( rfxtypes.exec( value ) ) {- delete props[ prop ];- toggle = toggle || value === "toggle";- if ( value === ( hidden ? "hide" : "show" ) ) {-- // If there is dataShow left over from a stopped hide or show and we are going to proceed with show, we should pretend to be hidden- if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) {- hidden = true;- } else {- continue;- }- }- orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );-- // Any non-fx value stops us from restoring the original display value- } else {- display = undefined;- }- }-- if ( !jQuery.isEmptyObject( orig ) ) {- if ( dataShow ) {- if ( "hidden" in dataShow ) {- hidden = dataShow.hidden;- }- } else {- dataShow = data_priv.access( elem, "fxshow", {} );- }-- // Store state if its toggle - enables .stop().toggle() to "reverse"- if ( toggle ) {- dataShow.hidden = !hidden;- }- if ( hidden ) {- jQuery( elem ).show();- } else {- anim.done(function() {- jQuery( elem ).hide();- });- }- anim.done(function() {- var prop;-- data_priv.remove( elem, "fxshow" );- for ( prop in orig ) {- jQuery.style( elem, prop, orig[ prop ] );- }- });- for ( prop in orig ) {- tween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );-- if ( !( prop in dataShow ) ) {- dataShow[ prop ] = tween.start;- if ( hidden ) {- tween.end = tween.start;- tween.start = prop === "width" || prop === "height" ? 1 : 0;- }- }- }-- // If this is a noop like .hide().hide(), restore an overwritten display value- } else if ( (display === "none" ? defaultDisplay( elem.nodeName ) : display) === "inline" ) {- style.display = display;- }-}--function propFilter( props, specialEasing ) {- var index, name, easing, value, hooks;-- // camelCase, specialEasing and expand cssHook pass- for ( index in props ) {- name = jQuery.camelCase( index );- easing = specialEasing[ name ];- value = props[ index ];- if ( jQuery.isArray( value ) ) {- easing = value[ 1 ];- value = props[ index ] = value[ 0 ];- }-- if ( index !== name ) {- props[ name ] = value;- delete props[ index ];- }-- hooks = jQuery.cssHooks[ name ];- if ( hooks && "expand" in hooks ) {- value = hooks.expand( value );- delete props[ name ];-- // Not quite $.extend, this won't overwrite existing keys.- // Reusing 'index' because we have the correct "name"- for ( index in value ) {- if ( !( index in props ) ) {- props[ index ] = value[ index ];- specialEasing[ index ] = easing;- }- }- } else {- specialEasing[ name ] = easing;- }- }-}--function Animation( elem, properties, options ) {- var result,- stopped,- index = 0,- length = animationPrefilters.length,- deferred = jQuery.Deferred().always( function() {- // Don't match elem in the :animated selector- delete tick.elem;- }),- tick = function() {- if ( stopped ) {- return false;- }- var currentTime = fxNow || createFxNow(),- remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),- // Support: Android 2.3- // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497)- temp = remaining / animation.duration || 0,- percent = 1 - temp,- index = 0,- length = animation.tweens.length;-- for ( ; index < length ; index++ ) {- animation.tweens[ index ].run( percent );- }-- deferred.notifyWith( elem, [ animation, percent, remaining ]);-- if ( percent < 1 && length ) {- return remaining;- } else {- deferred.resolveWith( elem, [ animation ] );- return false;- }- },- animation = deferred.promise({- elem: elem,- props: jQuery.extend( {}, properties ),- opts: jQuery.extend( true, { specialEasing: {} }, options ),- originalProperties: properties,- originalOptions: options,- startTime: fxNow || createFxNow(),- duration: options.duration,- tweens: [],- createTween: function( prop, end ) {- var tween = jQuery.Tween( elem, animation.opts, prop, end,- animation.opts.specialEasing[ prop ] || animation.opts.easing );- animation.tweens.push( tween );- return tween;- },- stop: function( gotoEnd ) {- var index = 0,- // If we are going to the end, we want to run all the tweens- // otherwise we skip this part- length = gotoEnd ? animation.tweens.length : 0;- if ( stopped ) {- return this;- }- stopped = true;- for ( ; index < length ; index++ ) {- animation.tweens[ index ].run( 1 );- }-- // Resolve when we played the last frame; otherwise, reject- if ( gotoEnd ) {- deferred.resolveWith( elem, [ animation, gotoEnd ] );- } else {- deferred.rejectWith( elem, [ animation, gotoEnd ] );- }- return this;- }- }),- props = animation.props;-- propFilter( props, animation.opts.specialEasing );-- for ( ; index < length ; index++ ) {- result = animationPrefilters[ index ].call( animation, elem, props, animation.opts );- if ( result ) {- return result;- }- }-- jQuery.map( props, createTween, animation );-- if ( jQuery.isFunction( animation.opts.start ) ) {- animation.opts.start.call( elem, animation );- }-- jQuery.fx.timer(- jQuery.extend( tick, {- elem: elem,- anim: animation,- queue: animation.opts.queue- })- );-- // attach callbacks from options- return animation.progress( animation.opts.progress )- .done( animation.opts.done, animation.opts.complete )- .fail( animation.opts.fail )- .always( animation.opts.always );-}--jQuery.Animation = jQuery.extend( Animation, {-- tweener: function( props, callback ) {- if ( jQuery.isFunction( props ) ) {- callback = props;- props = [ "*" ];- } else {- props = props.split(" ");- }-- var prop,- index = 0,- length = props.length;-- for ( ; index < length ; index++ ) {- prop = props[ index ];- tweeners[ prop ] = tweeners[ prop ] || [];- tweeners[ prop ].unshift( callback );- }- },-- prefilter: function( callback, prepend ) {- if ( prepend ) {- animationPrefilters.unshift( callback );- } else {- animationPrefilters.push( callback );- }- }-});--jQuery.speed = function( speed, easing, fn ) {- var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {- complete: fn || !fn && easing ||- jQuery.isFunction( speed ) && speed,- duration: speed,- easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing- };-- opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :- opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default;-- // Normalize opt.queue - true/undefined/null -> "fx"- if ( opt.queue == null || opt.queue === true ) {- opt.queue = "fx";- }-- // Queueing- opt.old = opt.complete;-- opt.complete = function() {- if ( jQuery.isFunction( opt.old ) ) {- opt.old.call( this );- }-- if ( opt.queue ) {- jQuery.dequeue( this, opt.queue );- }- };-- return opt;-};--jQuery.fn.extend({- fadeTo: function( speed, to, easing, callback ) {-- // Show any hidden elements after setting opacity to 0- return this.filter( isHidden ).css( "opacity", 0 ).show()-- // Animate to the value specified- .end().animate({ opacity: to }, speed, easing, callback );- },- animate: function( prop, speed, easing, callback ) {- var empty = jQuery.isEmptyObject( prop ),- optall = jQuery.speed( speed, easing, callback ),- doAnimation = function() {- // Operate on a copy of prop so per-property easing won't be lost- var anim = Animation( this, jQuery.extend( {}, prop ), optall );-- // Empty animations, or finishing resolves immediately- if ( empty || data_priv.get( this, "finish" ) ) {- anim.stop( true );- }- };- doAnimation.finish = doAnimation;-- return empty || optall.queue === false ?- this.each( doAnimation ) :- this.queue( optall.queue, doAnimation );- },- stop: function( type, clearQueue, gotoEnd ) {- var stopQueue = function( hooks ) {- var stop = hooks.stop;- delete hooks.stop;- stop( gotoEnd );- };-- if ( typeof type !== "string" ) {- gotoEnd = clearQueue;- clearQueue = type;- type = undefined;- }- if ( clearQueue && type !== false ) {- this.queue( type || "fx", [] );- }-- return this.each(function() {- var dequeue = true,- index = type != null && type + "queueHooks",- timers = jQuery.timers,- data = data_priv.get( this );-- if ( index ) {- if ( data[ index ] && data[ index ].stop ) {- stopQueue( data[ index ] );- }- } else {- for ( index in data ) {- if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {- stopQueue( data[ index ] );- }- }- }-- for ( index = timers.length; index--; ) {- if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) {- timers[ index ].anim.stop( gotoEnd );- dequeue = false;- timers.splice( index, 1 );- }- }-- // Start the next in the queue if the last step wasn't forced.- // Timers currently will call their complete callbacks, which- // will dequeue but only if they were gotoEnd.- if ( dequeue || !gotoEnd ) {- jQuery.dequeue( this, type );- }- });- },- finish: function( type ) {- if ( type !== false ) {- type = type || "fx";- }- return this.each(function() {- var index,- data = data_priv.get( this ),- queue = data[ type + "queue" ],- hooks = data[ type + "queueHooks" ],- timers = jQuery.timers,- length = queue ? queue.length : 0;-- // Enable finishing flag on private data- data.finish = true;-- // Empty the queue first- jQuery.queue( this, type, [] );-- if ( hooks && hooks.stop ) {- hooks.stop.call( this, true );- }-- // Look for any active animations, and finish them- for ( index = timers.length; index--; ) {- if ( timers[ index ].elem === this && timers[ index ].queue === type ) {- timers[ index ].anim.stop( true );- timers.splice( index, 1 );- }- }-- // Look for any animations in the old queue and finish them- for ( index = 0; index < length; index++ ) {- if ( queue[ index ] && queue[ index ].finish ) {- queue[ index ].finish.call( this );- }- }-- // Turn off finishing flag- delete data.finish;- });- }-});--jQuery.each([ "toggle", "show", "hide" ], function( i, name ) {- var cssFn = jQuery.fn[ name ];- jQuery.fn[ name ] = function( speed, easing, callback ) {- return speed == null || typeof speed === "boolean" ?- cssFn.apply( this, arguments ) :- this.animate( genFx( name, true ), speed, easing, callback );- };-});--// Generate shortcuts for custom animations-jQuery.each({- slideDown: genFx("show"),- slideUp: genFx("hide"),- slideToggle: genFx("toggle"),- fadeIn: { opacity: "show" },- fadeOut: { opacity: "hide" },- fadeToggle: { opacity: "toggle" }-}, function( name, props ) {- jQuery.fn[ name ] = function( speed, easing, callback ) {- return this.animate( props, speed, easing, callback );- };-});--jQuery.timers = [];-jQuery.fx.tick = function() {- var timer,- i = 0,- timers = jQuery.timers;-- fxNow = jQuery.now();-- for ( ; i < timers.length; i++ ) {- timer = timers[ i ];- // Checks the timer has not already been removed- if ( !timer() && timers[ i ] === timer ) {- timers.splice( i--, 1 );- }- }-- if ( !timers.length ) {- jQuery.fx.stop();- }- fxNow = undefined;-};--jQuery.fx.timer = function( timer ) {- jQuery.timers.push( timer );- if ( timer() ) {- jQuery.fx.start();- } else {- jQuery.timers.pop();- }-};--jQuery.fx.interval = 13;--jQuery.fx.start = function() {- if ( !timerId ) {- timerId = setInterval( jQuery.fx.tick, jQuery.fx.interval );- }-};--jQuery.fx.stop = function() {- clearInterval( timerId );- timerId = null;-};--jQuery.fx.speeds = {- slow: 600,- fast: 200,- // Default speed- _default: 400-};---// Based off of the plugin by Clint Helfers, with permission.-// http://blindsignals.com/index.php/2009/07/jquery-delay/-jQuery.fn.delay = function( time, type ) {- time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;- type = type || "fx";-- return this.queue( type, function( next, hooks ) {- var timeout = setTimeout( next, time );- hooks.stop = function() {- clearTimeout( timeout );- };- });-};---(function() {- var input = document.createElement( "input" ),- select = document.createElement( "select" ),- opt = select.appendChild( document.createElement( "option" ) );-- input.type = "checkbox";-- // Support: iOS<=5.1, Android<=4.2+- // Default value for a checkbox should be "on"- support.checkOn = input.value !== "";-- // Support: IE<=11+- // Must access selectedIndex to make default options select- support.optSelected = opt.selected;-- // Support: Android<=2.3- // Options inside disabled selects are incorrectly marked as disabled- select.disabled = true;- support.optDisabled = !opt.disabled;-- // Support: IE<=11+- // An input loses its value after becoming a radio- input = document.createElement( "input" );- input.value = "t";- input.type = "radio";- support.radioValue = input.value === "t";-})();---var nodeHook, boolHook,- attrHandle = jQuery.expr.attrHandle;--jQuery.fn.extend({- attr: function( name, value ) {- return access( this, jQuery.attr, name, value, arguments.length > 1 );- },-- removeAttr: function( name ) {- return this.each(function() {- jQuery.removeAttr( this, name );- });- }-});--jQuery.extend({- attr: function( elem, name, value ) {- var hooks, ret,- nType = elem.nodeType;-- // don't get/set attributes on text, comment and attribute nodes- if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {- return;- }-- // Fallback to prop when attributes are not supported- if ( typeof elem.getAttribute === strundefined ) {- return jQuery.prop( elem, name, value );- }-- // All attributes are lowercase- // Grab necessary hook if one is defined- if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {- name = name.toLowerCase();- hooks = jQuery.attrHooks[ name ] ||- ( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook );- }-- if ( value !== undefined ) {-- if ( value === null ) {- jQuery.removeAttr( elem, name );-- } else if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) {- return ret;-- } else {- elem.setAttribute( name, value + "" );- return value;- }-- } else if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) {- return ret;-- } else {- ret = jQuery.find.attr( elem, name );-- // Non-existent attributes return null, we normalize to undefined- return ret == null ?- undefined :- ret;- }- },-- removeAttr: function( elem, value ) {- var name, propName,- i = 0,- attrNames = value && value.match( rnotwhite );-- if ( attrNames && elem.nodeType === 1 ) {- while ( (name = attrNames[i++]) ) {- propName = jQuery.propFix[ name ] || name;-- // Boolean attributes get special treatment (#10870)- if ( jQuery.expr.match.bool.test( name ) ) {- // Set corresponding property to false- elem[ propName ] = false;- }-- elem.removeAttribute( name );- }- }- },-- attrHooks: {- type: {- set: function( elem, value ) {- if ( !support.radioValue && value === "radio" &&- jQuery.nodeName( elem, "input" ) ) {- var val = elem.value;- elem.setAttribute( "type", value );- if ( val ) {- elem.value = val;- }- return value;- }- }- }- }-});--// Hooks for boolean attributes-boolHook = {- set: function( elem, value, name ) {- if ( value === false ) {- // Remove boolean attributes when set to false- jQuery.removeAttr( elem, name );- } else {- elem.setAttribute( name, name );- }- return name;- }-};-jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) {- var getter = attrHandle[ name ] || jQuery.find.attr;-- attrHandle[ name ] = function( elem, name, isXML ) {- var ret, handle;- if ( !isXML ) {- // Avoid an infinite loop by temporarily removing this function from the getter- handle = attrHandle[ name ];- attrHandle[ name ] = ret;- ret = getter( elem, name, isXML ) != null ?- name.toLowerCase() :- null;- attrHandle[ name ] = handle;- }- return ret;- };-});-----var rfocusable = /^(?:input|select|textarea|button)$/i;--jQuery.fn.extend({- prop: function( name, value ) {- return access( this, jQuery.prop, name, value, arguments.length > 1 );- },-- removeProp: function( name ) {- return this.each(function() {- delete this[ jQuery.propFix[ name ] || name ];- });- }-});--jQuery.extend({- propFix: {- "for": "htmlFor",- "class": "className"- },-- prop: function( elem, name, value ) {- var ret, hooks, notxml,- nType = elem.nodeType;-- // Don't get/set properties on text, comment and attribute nodes- if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {- return;- }-- notxml = nType !== 1 || !jQuery.isXMLDoc( elem );-- if ( notxml ) {- // Fix name and attach hooks- name = jQuery.propFix[ name ] || name;- hooks = jQuery.propHooks[ name ];- }-- if ( value !== undefined ) {- return hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ?- ret :- ( elem[ name ] = value );-- } else {- return hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ?- ret :- elem[ name ];- }- },-- propHooks: {- tabIndex: {- get: function( elem ) {- return elem.hasAttribute( "tabindex" ) || rfocusable.test( elem.nodeName ) || elem.href ?- elem.tabIndex :- -1;- }- }- }-});--if ( !support.optSelected ) {- jQuery.propHooks.selected = {- get: function( elem ) {- var parent = elem.parentNode;- if ( parent && parent.parentNode ) {- parent.parentNode.selectedIndex;- }- return null;- }- };-}--jQuery.each([- "tabIndex",- "readOnly",- "maxLength",- "cellSpacing",- "cellPadding",- "rowSpan",- "colSpan",- "useMap",- "frameBorder",- "contentEditable"-], function() {- jQuery.propFix[ this.toLowerCase() ] = this;-});-----var rclass = /[\t\r\n\f]/g;--jQuery.fn.extend({- addClass: function( value ) {- var classes, elem, cur, clazz, j, finalValue,- proceed = typeof value === "string" && value,- i = 0,- len = this.length;-- if ( jQuery.isFunction( value ) ) {- return this.each(function( j ) {- jQuery( this ).addClass( value.call( this, j, this.className ) );- });- }-- if ( proceed ) {- // The disjunction here is for better compressibility (see removeClass)- classes = ( value || "" ).match( rnotwhite ) || [];-- for ( ; i < len; i++ ) {- elem = this[ i ];- cur = elem.nodeType === 1 && ( elem.className ?- ( " " + elem.className + " " ).replace( rclass, " " ) :- " "- );-- if ( cur ) {- j = 0;- while ( (clazz = classes[j++]) ) {- if ( cur.indexOf( " " + clazz + " " ) < 0 ) {- cur += clazz + " ";- }- }-- // only assign if different to avoid unneeded rendering.- finalValue = jQuery.trim( cur );- if ( elem.className !== finalValue ) {- elem.className = finalValue;- }- }- }- }-- return this;- },-- removeClass: function( value ) {- var classes, elem, cur, clazz, j, finalValue,- proceed = arguments.length === 0 || typeof value === "string" && value,- i = 0,- len = this.length;-- if ( jQuery.isFunction( value ) ) {- return this.each(function( j ) {- jQuery( this ).removeClass( value.call( this, j, this.className ) );- });- }- if ( proceed ) {- classes = ( value || "" ).match( rnotwhite ) || [];-- for ( ; i < len; i++ ) {- elem = this[ i ];- // This expression is here for better compressibility (see addClass)- cur = elem.nodeType === 1 && ( elem.className ?- ( " " + elem.className + " " ).replace( rclass, " " ) :- ""- );-- if ( cur ) {- j = 0;- while ( (clazz = classes[j++]) ) {- // Remove *all* instances- while ( cur.indexOf( " " + clazz + " " ) >= 0 ) {- cur = cur.replace( " " + clazz + " ", " " );- }- }-- // Only assign if different to avoid unneeded rendering.- finalValue = value ? jQuery.trim( cur ) : "";- if ( elem.className !== finalValue ) {- elem.className = finalValue;- }- }- }- }-- return this;- },-- toggleClass: function( value, stateVal ) {- var type = typeof value;-- if ( typeof stateVal === "boolean" && type === "string" ) {- return stateVal ? this.addClass( value ) : this.removeClass( value );- }-- if ( jQuery.isFunction( value ) ) {- return this.each(function( i ) {- jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal );- });- }-- return this.each(function() {- if ( type === "string" ) {- // Toggle individual class names- var className,- i = 0,- self = jQuery( this ),- classNames = value.match( rnotwhite ) || [];-- while ( (className = classNames[ i++ ]) ) {- // Check each className given, space separated list- if ( self.hasClass( className ) ) {- self.removeClass( className );- } else {- self.addClass( className );- }- }-- // Toggle whole class name- } else if ( type === strundefined || type === "boolean" ) {- if ( this.className ) {- // store className if set- data_priv.set( this, "__className__", this.className );- }-- // If the element has a class name or if we're passed `false`,- // then remove the whole classname (if there was one, the above saved it).- // Otherwise bring back whatever was previously saved (if anything),- // falling back to the empty string if nothing was stored.- this.className = this.className || value === false ? "" : data_priv.get( this, "__className__" ) || "";- }- });- },-- hasClass: function( selector ) {- var className = " " + selector + " ",- i = 0,- l = this.length;- for ( ; i < l; i++ ) {- if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) {- return true;- }- }-- return false;- }-});-----var rreturn = /\r/g;--jQuery.fn.extend({- val: function( value ) {- var hooks, ret, isFunction,- elem = this[0];-- if ( !arguments.length ) {- if ( elem ) {- hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ];-- if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) {- return ret;- }-- ret = elem.value;-- return typeof ret === "string" ?- // Handle most common string cases- ret.replace(rreturn, "") :- // Handle cases where value is null/undef or number- ret == null ? "" : ret;- }-- return;- }-- isFunction = jQuery.isFunction( value );-- return this.each(function( i ) {- var val;-- if ( this.nodeType !== 1 ) {- return;- }-- if ( isFunction ) {- val = value.call( this, i, jQuery( this ).val() );- } else {- val = value;- }-- // Treat null/undefined as ""; convert numbers to string- if ( val == null ) {- val = "";-- } else if ( typeof val === "number" ) {- val += "";-- } else if ( jQuery.isArray( val ) ) {- val = jQuery.map( val, function( value ) {- return value == null ? "" : value + "";- });- }-- hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];-- // If set returns undefined, fall back to normal setting- if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) {- this.value = val;- }- });- }-});--jQuery.extend({- valHooks: {- option: {- get: function( elem ) {- var val = jQuery.find.attr( elem, "value" );- return val != null ?- val :- // Support: IE10-11+- // option.text throws exceptions (#14686, #14858)- jQuery.trim( jQuery.text( elem ) );- }- },- select: {- get: function( elem ) {- var value, option,- options = elem.options,- index = elem.selectedIndex,- one = elem.type === "select-one" || index < 0,- values = one ? null : [],- max = one ? index + 1 : options.length,- i = index < 0 ?- max :- one ? index : 0;-- // Loop through all the selected options- for ( ; i < max; i++ ) {- option = options[ i ];-- // IE6-9 doesn't update selected after form reset (#2551)- if ( ( option.selected || i === index ) &&- // Don't return options that are disabled or in a disabled optgroup- ( support.optDisabled ? !option.disabled : option.getAttribute( "disabled" ) === null ) &&- ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) {-- // Get the specific value for the option- value = jQuery( option ).val();-- // We don't need an array for one selects- if ( one ) {- return value;- }-- // Multi-Selects return an array- values.push( value );- }- }-- return values;- },-- set: function( elem, value ) {- var optionSet, option,- options = elem.options,- values = jQuery.makeArray( value ),- i = options.length;-- while ( i-- ) {- option = options[ i ];- if ( (option.selected = jQuery.inArray( option.value, values ) >= 0) ) {- optionSet = true;- }- }-- // Force browsers to behave consistently when non-matching value is set- if ( !optionSet ) {- elem.selectedIndex = -1;- }- return values;- }- }- }-});--// Radios and checkboxes getter/setter-jQuery.each([ "radio", "checkbox" ], function() {- jQuery.valHooks[ this ] = {- set: function( elem, value ) {- if ( jQuery.isArray( value ) ) {- return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 );- }- }- };- if ( !support.checkOn ) {- jQuery.valHooks[ this ].get = function( elem ) {- return elem.getAttribute("value") === null ? "on" : elem.value;- };- }-});-----// Return jQuery for attributes-only inclusion---jQuery.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( i, name ) {-- // Handle event binding- jQuery.fn[ name ] = function( data, fn ) {- return arguments.length > 0 ?- this.on( name, null, data, fn ) :- this.trigger( name );- };-});--jQuery.fn.extend({- hover: function( fnOver, fnOut ) {- return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );- },-- bind: function( types, data, fn ) {- return this.on( types, null, data, fn );- },- unbind: function( types, fn ) {- return this.off( types, null, fn );- },-- delegate: function( selector, types, data, fn ) {- return this.on( types, selector, data, fn );- },- undelegate: function( selector, types, fn ) {- // ( namespace ) or ( selector, types [, fn] )- return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn );- }-});---var nonce = jQuery.now();--var rquery = (/\?/);----// Support: Android 2.3-// Workaround failure to string-cast null input-jQuery.parseJSON = function( data ) {- return JSON.parse( data + "" );-};---// Cross-browser xml parsing-jQuery.parseXML = function( data ) {- var xml, tmp;- if ( !data || typeof data !== "string" ) {- return null;- }-- // Support: IE9- try {- tmp = new DOMParser();- xml = tmp.parseFromString( data, "text/xml" );- } catch ( e ) {- xml = undefined;- }-- if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) {- jQuery.error( "Invalid XML: " + data );- }- return xml;-};---var- rhash = /#.*$/,- rts = /([?&])_=[^&]*/,- rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg,- // #7653, #8125, #8152: local protocol detection- rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,- rnoContent = /^(?:GET|HEAD)$/,- rprotocol = /^\/\//,- rurl = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,-- /* Prefilters- * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)- * 2) These are called:- * - BEFORE asking for a transport- * - AFTER param serialization (s.data is a string if s.processData is true)- * 3) key is the dataType- * 4) the catchall symbol "*" can be used- * 5) execution will start with transport dataType and THEN continue down to "*" if needed- */- prefilters = {},-- /* Transports bindings- * 1) key is the dataType- * 2) the catchall symbol "*" can be used- * 3) selection will start with transport dataType and THEN go to "*" if needed- */- transports = {},-- // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression- allTypes = "*/".concat( "*" ),-- // Document location- ajaxLocation = window.location.href,-- // Segment location into parts- ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || [];--// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport-function addToPrefiltersOrTransports( structure ) {-- // dataTypeExpression is optional and defaults to "*"- return function( dataTypeExpression, func ) {-- if ( typeof dataTypeExpression !== "string" ) {- func = dataTypeExpression;- dataTypeExpression = "*";- }-- var dataType,- i = 0,- dataTypes = dataTypeExpression.toLowerCase().match( rnotwhite ) || [];-- if ( jQuery.isFunction( func ) ) {- // For each dataType in the dataTypeExpression- while ( (dataType = dataTypes[i++]) ) {- // Prepend if requested- if ( dataType[0] === "+" ) {- dataType = dataType.slice( 1 ) || "*";- (structure[ dataType ] = structure[ dataType ] || []).unshift( func );-- // Otherwise append- } else {- (structure[ dataType ] = structure[ dataType ] || []).push( func );- }- }- }- };-}--// Base inspection function for prefilters and transports-function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {-- var inspected = {},- seekingTransport = ( structure === transports );-- function inspect( dataType ) {- var selected;- inspected[ dataType ] = true;- jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {- var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );- if ( typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) {- options.dataTypes.unshift( dataTypeOrTransport );- inspect( dataTypeOrTransport );- return false;- } else if ( seekingTransport ) {- return !( selected = dataTypeOrTransport );- }- });- return selected;- }-- return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" );-}--// A special extend for ajax options-// that takes "flat" options (not to be deep extended)-// Fixes #9887-function ajaxExtend( target, src ) {- var key, deep,- flatOptions = jQuery.ajaxSettings.flatOptions || {};-- for ( key in src ) {- if ( src[ key ] !== undefined ) {- ( flatOptions[ key ] ? target : ( deep || (deep = {}) ) )[ key ] = src[ key ];- }- }- if ( deep ) {- jQuery.extend( true, target, deep );- }-- return target;-}--/* Handles responses to an ajax request:- * - finds the right dataType (mediates between content-type and expected dataType)- * - returns the corresponding response- */-function ajaxHandleResponses( s, jqXHR, responses ) {-- var ct, type, finalDataType, firstDataType,- contents = s.contents,- dataTypes = s.dataTypes;-- // Remove auto dataType and get content-type in the process- while ( dataTypes[ 0 ] === "*" ) {- dataTypes.shift();- if ( ct === undefined ) {- ct = s.mimeType || jqXHR.getResponseHeader("Content-Type");- }- }-- // Check if we're dealing with a known content-type- if ( ct ) {- for ( type in contents ) {- if ( contents[ type ] && contents[ type ].test( ct ) ) {- dataTypes.unshift( type );- break;- }- }- }-- // Check to see if we have a response for the expected dataType- if ( dataTypes[ 0 ] in responses ) {- finalDataType = dataTypes[ 0 ];- } else {- // Try convertible dataTypes- for ( type in responses ) {- if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[0] ] ) {- finalDataType = type;- break;- }- if ( !firstDataType ) {- firstDataType = type;- }- }- // Or just use first one- finalDataType = finalDataType || firstDataType;- }-- // If we found a dataType- // We add the dataType to the list if needed- // and return the corresponding response- if ( finalDataType ) {- if ( finalDataType !== dataTypes[ 0 ] ) {- dataTypes.unshift( finalDataType );- }- return responses[ finalDataType ];- }-}--/* Chain conversions given the request and the original response- * Also sets the responseXXX fields on the jqXHR instance- */-function ajaxConvert( s, response, jqXHR, isSuccess ) {- var conv2, current, conv, tmp, prev,- converters = {},- // Work with a copy of dataTypes in case we need to modify it for conversion- dataTypes = s.dataTypes.slice();-- // Create converters map with lowercased keys- if ( dataTypes[ 1 ] ) {- for ( conv in s.converters ) {- converters[ conv.toLowerCase() ] = s.converters[ conv ];- }- }-- current = dataTypes.shift();-- // Convert to each sequential dataType- while ( current ) {-- if ( s.responseFields[ current ] ) {- jqXHR[ s.responseFields[ current ] ] = response;- }-- // Apply the dataFilter if provided- if ( !prev && isSuccess && s.dataFilter ) {- response = s.dataFilter( response, s.dataType );- }-- prev = current;- current = dataTypes.shift();-- if ( current ) {-- // There's only work to do if current dataType is non-auto- if ( current === "*" ) {-- current = prev;-- // Convert response if prev dataType is non-auto and differs from current- } else if ( prev !== "*" && prev !== current ) {-- // Seek a direct converter- conv = converters[ prev + " " + current ] || converters[ "* " + current ];-- // If none found, seek a pair- if ( !conv ) {- for ( conv2 in converters ) {-- // If conv2 outputs current- tmp = conv2.split( " " );- if ( tmp[ 1 ] === current ) {-- // If prev can be converted to accepted input- conv = converters[ prev + " " + tmp[ 0 ] ] ||- converters[ "* " + tmp[ 0 ] ];- if ( conv ) {- // Condense equivalence converters- if ( conv === true ) {- conv = converters[ conv2 ];-- // Otherwise, insert the intermediate dataType- } else if ( converters[ conv2 ] !== true ) {- current = tmp[ 0 ];- dataTypes.unshift( tmp[ 1 ] );- }- break;- }- }- }- }-- // Apply converter (if not an equivalence)- if ( conv !== true ) {-- // Unless errors are allowed to bubble, catch and return them- if ( conv && s[ "throws" ] ) {- response = conv( response );- } else {- try {- response = conv( response );- } catch ( e ) {- return { state: "parsererror", error: conv ? e : "No conversion from " + prev + " to " + current };- }- }- }- }- }- }-- return { state: "success", data: response };-}--jQuery.extend({-- // Counter for holding the number of active queries- active: 0,-- // Last-Modified header cache for next request- lastModified: {},- etag: {},-- ajaxSettings: {- url: ajaxLocation,- type: "GET",- isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),- global: true,- processData: true,- async: true,- contentType: "application/x-www-form-urlencoded; charset=UTF-8",- /*- timeout: 0,- data: null,- dataType: null,- username: null,- password: null,- cache: null,- throws: false,- traditional: false,- headers: {},- */-- accepts: {- "*": allTypes,- 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"- },-- // Data converters- // Keys separate source (or catchall "*") and destination types with a single space- converters: {-- // Convert anything to text- "* text": String,-- // Text to html (true = no transformation)- "text html": true,-- // Evaluate text as a json expression- "text json": jQuery.parseJSON,-- // Parse text as xml- "text xml": jQuery.parseXML- },-- // For options that shouldn't be deep extended:- // you can add your own custom options here if- // and when you create one that shouldn't be- // deep extended (see ajaxExtend)- flatOptions: {- url: true,- context: true- }- },-- // Creates a full fledged settings object into target- // with both ajaxSettings and settings fields.- // If target is omitted, writes into ajaxSettings.- ajaxSetup: function( target, settings ) {- return settings ?-- // Building a settings object- ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :-- // Extending ajaxSettings- ajaxExtend( jQuery.ajaxSettings, target );- },-- ajaxPrefilter: addToPrefiltersOrTransports( prefilters ),- ajaxTransport: addToPrefiltersOrTransports( transports ),-- // Main method- ajax: function( url, options ) {-- // If url is an object, simulate pre-1.5 signature- if ( typeof url === "object" ) {- options = url;- url = undefined;- }-- // Force options to be an object- options = options || {};-- var transport,- // URL without anti-cache param- cacheURL,- // Response headers- responseHeadersString,- responseHeaders,- // timeout handle- timeoutTimer,- // Cross-domain detection vars- parts,- // To know if global events are to be dispatched- fireGlobals,- // Loop variable- i,- // Create the final options object- s = jQuery.ajaxSetup( {}, options ),- // Callbacks context- callbackContext = s.context || s,- // Context for global events is callbackContext if it is a DOM node or jQuery collection- globalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ?- jQuery( callbackContext ) :- jQuery.event,- // Deferreds- deferred = jQuery.Deferred(),- completeDeferred = jQuery.Callbacks("once memory"),- // Status-dependent callbacks- statusCode = s.statusCode || {},- // Headers (they are sent all at once)- requestHeaders = {},- requestHeadersNames = {},- // The jqXHR state- state = 0,- // Default abort message- strAbort = "canceled",- // Fake xhr- jqXHR = {- readyState: 0,-- // Builds headers hashtable if needed- getResponseHeader: function( key ) {- var match;- if ( state === 2 ) {- if ( !responseHeaders ) {- responseHeaders = {};- while ( (match = rheaders.exec( responseHeadersString )) ) {- responseHeaders[ match[1].toLowerCase() ] = match[ 2 ];- }- }- match = responseHeaders[ key.toLowerCase() ];- }- return match == null ? null : match;- },-- // Raw string- getAllResponseHeaders: function() {- return state === 2 ? responseHeadersString : null;- },-- // Caches the header- setRequestHeader: function( name, value ) {- var lname = name.toLowerCase();- if ( !state ) {- name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name;- requestHeaders[ name ] = value;- }- return this;- },-- // Overrides response content-type header- overrideMimeType: function( type ) {- if ( !state ) {- s.mimeType = type;- }- return this;- },-- // Status-dependent callbacks- statusCode: function( map ) {- var code;- if ( map ) {- if ( state < 2 ) {- for ( code in map ) {- // Lazy-add the new callback in a way that preserves old ones- statusCode[ code ] = [ statusCode[ code ], map[ code ] ];- }- } else {- // Execute the appropriate callbacks- jqXHR.always( map[ jqXHR.status ] );- }- }- return this;- },-- // Cancel the request- abort: function( statusText ) {- var finalText = statusText || strAbort;- if ( transport ) {- transport.abort( finalText );- }- done( 0, finalText );- return this;- }- };-- // Attach deferreds- deferred.promise( jqXHR ).complete = completeDeferred.add;- jqXHR.success = jqXHR.done;- jqXHR.error = jqXHR.fail;-- // Remove hash character (#7531: and string promotion)- // Add protocol if not provided (prefilters might expect it)- // Handle falsy url in the settings object (#10093: consistency with old signature)- // We also use the url parameter if available- s.url = ( ( url || s.url || ajaxLocation ) + "" ).replace( rhash, "" )- .replace( rprotocol, ajaxLocParts[ 1 ] + "//" );-- // Alias method option to type as per ticket #12004- s.type = options.method || options.type || s.method || s.type;-- // Extract dataTypes list- s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().match( rnotwhite ) || [ "" ];-- // A cross-domain request is in order when we have a protocol:host:port mismatch- if ( s.crossDomain == null ) {- parts = rurl.exec( s.url.toLowerCase() );- s.crossDomain = !!( parts &&- ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] ||- ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? "80" : "443" ) ) !==- ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? "80" : "443" ) ) )- );- }-- // Convert data if not already a string- if ( s.data && s.processData && typeof s.data !== "string" ) {- s.data = jQuery.param( s.data, s.traditional );- }-- // Apply prefilters- inspectPrefiltersOrTransports( prefilters, s, options, jqXHR );-- // If request was aborted inside a prefilter, stop there- if ( state === 2 ) {- return jqXHR;- }-- // We can fire global events as of now if asked to- // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)- fireGlobals = jQuery.event && s.global;-- // Watch for a new set of requests- if ( fireGlobals && jQuery.active++ === 0 ) {- jQuery.event.trigger("ajaxStart");- }-- // Uppercase the type- s.type = s.type.toUpperCase();-- // Determine if request has content- s.hasContent = !rnoContent.test( s.type );-- // Save the URL in case we're toying with the If-Modified-Since- // and/or If-None-Match header later on- cacheURL = s.url;-- // More options handling for requests with no content- if ( !s.hasContent ) {-- // If data is available, append data to url- if ( s.data ) {- cacheURL = ( s.url += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data );- // #9682: remove data so that it's not used in an eventual retry- delete s.data;- }-- // Add anti-cache in url if needed- if ( s.cache === false ) {- s.url = rts.test( cacheURL ) ?-- // If there is already a '_' parameter, set its value- cacheURL.replace( rts, "$1_=" + nonce++ ) :-- // Otherwise add one to the end- cacheURL + ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + nonce++;- }- }-- // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.- if ( s.ifModified ) {- if ( jQuery.lastModified[ cacheURL ] ) {- jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] );- }- if ( jQuery.etag[ cacheURL ] ) {- jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] );- }- }-- // Set the correct header, if data is being sent- if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {- jqXHR.setRequestHeader( "Content-Type", s.contentType );- }-- // Set the Accepts header for the server, depending on the dataType- jqXHR.setRequestHeader(- "Accept",- s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ?- s.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :- s.accepts[ "*" ]- );-- // Check for headers option- for ( i in s.headers ) {- jqXHR.setRequestHeader( i, s.headers[ i ] );- }-- // Allow custom headers/mimetypes and early abort- if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) {- // Abort if not done already and return- return jqXHR.abort();- }-- // Aborting is no longer a cancellation- strAbort = "abort";-- // Install callbacks on deferreds- for ( i in { success: 1, error: 1, complete: 1 } ) {- jqXHR[ i ]( s[ i ] );- }-- // Get transport- transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );-- // If no transport, we auto-abort- if ( !transport ) {- done( -1, "No Transport" );- } else {- jqXHR.readyState = 1;-- // Send global event- if ( fireGlobals ) {- globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] );- }- // Timeout- if ( s.async && s.timeout > 0 ) {- timeoutTimer = setTimeout(function() {- jqXHR.abort("timeout");- }, s.timeout );- }-- try {- state = 1;- transport.send( requestHeaders, done );- } catch ( e ) {- // Propagate exception as error if not done- if ( state < 2 ) {- done( -1, e );- // Simply rethrow otherwise- } else {- throw e;- }- }- }-- // Callback for when everything is done- function done( status, nativeStatusText, responses, headers ) {- var isSuccess, success, error, response, modified,- statusText = nativeStatusText;-- // Called once- if ( state === 2 ) {- return;- }-- // State is "done" now- state = 2;-- // Clear timeout if it exists- if ( timeoutTimer ) {- clearTimeout( timeoutTimer );- }-- // Dereference transport for early garbage collection- // (no matter how long the jqXHR object will be used)- transport = undefined;-- // Cache response headers- responseHeadersString = headers || "";-- // Set readyState- jqXHR.readyState = status > 0 ? 4 : 0;-- // Determine if successful- isSuccess = status >= 200 && status < 300 || status === 304;-- // Get response data- if ( responses ) {- response = ajaxHandleResponses( s, jqXHR, responses );- }-- // Convert no matter what (that way responseXXX fields are always set)- response = ajaxConvert( s, response, jqXHR, isSuccess );-- // If successful, handle type chaining- if ( isSuccess ) {-- // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.- if ( s.ifModified ) {- modified = jqXHR.getResponseHeader("Last-Modified");- if ( modified ) {- jQuery.lastModified[ cacheURL ] = modified;- }- modified = jqXHR.getResponseHeader("etag");- if ( modified ) {- jQuery.etag[ cacheURL ] = modified;- }- }-- // if no content- if ( status === 204 || s.type === "HEAD" ) {- statusText = "nocontent";-- // if not modified- } else if ( status === 304 ) {- statusText = "notmodified";-- // If we have data, let's convert it- } else {- statusText = response.state;- success = response.data;- error = response.error;- isSuccess = !error;- }- } else {- // Extract error from statusText and normalize for non-aborts- error = statusText;- if ( status || !statusText ) {- statusText = "error";- if ( status < 0 ) {- status = 0;- }- }- }-- // Set data for the fake xhr object- jqXHR.status = status;- jqXHR.statusText = ( nativeStatusText || statusText ) + "";-- // Success/Error- if ( isSuccess ) {- deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );- } else {- deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );- }-- // Status-dependent callbacks- jqXHR.statusCode( statusCode );- statusCode = undefined;-- if ( fireGlobals ) {- globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError",- [ jqXHR, s, isSuccess ? success : error ] );- }-- // Complete- completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );-- if ( fireGlobals ) {- globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] );- // Handle the global AJAX counter- if ( !( --jQuery.active ) ) {- jQuery.event.trigger("ajaxStop");- }- }- }-- return jqXHR;- },-- getJSON: function( url, data, callback ) {- return jQuery.get( url, data, callback, "json" );- },-- getScript: function( url, callback ) {- return jQuery.get( url, undefined, callback, "script" );- }-});--jQuery.each( [ "get", "post" ], function( i, method ) {- jQuery[ method ] = function( url, data, callback, type ) {- // Shift arguments if data argument was omitted- if ( jQuery.isFunction( data ) ) {- type = type || callback;- callback = data;- data = undefined;- }-- return jQuery.ajax({- url: url,- type: method,- dataType: type,- data: data,- success: callback- });- };-});---jQuery._evalUrl = function( url ) {- return jQuery.ajax({- url: url,- type: "GET",- dataType: "script",- async: false,- global: false,- "throws": true- });-};---jQuery.fn.extend({- wrapAll: function( html ) {- var wrap;-- if ( jQuery.isFunction( html ) ) {- return this.each(function( i ) {- jQuery( this ).wrapAll( html.call(this, i) );- });- }-- if ( this[ 0 ] ) {-- // The elements to wrap the target around- wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );-- if ( this[ 0 ].parentNode ) {- wrap.insertBefore( this[ 0 ] );- }-- wrap.map(function() {- var elem = this;-- while ( elem.firstElementChild ) {- elem = elem.firstElementChild;- }-- return elem;- }).append( this );- }-- return this;- },-- wrapInner: function( html ) {- if ( jQuery.isFunction( html ) ) {- return this.each(function( i ) {- jQuery( this ).wrapInner( html.call(this, i) );- });- }-- return this.each(function() {- var self = jQuery( this ),- contents = self.contents();-- if ( contents.length ) {- contents.wrapAll( html );-- } else {- self.append( html );- }- });- },-- wrap: function( html ) {- var isFunction = jQuery.isFunction( html );-- return this.each(function( i ) {- jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html );- });- },-- unwrap: function() {- return this.parent().each(function() {- if ( !jQuery.nodeName( this, "body" ) ) {- jQuery( this ).replaceWith( this.childNodes );- }- }).end();- }-});---jQuery.expr.filters.hidden = function( elem ) {- // Support: Opera <= 12.12- // Opera reports offsetWidths and offsetHeights less than zero on some elements- return elem.offsetWidth <= 0 && elem.offsetHeight <= 0;-};-jQuery.expr.filters.visible = function( elem ) {- return !jQuery.expr.filters.hidden( elem );-};-----var r20 = /%20/g,- rbracket = /\[\]$/,- rCRLF = /\r?\n/g,- rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,- rsubmittable = /^(?:input|select|textarea|keygen)/i;--function buildParams( prefix, obj, traditional, add ) {- var name;-- if ( jQuery.isArray( obj ) ) {- // Serialize array item.- jQuery.each( obj, function( i, v ) {- if ( traditional || rbracket.test( prefix ) ) {- // Treat each array item as a scalar.- add( prefix, v );-- } else {- // Item is non-scalar (array or object), encode its numeric index.- buildParams( prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add );- }- });-- } else if ( !traditional && jQuery.type( obj ) === "object" ) {- // Serialize object item.- for ( name in obj ) {- buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add );- }-- } else {- // Serialize scalar item.- add( prefix, obj );- }-}--// Serialize an array of form elements or a set of-// key/values into a query string-jQuery.param = function( a, traditional ) {- var prefix,- s = [],- add = function( key, value ) {- // If value is a function, invoke it and return its value- value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value );- s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value );- };-- // Set traditional to true for jQuery <= 1.3.2 behavior.- if ( traditional === undefined ) {- traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional;- }-- // If an array was passed in, assume that it is an array of form elements.- if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {- // Serialize the form elements- jQuery.each( a, function() {- add( this.name, this.value );- });-- } else {- // If traditional, encode the "old" way (the way 1.3.2 or older- // did it), otherwise encode params recursively.- for ( prefix in a ) {- buildParams( prefix, a[ prefix ], traditional, add );- }- }-- // Return the resulting serialization- return s.join( "&" ).replace( r20, "+" );-};--jQuery.fn.extend({- serialize: function() {- return jQuery.param( this.serializeArray() );- },- serializeArray: function() {- return this.map(function() {- // Can add propHook for "elements" to filter or add form elements- var elements = jQuery.prop( this, "elements" );- return elements ? jQuery.makeArray( elements ) : this;- })- .filter(function() {- var type = this.type;-- // Use .is( ":disabled" ) so that fieldset[disabled] works- return this.name && !jQuery( this ).is( ":disabled" ) &&- rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&- ( this.checked || !rcheckableType.test( type ) );- })- .map(function( i, elem ) {- var val = jQuery( this ).val();-- return val == null ?- null :- jQuery.isArray( val ) ?- jQuery.map( val, function( val ) {- return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };- }) :- { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };- }).get();- }-});---jQuery.ajaxSettings.xhr = function() {- try {- return new XMLHttpRequest();- } catch( e ) {}-};--var xhrId = 0,- xhrCallbacks = {},- xhrSuccessStatus = {- // file protocol always yields status code 0, assume 200- 0: 200,- // Support: IE9- // #1450: sometimes IE returns 1223 when it should be 204- 1223: 204- },- xhrSupported = jQuery.ajaxSettings.xhr();--// Support: IE9-// Open requests must be manually aborted on unload (#5280)-// See https://support.microsoft.com/kb/2856746 for more info-if ( window.attachEvent ) {- window.attachEvent( "onunload", function() {- for ( var key in xhrCallbacks ) {- xhrCallbacks[ key ]();- }- });-}--support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported );-support.ajax = xhrSupported = !!xhrSupported;--jQuery.ajaxTransport(function( options ) {- var callback;-- // Cross domain only allowed if supported through XMLHttpRequest- if ( support.cors || xhrSupported && !options.crossDomain ) {- return {- send: function( headers, complete ) {- var i,- xhr = options.xhr(),- id = ++xhrId;-- xhr.open( options.type, options.url, options.async, options.username, options.password );-- // Apply custom fields if provided- if ( options.xhrFields ) {- for ( i in options.xhrFields ) {- xhr[ i ] = options.xhrFields[ i ];- }- }-- // Override mime type if needed- if ( options.mimeType && xhr.overrideMimeType ) {- xhr.overrideMimeType( options.mimeType );- }-- // X-Requested-With header- // For cross-domain requests, seeing as conditions for a preflight are- // akin to a jigsaw puzzle, we simply never set it to be sure.- // (it can always be set on a per-request basis or even using ajaxSetup)- // For same-domain requests, won't change header if already provided.- if ( !options.crossDomain && !headers["X-Requested-With"] ) {- headers["X-Requested-With"] = "XMLHttpRequest";- }-- // Set headers- for ( i in headers ) {- xhr.setRequestHeader( i, headers[ i ] );- }-- // Callback- callback = function( type ) {- return function() {- if ( callback ) {- delete xhrCallbacks[ id ];- callback = xhr.onload = xhr.onerror = null;-- if ( type === "abort" ) {- xhr.abort();- } else if ( type === "error" ) {- complete(- // file: protocol always yields status 0; see #8605, #14207- xhr.status,- xhr.statusText- );- } else {- complete(- xhrSuccessStatus[ xhr.status ] || xhr.status,- xhr.statusText,- // Support: IE9- // Accessing binary-data responseText throws an exception- // (#11426)- typeof xhr.responseText === "string" ? {- text: xhr.responseText- } : undefined,- xhr.getAllResponseHeaders()- );- }- }- };- };-- // Listen to events- xhr.onload = callback();- xhr.onerror = callback("error");-- // Create the abort callback- callback = xhrCallbacks[ id ] = callback("abort");-- try {- // Do send the request (this may raise an exception)- xhr.send( options.hasContent && options.data || null );- } catch ( e ) {- // #14683: Only rethrow if this hasn't been notified as an error yet- if ( callback ) {- throw e;- }- }- },-- abort: function() {- if ( callback ) {- callback();- }- }- };- }-});-----// Install script dataType-jQuery.ajaxSetup({- accepts: {- script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"- },- contents: {- script: /(?:java|ecma)script/- },- converters: {- "text script": function( text ) {- jQuery.globalEval( text );- return text;- }- }-});--// Handle cache's special case and crossDomain-jQuery.ajaxPrefilter( "script", function( s ) {- if ( s.cache === undefined ) {- s.cache = false;- }- if ( s.crossDomain ) {- s.type = "GET";- }-});--// Bind script tag hack transport-jQuery.ajaxTransport( "script", function( s ) {- // This transport only deals with cross domain requests- if ( s.crossDomain ) {- var script, callback;- return {- send: function( _, complete ) {- script = jQuery("<script>").prop({- async: true,- charset: s.scriptCharset,- src: s.url- }).on(- "load error",- callback = function( evt ) {- script.remove();- callback = null;- if ( evt ) {- complete( evt.type === "error" ? 404 : 200, evt.type );- }- }- );- document.head.appendChild( script[ 0 ] );- },- abort: function() {- if ( callback ) {- callback();- }- }- };- }-});-----var oldCallbacks = [],- rjsonp = /(=)\?(?=&|$)|\?\?/;--// Default jsonp settings-jQuery.ajaxSetup({- jsonp: "callback",- jsonpCallback: function() {- var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) );- this[ callback ] = true;- return callback;- }-});--// Detect, normalize options and install callbacks for jsonp requests-jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {-- var callbackName, overwritten, responseContainer,- jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?- "url" :- typeof s.data === "string" && !( s.contentType || "" ).indexOf("application/x-www-form-urlencoded") && rjsonp.test( s.data ) && "data"- );-- // Handle iff the expected data type is "jsonp" or we have a parameter to set- if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) {-- // Get callback name, remembering preexisting value associated with it- callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ?- s.jsonpCallback() :- s.jsonpCallback;-- // Insert callback into url or form data- if ( jsonProp ) {- s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName );- } else if ( s.jsonp !== false ) {- s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName;- }-- // Use data converter to retrieve json after script execution- s.converters["script json"] = function() {- if ( !responseContainer ) {- jQuery.error( callbackName + " was not called" );- }- return responseContainer[ 0 ];- };-- // force json dataType- s.dataTypes[ 0 ] = "json";-- // Install callback- overwritten = window[ callbackName ];- window[ callbackName ] = function() {- responseContainer = arguments;- };-- // Clean-up function (fires after converters)- jqXHR.always(function() {- // Restore preexisting value- window[ callbackName ] = overwritten;-- // Save back as free- if ( s[ callbackName ] ) {- // make sure that re-using the options doesn't screw things around- s.jsonpCallback = originalSettings.jsonpCallback;-- // save the callback name for future use- oldCallbacks.push( callbackName );- }-- // Call if it was a function and we have a response- if ( responseContainer && jQuery.isFunction( overwritten ) ) {- overwritten( responseContainer[ 0 ] );- }-- responseContainer = overwritten = undefined;- });-- // Delegate to script- return "script";- }-});-----// data: string of html-// context (optional): If specified, the fragment will be created in this context, defaults to document-// keepScripts (optional): If true, will include scripts passed in the html string-jQuery.parseHTML = function( data, context, keepScripts ) {- if ( !data || typeof data !== "string" ) {- return null;- }- if ( typeof context === "boolean" ) {- keepScripts = context;- context = false;- }- context = context || document;-- var parsed = rsingleTag.exec( data ),- scripts = !keepScripts && [];-- // Single tag- if ( parsed ) {- return [ context.createElement( parsed[1] ) ];- }-- parsed = jQuery.buildFragment( [ data ], context, scripts );-- if ( scripts && scripts.length ) {- jQuery( scripts ).remove();- }-- return jQuery.merge( [], parsed.childNodes );-};---// Keep a copy of the old load method-var _load = jQuery.fn.load;--/**- * Load a url into a page- */-jQuery.fn.load = function( url, params, callback ) {- if ( typeof url !== "string" && _load ) {- return _load.apply( this, arguments );- }-- var selector, type, response,- self = this,- off = url.indexOf(" ");-- if ( off >= 0 ) {- selector = jQuery.trim( url.slice( off ) );- url = url.slice( 0, off );- }-- // If it's a function- if ( jQuery.isFunction( params ) ) {-- // We assume that it's the callback- callback = params;- params = undefined;-- // Otherwise, build a param string- } else if ( params && typeof params === "object" ) {- type = "POST";- }-- // If we have elements to modify, make the request- if ( self.length > 0 ) {- jQuery.ajax({- url: url,-- // if "type" variable is undefined, then "GET" method will be used- type: type,- dataType: "html",- data: params- }).done(function( responseText ) {-- // Save response for use in complete callback- response = arguments;-- self.html( selector ?-- // If a selector was specified, locate the right elements in a dummy div- // Exclude scripts to avoid IE 'Permission Denied' errors- jQuery("<div>").append( jQuery.parseHTML( responseText ) ).find( selector ) :-- // Otherwise use the full result- responseText );-- }).complete( callback && function( jqXHR, status ) {- self.each( callback, response || [ jqXHR.responseText, status, jqXHR ] );- });- }-- return this;-};-----// Attach a bunch of functions for handling common AJAX events-jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ) {- jQuery.fn[ type ] = function( fn ) {- return this.on( type, fn );- };-});-----jQuery.expr.filters.animated = function( elem ) {- return jQuery.grep(jQuery.timers, function( fn ) {- return elem === fn.elem;- }).length;-};-----var docElem = window.document.documentElement;--/**- * Gets a window from an element- */-function getWindow( elem ) {- return jQuery.isWindow( elem ) ? elem : elem.nodeType === 9 && elem.defaultView;-}--jQuery.offset = {- setOffset: function( elem, options, i ) {- var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,- position = jQuery.css( elem, "position" ),- curElem = jQuery( elem ),- props = {};-- // Set position first, in-case top/left are set even on static elem- if ( position === "static" ) {- elem.style.position = "relative";- }-- curOffset = curElem.offset();- curCSSTop = jQuery.css( elem, "top" );- curCSSLeft = jQuery.css( elem, "left" );- calculatePosition = ( position === "absolute" || position === "fixed" ) &&- ( curCSSTop + curCSSLeft ).indexOf("auto") > -1;-- // Need to be able to calculate position if either- // top or left is auto and position is either absolute or fixed- if ( calculatePosition ) {- curPosition = curElem.position();- curTop = curPosition.top;- curLeft = curPosition.left;-- } else {- curTop = parseFloat( curCSSTop ) || 0;- curLeft = parseFloat( curCSSLeft ) || 0;- }-- if ( jQuery.isFunction( options ) ) {- options = options.call( elem, i, curOffset );- }-- if ( options.top != null ) {- props.top = ( options.top - curOffset.top ) + curTop;- }- if ( options.left != null ) {- props.left = ( options.left - curOffset.left ) + curLeft;- }-- if ( "using" in options ) {- options.using.call( elem, props );-- } else {- curElem.css( props );- }- }-};--jQuery.fn.extend({- offset: function( options ) {- if ( arguments.length ) {- return options === undefined ?- this :- this.each(function( i ) {- jQuery.offset.setOffset( this, options, i );- });- }-- var docElem, win,- elem = this[ 0 ],- box = { top: 0, left: 0 },- doc = elem && elem.ownerDocument;-- if ( !doc ) {- return;- }-- docElem = doc.documentElement;-- // Make sure it's not a disconnected DOM node- if ( !jQuery.contains( docElem, elem ) ) {- return box;- }-- // Support: BlackBerry 5, iOS 3 (original iPhone)- // If we don't have gBCR, just use 0,0 rather than error- if ( typeof elem.getBoundingClientRect !== strundefined ) {- box = elem.getBoundingClientRect();- }- win = getWindow( doc );- return {- top: box.top + win.pageYOffset - docElem.clientTop,- left: box.left + win.pageXOffset - docElem.clientLeft- };- },-- position: function() {- if ( !this[ 0 ] ) {- return;- }-- var offsetParent, offset,- elem = this[ 0 ],- parentOffset = { top: 0, left: 0 };-- // Fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is its only offset parent- if ( jQuery.css( elem, "position" ) === "fixed" ) {- // Assume getBoundingClientRect is there when computed position is fixed- offset = elem.getBoundingClientRect();-- } else {- // Get *real* offsetParent- offsetParent = this.offsetParent();-- // Get correct offsets- offset = this.offset();- if ( !jQuery.nodeName( offsetParent[ 0 ], "html" ) ) {- parentOffset = offsetParent.offset();- }-- // Add offsetParent borders- parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true );- parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true );- }-- // Subtract parent offsets and element margins- return {- top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ),- left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true )- };- },-- offsetParent: function() {- return this.map(function() {- var offsetParent = this.offsetParent || docElem;-- while ( offsetParent && ( !jQuery.nodeName( offsetParent, "html" ) && jQuery.css( offsetParent, "position" ) === "static" ) ) {- offsetParent = offsetParent.offsetParent;- }-- return offsetParent || docElem;- });- }-});--// Create scrollLeft and scrollTop methods-jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function( method, prop ) {- var top = "pageYOffset" === prop;-- jQuery.fn[ method ] = function( val ) {- return access( this, function( elem, method, val ) {- var win = getWindow( elem );-- if ( val === undefined ) {- return win ? win[ prop ] : elem[ method ];- }-- if ( win ) {- win.scrollTo(- !top ? val : window.pageXOffset,- top ? val : window.pageYOffset- );-- } else {- elem[ method ] = val;- }- }, method, val, arguments.length, null );- };-});--// Support: Safari<7+, Chrome<37+-// Add the top/left cssHooks using jQuery.fn.position-// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084-// Blink bug: https://code.google.com/p/chromium/issues/detail?id=229280-// getComputedStyle returns percent when specified for top/left/bottom/right;-// rather than make the css module depend on the offset module, just check for it here-jQuery.each( [ "top", "left" ], function( i, prop ) {- jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,- function( elem, computed ) {- if ( computed ) {- computed = curCSS( elem, prop );- // If curCSS returns percentage, fallback to offset- return rnumnonpx.test( computed ) ?- jQuery( elem ).position()[ prop ] + "px" :- computed;- }- }- );-});---// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods-jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {- jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) {- // Margin is only for outerHeight, outerWidth- jQuery.fn[ funcName ] = function( margin, value ) {- var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ),- extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" );-- return access( this, function( elem, type, value ) {- var doc;-- if ( jQuery.isWindow( elem ) ) {- // As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there- // isn't a whole lot we can do. See pull request at this URL for discussion:- // https://github.com/jquery/jquery/pull/764- return elem.document.documentElement[ "client" + name ];- }-- // Get document width or height- if ( elem.nodeType === 9 ) {- doc = elem.documentElement;-- // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],- // whichever is greatest- return Math.max(- elem.body[ "scroll" + name ], doc[ "scroll" + name ],- elem.body[ "offset" + name ], doc[ "offset" + name ],- doc[ "client" + name ]- );- }-- return value === undefined ?- // Get width or height on the element, requesting but not forcing parseFloat- jQuery.css( elem, type, extra ) :-- // Set width or height on the element- jQuery.style( elem, type, value, extra );- }, type, chainable ? margin : undefined, chainable, null );- };- });-});---// The number of elements contained in the matched element set-jQuery.fn.size = function() {- return this.length;-};--jQuery.fn.andSelf = jQuery.fn.addBack;-----// Register as a named AMD module, since jQuery can be concatenated with other-// files that may use define, but not via a proper concatenation script that-// understands anonymous AMD modules. A named AMD is safest and most robust-// way to register. Lowercase jquery is used because AMD module names are-// derived from file names, and jQuery is normally delivered in a lowercase-// file name. Do this after creating the global so that if an AMD module wants-// to call noConflict to hide this version of jQuery, it will work.--// Note that for maximum portability, libraries that are not jQuery should-// declare themselves as anonymous modules, and avoid setting a global if an-// AMD loader is present. jQuery is a special case. For more information, see-// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon--if ( typeof define === "function" && define.amd ) {- define( "jquery", [], function() {- return jQuery;- });-}-----var- // Map over jQuery in case of overwrite- _jQuery = window.jQuery,-- // Map over the $ in case of overwrite- _$ = window.$;--jQuery.noConflict = function( deep ) {- if ( window.$ === jQuery ) {- window.$ = _$;- }-- if ( deep && window.jQuery === jQuery ) {- window.jQuery = _jQuery;- }-- return jQuery;-};--// Expose jQuery and $ identifiers, even in AMD-// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)-// and CommonJS for browser emulators (#13566)-if ( typeof noGlobal === strundefined ) {- window.jQuery = window.$ = jQuery;-}-----return jQuery;--}));diff --git a/web/ext/main/jquery-2.1.4/jquery.min.js b/web/ext/main/jquery-2.1.4/jquery.min.jsdeleted file mode 100644index 49990d6e1..000000000--- a/web/ext/main/jquery-2.1.4/jquery.min.js+++ /dev/null@@ -1,4 +0,0 @@-/*! jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */-!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return!n.isArray(a)&&a-parseFloat(a)+1>=0},isPlainObject:function(a){return"object"!==n.type(a)||a.nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=l.createElement("script"),b.text=a,l.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:g.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(e=d.call(arguments,2),f=function(){return a.apply(b||this,e.concat(d.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:k}),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b="length"in a&&a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N=M.replace("w","w#"),O="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+L+"*\\]",P=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",Q=new RegExp(L+"+","g"),R=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),S=new RegExp("^"+L+"*,"+L+"*"),T=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),V=new RegExp(P),W=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,aa=/[+~]/,ba=/'|\\/g,ca=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),da=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ea=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(fa){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],k=b.nodeType,"string"!=typeof a||!a||1!==k&&9!==k&&11!==k)return d;if(!e&&p){if(11!==k&&(f=_.exec(a)))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return H.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=1!==k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(ba,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+ra(o[l]);w=aa.test(a)&&pa(b.parentNode)||b,x=o.join(",")}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function pa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=g.documentElement,e=g.defaultView,e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",ea,!1):e.attachEvent&&e.attachEvent("onunload",ea)),p=!f(g),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(g.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(g.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!g.getElementsByName||!g.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(g.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\f]' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){var b=g.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",P)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.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)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===g||a.ownerDocument===v&&t(v,a)?-1:b===g||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===g?-1:b===g?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?la(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},g):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ca,da),a[3]=(a[3]||a[4]||a[5]||"").replace(ca,da),"~="===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]||ga.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]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(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(ca,da).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(Q," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(ca,da),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return W.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(ca,da).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.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:oa(function(){return[0]}),last:oa(function(a,b){return[b-1]}),eq:oa(function(a,b,c){return[0>c?c+b:c]}),even:oa(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:oa(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:oa(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:oa(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=ma(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=na(b);function qa(){}qa.prototype=d.filters=d.pseudos,d.setFilters=new qa,g=ga.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?ga.error(a):z(a,i).slice(0)};function ra(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function sa(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function ta(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ua(a,b,c){for(var d=0,e=b.length;e>d;d++)ga(a,b[d],c);return c}function va(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function wa(a,b,c,d,e,f){return d&&!d[u]&&(d=wa(d)),e&&!e[u]&&(e=wa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ua(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:va(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=va(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=va(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=sa(function(a){return a===b},h,!0),l=sa(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[sa(ta(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return wa(i>1&&ta(m),i>1&&ra(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&xa(a.slice(i,e)),f>e&&xa(a=a.slice(e)),f>e&&ra(a))}m.push(c)}return ta(m)}function ya(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=F.call(i));s=va(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&ga.uniqueSort(i)}return k&&(w=v,j=t),r};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=xa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,ya(e,d)),f.selector=a}return f},i=ga.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ca,da),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ca,da),aa.test(j[0].type)&&pa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&ra(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,aa.test(a)&&pa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ja(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return g.call(b,a)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=n.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:l,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return d=l.getElementById(c[2]),d&&d.parentNode&&(this.length=1,this[0]=d),this.context=l,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};A.prototype=n.fn,y=n(l);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?"string"==typeof a?g.call(n(a),this[0]):g.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,"parentNode")},parentsUntil:function(a,b,c){return n.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return n.dir(a,"nextSibling")},prevAll:function(a){return n.dir(a,"previousSibling")},nextUntil:function(a,b,c){return n.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return n.dir(a,"previousSibling",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(C[a]||n.unique(e),B.test(a)&&e.reverse()),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return n.each(a.match(E)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(b=a.memory&&l,c=!0,g=e||0,e=0,f=h.length,d=!0;h&&f>g;g++)if(h[g].apply(l[0],l[1])===!1&&a.stopOnFalse){b=!1;break}d=!1,h&&(i?i.length&&j(i.shift()):b?h=[]:k.disable())},k={add:function(){if(h){var c=h.length;!function g(b){n.each(b,function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&g(c)})}(arguments),d?f=h.length:b&&(e=c,j(b))}return this},remove:function(){return h&&n.each(arguments,function(a,b){var c;while((c=n.inArray(b,h,c))>-1)h.splice(c,1),d&&(f>=c&&f--,g>=c&&g--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],f=0,this},disable:function(){return h=i=b=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,b||k.disable(),this},locked:function(){return!i},fireWith:function(a,b){return!h||c&&!i||(b=b||[],b=[a,b.slice?b.slice():b],d?i.push(b):j(b)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!c}};return k},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(H.resolveWith(l,[n]),n.fn.triggerHandler&&(n(l).triggerHandler("ready"),n(l).off("ready"))))}});function I(){l.removeEventListener("DOMContentLoaded",I,!1),a.removeEventListener("load",I,!1),n.ready()}n.ready.promise=function(b){return H||(H=n.Deferred(),"complete"===l.readyState?setTimeout(n.ready):(l.addEventListener("DOMContentLoaded",I,!1),a.addEventListener("load",I,!1))),H.promise(b)},n.ready.promise();var J=n.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)n.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f};n.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function K(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=n.expando+K.uid++}K.uid=1,K.accepts=n.acceptData,K.prototype={key:function(a){if(!K.accepts(a))return 0;var b={},c=a[this.expando];if(!c){c=K.uid++;try{b[this.expando]={value:c},Object.defineProperties(a,b)}catch(d){b[this.expando]=c,n.extend(a,b)}}return this.cache[c]||(this.cache[c]={}),c},set:function(a,b,c){var d,e=this.key(a),f=this.cache[e];if("string"==typeof b)f[b]=c;else if(n.isEmptyObject(f))n.extend(this.cache[e],b);else for(d in b)f[d]=b[d];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 d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=this.key(a),g=this.cache[f];if(void 0===b)this.cache[f]={};else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in g?d=[b,e]:(d=e,d=d in g?[d]:d.match(E)||[])),c=d.length;while(c--)delete g[d[c]]}},hasData:function(a){return!n.isEmptyObject(this.cache[a[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}};var L=new K,M=new K,N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(O,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}M.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return M.hasData(a)||L.hasData(a)},data:function(a,b,c){-return M.access(a,b,c)},removeData:function(a,b){M.remove(a,b)},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=M.get(f),1===f.nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));L.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){M.set(this,a)}):J(this,function(b){var c,d=n.camelCase(a);if(f&&void 0===b){if(c=M.get(f,a),void 0!==c)return c;if(c=M.get(f,d),void 0!==c)return c;if(c=P(f,d,void 0),void 0!==c)return c}else this.each(function(){var c=M.get(this,d);M.set(this,d,b),-1!==a.indexOf("-")&&void 0!==c&&M.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){M.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=L.get(a,b),c&&(!d||n.isArray(c)?d=L.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return L.get(a,c)||L.access(a,c,{empty:n.Callbacks("once memory").add(function(){L.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=L.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var Q=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,R=["Top","Right","Bottom","Left"],S=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)},T=/^(?:checkbox|radio)$/i;!function(){var a=l.createDocumentFragment(),b=a.appendChild(l.createElement("div")),c=l.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var U="undefined";k.focusinBubbles="onfocusin"in a;var V=/^key/,W=/^(?:mouse|pointer|contextmenu)|click/,X=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return l.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return typeof n!==U&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(E)||[""],j=b.length;while(j--)h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g,!1)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.hasData(a)&&L.get(a);if(r&&(i=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&(delete r.handle,L.remove(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,m,o,p=[d||l],q=j.call(b,"type")?b.type:b,r=j.call(b,"namespace")?b.namespace.split("."):[];if(g=h=d=d||l,3!==d.nodeType&&8!==d.nodeType&&!X.test(q+n.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),k=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},e||!o.trigger||o.trigger.apply(d,c)!==!1)){if(!e&&!o.noBubble&&!n.isWindow(d)){for(i=o.delegateType||q,X.test(i+q)||(g=g.parentNode);g;g=g.parentNode)p.push(g),h=g;h===(d.ownerDocument||l)&&p.push(h.defaultView||h.parentWindow||a)}f=0;while((g=p[f++])&&!b.isPropagationStopped())b.type=f>1?i:o.bindType||q,m=(L.get(g,"events")||{})[b.type]&&L.get(g,"handle"),m&&m.apply(g,c),m=k&&g[k],m&&m.apply&&n.acceptData(g)&&(b.result=m.apply(g,c),b.result===!1&&b.preventDefault());return b.type=q,e||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!n.acceptData(d)||k&&n.isFunction(d[q])&&!n.isWindow(d)&&(h=d[k],h&&(d[k]=null),n.event.triggered=q,d[q](),n.event.triggered=void 0,h&&(d[k]=h)),b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(L.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObj=g,a.data=g.data,e=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(a.result=e)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!==this;i=i.parentNode||this)if(i.disabled!==!0||"click"!==a.type){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>=0:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},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(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button;return null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||l,d=c.documentElement,e=c.body,a.pageX=b.clientX+(d&&d.scrollLeft||e&&e.scrollLeft||0)-(d&&d.clientLeft||e&&e.clientLeft||0),a.pageY=b.clientY+(d&&d.scrollTop||e&&e.scrollTop||0)-(d&&d.clientTop||e&&e.clientTop||0)),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},fix:function(a){if(a[n.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=W.test(e)?this.mouseHooks:V.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new n.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=l),3===a.target.nodeType&&(a.target=a.target.parentNode),g.filter?g.filter(a,f):a},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==_()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===_()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&n.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=n.extend(new n.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?n.event.trigger(e,null,b):n.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?Z:$):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=!0)):new n.Event(a,b)},n.Event.prototype={isDefaultPrevented:$,isPropagationStopped:$,isImmediatePropagationStopped:$,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=Z,a&&a.preventDefault&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=Z,a&&a.stopPropagation&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=Z,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!n.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.focusinBubbles||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a),!0)};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=L.access(d,b);e||d.addEventListener(a,c,!0),L.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=L.access(d,b)-1;e?L.access(d,b,e):(d.removeEventListener(a,c,!0),L.remove(d,b))}}}),n.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(g in a)this.on(g,b,c,a[g],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=$;else if(!d)return this;return 1===e&&(f=d,d=function(a){return n().off(a),f.apply(this,arguments)},d.guid=f.guid||(f.guid=n.guid++)),this.each(function(){n.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=$),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}});var aa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ba=/<([\w:]+)/,ca=/<|&#?\w+;/,da=/<(?:script|style|link)/i,ea=/checked\s*(?:[^=]|=\s*.checked.)/i,fa=/^$|\/(?:java|ecma)script/i,ga=/^true\/(.*)/,ha=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ia={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ia.optgroup=ia.option,ia.tbody=ia.tfoot=ia.colgroup=ia.caption=ia.thead,ia.th=ia.td;function ja(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function ka(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function la(a){var b=ga.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function ma(a,b){for(var c=0,d=a.length;d>c;c++)L.set(a[c],"globalEval",!b||L.get(b[c],"globalEval"))}function na(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(L.hasData(a)&&(f=L.access(a),g=L.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}M.hasData(a)&&(h=M.access(a),i=n.extend({},h),M.set(b,i))}}function oa(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function pa(a,b){var c=b.nodeName.toLowerCase();"input"===c&&T.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}n.extend({clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=oa(h),f=oa(a),d=0,e=f.length;e>d;d++)pa(f[d],g[d]);if(b)if(c)for(f=f||oa(a),g=g||oa(h),d=0,e=f.length;e>d;d++)na(f[d],g[d]);else na(a,h);return g=oa(h,"script"),g.length>0&&ma(g,!i&&oa(a,"script")),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k=b.createDocumentFragment(),l=[],m=0,o=a.length;o>m;m++)if(e=a[m],e||0===e)if("object"===n.type(e))n.merge(l,e.nodeType?[e]:e);else if(ca.test(e)){f=f||k.appendChild(b.createElement("div")),g=(ba.exec(e)||["",""])[1].toLowerCase(),h=ia[g]||ia._default,f.innerHTML=h[1]+e.replace(aa,"<$1></$2>")+h[2],j=h[0];while(j--)f=f.lastChild;n.merge(l,f.childNodes),f=k.firstChild,f.textContent=""}else l.push(b.createTextNode(e));k.textContent="",m=0;while(e=l[m++])if((!d||-1===n.inArray(e,d))&&(i=n.contains(e.ownerDocument,e),f=oa(k.appendChild(e),"script"),i&&ma(f),c)){j=0;while(e=f[j++])fa.test(e.type||"")&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,f=n.event.special,g=0;void 0!==(c=a[g]);g++){if(n.acceptData(c)&&(e=c[L.expando],e&&(b=L.cache[e]))){if(b.events)for(d in b.events)f[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);L.cache[e]&&delete L.cache[e]}delete M.cache[c[M.expando]]}}}),n.fn.extend({text:function(a){return J(this,function(a){return void 0===a?n.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){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=ja(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=ja(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,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(oa(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&ma(oa(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(oa(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 n.clone(this,a,b)})},html:function(a){return J(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!da.test(a)&&!ia[(ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(aa,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(oa(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(oa(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=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,m=this,o=l-1,p=a[0],q=n.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&ea.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(c=n.buildFragment(a,this[0].ownerDocument,!1,this),d=c.firstChild,1===c.childNodes.length&&(c=d),d)){for(f=n.map(oa(c,"script"),ka),g=f.length;l>j;j++)h=c,j!==o&&(h=n.clone(h,!0,!0),g&&n.merge(f,oa(h,"script"))),b.call(this[j],h,j);if(g)for(i=f[f.length-1].ownerDocument,n.map(f,la),j=0;g>j;j++)h=f[j],fa.test(h.type||"")&&!L.access(h,"globalEval")&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(ha,"")))}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),g=e.length-1,h=0;g>=h;h++)c=h===g?this:this.clone(!0),n(e[h])[b](c),f.apply(d,c.get());return this.pushStack(d)}});var qa,ra={};function sa(b,c){var d,e=n(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:n.css(e[0],"display");return e.detach(),f}function ta(a){var b=l,c=ra[a];return c||(c=sa(a,b),"none"!==c&&c||(qa=(qa||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=qa[0].contentDocument,b.write(),b.close(),c=sa(a,b),qa.detach()),ra[a]=c),c}var ua=/^margin/,va=new RegExp("^("+Q+")(?!px)[a-z%]+$","i"),wa=function(b){return b.ownerDocument.defaultView.opener?b.ownerDocument.defaultView.getComputedStyle(b,null):a.getComputedStyle(b,null)};function xa(a,b,c){var d,e,f,g,h=a.style;return c=c||wa(a),c&&(g=c.getPropertyValue(b)||c[b]),c&&(""!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),va.test(g)&&ua.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function ya(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d=l.documentElement,e=l.createElement("div"),f=l.createElement("div");if(f.style){f.style.backgroundClip="content-box",f.cloneNode(!0).style.backgroundClip="",k.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);function g(){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="",d.appendChild(e);var g=a.getComputedStyle(f,null);b="1%"!==g.top,c="4px"===g.width,d.removeChild(e)}a.getComputedStyle&&n.extend(k,{pixelPosition:function(){return g(),b},boxSizingReliable:function(){return null==c&&g(),c},reliableMarginRight:function(){var b,c=f.appendChild(l.createElement("div"));return c.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",c.style.marginRight=c.style.width="0",f.style.width="1px",d.appendChild(e),b=!parseFloat(a.getComputedStyle(c,null).marginRight),d.removeChild(e),f.removeChild(c),b}})}}(),n.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var za=/^(none|table(?!-c[ea]).+)/,Aa=new RegExp("^("+Q+")(.*)$","i"),Ba=new RegExp("^([+-])=("+Q+")","i"),Ca={position:"absolute",visibility:"hidden",display:"block"},Da={letterSpacing:"0",fontWeight:"400"},Ea=["Webkit","O","Moz","ms"];function Fa(a,b){if(b in a)return b;var c=b[0].toUpperCase()+b.slice(1),d=b,e=Ea.length;while(e--)if(b=Ea[e]+c,b in a)return b;return d}function Ga(a,b,c){var d=Aa.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Ha(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+R[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+R[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+R[f]+"Width",!0,e))):(g+=n.css(a,"padding"+R[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+R[f]+"Width",!0,e)));return g}function Ia(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=wa(a),g="border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=xa(a,b,f),(0>e||null==e)&&(e=a.style[b]),va.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Ha(a,b,c||(g?"border":"content"),d,f)+"px"}function Ja(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=L.get(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&S(d)&&(f[g]=L.access(d,"olddisplay",ta(d.nodeName)))):(e=S(d),"none"===c&&e||L.set(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=xa(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,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;return b=n.cssProps[h]||(n.cssProps[h]=Fa(i,h)),g=n.cssHooks[b]||n.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=Ba.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(n.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||n.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=Fa(a.style,h)),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=xa(a,b,d)),"normal"===e&&b in Da&&(e=Da[b]),""===c||c?(f=parseFloat(e),c===!0||n.isNumeric(f)?f||0:e):e}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?za.test(n.css(a,"display"))&&0===a.offsetWidth?n.swap(a,Ca,function(){return Ia(a,b,d)}):Ia(a,b,d):void 0},set:function(a,c,d){var e=d&&wa(a);return Ga(a,c,d?Ha(a,b,d,"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),n.cssHooks.marginRight=ya(k.reliableMarginRight,function(a,b){return b?n.swap(a,{display:"inline-block"},xa,[a,"marginRight"]):void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+R[d]+b]=f[d]||f[d-2]||f[0];return e}},ua.test(a)||(n.cssHooks[a+b].set=Ga)}),n.fn.extend({css:function(a,b){return J(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=wa(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return Ja(this,!0)},hide:function(){return Ja(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){S(this)?n(this).show():n(this).hide()})}});function Ka(a,b,c,d,e){return new Ka.prototype.init(a,b,c,d,e)}n.Tween=Ka,Ka.prototype={constructor:Ka,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=Ka.propHooks[this.prop];return a&&a.get?a.get(this):Ka.propHooks._default.get(this)},run:function(a){var b,c=Ka.propHooks[this.prop];return this.options.duration?this.pos=b=n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Ka.propHooks._default.set(this),this}},Ka.prototype.init.prototype=Ka.prototype,Ka.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[n.cssProps[a.prop]]||n.cssHooks[a.prop])?n.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Ka.propHooks.scrollTop=Ka.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},n.fx=Ka.prototype.init,n.fx.step={};var La,Ma,Na=/^(?:toggle|show|hide)$/,Oa=new RegExp("^(?:([+-])=|)("+Q+")([a-z%]*)$","i"),Pa=/queueHooks$/,Qa=[Va],Ra={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=Oa.exec(b),f=e&&e[3]||(n.cssNumber[a]?"":"px"),g=(n.cssNumber[a]||"px"!==f&&+d)&&Oa.exec(n.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,n.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function Sa(){return setTimeout(function(){La=void 0}),La=n.now()}function Ta(a,b){var c,d=0,e={height:a};for(b=b?1:0;4>d;d+=2-b)c=R[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function Ua(a,b,c){for(var d,e=(Ra[b]||[]).concat(Ra["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function Va(a,b,c){var d,e,f,g,h,i,j,k,l=this,m={},o=a.style,p=a.nodeType&&S(a),q=L.get(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=n.css(a,"display"),k="none"===j?L.get(a,"olddisplay")||ta(a.nodeName):j,"inline"===k&&"none"===n.css(a,"float")&&(o.display="inline-block")),c.overflow&&(o.overflow="hidden",l.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],Na.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}m[d]=q&&q[d]||n.style(a,d)}else j=void 0;if(n.isEmptyObject(m))"inline"===("none"===j?ta(a.nodeName):j)&&(o.display=j);else{q?"hidden"in q&&(p=q.hidden):q=L.access(a,"fxshow",{}),f&&(q.hidden=!p),p?n(a).show():l.done(function(){n(a).hide()}),l.done(function(){var b;L.remove(a,"fxshow");for(b in m)n.style(a,b,m[b])});for(d in m)g=Ua(p?q[d]:0,d,l),d in q||(q[d]=g.start,p&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function Wa(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function Xa(a,b,c){var d,e,f=0,g=Qa.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=La||Sa(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:La||Sa(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(Wa(k,j.opts.specialEasing);g>f;f++)if(d=Qa[f].call(j,a,k,j.opts))return d;return n.map(k,Ua,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(Xa,{tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],Ra[c]=Ra[c]||[],Ra[c].unshift(b)},prefilter:function(a,b){b?Qa.unshift(a):Qa.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(S).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=Xa(this,n.extend({},a),f);(e||L.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=L.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&Pa.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=L.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),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++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(Ta(b,!0),a,d,e)}}),n.each({slideDown:Ta("show"),slideUp:Ta("hide"),slideToggle:Ta("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=0,c=n.timers;for(La=n.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||n.fx.stop(),La=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){Ma||(Ma=setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){clearInterval(Ma),Ma=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(a,b){return a=n.fx?n.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a=l.createElement("input"),b=l.createElement("select"),c=b.appendChild(l.createElement("option"));a.type="checkbox",k.checkOn=""!==a.value,k.optSelected=c.selected,b.disabled=!0,k.optDisabled=!c.disabled,a=l.createElement("input"),a.value="t",a.type="radio",k.radioValue="t"===a.value}();var Ya,Za,$a=n.expr.attrHandle;n.fn.extend({attr:function(a,b){return J(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===U?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),d=n.attrHooks[b]||(n.expr.match.bool.test(b)?Za:Ya)),-void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void n.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),Za={set:function(a,b,c){return b===!1?n.removeAttr(a,c):a.setAttribute(c,c),c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=$a[b]||n.find.attr;$a[b]=function(a,b,d){var e,f;return d||(f=$a[b],$a[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,$a[b]=f),e}});var _a=/^(?:input|select|textarea|button)$/i;n.fn.extend({prop:function(a,b){return J(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[n.propFix[a]||a]})}}),n.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!n.isXMLDoc(a),f&&(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){return a.hasAttribute("tabindex")||_a.test(a.nodeName)||a.href?a.tabIndex:-1}}}}),k.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this});var ab=/[\t\r\n\f]/g;n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h="string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ab," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=n.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0===arguments.length||"string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ab," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?n.trim(d):"",c.className!==g&&(c.className=g)}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(n.isFunction(a)?function(c){n(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=n(this),f=a.match(E)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===U||"boolean"===c)&&(this.className&&L.set(this,"__className__",this.className),this.className=this.className||a===!1?"":L.get(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(ab," ").indexOf(b)>=0)return!0;return!1}});var bb=/\r/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(bb,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=n.inArray(d.value,f)>=0)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>=0:void 0}},k.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})}),n.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){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var cb=n.now(),db=/\?/;n.parseJSON=function(a){return JSON.parse(a+"")},n.parseXML=function(a){var b,c;if(!a||"string"!=typeof a)return null;try{c=new DOMParser,b=c.parseFromString(a,"text/xml")}catch(d){b=void 0}return(!b||b.getElementsByTagName("parsererror").length)&&n.error("Invalid XML: "+a),b};var eb=/#.*$/,fb=/([?&])_=[^&]*/,gb=/^(.*?):[ \t]*([^\r\n]*)$/gm,hb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ib=/^(?:GET|HEAD)$/,jb=/^\/\//,kb=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,lb={},mb={},nb="*/".concat("*"),ob=a.location.href,pb=kb.exec(ob.toLowerCase())||[];function qb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(n.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function rb(a,b,c,d){var e={},f=a===mb;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function sb(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&n.extend(!0,a,d),a}function tb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function ub(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ob,type:"GET",isLocal:hb.test(pb[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":nb,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":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?sb(sb(a,n.ajaxSettings),b):sb(n.ajaxSettings,a)},ajaxPrefilter:qb(lb),ajaxTransport:qb(mb),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=n.ajaxSetup({},b),l=k.context||k,m=k.context&&(l.nodeType||l.jquery)?n(l):n.event,o=n.Deferred(),p=n.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!f){f={};while(b=gb.exec(e))f[b[1].toLowerCase()]=b[2]}b=f[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?e:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return c&&c.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||ob)+"").replace(eb,"").replace(jb,pb[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=n.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(h=kb.exec(k.url.toLowerCase()),k.crossDomain=!(!h||h[1]===pb[1]&&h[2]===pb[2]&&(h[3]||("http:"===h[1]?"80":"443"))===(pb[3]||("http:"===pb[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=n.param(k.data,k.traditional)),rb(lb,k,b,v),2===t)return v;i=n.event&&k.global,i&&0===n.active++&&n.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!ib.test(k.type),d=k.url,k.hasContent||(k.data&&(d=k.url+=(db.test(d)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=fb.test(d)?d.replace(fb,"$1_="+cb++):d+(db.test(d)?"&":"?")+"_="+cb++)),k.ifModified&&(n.lastModified[d]&&v.setRequestHeader("If-Modified-Since",n.lastModified[d]),n.etag[d]&&v.setRequestHeader("If-None-Match",n.etag[d])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+nb+"; q=0.01":""):k.accepts["*"]);for(j in k.headers)v.setRequestHeader(j,k.headers[j]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(j in{success:1,error:1,complete:1})v[j](k[j]);if(c=rb(mb,k,b,v)){v.readyState=1,i&&m.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,c.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,f,h){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),c=void 0,e=h||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,f&&(u=tb(k,v,f)),u=ub(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(n.lastModified[d]=w),w=v.getResponseHeader("etag"),w&&(n.etag[d]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,i&&m.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),i&&(m.trigger("ajaxComplete",[v,k]),--n.active||n.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){var b;return n.isFunction(a)?this.each(function(b){n(this).wrapAll(a.call(this,b))}):(this[0]&&(b=n(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return this.each(n.isFunction(a)?function(b){n(this).wrapInner(a.call(this,b))}:function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}}),n.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var vb=/%20/g,wb=/\[\]$/,xb=/\r?\n/g,yb=/^(?:submit|button|image|reset|file)$/i,zb=/^(?:input|select|textarea|keygen)/i;function Ab(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||wb.test(a)?d(a,e):Ab(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)Ab(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)Ab(c,a[c],b,e);return d.join("&").replace(vb,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&zb.test(this.nodeName)&&!yb.test(a)&&(this.checked||!T.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(xb,"\r\n")}}):{name:b.name,value:c.replace(xb,"\r\n")}}).get()}}),n.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(a){}};var Bb=0,Cb={},Db={0:200,1223:204},Eb=n.ajaxSettings.xhr();a.attachEvent&&a.attachEvent("onunload",function(){for(var a in Cb)Cb[a]()}),k.cors=!!Eb&&"withCredentials"in Eb,k.ajax=Eb=!!Eb,n.ajaxTransport(function(a){var b;return k.cors||Eb&&!a.crossDomain?{send:function(c,d){var e,f=a.xhr(),g=++Bb;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)f.setRequestHeader(e,c[e]);b=function(a){return function(){b&&(delete Cb[g],b=f.onload=f.onerror=null,"abort"===a?f.abort():"error"===a?d(f.status,f.statusText):d(Db[f.status]||f.status,f.statusText,"string"==typeof f.responseText?{text:f.responseText}:void 0,f.getAllResponseHeaders()))}},f.onload=b(),f.onerror=b("error"),b=Cb[g]=b("abort");try{f.send(a.hasContent&&a.data||null)}catch(h){if(b)throw h}},abort:function(){b&&b()}}:void 0}),n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(d,e){b=n("<script>").prop({async:!0,charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&e("error"===a.type?404:200,a.type)}),l.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Fb=[],Gb=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Fb.pop()||n.expando+"_"+cb++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Gb.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gb.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Gb,"$1"+e):b.jsonp!==!1&&(b.url+=(db.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Fb.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||l;var d=v.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=n.buildFragment([a],b,e),e&&e.length&&n(e).remove(),n.merge([],d.childNodes))};var Hb=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&Hb)return Hb.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=n.trim(a.slice(h)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e,dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,f||[a.responseText,b,a])}),this},n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};var Ib=a.document.documentElement;function Jb(a){return n.isWindow(a)?a:9===a.nodeType&&a.defaultView}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d=this[0],e={top:0,left:0},f=d&&d.ownerDocument;if(f)return b=f.documentElement,n.contains(b,d)?(typeof d.getBoundingClientRect!==U&&(e=d.getBoundingClientRect()),c=Jb(f),{top:e.top+c.pageYOffset-b.clientTop,left:e.left+c.pageXOffset-b.clientLeft}):e},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===n.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(d=a.offset()),d.top+=n.css(a[0],"borderTopWidth",!0),d.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-d.top-n.css(c,"marginTop",!0),left:b.left-d.left-n.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||Ib;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Ib})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(b,c){var d="pageYOffset"===c;n.fn[b]=function(e){return J(this,function(b,e,f){var g=Jb(b);return void 0===f?g?g[c]:b[e]:void(g?g.scrollTo(d?a.pageXOffset:f,d?f:a.pageYOffset):b[e]=f)},b,e,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=ya(k.pixelPosition,function(a,c){return c?(c=xa(a,b),va.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return J(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var Kb=a.jQuery,Lb=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=Lb),b&&a.jQuery===n&&(a.jQuery=Kb),n},typeof b===U&&(a.jQuery=a.$=n),n});diff --git a/web/ext/main/jquery.migrate-1.2.1/jquery-migrate.min.js b/web/ext/main/jquery.migrate-1.2.1/jquery-migrate.min.jsdeleted file mode 100644index 62149c28b..000000000--- a/web/ext/main/jquery.migrate-1.2.1/jquery-migrate.min.js+++ /dev/null@@ -1,2 +0,0 @@-/*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */-jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(e,t,n){function r(n){var r=t.console;i[n]||(i[n]=!0,e.migrateWarnings.push(n),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+n),e.migrateTrace&&r.trace&&r.trace()))}function a(t,a,i,o){if(Object.defineProperty)try{return Object.defineProperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(o),i},set:function(e){r(o),i=e}}),n}catch(s){}e._definePropertyBroken=!0,t[a]=i}var i={};e.migrateWarnings=[],!e.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){i={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var o=e("<input/>",{size:1}).attr("size")&&e.attrFn,s=e.attr,u=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},c=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrFn",o||{},"jQuery.attrFn is deprecated"),e.attr=function(t,a,i,u){var c=a.toLowerCase(),g=t&&t.nodeType;return u&&(4>s.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!d.test(g)&&(o?a in o:e.isFunction(e.fn[a])))?e(t)[a](i):("type"===a&&i!==n&&l.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[c]&&p.test(c)&&(e.attrHooks[c]={get:function(t,r){var a,i=e.prop(t,r);return i===!0||"boolean"!=typeof i&&(a=t.getAttributeNode(r))&&a.nodeValue!==!1?r.toLowerCase():n},set:function(t,n,r){var a;return n===!1?e.removeAttr(t,r):(a=e.propFix[r]||r,a in t&&(t[a]=!0),t.setAttribute(r,r.toLowerCase())),r}},f.test(c)&&r("jQuery.fn.attr('"+c+"') may use property instead of attribute")),s.call(e,t,a,i))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodeName||"").toLowerCase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/;e.fn.init=function(t,n,a){var i;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(i=y.exec(e.trim(t)))&&i[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),i[3]&&r("$(html) HTML text after last tag is ignored"),"#"===i[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),e.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),e.parseHTML)?v.call(this,e.parseHTML(i[2],n,!0),n,a):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?m.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(g=e.uaMatch(navigator.userAgent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h),a(e,"browser",e.browser,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jQuery.sub() is deprecated"),t},e.ajaxSetup({converters:{"text json":e.parseJSON}});var b=e.fn.data;e.fn.data=function(t){var a,i,o=this[0];return!o||"events"!==t||1!==arguments.length||(a=e.data(o,t),i=e._data(o,t),a!==n&&a!==i||i===n)?b.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),i)};var j=/\/(java|ecma)script/i,w=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply(this,arguments)},e.clean||(e.clean=function(t,a,i,o){a=a||document,a=!a.nodeType&&a[0]||a,a=a.ownerDocument||a,r("jQuery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildFragment(t,a).childNodes),i)for(c=function(e){return!e.type||j.test(e.type)?o?o.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):n},s=0;null!=(u=d[s]);s++)e.nodeName(u,"script")&&c(u)||(i.appendChild(u),u.getElementsByTagName!==n&&(l=e.grep(e.merge([],u.getElementsByTagName("script")),c),d.splice.apply(d,[s+1,0].concat(l)),s+=l.length));return d});var Q=e.event.add,x=e.event.remove,k=e.event.trigger,N=e.fn.toggle,T=e.fn.live,M=e.fn.die,S="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",C=RegExp("\\b(?:"+S+")\\b"),H=/(?:^|\s)hover(\.\S+|)\b/,A=function(t){return"string"!=typeof t||e.event.special.hover?t:(H.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(H,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,i){e!==document&&C.test(t)&&r("AJAX events should be attached to document: "+t),Q.call(this,e,A(t||""),n,a,i)},e.event.remove=function(e,t,n,r,a){x.call(this,e,A(t)||"",n,r,a)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return N.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var a=arguments,i=t.guid||e.guid++,o=0,s=function(n){var r=(e._data(this,"lastToggle"+t.guid)||0)%o;return e._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),a[r].apply(this,arguments)||!1};for(s.guid=i;a.length>o;)a[o++].guid=i;return this.click(s)},e.fn.live=function(t,n,a){return r("jQuery.fn.live() is deprecated"),T?T.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jQuery.fn.die() is deprecated"),M?M.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return n||C.test(e)||r("Global events are undocumented and deprecated"),k.call(this,e,t,n||document,a)},e.each(S.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window);\ No newline at end of filediff --git a/web/ext/main/jscache-gitba01cdc/cache.js b/web/ext/main/jscache-gitba01cdc/cache.jsdeleted file mode 100644index 38793025f..000000000--- a/web/ext/main/jscache-gitba01cdc/cache.js+++ /dev/null@@ -1,432 +0,0 @@-/*-MIT LICENSE-Copyright (c) 2007 Monsur Hossain (http://monsur.hossai.in)--Permission is hereby granted, free of charge, to any person-obtaining a copy of this software and associated documentation-files (the "Software"), to deal in the Software without-restriction, including without limitation the rights to use,-copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the-Software is furnished to do so, subject to the following-conditions:--The above copyright notice and this permission notice shall be-included in all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR-OTHER DEALINGS IN THE SOFTWARE.-*/--// Avoid polluting the global namespace if we're using a module loader-(function(){--/**- * Creates a new Cache object.- * @param {number} maxSize The maximum size of the cache (or -1 for no max).- * @param {boolean} debug Whether to log events to the console.log.- * @constructor- */-function Cache(maxSize, debug, storage) {- this.maxSize_ = maxSize || -1;- this.debug_ = debug || false;- this.storage_ = storage || new Cache.BasicCacheStorage();-- this.fillFactor_ = .75;-- this.stats_ = {};- this.stats_['hits'] = 0;- this.stats_['misses'] = 0;- this.log_('Initialized cache with size ' + maxSize);-}--/**- * An easier way to refer to the priority of a cache item- * @enum {number}- */-Cache.Priority = {- 'LOW': 1,- 'NORMAL': 2,- 'HIGH': 4-};--/**- * Basic in memory cache storage backend.- * @constructor- */-Cache.BasicCacheStorage = function() {- this.items_ = {};- this.count_ = 0;-}-Cache.BasicCacheStorage.prototype.get = function(key) {- return this.items_[key];-}-Cache.BasicCacheStorage.prototype.set = function(key, value) {- if (typeof this.get(key) === "undefined")- this.count_++;- this.items_[key] = value;-}-Cache.BasicCacheStorage.prototype.size = function(key, value) {- return this.count_;-}-Cache.BasicCacheStorage.prototype.remove = function(key) {- var item = this.get(key);- if (typeof item !== "undefined")- this.count_--;- delete this.items_[key];- return item;-}-Cache.BasicCacheStorage.prototype.keys = function() {- var ret = [], p;- for (p in this.items_) ret.push(p);- return ret;-}--/**- * Local Storage based persistant cache storage backend.- * If a size of -1 is used, it will purge itself when localStorage- * is filled. This is 5MB on Chrome/Safari.- * WARNING: The amortized cost of this cache is very low, however,- * when a the cache fills up all of localStorage, and a purge is required, it can- * take a few seconds to fetch all the keys and values in storage.- * Since localStorage doesn't have namespacing, this means that even if this- * individual cache is small, it can take this time if there are lots of other- * other keys in localStorage.- *- * @param {string} namespace A string to namespace the items in localStorage. Defaults to 'default'.- * @constructor- */-Cache.LocalStorageCacheStorage = function(namespace) {- this.prefix_ = 'cache-storage.' + (namespace || 'default') + '.';- // Regexp String Escaping from http://simonwillison.net/2006/Jan/20/escape/#p-6- var escapedPrefix = this.prefix_.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");- this.regexp_ = new RegExp('^' + escapedPrefix)-}-Cache.LocalStorageCacheStorage.prototype.get = function(key) {- var item = window.localStorage[this.prefix_ + key];- if (item) return JSON.parse(item);- return null;-}-Cache.LocalStorageCacheStorage.prototype.set = function(key, value) {- window.localStorage[this.prefix_ + key] = JSON.stringify(value);-}-Cache.LocalStorageCacheStorage.prototype.size = function(key, value) {- return this.keys().length;-}-Cache.LocalStorageCacheStorage.prototype.remove = function(key) {- var item = this.get(key);- delete window.localStorage[this.prefix_ + key];- return item;-}-Cache.LocalStorageCacheStorage.prototype.keys = function() {- var ret = [], p;- for (p in window.localStorage) {- if (p.match(this.regexp_)) ret.push(p.replace(this.prefix_, ''));- };- return ret;-}--/**- * Retrieves an item from the cache.- * @param {string} key The key to retrieve.- * @return {Object} The item, or null if it doesn't exist.- */-Cache.prototype.getItem = function(key) {-- // retrieve the item from the cache- var item = this.storage_.get(key);-- if (item != null) {- if (!this.isExpired_(item)) {- // if the item is not expired- // update its last accessed date- item.lastAccessed = new Date().getTime();- } else {- // if the item is expired, remove it from the cache- this.removeItem(key);- item = null;- }- }-- // return the item value (if it exists), or null- var returnVal = item ? item.value : null;- if (returnVal) {- this.stats_['hits']++;- this.log_('Cache HIT for key ' + key)- } else {- this.stats_['misses']++;- this.log_('Cache MISS for key ' + key)- }- return returnVal;-};---Cache._CacheItem = function(k, v, o) {- if (!k) {- throw new Error("key cannot be null or empty");- }- this.key = k;- this.value = v;- o = o || {};- if (o.expirationAbsolute) {- o.expirationAbsolute = o.expirationAbsolute.getTime();- }- if (!o.priority) {- o.priority = Cache.Priority.NORMAL;- }- this.options = o;- this.lastAccessed = new Date().getTime();-};---/**- * Sets an item in the cache.- * @param {string} key The key to refer to the item.- * @param {Object} value The item to cache.- * @param {Object} options an optional object which controls various caching- * options:- * expirationAbsolute: the datetime when the item should expire- * expirationSliding: an integer representing the seconds since- * the last cache access after which the item- * should expire- * priority: How important it is to leave this item in the cache.- * You can use the values Cache.Priority.LOW, .NORMAL, or- * .HIGH, or you can just use an integer. Note that- * placing a priority on an item does not guarantee- * it will remain in cache. It can still be purged if- * an expiration is hit, or if the cache is full.- * callback: A function that gets called when the item is purged- * from cache. The key and value of the removed item- * are passed as parameters to the callback function.- */-Cache.prototype.setItem = function(key, value, options) {-- // add a new cache item to the cache- if (this.storage_.get(key) != null) {- this.removeItem(key);- }- this.addItem_(new Cache._CacheItem(key, value, options));- this.log_("Setting key " + key);-- // if the cache is full, purge it- if ((this.maxSize_ > 0) && (this.size() > this.maxSize_)) {- var that = this;- setTimeout(function() {- that.purge_.call(that);- }, 0);- }-};---/**- * Removes all items from the cache.- */-Cache.prototype.clear = function() {- // loop through each item in the cache and remove it- var keys = this.storage_.keys()- for (var i = 0; i < keys.length; i++) {- this.removeItem(keys[i]);- }- this.log_('Cache cleared');-};---/**- * @return {Object} The hits and misses on the cache.- */-Cache.prototype.getStats = function() {- return this.stats_;-};---/**- * @return {string} Returns an HTML string representation of the cache.- */-Cache.prototype.toHtmlString = function() {- var returnStr = this.size() + " item(s) in cache<br /><ul>";- var keys = this.storage_.keys()- for (var i = 0; i < keys.length; i++) {- var item = this.storage_.get(keys[i]);- returnStr = returnStr + "<li>" + item.key.toString() + " = " +- item.value.toString() + "</li>";- }- returnStr = returnStr + "</ul>";- return returnStr;-};---/**- * Allows it to resize the Cache capacity if needed.- * @param {integer} newMaxSize the new max amount of stored entries within the Cache- */-Cache.prototype.resize = function(newMaxSize) {- this.log_('Resizing Cache from ' + this.maxSize_ + ' to ' + newMaxSize);- // Set new size before purging so we know how many items to purge- var oldMaxSize = this.maxSize_- this.maxSize_ = newMaxSize;-- if (newMaxSize > 0 && (oldMaxSize < 0 || newMaxSize < oldMaxSize)) {- if (this.size() > newMaxSize) {- // Cache needs to be purged as it does contain too much entries for the new size- this.purge_();- } // else if cache isn't filled up to the new limit nothing is to do- }- // else if newMaxSize >= maxSize nothing to do- this.log_('Resizing done');-}--/**- * Removes expired items from the cache.- */-Cache.prototype.purge_ = function() {- var tmparray = new Array();- var purgeSize = Math.round(this.maxSize_ * this.fillFactor_);- if (this.maxSize_ < 0)- purgeSize = this.size() * this.fillFactor_;- // loop through the cache, expire items that should be expired- // otherwise, add the item to an array- var keys = this.storage_.keys();- for (var i = 0; i < keys.length; i++) {- var key = keys[i];- var item = this.storage_.get(key);- if (this.isExpired_(item)) {- this.removeItem(key);- } else {- tmparray.push(item);- }- }-- if (tmparray.length > purgeSize) {- // sort this array based on cache priority and the last accessed date- tmparray = tmparray.sort(function(a, b) {- if (a.options.priority != b.options.priority) {- return b.options.priority - a.options.priority;- } else {- return b.lastAccessed - a.lastAccessed;- }- });- // remove items from the end of the array- while (tmparray.length > purgeSize) {- var ritem = tmparray.pop();- this.removeItem(ritem.key);- }- }- this.log_('Purged cached');-};---/**- * Add an item to the cache.- * @param {Object} item The cache item to add.- * @private- */-Cache.prototype.addItem_ = function(item, attemptedAlready) {- var cache = this;- try {- this.storage_.set(item.key, item);- } catch(err) {- if (attemptedAlready) {- this.log_('Failed setting again, giving up: ' + err.toString());- throw(err);- }- this.log_('Error adding item, purging and trying again: ' + err.toString());- this.purge_();- this.addItem_(item, true);- }-};---/**- * Remove an item from the cache, call the callback function (if it exists).- * @param {String} key The key of the item to remove- */-Cache.prototype.removeItem = function(key) {- var item = this.storage_.remove(key);- this.log_("removed key " + key);-- // if there is a callback function, call it at the end of execution- if (item && item.options && item.options.callback) {- setTimeout(function() {- item.options.callback.call(null, item.key, item.value);- }, 0);- }- return item ? item.value : null;-};--/**- * Scan through each item in the cache and remove that item if it passes the- * supplied test.- * @param {Function} test A test to determine if the given item should be removed.- * The item will be removed if test(key, value) returns true.- */-Cache.prototype.removeWhere = function(test) {- // Get a copy of the keys array - it won't be modified when we remove items from storage- var keys = this.storage_.keys();- for (var i = 0; i < keys.length; i++) {- var key = keys[i];- var item = this.storage_.get(key);- if(test(key, item.value) === true) {- this.removeItem(key);- }- }-};--Cache.prototype.size = function() {- return this.storage_.size();-}---/**- * @param {Object} item A cache item.- * @return {boolean} True if the item is expired- * @private- */-Cache.prototype.isExpired_ = function(item) {- var now = new Date().getTime();- var expired = false;- if (item.options.expirationAbsolute &&- (item.options.expirationAbsolute < now)) {- // if the absolute expiration has passed, expire the item- expired = true;- }- if (!expired && item.options.expirationSliding) {- // if the sliding expiration has passed, expire the item- var lastAccess =- item.lastAccessed + (item.options.expirationSliding * 1000);- if (lastAccess < now) {- expired = true;- }- }- return expired;-};---/**- * Logs a message to the console.log if debug is set to true.- * @param {string} msg The message to log.- * @private- */-Cache.prototype.log_ = function(msg) {- if (this.debug_) {- console.log(msg);- }-};--// Establish the root object, `window` in the browser, or `global` on the server.-var root = this;--if (typeof module !== "undefined" && module.exports) {- module.exports = Cache;-} else if (typeof define == "function" && define.amd) {- define(function() { return Cache; });-} else {- root.Cache = Cache;-}--})();diff --git a/web/ext/main/jscache-gitba01cdc/cache.min.js b/web/ext/main/jscache-gitba01cdc/cache.min.jsdeleted file mode 100644index 6ba61a3c4..000000000--- a/web/ext/main/jscache-gitba01cdc/cache.min.js+++ /dev/null@@ -1 +0,0 @@-(function(){function Cache(maxSize,debug,storage){this.maxSize_=maxSize||-1;this.debug_=debug||false;this.storage_=storage||new Cache.BasicCacheStorage;this.fillFactor_=.75;this.stats_={};this.stats_["hits"]=0;this.stats_["misses"]=0;this.log_("Initialized cache with size "+maxSize)}Cache.Priority={LOW:1,NORMAL:2,HIGH:4};Cache.BasicCacheStorage=function(){this.items_={};this.count_=0};Cache.BasicCacheStorage.prototype.get=function(key){return this.items_[key]};Cache.BasicCacheStorage.prototype.set=function(key,value){if(typeof this.get(key)==="undefined")this.count_++;this.items_[key]=value};Cache.BasicCacheStorage.prototype.size=function(key,value){return this.count_};Cache.BasicCacheStorage.prototype.remove=function(key){var item=this.get(key);if(typeof item!=="undefined")this.count_--;delete this.items_[key];return item};Cache.BasicCacheStorage.prototype.keys=function(){var ret=[],p;for(p in this.items_)ret.push(p);return ret};Cache.LocalStorageCacheStorage=function(namespace){this.prefix_="cache-storage."+(namespace||"default")+".";var escapedPrefix=this.prefix_.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");this.regexp_=new RegExp("^"+escapedPrefix)};Cache.LocalStorageCacheStorage.prototype.get=function(key){var item=window.localStorage[this.prefix_+key];if(item)return JSON.parse(item);return null};Cache.LocalStorageCacheStorage.prototype.set=function(key,value){window.localStorage[this.prefix_+key]=JSON.stringify(value)};Cache.LocalStorageCacheStorage.prototype.size=function(key,value){return this.keys().length};Cache.LocalStorageCacheStorage.prototype.remove=function(key){var item=this.get(key);delete window.localStorage[this.prefix_+key];return item};Cache.LocalStorageCacheStorage.prototype.keys=function(){var ret=[],p;for(p in window.localStorage){if(p.match(this.regexp_))ret.push(p.replace(this.prefix_,""))}return ret};Cache.prototype.getItem=function(key){var item=this.storage_.get(key);if(item!=null){if(!this.isExpired_(item)){item.lastAccessed=(new Date).getTime()}else{this.removeItem(key);item=null}}var returnVal=item?item.value:null;if(returnVal){this.stats_["hits"]++;this.log_("Cache HIT for key "+key)}else{this.stats_["misses"]++;this.log_("Cache MISS for key "+key)}return returnVal};Cache._CacheItem=function(k,v,o){if(!k){throw new Error("key cannot be null or empty")}this.key=k;this.value=v;o=o||{};if(o.expirationAbsolute){o.expirationAbsolute=o.expirationAbsolute.getTime()}if(!o.priority){o.priority=Cache.Priority.NORMAL}this.options=o;this.lastAccessed=(new Date).getTime()};Cache.prototype.setItem=function(key,value,options){if(this.storage_.get(key)!=null){this.removeItem(key)}this.addItem_(new Cache._CacheItem(key,value,options));this.log_("Setting key "+key);if(this.maxSize_>0&&this.size()>this.maxSize_){var that=this;setTimeout(function(){that.purge_.call(that)},0)}};Cache.prototype.clear=function(){var keys=this.storage_.keys();for(var i=0;i<keys.length;i++){this.removeItem(keys[i])}this.log_("Cache cleared")};Cache.prototype.getStats=function(){return this.stats_};Cache.prototype.toHtmlString=function(){var returnStr=this.size()+" item(s) in cache<br /><ul>";var keys=this.storage_.keys();for(var i=0;i<keys.length;i++){var item=this.storage_.get(keys[i]);returnStr=returnStr+"<li>"+item.key.toString()+" = "+item.value.toString()+"</li>"}returnStr=returnStr+"</ul>";return returnStr};Cache.prototype.resize=function(newMaxSize){this.log_("Resizing Cache from "+this.maxSize_+" to "+newMaxSize);var oldMaxSize=this.maxSize_;this.maxSize_=newMaxSize;if(newMaxSize>0&&(oldMaxSize<0||newMaxSize<oldMaxSize)){if(this.size()>newMaxSize){this.purge_()}}this.log_("Resizing done")};Cache.prototype.purge_=function(){var tmparray=new Array;var purgeSize=Math.round(this.maxSize_*this.fillFactor_);if(this.maxSize_<0)purgeSize=this.size()*this.fillFactor_;var keys=this.storage_.keys();for(var i=0;i<keys.length;i++){var key=keys[i];var item=this.storage_.get(key);if(this.isExpired_(item)){this.removeItem(key)}else{tmparray.push(item)}}if(tmparray.length>purgeSize){tmparray=tmparray.sort(function(a,b){if(a.options.priority!=b.options.priority){return b.options.priority-a.options.priority}else{return b.lastAccessed-a.lastAccessed}});while(tmparray.length>purgeSize){var ritem=tmparray.pop();this.removeItem(ritem.key)}}this.log_("Purged cached")};Cache.prototype.addItem_=function(item,attemptedAlready){var cache=this;try{this.storage_.set(item.key,item)}catch(err){if(attemptedAlready){this.log_("Failed setting again, giving up: "+err.toString());throw err}this.log_("Error adding item, purging and trying again: "+err.toString());this.purge_();this.addItem_(item,true)}};Cache.prototype.removeItem=function(key){var item=this.storage_.remove(key);this.log_("removed key "+key);if(item&&item.options&&item.options.callback){setTimeout(function(){item.options.callback.call(null,item.key,item.value)},0)}return item?item.value:null};Cache.prototype.removeWhere=function(test){var keys=this.storage_.keys();for(var i=0;i<keys.length;i++){var key=keys[i];var item=this.storage_.get(key);if(test(key,item.value)===true){this.removeItem(key)}}};Cache.prototype.size=function(){return this.storage_.size()};Cache.prototype.isExpired_=function(item){var now=(new Date).getTime();var expired=false;if(item.options.expirationAbsolute&&item.options.expirationAbsolute<now){expired=true}if(!expired&&item.options.expirationSliding){var lastAccess=item.lastAccessed+item.options.expirationSliding*1e3;if(lastAccess<now){expired=true}}return expired};Cache.prototype.log_=function(msg){if(this.debug_){console.log(msg)}};var root=this;if(typeof module!=="undefined"&&module.exports){module.exports=Cache}else if(typeof define=="function"&&define.amd){define(function(){return Cache})}else{root.Cache=Cache}})();\ No newline at end of filediff --git a/web/ext/main/lodash-2.4.1/lodash.js b/web/ext/main/lodash-2.4.1/lodash.jsdeleted file mode 100644index d653e5aed..000000000--- a/web/ext/main/lodash-2.4.1/lodash.js+++ /dev/null@@ -1,6785 +0,0 @@-/**- * @license- * Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>- * Build: `lodash modern -o ./dist/lodash.js`- * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>- * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>- * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors- * Available under MIT license <http://lodash.com/license>- */-;(function() {-- /** Used as a safe reference for `undefined` in pre ES5 environments */- var undefined;-- /** Used to pool arrays and objects used internally */- var arrayPool = [],- objectPool = [];-- /** Used to generate unique IDs */- var idCounter = 0;-- /** Used to prefix keys to avoid issues with `__proto__` and properties on `Object.prototype` */- var keyPrefix = +new Date + '';-- /** Used as the size when optimizations are enabled for large arrays */- var largeArraySize = 75;-- /** Used as the max size of the `arrayPool` and `objectPool` */- var maxPoolSize = 40;-- /** Used to detect and test whitespace */- var whitespace = (- // whitespace- ' \t\x0B\f\xA0\ufeff' +-- // line terminators- '\n\r\u2028\u2029' +-- // unicode category "Zs" space separators- '\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000'- );-- /** Used to match empty string literals in compiled template source */- var reEmptyStringLeading = /\b__p \+= '';/g,- reEmptyStringMiddle = /\b(__p \+=) '' \+/g,- reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g;-- /**- * Used to match ES6 template delimiters- * http://people.mozilla.org/~jorendorff/es6-draft.html#sec-literals-string-literals- */- var reEsTemplate = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;-- /** Used to match regexp flags from their coerced string values */- var reFlags = /\w*$/;-- /** Used to detected named functions */- var reFuncName = /^\s*function[ \n\r\t]+\w/;-- /** Used to match "interpolate" template delimiters */- var reInterpolate = /<%=([\s\S]+?)%>/g;-- /** Used to match leading whitespace and zeros to be removed */- var reLeadingSpacesAndZeros = RegExp('^[' + whitespace + ']*0+(?=.$)');-- /** Used to ensure capturing order of template delimiters */- var reNoMatch = /($^)/;-- /** Used to detect functions containing a `this` reference */- var reThis = /\bthis\b/;-- /** Used to match unescaped characters in compiled string literals */- var reUnescapedString = /['\n\r\t\u2028\u2029\\]/g;-- /** Used to assign default `context` object properties */- var contextProps = [- 'Array', 'Boolean', 'Date', 'Function', 'Math', 'Number', 'Object',- 'RegExp', 'String', '_', 'attachEvent', 'clearTimeout', 'isFinite', 'isNaN',- 'parseInt', 'setTimeout'- ];-- /** Used to make template sourceURLs easier to identify */- var templateCounter = 0;-- /** `Object#toString` result shortcuts */- var argsClass = '[object Arguments]',- arrayClass = '[object Array]',- boolClass = '[object Boolean]',- dateClass = '[object Date]',- funcClass = '[object Function]',- numberClass = '[object Number]',- objectClass = '[object Object]',- regexpClass = '[object RegExp]',- stringClass = '[object String]';-- /** Used to identify object classifications that `_.clone` supports */- var cloneableClasses = {};- cloneableClasses[funcClass] = false;- cloneableClasses[argsClass] = cloneableClasses[arrayClass] =- cloneableClasses[boolClass] = cloneableClasses[dateClass] =- cloneableClasses[numberClass] = cloneableClasses[objectClass] =- cloneableClasses[regexpClass] = cloneableClasses[stringClass] = true;-- /** Used as an internal `_.debounce` options object */- var debounceOptions = {- 'leading': false,- 'maxWait': 0,- 'trailing': false- };-- /** Used as the property descriptor for `__bindData__` */- var descriptor = {- 'configurable': false,- 'enumerable': false,- 'value': null,- 'writable': false- };-- /** Used to determine if values are of the language type Object */- var objectTypes = {- 'boolean': false,- 'function': true,- 'object': true,- 'number': false,- 'string': false,- 'undefined': false- };-- /** Used to escape characters for inclusion in compiled string literals */- var stringEscapes = {- '\\': '\\',- "'": "'",- '\n': 'n',- '\r': 'r',- '\t': 't',- '\u2028': 'u2028',- '\u2029': 'u2029'- };-- /** Used as a reference to the global object */- var root = (objectTypes[typeof window] && window) || this;-- /** Detect free variable `exports` */- var freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && exports;-- /** Detect free variable `module` */- var freeModule = objectTypes[typeof module] && module && !module.nodeType && module;-- /** Detect the popular CommonJS extension `module.exports` */- var moduleExports = freeModule && freeModule.exports === freeExports && freeExports;-- /** Detect free variable `global` from Node.js or Browserified code and use it as `root` */- var freeGlobal = objectTypes[typeof global] && global;- if (freeGlobal && (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal)) {- root = freeGlobal;- }-- /*--------------------------------------------------------------------------*/-- /**- * The base implementation of `_.indexOf` without support for binary searches- * or `fromIndex` constraints.- *- * @private- * @param {Array} array The array to search.- * @param {*} value The value to search for.- * @param {number} [fromIndex=0] The index to search from.- * @returns {number} Returns the index of the matched value or `-1`.- */- function baseIndexOf(array, value, fromIndex) {- var index = (fromIndex || 0) - 1,- length = array ? array.length : 0;-- while (++index < length) {- if (array[index] === value) {- return index;- }- }- return -1;- }-- /**- * An implementation of `_.contains` for cache objects that mimics the return- * signature of `_.indexOf` by returning `0` if the value is found, else `-1`.- *- * @private- * @param {Object} cache The cache object to inspect.- * @param {*} value The value to search for.- * @returns {number} Returns `0` if `value` is found, else `-1`.- */- function cacheIndexOf(cache, value) {- var type = typeof value;- cache = cache.cache;-- if (type == 'boolean' || value == null) {- return cache[value] ? 0 : -1;- }- if (type != 'number' && type != 'string') {- type = 'object';- }- var key = type == 'number' ? value : keyPrefix + value;- cache = (cache = cache[type]) && cache[key];-- return type == 'object'- ? (cache && baseIndexOf(cache, value) > -1 ? 0 : -1)- : (cache ? 0 : -1);- }-- /**- * Adds a given value to the corresponding cache object.- *- * @private- * @param {*} value The value to add to the cache.- */- function cachePush(value) {- var cache = this.cache,- type = typeof value;-- if (type == 'boolean' || value == null) {- cache[value] = true;- } else {- if (type != 'number' && type != 'string') {- type = 'object';- }- var key = type == 'number' ? value : keyPrefix + value,- typeCache = cache[type] || (cache[type] = {});-- if (type == 'object') {- (typeCache[key] || (typeCache[key] = [])).push(value);- } else {- typeCache[key] = true;- }- }- }-- /**- * Used by `_.max` and `_.min` as the default callback when a given- * collection is a string value.- *- * @private- * @param {string} value The character to inspect.- * @returns {number} Returns the code unit of given character.- */- function charAtCallback(value) {- return value.charCodeAt(0);- }-- /**- * Used by `sortBy` to compare transformed `collection` elements, stable sorting- * them in ascending order.- *- * @private- * @param {Object} a The object to compare to `b`.- * @param {Object} b The object to compare to `a`.- * @returns {number} Returns the sort order indicator of `1` or `-1`.- */- function compareAscending(a, b) {- var ac = a.criteria,- bc = b.criteria,- index = -1,- length = ac.length;-- while (++index < length) {- var value = ac[index],- other = bc[index];-- if (value !== other) {- if (value > other || typeof value == 'undefined') {- return 1;- }- if (value < other || typeof other == 'undefined') {- return -1;- }- }- }- // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications- // that causes it, under certain circumstances, to return the same value for- // `a` and `b`. See https://github.com/jashkenas/underscore/pull/1247- //- // This also ensures a stable sort in V8 and other engines.- // See http://code.google.com/p/v8/issues/detail?id=90- return a.index - b.index;- }-- /**- * Creates a cache object to optimize linear searches of large arrays.- *- * @private- * @param {Array} [array=[]] The array to search.- * @returns {null|Object} Returns the cache object or `null` if caching should not be used.- */- function createCache(array) {- var index = -1,- length = array.length,- first = array[0],- mid = array[(length / 2) | 0],- last = array[length - 1];-- if (first && typeof first == 'object' &&- mid && typeof mid == 'object' && last && typeof last == 'object') {- return false;- }- var cache = getObject();- cache['false'] = cache['null'] = cache['true'] = cache['undefined'] = false;-- var result = getObject();- result.array = array;- result.cache = cache;- result.push = cachePush;-- while (++index < length) {- result.push(array[index]);- }- return result;- }-- /**- * Used by `template` to escape characters for inclusion in compiled- * string literals.- *- * @private- * @param {string} match The matched character to escape.- * @returns {string} Returns the escaped character.- */- function escapeStringChar(match) {- return '\\' + stringEscapes[match];- }-- /**- * Gets an array from the array pool or creates a new one if the pool is empty.- *- * @private- * @returns {Array} The array from the pool.- */- function getArray() {- return arrayPool.pop() || [];- }-- /**- * Gets an object from the object pool or creates a new one if the pool is empty.- *- * @private- * @returns {Object} The object from the pool.- */- function getObject() {- return objectPool.pop() || {- 'array': null,- 'cache': null,- 'criteria': null,- 'false': false,- 'index': 0,- 'null': false,- 'number': null,- 'object': null,- 'push': null,- 'string': null,- 'true': false,- 'undefined': false,- 'value': null- };- }-- /**- * Releases the given array back to the array pool.- *- * @private- * @param {Array} [array] The array to release.- */- function releaseArray(array) {- array.length = 0;- if (arrayPool.length < maxPoolSize) {- arrayPool.push(array);- }- }-- /**- * Releases the given object back to the object pool.- *- * @private- * @param {Object} [object] The object to release.- */- function releaseObject(object) {- var cache = object.cache;- if (cache) {- releaseObject(cache);- }- object.array = object.cache = object.criteria = object.object = object.number = object.string = object.value = null;- if (objectPool.length < maxPoolSize) {- objectPool.push(object);- }- }-- /**- * Slices the `collection` from the `start` index up to, but not including,- * the `end` index.- *- * Note: This function is used instead of `Array#slice` to support node lists- * in IE < 9 and to ensure dense arrays are returned.- *- * @private- * @param {Array|Object|string} collection The collection to slice.- * @param {number} start The start index.- * @param {number} end The end index.- * @returns {Array} Returns the new array.- */- function slice(array, start, end) {- start || (start = 0);- if (typeof end == 'undefined') {- end = array ? array.length : 0;- }- var index = -1,- length = end - start || 0,- result = Array(length < 0 ? 0 : length);-- while (++index < length) {- result[index] = array[start + index];- }- return result;- }-- /*--------------------------------------------------------------------------*/-- /**- * Create a new `lodash` function using the given context object.- *- * @static- * @memberOf _- * @category Utilities- * @param {Object} [context=root] The context object.- * @returns {Function} Returns the `lodash` function.- */- function runInContext(context) {- // Avoid issues with some ES3 environments that attempt to use values, named- // after built-in constructors like `Object`, for the creation of literals.- // ES5 clears this up by stating that literals must use built-in constructors.- // See http://es5.github.io/#x11.1.5.- context = context ? _.defaults(root.Object(), context, _.pick(root, contextProps)) : root;-- /** Native constructor references */- var Array = context.Array,- Boolean = context.Boolean,- Date = context.Date,- Function = context.Function,- Math = context.Math,- Number = context.Number,- Object = context.Object,- RegExp = context.RegExp,- String = context.String,- TypeError = context.TypeError;-- /**- * Used for `Array` method references.- *- * Normally `Array.prototype` would suffice, however, using an array literal- * avoids issues in Narwhal.- */- var arrayRef = [];-- /** Used for native method references */- var objectProto = Object.prototype;-- /** Used to restore the original `_` reference in `noConflict` */- var oldDash = context._;-- /** Used to resolve the internal [[Class]] of values */- var toString = objectProto.toString;-- /** Used to detect if a method is native */- var reNative = RegExp('^' +- String(toString)- .replace(/[.*+?^${}()|[\]\\]/g, '\\$&')- .replace(/toString| for [^\]]+/g, '.*?') + '$'- );-- /** Native method shortcuts */- var ceil = Math.ceil,- clearTimeout = context.clearTimeout,- floor = Math.floor,- fnToString = Function.prototype.toString,- getPrototypeOf = isNative(getPrototypeOf = Object.getPrototypeOf) && getPrototypeOf,- hasOwnProperty = objectProto.hasOwnProperty,- push = arrayRef.push,- setTimeout = context.setTimeout,- splice = arrayRef.splice,- unshift = arrayRef.unshift;-- /** Used to set meta data on functions */- var defineProperty = (function() {- // IE 8 only accepts DOM elements- try {- var o = {},- func = isNative(func = Object.defineProperty) && func,- result = func(o, o, o) && func;- } catch(e) { }- return result;- }());-- /* Native method shortcuts for methods with the same name as other `lodash` methods */- var nativeCreate = isNative(nativeCreate = Object.create) && nativeCreate,- nativeIsArray = isNative(nativeIsArray = Array.isArray) && nativeIsArray,- nativeIsFinite = context.isFinite,- nativeIsNaN = context.isNaN,- nativeKeys = isNative(nativeKeys = Object.keys) && nativeKeys,- nativeMax = Math.max,- nativeMin = Math.min,- nativeParseInt = context.parseInt,- nativeRandom = Math.random;-- /** Used to lookup a built-in constructor by [[Class]] */- var ctorByClass = {};- ctorByClass[arrayClass] = Array;- ctorByClass[boolClass] = Boolean;- ctorByClass[dateClass] = Date;- ctorByClass[funcClass] = Function;- ctorByClass[objectClass] = Object;- ctorByClass[numberClass] = Number;- ctorByClass[regexpClass] = RegExp;- ctorByClass[stringClass] = String;-- /*--------------------------------------------------------------------------*/-- /**- * Creates a `lodash` object which wraps the given value to enable intuitive- * method chaining.- *- * In addition to Lo-Dash methods, wrappers also have the following `Array` methods:- * `concat`, `join`, `pop`, `push`, `reverse`, `shift`, `slice`, `sort`, `splice`,- * and `unshift`- *- * Chaining is supported in custom builds as long as the `value` method is- * implicitly or explicitly included in the build.- *- * The chainable wrapper functions are:- * `after`, `assign`, `bind`, `bindAll`, `bindKey`, `chain`, `compact`,- * `compose`, `concat`, `countBy`, `create`, `createCallback`, `curry`,- * `debounce`, `defaults`, `defer`, `delay`, `difference`, `filter`, `flatten`,- * `forEach`, `forEachRight`, `forIn`, `forInRight`, `forOwn`, `forOwnRight`,- * `functions`, `groupBy`, `indexBy`, `initial`, `intersection`, `invert`,- * `invoke`, `keys`, `map`, `max`, `memoize`, `merge`, `min`, `object`, `omit`,- * `once`, `pairs`, `partial`, `partialRight`, `pick`, `pluck`, `pull`, `push`,- * `range`, `reject`, `remove`, `rest`, `reverse`, `shuffle`, `slice`, `sort`,- * `sortBy`, `splice`, `tap`, `throttle`, `times`, `toArray`, `transform`,- * `union`, `uniq`, `unshift`, `unzip`, `values`, `where`, `without`, `wrap`,- * and `zip`- *- * The non-chainable wrapper functions are:- * `clone`, `cloneDeep`, `contains`, `escape`, `every`, `find`, `findIndex`,- * `findKey`, `findLast`, `findLastIndex`, `findLastKey`, `has`, `identity`,- * `indexOf`, `isArguments`, `isArray`, `isBoolean`, `isDate`, `isElement`,- * `isEmpty`, `isEqual`, `isFinite`, `isFunction`, `isNaN`, `isNull`, `isNumber`,- * `isObject`, `isPlainObject`, `isRegExp`, `isString`, `isUndefined`, `join`,- * `lastIndexOf`, `mixin`, `noConflict`, `parseInt`, `pop`, `random`, `reduce`,- * `reduceRight`, `result`, `shift`, `size`, `some`, `sortedIndex`, `runInContext`,- * `template`, `unescape`, `uniqueId`, and `value`- *- * The wrapper functions `first` and `last` return wrapped values when `n` is- * provided, otherwise they return unwrapped values.- *- * Explicit chaining can be enabled by using the `_.chain` method.- *- * @name _- * @constructor- * @category Chaining- * @param {*} value The value to wrap in a `lodash` instance.- * @returns {Object} Returns a `lodash` instance.- * @example- *- * var wrapped = _([1, 2, 3]);- *- * // returns an unwrapped value- * wrapped.reduce(function(sum, num) {- * return sum + num;- * });- * // => 6- *- * // returns a wrapped value- * var squares = wrapped.map(function(num) {- * return num * num;- * });- *- * _.isArray(squares);- * // => false- *- * _.isArray(squares.value());- * // => true- */- function lodash(value) {- // don't wrap if already wrapped, even if wrapped by a different `lodash` constructor- return (value && typeof value == 'object' && !isArray(value) && hasOwnProperty.call(value, '__wrapped__'))- ? value- : new lodashWrapper(value);- }-- /**- * A fast path for creating `lodash` wrapper objects.- *- * @private- * @param {*} value The value to wrap in a `lodash` instance.- * @param {boolean} chainAll A flag to enable chaining for all methods- * @returns {Object} Returns a `lodash` instance.- */- function lodashWrapper(value, chainAll) {- this.__chain__ = !!chainAll;- this.__wrapped__ = value;- }- // ensure `new lodashWrapper` is an instance of `lodash`- lodashWrapper.prototype = lodash.prototype;-- /**- * An object used to flag environments features.- *- * @static- * @memberOf _- * @type Object- */- var support = lodash.support = {};-- /**- * Detect if functions can be decompiled by `Function#toString`- * (all but PS3 and older Opera mobile browsers & avoided in Windows 8 apps).- *- * @memberOf _.support- * @type boolean- */- support.funcDecomp = !isNative(context.WinRTError) && reThis.test(runInContext);-- /**- * Detect if `Function#name` is supported (all but IE).- *- * @memberOf _.support- * @type boolean- */- support.funcNames = typeof Function.name == 'string';-- /**- * By default, the template delimiters used by Lo-Dash are similar to those in- * embedded Ruby (ERB). Change the following template settings to use alternative- * delimiters.- *- * @static- * @memberOf _- * @type Object- */- lodash.templateSettings = {-- /**- * Used to detect `data` property values to be HTML-escaped.- *- * @memberOf _.templateSettings- * @type RegExp- */- 'escape': /<%-([\s\S]+?)%>/g,-- /**- * Used to detect code to be evaluated.- *- * @memberOf _.templateSettings- * @type RegExp- */- 'evaluate': /<%([\s\S]+?)%>/g,-- /**- * Used to detect `data` property values to inject.- *- * @memberOf _.templateSettings- * @type RegExp- */- 'interpolate': reInterpolate,-- /**- * Used to reference the data object in the template text.- *- * @memberOf _.templateSettings- * @type string- */- 'variable': '',-- /**- * Used to import variables into the compiled template.- *- * @memberOf _.templateSettings- * @type Object- */- 'imports': {-- /**- * A reference to the `lodash` function.- *- * @memberOf _.templateSettings.imports- * @type Function- */- '_': lodash- }- };-- /*--------------------------------------------------------------------------*/-- /**- * The base implementation of `_.bind` that creates the bound function and- * sets its meta data.- *- * @private- * @param {Array} bindData The bind data array.- * @returns {Function} Returns the new bound function.- */- function baseBind(bindData) {- var func = bindData[0],- partialArgs = bindData[2],- thisArg = bindData[4];-- function bound() {- // `Function#bind` spec- // http://es5.github.io/#x15.3.4.5- if (partialArgs) {- // avoid `arguments` object deoptimizations by using `slice` instead- // of `Array.prototype.slice.call` and not assigning `arguments` to a- // variable as a ternary expression- var args = slice(partialArgs);- push.apply(args, arguments);- }- // mimic the constructor's `return` behavior- // http://es5.github.io/#x13.2.2- if (this instanceof bound) {- // ensure `new bound` is an instance of `func`- var thisBinding = baseCreate(func.prototype),- result = func.apply(thisBinding, args || arguments);- return isObject(result) ? result : thisBinding;- }- return func.apply(thisArg, args || arguments);- }- setBindData(bound, bindData);- return bound;- }-- /**- * The base implementation of `_.clone` without argument juggling or support- * for `thisArg` binding.- *- * @private- * @param {*} value The value to clone.- * @param {boolean} [isDeep=false] Specify a deep clone.- * @param {Function} [callback] The function to customize cloning values.- * @param {Array} [stackA=[]] Tracks traversed source objects.- * @param {Array} [stackB=[]] Associates clones with source counterparts.- * @returns {*} Returns the cloned value.- */- function baseClone(value, isDeep, callback, stackA, stackB) {- if (callback) {- var result = callback(value);- if (typeof result != 'undefined') {- return result;- }- }- // inspect [[Class]]- var isObj = isObject(value);- if (isObj) {- var className = toString.call(value);- if (!cloneableClasses[className]) {- return value;- }- var ctor = ctorByClass[className];- switch (className) {- case boolClass:- case dateClass:- return new ctor(+value);-- case numberClass:- case stringClass:- return new ctor(value);-- case regexpClass:- result = ctor(value.source, reFlags.exec(value));- result.lastIndex = value.lastIndex;- return result;- }- } else {- return value;- }- var isArr = isArray(value);- if (isDeep) {- // check for circular references and return corresponding clone- var initedStack = !stackA;- stackA || (stackA = getArray());- stackB || (stackB = getArray());-- var length = stackA.length;- while (length--) {- if (stackA[length] == value) {- return stackB[length];- }- }- result = isArr ? ctor(value.length) : {};- }- else {- result = isArr ? slice(value) : assign({}, value);- }- // add array properties assigned by `RegExp#exec`- if (isArr) {- if (hasOwnProperty.call(value, 'index')) {- result.index = value.index;- }- if (hasOwnProperty.call(value, 'input')) {- result.input = value.input;- }- }- // exit for shallow clone- if (!isDeep) {- return result;- }- // add the source value to the stack of traversed objects- // and associate it with its clone- stackA.push(value);- stackB.push(result);-- // recursively populate clone (susceptible to call stack limits)- (isArr ? forEach : forOwn)(value, function(objValue, key) {- result[key] = baseClone(objValue, isDeep, callback, stackA, stackB);- });-- if (initedStack) {- releaseArray(stackA);- releaseArray(stackB);- }- return result;- }-- /**- * The base implementation of `_.create` without support for assigning- * properties to the created object.- *- * @private- * @param {Object} prototype The object to inherit from.- * @returns {Object} Returns the new object.- */- function baseCreate(prototype, properties) {- return isObject(prototype) ? nativeCreate(prototype) : {};- }- // fallback for browsers without `Object.create`- if (!nativeCreate) {- baseCreate = (function() {- function Object() {}- return function(prototype) {- if (isObject(prototype)) {- Object.prototype = prototype;- var result = new Object;- Object.prototype = null;- }- return result || context.Object();- };- }());- }-- /**- * The base implementation of `_.createCallback` without support for creating- * "_.pluck" or "_.where" style callbacks.- *- * @private- * @param {*} [func=identity] The value to convert to a callback.- * @param {*} [thisArg] The `this` binding of the created callback.- * @param {number} [argCount] The number of arguments the callback accepts.- * @returns {Function} Returns a callback function.- */- function baseCreateCallback(func, thisArg, argCount) {- if (typeof func != 'function') {- return identity;- }- // exit early for no `thisArg` or already bound by `Function#bind`- if (typeof thisArg == 'undefined' || !('prototype' in func)) {- return func;- }- var bindData = func.__bindData__;- if (typeof bindData == 'undefined') {- if (support.funcNames) {- bindData = !func.name;- }- bindData = bindData || !support.funcDecomp;- if (!bindData) {- var source = fnToString.call(func);- if (!support.funcNames) {- bindData = !reFuncName.test(source);- }- if (!bindData) {- // checks if `func` references the `this` keyword and stores the result- bindData = reThis.test(source);- setBindData(func, bindData);- }- }- }- // exit early if there are no `this` references or `func` is bound- if (bindData === false || (bindData !== true && bindData[1] & 1)) {- return func;- }- switch (argCount) {- case 1: return function(value) {- return func.call(thisArg, value);- };- case 2: return function(a, b) {- return func.call(thisArg, a, b);- };- case 3: return function(value, index, collection) {- return func.call(thisArg, value, index, collection);- };- case 4: return function(accumulator, value, index, collection) {- return func.call(thisArg, accumulator, value, index, collection);- };- }- return bind(func, thisArg);- }-- /**- * The base implementation of `createWrapper` that creates the wrapper and- * sets its meta data.- *- * @private- * @param {Array} bindData The bind data array.- * @returns {Function} Returns the new function.- */- function baseCreateWrapper(bindData) {- var func = bindData[0],- bitmask = bindData[1],- partialArgs = bindData[2],- partialRightArgs = bindData[3],- thisArg = bindData[4],- arity = bindData[5];-- var isBind = bitmask & 1,- isBindKey = bitmask & 2,- isCurry = bitmask & 4,- isCurryBound = bitmask & 8,- key = func;-- function bound() {- var thisBinding = isBind ? thisArg : this;- if (partialArgs) {- var args = slice(partialArgs);- push.apply(args, arguments);- }- if (partialRightArgs || isCurry) {- args || (args = slice(arguments));- if (partialRightArgs) {- push.apply(args, partialRightArgs);- }- if (isCurry && args.length < arity) {- bitmask |= 16 & ~32;- return baseCreateWrapper([func, (isCurryBound ? bitmask : bitmask & ~3), args, null, thisArg, arity]);- }- }- args || (args = arguments);- if (isBindKey) {- func = thisBinding[key];- }- if (this instanceof bound) {- thisBinding = baseCreate(func.prototype);- var result = func.apply(thisBinding, args);- return isObject(result) ? result : thisBinding;- }- return func.apply(thisBinding, args);- }- setBindData(bound, bindData);- return bound;- }-- /**- * The base implementation of `_.difference` that accepts a single array- * of values to exclude.- *- * @private- * @param {Array} array The array to process.- * @param {Array} [values] The array of values to exclude.- * @returns {Array} Returns a new array of filtered values.- */- function baseDifference(array, values) {- var index = -1,- indexOf = getIndexOf(),- length = array ? array.length : 0,- isLarge = length >= largeArraySize && indexOf === baseIndexOf,- result = [];-- if (isLarge) {- var cache = createCache(values);- if (cache) {- indexOf = cacheIndexOf;- values = cache;- } else {- isLarge = false;- }- }- while (++index < length) {- var value = array[index];- if (indexOf(values, value) < 0) {- result.push(value);- }- }- if (isLarge) {- releaseObject(values);- }- return result;- }-- /**- * The base implementation of `_.flatten` without support for callback- * shorthands or `thisArg` binding.- *- * @private- * @param {Array} array The array to flatten.- * @param {boolean} [isShallow=false] A flag to restrict flattening to a single level.- * @param {boolean} [isStrict=false] A flag to restrict flattening to arrays and `arguments` objects.- * @param {number} [fromIndex=0] The index to start from.- * @returns {Array} Returns a new flattened array.- */- function baseFlatten(array, isShallow, isStrict, fromIndex) {- var index = (fromIndex || 0) - 1,- length = array ? array.length : 0,- result = [];-- while (++index < length) {- var value = array[index];-- if (value && typeof value == 'object' && typeof value.length == 'number'- && (isArray(value) || isArguments(value))) {- // recursively flatten arrays (susceptible to call stack limits)- if (!isShallow) {- value = baseFlatten(value, isShallow, isStrict);- }- var valIndex = -1,- valLength = value.length,- resIndex = result.length;-- result.length += valLength;- while (++valIndex < valLength) {- result[resIndex++] = value[valIndex];- }- } else if (!isStrict) {- result.push(value);- }- }- return result;- }-- /**- * The base implementation of `_.isEqual`, without support for `thisArg` binding,- * that allows partial "_.where" style comparisons.- *- * @private- * @param {*} a The value to compare.- * @param {*} b The other value to compare.- * @param {Function} [callback] The function to customize comparing values.- * @param {Function} [isWhere=false] A flag to indicate performing partial comparisons.- * @param {Array} [stackA=[]] Tracks traversed `a` objects.- * @param {Array} [stackB=[]] Tracks traversed `b` objects.- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.- */- function baseIsEqual(a, b, callback, isWhere, stackA, stackB) {- // used to indicate that when comparing objects, `a` has at least the properties of `b`- if (callback) {- var result = callback(a, b);- if (typeof result != 'undefined') {- return !!result;- }- }- // exit early for identical values- if (a === b) {- // treat `+0` vs. `-0` as not equal- return a !== 0 || (1 / a == 1 / b);- }- var type = typeof a,- otherType = typeof b;-- // exit early for unlike primitive values- if (a === a &&- !(a && objectTypes[type]) &&- !(b && objectTypes[otherType])) {- return false;- }- // exit early for `null` and `undefined` avoiding ES3's Function#call behavior- // http://es5.github.io/#x15.3.4.4- if (a == null || b == null) {- return a === b;- }- // compare [[Class]] names- var className = toString.call(a),- otherClass = toString.call(b);-- if (className == argsClass) {- className = objectClass;- }- if (otherClass == argsClass) {- otherClass = objectClass;- }- if (className != otherClass) {- return false;- }- switch (className) {- case boolClass:- case dateClass:- // coerce dates and booleans to numbers, dates to milliseconds and booleans- // to `1` or `0` treating invalid dates coerced to `NaN` as not equal- return +a == +b;-- case numberClass:- // treat `NaN` vs. `NaN` as equal- return (a != +a)- ? b != +b- // but treat `+0` vs. `-0` as not equal- : (a == 0 ? (1 / a == 1 / b) : a == +b);-- case regexpClass:- case stringClass:- // coerce regexes to strings (http://es5.github.io/#x15.10.6.4)- // treat string primitives and their corresponding object instances as equal- return a == String(b);- }- var isArr = className == arrayClass;- if (!isArr) {- // unwrap any `lodash` wrapped values- var aWrapped = hasOwnProperty.call(a, '__wrapped__'),- bWrapped = hasOwnProperty.call(b, '__wrapped__');-- if (aWrapped || bWrapped) {- return baseIsEqual(aWrapped ? a.__wrapped__ : a, bWrapped ? b.__wrapped__ : b, callback, isWhere, stackA, stackB);- }- // exit for functions and DOM nodes- if (className != objectClass) {- return false;- }- // in older versions of Opera, `arguments` objects have `Array` constructors- var ctorA = a.constructor,- ctorB = b.constructor;-- // non `Object` object instances with different constructors are not equal- if (ctorA != ctorB &&- !(isFunction(ctorA) && ctorA instanceof ctorA && isFunction(ctorB) && ctorB instanceof ctorB) &&- ('constructor' in a && 'constructor' in b)- ) {- return false;- }- }- // assume cyclic structures are equal- // the algorithm for detecting cyclic structures is adapted from ES 5.1- // section 15.12.3, abstract operation `JO` (http://es5.github.io/#x15.12.3)- var initedStack = !stackA;- stackA || (stackA = getArray());- stackB || (stackB = getArray());-- var length = stackA.length;- while (length--) {- if (stackA[length] == a) {- return stackB[length] == b;- }- }- var size = 0;- result = true;-- // add `a` and `b` to the stack of traversed objects- stackA.push(a);- stackB.push(b);-- // recursively compare objects and arrays (susceptible to call stack limits)- if (isArr) {- // compare lengths to determine if a deep comparison is necessary- length = a.length;- size = b.length;- result = size == length;-- if (result || isWhere) {- // deep compare the contents, ignoring non-numeric properties- while (size--) {- var index = length,- value = b[size];-- if (isWhere) {- while (index--) {- if ((result = baseIsEqual(a[index], value, callback, isWhere, stackA, stackB))) {- break;- }- }- } else if (!(result = baseIsEqual(a[size], value, callback, isWhere, stackA, stackB))) {- break;- }- }- }- }- else {- // deep compare objects using `forIn`, instead of `forOwn`, to avoid `Object.keys`- // which, in this case, is more costly- forIn(b, function(value, key, b) {- if (hasOwnProperty.call(b, key)) {- // count the number of properties.- size++;- // deep compare each property value.- return (result = hasOwnProperty.call(a, key) && baseIsEqual(a[key], value, callback, isWhere, stackA, stackB));- }- });-- if (result && !isWhere) {- // ensure both objects have the same number of properties- forIn(a, function(value, key, a) {- if (hasOwnProperty.call(a, key)) {- // `size` will be `-1` if `a` has more properties than `b`- return (result = --size > -1);- }- });- }- }- stackA.pop();- stackB.pop();-- if (initedStack) {- releaseArray(stackA);- releaseArray(stackB);- }- return result;- }-- /**- * The base implementation of `_.merge` without argument juggling or support- * for `thisArg` binding.- *- * @private- * @param {Object} object The destination object.- * @param {Object} source The source object.- * @param {Function} [callback] The function to customize merging properties.- * @param {Array} [stackA=[]] Tracks traversed source objects.- * @param {Array} [stackB=[]] Associates values with source counterparts.- */- function baseMerge(object, source, callback, stackA, stackB) {- (isArray(source) ? forEach : forOwn)(source, function(source, key) {- var found,- isArr,- result = source,- value = object[key];-- if (source && ((isArr = isArray(source)) || isPlainObject(source))) {- // avoid merging previously merged cyclic sources- var stackLength = stackA.length;- while (stackLength--) {- if ((found = stackA[stackLength] == source)) {- value = stackB[stackLength];- break;- }- }- if (!found) {- var isShallow;- if (callback) {- result = callback(value, source);- if ((isShallow = typeof result != 'undefined')) {- value = result;- }- }- if (!isShallow) {- value = isArr- ? (isArray(value) ? value : [])- : (isPlainObject(value) ? value : {});- }- // add `source` and associated `value` to the stack of traversed objects- stackA.push(source);- stackB.push(value);-- // recursively merge objects and arrays (susceptible to call stack limits)- if (!isShallow) {- baseMerge(value, source, callback, stackA, stackB);- }- }- }- else {- if (callback) {- result = callback(value, source);- if (typeof result == 'undefined') {- result = source;- }- }- if (typeof result != 'undefined') {- value = result;- }- }- object[key] = value;- });- }-- /**- * The base implementation of `_.random` without argument juggling or support- * for returning floating-point numbers.- *- * @private- * @param {number} min The minimum possible value.- * @param {number} max The maximum possible value.- * @returns {number} Returns a random number.- */- function baseRandom(min, max) {- return min + floor(nativeRandom() * (max - min + 1));- }-- /**- * The base implementation of `_.uniq` without support for callback shorthands- * or `thisArg` binding.- *- * @private- * @param {Array} array The array to process.- * @param {boolean} [isSorted=false] A flag to indicate that `array` is sorted.- * @param {Function} [callback] The function called per iteration.- * @returns {Array} Returns a duplicate-value-free array.- */- function baseUniq(array, isSorted, callback) {- var index = -1,- indexOf = getIndexOf(),- length = array ? array.length : 0,- result = [];-- var isLarge = !isSorted && length >= largeArraySize && indexOf === baseIndexOf,- seen = (callback || isLarge) ? getArray() : result;-- if (isLarge) {- var cache = createCache(seen);- indexOf = cacheIndexOf;- seen = cache;- }- while (++index < length) {- var value = array[index],- computed = callback ? callback(value, index, array) : value;-- if (isSorted- ? !index || seen[seen.length - 1] !== computed- : indexOf(seen, computed) < 0- ) {- if (callback || isLarge) {- seen.push(computed);- }- result.push(value);- }- }- if (isLarge) {- releaseArray(seen.array);- releaseObject(seen);- } else if (callback) {- releaseArray(seen);- }- return result;- }-- /**- * Creates a function that aggregates a collection, creating an object composed- * of keys generated from the results of running each element of the collection- * through a callback. The given `setter` function sets the keys and values- * of the composed object.- *- * @private- * @param {Function} setter The setter function.- * @returns {Function} Returns the new aggregator function.- */- function createAggregator(setter) {- return function(collection, callback, thisArg) {- var result = {};- callback = lodash.createCallback(callback, thisArg, 3);-- var index = -1,- length = collection ? collection.length : 0;-- if (typeof length == 'number') {- while (++index < length) {- var value = collection[index];- setter(result, value, callback(value, index, collection), collection);- }- } else {- forOwn(collection, function(value, key, collection) {- setter(result, value, callback(value, key, collection), collection);- });- }- return result;- };- }-- /**- * Creates a function that, when called, either curries or invokes `func`- * with an optional `this` binding and partially applied arguments.- *- * @private- * @param {Function|string} func The function or method name to reference.- * @param {number} bitmask The bitmask of method flags to compose.- * The bitmask may be composed of the following flags:- * 1 - `_.bind`- * 2 - `_.bindKey`- * 4 - `_.curry`- * 8 - `_.curry` (bound)- * 16 - `_.partial`- * 32 - `_.partialRight`- * @param {Array} [partialArgs] An array of arguments to prepend to those- * provided to the new function.- * @param {Array} [partialRightArgs] An array of arguments to append to those- * provided to the new function.- * @param {*} [thisArg] The `this` binding of `func`.- * @param {number} [arity] The arity of `func`.- * @returns {Function} Returns the new function.- */- function createWrapper(func, bitmask, partialArgs, partialRightArgs, thisArg, arity) {- var isBind = bitmask & 1,- isBindKey = bitmask & 2,- isCurry = bitmask & 4,- isCurryBound = bitmask & 8,- isPartial = bitmask & 16,- isPartialRight = bitmask & 32;-- if (!isBindKey && !isFunction(func)) {- throw new TypeError;- }- if (isPartial && !partialArgs.length) {- bitmask &= ~16;- isPartial = partialArgs = false;- }- if (isPartialRight && !partialRightArgs.length) {- bitmask &= ~32;- isPartialRight = partialRightArgs = false;- }- var bindData = func && func.__bindData__;- if (bindData && bindData !== true) {- // clone `bindData`- bindData = slice(bindData);- if (bindData[2]) {- bindData[2] = slice(bindData[2]);- }- if (bindData[3]) {- bindData[3] = slice(bindData[3]);- }- // set `thisBinding` is not previously bound- if (isBind && !(bindData[1] & 1)) {- bindData[4] = thisArg;- }- // set if previously bound but not currently (subsequent curried functions)- if (!isBind && bindData[1] & 1) {- bitmask |= 8;- }- // set curried arity if not yet set- if (isCurry && !(bindData[1] & 4)) {- bindData[5] = arity;- }- // append partial left arguments- if (isPartial) {- push.apply(bindData[2] || (bindData[2] = []), partialArgs);- }- // append partial right arguments- if (isPartialRight) {- unshift.apply(bindData[3] || (bindData[3] = []), partialRightArgs);- }- // merge flags- bindData[1] |= bitmask;- return createWrapper.apply(null, bindData);- }- // fast path for `_.bind`- var creater = (bitmask == 1 || bitmask === 17) ? baseBind : baseCreateWrapper;- return creater([func, bitmask, partialArgs, partialRightArgs, thisArg, arity]);- }-- /**- * Used by `escape` to convert characters to HTML entities.- *- * @private- * @param {string} match The matched character to escape.- * @returns {string} Returns the escaped character.- */- function escapeHtmlChar(match) {- return htmlEscapes[match];- }-- /**- * Gets the appropriate "indexOf" function. If the `_.indexOf` method is- * customized, this method returns the custom method, otherwise it returns- * the `baseIndexOf` function.- *- * @private- * @returns {Function} Returns the "indexOf" function.- */- function getIndexOf() {- var result = (result = lodash.indexOf) === indexOf ? baseIndexOf : result;- return result;- }-- /**- * Checks if `value` is a native function.- *- * @private- * @param {*} value The value to check.- * @returns {boolean} Returns `true` if the `value` is a native function, else `false`.- */- function isNative(value) {- return typeof value == 'function' && reNative.test(value);- }-- /**- * Sets `this` binding data on a given function.- *- * @private- * @param {Function} func The function to set data on.- * @param {Array} value The data array to set.- */- var setBindData = !defineProperty ? noop : function(func, value) {- descriptor.value = value;- defineProperty(func, '__bindData__', descriptor);- };-- /**- * A fallback implementation of `isPlainObject` which checks if a given value- * is an object created by the `Object` constructor, assuming objects created- * by the `Object` constructor have no inherited enumerable properties and that- * there are no `Object.prototype` extensions.- *- * @private- * @param {*} value The value to check.- * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.- */- function shimIsPlainObject(value) {- var ctor,- result;-- // avoid non Object objects, `arguments` objects, and DOM elements- if (!(value && toString.call(value) == objectClass) ||- (ctor = value.constructor, isFunction(ctor) && !(ctor instanceof ctor))) {- return false;- }- // In most environments an object's own properties are iterated before- // its inherited properties. If the last iterated property is an object's- // own property then there are no inherited enumerable properties.- forIn(value, function(value, key) {- result = key;- });- return typeof result == 'undefined' || hasOwnProperty.call(value, result);- }-- /**- * Used by `unescape` to convert HTML entities to characters.- *- * @private- * @param {string} match The matched character to unescape.- * @returns {string} Returns the unescaped character.- */- function unescapeHtmlChar(match) {- return htmlUnescapes[match];- }-- /*--------------------------------------------------------------------------*/-- /**- * Checks if `value` is an `arguments` object.- *- * @static- * @memberOf _- * @category Objects- * @param {*} value The value to check.- * @returns {boolean} Returns `true` if the `value` is an `arguments` object, else `false`.- * @example- *- * (function() { return _.isArguments(arguments); })(1, 2, 3);- * // => true- *- * _.isArguments([1, 2, 3]);- * // => false- */- function isArguments(value) {- return value && typeof value == 'object' && typeof value.length == 'number' &&- toString.call(value) == argsClass || false;- }-- /**- * Checks if `value` is an array.- *- * @static- * @memberOf _- * @type Function- * @category Objects- * @param {*} value The value to check.- * @returns {boolean} Returns `true` if the `value` is an array, else `false`.- * @example- *- * (function() { return _.isArray(arguments); })();- * // => false- *- * _.isArray([1, 2, 3]);- * // => true- */- var isArray = nativeIsArray || function(value) {- return value && typeof value == 'object' && typeof value.length == 'number' &&- toString.call(value) == arrayClass || false;- };-- /**- * A fallback implementation of `Object.keys` which produces an array of the- * given object's own enumerable property names.- *- * @private- * @type Function- * @param {Object} object The object to inspect.- * @returns {Array} Returns an array of property names.- */- var shimKeys = function(object) {- var index, iterable = object, result = [];- if (!iterable) return result;- if (!(objectTypes[typeof object])) return result;- for (index in iterable) {- if (hasOwnProperty.call(iterable, index)) {- result.push(index);- }- }- return result- };-- /**- * Creates an array composed of the own enumerable property names of an object.- *- * @static- * @memberOf _- * @category Objects- * @param {Object} object The object to inspect.- * @returns {Array} Returns an array of property names.- * @example- *- * _.keys({ 'one': 1, 'two': 2, 'three': 3 });- * // => ['one', 'two', 'three'] (property order is not guaranteed across environments)- */- var keys = !nativeKeys ? shimKeys : function(object) {- if (!isObject(object)) {- return [];- }- return nativeKeys(object);- };-- /**- * Used to convert characters to HTML entities:- *- * Though the `>` character is escaped for symmetry, characters like `>` and `/`- * don't require escaping in HTML and have no special meaning unless they're part- * of a tag or an unquoted attribute value.- * http://mathiasbynens.be/notes/ambiguous-ampersands (under "semi-related fun fact")- */- var htmlEscapes = {- '&': '&',- '<': '<',- '>': '>',- '"': '"',- "'": '''- };-- /** Used to convert HTML entities to characters */- var htmlUnescapes = invert(htmlEscapes);-- /** Used to match HTML entities and HTML characters */- var reEscapedHtml = RegExp('(' + keys(htmlUnescapes).join('|') + ')', 'g'),- reUnescapedHtml = RegExp('[' + keys(htmlEscapes).join('') + ']', 'g');-- /*--------------------------------------------------------------------------*/-- /**- * Assigns own enumerable properties of source object(s) to the destination- * object. Subsequent sources will overwrite property assignments of previous- * sources. If a callback is provided it will be executed to produce the- * assigned values. The callback is bound to `thisArg` and invoked with two- * arguments; (objectValue, sourceValue).- *- * @static- * @memberOf _- * @type Function- * @alias extend- * @category Objects- * @param {Object} object The destination object.- * @param {...Object} [source] The source objects.- * @param {Function} [callback] The function to customize assigning values.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Object} Returns the destination object.- * @example- *- * _.assign({ 'name': 'fred' }, { 'employer': 'slate' });- * // => { 'name': 'fred', 'employer': 'slate' }- *- * var defaults = _.partialRight(_.assign, function(a, b) {- * return typeof a == 'undefined' ? b : a;- * });- *- * var object = { 'name': 'barney' };- * defaults(object, { 'name': 'fred', 'employer': 'slate' });- * // => { 'name': 'barney', 'employer': 'slate' }- */- var assign = function(object, source, guard) {- var index, iterable = object, result = iterable;- if (!iterable) return result;- var args = arguments,- argsIndex = 0,- argsLength = typeof guard == 'number' ? 2 : args.length;- if (argsLength > 3 && typeof args[argsLength - 2] == 'function') {- var callback = baseCreateCallback(args[--argsLength - 1], args[argsLength--], 2);- } else if (argsLength > 2 && typeof args[argsLength - 1] == 'function') {- callback = args[--argsLength];- }- while (++argsIndex < argsLength) {- iterable = args[argsIndex];- if (iterable && objectTypes[typeof iterable]) {- var ownIndex = -1,- ownProps = objectTypes[typeof iterable] && keys(iterable),- length = ownProps ? ownProps.length : 0;-- while (++ownIndex < length) {- index = ownProps[ownIndex];- result[index] = callback ? callback(result[index], iterable[index]) : iterable[index];- }- }- }- return result- };-- /**- * Creates a clone of `value`. If `isDeep` is `true` nested objects will also- * be cloned, otherwise they will be assigned by reference. If a callback- * is provided it will be executed to produce the cloned values. If the- * callback returns `undefined` cloning will be handled by the method instead.- * The callback is bound to `thisArg` and invoked with one argument; (value).- *- * @static- * @memberOf _- * @category Objects- * @param {*} value The value to clone.- * @param {boolean} [isDeep=false] Specify a deep clone.- * @param {Function} [callback] The function to customize cloning values.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {*} Returns the cloned value.- * @example- *- * var characters = [- * { 'name': 'barney', 'age': 36 },- * { 'name': 'fred', 'age': 40 }- * ];- *- * var shallow = _.clone(characters);- * shallow[0] === characters[0];- * // => true- *- * var deep = _.clone(characters, true);- * deep[0] === characters[0];- * // => false- *- * _.mixin({- * 'clone': _.partialRight(_.clone, function(value) {- * return _.isElement(value) ? value.cloneNode(false) : undefined;- * })- * });- *- * var clone = _.clone(document.body);- * clone.childNodes.length;- * // => 0- */- function clone(value, isDeep, callback, thisArg) {- // allows working with "Collections" methods without using their `index`- // and `collection` arguments for `isDeep` and `callback`- if (typeof isDeep != 'boolean' && isDeep != null) {- thisArg = callback;- callback = isDeep;- isDeep = false;- }- return baseClone(value, isDeep, typeof callback == 'function' && baseCreateCallback(callback, thisArg, 1));- }-- /**- * Creates a deep clone of `value`. If a callback is provided it will be- * executed to produce the cloned values. If the callback returns `undefined`- * cloning will be handled by the method instead. The callback is bound to- * `thisArg` and invoked with one argument; (value).- *- * Note: This method is loosely based on the structured clone algorithm. Functions- * and DOM nodes are **not** cloned. The enumerable properties of `arguments` objects and- * objects created by constructors other than `Object` are cloned to plain `Object` objects.- * See http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm.- *- * @static- * @memberOf _- * @category Objects- * @param {*} value The value to deep clone.- * @param {Function} [callback] The function to customize cloning values.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {*} Returns the deep cloned value.- * @example- *- * var characters = [- * { 'name': 'barney', 'age': 36 },- * { 'name': 'fred', 'age': 40 }- * ];- *- * var deep = _.cloneDeep(characters);- * deep[0] === characters[0];- * // => false- *- * var view = {- * 'label': 'docs',- * 'node': element- * };- *- * var clone = _.cloneDeep(view, function(value) {- * return _.isElement(value) ? value.cloneNode(true) : undefined;- * });- *- * clone.node == view.node;- * // => false- */- function cloneDeep(value, callback, thisArg) {- return baseClone(value, true, typeof callback == 'function' && baseCreateCallback(callback, thisArg, 1));- }-- /**- * Creates an object that inherits from the given `prototype` object. If a- * `properties` object is provided its own enumerable properties are assigned- * to the created object.- *- * @static- * @memberOf _- * @category Objects- * @param {Object} prototype The object to inherit from.- * @param {Object} [properties] The properties to assign to the object.- * @returns {Object} Returns the new object.- * @example- *- * function Shape() {- * this.x = 0;- * this.y = 0;- * }- *- * function Circle() {- * Shape.call(this);- * }- *- * Circle.prototype = _.create(Shape.prototype, { 'constructor': Circle });- *- * var circle = new Circle;- * circle instanceof Circle;- * // => true- *- * circle instanceof Shape;- * // => true- */- function create(prototype, properties) {- var result = baseCreate(prototype);- return properties ? assign(result, properties) : result;- }-- /**- * Assigns own enumerable properties of source object(s) to the destination- * object for all destination properties that resolve to `undefined`. Once a- * property is set, additional defaults of the same property will be ignored.- *- * @static- * @memberOf _- * @type Function- * @category Objects- * @param {Object} object The destination object.- * @param {...Object} [source] The source objects.- * @param- {Object} [guard] Allows working with `_.reduce` without using its- * `key` and `object` arguments as sources.- * @returns {Object} Returns the destination object.- * @example- *- * var object = { 'name': 'barney' };- * _.defaults(object, { 'name': 'fred', 'employer': 'slate' });- * // => { 'name': 'barney', 'employer': 'slate' }- */- var defaults = function(object, source, guard) {- var index, iterable = object, result = iterable;- if (!iterable) return result;- var args = arguments,- argsIndex = 0,- argsLength = typeof guard == 'number' ? 2 : args.length;- while (++argsIndex < argsLength) {- iterable = args[argsIndex];- if (iterable && objectTypes[typeof iterable]) {- var ownIndex = -1,- ownProps = objectTypes[typeof iterable] && keys(iterable),- length = ownProps ? ownProps.length : 0;-- while (++ownIndex < length) {- index = ownProps[ownIndex];- if (typeof result[index] == 'undefined') result[index] = iterable[index];- }- }- }- return result- };-- /**- * This method is like `_.findIndex` except that it returns the key of the- * first element that passes the callback check, instead of the element itself.- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @category Objects- * @param {Object} object The object to search.- * @param {Function|Object|string} [callback=identity] The function called per- * iteration. If a property name or object is provided it will be used to- * create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {string|undefined} Returns the key of the found element, else `undefined`.- * @example- *- * var characters = {- * 'barney': { 'age': 36, 'blocked': false },- * 'fred': { 'age': 40, 'blocked': true },- * 'pebbles': { 'age': 1, 'blocked': false }- * };- *- * _.findKey(characters, function(chr) {- * return chr.age < 40;- * });- * // => 'barney' (property order is not guaranteed across environments)- *- * // using "_.where" callback shorthand- * _.findKey(characters, { 'age': 1 });- * // => 'pebbles'- *- * // using "_.pluck" callback shorthand- * _.findKey(characters, 'blocked');- * // => 'fred'- */- function findKey(object, callback, thisArg) {- var result;- callback = lodash.createCallback(callback, thisArg, 3);- forOwn(object, function(value, key, object) {- if (callback(value, key, object)) {- result = key;- return false;- }- });- return result;- }-- /**- * This method is like `_.findKey` except that it iterates over elements- * of a `collection` in the opposite order.- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @category Objects- * @param {Object} object The object to search.- * @param {Function|Object|string} [callback=identity] The function called per- * iteration. If a property name or object is provided it will be used to- * create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {string|undefined} Returns the key of the found element, else `undefined`.- * @example- *- * var characters = {- * 'barney': { 'age': 36, 'blocked': true },- * 'fred': { 'age': 40, 'blocked': false },- * 'pebbles': { 'age': 1, 'blocked': true }- * };- *- * _.findLastKey(characters, function(chr) {- * return chr.age < 40;- * });- * // => returns `pebbles`, assuming `_.findKey` returns `barney`- *- * // using "_.where" callback shorthand- * _.findLastKey(characters, { 'age': 40 });- * // => 'fred'- *- * // using "_.pluck" callback shorthand- * _.findLastKey(characters, 'blocked');- * // => 'pebbles'- */- function findLastKey(object, callback, thisArg) {- var result;- callback = lodash.createCallback(callback, thisArg, 3);- forOwnRight(object, function(value, key, object) {- if (callback(value, key, object)) {- result = key;- return false;- }- });- return result;- }-- /**- * Iterates over own and inherited enumerable properties of an object,- * executing the callback for each property. The callback is bound to `thisArg`- * and invoked with three arguments; (value, key, object). Callbacks may exit- * iteration early by explicitly returning `false`.- *- * @static- * @memberOf _- * @type Function- * @category Objects- * @param {Object} object The object to iterate over.- * @param {Function} [callback=identity] The function called per iteration.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Object} Returns `object`.- * @example- *- * function Shape() {- * this.x = 0;- * this.y = 0;- * }- *- * Shape.prototype.move = function(x, y) {- * this.x += x;- * this.y += y;- * };- *- * _.forIn(new Shape, function(value, key) {- * console.log(key);- * });- * // => logs 'x', 'y', and 'move' (property order is not guaranteed across environments)- */- var forIn = function(collection, callback, thisArg) {- var index, iterable = collection, result = iterable;- if (!iterable) return result;- if (!objectTypes[typeof iterable]) return result;- callback = callback && typeof thisArg == 'undefined' ? callback : baseCreateCallback(callback, thisArg, 3);- for (index in iterable) {- if (callback(iterable[index], index, collection) === false) return result;- }- return result- };-- /**- * This method is like `_.forIn` except that it iterates over elements- * of a `collection` in the opposite order.- *- * @static- * @memberOf _- * @category Objects- * @param {Object} object The object to iterate over.- * @param {Function} [callback=identity] The function called per iteration.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Object} Returns `object`.- * @example- *- * function Shape() {- * this.x = 0;- * this.y = 0;- * }- *- * Shape.prototype.move = function(x, y) {- * this.x += x;- * this.y += y;- * };- *- * _.forInRight(new Shape, function(value, key) {- * console.log(key);- * });- * // => logs 'move', 'y', and 'x' assuming `_.forIn ` logs 'x', 'y', and 'move'- */- function forInRight(object, callback, thisArg) {- var pairs = [];-- forIn(object, function(value, key) {- pairs.push(key, value);- });-- var length = pairs.length;- callback = baseCreateCallback(callback, thisArg, 3);- while (length--) {- if (callback(pairs[length--], pairs[length], object) === false) {- break;- }- }- return object;- }-- /**- * Iterates over own enumerable properties of an object, executing the callback- * for each property. The callback is bound to `thisArg` and invoked with three- * arguments; (value, key, object). Callbacks may exit iteration early by- * explicitly returning `false`.- *- * @static- * @memberOf _- * @type Function- * @category Objects- * @param {Object} object The object to iterate over.- * @param {Function} [callback=identity] The function called per iteration.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Object} Returns `object`.- * @example- *- * _.forOwn({ '0': 'zero', '1': 'one', 'length': 2 }, function(num, key) {- * console.log(key);- * });- * // => logs '0', '1', and 'length' (property order is not guaranteed across environments)- */- var forOwn = function(collection, callback, thisArg) {- var index, iterable = collection, result = iterable;- if (!iterable) return result;- if (!objectTypes[typeof iterable]) return result;- callback = callback && typeof thisArg == 'undefined' ? callback : baseCreateCallback(callback, thisArg, 3);- var ownIndex = -1,- ownProps = objectTypes[typeof iterable] && keys(iterable),- length = ownProps ? ownProps.length : 0;-- while (++ownIndex < length) {- index = ownProps[ownIndex];- if (callback(iterable[index], index, collection) === false) return result;- }- return result- };-- /**- * This method is like `_.forOwn` except that it iterates over elements- * of a `collection` in the opposite order.- *- * @static- * @memberOf _- * @category Objects- * @param {Object} object The object to iterate over.- * @param {Function} [callback=identity] The function called per iteration.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Object} Returns `object`.- * @example- *- * _.forOwnRight({ '0': 'zero', '1': 'one', 'length': 2 }, function(num, key) {- * console.log(key);- * });- * // => logs 'length', '1', and '0' assuming `_.forOwn` logs '0', '1', and 'length'- */- function forOwnRight(object, callback, thisArg) {- var props = keys(object),- length = props.length;-- callback = baseCreateCallback(callback, thisArg, 3);- while (length--) {- var key = props[length];- if (callback(object[key], key, object) === false) {- break;- }- }- return object;- }-- /**- * Creates a sorted array of property names of all enumerable properties,- * own and inherited, of `object` that have function values.- *- * @static- * @memberOf _- * @alias methods- * @category Objects- * @param {Object} object The object to inspect.- * @returns {Array} Returns an array of property names that have function values.- * @example- *- * _.functions(_);- * // => ['all', 'any', 'bind', 'bindAll', 'clone', 'compact', 'compose', ...]- */- function functions(object) {- var result = [];- forIn(object, function(value, key) {- if (isFunction(value)) {- result.push(key);- }- });- return result.sort();- }-- /**- * Checks if the specified property name exists as a direct property of `object`,- * instead of an inherited property.- *- * @static- * @memberOf _- * @category Objects- * @param {Object} object The object to inspect.- * @param {string} key The name of the property to check.- * @returns {boolean} Returns `true` if key is a direct property, else `false`.- * @example- *- * _.has({ 'a': 1, 'b': 2, 'c': 3 }, 'b');- * // => true- */- function has(object, key) {- return object ? hasOwnProperty.call(object, key) : false;- }-- /**- * Creates an object composed of the inverted keys and values of the given object.- *- * @static- * @memberOf _- * @category Objects- * @param {Object} object The object to invert.- * @returns {Object} Returns the created inverted object.- * @example- *- * _.invert({ 'first': 'fred', 'second': 'barney' });- * // => { 'fred': 'first', 'barney': 'second' }- */- function invert(object) {- var index = -1,- props = keys(object),- length = props.length,- result = {};-- while (++index < length) {- var key = props[index];- result[object[key]] = key;- }- return result;- }-- /**- * Checks if `value` is a boolean value.- *- * @static- * @memberOf _- * @category Objects- * @param {*} value The value to check.- * @returns {boolean} Returns `true` if the `value` is a boolean value, else `false`.- * @example- *- * _.isBoolean(null);- * // => false- */- function isBoolean(value) {- return value === true || value === false ||- value && typeof value == 'object' && toString.call(value) == boolClass || false;- }-- /**- * Checks if `value` is a date.- *- * @static- * @memberOf _- * @category Objects- * @param {*} value The value to check.- * @returns {boolean} Returns `true` if the `value` is a date, else `false`.- * @example- *- * _.isDate(new Date);- * // => true- */- function isDate(value) {- return value && typeof value == 'object' && toString.call(value) == dateClass || false;- }-- /**- * Checks if `value` is a DOM element.- *- * @static- * @memberOf _- * @category Objects- * @param {*} value The value to check.- * @returns {boolean} Returns `true` if the `value` is a DOM element, else `false`.- * @example- *- * _.isElement(document.body);- * // => true- */- function isElement(value) {- return value && value.nodeType === 1 || false;- }-- /**- * Checks if `value` is empty. Arrays, strings, or `arguments` objects with a- * length of `0` and objects with no own enumerable properties are considered- * "empty".- *- * @static- * @memberOf _- * @category Objects- * @param {Array|Object|string} value The value to inspect.- * @returns {boolean} Returns `true` if the `value` is empty, else `false`.- * @example- *- * _.isEmpty([1, 2, 3]);- * // => false- *- * _.isEmpty({});- * // => true- *- * _.isEmpty('');- * // => true- */- function isEmpty(value) {- var result = true;- if (!value) {- return result;- }- var className = toString.call(value),- length = value.length;-- if ((className == arrayClass || className == stringClass || className == argsClass ) ||- (className == objectClass && typeof length == 'number' && isFunction(value.splice))) {- return !length;- }- forOwn(value, function() {- return (result = false);- });- return result;- }-- /**- * Performs a deep comparison between two values to determine if they are- * equivalent to each other. If a callback is provided it will be executed- * to compare values. If the callback returns `undefined` comparisons will- * be handled by the method instead. The callback is bound to `thisArg` and- * invoked with two arguments; (a, b).- *- * @static- * @memberOf _- * @category Objects- * @param {*} a The value to compare.- * @param {*} b The other value to compare.- * @param {Function} [callback] The function to customize comparing values.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.- * @example- *- * var object = { 'name': 'fred' };- * var copy = { 'name': 'fred' };- *- * object == copy;- * // => false- *- * _.isEqual(object, copy);- * // => true- *- * var words = ['hello', 'goodbye'];- * var otherWords = ['hi', 'goodbye'];- *- * _.isEqual(words, otherWords, function(a, b) {- * var reGreet = /^(?:hello|hi)$/i,- * aGreet = _.isString(a) && reGreet.test(a),- * bGreet = _.isString(b) && reGreet.test(b);- *- * return (aGreet || bGreet) ? (aGreet == bGreet) : undefined;- * });- * // => true- */- function isEqual(a, b, callback, thisArg) {- return baseIsEqual(a, b, typeof callback == 'function' && baseCreateCallback(callback, thisArg, 2));- }-- /**- * Checks if `value` is, or can be coerced to, a finite number.- *- * Note: This is not the same as native `isFinite` which will return true for- * booleans and empty strings. See http://es5.github.io/#x15.1.2.5.- *- * @static- * @memberOf _- * @category Objects- * @param {*} value The value to check.- * @returns {boolean} Returns `true` if the `value` is finite, else `false`.- * @example- *- * _.isFinite(-101);- * // => true- *- * _.isFinite('10');- * // => true- *- * _.isFinite(true);- * // => false- *- * _.isFinite('');- * // => false- *- * _.isFinite(Infinity);- * // => false- */- function isFinite(value) {- return nativeIsFinite(value) && !nativeIsNaN(parseFloat(value));- }-- /**- * Checks if `value` is a function.- *- * @static- * @memberOf _- * @category Objects- * @param {*} value The value to check.- * @returns {boolean} Returns `true` if the `value` is a function, else `false`.- * @example- *- * _.isFunction(_);- * // => true- */- function isFunction(value) {- return typeof value == 'function';- }-- /**- * Checks if `value` is the language type of Object.- * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)- *- * @static- * @memberOf _- * @category Objects- * @param {*} value The value to check.- * @returns {boolean} Returns `true` if the `value` is an object, else `false`.- * @example- *- * _.isObject({});- * // => true- *- * _.isObject([1, 2, 3]);- * // => true- *- * _.isObject(1);- * // => false- */- function isObject(value) {- // check if the value is the ECMAScript language type of Object- // http://es5.github.io/#x8- // and avoid a V8 bug- // http://code.google.com/p/v8/issues/detail?id=2291- return !!(value && objectTypes[typeof value]);- }-- /**- * Checks if `value` is `NaN`.- *- * Note: This is not the same as native `isNaN` which will return `true` for- * `undefined` and other non-numeric values. See http://es5.github.io/#x15.1.2.4.- *- * @static- * @memberOf _- * @category Objects- * @param {*} value The value to check.- * @returns {boolean} Returns `true` if the `value` is `NaN`, else `false`.- * @example- *- * _.isNaN(NaN);- * // => true- *- * _.isNaN(new Number(NaN));- * // => true- *- * isNaN(undefined);- * // => true- *- * _.isNaN(undefined);- * // => false- */- function isNaN(value) {- // `NaN` as a primitive is the only value that is not equal to itself- // (perform the [[Class]] check first to avoid errors with some host objects in IE)- return isNumber(value) && value != +value;- }-- /**- * Checks if `value` is `null`.- *- * @static- * @memberOf _- * @category Objects- * @param {*} value The value to check.- * @returns {boolean} Returns `true` if the `value` is `null`, else `false`.- * @example- *- * _.isNull(null);- * // => true- *- * _.isNull(undefined);- * // => false- */- function isNull(value) {- return value === null;- }-- /**- * Checks if `value` is a number.- *- * Note: `NaN` is considered a number. See http://es5.github.io/#x8.5.- *- * @static- * @memberOf _- * @category Objects- * @param {*} value The value to check.- * @returns {boolean} Returns `true` if the `value` is a number, else `false`.- * @example- *- * _.isNumber(8.4 * 5);- * // => true- */- function isNumber(value) {- return typeof value == 'number' ||- value && typeof value == 'object' && toString.call(value) == numberClass || false;- }-- /**- * Checks if `value` is an object created by the `Object` constructor.- *- * @static- * @memberOf _- * @category Objects- * @param {*} value The value to check.- * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.- * @example- *- * function Shape() {- * this.x = 0;- * this.y = 0;- * }- *- * _.isPlainObject(new Shape);- * // => false- *- * _.isPlainObject([1, 2, 3]);- * // => false- *- * _.isPlainObject({ 'x': 0, 'y': 0 });- * // => true- */- var isPlainObject = !getPrototypeOf ? shimIsPlainObject : function(value) {- if (!(value && toString.call(value) == objectClass)) {- return false;- }- var valueOf = value.valueOf,- objProto = isNative(valueOf) && (objProto = getPrototypeOf(valueOf)) && getPrototypeOf(objProto);-- return objProto- ? (value == objProto || getPrototypeOf(value) == objProto)- : shimIsPlainObject(value);- };-- /**- * Checks if `value` is a regular expression.- *- * @static- * @memberOf _- * @category Objects- * @param {*} value The value to check.- * @returns {boolean} Returns `true` if the `value` is a regular expression, else `false`.- * @example- *- * _.isRegExp(/fred/);- * // => true- */- function isRegExp(value) {- return value && typeof value == 'object' && toString.call(value) == regexpClass || false;- }-- /**- * Checks if `value` is a string.- *- * @static- * @memberOf _- * @category Objects- * @param {*} value The value to check.- * @returns {boolean} Returns `true` if the `value` is a string, else `false`.- * @example- *- * _.isString('fred');- * // => true- */- function isString(value) {- return typeof value == 'string' ||- value && typeof value == 'object' && toString.call(value) == stringClass || false;- }-- /**- * Checks if `value` is `undefined`.- *- * @static- * @memberOf _- * @category Objects- * @param {*} value The value to check.- * @returns {boolean} Returns `true` if the `value` is `undefined`, else `false`.- * @example- *- * _.isUndefined(void 0);- * // => true- */- function isUndefined(value) {- return typeof value == 'undefined';- }-- /**- * Creates an object with the same keys as `object` and values generated by- * running each own enumerable property of `object` through the callback.- * The callback is bound to `thisArg` and invoked with three arguments;- * (value, key, object).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @category Objects- * @param {Object} object The object to iterate over.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Array} Returns a new object with values of the results of each `callback` execution.- * @example- *- * _.mapValues({ 'a': 1, 'b': 2, 'c': 3} , function(num) { return num * 3; });- * // => { 'a': 3, 'b': 6, 'c': 9 }- *- * var characters = {- * 'fred': { 'name': 'fred', 'age': 40 },- * 'pebbles': { 'name': 'pebbles', 'age': 1 }- * };- *- * // using "_.pluck" callback shorthand- * _.mapValues(characters, 'age');- * // => { 'fred': 40, 'pebbles': 1 }- */- function mapValues(object, callback, thisArg) {- var result = {};- callback = lodash.createCallback(callback, thisArg, 3);-- forOwn(object, function(value, key, object) {- result[key] = callback(value, key, object);- });- return result;- }-- /**- * Recursively merges own enumerable properties of the source object(s), that- * don't resolve to `undefined` into the destination object. Subsequent sources- * will overwrite property assignments of previous sources. If a callback is- * provided it will be executed to produce the merged values of the destination- * and source properties. If the callback returns `undefined` merging will- * be handled by the method instead. The callback is bound to `thisArg` and- * invoked with two arguments; (objectValue, sourceValue).- *- * @static- * @memberOf _- * @category Objects- * @param {Object} object The destination object.- * @param {...Object} [source] The source objects.- * @param {Function} [callback] The function to customize merging properties.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Object} Returns the destination object.- * @example- *- * var names = {- * 'characters': [- * { 'name': 'barney' },- * { 'name': 'fred' }- * ]- * };- *- * var ages = {- * 'characters': [- * { 'age': 36 },- * { 'age': 40 }- * ]- * };- *- * _.merge(names, ages);- * // => { 'characters': [{ 'name': 'barney', 'age': 36 }, { 'name': 'fred', 'age': 40 }] }- *- * var food = {- * 'fruits': ['apple'],- * 'vegetables': ['beet']- * };- *- * var otherFood = {- * 'fruits': ['banana'],- * 'vegetables': ['carrot']- * };- *- * _.merge(food, otherFood, function(a, b) {- * return _.isArray(a) ? a.concat(b) : undefined;- * });- * // => { 'fruits': ['apple', 'banana'], 'vegetables': ['beet', 'carrot] }- */- function merge(object) {- var args = arguments,- length = 2;-- if (!isObject(object)) {- return object;- }- // allows working with `_.reduce` and `_.reduceRight` without using- // their `index` and `collection` arguments- if (typeof args[2] != 'number') {- length = args.length;- }- if (length > 3 && typeof args[length - 2] == 'function') {- var callback = baseCreateCallback(args[--length - 1], args[length--], 2);- } else if (length > 2 && typeof args[length - 1] == 'function') {- callback = args[--length];- }- var sources = slice(arguments, 1, length),- index = -1,- stackA = getArray(),- stackB = getArray();-- while (++index < length) {- baseMerge(object, sources[index], callback, stackA, stackB);- }- releaseArray(stackA);- releaseArray(stackB);- return object;- }-- /**- * Creates a shallow clone of `object` excluding the specified properties.- * Property names may be specified as individual arguments or as arrays of- * property names. If a callback is provided it will be executed for each- * property of `object` omitting the properties the callback returns truey- * for. The callback is bound to `thisArg` and invoked with three arguments;- * (value, key, object).- *- * @static- * @memberOf _- * @category Objects- * @param {Object} object The source object.- * @param {Function|...string|string[]} [callback] The properties to omit or the- * function called per iteration.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Object} Returns an object without the omitted properties.- * @example- *- * _.omit({ 'name': 'fred', 'age': 40 }, 'age');- * // => { 'name': 'fred' }- *- * _.omit({ 'name': 'fred', 'age': 40 }, function(value) {- * return typeof value == 'number';- * });- * // => { 'name': 'fred' }- */- function omit(object, callback, thisArg) {- var result = {};- if (typeof callback != 'function') {- var props = [];- forIn(object, function(value, key) {- props.push(key);- });- props = baseDifference(props, baseFlatten(arguments, true, false, 1));-- var index = -1,- length = props.length;-- while (++index < length) {- var key = props[index];- result[key] = object[key];- }- } else {- callback = lodash.createCallback(callback, thisArg, 3);- forIn(object, function(value, key, object) {- if (!callback(value, key, object)) {- result[key] = value;- }- });- }- return result;- }-- /**- * Creates a two dimensional array of an object's key-value pairs,- * i.e. `[[key1, value1], [key2, value2]]`.- *- * @static- * @memberOf _- * @category Objects- * @param {Object} object The object to inspect.- * @returns {Array} Returns new array of key-value pairs.- * @example- *- * _.pairs({ 'barney': 36, 'fred': 40 });- * // => [['barney', 36], ['fred', 40]] (property order is not guaranteed across environments)- */- function pairs(object) {- var index = -1,- props = keys(object),- length = props.length,- result = Array(length);-- while (++index < length) {- var key = props[index];- result[index] = [key, object[key]];- }- return result;- }-- /**- * Creates a shallow clone of `object` composed of the specified properties.- * Property names may be specified as individual arguments or as arrays of- * property names. If a callback is provided it will be executed for each- * property of `object` picking the properties the callback returns truey- * for. The callback is bound to `thisArg` and invoked with three arguments;- * (value, key, object).- *- * @static- * @memberOf _- * @category Objects- * @param {Object} object The source object.- * @param {Function|...string|string[]} [callback] The function called per- * iteration or property names to pick, specified as individual property- * names or arrays of property names.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Object} Returns an object composed of the picked properties.- * @example- *- * _.pick({ 'name': 'fred', '_userid': 'fred1' }, 'name');- * // => { 'name': 'fred' }- *- * _.pick({ 'name': 'fred', '_userid': 'fred1' }, function(value, key) {- * return key.charAt(0) != '_';- * });- * // => { 'name': 'fred' }- */- function pick(object, callback, thisArg) {- var result = {};- if (typeof callback != 'function') {- var index = -1,- props = baseFlatten(arguments, true, false, 1),- length = isObject(object) ? props.length : 0;-- while (++index < length) {- var key = props[index];- if (key in object) {- result[key] = object[key];- }- }- } else {- callback = lodash.createCallback(callback, thisArg, 3);- forIn(object, function(value, key, object) {- if (callback(value, key, object)) {- result[key] = value;- }- });- }- return result;- }-- /**- * An alternative to `_.reduce` this method transforms `object` to a new- * `accumulator` object which is the result of running each of its own- * enumerable properties through a callback, with each callback execution- * potentially mutating the `accumulator` object. The callback is bound to- * `thisArg` and invoked with four arguments; (accumulator, value, key, object).- * Callbacks may exit iteration early by explicitly returning `false`.- *- * @static- * @memberOf _- * @category Objects- * @param {Array|Object} object The object to iterate over.- * @param {Function} [callback=identity] The function called per iteration.- * @param {*} [accumulator] The custom accumulator value.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {*} Returns the accumulated value.- * @example- *- * var squares = _.transform([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], function(result, num) {- * num *= num;- * if (num % 2) {- * return result.push(num) < 3;- * }- * });- * // => [1, 9, 25]- *- * var mapped = _.transform({ 'a': 1, 'b': 2, 'c': 3 }, function(result, num, key) {- * result[key] = num * 3;- * });- * // => { 'a': 3, 'b': 6, 'c': 9 }- */- function transform(object, callback, accumulator, thisArg) {- var isArr = isArray(object);- if (accumulator == null) {- if (isArr) {- accumulator = [];- } else {- var ctor = object && object.constructor,- proto = ctor && ctor.prototype;-- accumulator = baseCreate(proto);- }- }- if (callback) {- callback = lodash.createCallback(callback, thisArg, 4);- (isArr ? forEach : forOwn)(object, function(value, index, object) {- return callback(accumulator, value, index, object);- });- }- return accumulator;- }-- /**- * Creates an array composed of the own enumerable property values of `object`.- *- * @static- * @memberOf _- * @category Objects- * @param {Object} object The object to inspect.- * @returns {Array} Returns an array of property values.- * @example- *- * _.values({ 'one': 1, 'two': 2, 'three': 3 });- * // => [1, 2, 3] (property order is not guaranteed across environments)- */- function values(object) {- var index = -1,- props = keys(object),- length = props.length,- result = Array(length);-- while (++index < length) {- result[index] = object[props[index]];- }- return result;- }-- /*--------------------------------------------------------------------------*/-- /**- * Creates an array of elements from the specified indexes, or keys, of the- * `collection`. Indexes may be specified as individual arguments or as arrays- * of indexes.- *- * @static- * @memberOf _- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {...(number|number[]|string|string[])} [index] The indexes of `collection`- * to retrieve, specified as individual indexes or arrays of indexes.- * @returns {Array} Returns a new array of elements corresponding to the- * provided indexes.- * @example- *- * _.at(['a', 'b', 'c', 'd', 'e'], [0, 2, 4]);- * // => ['a', 'c', 'e']- *- * _.at(['fred', 'barney', 'pebbles'], 0, 2);- * // => ['fred', 'pebbles']- */- function at(collection) {- var args = arguments,- index = -1,- props = baseFlatten(args, true, false, 1),- length = (args[2] && args[2][args[1]] === collection) ? 1 : props.length,- result = Array(length);-- while(++index < length) {- result[index] = collection[props[index]];- }- return result;- }-- /**- * Checks if a given value is present in a collection using strict equality- * for comparisons, i.e. `===`. If `fromIndex` is negative, it is used as the- * offset from the end of the collection.- *- * @static- * @memberOf _- * @alias include- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {*} target The value to check for.- * @param {number} [fromIndex=0] The index to search from.- * @returns {boolean} Returns `true` if the `target` element is found, else `false`.- * @example- *- * _.contains([1, 2, 3], 1);- * // => true- *- * _.contains([1, 2, 3], 1, 2);- * // => false- *- * _.contains({ 'name': 'fred', 'age': 40 }, 'fred');- * // => true- *- * _.contains('pebbles', 'eb');- * // => true- */- function contains(collection, target, fromIndex) {- var index = -1,- indexOf = getIndexOf(),- length = collection ? collection.length : 0,- result = false;-- fromIndex = (fromIndex < 0 ? nativeMax(0, length + fromIndex) : fromIndex) || 0;- if (isArray(collection)) {- result = indexOf(collection, target, fromIndex) > -1;- } else if (typeof length == 'number') {- result = (isString(collection) ? collection.indexOf(target, fromIndex) : indexOf(collection, target, fromIndex)) > -1;- } else {- forOwn(collection, function(value) {- if (++index >= fromIndex) {- return !(result = value === target);- }- });- }- return result;- }-- /**- * Creates an object composed of keys generated from the results of running- * each element of `collection` through the callback. The corresponding value- * of each key is the number of times the key was returned by the callback.- * The callback is bound to `thisArg` and invoked with three arguments;- * (value, index|key, collection).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Object} Returns the composed aggregate object.- * @example- *- * _.countBy([4.3, 6.1, 6.4], function(num) { return Math.floor(num); });- * // => { '4': 1, '6': 2 }- *- * _.countBy([4.3, 6.1, 6.4], function(num) { return this.floor(num); }, Math);- * // => { '4': 1, '6': 2 }- *- * _.countBy(['one', 'two', 'three'], 'length');- * // => { '3': 2, '5': 1 }- */- var countBy = createAggregator(function(result, value, key) {- (hasOwnProperty.call(result, key) ? result[key]++ : result[key] = 1);- });-- /**- * Checks if the given callback returns truey value for **all** elements of- * a collection. The callback is bound to `thisArg` and invoked with three- * arguments; (value, index|key, collection).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @alias all- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {boolean} Returns `true` if all elements passed the callback check,- * else `false`.- * @example- *- * _.every([true, 1, null, 'yes']);- * // => false- *- * var characters = [- * { 'name': 'barney', 'age': 36 },- * { 'name': 'fred', 'age': 40 }- * ];- *- * // using "_.pluck" callback shorthand- * _.every(characters, 'age');- * // => true- *- * // using "_.where" callback shorthand- * _.every(characters, { 'age': 36 });- * // => false- */- function every(collection, callback, thisArg) {- var result = true;- callback = lodash.createCallback(callback, thisArg, 3);-- var index = -1,- length = collection ? collection.length : 0;-- if (typeof length == 'number') {- while (++index < length) {- if (!(result = !!callback(collection[index], index, collection))) {- break;- }- }- } else {- forOwn(collection, function(value, index, collection) {- return (result = !!callback(value, index, collection));- });- }- return result;- }-- /**- * Iterates over elements of a collection, returning an array of all elements- * the callback returns truey for. The callback is bound to `thisArg` and- * invoked with three arguments; (value, index|key, collection).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @alias select- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Array} Returns a new array of elements that passed the callback check.- * @example- *- * var evens = _.filter([1, 2, 3, 4, 5, 6], function(num) { return num % 2 == 0; });- * // => [2, 4, 6]- *- * var characters = [- * { 'name': 'barney', 'age': 36, 'blocked': false },- * { 'name': 'fred', 'age': 40, 'blocked': true }- * ];- *- * // using "_.pluck" callback shorthand- * _.filter(characters, 'blocked');- * // => [{ 'name': 'fred', 'age': 40, 'blocked': true }]- *- * // using "_.where" callback shorthand- * _.filter(characters, { 'age': 36 });- * // => [{ 'name': 'barney', 'age': 36, 'blocked': false }]- */- function filter(collection, callback, thisArg) {- var result = [];- callback = lodash.createCallback(callback, thisArg, 3);-- var index = -1,- length = collection ? collection.length : 0;-- if (typeof length == 'number') {- while (++index < length) {- var value = collection[index];- if (callback(value, index, collection)) {- result.push(value);- }- }- } else {- forOwn(collection, function(value, index, collection) {- if (callback(value, index, collection)) {- result.push(value);- }- });- }- return result;- }-- /**- * Iterates over elements of a collection, returning the first element that- * the callback returns truey for. The callback is bound to `thisArg` and- * invoked with three arguments; (value, index|key, collection).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @alias detect, findWhere- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {*} Returns the found element, else `undefined`.- * @example- *- * var characters = [- * { 'name': 'barney', 'age': 36, 'blocked': false },- * { 'name': 'fred', 'age': 40, 'blocked': true },- * { 'name': 'pebbles', 'age': 1, 'blocked': false }- * ];- *- * _.find(characters, function(chr) {- * return chr.age < 40;- * });- * // => { 'name': 'barney', 'age': 36, 'blocked': false }- *- * // using "_.where" callback shorthand- * _.find(characters, { 'age': 1 });- * // => { 'name': 'pebbles', 'age': 1, 'blocked': false }- *- * // using "_.pluck" callback shorthand- * _.find(characters, 'blocked');- * // => { 'name': 'fred', 'age': 40, 'blocked': true }- */- function find(collection, callback, thisArg) {- callback = lodash.createCallback(callback, thisArg, 3);-- var index = -1,- length = collection ? collection.length : 0;-- if (typeof length == 'number') {- while (++index < length) {- var value = collection[index];- if (callback(value, index, collection)) {- return value;- }- }- } else {- var result;- forOwn(collection, function(value, index, collection) {- if (callback(value, index, collection)) {- result = value;- return false;- }- });- return result;- }- }-- /**- * This method is like `_.find` except that it iterates over elements- * of a `collection` from right to left.- *- * @static- * @memberOf _- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {*} Returns the found element, else `undefined`.- * @example- *- * _.findLast([1, 2, 3, 4], function(num) {- * return num % 2 == 1;- * });- * // => 3- */- function findLast(collection, callback, thisArg) {- var result;- callback = lodash.createCallback(callback, thisArg, 3);- forEachRight(collection, function(value, index, collection) {- if (callback(value, index, collection)) {- result = value;- return false;- }- });- return result;- }-- /**- * Iterates over elements of a collection, executing the callback for each- * element. The callback is bound to `thisArg` and invoked with three arguments;- * (value, index|key, collection). Callbacks may exit iteration early by- * explicitly returning `false`.- *- * Note: As with other "Collections" methods, objects with a `length` property- * are iterated like arrays. To avoid this behavior `_.forIn` or `_.forOwn`- * may be used for object iteration.- *- * @static- * @memberOf _- * @alias each- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Function} [callback=identity] The function called per iteration.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Array|Object|string} Returns `collection`.- * @example- *- * _([1, 2, 3]).forEach(function(num) { console.log(num); }).join(',');- * // => logs each number and returns '1,2,3'- *- * _.forEach({ 'one': 1, 'two': 2, 'three': 3 }, function(num) { console.log(num); });- * // => logs each number and returns the object (property order is not guaranteed across environments)- */- function forEach(collection, callback, thisArg) {- var index = -1,- length = collection ? collection.length : 0;-- callback = callback && typeof thisArg == 'undefined' ? callback : baseCreateCallback(callback, thisArg, 3);- if (typeof length == 'number') {- while (++index < length) {- if (callback(collection[index], index, collection) === false) {- break;- }- }- } else {- forOwn(collection, callback);- }- return collection;- }-- /**- * This method is like `_.forEach` except that it iterates over elements- * of a `collection` from right to left.- *- * @static- * @memberOf _- * @alias eachRight- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Function} [callback=identity] The function called per iteration.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Array|Object|string} Returns `collection`.- * @example- *- * _([1, 2, 3]).forEachRight(function(num) { console.log(num); }).join(',');- * // => logs each number from right to left and returns '3,2,1'- */- function forEachRight(collection, callback, thisArg) {- var length = collection ? collection.length : 0;- callback = callback && typeof thisArg == 'undefined' ? callback : baseCreateCallback(callback, thisArg, 3);- if (typeof length == 'number') {- while (length--) {- if (callback(collection[length], length, collection) === false) {- break;- }- }- } else {- var props = keys(collection);- length = props.length;- forOwn(collection, function(value, key, collection) {- key = props ? props[--length] : --length;- return callback(collection[key], key, collection);- });- }- return collection;- }-- /**- * Creates an object composed of keys generated from the results of running- * each element of a collection through the callback. The corresponding value- * of each key is an array of the elements responsible for generating the key.- * The callback is bound to `thisArg` and invoked with three arguments;- * (value, index|key, collection).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`- *- * @static- * @memberOf _- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Object} Returns the composed aggregate object.- * @example- *- * _.groupBy([4.2, 6.1, 6.4], function(num) { return Math.floor(num); });- * // => { '4': [4.2], '6': [6.1, 6.4] }- *- * _.groupBy([4.2, 6.1, 6.4], function(num) { return this.floor(num); }, Math);- * // => { '4': [4.2], '6': [6.1, 6.4] }- *- * // using "_.pluck" callback shorthand- * _.groupBy(['one', 'two', 'three'], 'length');- * // => { '3': ['one', 'two'], '5': ['three'] }- */- var groupBy = createAggregator(function(result, value, key) {- (hasOwnProperty.call(result, key) ? result[key] : result[key] = []).push(value);- });-- /**- * Creates an object composed of keys generated from the results of running- * each element of the collection through the given callback. The corresponding- * value of each key is the last element responsible for generating the key.- * The callback is bound to `thisArg` and invoked with three arguments;- * (value, index|key, collection).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Object} Returns the composed aggregate object.- * @example- *- * var keys = [- * { 'dir': 'left', 'code': 97 },- * { 'dir': 'right', 'code': 100 }- * ];- *- * _.indexBy(keys, 'dir');- * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }- *- * _.indexBy(keys, function(key) { return String.fromCharCode(key.code); });- * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }- *- * _.indexBy(characters, function(key) { this.fromCharCode(key.code); }, String);- * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }- */- var indexBy = createAggregator(function(result, value, key) {- result[key] = value;- });-- /**- * Invokes the method named by `methodName` on each element in the `collection`- * returning an array of the results of each invoked method. Additional arguments- * will be provided to each invoked method. If `methodName` is a function it- * will be invoked for, and `this` bound to, each element in the `collection`.- *- * @static- * @memberOf _- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Function|string} methodName The name of the method to invoke or- * the function invoked per iteration.- * @param {...*} [arg] Arguments to invoke the method with.- * @returns {Array} Returns a new array of the results of each invoked method.- * @example- *- * _.invoke([[5, 1, 7], [3, 2, 1]], 'sort');- * // => [[1, 5, 7], [1, 2, 3]]- *- * _.invoke([123, 456], String.prototype.split, '');- * // => [['1', '2', '3'], ['4', '5', '6']]- */- function invoke(collection, methodName) {- var args = slice(arguments, 2),- index = -1,- isFunc = typeof methodName == 'function',- length = collection ? collection.length : 0,- result = Array(typeof length == 'number' ? length : 0);-- forEach(collection, function(value) {- result[++index] = (isFunc ? methodName : value[methodName]).apply(value, args);- });- return result;- }-- /**- * Creates an array of values by running each element in the collection- * through the callback. The callback is bound to `thisArg` and invoked with- * three arguments; (value, index|key, collection).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @alias collect- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Array} Returns a new array of the results of each `callback` execution.- * @example- *- * _.map([1, 2, 3], function(num) { return num * 3; });- * // => [3, 6, 9]- *- * _.map({ 'one': 1, 'two': 2, 'three': 3 }, function(num) { return num * 3; });- * // => [3, 6, 9] (property order is not guaranteed across environments)- *- * var characters = [- * { 'name': 'barney', 'age': 36 },- * { 'name': 'fred', 'age': 40 }- * ];- *- * // using "_.pluck" callback shorthand- * _.map(characters, 'name');- * // => ['barney', 'fred']- */- function map(collection, callback, thisArg) {- var index = -1,- length = collection ? collection.length : 0;-- callback = lodash.createCallback(callback, thisArg, 3);- if (typeof length == 'number') {- var result = Array(length);- while (++index < length) {- result[index] = callback(collection[index], index, collection);- }- } else {- result = [];- forOwn(collection, function(value, key, collection) {- result[++index] = callback(value, key, collection);- });- }- return result;- }-- /**- * Retrieves the maximum value of a collection. If the collection is empty or- * falsey `-Infinity` is returned. If a callback is provided it will be executed- * for each value in the collection to generate the criterion by which the value- * is ranked. The callback is bound to `thisArg` and invoked with three- * arguments; (value, index, collection).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {*} Returns the maximum value.- * @example- *- * _.max([4, 2, 8, 6]);- * // => 8- *- * var characters = [- * { 'name': 'barney', 'age': 36 },- * { 'name': 'fred', 'age': 40 }- * ];- *- * _.max(characters, function(chr) { return chr.age; });- * // => { 'name': 'fred', 'age': 40 };- *- * // using "_.pluck" callback shorthand- * _.max(characters, 'age');- * // => { 'name': 'fred', 'age': 40 };- */- function max(collection, callback, thisArg) {- var computed = -Infinity,- result = computed;-- // allows working with functions like `_.map` without using- // their `index` argument as a callback- if (typeof callback != 'function' && thisArg && thisArg[callback] === collection) {- callback = null;- }- if (callback == null && isArray(collection)) {- var index = -1,- length = collection.length;-- while (++index < length) {- var value = collection[index];- if (value > result) {- result = value;- }- }- } else {- callback = (callback == null && isString(collection))- ? charAtCallback- : lodash.createCallback(callback, thisArg, 3);-- forEach(collection, function(value, index, collection) {- var current = callback(value, index, collection);- if (current > computed) {- computed = current;- result = value;- }- });- }- return result;- }-- /**- * Retrieves the minimum value of a collection. If the collection is empty or- * falsey `Infinity` is returned. If a callback is provided it will be executed- * for each value in the collection to generate the criterion by which the value- * is ranked. The callback is bound to `thisArg` and invoked with three- * arguments; (value, index, collection).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {*} Returns the minimum value.- * @example- *- * _.min([4, 2, 8, 6]);- * // => 2- *- * var characters = [- * { 'name': 'barney', 'age': 36 },- * { 'name': 'fred', 'age': 40 }- * ];- *- * _.min(characters, function(chr) { return chr.age; });- * // => { 'name': 'barney', 'age': 36 };- *- * // using "_.pluck" callback shorthand- * _.min(characters, 'age');- * // => { 'name': 'barney', 'age': 36 };- */- function min(collection, callback, thisArg) {- var computed = Infinity,- result = computed;-- // allows working with functions like `_.map` without using- // their `index` argument as a callback- if (typeof callback != 'function' && thisArg && thisArg[callback] === collection) {- callback = null;- }- if (callback == null && isArray(collection)) {- var index = -1,- length = collection.length;-- while (++index < length) {- var value = collection[index];- if (value < result) {- result = value;- }- }- } else {- callback = (callback == null && isString(collection))- ? charAtCallback- : lodash.createCallback(callback, thisArg, 3);-- forEach(collection, function(value, index, collection) {- var current = callback(value, index, collection);- if (current < computed) {- computed = current;- result = value;- }- });- }- return result;- }-- /**- * Retrieves the value of a specified property from all elements in the collection.- *- * @static- * @memberOf _- * @type Function- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {string} property The name of the property to pluck.- * @returns {Array} Returns a new array of property values.- * @example- *- * var characters = [- * { 'name': 'barney', 'age': 36 },- * { 'name': 'fred', 'age': 40 }- * ];- *- * _.pluck(characters, 'name');- * // => ['barney', 'fred']- */- var pluck = map;-- /**- * Reduces a collection to a value which is the accumulated result of running- * each element in the collection through the callback, where each successive- * callback execution consumes the return value of the previous execution. If- * `accumulator` is not provided the first element of the collection will be- * used as the initial `accumulator` value. The callback is bound to `thisArg`- * and invoked with four arguments; (accumulator, value, index|key, collection).- *- * @static- * @memberOf _- * @alias foldl, inject- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Function} [callback=identity] The function called per iteration.- * @param {*} [accumulator] Initial value of the accumulator.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {*} Returns the accumulated value.- * @example- *- * var sum = _.reduce([1, 2, 3], function(sum, num) {- * return sum + num;- * });- * // => 6- *- * var mapped = _.reduce({ 'a': 1, 'b': 2, 'c': 3 }, function(result, num, key) {- * result[key] = num * 3;- * return result;- * }, {});- * // => { 'a': 3, 'b': 6, 'c': 9 }- */- function reduce(collection, callback, accumulator, thisArg) {- if (!collection) return accumulator;- var noaccum = arguments.length < 3;- callback = lodash.createCallback(callback, thisArg, 4);-- var index = -1,- length = collection.length;-- if (typeof length == 'number') {- if (noaccum) {- accumulator = collection[++index];- }- while (++index < length) {- accumulator = callback(accumulator, collection[index], index, collection);- }- } else {- forOwn(collection, function(value, index, collection) {- accumulator = noaccum- ? (noaccum = false, value)- : callback(accumulator, value, index, collection)- });- }- return accumulator;- }-- /**- * This method is like `_.reduce` except that it iterates over elements- * of a `collection` from right to left.- *- * @static- * @memberOf _- * @alias foldr- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Function} [callback=identity] The function called per iteration.- * @param {*} [accumulator] Initial value of the accumulator.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {*} Returns the accumulated value.- * @example- *- * var list = [[0, 1], [2, 3], [4, 5]];- * var flat = _.reduceRight(list, function(a, b) { return a.concat(b); }, []);- * // => [4, 5, 2, 3, 0, 1]- */- function reduceRight(collection, callback, accumulator, thisArg) {- var noaccum = arguments.length < 3;- callback = lodash.createCallback(callback, thisArg, 4);- forEachRight(collection, function(value, index, collection) {- accumulator = noaccum- ? (noaccum = false, value)- : callback(accumulator, value, index, collection);- });- return accumulator;- }-- /**- * The opposite of `_.filter` this method returns the elements of a- * collection that the callback does **not** return truey for.- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Array} Returns a new array of elements that failed the callback check.- * @example- *- * var odds = _.reject([1, 2, 3, 4, 5, 6], function(num) { return num % 2 == 0; });- * // => [1, 3, 5]- *- * var characters = [- * { 'name': 'barney', 'age': 36, 'blocked': false },- * { 'name': 'fred', 'age': 40, 'blocked': true }- * ];- *- * // using "_.pluck" callback shorthand- * _.reject(characters, 'blocked');- * // => [{ 'name': 'barney', 'age': 36, 'blocked': false }]- *- * // using "_.where" callback shorthand- * _.reject(characters, { 'age': 36 });- * // => [{ 'name': 'fred', 'age': 40, 'blocked': true }]- */- function reject(collection, callback, thisArg) {- callback = lodash.createCallback(callback, thisArg, 3);- return filter(collection, function(value, index, collection) {- return !callback(value, index, collection);- });- }-- /**- * Retrieves a random element or `n` random elements from a collection.- *- * @static- * @memberOf _- * @category Collections- * @param {Array|Object|string} collection The collection to sample.- * @param {number} [n] The number of elements to sample.- * @param- {Object} [guard] Allows working with functions like `_.map`- * without using their `index` arguments as `n`.- * @returns {Array} Returns the random sample(s) of `collection`.- * @example- *- * _.sample([1, 2, 3, 4]);- * // => 2- *- * _.sample([1, 2, 3, 4], 2);- * // => [3, 1]- */- function sample(collection, n, guard) {- if (collection && typeof collection.length != 'number') {- collection = values(collection);- }- if (n == null || guard) {- return collection ? collection[baseRandom(0, collection.length - 1)] : undefined;- }- var result = shuffle(collection);- result.length = nativeMin(nativeMax(0, n), result.length);- return result;- }-- /**- * Creates an array of shuffled values, using a version of the Fisher-Yates- * shuffle. See http://en.wikipedia.org/wiki/Fisher-Yates_shuffle.- *- * @static- * @memberOf _- * @category Collections- * @param {Array|Object|string} collection The collection to shuffle.- * @returns {Array} Returns a new shuffled collection.- * @example- *- * _.shuffle([1, 2, 3, 4, 5, 6]);- * // => [4, 1, 6, 3, 5, 2]- */- function shuffle(collection) {- var index = -1,- length = collection ? collection.length : 0,- result = Array(typeof length == 'number' ? length : 0);-- forEach(collection, function(value) {- var rand = baseRandom(0, ++index);- result[index] = result[rand];- result[rand] = value;- });- return result;- }-- /**- * Gets the size of the `collection` by returning `collection.length` for arrays- * and array-like objects or the number of own enumerable properties for objects.- *- * @static- * @memberOf _- * @category Collections- * @param {Array|Object|string} collection The collection to inspect.- * @returns {number} Returns `collection.length` or number of own enumerable properties.- * @example- *- * _.size([1, 2]);- * // => 2- *- * _.size({ 'one': 1, 'two': 2, 'three': 3 });- * // => 3- *- * _.size('pebbles');- * // => 7- */- function size(collection) {- var length = collection ? collection.length : 0;- return typeof length == 'number' ? length : keys(collection).length;- }-- /**- * Checks if the callback returns a truey value for **any** element of a- * collection. The function returns as soon as it finds a passing value and- * does not iterate over the entire collection. The callback is bound to- * `thisArg` and invoked with three arguments; (value, index|key, collection).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @alias any- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {boolean} Returns `true` if any element passed the callback check,- * else `false`.- * @example- *- * _.some([null, 0, 'yes', false], Boolean);- * // => true- *- * var characters = [- * { 'name': 'barney', 'age': 36, 'blocked': false },- * { 'name': 'fred', 'age': 40, 'blocked': true }- * ];- *- * // using "_.pluck" callback shorthand- * _.some(characters, 'blocked');- * // => true- *- * // using "_.where" callback shorthand- * _.some(characters, { 'age': 1 });- * // => false- */- function some(collection, callback, thisArg) {- var result;- callback = lodash.createCallback(callback, thisArg, 3);-- var index = -1,- length = collection ? collection.length : 0;-- if (typeof length == 'number') {- while (++index < length) {- if ((result = callback(collection[index], index, collection))) {- break;- }- }- } else {- forOwn(collection, function(value, index, collection) {- return !(result = callback(value, index, collection));- });- }- return !!result;- }-- /**- * Creates an array of elements, sorted in ascending order by the results of- * running each element in a collection through the callback. This method- * performs a stable sort, that is, it will preserve the original sort order- * of equal elements. The callback is bound to `thisArg` and invoked with- * three arguments; (value, index|key, collection).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an array of property names is provided for `callback` the collection- * will be sorted by each property value.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Array|Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Array} Returns a new array of sorted elements.- * @example- *- * _.sortBy([1, 2, 3], function(num) { return Math.sin(num); });- * // => [3, 1, 2]- *- * _.sortBy([1, 2, 3], function(num) { return this.sin(num); }, Math);- * // => [3, 1, 2]- *- * var characters = [- * { 'name': 'barney', 'age': 36 },- * { 'name': 'fred', 'age': 40 },- * { 'name': 'barney', 'age': 26 },- * { 'name': 'fred', 'age': 30 }- * ];- *- * // using "_.pluck" callback shorthand- * _.map(_.sortBy(characters, 'age'), _.values);- * // => [['barney', 26], ['fred', 30], ['barney', 36], ['fred', 40]]- *- * // sorting by multiple properties- * _.map(_.sortBy(characters, ['name', 'age']), _.values);- * // = > [['barney', 26], ['barney', 36], ['fred', 30], ['fred', 40]]- */- function sortBy(collection, callback, thisArg) {- var index = -1,- isArr = isArray(callback),- length = collection ? collection.length : 0,- result = Array(typeof length == 'number' ? length : 0);-- if (!isArr) {- callback = lodash.createCallback(callback, thisArg, 3);- }- forEach(collection, function(value, key, collection) {- var object = result[++index] = getObject();- if (isArr) {- object.criteria = map(callback, function(key) { return value[key]; });- } else {- (object.criteria = getArray())[0] = callback(value, key, collection);- }- object.index = index;- object.value = value;- });-- length = result.length;- result.sort(compareAscending);- while (length--) {- var object = result[length];- result[length] = object.value;- if (!isArr) {- releaseArray(object.criteria);- }- releaseObject(object);- }- return result;- }-- /**- * Converts the `collection` to an array.- *- * @static- * @memberOf _- * @category Collections- * @param {Array|Object|string} collection The collection to convert.- * @returns {Array} Returns the new converted array.- * @example- *- * (function() { return _.toArray(arguments).slice(1); })(1, 2, 3, 4);- * // => [2, 3, 4]- */- function toArray(collection) {- if (collection && typeof collection.length == 'number') {- return slice(collection);- }- return values(collection);- }-- /**- * Performs a deep comparison of each element in a `collection` to the given- * `properties` object, returning an array of all elements that have equivalent- * property values.- *- * @static- * @memberOf _- * @type Function- * @category Collections- * @param {Array|Object|string} collection The collection to iterate over.- * @param {Object} props The object of property values to filter by.- * @returns {Array} Returns a new array of elements that have the given properties.- * @example- *- * var characters = [- * { 'name': 'barney', 'age': 36, 'pets': ['hoppy'] },- * { 'name': 'fred', 'age': 40, 'pets': ['baby puss', 'dino'] }- * ];- *- * _.where(characters, { 'age': 36 });- * // => [{ 'name': 'barney', 'age': 36, 'pets': ['hoppy'] }]- *- * _.where(characters, { 'pets': ['dino'] });- * // => [{ 'name': 'fred', 'age': 40, 'pets': ['baby puss', 'dino'] }]- */- var where = filter;-- /*--------------------------------------------------------------------------*/-- /**- * Creates an array with all falsey values removed. The values `false`, `null`,- * `0`, `""`, `undefined`, and `NaN` are all falsey.- *- * @static- * @memberOf _- * @category Arrays- * @param {Array} array The array to compact.- * @returns {Array} Returns a new array of filtered values.- * @example- *- * _.compact([0, 1, false, 2, '', 3]);- * // => [1, 2, 3]- */- function compact(array) {- var index = -1,- length = array ? array.length : 0,- result = [];-- while (++index < length) {- var value = array[index];- if (value) {- result.push(value);- }- }- return result;- }-- /**- * Creates an array excluding all values of the provided arrays using strict- * equality for comparisons, i.e. `===`.- *- * @static- * @memberOf _- * @category Arrays- * @param {Array} array The array to process.- * @param {...Array} [values] The arrays of values to exclude.- * @returns {Array} Returns a new array of filtered values.- * @example- *- * _.difference([1, 2, 3, 4, 5], [5, 2, 10]);- * // => [1, 3, 4]- */- function difference(array) {- return baseDifference(array, baseFlatten(arguments, true, true, 1));- }-- /**- * This method is like `_.find` except that it returns the index of the first- * element that passes the callback check, instead of the element itself.- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @category Arrays- * @param {Array} array The array to search.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {number} Returns the index of the found element, else `-1`.- * @example- *- * var characters = [- * { 'name': 'barney', 'age': 36, 'blocked': false },- * { 'name': 'fred', 'age': 40, 'blocked': true },- * { 'name': 'pebbles', 'age': 1, 'blocked': false }- * ];- *- * _.findIndex(characters, function(chr) {- * return chr.age < 20;- * });- * // => 2- *- * // using "_.where" callback shorthand- * _.findIndex(characters, { 'age': 36 });- * // => 0- *- * // using "_.pluck" callback shorthand- * _.findIndex(characters, 'blocked');- * // => 1- */- function findIndex(array, callback, thisArg) {- var index = -1,- length = array ? array.length : 0;-- callback = lodash.createCallback(callback, thisArg, 3);- while (++index < length) {- if (callback(array[index], index, array)) {- return index;- }- }- return -1;- }-- /**- * This method is like `_.findIndex` except that it iterates over elements- * of a `collection` from right to left.- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @category Arrays- * @param {Array} array The array to search.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {number} Returns the index of the found element, else `-1`.- * @example- *- * var characters = [- * { 'name': 'barney', 'age': 36, 'blocked': true },- * { 'name': 'fred', 'age': 40, 'blocked': false },- * { 'name': 'pebbles', 'age': 1, 'blocked': true }- * ];- *- * _.findLastIndex(characters, function(chr) {- * return chr.age > 30;- * });- * // => 1- *- * // using "_.where" callback shorthand- * _.findLastIndex(characters, { 'age': 36 });- * // => 0- *- * // using "_.pluck" callback shorthand- * _.findLastIndex(characters, 'blocked');- * // => 2- */- function findLastIndex(array, callback, thisArg) {- var length = array ? array.length : 0;- callback = lodash.createCallback(callback, thisArg, 3);- while (length--) {- if (callback(array[length], length, array)) {- return length;- }- }- return -1;- }-- /**- * Gets the first element or first `n` elements of an array. If a callback- * is provided elements at the beginning of the array are returned as long- * as the callback returns truey. The callback is bound to `thisArg` and- * invoked with three arguments; (value, index, array).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @alias head, take- * @category Arrays- * @param {Array} array The array to query.- * @param {Function|Object|number|string} [callback] The function called- * per element or the number of elements to return. If a property name or- * object is provided it will be used to create a "_.pluck" or "_.where"- * style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {*} Returns the first element(s) of `array`.- * @example- *- * _.first([1, 2, 3]);- * // => 1- *- * _.first([1, 2, 3], 2);- * // => [1, 2]- *- * _.first([1, 2, 3], function(num) {- * return num < 3;- * });- * // => [1, 2]- *- * var characters = [- * { 'name': 'barney', 'blocked': true, 'employer': 'slate' },- * { 'name': 'fred', 'blocked': false, 'employer': 'slate' },- * { 'name': 'pebbles', 'blocked': true, 'employer': 'na' }- * ];- *- * // using "_.pluck" callback shorthand- * _.first(characters, 'blocked');- * // => [{ 'name': 'barney', 'blocked': true, 'employer': 'slate' }]- *- * // using "_.where" callback shorthand- * _.pluck(_.first(characters, { 'employer': 'slate' }), 'name');- * // => ['barney', 'fred']- */- function first(array, callback, thisArg) {- var n = 0,- length = array ? array.length : 0;-- if (typeof callback != 'number' && callback != null) {- var index = -1;- callback = lodash.createCallback(callback, thisArg, 3);- while (++index < length && callback(array[index], index, array)) {- n++;- }- } else {- n = callback;- if (n == null || thisArg) {- return array ? array[0] : undefined;- }- }- return slice(array, 0, nativeMin(nativeMax(0, n), length));- }-- /**- * Flattens a nested array (the nesting can be to any depth). If `isShallow`- * is truey, the array will only be flattened a single level. If a callback- * is provided each element of the array is passed through the callback before- * flattening. The callback is bound to `thisArg` and invoked with three- * arguments; (value, index, array).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @category Arrays- * @param {Array} array The array to flatten.- * @param {boolean} [isShallow=false] A flag to restrict flattening to a single level.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Array} Returns a new flattened array.- * @example- *- * _.flatten([1, [2], [3, [[4]]]]);- * // => [1, 2, 3, 4];- *- * _.flatten([1, [2], [3, [[4]]]], true);- * // => [1, 2, 3, [[4]]];- *- * var characters = [- * { 'name': 'barney', 'age': 30, 'pets': ['hoppy'] },- * { 'name': 'fred', 'age': 40, 'pets': ['baby puss', 'dino'] }- * ];- *- * // using "_.pluck" callback shorthand- * _.flatten(characters, 'pets');- * // => ['hoppy', 'baby puss', 'dino']- */- function flatten(array, isShallow, callback, thisArg) {- // juggle arguments- if (typeof isShallow != 'boolean' && isShallow != null) {- thisArg = callback;- callback = (typeof isShallow != 'function' && thisArg && thisArg[isShallow] === array) ? null : isShallow;- isShallow = false;- }- if (callback != null) {- array = map(array, callback, thisArg);- }- return baseFlatten(array, isShallow);- }-- /**- * Gets the index at which the first occurrence of `value` is found using- * strict equality for comparisons, i.e. `===`. If the array is already sorted- * providing `true` for `fromIndex` will run a faster binary search.- *- * @static- * @memberOf _- * @category Arrays- * @param {Array} array The array to search.- * @param {*} value The value to search for.- * @param {boolean|number} [fromIndex=0] The index to search from or `true`- * to perform a binary search on a sorted array.- * @returns {number} Returns the index of the matched value or `-1`.- * @example- *- * _.indexOf([1, 2, 3, 1, 2, 3], 2);- * // => 1- *- * _.indexOf([1, 2, 3, 1, 2, 3], 2, 3);- * // => 4- *- * _.indexOf([1, 1, 2, 2, 3, 3], 2, true);- * // => 2- */- function indexOf(array, value, fromIndex) {- if (typeof fromIndex == 'number') {- var length = array ? array.length : 0;- fromIndex = (fromIndex < 0 ? nativeMax(0, length + fromIndex) : fromIndex || 0);- } else if (fromIndex) {- var index = sortedIndex(array, value);- return array[index] === value ? index : -1;- }- return baseIndexOf(array, value, fromIndex);- }-- /**- * Gets all but the last element or last `n` elements of an array. If a- * callback is provided elements at the end of the array are excluded from- * the result as long as the callback returns truey. The callback is bound- * to `thisArg` and invoked with three arguments; (value, index, array).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @category Arrays- * @param {Array} array The array to query.- * @param {Function|Object|number|string} [callback=1] The function called- * per element or the number of elements to exclude. If a property name or- * object is provided it will be used to create a "_.pluck" or "_.where"- * style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Array} Returns a slice of `array`.- * @example- *- * _.initial([1, 2, 3]);- * // => [1, 2]- *- * _.initial([1, 2, 3], 2);- * // => [1]- *- * _.initial([1, 2, 3], function(num) {- * return num > 1;- * });- * // => [1]- *- * var characters = [- * { 'name': 'barney', 'blocked': false, 'employer': 'slate' },- * { 'name': 'fred', 'blocked': true, 'employer': 'slate' },- * { 'name': 'pebbles', 'blocked': true, 'employer': 'na' }- * ];- *- * // using "_.pluck" callback shorthand- * _.initial(characters, 'blocked');- * // => [{ 'name': 'barney', 'blocked': false, 'employer': 'slate' }]- *- * // using "_.where" callback shorthand- * _.pluck(_.initial(characters, { 'employer': 'na' }), 'name');- * // => ['barney', 'fred']- */- function initial(array, callback, thisArg) {- var n = 0,- length = array ? array.length : 0;-- if (typeof callback != 'number' && callback != null) {- var index = length;- callback = lodash.createCallback(callback, thisArg, 3);- while (index-- && callback(array[index], index, array)) {- n++;- }- } else {- n = (callback == null || thisArg) ? 1 : callback || n;- }- return slice(array, 0, nativeMin(nativeMax(0, length - n), length));- }-- /**- * Creates an array of unique values present in all provided arrays using- * strict equality for comparisons, i.e. `===`.- *- * @static- * @memberOf _- * @category Arrays- * @param {...Array} [array] The arrays to inspect.- * @returns {Array} Returns an array of shared values.- * @example- *- * _.intersection([1, 2, 3], [5, 2, 1, 4], [2, 1]);- * // => [1, 2]- */- function intersection() {- var args = [],- argsIndex = -1,- argsLength = arguments.length,- caches = getArray(),- indexOf = getIndexOf(),- trustIndexOf = indexOf === baseIndexOf,- seen = getArray();-- while (++argsIndex < argsLength) {- var value = arguments[argsIndex];- if (isArray(value) || isArguments(value)) {- args.push(value);- caches.push(trustIndexOf && value.length >= largeArraySize &&- createCache(argsIndex ? args[argsIndex] : seen));- }- }- var array = args[0],- index = -1,- length = array ? array.length : 0,- result = [];-- outer:- while (++index < length) {- var cache = caches[0];- value = array[index];-- if ((cache ? cacheIndexOf(cache, value) : indexOf(seen, value)) < 0) {- argsIndex = argsLength;- (cache || seen).push(value);- while (--argsIndex) {- cache = caches[argsIndex];- if ((cache ? cacheIndexOf(cache, value) : indexOf(args[argsIndex], value)) < 0) {- continue outer;- }- }- result.push(value);- }- }- while (argsLength--) {- cache = caches[argsLength];- if (cache) {- releaseObject(cache);- }- }- releaseArray(caches);- releaseArray(seen);- return result;- }-- /**- * Gets the last element or last `n` elements of an array. If a callback is- * provided elements at the end of the array are returned as long as the- * callback returns truey. The callback is bound to `thisArg` and invoked- * with three arguments; (value, index, array).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @category Arrays- * @param {Array} array The array to query.- * @param {Function|Object|number|string} [callback] The function called- * per element or the number of elements to return. If a property name or- * object is provided it will be used to create a "_.pluck" or "_.where"- * style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {*} Returns the last element(s) of `array`.- * @example- *- * _.last([1, 2, 3]);- * // => 3- *- * _.last([1, 2, 3], 2);- * // => [2, 3]- *- * _.last([1, 2, 3], function(num) {- * return num > 1;- * });- * // => [2, 3]- *- * var characters = [- * { 'name': 'barney', 'blocked': false, 'employer': 'slate' },- * { 'name': 'fred', 'blocked': true, 'employer': 'slate' },- * { 'name': 'pebbles', 'blocked': true, 'employer': 'na' }- * ];- *- * // using "_.pluck" callback shorthand- * _.pluck(_.last(characters, 'blocked'), 'name');- * // => ['fred', 'pebbles']- *- * // using "_.where" callback shorthand- * _.last(characters, { 'employer': 'na' });- * // => [{ 'name': 'pebbles', 'blocked': true, 'employer': 'na' }]- */- function last(array, callback, thisArg) {- var n = 0,- length = array ? array.length : 0;-- if (typeof callback != 'number' && callback != null) {- var index = length;- callback = lodash.createCallback(callback, thisArg, 3);- while (index-- && callback(array[index], index, array)) {- n++;- }- } else {- n = callback;- if (n == null || thisArg) {- return array ? array[length - 1] : undefined;- }- }- return slice(array, nativeMax(0, length - n));- }-- /**- * Gets the index at which the last occurrence of `value` is found using strict- * equality for comparisons, i.e. `===`. If `fromIndex` is negative, it is used- * as the offset from the end of the collection.- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @category Arrays- * @param {Array} array The array to search.- * @param {*} value The value to search for.- * @param {number} [fromIndex=array.length-1] The index to search from.- * @returns {number} Returns the index of the matched value or `-1`.- * @example- *- * _.lastIndexOf([1, 2, 3, 1, 2, 3], 2);- * // => 4- *- * _.lastIndexOf([1, 2, 3, 1, 2, 3], 2, 3);- * // => 1- */- function lastIndexOf(array, value, fromIndex) {- var index = array ? array.length : 0;- if (typeof fromIndex == 'number') {- index = (fromIndex < 0 ? nativeMax(0, index + fromIndex) : nativeMin(fromIndex, index - 1)) + 1;- }- while (index--) {- if (array[index] === value) {- return index;- }- }- return -1;- }-- /**- * Removes all provided values from the given array using strict equality for- * comparisons, i.e. `===`.- *- * @static- * @memberOf _- * @category Arrays- * @param {Array} array The array to modify.- * @param {...*} [value] The values to remove.- * @returns {Array} Returns `array`.- * @example- *- * var array = [1, 2, 3, 1, 2, 3];- * _.pull(array, 2, 3);- * console.log(array);- * // => [1, 1]- */- function pull(array) {- var args = arguments,- argsIndex = 0,- argsLength = args.length,- length = array ? array.length : 0;-- while (++argsIndex < argsLength) {- var index = -1,- value = args[argsIndex];- while (++index < length) {- if (array[index] === value) {- splice.call(array, index--, 1);- length--;- }- }- }- return array;- }-- /**- * Creates an array of numbers (positive and/or negative) progressing from- * `start` up to but not including `end`. If `start` is less than `stop` a- * zero-length range is created unless a negative `step` is specified.- *- * @static- * @memberOf _- * @category Arrays- * @param {number} [start=0] The start of the range.- * @param {number} end The end of the range.- * @param {number} [step=1] The value to increment or decrement by.- * @returns {Array} Returns a new range array.- * @example- *- * _.range(4);- * // => [0, 1, 2, 3]- *- * _.range(1, 5);- * // => [1, 2, 3, 4]- *- * _.range(0, 20, 5);- * // => [0, 5, 10, 15]- *- * _.range(0, -4, -1);- * // => [0, -1, -2, -3]- *- * _.range(1, 4, 0);- * // => [1, 1, 1]- *- * _.range(0);- * // => []- */- function range(start, end, step) {- start = +start || 0;- step = typeof step == 'number' ? step : (+step || 1);-- if (end == null) {- end = start;- start = 0;- }- // use `Array(length)` so engines like Chakra and V8 avoid slower modes- // http://youtu.be/XAqIpGU8ZZk#t=17m25s- var index = -1,- length = nativeMax(0, ceil((end - start) / (step || 1))),- result = Array(length);-- while (++index < length) {- result[index] = start;- start += step;- }- return result;- }-- /**- * Removes all elements from an array that the callback returns truey for- * and returns an array of removed elements. The callback is bound to `thisArg`- * and invoked with three arguments; (value, index, array).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @category Arrays- * @param {Array} array The array to modify.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Array} Returns a new array of removed elements.- * @example- *- * var array = [1, 2, 3, 4, 5, 6];- * var evens = _.remove(array, function(num) { return num % 2 == 0; });- *- * console.log(array);- * // => [1, 3, 5]- *- * console.log(evens);- * // => [2, 4, 6]- */- function remove(array, callback, thisArg) {- var index = -1,- length = array ? array.length : 0,- result = [];-- callback = lodash.createCallback(callback, thisArg, 3);- while (++index < length) {- var value = array[index];- if (callback(value, index, array)) {- result.push(value);- splice.call(array, index--, 1);- length--;- }- }- return result;- }-- /**- * The opposite of `_.initial` this method gets all but the first element or- * first `n` elements of an array. If a callback function is provided elements- * at the beginning of the array are excluded from the result as long as the- * callback returns truey. The callback is bound to `thisArg` and invoked- * with three arguments; (value, index, array).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @alias drop, tail- * @category Arrays- * @param {Array} array The array to query.- * @param {Function|Object|number|string} [callback=1] The function called- * per element or the number of elements to exclude. If a property name or- * object is provided it will be used to create a "_.pluck" or "_.where"- * style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Array} Returns a slice of `array`.- * @example- *- * _.rest([1, 2, 3]);- * // => [2, 3]- *- * _.rest([1, 2, 3], 2);- * // => [3]- *- * _.rest([1, 2, 3], function(num) {- * return num < 3;- * });- * // => [3]- *- * var characters = [- * { 'name': 'barney', 'blocked': true, 'employer': 'slate' },- * { 'name': 'fred', 'blocked': false, 'employer': 'slate' },- * { 'name': 'pebbles', 'blocked': true, 'employer': 'na' }- * ];- *- * // using "_.pluck" callback shorthand- * _.pluck(_.rest(characters, 'blocked'), 'name');- * // => ['fred', 'pebbles']- *- * // using "_.where" callback shorthand- * _.rest(characters, { 'employer': 'slate' });- * // => [{ 'name': 'pebbles', 'blocked': true, 'employer': 'na' }]- */- function rest(array, callback, thisArg) {- if (typeof callback != 'number' && callback != null) {- var n = 0,- index = -1,- length = array ? array.length : 0;-- callback = lodash.createCallback(callback, thisArg, 3);- while (++index < length && callback(array[index], index, array)) {- n++;- }- } else {- n = (callback == null || thisArg) ? 1 : nativeMax(0, callback);- }- return slice(array, n);- }-- /**- * Uses a binary search to determine the smallest index at which a value- * should be inserted into a given sorted array in order to maintain the sort- * order of the array. If a callback is provided it will be executed for- * `value` and each element of `array` to compute their sort ranking. The- * callback is bound to `thisArg` and invoked with one argument; (value).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @category Arrays- * @param {Array} array The array to inspect.- * @param {*} value The value to evaluate.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {number} Returns the index at which `value` should be inserted- * into `array`.- * @example- *- * _.sortedIndex([20, 30, 50], 40);- * // => 2- *- * // using "_.pluck" callback shorthand- * _.sortedIndex([{ 'x': 20 }, { 'x': 30 }, { 'x': 50 }], { 'x': 40 }, 'x');- * // => 2- *- * var dict = {- * 'wordToNumber': { 'twenty': 20, 'thirty': 30, 'fourty': 40, 'fifty': 50 }- * };- *- * _.sortedIndex(['twenty', 'thirty', 'fifty'], 'fourty', function(word) {- * return dict.wordToNumber[word];- * });- * // => 2- *- * _.sortedIndex(['twenty', 'thirty', 'fifty'], 'fourty', function(word) {- * return this.wordToNumber[word];- * }, dict);- * // => 2- */- function sortedIndex(array, value, callback, thisArg) {- var low = 0,- high = array ? array.length : low;-- // explicitly reference `identity` for better inlining in Firefox- callback = callback ? lodash.createCallback(callback, thisArg, 1) : identity;- value = callback(value);-- while (low < high) {- var mid = (low + high) >>> 1;- (callback(array[mid]) < value)- ? low = mid + 1- : high = mid;- }- return low;- }-- /**- * Creates an array of unique values, in order, of the provided arrays using- * strict equality for comparisons, i.e. `===`.- *- * @static- * @memberOf _- * @category Arrays- * @param {...Array} [array] The arrays to inspect.- * @returns {Array} Returns an array of combined values.- * @example- *- * _.union([1, 2, 3], [5, 2, 1, 4], [2, 1]);- * // => [1, 2, 3, 5, 4]- */- function union() {- return baseUniq(baseFlatten(arguments, true, true));- }-- /**- * Creates a duplicate-value-free version of an array using strict equality- * for comparisons, i.e. `===`. If the array is sorted, providing- * `true` for `isSorted` will use a faster algorithm. If a callback is provided- * each element of `array` is passed through the callback before uniqueness- * is computed. The callback is bound to `thisArg` and invoked with three- * arguments; (value, index, array).- *- * If a property name is provided for `callback` the created "_.pluck" style- * callback will return the property value of the given element.- *- * If an object is provided for `callback` the created "_.where" style callback- * will return `true` for elements that have the properties of the given object,- * else `false`.- *- * @static- * @memberOf _- * @alias unique- * @category Arrays- * @param {Array} array The array to process.- * @param {boolean} [isSorted=false] A flag to indicate that `array` is sorted.- * @param {Function|Object|string} [callback=identity] The function called- * per iteration. If a property name or object is provided it will be used- * to create a "_.pluck" or "_.where" style callback, respectively.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Array} Returns a duplicate-value-free array.- * @example- *- * _.uniq([1, 2, 1, 3, 1]);- * // => [1, 2, 3]- *- * _.uniq([1, 1, 2, 2, 3], true);- * // => [1, 2, 3]- *- * _.uniq(['A', 'b', 'C', 'a', 'B', 'c'], function(letter) { return letter.toLowerCase(); });- * // => ['A', 'b', 'C']- *- * _.uniq([1, 2.5, 3, 1.5, 2, 3.5], function(num) { return this.floor(num); }, Math);- * // => [1, 2.5, 3]- *- * // using "_.pluck" callback shorthand- * _.uniq([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');- * // => [{ 'x': 1 }, { 'x': 2 }]- */- function uniq(array, isSorted, callback, thisArg) {- // juggle arguments- if (typeof isSorted != 'boolean' && isSorted != null) {- thisArg = callback;- callback = (typeof isSorted != 'function' && thisArg && thisArg[isSorted] === array) ? null : isSorted;- isSorted = false;- }- if (callback != null) {- callback = lodash.createCallback(callback, thisArg, 3);- }- return baseUniq(array, isSorted, callback);- }-- /**- * Creates an array excluding all provided values using strict equality for- * comparisons, i.e. `===`.- *- * @static- * @memberOf _- * @category Arrays- * @param {Array} array The array to filter.- * @param {...*} [value] The values to exclude.- * @returns {Array} Returns a new array of filtered values.- * @example- *- * _.without([1, 2, 1, 0, 3, 1, 4], 0, 1);- * // => [2, 3, 4]- */- function without(array) {- return baseDifference(array, slice(arguments, 1));- }-- /**- * Creates an array that is the symmetric difference of the provided arrays.- * See http://en.wikipedia.org/wiki/Symmetric_difference.- *- * @static- * @memberOf _- * @category Arrays- * @param {...Array} [array] The arrays to inspect.- * @returns {Array} Returns an array of values.- * @example- *- * _.xor([1, 2, 3], [5, 2, 1, 4]);- * // => [3, 5, 4]- *- * _.xor([1, 2, 5], [2, 3, 5], [3, 4, 5]);- * // => [1, 4, 5]- */- function xor() {- var index = -1,- length = arguments.length;-- while (++index < length) {- var array = arguments[index];- if (isArray(array) || isArguments(array)) {- var result = result- ? baseUniq(baseDifference(result, array).concat(baseDifference(array, result)))- : array;- }- }- return result || [];- }-- /**- * Creates an array of grouped elements, the first of which contains the first- * elements of the given arrays, the second of which contains the second- * elements of the given arrays, and so on.- *- * @static- * @memberOf _- * @alias unzip- * @category Arrays- * @param {...Array} [array] Arrays to process.- * @returns {Array} Returns a new array of grouped elements.- * @example- *- * _.zip(['fred', 'barney'], [30, 40], [true, false]);- * // => [['fred', 30, true], ['barney', 40, false]]- */- function zip() {- var array = arguments.length > 1 ? arguments : arguments[0],- index = -1,- length = array ? max(pluck(array, 'length')) : 0,- result = Array(length < 0 ? 0 : length);-- while (++index < length) {- result[index] = pluck(array, index);- }- return result;- }-- /**- * Creates an object composed from arrays of `keys` and `values`. Provide- * either a single two dimensional array, i.e. `[[key1, value1], [key2, value2]]`- * or two arrays, one of `keys` and one of corresponding `values`.- *- * @static- * @memberOf _- * @alias object- * @category Arrays- * @param {Array} keys The array of keys.- * @param {Array} [values=[]] The array of values.- * @returns {Object} Returns an object composed of the given keys and- * corresponding values.- * @example- *- * _.zipObject(['fred', 'barney'], [30, 40]);- * // => { 'fred': 30, 'barney': 40 }- */- function zipObject(keys, values) {- var index = -1,- length = keys ? keys.length : 0,- result = {};-- if (!values && length && !isArray(keys[0])) {- values = [];- }- while (++index < length) {- var key = keys[index];- if (values) {- result[key] = values[index];- } else if (key) {- result[key[0]] = key[1];- }- }- return result;- }-- /*--------------------------------------------------------------------------*/-- /**- * Creates a function that executes `func`, with the `this` binding and- * arguments of the created function, only after being called `n` times.- *- * @static- * @memberOf _- * @category Functions- * @param {number} n The number of times the function must be called before- * `func` is executed.- * @param {Function} func The function to restrict.- * @returns {Function} Returns the new restricted function.- * @example- *- * var saves = ['profile', 'settings'];- *- * var done = _.after(saves.length, function() {- * console.log('Done saving!');- * });- *- * _.forEach(saves, function(type) {- * asyncSave({ 'type': type, 'complete': done });- * });- * // => logs 'Done saving!', after all saves have completed- */- function after(n, func) {- if (!isFunction(func)) {- throw new TypeError;- }- return function() {- if (--n < 1) {- return func.apply(this, arguments);- }- };- }-- /**- * Creates a function that, when called, invokes `func` with the `this`- * binding of `thisArg` and prepends any additional `bind` arguments to those- * provided to the bound function.- *- * @static- * @memberOf _- * @category Functions- * @param {Function} func The function to bind.- * @param {*} [thisArg] The `this` binding of `func`.- * @param {...*} [arg] Arguments to be partially applied.- * @returns {Function} Returns the new bound function.- * @example- *- * var func = function(greeting) {- * return greeting + ' ' + this.name;- * };- *- * func = _.bind(func, { 'name': 'fred' }, 'hi');- * func();- * // => 'hi fred'- */- function bind(func, thisArg) {- return arguments.length > 2- ? createWrapper(func, 17, slice(arguments, 2), null, thisArg)- : createWrapper(func, 1, null, null, thisArg);- }-- /**- * Binds methods of an object to the object itself, overwriting the existing- * method. Method names may be specified as individual arguments or as arrays- * of method names. If no method names are provided all the function properties- * of `object` will be bound.- *- * @static- * @memberOf _- * @category Functions- * @param {Object} object The object to bind and assign the bound methods to.- * @param {...string} [methodName] The object method names to- * bind, specified as individual method names or arrays of method names.- * @returns {Object} Returns `object`.- * @example- *- * var view = {- * 'label': 'docs',- * 'onClick': function() { console.log('clicked ' + this.label); }- * };- *- * _.bindAll(view);- * jQuery('#docs').on('click', view.onClick);- * // => logs 'clicked docs', when the button is clicked- */- function bindAll(object) {- var funcs = arguments.length > 1 ? baseFlatten(arguments, true, false, 1) : functions(object),- index = -1,- length = funcs.length;-- while (++index < length) {- var key = funcs[index];- object[key] = createWrapper(object[key], 1, null, null, object);- }- return object;- }-- /**- * Creates a function that, when called, invokes the method at `object[key]`- * and prepends any additional `bindKey` arguments to those provided to the bound- * function. This method differs from `_.bind` by allowing bound functions to- * reference methods that will be redefined or don't yet exist.- * See http://michaux.ca/articles/lazy-function-definition-pattern.- *- * @static- * @memberOf _- * @category Functions- * @param {Object} object The object the method belongs to.- * @param {string} key The key of the method.- * @param {...*} [arg] Arguments to be partially applied.- * @returns {Function} Returns the new bound function.- * @example- *- * var object = {- * 'name': 'fred',- * 'greet': function(greeting) {- * return greeting + ' ' + this.name;- * }- * };- *- * var func = _.bindKey(object, 'greet', 'hi');- * func();- * // => 'hi fred'- *- * object.greet = function(greeting) {- * return greeting + 'ya ' + this.name + '!';- * };- *- * func();- * // => 'hiya fred!'- */- function bindKey(object, key) {- return arguments.length > 2- ? createWrapper(key, 19, slice(arguments, 2), null, object)- : createWrapper(key, 3, null, null, object);- }-- /**- * Creates a function that is the composition of the provided functions,- * where each function consumes the return value of the function that follows.- * For example, composing the functions `f()`, `g()`, and `h()` produces `f(g(h()))`.- * Each function is executed with the `this` binding of the composed function.- *- * @static- * @memberOf _- * @category Functions- * @param {...Function} [func] Functions to compose.- * @returns {Function} Returns the new composed function.- * @example- *- * var realNameMap = {- * 'pebbles': 'penelope'- * };- *- * var format = function(name) {- * name = realNameMap[name.toLowerCase()] || name;- * return name.charAt(0).toUpperCase() + name.slice(1).toLowerCase();- * };- *- * var greet = function(formatted) {- * return 'Hiya ' + formatted + '!';- * };- *- * var welcome = _.compose(greet, format);- * welcome('pebbles');- * // => 'Hiya Penelope!'- */- function compose() {- var funcs = arguments,- length = funcs.length;-- while (length--) {- if (!isFunction(funcs[length])) {- throw new TypeError;- }- }- return function() {- var args = arguments,- length = funcs.length;-- while (length--) {- args = [funcs[length].apply(this, args)];- }- return args[0];- };- }-- /**- * Creates a function which accepts one or more arguments of `func` that when- * invoked either executes `func` returning its result, if all `func` arguments- * have been provided, or returns a function that accepts one or more of the- * remaining `func` arguments, and so on. The arity of `func` can be specified- * if `func.length` is not sufficient.- *- * @static- * @memberOf _- * @category Functions- * @param {Function} func The function to curry.- * @param {number} [arity=func.length] The arity of `func`.- * @returns {Function} Returns the new curried function.- * @example- *- * var curried = _.curry(function(a, b, c) {- * console.log(a + b + c);- * });- *- * curried(1)(2)(3);- * // => 6- *- * curried(1, 2)(3);- * // => 6- *- * curried(1, 2, 3);- * // => 6- */- function curry(func, arity) {- arity = typeof arity == 'number' ? arity : (+arity || func.length);- return createWrapper(func, 4, null, null, null, arity);- }-- /**- * Creates a function that will delay the execution of `func` until after- * `wait` milliseconds have elapsed since the last time it was invoked.- * Provide an options object to indicate that `func` should be invoked on- * the leading and/or trailing edge of the `wait` timeout. Subsequent calls- * to the debounced function will return the result of the last `func` call.- *- * Note: If `leading` and `trailing` options are `true` `func` will be called- * on the trailing edge of the timeout only if the the debounced function is- * invoked more than once during the `wait` timeout.- *- * @static- * @memberOf _- * @category Functions- * @param {Function} func The function to debounce.- * @param {number} wait The number of milliseconds to delay.- * @param {Object} [options] The options object.- * @param {boolean} [options.leading=false] Specify execution on the leading edge of the timeout.- * @param {number} [options.maxWait] The maximum time `func` is allowed to be delayed before it's called.- * @param {boolean} [options.trailing=true] Specify execution on the trailing edge of the timeout.- * @returns {Function} Returns the new debounced function.- * @example- *- * // avoid costly calculations while the window size is in flux- * var lazyLayout = _.debounce(calculateLayout, 150);- * jQuery(window).on('resize', lazyLayout);- *- * // execute `sendMail` when the click event is fired, debouncing subsequent calls- * jQuery('#postbox').on('click', _.debounce(sendMail, 300, {- * 'leading': true,- * 'trailing': false- * });- *- * // ensure `batchLog` is executed once after 1 second of debounced calls- * var source = new EventSource('/stream');- * source.addEventListener('message', _.debounce(batchLog, 250, {- * 'maxWait': 1000- * }, false);- */- function debounce(func, wait, options) {- var args,- maxTimeoutId,- result,- stamp,- thisArg,- timeoutId,- trailingCall,- lastCalled = 0,- maxWait = false,- trailing = true;-- if (!isFunction(func)) {- throw new TypeError;- }- wait = nativeMax(0, wait) || 0;- if (options === true) {- var leading = true;- trailing = false;- } else if (isObject(options)) {- leading = options.leading;- maxWait = 'maxWait' in options && (nativeMax(wait, options.maxWait) || 0);- trailing = 'trailing' in options ? options.trailing : trailing;- }- var delayed = function() {- var remaining = wait - (now() - stamp);- if (remaining <= 0) {- if (maxTimeoutId) {- clearTimeout(maxTimeoutId);- }- var isCalled = trailingCall;- maxTimeoutId = timeoutId = trailingCall = undefined;- if (isCalled) {- lastCalled = now();- result = func.apply(thisArg, args);- if (!timeoutId && !maxTimeoutId) {- args = thisArg = null;- }- }- } else {- timeoutId = setTimeout(delayed, remaining);- }- };-- var maxDelayed = function() {- if (timeoutId) {- clearTimeout(timeoutId);- }- maxTimeoutId = timeoutId = trailingCall = undefined;- if (trailing || (maxWait !== wait)) {- lastCalled = now();- result = func.apply(thisArg, args);- if (!timeoutId && !maxTimeoutId) {- args = thisArg = null;- }- }- };-- return function() {- args = arguments;- stamp = now();- thisArg = this;- trailingCall = trailing && (timeoutId || !leading);-- if (maxWait === false) {- var leadingCall = leading && !timeoutId;- } else {- if (!maxTimeoutId && !leading) {- lastCalled = stamp;- }- var remaining = maxWait - (stamp - lastCalled),- isCalled = remaining <= 0;-- if (isCalled) {- if (maxTimeoutId) {- maxTimeoutId = clearTimeout(maxTimeoutId);- }- lastCalled = stamp;- result = func.apply(thisArg, args);- }- else if (!maxTimeoutId) {- maxTimeoutId = setTimeout(maxDelayed, remaining);- }- }- if (isCalled && timeoutId) {- timeoutId = clearTimeout(timeoutId);- }- else if (!timeoutId && wait !== maxWait) {- timeoutId = setTimeout(delayed, wait);- }- if (leadingCall) {- isCalled = true;- result = func.apply(thisArg, args);- }- if (isCalled && !timeoutId && !maxTimeoutId) {- args = thisArg = null;- }- return result;- };- }-- /**- * Defers executing the `func` function until the current call stack has cleared.- * Additional arguments will be provided to `func` when it is invoked.- *- * @static- * @memberOf _- * @category Functions- * @param {Function} func The function to defer.- * @param {...*} [arg] Arguments to invoke the function with.- * @returns {number} Returns the timer id.- * @example- *- * _.defer(function(text) { console.log(text); }, 'deferred');- * // logs 'deferred' after one or more milliseconds- */- function defer(func) {- if (!isFunction(func)) {- throw new TypeError;- }- var args = slice(arguments, 1);- return setTimeout(function() { func.apply(undefined, args); }, 1);- }-- /**- * Executes the `func` function after `wait` milliseconds. Additional arguments- * will be provided to `func` when it is invoked.- *- * @static- * @memberOf _- * @category Functions- * @param {Function} func The function to delay.- * @param {number} wait The number of milliseconds to delay execution.- * @param {...*} [arg] Arguments to invoke the function with.- * @returns {number} Returns the timer id.- * @example- *- * _.delay(function(text) { console.log(text); }, 1000, 'later');- * // => logs 'later' after one second- */- function delay(func, wait) {- if (!isFunction(func)) {- throw new TypeError;- }- var args = slice(arguments, 2);- return setTimeout(function() { func.apply(undefined, args); }, wait);- }-- /**- * Creates a function that memoizes the result of `func`. If `resolver` is- * provided it will be used to determine the cache key for storing the result- * based on the arguments provided to the memoized function. By default, the- * first argument provided to the memoized function is used as the cache key.- * The `func` is executed with the `this` binding of the memoized function.- * The result cache is exposed as the `cache` property on the memoized function.- *- * @static- * @memberOf _- * @category Functions- * @param {Function} func The function to have its output memoized.- * @param {Function} [resolver] A function used to resolve the cache key.- * @returns {Function} Returns the new memoizing function.- * @example- *- * var fibonacci = _.memoize(function(n) {- * return n < 2 ? n : fibonacci(n - 1) + fibonacci(n - 2);- * });- *- * fibonacci(9)- * // => 34- *- * var data = {- * 'fred': { 'name': 'fred', 'age': 40 },- * 'pebbles': { 'name': 'pebbles', 'age': 1 }- * };- *- * // modifying the result cache- * var get = _.memoize(function(name) { return data[name]; }, _.identity);- * get('pebbles');- * // => { 'name': 'pebbles', 'age': 1 }- *- * get.cache.pebbles.name = 'penelope';- * get('pebbles');- * // => { 'name': 'penelope', 'age': 1 }- */- function memoize(func, resolver) {- if (!isFunction(func)) {- throw new TypeError;- }- var memoized = function() {- var cache = memoized.cache,- key = resolver ? resolver.apply(this, arguments) : keyPrefix + arguments[0];-- return hasOwnProperty.call(cache, key)- ? cache[key]- : (cache[key] = func.apply(this, arguments));- }- memoized.cache = {};- return memoized;- }-- /**- * Creates a function that is restricted to execute `func` once. Repeat calls to- * the function will return the value of the first call. The `func` is executed- * with the `this` binding of the created function.- *- * @static- * @memberOf _- * @category Functions- * @param {Function} func The function to restrict.- * @returns {Function} Returns the new restricted function.- * @example- *- * var initialize = _.once(createApplication);- * initialize();- * initialize();- * // `initialize` executes `createApplication` once- */- function once(func) {- var ran,- result;-- if (!isFunction(func)) {- throw new TypeError;- }- return function() {- if (ran) {- return result;- }- ran = true;- result = func.apply(this, arguments);-- // clear the `func` variable so the function may be garbage collected- func = null;- return result;- };- }-- /**- * Creates a function that, when called, invokes `func` with any additional- * `partial` arguments prepended to those provided to the new function. This- * method is similar to `_.bind` except it does **not** alter the `this` binding.- *- * @static- * @memberOf _- * @category Functions- * @param {Function} func The function to partially apply arguments to.- * @param {...*} [arg] Arguments to be partially applied.- * @returns {Function} Returns the new partially applied function.- * @example- *- * var greet = function(greeting, name) { return greeting + ' ' + name; };- * var hi = _.partial(greet, 'hi');- * hi('fred');- * // => 'hi fred'- */- function partial(func) {- return createWrapper(func, 16, slice(arguments, 1));- }-- /**- * This method is like `_.partial` except that `partial` arguments are- * appended to those provided to the new function.- *- * @static- * @memberOf _- * @category Functions- * @param {Function} func The function to partially apply arguments to.- * @param {...*} [arg] Arguments to be partially applied.- * @returns {Function} Returns the new partially applied function.- * @example- *- * var defaultsDeep = _.partialRight(_.merge, _.defaults);- *- * var options = {- * 'variable': 'data',- * 'imports': { 'jq': $ }- * };- *- * defaultsDeep(options, _.templateSettings);- *- * options.variable- * // => 'data'- *- * options.imports- * // => { '_': _, 'jq': $ }- */- function partialRight(func) {- return createWrapper(func, 32, null, slice(arguments, 1));- }-- /**- * Creates a function that, when executed, will only call the `func` function- * at most once per every `wait` milliseconds. Provide an options object to- * indicate that `func` should be invoked on the leading and/or trailing edge- * of the `wait` timeout. Subsequent calls to the throttled function will- * return the result of the last `func` call.- *- * Note: If `leading` and `trailing` options are `true` `func` will be called- * on the trailing edge of the timeout only if the the throttled function is- * invoked more than once during the `wait` timeout.- *- * @static- * @memberOf _- * @category Functions- * @param {Function} func The function to throttle.- * @param {number} wait The number of milliseconds to throttle executions to.- * @param {Object} [options] The options object.- * @param {boolean} [options.leading=true] Specify execution on the leading edge of the timeout.- * @param {boolean} [options.trailing=true] Specify execution on the trailing edge of the timeout.- * @returns {Function} Returns the new throttled function.- * @example- *- * // avoid excessively updating the position while scrolling- * var throttled = _.throttle(updatePosition, 100);- * jQuery(window).on('scroll', throttled);- *- * // execute `renewToken` when the click event is fired, but not more than once every 5 minutes- * jQuery('.interactive').on('click', _.throttle(renewToken, 300000, {- * 'trailing': false- * }));- */- function throttle(func, wait, options) {- var leading = true,- trailing = true;-- if (!isFunction(func)) {- throw new TypeError;- }- if (options === false) {- leading = false;- } else if (isObject(options)) {- leading = 'leading' in options ? options.leading : leading;- trailing = 'trailing' in options ? options.trailing : trailing;- }- debounceOptions.leading = leading;- debounceOptions.maxWait = wait;- debounceOptions.trailing = trailing;-- return debounce(func, wait, debounceOptions);- }-- /**- * Creates a function that provides `value` to the wrapper function as its- * first argument. Additional arguments provided to the function are appended- * to those provided to the wrapper function. The wrapper is executed with- * the `this` binding of the created function.- *- * @static- * @memberOf _- * @category Functions- * @param {*} value The value to wrap.- * @param {Function} wrapper The wrapper function.- * @returns {Function} Returns the new function.- * @example- *- * var p = _.wrap(_.escape, function(func, text) {- * return '<p>' + func(text) + '</p>';- * });- *- * p('Fred, Wilma, & Pebbles');- * // => '<p>Fred, Wilma, & Pebbles</p>'- */- function wrap(value, wrapper) {- return createWrapper(wrapper, 16, [value]);- }-- /*--------------------------------------------------------------------------*/-- /**- * Creates a function that returns `value`.- *- * @static- * @memberOf _- * @category Utilities- * @param {*} value The value to return from the new function.- * @returns {Function} Returns the new function.- * @example- *- * var object = { 'name': 'fred' };- * var getter = _.constant(object);- * getter() === object;- * // => true- */- function constant(value) {- return function() {- return value;- };- }-- /**- * Produces a callback bound to an optional `thisArg`. If `func` is a property- * name the created callback will return the property value for a given element.- * If `func` is an object the created callback will return `true` for elements- * that contain the equivalent object properties, otherwise it will return `false`.- *- * @static- * @memberOf _- * @category Utilities- * @param {*} [func=identity] The value to convert to a callback.- * @param {*} [thisArg] The `this` binding of the created callback.- * @param {number} [argCount] The number of arguments the callback accepts.- * @returns {Function} Returns a callback function.- * @example- *- * var characters = [- * { 'name': 'barney', 'age': 36 },- * { 'name': 'fred', 'age': 40 }- * ];- *- * // wrap to create custom callback shorthands- * _.createCallback = _.wrap(_.createCallback, function(func, callback, thisArg) {- * var match = /^(.+?)__([gl]t)(.+)$/.exec(callback);- * return !match ? func(callback, thisArg) : function(object) {- * return match[2] == 'gt' ? object[match[1]] > match[3] : object[match[1]] < match[3];- * };- * });- *- * _.filter(characters, 'age__gt38');- * // => [{ 'name': 'fred', 'age': 40 }]- */- function createCallback(func, thisArg, argCount) {- var type = typeof func;- if (func == null || type == 'function') {- return baseCreateCallback(func, thisArg, argCount);- }- // handle "_.pluck" style callback shorthands- if (type != 'object') {- return property(func);- }- var props = keys(func),- key = props[0],- a = func[key];-- // handle "_.where" style callback shorthands- if (props.length == 1 && a === a && !isObject(a)) {- // fast path the common case of providing an object with a single- // property containing a primitive value- return function(object) {- var b = object[key];- return a === b && (a !== 0 || (1 / a == 1 / b));- };- }- return function(object) {- var length = props.length,- result = false;-- while (length--) {- if (!(result = baseIsEqual(object[props[length]], func[props[length]], null, true))) {- break;- }- }- return result;- };- }-- /**- * Converts the characters `&`, `<`, `>`, `"`, and `'` in `string` to their- * corresponding HTML entities.- *- * @static- * @memberOf _- * @category Utilities- * @param {string} string The string to escape.- * @returns {string} Returns the escaped string.- * @example- *- * _.escape('Fred, Wilma, & Pebbles');- * // => 'Fred, Wilma, & Pebbles'- */- function escape(string) {- return string == null ? '' : String(string).replace(reUnescapedHtml, escapeHtmlChar);- }-- /**- * This method returns the first argument provided to it.- *- * @static- * @memberOf _- * @category Utilities- * @param {*} value Any value.- * @returns {*} Returns `value`.- * @example- *- * var object = { 'name': 'fred' };- * _.identity(object) === object;- * // => true- */- function identity(value) {- return value;- }-- /**- * Adds function properties of a source object to the destination object.- * If `object` is a function methods will be added to its prototype as well.- *- * @static- * @memberOf _- * @category Utilities- * @param {Function|Object} [object=lodash] object The destination object.- * @param {Object} source The object of functions to add.- * @param {Object} [options] The options object.- * @param {boolean} [options.chain=true] Specify whether the functions added are chainable.- * @example- *- * function capitalize(string) {- * return string.charAt(0).toUpperCase() + string.slice(1).toLowerCase();- * }- *- * _.mixin({ 'capitalize': capitalize });- * _.capitalize('fred');- * // => 'Fred'- *- * _('fred').capitalize().value();- * // => 'Fred'- *- * _.mixin({ 'capitalize': capitalize }, { 'chain': false });- * _('fred').capitalize();- * // => 'Fred'- */- function mixin(object, source, options) {- var chain = true,- methodNames = source && functions(source);-- if (!source || (!options && !methodNames.length)) {- if (options == null) {- options = source;- }- ctor = lodashWrapper;- source = object;- object = lodash;- methodNames = functions(source);- }- if (options === false) {- chain = false;- } else if (isObject(options) && 'chain' in options) {- chain = options.chain;- }- var ctor = object,- isFunc = isFunction(ctor);-- forEach(methodNames, function(methodName) {- var func = object[methodName] = source[methodName];- if (isFunc) {- ctor.prototype[methodName] = function() {- var chainAll = this.__chain__,- value = this.__wrapped__,- args = [value];-- push.apply(args, arguments);- var result = func.apply(object, args);- if (chain || chainAll) {- if (value === result && isObject(result)) {- return this;- }- result = new ctor(result);- result.__chain__ = chainAll;- }- return result;- };- }- });- }-- /**- * Reverts the '_' variable to its previous value and returns a reference to- * the `lodash` function.- *- * @static- * @memberOf _- * @category Utilities- * @returns {Function} Returns the `lodash` function.- * @example- *- * var lodash = _.noConflict();- */- function noConflict() {- context._ = oldDash;- return this;- }-- /**- * A no-operation function.- *- * @static- * @memberOf _- * @category Utilities- * @example- *- * var object = { 'name': 'fred' };- * _.noop(object) === undefined;- * // => true- */- function noop() {- // no operation performed- }-- /**- * Gets the number of milliseconds that have elapsed since the Unix epoch- * (1 January 1970 00:00:00 UTC).- *- * @static- * @memberOf _- * @category Utilities- * @example- *- * var stamp = _.now();- * _.defer(function() { console.log(_.now() - stamp); });- * // => logs the number of milliseconds it took for the deferred function to be called- */- var now = isNative(now = Date.now) && now || function() {- return new Date().getTime();- };-- /**- * Converts the given value into an integer of the specified radix.- * If `radix` is `undefined` or `0` a `radix` of `10` is used unless the- * `value` is a hexadecimal, in which case a `radix` of `16` is used.- *- * Note: This method avoids differences in native ES3 and ES5 `parseInt`- * implementations. See http://es5.github.io/#E.- *- * @static- * @memberOf _- * @category Utilities- * @param {string} value The value to parse.- * @param {number} [radix] The radix used to interpret the value to parse.- * @returns {number} Returns the new integer value.- * @example- *- * _.parseInt('08');- * // => 8- */- var parseInt = nativeParseInt(whitespace + '08') == 8 ? nativeParseInt : function(value, radix) {- // Firefox < 21 and Opera < 15 follow the ES3 specified implementation of `parseInt`- return nativeParseInt(isString(value) ? value.replace(reLeadingSpacesAndZeros, '') : value, radix || 0);- };-- /**- * Creates a "_.pluck" style function, which returns the `key` value of a- * given object.- *- * @static- * @memberOf _- * @category Utilities- * @param {string} key The name of the property to retrieve.- * @returns {Function} Returns the new function.- * @example- *- * var characters = [- * { 'name': 'fred', 'age': 40 },- * { 'name': 'barney', 'age': 36 }- * ];- *- * var getName = _.property('name');- *- * _.map(characters, getName);- * // => ['barney', 'fred']- *- * _.sortBy(characters, getName);- * // => [{ 'name': 'barney', 'age': 36 }, { 'name': 'fred', 'age': 40 }]- */- function property(key) {- return function(object) {- return object[key];- };- }-- /**- * Produces a random number between `min` and `max` (inclusive). If only one- * argument is provided a number between `0` and the given number will be- * returned. If `floating` is truey or either `min` or `max` are floats a- * floating-point number will be returned instead of an integer.- *- * @static- * @memberOf _- * @category Utilities- * @param {number} [min=0] The minimum possible value.- * @param {number} [max=1] The maximum possible value.- * @param {boolean} [floating=false] Specify returning a floating-point number.- * @returns {number} Returns a random number.- * @example- *- * _.random(0, 5);- * // => an integer between 0 and 5- *- * _.random(5);- * // => also an integer between 0 and 5- *- * _.random(5, true);- * // => a floating-point number between 0 and 5- *- * _.random(1.2, 5.2);- * // => a floating-point number between 1.2 and 5.2- */- function random(min, max, floating) {- var noMin = min == null,- noMax = max == null;-- if (floating == null) {- if (typeof min == 'boolean' && noMax) {- floating = min;- min = 1;- }- else if (!noMax && typeof max == 'boolean') {- floating = max;- noMax = true;- }- }- if (noMin && noMax) {- max = 1;- }- min = +min || 0;- if (noMax) {- max = min;- min = 0;- } else {- max = +max || 0;- }- if (floating || min % 1 || max % 1) {- var rand = nativeRandom();- return nativeMin(min + (rand * (max - min + parseFloat('1e-' + ((rand +'').length - 1)))), max);- }- return baseRandom(min, max);- }-- /**- * Resolves the value of property `key` on `object`. If `key` is a function- * it will be invoked with the `this` binding of `object` and its result returned,- * else the property value is returned. If `object` is falsey then `undefined`- * is returned.- *- * @static- * @memberOf _- * @category Utilities- * @param {Object} object The object to inspect.- * @param {string} key The name of the property to resolve.- * @returns {*} Returns the resolved value.- * @example- *- * var object = {- * 'cheese': 'crumpets',- * 'stuff': function() {- * return 'nonsense';- * }- * };- *- * _.result(object, 'cheese');- * // => 'crumpets'- *- * _.result(object, 'stuff');- * // => 'nonsense'- */- function result(object, key) {- if (object) {- var value = object[key];- return isFunction(value) ? object[key]() : value;- }- }-- /**- * A micro-templating method that handles arbitrary delimiters, preserves- * whitespace, and correctly escapes quotes within interpolated code.- *- * Note: In the development build, `_.template` utilizes sourceURLs for easier- * debugging. See http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl- *- * For more information on precompiling templates see:- * http://lodash.com/custom-builds- *- * For more information on Chrome extension sandboxes see:- * http://developer.chrome.com/stable/extensions/sandboxingEval.html- *- * @static- * @memberOf _- * @category Utilities- * @param {string} text The template text.- * @param {Object} data The data object used to populate the text.- * @param {Object} [options] The options object.- * @param {RegExp} [options.escape] The "escape" delimiter.- * @param {RegExp} [options.evaluate] The "evaluate" delimiter.- * @param {Object} [options.imports] An object to import into the template as local variables.- * @param {RegExp} [options.interpolate] The "interpolate" delimiter.- * @param {string} [sourceURL] The sourceURL of the template's compiled source.- * @param {string} [variable] The data object variable name.- * @returns {Function|string} Returns a compiled function when no `data` object- * is given, else it returns the interpolated text.- * @example- *- * // using the "interpolate" delimiter to create a compiled template- * var compiled = _.template('hello <%= name %>');- * compiled({ 'name': 'fred' });- * // => 'hello fred'- *- * // using the "escape" delimiter to escape HTML in data property values- * _.template('<b><%- value %></b>', { 'value': '<script>' });- * // => '<b><script></b>'- *- * // using the "evaluate" delimiter to generate HTML- * var list = '<% _.forEach(people, function(name) { %><li><%- name %></li><% }); %>';- * _.template(list, { 'people': ['fred', 'barney'] });- * // => '<li>fred</li><li>barney</li>'- *- * // using the ES6 delimiter as an alternative to the default "interpolate" delimiter- * _.template('hello ${ name }', { 'name': 'pebbles' });- * // => 'hello pebbles'- *- * // using the internal `print` function in "evaluate" delimiters- * _.template('<% print("hello " + name); %>!', { 'name': 'barney' });- * // => 'hello barney!'- *- * // using a custom template delimiters- * _.templateSettings = {- * 'interpolate': /{{([\s\S]+?)}}/g- * };- *- * _.template('hello {{ name }}!', { 'name': 'mustache' });- * // => 'hello mustache!'- *- * // using the `imports` option to import jQuery- * var list = '<% jq.each(people, function(name) { %><li><%- name %></li><% }); %>';- * _.template(list, { 'people': ['fred', 'barney'] }, { 'imports': { 'jq': jQuery } });- * // => '<li>fred</li><li>barney</li>'- *- * // using the `sourceURL` option to specify a custom sourceURL for the template- * var compiled = _.template('hello <%= name %>', null, { 'sourceURL': '/basic/greeting.jst' });- * compiled(data);- * // => find the source of "greeting.jst" under the Sources tab or Resources panel of the web inspector- *- * // using the `variable` option to ensure a with-statement isn't used in the compiled template- * var compiled = _.template('hi <%= data.name %>!', null, { 'variable': 'data' });- * compiled.source;- * // => function(data) {- * var __t, __p = '', __e = _.escape;- * __p += 'hi ' + ((__t = ( data.name )) == null ? '' : __t) + '!';- * return __p;- * }- *- * // using the `source` property to inline compiled templates for meaningful- * // line numbers in error messages and a stack trace- * fs.writeFileSync(path.join(cwd, 'jst.js'), '\- * var JST = {\- * "main": ' + _.template(mainText).source + '\- * };\- * ');- */- function template(text, data, options) {- // based on John Resig's `tmpl` implementation- // http://ejohn.org/blog/javascript-micro-templating/- // and Laura Doktorova's doT.js- // https://github.com/olado/doT- var settings = lodash.templateSettings;- text = String(text || '');-- // avoid missing dependencies when `iteratorTemplate` is not defined- options = defaults({}, options, settings);-- var imports = defaults({}, options.imports, settings.imports),- importsKeys = keys(imports),- importsValues = values(imports);-- var isEvaluating,- index = 0,- interpolate = options.interpolate || reNoMatch,- source = "__p += '";-- // compile the regexp to match each delimiter- var reDelimiters = RegExp(- (options.escape || reNoMatch).source + '|' +- interpolate.source + '|' +- (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + '|' +- (options.evaluate || reNoMatch).source + '|$'- , 'g');-- text.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {- interpolateValue || (interpolateValue = esTemplateValue);-- // escape characters that cannot be included in string literals- source += text.slice(index, offset).replace(reUnescapedString, escapeStringChar);-- // replace delimiters with snippets- if (escapeValue) {- source += "' +\n__e(" + escapeValue + ") +\n'";- }- if (evaluateValue) {- isEvaluating = true;- source += "';\n" + evaluateValue + ";\n__p += '";- }- if (interpolateValue) {- source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'";- }- index = offset + match.length;-- // the JS engine embedded in Adobe products requires returning the `match`- // string in order to produce the correct `offset` value- return match;- });-- source += "';\n";-- // if `variable` is not specified, wrap a with-statement around the generated- // code to add the data object to the top of the scope chain- var variable = options.variable,- hasVariable = variable;-- if (!hasVariable) {- variable = 'obj';- source = 'with (' + variable + ') {\n' + source + '\n}\n';- }- // cleanup code by stripping empty strings- source = (isEvaluating ? source.replace(reEmptyStringLeading, '') : source)- .replace(reEmptyStringMiddle, '$1')- .replace(reEmptyStringTrailing, '$1;');-- // frame code as the function body- source = 'function(' + variable + ') {\n' +- (hasVariable ? '' : variable + ' || (' + variable + ' = {});\n') +- "var __t, __p = '', __e = _.escape" +- (isEvaluating- ? ', __j = Array.prototype.join;\n' +- "function print() { __p += __j.call(arguments, '') }\n"- : ';\n'- ) +- source +- 'return __p\n}';-- // Use a sourceURL for easier debugging.- // http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl- var sourceURL = '\n/*\n//# sourceURL=' + (options.sourceURL || '/lodash/template/source[' + (templateCounter++) + ']') + '\n*/';-- try {- var result = Function(importsKeys, 'return ' + source + sourceURL).apply(undefined, importsValues);- } catch(e) {- e.source = source;- throw e;- }- if (data) {- return result(data);- }- // provide the compiled function's source by its `toString` method, in- // supported environments, or the `source` property as a convenience for- // inlining compiled templates during the build process- result.source = source;- return result;- }-- /**- * Executes the callback `n` times, returning an array of the results- * of each callback execution. The callback is bound to `thisArg` and invoked- * with one argument; (index).- *- * @static- * @memberOf _- * @category Utilities- * @param {number} n The number of times to execute the callback.- * @param {Function} callback The function called per iteration.- * @param {*} [thisArg] The `this` binding of `callback`.- * @returns {Array} Returns an array of the results of each `callback` execution.- * @example- *- * var diceRolls = _.times(3, _.partial(_.random, 1, 6));- * // => [3, 6, 4]- *- * _.times(3, function(n) { mage.castSpell(n); });- * // => calls `mage.castSpell(n)` three times, passing `n` of `0`, `1`, and `2` respectively- *- * _.times(3, function(n) { this.cast(n); }, mage);- * // => also calls `mage.castSpell(n)` three times- */- function times(n, callback, thisArg) {- n = (n = +n) > -1 ? n : 0;- var index = -1,- result = Array(n);-- callback = baseCreateCallback(callback, thisArg, 1);- while (++index < n) {- result[index] = callback(index);- }- return result;- }-- /**- * The inverse of `_.escape` this method converts the HTML entities- * `&`, `<`, `>`, `"`, and `'` in `string` to their- * corresponding characters.- *- * @static- * @memberOf _- * @category Utilities- * @param {string} string The string to unescape.- * @returns {string} Returns the unescaped string.- * @example- *- * _.unescape('Fred, Barney & Pebbles');- * // => 'Fred, Barney & Pebbles'- */- function unescape(string) {- return string == null ? '' : String(string).replace(reEscapedHtml, unescapeHtmlChar);- }-- /**- * Generates a unique ID. If `prefix` is provided the ID will be appended to it.- *- * @static- * @memberOf _- * @category Utilities- * @param {string} [prefix] The value to prefix the ID with.- * @returns {string} Returns the unique ID.- * @example- *- * _.uniqueId('contact_');- * // => 'contact_104'- *- * _.uniqueId();- * // => '105'- */- function uniqueId(prefix) {- var id = ++idCounter;- return String(prefix == null ? '' : prefix) + id;- }-- /*--------------------------------------------------------------------------*/-- /**- * Creates a `lodash` object that wraps the given value with explicit- * method chaining enabled.- *- * @static- * @memberOf _- * @category Chaining- * @param {*} value The value to wrap.- * @returns {Object} Returns the wrapper object.- * @example- *- * var characters = [- * { 'name': 'barney', 'age': 36 },- * { 'name': 'fred', 'age': 40 },- * { 'name': 'pebbles', 'age': 1 }- * ];- *- * var youngest = _.chain(characters)- * .sortBy('age')- * .map(function(chr) { return chr.name + ' is ' + chr.age; })- * .first()- * .value();- * // => 'pebbles is 1'- */- function chain(value) {- value = new lodashWrapper(value);- value.__chain__ = true;- return value;- }-- /**- * Invokes `interceptor` with the `value` as the first argument and then- * returns `value`. The purpose of this method is to "tap into" a method- * chain in order to perform operations on intermediate results within- * the chain.- *- * @static- * @memberOf _- * @category Chaining- * @param {*} value The value to provide to `interceptor`.- * @param {Function} interceptor The function to invoke.- * @returns {*} Returns `value`.- * @example- *- * _([1, 2, 3, 4])- * .tap(function(array) { array.pop(); })- * .reverse()- * .value();- * // => [3, 2, 1]- */- function tap(value, interceptor) {- interceptor(value);- return value;- }-- /**- * Enables explicit method chaining on the wrapper object.- *- * @name chain- * @memberOf _- * @category Chaining- * @returns {*} Returns the wrapper object.- * @example- *- * var characters = [- * { 'name': 'barney', 'age': 36 },- * { 'name': 'fred', 'age': 40 }- * ];- *- * // without explicit chaining- * _(characters).first();- * // => { 'name': 'barney', 'age': 36 }- *- * // with explicit chaining- * _(characters).chain()- * .first()- * .pick('age')- * .value();- * // => { 'age': 36 }- */- function wrapperChain() {- this.__chain__ = true;- return this;- }-- /**- * Produces the `toString` result of the wrapped value.- *- * @name toString- * @memberOf _- * @category Chaining- * @returns {string} Returns the string result.- * @example- *- * _([1, 2, 3]).toString();- * // => '1,2,3'- */- function wrapperToString() {- return String(this.__wrapped__);- }-- /**- * Extracts the wrapped value.- *- * @name valueOf- * @memberOf _- * @alias value- * @category Chaining- * @returns {*} Returns the wrapped value.- * @example- *- * _([1, 2, 3]).valueOf();- * // => [1, 2, 3]- */- function wrapperValueOf() {- return this.__wrapped__;- }-- /*--------------------------------------------------------------------------*/-- // add functions that return wrapped values when chaining- lodash.after = after;- lodash.assign = assign;- lodash.at = at;- lodash.bind = bind;- lodash.bindAll = bindAll;- lodash.bindKey = bindKey;- lodash.chain = chain;- lodash.compact = compact;- lodash.compose = compose;- lodash.constant = constant;- lodash.countBy = countBy;- lodash.create = create;- lodash.createCallback = createCallback;- lodash.curry = curry;- lodash.debounce = debounce;- lodash.defaults = defaults;- lodash.defer = defer;- lodash.delay = delay;- lodash.difference = difference;- lodash.filter = filter;- lodash.flatten = flatten;- lodash.forEach = forEach;- lodash.forEachRight = forEachRight;- lodash.forIn = forIn;- lodash.forInRight = forInRight;- lodash.forOwn = forOwn;- lodash.forOwnRight = forOwnRight;- lodash.functions = functions;- lodash.groupBy = groupBy;- lodash.indexBy = indexBy;- lodash.initial = initial;- lodash.intersection = intersection;- lodash.invert = invert;- lodash.invoke = invoke;- lodash.keys = keys;- lodash.map = map;- lodash.mapValues = mapValues;- lodash.max = max;- lodash.memoize = memoize;- lodash.merge = merge;- lodash.min = min;- lodash.omit = omit;- lodash.once = once;- lodash.pairs = pairs;- lodash.partial = partial;- lodash.partialRight = partialRight;- lodash.pick = pick;- lodash.pluck = pluck;- lodash.property = property;- lodash.pull = pull;- lodash.range = range;- lodash.reject = reject;- lodash.remove = remove;- lodash.rest = rest;- lodash.shuffle = shuffle;- lodash.sortBy = sortBy;- lodash.tap = tap;- lodash.throttle = throttle;- lodash.times = times;- lodash.toArray = toArray;- lodash.transform = transform;- lodash.union = union;- lodash.uniq = uniq;- lodash.values = values;- lodash.where = where;- lodash.without = without;- lodash.wrap = wrap;- lodash.xor = xor;- lodash.zip = zip;- lodash.zipObject = zipObject;-- // add aliases- lodash.collect = map;- lodash.drop = rest;- lodash.each = forEach;- lodash.eachRight = forEachRight;- lodash.extend = assign;- lodash.methods = functions;- lodash.object = zipObject;- lodash.select = filter;- lodash.tail = rest;- lodash.unique = uniq;- lodash.unzip = zip;-- // add functions to `lodash.prototype`- mixin(lodash);-- /*--------------------------------------------------------------------------*/-- // add functions that return unwrapped values when chaining- lodash.clone = clone;- lodash.cloneDeep = cloneDeep;- lodash.contains = contains;- lodash.escape = escape;- lodash.every = every;- lodash.find = find;- lodash.findIndex = findIndex;- lodash.findKey = findKey;- lodash.findLast = findLast;- lodash.findLastIndex = findLastIndex;- lodash.findLastKey = findLastKey;- lodash.has = has;- lodash.identity = identity;- lodash.indexOf = indexOf;- lodash.isArguments = isArguments;- lodash.isArray = isArray;- lodash.isBoolean = isBoolean;- lodash.isDate = isDate;- lodash.isElement = isElement;- lodash.isEmpty = isEmpty;- lodash.isEqual = isEqual;- lodash.isFinite = isFinite;- lodash.isFunction = isFunction;- lodash.isNaN = isNaN;- lodash.isNull = isNull;- lodash.isNumber = isNumber;- lodash.isObject = isObject;- lodash.isPlainObject = isPlainObject;- lodash.isRegExp = isRegExp;- lodash.isString = isString;- lodash.isUndefined = isUndefined;- lodash.lastIndexOf = lastIndexOf;- lodash.mixin = mixin;- lodash.noConflict = noConflict;- lodash.noop = noop;- lodash.now = now;- lodash.parseInt = parseInt;- lodash.random = random;- lodash.reduce = reduce;- lodash.reduceRight = reduceRight;- lodash.result = result;- lodash.runInContext = runInContext;- lodash.size = size;- lodash.some = some;- lodash.sortedIndex = sortedIndex;- lodash.template = template;- lodash.unescape = unescape;- lodash.uniqueId = uniqueId;-- // add aliases- lodash.all = every;- lodash.any = some;- lodash.detect = find;- lodash.findWhere = find;- lodash.foldl = reduce;- lodash.foldr = reduceRight;- lodash.include = contains;- lodash.inject = reduce;-- mixin(function() {- var source = {}- forOwn(lodash, function(func, methodName) {- if (!lodash.prototype[methodName]) {- source[methodName] = func;- }- });- return source;- }(), false);-- /*--------------------------------------------------------------------------*/-- // add functions capable of returning wrapped and unwrapped values when chaining- lodash.first = first;- lodash.last = last;- lodash.sample = sample;-- // add aliases- lodash.take = first;- lodash.head = first;-- forOwn(lodash, function(func, methodName) {- var callbackable = methodName !== 'sample';- if (!lodash.prototype[methodName]) {- lodash.prototype[methodName]= function(n, guard) {- var chainAll = this.__chain__,- result = func(this.__wrapped__, n, guard);-- return !chainAll && (n == null || (guard && !(callbackable && typeof n == 'function')))- ? result- : new lodashWrapper(result, chainAll);- };- }- });-- /*--------------------------------------------------------------------------*/-- /**- * The semantic version number.- *- * @static- * @memberOf _- * @type string- */- lodash.VERSION = '2.4.1';-- // add "Chaining" functions to the wrapper- lodash.prototype.chain = wrapperChain;- lodash.prototype.toString = wrapperToString;- lodash.prototype.value = wrapperValueOf;- lodash.prototype.valueOf = wrapperValueOf;-- // add `Array` functions that return unwrapped values- forEach(['join', 'pop', 'shift'], function(methodName) {- var func = arrayRef[methodName];- lodash.prototype[methodName] = function() {- var chainAll = this.__chain__,- result = func.apply(this.__wrapped__, arguments);-- return chainAll- ? new lodashWrapper(result, chainAll)- : result;- };- });-- // add `Array` functions that return the existing wrapped value- forEach(['push', 'reverse', 'sort', 'unshift'], function(methodName) {- var func = arrayRef[methodName];- lodash.prototype[methodName] = function() {- func.apply(this.__wrapped__, arguments);- return this;- };- });-- // add `Array` functions that return new wrapped values- forEach(['concat', 'slice', 'splice'], function(methodName) {- var func = arrayRef[methodName];- lodash.prototype[methodName] = function() {- return new lodashWrapper(func.apply(this.__wrapped__, arguments), this.__chain__);- };- });-- return lodash;- }-- /*--------------------------------------------------------------------------*/-- // expose Lo-Dash- var _ = runInContext();-- // some AMD build optimizers like r.js check for condition patterns like the following:- if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) {- // Expose Lo-Dash to the global object even when an AMD loader is present in- // case Lo-Dash is loaded with a RequireJS shim config.- // See http://requirejs.org/docs/api.html#config-shim- root._ = _;-- // define as an anonymous module so, through path mapping, it can be- // referenced as the "underscore" module- define(function() {- return _;- });- }- // check for `exports` after `define` in case a build optimizer adds an `exports` object- else if (freeExports && freeModule) {- // in Node.js or RingoJS- if (moduleExports) {- (freeModule.exports = _)._ = _;- }- // in Narwhal or Rhino -require- else {- freeExports._ = _;- }- }- else {- // in a browser or Rhino- root._ = _;- }-}.call(this));diff --git a/web/ext/main/lodash-2.4.1/lodash.min.js b/web/ext/main/lodash-2.4.1/lodash.min.jsdeleted file mode 100644index 85a962634..000000000--- a/web/ext/main/lodash-2.4.1/lodash.min.js+++ /dev/null@@ -1,56 +0,0 @@-/**- * @license- * Lo-Dash 2.4.1 (Custom Build) lodash.com/license | Underscore.js 1.5.2 underscorejs.org/LICENSE- * Build: `lodash modern -o ./dist/lodash.js`- */-;(function(){function n(n,t,e){e=(e||0)-1;for(var r=n?n.length:0;++e<r;)if(n[e]===t)return e;return-1}function t(t,e){var r=typeof e;if(t=t.l,"boolean"==r||null==e)return t[e]?0:-1;"number"!=r&&"string"!=r&&(r="object");var u="number"==r?e:m+e;return t=(t=t[r])&&t[u],"object"==r?t&&-1<n(t,e)?0:-1:t?0:-1}function e(n){var t=this.l,e=typeof n;if("boolean"==e||null==n)t[n]=true;else{"number"!=e&&"string"!=e&&(e="object");var r="number"==e?n:m+n,t=t[e]||(t[e]={});"object"==e?(t[r]||(t[r]=[])).push(n):t[r]=true-}}function r(n){return n.charCodeAt(0)}function u(n,t){for(var e=n.m,r=t.m,u=-1,o=e.length;++u<o;){var i=e[u],a=r[u];if(i!==a){if(i>a||typeof i=="undefined")return 1;if(i<a||typeof a=="undefined")return-1}}return n.n-t.n}function o(n){var t=-1,r=n.length,u=n[0],o=n[r/2|0],i=n[r-1];if(u&&typeof u=="object"&&o&&typeof o=="object"&&i&&typeof i=="object")return false;for(u=f(),u["false"]=u["null"]=u["true"]=u.undefined=false,o=f(),o.k=n,o.l=u,o.push=e;++t<r;)o.push(n[t]);return o}function i(n){return"\\"+U[n]-}function a(){return h.pop()||[]}function f(){return g.pop()||{k:null,l:null,m:null,"false":false,n:0,"null":false,number:null,object:null,push:null,string:null,"true":false,undefined:false,o:null}}function l(n){n.length=0,h.length<_&&h.push(n)}function c(n){var t=n.l;t&&c(t),n.k=n.l=n.m=n.object=n.number=n.string=n.o=null,g.length<_&&g.push(n)}function p(n,t,e){t||(t=0),typeof e=="undefined"&&(e=n?n.length:0);var r=-1;e=e-t||0;for(var u=Array(0>e?0:e);++r<e;)u[r]=n[t+r];return u}function s(e){function h(n,t,e){if(!n||!V[typeof n])return n;-t=t&&typeof e=="undefined"?t:tt(t,e,3);for(var r=-1,u=V[typeof n]&&Fe(n),o=u?u.length:0;++r<o&&(e=u[r],false!==t(n[e],e,n)););return n}function g(n,t,e){var r;if(!n||!V[typeof n])return n;t=t&&typeof e=="undefined"?t:tt(t,e,3);for(r in n)if(false===t(n[r],r,n))break;return n}function _(n,t,e){var r,u=n,o=u;if(!u)return o;for(var i=arguments,a=0,f=typeof e=="number"?2:i.length;++a<f;)if((u=i[a])&&V[typeof u])for(var l=-1,c=V[typeof u]&&Fe(u),p=c?c.length:0;++l<p;)r=c[l],"undefined"==typeof o[r]&&(o[r]=u[r]);-return o}function U(n,t,e){var r,u=n,o=u;if(!u)return o;var i=arguments,a=0,f=typeof e=="number"?2:i.length;if(3<f&&"function"==typeof i[f-2])var l=tt(i[--f-1],i[f--],2);else 2<f&&"function"==typeof i[f-1]&&(l=i[--f]);for(;++a<f;)if((u=i[a])&&V[typeof u])for(var c=-1,p=V[typeof u]&&Fe(u),s=p?p.length:0;++c<s;)r=p[c],o[r]=l?l(o[r],u[r]):u[r];return o}function H(n){var t,e=[];if(!n||!V[typeof n])return e;for(t in n)me.call(n,t)&&e.push(t);return e}function J(n){return n&&typeof n=="object"&&!Te(n)&&me.call(n,"__wrapped__")?n:new Q(n)-}function Q(n,t){this.__chain__=!!t,this.__wrapped__=n}function X(n){function t(){if(r){var n=p(r);be.apply(n,arguments)}if(this instanceof t){var o=nt(e.prototype),n=e.apply(o,n||arguments);return wt(n)?n:o}return e.apply(u,n||arguments)}var e=n[0],r=n[2],u=n[4];return $e(t,n),t}function Z(n,t,e,r,u){if(e){var o=e(n);if(typeof o!="undefined")return o}if(!wt(n))return n;var i=ce.call(n);if(!K[i])return n;var f=Ae[i];switch(i){case T:case F:return new f(+n);case W:case P:return new f(n);case z:return o=f(n.source,C.exec(n)),o.lastIndex=n.lastIndex,o-}if(i=Te(n),t){var c=!r;r||(r=a()),u||(u=a());for(var s=r.length;s--;)if(r[s]==n)return u[s];o=i?f(n.length):{}}else o=i?p(n):U({},n);return i&&(me.call(n,"index")&&(o.index=n.index),me.call(n,"input")&&(o.input=n.input)),t?(r.push(n),u.push(o),(i?St:h)(n,function(n,i){o[i]=Z(n,t,e,r,u)}),c&&(l(r),l(u)),o):o}function nt(n){return wt(n)?ke(n):{}}function tt(n,t,e){if(typeof n!="function")return Ut;if(typeof t=="undefined"||!("prototype"in n))return n;var r=n.__bindData__;if(typeof r=="undefined"&&(De.funcNames&&(r=!n.name),r=r||!De.funcDecomp,!r)){var u=ge.call(n);-De.funcNames||(r=!O.test(u)),r||(r=E.test(u),$e(n,r))}if(false===r||true!==r&&1&r[1])return n;switch(e){case 1:return function(e){return n.call(t,e)};case 2:return function(e,r){return n.call(t,e,r)};case 3:return function(e,r,u){return n.call(t,e,r,u)};case 4:return function(e,r,u,o){return n.call(t,e,r,u,o)}}return Mt(n,t)}function et(n){function t(){var n=f?i:this;if(u){var h=p(u);be.apply(h,arguments)}return(o||c)&&(h||(h=p(arguments)),o&&be.apply(h,o),c&&h.length<a)?(r|=16,et([e,s?r:-4&r,h,null,i,a])):(h||(h=arguments),l&&(e=n[v]),this instanceof t?(n=nt(e.prototype),h=e.apply(n,h),wt(h)?h:n):e.apply(n,h))-}var e=n[0],r=n[1],u=n[2],o=n[3],i=n[4],a=n[5],f=1&r,l=2&r,c=4&r,s=8&r,v=e;return $e(t,n),t}function rt(e,r){var u=-1,i=st(),a=e?e.length:0,f=a>=b&&i===n,l=[];if(f){var p=o(r);p?(i=t,r=p):f=false}for(;++u<a;)p=e[u],0>i(r,p)&&l.push(p);return f&&c(r),l}function ut(n,t,e,r){r=(r||0)-1;for(var u=n?n.length:0,o=[];++r<u;){var i=n[r];if(i&&typeof i=="object"&&typeof i.length=="number"&&(Te(i)||yt(i))){t||(i=ut(i,t,e));var a=-1,f=i.length,l=o.length;for(o.length+=f;++a<f;)o[l++]=i[a]}else e||o.push(i)}return o-}function ot(n,t,e,r,u,o){if(e){var i=e(n,t);if(typeof i!="undefined")return!!i}if(n===t)return 0!==n||1/n==1/t;if(n===n&&!(n&&V[typeof n]||t&&V[typeof t]))return false;if(null==n||null==t)return n===t;var f=ce.call(n),c=ce.call(t);if(f==D&&(f=q),c==D&&(c=q),f!=c)return false;switch(f){case T:case F:return+n==+t;case W:return n!=+n?t!=+t:0==n?1/n==1/t:n==+t;case z:case P:return n==oe(t)}if(c=f==$,!c){var p=me.call(n,"__wrapped__"),s=me.call(t,"__wrapped__");if(p||s)return ot(p?n.__wrapped__:n,s?t.__wrapped__:t,e,r,u,o);-if(f!=q)return false;if(f=n.constructor,p=t.constructor,f!=p&&!(dt(f)&&f instanceof f&&dt(p)&&p instanceof p)&&"constructor"in n&&"constructor"in t)return false}for(f=!u,u||(u=a()),o||(o=a()),p=u.length;p--;)if(u[p]==n)return o[p]==t;var v=0,i=true;if(u.push(n),o.push(t),c){if(p=n.length,v=t.length,(i=v==p)||r)for(;v--;)if(c=p,s=t[v],r)for(;c--&&!(i=ot(n[c],s,e,r,u,o)););else if(!(i=ot(n[v],s,e,r,u,o)))break}else g(t,function(t,a,f){return me.call(f,a)?(v++,i=me.call(n,a)&&ot(n[a],t,e,r,u,o)):void 0}),i&&!r&&g(n,function(n,t,e){return me.call(e,t)?i=-1<--v:void 0-});return u.pop(),o.pop(),f&&(l(u),l(o)),i}function it(n,t,e,r,u){(Te(t)?St:h)(t,function(t,o){var i,a,f=t,l=n[o];if(t&&((a=Te(t))||Pe(t))){for(f=r.length;f--;)if(i=r[f]==t){l=u[f];break}if(!i){var c;e&&(f=e(l,t),c=typeof f!="undefined")&&(l=f),c||(l=a?Te(l)?l:[]:Pe(l)?l:{}),r.push(t),u.push(l),c||it(l,t,e,r,u)}}else e&&(f=e(l,t),typeof f=="undefined"&&(f=t)),typeof f!="undefined"&&(l=f);n[o]=l})}function at(n,t){return n+he(Re()*(t-n+1))}function ft(e,r,u){var i=-1,f=st(),p=e?e.length:0,s=[],v=!r&&p>=b&&f===n,h=u||v?a():s;-for(v&&(h=o(h),f=t);++i<p;){var g=e[i],y=u?u(g,i,e):g;(r?!i||h[h.length-1]!==y:0>f(h,y))&&((u||v)&&h.push(y),s.push(g))}return v?(l(h.k),c(h)):u&&l(h),s}function lt(n){return function(t,e,r){var u={};e=J.createCallback(e,r,3),r=-1;var o=t?t.length:0;if(typeof o=="number")for(;++r<o;){var i=t[r];n(u,i,e(i,r,t),t)}else h(t,function(t,r,o){n(u,t,e(t,r,o),o)});return u}}function ct(n,t,e,r,u,o){var i=1&t,a=4&t,f=16&t,l=32&t;if(!(2&t||dt(n)))throw new ie;f&&!e.length&&(t&=-17,f=e=false),l&&!r.length&&(t&=-33,l=r=false);-var c=n&&n.__bindData__;return c&&true!==c?(c=p(c),c[2]&&(c[2]=p(c[2])),c[3]&&(c[3]=p(c[3])),!i||1&c[1]||(c[4]=u),!i&&1&c[1]&&(t|=8),!a||4&c[1]||(c[5]=o),f&&be.apply(c[2]||(c[2]=[]),e),l&&we.apply(c[3]||(c[3]=[]),r),c[1]|=t,ct.apply(null,c)):(1==t||17===t?X:et)([n,t,e,r,u,o])}function pt(n){return Be[n]}function st(){var t=(t=J.indexOf)===Wt?n:t;return t}function vt(n){return typeof n=="function"&&pe.test(n)}function ht(n){var t,e;return n&&ce.call(n)==q&&(t=n.constructor,!dt(t)||t instanceof t)?(g(n,function(n,t){e=t-}),typeof e=="undefined"||me.call(n,e)):false}function gt(n){return We[n]}function yt(n){return n&&typeof n=="object"&&typeof n.length=="number"&&ce.call(n)==D||false}function mt(n,t,e){var r=Fe(n),u=r.length;for(t=tt(t,e,3);u--&&(e=r[u],false!==t(n[e],e,n)););return n}function bt(n){var t=[];return g(n,function(n,e){dt(n)&&t.push(e)}),t.sort()}function _t(n){for(var t=-1,e=Fe(n),r=e.length,u={};++t<r;){var o=e[t];u[n[o]]=o}return u}function dt(n){return typeof n=="function"}function wt(n){return!(!n||!V[typeof n])-}function jt(n){return typeof n=="number"||n&&typeof n=="object"&&ce.call(n)==W||false}function kt(n){return typeof n=="string"||n&&typeof n=="object"&&ce.call(n)==P||false}function xt(n){for(var t=-1,e=Fe(n),r=e.length,u=Xt(r);++t<r;)u[t]=n[e[t]];return u}function Ct(n,t,e){var r=-1,u=st(),o=n?n.length:0,i=false;return e=(0>e?Ie(0,o+e):e)||0,Te(n)?i=-1<u(n,t,e):typeof o=="number"?i=-1<(kt(n)?n.indexOf(t,e):u(n,t,e)):h(n,function(n){return++r<e?void 0:!(i=n===t)}),i}function Ot(n,t,e){var r=true;t=J.createCallback(t,e,3),e=-1;-var u=n?n.length:0;if(typeof u=="number")for(;++e<u&&(r=!!t(n[e],e,n)););else h(n,function(n,e,u){return r=!!t(n,e,u)});return r}function Nt(n,t,e){var r=[];t=J.createCallback(t,e,3),e=-1;var u=n?n.length:0;if(typeof u=="number")for(;++e<u;){var o=n[e];t(o,e,n)&&r.push(o)}else h(n,function(n,e,u){t(n,e,u)&&r.push(n)});return r}function It(n,t,e){t=J.createCallback(t,e,3),e=-1;var r=n?n.length:0;if(typeof r!="number"){var u;return h(n,function(n,e,r){return t(n,e,r)?(u=n,false):void 0}),u}for(;++e<r;){var o=n[e];-if(t(o,e,n))return o}}function St(n,t,e){var r=-1,u=n?n.length:0;if(t=t&&typeof e=="undefined"?t:tt(t,e,3),typeof u=="number")for(;++r<u&&false!==t(n[r],r,n););else h(n,t);return n}function Et(n,t,e){var r=n?n.length:0;if(t=t&&typeof e=="undefined"?t:tt(t,e,3),typeof r=="number")for(;r--&&false!==t(n[r],r,n););else{var u=Fe(n),r=u.length;h(n,function(n,e,o){return e=u?u[--r]:--r,t(o[e],e,o)})}return n}function Rt(n,t,e){var r=-1,u=n?n.length:0;if(t=J.createCallback(t,e,3),typeof u=="number")for(var o=Xt(u);++r<u;)o[r]=t(n[r],r,n);-else o=[],h(n,function(n,e,u){o[++r]=t(n,e,u)});return o}function At(n,t,e){var u=-1/0,o=u;if(typeof t!="function"&&e&&e[t]===n&&(t=null),null==t&&Te(n)){e=-1;for(var i=n.length;++e<i;){var a=n[e];a>o&&(o=a)}}else t=null==t&&kt(n)?r:J.createCallback(t,e,3),St(n,function(n,e,r){e=t(n,e,r),e>u&&(u=e,o=n)});return o}function Dt(n,t,e,r){if(!n)return e;var u=3>arguments.length;t=J.createCallback(t,r,4);var o=-1,i=n.length;if(typeof i=="number")for(u&&(e=n[++o]);++o<i;)e=t(e,n[o],o,n);else h(n,function(n,r,o){e=u?(u=false,n):t(e,n,r,o)-});return e}function $t(n,t,e,r){var u=3>arguments.length;return t=J.createCallback(t,r,4),Et(n,function(n,r,o){e=u?(u=false,n):t(e,n,r,o)}),e}function Tt(n){var t=-1,e=n?n.length:0,r=Xt(typeof e=="number"?e:0);return St(n,function(n){var e=at(0,++t);r[t]=r[e],r[e]=n}),r}function Ft(n,t,e){var r;t=J.createCallback(t,e,3),e=-1;var u=n?n.length:0;if(typeof u=="number")for(;++e<u&&!(r=t(n[e],e,n)););else h(n,function(n,e,u){return!(r=t(n,e,u))});return!!r}function Bt(n,t,e){var r=0,u=n?n.length:0;if(typeof t!="number"&&null!=t){var o=-1;-for(t=J.createCallback(t,e,3);++o<u&&t(n[o],o,n);)r++}else if(r=t,null==r||e)return n?n[0]:v;return p(n,0,Se(Ie(0,r),u))}function Wt(t,e,r){if(typeof r=="number"){var u=t?t.length:0;r=0>r?Ie(0,u+r):r||0}else if(r)return r=zt(t,e),t[r]===e?r:-1;return n(t,e,r)}function qt(n,t,e){if(typeof t!="number"&&null!=t){var r=0,u=-1,o=n?n.length:0;for(t=J.createCallback(t,e,3);++u<o&&t(n[u],u,n);)r++}else r=null==t||e?1:Ie(0,t);return p(n,r)}function zt(n,t,e,r){var u=0,o=n?n.length:u;for(e=e?J.createCallback(e,r,1):Ut,t=e(t);u<o;)r=u+o>>>1,e(n[r])<t?u=r+1:o=r;-return u}function Pt(n,t,e,r){return typeof t!="boolean"&&null!=t&&(r=e,e=typeof t!="function"&&r&&r[t]===n?null:t,t=false),null!=e&&(e=J.createCallback(e,r,3)),ft(n,t,e)}function Kt(){for(var n=1<arguments.length?arguments:arguments[0],t=-1,e=n?At(Ve(n,"length")):0,r=Xt(0>e?0:e);++t<e;)r[t]=Ve(n,t);return r}function Lt(n,t){var e=-1,r=n?n.length:0,u={};for(t||!r||Te(n[0])||(t=[]);++e<r;){var o=n[e];t?u[o]=t[e]:o&&(u[o[0]]=o[1])}return u}function Mt(n,t){return 2<arguments.length?ct(n,17,p(arguments,2),null,t):ct(n,1,null,null,t)-}function Vt(n,t,e){function r(){c&&ve(c),i=c=p=v,(g||h!==t)&&(s=Ue(),a=n.apply(l,o),c||i||(o=l=null))}function u(){var e=t-(Ue()-f);0<e?c=_e(u,e):(i&&ve(i),e=p,i=c=p=v,e&&(s=Ue(),a=n.apply(l,o),c||i||(o=l=null)))}var o,i,a,f,l,c,p,s=0,h=false,g=true;if(!dt(n))throw new ie;if(t=Ie(0,t)||0,true===e)var y=true,g=false;else wt(e)&&(y=e.leading,h="maxWait"in e&&(Ie(t,e.maxWait)||0),g="trailing"in e?e.trailing:g);return function(){if(o=arguments,f=Ue(),l=this,p=g&&(c||!y),false===h)var e=y&&!c;else{i||y||(s=f);var v=h-(f-s),m=0>=v;-m?(i&&(i=ve(i)),s=f,a=n.apply(l,o)):i||(i=_e(r,v))}return m&&c?c=ve(c):c||t===h||(c=_e(u,t)),e&&(m=true,a=n.apply(l,o)),!m||c||i||(o=l=null),a}}function Ut(n){return n}function Gt(n,t,e){var r=true,u=t&&bt(t);t&&(e||u.length)||(null==e&&(e=t),o=Q,t=n,n=J,u=bt(t)),false===e?r=false:wt(e)&&"chain"in e&&(r=e.chain);var o=n,i=dt(o);St(u,function(e){var u=n[e]=t[e];i&&(o.prototype[e]=function(){var t=this.__chain__,e=this.__wrapped__,i=[e];if(be.apply(i,arguments),i=u.apply(n,i),r||t){if(e===i&&wt(i))return this;-i=new o(i),i.__chain__=t}return i})})}function Ht(){}function Jt(n){return function(t){return t[n]}}function Qt(){return this.__wrapped__}e=e?Y.defaults(G.Object(),e,Y.pick(G,A)):G;var Xt=e.Array,Yt=e.Boolean,Zt=e.Date,ne=e.Function,te=e.Math,ee=e.Number,re=e.Object,ue=e.RegExp,oe=e.String,ie=e.TypeError,ae=[],fe=re.prototype,le=e._,ce=fe.toString,pe=ue("^"+oe(ce).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$"),se=te.ceil,ve=e.clearTimeout,he=te.floor,ge=ne.prototype.toString,ye=vt(ye=re.getPrototypeOf)&&ye,me=fe.hasOwnProperty,be=ae.push,_e=e.setTimeout,de=ae.splice,we=ae.unshift,je=function(){try{var n={},t=vt(t=re.defineProperty)&&t,e=t(n,n,n)&&t-}catch(r){}return e}(),ke=vt(ke=re.create)&&ke,xe=vt(xe=Xt.isArray)&&xe,Ce=e.isFinite,Oe=e.isNaN,Ne=vt(Ne=re.keys)&&Ne,Ie=te.max,Se=te.min,Ee=e.parseInt,Re=te.random,Ae={};Ae[$]=Xt,Ae[T]=Yt,Ae[F]=Zt,Ae[B]=ne,Ae[q]=re,Ae[W]=ee,Ae[z]=ue,Ae[P]=oe,Q.prototype=J.prototype;var De=J.support={};De.funcDecomp=!vt(e.a)&&E.test(s),De.funcNames=typeof ne.name=="string",J.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:N,variable:"",imports:{_:J}},ke||(nt=function(){function n(){}return function(t){if(wt(t)){n.prototype=t;-var r=new n;n.prototype=null}return r||e.Object()}}());var $e=je?function(n,t){M.value=t,je(n,"__bindData__",M)}:Ht,Te=xe||function(n){return n&&typeof n=="object"&&typeof n.length=="number"&&ce.call(n)==$||false},Fe=Ne?function(n){return wt(n)?Ne(n):[]}:H,Be={"&":"&","<":"<",">":">",'"':""","'":"'"},We=_t(Be),qe=ue("("+Fe(We).join("|")+")","g"),ze=ue("["+Fe(Be).join("")+"]","g"),Pe=ye?function(n){if(!n||ce.call(n)!=q)return false;var t=n.valueOf,e=vt(t)&&(e=ye(t))&&ye(e);return e?n==e||ye(n)==e:ht(n)-}:ht,Ke=lt(function(n,t,e){me.call(n,e)?n[e]++:n[e]=1}),Le=lt(function(n,t,e){(me.call(n,e)?n[e]:n[e]=[]).push(t)}),Me=lt(function(n,t,e){n[e]=t}),Ve=Rt,Ue=vt(Ue=Zt.now)&&Ue||function(){return(new Zt).getTime()},Ge=8==Ee(d+"08")?Ee:function(n,t){return Ee(kt(n)?n.replace(I,""):n,t||0)};return J.after=function(n,t){if(!dt(t))throw new ie;return function(){return 1>--n?t.apply(this,arguments):void 0}},J.assign=U,J.at=function(n){for(var t=arguments,e=-1,r=ut(t,true,false,1),t=t[2]&&t[2][t[1]]===n?1:r.length,u=Xt(t);++e<t;)u[e]=n[r[e]];-return u},J.bind=Mt,J.bindAll=function(n){for(var t=1<arguments.length?ut(arguments,true,false,1):bt(n),e=-1,r=t.length;++e<r;){var u=t[e];n[u]=ct(n[u],1,null,null,n)}return n},J.bindKey=function(n,t){return 2<arguments.length?ct(t,19,p(arguments,2),null,n):ct(t,3,null,null,n)},J.chain=function(n){return n=new Q(n),n.__chain__=true,n},J.compact=function(n){for(var t=-1,e=n?n.length:0,r=[];++t<e;){var u=n[t];u&&r.push(u)}return r},J.compose=function(){for(var n=arguments,t=n.length;t--;)if(!dt(n[t]))throw new ie;-return function(){for(var t=arguments,e=n.length;e--;)t=[n[e].apply(this,t)];return t[0]}},J.constant=function(n){return function(){return n}},J.countBy=Ke,J.create=function(n,t){var e=nt(n);return t?U(e,t):e},J.createCallback=function(n,t,e){var r=typeof n;if(null==n||"function"==r)return tt(n,t,e);if("object"!=r)return Jt(n);var u=Fe(n),o=u[0],i=n[o];return 1!=u.length||i!==i||wt(i)?function(t){for(var e=u.length,r=false;e--&&(r=ot(t[u[e]],n[u[e]],null,true)););return r}:function(n){return n=n[o],i===n&&(0!==i||1/i==1/n)-}},J.curry=function(n,t){return t=typeof t=="number"?t:+t||n.length,ct(n,4,null,null,null,t)},J.debounce=Vt,J.defaults=_,J.defer=function(n){if(!dt(n))throw new ie;var t=p(arguments,1);return _e(function(){n.apply(v,t)},1)},J.delay=function(n,t){if(!dt(n))throw new ie;var e=p(arguments,2);return _e(function(){n.apply(v,e)},t)},J.difference=function(n){return rt(n,ut(arguments,true,true,1))},J.filter=Nt,J.flatten=function(n,t,e,r){return typeof t!="boolean"&&null!=t&&(r=e,e=typeof t!="function"&&r&&r[t]===n?null:t,t=false),null!=e&&(n=Rt(n,e,r)),ut(n,t)-},J.forEach=St,J.forEachRight=Et,J.forIn=g,J.forInRight=function(n,t,e){var r=[];g(n,function(n,t){r.push(t,n)});var u=r.length;for(t=tt(t,e,3);u--&&false!==t(r[u--],r[u],n););return n},J.forOwn=h,J.forOwnRight=mt,J.functions=bt,J.groupBy=Le,J.indexBy=Me,J.initial=function(n,t,e){var r=0,u=n?n.length:0;if(typeof t!="number"&&null!=t){var o=u;for(t=J.createCallback(t,e,3);o--&&t(n[o],o,n);)r++}else r=null==t||e?1:t||r;return p(n,0,Se(Ie(0,u-r),u))},J.intersection=function(){for(var e=[],r=-1,u=arguments.length,i=a(),f=st(),p=f===n,s=a();++r<u;){var v=arguments[r];-(Te(v)||yt(v))&&(e.push(v),i.push(p&&v.length>=b&&o(r?e[r]:s)))}var p=e[0],h=-1,g=p?p.length:0,y=[];n:for(;++h<g;){var m=i[0],v=p[h];if(0>(m?t(m,v):f(s,v))){for(r=u,(m||s).push(v);--r;)if(m=i[r],0>(m?t(m,v):f(e[r],v)))continue n;y.push(v)}}for(;u--;)(m=i[u])&&c(m);return l(i),l(s),y},J.invert=_t,J.invoke=function(n,t){var e=p(arguments,2),r=-1,u=typeof t=="function",o=n?n.length:0,i=Xt(typeof o=="number"?o:0);return St(n,function(n){i[++r]=(u?t:n[t]).apply(n,e)}),i},J.keys=Fe,J.map=Rt,J.mapValues=function(n,t,e){var r={};-return t=J.createCallback(t,e,3),h(n,function(n,e,u){r[e]=t(n,e,u)}),r},J.max=At,J.memoize=function(n,t){function e(){var r=e.cache,u=t?t.apply(this,arguments):m+arguments[0];return me.call(r,u)?r[u]:r[u]=n.apply(this,arguments)}if(!dt(n))throw new ie;return e.cache={},e},J.merge=function(n){var t=arguments,e=2;if(!wt(n))return n;if("number"!=typeof t[2]&&(e=t.length),3<e&&"function"==typeof t[e-2])var r=tt(t[--e-1],t[e--],2);else 2<e&&"function"==typeof t[e-1]&&(r=t[--e]);for(var t=p(arguments,1,e),u=-1,o=a(),i=a();++u<e;)it(n,t[u],r,o,i);-return l(o),l(i),n},J.min=function(n,t,e){var u=1/0,o=u;if(typeof t!="function"&&e&&e[t]===n&&(t=null),null==t&&Te(n)){e=-1;for(var i=n.length;++e<i;){var a=n[e];a<o&&(o=a)}}else t=null==t&&kt(n)?r:J.createCallback(t,e,3),St(n,function(n,e,r){e=t(n,e,r),e<u&&(u=e,o=n)});return o},J.omit=function(n,t,e){var r={};if(typeof t!="function"){var u=[];g(n,function(n,t){u.push(t)});for(var u=rt(u,ut(arguments,true,false,1)),o=-1,i=u.length;++o<i;){var a=u[o];r[a]=n[a]}}else t=J.createCallback(t,e,3),g(n,function(n,e,u){t(n,e,u)||(r[e]=n)-});return r},J.once=function(n){var t,e;if(!dt(n))throw new ie;return function(){return t?e:(t=true,e=n.apply(this,arguments),n=null,e)}},J.pairs=function(n){for(var t=-1,e=Fe(n),r=e.length,u=Xt(r);++t<r;){var o=e[t];u[t]=[o,n[o]]}return u},J.partial=function(n){return ct(n,16,p(arguments,1))},J.partialRight=function(n){return ct(n,32,null,p(arguments,1))},J.pick=function(n,t,e){var r={};if(typeof t!="function")for(var u=-1,o=ut(arguments,true,false,1),i=wt(n)?o.length:0;++u<i;){var a=o[u];a in n&&(r[a]=n[a])-}else t=J.createCallback(t,e,3),g(n,function(n,e,u){t(n,e,u)&&(r[e]=n)});return r},J.pluck=Ve,J.property=Jt,J.pull=function(n){for(var t=arguments,e=0,r=t.length,u=n?n.length:0;++e<r;)for(var o=-1,i=t[e];++o<u;)n[o]===i&&(de.call(n,o--,1),u--);return n},J.range=function(n,t,e){n=+n||0,e=typeof e=="number"?e:+e||1,null==t&&(t=n,n=0);var r=-1;t=Ie(0,se((t-n)/(e||1)));for(var u=Xt(t);++r<t;)u[r]=n,n+=e;return u},J.reject=function(n,t,e){return t=J.createCallback(t,e,3),Nt(n,function(n,e,r){return!t(n,e,r)-})},J.remove=function(n,t,e){var r=-1,u=n?n.length:0,o=[];for(t=J.createCallback(t,e,3);++r<u;)e=n[r],t(e,r,n)&&(o.push(e),de.call(n,r--,1),u--);return o},J.rest=qt,J.shuffle=Tt,J.sortBy=function(n,t,e){var r=-1,o=Te(t),i=n?n.length:0,p=Xt(typeof i=="number"?i:0);for(o||(t=J.createCallback(t,e,3)),St(n,function(n,e,u){var i=p[++r]=f();o?i.m=Rt(t,function(t){return n[t]}):(i.m=a())[0]=t(n,e,u),i.n=r,i.o=n}),i=p.length,p.sort(u);i--;)n=p[i],p[i]=n.o,o||l(n.m),c(n);return p},J.tap=function(n,t){return t(n),n-},J.throttle=function(n,t,e){var r=true,u=true;if(!dt(n))throw new ie;return false===e?r=false:wt(e)&&(r="leading"in e?e.leading:r,u="trailing"in e?e.trailing:u),L.leading=r,L.maxWait=t,L.trailing=u,Vt(n,t,L)},J.times=function(n,t,e){n=-1<(n=+n)?n:0;var r=-1,u=Xt(n);for(t=tt(t,e,1);++r<n;)u[r]=t(r);return u},J.toArray=function(n){return n&&typeof n.length=="number"?p(n):xt(n)},J.transform=function(n,t,e,r){var u=Te(n);if(null==e)if(u)e=[];else{var o=n&&n.constructor;e=nt(o&&o.prototype)}return t&&(t=J.createCallback(t,r,4),(u?St:h)(n,function(n,r,u){return t(e,n,r,u)-})),e},J.union=function(){return ft(ut(arguments,true,true))},J.uniq=Pt,J.values=xt,J.where=Nt,J.without=function(n){return rt(n,p(arguments,1))},J.wrap=function(n,t){return ct(t,16,[n])},J.xor=function(){for(var n=-1,t=arguments.length;++n<t;){var e=arguments[n];if(Te(e)||yt(e))var r=r?ft(rt(r,e).concat(rt(e,r))):e}return r||[]},J.zip=Kt,J.zipObject=Lt,J.collect=Rt,J.drop=qt,J.each=St,J.eachRight=Et,J.extend=U,J.methods=bt,J.object=Lt,J.select=Nt,J.tail=qt,J.unique=Pt,J.unzip=Kt,Gt(J),J.clone=function(n,t,e,r){return typeof t!="boolean"&&null!=t&&(r=e,e=t,t=false),Z(n,t,typeof e=="function"&&tt(e,r,1))-},J.cloneDeep=function(n,t,e){return Z(n,true,typeof t=="function"&&tt(t,e,1))},J.contains=Ct,J.escape=function(n){return null==n?"":oe(n).replace(ze,pt)},J.every=Ot,J.find=It,J.findIndex=function(n,t,e){var r=-1,u=n?n.length:0;for(t=J.createCallback(t,e,3);++r<u;)if(t(n[r],r,n))return r;return-1},J.findKey=function(n,t,e){var r;return t=J.createCallback(t,e,3),h(n,function(n,e,u){return t(n,e,u)?(r=e,false):void 0}),r},J.findLast=function(n,t,e){var r;return t=J.createCallback(t,e,3),Et(n,function(n,e,u){return t(n,e,u)?(r=n,false):void 0-}),r},J.findLastIndex=function(n,t,e){var r=n?n.length:0;for(t=J.createCallback(t,e,3);r--;)if(t(n[r],r,n))return r;return-1},J.findLastKey=function(n,t,e){var r;return t=J.createCallback(t,e,3),mt(n,function(n,e,u){return t(n,e,u)?(r=e,false):void 0}),r},J.has=function(n,t){return n?me.call(n,t):false},J.identity=Ut,J.indexOf=Wt,J.isArguments=yt,J.isArray=Te,J.isBoolean=function(n){return true===n||false===n||n&&typeof n=="object"&&ce.call(n)==T||false},J.isDate=function(n){return n&&typeof n=="object"&&ce.call(n)==F||false-},J.isElement=function(n){return n&&1===n.nodeType||false},J.isEmpty=function(n){var t=true;if(!n)return t;var e=ce.call(n),r=n.length;return e==$||e==P||e==D||e==q&&typeof r=="number"&&dt(n.splice)?!r:(h(n,function(){return t=false}),t)},J.isEqual=function(n,t,e,r){return ot(n,t,typeof e=="function"&&tt(e,r,2))},J.isFinite=function(n){return Ce(n)&&!Oe(parseFloat(n))},J.isFunction=dt,J.isNaN=function(n){return jt(n)&&n!=+n},J.isNull=function(n){return null===n},J.isNumber=jt,J.isObject=wt,J.isPlainObject=Pe,J.isRegExp=function(n){return n&&typeof n=="object"&&ce.call(n)==z||false-},J.isString=kt,J.isUndefined=function(n){return typeof n=="undefined"},J.lastIndexOf=function(n,t,e){var r=n?n.length:0;for(typeof e=="number"&&(r=(0>e?Ie(0,r+e):Se(e,r-1))+1);r--;)if(n[r]===t)return r;return-1},J.mixin=Gt,J.noConflict=function(){return e._=le,this},J.noop=Ht,J.now=Ue,J.parseInt=Ge,J.random=function(n,t,e){var r=null==n,u=null==t;return null==e&&(typeof n=="boolean"&&u?(e=n,n=1):u||typeof t!="boolean"||(e=t,u=true)),r&&u&&(t=1),n=+n||0,u?(t=n,n=0):t=+t||0,e||n%1||t%1?(e=Re(),Se(n+e*(t-n+parseFloat("1e-"+((e+"").length-1))),t)):at(n,t)-},J.reduce=Dt,J.reduceRight=$t,J.result=function(n,t){if(n){var e=n[t];return dt(e)?n[t]():e}},J.runInContext=s,J.size=function(n){var t=n?n.length:0;return typeof t=="number"?t:Fe(n).length},J.some=Ft,J.sortedIndex=zt,J.template=function(n,t,e){var r=J.templateSettings;n=oe(n||""),e=_({},e,r);var u,o=_({},e.imports,r.imports),r=Fe(o),o=xt(o),a=0,f=e.interpolate||S,l="__p+='",f=ue((e.escape||S).source+"|"+f.source+"|"+(f===N?x:S).source+"|"+(e.evaluate||S).source+"|$","g");n.replace(f,function(t,e,r,o,f,c){return r||(r=o),l+=n.slice(a,c).replace(R,i),e&&(l+="'+__e("+e+")+'"),f&&(u=true,l+="';"+f+";\n__p+='"),r&&(l+="'+((__t=("+r+"))==null?'':__t)+'"),a=c+t.length,t-}),l+="';",f=e=e.variable,f||(e="obj",l="with("+e+"){"+l+"}"),l=(u?l.replace(w,""):l).replace(j,"$1").replace(k,"$1;"),l="function("+e+"){"+(f?"":e+"||("+e+"={});")+"var __t,__p='',__e=_.escape"+(u?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":";")+l+"return __p}";try{var c=ne(r,"return "+l).apply(v,o)}catch(p){throw p.source=l,p}return t?c(t):(c.source=l,c)},J.unescape=function(n){return null==n?"":oe(n).replace(qe,gt)},J.uniqueId=function(n){var t=++y;return oe(null==n?"":n)+t-},J.all=Ot,J.any=Ft,J.detect=It,J.findWhere=It,J.foldl=Dt,J.foldr=$t,J.include=Ct,J.inject=Dt,Gt(function(){var n={};return h(J,function(t,e){J.prototype[e]||(n[e]=t)}),n}(),false),J.first=Bt,J.last=function(n,t,e){var r=0,u=n?n.length:0;if(typeof t!="number"&&null!=t){var o=u;for(t=J.createCallback(t,e,3);o--&&t(n[o],o,n);)r++}else if(r=t,null==r||e)return n?n[u-1]:v;return p(n,Ie(0,u-r))},J.sample=function(n,t,e){return n&&typeof n.length!="number"&&(n=xt(n)),null==t||e?n?n[at(0,n.length-1)]:v:(n=Tt(n),n.length=Se(Ie(0,t),n.length),n)-},J.take=Bt,J.head=Bt,h(J,function(n,t){var e="sample"!==t;J.prototype[t]||(J.prototype[t]=function(t,r){var u=this.__chain__,o=n(this.__wrapped__,t,r);return u||null!=t&&(!r||e&&typeof t=="function")?new Q(o,u):o})}),J.VERSION="2.4.1",J.prototype.chain=function(){return this.__chain__=true,this},J.prototype.toString=function(){return oe(this.__wrapped__)},J.prototype.value=Qt,J.prototype.valueOf=Qt,St(["join","pop","shift"],function(n){var t=ae[n];J.prototype[n]=function(){var n=this.__chain__,e=t.apply(this.__wrapped__,arguments);-return n?new Q(e,n):e}}),St(["push","reverse","sort","unshift"],function(n){var t=ae[n];J.prototype[n]=function(){return t.apply(this.__wrapped__,arguments),this}}),St(["concat","slice","splice"],function(n){var t=ae[n];J.prototype[n]=function(){return new Q(t.apply(this.__wrapped__,arguments),this.__chain__)}}),J}var v,h=[],g=[],y=0,m=+new Date+"",b=75,_=40,d=" \t\x0B\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000",w=/\b__p\+='';/g,j=/\b(__p\+=)''\+/g,k=/(__e\(.*?\)|\b__t\))\+'';/g,x=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,C=/\w*$/,O=/^\s*function[ \n\r\t]+\w/,N=/<%=([\s\S]+?)%>/g,I=RegExp("^["+d+"]*0+(?=.$)"),S=/($^)/,E=/\bthis\b/,R=/['\n\r\t\u2028\u2029\\]/g,A="Array Boolean Date Function Math Number Object RegExp String _ attachEvent clearTimeout isFinite isNaN parseInt setTimeout".split(" "),D="[object Arguments]",$="[object Array]",T="[object Boolean]",F="[object Date]",B="[object Function]",W="[object Number]",q="[object Object]",z="[object RegExp]",P="[object String]",K={};-K[B]=false,K[D]=K[$]=K[T]=K[F]=K[W]=K[q]=K[z]=K[P]=true;var L={leading:false,maxWait:0,trailing:false},M={configurable:false,enumerable:false,value:null,writable:false},V={"boolean":false,"function":true,object:true,number:false,string:false,undefined:false},U={"\\":"\\","'":"'","\n":"n","\r":"r","\t":"t","\u2028":"u2028","\u2029":"u2029"},G=V[typeof window]&&window||this,H=V[typeof exports]&&exports&&!exports.nodeType&&exports,J=V[typeof module]&&module&&!module.nodeType&&module,Q=J&&J.exports===H&&H,X=V[typeof global]&&global;!X||X.global!==X&&X.window!==X||(G=X);-var Y=s();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(G._=Y, define(function(){return Y})):H&&J?Q?(J.exports=Y)._=Y:H._=Y:G._=Y}).call(this);\ No newline at end of filediff --git a/web/ext/proj/proj4js-2.3.3-1/proj4.js b/web/ext/proj/proj4js-2.3.3-1/proj4.jsdeleted file mode 100644index e94734552..000000000--- a/web/ext/proj/proj4js-2.3.3-1/proj4.js+++ /dev/null@@ -1,3 +0,0 @@-!function(a){if("object"==typeof exports)module.exports=a();else if("function"==typeof define&&define.amd)define(a);else{var b;"undefined"!=typeof window?b=window:"undefined"!=typeof global?b=global:"undefined"!=typeof self&&(b=self),b.proj4=a()}}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b){function Point(a,b,c){if(!(this instanceof Point))return new Point(a,b,c);if(Array.isArray(a))this.x=a[0],this.y=a[1],this.z=a[2]||0;else if("object"==typeof a)this.x=a.x,this.y=a.y,this.z=a.z||0;else if("string"==typeof a&&"undefined"==typeof b){var d=a.split(",");this.x=parseFloat(d[0],10),this.y=parseFloat(d[1],10),this.z=parseFloat(d[2],10)||0}else this.x=a,this.y=b,this.z=c||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}var c=a("mgrs");Point.fromMGRS=function(a){return new Point(c.toPoint(a))},Point.prototype.toMGRS=function(a){return c.forward([this.x,this.y],a)},b.exports=Point},{mgrs:66}],2:[function(a,b){function Projection(a,b){if(!(this instanceof Projection))return new Projection(a);b=b||function(a){if(a)throw a};var e=c(a);if("object"!=typeof e)return void b(a);var g=f(e),h=Projection.projections.get(g.projName);h?(d(this,g),d(this,h),this.init(),b(null,this)):b(a)}var c=a("./parseCode"),d=a("./extend"),e=a("./projections"),f=a("./deriveConstants");Projection.projections=e,Projection.projections.start(),b.exports=Projection},{"./deriveConstants":32,"./extend":33,"./parseCode":36,"./projections":38}],3:[function(a,b){b.exports=function(a,b,c){var d,e,f,g=c.x,h=c.y,i=c.z||0;for(f=0;3>f;f++)if(!b||2!==f||void 0!==c.z)switch(0===f?(d=g,e="x"):1===f?(d=h,e="y"):(d=i,e="z"),a.axis[f]){case"e":c[e]=d;break;case"w":c[e]=-d;break;case"n":c[e]=d;break;case"s":c[e]=-d;break;case"u":void 0!==c[e]&&(c.z=d);break;case"d":void 0!==c[e]&&(c.z=-d);break;default:return null}return c}},{}],4:[function(a,b){var c=Math.PI/2,d=a("./sign");b.exports=function(a){return Math.abs(a)<c?a:a-d(a)*Math.PI}},{"./sign":21}],5:[function(a,b){var c=2*Math.PI,d=3.14159265359,e=a("./sign");b.exports=function(a){return Math.abs(a)<=d?a:a-e(a)*c}},{"./sign":21}],6:[function(a,b){b.exports=function(a){return Math.abs(a)>1&&(a=a>1?1:-1),Math.asin(a)}},{}],7:[function(a,b){b.exports=function(a){return 1-.25*a*(1+a/16*(3+1.25*a))}},{}],8:[function(a,b){b.exports=function(a){return.375*a*(1+.25*a*(1+.46875*a))}},{}],9:[function(a,b){b.exports=function(a){return.05859375*a*a*(1+.75*a)}},{}],10:[function(a,b){b.exports=function(a){return a*a*a*(35/3072)}},{}],11:[function(a,b){b.exports=function(a,b,c){var d=b*c;return a/Math.sqrt(1-d*d)}},{}],12:[function(a,b){b.exports=function(a,b,c,d,e){var f,g;f=a/b;for(var h=0;15>h;h++)if(g=(a-(b*f-c*Math.sin(2*f)+d*Math.sin(4*f)-e*Math.sin(6*f)))/(b-2*c*Math.cos(2*f)+4*d*Math.cos(4*f)-6*e*Math.cos(6*f)),f+=g,Math.abs(g)<=1e-10)return f;return 0/0}},{}],13:[function(a,b){var c=Math.PI/2;b.exports=function(a,b){var d=1-(1-a*a)/(2*a)*Math.log((1-a)/(1+a));if(Math.abs(Math.abs(b)-d)<1e-6)return 0>b?-1*c:c;for(var e,f,g,h,i=Math.asin(.5*b),j=0;30>j;j++)if(f=Math.sin(i),g=Math.cos(i),h=a*f,e=Math.pow(1-h*h,2)/(2*g)*(b/(1-a*a)-f/(1-h*h)+.5/a*Math.log((1-h)/(1+h))),i+=e,Math.abs(e)<=1e-10)return i;return 0/0}},{}],14:[function(a,b){b.exports=function(a,b,c,d,e){return a*e-b*Math.sin(2*e)+c*Math.sin(4*e)-d*Math.sin(6*e)}},{}],15:[function(a,b){b.exports=function(a,b,c){var d=a*b;return c/Math.sqrt(1-d*d)}},{}],16:[function(a,b){var c=Math.PI/2;b.exports=function(a,b){for(var d,e,f=.5*a,g=c-2*Math.atan(b),h=0;15>=h;h++)if(d=a*Math.sin(g),e=c-2*Math.atan(b*Math.pow((1-d)/(1+d),f))-g,g+=e,Math.abs(e)<=1e-10)return g;return-9999}},{}],17:[function(a,b){var c=1,d=.25,e=.046875,f=.01953125,g=.01068115234375,h=.75,i=.46875,j=.013020833333333334,k=.007120768229166667,l=.3645833333333333,m=.005696614583333333,n=.3076171875;b.exports=function(a){var b=[];b[0]=c-a*(d+a*(e+a*(f+a*g))),b[1]=a*(h-a*(e+a*(f+a*g)));var o=a*a;return b[2]=o*(i-a*(j+a*k)),o*=a,b[3]=o*(l-a*m),b[4]=o*a*n,b}},{}],18:[function(a,b){var c=a("./pj_mlfn"),d=1e-10,e=20;b.exports=function(a,b,f){for(var g=1/(1-b),h=a,i=e;i;--i){var j=Math.sin(h),k=1-b*j*j;if(k=(c(h,j,Math.cos(h),f)-a)*k*Math.sqrt(k)*g,h-=k,Math.abs(k)<d)return h}return h}},{"./pj_mlfn":19}],19:[function(a,b){b.exports=function(a,b,c,d){return c*=b,b*=b,d[0]*a-c*(d[1]+b*(d[2]+b*(d[3]+b*d[4])))}},{}],20:[function(a,b){b.exports=function(a,b){var c;return a>1e-7?(c=a*b,(1-a*a)*(b/(1-c*c)-.5/a*Math.log((1-c)/(1+c)))):2*b}},{}],21:[function(a,b){b.exports=function(a){return 0>a?-1:1}},{}],22:[function(a,b){b.exports=function(a,b){return Math.pow((1-a)/(1+a),b)}},{}],23:[function(a,b){b.exports=function(a){var b={x:a[0],y:a[1]};return a.length>2&&(b.z=a[2]),a.length>3&&(b.m=a[3]),b}},{}],24:[function(a,b){var c=Math.PI/2;b.exports=function(a,b,d){var e=a*d,f=.5*a;return e=Math.pow((1-e)/(1+e),f),Math.tan(.5*(c-b))/e}},{}],25:[function(a,b,c){c.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},c.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},c.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},c.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},c.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},c.potsdam={towgs84:"606.0,23.0,413.0",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},c.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},c.hermannskogel={towgs84:"653.0,-212.0,449.0",ellipse:"bessel",datumName:"Hermannskogel"},c.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},c.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},c.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},c.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},c.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},c.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},c.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},c.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"}},{}],26:[function(a,b,c){c.MERIT={a:6378137,rf:298.257,ellipseName:"MERIT 1983"},c.SGS85={a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},c.GRS80={a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},c.IAU76={a:6378140,rf:298.257,ellipseName:"IAU 1976"},c.airy={a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},c.APL4={a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},c.NWL9D={a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},c.mod_airy={a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},c.andrae={a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},c.aust_SA={a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},c.GRS67={a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},c.bessel={a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},c.bess_nam={a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},c.clrk66={a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},c.clrk80={a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},c.clrk58={a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},c.CPM={a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},c.delmbr={a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},c.engelis={a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},c.evrst30={a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},c.evrst48={a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},c.evrst56={a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},c.evrst69={a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},c.evrstSS={a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},c.fschr60={a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},c.fschr60m={a:6378155,rf:298.3,ellipseName:"Fischer 1960"},c.fschr68={a:6378150,rf:298.3,ellipseName:"Fischer 1968"},c.helmert={a:6378200,rf:298.3,ellipseName:"Helmert 1906"},c.hough={a:6378270,rf:297,ellipseName:"Hough"},c.intl={a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},c.kaula={a:6378163,rf:298.24,ellipseName:"Kaula 1961"},c.lerch={a:6378139,rf:298.257,ellipseName:"Lerch 1979"},c.mprts={a:6397300,rf:191,ellipseName:"Maupertius 1738"},c.new_intl={a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},c.plessis={a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},c.krass={a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},c.SEasia={a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},c.walbeck={a:6376896,b:6355834.8467,ellipseName:"Walbeck"},c.WGS60={a:6378165,rf:298.3,ellipseName:"WGS 60"},c.WGS66={a:6378145,rf:298.25,ellipseName:"WGS 66"},c.WGS7={a:6378135,rf:298.26,ellipseName:"WGS 72"},c.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"},c.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"}},{}],27:[function(a,b,c){c.greenwich=0,c.lisbon=-9.131906111111,c.paris=2.337229166667,c.bogota=-74.080916666667,c.madrid=-3.687938888889,c.rome=12.452333333333,c.bern=7.439583333333,c.jakarta=106.807719444444,c.ferro=-17.666666666667,c.brussels=4.367975,c.stockholm=18.058277777778,c.athens=23.7163375,c.oslo=10.722916666667},{}],28:[function(a,b){function c(a,b,c){var d;return Array.isArray(c)?(d=f(a,b,c),3===c.length?[d.x,d.y,d.z]:[d.x,d.y]):f(a,b,c)}function d(a){return a instanceof e?a:a.oProj?a.oProj:e(a)}function proj4(a,b,e){a=d(a);var f,h=!1;return"undefined"==typeof b?(b=a,a=g,h=!0):("undefined"!=typeof b.x||Array.isArray(b))&&(e=b,b=a,a=g,h=!0),b=d(b),e?c(a,b,e):(f={forward:function(d){return c(a,b,d)},inverse:function(d){return c(b,a,d)}},h&&(f.oProj=b),f)}var e=a("./Proj"),f=a("./transform"),g=e("WGS84");b.exports=proj4},{"./Proj":2,"./transform":64}],29:[function(a,b){var c=Math.PI/2,d=1,e=2,f=3,g=4,h=5,i=484813681109536e-20,j=1.0026,k=.3826834323650898,l=function(a){if(!(this instanceof l))return new l(a);if(this.datum_type=g,a){if(a.datumCode&&"none"===a.datumCode&&(this.datum_type=h),a.datum_params){for(var b=0;b<a.datum_params.length;b++)a.datum_params[b]=parseFloat(a.datum_params[b]);(0!==a.datum_params[0]||0!==a.datum_params[1]||0!==a.datum_params[2])&&(this.datum_type=d),a.datum_params.length>3&&(0!==a.datum_params[3]||0!==a.datum_params[4]||0!==a.datum_params[5]||0!==a.datum_params[6])&&(this.datum_type=e,a.datum_params[3]*=i,a.datum_params[4]*=i,a.datum_params[5]*=i,a.datum_params[6]=a.datum_params[6]/1e6+1)}this.datum_type=a.grids?f:this.datum_type,this.a=a.a,this.b=a.b,this.es=a.es,this.ep2=a.ep2,this.datum_params=a.datum_params,this.datum_type===f&&(this.grids=a.grids)}};l.prototype={compare_datums:function(a){return this.datum_type!==a.datum_type?!1:this.a!==a.a||Math.abs(this.es-a.es)>5e-11?!1:this.datum_type===d?this.datum_params[0]===a.datum_params[0]&&this.datum_params[1]===a.datum_params[1]&&this.datum_params[2]===a.datum_params[2]:this.datum_type===e?this.datum_params[0]===a.datum_params[0]&&this.datum_params[1]===a.datum_params[1]&&this.datum_params[2]===a.datum_params[2]&&this.datum_params[3]===a.datum_params[3]&&this.datum_params[4]===a.datum_params[4]&&this.datum_params[5]===a.datum_params[5]&&this.datum_params[6]===a.datum_params[6]:this.datum_type===f||a.datum_type===f?this.nadgrids===a.nadgrids:!0},geodetic_to_geocentric:function(a){var b,d,e,f,g,h,i,j=a.x,k=a.y,l=a.z?a.z:0,m=0;if(-c>k&&k>-1.001*c)k=-c;else if(k>c&&1.001*c>k)k=c;else if(-c>k||k>c)return null;return j>Math.PI&&(j-=2*Math.PI),g=Math.sin(k),i=Math.cos(k),h=g*g,f=this.a/Math.sqrt(1-this.es*h),b=(f+l)*i*Math.cos(j),d=(f+l)*i*Math.sin(j),e=(f*(1-this.es)+l)*g,a.x=b,a.y=d,a.z=e,m},geocentric_to_geodetic:function(a){var b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t=1e-12,u=t*t,v=30,w=a.x,x=a.y,y=a.z?a.z:0;if(o=!1,b=Math.sqrt(w*w+x*x),d=Math.sqrt(w*w+x*x+y*y),b/this.a<t){if(o=!0,q=0,d/this.a<t)return r=c,void(s=-this.b)}else q=Math.atan2(x,w);e=y/d,f=b/d,g=1/Math.sqrt(1-this.es*(2-this.es)*f*f),j=f*(1-this.es)*g,k=e*g,p=0;do p++,i=this.a/Math.sqrt(1-this.es*k*k),s=b*j+y*k-i*(1-this.es*k*k),h=this.es*i/(i+s),g=1/Math.sqrt(1-h*(2-h)*f*f),l=f*(1-h)*g,m=e*g,n=m*j-l*k,j=l,k=m;while(n*n>u&&v>p);return r=Math.atan(m/Math.abs(l)),a.x=q,a.y=r,a.z=s,a},geocentric_to_geodetic_noniter:function(a){var b,d,e,f,g,h,i,l,m,n,o,p,q,r,s,t,u,v=a.x,w=a.y,x=a.z?a.z:0;if(v=parseFloat(v),w=parseFloat(w),x=parseFloat(x),u=!1,0!==v)b=Math.atan2(w,v);else if(w>0)b=c;else if(0>w)b=-c;else if(u=!0,b=0,x>0)d=c;else{if(!(0>x))return d=c,void(e=-this.b);d=-c}return g=v*v+w*w,f=Math.sqrt(g),h=x*j,l=Math.sqrt(h*h+g),n=h/l,p=f/l,o=n*n*n,i=x+this.b*this.ep2*o,t=f-this.a*this.es*p*p*p,m=Math.sqrt(i*i+t*t),q=i/m,r=t/m,s=this.a/Math.sqrt(1-this.es*q*q),e=r>=k?f/r-s:-k>=r?f/-r-s:x/q+s*(this.es-1),u===!1&&(d=Math.atan(q/r)),a.x=b,a.y=d,a.z=e,a},geocentric_to_wgs84:function(a){if(this.datum_type===d)a.x+=this.datum_params[0],a.y+=this.datum_params[1],a.z+=this.datum_params[2];else if(this.datum_type===e){var b=this.datum_params[0],c=this.datum_params[1],f=this.datum_params[2],g=this.datum_params[3],h=this.datum_params[4],i=this.datum_params[5],j=this.datum_params[6],k=j*(a.x-i*a.y+h*a.z)+b,l=j*(i*a.x+a.y-g*a.z)+c,m=j*(-h*a.x+g*a.y+a.z)+f;a.x=k,a.y=l,a.z=m}},geocentric_from_wgs84:function(a){if(this.datum_type===d)a.x-=this.datum_params[0],a.y-=this.datum_params[1],a.z-=this.datum_params[2];else if(this.datum_type===e){var b=this.datum_params[0],c=this.datum_params[1],f=this.datum_params[2],g=this.datum_params[3],h=this.datum_params[4],i=this.datum_params[5],j=this.datum_params[6],k=(a.x-b)/j,l=(a.y-c)/j,m=(a.z-f)/j;a.x=k+i*l-h*m,a.y=-i*k+l+g*m,a.z=h*k-g*l+m}}},b.exports=l},{}],30:[function(a,b){var c=1,d=2,e=3,f=5,g=6378137,h=.006694379990141316;b.exports=function(a,b,i){function j(a){return a===c||a===d}var k,l,m;if(a.compare_datums(b))return i;if(a.datum_type===f||b.datum_type===f)return i;var n=a.a,o=a.es,p=b.a,q=b.es,r=a.datum_type;if(r===e)if(0===this.apply_gridshift(a,0,i))a.a=g,a.es=h;else{if(!a.datum_params)return a.a=n,a.es=a.es,i;for(k=1,l=0,m=a.datum_params.length;m>l;l++)k*=a.datum_params[l];if(0===k)return a.a=n,a.es=a.es,i;r=a.datum_params.length>3?d:c}return b.datum_type===e&&(b.a=g,b.es=h),(a.es!==b.es||a.a!==b.a||j(r)||j(b.datum_type))&&(a.geodetic_to_geocentric(i),j(a.datum_type)&&a.geocentric_to_wgs84(i),j(b.datum_type)&&b.geocentric_from_wgs84(i),b.geocentric_to_geodetic(i)),b.datum_type===e&&this.apply_gridshift(b,1,i),a.a=n,a.es=o,b.a=p,b.es=q,i}},{}],31:[function(a,b){function c(a){var b=this;if(2===arguments.length){var d=arguments[1];c[a]="string"==typeof d?"+"===d.charAt(0)?e(arguments[1]):f(arguments[1]):d}else if(1===arguments.length){if(Array.isArray(a))return a.map(function(a){Array.isArray(a)?c.apply(b,a):c(a)});if("string"==typeof a){if(a in c)return c[a]}else"EPSG"in a?c["EPSG:"+a.EPSG]=a:"ESRI"in a?c["ESRI:"+a.ESRI]=a:"IAU2000"in a?c["IAU2000:"+a.IAU2000]=a:console.log(a);return}}var d=a("./global"),e=a("./projString"),f=a("./wkt");d(c),b.exports=c},{"./global":34,"./projString":37,"./wkt":65}],32:[function(a,b){var c=a("./constants/Datum"),d=a("./constants/Ellipsoid"),e=a("./extend"),f=a("./datum"),g=1e-10,h=.16666666666666666,i=.04722222222222222,j=.022156084656084655;b.exports=function(a){if(a.datumCode&&"none"!==a.datumCode){var b=c[a.datumCode];b&&(a.datum_params=b.towgs84?b.towgs84.split(","):null,a.ellps=b.ellipse,a.datumName=b.datumName?b.datumName:a.datumCode)}if(!a.a){var k=d[a.ellps]?d[a.ellps]:d.WGS84;e(a,k)}return a.rf&&!a.b&&(a.b=(1-1/a.rf)*a.a),(0===a.rf||Math.abs(a.a-a.b)<g)&&(a.sphere=!0,a.b=a.a),a.a2=a.a*a.a,a.b2=a.b*a.b,a.es=(a.a2-a.b2)/a.a2,a.e=Math.sqrt(a.es),a.R_A&&(a.a*=1-a.es*(h+a.es*(i+a.es*j)),a.a2=a.a*a.a,a.b2=a.b*a.b,a.es=0),a.ep2=(a.a2-a.b2)/a.b2,a.k0||(a.k0=1),a.axis||(a.axis="enu"),a.datum||(a.datum=f(a)),a}},{"./constants/Datum":25,"./constants/Ellipsoid":26,"./datum":29,"./extend":33}],33:[function(a,b){b.exports=function(a,b){a=a||{};var c,d;if(!b)return a;for(d in b)c=b[d],void 0!==c&&(a[d]=c);return a}},{}],34:[function(a,b){b.exports=function(a){a("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),a("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),a("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),a.WGS84=a["EPSG:4326"],a["EPSG:3785"]=a["EPSG:3857"],a.GOOGLE=a["EPSG:3857"],a["EPSG:900913"]=a["EPSG:3857"],a["EPSG:102113"]=a["EPSG:3857"]}},{}],35:[function(a,b){var proj4=a("./core");proj4.defaultDatum="WGS84",proj4.Proj=a("./Proj"),proj4.WGS84=new proj4.Proj("WGS84"),proj4.Point=a("./Point"),proj4.toPoint=a("./common/toPoint"),proj4.defs=a("./defs"),proj4.transform=a("./transform"),proj4.mgrs=a("mgrs"),proj4.version=a("../package.json").version,a("./includedProjections")(proj4),b.exports=proj4},{"../package.json":67,"./Point":1,"./Proj":2,"./common/toPoint":23,"./core":28,"./defs":31,"./includedProjections":"gWUPNW","./transform":64,mgrs:66}],36:[function(a,b){function c(a){return"string"==typeof a}function d(a){return a in h}function e(a){var b=["GEOGCS","GEOCCS","PROJCS","LOCAL_CS"];return b.reduce(function(b,c){return b+1+a.indexOf(c)},0)}function f(a){return"+"===a[0]}function g(a){return c(a)?d(a)?h[a]:e(a)?i(a):f(a)?j(a):void 0:a}var h=a("./defs"),i=a("./wkt"),j=a("./projString");b.exports=g},{"./defs":31,"./projString":37,"./wkt":65}],37:[function(a,b){var c=.017453292519943295,d=a("./constants/PrimeMeridian");b.exports=function(a){var b={},e={};a.split("+").map(function(a){return a.trim()}).filter(function(a){return a}).forEach(function(a){var b=a.split("=");b.push(!0),e[b[0].toLowerCase()]=b[1]});var f,g,h,i={proj:"projName",datum:"datumCode",rf:function(a){b.rf=parseFloat(a)},lat_0:function(a){b.lat0=a*c},lat_1:function(a){b.lat1=a*c},lat_2:function(a){b.lat2=a*c},lat_ts:function(a){b.lat_ts=a*c},lon_0:function(a){b.long0=a*c},lon_1:function(a){b.long1=a*c},lon_2:function(a){b.long2=a*c},alpha:function(a){b.alpha=parseFloat(a)*c},lonc:function(a){b.longc=a*c},x_0:function(a){b.x0=parseFloat(a)},y_0:function(a){b.y0=parseFloat(a)},k_0:function(a){b.k0=parseFloat(a)},k:function(a){b.k0=parseFloat(a)},a:function(a){b.a=parseFloat(a)},b:function(a){b.b=parseFloat(a)},r_a:function(){b.R_A=!0},zone:function(a){b.zone=parseInt(a,10)},south:function(){b.utmSouth=!0},towgs84:function(a){b.datum_params=a.split(",").map(function(a){return parseFloat(a)})},to_meter:function(a){b.to_meter=parseFloat(a)},from_greenwich:function(a){b.from_greenwich=a*c},pm:function(a){b.from_greenwich=(d[a]?d[a]:parseFloat(a))*c},nadgrids:function(a){"@null"===a?b.datumCode="none":b.nadgrids=a},axis:function(a){var c="ewnsud";3===a.length&&-1!==c.indexOf(a.substr(0,1))&&-1!==c.indexOf(a.substr(1,1))&&-1!==c.indexOf(a.substr(2,1))&&(b.axis=a)}};for(f in e)g=e[f],f in i?(h=i[f],"function"==typeof h?h(g):b[h]=g):b[f]=g;return"string"==typeof b.datumCode&&"WGS84"!==b.datumCode&&(b.datumCode=b.datumCode.toLowerCase()),b}},{"./constants/PrimeMeridian":27}],38:[function(a,b,c){function d(a,b){var c=g.length;return a.names?(g[c]=a,a.names.forEach(function(a){f[a.toLowerCase()]=c}),this):(console.log(b),!0)}var e=[a("./projections/merc"),a("./projections/longlat")],f={},g=[];c.add=d,c.get=function(a){if(!a)return!1;var b=a.toLowerCase();return"undefined"!=typeof f[b]&&g[f[b]]?g[f[b]]:void 0},c.start=function(){e.forEach(d)}},{"./projections/longlat":50,"./projections/merc":51}],39:[function(a,b,c){var d=1e-10,e=a("../common/msfnz"),f=a("../common/qsfnz"),g=a("../common/adjust_lon"),h=a("../common/asinz");c.init=function(){Math.abs(this.lat1+this.lat2)<d||(this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e3=Math.sqrt(this.es),this.sin_po=Math.sin(this.lat1),this.cos_po=Math.cos(this.lat1),this.t1=this.sin_po,this.con=this.sin_po,this.ms1=e(this.e3,this.sin_po,this.cos_po),this.qs1=f(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat2),this.cos_po=Math.cos(this.lat2),this.t2=this.sin_po,this.ms2=e(this.e3,this.sin_po,this.cos_po),this.qs2=f(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat0),this.cos_po=Math.cos(this.lat0),this.t3=this.sin_po,this.qs0=f(this.e3,this.sin_po,this.cos_po),this.ns0=Math.abs(this.lat1-this.lat2)>d?(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},c.forward=function(a){var b=a.x,c=a.y;this.sin_phi=Math.sin(c),this.cos_phi=Math.cos(c);var d=f(this.e3,this.sin_phi,this.cos_phi),e=this.a*Math.sqrt(this.c-this.ns0*d)/this.ns0,h=this.ns0*g(b-this.long0),i=e*Math.sin(h)+this.x0,j=this.rh-e*Math.cos(h)+this.y0;return a.x=i,a.y=j,a},c.inverse=function(a){var b,c,d,e,f,h;return a.x-=this.x0,a.y=this.rh-a.y+this.y0,this.ns0>=0?(b=Math.sqrt(a.x*a.x+a.y*a.y),d=1):(b=-Math.sqrt(a.x*a.x+a.y*a.y),d=-1),e=0,0!==b&&(e=Math.atan2(d*a.x,d*a.y)),d=b*this.ns0/this.a,this.sphere?h=Math.asin((this.c-d*d)/(2*this.ns0)):(c=(this.c-d*d)/this.ns0,h=this.phi1z(this.e3,c)),f=g(e/this.ns0+this.long0),a.x=f,a.y=h,a},c.phi1z=function(a,b){var c,e,f,g,i,j=h(.5*b);if(d>a)return j;for(var k=a*a,l=1;25>=l;l++)if(c=Math.sin(j),e=Math.cos(j),f=a*c,g=1-f*f,i=.5*g*g/e*(b/(1-k)-c/g+.5/a*Math.log((1-f)/(1+f))),j+=i,Math.abs(i)<=1e-7)return j;return null},c.names=["Albers_Conic_Equal_Area","Albers","aea"]},{"../common/adjust_lon":5,"../common/asinz":6,"../common/msfnz":15,"../common/qsfnz":20}],40:[function(a,b,c){var d=a("../common/adjust_lon"),e=Math.PI/2,f=1e-10,g=a("../common/mlfn"),h=a("../common/e0fn"),i=a("../common/e1fn"),j=a("../common/e2fn"),k=a("../common/e3fn"),l=a("../common/gN"),m=a("../common/asinz"),n=a("../common/imlfn");c.init=function(){this.sin_p12=Math.sin(this.lat0),this.cos_p12=Math.cos(this.lat0)},c.forward=function(a){var b,c,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H=a.x,I=a.y,J=Math.sin(a.y),K=Math.cos(a.y),L=d(H-this.long0);return this.sphere?Math.abs(this.sin_p12-1)<=f?(a.x=this.x0+this.a*(e-I)*Math.sin(L),a.y=this.y0-this.a*(e-I)*Math.cos(L),a):Math.abs(this.sin_p12+1)<=f?(a.x=this.x0+this.a*(e+I)*Math.sin(L),a.y=this.y0+this.a*(e+I)*Math.cos(L),a):(B=this.sin_p12*J+this.cos_p12*K*Math.cos(L),z=Math.acos(B),A=z/Math.sin(z),a.x=this.x0+this.a*A*K*Math.sin(L),a.y=this.y0+this.a*A*(this.cos_p12*J-this.sin_p12*K*Math.cos(L)),a):(b=h(this.es),c=i(this.es),m=j(this.es),n=k(this.es),Math.abs(this.sin_p12-1)<=f?(o=this.a*g(b,c,m,n,e),p=this.a*g(b,c,m,n,I),a.x=this.x0+(o-p)*Math.sin(L),a.y=this.y0-(o-p)*Math.cos(L),a):Math.abs(this.sin_p12+1)<=f?(o=this.a*g(b,c,m,n,e),p=this.a*g(b,c,m,n,I),a.x=this.x0+(o+p)*Math.sin(L),a.y=this.y0+(o+p)*Math.cos(L),a):(q=J/K,r=l(this.a,this.e,this.sin_p12),s=l(this.a,this.e,J),t=Math.atan((1-this.es)*q+this.es*r*this.sin_p12/(s*K)),u=Math.atan2(Math.sin(L),this.cos_p12*Math.tan(t)-this.sin_p12*Math.cos(L)),C=0===u?Math.asin(this.cos_p12*Math.sin(t)-this.sin_p12*Math.cos(t)):Math.abs(Math.abs(u)-Math.PI)<=f?-Math.asin(this.cos_p12*Math.sin(t)-this.sin_p12*Math.cos(t)):Math.asin(Math.sin(L)*Math.cos(t)/Math.sin(u)),v=this.e*this.sin_p12/Math.sqrt(1-this.es),w=this.e*this.cos_p12*Math.cos(u)/Math.sqrt(1-this.es),x=v*w,y=w*w,D=C*C,E=D*C,F=E*C,G=F*C,z=r*C*(1-D*y*(1-y)/6+E/8*x*(1-2*y)+F/120*(y*(4-7*y)-3*v*v*(1-7*y))-G/48*x),a.x=this.x0+z*Math.sin(u),a.y=this.y0+z*Math.cos(u),a))},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I;if(this.sphere){if(b=Math.sqrt(a.x*a.x+a.y*a.y),b>2*e*this.a)return;return c=b/this.a,o=Math.sin(c),p=Math.cos(c),q=this.long0,Math.abs(b)<=f?r=this.lat0:(r=m(p*this.sin_p12+a.y*o*this.cos_p12/b),s=Math.abs(this.lat0)-e,q=d(Math.abs(s)<=f?this.lat0>=0?this.long0+Math.atan2(a.x,-a.y):this.long0-Math.atan2(-a.x,a.y):this.long0+Math.atan2(a.x*o,b*this.cos_p12*p-a.y*this.sin_p12*o))),a.x=q,a.y=r,a}return t=h(this.es),u=i(this.es),v=j(this.es),w=k(this.es),Math.abs(this.sin_p12-1)<=f?(x=this.a*g(t,u,v,w,e),b=Math.sqrt(a.x*a.x+a.y*a.y),y=x-b,r=n(y/this.a,t,u,v,w),q=d(this.long0+Math.atan2(a.x,-1*a.y)),a.x=q,a.y=r,a):Math.abs(this.sin_p12+1)<=f?(x=this.a*g(t,u,v,w,e),b=Math.sqrt(a.x*a.x+a.y*a.y),y=b-x,r=n(y/this.a,t,u,v,w),q=d(this.long0+Math.atan2(a.x,a.y)),a.x=q,a.y=r,a):(b=Math.sqrt(a.x*a.x+a.y*a.y),B=Math.atan2(a.x,a.y),z=l(this.a,this.e,this.sin_p12),C=Math.cos(B),D=this.e*this.cos_p12*C,E=-D*D/(1-this.es),F=3*this.es*(1-E)*this.sin_p12*this.cos_p12*C/(1-this.es),G=b/z,H=G-E*(1+E)*Math.pow(G,3)/6-F*(1+3*E)*Math.pow(G,4)/24,I=1-E*H*H/2-G*H*H*H/6,A=Math.asin(this.sin_p12*Math.cos(H)+this.cos_p12*Math.sin(H)*C),q=d(this.long0+Math.asin(Math.sin(B)*Math.sin(H)/Math.cos(A))),r=Math.atan((1-this.es*I*this.sin_p12/Math.sin(A))*Math.tan(A)/(1-this.es)),a.x=q,a.y=r,a)},c.names=["Azimuthal_Equidistant","aeqd"]},{"../common/adjust_lon":5,"../common/asinz":6,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/gN":11,"../common/imlfn":12,"../common/mlfn":14}],41:[function(a,b,c){var d=a("../common/mlfn"),e=a("../common/e0fn"),f=a("../common/e1fn"),g=a("../common/e2fn"),h=a("../common/e3fn"),i=a("../common/gN"),j=a("../common/adjust_lon"),k=a("../common/adjust_lat"),l=a("../common/imlfn"),m=Math.PI/2,n=1e-10;c.init=function(){this.sphere||(this.e0=e(this.es),this.e1=f(this.es),this.e2=g(this.es),this.e3=h(this.es),this.ml0=this.a*d(this.e0,this.e1,this.e2,this.e3,this.lat0))},c.forward=function(a){var b,c,e=a.x,f=a.y;if(e=j(e-this.long0),this.sphere)b=this.a*Math.asin(Math.cos(f)*Math.sin(e)),c=this.a*(Math.atan2(Math.tan(f),Math.cos(e))-this.lat0);else{var g=Math.sin(f),h=Math.cos(f),k=i(this.a,this.e,g),l=Math.tan(f)*Math.tan(f),m=e*Math.cos(f),n=m*m,o=this.es*h*h/(1-this.es),p=this.a*d(this.e0,this.e1,this.e2,this.e3,f);b=k*m*(1-n*l*(1/6-(8-l+8*o)*n/120)),c=p-this.ml0+k*g/h*n*(.5+(5-l+6*o)*n/24)}return a.x=b+this.x0,a.y=c+this.y0,a},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c,d=a.x/this.a,e=a.y/this.a;if(this.sphere){var f=e+this.lat0;b=Math.asin(Math.sin(f)*Math.cos(d)),c=Math.atan2(Math.tan(d),Math.cos(f))}else{var g=this.ml0/this.a+e,h=l(g,this.e0,this.e1,this.e2,this.e3);if(Math.abs(Math.abs(h)-m)<=n)return a.x=this.long0,a.y=m,0>e&&(a.y*=-1),a;var o=i(this.a,this.e,Math.sin(h)),p=o*o*o/this.a/this.a*(1-this.es),q=Math.pow(Math.tan(h),2),r=d*this.a/o,s=r*r;b=h-o*Math.tan(h)/p*r*r*(.5-(1+3*q)*r*r/24),c=r*(1-s*(q/3+(1+3*q)*q*s/15))/Math.cos(h)}return a.x=j(c+this.long0),a.y=k(b),a},c.names=["Cassini","Cassini_Soldner","cass"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/gN":11,"../common/imlfn":12,"../common/mlfn":14}],42:[function(a,b,c){var d=a("../common/adjust_lon"),e=a("../common/qsfnz"),f=a("../common/msfnz"),g=a("../common/iqsfnz");c.init=function(){this.sphere||(this.k0=f(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))},c.forward=function(a){var b,c,f=a.x,g=a.y,h=d(f-this.long0);if(this.sphere)b=this.x0+this.a*h*Math.cos(this.lat_ts),c=this.y0+this.a*Math.sin(g)/Math.cos(this.lat_ts);else{var i=e(this.e,Math.sin(g));b=this.x0+this.a*this.k0*h,c=this.y0+this.a*i*.5/this.k0}return a.x=b,a.y=c,a},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c;return this.sphere?(b=d(this.long0+a.x/this.a/Math.cos(this.lat_ts)),c=Math.asin(a.y/this.a*Math.cos(this.lat_ts))):(c=g(this.e,2*a.y*this.k0/this.a),b=d(this.long0+a.x/(this.a*this.k0))),a.x=b,a.y=c,a},c.names=["cea"]},{"../common/adjust_lon":5,"../common/iqsfnz":13,"../common/msfnz":15,"../common/qsfnz":20}],43:[function(a,b,c){var d=a("../common/adjust_lon"),e=a("../common/adjust_lat");c.init=function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)},c.forward=function(a){var b=a.x,c=a.y,f=d(b-this.long0),g=e(c-this.lat0);return a.x=this.x0+this.a*f*this.rc,a.y=this.y0+this.a*g,a},c.inverse=function(a){var b=a.x,c=a.y;return a.x=d(this.long0+(b-this.x0)/(this.a*this.rc)),a.y=e(this.lat0+(c-this.y0)/this.a),a},c.names=["Equirectangular","Equidistant_Cylindrical","eqc"]},{"../common/adjust_lat":4,"../common/adjust_lon":5}],44:[function(a,b,c){var d=a("../common/e0fn"),e=a("../common/e1fn"),f=a("../common/e2fn"),g=a("../common/e3fn"),h=a("../common/msfnz"),i=a("../common/mlfn"),j=a("../common/adjust_lon"),k=a("../common/adjust_lat"),l=a("../common/imlfn"),m=1e-10;c.init=function(){Math.abs(this.lat1+this.lat2)<m||(this.lat2=this.lat2||this.lat1,this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=d(this.es),this.e1=e(this.es),this.e2=f(this.es),this.e3=g(this.es),this.sinphi=Math.sin(this.lat1),this.cosphi=Math.cos(this.lat1),this.ms1=h(this.e,this.sinphi,this.cosphi),this.ml1=i(this.e0,this.e1,this.e2,this.e3,this.lat1),Math.abs(this.lat1-this.lat2)<m?this.ns=this.sinphi:(this.sinphi=Math.sin(this.lat2),this.cosphi=Math.cos(this.lat2),this.ms2=h(this.e,this.sinphi,this.cosphi),this.ml2=i(this.e0,this.e1,this.e2,this.e3,this.lat2),this.ns=(this.ms1-this.ms2)/(this.ml2-this.ml1)),this.g=this.ml1+this.ms1/this.ns,this.ml0=i(this.e0,this.e1,this.e2,this.e3,this.lat0),this.rh=this.a*(this.g-this.ml0))},c.forward=function(a){var b,c=a.x,d=a.y;if(this.sphere)b=this.a*(this.g-d);else{var e=i(this.e0,this.e1,this.e2,this.e3,d);b=this.a*(this.g-e)}var f=this.ns*j(c-this.long0),g=this.x0+b*Math.sin(f),h=this.y0+this.rh-b*Math.cos(f);return a.x=g,a.y=h,a},c.inverse=function(a){a.x-=this.x0,a.y=this.rh-a.y+this.y0;var b,c,d,e;this.ns>=0?(c=Math.sqrt(a.x*a.x+a.y*a.y),b=1):(c=-Math.sqrt(a.x*a.x+a.y*a.y),b=-1);var f=0;if(0!==c&&(f=Math.atan2(b*a.x,b*a.y)),this.sphere)return e=j(this.long0+f/this.ns),d=k(this.g-c/this.a),a.x=e,a.y=d,a;var g=this.g-c/this.a;return d=l(g,this.e0,this.e1,this.e2,this.e3),e=j(this.long0+f/this.ns),a.x=e,a.y=d,a},c.names=["Equidistant_Conic","eqdc"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/imlfn":12,"../common/mlfn":14,"../common/msfnz":15}],45:[function(a,b,c){var d=Math.PI/4,e=a("../common/srat"),f=Math.PI/2,g=20;c.init=function(){var a=Math.sin(this.lat0),b=Math.cos(this.lat0);b*=b,this.rc=Math.sqrt(1-this.es)/(1-this.es*a*a),this.C=Math.sqrt(1+this.es*b*b/(1-this.es)),this.phic0=Math.asin(a/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+d)/(Math.pow(Math.tan(.5*this.lat0+d),this.C)*e(this.e*a,this.ratexp))},c.forward=function(a){var b=a.x,c=a.y;return a.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*c+d),this.C)*e(this.e*Math.sin(c),this.ratexp))-f,a.x=this.C*b,a},c.inverse=function(a){for(var b=1e-14,c=a.x/this.C,h=a.y,i=Math.pow(Math.tan(.5*h+d)/this.K,1/this.C),j=g;j>0&&(h=2*Math.atan(i*e(this.e*Math.sin(a.y),-.5*this.e))-f,!(Math.abs(h-a.y)<b));--j)a.y=h;return j?(a.x=c,a.y=h,a):null},c.names=["gauss"]},{"../common/srat":22}],46:[function(a,b,c){var d=a("../common/adjust_lon"),e=1e-10,f=a("../common/asinz");c.init=function(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0),this.infinity_dist=1e3*this.a,this.rc=1},c.forward=function(a){var b,c,f,g,h,i,j,k,l=a.x,m=a.y;return f=d(l-this.long0),b=Math.sin(m),c=Math.cos(m),g=Math.cos(f),i=this.sin_p14*b+this.cos_p14*c*g,h=1,i>0||Math.abs(i)<=e?(j=this.x0+this.a*h*c*Math.sin(f)/i,k=this.y0+this.a*h*(this.cos_p14*b-this.sin_p14*c*g)/i):(j=this.x0+this.infinity_dist*c*Math.sin(f),k=this.y0+this.infinity_dist*(this.cos_p14*b-this.sin_p14*c*g)),a.x=j,a.y=k,a-},c.inverse=function(a){var b,c,e,g,h,i;return a.x=(a.x-this.x0)/this.a,a.y=(a.y-this.y0)/this.a,a.x/=this.k0,a.y/=this.k0,(b=Math.sqrt(a.x*a.x+a.y*a.y))?(g=Math.atan2(b,this.rc),c=Math.sin(g),e=Math.cos(g),i=f(e*this.sin_p14+a.y*c*this.cos_p14/b),h=Math.atan2(a.x*c,b*this.cos_p14*e-a.y*this.sin_p14*c),h=d(this.long0+h)):(i=this.phic0,h=0),a.x=h,a.y=i,a},c.names=["gnom"]},{"../common/adjust_lon":5,"../common/asinz":6}],47:[function(a,b,c){var d=a("../common/adjust_lon");c.init=function(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq},c.forward=function(a){var b,c,e,f,g,h,i,j=a.x,k=a.y,l=d(j-this.long0);return b=Math.pow((1+this.e*Math.sin(k))/(1-this.e*Math.sin(k)),this.alfa*this.e/2),c=2*(Math.atan(this.k*Math.pow(Math.tan(k/2+this.s45),this.alfa)/b)-this.s45),e=-l*this.alfa,f=Math.asin(Math.cos(this.ad)*Math.sin(c)+Math.sin(this.ad)*Math.cos(c)*Math.cos(e)),g=Math.asin(Math.cos(c)*Math.sin(e)/Math.cos(f)),h=this.n*g,i=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(f/2+this.s45),this.n),a.y=i*Math.cos(h)/1,a.x=i*Math.sin(h)/1,this.czech||(a.y*=-1,a.x*=-1),a},c.inverse=function(a){var b,c,d,e,f,g,h,i,j=a.x;a.x=a.y,a.y=j,this.czech||(a.y*=-1,a.x*=-1),g=Math.sqrt(a.x*a.x+a.y*a.y),f=Math.atan2(a.y,a.x),e=f/Math.sin(this.s0),d=2*(Math.atan(Math.pow(this.ro0/g,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),b=Math.asin(Math.cos(this.ad)*Math.sin(d)-Math.sin(this.ad)*Math.cos(d)*Math.cos(e)),c=Math.asin(Math.cos(d)*Math.sin(e)/Math.cos(b)),a.x=this.long0-c/this.alfa,h=b,i=0;var k=0;do a.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(b/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(h))/(1-this.e*Math.sin(h)),this.e/2))-this.s45),Math.abs(h-a.y)<1e-10&&(i=1),h=a.y,k+=1;while(0===i&&15>k);return k>=15?null:a},c.names=["Krovak","krovak"]},{"../common/adjust_lon":5}],48:[function(a,b,c){var d=Math.PI/2,e=Math.PI/4,f=1e-10,g=a("../common/qsfnz"),h=a("../common/adjust_lon");c.S_POLE=1,c.N_POLE=2,c.EQUIT=3,c.OBLIQ=4,c.init=function(){var a=Math.abs(this.lat0);if(this.mode=Math.abs(a-d)<f?this.lat0<0?this.S_POLE:this.N_POLE:Math.abs(a)<f?this.EQUIT:this.OBLIQ,this.es>0){var b;switch(this.qp=g(this.e,1),this.mmf=.5/(1-this.es),this.apa=this.authset(this.es),this.mode){case this.N_POLE:this.dd=1;break;case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),b=Math.sin(this.lat0),this.sinb1=g(this.e,b)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*b*b)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))},c.forward=function(a){var b,c,i,j,k,l,m,n,o,p,q=a.x,r=a.y;if(q=h(q-this.long0),this.sphere){if(k=Math.sin(r),p=Math.cos(r),i=Math.cos(q),this.mode===this.OBLIQ||this.mode===this.EQUIT){if(c=this.mode===this.EQUIT?1+p*i:1+this.sinph0*k+this.cosph0*p*i,f>=c)return null;c=Math.sqrt(2/c),b=c*p*Math.sin(q),c*=this.mode===this.EQUIT?k:this.cosph0*k-this.sinph0*p*i}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(i=-i),Math.abs(r+this.phi0)<f)return null;c=e-.5*r,c=2*(this.mode===this.S_POLE?Math.cos(c):Math.sin(c)),b=c*Math.sin(q),c*=i}}else{switch(m=0,n=0,o=0,i=Math.cos(q),j=Math.sin(q),k=Math.sin(r),l=g(this.e,k),(this.mode===this.OBLIQ||this.mode===this.EQUIT)&&(m=l/this.qp,n=Math.sqrt(1-m*m)),this.mode){case this.OBLIQ:o=1+this.sinb1*m+this.cosb1*n*i;break;case this.EQUIT:o=1+n*i;break;case this.N_POLE:o=d+r,l=this.qp-l;break;case this.S_POLE:o=r-d,l=this.qp+l}if(Math.abs(o)<f)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:o=Math.sqrt(2/o),c=this.mode===this.OBLIQ?this.ymf*o*(this.cosb1*m-this.sinb1*n*i):(o=Math.sqrt(2/(1+n*i)))*m*this.ymf,b=this.xmf*o*n*j;break;case this.N_POLE:case this.S_POLE:l>=0?(b=(o=Math.sqrt(l))*j,c=i*(this.mode===this.S_POLE?o:-o)):b=c=0}}return a.x=this.a*b+this.x0,a.y=this.a*c+this.y0,a},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c,e,g,i,j,k,l=a.x/this.a,m=a.y/this.a;if(this.sphere){var n,o=0,p=0;if(n=Math.sqrt(l*l+m*m),c=.5*n,c>1)return null;switch(c=2*Math.asin(c),(this.mode===this.OBLIQ||this.mode===this.EQUIT)&&(p=Math.sin(c),o=Math.cos(c)),this.mode){case this.EQUIT:c=Math.abs(n)<=f?0:Math.asin(m*p/n),l*=p,m=o*n;break;case this.OBLIQ:c=Math.abs(n)<=f?this.phi0:Math.asin(o*this.sinph0+m*p*this.cosph0/n),l*=p*this.cosph0,m=(o-Math.sin(c)*this.sinph0)*n;break;case this.N_POLE:m=-m,c=d-c;break;case this.S_POLE:c-=d}b=0!==m||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(l,m):0}else{if(k=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(l/=this.dd,m*=this.dd,j=Math.sqrt(l*l+m*m),f>j)return a.x=0,a.y=this.phi0,a;g=2*Math.asin(.5*j/this.rq),e=Math.cos(g),l*=g=Math.sin(g),this.mode===this.OBLIQ?(k=e*this.sinb1+m*g*this.cosb1/j,i=this.qp*k,m=j*this.cosb1*e-m*this.sinb1*g):(k=m*g/j,i=this.qp*k,m=j*e)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(m=-m),i=l*l+m*m,!i)return a.x=0,a.y=this.phi0,a;k=1-i/this.qp,this.mode===this.S_POLE&&(k=-k)}b=Math.atan2(l,m),c=this.authlat(Math.asin(k),this.apa)}return a.x=h(this.long0+b),a.y=c,a},c.P00=.3333333333333333,c.P01=.17222222222222222,c.P02=.10257936507936508,c.P10=.06388888888888888,c.P11=.0664021164021164,c.P20=.016415012942191543,c.authset=function(a){var b,c=[];return c[0]=a*this.P00,b=a*a,c[0]+=b*this.P01,c[1]=b*this.P10,b*=a,c[0]+=b*this.P02,c[1]+=b*this.P11,c[2]=b*this.P20,c},c.authlat=function(a,b){var c=a+a;return a+b[0]*Math.sin(c)+b[1]*Math.sin(c+c)+b[2]*Math.sin(c+c+c)},c.names=["Lambert Azimuthal Equal Area","Lambert_Azimuthal_Equal_Area","laea"]},{"../common/adjust_lon":5,"../common/qsfnz":20}],49:[function(a,b,c){var d=1e-10,e=a("../common/msfnz"),f=a("../common/tsfnz"),g=Math.PI/2,h=a("../common/sign"),i=a("../common/adjust_lon"),j=a("../common/phi2z");c.init=function(){if(this.lat2||(this.lat2=this.lat1),this.k0||(this.k0=1),this.x0=this.x0||0,this.y0=this.y0||0,!(Math.abs(this.lat1+this.lat2)<d)){var a=this.b/this.a;this.e=Math.sqrt(1-a*a);var b=Math.sin(this.lat1),c=Math.cos(this.lat1),g=e(this.e,b,c),h=f(this.e,this.lat1,b),i=Math.sin(this.lat2),j=Math.cos(this.lat2),k=e(this.e,i,j),l=f(this.e,this.lat2,i),m=f(this.e,this.lat0,Math.sin(this.lat0));this.ns=Math.abs(this.lat1-this.lat2)>d?Math.log(g/k)/Math.log(h/l):b,isNaN(this.ns)&&(this.ns=b),this.f0=g/(this.ns*Math.pow(h,this.ns)),this.rh=this.a*this.f0*Math.pow(m,this.ns),this.title||(this.title="Lambert Conformal Conic")}},c.forward=function(a){var b=a.x,c=a.y;Math.abs(2*Math.abs(c)-Math.PI)<=d&&(c=h(c)*(g-2*d));var e,j,k=Math.abs(Math.abs(c)-g);if(k>d)e=f(this.e,c,Math.sin(c)),j=this.a*this.f0*Math.pow(e,this.ns);else{if(k=c*this.ns,0>=k)return null;j=0}var l=this.ns*i(b-this.long0);return a.x=this.k0*j*Math.sin(l)+this.x0,a.y=this.k0*(this.rh-j*Math.cos(l))+this.y0,a},c.inverse=function(a){var b,c,d,e,f,h=(a.x-this.x0)/this.k0,k=this.rh-(a.y-this.y0)/this.k0;this.ns>0?(b=Math.sqrt(h*h+k*k),c=1):(b=-Math.sqrt(h*h+k*k),c=-1);var l=0;if(0!==b&&(l=Math.atan2(c*h,c*k)),0!==b||this.ns>0){if(c=1/this.ns,d=Math.pow(b/(this.a*this.f0),c),e=j(this.e,d),-9999===e)return null}else e=-g;return f=i(l/this.ns+this.long0),a.x=f,a.y=e,a},c.names=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_2SP","lcc"]},{"../common/adjust_lon":5,"../common/msfnz":15,"../common/phi2z":16,"../common/sign":21,"../common/tsfnz":24}],50:[function(a,b,c){function d(a){return a}c.init=function(){},c.forward=d,c.inverse=d,c.names=["longlat","identity"]},{}],51:[function(a,b,c){var d=a("../common/msfnz"),e=Math.PI/2,f=1e-10,g=57.29577951308232,h=a("../common/adjust_lon"),i=Math.PI/4,j=a("../common/tsfnz"),k=a("../common/phi2z");c.init=function(){var a=this.b/this.a;this.es=1-a*a,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.k0=this.sphere?Math.cos(this.lat_ts):d(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k0=this.k?this.k:1)},c.forward=function(a){var b=a.x,c=a.y;if(c*g>90&&-90>c*g&&b*g>180&&-180>b*g)return null;var d,k;if(Math.abs(Math.abs(c)-e)<=f)return null;if(this.sphere)d=this.x0+this.a*this.k0*h(b-this.long0),k=this.y0+this.a*this.k0*Math.log(Math.tan(i+.5*c));else{var l=Math.sin(c),m=j(this.e,c,l);d=this.x0+this.a*this.k0*h(b-this.long0),k=this.y0-this.a*this.k0*Math.log(m)}return a.x=d,a.y=k,a},c.inverse=function(a){var b,c,d=a.x-this.x0,f=a.y-this.y0;if(this.sphere)c=e-2*Math.atan(Math.exp(-f/(this.a*this.k0)));else{var g=Math.exp(-f/(this.a*this.k0));if(c=k(this.e,g),-9999===c)return null}return b=h(this.long0+d/(this.a*this.k0)),a.x=b,a.y=c,a},c.names=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"]},{"../common/adjust_lon":5,"../common/msfnz":15,"../common/phi2z":16,"../common/tsfnz":24}],52:[function(a,b,c){var d=a("../common/adjust_lon");c.init=function(){},c.forward=function(a){var b=a.x,c=a.y,e=d(b-this.long0),f=this.x0+this.a*e,g=this.y0+this.a*Math.log(Math.tan(Math.PI/4+c/2.5))*1.25;return a.x=f,a.y=g,a},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b=d(this.long0+a.x/this.a),c=2.5*(Math.atan(Math.exp(.8*a.y/this.a))-Math.PI/4);return a.x=b,a.y=c,a},c.names=["Miller_Cylindrical","mill"]},{"../common/adjust_lon":5}],53:[function(a,b,c){var d=a("../common/adjust_lon"),e=1e-10;c.init=function(){},c.forward=function(a){for(var b=a.x,c=a.y,f=d(b-this.long0),g=c,h=Math.PI*Math.sin(c),i=0;!0;i++){var j=-(g+Math.sin(g)-h)/(1+Math.cos(g));if(g+=j,Math.abs(j)<e)break}g/=2,Math.PI/2-Math.abs(c)<e&&(f=0);var k=.900316316158*this.a*f*Math.cos(g)+this.x0,l=1.4142135623731*this.a*Math.sin(g)+this.y0;return a.x=k,a.y=l,a},c.inverse=function(a){var b,c;a.x-=this.x0,a.y-=this.y0,c=a.y/(1.4142135623731*this.a),Math.abs(c)>.999999999999&&(c=.999999999999),b=Math.asin(c);var e=d(this.long0+a.x/(.900316316158*this.a*Math.cos(b)));e<-Math.PI&&(e=-Math.PI),e>Math.PI&&(e=Math.PI),c=(2*b+Math.sin(2*b))/Math.PI,Math.abs(c)>1&&(c=1);var f=Math.asin(c);return a.x=e,a.y=f,a},c.names=["Mollweide","moll"]},{"../common/adjust_lon":5}],54:[function(a,b,c){var d=484813681109536e-20;c.iterations=1,c.init=function(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013},c.forward=function(a){var b,c=a.x,e=a.y,f=e-this.lat0,g=c-this.long0,h=f/d*1e-5,i=g,j=1,k=0;for(b=1;10>=b;b++)j*=h,k+=this.A[b]*j;var l,m,n=k,o=i,p=1,q=0,r=0,s=0;for(b=1;6>=b;b++)l=p*n-q*o,m=q*n+p*o,p=l,q=m,r=r+this.B_re[b]*p-this.B_im[b]*q,s=s+this.B_im[b]*p+this.B_re[b]*q;return a.x=s*this.a+this.x0,a.y=r*this.a+this.y0,a},c.inverse=function(a){var b,c,e,f=a.x,g=a.y,h=f-this.x0,i=g-this.y0,j=i/this.a,k=h/this.a,l=1,m=0,n=0,o=0;for(b=1;6>=b;b++)c=l*j-m*k,e=m*j+l*k,l=c,m=e,n=n+this.C_re[b]*l-this.C_im[b]*m,o=o+this.C_im[b]*l+this.C_re[b]*m;for(var p=0;p<this.iterations;p++){var q,r,s=n,t=o,u=j,v=k;for(b=2;6>=b;b++)q=s*n-t*o,r=t*n+s*o,s=q,t=r,u+=(b-1)*(this.B_re[b]*s-this.B_im[b]*t),v+=(b-1)*(this.B_im[b]*s+this.B_re[b]*t);s=1,t=0;var w=this.B_re[1],x=this.B_im[1];for(b=2;6>=b;b++)q=s*n-t*o,r=t*n+s*o,s=q,t=r,w+=b*(this.B_re[b]*s-this.B_im[b]*t),x+=b*(this.B_im[b]*s+this.B_re[b]*t);var y=w*w+x*x;n=(u*w+v*x)/y,o=(v*w-u*x)/y}var z=n,A=o,B=1,C=0;for(b=1;9>=b;b++)B*=z,C+=this.D[b]*B;var D=this.lat0+C*d*1e5,E=this.long0+A;return a.x=E,a.y=D,a},c.names=["New_Zealand_Map_Grid","nzmg"]},{}],55:[function(a,b,c){var d=a("../common/tsfnz"),e=a("../common/adjust_lon"),f=a("../common/phi2z"),g=Math.PI/2,h=Math.PI/4,i=1e-10;c.init=function(){this.no_off=this.no_off||!1,this.no_rot=this.no_rot||!1,isNaN(this.k0)&&(this.k0=1);var a=Math.sin(this.lat0),b=Math.cos(this.lat0),c=this.e*a;this.bl=Math.sqrt(1+this.es/(1-this.es)*Math.pow(b,4)),this.al=this.a*this.bl*this.k0*Math.sqrt(1-this.es)/(1-c*c);var f=d(this.e,this.lat0,a),g=this.bl/b*Math.sqrt((1-this.es)/(1-c*c));1>g*g&&(g=1);var h,i;if(isNaN(this.longc)){var j=d(this.e,this.lat1,Math.sin(this.lat1)),k=d(this.e,this.lat2,Math.sin(this.lat2));this.el=this.lat0>=0?(g+Math.sqrt(g*g-1))*Math.pow(f,this.bl):(g-Math.sqrt(g*g-1))*Math.pow(f,this.bl);var l=Math.pow(j,this.bl),m=Math.pow(k,this.bl);h=this.el/l,i=.5*(h-1/h);var n=(this.el*this.el-m*l)/(this.el*this.el+m*l),o=(m-l)/(m+l),p=e(this.long1-this.long2);this.long0=.5*(this.long1+this.long2)-Math.atan(n*Math.tan(.5*this.bl*p)/o)/this.bl,this.long0=e(this.long0);var q=e(this.long1-this.long0);this.gamma0=Math.atan(Math.sin(this.bl*q)/i),this.alpha=Math.asin(g*Math.sin(this.gamma0))}else h=this.lat0>=0?g+Math.sqrt(g*g-1):g-Math.sqrt(g*g-1),this.el=h*Math.pow(f,this.bl),i=.5*(h-1/h),this.gamma0=Math.asin(Math.sin(this.alpha)/g),this.long0=this.longc-Math.asin(i*Math.tan(this.gamma0))/this.bl;this.uc=this.no_off?0:this.lat0>=0?this.al/this.bl*Math.atan2(Math.sqrt(g*g-1),Math.cos(this.alpha)):-1*this.al/this.bl*Math.atan2(Math.sqrt(g*g-1),Math.cos(this.alpha))},c.forward=function(a){var b,c,f,j=a.x,k=a.y,l=e(j-this.long0);if(Math.abs(Math.abs(k)-g)<=i)f=k>0?-1:1,c=this.al/this.bl*Math.log(Math.tan(h+f*this.gamma0*.5)),b=-1*f*g*this.al/this.bl;else{var m=d(this.e,k,Math.sin(k)),n=this.el/Math.pow(m,this.bl),o=.5*(n-1/n),p=.5*(n+1/n),q=Math.sin(this.bl*l),r=(o*Math.sin(this.gamma0)-q*Math.cos(this.gamma0))/p;c=Math.abs(Math.abs(r)-1)<=i?Number.POSITIVE_INFINITY:.5*this.al*Math.log((1-r)/(1+r))/this.bl,b=Math.abs(Math.cos(this.bl*l))<=i?this.al*this.bl*l:this.al*Math.atan2(o*Math.cos(this.gamma0)+q*Math.sin(this.gamma0),Math.cos(this.bl*l))/this.bl}return this.no_rot?(a.x=this.x0+b,a.y=this.y0+c):(b-=this.uc,a.x=this.x0+c*Math.cos(this.alpha)+b*Math.sin(this.alpha),a.y=this.y0+b*Math.cos(this.alpha)-c*Math.sin(this.alpha)),a},c.inverse=function(a){var b,c;this.no_rot?(c=a.y-this.y0,b=a.x-this.x0):(c=(a.x-this.x0)*Math.cos(this.alpha)-(a.y-this.y0)*Math.sin(this.alpha),b=(a.y-this.y0)*Math.cos(this.alpha)+(a.x-this.x0)*Math.sin(this.alpha),b+=this.uc);var d=Math.exp(-1*this.bl*c/this.al),h=.5*(d-1/d),j=.5*(d+1/d),k=Math.sin(this.bl*b/this.al),l=(k*Math.cos(this.gamma0)+h*Math.sin(this.gamma0))/j,m=Math.pow(this.el/Math.sqrt((1+l)/(1-l)),1/this.bl);return Math.abs(l-1)<i?(a.x=this.long0,a.y=g):Math.abs(l+1)<i?(a.x=this.long0,a.y=-1*g):(a.y=f(this.e,m),a.x=e(this.long0-Math.atan2(h*Math.cos(this.gamma0)-k*Math.sin(this.gamma0),Math.cos(this.bl*b/this.al))/this.bl)),a},c.names=["Hotine_Oblique_Mercator","Hotine Oblique Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin","Hotine_Oblique_Mercator_Azimuth_Center","omerc"]},{"../common/adjust_lon":5,"../common/phi2z":16,"../common/tsfnz":24}],56:[function(a,b,c){var d=a("../common/e0fn"),e=a("../common/e1fn"),f=a("../common/e2fn"),g=a("../common/e3fn"),h=a("../common/adjust_lon"),i=a("../common/adjust_lat"),j=a("../common/mlfn"),k=1e-10,l=a("../common/gN"),m=20;c.init=function(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=d(this.es),this.e1=e(this.es),this.e2=f(this.es),this.e3=g(this.es),this.ml0=this.a*j(this.e0,this.e1,this.e2,this.e3,this.lat0)},c.forward=function(a){var b,c,d,e=a.x,f=a.y,g=h(e-this.long0);if(d=g*Math.sin(f),this.sphere)Math.abs(f)<=k?(b=this.a*g,c=-1*this.a*this.lat0):(b=this.a*Math.sin(d)/Math.tan(f),c=this.a*(i(f-this.lat0)+(1-Math.cos(d))/Math.tan(f)));else if(Math.abs(f)<=k)b=this.a*g,c=-1*this.ml0;else{var m=l(this.a,this.e,Math.sin(f))/Math.tan(f);b=m*Math.sin(d),c=this.a*j(this.e0,this.e1,this.e2,this.e3,f)-this.ml0+m*(1-Math.cos(d))}return a.x=b+this.x0,a.y=c+this.y0,a},c.inverse=function(a){var b,c,d,e,f,g,i,l,n;if(d=a.x-this.x0,e=a.y-this.y0,this.sphere)if(Math.abs(e+this.a*this.lat0)<=k)b=h(d/this.a+this.long0),c=0;else{g=this.lat0+e/this.a,i=d*d/this.a/this.a+g*g,l=g;var o;for(f=m;f;--f)if(o=Math.tan(l),n=-1*(g*(l*o+1)-l-.5*(l*l+i)*o)/((l-g)/o-1),l+=n,Math.abs(n)<=k){c=l;break}b=h(this.long0+Math.asin(d*Math.tan(l)/this.a)/Math.sin(c))}else if(Math.abs(e+this.ml0)<=k)c=0,b=h(this.long0+d/this.a);else{g=(this.ml0+e)/this.a,i=d*d/this.a/this.a+g*g,l=g;var p,q,r,s,t;for(f=m;f;--f)if(t=this.e*Math.sin(l),p=Math.sqrt(1-t*t)*Math.tan(l),q=this.a*j(this.e0,this.e1,this.e2,this.e3,l),r=this.e0-2*this.e1*Math.cos(2*l)+4*this.e2*Math.cos(4*l)-6*this.e3*Math.cos(6*l),s=q/this.a,n=(g*(p*s+1)-s-.5*p*(s*s+i))/(this.es*Math.sin(2*l)*(s*s+i-2*g*s)/(4*p)+(g-s)*(p*r-2/Math.sin(2*l))-r),l-=n,Math.abs(n)<=k){c=l;break}p=Math.sqrt(1-this.es*Math.pow(Math.sin(c),2))*Math.tan(c),b=h(this.long0+Math.asin(d*p/this.a)/Math.sin(c))}return a.x=b,a.y=c,a},c.names=["Polyconic","poly"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/gN":11,"../common/mlfn":14}],57:[function(a,b,c){var d=a("../common/adjust_lon"),e=a("../common/adjust_lat"),f=a("../common/pj_enfn"),g=20,h=a("../common/pj_mlfn"),i=a("../common/pj_inv_mlfn"),j=Math.PI/2,k=1e-10,l=a("../common/asinz");c.init=function(){this.sphere?(this.n=1,this.m=0,this.es=0,this.C_y=Math.sqrt((this.m+1)/this.n),this.C_x=this.C_y/(this.m+1)):this.en=f(this.es)},c.forward=function(a){var b,c,e=a.x,f=a.y;if(e=d(e-this.long0),this.sphere){if(this.m)for(var i=this.n*Math.sin(f),j=g;j;--j){var l=(this.m*f+Math.sin(f)-i)/(this.m+Math.cos(f));if(f-=l,Math.abs(l)<k)break}else f=1!==this.n?Math.asin(this.n*Math.sin(f)):f;b=this.a*this.C_x*e*(this.m+Math.cos(f)),c=this.a*this.C_y*f}else{var m=Math.sin(f),n=Math.cos(f);c=this.a*h(f,m,n,this.en),b=this.a*e*n/Math.sqrt(1-this.es*m*m)}return a.x=b,a.y=c,a},c.inverse=function(a){var b,c,f,g;return a.x-=this.x0,f=a.x/this.a,a.y-=this.y0,b=a.y/this.a,this.sphere?(b/=this.C_y,f/=this.C_x*(this.m+Math.cos(b)),this.m?b=l((this.m*b+Math.sin(b))/this.n):1!==this.n&&(b=l(Math.sin(b)/this.n)),f=d(f+this.long0),b=e(b)):(b=i(a.y/this.a,this.es,this.en),g=Math.abs(b),j>g?(g=Math.sin(b),c=this.long0+a.x*Math.sqrt(1-this.es*g*g)/(this.a*Math.cos(b)),f=d(c)):j>g-k&&(f=this.long0)),a.x=f,a.y=b,a},c.names=["Sinusoidal","sinu"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/asinz":6,"../common/pj_enfn":17,"../common/pj_inv_mlfn":18,"../common/pj_mlfn":19}],58:[function(a,b,c){c.init=function(){var a=this.lat0;this.lambda0=this.long0;var b=Math.sin(a),c=this.a,d=this.rf,e=1/d,f=2*e-Math.pow(e,2),g=this.e=Math.sqrt(f);this.R=this.k0*c*Math.sqrt(1-f)/(1-f*Math.pow(b,2)),this.alpha=Math.sqrt(1+f/(1-f)*Math.pow(Math.cos(a),4)),this.b0=Math.asin(b/this.alpha);var h=Math.log(Math.tan(Math.PI/4+this.b0/2)),i=Math.log(Math.tan(Math.PI/4+a/2)),j=Math.log((1+g*b)/(1-g*b));this.K=h-this.alpha*i+this.alpha*g/2*j},c.forward=function(a){var b=Math.log(Math.tan(Math.PI/4-a.y/2)),c=this.e/2*Math.log((1+this.e*Math.sin(a.y))/(1-this.e*Math.sin(a.y))),d=-this.alpha*(b+c)+this.K,e=2*(Math.atan(Math.exp(d))-Math.PI/4),f=this.alpha*(a.x-this.lambda0),g=Math.atan(Math.sin(f)/(Math.sin(this.b0)*Math.tan(e)+Math.cos(this.b0)*Math.cos(f))),h=Math.asin(Math.cos(this.b0)*Math.sin(e)-Math.sin(this.b0)*Math.cos(e)*Math.cos(f));return a.y=this.R/2*Math.log((1+Math.sin(h))/(1-Math.sin(h)))+this.y0,a.x=this.R*g+this.x0,a},c.inverse=function(a){for(var b=a.x-this.x0,c=a.y-this.y0,d=b/this.R,e=2*(Math.atan(Math.exp(c/this.R))-Math.PI/4),f=Math.asin(Math.cos(this.b0)*Math.sin(e)+Math.sin(this.b0)*Math.cos(e)*Math.cos(d)),g=Math.atan(Math.sin(d)/(Math.cos(this.b0)*Math.cos(d)-Math.sin(this.b0)*Math.tan(e))),h=this.lambda0+g/this.alpha,i=0,j=f,k=-1e3,l=0;Math.abs(j-k)>1e-7;){if(++l>20)return;i=1/this.alpha*(Math.log(Math.tan(Math.PI/4+f/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(j))/2)),k=j,j=2*Math.atan(Math.exp(i))-Math.PI/2}return a.x=h,a.y=j,a},c.names=["somerc"]},{}],59:[function(a,b,c){var d=Math.PI/2,e=1e-10,f=a("../common/sign"),g=a("../common/msfnz"),h=a("../common/tsfnz"),i=a("../common/phi2z"),j=a("../common/adjust_lon");c.ssfn_=function(a,b,c){return b*=c,Math.tan(.5*(d+a))*Math.pow((1-b)/(1+b),.5*c)},c.init=function(){this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=e&&(this.k0=.5*(1+f(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=e&&(this.con=this.lat0>0?1:-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=e&&(this.k0=.5*this.cons*g(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/h(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=g(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-d,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))},c.forward=function(a){var b,c,f,g,i,k,l=a.x,m=a.y,n=Math.sin(m),o=Math.cos(m),p=j(l-this.long0);return Math.abs(Math.abs(l-this.long0)-Math.PI)<=e&&Math.abs(m+this.lat0)<=e?(a.x=0/0,a.y=0/0,a):this.sphere?(b=2*this.k0/(1+this.sinlat0*n+this.coslat0*o*Math.cos(p)),a.x=this.a*b*o*Math.sin(p)+this.x0,a.y=this.a*b*(this.coslat0*n-this.sinlat0*o*Math.cos(p))+this.y0,a):(c=2*Math.atan(this.ssfn_(m,n,this.e))-d,g=Math.cos(c),f=Math.sin(c),Math.abs(this.coslat0)<=e?(i=h(this.e,m*this.con,this.con*n),k=2*this.a*this.k0*i/this.cons,a.x=this.x0+k*Math.sin(l-this.long0),a.y=this.y0-this.con*k*Math.cos(l-this.long0),a):(Math.abs(this.sinlat0)<e?(b=2*this.a*this.k0/(1+g*Math.cos(p)),a.y=b*f):(b=2*this.a*this.k0*this.ms1/(this.cosX0*(1+this.sinX0*f+this.cosX0*g*Math.cos(p))),a.y=b*(this.cosX0*f-this.sinX0*g*Math.cos(p))+this.y0),a.x=b*g*Math.sin(p)+this.x0,a))},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c,f,g,h,k=Math.sqrt(a.x*a.x+a.y*a.y);if(this.sphere){var l=2*Math.atan(k/(.5*this.a*this.k0));return b=this.long0,c=this.lat0,e>=k?(a.x=b,a.y=c,a):(c=Math.asin(Math.cos(l)*this.sinlat0+a.y*Math.sin(l)*this.coslat0/k),b=j(Math.abs(this.coslat0)<e?this.lat0>0?this.long0+Math.atan2(a.x,-1*a.y):this.long0+Math.atan2(a.x,a.y):this.long0+Math.atan2(a.x*Math.sin(l),k*this.coslat0*Math.cos(l)-a.y*this.sinlat0*Math.sin(l))),a.x=b,a.y=c,a)}if(Math.abs(this.coslat0)<=e){if(e>=k)return c=this.lat0,b=this.long0,a.x=b,a.y=c,a;a.x*=this.con,a.y*=this.con,f=k*this.cons/(2*this.a*this.k0),c=this.con*i(this.e,f),b=this.con*j(this.con*this.long0+Math.atan2(a.x,-1*a.y))}else g=2*Math.atan(k*this.cosX0/(2*this.a*this.k0*this.ms1)),b=this.long0,e>=k?h=this.X0:(h=Math.asin(Math.cos(g)*this.sinX0+a.y*Math.sin(g)*this.cosX0/k),b=j(this.long0+Math.atan2(a.x*Math.sin(g),k*this.cosX0*Math.cos(g)-a.y*this.sinX0*Math.sin(g)))),c=-1*i(this.e,Math.tan(.5*(d+h)));return a.x=b,a.y=c,a},c.names=["stere"]},{"../common/adjust_lon":5,"../common/msfnz":15,"../common/phi2z":16,"../common/sign":21,"../common/tsfnz":24}],60:[function(a,b,c){var d=a("./gauss"),e=a("../common/adjust_lon");c.init=function(){d.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))},c.forward=function(a){var b,c,f,g;return a.x=e(a.x-this.long0),d.forward.apply(this,[a]),b=Math.sin(a.y),c=Math.cos(a.y),f=Math.cos(a.x),g=this.k0*this.R2/(1+this.sinc0*b+this.cosc0*c*f),a.x=g*c*Math.sin(a.x),a.y=g*(this.cosc0*b-this.sinc0*c*f),a.x=this.a*a.x+this.x0,a.y=this.a*a.y+this.y0,a},c.inverse=function(a){var b,c,f,g,h;if(a.x=(a.x-this.x0)/this.a,a.y=(a.y-this.y0)/this.a,a.x/=this.k0,a.y/=this.k0,h=Math.sqrt(a.x*a.x+a.y*a.y)){var i=2*Math.atan2(h,this.R2);b=Math.sin(i),c=Math.cos(i),g=Math.asin(c*this.sinc0+a.y*b*this.cosc0/h),f=Math.atan2(a.x*b,h*this.cosc0*c-a.y*this.sinc0*b)}else g=this.phic0,f=0;return a.x=f,a.y=g,d.inverse.apply(this,[a]),a.x=e(a.x+this.long0),a},c.names=["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative"]},{"../common/adjust_lon":5,"./gauss":45}],61:[function(a,b,c){var d=a("../common/e0fn"),e=a("../common/e1fn"),f=a("../common/e2fn"),g=a("../common/e3fn"),h=a("../common/mlfn"),i=a("../common/adjust_lon"),j=Math.PI/2,k=1e-10,l=a("../common/sign"),m=a("../common/asinz");c.init=function(){this.e0=d(this.es),this.e1=e(this.es),this.e2=f(this.es),this.e3=g(this.es),this.ml0=this.a*h(this.e0,this.e1,this.e2,this.e3,this.lat0)},c.forward=function(a){var b,c,d,e=a.x,f=a.y,g=i(e-this.long0),j=Math.sin(f),k=Math.cos(f);if(this.sphere){var l=k*Math.sin(g);if(Math.abs(Math.abs(l)-1)<1e-10)return 93;c=.5*this.a*this.k0*Math.log((1+l)/(1-l)),b=Math.acos(k*Math.cos(g)/Math.sqrt(1-l*l)),0>f&&(b=-b),d=this.a*this.k0*(b-this.lat0)}else{var m=k*g,n=Math.pow(m,2),o=this.ep2*Math.pow(k,2),p=Math.tan(f),q=Math.pow(p,2);b=1-this.es*Math.pow(j,2);var r=this.a/Math.sqrt(b),s=this.a*h(this.e0,this.e1,this.e2,this.e3,f);c=this.k0*r*m*(1+n/6*(1-q+o+n/20*(5-18*q+Math.pow(q,2)+72*o-58*this.ep2)))+this.x0,d=this.k0*(s-this.ml0+r*p*n*(.5+n/24*(5-q+9*o+4*Math.pow(o,2)+n/30*(61-58*q+Math.pow(q,2)+600*o-330*this.ep2))))+this.y0}return a.x=c,a.y=d,a},c.inverse=function(a){var b,c,d,e,f,g,h=6;if(this.sphere){var n=Math.exp(a.x/(this.a*this.k0)),o=.5*(n-1/n),p=this.lat0+a.y/(this.a*this.k0),q=Math.cos(p);b=Math.sqrt((1-q*q)/(1+o*o)),f=m(b),0>p&&(f=-f),g=0===o&&0===q?this.long0:i(Math.atan2(o,q)+this.long0)}else{var r=a.x-this.x0,s=a.y-this.y0;for(b=(this.ml0+s/this.k0)/this.a,c=b,e=0;!0&&(d=(b+this.e1*Math.sin(2*c)-this.e2*Math.sin(4*c)+this.e3*Math.sin(6*c))/this.e0-c,c+=d,!(Math.abs(d)<=k));e++)if(e>=h)return 95;if(Math.abs(c)<j){var t=Math.sin(c),u=Math.cos(c),v=Math.tan(c),w=this.ep2*Math.pow(u,2),x=Math.pow(w,2),y=Math.pow(v,2),z=Math.pow(y,2);b=1-this.es*Math.pow(t,2);var A=this.a/Math.sqrt(b),B=A*(1-this.es)/b,C=r/(A*this.k0),D=Math.pow(C,2);f=c-A*v*D/B*(.5-D/24*(5+3*y+10*w-4*x-9*this.ep2-D/30*(61+90*y+298*w+45*z-252*this.ep2-3*x))),g=i(this.long0+C*(1-D/6*(1+2*y+w-D/20*(5-2*w+28*y-3*x+8*this.ep2+24*z)))/u)}else f=j*l(s),g=this.long0}return a.x=g,a.y=f,a},c.names=["Transverse_Mercator","Transverse Mercator","tmerc"]},{"../common/adjust_lon":5,"../common/asinz":6,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/mlfn":14,"../common/sign":21}],62:[function(a,b,c){var d=.017453292519943295,e=a("./tmerc");c.dependsOn="tmerc",c.init=function(){this.zone&&(this.lat0=0,this.long0=(6*Math.abs(this.zone)-183)*d,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,e.init.apply(this),this.forward=e.forward,this.inverse=e.inverse)},c.names=["Universal Transverse Mercator System","utm"]},{"./tmerc":61}],63:[function(a,b,c){var d=a("../common/adjust_lon"),e=Math.PI/2,f=1e-10,g=a("../common/asinz");c.init=function(){this.R=this.a},c.forward=function(a){var b,c,h=a.x,i=a.y,j=d(h-this.long0);Math.abs(i)<=f&&(b=this.x0+this.R*j,c=this.y0);var k=g(2*Math.abs(i/Math.PI));(Math.abs(j)<=f||Math.abs(Math.abs(i)-e)<=f)&&(b=this.x0,c=i>=0?this.y0+Math.PI*this.R*Math.tan(.5*k):this.y0+Math.PI*this.R*-Math.tan(.5*k));var l=.5*Math.abs(Math.PI/j-j/Math.PI),m=l*l,n=Math.sin(k),o=Math.cos(k),p=o/(n+o-1),q=p*p,r=p*(2/n-1),s=r*r,t=Math.PI*this.R*(l*(p-s)+Math.sqrt(m*(p-s)*(p-s)-(s+m)*(q-s)))/(s+m);0>j&&(t=-t),b=this.x0+t;var u=m+p;return t=Math.PI*this.R*(r*u-l*Math.sqrt((s+m)*(m+1)-u*u))/(s+m),c=i>=0?this.y0+t:this.y0-t,a.x=b,a.y=c,a},c.inverse=function(a){var b,c,e,g,h,i,j,k,l,m,n,o,p;return a.x-=this.x0,a.y-=this.y0,n=Math.PI*this.R,e=a.x/n,g=a.y/n,h=e*e+g*g,i=-Math.abs(g)*(1+h),j=i-2*g*g+e*e,k=-2*i+1+2*g*g+h*h,p=g*g/k+(2*j*j*j/k/k/k-9*i*j/k/k)/27,l=(i-j*j/3/k)/k,m=2*Math.sqrt(-l/3),n=3*p/l/m,Math.abs(n)>1&&(n=n>=0?1:-1),o=Math.acos(n)/3,c=a.y>=0?(-m*Math.cos(o+Math.PI/3)-j/3/k)*Math.PI:-(-m*Math.cos(o+Math.PI/3)-j/3/k)*Math.PI,b=Math.abs(e)<f?this.long0:d(this.long0+Math.PI*(h-1+Math.sqrt(1+2*(e*e-g*g)+h*h))/2/e),a.x=b,a.y=c,a},c.names=["Van_der_Grinten_I","VanDerGrinten","vandg"]},{"../common/adjust_lon":5,"../common/asinz":6}],64:[function(a,b){var c=.017453292519943295,d=57.29577951308232,e=1,f=2,g=a("./datum_transform"),h=a("./adjust_axis"),i=a("./Proj"),j=a("./common/toPoint");b.exports=function k(a,b,l){function m(a,b){return(a.datum.datum_type===e||a.datum.datum_type===f)&&"WGS84"!==b.datumCode}var n;return Array.isArray(l)&&(l=j(l)),a.datum&&b.datum&&(m(a,b)||m(b,a))&&(n=new i("WGS84"),k(a,n,l),a=n),"enu"!==a.axis&&h(a,!1,l),"longlat"===a.projName?(l.x*=c,l.y*=c):(a.to_meter&&(l.x*=a.to_meter,l.y*=a.to_meter),a.inverse(l)),a.from_greenwich&&(l.x+=a.from_greenwich),l=g(a.datum,b.datum,l),b.from_greenwich&&(l.x-=b.from_greenwich),"longlat"===b.projName?(l.x*=d,l.y*=d):(b.forward(l),b.to_meter&&(l.x/=b.to_meter,l.y/=b.to_meter)),"enu"!==b.axis&&h(b,!0,l),l}},{"./Proj":2,"./adjust_axis":3,"./common/toPoint":23,"./datum_transform":30}],65:[function(a,b){function c(a,b,c){a[b]=c.map(function(a){var b={};return d(a,b),b}).reduce(function(a,b){return i(a,b)},{})}function d(a,b){var e;return Array.isArray(a)?(e=a.shift(),"PARAMETER"===e&&(e=a.shift()),1===a.length?Array.isArray(a[0])?(b[e]={},d(a[0],b[e])):b[e]=a[0]:a.length?"TOWGS84"===e?b[e]=a:(b[e]={},["UNIT","PRIMEM","VERT_DATUM"].indexOf(e)>-1?(b[e]={name:a[0].toLowerCase(),convert:a[1]},3===a.length&&(b[e].auth=a[2])):"SPHEROID"===e?(b[e]={name:a[0],a:a[1],rf:a[2]},4===a.length&&(b[e].auth=a[3])):["GEOGCS","GEOCCS","DATUM","VERT_CS","COMPD_CS","LOCAL_CS","FITTED_CS","LOCAL_DATUM"].indexOf(e)>-1?(a[0]=["name",a[0]],c(b,e,a)):a.every(function(a){return Array.isArray(a)})?c(b,e,a):d(a,b[e])):b[e]=!0,void 0):void(b[a]=!0)}function e(a,b){var c=b[0],d=b[1];!(c in a)&&d in a&&(a[c]=a[d],3===b.length&&(a[c]=b[2](a[c])))}function f(a){return a*h}function g(a){function b(b){var c=a.to_meter||1;return parseFloat(b,10)*c}"GEOGCS"===a.type?a.projName="longlat":"LOCAL_CS"===a.type?(a.projName="identity",a.local=!0):a.projName="object"==typeof a.PROJECTION?Object.keys(a.PROJECTION)[0]:a.PROJECTION,a.UNIT&&(a.units=a.UNIT.name.toLowerCase(),"metre"===a.units&&(a.units="meter"),a.UNIT.convert&&(a.to_meter=parseFloat(a.UNIT.convert,10))),a.GEOGCS&&(a.datumCode=a.GEOGCS.DATUM?a.GEOGCS.DATUM.name.toLowerCase():a.GEOGCS.name.toLowerCase(),"d_"===a.datumCode.slice(0,2)&&(a.datumCode=a.datumCode.slice(2)),("new_zealand_geodetic_datum_1949"===a.datumCode||"new_zealand_1949"===a.datumCode)&&(a.datumCode="nzgd49"),"wgs_1984"===a.datumCode&&("Mercator_Auxiliary_Sphere"===a.PROJECTION&&(a.sphere=!0),a.datumCode="wgs84"),"_ferro"===a.datumCode.slice(-6)&&(a.datumCode=a.datumCode.slice(0,-6)),"_jakarta"===a.datumCode.slice(-8)&&(a.datumCode=a.datumCode.slice(0,-8)),~a.datumCode.indexOf("belge")&&(a.datumCode="rnb72"),a.GEOGCS.DATUM&&a.GEOGCS.DATUM.SPHEROID&&(a.ellps=a.GEOGCS.DATUM.SPHEROID.name.replace("_19","").replace(/[Cc]larke\_18/,"clrk"),"international"===a.ellps.toLowerCase().slice(0,13)&&(a.ellps="intl"),a.a=a.GEOGCS.DATUM.SPHEROID.a,a.rf=parseFloat(a.GEOGCS.DATUM.SPHEROID.rf,10)),~a.datumCode.indexOf("osgb_1936")&&(a.datumCode="osgb36")),a.b&&!isFinite(a.b)&&(a.b=a.a);-var c=function(b){return e(a,b)},d=[["standard_parallel_1","Standard_Parallel_1"],["standard_parallel_2","Standard_Parallel_2"],["false_easting","False_Easting"],["false_northing","False_Northing"],["central_meridian","Central_Meridian"],["latitude_of_origin","Latitude_Of_Origin"],["latitude_of_origin","Central_Parallel"],["scale_factor","Scale_Factor"],["k0","scale_factor"],["latitude_of_center","Latitude_of_center"],["lat0","latitude_of_center",f],["longitude_of_center","Longitude_Of_Center"],["longc","longitude_of_center",f],["x0","false_easting",b],["y0","false_northing",b],["long0","central_meridian",f],["lat0","latitude_of_origin",f],["lat0","standard_parallel_1",f],["lat1","standard_parallel_1",f],["lat2","standard_parallel_2",f],["alpha","azimuth",f],["srsCode","name"]];d.forEach(c),a.long0||!a.longc||"Albers_Conic_Equal_Area"!==a.PROJECTION&&"Lambert_Azimuthal_Equal_Area"!==a.PROJECTION||(a.long0=a.longc)}var h=.017453292519943295,i=a("./extend");b.exports=function(a,b){var c=JSON.parse((","+a).replace(/\s*\,\s*([A-Z_0-9]+?)(\[)/g,',["$1",').slice(1).replace(/\s*\,\s*([A-Z_0-9]+?)\]/g,',"$1"]').replace(/,\["VERTCS".+/,"")),e=c.shift(),f=c.shift();c.unshift(["name",f]),c.unshift(["type",e]),c.unshift("output");var h={};return d(c,h),g(h.output),i(b,h.output)}},{"./extend":33}],66:[function(a,b,c){function d(a){return a*(Math.PI/180)}function e(a){return 180*(a/Math.PI)}function f(a){var b,c,e,f,g,i,j,k,l,m=a.lat,n=a.lon,o=6378137,p=.00669438,q=.9996,r=d(m),s=d(n);l=Math.floor((n+180)/6)+1,180===n&&(l=60),m>=56&&64>m&&n>=3&&12>n&&(l=32),m>=72&&84>m&&(n>=0&&9>n?l=31:n>=9&&21>n?l=33:n>=21&&33>n?l=35:n>=33&&42>n&&(l=37)),b=6*(l-1)-180+3,k=d(b),c=p/(1-p),e=o/Math.sqrt(1-p*Math.sin(r)*Math.sin(r)),f=Math.tan(r)*Math.tan(r),g=c*Math.cos(r)*Math.cos(r),i=Math.cos(r)*(s-k),j=o*((1-p/4-3*p*p/64-5*p*p*p/256)*r-(3*p/8+3*p*p/32+45*p*p*p/1024)*Math.sin(2*r)+(15*p*p/256+45*p*p*p/1024)*Math.sin(4*r)-35*p*p*p/3072*Math.sin(6*r));var t=q*e*(i+(1-f+g)*i*i*i/6+(5-18*f+f*f+72*g-58*c)*i*i*i*i*i/120)+5e5,u=q*(j+e*Math.tan(r)*(i*i/2+(5-f+9*g+4*g*g)*i*i*i*i/24+(61-58*f+f*f+600*g-330*c)*i*i*i*i*i*i/720));return 0>m&&(u+=1e7),{northing:Math.round(u),easting:Math.round(t),zoneNumber:l,zoneLetter:h(m)}}function g(a){var b=a.northing,c=a.easting,d=a.zoneLetter,f=a.zoneNumber;if(0>f||f>60)return null;var h,i,j,k,l,m,n,o,p,q,r=.9996,s=6378137,t=.00669438,u=(1-Math.sqrt(1-t))/(1+Math.sqrt(1-t)),v=c-5e5,w=b;"N">d&&(w-=1e7),o=6*(f-1)-180+3,h=t/(1-t),n=w/r,p=n/(s*(1-t/4-3*t*t/64-5*t*t*t/256)),q=p+(3*u/2-27*u*u*u/32)*Math.sin(2*p)+(21*u*u/16-55*u*u*u*u/32)*Math.sin(4*p)+151*u*u*u/96*Math.sin(6*p),i=s/Math.sqrt(1-t*Math.sin(q)*Math.sin(q)),j=Math.tan(q)*Math.tan(q),k=h*Math.cos(q)*Math.cos(q),l=s*(1-t)/Math.pow(1-t*Math.sin(q)*Math.sin(q),1.5),m=v/(i*r);var x=q-i*Math.tan(q)/l*(m*m/2-(5+3*j+10*k-4*k*k-9*h)*m*m*m*m/24+(61+90*j+298*k+45*j*j-252*h-3*k*k)*m*m*m*m*m*m/720);x=e(x);var y=(m-(1+2*j+k)*m*m*m/6+(5-2*k+28*j-3*k*k+8*h+24*j*j)*m*m*m*m*m/120)/Math.cos(q);y=o+e(y);var z;if(a.accuracy){var A=g({northing:a.northing+a.accuracy,easting:a.easting+a.accuracy,zoneLetter:a.zoneLetter,zoneNumber:a.zoneNumber});z={top:A.lat,right:A.lon,bottom:x,left:y}}else z={lat:x,lon:y};return z}function h(a){var b="Z";return 84>=a&&a>=72?b="X":72>a&&a>=64?b="W":64>a&&a>=56?b="V":56>a&&a>=48?b="U":48>a&&a>=40?b="T":40>a&&a>=32?b="S":32>a&&a>=24?b="R":24>a&&a>=16?b="Q":16>a&&a>=8?b="P":8>a&&a>=0?b="N":0>a&&a>=-8?b="M":-8>a&&a>=-16?b="L":-16>a&&a>=-24?b="K":-24>a&&a>=-32?b="J":-32>a&&a>=-40?b="H":-40>a&&a>=-48?b="G":-48>a&&a>=-56?b="F":-56>a&&a>=-64?b="E":-64>a&&a>=-72?b="D":-72>a&&a>=-80&&(b="C"),b}function i(a,b){var c=""+a.easting,d=""+a.northing;return a.zoneNumber+a.zoneLetter+j(a.easting,a.northing,a.zoneNumber)+c.substr(c.length-5,b)+d.substr(d.length-5,b)}function j(a,b,c){var d=k(c),e=Math.floor(a/1e5),f=Math.floor(b/1e5)%20;return l(e,f,d)}function k(a){var b=a%q;return 0===b&&(b=q),b}function l(a,b,c){var d=c-1,e=r.charCodeAt(d),f=s.charCodeAt(d),g=e+a-1,h=f+b,i=!1;g>x&&(g=g-x+t-1,i=!0),(g===u||u>e&&g>u||(g>u||u>e)&&i)&&g++,(g===v||v>e&&g>v||(g>v||v>e)&&i)&&(g++,g===u&&g++),g>x&&(g=g-x+t-1),h>w?(h=h-w+t-1,i=!0):i=!1,(h===u||u>f&&h>u||(h>u||u>f)&&i)&&h++,(h===v||v>f&&h>v||(h>v||v>f)&&i)&&(h++,h===u&&h++),h>w&&(h=h-w+t-1);var j=String.fromCharCode(g)+String.fromCharCode(h);return j}function m(a){if(a&&0===a.length)throw"MGRSPoint coverting from nothing";for(var b,c=a.length,d=null,e="",f=0;!/[A-Z]/.test(b=a.charAt(f));){if(f>=2)throw"MGRSPoint bad conversion from: "+a;e+=b,f++}var g=parseInt(e,10);if(0===f||f+3>c)throw"MGRSPoint bad conversion from: "+a;var h=a.charAt(f++);if("A">=h||"B"===h||"Y"===h||h>="Z"||"I"===h||"O"===h)throw"MGRSPoint zone letter "+h+" not handled: "+a;d=a.substring(f,f+=2);for(var i=k(g),j=n(d.charAt(0),i),l=o(d.charAt(1),i);l<p(h);)l+=2e6;var m=c-f;if(m%2!==0)throw"MGRSPoint has to have an even number \nof digits after the zone letter and two 100km letters - front \nhalf for easting meters, second half for \nnorthing meters"+a;var q,r,s,t,u,v=m/2,w=0,x=0;return v>0&&(q=1e5/Math.pow(10,v),r=a.substring(f,f+v),w=parseFloat(r)*q,s=a.substring(f+v),x=parseFloat(s)*q),t=w+j,u=x+l,{easting:t,northing:u,zoneLetter:h,zoneNumber:g,accuracy:q}}function n(a,b){for(var c=r.charCodeAt(b-1),d=1e5,e=!1;c!==a.charCodeAt(0);){if(c++,c===u&&c++,c===v&&c++,c>x){if(e)throw"Bad character: "+a;c=t,e=!0}d+=1e5}return d}function o(a,b){if(a>"V")throw"MGRSPoint given invalid Northing "+a;for(var c=s.charCodeAt(b-1),d=0,e=!1;c!==a.charCodeAt(0);){if(c++,c===u&&c++,c===v&&c++,c>w){if(e)throw"Bad character: "+a;c=t,e=!0}d+=1e5}return d}function p(a){var b;switch(a){case"C":b=11e5;break;case"D":b=2e6;break;case"E":b=28e5;break;case"F":b=37e5;break;case"G":b=46e5;break;case"H":b=55e5;break;case"J":b=64e5;break;case"K":b=73e5;break;case"L":b=82e5;break;case"M":b=91e5;break;case"N":b=0;break;case"P":b=8e5;break;case"Q":b=17e5;break;case"R":b=26e5;break;case"S":b=35e5;break;case"T":b=44e5;break;case"U":b=53e5;break;case"V":b=62e5;break;case"W":b=7e6;break;case"X":b=79e5;break;default:b=-1}if(b>=0)return b;throw"Invalid zone letter: "+a}var q=6,r="AJSAJS",s="AFAFAF",t=65,u=73,v=79,w=86,x=90;c.forward=function(a,b){return b=b||5,i(f({lat:a[1],lon:a[0]}),b)},c.inverse=function(a){var b=g(m(a.toUpperCase()));return[b.left,b.bottom,b.right,b.top]},c.toPoint=function(a){var b=c.inverse(a);return[(b[2]+b[0])/2,(b[3]+b[1])/2]}},{}],67:[function(a,b){b.exports={name:"proj4",version:"2.3.3",description:"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",main:"lib/index.js",directories:{test:"test",doc:"docs"},scripts:{test:"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},repository:{type:"git",url:"git://github.com/proj4js/proj4js.git"},author:"",license:"MIT",jam:{main:"dist/proj4.js",include:["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},devDependencies:{"grunt-cli":"~0.1.13",grunt:"~0.4.2","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0",chai:"~1.8.1",mocha:"~1.17.1","grunt-mocha-phantomjs":"~0.4.0",browserify:"~3.24.5","grunt-browserify":"~1.3.0","grunt-contrib-uglify":"~0.3.2",curl:"git://github.com/cujojs/curl.git",istanbul:"~0.2.4",tin:"~0.4.0"},dependencies:{mgrs:"0.0.0"}}},{}],"./includedProjections":[function(a,b){b.exports=a("gWUPNW")},{}],gWUPNW:[function(a,b){var c=[a("./lib/projections/tmerc"),a("./lib/projections/utm"),a("./lib/projections/sterea"),a("./lib/projections/stere"),a("./lib/projections/somerc"),a("./lib/projections/omerc"),a("./lib/projections/lcc"),a("./lib/projections/krovak"),a("./lib/projections/cass"),a("./lib/projections/laea"),a("./lib/projections/aea"),a("./lib/projections/gnom"),a("./lib/projections/cea"),a("./lib/projections/eqc"),a("./lib/projections/poly"),a("./lib/projections/nzmg"),a("./lib/projections/mill"),a("./lib/projections/sinu"),a("./lib/projections/moll"),a("./lib/projections/eqdc"),a("./lib/projections/vandg"),a("./lib/projections/aeqd")];b.exports=function(proj4){c.forEach(function(a){proj4.Proj.projections.add(a)})}},{"./lib/projections/aea":39,"./lib/projections/aeqd":40,"./lib/projections/cass":41,"./lib/projections/cea":42,"./lib/projections/eqc":43,"./lib/projections/eqdc":44,"./lib/projections/gnom":46,"./lib/projections/krovak":47,"./lib/projections/laea":48,"./lib/projections/lcc":49,"./lib/projections/mill":52,"./lib/projections/moll":53,"./lib/projections/nzmg":54,"./lib/projections/omerc":55,"./lib/projections/poly":56,"./lib/projections/sinu":57,"./lib/projections/somerc":58,"./lib/projections/stere":59,"./lib/projections/sterea":60,"./lib/projections/tmerc":61,"./lib/projections/utm":62,"./lib/projections/vandg":63}]},{},[35])(35)});\ No newline at end of filediff --git a/web/ext/tour/joyride-2.0.3-3/joyride.css b/web/ext/tour/joyride-2.0.3-3/joyride.cssdeleted file mode 100644index 2b313c567..000000000--- a/web/ext/tour/joyride-2.0.3-3/joyride.css+++ /dev/null@@ -1,320 +0,0 @@-/* Artfully masterminded by ZURB */-body {- position: relative;-}--#joyRideTipContent { display: none; }--/* Default styles for the container */-.joyride-tip-guide {- position: absolute;- background: #000;- background: rgba(175, 181, 196, 1);- display: none;- color: rgb(38, 43, 49);- width: 350px;- z-index: 1050;- top: 0; /* keeps the page from scrolling when calculating position */- left: 0;- font-family: "Gill Sans", sans-serif;- font-weight: normal;- -moz-border-radius: 4px;- -webkit-border-radius: 4px;- border-radius: 4px;-}--.joyride-content-wrapper {- padding: 10px 10px 15px 15px;-}--.bordered {- border: #808080 solid 1px;-}--.wide {- width:450px;-}--/* Mobile */-/* @media only screen and (max-width: 767px) */-.joyride-tip-guide.mobile {- width: 95% !important;- -moz-border-radius: 0;- -webkit-border-radius: 0;- border-radius: 0;- left: 2.5% !important;-}--.joyride-tip-guide-wrapper.mobile {- width: 100%;-}--/* Add a little css triangle pip, older browser just miss out on the fanciness of it */-.joyride-tip-guide span.joyride-nub {- display: block;- position: absolute;- left: 22px;- width: 0;- height: 0;- border: solid 14px;-}--.joyride-tip-guide span.joyride-nub-border {- display: block;- position: absolute;- left: 22px;- width: 0;- height: 0;- border: solid #808080 15px;-}--.joyride-tip-guide span.joyride-nub.top {- /*- IE7/IE8 Don't support rgba so we set the fallback- border color here. However, IE7/IE8 are also buggy- in that the fallback color doesn't work for- border-bottom-color so here we set the border-color- and override the top,left,right colors below.- */- border-color: #000;- border-color: rgba(175, 181, 196, 1);- border-top-color: transparent !important;- border-left-color: transparent !important;- border-right-color: transparent !important;- top: -28px;- left: 250px;- bottom: none;-}--.joyride-tip-guide span.joyride-nub-border.top {- border-top-color: transparent !important;- border-left-color: transparent !important;- border-right-color: transparent !important;- left: 249px;- top: -30px;-}--.joyride-tip-guide span.joyride-nub.bottom {- /*- IE7/IE8 Don't support rgba so we set the fallback- border color here. However, IE7/IE8 are also buggy- in that the fallback color doesn't work for- border-top-color so here we set the border-color- and override the bottom,left,right colors below.- */- border-color: #000;- border-color: rgba(175, 181, 196, 1) !important;- border-bottom-color: transparent !important;- border-left-color: transparent !important;- border-right-color: transparent !important;- left: 22px;- bottom: -28px;- bottom: none;-}--.joyride-tip-guide span.joyride-nub-border.bottom {- border-bottom-color: transparent !important;- border-left-color: transparent !important;- border-right-color: transparent !important;- left: 21px;- bottom: -30px;-}--.joyride-tip-guide span.joyride-nub.right {- border-color: #000;- border-color: rgba(175, 181, 196, 1) !important;- border-top-color: transparent !important;- border-right-color: transparent !important;- border-bottom-color: transparent !important;- top: 22px;- bottom: none;- left: auto;- right: -28px;-}--.joyride-tip-guide span.joyride-nub-border.right {- border-top-color: transparent !important;- border-bottom-color: transparent !important;- border-right-color: transparent !important;- left: auto;- right: -30px;- top: 21px;- bottom: none;-}--.joyride-tip-guide span.joyride-nub.left {- border-color: #000;- border-color: rgba(175, 181, 196, 1) !important;- border-top-color: transparent !important;- border-left-color: transparent !important;- border-bottom-color: transparent !important;- top: 22px;- left: -28px;- right: auto;- bottom: none;-}--.joyride-tip-guide span.joyride-nub-border.left {- border-bottom-color: transparent !important;- border-left-color: transparent !important;- border-top-color: transparent !important;- top: 21px;- left: -30px;- right: auto;- bottom: none;-}--/* Typography */-.joyride-tip-guide h1,.joyride-tip-guide h2,.joyride-tip-guide h3,.joyride-tip-guide h4,.joyride-tip-guide h5,.joyride-tip-guide h6 {- line-height: 1.25;- margin: 0;- font-weight: bold;- color: rgb(38, 43, 49);-}-.joyride-tip-guide h1 { font-size: 30px; }-.joyride-tip-guide h2 { font-size: 26px; }-.joyride-tip-guide h3 { color:rgb(38, 43, 49); font: 18px "Gill Sans", sans-serif; font-weight:400; text-decoration:none; }-.joyride-tip-guide h4 { font-size: 18px; }-.joyride-tip-guide h5 { font-size: 16px; }-.joyride-tip-guide h6 { font-size: 14px; }-.joyride-tip-guide p {- margin: 0 0 14px 0;- font-size: 12px;- line-height: 1;-}--.joyride-tip-guide ul {- margin: 0 0 14px 0;- font-size: 12px;- line-height: 1;-}--.joyride-tip-guide a {- color: rgb(0, 0, 0);- text-decoration: none;- border-bottom: dotted 1px rgba(255,255,255,0.6);-}--.joyride-tip-guide a:hover {- color: rgb(0, 0, 0);- border-bottom: none;-}--/* Button Style */-.joyride-tip-guide .joyride-next-tip {- width: auto;- float: right;- padding: 6px 18px 4px;- font-size: 13px;- border:1px solid #d7dada;- -webkit-border-radius: 6px;- -moz-border-radius: 6px;- border-radius: 6px;- text-align: center;- color: #000000;- background-color: #f4f5f5;- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f4f5f5), color-stop(100%, #dfdddd));- background-image: -webkit-linear-gradient(top, #f4f5f5, #dfdddd);- background-image: -moz-linear-gradient(top, #f4f5f5, #dfdddd);- background-image: -ms-linear-gradient(top, #f4f5f5, #dfdddd);- background-image: -o-linear-gradient(top, #f4f5f5, #dfdddd);- background-image: linear-gradient(top, #f4f5f5, #dfdddd);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#f4f5f5, endColorstr=#dfdddd);-}---.joyride-next-tip:hover {- border:1px solid #bfc4c4;- background-color: #d9dddd;- color: #000000;- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d9dddd), color-stop(100%, #c6c3c3));- background-image: -webkit-linear-gradient(top, #d9dddd, #c6c3c3);- background-image: -moz-linear-gradient(top, #d9dddd, #c6c3c3);- background-image: -ms-linear-gradient(top, #d9dddd, #c6c3c3);- background-image: -o-linear-gradient(top, #d9dddd, #c6c3c3);- background-image: linear-gradient(top, #d9dddd, #c6c3c3);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#d9dddd, endColorstr=#c6c3c3);-}---/*BETH*/-.joyride-tip-guide .joyride-prev-tip {- width: auto;- float: left;- padding: 6px 18px 4px;- font-size: 13px;- border:1px solid #d7dada;- -webkit-border-radius: 6px;- -moz-border-radius: 6px;- border-radius: 6px;- text-align: center;- color: #000000;- background-color: #f4f5f5;- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f4f5f5), color-stop(100%, #dfdddd));- background-image: -webkit-linear-gradient(top, #f4f5f5, #dfdddd);- background-image: -moz-linear-gradient(top, #f4f5f5, #dfdddd);- background-image: -ms-linear-gradient(top, #f4f5f5, #dfdddd);- background-image: -o-linear-gradient(top, #f4f5f5, #dfdddd);- background-image: linear-gradient(top, #f4f5f5, #dfdddd);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#f4f5f5, endColorstr=#dfdddd);-}--/*BETH*/--.joyride-prev-tip:hover {- border:1px solid #bfc4c4;- background-color: #d9dddd;- color: #000000;- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d9dddd), color-stop(100%, #c6c3c3));- background-image: -webkit-linear-gradient(top, #d9dddd, #c6c3c3);- background-image: -moz-linear-gradient(top, #d9dddd, #c6c3c3);- background-image: -ms-linear-gradient(top, #d9dddd, #c6c3c3);- background-image: -o-linear-gradient(top, #d9dddd, #c6c3c3);- background-image: linear-gradient(top, #d9dddd, #c6c3c3);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#d9dddd, endColorstr=#c6c3c3);-}--.joyride-timer-indicator-wrap {- width: 50px;- height: 3px;- border: solid 1px rgba(255,255,255,0.1);- position: absolute;- right: 17px;- bottom: 16px;-}--.joyride-timer-indicator {- display: block;- width: 0;- height: inherit;- background: rgba(255,255,255,0.25);-}--.joyride-close-tip {- position: absolute;- right: 10px;- top: 10px;- color: rgba(38, 43, 49, 0.4) !important;- text-decoration: none;- font-family: Verdana, sans-serif;- font-size: 10px;- font-weight: bold;- border-bottom: none !important;-}--.joyride-close-tip:hover {- color: rgba(38, 43, 49, 0.9) !important;-}--.joyride-modal-bg {- position: fixed;- height: 100%;- width: 100%;- background: rgb(0,0,0);- background: transparent;- background: rgba(0,0,0, 0.5);- -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";- filter: alpha(opacity=50);- opacity: 0.5;- z-index: 100;- display: none;- top: 0;- left: 0;- cursor: pointer;-}diff --git a/web/ext/tour/joyride-2.0.3-3/joyride.js b/web/ext/tour/joyride-2.0.3-3/joyride.jsdeleted file mode 100644index e38d734a5..000000000--- a/web/ext/tour/joyride-2.0.3-3/joyride.js+++ /dev/null@@ -1,1257 +0,0 @@-/*jshint eqnull:true */-/*!- * jQuery Cookie Plugin v1.2- * https://github.com/carhartl/jquery-cookie- *- * Copyright 2011, Klaus Hartl- * Dual licensed under the MIT or GPL Version 2 licenses.- * http://www.opensource.org/licenses/mit-license.php- * http://www.opensource.org/licenses/GPL-2.0- */-(function ($, document, undefined) {-- var pluses = /\+/g;-- function raw(s) {- return s;- }-- function decoded(s) {- return decodeURIComponent(s.replace(pluses, ' '));- }-- $.cookie = function (key, value, options) {-- // key and at least value given, set cookie...- if (value !== undefined && !/Object/.test(Object.prototype.toString.call(value))) {- options = $.extend({}, $.cookie.defaults, options);-- if (value === null) {- options.expires = -1;- }-- if (typeof options.expires === 'number') {- var days = options.expires, t = options.expires = new Date();- t.setDate(t.getDate() + days);- }-- value = String(value);-- return (document.cookie = [- encodeURIComponent(key), '=', options.raw ? value : encodeURIComponent(value),- options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE- options.path ? '; path=' + options.path : '',- options.domain ? '; domain=' + options.domain : '',- options.secure ? '; secure' : ''- ].join(''));- }-- // key and possibly options given, get cookie...- options = value || $.cookie.defaults || {};- var decode = options.raw ? raw : decoded;- var cookies = document.cookie.split('; ');- for (var i = 0, parts; (parts = cookies[i] && cookies[i].split('=')); i++) {- if (decode(parts.shift()) === key) {- return decode(parts.join('='));- }- }-- return null;- };-- $.cookie.defaults = {};-- $.removeCookie = function (key, options) {- if ($.cookie(key, options) !== null) {- $.cookie(key, null, options);- return true;- }- return false;- };--})(jQuery, document);-/*- * jQuery Foundation Joyride Plugin 2.0.3- * http://foundation.zurb.com- * Copyright 2012, ZURB- * Free to use under the MIT license.- * http://www.opensource.org/licenses/mit-license.php-*/--/*jslint unparam: true, browser: true, indent: 2 */--;(function ($, window, undefined) {- 'use strict';-- var defaults = {- 'version' : '2.0.3',- 'tipLocation' : 'bottom', // 'top' or 'bottom' in relation to parent- 'nubPosition' : 'auto', // override on a per tooltip bases- 'scrollSpeed' : 300, // Page scrolling speed in milliseconds- 'timer' : 0, // 0 = no timer , all other numbers = timer in milliseconds- 'startTimerOnClick' : true, // true or false - true requires clicking the first button start the timer- 'startOffset' : 0, // the index of the tooltip you want to start on (index of the li)- 'nextButton' : true, // true or false to control whether a next button is used- 'prevButton' : false, // true or false to control whether a previous button is used- 'tipAnimation' : 'fade', // 'pop' or 'fade' in each tip- 'pauseAfter' : [], // array of indexes where to pause the tour after- 'tipAnimationFadeSpeed': 300, // when tipAnimation = 'fade' this is speed in milliseconds for the transition- 'cookieMonster' : false, // true or false to control whether cookies are used- 'cookieName' : 'joyride', // Name the cookie you'll use- 'cookieDomain' : false, // Will this cookie be attached to a domain, ie. '.notableapp.com'- 'tipContainer' : 'body', // Where will the tip be attached- 'postRideCallback' : $.noop, // A method to call once the tour closes (canceled or complete)- 'postStepCallback' : $.noop, // A method to call after each step- 'bordered' : false, // true or false to control whether a border is shown- 'includepage' : false, // true or false to control whether a page number is shown under the next button- 'adjustForPhone' : true, // change window position for phones (if false, windows show in default position)- 'template' : { // HTML segments for tip layout- 'link' : '<a href="#close" class="joyride-close-tip">X</a>',- 'timer' : '<div class="joyride-timer-indicator-wrap"><span class="joyride-timer-indicator"></span></div>',- 'tip' : '<div class="joyride-tip-guide"></div>',- 'nub' : '<span class="joyride-nub"></span>',- 'tipborder' : '<span class="joyride-nub-border"></span>',- 'wrapper' : '<div class="joyride-content-wrapper"></div>',- 'button' : '<a href="#" class="joyride-next-tip"></a>',- 'prevbutton' : '<a href="#" class="joyride-prev-tip"></a>'- }- },-- Modernizr = Modernizr || false,-- settings = {},-- methods = {-- init : function (opts) {- return this.each(function () {-- if ($.isEmptyObject(settings)) {- settings = $.extend(true, defaults, opts);-- // non configurable settings- settings.document = window.document;- settings.$document = $(settings.document);- settings.$window = $(window);- settings.$content_el = $(this);- settings.body_offset = $(settings.tipContainer).position();- settings.$tip_content = $('> li', settings.$content_el);- settings.paused = false;- settings.attempts = 0;-- settings.tipLocationPatterns = {- top: ['bottom'],- bottom: [], // bottom should not need to be repositioned- left: ['right', 'top', 'bottom'],- right: ['left', 'top', 'bottom']- };-- // are we using jQuery 1.7+- methods.jquery_check();-- // can we create cookies?- if (!$.isFunction($.cookie)) {- settings.cookieMonster = false;- }-- // generate the tips and insert into dom.- if (!settings.cookieMonster || !$.cookie(settings.cookieName)) {-- settings.$tip_content.each(function (index) {- methods.create({$li : $(this), index : index});- });-- // show first tip- if (!settings.startTimerOnClick && settings.timer > 0) {- methods.show('init');- methods.startTimer();- } else {- methods.show('init');- }-- }-- settings.$document.on('click', '.joyride-next-tip, .joyride-modal-bg', function (e) {- if(e.target.text === "Next" || e.target.text === "Finish") {- e.preventDefault();- e.stopImmediatePropagation();- if (settings.$li.next().length < 1) {- methods.end("next");- } else if (settings.timer > 0) {- clearTimeout(settings.automate);- methods.hide("next");- methods.show();- methods.startTimer();- } else {- methods.hide("next");- methods.show();- }}- });-- //BETH- settings.$document.on('click.joyride', '.joyride-prev-tip, .joyride-modal-bg', function (e) {- if(e.target.text === "Prev") {- e.preventDefault();- e.stopImmediatePropagation();- if (settings.$li.prev().length < 1) {- methods.end("previous");- } else if (settings.timer > 0) {- clearTimeout(settings.automate);- methods.hideNoCallback();- methods.showPrev();- methods.startTimer();- } else {- //methods.hideNoCallback();- methods.hide("previous");- methods.showPrev();- }}-- });- //END BETH-- settings.$document.on('click.joyride', '.joyride-close-tip', function (e) {- if(e.target.text === "X") {- e.preventDefault();- methods.endNoCallback();- }- });-- settings.$window.bind('resize.joyride', function (e) {- if (methods.is_phone()) {- methods.pos_phone();- } else {- methods.pos_default();- }- });- } else {- methods.restart();- }-- });- },-- // call this method when you want to resume the tour- resume : function () {- methods.set_li();- methods.show();- },-- tip_template : function (opts) {- var $blank, content;-- // vars- var opts_arr = (opts.li.data('options') || ':').split(';');- var opts_len = opts_arr.length;- var ii, p;- var isBordered = settings.bordered;- var isShifted = settings.shiftedArrow;- var usePage = settings.includepage;-- opts.tip_class = opts.tip_class || '';- if(isBordered) {- opts.tip_class += " bordered";- }-- $blank = $(settings.template.tip).addClass(opts.tip_class);-- content = $.trim($(opts.li).html()) +- methods.button_text(opts.button_text, opts.li) +- settings.template.link +- methods.timer_instance(opts.index);- if(usePage) {- var numpages = settings.$content_el[0].children.length;- var page = opts.index + 1;- var pagestr = "<p class='wv-tour-page-count'>(page " + page + " of " + numpages + ")</p>"- content += pagestr;- }- if(isBordered) {- $blank.append($(settings.template.tipborder));- }- $blank.append($(settings.template.nub));- $blank.append($(settings.template.wrapper));- $blank.first().attr('data-index', opts.index);- $('.joyride-content-wrapper', $blank).append(content);-- return $blank[0];- },-- timer_instance : function (index) {- var txt;-- if ((index === 0 && settings.startTimerOnClick && settings.timer > 0) || settings.timer === 0) {- txt = '';- } else {- txt = methods.outerHTML($(settings.template.timer)[0]);- }- return txt;- },-- button_text : function (txt, li) {- //BETH- // vars- var opts_arr = (li.data('options') || ':').split(';');- var opts_len = opts_arr.length;- var ii, p;- var hasPrev, hasNext, prev;-- // parse options- for (ii = opts_len - 1; ii >= 0; ii--) {- p = opts_arr[ii].split(':');-- if (p.length === 2) {- if(p[0] == "prevButton") {- if(p[1] == "true") {- hasPrev = true;- }- else {- hasPrev = false;- }- }- if(p[0] == "nextButton") {- if(p[1] == "true") {- hasNext = true;- }- else {- hasNext = false;- }- }- }- }-- // fill in defaults if buttons were not specified- if(hasPrev === undefined) {- hasPrev = settings.prevButton;- }- if(hasNext === undefined) {- hasNext = settings.nextButton;- }-- // construct and return button string- if (hasPrev) {- prev = 'Prev';- prev = methods.outerHTML($(settings.template.prevbutton).append(prev)[0]);- } else {- prev = '';- }- if (hasNext) {- txt = $.trim(txt) || 'Next';- txt = methods.outerHTML($(settings.template.button).append(txt)[0]);- } else {- txt = '';- }- return prev + txt + "</br></br>";- //END BETH- },-- create : function (opts) {- // backwards compatibility with data-text attribute- var buttonText = opts.$li.attr('data-button') || opts.$li.attr('data-text'),- tipClass = opts.$li.attr('class'),- $tip_content = $(methods.tip_template({- tip_class : tipClass,- index : opts.index,- button_text : buttonText,- li : opts.$li,- }));-- $(settings.tipContainer).append($tip_content);- },-- show : function (init) {- var opts = {}, ii, opts_arr = [], opts_len = 0, p,- $timer = null;-- // are we paused?- if (settings.$li === undefined || ($.inArray(settings.$li.index(), settings.pauseAfter) === -1)) {-- // don't go to the next li if the tour was paused- if (settings.paused) {- settings.paused = false;- } else {- methods.set_li(init);- }-- settings.attempts = 0;- if (settings.$li.length && settings.$target.length > 0) {- opts_arr = (settings.$li.data('options') || ':').split(';');- opts_len = opts_arr.length;-- // parse options- for (ii = opts_len - 1; ii >= 0; ii--) {- p = opts_arr[ii].split(':');-- if (p.length === 2) {- opts[$.trim(p[0])] = $.trim(p[1]);- }- }-- settings.tipSettings = $.extend({}, settings, opts);-- settings.tipSettings.tipLocationPattern = settings.tipLocationPatterns[settings.tipSettings.tipLocation];-- // scroll if not modal- if (!/body/i.test(settings.$target.selector)) {- methods.scroll_to();- }-- if (methods.is_phone()) {- methods.pos_phone(true);- } else {- methods.pos_default(true);- }- $timer = $('.joyride-timer-indicator', settings.$next_tip);-- if (/pop/i.test(settings.tipAnimation)) {- $timer.outerWidth(0);-- if (settings.timer > 0) {-- settings.$next_tip.show();- $timer.animate({- width: $('.joyride-timer-indicator-wrap', settings.$next_tip).outerWidth()- }, settings.timer);-- } else {- settings.$next_tip.show();-- }--- } else if (/fade/i.test(settings.tipAnimation)) {- $timer.outerWidth(0);-- if (settings.timer > 0) {-- settings.$next_tip.fadeIn(settings.tipAnimationFadeSpeed);- settings.$next_tip.show();- $timer.animate({- width: $('.joyride-timer-indicator-wrap', settings.$next_tip).outerWidth()- }, settings.timer);-- } else {- settings.$next_tip.fadeIn(settings.tipAnimationFadeSpeed);-- }- }-- settings.$current_tip = settings.$next_tip;-- // skip non-existent targets- } else if (settings.$li && settings.$target.length < 1) {- //console.log("showNext2 nubposition = " + settings.tipSettings.nubPosition);- methods.show();-- } else {-- methods.end("next");-- }- } else {-- settings.paused = true;-- }-- },-- //BETH- showPrev : function (init) {- var opts = {}, ii, opts_arr = [], opts_len = 0, p,- $timer = null;-- // are we paused?- if (settings.$li === undefined || ($.inArray(settings.$li.index(), settings.pauseAfter) === -1)) {- // don't go to the next li if the tour was paused- if (settings.paused) {- settings.paused = false;- } else {- methods.set_li_prev(init);- }-- settings.attempts = 0;-- if (settings.$li.length && settings.$target.length > 0) {- opts_arr = (settings.$li.data('options') || ':').split(';');- opts_len = opts_arr.length;-- // parse options- for (ii = opts_len - 1; ii >= 0; ii--) {- p = opts_arr[ii].split(':');-- if (p.length === 2) {- opts[$.trim(p[0])] = $.trim(p[1]);- }- }-- settings.tipSettings = $.extend({}, settings, opts);-- settings.tipSettings.tipLocationPattern = settings.tipLocationPatterns[settings.tipSettings.tipLocation];-- // scroll if not modal- if (!/body/i.test(settings.$target.selector)) {- methods.scroll_to();- }-- if (methods.is_phone()) {- methods.pos_phone(true);- } else {- methods.pos_default_prev(true);- }- $timer = $('.joyride-timer-indicator', settings.$prev_tip);-- if (/pop/i.test(settings.tipAnimation)) {-- $timer.outerWidth(0);-- if (settings.timer > 0) {-- settings.$prev_tip.show();- $timer.animate({- width: $('.joyride-timer-indicator-wrap', settings.$prev_tip).outerWidth()- }, settings.timer);-- } else {-- settings.$prev_tip.show();-- }--- } else if (/fade/i.test(settings.tipAnimation)) {-- $timer.outerWidth(0);-- if (settings.timer > 0) {-- settings.$prev_tip.fadeIn(settings.tipAnimationFadeSpeed);-- settings.$prev_tip.show();- $timer.animate({- width: $('.joyride-timer-indicator-wrap', settings.$prev_tip).outerWidth()- }, settings.timer);-- } else {-- settings.$prev_tip.fadeIn(settings.tipAnimationFadeSpeed);-- }- }-- settings.$current_tip = settings.$prev_tip;-- // skip non-existent targets- } else if (settings.$li && settings.$target.length < 1) {-- methods.showPrev();-- } else {-- methods.end("previous");-- }- } else {-- settings.paused = true;-- }-- },- //END BETH-- // detect phones with media queries if supported.- is_phone : function () {- if(settings.adjustForPhone) {- //console.log("adjustForPhone");- if (Modernizr) {- return Modernizr.mq('only screen and (max-width: 767px)');- }-- return (settings.$window.width() < 767) ? true : false;- }- else {- //console.log("no adjustForPhone");- return false;- }- },-- hide : function (button) {- settings.postStepCallback(settings.$li.index(), settings.$current_tip, button);- $('.joyride-modal-bg').hide();- settings.$current_tip.hide();- },-- hideNoCallback : function () {- $('.joyride-modal-bg').hide();- settings.$current_tip.hide();- },-- set_li : function (init) {- if (init) {- settings.$li = settings.$tip_content.eq(settings.startOffset);- methods.set_next_tip();- settings.$current_tip = settings.$next_tip;- } else {- settings.$li = settings.$li.next();- methods.set_next_tip();- }-- methods.set_target();- },-- //BETH- set_li_prev : function (init) {- if (init) {- settings.$li = settings.$tip_content.eq(settings.startOffset);- methods.set_prev_tip();- settings.$current_tip = settings.$prev_tip;- } else {- settings.$li = settings.$li.prev();- methods.set_prev_tip();- }-- methods.set_target();- },- //END BETH-- set_next_tip : function () {- settings.$next_tip = $('.joyride-tip-guide[data-index=' + settings.$li.index() + ']');- },-- //BETH- set_prev_tip : function () {- settings.$prev_tip = $('.joyride-tip-guide[data-index=' + settings.$li.index() + ']');- },- //END BETH-- set_target : function () {- var cl = settings.$li.attr('data-class'),- id = settings.$li.attr('data-id'),-- $sel = function () {- if (id) {- return $(settings.document.getElementById(id));- } else if (cl) {- return $('.' + cl).first();- } else {- return $('body');- }- };-- settings.$target = $sel();- },-- scroll_to : function () {- var window_half, tipOffset;-- window_half = settings.$window.height() / 2;- tipOffset = Math.ceil(settings.$target.offset().top - window_half + settings.$next_tip.outerHeight());-- $("html, body").stop().animate({- scrollTop: tipOffset- }, settings.scrollSpeed);- },-- paused : function () {- if (($.inArray((settings.$li.index() + 1), settings.pauseAfter) === -1)) {- return true;- }-- return false;- },-- destroy : function () {- settings.$document.off('.joyride');- $(window).off('.joyride');- $('.joyride-close-tip, .joyride-next-tip, .joyride-modal-bg').off('.joyride');- $('.joyride-tip-guide, .joyride-modal-bg').remove();- clearTimeout(settings.automate);- settings = {};- },-- restart : function () {- methods.hide("restart");- settings.$li = undefined;- methods.show('init');- },-- pos_default : function (init) {- var half_fold = Math.ceil(settings.$window.height() / 2),- tip_position = settings.$next_tip.offset(),- $nub = $('.joyride-nub', settings.$next_tip),- $border = $('.joyride-nub-border', settings.$next_tip),- nub_height = Math.ceil($nub.outerHeight() / 2),- toggle = init || false;-- settings.$next_tip.removeClass("mobile");-- // tip must not be "display: none" to calculate position- if (toggle) {- settings.$next_tip.css('visibility', 'hidden');- settings.$next_tip.show();- }-- if (!/body/i.test(settings.$target.selector)) {-- if (methods.bottom()) {-- settings.$next_tip.css({- top: (settings.$target.offset().top + nub_height + settings.$target.outerHeight()),- left: settings.$target.offset().left});- methods.nub_position($nub, $border, settings.tipSettings.nubPosition, 'top');-- } else if (methods.top()) {-- settings.$next_tip.css({- top: (settings.$target.offset().top - settings.$next_tip.outerHeight() - nub_height),- left: settings.$target.offset().left});- methods.nub_position($nub, $border, settings.tipSettings.nubPosition, 'bottom');-- } else if (methods.right()) {- settings.$next_tip.css({- top: settings.$target.offset().top,- left: (settings.$target.outerWidth() + settings.$target.offset().left + 20)});- methods.nub_position($nub, $border, settings.tipSettings.nubPosition, 'left');-- } else if (methods.left()) {-- settings.$next_tip.css({- top: settings.$target.offset().top,- left: (settings.$target.offset().left - settings.$next_tip.outerWidth() - nub_height)});- methods.nub_position($nub, $border, settings.tipSettings.nubPosition, 'right');-- }-- if (!methods.visible(methods.corners(settings.$next_tip)) && settings.attempts < settings.tipSettings.tipLocationPattern.length) {- $nub.removeClass('bottom')- .removeClass('top')- .removeClass('right')- .removeClass('left');-- settings.tipSettings.tipLocation = settings.tipSettings.tipLocationPattern[settings.attempts];-- settings.attempts++;-- methods.pos_default(true);-- }-- } else if (settings.$li.length) {-- methods.pos_modal($nub);-- }-- if (toggle) {- settings.$next_tip.hide();- settings.$next_tip.css('visibility', 'visible');- }-- },-- pos_default_prev : function (init) {- var half_fold = Math.ceil(settings.$window.height() / 2),- tip_position = settings.$prev_tip.offset(),- $nub = $('.joyride-nub', settings.$prev_tip),- $border = $('.joyride-nub-border', settings.$prev_tip),- nub_height = Math.ceil($nub.outerHeight() / 2),- toggle = init || false;-- settings.$next_tip.addClass("mobile");-- // tip must not be "display: none" to calculate position- if (toggle) {- settings.$prev_tip.css('visibility', 'hidden');- settings.$prev_tip.show();- }-- if (!/body/i.test(settings.$target.selector)) {-- if (methods.bottom()) {- settings.$prev_tip.css({- top: (settings.$target.offset().top + nub_height + settings.$target.outerHeight()),- left: settings.$target.offset().left});- methods.nub_position($nub, $border, settings.tipSettings.nubPosition, 'top');-- } else if (methods.top()) {-- settings.$prev_tip.css({- top: (settings.$target.offset().top - settings.$prev_tip.outerHeight() - nub_height),- left: settings.$target.offset().left});- methods.nub_position($nub, $border, settings.tipSettings.nubPosition, 'bottom');-- } else if (methods.right()) {-- settings.$prev_tip.css({- top: settings.$target.offset().top,- left: (settings.$target.outerWidth() + settings.$target.offset().left + 20)});- methods.nub_position($nub, $border, settings.tipSettings.nubPosition, 'left');-- } else if (methods.left()) {-- settings.$prev_tip.css({- top: settings.$target.offset().top,- left: (settings.$target.offset().left - settings.$prev_tip.outerWidth() - nub_height)});- methods.nub_position($nub, $border, settings.tipSettings.nubPosition, 'right');-- }-- if (!methods.visible(methods.corners(settings.$prev_tip)) && settings.attempts < settings.tipSettings.tipLocationPattern.length) {- $nub.removeClass('bottom')- .removeClass('top')- .removeClass('right')- .removeClass('left');-- settings.tipSettings.tipLocation = settings.tipSettings.tipLocationPattern[settings.attempts];-- settings.attempts++;-- methods.pos_default_prev(true);-- }-- } else if (settings.$li.length) {-- methods.pos_modal($nub);-- }-- if (toggle) {- settings.$prev_tip.hide();- settings.$prev_tip.css('visibility', 'visible');- }-- },-- pos_phone : function (init) {- //console.log("pos_phone");- var tip_height = settings.$next_tip.outerHeight(),- tip_offset = settings.$next_tip.offset(),- target_height = settings.$target.outerHeight(),- $nub = $('.joyride-nub', settings.$next_tip),- nub_height = Math.ceil($nub.outerHeight() / 2),- toggle = init || false;-- $nub.removeClass('bottom')- .removeClass('top')- .removeClass('right')- .removeClass('left');-- settings.$next_tip.addClass("mobile");-- if (toggle) {- settings.$next_tip.css('visibility', 'hidden');- settings.$next_tip.show();- }-- if (!/body/i.test(settings.$target.selector)) {-- if (methods.top()) {-- settings.$next_tip.offset({top: settings.$target.offset().top - tip_height - nub_height});- $nub.addClass('bottom');-- } else {-- settings.$next_tip.offset({top: settings.$target.offset().top + target_height + nub_height});- $nub.addClass('top');-- }-- } else if (settings.$li.length) {-- methods.pos_modal($nub);-- }-- if (toggle) {- settings.$next_tip.hide();- settings.$next_tip.css('visibility', 'visible');- }- },-- pos_modal : function ($nub) {- methods.center();- $nub.hide();-- if ($('.joyride-modal-bg').length < 1) {- $('body').append('<div class="joyride-modal-bg">').show();- }-- if (/pop/i.test(settings.tipAnimation)) {- $('.joyride-modal-bg').show();- } else {- $('.joyride-modal-bg').fadeIn(settings.tipAnimationFadeSpeed);- }- },-- center : function () {- var $w = settings.$window;-- settings.$next_tip.css({- top : ((($w.height() - settings.$next_tip.outerHeight()) / 2) + $w.scrollTop()),- left : ((($w.width() - settings.$next_tip.outerWidth()) / 2) + $w.scrollLeft())- });-- return true;- },-- bottom : function () {- return /bottom/i.test(settings.tipSettings.tipLocation);- },-- top : function () {- return /top/i.test(settings.tipSettings.tipLocation);- },-- right : function () {- return /right/i.test(settings.tipSettings.tipLocation);- },-- left : function () {- return /left/i.test(settings.tipSettings.tipLocation);- },-- corners : function (el) {- var w = settings.$window,- right = w.width() + w.scrollLeft(),- bottom = w.height() + w.scrollTop();-- return [- el.offset().top <= w.scrollTop(),- right <= el.offset().left + el.outerWidth(),- bottom <= el.offset().top + el.outerHeight(),- w.scrollLeft() >= el.offset().left- ];- },-- visible : function (hidden_corners) {- var i = hidden_corners.length;-- while (i--) {- if (hidden_corners[i]) return false;- }-- return true;- },-- nub_position : function (nub, border, pos, def) {- if (pos === 'auto') {- nub.addClass(def);- border.addClass(def);- } else {- nub.addClass(pos);- border.addClass(pos);- }- },-- startTimer : function () {- if (settings.$li.length) {- settings.automate = setTimeout(function () {- methods.hide("timer");- methods.show();- methods.startTimer();- }, settings.timer);- } else {- clearTimeout(settings.automate);- }- },-- end : function (button) {- if (settings.cookieMonster) {- $.cookie(settings.cookieName, 'ridden', { expires: 365, domain: settings.cookieDomain });- }-- if (settings.timer > 0) {- clearTimeout(settings.automate);- }-- $('.joyride-modal-bg').hide();- settings.$current_tip.hide();- settings.postStepCallback(settings.$li.index(), settings.$current_tip, button);- settings.postRideCallback(settings.$li.index(), settings.$current_tip, button);- methods.destroy();- },-- endNoCallback : function() {- if (settings.cookieMonster) {- $.cookie(settings.cookieName, 'ridden', { expires: 365, domain: settings.cookieDomain });- }-- if (settings.timer > 0) {- clearTimeout(settings.automate);- }-- $('.joyride-modal-bg').hide();- settings.$current_tip.hide();- methods.destroy();- },-- jquery_check : function () {- // define on() and off() for older jQuery- if (!$.isFunction($.fn.on)) {-- $.fn.on = function (types, sel, fn) {-- return this.delegate(sel, types, fn);-- };-- $.fn.off = function (types, sel, fn) {-- return this.undelegate(sel, types, fn);-- };-- return false;- }-- return true;- },-- outerHTML : function (el) {- // support FireFox < 11- return el.outerHTML || new XMLSerializer().serializeToString(el);- },-- version : function () {- return settings.version;- }-- };-- $.fn.joyride = function (method) {- if (methods[method]) {- return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));- } else if (typeof method === 'object' || !method) {- return methods.init.apply(this, arguments);- } else {- $.error('Method ' + method + ' does not exist on jQuery.joyride');- }- };--}(jQuery, this));--/* Modernizr 2.6.1 (Custom Build) | MIT & BSD- * Build: http://modernizr.com/download/#-mq-teststyles- */-;----window.Modernizr = (function( window, document, undefined ) {-- var version = '2.6.1',-- Modernizr = {},--- docElement = document.documentElement,-- mod = 'modernizr',- modElem = document.createElement(mod),- mStyle = modElem.style,-- inputElem ,--- toString = {}.toString, tests = {},- inputs = {},- attrs = {},-- classes = [],-- slice = classes.slice,-- featureName,--- injectElementWithStyles = function( rule, callback, nodes, testnames ) {-- var style, ret, node,- div = document.createElement('div'),- body = document.body,- fakeBody = body ? body : document.createElement('body');-- if ( parseInt(nodes, 10) ) {- while ( nodes-- ) {- node = document.createElement('div');- node.id = testnames ? testnames[nodes] : mod + (nodes + 1);- div.appendChild(node);- }- }-- style = ['­','<style id="s', mod, '">', rule, '</style>'].join('');- div.id = mod;- (body ? div : fakeBody).innerHTML += style;- fakeBody.appendChild(div);- if ( !body ) {- fakeBody.style.background = "";- docElement.appendChild(fakeBody);- }-- ret = callback(div, rule);- !body ? fakeBody.parentNode.removeChild(fakeBody) : div.parentNode.removeChild(div);-- return !!ret;-- },-- testMediaQuery = function( mq ) {-- var matchMedia = window.matchMedia || window.msMatchMedia;- if ( matchMedia ) {- return matchMedia(mq).matches;- }-- var bool;-- injectElementWithStyles('@media ' + mq + ' { #' + mod + ' { position: absolute; } }', function( node ) {- bool = (window.getComputedStyle ?- getComputedStyle(node, null) :- node.currentStyle)['position'] == 'absolute';- });-- return bool;-- },- _hasOwnProperty = ({}).hasOwnProperty, hasOwnProp;-- if ( !is(_hasOwnProperty, 'undefined') && !is(_hasOwnProperty.call, 'undefined') ) {- hasOwnProp = function (object, property) {- return _hasOwnProperty.call(object, property);- };- }- else {- hasOwnProp = function (object, property) {- return ((property in object) && is(object.constructor.prototype[property], 'undefined'));- };- }--- if (!Function.prototype.bind) {- Function.prototype.bind = function bind(that) {-- var target = this;-- if (typeof target != "function") {- throw new TypeError();- }-- var args = slice.call(arguments, 1),- bound = function () {-- if (this instanceof bound) {-- var F = function(){};- F.prototype = target.prototype;- var self = new F();-- var result = target.apply(- self,- args.concat(slice.call(arguments))- );- if (Object(result) === result) {- return result;- }- return self;-- } else {-- return target.apply(- that,- args.concat(slice.call(arguments))- );-- }-- };-- return bound;- };- }-- function setCss( str ) {- mStyle.cssText = str;- }-- function setCssAll( str1, str2 ) {- return setCss(prefixes.join(str1 + ';') + ( str2 || '' ));- }-- function is( obj, type ) {- return typeof obj === type;- }-- function contains( str, substr ) {- return !!~('' + str).indexOf(substr);- }--- function testDOMProps( props, obj, elem ) {- for ( var i in props ) {- var item = obj[props[i]];- if ( item !== undefined) {-- if (elem === false) return props[i];-- if (is(item, 'function')){- return item.bind(elem || obj);- }-- return item;- }- }- return false;- }- for ( var feature in tests ) {- if ( hasOwnProp(tests, feature) ) {- featureName = feature.toLowerCase();- Modernizr[featureName] = tests[feature]();-- classes.push((Modernizr[featureName] ? '' : 'no-') + featureName);- }- }---- Modernizr.addTest = function ( feature, test ) {- if ( typeof feature == 'object' ) {- for ( var key in feature ) {- if ( hasOwnProp( feature, key ) ) {- Modernizr.addTest( key, feature[ key ] );- }- }- } else {-- feature = feature.toLowerCase();-- if ( Modernizr[feature] !== undefined ) {- return Modernizr;- }-- test = typeof test == 'function' ? test() : test;-- if (enableClasses) {- docElement.className += ' ' + (test ? '' : 'no-') + feature;- }- Modernizr[feature] = test;-- }-- return Modernizr;- };--- setCss('');- modElem = inputElem = null;--- Modernizr._version = version;--- Modernizr.mq = testMediaQuery;- Modernizr.testStyles = injectElementWithStyles;- return Modernizr;--})(this, this.document);-;\ No newline at end of filediff --git a/web/ext/tour/joyride-2.0.3-3/joyride.min.css b/web/ext/tour/joyride-2.0.3-3/joyride.min.cssdeleted file mode 100644index 2201e188a..000000000--- a/web/ext/tour/joyride-2.0.3-3/joyride.min.css+++ /dev/null@@ -1 +0,0 @@-body{position:relative}#joyRideTipContent{display:none}.joyride-tip-guide{position:absolute;background:#000;background:rgba(175,181,196,1);display:none;color:#262b31;width:350px;z-index:1050;top:0;left:0;font-family:"Gill Sans",sans-serif;font-weight:400;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.joyride-content-wrapper{padding:10px 10px 15px 15px}.bordered{border:gray solid 1px}.wide{width:450px}.joyride-tip-guide.mobile{width:95%!important;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;left:2.5%!important}.joyride-tip-guide-wrapper.mobile{width:100%}.joyride-tip-guide span.joyride-nub{display:block;position:absolute;left:22px;width:0;height:0;border:solid 14px}.joyride-tip-guide span.joyride-nub-border{display:block;position:absolute;left:22px;width:0;height:0;border:solid gray 15px}.joyride-tip-guide span.joyride-nub.top{border-color:#000;border-color:rgba(175,181,196,1);border-top-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;top:-28px;left:250px;bottom:none}.joyride-tip-guide span.joyride-nub-border.top{border-top-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;left:249px;top:-30px}.joyride-tip-guide span.joyride-nub.bottom{border-color:#000;border-color:rgba(175,181,196,1)!important;border-bottom-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;left:22px;bottom:-28px;bottom:none}.joyride-tip-guide span.joyride-nub-border.bottom{border-bottom-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;left:21px;bottom:-30px}.joyride-tip-guide span.joyride-nub.right{border-color:#000;border-color:rgba(175,181,196,1)!important;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important;top:22px;bottom:none;left:auto;right:-28px}.joyride-tip-guide span.joyride-nub-border.right{border-top-color:transparent!important;border-bottom-color:transparent!important;border-right-color:transparent!important;left:auto;right:-30px;top:21px;bottom:none}.joyride-tip-guide span.joyride-nub.left{border-color:#000;border-color:rgba(175,181,196,1)!important;border-top-color:transparent!important;border-left-color:transparent!important;border-bottom-color:transparent!important;top:22px;left:-28px;right:auto;bottom:none}.joyride-tip-guide span.joyride-nub-border.left{border-bottom-color:transparent!important;border-left-color:transparent!important;border-top-color:transparent!important;top:21px;left:-30px;right:auto;bottom:none}.joyride-tip-guide h1,.joyride-tip-guide h2,.joyride-tip-guide h3,.joyride-tip-guide h4,.joyride-tip-guide h5,.joyride-tip-guide h6{line-height:1.25;margin:0;font-weight:700;color:#262b31}.joyride-tip-guide h1{font-size:30px}.joyride-tip-guide h2{font-size:26px}.joyride-tip-guide h3{color:#262b31;font:18px "Gill Sans",sans-serif;font-weight:400;text-decoration:none}.joyride-tip-guide h4{font-size:18px}.joyride-tip-guide h5{font-size:16px}.joyride-tip-guide h6{font-size:14px}.joyride-tip-guide p,.joyride-tip-guide ul{margin:0 0 14px;font-size:12px;line-height:1}.joyride-tip-guide a{color:#000;text-decoration:none;border-bottom:dotted 1px rgba(255,255,255,.6)}.joyride-tip-guide a:hover{color:#000;border-bottom:0}.joyride-tip-guide .joyride-next-tip{width:auto;float:right;padding:6px 18px 4px;font-size:13px;border:1px solid #d7dada;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;text-align:center;color:#000;background-color:#f4f5f5;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#f4f5f5),color-stop(100%,#dfdddd));background-image:-webkit-linear-gradient(top,#f4f5f5,#dfdddd);background-image:-moz-linear-gradient(top,#f4f5f5,#dfdddd);background-image:-ms-linear-gradient(top,#f4f5f5,#dfdddd);background-image:-o-linear-gradient(top,#f4f5f5,#dfdddd);background-image:linear-gradient(top,#f4f5f5,#dfdddd);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#f4f5f5, endColorstr=#dfdddd)}.joyride-next-tip:hover{border:1px solid #bfc4c4;background-color:#d9dddd;color:#000;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#d9dddd),color-stop(100%,#c6c3c3));background-image:-webkit-linear-gradient(top,#d9dddd,#c6c3c3);background-image:-moz-linear-gradient(top,#d9dddd,#c6c3c3);background-image:-ms-linear-gradient(top,#d9dddd,#c6c3c3);background-image:-o-linear-gradient(top,#d9dddd,#c6c3c3);background-image:linear-gradient(top,#d9dddd,#c6c3c3);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#d9dddd, endColorstr=#c6c3c3)}.joyride-tip-guide .joyride-prev-tip{width:auto;float:left;padding:6px 18px 4px;font-size:13px;border:1px solid #d7dada;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;text-align:center;color:#000;background-color:#f4f5f5;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#f4f5f5),color-stop(100%,#dfdddd));background-image:-webkit-linear-gradient(top,#f4f5f5,#dfdddd);background-image:-moz-linear-gradient(top,#f4f5f5,#dfdddd);background-image:-ms-linear-gradient(top,#f4f5f5,#dfdddd);background-image:-o-linear-gradient(top,#f4f5f5,#dfdddd);background-image:linear-gradient(top,#f4f5f5,#dfdddd);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#f4f5f5, endColorstr=#dfdddd)}.joyride-prev-tip:hover{border:1px solid #bfc4c4;background-color:#d9dddd;color:#000;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#d9dddd),color-stop(100%,#c6c3c3));background-image:-webkit-linear-gradient(top,#d9dddd,#c6c3c3);background-image:-moz-linear-gradient(top,#d9dddd,#c6c3c3);background-image:-ms-linear-gradient(top,#d9dddd,#c6c3c3);background-image:-o-linear-gradient(top,#d9dddd,#c6c3c3);background-image:linear-gradient(top,#d9dddd,#c6c3c3);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#d9dddd, endColorstr=#c6c3c3)}.joyride-timer-indicator-wrap{width:50px;height:3px;border:solid 1px rgba(255,255,255,.1);position:absolute;right:17px;bottom:16px}.joyride-timer-indicator{display:block;width:0;height:inherit;background:rgba(255,255,255,.25)}.joyride-close-tip{position:absolute;right:10px;top:10px;color:rgba(38,43,49,.4)!important;text-decoration:none;font-family:Verdana,sans-serif;font-size:10px;font-weight:700;border-bottom:0!important}.joyride-close-tip:hover{color:rgba(38,43,49,.9)!important}.joyride-modal-bg{position:fixed;height:100%;width:100%;background:#000;background:0 0;background:rgba(0,0,0,.5);-ms-filter:"alpha(Opacity=50)";filter:alpha(opacity=50);opacity:.5;z-index:100;display:none;top:0;left:0;cursor:pointer}\ No newline at end of filediff --git a/web/ext/tour/joyride-2.0.3-3/joyride.min.js b/web/ext/tour/joyride-2.0.3-3/joyride.min.jsdeleted file mode 100644index 2db8a49d0..000000000--- a/web/ext/tour/joyride-2.0.3-3/joyride.min.js+++ /dev/null@@ -1 +0,0 @@-!function(a,b,c){function d(a){return a}function e(a){return decodeURIComponent(a.replace(f," "))}var f=/\+/g;a.cookie=function(f,g,h){if(g!==c&&!/Object/.test(Object.prototype.toString.call(g))){if(h=a.extend({},a.cookie.defaults,h),null===g&&(h.expires=-1),"number"==typeof h.expires){var i=h.expires,j=h.expires=new Date;j.setDate(j.getDate()+i)}return g=String(g),b.cookie=[encodeURIComponent(f),"=",h.raw?g:encodeURIComponent(g),h.expires?"; expires="+h.expires.toUTCString():"",h.path?"; path="+h.path:"",h.domain?"; domain="+h.domain:"",h.secure?"; secure":""].join("")}h=g||a.cookie.defaults||{};for(var k,l=h.raw?d:e,m=b.cookie.split("; "),n=0;k=m[n]&&m[n].split("=");n++)if(l(k.shift())===f)return l(k.join("="));return null},a.cookie.defaults={},a.removeCookie=function(b,c){return null!==a.cookie(b,c)?(a.cookie(b,null,c),!0):!1}}(jQuery,document),function(a,b,c){"use strict";var d={version:"2.0.3",tipLocation:"bottom",nubPosition:"auto",scrollSpeed:300,timer:0,startTimerOnClick:!0,startOffset:0,nextButton:!0,prevButton:!1,tipAnimation:"fade",pauseAfter:[],tipAnimationFadeSpeed:300,cookieMonster:!1,cookieName:"joyride",cookieDomain:!1,tipContainer:"body",postRideCallback:a.noop,postStepCallback:a.noop,bordered:!1,includepage:!1,adjustForPhone:!0,template:{link:'<a href="#close" class="joyride-close-tip">X</a>',timer:'<div class="joyride-timer-indicator-wrap"><span class="joyride-timer-indicator"></span></div>',tip:'<div class="joyride-tip-guide"></div>',nub:'<span class="joyride-nub"></span>',tipborder:'<span class="joyride-nub-border"></span>',wrapper:'<div class="joyride-content-wrapper"></div>',button:'<a href="#" class="joyride-next-tip"></a>',prevbutton:'<a href="#" class="joyride-prev-tip"></a>'}},e=e||!1,f={},g={init:function(c){return this.each(function(){a.isEmptyObject(f)?(f=a.extend(!0,d,c),f.document=b.document,f.$document=a(f.document),f.$window=a(b),f.$content_el=a(this),f.body_offset=a(f.tipContainer).position(),f.$tip_content=a("> li",f.$content_el),f.paused=!1,f.attempts=0,f.tipLocationPatterns={top:["bottom"],bottom:[],left:["right","top","bottom"],right:["left","top","bottom"]},g.jquery_check(),a.isFunction(a.cookie)||(f.cookieMonster=!1),f.cookieMonster&&a.cookie(f.cookieName)||(f.$tip_content.each(function(b){g.create({$li:a(this),index:b})}),!f.startTimerOnClick&&f.timer>0?(g.show("init"),g.startTimer()):g.show("init")),f.$document.on("click",".joyride-next-tip, .joyride-modal-bg",function(a){("Next"===a.target.text||"Finish"===a.target.text)&&(a.preventDefault(),a.stopImmediatePropagation(),f.$li.next().length<1?g.end("next"):f.timer>0?(clearTimeout(f.automate),g.hide("next"),g.show(),g.startTimer()):(g.hide("next"),g.show()))}),f.$document.on("click.joyride",".joyride-prev-tip, .joyride-modal-bg",function(a){"Prev"===a.target.text&&(a.preventDefault(),a.stopImmediatePropagation(),f.$li.prev().length<1?g.end("previous"):f.timer>0?(clearTimeout(f.automate),g.hideNoCallback(),g.showPrev(),g.startTimer()):(g.hide("previous"),g.showPrev()))}),f.$document.on("click.joyride",".joyride-close-tip",function(a){"X"===a.target.text&&(a.preventDefault(),g.endNoCallback())}),f.$window.bind("resize.joyride",function(){g.is_phone()?g.pos_phone():g.pos_default()})):g.restart()})},resume:function(){g.set_li(),g.show()},tip_template:function(b){var c,d,e=(b.li.data("options")||":").split(";"),h=(e.length,f.bordered),i=(f.shiftedArrow,f.includepage);if(b.tip_class=b.tip_class||"",h&&(b.tip_class+=" bordered"),c=a(f.template.tip).addClass(b.tip_class),d=a.trim(a(b.li).html())+g.button_text(b.button_text,b.li)+f.template.link+g.timer_instance(b.index),i){var j=f.$content_el[0].children.length,k=b.index+1,l="<p class='wv-tour-page-count'>(page "+k+" of "+j+")</p>";d+=l}return h&&c.append(a(f.template.tipborder)),c.append(a(f.template.nub)),c.append(a(f.template.wrapper)),c.first().attr("data-index",b.index),a(".joyride-content-wrapper",c).append(d),c[0]},timer_instance:function(b){var c;return c=0===b&&f.startTimerOnClick&&f.timer>0||0===f.timer?"":g.outerHTML(a(f.template.timer)[0])},button_text:function(b,d){var e,h,i,j,k,l=(d.data("options")||":").split(";"),m=l.length;for(e=m-1;e>=0;e--)h=l[e].split(":"),2===h.length&&("prevButton"==h[0]&&(i="true"==h[1]?!0:!1),"nextButton"==h[0]&&(j="true"==h[1]?!0:!1));return i===c&&(i=f.prevButton),j===c&&(j=f.nextButton),i?(k="Prev",k=g.outerHTML(a(f.template.prevbutton).append(k)[0])):k="",j?(b=a.trim(b)||"Next",b=g.outerHTML(a(f.template.button).append(b)[0])):b="",k+b+"</br></br>"},create:function(b){var c=b.$li.attr("data-button")||b.$li.attr("data-text"),d=b.$li.attr("class"),e=a(g.tip_template({tip_class:d,index:b.index,button_text:c,li:b.$li}));a(f.tipContainer).append(e)},show:function(b){var d,e,h={},i=[],j=0,k=null;if(f.$li===c||-1===a.inArray(f.$li.index(),f.pauseAfter))if(f.paused?f.paused=!1:g.set_li(b),f.attempts=0,f.$li.length&&f.$target.length>0){for(i=(f.$li.data("options")||":").split(";"),j=i.length,d=j-1;d>=0;d--)e=i[d].split(":"),2===e.length&&(h[a.trim(e[0])]=a.trim(e[1]));f.tipSettings=a.extend({},f,h),f.tipSettings.tipLocationPattern=f.tipLocationPatterns[f.tipSettings.tipLocation],/body/i.test(f.$target.selector)||g.scroll_to(),g.is_phone()?g.pos_phone(!0):g.pos_default(!0),k=a(".joyride-timer-indicator",f.$next_tip),/pop/i.test(f.tipAnimation)?(k.outerWidth(0),f.timer>0?(f.$next_tip.show(),k.animate({width:a(".joyride-timer-indicator-wrap",f.$next_tip).outerWidth()},f.timer)):f.$next_tip.show()):/fade/i.test(f.tipAnimation)&&(k.outerWidth(0),f.timer>0?(f.$next_tip.fadeIn(f.tipAnimationFadeSpeed),f.$next_tip.show(),k.animate({width:a(".joyride-timer-indicator-wrap",f.$next_tip).outerWidth()},f.timer)):f.$next_tip.fadeIn(f.tipAnimationFadeSpeed)),f.$current_tip=f.$next_tip}else f.$li&&f.$target.length<1?g.show():g.end("next");else f.paused=!0},showPrev:function(b){var d,e,h={},i=[],j=0,k=null;if(f.$li===c||-1===a.inArray(f.$li.index(),f.pauseAfter))if(f.paused?f.paused=!1:g.set_li_prev(b),f.attempts=0,f.$li.length&&f.$target.length>0){for(i=(f.$li.data("options")||":").split(";"),j=i.length,d=j-1;d>=0;d--)e=i[d].split(":"),2===e.length&&(h[a.trim(e[0])]=a.trim(e[1]));f.tipSettings=a.extend({},f,h),f.tipSettings.tipLocationPattern=f.tipLocationPatterns[f.tipSettings.tipLocation],/body/i.test(f.$target.selector)||g.scroll_to(),g.is_phone()?g.pos_phone(!0):g.pos_default_prev(!0),k=a(".joyride-timer-indicator",f.$prev_tip),/pop/i.test(f.tipAnimation)?(k.outerWidth(0),f.timer>0?(f.$prev_tip.show(),k.animate({width:a(".joyride-timer-indicator-wrap",f.$prev_tip).outerWidth()},f.timer)):f.$prev_tip.show()):/fade/i.test(f.tipAnimation)&&(k.outerWidth(0),f.timer>0?(f.$prev_tip.fadeIn(f.tipAnimationFadeSpeed),f.$prev_tip.show(),k.animate({width:a(".joyride-timer-indicator-wrap",f.$prev_tip).outerWidth()},f.timer)):f.$prev_tip.fadeIn(f.tipAnimationFadeSpeed)),f.$current_tip=f.$prev_tip}else f.$li&&f.$target.length<1?g.showPrev():g.end("previous");else f.paused=!0},is_phone:function(){return f.adjustForPhone?e?e.mq("only screen and (max-width: 767px)"):f.$window.width()<767?!0:!1:!1},hide:function(b){f.postStepCallback(f.$li.index(),f.$current_tip,b),a(".joyride-modal-bg").hide(),f.$current_tip.hide()},hideNoCallback:function(){a(".joyride-modal-bg").hide(),f.$current_tip.hide()},set_li:function(a){a?(f.$li=f.$tip_content.eq(f.startOffset),g.set_next_tip(),f.$current_tip=f.$next_tip):(f.$li=f.$li.next(),g.set_next_tip()),g.set_target()},set_li_prev:function(a){a?(f.$li=f.$tip_content.eq(f.startOffset),g.set_prev_tip(),f.$current_tip=f.$prev_tip):(f.$li=f.$li.prev(),g.set_prev_tip()),g.set_target()},set_next_tip:function(){f.$next_tip=a(".joyride-tip-guide[data-index="+f.$li.index()+"]")},set_prev_tip:function(){f.$prev_tip=a(".joyride-tip-guide[data-index="+f.$li.index()+"]")},set_target:function(){var b=f.$li.attr("data-class"),c=f.$li.attr("data-id"),d=function(){return c?a(f.document.getElementById(c)):b?a("."+b).first():a("body")};f.$target=d()},scroll_to:function(){var b,c;b=f.$window.height()/2,c=Math.ceil(f.$target.offset().top-b+f.$next_tip.outerHeight()),a("html, body").stop().animate({scrollTop:c},f.scrollSpeed)},paused:function(){return-1===a.inArray(f.$li.index()+1,f.pauseAfter)?!0:!1},destroy:function(){f.$document.off(".joyride"),a(b).off(".joyride"),a(".joyride-close-tip, .joyride-next-tip, .joyride-modal-bg").off(".joyride"),a(".joyride-tip-guide, .joyride-modal-bg").remove(),clearTimeout(f.automate),f={}},restart:function(){g.hide("restart"),f.$li=c,g.show("init")},pos_default:function(b){var c=(Math.ceil(f.$window.height()/2),f.$next_tip.offset(),a(".joyride-nub",f.$next_tip)),d=a(".joyride-nub-border",f.$next_tip),e=Math.ceil(c.outerHeight()/2),h=b||!1;f.$next_tip.removeClass("mobile"),h&&(f.$next_tip.css("visibility","hidden"),f.$next_tip.show()),/body/i.test(f.$target.selector)?f.$li.length&&g.pos_modal(c):(g.bottom()?(f.$next_tip.css({top:f.$target.offset().top+e+f.$target.outerHeight(),left:f.$target.offset().left}),g.nub_position(c,d,f.tipSettings.nubPosition,"top")):g.top()?(f.$next_tip.css({top:f.$target.offset().top-f.$next_tip.outerHeight()-e,left:f.$target.offset().left}),g.nub_position(c,d,f.tipSettings.nubPosition,"bottom")):g.right()?(f.$next_tip.css({top:f.$target.offset().top,left:f.$target.outerWidth()+f.$target.offset().left+20}),g.nub_position(c,d,f.tipSettings.nubPosition,"left")):g.left()&&(f.$next_tip.css({top:f.$target.offset().top,left:f.$target.offset().left-f.$next_tip.outerWidth()-e}),g.nub_position(c,d,f.tipSettings.nubPosition,"right")),!g.visible(g.corners(f.$next_tip))&&f.attempts<f.tipSettings.tipLocationPattern.length&&(c.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),f.tipSettings.tipLocation=f.tipSettings.tipLocationPattern[f.attempts],f.attempts++,g.pos_default(!0))),h&&(f.$next_tip.hide(),f.$next_tip.css("visibility","visible"))},pos_default_prev:function(b){var c=(Math.ceil(f.$window.height()/2),f.$prev_tip.offset(),a(".joyride-nub",f.$prev_tip)),d=a(".joyride-nub-border",f.$prev_tip),e=Math.ceil(c.outerHeight()/2),h=b||!1;f.$next_tip.addClass("mobile"),h&&(f.$prev_tip.css("visibility","hidden"),f.$prev_tip.show()),/body/i.test(f.$target.selector)?f.$li.length&&g.pos_modal(c):(g.bottom()?(f.$prev_tip.css({top:f.$target.offset().top+e+f.$target.outerHeight(),left:f.$target.offset().left}),g.nub_position(c,d,f.tipSettings.nubPosition,"top")):g.top()?(f.$prev_tip.css({top:f.$target.offset().top-f.$prev_tip.outerHeight()-e,left:f.$target.offset().left}),g.nub_position(c,d,f.tipSettings.nubPosition,"bottom")):g.right()?(f.$prev_tip.css({top:f.$target.offset().top,left:f.$target.outerWidth()+f.$target.offset().left+20}),g.nub_position(c,d,f.tipSettings.nubPosition,"left")):g.left()&&(f.$prev_tip.css({top:f.$target.offset().top,left:f.$target.offset().left-f.$prev_tip.outerWidth()-e}),g.nub_position(c,d,f.tipSettings.nubPosition,"right")),!g.visible(g.corners(f.$prev_tip))&&f.attempts<f.tipSettings.tipLocationPattern.length&&(c.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),f.tipSettings.tipLocation=f.tipSettings.tipLocationPattern[f.attempts],f.attempts++,g.pos_default_prev(!0))),h&&(f.$prev_tip.hide(),f.$prev_tip.css("visibility","visible"))},pos_phone:function(b){var c=f.$next_tip.outerHeight(),d=(f.$next_tip.offset(),f.$target.outerHeight()),e=a(".joyride-nub",f.$next_tip),h=Math.ceil(e.outerHeight()/2),i=b||!1;e.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),f.$next_tip.addClass("mobile"),i&&(f.$next_tip.css("visibility","hidden"),f.$next_tip.show()),/body/i.test(f.$target.selector)?f.$li.length&&g.pos_modal(e):g.top()?(f.$next_tip.offset({top:f.$target.offset().top-c-h}),e.addClass("bottom")):(f.$next_tip.offset({top:f.$target.offset().top+d+h}),e.addClass("top")),i&&(f.$next_tip.hide(),f.$next_tip.css("visibility","visible"))},pos_modal:function(b){g.center(),b.hide(),a(".joyride-modal-bg").length<1&&a("body").append('<div class="joyride-modal-bg">').show(),/pop/i.test(f.tipAnimation)?a(".joyride-modal-bg").show():a(".joyride-modal-bg").fadeIn(f.tipAnimationFadeSpeed)},center:function(){var a=f.$window;return f.$next_tip.css({top:(a.height()-f.$next_tip.outerHeight())/2+a.scrollTop(),left:(a.width()-f.$next_tip.outerWidth())/2+a.scrollLeft()}),!0},bottom:function(){return/bottom/i.test(f.tipSettings.tipLocation)},top:function(){return/top/i.test(f.tipSettings.tipLocation)},right:function(){return/right/i.test(f.tipSettings.tipLocation)},left:function(){return/left/i.test(f.tipSettings.tipLocation)},corners:function(a){var b=f.$window,c=b.width()+b.scrollLeft(),d=b.height()+b.scrollTop();return[a.offset().top<=b.scrollTop(),c<=a.offset().left+a.outerWidth(),d<=a.offset().top+a.outerHeight(),b.scrollLeft()>=a.offset().left]},visible:function(a){for(var b=a.length;b--;)if(a[b])return!1;return!0},nub_position:function(a,b,c,d){"auto"===c?(a.addClass(d),b.addClass(d)):(a.addClass(c),b.addClass(c))},startTimer:function(){f.$li.length?f.automate=setTimeout(function(){g.hide("timer"),g.show(),g.startTimer()},f.timer):clearTimeout(f.automate)},end:function(b){f.cookieMonster&&a.cookie(f.cookieName,"ridden",{expires:365,domain:f.cookieDomain}),f.timer>0&&clearTimeout(f.automate),a(".joyride-modal-bg").hide(),f.$current_tip.hide(),f.postStepCallback(f.$li.index(),f.$current_tip,b),f.postRideCallback(f.$li.index(),f.$current_tip,b),g.destroy()},endNoCallback:function(){f.cookieMonster&&a.cookie(f.cookieName,"ridden",{expires:365,domain:f.cookieDomain}),f.timer>0&&clearTimeout(f.automate),a(".joyride-modal-bg").hide(),f.$current_tip.hide(),g.destroy()},jquery_check:function(){return a.isFunction(a.fn.on)?!0:(a.fn.on=function(a,b,c){return this.delegate(b,a,c)},a.fn.off=function(a,b,c){return this.undelegate(b,a,c)},!1)},outerHTML:function(a){return a.outerHTML||(new XMLSerializer).serializeToString(a)},version:function(){return f.version}};a.fn.joyride=function(b){return g[b]?g[b].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof b&&b?void a.error("Method "+b+" does not exist on jQuery.joyride"):g.init.apply(this,arguments)}}(jQuery,this),window.Modernizr=function(a,b,c){function d(a){n.cssText=a}function e(a,b){return typeof a===b}var f,g,h,i="2.6.1",j={},k=b.documentElement,l="modernizr",m=b.createElement(l),n=m.style,o=({}.toString,{}),p=[],q=p.slice,r=function(a,c,d,e){var f,g,h,i=b.createElement("div"),j=b.body,m=j?j:b.createElement("body");if(parseInt(d,10))for(;d--;)h=b.createElement("div"),h.id=e?e[d]:l+(d+1),i.appendChild(h);return f=["­",'<style id="s',l,'">',a,"</style>"].join(""),i.id=l,(j?i:m).innerHTML+=f,m.appendChild(i),j||(m.style.background="",k.appendChild(m)),g=c(i,a),j?i.parentNode.removeChild(i):m.parentNode.removeChild(m),!!g},s=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return r("@media "+b+" { #"+l+" { position: absolute; } }",function(b){d="absolute"==(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).position}),d},t={}.hasOwnProperty;h=e(t,"undefined")||e(t.call,"undefined")?function(a,b){return b in a&&e(a.constructor.prototype[b],"undefined")}:function(a,b){return t.call(a,b)},Function.prototype.bind||(Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var c=q.call(arguments,1),d=function(){if(this instanceof d){var e=function(){};e.prototype=b.prototype;var f=new e,g=b.apply(f,c.concat(q.call(arguments)));return Object(g)===g?g:f}return b.apply(a,c.concat(q.call(arguments)))};return d});for(var u in o)h(o,u)&&(g=u.toLowerCase(),j[g]=o[u](),p.push((j[g]?"":"no-")+g));return j.addTest=function(a,b){if("object"==typeof a)for(var d in a)h(a,d)&&j.addTest(d,a[d]);else{if(a=a.toLowerCase(),j[a]!==c)return j;b="function"==typeof b?b():b,enableClasses&&(k.className+=" "+(b?"":"no-")+a),j[a]=b}return j},d(""),m=f=null,j._version=i,j.mq=s,j.testStyles=r,j}(this,this.document);\ No newline at end of filediff --git a/web/ext/ui/font-awesome-4.2.0/css/font-awesome.css b/web/ext/ui/font-awesome-4.2.0/css/font-awesome.cssdeleted file mode 100644index 4040b3cf8..000000000--- a/web/ext/ui/font-awesome-4.2.0/css/font-awesome.css+++ /dev/null@@ -1,1672 +0,0 @@-/*!- * Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome- * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)- */-/* FONT PATH- * -------------------------- */-@font-face {- font-family: 'FontAwesome';- src: url('../fonts/fontawesome-webfont.eot?v=4.2.0');- src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');- font-weight: normal;- font-style: normal;-}-.fa {- display: inline-block;- font: normal normal normal 14px/1 FontAwesome;- font-size: inherit;- text-rendering: auto;- -webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale;-}-/* makes the font 33% larger relative to the icon container */-.fa-lg {- font-size: 1.33333333em;- line-height: 0.75em;- vertical-align: -15%;-}-.fa-2x {- font-size: 2em;-}-.fa-3x {- font-size: 3em;-}-.fa-4x {- font-size: 4em;-}-.fa-5x {- font-size: 5em;-}-.fa-fw {- width: 1.28571429em;- text-align: center;-}-.fa-ul {- padding-left: 0;- margin-left: 2.14285714em;- list-style-type: none;-}-.fa-ul > li {- position: relative;-}-.fa-li {- position: absolute;- left: -2.14285714em;- width: 2.14285714em;- top: 0.14285714em;- text-align: center;-}-.fa-li.fa-lg {- left: -1.85714286em;-}-.fa-border {- padding: .2em .25em .15em;- border: solid 0.08em #eeeeee;- border-radius: .1em;-}-.pull-right {- float: right;-}-.pull-left {- float: left;-}-.fa.pull-left {- margin-right: .3em;-}-.fa.pull-right {- margin-left: .3em;-}-.fa-spin {- -webkit-animation: fa-spin 2s infinite linear;- animation: fa-spin 2s infinite linear;-}-@-webkit-keyframes fa-spin {- 0% {- -webkit-transform: rotate(0deg);- transform: rotate(0deg);- }- 100% {- -webkit-transform: rotate(359deg);- transform: rotate(359deg);- }-}-@keyframes fa-spin {- 0% {- -webkit-transform: rotate(0deg);- transform: rotate(0deg);- }- 100% {- -webkit-transform: rotate(359deg);- transform: rotate(359deg);- }-}-.fa-rotate-90 {- filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);- -webkit-transform: rotate(90deg);- -ms-transform: rotate(90deg);- transform: rotate(90deg);-}-.fa-rotate-180 {- filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);- -webkit-transform: rotate(180deg);- -ms-transform: rotate(180deg);- transform: rotate(180deg);-}-.fa-rotate-270 {- filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);- -webkit-transform: rotate(270deg);- -ms-transform: rotate(270deg);- transform: rotate(270deg);-}-.fa-flip-horizontal {- filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);- -webkit-transform: scale(-1, 1);- -ms-transform: scale(-1, 1);- transform: scale(-1, 1);-}-.fa-flip-vertical {- filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);- -webkit-transform: scale(1, -1);- -ms-transform: scale(1, -1);- transform: scale(1, -1);-}-:root .fa-rotate-90,-:root .fa-rotate-180,-:root .fa-rotate-270,-:root .fa-flip-horizontal,-:root .fa-flip-vertical {- filter: none;-}-.fa-stack {- position: relative;- display: inline-block;- width: 2em;- height: 2em;- line-height: 2em;- vertical-align: middle;-}-.fa-stack-1x,-.fa-stack-2x {- position: absolute;- left: 0;- width: 100%;- text-align: center;-}-.fa-stack-1x {- line-height: inherit;-}-.fa-stack-2x {- font-size: 2em;-}-.fa-inverse {- color: #ffffff;-}-/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen- readers do not read off random characters that represent icons */-.fa-glass:before {- content: "\f000";-}-.fa-music:before {- content: "\f001";-}-.fa-search:before {- content: "\f002";-}-.fa-envelope-o:before {- content: "\f003";-}-.fa-heart:before {- content: "\f004";-}-.fa-star:before {- content: "\f005";-}-.fa-star-o:before {- content: "\f006";-}-.fa-user:before {- content: "\f007";-}-.fa-film:before {- content: "\f008";-}-.fa-th-large:before {- content: "\f009";-}-.fa-th:before {- content: "\f00a";-}-.fa-th-list:before {- content: "\f00b";-}-.fa-check:before {- content: "\f00c";-}-.fa-remove:before,-.fa-close:before,-.fa-times:before {- content: "\f00d";-}-.fa-search-plus:before {- content: "\f00e";-}-.fa-search-minus:before {- content: "\f010";-}-.fa-power-off:before {- content: "\f011";-}-.fa-signal:before {- content: "\f012";-}-.fa-gear:before,-.fa-cog:before {- content: "\f013";-}-.fa-trash-o:before {- content: "\f014";-}-.fa-home:before {- content: "\f015";-}-.fa-file-o:before {- content: "\f016";-}-.fa-clock-o:before {- content: "\f017";-}-.fa-road:before {- content: "\f018";-}-.fa-download:before {- content: "\f019";-}-.fa-arrow-circle-o-down:before {- content: "\f01a";-}-.fa-arrow-circle-o-up:before {- content: "\f01b";-}-.fa-inbox:before {- content: "\f01c";-}-.fa-play-circle-o:before {- content: "\f01d";-}-.fa-rotate-right:before,-.fa-repeat:before {- content: "\f01e";-}-.fa-refresh:before {- content: "\f021";-}-.fa-list-alt:before {- content: "\f022";-}-.fa-lock:before {- content: "\f023";-}-.fa-flag:before {- content: "\f024";-}-.fa-headphones:before {- content: "\f025";-}-.fa-volume-off:before {- content: "\f026";-}-.fa-volume-down:before {- content: "\f027";-}-.fa-volume-up:before {- content: "\f028";-}-.fa-qrcode:before {- content: "\f029";-}-.fa-barcode:before {- content: "\f02a";-}-.fa-tag:before {- content: "\f02b";-}-.fa-tags:before {- content: "\f02c";-}-.fa-book:before {- content: "\f02d";-}-.fa-bookmark:before {- content: "\f02e";-}-.fa-print:before {- content: "\f02f";-}-.fa-camera:before {- content: "\f030";-}-.fa-font:before {- content: "\f031";-}-.fa-bold:before {- content: "\f032";-}-.fa-italic:before {- content: "\f033";-}-.fa-text-height:before {- content: "\f034";-}-.fa-text-width:before {- content: "\f035";-}-.fa-align-left:before {- content: "\f036";-}-.fa-align-center:before {- content: "\f037";-}-.fa-align-right:before {- content: "\f038";-}-.fa-align-justify:before {- content: "\f039";-}-.fa-list:before {- content: "\f03a";-}-.fa-dedent:before,-.fa-outdent:before {- content: "\f03b";-}-.fa-indent:before {- content: "\f03c";-}-.fa-video-camera:before {- content: "\f03d";-}-.fa-photo:before,-.fa-image:before,-.fa-picture-o:before {- content: "\f03e";-}-.fa-pencil:before {- content: "\f040";-}-.fa-map-marker:before {- content: "\f041";-}-.fa-adjust:before {- content: "\f042";-}-.fa-tint:before {- content: "\f043";-}-.fa-edit:before,-.fa-pencil-square-o:before {- content: "\f044";-}-.fa-share-square-o:before {- content: "\f045";-}-.fa-check-square-o:before {- content: "\f046";-}-.fa-arrows:before {- content: "\f047";-}-.fa-step-backward:before {- content: "\f048";-}-.fa-fast-backward:before {- content: "\f049";-}-.fa-backward:before {- content: "\f04a";-}-.fa-play:before {- content: "\f04b";-}-.fa-pause:before {- content: "\f04c";-}-.fa-stop:before {- content: "\f04d";-}-.fa-forward:before {- content: "\f04e";-}-.fa-fast-forward:before {- content: "\f050";-}-.fa-step-forward:before {- content: "\f051";-}-.fa-eject:before {- content: "\f052";-}-.fa-chevron-left:before {- content: "\f053";-}-.fa-chevron-right:before {- content: "\f054";-}-.fa-plus-circle:before {- content: "\f055";-}-.fa-minus-circle:before {- content: "\f056";-}-.fa-times-circle:before {- content: "\f057";-}-.fa-check-circle:before {- content: "\f058";-}-.fa-question-circle:before {- content: "\f059";-}-.fa-info-circle:before {- content: "\f05a";-}-.fa-crosshairs:before {- content: "\f05b";-}-.fa-times-circle-o:before {- content: "\f05c";-}-.fa-check-circle-o:before {- content: "\f05d";-}-.fa-ban:before {- content: "\f05e";-}-.fa-arrow-left:before {- content: "\f060";-}-.fa-arrow-right:before {- content: "\f061";-}-.fa-arrow-up:before {- content: "\f062";-}-.fa-arrow-down:before {- content: "\f063";-}-.fa-mail-forward:before,-.fa-share:before {- content: "\f064";-}-.fa-expand:before {- content: "\f065";-}-.fa-compress:before {- content: "\f066";-}-.fa-plus:before {- content: "\f067";-}-.fa-minus:before {- content: "\f068";-}-.fa-asterisk:before {- content: "\f069";-}-.fa-exclamation-circle:before {- content: "\f06a";-}-.fa-gift:before {- content: "\f06b";-}-.fa-leaf:before {- content: "\f06c";-}-.fa-fire:before {- content: "\f06d";-}-.fa-eye:before {- content: "\f06e";-}-.fa-eye-slash:before {- content: "\f070";-}-.fa-warning:before,-.fa-exclamation-triangle:before {- content: "\f071";-}-.fa-plane:before {- content: "\f072";-}-.fa-calendar:before {- content: "\f073";-}-.fa-random:before {- content: "\f074";-}-.fa-comment:before {- content: "\f075";-}-.fa-magnet:before {- content: "\f076";-}-.fa-chevron-up:before {- content: "\f077";-}-.fa-chevron-down:before {- content: "\f078";-}-.fa-retweet:before {- content: "\f079";-}-.fa-shopping-cart:before {- content: "\f07a";-}-.fa-folder:before {- content: "\f07b";-}-.fa-folder-open:before {- content: "\f07c";-}-.fa-arrows-v:before {- content: "\f07d";-}-.fa-arrows-h:before {- content: "\f07e";-}-.fa-bar-chart-o:before,-.fa-bar-chart:before {- content: "\f080";-}-.fa-twitter-square:before {- content: "\f081";-}-.fa-facebook-square:before {- content: "\f082";-}-.fa-camera-retro:before {- content: "\f083";-}-.fa-key:before {- content: "\f084";-}-.fa-gears:before,-.fa-cogs:before {- content: "\f085";-}-.fa-comments:before {- content: "\f086";-}-.fa-thumbs-o-up:before {- content: "\f087";-}-.fa-thumbs-o-down:before {- content: "\f088";-}-.fa-star-half:before {- content: "\f089";-}-.fa-heart-o:before {- content: "\f08a";-}-.fa-sign-out:before {- content: "\f08b";-}-.fa-linkedin-square:before {- content: "\f08c";-}-.fa-thumb-tack:before {- content: "\f08d";-}-.fa-external-link:before {- content: "\f08e";-}-.fa-sign-in:before {- content: "\f090";-}-.fa-trophy:before {- content: "\f091";-}-.fa-github-square:before {- content: "\f092";-}-.fa-upload:before {- content: "\f093";-}-.fa-lemon-o:before {- content: "\f094";-}-.fa-phone:before {- content: "\f095";-}-.fa-square-o:before {- content: "\f096";-}-.fa-bookmark-o:before {- content: "\f097";-}-.fa-phone-square:before {- content: "\f098";-}-.fa-twitter:before {- content: "\f099";-}-.fa-facebook:before {- content: "\f09a";-}-.fa-github:before {- content: "\f09b";-}-.fa-unlock:before {- content: "\f09c";-}-.fa-credit-card:before {- content: "\f09d";-}-.fa-rss:before {- content: "\f09e";-}-.fa-hdd-o:before {- content: "\f0a0";-}-.fa-bullhorn:before {- content: "\f0a1";-}-.fa-bell:before {- content: "\f0f3";-}-.fa-certificate:before {- content: "\f0a3";-}-.fa-hand-o-right:before {- content: "\f0a4";-}-.fa-hand-o-left:before {- content: "\f0a5";-}-.fa-hand-o-up:before {- content: "\f0a6";-}-.fa-hand-o-down:before {- content: "\f0a7";-}-.fa-arrow-circle-left:before {- content: "\f0a8";-}-.fa-arrow-circle-right:before {- content: "\f0a9";-}-.fa-arrow-circle-up:before {- content: "\f0aa";-}-.fa-arrow-circle-down:before {- content: "\f0ab";-}-.fa-globe:before {- content: "\f0ac";-}-.fa-wrench:before {- content: "\f0ad";-}-.fa-tasks:before {- content: "\f0ae";-}-.fa-filter:before {- content: "\f0b0";-}-.fa-briefcase:before {- content: "\f0b1";-}-.fa-arrows-alt:before {- content: "\f0b2";-}-.fa-group:before,-.fa-users:before {- content: "\f0c0";-}-.fa-chain:before,-.fa-link:before {- content: "\f0c1";-}-.fa-cloud:before {- content: "\f0c2";-}-.fa-flask:before {- content: "\f0c3";-}-.fa-cut:before,-.fa-scissors:before {- content: "\f0c4";-}-.fa-copy:before,-.fa-files-o:before {- content: "\f0c5";-}-.fa-paperclip:before {- content: "\f0c6";-}-.fa-save:before,-.fa-floppy-o:before {- content: "\f0c7";-}-.fa-square:before {- content: "\f0c8";-}-.fa-navicon:before,-.fa-reorder:before,-.fa-bars:before {- content: "\f0c9";-}-.fa-list-ul:before {- content: "\f0ca";-}-.fa-list-ol:before {- content: "\f0cb";-}-.fa-strikethrough:before {- content: "\f0cc";-}-.fa-underline:before {- content: "\f0cd";-}-.fa-table:before {- content: "\f0ce";-}-.fa-magic:before {- content: "\f0d0";-}-.fa-truck:before {- content: "\f0d1";-}-.fa-pinterest:before {- content: "\f0d2";-}-.fa-pinterest-square:before {- content: "\f0d3";-}-.fa-google-plus-square:before {- content: "\f0d4";-}-.fa-google-plus:before {- content: "\f0d5";-}-.fa-money:before {- content: "\f0d6";-}-.fa-caret-down:before {- content: "\f0d7";-}-.fa-caret-up:before {- content: "\f0d8";-}-.fa-caret-left:before {- content: "\f0d9";-}-.fa-caret-right:before {- content: "\f0da";-}-.fa-columns:before {- content: "\f0db";-}-.fa-unsorted:before,-.fa-sort:before {- content: "\f0dc";-}-.fa-sort-down:before,-.fa-sort-desc:before {- content: "\f0dd";-}-.fa-sort-up:before,-.fa-sort-asc:before {- content: "\f0de";-}-.fa-envelope:before {- content: "\f0e0";-}-.fa-linkedin:before {- content: "\f0e1";-}-.fa-rotate-left:before,-.fa-undo:before {- content: "\f0e2";-}-.fa-legal:before,-.fa-gavel:before {- content: "\f0e3";-}-.fa-dashboard:before,-.fa-tachometer:before {- content: "\f0e4";-}-.fa-comment-o:before {- content: "\f0e5";-}-.fa-comments-o:before {- content: "\f0e6";-}-.fa-flash:before,-.fa-bolt:before {- content: "\f0e7";-}-.fa-sitemap:before {- content: "\f0e8";-}-.fa-umbrella:before {- content: "\f0e9";-}-.fa-paste:before,-.fa-clipboard:before {- content: "\f0ea";-}-.fa-lightbulb-o:before {- content: "\f0eb";-}-.fa-exchange:before {- content: "\f0ec";-}-.fa-cloud-download:before {- content: "\f0ed";-}-.fa-cloud-upload:before {- content: "\f0ee";-}-.fa-user-md:before {- content: "\f0f0";-}-.fa-stethoscope:before {- content: "\f0f1";-}-.fa-suitcase:before {- content: "\f0f2";-}-.fa-bell-o:before {- content: "\f0a2";-}-.fa-coffee:before {- content: "\f0f4";-}-.fa-cutlery:before {- content: "\f0f5";-}-.fa-file-text-o:before {- content: "\f0f6";-}-.fa-building-o:before {- content: "\f0f7";-}-.fa-hospital-o:before {- content: "\f0f8";-}-.fa-ambulance:before {- content: "\f0f9";-}-.fa-medkit:before {- content: "\f0fa";-}-.fa-fighter-jet:before {- content: "\f0fb";-}-.fa-beer:before {- content: "\f0fc";-}-.fa-h-square:before {- content: "\f0fd";-}-.fa-plus-square:before {- content: "\f0fe";-}-.fa-angle-double-left:before {- content: "\f100";-}-.fa-angle-double-right:before {- content: "\f101";-}-.fa-angle-double-up:before {- content: "\f102";-}-.fa-angle-double-down:before {- content: "\f103";-}-.fa-angle-left:before {- content: "\f104";-}-.fa-angle-right:before {- content: "\f105";-}-.fa-angle-up:before {- content: "\f106";-}-.fa-angle-down:before {- content: "\f107";-}-.fa-desktop:before {- content: "\f108";-}-.fa-laptop:before {- content: "\f109";-}-.fa-tablet:before {- content: "\f10a";-}-.fa-mobile-phone:before,-.fa-mobile:before {- content: "\f10b";-}-.fa-circle-o:before {- content: "\f10c";-}-.fa-quote-left:before {- content: "\f10d";-}-.fa-quote-right:before {- content: "\f10e";-}-.fa-spinner:before {- content: "\f110";-}-.fa-circle:before {- content: "\f111";-}-.fa-mail-reply:before,-.fa-reply:before {- content: "\f112";-}-.fa-github-alt:before {- content: "\f113";-}-.fa-folder-o:before {- content: "\f114";-}-.fa-folder-open-o:before {- content: "\f115";-}-.fa-smile-o:before {- content: "\f118";-}-.fa-frown-o:before {- content: "\f119";-}-.fa-meh-o:before {- content: "\f11a";-}-.fa-gamepad:before {- content: "\f11b";-}-.fa-keyboard-o:before {- content: "\f11c";-}-.fa-flag-o:before {- content: "\f11d";-}-.fa-flag-checkered:before {- content: "\f11e";-}-.fa-terminal:before {- content: "\f120";-}-.fa-code:before {- content: "\f121";-}-.fa-mail-reply-all:before,-.fa-reply-all:before {- content: "\f122";-}-.fa-star-half-empty:before,-.fa-star-half-full:before,-.fa-star-half-o:before {- content: "\f123";-}-.fa-location-arrow:before {- content: "\f124";-}-.fa-crop:before {- content: "\f125";-}-.fa-code-fork:before {- content: "\f126";-}-.fa-unlink:before,-.fa-chain-broken:before {- content: "\f127";-}-.fa-question:before {- content: "\f128";-}-.fa-info:before {- content: "\f129";-}-.fa-exclamation:before {- content: "\f12a";-}-.fa-superscript:before {- content: "\f12b";-}-.fa-subscript:before {- content: "\f12c";-}-.fa-eraser:before {- content: "\f12d";-}-.fa-puzzle-piece:before {- content: "\f12e";-}-.fa-microphone:before {- content: "\f130";-}-.fa-microphone-slash:before {- content: "\f131";-}-.fa-shield:before {- content: "\f132";-}-.fa-calendar-o:before {- content: "\f133";-}-.fa-fire-extinguisher:before {- content: "\f134";-}-.fa-rocket:before {- content: "\f135";-}-.fa-maxcdn:before {- content: "\f136";-}-.fa-chevron-circle-left:before {- content: "\f137";-}-.fa-chevron-circle-right:before {- content: "\f138";-}-.fa-chevron-circle-up:before {- content: "\f139";-}-.fa-chevron-circle-down:before {- content: "\f13a";-}-.fa-html5:before {- content: "\f13b";-}-.fa-css3:before {- content: "\f13c";-}-.fa-anchor:before {- content: "\f13d";-}-.fa-unlock-alt:before {- content: "\f13e";-}-.fa-bullseye:before {- content: "\f140";-}-.fa-ellipsis-h:before {- content: "\f141";-}-.fa-ellipsis-v:before {- content: "\f142";-}-.fa-rss-square:before {- content: "\f143";-}-.fa-play-circle:before {- content: "\f144";-}-.fa-ticket:before {- content: "\f145";-}-.fa-minus-square:before {- content: "\f146";-}-.fa-minus-square-o:before {- content: "\f147";-}-.fa-level-up:before {- content: "\f148";-}-.fa-level-down:before {- content: "\f149";-}-.fa-check-square:before {- content: "\f14a";-}-.fa-pencil-square:before {- content: "\f14b";-}-.fa-external-link-square:before {- content: "\f14c";-}-.fa-share-square:before {- content: "\f14d";-}-.fa-compass:before {- content: "\f14e";-}-.fa-toggle-down:before,-.fa-caret-square-o-down:before {- content: "\f150";-}-.fa-toggle-up:before,-.fa-caret-square-o-up:before {- content: "\f151";-}-.fa-toggle-right:before,-.fa-caret-square-o-right:before {- content: "\f152";-}-.fa-euro:before,-.fa-eur:before {- content: "\f153";-}-.fa-gbp:before {- content: "\f154";-}-.fa-dollar:before,-.fa-usd:before {- content: "\f155";-}-.fa-rupee:before,-.fa-inr:before {- content: "\f156";-}-.fa-cny:before,-.fa-rmb:before,-.fa-yen:before,-.fa-jpy:before {- content: "\f157";-}-.fa-ruble:before,-.fa-rouble:before,-.fa-rub:before {- content: "\f158";-}-.fa-won:before,-.fa-krw:before {- content: "\f159";-}-.fa-bitcoin:before,-.fa-btc:before {- content: "\f15a";-}-.fa-file:before {- content: "\f15b";-}-.fa-file-text:before {- content: "\f15c";-}-.fa-sort-alpha-asc:before {- content: "\f15d";-}-.fa-sort-alpha-desc:before {- content: "\f15e";-}-.fa-sort-amount-asc:before {- content: "\f160";-}-.fa-sort-amount-desc:before {- content: "\f161";-}-.fa-sort-numeric-asc:before {- content: "\f162";-}-.fa-sort-numeric-desc:before {- content: "\f163";-}-.fa-thumbs-up:before {- content: "\f164";-}-.fa-thumbs-down:before {- content: "\f165";-}-.fa-youtube-square:before {- content: "\f166";-}-.fa-youtube:before {- content: "\f167";-}-.fa-xing:before {- content: "\f168";-}-.fa-xing-square:before {- content: "\f169";-}-.fa-youtube-play:before {- content: "\f16a";-}-.fa-dropbox:before {- content: "\f16b";-}-.fa-stack-overflow:before {- content: "\f16c";-}-.fa-instagram:before {- content: "\f16d";-}-.fa-flickr:before {- content: "\f16e";-}-.fa-adn:before {- content: "\f170";-}-.fa-bitbucket:before {- content: "\f171";-}-.fa-bitbucket-square:before {- content: "\f172";-}-.fa-tumblr:before {- content: "\f173";-}-.fa-tumblr-square:before {- content: "\f174";-}-.fa-long-arrow-down:before {- content: "\f175";-}-.fa-long-arrow-up:before {- content: "\f176";-}-.fa-long-arrow-left:before {- content: "\f177";-}-.fa-long-arrow-right:before {- content: "\f178";-}-.fa-apple:before {- content: "\f179";-}-.fa-windows:before {- content: "\f17a";-}-.fa-android:before {- content: "\f17b";-}-.fa-linux:before {- content: "\f17c";-}-.fa-dribbble:before {- content: "\f17d";-}-.fa-skype:before {- content: "\f17e";-}-.fa-foursquare:before {- content: "\f180";-}-.fa-trello:before {- content: "\f181";-}-.fa-female:before {- content: "\f182";-}-.fa-male:before {- content: "\f183";-}-.fa-gittip:before {- content: "\f184";-}-.fa-sun-o:before {- content: "\f185";-}-.fa-moon-o:before {- content: "\f186";-}-.fa-archive:before {- content: "\f187";-}-.fa-bug:before {- content: "\f188";-}-.fa-vk:before {- content: "\f189";-}-.fa-weibo:before {- content: "\f18a";-}-.fa-renren:before {- content: "\f18b";-}-.fa-pagelines:before {- content: "\f18c";-}-.fa-stack-exchange:before {- content: "\f18d";-}-.fa-arrow-circle-o-right:before {- content: "\f18e";-}-.fa-arrow-circle-o-left:before {- content: "\f190";-}-.fa-toggle-left:before,-.fa-caret-square-o-left:before {- content: "\f191";-}-.fa-dot-circle-o:before {- content: "\f192";-}-.fa-wheelchair:before {- content: "\f193";-}-.fa-vimeo-square:before {- content: "\f194";-}-.fa-turkish-lira:before,-.fa-try:before {- content: "\f195";-}-.fa-plus-square-o:before {- content: "\f196";-}-.fa-space-shuttle:before {- content: "\f197";-}-.fa-slack:before {- content: "\f198";-}-.fa-envelope-square:before {- content: "\f199";-}-.fa-wordpress:before {- content: "\f19a";-}-.fa-openid:before {- content: "\f19b";-}-.fa-institution:before,-.fa-bank:before,-.fa-university:before {- content: "\f19c";-}-.fa-mortar-board:before,-.fa-graduation-cap:before {- content: "\f19d";-}-.fa-yahoo:before {- content: "\f19e";-}-.fa-google:before {- content: "\f1a0";-}-.fa-reddit:before {- content: "\f1a1";-}-.fa-reddit-square:before {- content: "\f1a2";-}-.fa-stumbleupon-circle:before {- content: "\f1a3";-}-.fa-stumbleupon:before {- content: "\f1a4";-}-.fa-delicious:before {- content: "\f1a5";-}-.fa-digg:before {- content: "\f1a6";-}-.fa-pied-piper:before {- content: "\f1a7";-}-.fa-pied-piper-alt:before {- content: "\f1a8";-}-.fa-drupal:before {- content: "\f1a9";-}-.fa-joomla:before {- content: "\f1aa";-}-.fa-language:before {- content: "\f1ab";-}-.fa-fax:before {- content: "\f1ac";-}-.fa-building:before {- content: "\f1ad";-}-.fa-child:before {- content: "\f1ae";-}-.fa-paw:before {- content: "\f1b0";-}-.fa-spoon:before {- content: "\f1b1";-}-.fa-cube:before {- content: "\f1b2";-}-.fa-cubes:before {- content: "\f1b3";-}-.fa-behance:before {- content: "\f1b4";-}-.fa-behance-square:before {- content: "\f1b5";-}-.fa-steam:before {- content: "\f1b6";-}-.fa-steam-square:before {- content: "\f1b7";-}-.fa-recycle:before {- content: "\f1b8";-}-.fa-automobile:before,-.fa-car:before {- content: "\f1b9";-}-.fa-cab:before,-.fa-taxi:before {- content: "\f1ba";-}-.fa-tree:before {- content: "\f1bb";-}-.fa-spotify:before {- content: "\f1bc";-}-.fa-deviantart:before {- content: "\f1bd";-}-.fa-soundcloud:before {- content: "\f1be";-}-.fa-database:before {- content: "\f1c0";-}-.fa-file-pdf-o:before {- content: "\f1c1";-}-.fa-file-word-o:before {- content: "\f1c2";-}-.fa-file-excel-o:before {- content: "\f1c3";-}-.fa-file-powerpoint-o:before {- content: "\f1c4";-}-.fa-file-photo-o:before,-.fa-file-picture-o:before,-.fa-file-image-o:before {- content: "\f1c5";-}-.fa-file-zip-o:before,-.fa-file-archive-o:before {- content: "\f1c6";-}-.fa-file-sound-o:before,-.fa-file-audio-o:before {- content: "\f1c7";-}-.fa-file-movie-o:before,-.fa-file-video-o:before {- content: "\f1c8";-}-.fa-file-code-o:before {- content: "\f1c9";-}-.fa-vine:before {- content: "\f1ca";-}-.fa-codepen:before {- content: "\f1cb";-}-.fa-jsfiddle:before {- content: "\f1cc";-}-.fa-life-bouy:before,-.fa-life-buoy:before,-.fa-life-saver:before,-.fa-support:before,-.fa-life-ring:before {- content: "\f1cd";-}-.fa-circle-o-notch:before {- content: "\f1ce";-}-.fa-ra:before,-.fa-rebel:before {- content: "\f1d0";-}-.fa-ge:before,-.fa-empire:before {- content: "\f1d1";-}-.fa-git-square:before {- content: "\f1d2";-}-.fa-git:before {- content: "\f1d3";-}-.fa-hacker-news:before {- content: "\f1d4";-}-.fa-tencent-weibo:before {- content: "\f1d5";-}-.fa-qq:before {- content: "\f1d6";-}-.fa-wechat:before,-.fa-weixin:before {- content: "\f1d7";-}-.fa-send:before,-.fa-paper-plane:before {- content: "\f1d8";-}-.fa-send-o:before,-.fa-paper-plane-o:before {- content: "\f1d9";-}-.fa-history:before {- content: "\f1da";-}-.fa-circle-thin:before {- content: "\f1db";-}-.fa-header:before {- content: "\f1dc";-}-.fa-paragraph:before {- content: "\f1dd";-}-.fa-sliders:before {- content: "\f1de";-}-.fa-share-alt:before {- content: "\f1e0";-}-.fa-share-alt-square:before {- content: "\f1e1";-}-.fa-bomb:before {- content: "\f1e2";-}-.fa-soccer-ball-o:before,-.fa-futbol-o:before {- content: "\f1e3";-}-.fa-tty:before {- content: "\f1e4";-}-.fa-binoculars:before {- content: "\f1e5";-}-.fa-plug:before {- content: "\f1e6";-}-.fa-slideshare:before {- content: "\f1e7";-}-.fa-twitch:before {- content: "\f1e8";-}-.fa-yelp:before {- content: "\f1e9";-}-.fa-newspaper-o:before {- content: "\f1ea";-}-.fa-wifi:before {- content: "\f1eb";-}-.fa-calculator:before {- content: "\f1ec";-}-.fa-paypal:before {- content: "\f1ed";-}-.fa-google-wallet:before {- content: "\f1ee";-}-.fa-cc-visa:before {- content: "\f1f0";-}-.fa-cc-mastercard:before {- content: "\f1f1";-}-.fa-cc-discover:before {- content: "\f1f2";-}-.fa-cc-amex:before {- content: "\f1f3";-}-.fa-cc-paypal:before {- content: "\f1f4";-}-.fa-cc-stripe:before {- content: "\f1f5";-}-.fa-bell-slash:before {- content: "\f1f6";-}-.fa-bell-slash-o:before {- content: "\f1f7";-}-.fa-trash:before {- content: "\f1f8";-}-.fa-copyright:before {- content: "\f1f9";-}-.fa-at:before {- content: "\f1fa";-}-.fa-eyedropper:before {- content: "\f1fb";-}-.fa-paint-brush:before {- content: "\f1fc";-}-.fa-birthday-cake:before {- content: "\f1fd";-}-.fa-area-chart:before {- content: "\f1fe";-}-.fa-pie-chart:before {- content: "\f200";-}-.fa-line-chart:before {- content: "\f201";-}-.fa-lastfm:before {- content: "\f202";-}-.fa-lastfm-square:before {- content: "\f203";-}-.fa-toggle-off:before {- content: "\f204";-}-.fa-toggle-on:before {- content: "\f205";-}-.fa-bicycle:before {- content: "\f206";-}-.fa-bus:before {- content: "\f207";-}-.fa-ioxhost:before {- content: "\f208";-}-.fa-angellist:before {- content: "\f209";-}-.fa-cc:before {- content: "\f20a";-}-.fa-shekel:before,-.fa-sheqel:before,-.fa-ils:before {- content: "\f20b";-}-.fa-meanpath:before {- content: "\f20c";-}diff --git a/web/ext/ui/font-awesome-4.2.0/css/font-awesome.min.css b/web/ext/ui/font-awesome-4.2.0/css/font-awesome.min.cssdeleted file mode 100644index ec53d4d6d..000000000--- a/web/ext/ui/font-awesome-4.2.0/css/font-awesome.min.css+++ /dev/null@@ -1,4 +0,0 @@-/*!- * Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome- * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)- */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.2.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}\ No newline at end of filediff --git a/web/ext/ui/font-awesome-4.2.0/fonts/.htaccess b/web/ext/ui/font-awesome-4.2.0/fonts/.htaccessdeleted file mode 100644index 570a12161..000000000--- a/web/ext/ui/font-awesome-4.2.0/fonts/.htaccess+++ /dev/null@@ -1,5 +0,0 @@-# http://stackoverflow.com/questions/7748140/font-face-eot-not-loading-over-https--Header unset Cache-Control-Header unset Pragma-Header unset Expiresdiff --git a/web/ext/ui/font-awesome-4.2.0/fonts/FontAwesome.otf b/web/ext/ui/font-awesome-4.2.0/fonts/FontAwesome.otfdeleted file mode 100644index 81c9ad949..000000000Binary files a/web/ext/ui/font-awesome-4.2.0/fonts/FontAwesome.otf and /dev/null differdiff --git a/web/ext/ui/font-awesome-4.2.0/fonts/fontawesome-webfont.eot b/web/ext/ui/font-awesome-4.2.0/fonts/fontawesome-webfont.eotdeleted file mode 100644index 84677bc0c..000000000Binary files a/web/ext/ui/font-awesome-4.2.0/fonts/fontawesome-webfont.eot and /dev/null differdiff --git a/web/ext/ui/font-awesome-4.2.0/fonts/fontawesome-webfont.svg b/web/ext/ui/font-awesome-4.2.0/fonts/fontawesome-webfont.svgdeleted file mode 100644index d907b25ae..000000000--- a/web/ext/ui/font-awesome-4.2.0/fonts/fontawesome-webfont.svg+++ /dev/null@@ -1,520 +0,0 @@-<?xml version="1.0" standalone="no"?>-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >-<svg xmlns="http://www.w3.org/2000/svg">-<metadata></metadata>-<defs>-<font id="fontawesomeregular" horiz-adv-x="1536" >-<font-face units-per-em="1792" ascent="1536" descent="-256" />-<missing-glyph horiz-adv-x="448" />-<glyph unicode=" " horiz-adv-x="448" />-<glyph unicode="	" horiz-adv-x="448" />-<glyph unicode=" " horiz-adv-x="448" />-<glyph unicode="¨" horiz-adv-x="1792" />-<glyph unicode="©" horiz-adv-x="1792" />-<glyph unicode="®" horiz-adv-x="1792" />-<glyph unicode="´" horiz-adv-x="1792" />-<glyph unicode="Æ" horiz-adv-x="1792" />-<glyph unicode="Ø" horiz-adv-x="1792" />-<glyph unicode=" " horiz-adv-x="768" />-<glyph unicode=" " horiz-adv-x="1537" />-<glyph unicode=" " horiz-adv-x="768" />-<glyph unicode=" " horiz-adv-x="1537" />-<glyph unicode=" " horiz-adv-x="512" />-<glyph unicode=" " horiz-adv-x="384" />-<glyph unicode=" " horiz-adv-x="256" />-<glyph unicode=" " horiz-adv-x="256" />-<glyph unicode=" " horiz-adv-x="192" />-<glyph unicode=" " horiz-adv-x="307" />-<glyph unicode=" " horiz-adv-x="85" />-<glyph unicode=" " horiz-adv-x="307" />-<glyph unicode=" " horiz-adv-x="384" />-<glyph unicode="™" horiz-adv-x="1792" />-<glyph unicode="∞" horiz-adv-x="1792" />-<glyph unicode="≠" horiz-adv-x="1792" />-<glyph unicode="◼" horiz-adv-x="500" d="M0 0z" />-<glyph unicode="" horiz-adv-x="1792" d="M1699 1350q0 -35 -43 -78l-632 -632v-768h320q26 0 45 -19t19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45t45 19h320v768l-632 632q-43 43 -43 78q0 23 18 36.5t38 17.5t43 4h1408q23 0 43 -4t38 -17.5t18 -36.5z" />-<glyph unicode="" d="M1536 1312v-1120q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v537l-768 -237v-709q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89 t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v967q0 31 19 56.5t49 35.5l832 256q12 4 28 4q40 0 68 -28t28 -68z" />-<glyph unicode="" horiz-adv-x="1664" d="M1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -52 -38 -90t-90 -38q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5 t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />-<glyph unicode="" horiz-adv-x="1792" d="M1664 32v768q-32 -36 -69 -66q-268 -206 -426 -338q-51 -43 -83 -67t-86.5 -48.5t-102.5 -24.5h-1h-1q-48 0 -102.5 24.5t-86.5 48.5t-83 67q-158 132 -426 338q-37 30 -69 66v-768q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1664 1083v11v13.5t-0.5 13 t-3 12.5t-5.5 9t-9 7.5t-14 2.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5q0 -168 147 -284q193 -152 401 -317q6 -5 35 -29.5t46 -37.5t44.5 -31.5t50.5 -27.5t43 -9h1h1q20 0 43 9t50.5 27.5t44.5 31.5t46 37.5t35 29.5q208 165 401 317q54 43 100.5 115.5t46.5 131.5z M1792 1120v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" />-<glyph unicode="" horiz-adv-x="1792" d="M896 -128q-26 0 -44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124t127 -344q0 -221 -229 -450l-623 -600 q-18 -18 -44 -18z" />-<glyph unicode="" horiz-adv-x="1664" d="M1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -21 -10.5 -35.5t-30.5 -14.5q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455 l502 -73q56 -9 56 -46z" />-<glyph unicode="" horiz-adv-x="1664" d="M1137 532l306 297l-422 62l-189 382l-189 -382l-422 -62l306 -297l-73 -421l378 199l377 -199zM1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -50 -41 -50q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500 l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455l502 -73q56 -9 56 -46z" />-<glyph unicode="" horiz-adv-x="1408" d="M1408 131q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q9 0 42 -21.5t74.5 -48t108 -48t133.5 -21.5t133.5 21.5t108 48t74.5 48t42 21.5q61 0 111.5 -20t85.5 -53.5t62 -81 t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" />-<glyph unicode="" horiz-adv-x="1920" d="M384 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 320v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 704v128q0 26 -19 45t-45 19h-128 q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 -64v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM384 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45 t45 -19h128q26 0 45 19t19 45zM1792 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 704v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1792 320v128 q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 704v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19 t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1920 1248v-1344q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1344q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />-<glyph unicode="" horiz-adv-x="1664" d="M768 512v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM768 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 512v-384q0 -52 -38 -90t-90 -38 h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />-<glyph unicode="" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 288v-192q0 -40 -28 -68t-68 -28h-320 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68z" />-<glyph unicode="" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-960 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h960q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68z" />-<glyph unicode="" horiz-adv-x="1792" d="M1671 970q0 -40 -28 -68l-724 -724l-136 -136q-28 -28 -68 -28t-68 28l-136 136l-362 362q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -295l656 657q28 28 68 28t68 -28l136 -136q28 -28 28 -68z" />-<glyph unicode="" horiz-adv-x="1408" d="M1298 214q0 -40 -28 -68l-136 -136q-28 -28 -68 -28t-68 28l-294 294l-294 -294q-28 -28 -68 -28t-68 28l-136 136q-28 28 -28 68t28 68l294 294l-294 294q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -294l294 294q28 28 68 28t68 -28l136 -136q28 -28 28 -68 t-28 -68l-294 -294l294 -294q28 -28 28 -68z" />-<glyph unicode="" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-224q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v224h-224q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h224v224q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-224h224 q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5 t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />-<glyph unicode="" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5z M1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z " />-<glyph unicode="" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61t-298 61t-245 164t-164 245t-61 298q0 182 80.5 343t226.5 270q43 32 95.5 25t83.5 -50q32 -42 24.5 -94.5t-49.5 -84.5q-98 -74 -151.5 -181t-53.5 -228q0 -104 40.5 -198.5t109.5 -163.5t163.5 -109.5 t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5q0 121 -53.5 228t-151.5 181q-42 32 -49.5 84.5t24.5 94.5q31 43 84 50t95 -25q146 -109 226.5 -270t80.5 -343zM896 1408v-640q0 -52 -38 -90t-90 -38t-90 38t-38 90v640q0 52 38 90t90 38t90 -38t38 -90z" />-<glyph unicode="" horiz-adv-x="1792" d="M256 96v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 224v-320q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 480v-576q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1408 864v-960q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1376v-1472q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1472q0 14 9 23t23 9h192q14 0 23 -9t9 -23z" />-<glyph unicode="" d="M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1536 749v-222q0 -12 -8 -23t-20 -13l-185 -28q-19 -54 -39 -91q35 -50 107 -138q10 -12 10 -25t-9 -23q-27 -37 -99 -108t-94 -71q-12 0 -26 9l-138 108q-44 -23 -91 -38 q-16 -136 -29 -186q-7 -28 -36 -28h-222q-14 0 -24.5 8.5t-11.5 21.5l-28 184q-49 16 -90 37l-141 -107q-10 -9 -25 -9q-14 0 -25 11q-126 114 -165 168q-7 10 -7 23q0 12 8 23q15 21 51 66.5t54 70.5q-27 50 -41 99l-183 27q-13 2 -21 12.5t-8 23.5v222q0 12 8 23t19 13 l186 28q14 46 39 92q-40 57 -107 138q-10 12 -10 24q0 10 9 23q26 36 98.5 107.5t94.5 71.5q13 0 26 -10l138 -107q44 23 91 38q16 136 29 186q7 28 36 28h222q14 0 24.5 -8.5t11.5 -21.5l28 -184q49 -16 90 -37l142 107q9 9 24 9q13 0 25 -10q129 -119 165 -170q7 -8 7 -22 q0 -12 -8 -23q-15 -21 -51 -66.5t-54 -70.5q26 -50 41 -98l183 -28q13 -2 21 -12.5t8 -23.5z" />-<glyph unicode="" horiz-adv-x="1408" d="M512 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM768 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1024 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1152 76v948h-896v-948q0 -22 7 -40.5t14.5 -27t10.5 -8.5h832q3 0 10.5 8.5t14.5 27t7 40.5zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832 q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" />-<glyph unicode="" horiz-adv-x="1664" d="M1408 544v-480q0 -26 -19 -45t-45 -19h-384v384h-256v-384h-384q-26 0 -45 19t-19 45v480q0 1 0.5 3t0.5 3l575 474l575 -474q1 -2 1 -6zM1631 613l-62 -74q-8 -9 -21 -11h-3q-13 0 -21 7l-692 577l-692 -577q-12 -8 -24 -7q-13 2 -21 11l-62 74q-8 10 -7 23.5t11 21.5 l719 599q32 26 76 26t76 -26l244 -204v195q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-408l219 -182q10 -8 11 -21.5t-7 -23.5z" />-<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z " />-<glyph unicode="" d="M896 992v-448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" horiz-adv-x="1920" d="M1111 540v4l-24 320q-1 13 -11 22.5t-23 9.5h-186q-13 0 -23 -9.5t-11 -22.5l-24 -320v-4q-1 -12 8 -20t21 -8h244q12 0 21 8t8 20zM1870 73q0 -73 -46 -73h-704q13 0 22 9.5t8 22.5l-20 256q-1 13 -11 22.5t-23 9.5h-272q-13 0 -23 -9.5t-11 -22.5l-20 -256 q-1 -13 8 -22.5t22 -9.5h-704q-46 0 -46 73q0 54 26 116l417 1044q8 19 26 33t38 14h339q-13 0 -23 -9.5t-11 -22.5l-15 -192q-1 -14 8 -23t22 -9h166q13 0 22 9t8 23l-15 192q-1 13 -11 22.5t-23 9.5h339q20 0 38 -14t26 -33l417 -1044q26 -62 26 -116z" />-<glyph unicode="" horiz-adv-x="1664" d="M1280 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 416v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h465l135 -136 q58 -56 136 -56t136 56l136 136h464q40 0 68 -28t28 -68zM1339 985q17 -41 -14 -70l-448 -448q-18 -19 -45 -19t-45 19l-448 448q-31 29 -14 70q17 39 59 39h256v448q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-448h256q42 0 59 -39z" />-<glyph unicode="" d="M1120 608q0 -12 -10 -24l-319 -319q-11 -9 -23 -9t-23 9l-320 320q-15 16 -7 35q8 20 30 20h192v352q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-352h192q14 0 23 -9t9 -23zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273 t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1118 660q-8 -20 -30 -20h-192v-352q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v352h-192q-14 0 -23 9t-9 23q0 12 10 24l319 319q11 9 23 9t23 -9l320 -320q15 -16 7 -35zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198 t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1023 576h316q-1 3 -2.5 8t-2.5 8l-212 496h-708l-212 -496q-1 -2 -2.5 -8t-2.5 -8h316l95 -192h320zM1536 546v-482q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v482q0 62 25 123l238 552q10 25 36.5 42t52.5 17h832q26 0 52.5 -17t36.5 -42l238 -552 q25 -61 25 -123z" />-<glyph unicode="" d="M1184 640q0 -37 -32 -55l-544 -320q-15 -9 -32 -9q-16 0 -32 8q-32 19 -32 56v640q0 37 32 56q33 18 64 -1l544 -320q32 -18 32 -55zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l138 138q-148 137 -349 137q-104 0 -198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5q119 0 225 52t179 147q7 10 23 12q14 0 25 -9 l137 -138q9 -8 9.5 -20.5t-7.5 -22.5q-109 -132 -264 -204.5t-327 -72.5q-156 0 -298 61t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q147 0 284.5 -55.5t244.5 -156.5l130 129q29 31 70 14q39 -17 39 -59z" />-<glyph unicode="" d="M1511 480q0 -5 -1 -7q-64 -268 -268 -434.5t-478 -166.5q-146 0 -282.5 55t-243.5 157l-129 -129q-19 -19 -45 -19t-45 19t-19 45v448q0 26 19 45t45 19h448q26 0 45 -19t19 -45t-19 -45l-137 -137q71 -66 161 -102t187 -36q134 0 250 65t186 179q11 17 53 117 q8 23 30 23h192q13 0 22.5 -9.5t9.5 -22.5zM1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-26 0 -45 19t-19 45t19 45l138 138q-148 137 -349 137q-134 0 -250 -65t-186 -179q-11 -17 -53 -117q-8 -23 -30 -23h-199q-13 0 -22.5 9.5t-9.5 22.5v7q65 268 270 434.5t480 166.5 q146 0 284 -55.5t245 -156.5l130 129q19 19 45 19t45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1792" d="M384 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M384 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1536 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5z M1536 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5zM1536 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5 t9.5 -22.5zM1664 160v832q0 13 -9.5 22.5t-22.5 9.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1792 1248v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47 t47 -113z" />-<glyph unicode="" horiz-adv-x="1152" d="M320 768h512v192q0 106 -75 181t-181 75t-181 -75t-75 -181v-192zM1152 672v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v192q0 184 132 316t316 132t316 -132t132 -316v-192h32q40 0 68 -28t28 -68z" />-<glyph unicode="" horiz-adv-x="1792" d="M320 1280q0 -72 -64 -110v-1266q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v1266q-64 38 -64 110q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -25 -12.5 -38.5t-39.5 -27.5q-215 -116 -369 -116q-61 0 -123.5 22t-108.5 48 t-115.5 48t-142.5 22q-192 0 -464 -146q-17 -9 -33 -9q-26 0 -45 19t-19 45v742q0 32 31 55q21 14 79 43q236 120 421 120q107 0 200 -29t219 -88q38 -19 88 -19q54 0 117.5 21t110 47t88 47t54.5 21q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1664" d="M1664 650q0 -166 -60 -314l-20 -49l-185 -33q-22 -83 -90.5 -136.5t-156.5 -53.5v-32q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-32q71 0 130 -35.5t93 -95.5l68 12q29 95 29 193q0 148 -88 279t-236.5 209t-315.5 78 t-315.5 -78t-236.5 -209t-88 -279q0 -98 29 -193l68 -12q34 60 93 95.5t130 35.5v32q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v32q-88 0 -156.5 53.5t-90.5 136.5l-185 33l-20 49q-60 148 -60 314q0 151 67 291t179 242.5 t266 163.5t320 61t320 -61t266 -163.5t179 -242.5t67 -291z" />-<glyph unicode="" horiz-adv-x="768" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1152" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142z" />-<glyph unicode="" horiz-adv-x="1664" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142zM1408 640q0 -153 -85 -282.5t-225 -188.5q-13 -5 -25 -5q-27 0 -46 19t-19 45q0 39 39 59q56 29 76 44q74 54 115.5 135.5t41.5 173.5t-41.5 173.5 t-115.5 135.5q-20 15 -76 44q-39 20 -39 59q0 26 19 45t45 19q13 0 26 -5q140 -59 225 -188.5t85 -282.5zM1664 640q0 -230 -127 -422.5t-338 -283.5q-13 -5 -26 -5q-26 0 -45 19t-19 45q0 36 39 59q7 4 22.5 10.5t22.5 10.5q46 25 82 51q123 91 192 227t69 289t-69 289 t-192 227q-36 26 -82 51q-7 4 -22.5 10.5t-22.5 10.5q-39 23 -39 59q0 26 19 45t45 19q13 0 26 -5q211 -91 338 -283.5t127 -422.5z" />-<glyph unicode="" horiz-adv-x="1408" d="M384 384v-128h-128v128h128zM384 1152v-128h-128v128h128zM1152 1152v-128h-128v128h128zM128 129h384v383h-384v-383zM128 896h384v384h-384v-384zM896 896h384v384h-384v-384zM640 640v-640h-640v640h640zM1152 128v-128h-128v128h128zM1408 128v-128h-128v128h128z M1408 640v-384h-384v128h-128v-384h-128v640h384v-128h128v128h128zM640 1408v-640h-640v640h640zM1408 1408v-640h-640v640h640z" />-<glyph unicode="" horiz-adv-x="1792" d="M63 0h-63v1408h63v-1408zM126 1h-32v1407h32v-1407zM220 1h-31v1407h31v-1407zM377 1h-31v1407h31v-1407zM534 1h-62v1407h62v-1407zM660 1h-31v1407h31v-1407zM723 1h-31v1407h31v-1407zM786 1h-31v1407h31v-1407zM943 1h-63v1407h63v-1407zM1100 1h-63v1407h63v-1407z M1226 1h-63v1407h63v-1407zM1352 1h-63v1407h63v-1407zM1446 1h-63v1407h63v-1407zM1635 1h-94v1407h94v-1407zM1698 1h-32v1407h32v-1407zM1792 0h-63v1408h63v-1408z" />-<glyph unicode="" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91z" />-<glyph unicode="" horiz-adv-x="1920" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91zM1899 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-36 0 -59 14t-53 45l470 470q37 37 37 90q0 52 -37 91l-715 714q-38 38 -102 64.5t-117 26.5h224q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91z" />-<glyph unicode="" horiz-adv-x="1664" d="M1639 1058q40 -57 18 -129l-275 -906q-19 -64 -76.5 -107.5t-122.5 -43.5h-923q-77 0 -148.5 53.5t-99.5 131.5q-24 67 -2 127q0 4 3 27t4 37q1 8 -3 21.5t-3 19.5q2 11 8 21t16.5 23.5t16.5 23.5q23 38 45 91.5t30 91.5q3 10 0.5 30t-0.5 28q3 11 17 28t17 23 q21 36 42 92t25 90q1 9 -2.5 32t0.5 28q4 13 22 30.5t22 22.5q19 26 42.5 84.5t27.5 96.5q1 8 -3 25.5t-2 26.5q2 8 9 18t18 23t17 21q8 12 16.5 30.5t15 35t16 36t19.5 32t26.5 23.5t36 11.5t47.5 -5.5l-1 -3q38 9 51 9h761q74 0 114 -56t18 -130l-274 -906 q-36 -119 -71.5 -153.5t-128.5 -34.5h-869q-27 0 -38 -15q-11 -16 -1 -43q24 -70 144 -70h923q29 0 56 15.5t35 41.5l300 987q7 22 5 57q38 -15 59 -43zM575 1056q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5 t-16.5 -22.5zM492 800q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5t-16.5 -22.5z" />-<glyph unicode="" horiz-adv-x="1280" d="M1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />-<glyph unicode="" horiz-adv-x="1664" d="M384 0h896v256h-896v-256zM384 640h896v384h-160q-40 0 -68 28t-28 68v160h-640v-640zM1536 576q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 576v-416q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-160q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68 v160h-224q-13 0 -22.5 9.5t-9.5 22.5v416q0 79 56.5 135.5t135.5 56.5h64v544q0 40 28 68t68 28h672q40 0 88 -20t76 -48l152 -152q28 -28 48 -76t20 -88v-256h64q79 0 135.5 -56.5t56.5 -135.5z" />-<glyph unicode="" horiz-adv-x="1920" d="M960 864q119 0 203.5 -84.5t84.5 -203.5t-84.5 -203.5t-203.5 -84.5t-203.5 84.5t-84.5 203.5t84.5 203.5t203.5 84.5zM1664 1280q106 0 181 -75t75 -181v-896q0 -106 -75 -181t-181 -75h-1408q-106 0 -181 75t-75 181v896q0 106 75 181t181 75h224l51 136 q19 49 69.5 84.5t103.5 35.5h512q53 0 103.5 -35.5t69.5 -84.5l51 -136h224zM960 128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />-<glyph unicode="" horiz-adv-x="1664" d="M725 977l-170 -450q33 0 136.5 -2t160.5 -2q19 0 57 2q-87 253 -184 452zM0 -128l2 79q23 7 56 12.5t57 10.5t49.5 14.5t44.5 29t31 50.5l237 616l280 724h75h53q8 -14 11 -21l205 -480q33 -78 106 -257.5t114 -274.5q15 -34 58 -144.5t72 -168.5q20 -45 35 -57 q19 -15 88 -29.5t84 -20.5q6 -38 6 -57q0 -4 -0.5 -13t-0.5 -13q-63 0 -190 8t-191 8q-76 0 -215 -7t-178 -8q0 43 4 78l131 28q1 0 12.5 2.5t15.5 3.5t14.5 4.5t15 6.5t11 8t9 11t2.5 14q0 16 -31 96.5t-72 177.5t-42 100l-450 2q-26 -58 -76.5 -195.5t-50.5 -162.5 q0 -22 14 -37.5t43.5 -24.5t48.5 -13.5t57 -8.5t41 -4q1 -19 1 -58q0 -9 -2 -27q-58 0 -174.5 10t-174.5 10q-8 0 -26.5 -4t-21.5 -4q-80 -14 -188 -14z" />-<glyph unicode="" horiz-adv-x="1408" d="M555 15q74 -32 140 -32q376 0 376 335q0 114 -41 180q-27 44 -61.5 74t-67.5 46.5t-80.5 25t-84 10.5t-94.5 2q-73 0 -101 -10q0 -53 -0.5 -159t-0.5 -158q0 -8 -1 -67.5t-0.5 -96.5t4.5 -83.5t12 -66.5zM541 761q42 -7 109 -7q82 0 143 13t110 44.5t74.5 89.5t25.5 142 q0 70 -29 122.5t-79 82t-108 43.5t-124 14q-50 0 -130 -13q0 -50 4 -151t4 -152q0 -27 -0.5 -80t-0.5 -79q0 -46 1 -69zM0 -128l2 94q15 4 85 16t106 27q7 12 12.5 27t8.5 33.5t5.5 32.5t3 37.5t0.5 34v35.5v30q0 982 -22 1025q-4 8 -22 14.5t-44.5 11t-49.5 7t-48.5 4.5 t-30.5 3l-4 83q98 2 340 11.5t373 9.5q23 0 68.5 -0.5t67.5 -0.5q70 0 136.5 -13t128.5 -42t108 -71t74 -104.5t28 -137.5q0 -52 -16.5 -95.5t-39 -72t-64.5 -57.5t-73 -45t-84 -40q154 -35 256.5 -134t102.5 -248q0 -100 -35 -179.5t-93.5 -130.5t-138 -85.5t-163.5 -48.5 t-176 -14q-44 0 -132 3t-132 3q-106 0 -307 -11t-231 -12z" />-<glyph unicode="" horiz-adv-x="1024" d="M0 -126l17 85q6 2 81.5 21.5t111.5 37.5q28 35 41 101q1 7 62 289t114 543.5t52 296.5v25q-24 13 -54.5 18.5t-69.5 8t-58 5.5l19 103q33 -2 120 -6.5t149.5 -7t120.5 -2.5q48 0 98.5 2.5t121 7t98.5 6.5q-5 -39 -19 -89q-30 -10 -101.5 -28.5t-108.5 -33.5 q-8 -19 -14 -42.5t-9 -40t-7.5 -45.5t-6.5 -42q-27 -148 -87.5 -419.5t-77.5 -355.5q-2 -9 -13 -58t-20 -90t-16 -83.5t-6 -57.5l1 -18q17 -4 185 -31q-3 -44 -16 -99q-11 0 -32.5 -1.5t-32.5 -1.5q-29 0 -87 10t-86 10q-138 2 -206 2q-51 0 -143 -9t-121 -11z" />-<glyph unicode="" horiz-adv-x="1792" d="M1744 128q33 0 42 -18.5t-11 -44.5l-126 -162q-20 -26 -49 -26t-49 26l-126 162q-20 26 -11 44.5t42 18.5h80v1024h-80q-33 0 -42 18.5t11 44.5l126 162q20 26 49 26t49 -26l126 -162q20 -26 11 -44.5t-42 -18.5h-80v-1024h80zM81 1407l54 -27q12 -5 211 -5q44 0 132 2 t132 2q36 0 107.5 -0.5t107.5 -0.5h293q6 0 21 -0.5t20.5 0t16 3t17.5 9t15 17.5l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 48t-14.5 73.5t-7.5 35.5q-6 8 -12 12.5t-15.5 6t-13 2.5t-18 0.5t-16.5 -0.5 q-17 0 -66.5 0.5t-74.5 0.5t-64 -2t-71 -6q-9 -81 -8 -136q0 -94 2 -388t2 -455q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29t78 27 q19 42 19 383q0 101 -3 303t-3 303v117q0 2 0.5 15.5t0.5 25t-1 25.5t-3 24t-5 14q-11 12 -162 12q-33 0 -93 -12t-80 -26q-19 -13 -34 -72.5t-31.5 -111t-42.5 -53.5q-42 26 -56 44v383z" />-<glyph unicode="" d="M81 1407l54 -27q12 -5 211 -5q44 0 132 2t132 2q70 0 246.5 1t304.5 0.5t247 -4.5q33 -1 56 31l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 47.5t-15 73.5t-7 36q-10 13 -27 19q-5 2 -66 2q-30 0 -93 1t-103 1 t-94 -2t-96 -7q-9 -81 -8 -136l1 -152v52q0 -55 1 -154t1.5 -180t0.5 -153q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29t78 27 q7 16 11.5 74t6 145.5t1.5 155t-0.5 153.5t-0.5 89q0 7 -2.5 21.5t-2.5 22.5q0 7 0.5 44t1 73t0 76.5t-3 67.5t-6.5 32q-11 12 -162 12q-41 0 -163 -13.5t-138 -24.5q-19 -12 -34 -71.5t-31.5 -111.5t-42.5 -54q-42 26 -56 44v383zM1310 125q12 0 42 -19.5t57.5 -41.5 t59.5 -49t36 -30q26 -21 26 -49t-26 -49q-4 -3 -36 -30t-59.5 -49t-57.5 -41.5t-42 -19.5q-13 0 -20.5 10.5t-10 28.5t-2.5 33.5t1.5 33t1.5 19.5h-1024q0 -2 1.5 -19.5t1.5 -33t-2.5 -33.5t-10 -28.5t-20.5 -10.5q-12 0 -42 19.5t-57.5 41.5t-59.5 49t-36 30q-26 21 -26 49 t26 49q4 3 36 30t59.5 49t57.5 41.5t42 19.5q13 0 20.5 -10.5t10 -28.5t2.5 -33.5t-1.5 -33t-1.5 -19.5h1024q0 2 -1.5 19.5t-1.5 33t2.5 33.5t10 28.5t20.5 10.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h896q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45t-45 -19 h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h640q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1792" d="M256 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM256 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5 t9.5 -22.5zM256 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344 q13 0 22.5 -9.5t9.5 -22.5zM256 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192 q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M384 992v-576q0 -13 -9.5 -22.5t-22.5 -9.5q-14 0 -23 9l-288 288q-9 9 -9 23t9 23l288 288q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M352 704q0 -14 -9 -23l-288 -288q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v576q0 13 9.5 22.5t22.5 9.5q14 0 23 -9l288 -288q9 -9 9 -23zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M1792 1184v-1088q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-403 403v-166q0 -119 -84.5 -203.5t-203.5 -84.5h-704q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h704q119 0 203.5 -84.5t84.5 -203.5v-165l403 402q18 19 45 19q12 0 25 -5 q39 -17 39 -59z" />-<glyph unicode="" horiz-adv-x="1920" d="M640 960q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 576v-448h-1408v192l320 320l160 -160l512 512zM1760 1280h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v1216 q0 13 -9.5 22.5t-22.5 9.5zM1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />-<glyph unicode="" d="M363 0l91 91l-235 235l-91 -91v-107h128v-128h107zM886 928q0 22 -22 22q-10 0 -17 -7l-542 -542q-7 -7 -7 -17q0 -22 22 -22q10 0 17 7l542 542q7 7 7 17zM832 1120l416 -416l-832 -832h-416v416zM1515 1024q0 -53 -37 -90l-166 -166l-416 416l166 165q36 38 90 38 q53 0 91 -38l235 -234q37 -39 37 -91z" />-<glyph unicode="" horiz-adv-x="1024" d="M768 896q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1024 896q0 -109 -33 -179l-364 -774q-16 -33 -47.5 -52t-67.5 -19t-67.5 19t-46.5 52l-365 774q-33 70 -33 179q0 212 150 362t362 150t362 -150t150 -362z" />-<glyph unicode="" d="M768 96v1088q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" horiz-adv-x="1024" d="M512 384q0 36 -20 69q-1 1 -15.5 22.5t-25.5 38t-25 44t-21 50.5q-4 16 -21 16t-21 -16q-7 -23 -21 -50.5t-25 -44t-25.5 -38t-15.5 -22.5q-20 -33 -20 -69q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 512q0 -212 -150 -362t-362 -150t-362 150t-150 362 q0 145 81 275q6 9 62.5 90.5t101 151t99.5 178t83 201.5q9 30 34 47t51 17t51.5 -17t33.5 -47q28 -93 83 -201.5t99.5 -178t101 -151t62.5 -90.5q81 -127 81 -275z" />-<glyph unicode="" horiz-adv-x="1792" d="M888 352l116 116l-152 152l-116 -116v-56h96v-96h56zM1328 1072q-16 16 -33 -1l-350 -350q-17 -17 -1 -33t33 1l350 350q17 17 1 33zM1408 478v-190q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-14 -14 -32 -8q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v126q0 13 9 22l64 64q15 15 35 7t20 -29zM1312 1216l288 -288l-672 -672h-288v288zM1756 1084l-92 -92 l-288 288l92 92q28 28 68 28t68 -28l152 -152q28 -28 28 -68t-28 -68z" />-<glyph unicode="" horiz-adv-x="1664" d="M1408 547v-259q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h255v0q13 0 22.5 -9.5t9.5 -22.5q0 -27 -26 -32q-77 -26 -133 -60q-10 -4 -16 -4h-112q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832 q66 0 113 47t47 113v214q0 19 18 29q28 13 54 37q16 16 35 8q21 -9 21 -29zM1645 1043l-384 -384q-18 -19 -45 -19q-12 0 -25 5q-39 17 -39 59v192h-160q-323 0 -438 -131q-119 -137 -74 -473q3 -23 -20 -34q-8 -2 -12 -2q-16 0 -26 13q-10 14 -21 31t-39.5 68.5t-49.5 99.5 t-38.5 114t-17.5 122q0 49 3.5 91t14 90t28 88t47 81.5t68.5 74t94.5 61.5t124.5 48.5t159.5 30.5t196.5 11h160v192q0 42 39 59q13 5 25 5q26 0 45 -19l384 -384q19 -19 19 -45t-19 -45z" />-<glyph unicode="" horiz-adv-x="1664" d="M1408 606v-318q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-10 -10 -23 -10q-3 0 -9 2q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832 q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v254q0 13 9 22l64 64q10 10 23 10q6 0 12 -3q20 -8 20 -29zM1639 1095l-814 -814q-24 -24 -57 -24t-57 24l-430 430q-24 24 -24 57t24 57l110 110q24 24 57 24t57 -24l263 -263l647 647q24 24 57 24t57 -24l110 -110 q24 -24 24 -57t-24 -57z" />-<glyph unicode="" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-384v-384h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v384h-384v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45 t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h384v384h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45t-19 -45t-45 -19h-128v-384h384v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />-<glyph unicode="" horiz-adv-x="1024" d="M979 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19z" />-<glyph unicode="" horiz-adv-x="1792" d="M1747 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19l710 710 q19 19 32 13t13 -32v-710q4 11 13 19z" />-<glyph unicode="" horiz-adv-x="1664" d="M1619 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-8 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-19 19 -19 45t19 45l710 710q19 19 32 13t13 -32v-710q5 11 13 19z" />-<glyph unicode="" horiz-adv-x="1408" d="M1384 609l-1328 -738q-23 -13 -39.5 -3t-16.5 36v1472q0 26 16.5 36t39.5 -3l1328 -738q23 -13 23 -31t-23 -31z" />-<glyph unicode="" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45zM640 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45z" />-<glyph unicode="" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1664" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q19 -19 19 -45t-19 -45l-710 -710q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />-<glyph unicode="" horiz-adv-x="1792" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19l-710 -710 q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />-<glyph unicode="" horiz-adv-x="1024" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19z" />-<glyph unicode="" horiz-adv-x="1538" d="M14 557l710 710q19 19 45 19t45 -19l710 -710q19 -19 13 -32t-32 -13h-1472q-26 0 -32 13t13 32zM1473 0h-1408q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19z" />-<glyph unicode="" horiz-adv-x="1280" d="M1171 1235l-531 -531l531 -531q19 -19 19 -45t-19 -45l-166 -166q-19 -19 -45 -19t-45 19l-742 742q-19 19 -19 45t19 45l742 742q19 19 45 19t45 -19l166 -166q19 -19 19 -45t-19 -45z" />-<glyph unicode="" horiz-adv-x="1280" d="M1107 659l-742 -742q-19 -19 -45 -19t-45 19l-166 166q-19 19 -19 45t19 45l531 531l-531 531q-19 19 -19 45t19 45l166 166q19 19 45 19t45 -19l742 -742q19 -19 19 -45t-19 -45z" />-<glyph unicode="" d="M1216 576v128q0 26 -19 45t-45 19h-256v256q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-256h-256q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h256v-256q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v256h256q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5 t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1216 576v128q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5 t103 -385.5z" />-<glyph unicode="" d="M1149 414q0 26 -19 45l-181 181l181 181q19 19 19 45q0 27 -19 46l-90 90q-19 19 -46 19q-26 0 -45 -19l-181 -181l-181 181q-19 19 -45 19q-27 0 -46 -19l-90 -90q-19 -19 -19 -46q0 -26 19 -45l181 -181l-181 -181q-19 -19 -19 -45q0 -27 19 -46l90 -90q19 -19 46 -19 q26 0 45 19l181 181l181 -181q19 -19 45 -19q27 0 46 19l90 90q19 19 19 46zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1284 802q0 28 -18 46l-91 90q-19 19 -45 19t-45 -19l-408 -407l-226 226q-19 19 -45 19t-45 -19l-91 -90q-18 -18 -18 -46q0 -27 18 -45l362 -362q19 -19 45 -19q27 0 46 19l543 543q18 18 18 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M896 160v192q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h192q14 0 23 9t9 23zM1152 832q0 88 -55.5 163t-138.5 116t-170 41q-243 0 -371 -213q-15 -24 8 -42l132 -100q7 -6 19 -6q16 0 25 12q53 68 86 92q34 24 86 24q48 0 85.5 -26t37.5 -59 q0 -38 -20 -61t-68 -45q-63 -28 -115.5 -86.5t-52.5 -125.5v-36q0 -14 9 -23t23 -9h192q14 0 23 9t9 23q0 19 21.5 49.5t54.5 49.5q32 18 49 28.5t46 35t44.5 48t28 60.5t12.5 81zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1024 160v160q0 14 -9 23t-23 9h-96v512q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h96v-320h-96q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h448q14 0 23 9t9 23zM896 1056v160q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23 t23 -9h192q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1197 512h-109q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h109q-32 108 -112.5 188.5t-188.5 112.5v-109q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v109q-108 -32 -188.5 -112.5t-112.5 -188.5h109q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-109 q32 -108 112.5 -188.5t188.5 -112.5v109q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-109q108 32 188.5 112.5t112.5 188.5zM1536 704v-128q0 -26 -19 -45t-45 -19h-143q-37 -161 -154.5 -278.5t-278.5 -154.5v-143q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v143 q-161 37 -278.5 154.5t-154.5 278.5h-143q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h143q37 161 154.5 278.5t278.5 154.5v143q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-143q161 -37 278.5 -154.5t154.5 -278.5h143q26 0 45 -19t19 -45z" />-<glyph unicode="" d="M1097 457l-146 -146q-10 -10 -23 -10t-23 10l-137 137l-137 -137q-10 -10 -23 -10t-23 10l-146 146q-10 10 -10 23t10 23l137 137l-137 137q-10 10 -10 23t10 23l146 146q10 10 23 10t23 -10l137 -137l137 137q10 10 23 10t23 -10l146 -146q10 -10 10 -23t-10 -23 l-137 -137l137 -137q10 -10 10 -23t-10 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5 t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1171 723l-422 -422q-19 -19 -45 -19t-45 19l-294 294q-19 19 -19 45t19 45l102 102q19 19 45 19t45 -19l147 -147l275 275q19 19 45 19t45 -19l102 -102q19 -19 19 -45t-19 -45zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198 t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1312 643q0 161 -87 295l-754 -753q137 -89 297 -89q111 0 211.5 43.5t173.5 116.5t116 174.5t43 212.5zM313 344l755 754q-135 91 -300 91q-148 0 -273 -73t-198 -199t-73 -274q0 -162 89 -299zM1536 643q0 -157 -61 -300t-163.5 -246t-245 -164t-298.5 -61t-298.5 61 t-245 164t-163.5 246t-61 300t61 299.5t163.5 245.5t245 164t298.5 61t298.5 -61t245 -164t163.5 -245.5t61 -299.5z" />-<glyph unicode="" d="M1536 640v-128q0 -53 -32.5 -90.5t-84.5 -37.5h-704l293 -294q38 -36 38 -90t-38 -90l-75 -76q-37 -37 -90 -37q-52 0 -91 37l-651 652q-37 37 -37 90q0 52 37 91l651 650q38 38 91 38q52 0 90 -38l75 -74q38 -38 38 -91t-38 -91l-293 -293h704q52 0 84.5 -37.5 t32.5 -90.5z" />-<glyph unicode="" d="M1472 576q0 -54 -37 -91l-651 -651q-39 -37 -91 -37q-51 0 -90 37l-75 75q-38 38 -38 91t38 91l293 293h-704q-52 0 -84.5 37.5t-32.5 90.5v128q0 53 32.5 90.5t84.5 37.5h704l-293 294q-38 36 -38 90t38 90l75 75q38 38 90 38q53 0 91 -38l651 -651q37 -35 37 -90z" />-<glyph unicode="" horiz-adv-x="1664" d="M1611 565q0 -51 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-294 293v-704q0 -52 -37.5 -84.5t-90.5 -32.5h-128q-53 0 -90.5 32.5t-37.5 84.5v704l-294 -293q-36 -38 -90 -38t-90 38l-75 75q-38 38 -38 90q0 53 38 91l651 651q35 37 90 37q54 0 91 -37l651 -651 q37 -39 37 -91z" />-<glyph unicode="" horiz-adv-x="1664" d="M1611 704q0 -53 -37 -90l-651 -652q-39 -37 -91 -37q-53 0 -90 37l-651 652q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l294 -294v704q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-704l294 294q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" />-<glyph unicode="" horiz-adv-x="1792" d="M1792 896q0 -26 -19 -45l-512 -512q-19 -19 -45 -19t-45 19t-19 45v256h-224q-98 0 -175.5 -6t-154 -21.5t-133 -42.5t-105.5 -69.5t-80 -101t-48.5 -138.5t-17.5 -181q0 -55 5 -123q0 -6 2.5 -23.5t2.5 -26.5q0 -15 -8.5 -25t-23.5 -10q-16 0 -28 17q-7 9 -13 22 t-13.5 30t-10.5 24q-127 285 -127 451q0 199 53 333q162 403 875 403h224v256q0 26 19 45t45 19t45 -19l512 -512q19 -19 19 -45z" />-<glyph unicode="" d="M755 480q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23zM1536 1344v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332 q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45z" />-<glyph unicode="" d="M768 576v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45zM1523 1248q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45 t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23z" />-<glyph unicode="" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-416v-416q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v416h-416q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h416v416q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-416h416q40 0 68 -28t28 -68z" />-<glyph unicode="" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-1216q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h1216q40 0 68 -28t28 -68z" />-<glyph unicode="" horiz-adv-x="1664" d="M1482 486q46 -26 59.5 -77.5t-12.5 -97.5l-64 -110q-26 -46 -77.5 -59.5t-97.5 12.5l-266 153v-307q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v307l-266 -153q-46 -26 -97.5 -12.5t-77.5 59.5l-64 110q-26 46 -12.5 97.5t59.5 77.5l266 154l-266 154 q-46 26 -59.5 77.5t12.5 97.5l64 110q26 46 77.5 59.5t97.5 -12.5l266 -153v307q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-307l266 153q46 26 97.5 12.5t77.5 -59.5l64 -110q26 -46 12.5 -97.5t-59.5 -77.5l-266 -154z" />-<glyph unicode="" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM896 161v190q0 14 -9 23.5t-22 9.5h-192q-13 0 -23 -10t-10 -23v-190q0 -13 10 -23t23 -10h192 q13 0 22 9.5t9 23.5zM894 505l18 621q0 12 -10 18q-10 8 -24 8h-220q-14 0 -24 -8q-10 -6 -10 -18l17 -621q0 -10 10 -17.5t24 -7.5h185q14 0 23.5 7.5t10.5 17.5z" />-<glyph unicode="" d="M928 180v56v468v192h-320v-192v-468v-56q0 -25 18 -38.5t46 -13.5h192q28 0 46 13.5t18 38.5zM472 1024h195l-126 161q-26 31 -69 31q-40 0 -68 -28t-28 -68t28 -68t68 -28zM1160 1120q0 40 -28 68t-68 28q-43 0 -69 -31l-125 -161h194q40 0 68 28t28 68zM1536 864v-320 q0 -14 -9 -23t-23 -9h-96v-416q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v416h-96q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h440q-93 0 -158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5q107 0 168 -77l128 -165l128 165q61 77 168 77q93 0 158.5 -65.5t65.5 -158.5 t-65.5 -158.5t-158.5 -65.5h440q14 0 23 -9t9 -23z" />-<glyph unicode="" horiz-adv-x="1792" d="M1280 832q0 26 -19 45t-45 19q-172 0 -318 -49.5t-259.5 -134t-235.5 -219.5q-19 -21 -19 -45q0 -26 19 -45t45 -19q24 0 45 19q27 24 74 71t67 66q137 124 268.5 176t313.5 52q26 0 45 19t19 45zM1792 1030q0 -95 -20 -193q-46 -224 -184.5 -383t-357.5 -268 q-214 -108 -438 -108q-148 0 -286 47q-15 5 -88 42t-96 37q-16 0 -39.5 -32t-45 -70t-52.5 -70t-60 -32q-30 0 -51 11t-31 24t-27 42q-2 4 -6 11t-5.5 10t-3 9.5t-1.5 13.5q0 35 31 73.5t68 65.5t68 56t31 48q0 4 -14 38t-16 44q-9 51 -9 104q0 115 43.5 220t119 184.5 t170.5 139t204 95.5q55 18 145 25.5t179.5 9t178.5 6t163.5 24t113.5 56.5l29.5 29.5t29.5 28t27 20t36.5 16t43.5 4.5q39 0 70.5 -46t47.5 -112t24 -124t8 -96z" />-<glyph unicode="" horiz-adv-x="1408" d="M1408 -160v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1152 896q0 -78 -24.5 -144t-64 -112.5t-87.5 -88t-96 -77.5t-87.5 -72t-64 -81.5t-24.5 -96.5q0 -96 67 -224l-4 1l1 -1 q-90 41 -160 83t-138.5 100t-113.5 122.5t-72.5 150.5t-27.5 184q0 78 24.5 144t64 112.5t87.5 88t96 77.5t87.5 72t64 81.5t24.5 96.5q0 94 -66 224l3 -1l-1 1q90 -41 160 -83t138.5 -100t113.5 -122.5t72.5 -150.5t27.5 -184z" />-<glyph unicode="" horiz-adv-x="1792" d="M1664 576q-152 236 -381 353q61 -104 61 -225q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 121 61 225q-229 -117 -381 -353q133 -205 333.5 -326.5t434.5 -121.5t434.5 121.5t333.5 326.5zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5 t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1792 576q0 -34 -20 -69q-140 -230 -376.5 -368.5t-499.5 -138.5t-499.5 139t-376.5 368q-20 35 -20 69t20 69q140 229 376.5 368t499.5 139t499.5 -139t376.5 -368q20 -35 20 -69z" />-<glyph unicode="" horiz-adv-x="1792" d="M555 201l78 141q-87 63 -136 159t-49 203q0 121 61 225q-229 -117 -381 -353q167 -258 427 -375zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1307 1151q0 -7 -1 -9 q-105 -188 -315 -566t-316 -567l-49 -89q-10 -16 -28 -16q-12 0 -134 70q-16 10 -16 28q0 12 44 87q-143 65 -263.5 173t-208.5 245q-20 31 -20 69t20 69q153 235 380 371t496 136q89 0 180 -17l54 97q10 16 28 16q5 0 18 -6t31 -15.5t33 -18.5t31.5 -18.5t19.5 -11.5 q16 -10 16 -27zM1344 704q0 -139 -79 -253.5t-209 -164.5l280 502q8 -45 8 -84zM1792 576q0 -35 -20 -69q-39 -64 -109 -145q-150 -172 -347.5 -267t-419.5 -95l74 132q212 18 392.5 137t301.5 307q-115 179 -282 294l63 112q95 -64 182.5 -153t144.5 -184q20 -34 20 -69z " />-<glyph unicode="" horiz-adv-x="1792" d="M1024 161v190q0 14 -9.5 23.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -23.5v-190q0 -14 9.5 -23.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 23.5zM1022 535l18 459q0 12 -10 19q-13 11 -24 11h-220q-11 0 -24 -11q-10 -7 -10 -21l17 -457q0 -10 10 -16.5t24 -6.5h185 q14 0 23.5 6.5t10.5 16.5zM1008 1469l768 -1408q35 -63 -2 -126q-17 -29 -46.5 -46t-63.5 -17h-1536q-34 0 -63.5 17t-46.5 46q-37 63 -2 126l768 1408q17 31 47 49t65 18t65 -18t47 -49z" />-<glyph unicode="" horiz-adv-x="1408" d="M1376 1376q44 -52 12 -148t-108 -172l-161 -161l160 -696q5 -19 -12 -33l-128 -96q-7 -6 -19 -6q-4 0 -7 1q-15 3 -21 16l-279 508l-259 -259l53 -194q5 -17 -8 -31l-96 -96q-9 -9 -23 -9h-2q-15 2 -24 13l-189 252l-252 189q-11 7 -13 23q-1 13 9 25l96 97q9 9 23 9 q6 0 8 -1l194 -53l259 259l-508 279q-14 8 -17 24q-2 16 9 27l128 128q14 13 30 8l665 -159l160 160q76 76 172 108t148 -12z" />-<glyph unicode="" horiz-adv-x="1664" d="M128 -128h288v288h-288v-288zM480 -128h320v288h-320v-288zM128 224h288v320h-288v-320zM480 224h320v320h-320v-320zM128 608h288v288h-288v-288zM864 -128h320v288h-320v-288zM480 608h320v288h-320v-288zM1248 -128h288v288h-288v-288zM864 224h320v320h-320v-320z M512 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1248 224h288v320h-288v-320zM864 608h320v288h-320v-288zM1248 608h288v288h-288v-288zM1280 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64 q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1664 1152v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47 h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />-<glyph unicode="" horiz-adv-x="1792" d="M666 1055q-60 -92 -137 -273q-22 45 -37 72.5t-40.5 63.5t-51 56.5t-63 35t-81.5 14.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q250 0 410 -225zM1792 256q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192q-32 0 -85 -0.5t-81 -1t-73 1 t-71 5t-64 10.5t-63 18.5t-58 28.5t-59 40t-55 53.5t-56 69.5q59 93 136 273q22 -45 37 -72.5t40.5 -63.5t51 -56.5t63 -35t81.5 -14.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1792 1152q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5 v192h-256q-48 0 -87 -15t-69 -45t-51 -61.5t-45 -77.5q-32 -62 -78 -171q-29 -66 -49.5 -111t-54 -105t-64 -100t-74 -83t-90 -68.5t-106.5 -42t-128 -16.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q48 0 87 15t69 45t51 61.5t45 77.5q32 62 78 171q29 66 49.5 111 t54 105t64 100t74 83t90 68.5t106.5 42t128 16.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />-<glyph unicode="" horiz-adv-x="1792" d="M1792 640q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22q-17 -2 -30.5 9t-17.5 29v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281 q0 130 71 248.5t191 204.5t286 136.5t348 50.5q244 0 450 -85.5t326 -233t120 -321.5z" />-<glyph unicode="" d="M1536 704v-128q0 -201 -98.5 -362t-274 -251.5t-395.5 -90.5t-395.5 90.5t-274 251.5t-98.5 362v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-128q0 -52 23.5 -90t53.5 -57t71 -30t64 -13t44 -2t44 2t64 13t71 30t53.5 57t23.5 90v128q0 26 19 45t45 19h384 q26 0 45 -19t19 -45zM512 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45zM1536 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1792" d="M1683 205l-166 -165q-19 -19 -45 -19t-45 19l-531 531l-531 -531q-19 -19 -45 -19t-45 19l-166 165q-19 19 -19 45.5t19 45.5l742 741q19 19 45 19t45 -19l742 -741q19 -19 19 -45.5t-19 -45.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M1683 728l-742 -741q-19 -19 -45 -19t-45 19l-742 741q-19 19 -19 45.5t19 45.5l166 165q19 19 45 19t45 -19l531 -531l531 531q19 19 45 19t45 -19l166 -165q19 -19 19 -45.5t-19 -45.5z" />-<glyph unicode="" horiz-adv-x="1920" d="M1280 32q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-8 0 -13.5 2t-9 7t-5.5 8t-3 11.5t-1 11.5v13v11v160v416h-192q-26 0 -45 19t-19 45q0 24 15 41l320 384q19 22 49 22t49 -22l320 -384q15 -17 15 -41q0 -26 -19 -45t-45 -19h-192v-384h576q16 0 25 -11l160 -192q7 -11 7 -21 zM1920 448q0 -24 -15 -41l-320 -384q-20 -23 -49 -23t-49 23l-320 384q-15 17 -15 41q0 26 19 45t45 19h192v384h-576q-16 0 -25 12l-160 192q-7 9 -7 20q0 13 9.5 22.5t22.5 9.5h960q8 0 13.5 -2t9 -7t5.5 -8t3 -11.5t1 -11.5v-13v-11v-160v-416h192q26 0 45 -19t19 -45z " />-<glyph unicode="" horiz-adv-x="1664" d="M640 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1536 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1664 1088v-512q0 -24 -16 -42.5t-41 -21.5 l-1044 -122q1 -7 4.5 -21.5t6 -26.5t2.5 -22q0 -16 -24 -64h920q26 0 45 -19t19 -45t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 14 11 39.5t29.5 59.5t20.5 38l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t20 -15.5t13 -24.5t7.5 -26.5 t5.5 -29.5t4.5 -25.5h1201q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1664" d="M1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />-<glyph unicode="" horiz-adv-x="1920" d="M1879 584q0 -31 -31 -66l-336 -396q-43 -51 -120.5 -86.5t-143.5 -35.5h-1088q-34 0 -60.5 13t-26.5 43q0 31 31 66l336 396q43 51 120.5 86.5t143.5 35.5h1088q34 0 60.5 -13t26.5 -43zM1536 928v-160h-832q-94 0 -197 -47.5t-164 -119.5l-337 -396l-5 -6q0 4 -0.5 12.5 t-0.5 12.5v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158z" />-<glyph unicode="" horiz-adv-x="768" d="M704 1216q0 -26 -19 -45t-45 -19h-128v-1024h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v1024h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45z" />-<glyph unicode="" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-1024v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h1024v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />-<glyph unicode="" horiz-adv-x="2048" d="M640 640v-512h-256v512h256zM1024 1152v-1024h-256v1024h256zM2048 0v-128h-2048v1536h128v-1408h1920zM1408 896v-768h-256v768h256zM1792 1280v-1152h-256v1152h256z" />-<glyph unicode="" d="M1280 926q-56 -25 -121 -34q68 40 93 117q-65 -38 -134 -51q-61 66 -153 66q-87 0 -148.5 -61.5t-61.5 -148.5q0 -29 5 -48q-129 7 -242 65t-192 155q-29 -50 -29 -106q0 -114 91 -175q-47 1 -100 26v-2q0 -75 50 -133.5t123 -72.5q-29 -8 -51 -8q-13 0 -39 4 q21 -63 74.5 -104t121.5 -42q-116 -90 -261 -90q-26 0 -50 3q148 -94 322 -94q112 0 210 35.5t168 95t120.5 137t75 162t24.5 168.5q0 18 -1 27q63 45 105 109zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5 t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" d="M1536 160q0 -119 -84.5 -203.5t-203.5 -84.5h-192v608h203l30 224h-233v143q0 54 28 83t96 29l132 1v207q-96 9 -180 9q-136 0 -218 -80.5t-82 -225.5v-166h-224v-224h224v-608h-544q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960 q119 0 203.5 -84.5t84.5 -203.5v-960z" />-<glyph unicode="" horiz-adv-x="1792" d="M928 704q0 14 -9 23t-23 9q-66 0 -113 -47t-47 -113q0 -14 9 -23t23 -9t23 9t9 23q0 40 28 68t68 28q14 0 23 9t9 23zM1152 574q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM128 0h1536v128h-1536v-128zM1280 574q0 159 -112.5 271.5 t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM256 1216h384v128h-384v-128zM128 1024h1536v118v138h-828l-64 -128h-644v-128zM1792 1280v-1280q0 -53 -37.5 -90.5t-90.5 -37.5h-1536q-53 0 -90.5 37.5t-37.5 90.5v1280 q0 53 37.5 90.5t90.5 37.5h1536q53 0 90.5 -37.5t37.5 -90.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M832 1024q0 80 -56 136t-136 56t-136 -56t-56 -136q0 -42 19 -83q-41 19 -83 19q-80 0 -136 -56t-56 -136t56 -136t136 -56t136 56t56 136q0 42 -19 83q41 -19 83 -19q80 0 136 56t56 136zM1683 320q0 -17 -49 -66t-66 -49q-9 0 -28.5 16t-36.5 33t-38.5 40t-24.5 26 l-96 -96l220 -220q28 -28 28 -68q0 -42 -39 -81t-81 -39q-40 0 -68 28l-671 671q-176 -131 -365 -131q-163 0 -265.5 102.5t-102.5 265.5q0 160 95 313t248 248t313 95q163 0 265.5 -102.5t102.5 -265.5q0 -189 -131 -365l355 -355l96 96q-3 3 -26 24.5t-40 38.5t-33 36.5 t-16 28.5q0 17 49 66t66 49q13 0 23 -10q6 -6 46 -44.5t82 -79.5t86.5 -86t73 -78t28.5 -41z" />-<glyph unicode="" horiz-adv-x="1920" d="M896 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1664 128q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1152q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1280 731v-185q0 -10 -7 -19.5t-16 -10.5l-155 -24q-11 -35 -32 -76q34 -48 90 -115q7 -10 7 -20q0 -12 -7 -19q-23 -30 -82.5 -89.5t-78.5 -59.5q-11 0 -21 7l-115 90q-37 -19 -77 -31q-11 -108 -23 -155q-7 -24 -30 -24h-186q-11 0 -20 7.5t-10 17.5 l-23 153q-34 10 -75 31l-118 -89q-7 -7 -20 -7q-11 0 -21 8q-144 133 -144 160q0 9 7 19q10 14 41 53t47 61q-23 44 -35 82l-152 24q-10 1 -17 9.5t-7 19.5v185q0 10 7 19.5t16 10.5l155 24q11 35 32 76q-34 48 -90 115q-7 11 -7 20q0 12 7 20q22 30 82 89t79 59q11 0 21 -7 l115 -90q34 18 77 32q11 108 23 154q7 24 30 24h186q11 0 20 -7.5t10 -17.5l23 -153q34 -10 75 -31l118 89q8 7 20 7q11 0 21 -8q144 -133 144 -160q0 -9 -7 -19q-12 -16 -42 -54t-45 -60q23 -48 34 -82l152 -23q10 -2 17 -10.5t7 -19.5zM1920 198v-140q0 -16 -149 -31 q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20 t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31zM1920 1222v-140q0 -16 -149 -31q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68 q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70 q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31z" />-<glyph unicode="" horiz-adv-x="1792" d="M1408 768q0 -139 -94 -257t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224 q0 139 94 257t256.5 186.5t353.5 68.5t353.5 -68.5t256.5 -186.5t94 -257zM1792 512q0 -120 -71 -224.5t-195 -176.5q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7 q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230z" />-<glyph unicode="" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 768q0 51 -39 89.5t-89 38.5h-352q0 58 48 159.5t48 160.5q0 98 -32 145t-128 47q-26 -26 -38 -85t-30.5 -125.5t-59.5 -109.5q-22 -23 -77 -91q-4 -5 -23 -30t-31.5 -41t-34.5 -42.5 t-40 -44t-38.5 -35.5t-40 -27t-35.5 -9h-32v-640h32q13 0 31.5 -3t33 -6.5t38 -11t35 -11.5t35.5 -12.5t29 -10.5q211 -73 342 -73h121q192 0 192 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5q32 1 53.5 47t21.5 81zM1536 769 q0 -89 -49 -163q9 -33 9 -69q0 -77 -38 -144q3 -21 3 -43q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5h-36h-93q-96 0 -189.5 22.5t-216.5 65.5q-116 40 -138 40h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h274q36 24 137 155q58 75 107 128 q24 25 35.5 85.5t30.5 126.5t62 108q39 37 90 37q84 0 151 -32.5t102 -101.5t35 -186q0 -93 -48 -192h176q104 0 180 -76t76 -179z" />-<glyph unicode="" d="M256 1088q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 512q0 35 -21.5 81t-53.5 47q15 17 25 47.5t10 55.5q0 69 -53 119q18 32 18 69t-17.5 73.5t-47.5 52.5q5 30 5 56q0 85 -49 126t-136 41h-128q-131 0 -342 -73q-5 -2 -29 -10.5 t-35.5 -12.5t-35 -11.5t-38 -11t-33 -6.5t-31.5 -3h-32v-640h32q16 0 35.5 -9t40 -27t38.5 -35.5t40 -44t34.5 -42.5t31.5 -41t23 -30q55 -68 77 -91q41 -43 59.5 -109.5t30.5 -125.5t38 -85q96 0 128 47t32 145q0 59 -48 160.5t-48 159.5h352q50 0 89 38.5t39 89.5z M1536 511q0 -103 -76 -179t-180 -76h-176q48 -99 48 -192q0 -118 -35 -186q-35 -69 -102 -101.5t-151 -32.5q-51 0 -90 37q-34 33 -54 82t-25.5 90.5t-17.5 84.5t-31 64q-48 50 -107 127q-101 131 -137 155h-274q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5 h288q22 0 138 40q128 44 223 66t200 22h112q140 0 226.5 -79t85.5 -216v-5q60 -77 60 -178q0 -22 -3 -43q38 -67 38 -144q0 -36 -9 -69q49 -74 49 -163z" />-<glyph unicode="" horiz-adv-x="896" d="M832 1504v-1339l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41z" />-<glyph unicode="" horiz-adv-x="1792" d="M1664 940q0 81 -21.5 143t-55 98.5t-81.5 59.5t-94 31t-98 8t-112 -25.5t-110.5 -64t-86.5 -72t-60 -61.5q-18 -22 -49 -22t-49 22q-24 28 -60 61.5t-86.5 72t-110.5 64t-112 25.5t-98 -8t-94 -31t-81.5 -59.5t-55 -98.5t-21.5 -143q0 -168 187 -355l581 -560l580 559 q188 188 188 356zM1792 940q0 -221 -229 -450l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5 q224 0 351 -124t127 -344z" />-<glyph unicode="" horiz-adv-x="1664" d="M640 96q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h320q13 0 22.5 -9.5t9.5 -22.5q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-66 0 -113 -47t-47 -113v-704 q0 -66 47 -113t113 -47h288h11h13t11.5 -1t11.5 -3t8 -5.5t7 -9t2 -13.5zM1568 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45z" />-<glyph unicode="" d="M237 122h231v694h-231v-694zM483 1030q-1 52 -36 86t-93 34t-94.5 -34t-36.5 -86q0 -51 35.5 -85.5t92.5 -34.5h1q59 0 95 34.5t36 85.5zM1068 122h231v398q0 154 -73 233t-193 79q-136 0 -209 -117h2v101h-231q3 -66 0 -694h231v388q0 38 7 56q15 35 45 59.5t74 24.5 q116 0 116 -157v-371zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="1152" d="M480 672v448q0 14 -9 23t-23 9t-23 -9t-9 -23v-448q0 -14 9 -23t23 -9t23 9t9 23zM1152 320q0 -26 -19 -45t-45 -19h-429l-51 -483q-2 -12 -10.5 -20.5t-20.5 -8.5h-1q-27 0 -32 27l-76 485h-404q-26 0 -45 19t-19 45q0 123 78.5 221.5t177.5 98.5v512q-52 0 -90 38 t-38 90t38 90t90 38h640q52 0 90 -38t38 -90t-38 -90t-90 -38v-512q99 0 177.5 -98.5t78.5 -221.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M1408 608v-320q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v320 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1792 1472v-512q0 -26 -19 -45t-45 -19t-45 19l-176 176l-652 -652q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l652 652l-176 176q-19 19 -19 45t19 45t45 19h512q26 0 45 -19t19 -45z" />-<glyph unicode="" d="M1184 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45zM1536 992v-704q0 -119 -84.5 -203.5t-203.5 -84.5h-320q-13 0 -22.5 9.5t-9.5 22.5 q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q66 0 113 47t47 113v704q0 66 -47 113t-113 47h-288h-11h-13t-11.5 1t-11.5 3t-8 5.5t-7 9t-2 13.5q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="1664" d="M458 653q-74 162 -74 371h-256v-96q0 -78 94.5 -162t235.5 -113zM1536 928v96h-256q0 -209 -74 -371q141 29 235.5 113t94.5 162zM1664 1056v-128q0 -71 -41.5 -143t-112 -130t-173 -97.5t-215.5 -44.5q-42 -54 -95 -95q-38 -34 -52.5 -72.5t-14.5 -89.5q0 -54 30.5 -91 t97.5 -37q75 0 133.5 -45.5t58.5 -114.5v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 69 58.5 114.5t133.5 45.5q67 0 97.5 37t30.5 91q0 51 -14.5 89.5t-52.5 72.5q-53 41 -95 95q-113 5 -215.5 44.5t-173 97.5t-112 130t-41.5 143v128q0 40 28 68t68 28h288v96 q0 66 47 113t113 47h576q66 0 113 -47t47 -113v-96h288q40 0 68 -28t28 -68z" />-<glyph unicode="" d="M394 184q-8 -9 -20 3q-13 11 -4 19q8 9 20 -3q12 -11 4 -19zM352 245q9 -12 0 -19q-8 -6 -17 7t0 18q9 7 17 -6zM291 305q-5 -7 -13 -2q-10 5 -7 12q3 5 13 2q10 -5 7 -12zM322 271q-6 -7 -16 3q-9 11 -2 16q6 6 16 -3q9 -11 2 -16zM451 159q-4 -12 -19 -6q-17 4 -13 15 t19 7q16 -5 13 -16zM514 154q0 -11 -16 -11q-17 -2 -17 11q0 11 16 11q17 2 17 -11zM572 164q2 -10 -14 -14t-18 8t14 15q16 2 18 -9zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-224q-16 0 -24.5 1t-19.5 5t-16 14.5t-5 27.5v239q0 97 -52 142q57 6 102.5 18t94 39 t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103 q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -103t0.5 -68q0 -22 -11 -33.5t-22 -13t-33 -1.5 h-224q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="1664" d="M1280 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 288v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h427q21 -56 70.5 -92 t110.5 -36h256q61 0 110.5 36t70.5 92h427q40 0 68 -28t28 -68zM1339 936q-17 -40 -59 -40h-256v-448q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v448h-256q-42 0 -59 40q-17 39 14 69l448 448q18 19 45 19t45 -19l448 -448q31 -30 14 -69z" />-<glyph unicode="" d="M1407 710q0 44 -7 113.5t-18 96.5q-12 30 -17 44t-9 36.5t-4 48.5q0 23 5 68.5t5 67.5q0 37 -10 55q-4 1 -13 1q-19 0 -58 -4.5t-59 -4.5q-60 0 -176 24t-175 24q-43 0 -94.5 -11.5t-85 -23.5t-89.5 -34q-137 -54 -202 -103q-96 -73 -159.5 -189.5t-88 -236t-24.5 -248.5 q0 -40 12.5 -120t12.5 -121q0 -23 -11 -66.5t-11 -65.5t12 -36.5t34 -14.5q24 0 72.5 11t73.5 11q57 0 169.5 -15.5t169.5 -15.5q181 0 284 36q129 45 235.5 152.5t166 245.5t59.5 275zM1535 712q0 -165 -70 -327.5t-196 -288t-281 -180.5q-124 -44 -326 -44 q-57 0 -170 14.5t-169 14.5q-24 0 -72.5 -14.5t-73.5 -14.5q-73 0 -123.5 55.5t-50.5 128.5q0 24 11 68t11 67q0 40 -12.5 120.5t-12.5 121.5q0 111 18 217.5t54.5 209.5t100.5 194t150 156q78 59 232 120q194 78 316 78q60 0 175.5 -24t173.5 -24q19 0 57 5t58 5 q81 0 118 -50.5t37 -134.5q0 -23 -5 -68t-5 -68q0 -10 1 -18.5t3 -17t4 -13.5t6.5 -16t6.5 -17q16 -40 25 -118.5t9 -136.5z" />-<glyph unicode="" horiz-adv-x="1408" d="M1408 296q0 -27 -10 -70.5t-21 -68.5q-21 -50 -122 -106q-94 -51 -186 -51q-27 0 -52.5 3.5t-57.5 12.5t-47.5 14.5t-55.5 20.5t-49 18q-98 35 -175 83q-128 79 -264.5 215.5t-215.5 264.5q-48 77 -83 175q-3 9 -18 49t-20.5 55.5t-14.5 47.5t-12.5 57.5t-3.5 52.5 q0 92 51 186q56 101 106 122q25 11 68.5 21t70.5 10q14 0 21 -3q18 -6 53 -76q11 -19 30 -54t35 -63.5t31 -53.5q3 -4 17.5 -25t21.5 -35.5t7 -28.5q0 -20 -28.5 -50t-62 -55t-62 -53t-28.5 -46q0 -9 5 -22.5t8.5 -20.5t14 -24t11.5 -19q76 -137 174 -235t235 -174 q2 -1 19 -11.5t24 -14t20.5 -8.5t22.5 -5q18 0 46 28.5t53 62t55 62t50 28.5q14 0 28.5 -7t35.5 -21.5t25 -17.5q25 -15 53.5 -31t63.5 -35t54 -30q70 -35 76 -53q3 -7 3 -21z" />-<glyph unicode="" horiz-adv-x="1408" d="M1120 1280h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v832q0 66 -47 113t-113 47zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="1280" d="M1152 1280h-1024v-1242l423 406l89 85l89 -85l423 -406v1242zM1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289 q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />-<glyph unicode="" d="M1280 343q0 11 -2 16q-3 8 -38.5 29.5t-88.5 49.5l-53 29q-5 3 -19 13t-25 15t-21 5q-18 0 -47 -32.5t-57 -65.5t-44 -33q-7 0 -16.5 3.5t-15.5 6.5t-17 9.5t-14 8.5q-99 55 -170.5 126.5t-126.5 170.5q-2 3 -8.5 14t-9.5 17t-6.5 15.5t-3.5 16.5q0 13 20.5 33.5t45 38.5 t45 39.5t20.5 36.5q0 10 -5 21t-15 25t-13 19q-3 6 -15 28.5t-25 45.5t-26.5 47.5t-25 40.5t-16.5 18t-16 2q-48 0 -101 -22q-46 -21 -80 -94.5t-34 -130.5q0 -16 2.5 -34t5 -30.5t9 -33t10 -29.5t12.5 -33t11 -30q60 -164 216.5 -320.5t320.5 -216.5q6 -2 30 -11t33 -12.5 t29.5 -10t33 -9t30.5 -5t34 -2.5q57 0 130.5 34t94.5 80q22 53 22 101zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="1664" d="M1620 1128q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41 q-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50z" />-<glyph unicode="" horiz-adv-x="1024" d="M959 1524v-264h-157q-86 0 -116 -36t-30 -108v-189h293l-39 -296h-254v-759h-306v759h-255v296h255v218q0 186 104 288.5t277 102.5q147 0 228 -12z" />-<glyph unicode="" d="M1536 640q0 -251 -146.5 -451.5t-378.5 -277.5q-27 -5 -39.5 7t-12.5 30v211q0 97 -52 142q57 6 102.5 18t94 39t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5 q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23 q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -89t0.5 -54q0 -18 -13 -30t-40 -7q-232 77 -378.5 277.5t-146.5 451.5q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" horiz-adv-x="1664" d="M1664 960v-256q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45v256q0 106 -75 181t-181 75t-181 -75t-75 -181v-192h96q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h672v192q0 185 131.5 316.5t316.5 131.5 t316.5 -131.5t131.5 -316.5z" />-<glyph unicode="" horiz-adv-x="1920" d="M1760 1408q66 0 113 -47t47 -113v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600zM160 1280q-13 0 -22.5 -9.5t-9.5 -22.5v-224h1664v224q0 13 -9.5 22.5t-22.5 9.5h-1600zM1760 0q13 0 22.5 9.5t9.5 22.5v608h-1664v-608 q0 -13 9.5 -22.5t22.5 -9.5h1600zM256 128v128h256v-128h-256zM640 128v128h384v-128h-384z" />-<glyph unicode="" horiz-adv-x="1408" d="M384 192q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 69q2 -28 -17 -48q-18 -21 -47 -21h-135q-25 0 -43 16.5t-20 41.5q-22 229 -184.5 391.5t-391.5 184.5q-25 2 -41.5 20t-16.5 43v135q0 29 21 47q17 17 43 17h5q160 -13 306 -80.5 t259 -181.5q114 -113 181.5 -259t80.5 -306zM1408 67q2 -27 -18 -47q-18 -20 -46 -20h-143q-26 0 -44.5 17.5t-19.5 42.5q-12 215 -101 408.5t-231.5 336t-336 231.5t-408.5 102q-25 1 -42.5 19.5t-17.5 43.5v143q0 28 20 46q18 18 44 18h3q262 -13 501.5 -120t425.5 -294 q187 -186 294 -425.5t120 -501.5z" />-<glyph unicode="" d="M1040 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1296 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1408 160v320q0 13 -9.5 22.5t-22.5 9.5 h-1216q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h1216q13 0 22.5 9.5t9.5 22.5zM178 640h1180l-157 482q-4 13 -16 21.5t-26 8.5h-782q-14 0 -26 -8.5t-16 -21.5zM1536 480v-320q0 -66 -47 -113t-113 -47h-1216q-66 0 -113 47t-47 113v320q0 25 16 75 l197 606q17 53 63 86t101 33h782q55 0 101 -33t63 -86l197 -606q16 -50 16 -75z" />-<glyph unicode="" horiz-adv-x="1792" d="M1664 896q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5v-384q0 -52 -38 -90t-90 -38q-417 347 -812 380q-58 -19 -91 -66t-31 -100.5t40 -92.5q-20 -33 -23 -65.5t6 -58t33.5 -55t48 -50t61.5 -50.5q-29 -58 -111.5 -83t-168.5 -11.5t-132 55.5q-7 23 -29.5 87.5 t-32 94.5t-23 89t-15 101t3.5 98.5t22 110.5h-122q-66 0 -113 47t-47 113v192q0 66 47 113t113 47h480q435 0 896 384q52 0 90 -38t38 -90v-384zM1536 292v954q-394 -302 -768 -343v-270q377 -42 768 -341z" />-<glyph unicode="" horiz-adv-x="1792" d="M912 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM246 128h1300q-266 300 -266 832q0 51 -24 105t-69 103t-121.5 80.5t-169.5 31.5t-169.5 -31.5t-121.5 -80.5t-69 -103t-24 -105q0 -532 -266 -832z M1728 128q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q50 42 91 88t85 119.5t74.5 158.5t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q190 -28 307 -158.5 t117 -282.5q0 -139 19.5 -260t50 -206t74.5 -158.5t85 -119.5t91 -88z" />-<glyph unicode="" d="M1376 640l138 -135q30 -28 20 -70q-12 -41 -52 -51l-188 -48l53 -186q12 -41 -19 -70q-29 -31 -70 -19l-186 53l-48 -188q-10 -40 -51 -52q-12 -2 -19 -2q-31 0 -51 22l-135 138l-135 -138q-28 -30 -70 -20q-41 11 -51 52l-48 188l-186 -53q-41 -12 -70 19q-31 29 -19 70 l53 186l-188 48q-40 10 -52 51q-10 42 20 70l138 135l-138 135q-30 28 -20 70q12 41 52 51l188 48l-53 186q-12 41 19 70q29 31 70 19l186 -53l48 188q10 41 51 51q41 12 70 -19l135 -139l135 139q29 30 70 19q41 -10 51 -51l48 -188l186 53q41 12 70 -19q31 -29 19 -70 l-53 -186l188 -48q40 -10 52 -51q10 -42 -20 -70z" />-<glyph unicode="" horiz-adv-x="1792" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 768q0 51 -39 89.5t-89 38.5h-576q0 20 15 48.5t33 55t33 68t15 84.5q0 67 -44.5 97.5t-115.5 30.5q-24 0 -90 -139q-24 -44 -37 -65q-40 -64 -112 -145q-71 -81 -101 -106 q-69 -57 -140 -57h-32v-640h32q72 0 167 -32t193.5 -64t179.5 -32q189 0 189 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5h331q52 0 90 38t38 90zM1792 769q0 -105 -75.5 -181t-180.5 -76h-169q-4 -62 -37 -119q3 -21 3 -43 q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5q-133 0 -322 69q-164 59 -223 59h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h288q10 0 21.5 4.5t23.5 14t22.5 18t24 22.5t20.5 21.5t19 21.5t14 17q65 74 100 129q13 21 33 62t37 72t40.5 63t55 49.5 t69.5 17.5q125 0 206.5 -67t81.5 -189q0 -68 -22 -128h374q104 0 180 -76t76 -179z" />-<glyph unicode="" horiz-adv-x="1792" d="M1376 128h32v640h-32q-35 0 -67.5 12t-62.5 37t-50 46t-49 54q-2 3 -3.5 4.5t-4 4.5t-4.5 5q-72 81 -112 145q-14 22 -38 68q-1 3 -10.5 22.5t-18.5 36t-20 35.5t-21.5 30.5t-18.5 11.5q-71 0 -115.5 -30.5t-44.5 -97.5q0 -43 15 -84.5t33 -68t33 -55t15 -48.5h-576 q-50 0 -89 -38.5t-39 -89.5q0 -52 38 -90t90 -38h331q-15 -17 -25 -47.5t-10 -55.5q0 -69 53 -119q-18 -32 -18 -69t17.5 -73.5t47.5 -52.5q-4 -24 -4 -56q0 -85 48.5 -126t135.5 -41q84 0 183 32t194 64t167 32zM1664 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45 t45 -19t45 19t19 45zM1792 768v-640q0 -53 -37.5 -90.5t-90.5 -37.5h-288q-59 0 -223 -59q-190 -69 -317 -69q-142 0 -230 77.5t-87 217.5l1 5q-61 76 -61 178q0 22 3 43q-33 57 -37 119h-169q-105 0 -180.5 76t-75.5 181q0 103 76 179t180 76h374q-22 60 -22 128 q0 122 81.5 189t206.5 67q38 0 69.5 -17.5t55 -49.5t40.5 -63t37 -72t33 -62q35 -55 100 -129q2 -3 14 -17t19 -21.5t20.5 -21.5t24 -22.5t22.5 -18t23.5 -14t21.5 -4.5h288q53 0 90.5 -37.5t37.5 -90.5z" />-<glyph unicode="" d="M1280 -64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 700q0 189 -167 189q-26 0 -56 -5q-16 30 -52.5 47.5t-73.5 17.5t-69 -18q-50 53 -119 53q-25 0 -55.5 -10t-47.5 -25v331q0 52 -38 90t-90 38q-51 0 -89.5 -39t-38.5 -89v-576 q-20 0 -48.5 15t-55 33t-68 33t-84.5 15q-67 0 -97.5 -44.5t-30.5 -115.5q0 -24 139 -90q44 -24 65 -37q64 -40 145 -112q81 -71 106 -101q57 -69 57 -140v-32h640v32q0 72 32 167t64 193.5t32 179.5zM1536 705q0 -133 -69 -322q-59 -164 -59 -223v-288q0 -53 -37.5 -90.5 t-90.5 -37.5h-640q-53 0 -90.5 37.5t-37.5 90.5v288q0 10 -4.5 21.5t-14 23.5t-18 22.5t-22.5 24t-21.5 20.5t-21.5 19t-17 14q-74 65 -129 100q-21 13 -62 33t-72 37t-63 40.5t-49.5 55t-17.5 69.5q0 125 67 206.5t189 81.5q68 0 128 -22v374q0 104 76 180t179 76 q105 0 181 -75.5t76 -180.5v-169q62 -4 119 -37q21 3 43 3q101 0 178 -60q139 1 219.5 -85t80.5 -227z" />-<glyph unicode="" d="M1408 576q0 84 -32 183t-64 194t-32 167v32h-640v-32q0 -35 -12 -67.5t-37 -62.5t-46 -50t-54 -49q-9 -8 -14 -12q-81 -72 -145 -112q-22 -14 -68 -38q-3 -1 -22.5 -10.5t-36 -18.5t-35.5 -20t-30.5 -21.5t-11.5 -18.5q0 -71 30.5 -115.5t97.5 -44.5q43 0 84.5 15t68 33 t55 33t48.5 15v-576q0 -50 38.5 -89t89.5 -39q52 0 90 38t38 90v331q46 -35 103 -35q69 0 119 53q32 -18 69 -18t73.5 17.5t52.5 47.5q24 -4 56 -4q85 0 126 48.5t41 135.5zM1280 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 580 q0 -142 -77.5 -230t-217.5 -87l-5 1q-76 -61 -178 -61q-22 0 -43 3q-54 -30 -119 -37v-169q0 -105 -76 -180.5t-181 -75.5q-103 0 -179 76t-76 180v374q-54 -22 -128 -22q-121 0 -188.5 81.5t-67.5 206.5q0 38 17.5 69.5t49.5 55t63 40.5t72 37t62 33q55 35 129 100 q3 2 17 14t21.5 19t21.5 20.5t22.5 24t18 22.5t14 23.5t4.5 21.5v288q0 53 37.5 90.5t90.5 37.5h640q53 0 90.5 -37.5t37.5 -90.5v-288q0 -59 59 -223q69 -190 69 -317z" />-<glyph unicode="" d="M1280 576v128q0 26 -19 45t-45 19h-502l189 189q19 19 19 45t-19 45l-91 91q-18 18 -45 18t-45 -18l-362 -362l-91 -91q-18 -18 -18 -45t18 -45l91 -91l362 -362q18 -18 45 -18t45 18l91 91q18 18 18 45t-18 45l-189 189h502q26 0 45 19t19 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1285 640q0 27 -18 45l-91 91l-362 362q-18 18 -45 18t-45 -18l-91 -91q-18 -18 -18 -45t18 -45l189 -189h-502q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h502l-189 -189q-19 -19 -19 -45t19 -45l91 -91q18 -18 45 -18t45 18l362 362l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1284 641q0 27 -18 45l-362 362l-91 91q-18 18 -45 18t-45 -18l-91 -91l-362 -362q-18 -18 -18 -45t18 -45l91 -91q18 -18 45 -18t45 18l189 189v-502q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v502l189 -189q19 -19 45 -19t45 19l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1284 639q0 27 -18 45l-91 91q-18 18 -45 18t-45 -18l-189 -189v502q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-502l-189 189q-19 19 -45 19t-45 -19l-91 -91q-18 -18 -18 -45t18 -45l362 -362l91 -91q18 -18 45 -18t45 18l91 91l362 362q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1042 887q-2 -1 -9.5 -9.5t-13.5 -9.5q2 0 4.5 5t5 11t3.5 7q6 7 22 15q14 6 52 12q34 8 51 -11 q-2 2 9.5 13t14.5 12q3 2 15 4.5t15 7.5l2 22q-12 -1 -17.5 7t-6.5 21q0 -2 -6 -8q0 7 -4.5 8t-11.5 -1t-9 -1q-10 3 -15 7.5t-8 16.5t-4 15q-2 5 -9.5 10.5t-9.5 10.5q-1 2 -2.5 5.5t-3 6.5t-4 5.5t-5.5 2.5t-7 -5t-7.5 -10t-4.5 -5q-3 2 -6 1.5t-4.5 -1t-4.5 -3t-5 -3.5 q-3 -2 -8.5 -3t-8.5 -2q15 5 -1 11q-10 4 -16 3q9 4 7.5 12t-8.5 14h5q-1 4 -8.5 8.5t-17.5 8.5t-13 6q-8 5 -34 9.5t-33 0.5q-5 -6 -4.5 -10.5t4 -14t3.5 -12.5q1 -6 -5.5 -13t-6.5 -12q0 -7 14 -15.5t10 -21.5q-3 -8 -16 -16t-16 -12q-5 -8 -1.5 -18.5t10.5 -16.5 q2 -2 1.5 -4t-3.5 -4.5t-5.5 -4t-6.5 -3.5l-3 -2q-11 -5 -20.5 6t-13.5 26q-7 25 -16 30q-23 8 -29 -1q-5 13 -41 26q-25 9 -58 4q6 1 0 15q-7 15 -19 12q3 6 4 17.5t1 13.5q3 13 12 23q1 1 7 8.5t9.5 13.5t0.5 6q35 -4 50 11q5 5 11.5 17t10.5 17q9 6 14 5.5t14.5 -5.5 t14.5 -5q14 -1 15.5 11t-7.5 20q12 -1 3 17q-5 7 -8 9q-12 4 -27 -5q-8 -4 2 -8q-1 1 -9.5 -10.5t-16.5 -17.5t-16 5q-1 1 -5.5 13.5t-9.5 13.5q-8 0 -16 -15q3 8 -11 15t-24 8q19 12 -8 27q-7 4 -20.5 5t-19.5 -4q-5 -7 -5.5 -11.5t5 -8t10.5 -5.5t11.5 -4t8.5 -3 q14 -10 8 -14q-2 -1 -8.5 -3.5t-11.5 -4.5t-6 -4q-3 -4 0 -14t-2 -14q-5 5 -9 17.5t-7 16.5q7 -9 -25 -6l-10 1q-4 0 -16 -2t-20.5 -1t-13.5 8q-4 8 0 20q1 4 4 2q-4 3 -11 9.5t-10 8.5q-46 -15 -94 -41q6 -1 12 1q5 2 13 6.5t10 5.5q34 14 42 7l5 5q14 -16 20 -25 q-7 4 -30 1q-20 -6 -22 -12q7 -12 5 -18q-4 3 -11.5 10t-14.5 11t-15 5q-16 0 -22 -1q-146 -80 -235 -222q7 -7 12 -8q4 -1 5 -9t2.5 -11t11.5 3q9 -8 3 -19q1 1 44 -27q19 -17 21 -21q3 -11 -10 -18q-1 2 -9 9t-9 4q-3 -5 0.5 -18.5t10.5 -12.5q-7 0 -9.5 -16t-2.5 -35.5 t-1 -23.5l2 -1q-3 -12 5.5 -34.5t21.5 -19.5q-13 -3 20 -43q6 -8 8 -9q3 -2 12 -7.5t15 -10t10 -10.5q4 -5 10 -22.5t14 -23.5q-2 -6 9.5 -20t10.5 -23q-1 0 -2.5 -1t-2.5 -1q3 -7 15.5 -14t15.5 -13q1 -3 2 -10t3 -11t8 -2q2 20 -24 62q-15 25 -17 29q-3 5 -5.5 15.5 t-4.5 14.5q2 0 6 -1.5t8.5 -3.5t7.5 -4t2 -3q-3 -7 2 -17.5t12 -18.5t17 -19t12 -13q6 -6 14 -19.5t0 -13.5q9 0 20 -10t17 -20q5 -8 8 -26t5 -24q2 -7 8.5 -13.5t12.5 -9.5l16 -8t13 -7q5 -2 18.5 -10.5t21.5 -11.5q10 -4 16 -4t14.5 2.5t13.5 3.5q15 2 29 -15t21 -21 q36 -19 55 -11q-2 -1 0.5 -7.5t8 -15.5t9 -14.5t5.5 -8.5q5 -6 18 -15t18 -15q6 4 7 9q-3 -8 7 -20t18 -10q14 3 14 32q-31 -15 -49 18q0 1 -2.5 5.5t-4 8.5t-2.5 8.5t0 7.5t5 3q9 0 10 3.5t-2 12.5t-4 13q-1 8 -11 20t-12 15q-5 -9 -16 -8t-16 9q0 -1 -1.5 -5.5t-1.5 -6.5 q-13 0 -15 1q1 3 2.5 17.5t3.5 22.5q1 4 5.5 12t7.5 14.5t4 12.5t-4.5 9.5t-17.5 2.5q-19 -1 -26 -20q-1 -3 -3 -10.5t-5 -11.5t-9 -7q-7 -3 -24 -2t-24 5q-13 8 -22.5 29t-9.5 37q0 10 2.5 26.5t3 25t-5.5 24.5q3 2 9 9.5t10 10.5q2 1 4.5 1.5t4.5 0t4 1.5t3 6q-1 1 -4 3 q-3 3 -4 3q7 -3 28.5 1.5t27.5 -1.5q15 -11 22 2q0 1 -2.5 9.5t-0.5 13.5q5 -27 29 -9q3 -3 15.5 -5t17.5 -5q3 -2 7 -5.5t5.5 -4.5t5 0.5t8.5 6.5q10 -14 12 -24q11 -40 19 -44q7 -3 11 -2t4.5 9.5t0 14t-1.5 12.5l-1 8v18l-1 8q-15 3 -18.5 12t1.5 18.5t15 18.5q1 1 8 3.5 t15.5 6.5t12.5 8q21 19 15 35q7 0 11 9q-1 0 -5 3t-7.5 5t-4.5 2q9 5 2 16q5 3 7.5 11t7.5 10q9 -12 21 -2q7 8 1 16q5 7 20.5 10.5t18.5 9.5q7 -2 8 2t1 12t3 12q4 5 15 9t13 5l17 11q3 4 0 4q18 -2 31 11q10 11 -6 20q3 6 -3 9.5t-15 5.5q3 1 11.5 0.5t10.5 1.5 q15 10 -7 16q-17 5 -43 -12zM879 10q206 36 351 189q-3 3 -12.5 4.5t-12.5 3.5q-18 7 -24 8q1 7 -2.5 13t-8 9t-12.5 8t-11 7q-2 2 -7 6t-7 5.5t-7.5 4.5t-8.5 2t-10 -1l-3 -1q-3 -1 -5.5 -2.5t-5.5 -3t-4 -3t0 -2.5q-21 17 -36 22q-5 1 -11 5.5t-10.5 7t-10 1.5t-11.5 -7 q-5 -5 -6 -15t-2 -13q-7 5 0 17.5t2 18.5q-3 6 -10.5 4.5t-12 -4.5t-11.5 -8.5t-9 -6.5t-8.5 -5.5t-8.5 -7.5q-3 -4 -6 -12t-5 -11q-2 4 -11.5 6.5t-9.5 5.5q2 -10 4 -35t5 -38q7 -31 -12 -48q-27 -25 -29 -40q-4 -22 12 -26q0 -7 -8 -20.5t-7 -21.5q0 -6 2 -16z" />-<glyph unicode="" horiz-adv-x="1664" d="M384 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1028 484l-682 -682q-37 -37 -90 -37q-52 0 -91 37l-106 108q-38 36 -38 90q0 53 38 91l681 681q39 -98 114.5 -173.5t173.5 -114.5zM1662 919q0 -39 -23 -106q-47 -134 -164.5 -217.5 t-258.5 -83.5q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5q58 0 121.5 -16.5t107.5 -46.5q16 -11 16 -28t-16 -28l-293 -169v-224l193 -107q5 3 79 48.5t135.5 81t70.5 35.5q15 0 23.5 -10t8.5 -25z" />-<glyph unicode="" horiz-adv-x="1792" d="M1024 128h640v128h-640v-128zM640 640h1024v128h-1024v-128zM1280 1152h384v128h-384v-128zM1792 320v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 832v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19 t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1408" d="M1403 1241q17 -41 -14 -70l-493 -493v-742q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-256 256q-19 19 -19 45v486l-493 493q-31 29 -14 70q17 39 59 39h1280q42 0 59 -39z" />-<glyph unicode="" horiz-adv-x="1792" d="M640 1280h512v128h-512v-128zM1792 640v-480q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v480h672v-160q0 -26 19 -45t45 -19h320q26 0 45 19t19 45v160h672zM1024 640v-128h-256v128h256zM1792 1120v-384h-1792v384q0 66 47 113t113 47h352v160q0 40 28 68 t68 28h576q40 0 68 -28t28 -68v-160h352q66 0 113 -47t47 -113z" />-<glyph unicode="" d="M1283 995l-355 -355l355 -355l144 144q29 31 70 14q39 -17 39 -59v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l144 144l-355 355l-355 -355l144 -144q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l144 -144 l355 355l-355 355l-144 -144q-19 -19 -45 -19q-12 0 -24 5q-40 17 -40 59v448q0 26 19 45t45 19h448q42 0 59 -40q17 -39 -14 -69l-144 -144l355 -355l355 355l-144 144q-31 30 -14 69q17 40 59 40h448q26 0 45 -19t19 -45v-448q0 -42 -39 -59q-13 -5 -25 -5q-26 0 -45 19z " />-<glyph unicode="" horiz-adv-x="1920" d="M593 640q-162 -5 -265 -128h-134q-82 0 -138 40.5t-56 118.5q0 353 124 353q6 0 43.5 -21t97.5 -42.5t119 -21.5q67 0 133 23q-5 -37 -5 -66q0 -139 81 -256zM1664 3q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5 t43 97.5t62 81t85.5 53.5t111.5 20q10 0 43 -21.5t73 -48t107 -48t135 -21.5t135 21.5t107 48t73 48t43 21.5q61 0 111.5 -20t85.5 -53.5t62 -81t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM640 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75 t75 -181zM1344 896q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5zM1920 671q0 -78 -56 -118.5t-138 -40.5h-134q-103 123 -265 128q81 117 81 256q0 29 -5 66q66 -23 133 -23q59 0 119 21.5t97.5 42.5 t43.5 21q124 0 124 -353zM1792 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181z" />-<glyph unicode="" horiz-adv-x="1664" d="M1456 320q0 40 -28 68l-208 208q-28 28 -68 28q-42 0 -72 -32q3 -3 19 -18.5t21.5 -21.5t15 -19t13 -25.5t3.5 -27.5q0 -40 -28 -68t-68 -28q-15 0 -27.5 3.5t-25.5 13t-19 15t-21.5 21.5t-18.5 19q-33 -31 -33 -73q0 -40 28 -68l206 -207q27 -27 68 -27q40 0 68 26 l147 146q28 28 28 67zM753 1025q0 40 -28 68l-206 207q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l208 -208q27 -27 68 -27q42 0 72 31q-3 3 -19 18.5t-21.5 21.5t-15 19t-13 25.5t-3.5 27.5q0 40 28 68t68 28q15 0 27.5 -3.5t25.5 -13t19 -15 t21.5 -21.5t18.5 -19q33 31 33 73zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-206 207q-83 83 -83 203q0 123 88 209l-88 88q-86 -88 -208 -88q-120 0 -204 84l-208 208q-84 84 -84 204t85 203l147 146q83 83 203 83q121 0 204 -85l206 -207 q83 -83 83 -203q0 -123 -88 -209l88 -88q86 88 208 88q120 0 204 -84l208 -208q84 -84 84 -204z" />-<glyph unicode="" horiz-adv-x="1920" d="M1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088q-185 0 -316.5 131.5t-131.5 316.5q0 132 71 241.5t187 163.5q-2 28 -2 43q0 212 150 362t362 150q158 0 286.5 -88t187.5 -230q70 62 166 62q106 0 181 -75t75 -181q0 -75 -41 -138q129 -30 213 -134.5t84 -239.5z " />-<glyph unicode="" horiz-adv-x="1664" d="M1527 88q56 -89 21.5 -152.5t-140.5 -63.5h-1152q-106 0 -140.5 63.5t21.5 152.5l503 793v399h-64q-26 0 -45 19t-19 45t19 45t45 19h512q26 0 45 -19t19 -45t-19 -45t-45 -19h-64v-399zM748 813l-272 -429h712l-272 429l-20 31v37v399h-128v-399v-37z" />-<glyph unicode="" horiz-adv-x="1792" d="M960 640q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1260 576l507 -398q28 -20 25 -56q-5 -35 -35 -51l-128 -64q-13 -7 -29 -7q-17 0 -31 8l-690 387l-110 -66q-8 -4 -12 -5q14 -49 10 -97q-7 -77 -56 -147.5t-132 -123.5q-132 -84 -277 -84 q-136 0 -222 78q-90 84 -79 207q7 76 56 147t131 124q132 84 278 84q83 0 151 -31q9 13 22 22l122 73l-122 73q-13 9 -22 22q-68 -31 -151 -31q-146 0 -278 84q-82 53 -131 124t-56 147q-5 59 15.5 113t63.5 93q85 79 222 79q145 0 277 -84q83 -52 132 -123t56 -148 q4 -48 -10 -97q4 -1 12 -5l110 -66l690 387q14 8 31 8q16 0 29 -7l128 -64q30 -16 35 -51q3 -36 -25 -56zM579 836q46 42 21 108t-106 117q-92 59 -192 59q-74 0 -113 -36q-46 -42 -21 -108t106 -117q92 -59 192 -59q74 0 113 36zM494 91q81 51 106 117t-21 108 q-39 36 -113 36q-100 0 -192 -59q-81 -51 -106 -117t21 -108q39 -36 113 -36q100 0 192 59zM672 704l96 -58v11q0 36 33 56l14 8l-79 47l-26 -26q-3 -3 -10 -11t-12 -12q-2 -2 -4 -3.5t-3 -2.5zM896 480l96 -32l736 576l-128 64l-768 -431v-113l-160 -96l9 -8q2 -2 7 -6 q4 -4 11 -12t11 -12l26 -26zM1600 64l128 64l-520 408l-177 -138q-2 -3 -13 -7z" />-<glyph unicode="" horiz-adv-x="1792" d="M1696 1152q40 0 68 -28t28 -68v-1216q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v288h-544q-40 0 -68 28t-28 68v672q0 40 20 88t48 76l408 408q28 28 76 48t88 20h416q40 0 68 -28t28 -68v-328q68 40 128 40h416zM1152 939l-299 -299h299v299zM512 1323l-299 -299 h299v299zM708 676l316 316v416h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h512v256q0 40 20 88t48 76zM1664 -128v1152h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h896z" />-<glyph unicode="" horiz-adv-x="1408" d="M1404 151q0 -117 -79 -196t-196 -79q-135 0 -235 100l-777 776q-113 115 -113 271q0 159 110 270t269 111q158 0 273 -113l605 -606q10 -10 10 -22q0 -16 -30.5 -46.5t-46.5 -30.5q-13 0 -23 10l-606 607q-79 77 -181 77q-106 0 -179 -75t-73 -181q0 -105 76 -181 l776 -777q63 -63 145 -63q64 0 106 42t42 106q0 82 -63 145l-581 581q-26 24 -60 24q-29 0 -48 -19t-19 -48q0 -32 25 -59l410 -410q10 -10 10 -22q0 -16 -31 -47t-47 -31q-12 0 -22 10l-410 410q-63 61 -63 149q0 82 57 139t139 57q88 0 149 -63l581 -581q100 -98 100 -235 z" />-<glyph unicode="" d="M384 0h768v384h-768v-384zM1280 0h128v896q0 14 -10 38.5t-20 34.5l-281 281q-10 10 -34 20t-39 10v-416q0 -40 -28 -68t-68 -28h-576q-40 0 -68 28t-28 68v416h-128v-1280h128v416q0 40 28 68t68 28h832q40 0 68 -28t28 -68v-416zM896 928v320q0 13 -9.5 22.5t-22.5 9.5 h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5zM1536 896v-928q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h928q40 0 88 -20t76 -48l280 -280q28 -28 48 -76t20 -88z" />-<glyph unicode="" d="M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" d="M1536 192v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 704v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 1216v-128q0 -26 -19 -45 t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1792" d="M384 128q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM384 640q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1152q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z M1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M381 -84q0 -80 -54.5 -126t-135.5 -46q-106 0 -172 66l57 88q49 -45 106 -45q29 0 50.5 14.5t21.5 42.5q0 64 -105 56l-26 56q8 10 32.5 43.5t42.5 54t37 38.5v1q-16 0 -48.5 -1t-48.5 -1v-53h-106v152h333v-88l-95 -115q51 -12 81 -49t30 -88zM383 543v-159h-362 q-6 36 -6 54q0 51 23.5 93t56.5 68t66 47.5t56.5 43.5t23.5 45q0 25 -14.5 38.5t-39.5 13.5q-46 0 -81 -58l-85 59q24 51 71.5 79.5t105.5 28.5q73 0 123 -41.5t50 -112.5q0 -50 -34 -91.5t-75 -64.5t-75.5 -50.5t-35.5 -52.5h127v60h105zM1792 224v-192q0 -13 -9.5 -22.5 t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1123v-99h-335v99h107q0 41 0.5 122t0.5 121v12h-2q-8 -17 -50 -54l-71 76l136 127h106v-404h108zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5 t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M1760 640q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1728q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h1728zM483 704q-28 35 -51 80q-48 97 -48 188q0 181 134 309q133 127 393 127q50 0 167 -19q66 -12 177 -48q10 -38 21 -118q14 -123 14 -183q0 -18 -5 -45l-12 -3l-84 6 l-14 2q-50 149 -103 205q-88 91 -210 91q-114 0 -182 -59q-67 -58 -67 -146q0 -73 66 -140t279 -129q69 -20 173 -66q58 -28 95 -52h-743zM990 448h411q7 -39 7 -92q0 -111 -41 -212q-23 -55 -71 -104q-37 -35 -109 -81q-80 -48 -153 -66q-80 -21 -203 -21q-114 0 -195 23 l-140 40q-57 16 -72 28q-8 8 -8 22v13q0 108 -2 156q-1 30 0 68l2 37v44l102 2q15 -34 30 -71t22.5 -56t12.5 -27q35 -57 80 -94q43 -36 105 -57q59 -22 132 -22q64 0 139 27q77 26 122 86q47 61 47 129q0 84 -81 157q-34 29 -137 71z" />-<glyph unicode="" d="M48 1313q-37 2 -45 4l-3 88q13 1 40 1q60 0 112 -4q132 -7 166 -7q86 0 168 3q116 4 146 5q56 0 86 2l-1 -14l2 -64v-9q-60 -9 -124 -9q-60 0 -79 -25q-13 -14 -13 -132q0 -13 0.5 -32.5t0.5 -25.5l1 -229l14 -280q6 -124 51 -202q35 -59 96 -92q88 -47 177 -47 q104 0 191 28q56 18 99 51q48 36 65 64q36 56 53 114q21 73 21 229q0 79 -3.5 128t-11 122.5t-13.5 159.5l-4 59q-5 67 -24 88q-34 35 -77 34l-100 -2l-14 3l2 86h84l205 -10q76 -3 196 10l18 -2q6 -38 6 -51q0 -7 -4 -31q-45 -12 -84 -13q-73 -11 -79 -17q-15 -15 -15 -41 q0 -7 1.5 -27t1.5 -31q8 -19 22 -396q6 -195 -15 -304q-15 -76 -41 -122q-38 -65 -112 -123q-75 -57 -182 -89q-109 -33 -255 -33q-167 0 -284 46q-119 47 -179 122q-61 76 -83 195q-16 80 -16 237v333q0 188 -17 213q-25 36 -147 39zM1536 -96v64q0 14 -9 23t-23 9h-1472 q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h1472q14 0 23 9t9 23z" />-<glyph unicode="" horiz-adv-x="1664" d="M512 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23 v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 160v192 q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192 q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1664 1248v-1088q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1344q66 0 113 -47t47 -113 z" />-<glyph unicode="" horiz-adv-x="1664" d="M1190 955l293 293l-107 107l-293 -293zM1637 1248q0 -27 -18 -45l-1286 -1286q-18 -18 -45 -18t-45 18l-198 198q-18 18 -18 45t18 45l1286 1286q18 18 45 18t45 -18l198 -198q18 -18 18 -45zM286 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM636 1276 l196 -60l-196 -60l-60 -196l-60 196l-196 60l196 60l60 196zM1566 798l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM926 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98z" />-<glyph unicode="" horiz-adv-x="1792" d="M640 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM256 640h384v256h-158q-13 0 -22 -9l-195 -195q-9 -9 -9 -22v-30zM1536 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM1792 1216v-1024q0 -15 -4 -26.5t-13.5 -18.5 t-16.5 -11.5t-23.5 -6t-22.5 -2t-25.5 0t-22.5 0.5q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-64q-3 0 -22.5 -0.5t-25.5 0t-22.5 2t-23.5 6t-16.5 11.5t-13.5 18.5t-4 26.5q0 26 19 45t45 19v320q0 8 -0.5 35t0 38 t2.5 34.5t6.5 37t14 30.5t22.5 30l198 198q19 19 50.5 32t58.5 13h160v192q0 26 19 45t45 19h1024q26 0 45 -19t19 -45z" />-<glyph unicode="" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103q-111 0 -218 32q59 93 78 164q9 34 54 211q20 -39 73 -67.5t114 -28.5q121 0 216 68.5t147 188.5t52 270q0 114 -59.5 214t-172.5 163t-255 63q-105 0 -196 -29t-154.5 -77t-109 -110.5t-67 -129.5t-21.5 -134 q0 -104 40 -183t117 -111q30 -12 38 20q2 7 8 31t8 30q6 23 -11 43q-51 61 -51 151q0 151 104.5 259.5t273.5 108.5q151 0 235.5 -82t84.5 -213q0 -170 -68.5 -289t-175.5 -119q-61 0 -98 43.5t-23 104.5q8 35 26.5 93.5t30 103t11.5 75.5q0 50 -27 83t-77 33 q-62 0 -105 -57t-43 -142q0 -73 25 -122l-99 -418q-17 -70 -13 -177q-206 91 -333 281t-127 423q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-725q85 122 108 210q9 34 53 209q21 -39 73.5 -67t112.5 -28q181 0 295.5 147.5t114.5 373.5q0 84 -35 162.5t-96.5 139t-152.5 97t-197 36.5q-104 0 -194.5 -28.5t-153 -76.5 t-107.5 -109.5t-66.5 -128t-21.5 -132.5q0 -102 39.5 -180t116.5 -110q13 -5 23.5 0t14.5 19q10 44 15 61q6 23 -11 42q-50 62 -50 150q0 150 103.5 256.5t270.5 106.5q149 0 232.5 -81t83.5 -210q0 -168 -67.5 -286t-173.5 -118q-60 0 -97 43.5t-23 103.5q8 34 26.5 92.5 t29.5 102t11 74.5q0 49 -26.5 81.5t-75.5 32.5q-61 0 -103.5 -56.5t-42.5 -139.5q0 -72 24 -121l-98 -414q-24 -100 -7 -254h-183q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960z" />-<glyph unicode="" d="M829 318q0 -76 -58.5 -112.5t-139.5 -36.5q-41 0 -80.5 9.5t-75.5 28.5t-58 53t-22 78q0 46 25 80t65.5 51.5t82 25t84.5 7.5q20 0 31 -2q2 -1 23 -16.5t26 -19t23 -18t24.5 -22t19 -22.5t17 -26t9 -26.5t4.5 -31.5zM755 863q0 -60 -33 -99.5t-92 -39.5q-53 0 -93 42.5 t-57.5 96.5t-17.5 106q0 61 32 104t92 43q53 0 93.5 -45t58 -101t17.5 -107zM861 1120l88 64h-265q-85 0 -161 -32t-127.5 -98t-51.5 -153q0 -93 64.5 -154.5t158.5 -61.5q22 0 43 3q-13 -29 -13 -54q0 -44 40 -94q-175 -12 -257 -63q-47 -29 -75.5 -73t-28.5 -95 q0 -43 18.5 -77.5t48.5 -56.5t69 -37t77.5 -21t76.5 -6q60 0 120.5 15.5t113.5 46t86 82.5t33 117q0 49 -20 89.5t-49 66.5t-58 47.5t-49 44t-20 44.5t15.5 42.5t37.5 39.5t44 42t37.5 59.5t15.5 82.5q0 60 -22.5 99.5t-72.5 90.5h83zM1152 672h128v64h-128v128h-64v-128 h-128v-64h128v-160h64v160zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="1664" d="M735 740q0 -36 32 -70.5t77.5 -68t90.5 -73.5t77 -104t32 -142q0 -90 -48 -173q-72 -122 -211 -179.5t-298 -57.5q-132 0 -246.5 41.5t-171.5 137.5q-37 60 -37 131q0 81 44.5 150t118.5 115q131 82 404 100q-32 42 -47.5 74t-15.5 73q0 36 21 85q-46 -4 -68 -4 q-148 0 -249.5 96.5t-101.5 244.5q0 82 36 159t99 131q77 66 182.5 98t217.5 32h418l-138 -88h-131q74 -63 112 -133t38 -160q0 -72 -24.5 -129.5t-59 -93t-69.5 -65t-59.5 -61.5t-24.5 -66zM589 836q38 0 78 16.5t66 43.5q53 57 53 159q0 58 -17 125t-48.5 129.5 t-84.5 103.5t-117 41q-42 0 -82.5 -19.5t-65.5 -52.5q-47 -59 -47 -160q0 -46 10 -97.5t31.5 -103t52 -92.5t75 -67t96.5 -26zM591 -37q58 0 111.5 13t99 39t73 73t27.5 109q0 25 -7 49t-14.5 42t-27 41.5t-29.5 35t-38.5 34.5t-36.5 29t-41.5 30t-36.5 26q-16 2 -48 2 q-53 0 -105 -7t-107.5 -25t-97 -46t-68.5 -74.5t-27 -105.5q0 -70 35 -123.5t91.5 -83t119 -44t127.5 -14.5zM1401 839h213v-108h-213v-219h-105v219h-212v108h212v217h105v-217z" />-<glyph unicode="" horiz-adv-x="1920" d="M768 384h384v96h-128v448h-114l-148 -137l77 -80q42 37 55 57h2v-288h-128v-96zM1280 640q0 -70 -21 -142t-59.5 -134t-101.5 -101t-138 -39t-138 39t-101.5 101t-59.5 134t-21 142t21 142t59.5 134t101.5 101t138 39t138 -39t101.5 -101t59.5 -134t21 -142zM1792 384 v512q-106 0 -181 75t-75 181h-1152q0 -106 -75 -181t-181 -75v-512q106 0 181 -75t75 -181h1152q0 106 75 181t181 75zM1920 1216v-1152q0 -26 -19 -45t-45 -19h-1792q-26 0 -45 19t-19 45v1152q0 26 19 45t45 19h1792q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1024" d="M1024 320q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />-<glyph unicode="" horiz-adv-x="640" d="M640 1088v-896q0 -26 -19 -45t-45 -19t-45 19l-448 448q-19 19 -19 45t19 45l448 448q19 19 45 19t45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="640" d="M576 640q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19t-19 45v896q0 26 19 45t45 19t45 -19l448 -448q19 -19 19 -45z" />-<glyph unicode="" horiz-adv-x="1664" d="M160 0h608v1152h-640v-1120q0 -13 9.5 -22.5t22.5 -9.5zM1536 32v1120h-640v-1152h608q13 0 22.5 9.5t9.5 22.5zM1664 1248v-1216q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1344q66 0 113 -47t47 -113z" />-<glyph unicode="" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45zM1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />-<glyph unicode="" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />-<glyph unicode="" horiz-adv-x="1792" d="M1792 826v-794q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v794q44 -49 101 -87q362 -246 497 -345q57 -42 92.5 -65.5t94.5 -48t110 -24.5h1h1q51 0 110 24.5t94.5 48t92.5 65.5q170 123 498 345q57 39 100 87zM1792 1120q0 -79 -49 -151t-122 -123 q-376 -261 -468 -325q-10 -7 -42.5 -30.5t-54 -38t-52 -32.5t-57.5 -27t-50 -9h-1h-1q-23 0 -50 9t-57.5 27t-52 32.5t-54 38t-42.5 30.5q-91 64 -262 182.5t-205 142.5q-62 42 -117 115.5t-55 136.5q0 78 41.5 130t118.5 52h1472q65 0 112.5 -47t47.5 -113z" />-<glyph unicode="" d="M349 911v-991h-330v991h330zM370 1217q1 -73 -50.5 -122t-135.5 -49h-2q-82 0 -132 49t-50 122q0 74 51.5 122.5t134.5 48.5t133 -48.5t51 -122.5zM1536 488v-568h-329v530q0 105 -40.5 164.5t-126.5 59.5q-63 0 -105.5 -34.5t-63.5 -85.5q-11 -30 -11 -81v-553h-329 q2 399 2 647t-1 296l-1 48h329v-144h-2q20 32 41 56t56.5 52t87 43.5t114.5 15.5q171 0 275 -113.5t104 -332.5z" />-<glyph unicode="" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5 t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298z" />-<glyph unicode="" horiz-adv-x="1792" d="M1771 0q0 -53 -37 -90l-107 -108q-39 -37 -91 -37q-53 0 -90 37l-363 364q-38 36 -38 90q0 53 43 96l-256 256l-126 -126q-14 -14 -34 -14t-34 14q2 -2 12.5 -12t12.5 -13t10 -11.5t10 -13.5t6 -13.5t5.5 -16.5t1.5 -18q0 -38 -28 -68q-3 -3 -16.5 -18t-19 -20.5 t-18.5 -16.5t-22 -15.5t-22 -9t-26 -4.5q-40 0 -68 28l-408 408q-28 28 -28 68q0 13 4.5 26t9 22t15.5 22t16.5 18.5t20.5 19t18 16.5q30 28 68 28q10 0 18 -1.5t16.5 -5.5t13.5 -6t13.5 -10t11.5 -10t13 -12.5t12 -12.5q-14 14 -14 34t14 34l348 348q14 14 34 14t34 -14 q-2 2 -12.5 12t-12.5 13t-10 11.5t-10 13.5t-6 13.5t-5.5 16.5t-1.5 18q0 38 28 68q3 3 16.5 18t19 20.5t18.5 16.5t22 15.5t22 9t26 4.5q40 0 68 -28l408 -408q28 -28 28 -68q0 -13 -4.5 -26t-9 -22t-15.5 -22t-16.5 -18.5t-20.5 -19t-18 -16.5q-30 -28 -68 -28 q-10 0 -18 1.5t-16.5 5.5t-13.5 6t-13.5 10t-11.5 10t-13 12.5t-12 12.5q14 -14 14 -34t-14 -34l-126 -126l256 -256q43 43 96 43q52 0 91 -37l363 -363q37 -39 37 -91z" />-<glyph unicode="" horiz-adv-x="1792" d="M384 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM576 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1004 351l101 382q6 26 -7.5 48.5t-38.5 29.5 t-48 -6.5t-30 -39.5l-101 -382q-60 -5 -107 -43.5t-63 -98.5q-20 -77 20 -146t117 -89t146 20t89 117q16 60 -6 117t-72 91zM1664 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 1024q0 53 -37.5 90.5 t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1472 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1792 384q0 -261 -141 -483q-19 -29 -54 -29h-1402q-35 0 -54 29 q-141 221 -141 483q0 182 71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />-<glyph unicode="" horiz-adv-x="1792" d="M896 1152q-204 0 -381.5 -69.5t-282 -187.5t-104.5 -255q0 -112 71.5 -213.5t201.5 -175.5l87 -50l-27 -96q-24 -91 -70 -172q152 63 275 171l43 38l57 -6q69 -8 130 -8q204 0 381.5 69.5t282 187.5t104.5 255t-104.5 255t-282 187.5t-381.5 69.5zM1792 640 q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22h-5q-15 0 -27 10.5t-16 27.5v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281q0 174 120 321.5 t326 233t450 85.5t450 -85.5t326 -233t120 -321.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M704 1152q-153 0 -286 -52t-211.5 -141t-78.5 -191q0 -82 53 -158t149 -132l97 -56l-35 -84q34 20 62 39l44 31l53 -10q78 -14 153 -14q153 0 286 52t211.5 141t78.5 191t-78.5 191t-211.5 141t-286 52zM704 1280q191 0 353.5 -68.5t256.5 -186.5t94 -257t-94 -257 t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224q0 139 94 257t256.5 186.5 t353.5 68.5zM1526 111q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129 q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230q0 -120 -71 -224.5t-195 -176.5z" />-<glyph unicode="" horiz-adv-x="896" d="M885 970q18 -20 7 -44l-540 -1157q-13 -25 -42 -25q-4 0 -14 2q-17 5 -25.5 19t-4.5 30l197 808l-406 -101q-4 -1 -12 -1q-18 0 -31 11q-18 15 -13 39l201 825q4 14 16 23t28 9h328q19 0 32 -12.5t13 -29.5q0 -8 -5 -18l-171 -463l396 98q8 2 12 2q19 0 34 -15z" />-<glyph unicode="" horiz-adv-x="1792" d="M1792 288v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192q0 52 38 90t90 38h512v192h-96q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-96v-192h512q52 0 90 -38t38 -90v-192h96q40 0 68 -28t28 -68 z" />-<glyph unicode="" horiz-adv-x="1664" d="M896 708v-580q0 -104 -76 -180t-180 -76t-180 76t-76 180q0 26 19 45t45 19t45 -19t19 -45q0 -50 39 -89t89 -39t89 39t39 89v580q33 11 64 11t64 -11zM1664 681q0 -13 -9.5 -22.5t-22.5 -9.5q-11 0 -23 10q-49 46 -93 69t-102 23q-68 0 -128 -37t-103 -97 q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -28 -17q-18 0 -29 17q-4 6 -14.5 24t-17.5 28q-43 60 -102.5 97t-127.5 37t-127.5 -37t-102.5 -97q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -29 -17q-17 0 -28 17q-4 6 -14.5 24t-17.5 28q-43 60 -103 97t-128 37q-58 0 -102 -23t-93 -69 q-12 -10 -23 -10q-13 0 -22.5 9.5t-9.5 22.5q0 5 1 7q45 183 172.5 319.5t298 204.5t360.5 68q140 0 274.5 -40t246.5 -113.5t194.5 -187t115.5 -251.5q1 -2 1 -7zM896 1408v-98q-42 2 -64 2t-64 -2v98q0 26 19 45t45 19t45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1792" d="M768 -128h896v640h-416q-40 0 -68 28t-28 68v416h-384v-1152zM1024 1312v64q0 13 -9.5 22.5t-22.5 9.5h-704q-13 0 -22.5 -9.5t-9.5 -22.5v-64q0 -13 9.5 -22.5t22.5 -9.5h704q13 0 22.5 9.5t9.5 22.5zM1280 640h299l-299 299v-299zM1792 512v-672q0 -40 -28 -68t-68 -28 h-960q-40 0 -68 28t-28 68v160h-544q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h1088q40 0 68 -28t28 -68v-328q21 -13 36 -28l408 -408q28 -28 48 -76t20 -88z" />-<glyph unicode="" horiz-adv-x="1024" d="M736 960q0 -13 -9.5 -22.5t-22.5 -9.5t-22.5 9.5t-9.5 22.5q0 46 -54 71t-106 25q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5q50 0 99.5 -16t87 -54t37.5 -90zM896 960q0 72 -34.5 134t-90 101.5t-123 62t-136.5 22.5t-136.5 -22.5t-123 -62t-90 -101.5t-34.5 -134 q0 -101 68 -180q10 -11 30.5 -33t30.5 -33q128 -153 141 -298h228q13 145 141 298q10 11 30.5 33t30.5 33q68 79 68 180zM1024 960q0 -155 -103 -268q-45 -49 -74.5 -87t-59.5 -95.5t-34 -107.5q47 -28 47 -82q0 -37 -25 -64q25 -27 25 -64q0 -52 -45 -81q13 -23 13 -47 q0 -46 -31.5 -71t-77.5 -25q-20 -44 -60 -70t-87 -26t-87 26t-60 70q-46 0 -77.5 25t-31.5 71q0 24 13 47q-45 29 -45 81q0 37 25 64q-25 27 -25 64q0 54 47 82q-4 50 -34 107.5t-59.5 95.5t-74.5 87q-103 113 -103 268q0 99 44.5 184.5t117 142t164 89t186.5 32.5 t186.5 -32.5t164 -89t117 -142t44.5 -184.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M1792 352v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5q-12 0 -24 10l-319 320q-9 9 -9 22q0 14 9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h1376q13 0 22.5 -9.5t9.5 -22.5zM1792 896q0 -14 -9 -23l-320 -320q-9 -9 -23 -9 q-13 0 -22.5 9.5t-9.5 22.5v192h-1376q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1376v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />-<glyph unicode="" horiz-adv-x="1920" d="M1280 608q0 14 -9 23t-23 9h-224v352q0 13 -9.5 22.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-352h-224q-13 0 -22.5 -9.5t-9.5 -22.5q0 -14 9 -23l352 -352q9 -9 23 -9t23 9l351 351q10 12 10 24zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />-<glyph unicode="" horiz-adv-x="1920" d="M1280 672q0 14 -9 23l-352 352q-9 9 -23 9t-23 -9l-351 -351q-10 -12 -10 -24q0 -14 9 -23t23 -9h224v-352q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5v352h224q13 0 22.5 9.5t9.5 22.5zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />-<glyph unicode="" horiz-adv-x="1408" d="M384 192q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45t45 19t45 -19t19 -45zM1408 131q0 -121 -73 -190t-194 -69h-874q-121 0 -194 69t-73 190q0 68 5.5 131t24 138t47.5 132.5t81 103t120 60.5q-22 -52 -22 -120v-203q-58 -20 -93 -70t-35 -111q0 -80 56 -136t136 -56 t136 56t56 136q0 61 -35.5 111t-92.5 70v203q0 62 25 93q132 -104 295 -104t295 104q25 -31 25 -93v-64q-106 0 -181 -75t-75 -181v-89q-32 -29 -32 -71q0 -40 28 -68t68 -28t68 28t28 68q0 42 -32 71v89q0 52 38 90t90 38t90 -38t38 -90v-89q-32 -29 -32 -71q0 -40 28 -68 t68 -28t68 28t28 68q0 42 -32 71v89q0 68 -34.5 127.5t-93.5 93.5q0 10 0.5 42.5t0 48t-2.5 41.5t-7 47t-13 40q68 -15 120 -60.5t81 -103t47.5 -132.5t24 -138t5.5 -131zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5 t271.5 -112.5t112.5 -271.5z" />-<glyph unicode="" horiz-adv-x="1408" d="M1280 832q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 832q0 -62 -35.5 -111t-92.5 -70v-395q0 -159 -131.5 -271.5t-316.5 -112.5t-316.5 112.5t-131.5 271.5v132q-164 20 -274 128t-110 252v512q0 26 19 45t45 19q6 0 16 -2q17 30 47 48 t65 18q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5q-33 0 -64 18v-402q0 -106 94 -181t226 -75t226 75t94 181v402q-31 -18 -64 -18q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5q35 0 65 -18t47 -48q10 2 16 2q26 0 45 -19t19 -45v-512q0 -144 -110 -252 t-274 -128v-132q0 -106 94 -181t226 -75t226 75t94 181v395q-57 21 -92.5 70t-35.5 111q0 80 56 136t136 56t136 -56t56 -136z" />-<glyph unicode="" horiz-adv-x="1792" d="M640 1152h512v128h-512v-128zM288 1152v-1280h-64q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h64zM1408 1152v-1280h-1024v1280h128v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h128zM1792 928v-832q0 -92 -66 -158t-158 -66h-64v1280h64q92 0 158 -66 t66 -158z" />-<glyph unicode="" horiz-adv-x="1792" d="M912 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM1728 128q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q50 42 91 88t85 119.5t74.5 158.5 t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q190 -28 307 -158.5t117 -282.5q0 -139 19.5 -260t50 -206t74.5 -158.5t85 -119.5t91 -88z" />-<glyph unicode="" horiz-adv-x="1920" d="M1664 896q0 80 -56 136t-136 56h-64v-384h64q80 0 136 56t56 136zM0 128h1792q0 -106 -75 -181t-181 -75h-1280q-106 0 -181 75t-75 181zM1856 896q0 -159 -112.5 -271.5t-271.5 -112.5h-64v-32q0 -92 -66 -158t-158 -66h-704q-92 0 -158 66t-66 158v736q0 26 19 45 t45 19h1152q159 0 271.5 -112.5t112.5 -271.5z" />-<glyph unicode="" horiz-adv-x="1408" d="M640 1472v-640q0 -61 -35.5 -111t-92.5 -70v-779q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v779q-57 20 -92.5 70t-35.5 111v640q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45 t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45zM1408 1472v-1600q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v512h-224q-13 0 -22.5 9.5t-9.5 22.5v800q0 132 94 226t226 94h256q26 0 45 -19t19 -45z" />-<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M384 736q0 14 9 23t23 9h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64zM1120 512q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704zM1120 256q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704 q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704z" />-<glyph unicode="" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1536h-1152v-1536h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM1408 1472v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h1280q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1152h-256v-32q0 -40 -28 -68t-68 -28h-448q-40 0 -68 28t-28 68v32h-256v-1152h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM896 1056v320q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-96h-128v96q0 13 -9.5 22.5 t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5v96h128v-96q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1408 1088v-1280q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1280q0 26 19 45t45 19h320 v288q0 40 28 68t68 28h448q40 0 68 -28t28 -68v-288h320q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1920" d="M640 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM256 640h384v256h-158q-14 -2 -22 -9l-195 -195q-7 -12 -9 -22v-30zM1536 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1664 800v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM1920 1344v-1152 q0 -26 -19 -45t-45 -19h-192q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-128q-26 0 -45 19t-19 45t19 45t45 19v416q0 26 13 58t32 51l198 198q19 19 51 32t58 13h160v320q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1792" d="M1280 416v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM640 1152h512v128h-512v-128zM256 1152v-1280h-32 q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h32zM1440 1152v-1280h-1088v1280h160v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h160zM1792 928v-832q0 -92 -66 -158t-158 -66h-32v1280h32q92 0 158 -66t66 -158z" />-<glyph unicode="" horiz-adv-x="1920" d="M1920 576q-1 -32 -288 -96l-352 -32l-224 -64h-64l-293 -352h69q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-96h-160h-64v32h64v416h-160l-192 -224h-96l-32 32v192h32v32h128v8l-192 24v128l192 24v8h-128v32h-32v192l32 32h96l192 -224h160v416h-64v32h64h160h96 q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-69l293 -352h64l224 -64l352 -32q261 -58 287 -93z" />-<glyph unicode="" horiz-adv-x="1664" d="M640 640v384h-256v-256q0 -53 37.5 -90.5t90.5 -37.5h128zM1664 192v-192h-1152v192l128 192h-128q-159 0 -271.5 112.5t-112.5 271.5v320l-64 64l32 128h480l32 128h960l32 -192l-64 -32v-800z" />-<glyph unicode="" d="M1280 192v896q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-512v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-896q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h512v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" d="M1280 576v128q0 26 -19 45t-45 19h-320v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-320q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h320v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h320q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="1024" d="M627 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23zM1011 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23z" />-<glyph unicode="" horiz-adv-x="1024" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM979 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23 l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />-<glyph unicode="" horiz-adv-x="1152" d="M1075 224q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM1075 608q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393 q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />-<glyph unicode="" horiz-adv-x="1152" d="M1075 672q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23zM1075 1056q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />-<glyph unicode="" horiz-adv-x="640" d="M627 992q0 -13 -10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />-<glyph unicode="" horiz-adv-x="640" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />-<glyph unicode="" horiz-adv-x="1152" d="M1075 352q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />-<glyph unicode="" horiz-adv-x="1152" d="M1075 800q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />-<glyph unicode="" horiz-adv-x="1920" d="M1792 544v832q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5zM1920 1376v-1088q0 -66 -47 -113t-113 -47h-544q0 -37 16 -77.5t32 -71t16 -43.5q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19 t-19 45q0 14 16 44t32 70t16 78h-544q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />-<glyph unicode="" horiz-adv-x="1920" d="M416 256q-66 0 -113 47t-47 113v704q0 66 47 113t113 47h1088q66 0 113 -47t47 -113v-704q0 -66 -47 -113t-113 -47h-1088zM384 1120v-704q0 -13 9.5 -22.5t22.5 -9.5h1088q13 0 22.5 9.5t9.5 22.5v704q0 13 -9.5 22.5t-22.5 9.5h-1088q-13 0 -22.5 -9.5t-9.5 -22.5z M1760 192h160v-96q0 -40 -47 -68t-113 -28h-1600q-66 0 -113 28t-47 68v96h160h1600zM1040 96q16 0 16 16t-16 16h-160q-16 0 -16 -16t16 -16h160z" />-<glyph unicode="" horiz-adv-x="1152" d="M640 128q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1024 288v960q0 13 -9.5 22.5t-22.5 9.5h-832q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h832q13 0 22.5 9.5t9.5 22.5zM1152 1248v-1088q0 -66 -47 -113t-113 -47h-832 q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h832q66 0 113 -47t47 -113z" />-<glyph unicode="" horiz-adv-x="768" d="M464 128q0 33 -23.5 56.5t-56.5 23.5t-56.5 -23.5t-23.5 -56.5t23.5 -56.5t56.5 -23.5t56.5 23.5t23.5 56.5zM672 288v704q0 13 -9.5 22.5t-22.5 9.5h-512q-13 0 -22.5 -9.5t-9.5 -22.5v-704q0 -13 9.5 -22.5t22.5 -9.5h512q13 0 22.5 9.5t9.5 22.5zM480 1136 q0 16 -16 16h-160q-16 0 -16 -16t16 -16h160q16 0 16 16zM768 1152v-1024q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v1024q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />-<glyph unicode="" d="M768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103 t279.5 -279.5t103 -385.5z" />-<glyph unicode="" horiz-adv-x="1664" d="M768 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z M1664 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z" />-<glyph unicode="" horiz-adv-x="1664" d="M768 1216v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136zM1664 1216 v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136z" />-<glyph unicode="" horiz-adv-x="1568" d="M496 192q0 -60 -42.5 -102t-101.5 -42q-60 0 -102 42t-42 102t42 102t102 42q59 0 101.5 -42t42.5 -102zM928 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM320 640q0 -66 -47 -113t-113 -47t-113 47t-47 113 t47 113t113 47t113 -47t47 -113zM1360 192q0 -46 -33 -79t-79 -33t-79 33t-33 79t33 79t79 33t79 -33t33 -79zM528 1088q0 -73 -51.5 -124.5t-124.5 -51.5t-124.5 51.5t-51.5 124.5t51.5 124.5t124.5 51.5t124.5 -51.5t51.5 -124.5zM992 1280q0 -80 -56 -136t-136 -56 t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1536 640q0 -40 -28 -68t-68 -28t-68 28t-28 68t28 68t68 28t68 -28t28 -68zM1328 1088q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5z" />-<glyph unicode="" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M1792 416q0 -166 -127 -451q-3 -7 -10.5 -24t-13.5 -30t-13 -22q-12 -17 -28 -17q-15 0 -23.5 10t-8.5 25q0 9 2.5 26.5t2.5 23.5q5 68 5 123q0 101 -17.5 181t-48.5 138.5t-80 101t-105.5 69.5t-133 42.5t-154 21.5t-175.5 6h-224v-256q0 -26 -19 -45t-45 -19t-45 19 l-512 512q-19 19 -19 45t19 45l512 512q19 19 45 19t45 -19t19 -45v-256h224q713 0 875 -403q53 -134 53 -333z" />-<glyph unicode="" horiz-adv-x="1664" d="M640 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1280 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1440 320 q0 120 -69 204t-187 84q-41 0 -195 -21q-71 -11 -157 -11t-157 11q-152 21 -195 21q-118 0 -187 -84t-69 -204q0 -88 32 -153.5t81 -103t122 -60t140 -29.5t149 -7h168q82 0 149 7t140 29.5t122 60t81 103t32 153.5zM1664 496q0 -207 -61 -331q-38 -77 -105.5 -133t-141 -86 t-170 -47.5t-171.5 -22t-167 -4.5q-78 0 -142 3t-147.5 12.5t-152.5 30t-137 51.5t-121 81t-86 115q-62 123 -62 331q0 237 136 396q-27 82 -27 170q0 116 51 218q108 0 190 -39.5t189 -123.5q147 35 309 35q148 0 280 -32q105 82 187 121t189 39q51 -102 51 -218 q0 -87 -27 -168q136 -160 136 -398z" />-<glyph unicode="" horiz-adv-x="1664" d="M1536 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68v-960q0 -40 28 -68t68 -28h1216q40 0 68 28t28 68zM1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320 q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />-<glyph unicode="" horiz-adv-x="1920" d="M1781 605q0 35 -53 35h-1088q-40 0 -85.5 -21.5t-71.5 -52.5l-294 -363q-18 -24 -18 -40q0 -35 53 -35h1088q40 0 86 22t71 53l294 363q18 22 18 39zM640 768h768v160q0 40 -28 68t-68 28h-576q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68 v-853l256 315q44 53 116 87.5t140 34.5zM1909 605q0 -62 -46 -120l-295 -363q-43 -53 -116 -87.5t-140 -34.5h-1088q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158v-160h192q54 0 99 -24.5t67 -70.5q15 -32 15 -68z " />-<glyph unicode="" horiz-adv-x="1792" />-<glyph unicode="" horiz-adv-x="1792" />-<glyph unicode="" d="M1134 461q-37 -121 -138 -195t-228 -74t-228 74t-138 195q-8 25 4 48.5t38 31.5q25 8 48.5 -4t31.5 -38q25 -80 92.5 -129.5t151.5 -49.5t151.5 49.5t92.5 129.5q8 26 32 38t49 4t37 -31.5t4 -48.5zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5 t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5 t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1134 307q8 -25 -4 -48.5t-37 -31.5t-49 4t-32 38q-25 80 -92.5 129.5t-151.5 49.5t-151.5 -49.5t-92.5 -129.5q-8 -26 -31.5 -38t-48.5 -4q-26 8 -38 31.5t-4 48.5q37 121 138 195t228 74t228 -74t138 -195zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204 t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1152 448q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h640q26 0 45 -19t19 -45zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" horiz-adv-x="1920" d="M832 448v128q0 14 -9 23t-23 9h-192v192q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-192h-192q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h192v-192q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v192h192q14 0 23 9t9 23zM1408 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5 t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 640q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1920 512q0 -212 -150 -362t-362 -150q-192 0 -338 128h-220q-146 -128 -338 -128q-212 0 -362 150 t-150 362t150 362t362 150h896q212 0 362 -150t150 -362z" />-<glyph unicode="" horiz-adv-x="1920" d="M384 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM512 624v-96q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h224q16 0 16 -16zM384 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 368v-96q0 -16 -16 -16 h-864q-16 0 -16 16v96q0 16 16 16h864q16 0 16 -16zM768 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM640 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1024 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16 h96q16 0 16 -16zM896 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1280 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1152 880v-96 q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 880v-352q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h112v240q0 16 16 16h96q16 0 16 -16zM1792 128v896h-1664v-896 h1664zM1920 1024v-896q0 -53 -37.5 -90.5t-90.5 -37.5h-1664q-53 0 -90.5 37.5t-37.5 90.5v896q0 53 37.5 90.5t90.5 37.5h1664q53 0 90.5 -37.5t37.5 -90.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M1664 491v616q-169 -91 -306 -91q-82 0 -145 32q-100 49 -184 76.5t-178 27.5q-173 0 -403 -127v-599q245 113 433 113q55 0 103.5 -7.5t98 -26t77 -31t82.5 -39.5l28 -14q44 -22 101 -22q120 0 293 92zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9 h-64q-14 0 -23 9t-9 23v1266q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102 q-15 -9 -33 -9q-16 0 -32 8q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" />-<glyph unicode="" horiz-adv-x="1792" d="M832 536v192q-181 -16 -384 -117v-185q205 96 384 110zM832 954v197q-172 -8 -384 -126v-189q215 111 384 118zM1664 491v184q-235 -116 -384 -71v224q-20 6 -39 15q-5 3 -33 17t-34.5 17t-31.5 15t-34.5 15.5t-32.5 13t-36 12.5t-35 8.5t-39.5 7.5t-39.5 4t-44 2 q-23 0 -49 -3v-222h19q102 0 192.5 -29t197.5 -82q19 -9 39 -15v-188q42 -17 91 -17q120 0 293 92zM1664 918v189q-169 -91 -306 -91q-45 0 -78 8v-196q148 -42 384 90zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v1266 q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102q-15 -9 -33 -9q-16 0 -32 8 q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" />-<glyph unicode="" horiz-adv-x="1664" d="M585 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23zM1664 96v-64q0 -14 -9 -23t-23 -9h-960q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h960q14 0 23 -9 t9 -23z" />-<glyph unicode="" horiz-adv-x="1920" d="M617 137l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23zM1208 1204l-373 -1291q-4 -13 -15.5 -19.5t-23.5 -2.5l-62 17q-13 4 -19.5 15.5t-2.5 24.5 l373 1291q4 13 15.5 19.5t23.5 2.5l62 -17q13 -4 19.5 -15.5t2.5 -24.5zM1865 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23z" />-<glyph unicode="" horiz-adv-x="1792" d="M640 454v-70q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-69l-397 -398q-19 -19 -19 -45t19 -45zM1792 416q0 -58 -17 -133.5t-38.5 -138t-48 -125t-40.5 -90.5l-20 -40q-8 -17 -28 -17q-6 0 -9 1 q-25 8 -23 34q43 400 -106 565q-64 71 -170.5 110.5t-267.5 52.5v-251q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-262q411 -28 599 -221q169 -173 169 -509z" />-<glyph unicode="" horiz-adv-x="1664" d="M1186 579l257 250l-356 52l-66 10l-30 60l-159 322v-963l59 -31l318 -168l-60 355l-12 66zM1638 841l-363 -354l86 -500q5 -33 -6 -51.5t-34 -18.5q-17 0 -40 12l-449 236l-449 -236q-23 -12 -40 -12q-23 0 -34 18.5t-6 51.5l86 500l-364 354q-32 32 -23 59.5t54 34.5 l502 73l225 455q20 41 49 41q28 0 49 -41l225 -455l502 -73q45 -7 54 -34.5t-24 -59.5z" />-<glyph unicode="" horiz-adv-x="1408" d="M1401 1187l-640 -1280q-17 -35 -57 -35q-5 0 -15 2q-22 5 -35.5 22.5t-13.5 39.5v576h-576q-22 0 -39.5 13.5t-22.5 35.5t4 42t29 30l1280 640q13 7 29 7q27 0 45 -19q15 -14 18.5 -34.5t-6.5 -39.5z" />-<glyph unicode="" horiz-adv-x="1664" d="M557 256h595v595zM512 301l595 595h-595v-595zM1664 224v-192q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v224h-864q-14 0 -23 9t-9 23v864h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224v224q0 14 9 23t23 9h192q14 0 23 -9t9 -23 v-224h851l246 247q10 9 23 9t23 -9q9 -10 9 -23t-9 -23l-247 -246v-851h224q14 0 23 -9t9 -23z" />-<glyph unicode="" horiz-adv-x="1024" d="M288 64q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM288 1216q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM928 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1024 1088q0 -52 -26 -96.5t-70 -69.5 q-2 -287 -226 -414q-68 -38 -203 -81q-128 -40 -169.5 -71t-41.5 -100v-26q44 -25 70 -69.5t26 -96.5q0 -80 -56 -136t-136 -56t-136 56t-56 136q0 52 26 96.5t70 69.5v820q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136q0 -52 -26 -96.5t-70 -69.5v-497 q54 26 154 57q55 17 87.5 29.5t70.5 31t59 39.5t40.5 51t28 69.5t8.5 91.5q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136z" />-<glyph unicode="" horiz-adv-x="1664" d="M439 265l-256 -256q-10 -9 -23 -9q-12 0 -23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23zM608 224v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM384 448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23t9 23t23 9h320 q14 0 23 -9t9 -23zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-334 335q-21 21 -42 56l239 18l273 -274q27 -27 68 -27.5t68 26.5l147 146q28 28 28 67q0 40 -28 68l-274 275l18 239q35 -21 56 -42l336 -336q84 -86 84 -204zM1031 1044l-239 -18 l-273 274q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l274 -274l-18 -240q-35 21 -56 42l-336 336q-84 86 -84 204q0 120 85 203l147 146q83 83 203 83q121 0 204 -85l334 -335q21 -21 42 -56zM1664 960q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9 t-9 23t9 23t23 9h320q14 0 23 -9t9 -23zM1120 1504v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM1527 1353l-256 -256q-11 -9 -23 -9t-23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23z" />-<glyph unicode="" horiz-adv-x="1024" d="M704 280v-240q0 -16 -12 -28t-28 -12h-240q-16 0 -28 12t-12 28v240q0 16 12 28t28 12h240q16 0 28 -12t12 -28zM1020 880q0 -54 -15.5 -101t-35 -76.5t-55 -59.5t-57.5 -43.5t-61 -35.5q-41 -23 -68.5 -65t-27.5 -67q0 -17 -12 -32.5t-28 -15.5h-240q-15 0 -25.5 18.5 t-10.5 37.5v45q0 83 65 156.5t143 108.5q59 27 84 56t25 76q0 42 -46.5 74t-107.5 32q-65 0 -108 -29q-35 -25 -107 -115q-13 -16 -31 -16q-12 0 -25 8l-164 125q-13 10 -15.5 25t5.5 28q160 266 464 266q80 0 161 -31t146 -83t106 -127.5t41 -158.5z" />-<glyph unicode="" horiz-adv-x="640" d="M640 192v-128q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64v384h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-576h64q26 0 45 -19t19 -45zM512 1344v-192q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v192 q0 26 19 45t45 19h256q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="640" d="M512 288v-224q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v224q0 26 19 45t45 19h256q26 0 45 -19t19 -45zM542 1344l-28 -768q-1 -26 -20.5 -45t-45.5 -19h-256q-26 0 -45.5 19t-20.5 45l-28 768q-1 26 17.5 45t44.5 19h320q26 0 44.5 -19t17.5 -45z" />-<glyph unicode="" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109zM1534 846v-206h-514l-3 27 q-4 28 -4 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q83 65 188 65q110 0 178 -59.5t68 -158.5q0 -56 -24.5 -103t-62 -76.5t-81.5 -58.5t-82 -50.5t-65.5 -51.5t-30.5 -63h232v80 h126z" />-<glyph unicode="" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109zM1536 -50v-206h-514l-4 27 q-3 45 -3 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q80 65 188 65q110 0 178 -59.5t68 -158.5q0 -66 -34.5 -118.5t-84 -86t-99.5 -62.5t-87 -63t-41 -73h232v80h126z" />-<glyph unicode="" horiz-adv-x="1920" d="M896 128l336 384h-768l-336 -384h768zM1909 1205q15 -34 9.5 -71.5t-30.5 -65.5l-896 -1024q-38 -44 -96 -44h-768q-38 0 -69.5 20.5t-47.5 54.5q-15 34 -9.5 71.5t30.5 65.5l896 1024q38 44 96 44h768q38 0 69.5 -20.5t47.5 -54.5z" />-<glyph unicode="" horiz-adv-x="1664" d="M1664 438q0 -81 -44.5 -135t-123.5 -54q-41 0 -77.5 17.5t-59 38t-56.5 38t-71 17.5q-110 0 -110 -124q0 -39 16 -115t15 -115v-5q-22 0 -33 -1q-34 -3 -97.5 -11.5t-115.5 -13.5t-98 -5q-61 0 -103 26.5t-42 83.5q0 37 17.5 71t38 56.5t38 59t17.5 77.5q0 79 -54 123.5 t-135 44.5q-84 0 -143 -45.5t-59 -127.5q0 -43 15 -83t33.5 -64.5t33.5 -53t15 -50.5q0 -45 -46 -89q-37 -35 -117 -35q-95 0 -245 24q-9 2 -27.5 4t-27.5 4l-13 2q-1 0 -3 1q-2 0 -2 1v1024q2 -1 17.5 -3.5t34 -5t21.5 -3.5q150 -24 245 -24q80 0 117 35q46 44 46 89 q0 22 -15 50.5t-33.5 53t-33.5 64.5t-15 83q0 82 59 127.5t144 45.5q80 0 134 -44.5t54 -123.5q0 -41 -17.5 -77.5t-38 -59t-38 -56.5t-17.5 -71q0 -57 42 -83.5t103 -26.5q64 0 180 15t163 17v-2q-1 -2 -3.5 -17.5t-5 -34t-3.5 -21.5q-24 -150 -24 -245q0 -80 35 -117 q44 -46 89 -46q22 0 50.5 15t53 33.5t64.5 33.5t83 15q82 0 127.5 -59t45.5 -143z" />-<glyph unicode="" horiz-adv-x="1152" d="M1152 832v-128q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-217 24 -364.5 187.5t-147.5 384.5v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -185 131.5 -316.5t316.5 -131.5 t316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45zM896 1216v-512q0 -132 -94 -226t-226 -94t-226 94t-94 226v512q0 132 94 226t226 94t226 -94t94 -226z" />-<glyph unicode="" horiz-adv-x="1408" d="M271 591l-101 -101q-42 103 -42 214v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -53 15 -113zM1385 1193l-361 -361v-128q0 -132 -94 -226t-226 -94q-55 0 -109 19l-96 -96q97 -51 205 -51q185 0 316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45v-128 q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-125 13 -235 81l-254 -254q-10 -10 -23 -10t-23 10l-82 82q-10 10 -10 23t10 23l1234 1234q10 10 23 10t23 -10l82 -82q10 -10 10 -23 t-10 -23zM1005 1325l-621 -621v512q0 132 94 226t226 94q102 0 184.5 -59t116.5 -152z" />-<glyph unicode="" horiz-adv-x="1280" d="M1088 576v640h-448v-1137q119 63 213 137q235 184 235 360zM1280 1344v-768q0 -86 -33.5 -170.5t-83 -150t-118 -127.5t-126.5 -103t-121 -77.5t-89.5 -49.5t-42.5 -20q-12 -6 -26 -6t-26 6q-16 7 -42.5 20t-89.5 49.5t-121 77.5t-126.5 103t-118 127.5t-83 150 t-33.5 170.5v768q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1664" d="M128 -128h1408v1024h-1408v-1024zM512 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1280 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1664 1152v-1280 q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />-<glyph unicode="" horiz-adv-x="1408" d="M512 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 1376v-320q0 -16 -12 -25q-8 -7 -20 -7q-4 0 -7 1l-448 96q-11 2 -18 11t-7 20h-256v-102q111 -23 183.5 -111t72.5 -203v-800q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v800 q0 106 62.5 190.5t161.5 114.5v111h-32q-59 0 -115 -23.5t-91.5 -53t-66 -66.5t-40.5 -53.5t-14 -24.5q-17 -35 -57 -35q-16 0 -29 7q-23 12 -31.5 37t3.5 49q5 10 14.5 26t37.5 53.5t60.5 70t85 67t108.5 52.5q-25 42 -25 86q0 66 47 113t113 47t113 -47t47 -113 q0 -33 -14 -64h302q0 11 7 20t18 11l448 96q3 1 7 1q12 0 20 -7q12 -9 12 -25z" />-<glyph unicode="" horiz-adv-x="1664" d="M1440 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1664 1376q0 -249 -75.5 -430.5t-253.5 -360.5q-81 -80 -195 -176l-20 -379q-2 -16 -16 -26l-384 -224q-7 -4 -16 -4q-12 0 -23 9l-64 64q-13 14 -8 32l85 276l-281 281l-276 -85q-3 -1 -9 -1 q-14 0 -23 9l-64 64q-17 19 -5 39l224 384q10 14 26 16l379 20q96 114 176 195q188 187 358 258t431 71q14 0 24 -9.5t10 -22.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M1745 763l-164 -763h-334l178 832q13 56 -15 88q-27 33 -83 33h-169l-204 -953h-334l204 953h-286l-204 -953h-334l204 953l-153 327h1276q101 0 189.5 -40.5t147.5 -113.5q60 -73 81 -168.5t0 -194.5z" />-<glyph unicode="" d="M909 141l102 102q19 19 19 45t-19 45l-307 307l307 307q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M717 141l454 454q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l307 -307l-307 -307q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1165 397l102 102q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l307 307l307 -307q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M813 237l454 454q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-307 -307l-307 307q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" horiz-adv-x="1408" d="M1130 939l16 175h-884l47 -534h612l-22 -228l-197 -53l-196 53l-13 140h-175l22 -278l362 -100h4v1l359 99l50 544h-644l-15 181h674zM0 1408h1408l-128 -1438l-578 -162l-574 162z" />-<glyph unicode="" horiz-adv-x="1792" d="M275 1408h1505l-266 -1333l-804 -267l-698 267l71 356h297l-29 -147l422 -161l486 161l68 339h-1208l58 297h1209l38 191h-1208z" />-<glyph unicode="" horiz-adv-x="1792" d="M960 1280q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1792 352v-352q0 -22 -20 -30q-8 -2 -12 -2q-13 0 -23 9l-93 93q-119 -143 -318.5 -226.5t-429.5 -83.5t-429.5 83.5t-318.5 226.5l-93 -93q-9 -9 -23 -9q-4 0 -12 2q-20 8 -20 30v352 q0 14 9 23t23 9h352q22 0 30 -20q8 -19 -7 -35l-100 -100q67 -91 189.5 -153.5t271.5 -82.5v647h-192q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h192v163q-58 34 -93 92.5t-35 128.5q0 106 75 181t181 75t181 -75t75 -181q0 -70 -35 -128.5t-93 -92.5v-163h192q26 0 45 -19 t19 -45v-128q0 -26 -19 -45t-45 -19h-192v-647q149 20 271.5 82.5t189.5 153.5l-100 100q-15 16 -7 35q8 20 30 20h352q14 0 23 -9t9 -23z" />-<glyph unicode="" horiz-adv-x="1152" d="M1056 768q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v320q0 185 131.5 316.5t316.5 131.5t316.5 -131.5t131.5 -316.5q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45q0 106 -75 181t-181 75t-181 -75t-75 -181 v-320h736z" />-<glyph unicode="" d="M1024 640q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM1152 640q0 159 -112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM1280 640q0 -212 -150 -362t-362 -150t-362 150 t-150 362t150 362t362 150t362 -150t150 -362zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" horiz-adv-x="1408" d="M384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM896 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM1408 800v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" />-<glyph unicode="" horiz-adv-x="384" d="M384 288v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 1312v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" />-<glyph unicode="" d="M512 256q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM863 162q-13 232 -177 396t-396 177q-14 1 -24 -9t-10 -23v-128q0 -13 8.5 -22t21.5 -10q154 -11 264 -121t121 -264q1 -13 10 -21.5t22 -8.5h128q13 0 23 10 t9 24zM1247 161q-5 154 -56 297.5t-139.5 260t-205 205t-260 139.5t-297.5 56q-14 1 -23 -9q-10 -10 -10 -23v-128q0 -13 9 -22t22 -10q204 -7 378 -111.5t278.5 -278.5t111.5 -378q1 -13 10 -22t22 -9h128q13 0 23 10q11 9 9 23zM1536 1120v-960q0 -119 -84.5 -203.5 t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1152 585q32 18 32 55t-32 55l-544 320q-31 19 -64 1q-32 -19 -32 -56v-640q0 -37 32 -56 q16 -8 32 -8q17 0 32 9z" />-<glyph unicode="" horiz-adv-x="1792" d="M1024 1084l316 -316l-572 -572l-316 316zM813 105l618 618q19 19 19 45t-19 45l-362 362q-18 18 -45 18t-45 -18l-618 -618q-19 -19 -19 -45t19 -45l362 -362q18 -18 45 -18t45 18zM1702 742l-907 -908q-37 -37 -90.5 -37t-90.5 37l-126 126q56 56 56 136t-56 136 t-136 56t-136 -56l-125 126q-37 37 -37 90.5t37 90.5l907 906q37 37 90.5 37t90.5 -37l125 -125q-56 -56 -56 -136t56 -136t136 -56t136 56l126 -125q37 -37 37 -90.5t-37 -90.5z" />-<glyph unicode="" d="M1280 576v128q0 26 -19 45t-45 19h-896q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h896q26 0 45 19t19 45zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="1408" d="M1152 736v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h832q14 0 23 -9t9 -23zM1280 288v832q0 66 -47 113t-113 47h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113zM1408 1120v-832q0 -119 -84.5 -203.5 t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="1024" d="M1018 933q-18 -37 -58 -37h-192v-864q0 -14 -9 -23t-23 -9h-704q-21 0 -29 18q-8 20 4 35l160 192q9 11 25 11h320v640h-192q-40 0 -58 37q-17 37 9 68l320 384q18 22 49 22t49 -22l320 -384q27 -32 9 -68z" />-<glyph unicode="" horiz-adv-x="1024" d="M32 1280h704q13 0 22.5 -9.5t9.5 -23.5v-863h192q40 0 58 -37t-9 -69l-320 -384q-18 -22 -49 -22t-49 22l-320 384q-26 31 -9 69q18 37 58 37h192v640h-320q-14 0 -25 11l-160 192q-13 14 -4 34q9 19 29 19z" />-<glyph unicode="" d="M685 237l614 614q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-467 -467l-211 211q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l358 -358q19 -19 45 -19t45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5 t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" d="M404 428l152 -152l-52 -52h-56v96h-96v56zM818 818q14 -13 -3 -30l-291 -291q-17 -17 -30 -3q-14 13 3 30l291 291q17 17 30 3zM544 128l544 544l-288 288l-544 -544v-288h288zM1152 736l92 92q28 28 28 68t-28 68l-152 152q-28 28 -68 28t-68 -28l-92 -92zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" d="M1280 608v480q0 26 -19 45t-45 19h-480q-42 0 -59 -39q-17 -41 14 -70l144 -144l-534 -534q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l534 534l144 -144q18 -19 45 -19q12 0 25 5q39 17 39 59zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960 q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" d="M1005 435l352 352q19 19 19 45t-19 45l-352 352q-30 31 -69 14q-40 -17 -40 -59v-160q-119 0 -216 -19.5t-162.5 -51t-114 -79t-76.5 -95.5t-44.5 -109t-21.5 -111.5t-5 -110.5q0 -181 167 -404q10 -12 25 -12q7 0 13 3q22 9 19 33q-44 354 62 473q46 52 130 75.5 t224 23.5v-160q0 -42 40 -59q12 -5 24 -5q26 0 45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" d="M640 448l256 128l-256 128v-256zM1024 1039v-542l-512 -256v542zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1145 861q18 -35 -5 -66l-320 -448q-19 -27 -52 -27t-52 27l-320 448q-23 31 -5 66q17 35 57 35h640q40 0 57 -35zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" d="M1145 419q-17 -35 -57 -35h-640q-40 0 -57 35q-18 35 5 66l320 448q19 27 52 27t52 -27l320 -448q23 -31 5 -66zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" d="M1088 640q0 -33 -27 -52l-448 -320q-31 -23 -66 -5q-35 17 -35 57v640q0 40 35 57q35 18 66 -5l448 -320q27 -19 27 -52zM1280 160v960q0 14 -9 23t-23 9h-960q-14 0 -23 -9t-9 -23v-960q0 -14 9 -23t23 -9h960q14 0 23 9t9 23zM1536 1120v-960q0 -119 -84.5 -203.5 t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="1024" d="M976 229l35 -159q3 -12 -3 -22.5t-17 -14.5l-5 -1q-4 -2 -10.5 -3.5t-16 -4.5t-21.5 -5.5t-25.5 -5t-30 -5t-33.5 -4.5t-36.5 -3t-38.5 -1q-234 0 -409 130.5t-238 351.5h-95q-13 0 -22.5 9.5t-9.5 22.5v113q0 13 9.5 22.5t22.5 9.5h66q-2 57 1 105h-67q-14 0 -23 9 t-9 23v114q0 14 9 23t23 9h98q67 210 243.5 338t400.5 128q102 0 194 -23q11 -3 20 -15q6 -11 3 -24l-43 -159q-3 -13 -14 -19.5t-24 -2.5l-4 1q-4 1 -11.5 2.5l-17.5 3.5t-22.5 3.5t-26 3t-29 2.5t-29.5 1q-126 0 -226 -64t-150 -176h468q16 0 25 -12q10 -12 7 -26 l-24 -114q-5 -26 -32 -26h-488q-3 -37 0 -105h459q15 0 25 -12q9 -12 6 -27l-24 -112q-2 -11 -11 -18.5t-20 -7.5h-387q48 -117 149.5 -185.5t228.5 -68.5q18 0 36 1.5t33.5 3.5t29.5 4.5t24.5 5t18.5 4.5l12 3l5 2q13 5 26 -2q12 -7 15 -21z" />-<glyph unicode="" horiz-adv-x="1024" d="M1020 399v-367q0 -14 -9 -23t-23 -9h-956q-14 0 -23 9t-9 23v150q0 13 9.5 22.5t22.5 9.5h97v383h-95q-14 0 -23 9.5t-9 22.5v131q0 14 9 23t23 9h95v223q0 171 123.5 282t314.5 111q185 0 335 -125q9 -8 10 -20.5t-7 -22.5l-103 -127q-9 -11 -22 -12q-13 -2 -23 7 q-5 5 -26 19t-69 32t-93 18q-85 0 -137 -47t-52 -123v-215h305q13 0 22.5 -9t9.5 -23v-131q0 -13 -9.5 -22.5t-22.5 -9.5h-305v-379h414v181q0 13 9 22.5t23 9.5h162q14 0 23 -9.5t9 -22.5z" />-<glyph unicode="" horiz-adv-x="1024" d="M978 351q0 -153 -99.5 -263.5t-258.5 -136.5v-175q0 -14 -9 -23t-23 -9h-135q-13 0 -22.5 9.5t-9.5 22.5v175q-66 9 -127.5 31t-101.5 44.5t-74 48t-46.5 37.5t-17.5 18q-17 21 -2 41l103 135q7 10 23 12q15 2 24 -9l2 -2q113 -99 243 -125q37 -8 74 -8q81 0 142.5 43 t61.5 122q0 28 -15 53t-33.5 42t-58.5 37.5t-66 32t-80 32.5q-39 16 -61.5 25t-61.5 26.5t-62.5 31t-56.5 35.5t-53.5 42.5t-43.5 49t-35.5 58t-21 66.5t-8.5 78q0 138 98 242t255 134v180q0 13 9.5 22.5t22.5 9.5h135q14 0 23 -9t9 -23v-176q57 -6 110.5 -23t87 -33.5 t63.5 -37.5t39 -29t15 -14q17 -18 5 -38l-81 -146q-8 -15 -23 -16q-14 -3 -27 7q-3 3 -14.5 12t-39 26.5t-58.5 32t-74.5 26t-85.5 11.5q-95 0 -155 -43t-60 -111q0 -26 8.5 -48t29.5 -41.5t39.5 -33t56 -31t60.5 -27t70 -27.5q53 -20 81 -31.5t76 -35t75.5 -42.5t62 -50 t53 -63.5t31.5 -76.5t13 -94z" />-<glyph unicode="" horiz-adv-x="898" d="M898 1066v-102q0 -14 -9 -23t-23 -9h-168q-23 -144 -129 -234t-276 -110q167 -178 459 -536q14 -16 4 -34q-8 -18 -29 -18h-195q-16 0 -25 12q-306 367 -498 571q-9 9 -9 22v127q0 13 9.5 22.5t22.5 9.5h112q132 0 212.5 43t102.5 125h-427q-14 0 -23 9t-9 23v102 q0 14 9 23t23 9h413q-57 113 -268 113h-145q-13 0 -22.5 9.5t-9.5 22.5v133q0 14 9 23t23 9h832q14 0 23 -9t9 -23v-102q0 -14 -9 -23t-23 -9h-233q47 -61 64 -144h171q14 0 23 -9t9 -23z" />-<glyph unicode="" horiz-adv-x="1027" d="M603 0h-172q-13 0 -22.5 9t-9.5 23v330h-288q-13 0 -22.5 9t-9.5 23v103q0 13 9.5 22.5t22.5 9.5h288v85h-288q-13 0 -22.5 9t-9.5 23v104q0 13 9.5 22.5t22.5 9.5h214l-321 578q-8 16 0 32q10 16 28 16h194q19 0 29 -18l215 -425q19 -38 56 -125q10 24 30.5 68t27.5 61 l191 420q8 19 29 19h191q17 0 27 -16q9 -14 1 -31l-313 -579h215q13 0 22.5 -9.5t9.5 -22.5v-104q0 -14 -9.5 -23t-22.5 -9h-290v-85h290q13 0 22.5 -9.5t9.5 -22.5v-103q0 -14 -9.5 -23t-22.5 -9h-290v-330q0 -13 -9.5 -22.5t-22.5 -9.5z" />-<glyph unicode="" horiz-adv-x="1280" d="M1043 971q0 100 -65 162t-171 62h-320v-448h320q106 0 171 62t65 162zM1280 971q0 -193 -126.5 -315t-326.5 -122h-340v-118h505q14 0 23 -9t9 -23v-128q0 -14 -9 -23t-23 -9h-505v-192q0 -14 -9.5 -23t-22.5 -9h-167q-14 0 -23 9t-9 23v192h-224q-14 0 -23 9t-9 23v128 q0 14 9 23t23 9h224v118h-224q-14 0 -23 9t-9 23v149q0 13 9 22.5t23 9.5h224v629q0 14 9 23t23 9h539q200 0 326.5 -122t126.5 -315z" />-<glyph unicode="" horiz-adv-x="1792" d="M514 341l81 299h-159l75 -300q1 -1 1 -3t1 -3q0 1 0.5 3.5t0.5 3.5zM630 768l35 128h-292l32 -128h225zM822 768h139l-35 128h-70zM1271 340l78 300h-162l81 -299q0 -1 0.5 -3.5t1.5 -3.5q0 1 0.5 3t0.5 3zM1382 768l33 128h-297l34 -128h230zM1792 736v-64q0 -14 -9 -23 t-23 -9h-213l-164 -616q-7 -24 -31 -24h-159q-24 0 -31 24l-166 616h-209l-167 -616q-7 -24 -31 -24h-159q-11 0 -19.5 7t-10.5 17l-160 616h-208q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h175l-33 128h-142q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h109l-89 344q-5 15 5 28 q10 12 26 12h137q26 0 31 -24l90 -360h359l97 360q7 24 31 24h126q24 0 31 -24l98 -360h365l93 360q5 24 31 24h137q16 0 26 -12q10 -13 5 -28l-91 -344h111q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-145l-34 -128h179q14 0 23 -9t9 -23z" />-<glyph unicode="" horiz-adv-x="1280" d="M1167 896q18 -182 -131 -258q117 -28 175 -103t45 -214q-7 -71 -32.5 -125t-64.5 -89t-97 -58.5t-121.5 -34.5t-145.5 -15v-255h-154v251q-80 0 -122 1v-252h-154v255q-18 0 -54 0.5t-55 0.5h-200l31 183h111q50 0 58 51v402h16q-6 1 -16 1v287q-13 68 -89 68h-111v164 l212 -1q64 0 97 1v252h154v-247q82 2 122 2v245h154v-252q79 -7 140 -22.5t113 -45t82.5 -78t36.5 -114.5zM952 351q0 36 -15 64t-37 46t-57.5 30.5t-65.5 18.5t-74 9t-69 3t-64.5 -1t-47.5 -1v-338q8 0 37 -0.5t48 -0.5t53 1.5t58.5 4t57 8.5t55.5 14t47.5 21t39.5 30 t24.5 40t9.5 51zM881 827q0 33 -12.5 58.5t-30.5 42t-48 28t-55 16.5t-61.5 8t-58 2.5t-54 -1t-39.5 -0.5v-307q5 0 34.5 -0.5t46.5 0t50 2t55 5.5t51.5 11t48.5 18.5t37 27t27 38.5t9 51z" />-<glyph unicode="" d="M1024 1024v472q22 -14 36 -28l408 -408q14 -14 28 -36h-472zM896 992q0 -40 28 -68t68 -28h544v-1056q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h800v-544z" />-<glyph unicode="" d="M1468 1060q14 -14 28 -36h-472v472q22 -14 36 -28zM992 896h544v-1056q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h800v-544q0 -40 28 -68t68 -28zM1152 160v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704 q14 0 23 9t9 23zM1152 416v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23zM1152 672v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23z" />-<glyph unicode="" horiz-adv-x="1664" d="M1191 1128h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1572 -23 v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -11v-2l14 2q9 2 30 2h248v119h121zM1661 874v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162 l230 -662h70z" />-<glyph unicode="" horiz-adv-x="1664" d="M1191 104h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1661 -150 v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162l230 -662h70zM1572 1001v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -10v-3l14 3q9 1 30 1h248 v119h121z" />-<glyph unicode="" horiz-adv-x="1792" d="M736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1792 -32v-192q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832 q14 0 23 -9t9 -23zM1600 480v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1408 992v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1216 1504v-192q0 -14 -9 -23t-23 -9h-256 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23z" />-<glyph unicode="" horiz-adv-x="1792" d="M1216 -32v-192q0 -14 -9 -23t-23 -9h-256q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192 q14 0 23 -9t9 -23zM1408 480v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1600 992v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1792 1504v-192q0 -14 -9 -23t-23 -9h-832 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832q14 0 23 -9t9 -23z" />-<glyph unicode="" d="M1346 223q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23 zM1486 165q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5 t82 -252.5zM1456 882v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165z" />-<glyph unicode="" d="M1346 1247q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9 t9 -23zM1456 -142v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165zM1486 1189q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13 q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5t82 -252.5z" />-<glyph unicode="" horiz-adv-x="1664" d="M256 192q0 26 -19 45t-45 19q-27 0 -45.5 -19t-18.5 -45q0 -27 18.5 -45.5t45.5 -18.5q26 0 45 18.5t19 45.5zM416 704v-640q0 -26 -19 -45t-45 -19h-288q-26 0 -45 19t-19 45v640q0 26 19 45t45 19h288q26 0 45 -19t19 -45zM1600 704q0 -86 -55 -149q15 -44 15 -76 q3 -76 -43 -137q17 -56 0 -117q-15 -57 -54 -94q9 -112 -49 -181q-64 -76 -197 -78h-36h-76h-17q-66 0 -144 15.5t-121.5 29t-120.5 39.5q-123 43 -158 44q-26 1 -45 19.5t-19 44.5v641q0 25 18 43.5t43 20.5q24 2 76 59t101 121q68 87 101 120q18 18 31 48t17.5 48.5 t13.5 60.5q7 39 12.5 61t19.5 52t34 50q19 19 45 19q46 0 82.5 -10.5t60 -26t40 -40.5t24 -45t12 -50t5 -45t0.5 -39q0 -38 -9.5 -76t-19 -60t-27.5 -56q-3 -6 -10 -18t-11 -22t-8 -24h277q78 0 135 -57t57 -135z" />-<glyph unicode="" horiz-adv-x="1664" d="M256 960q0 -26 -19 -45t-45 -19q-27 0 -45.5 19t-18.5 45q0 27 18.5 45.5t45.5 18.5q26 0 45 -18.5t19 -45.5zM416 448v640q0 26 -19 45t-45 19h-288q-26 0 -45 -19t-19 -45v-640q0 -26 19 -45t45 -19h288q26 0 45 19t19 45zM1545 597q55 -61 55 -149q-1 -78 -57.5 -135 t-134.5 -57h-277q4 -14 8 -24t11 -22t10 -18q18 -37 27 -57t19 -58.5t10 -76.5q0 -24 -0.5 -39t-5 -45t-12 -50t-24 -45t-40 -40.5t-60 -26t-82.5 -10.5q-26 0 -45 19q-20 20 -34 50t-19.5 52t-12.5 61q-9 42 -13.5 60.5t-17.5 48.5t-31 48q-33 33 -101 120q-49 64 -101 121 t-76 59q-25 2 -43 20.5t-18 43.5v641q0 26 19 44.5t45 19.5q35 1 158 44q77 26 120.5 39.5t121.5 29t144 15.5h17h76h36q133 -2 197 -78q58 -69 49 -181q39 -37 54 -94q17 -61 0 -117q46 -61 43 -137q0 -32 -15 -76z" />-<glyph unicode="" d="M919 233v157q0 50 -29 50q-17 0 -33 -16v-224q16 -16 33 -16q29 0 29 49zM1103 355h66v34q0 51 -33 51t-33 -51v-34zM532 621v-70h-80v-423h-74v423h-78v70h232zM733 495v-367h-67v40q-39 -45 -76 -45q-33 0 -42 28q-6 16 -6 54v290h66v-270q0 -24 1 -26q1 -15 15 -15 q20 0 42 31v280h67zM985 384v-146q0 -52 -7 -73q-12 -42 -53 -42q-35 0 -68 41v-36h-67v493h67v-161q32 40 68 40q41 0 53 -42q7 -21 7 -74zM1236 255v-9q0 -29 -2 -43q-3 -22 -15 -40q-27 -40 -80 -40q-52 0 -81 38q-21 27 -21 86v129q0 59 20 86q29 38 80 38t78 -38 q21 -28 21 -86v-76h-133v-65q0 -51 34 -51q24 0 30 26q0 1 0.5 7t0.5 16.5v21.5h68zM785 1079v-156q0 -51 -32 -51t-32 51v156q0 52 32 52t32 -52zM1318 366q0 177 -19 260q-10 44 -43 73.5t-76 34.5q-136 15 -412 15q-275 0 -411 -15q-44 -5 -76.5 -34.5t-42.5 -73.5 q-20 -87 -20 -260q0 -176 20 -260q10 -43 42.5 -73t75.5 -35q137 -15 412 -15t412 15q43 5 75.5 35t42.5 73q20 84 20 260zM563 1017l90 296h-75l-51 -195l-53 195h-78l24 -69t23 -69q35 -103 46 -158v-201h74v201zM852 936v130q0 58 -21 87q-29 38 -78 38q-51 0 -78 -38 q-21 -29 -21 -87v-130q0 -58 21 -87q27 -38 78 -38q49 0 78 38q21 27 21 87zM1033 816h67v370h-67v-283q-22 -31 -42 -31q-15 0 -16 16q-1 2 -1 26v272h-67v-293q0 -37 6 -55q11 -27 43 -27q36 0 77 45v-40zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960 q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" d="M971 292v-211q0 -67 -39 -67q-23 0 -45 22v301q22 22 45 22q39 0 39 -67zM1309 291v-46h-90v46q0 68 45 68t45 -68zM343 509h107v94h-312v-94h105v-569h100v569zM631 -60h89v494h-89v-378q-30 -42 -57 -42q-18 0 -21 21q-1 3 -1 35v364h-89v-391q0 -49 8 -73 q12 -37 58 -37q48 0 102 61v-54zM1060 88v197q0 73 -9 99q-17 56 -71 56q-50 0 -93 -54v217h-89v-663h89v48q45 -55 93 -55q54 0 71 55q9 27 9 100zM1398 98v13h-91q0 -51 -2 -61q-7 -36 -40 -36q-46 0 -46 69v87h179v103q0 79 -27 116q-39 51 -106 51q-68 0 -107 -51 q-28 -37 -28 -116v-173q0 -79 29 -116q39 -51 108 -51q72 0 108 53q18 27 21 54q2 9 2 58zM790 1011v210q0 69 -43 69t-43 -69v-210q0 -70 43 -70t43 70zM1509 260q0 -234 -26 -350q-14 -59 -58 -99t-102 -46q-184 -21 -555 -21t-555 21q-58 6 -102.5 46t-57.5 99 q-26 112 -26 350q0 234 26 350q14 59 58 99t103 47q183 20 554 20t555 -20q58 -7 102.5 -47t57.5 -99q26 -112 26 -350zM511 1536h102l-121 -399v-271h-100v271q-14 74 -61 212q-37 103 -65 187h106l71 -263zM881 1203v-175q0 -81 -28 -118q-37 -51 -106 -51q-67 0 -105 51 q-28 38 -28 118v175q0 80 28 117q38 51 105 51q69 0 106 -51q28 -37 28 -117zM1216 1365v-499h-91v55q-53 -62 -103 -62q-46 0 -59 37q-8 24 -8 75v394h91v-367q0 -33 1 -35q3 -22 21 -22q27 0 57 43v381h91z" />-<glyph unicode="" horiz-adv-x="1408" d="M597 869q-10 -18 -257 -456q-27 -46 -65 -46h-239q-21 0 -31 17t0 36l253 448q1 0 0 1l-161 279q-12 22 -1 37q9 15 32 15h239q40 0 66 -45zM1403 1511q11 -16 0 -37l-528 -934v-1l336 -615q11 -20 1 -37q-10 -15 -32 -15h-239q-42 0 -66 45l-339 622q18 32 531 942 q25 45 64 45h241q22 0 31 -15z" />-<glyph unicode="" d="M685 771q0 1 -126 222q-21 34 -52 34h-184q-18 0 -26 -11q-7 -12 1 -29l125 -216v-1l-196 -346q-9 -14 0 -28q8 -13 24 -13h185q31 0 50 36zM1309 1268q-7 12 -24 12h-187q-30 0 -49 -35l-411 -729q1 -2 262 -481q20 -35 52 -35h184q18 0 25 12q8 13 -1 28l-260 476v1 l409 723q8 16 0 28zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M1280 640q0 37 -30 54l-512 320q-31 20 -65 2q-33 -18 -33 -56v-640q0 -38 33 -56q16 -8 31 -8q20 0 34 10l512 320q30 17 30 54zM1792 640q0 -96 -1 -150t-8.5 -136.5t-22.5 -147.5q-16 -73 -69 -123t-124 -58q-222 -25 -671 -25t-671 25q-71 8 -124.5 58t-69.5 123 q-14 65 -21.5 147.5t-8.5 136.5t-1 150t1 150t8.5 136.5t22.5 147.5q16 73 69 123t124 58q222 25 671 25t671 -25q71 -8 124.5 -58t69.5 -123q14 -65 21.5 -147.5t8.5 -136.5t1 -150z" />-<glyph unicode="" horiz-adv-x="1792" d="M402 829l494 -305l-342 -285l-490 319zM1388 274v-108l-490 -293v-1l-1 1l-1 -1v1l-489 293v108l147 -96l342 284v2l1 -1l1 1v-2l343 -284zM554 1418l342 -285l-494 -304l-338 270zM1390 829l338 -271l-489 -319l-343 285zM1239 1418l489 -319l-338 -270l-494 304z" />-<glyph unicode="" horiz-adv-x="1408" d="M928 135v-151l-707 -1v151zM1169 481v-701l-1 -35v-1h-1132l-35 1h-1v736h121v-618h928v618h120zM241 393l704 -65l-13 -150l-705 65zM309 709l683 -183l-39 -146l-683 183zM472 1058l609 -360l-77 -130l-609 360zM832 1389l398 -585l-124 -85l-399 584zM1285 1536 l121 -697l-149 -26l-121 697z" />-<glyph unicode="" d="M1362 110v648h-135q20 -63 20 -131q0 -126 -64 -232.5t-174 -168.5t-240 -62q-197 0 -337 135.5t-140 327.5q0 68 20 131h-141v-648q0 -26 17.5 -43.5t43.5 -17.5h1069q25 0 43 17.5t18 43.5zM1078 643q0 124 -90.5 211.5t-218.5 87.5q-127 0 -217.5 -87.5t-90.5 -211.5 t90.5 -211.5t217.5 -87.5q128 0 218.5 87.5t90.5 211.5zM1362 1003v165q0 28 -20 48.5t-49 20.5h-174q-29 0 -49 -20.5t-20 -48.5v-165q0 -29 20 -49t49 -20h174q29 0 49 20t20 49zM1536 1211v-1142q0 -81 -58 -139t-139 -58h-1142q-81 0 -139 58t-58 139v1142q0 81 58 139 t139 58h1142q81 0 139 -58t58 -139z" />-<glyph unicode="" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM698 640q0 88 -62 150t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150zM1262 640q0 88 -62 150 t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150z" />-<glyph unicode="" d="M768 914l201 -306h-402zM1133 384h94l-459 691l-459 -691h94l104 160h522zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" horiz-adv-x="1408" d="M815 677q8 -63 -50.5 -101t-111.5 -6q-39 17 -53.5 58t-0.5 82t52 58q36 18 72.5 12t64 -35.5t27.5 -67.5zM926 698q-14 107 -113 164t-197 13q-63 -28 -100.5 -88.5t-34.5 -129.5q4 -91 77.5 -155t165.5 -56q91 8 152 84t50 168zM1165 1240q-20 27 -56 44.5t-58 22 t-71 12.5q-291 47 -566 -2q-43 -7 -66 -12t-55 -22t-50 -43q30 -28 76 -45.5t73.5 -22t87.5 -11.5q228 -29 448 -1q63 8 89.5 12t72.5 21.5t75 46.5zM1222 205q-8 -26 -15.5 -76.5t-14 -84t-28.5 -70t-58 -56.5q-86 -48 -189.5 -71.5t-202 -22t-201.5 18.5q-46 8 -81.5 18 t-76.5 27t-73 43.5t-52 61.5q-25 96 -57 292l6 16l18 9q223 -148 506.5 -148t507.5 148q21 -6 24 -23t-5 -45t-8 -37zM1403 1166q-26 -167 -111 -655q-5 -30 -27 -56t-43.5 -40t-54.5 -31q-252 -126 -610 -88q-248 27 -394 139q-15 12 -25.5 26.5t-17 35t-9 34t-6 39.5 t-5.5 35q-9 50 -26.5 150t-28 161.5t-23.5 147.5t-22 158q3 26 17.5 48.5t31.5 37.5t45 30t46 22.5t48 18.5q125 46 313 64q379 37 676 -50q155 -46 215 -122q16 -20 16.5 -51t-5.5 -54z" />-<glyph unicode="" d="M848 666q0 43 -41 66t-77 1q-43 -20 -42.5 -72.5t43.5 -70.5q39 -23 81 4t36 72zM928 682q8 -66 -36 -121t-110 -61t-119 40t-56 113q-2 49 25.5 93t72.5 64q70 31 141.5 -10t81.5 -118zM1100 1073q-20 -21 -53.5 -34t-53 -16t-63.5 -8q-155 -20 -324 0q-44 6 -63 9.5 t-52.5 16t-54.5 32.5q13 19 36 31t40 15.5t47 8.5q198 35 408 1q33 -5 51 -8.5t43 -16t39 -31.5zM1142 327q0 7 5.5 26.5t3 32t-17.5 16.5q-161 -106 -365 -106t-366 106l-12 -6l-5 -12q26 -154 41 -210q47 -81 204 -108q249 -46 428 53q34 19 49 51.5t22.5 85.5t12.5 71z M1272 1020q9 53 -8 75q-43 55 -155 88q-216 63 -487 36q-132 -12 -226 -46q-38 -15 -59.5 -25t-47 -34t-29.5 -54q8 -68 19 -138t29 -171t24 -137q1 -5 5 -31t7 -36t12 -27t22 -28q105 -80 284 -100q259 -28 440 63q24 13 39.5 23t31 29t19.5 40q48 267 80 473zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="1024" d="M944 207l80 -237q-23 -35 -111 -66t-177 -32q-104 -2 -190.5 26t-142.5 74t-95 106t-55.5 120t-16.5 118v544h-168v215q72 26 129 69.5t91 90t58 102t34 99t15 88.5q1 5 4.5 8.5t7.5 3.5h244v-424h333v-252h-334v-518q0 -30 6.5 -56t22.5 -52.5t49.5 -41.5t81.5 -14 q78 2 134 29z" />-<glyph unicode="" d="M1136 75l-62 183q-44 -22 -103 -22q-36 -1 -62 10.5t-38.5 31.5t-17.5 40.5t-5 43.5v398h257v194h-256v326h-188q-8 0 -9 -10q-5 -44 -17.5 -87t-39 -95t-77 -95t-118.5 -68v-165h130v-418q0 -57 21.5 -115t65 -111t121 -85.5t176.5 -30.5q69 1 136.5 25t85.5 50z M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="768" d="M765 237q8 -19 -5 -35l-350 -384q-10 -10 -23 -10q-14 0 -24 10l-355 384q-13 16 -5 35q9 19 29 19h224v1248q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1248h224q21 0 29 -19z" />-<glyph unicode="" horiz-adv-x="768" d="M765 1043q-9 -19 -29 -19h-224v-1248q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1248h-224q-21 0 -29 19t5 35l350 384q10 10 23 10q14 0 24 -10l355 -384q13 -16 5 -35z" />-<glyph unicode="" horiz-adv-x="1792" d="M1792 736v-192q0 -14 -9 -23t-23 -9h-1248v-224q0 -21 -19 -29t-35 5l-384 350q-10 10 -10 23q0 14 10 24l384 354q16 14 35 6q19 -9 19 -29v-224h1248q14 0 23 -9t9 -23z" />-<glyph unicode="" horiz-adv-x="1792" d="M1728 643q0 -14 -10 -24l-384 -354q-16 -14 -35 -6q-19 9 -19 29v224h-1248q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h1248v224q0 21 19 29t35 -5l384 -350q10 -10 10 -23z" />-<glyph unicode="" horiz-adv-x="1408" d="M1393 321q-39 -125 -123 -250q-129 -196 -257 -196q-49 0 -140 32q-86 32 -151 32q-61 0 -142 -33q-81 -34 -132 -34q-152 0 -301 259q-147 261 -147 503q0 228 113 374q112 144 284 144q72 0 177 -30q104 -30 138 -30q45 0 143 34q102 34 173 34q119 0 213 -65 q52 -36 104 -100q-79 -67 -114 -118q-65 -94 -65 -207q0 -124 69 -223t158 -126zM1017 1494q0 -61 -29 -136q-30 -75 -93 -138q-54 -54 -108 -72q-37 -11 -104 -17q3 149 78 257q74 107 250 148q1 -3 2.5 -11t2.5 -11q0 -4 0.5 -10t0.5 -10z" />-<glyph unicode="" horiz-adv-x="1664" d="M682 530v-651l-682 94v557h682zM682 1273v-659h-682v565zM1664 530v-786l-907 125v661h907zM1664 1408v-794h-907v669z" />-<glyph unicode="" horiz-adv-x="1408" d="M493 1053q16 0 27.5 11.5t11.5 27.5t-11.5 27.5t-27.5 11.5t-27 -11.5t-11 -27.5t11 -27.5t27 -11.5zM915 1053q16 0 27 11.5t11 27.5t-11 27.5t-27 11.5t-27.5 -11.5t-11.5 -27.5t11.5 -27.5t27.5 -11.5zM103 869q42 0 72 -30t30 -72v-430q0 -43 -29.5 -73t-72.5 -30 t-73 30t-30 73v430q0 42 30 72t73 30zM1163 850v-666q0 -46 -32 -78t-77 -32h-75v-227q0 -43 -30 -73t-73 -30t-73 30t-30 73v227h-138v-227q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73l-1 227h-74q-46 0 -78 32t-32 78v666h918zM931 1255q107 -55 171 -153.5t64 -215.5 h-925q0 117 64 215.5t172 153.5l-71 131q-7 13 5 20q13 6 20 -6l72 -132q95 42 201 42t201 -42l72 132q7 12 20 6q12 -7 5 -20zM1408 767v-430q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73v430q0 43 30 72.5t72 29.5q43 0 73 -29.5t30 -72.5z" />-<glyph unicode="" d="M663 1125q-11 -1 -15.5 -10.5t-8.5 -9.5q-5 -1 -5 5q0 12 19 15h10zM750 1111q-4 -1 -11.5 6.5t-17.5 4.5q24 11 32 -2q3 -6 -3 -9zM399 684q-4 1 -6 -3t-4.5 -12.5t-5.5 -13.5t-10 -13q-7 -10 -1 -12q4 -1 12.5 7t12.5 18q1 3 2 7t2 6t1.5 4.5t0.5 4v3t-1 2.5t-3 2z M1254 325q0 18 -55 42q4 15 7.5 27.5t5 26t3 21.5t0.5 22.5t-1 19.5t-3.5 22t-4 20.5t-5 25t-5.5 26.5q-10 48 -47 103t-72 75q24 -20 57 -83q87 -162 54 -278q-11 -40 -50 -42q-31 -4 -38.5 18.5t-8 83.5t-11.5 107q-9 39 -19.5 69t-19.5 45.5t-15.5 24.5t-13 15t-7.5 7 q-14 62 -31 103t-29.5 56t-23.5 33t-15 40q-4 21 6 53.5t4.5 49.5t-44.5 25q-15 3 -44.5 18t-35.5 16q-8 1 -11 26t8 51t36 27q37 3 51 -30t4 -58q-11 -19 -2 -26.5t30 -0.5q13 4 13 36v37q-5 30 -13.5 50t-21 30.5t-23.5 15t-27 7.5q-107 -8 -89 -134q0 -15 -1 -15 q-9 9 -29.5 10.5t-33 -0.5t-15.5 5q1 57 -16 90t-45 34q-27 1 -41.5 -27.5t-16.5 -59.5q-1 -15 3.5 -37t13 -37.5t15.5 -13.5q10 3 16 14q4 9 -7 8q-7 0 -15.5 14.5t-9.5 33.5q-1 22 9 37t34 14q17 0 27 -21t9.5 -39t-1.5 -22q-22 -15 -31 -29q-8 -12 -27.5 -23.5 t-20.5 -12.5q-13 -14 -15.5 -27t7.5 -18q14 -8 25 -19.5t16 -19t18.5 -13t35.5 -6.5q47 -2 102 15q2 1 23 7t34.5 10.5t29.5 13t21 17.5q9 14 20 8q5 -3 6.5 -8.5t-3 -12t-16.5 -9.5q-20 -6 -56.5 -21.5t-45.5 -19.5q-44 -19 -70 -23q-25 -5 -79 2q-10 2 -9 -2t17 -19 q25 -23 67 -22q17 1 36 7t36 14t33.5 17.5t30 17t24.5 12t17.5 2.5t8.5 -11q0 -2 -1 -4.5t-4 -5t-6 -4.5t-8.5 -5t-9 -4.5t-10 -5t-9.5 -4.5q-28 -14 -67.5 -44t-66.5 -43t-49 -1q-21 11 -63 73q-22 31 -25 22q-1 -3 -1 -10q0 -25 -15 -56.5t-29.5 -55.5t-21 -58t11.5 -63 q-23 -6 -62.5 -90t-47.5 -141q-2 -18 -1.5 -69t-5.5 -59q-8 -24 -29 -3q-32 31 -36 94q-2 28 4 56q4 19 -1 18l-4 -5q-36 -65 10 -166q5 -12 25 -28t24 -20q20 -23 104 -90.5t93 -76.5q16 -15 17.5 -38t-14 -43t-45.5 -23q8 -15 29 -44.5t28 -54t7 -70.5q46 24 7 92 q-4 8 -10.5 16t-9.5 12t-2 6q3 5 13 9.5t20 -2.5q46 -52 166 -36q133 15 177 87q23 38 34 30q12 -6 10 -52q-1 -25 -23 -92q-9 -23 -6 -37.5t24 -15.5q3 19 14.5 77t13.5 90q2 21 -6.5 73.5t-7.5 97t23 70.5q15 18 51 18q1 37 34.5 53t72.5 10.5t60 -22.5zM626 1152 q3 17 -2.5 30t-11.5 15q-9 2 -9 -7q2 -5 5 -6q10 0 7 -15q-3 -20 8 -20q3 0 3 3zM1045 955q-2 8 -6.5 11.5t-13 5t-14.5 5.5q-5 3 -9.5 8t-7 8t-5.5 6.5t-4 4t-4 -1.5q-14 -16 7 -43.5t39 -31.5q9 -1 14.5 8t3.5 20zM867 1168q0 11 -5 19.5t-11 12.5t-9 3q-14 -1 -7 -7l4 -2 q14 -4 18 -31q0 -3 8 2zM921 1401q0 2 -2.5 5t-9 7t-9.5 6q-15 15 -24 15q-9 -1 -11.5 -7.5t-1 -13t-0.5 -12.5q-1 -4 -6 -10.5t-6 -9t3 -8.5q4 -3 8 0t11 9t15 9q1 1 9 1t15 2t9 7zM1486 60q20 -12 31 -24.5t12 -24t-2.5 -22.5t-15.5 -22t-23.5 -19.5t-30 -18.5 t-31.5 -16.5t-32 -15.5t-27 -13q-38 -19 -85.5 -56t-75.5 -64q-17 -16 -68 -19.5t-89 14.5q-18 9 -29.5 23.5t-16.5 25.5t-22 19.5t-47 9.5q-44 1 -130 1q-19 0 -57 -1.5t-58 -2.5q-44 -1 -79.5 -15t-53.5 -30t-43.5 -28.5t-53.5 -11.5q-29 1 -111 31t-146 43q-19 4 -51 9.5 t-50 9t-39.5 9.5t-33.5 14.5t-17 19.5q-10 23 7 66.5t18 54.5q1 16 -4 40t-10 42.5t-4.5 36.5t10.5 27q14 12 57 14t60 12q30 18 42 35t12 51q21 -73 -32 -106q-32 -20 -83 -15q-34 3 -43 -10q-13 -15 5 -57q2 -6 8 -18t8.5 -18t4.5 -17t1 -22q0 -15 -17 -49t-14 -48 q3 -17 37 -26q20 -6 84.5 -18.5t99.5 -20.5q24 -6 74 -22t82.5 -23t55.5 -4q43 6 64.5 28t23 48t-7.5 58.5t-19 52t-20 36.5q-121 190 -169 242q-68 74 -113 40q-11 -9 -15 15q-3 16 -2 38q1 29 10 52t24 47t22 42q8 21 26.5 72t29.5 78t30 61t39 54q110 143 124 195 q-12 112 -16 310q-2 90 24 151.5t106 104.5q39 21 104 21q53 1 106 -13.5t89 -41.5q57 -42 91.5 -121.5t29.5 -147.5q-5 -95 30 -214q34 -113 133 -218q55 -59 99.5 -163t59.5 -191q8 -49 5 -84.5t-12 -55.5t-20 -22q-10 -2 -23.5 -19t-27 -35.5t-40.5 -33.5t-61 -14 q-18 1 -31.5 5t-22.5 13.5t-13.5 15.5t-11.5 20.5t-9 19.5q-22 37 -41 30t-28 -49t7 -97q20 -70 1 -195q-10 -65 18 -100.5t73 -33t85 35.5q59 49 89.5 66.5t103.5 42.5q53 18 77 36.5t18.5 34.5t-25 28.5t-51.5 23.5q-33 11 -49.5 48t-15 72.5t15.5 47.5q1 -31 8 -56.5 t14.5 -40.5t20.5 -28.5t21 -19t21.5 -13t16.5 -9.5z" />-<glyph unicode="" d="M1024 36q-42 241 -140 498h-2l-2 -1q-16 -6 -43 -16.5t-101 -49t-137 -82t-131 -114.5t-103 -148l-15 11q184 -150 418 -150q132 0 256 52zM839 643q-21 49 -53 111q-311 -93 -673 -93q-1 -7 -1 -21q0 -124 44 -236.5t124 -201.5q50 89 123.5 166.5t142.5 124.5t130.5 81 t99.5 48l37 13q4 1 13 3.5t13 4.5zM732 855q-120 213 -244 378q-138 -65 -234 -186t-128 -272q302 0 606 80zM1416 536q-210 60 -409 29q87 -239 128 -469q111 75 185 189.5t96 250.5zM611 1277q-1 0 -2 -1q1 1 2 1zM1201 1132q-185 164 -433 164q-76 0 -155 -19 q131 -170 246 -382q69 26 130 60.5t96.5 61.5t65.5 57t37.5 40.5zM1424 647q-3 232 -149 410l-1 -1q-9 -12 -19 -24.5t-43.5 -44.5t-71 -60.5t-100 -65t-131.5 -64.5q25 -53 44 -95q2 -6 6.5 -17.5t7.5 -16.5q36 5 74.5 7t73.5 2t69 -1.5t64 -4t56.5 -5.5t48 -6.5t36.5 -6 t25 -4.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1173 473q0 50 -19.5 91.5t-48.5 68.5t-73 49t-82.5 34t-87.5 23l-104 24q-30 7 -44 10.5t-35 11.5t-30 16t-16.5 21t-7.5 30q0 77 144 77q43 0 77 -12t54 -28.5t38 -33.5t40 -29t48 -12q47 0 75.5 32t28.5 77q0 55 -56 99.5t-142 67.5t-182 23q-68 0 -132 -15.5 t-119.5 -47t-89 -87t-33.5 -128.5q0 -61 19 -106.5t56 -75.5t80 -48.5t103 -32.5l146 -36q90 -22 112 -36q32 -20 32 -60q0 -39 -40 -64.5t-105 -25.5q-51 0 -91.5 16t-65 38.5t-45.5 45t-46 38.5t-54 16q-50 0 -75.5 -30t-25.5 -75q0 -92 122 -157.5t291 -65.5 q73 0 140 18.5t122.5 53.5t88.5 93.5t33 131.5zM1536 256q0 -159 -112.5 -271.5t-271.5 -112.5q-130 0 -234 80q-77 -16 -150 -16q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5q0 73 16 150q-80 104 -80 234q0 159 112.5 271.5t271.5 112.5q130 0 234 -80 q77 16 150 16q143 0 273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -73 -16 -150q80 -104 80 -234z" />-<glyph unicode="" horiz-adv-x="1280" d="M1000 1102l37 194q5 23 -9 40t-35 17h-712q-23 0 -38.5 -17t-15.5 -37v-1101q0 -7 6 -1l291 352q23 26 38 33.5t48 7.5h239q22 0 37 14.5t18 29.5q24 130 37 191q4 21 -11.5 40t-36.5 19h-294q-29 0 -48 19t-19 48v42q0 29 19 47.5t48 18.5h346q18 0 35 13.5t20 29.5z M1227 1324q-15 -73 -53.5 -266.5t-69.5 -350t-35 -173.5q-6 -22 -9 -32.5t-14 -32.5t-24.5 -33t-38.5 -21t-58 -10h-271q-13 0 -22 -10q-8 -9 -426 -494q-22 -25 -58.5 -28.5t-48.5 5.5q-55 22 -55 98v1410q0 55 38 102.5t120 47.5h888q95 0 127 -53t10 -159zM1227 1324 l-158 -790q4 17 35 173.5t69.5 350t53.5 266.5z" />-<glyph unicode="" d="M704 192v1024q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-1024q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1376 576v640q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-640q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408 q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1280" d="M1280 480q0 -40 -28 -68t-68 -28q-51 0 -80 43l-227 341h-45v-132l247 -411q9 -15 9 -33q0 -26 -19 -45t-45 -19h-192v-272q0 -46 -33 -79t-79 -33h-160q-46 0 -79 33t-33 79v272h-192q-26 0 -45 19t-19 45q0 18 9 33l247 411v132h-45l-227 -341q-29 -43 -80 -43 q-40 0 -68 28t-28 68q0 29 16 53l256 384q73 107 176 107h384q103 0 176 -107l256 -384q16 -24 16 -53zM864 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />-<glyph unicode="" horiz-adv-x="1024" d="M1024 832v-416q0 -40 -28 -68t-68 -28t-68 28t-28 68v352h-64v-912q0 -46 -33 -79t-79 -33t-79 33t-33 79v464h-64v-464q0 -46 -33 -79t-79 -33t-79 33t-33 79v912h-64v-352q0 -40 -28 -68t-68 -28t-68 28t-28 68v416q0 80 56 136t136 56h640q80 0 136 -56t56 -136z M736 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />-<glyph unicode="" d="M773 234l350 473q16 22 24.5 59t-6 85t-61.5 79q-40 26 -83 25.5t-73.5 -17.5t-54.5 -45q-36 -40 -96 -40q-59 0 -95 40q-24 28 -54.5 45t-73.5 17.5t-84 -25.5q-46 -31 -60.5 -79t-6 -85t24.5 -59zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M1472 640q0 117 -45.5 223.5t-123 184t-184 123t-223.5 45.5t-223.5 -45.5t-184 -123t-123 -184t-45.5 -223.5t45.5 -223.5t123 -184t184 -123t223.5 -45.5t223.5 45.5t184 123t123 184t45.5 223.5zM1748 363q-4 -15 -20 -20l-292 -96v-306q0 -16 -13 -26q-15 -10 -29 -4 l-292 94l-180 -248q-10 -13 -26 -13t-26 13l-180 248l-292 -94q-14 -6 -29 4q-13 10 -13 26v306l-292 96q-16 5 -20 20q-5 17 4 29l180 248l-180 248q-9 13 -4 29q4 15 20 20l292 96v306q0 16 13 26q15 10 29 4l292 -94l180 248q9 12 26 12t26 -12l180 -248l292 94 q14 6 29 -4q13 -10 13 -26v-306l292 -96q16 -5 20 -20q5 -16 -4 -29l-180 -248l180 -248q9 -12 4 -29z" />-<glyph unicode="" d="M1262 233q-54 -9 -110 -9q-182 0 -337 90t-245 245t-90 337q0 192 104 357q-201 -60 -328.5 -229t-127.5 -384q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51q144 0 273.5 61.5t220.5 171.5zM1465 318q-94 -203 -283.5 -324.5t-413.5 -121.5q-156 0 -298 61 t-245 164t-164 245t-61 298q0 153 57.5 292.5t156 241.5t235.5 164.5t290 68.5q44 2 61 -39q18 -41 -15 -72q-86 -78 -131.5 -181.5t-45.5 -218.5q0 -148 73 -273t198 -198t273 -73q118 0 228 51q41 18 72 -13q14 -14 17.5 -34t-4.5 -38z" />-<glyph unicode="" horiz-adv-x="1792" d="M1088 704q0 26 -19 45t-45 19h-256q-26 0 -45 -19t-19 -45t19 -45t45 -19h256q26 0 45 19t19 45zM1664 896v-960q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v960q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1728 1344v-256q0 -26 -19 -45t-45 -19h-1536 q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1536q26 0 45 -19t19 -45z" />-<glyph unicode="" horiz-adv-x="1664" d="M1632 576q0 -26 -19 -45t-45 -19h-224q0 -171 -67 -290l208 -209q19 -19 19 -45t-19 -45q-18 -19 -45 -19t-45 19l-198 197q-5 -5 -15 -13t-42 -28.5t-65 -36.5t-82 -29t-97 -13v896h-128v-896q-51 0 -101.5 13.5t-87 33t-66 39t-43.5 32.5l-15 14l-183 -207 q-20 -21 -48 -21q-24 0 -43 16q-19 18 -20.5 44.5t15.5 46.5l202 227q-58 114 -58 274h-224q-26 0 -45 19t-19 45t19 45t45 19h224v294l-173 173q-19 19 -19 45t19 45t45 19t45 -19l173 -173h844l173 173q19 19 45 19t45 -19t19 -45t-19 -45l-173 -173v-294h224q26 0 45 -19 t19 -45zM1152 1152h-640q0 133 93.5 226.5t226.5 93.5t226.5 -93.5t93.5 -226.5z" />-<glyph unicode="" horiz-adv-x="1920" d="M1917 1016q23 -64 -150 -294q-24 -32 -65 -85q-78 -100 -90 -131q-17 -41 14 -81q17 -21 81 -82h1l1 -1l1 -1l2 -2q141 -131 191 -221q3 -5 6.5 -12.5t7 -26.5t-0.5 -34t-25 -27.5t-59 -12.5l-256 -4q-24 -5 -56 5t-52 22l-20 12q-30 21 -70 64t-68.5 77.5t-61 58 t-56.5 15.5q-3 -1 -8 -3.5t-17 -14.5t-21.5 -29.5t-17 -52t-6.5 -77.5q0 -15 -3.5 -27.5t-7.5 -18.5l-4 -5q-18 -19 -53 -22h-115q-71 -4 -146 16.5t-131.5 53t-103 66t-70.5 57.5l-25 24q-10 10 -27.5 30t-71.5 91t-106 151t-122.5 211t-130.5 272q-6 16 -6 27t3 16l4 6 q15 19 57 19l274 2q12 -2 23 -6.5t16 -8.5l5 -3q16 -11 24 -32q20 -50 46 -103.5t41 -81.5l16 -29q29 -60 56 -104t48.5 -68.5t41.5 -38.5t34 -14t27 5q2 1 5 5t12 22t13.5 47t9.5 81t0 125q-2 40 -9 73t-14 46l-6 12q-25 34 -85 43q-13 2 5 24q17 19 38 30q53 26 239 24 q82 -1 135 -13q20 -5 33.5 -13.5t20.5 -24t10.5 -32t3.5 -45.5t-1 -55t-2.5 -70.5t-1.5 -82.5q0 -11 -1 -42t-0.5 -48t3.5 -40.5t11.5 -39t22.5 -24.5q8 -2 17 -4t26 11t38 34.5t52 67t68 107.5q60 104 107 225q4 10 10 17.5t11 10.5l4 3l5 2.5t13 3t20 0.5l288 2 q39 5 64 -2.5t31 -16.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M675 252q21 34 11 69t-45 50q-34 14 -73 1t-60 -46q-22 -34 -13 -68.5t43 -50.5t74.5 -2.5t62.5 47.5zM769 373q8 13 3.5 26.5t-17.5 18.5q-14 5 -28.5 -0.5t-21.5 -18.5q-17 -31 13 -45q14 -5 29 0.5t22 18.5zM943 266q-45 -102 -158 -150t-224 -12 q-107 34 -147.5 126.5t6.5 187.5q47 93 151.5 139t210.5 19q111 -29 158.5 -119.5t2.5 -190.5zM1255 426q-9 96 -89 170t-208.5 109t-274.5 21q-223 -23 -369.5 -141.5t-132.5 -264.5q9 -96 89 -170t208.5 -109t274.5 -21q223 23 369.5 141.5t132.5 264.5zM1563 422 q0 -68 -37 -139.5t-109 -137t-168.5 -117.5t-226 -83t-270.5 -31t-275 33.5t-240.5 93t-171.5 151t-65 199.5q0 115 69.5 245t197.5 258q169 169 341.5 236t246.5 -7q65 -64 20 -209q-4 -14 -1 -20t10 -7t14.5 0.5t13.5 3.5l6 2q139 59 246 59t153 -61q45 -63 0 -178 q-2 -13 -4.5 -20t4.5 -12.5t12 -7.5t17 -6q57 -18 103 -47t80 -81.5t34 -116.5zM1489 1046q42 -47 54.5 -108.5t-6.5 -117.5q-8 -23 -29.5 -34t-44.5 -4q-23 8 -34 29.5t-4 44.5q20 63 -24 111t-107 35q-24 -5 -45 8t-25 37q-5 24 8 44.5t37 25.5q60 13 119 -5.5t101 -65.5z M1670 1209q87 -96 112.5 -222.5t-13.5 -241.5q-9 -27 -34 -40t-52 -4t-40 34t-5 52q28 82 10 172t-80 158q-62 69 -148 95.5t-173 8.5q-28 -6 -52 9.5t-30 43.5t9.5 51.5t43.5 29.5q123 26 244 -11.5t208 -134.5z" />-<glyph unicode="" d="M1133 -34q-171 -94 -368 -94q-196 0 -367 94q138 87 235.5 211t131.5 268q35 -144 132.5 -268t235.5 -211zM638 1394v-485q0 -252 -126.5 -459.5t-330.5 -306.5q-181 215 -181 495q0 187 83.5 349.5t229.5 269.5t325 137zM1536 638q0 -280 -181 -495 q-204 99 -330.5 306.5t-126.5 459.5v485q179 -30 325 -137t229.5 -269.5t83.5 -349.5z" />-<glyph unicode="" horiz-adv-x="1408" d="M1402 433q-32 -80 -76 -138t-91 -88.5t-99 -46.5t-101.5 -14.5t-96.5 8.5t-86.5 22t-69.5 27.5t-46 22.5l-17 10q-113 -228 -289.5 -359.5t-384.5 -132.5q-19 0 -32 13t-13 32t13 31.5t32 12.5q173 1 322.5 107.5t251.5 294.5q-36 -14 -72 -23t-83 -13t-91 2.5t-93 28.5 t-92 59t-84.5 100t-74.5 146q114 47 214 57t167.5 -7.5t124.5 -56.5t88.5 -77t56.5 -82q53 131 79 291q-7 -1 -18 -2.5t-46.5 -2.5t-69.5 0.5t-81.5 10t-88.5 23t-84 42.5t-75 65t-54.5 94.5t-28.5 127.5q70 28 133.5 36.5t112.5 -1t92 -30t73.5 -50t56 -61t42 -63t27.5 -56 t16 -39.5l4 -16q12 122 12 195q-8 6 -21.5 16t-49 44.5t-63.5 71.5t-54 93t-33 112.5t12 127t70 138.5q73 -25 127.5 -61.5t84.5 -76.5t48 -85t20.5 -89t-0.5 -85.5t-13 -76.5t-19 -62t-17 -42l-7 -15q1 -5 1 -50.5t-1 -71.5q3 7 10 18.5t30.5 43t50.5 58t71 55.5t91.5 44.5 t112 14.5t132.5 -24q-2 -78 -21.5 -141.5t-50 -104.5t-69.5 -71.5t-81.5 -45.5t-84.5 -24t-80 -9.5t-67.5 1t-46.5 4.5l-17 3q-23 -147 -73 -283q6 7 18 18.5t49.5 41t77.5 52.5t99.5 42t117.5 20t129 -23.5t137 -77.5z" />-<glyph unicode="" horiz-adv-x="1280" d="M1259 283v-66q0 -85 -57.5 -144.5t-138.5 -59.5h-57l-260 -269v269h-529q-81 0 -138.5 59.5t-57.5 144.5v66h1238zM1259 609v-255h-1238v255h1238zM1259 937v-255h-1238v255h1238zM1259 1077v-67h-1238v67q0 84 57.5 143.5t138.5 59.5h846q81 0 138.5 -59.5t57.5 -143.5z " />-<glyph unicode="" d="M1152 640q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192h-352q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h352v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198 t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1152 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-352v-192q0 -14 -9 -23t-23 -9q-12 0 -24 10l-319 319q-9 9 -9 23t9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h352q13 0 22.5 -9.5t9.5 -22.5zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198 t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1024 960v-640q0 -26 -19 -45t-45 -19q-20 0 -37 12l-448 320q-27 19 -27 52t27 52l448 320q17 12 37 12q26 0 45 -19t19 -45zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5z M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" d="M1024 640q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5 t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" horiz-adv-x="1664" d="M1023 349l102 -204q-58 -179 -210 -290t-339 -111q-156 0 -288.5 77.5t-210 210t-77.5 288.5q0 181 104.5 330t274.5 211l17 -131q-122 -54 -195 -165.5t-73 -244.5q0 -185 131.5 -316.5t316.5 -131.5q126 0 232.5 65t165 175.5t49.5 236.5zM1571 249l58 -114l-256 -128 q-13 -7 -29 -7q-40 0 -57 35l-239 477h-472q-24 0 -42.5 16.5t-21.5 40.5l-96 779q-2 16 6 42q14 51 57 82.5t97 31.5q66 0 113 -47t47 -113q0 -69 -52 -117.5t-120 -41.5l37 -289h423v-128h-407l16 -128h455q40 0 57 -35l228 -455z" />-<glyph unicode="" d="M1254 899q16 85 -21 132q-52 65 -187 45q-17 -3 -41 -12.5t-57.5 -30.5t-64.5 -48.5t-59.5 -70t-44.5 -91.5q80 7 113.5 -16t26.5 -99q-5 -52 -52 -143q-43 -78 -71 -99q-44 -32 -87 14q-23 24 -37.5 64.5t-19 73t-10 84t-8.5 71.5q-23 129 -34 164q-12 37 -35.5 69 t-50.5 40q-57 16 -127 -25q-54 -32 -136.5 -106t-122.5 -102v-7q16 -8 25.5 -26t21.5 -20q21 -3 54.5 8.5t58 10.5t41.5 -30q11 -18 18.5 -38.5t15 -48t12.5 -40.5q17 -46 53 -187q36 -146 57 -197q42 -99 103 -125q43 -12 85 -1.5t76 31.5q131 77 250 237 q104 139 172.5 292.5t82.5 226.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="1152" d="M1152 704q0 -191 -94.5 -353t-256.5 -256.5t-353 -94.5h-160q-14 0 -23 9t-9 23v611l-215 -66q-3 -1 -9 -1q-10 0 -19 6q-13 10 -13 26v128q0 23 23 31l233 71v93l-215 -66q-3 -1 -9 -1q-10 0 -19 6q-13 10 -13 26v128q0 23 23 31l233 71v250q0 14 9 23t23 9h160 q14 0 23 -9t9 -23v-181l375 116q15 5 28 -5t13 -26v-128q0 -23 -23 -31l-393 -121v-93l375 116q15 5 28 -5t13 -26v-128q0 -23 -23 -31l-393 -121v-487q188 13 318 151t130 328q0 14 9 23t23 9h160q14 0 23 -9t9 -23z" />-<glyph unicode="" horiz-adv-x="1408" d="M1152 736v-64q0 -14 -9 -23t-23 -9h-352v-352q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v352h-352q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h352v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-352h352q14 0 23 -9t9 -23zM1280 288v832q0 66 -47 113t-113 47h-832 q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="2176" d="M620 416q-110 -64 -268 -64h-128v64h-64q-13 0 -22.5 23.5t-9.5 56.5q0 24 7 49q-58 2 -96.5 10.5t-38.5 20.5t38.5 20.5t96.5 10.5q-7 25 -7 49q0 33 9.5 56.5t22.5 23.5h64v64h128q158 0 268 -64h1113q42 -7 106.5 -18t80.5 -14q89 -15 150 -40.5t83.5 -47.5t22.5 -40 t-22.5 -40t-83.5 -47.5t-150 -40.5q-16 -3 -80.5 -14t-106.5 -18h-1113zM1739 668q53 -36 53 -92t-53 -92l81 -30q68 48 68 122t-68 122zM625 400h1015q-217 -38 -456 -80q-57 0 -113 -24t-83 -48l-28 -24l-288 -288q-26 -26 -70.5 -45t-89.5 -19h-96l-93 464h29 q157 0 273 64zM352 816h-29l93 464h96q46 0 90 -19t70 -45l288 -288q4 -4 11 -10.5t30.5 -23t48.5 -29t61.5 -23t72.5 -10.5l456 -80h-1015q-116 64 -273 64z" />-<glyph unicode="" horiz-adv-x="1664" d="M1519 760q62 0 103.5 -40.5t41.5 -101.5q0 -97 -93 -130l-172 -59l56 -167q7 -21 7 -47q0 -59 -42 -102t-101 -43q-47 0 -85.5 27t-53.5 72l-55 165l-310 -106l55 -164q8 -24 8 -47q0 -59 -42 -102t-102 -43q-47 0 -85 27t-53 72l-55 163l-153 -53q-29 -9 -50 -9 q-61 0 -101.5 40t-40.5 101q0 47 27.5 85t71.5 53l156 53l-105 313l-156 -54q-26 -8 -48 -8q-60 0 -101 40.5t-41 100.5q0 47 27.5 85t71.5 53l157 53l-53 159q-8 24 -8 47q0 60 42 102.5t102 42.5q47 0 85 -27t53 -72l54 -160l310 105l-54 160q-8 24 -8 47q0 59 42.5 102 t101.5 43q47 0 85.5 -27.5t53.5 -71.5l53 -161l162 55q21 6 43 6q60 0 102.5 -39.5t42.5 -98.5q0 -45 -30 -81.5t-74 -51.5l-157 -54l105 -316l164 56q24 8 46 8zM725 498l310 105l-105 315l-310 -107z" />-<glyph unicode="" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM1280 352v436q-31 -35 -64 -55q-34 -22 -132.5 -85t-151.5 -99q-98 -69 -164 -69v0v0q-66 0 -164 69 q-46 32 -141.5 92.5t-142.5 92.5q-12 8 -33 27t-31 27v-436q0 -40 28 -68t68 -28h832q40 0 68 28t28 68zM1280 925q0 41 -27.5 70t-68.5 29h-832q-40 0 -68 -28t-28 -68q0 -37 30.5 -76.5t67.5 -64.5q47 -32 137.5 -89t129.5 -83q3 -2 17 -11.5t21 -14t21 -13t23.5 -13 t21.5 -9.5t22.5 -7.5t20.5 -2.5t20.5 2.5t22.5 7.5t21.5 9.5t23.5 13t21 13t21 14t17 11.5l267 174q35 23 66.5 62.5t31.5 73.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M127 640q0 163 67 313l367 -1005q-196 95 -315 281t-119 411zM1415 679q0 -19 -2.5 -38.5t-10 -49.5t-11.5 -44t-17.5 -59t-17.5 -58l-76 -256l-278 826q46 3 88 8q19 2 26 18.5t-2.5 31t-28.5 13.5l-205 -10q-75 1 -202 10q-12 1 -20.5 -5t-11.5 -15t-1.5 -18.5t9 -16.5 t19.5 -8l80 -8l120 -328l-168 -504l-280 832q46 3 88 8q19 2 26 18.5t-2.5 31t-28.5 13.5l-205 -10q-7 0 -23 0.5t-26 0.5q105 160 274.5 253.5t367.5 93.5q147 0 280.5 -53t238.5 -149h-10q-55 0 -92 -40.5t-37 -95.5q0 -12 2 -24t4 -21.5t8 -23t9 -21t12 -22.5t12.5 -21 t14.5 -24t14 -23q63 -107 63 -212zM909 573l237 -647q1 -6 5 -11q-126 -44 -255 -44q-112 0 -217 32zM1570 1009q95 -174 95 -369q0 -209 -104 -385.5t-279 -278.5l235 678q59 169 59 276q0 42 -6 79zM896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286 t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM896 -215q173 0 331.5 68t273 182.5t182.5 273t68 331.5t-68 331.5t-182.5 273t-273 182.5t-331.5 68t-331.5 -68t-273 -182.5t-182.5 -273t-68 -331.5t68 -331.5t182.5 -273 t273 -182.5t331.5 -68z" />-<glyph unicode="" horiz-adv-x="1792" d="M1086 1536v-1536l-272 -128q-228 20 -414 102t-293 208.5t-107 272.5q0 140 100.5 263.5t275 205.5t391.5 108v-172q-217 -38 -356.5 -150t-139.5 -255q0 -152 154.5 -267t388.5 -145v1360zM1755 954l37 -390l-525 114l147 83q-119 70 -280 99v172q277 -33 481 -157z" />-<glyph unicode="" horiz-adv-x="2048" d="M960 1536l960 -384v-128h-128q0 -26 -20.5 -45t-48.5 -19h-1526q-28 0 -48.5 19t-20.5 45h-128v128zM256 896h256v-768h128v768h256v-768h128v768h256v-768h128v768h256v-768h59q28 0 48.5 -19t20.5 -45v-64h-1664v64q0 26 20.5 45t48.5 19h59v768zM1851 -64 q28 0 48.5 -19t20.5 -45v-128h-1920v128q0 26 20.5 45t48.5 19h1782z" />-<glyph unicode="" horiz-adv-x="2304" d="M1774 700l18 -316q4 -69 -82 -128t-235 -93.5t-323 -34.5t-323 34.5t-235 93.5t-82 128l18 316l574 -181q22 -7 48 -7t48 7zM2304 1024q0 -23 -22 -31l-1120 -352q-4 -1 -10 -1t-10 1l-652 206q-43 -34 -71 -111.5t-34 -178.5q63 -36 63 -109q0 -69 -58 -107l58 -433 q2 -14 -8 -25q-9 -11 -24 -11h-192q-15 0 -24 11q-10 11 -8 25l58 433q-58 38 -58 107q0 73 65 111q11 207 98 330l-333 104q-22 8 -22 31t22 31l1120 352q4 1 10 1t10 -1l1120 -352q22 -8 22 -31z" />-<glyph unicode="" d="M859 579l13 -707q-62 11 -105 11q-41 0 -105 -11l13 707q-40 69 -168.5 295.5t-216.5 374.5t-181 287q58 -15 108 -15q43 0 111 15q63 -111 133.5 -229.5t167 -276.5t138.5 -227q37 61 109.5 177.5t117.5 190t105 176t107 189.5q54 -14 107 -14q56 0 114 14v0 q-28 -39 -60 -88.5t-49.5 -78.5t-56.5 -96t-49 -84q-146 -248 -353 -610z" />-<glyph unicode="" horiz-adv-x="1280" d="M981 197q0 25 -7 49t-14.5 42t-27 41.5t-29.5 35t-38.5 34.5t-36.5 29t-41.5 30t-36.5 26q-16 2 -49 2q-53 0 -104.5 -7t-107 -25t-97 -46t-68.5 -74.5t-27 -105.5q0 -56 23.5 -102t61 -75.5t87 -50t100 -29t101.5 -8.5q58 0 111.5 13t99 39t73 73t27.5 109zM864 1055 q0 59 -17 125.5t-48 129t-84 103.5t-117 41q-42 0 -82.5 -19.5t-66.5 -52.5q-46 -59 -46 -160q0 -46 10 -97.5t31.5 -103t52 -92.5t75 -67t96.5 -26q37 0 77.5 16.5t65.5 43.5q53 56 53 159zM752 1536h417l-137 -88h-132q75 -63 113 -133t38 -160q0 -72 -24.5 -129.5 t-59.5 -93t-69.5 -65t-59 -61.5t-24.5 -66q0 -36 32 -70.5t77 -68t90.5 -73.5t77.5 -104t32 -142q0 -91 -49 -173q-71 -122 -209.5 -179.5t-298.5 -57.5q-132 0 -246.5 41.5t-172.5 137.5q-36 59 -36 131q0 81 44.5 150t118.5 115q131 82 404 100q-32 41 -47.5 73.5 t-15.5 73.5q0 40 21 85q-46 -4 -68 -4q-148 0 -249.5 96.5t-101.5 244.5q0 82 36 159t99 131q76 66 182 98t218 32z" />-<glyph unicode="" horiz-adv-x="1984" d="M831 572q0 -56 -40.5 -96t-96.5 -40q-57 0 -98 40t-41 96q0 57 41.5 98t97.5 41t96.5 -41t40.5 -98zM1292 711q56 0 96.5 -41t40.5 -98q0 -56 -40.5 -96t-96.5 -40q-57 0 -98 40t-41 96q0 57 41.5 98t97.5 41zM1984 722q0 -62 -31 -114t-83 -82q5 -33 5 -61 q0 -121 -68.5 -230.5t-197.5 -193.5q-125 -82 -285.5 -125.5t-335.5 -43.5q-176 0 -336.5 43.5t-284.5 125.5q-129 84 -197.5 193t-68.5 231q0 29 5 66q-48 31 -77 81.5t-29 109.5q0 94 66 160t160 66q83 0 148 -55q248 158 592 164l134 423q4 14 17.5 21.5t28.5 4.5 l347 -82q22 50 68.5 81t102.5 31q77 0 131.5 -54.5t54.5 -131.5t-54.5 -132t-131.5 -55q-76 0 -130.5 54t-55.5 131l-315 74l-116 -366q327 -14 560 -166q64 58 151 58q94 0 160 -66t66 -160zM1664 1459q-45 0 -77 -32t-32 -77t32 -77t77 -32t77 32t32 77t-32 77t-77 32z M77 722q0 -67 51 -111q49 131 180 235q-36 25 -82 25q-62 0 -105.5 -43.5t-43.5 -105.5zM1567 105q112 73 171.5 166t59.5 194t-59.5 193.5t-171.5 165.5q-116 75 -265.5 115.5t-313.5 40.5t-313.5 -40.5t-265.5 -115.5q-112 -73 -171.5 -165.5t-59.5 -193.5t59.5 -194 t171.5 -166q116 -75 265.5 -115.5t313.5 -40.5t313.5 40.5t265.5 115.5zM1850 605q57 46 57 117q0 62 -43.5 105.5t-105.5 43.5q-49 0 -86 -28q131 -105 178 -238zM1258 237q11 11 27 11t27 -11t11 -27.5t-11 -27.5q-99 -99 -319 -99h-2q-220 0 -319 99q-11 11 -11 27.5 t11 27.5t27 11t27 -11q77 -77 265 -77h2q188 0 265 77z" />-<glyph unicode="" d="M950 393q7 7 17.5 7t17.5 -7t7 -18t-7 -18q-65 -64 -208 -64h-1h-1q-143 0 -207 64q-8 7 -8 18t8 18q7 7 17.5 7t17.5 -7q49 -51 172 -51h1h1q122 0 173 51zM671 613q0 -37 -26 -64t-63 -27t-63 27t-26 64t26 63t63 26t63 -26t26 -63zM1214 1049q-29 0 -50 21t-21 50 q0 30 21 51t50 21q30 0 51 -21t21 -51q0 -29 -21 -50t-51 -21zM1216 1408q132 0 226 -94t94 -227v-894q0 -133 -94 -227t-226 -94h-896q-132 0 -226 94t-94 227v894q0 133 94 227t226 94h896zM1321 596q35 14 57 45.5t22 70.5q0 51 -36 87.5t-87 36.5q-60 0 -98 -48 q-151 107 -375 115l83 265l206 -49q1 -50 36.5 -85t84.5 -35q50 0 86 35.5t36 85.5t-36 86t-86 36q-36 0 -66 -20.5t-45 -53.5l-227 54q-9 2 -17.5 -2.5t-11.5 -14.5l-95 -302q-224 -4 -381 -113q-36 43 -93 43q-51 0 -87 -36.5t-36 -87.5q0 -37 19.5 -67.5t52.5 -45.5 q-7 -25 -7 -54q0 -98 74 -181.5t201.5 -132t278.5 -48.5q150 0 277.5 48.5t201.5 132t74 181.5q0 27 -6 54zM971 702q37 0 63 -26t26 -63t-26 -64t-63 -27t-63 27t-26 64t26 63t63 26z" />-<glyph unicode="" d="M866 697l90 27v62q0 79 -58 135t-138 56t-138 -55.5t-58 -134.5v-283q0 -20 -14 -33.5t-33 -13.5t-32.5 13.5t-13.5 33.5v120h-151v-122q0 -82 57.5 -139t139.5 -57q81 0 138.5 56.5t57.5 136.5v280q0 19 13.5 33t33.5 14q19 0 32.5 -14t13.5 -33v-54zM1199 502v122h-150 v-126q0 -20 -13.5 -33.5t-33.5 -13.5q-19 0 -32.5 14t-13.5 33v123l-90 -26l-60 28v-123q0 -80 58 -137t139 -57t138.5 57t57.5 139zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103 t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" horiz-adv-x="1920" d="M1062 824v118q0 42 -30 72t-72 30t-72 -30t-30 -72v-612q0 -175 -126 -299t-303 -124q-178 0 -303.5 125.5t-125.5 303.5v266h328v-262q0 -43 30 -72.5t72 -29.5t72 29.5t30 72.5v620q0 171 126.5 292t301.5 121q176 0 302 -122t126 -294v-136l-195 -58zM1592 602h328 v-266q0 -178 -125.5 -303.5t-303.5 -125.5q-177 0 -303 124.5t-126 300.5v268l131 -61l195 58v-270q0 -42 30 -71.5t72 -29.5t72 29.5t30 71.5v275z" />-<glyph unicode="" d="M1472 160v480h-704v704h-480q-93 0 -158.5 -65.5t-65.5 -158.5v-480h704v-704h480q93 0 158.5 65.5t65.5 158.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="2048" d="M328 1254h204v-983h-532v697h328v286zM328 435v369h-123v-369h123zM614 968v-697h205v697h-205zM614 1254v-204h205v204h-205zM901 968h533v-942h-533v163h328v82h-328v697zM1229 435v369h-123v-369h123zM1516 968h532v-942h-532v163h327v82h-327v697zM1843 435v369h-123 v-369h123z" />-<glyph unicode="" d="M1046 516q0 -64 -38 -109t-91 -45q-43 0 -70 15v277q28 17 70 17q53 0 91 -45.5t38 -109.5zM703 944q0 -64 -38 -109.5t-91 -45.5q-43 0 -70 15v277q28 17 70 17q53 0 91 -45t38 -109zM1265 513q0 134 -88 229t-213 95q-20 0 -39 -3q-23 -78 -78 -136q-87 -95 -211 -101 v-636l211 41v206q51 -19 117 -19q125 0 213 95t88 229zM922 940q0 134 -88.5 229t-213.5 95q-74 0 -141 -36h-186v-840l211 41v206q55 -19 116 -19q125 0 213.5 95t88.5 229zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960 q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="2038" d="M1222 607q75 3 143.5 -20.5t118 -58.5t101 -94.5t84 -108t75.5 -120.5q33 -56 78.5 -109t75.5 -80.5t99 -88.5q-48 -30 -108.5 -57.5t-138.5 -59t-114 -47.5q-44 37 -74 115t-43.5 164.5t-33 180.5t-42.5 168.5t-72.5 123t-122.5 48.5l-10 -2l-6 -4q4 -5 13 -14 q6 -5 28 -23.5t25.5 -22t19 -18t18 -20.5t11.5 -21t10.5 -27.5t4.5 -31t4 -40.5l1 -33q1 -26 -2.5 -57.5t-7.5 -52t-12.5 -58.5t-11.5 -53q-35 1 -101 -9.5t-98 -10.5q-39 0 -72 10q-2 16 -2 47q0 74 3 96q2 13 31.5 41.5t57 59t26.5 51.5q-24 2 -43 -24 q-36 -53 -111.5 -99.5t-136.5 -46.5q-25 0 -75.5 63t-106.5 139.5t-84 96.5q-6 4 -27 30q-482 -112 -513 -112q-16 0 -28 11t-12 27q0 15 8.5 26.5t22.5 14.5l486 106q-8 14 -8 25t5.5 17.5t16 11.5t20 7t23 4.5t18.5 4.5q4 1 15.5 7.5t17.5 6.5q15 0 28 -16t20 -33 q163 37 172 37q17 0 29.5 -11t12.5 -28q0 -15 -8.5 -26t-23.5 -14l-182 -40l-1 -16q-1 -26 81.5 -117.5t104.5 -91.5q47 0 119 80t72 129q0 36 -23.5 53t-51 18.5t-51 11.5t-23.5 34q0 16 10 34l-68 19q43 44 43 117q0 26 -5 58q82 16 144 16q44 0 71.5 -1.5t48.5 -8.5 t31 -13.5t20.5 -24.5t15.5 -33.5t17 -47.5t24 -60l50 25q-3 -40 -23 -60t-42.5 -21t-40 -6.5t-16.5 -20.5zM1282 842q-5 5 -13.5 15.5t-12 14.5t-10.5 11.5t-10 10.5l-8 8t-8.5 7.5t-8 5t-8.5 4.5q-7 3 -14.5 5t-20.5 2.5t-22 0.5h-32.5h-37.5q-126 0 -217 -43 q16 30 36 46.5t54 29.5t65.5 36t46 36.5t50 55t43.5 50.5q12 -9 28 -31.5t32 -36.5t38 -13l12 1v-76l22 -1q247 95 371 190q28 21 50 39t42.5 37.5t33 31t29.5 34t24 31t24.5 37t23 38t27 47.5t29.5 53l7 9q-2 -53 -43 -139q-79 -165 -205 -264t-306 -142q-14 -3 -42 -7.5 t-50 -9.5t-39 -14q3 -19 24.5 -46t21.5 -34q0 -11 -26 -30zM1061 -79q39 26 131.5 47.5t146.5 21.5q9 0 22.5 -15.5t28 -42.5t26 -50t24 -51t14.5 -33q-121 -45 -244 -45q-61 0 -125 11zM822 568l48 12l109 -177l-73 -48zM1323 51q3 -15 3 -16q0 -7 -17.5 -14.5t-46 -13 t-54 -9.5t-53.5 -7.5t-32 -4.5l-7 43q21 2 60.5 8.5t72 10t60.5 3.5h14zM866 679l-96 -20l-6 17q10 1 32.5 7t34.5 6q19 0 35 -10zM1061 45h31l10 -83l-41 -12v95zM1950 1535v1v-1zM1950 1535l-1 -5l-2 -2l1 3zM1950 1535l1 1z" />-<glyph unicode="" d="M1167 -50q-5 19 -24 5q-30 -22 -87 -39t-131 -17q-129 0 -193 49q-5 4 -13 4q-11 0 -26 -12q-7 -6 -7.5 -16t7.5 -20q34 -32 87.5 -46t102.5 -12.5t99 4.5q41 4 84.5 20.5t65 30t28.5 20.5q12 12 7 29zM1128 65q-19 47 -39 61q-23 15 -76 15q-47 0 -71 -10 q-29 -12 -78 -56q-26 -24 -12 -44q9 -8 17.5 -4.5t31.5 23.5q3 2 10.5 8.5t10.5 8.5t10 7t11.5 7t12.5 5t15 4.5t16.5 2.5t20.5 1q27 0 44.5 -7.5t23 -14.5t13.5 -22q10 -17 12.5 -20t12.5 1q23 12 14 34zM1483 346q0 22 -5 44.5t-16.5 45t-34 36.5t-52.5 14 q-33 0 -97 -41.5t-129 -83.5t-101 -42q-27 -1 -63.5 19t-76 49t-83.5 58t-100 49t-111 19q-115 -1 -197 -78.5t-84 -178.5q-2 -112 74 -164q29 -20 62.5 -28.5t103.5 -8.5q57 0 132 32.5t134 71t120 70.5t93 31q26 -1 65 -31.5t71.5 -67t68 -67.5t55.5 -32q35 -3 58.5 14 t55.5 63q28 41 42.5 101t14.5 106zM1536 506q0 -164 -62 -304.5t-166 -236t-242.5 -149.5t-290.5 -54t-293 57.5t-247.5 157t-170.5 241.5t-64 302q0 89 19.5 172.5t49 145.5t70.5 118.5t78.5 94t78.5 69.5t64.5 46.5t42.5 24.5q14 8 51 26.5t54.5 28.5t48 30t60.5 44 q36 28 58 72.5t30 125.5q129 -155 186 -193q44 -29 130 -68t129 -66q21 -13 39 -25t60.5 -46.5t76 -70.5t75 -95t69 -122t47 -148.5t19.5 -177.5z" />-<glyph unicode="" d="M1070 463l-160 -160l-151 -152l-30 -30q-65 -64 -151.5 -87t-171.5 -2q-16 -70 -72 -115t-129 -45q-85 0 -145 60.5t-60 145.5q0 72 44.5 128t113.5 72q-22 86 1 173t88 152l12 12l151 -152l-11 -11q-37 -37 -37 -89t37 -90q37 -37 89 -37t89 37l30 30l151 152l161 160z M729 1145l12 -12l-152 -152l-12 12q-37 37 -89 37t-89 -37t-37 -89.5t37 -89.5l29 -29l152 -152l160 -160l-151 -152l-161 160l-151 152l-30 30q-68 67 -90 159.5t5 179.5q-70 15 -115 71t-45 129q0 85 60 145.5t145 60.5q76 0 133.5 -49t69.5 -123q84 20 169.5 -3.5 t149.5 -87.5zM1536 78q0 -85 -60 -145.5t-145 -60.5q-74 0 -131 47t-71 118q-86 -28 -179.5 -6t-161.5 90l-11 12l151 152l12 -12q37 -37 89 -37t89 37t37 89t-37 89l-30 30l-152 152l-160 160l152 152l160 -160l152 -152l29 -30q64 -64 87.5 -150.5t2.5 -171.5 q76 -11 126.5 -68.5t50.5 -134.5zM1534 1202q0 -77 -51 -135t-127 -69q26 -85 3 -176.5t-90 -158.5l-12 -12l-151 152l12 12q37 37 37 89t-37 89t-89 37t-89 -37l-30 -30l-152 -152l-160 -160l-152 152l161 160l152 152l29 30q67 67 159 89.5t178 -3.5q11 75 68.5 126 t135.5 51q85 0 145 -60.5t60 -145.5z" />-<glyph unicode="" d="M654 458q-1 -3 -12.5 0.5t-31.5 11.5l-20 9q-44 20 -87 49q-7 5 -41 31.5t-38 28.5q-67 -103 -134 -181q-81 -95 -105 -110q-4 -2 -19.5 -4t-18.5 0q6 4 82 92q21 24 85.5 115t78.5 118q17 30 51 98.5t36 77.5q-8 1 -110 -33q-8 -2 -27.5 -7.5t-34.5 -9.5t-17 -5 q-2 -2 -2 -10.5t-1 -9.5q-5 -10 -31 -15q-23 -7 -47 0q-18 4 -28 21q-4 6 -5 23q6 2 24.5 5t29.5 6q58 16 105 32q100 35 102 35q10 2 43 19.5t44 21.5q9 3 21.5 8t14.5 5.5t6 -0.5q2 -12 -1 -33q0 -2 -12.5 -27t-26.5 -53.5t-17 -33.5q-25 -50 -77 -131l64 -28 q12 -6 74.5 -32t67.5 -28q4 -1 10.5 -25.5t4.5 -30.5zM449 944q3 -15 -4 -28q-12 -23 -50 -38q-30 -12 -60 -12q-26 3 -49 26q-14 15 -18 41l1 3q3 -3 19.5 -5t26.5 0t58 16q36 12 55 14q17 0 21 -17zM1147 815l63 -227l-139 42zM39 15l694 232v1032l-694 -233v-1031z M1280 332l102 -31l-181 657l-100 31l-216 -536l102 -31l45 110l211 -65zM777 1294l573 -184v380zM1088 -29l158 -13l-54 -160l-40 66q-130 -83 -276 -108q-58 -12 -91 -12h-84q-79 0 -199.5 39t-183.5 85q-8 7 -8 16q0 8 5 13.5t13 5.5q4 0 18 -7.5t30.5 -16.5t20.5 -11 q73 -37 159.5 -61.5t157.5 -24.5q95 0 167 14.5t157 50.5q15 7 30.5 15.5t34 19t28.5 16.5zM1536 1050v-1079l-774 246q-14 -6 -375 -127.5t-368 -121.5q-13 0 -18 13q0 1 -1 3v1078q3 9 4 10q5 6 20 11q106 35 149 50v384l558 -198q2 0 160.5 55t316 108.5t161.5 53.5 q20 0 20 -21v-418z" />-<glyph unicode="" horiz-adv-x="1792" d="M288 1152q66 0 113 -47t47 -113v-1088q0 -66 -47 -113t-113 -47h-128q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h128zM1664 989q58 -34 93 -93t35 -128v-768q0 -106 -75 -181t-181 -75h-864q-66 0 -113 47t-47 113v1536q0 40 28 68t68 28h672q40 0 88 -20t76 -48 l152 -152q28 -28 48 -76t20 -88v-163zM928 0v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM928 256v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM928 512v128q0 14 -9 23 t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1184 0v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1184 256v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128 q14 0 23 9t9 23zM1184 512v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1440 0v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1440 256v128q0 14 -9 23t-23 9h-128 q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1440 512v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1536 896v256h-160q-40 0 -68 28t-28 68v160h-640v-512h896z" />-<glyph unicode="" d="M1344 1536q26 0 45 -19t19 -45v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h1280zM512 1248v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM512 992v-64q0 -14 9 -23t23 -9h64q14 0 23 9 t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM512 736v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM512 480v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM384 160v64 q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM384 416v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM384 672v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64 q14 0 23 9t9 23zM384 928v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM384 1184v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 -96v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9 t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM896 416v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 672v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 928v64 q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 1184v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 160v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64 q14 0 23 9t9 23zM1152 416v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 672v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 928v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9 t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 1184v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23z" />-<glyph unicode="" horiz-adv-x="1280" d="M1188 988l-292 -292v-824q0 -46 -33 -79t-79 -33t-79 33t-33 79v384h-64v-384q0 -46 -33 -79t-79 -33t-79 33t-33 79v824l-292 292q-28 28 -28 68t28 68t68 28t68 -28l228 -228h368l228 228q28 28 68 28t68 -28t28 -68t-28 -68zM864 1152q0 -93 -65.5 -158.5 t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />-<glyph unicode="" horiz-adv-x="1664" d="M780 1064q0 -60 -19 -113.5t-63 -92.5t-105 -39q-76 0 -138 57.5t-92 135.5t-30 151q0 60 19 113.5t63 92.5t105 39q77 0 138.5 -57.5t91.5 -135t30 -151.5zM438 581q0 -80 -42 -139t-119 -59q-76 0 -141.5 55.5t-100.5 133.5t-35 152q0 80 42 139.5t119 59.5 q76 0 141.5 -55.5t100.5 -134t35 -152.5zM832 608q118 0 255 -97.5t229 -237t92 -254.5q0 -46 -17 -76.5t-48.5 -45t-64.5 -20t-76 -5.5q-68 0 -187.5 45t-182.5 45q-66 0 -192.5 -44.5t-200.5 -44.5q-183 0 -183 146q0 86 56 191.5t139.5 192.5t187.5 146t193 59zM1071 819 q-61 0 -105 39t-63 92.5t-19 113.5q0 74 30 151.5t91.5 135t138.5 57.5q61 0 105 -39t63 -92.5t19 -113.5q0 -73 -30 -151t-92 -135.5t-138 -57.5zM1503 923q77 0 119 -59.5t42 -139.5q0 -74 -35 -152t-100.5 -133.5t-141.5 -55.5q-77 0 -119 59t-42 139q0 74 35 152.5 t100.5 134t141.5 55.5z" />-<glyph unicode="" horiz-adv-x="768" d="M704 1008q0 -145 -57 -243.5t-152 -135.5l45 -821q2 -26 -16 -45t-44 -19h-192q-26 0 -44 19t-16 45l45 821q-95 37 -152 135.5t-57 243.5q0 128 42.5 249.5t117.5 200t160 78.5t160 -78.5t117.5 -200t42.5 -249.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M896 -93l640 349v636l-640 -233v-752zM832 772l698 254l-698 254l-698 -254zM1664 1024v-768q0 -35 -18 -65t-49 -47l-704 -384q-28 -16 -61 -16t-61 16l-704 384q-31 17 -49 47t-18 65v768q0 40 23 73t61 47l704 256q22 8 44 8t44 -8l704 -256q38 -14 61 -47t23 -73z " />-<glyph unicode="" horiz-adv-x="2304" d="M640 -96l384 192v314l-384 -164v-342zM576 358l404 173l-404 173l-404 -173zM1664 -96l384 192v314l-384 -164v-342zM1600 358l404 173l-404 173l-404 -173zM1152 651l384 165v266l-384 -164v-267zM1088 1030l441 189l-441 189l-441 -189zM2176 512v-416q0 -36 -19 -67 t-52 -47l-448 -224q-25 -14 -57 -14t-57 14l-448 224q-5 2 -7 4q-2 -2 -7 -4l-448 -224q-25 -14 -57 -14t-57 14l-448 224q-33 16 -52 47t-19 67v416q0 38 21.5 70t56.5 48l434 186v400q0 38 21.5 70t56.5 48l448 192q23 10 50 10t50 -10l448 -192q35 -16 56.5 -48t21.5 -70 v-400l434 -186q36 -16 57 -48t21 -70z" />-<glyph unicode="" horiz-adv-x="2048" d="M1848 1197h-511v-124h511v124zM1596 771q-90 0 -146 -52.5t-62 -142.5h408q-18 195 -200 195zM1612 186q63 0 122 32t76 87h221q-100 -307 -427 -307q-214 0 -340.5 132t-126.5 347q0 208 130.5 345.5t336.5 137.5q138 0 240.5 -68t153 -179t50.5 -248q0 -17 -2 -47h-658 q0 -111 57.5 -171.5t166.5 -60.5zM277 236h296q205 0 205 167q0 180 -199 180h-302v-347zM277 773h281q78 0 123.5 36.5t45.5 113.5q0 144 -190 144h-260v-294zM0 1282h594q87 0 155 -14t126.5 -47.5t90 -96.5t31.5 -154q0 -181 -172 -263q114 -32 172 -115t58 -204 q0 -75 -24.5 -136.5t-66 -103.5t-98.5 -71t-121 -42t-134 -13h-611v1260z" />-<glyph unicode="" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM499 1041h-371v-787h382q117 0 197 57.5t80 170.5q0 158 -143 200q107 52 107 164q0 57 -19.5 96.5 t-56.5 60.5t-79 29.5t-97 8.5zM477 723h-176v184h163q119 0 119 -90q0 -94 -106 -94zM486 388h-185v217h189q124 0 124 -113q0 -104 -128 -104zM1136 356q-68 0 -104 38t-36 107h411q1 10 1 30q0 132 -74.5 220.5t-203.5 88.5q-128 0 -210 -86t-82 -216q0 -135 79 -217 t213 -82q205 0 267 191h-138q-11 -34 -47.5 -54t-75.5 -20zM1126 722q113 0 124 -122h-254q4 56 39 89t91 33zM964 988h319v-77h-319v77z" />-<glyph unicode="" horiz-adv-x="1792" d="M1582 954q0 -101 -71.5 -172.5t-172.5 -71.5t-172.5 71.5t-71.5 172.5t71.5 172.5t172.5 71.5t172.5 -71.5t71.5 -172.5zM812 212q0 104 -73 177t-177 73q-27 0 -54 -6l104 -42q77 -31 109.5 -106.5t1.5 -151.5q-31 -77 -107 -109t-152 -1q-21 8 -62 24.5t-61 24.5 q32 -60 91 -96.5t130 -36.5q104 0 177 73t73 177zM1642 953q0 126 -89.5 215.5t-215.5 89.5q-127 0 -216.5 -89.5t-89.5 -215.5q0 -127 89.5 -216t216.5 -89q126 0 215.5 89t89.5 216zM1792 953q0 -189 -133.5 -322t-321.5 -133l-437 -319q-12 -129 -109 -218t-229 -89 q-121 0 -214 76t-118 192l-230 92v429l389 -157q79 48 173 48q13 0 35 -2l284 407q2 187 135.5 319t320.5 132q188 0 321.5 -133.5t133.5 -321.5z" />-<glyph unicode="" d="M1242 889q0 80 -57 136.5t-137 56.5t-136.5 -57t-56.5 -136q0 -80 56.5 -136.5t136.5 -56.5t137 56.5t57 136.5zM632 301q0 -83 -58 -140.5t-140 -57.5q-56 0 -103 29t-72 77q52 -20 98 -40q60 -24 120 1.5t85 86.5q24 60 -1.5 120t-86.5 84l-82 33q22 5 42 5 q82 0 140 -57.5t58 -140.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v153l172 -69q20 -92 93.5 -152t168.5 -60q104 0 181 70t87 173l345 252q150 0 255.5 105.5t105.5 254.5q0 150 -105.5 255.5t-255.5 105.5 q-148 0 -253 -104.5t-107 -252.5l-225 -322q-9 1 -28 1q-75 0 -137 -37l-297 119v468q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5zM1289 887q0 -100 -71 -170.5t-171 -70.5t-170.5 70.5t-70.5 170.5t70.5 171t170.5 71q101 0 171.5 -70.5t70.5 -171.5z " />-<glyph unicode="" horiz-adv-x="1792" d="M836 367l-15 -368l-2 -22l-420 29q-36 3 -67 31.5t-47 65.5q-11 27 -14.5 55t4 65t12 55t21.5 64t19 53q78 -12 509 -28zM449 953l180 -379l-147 92q-63 -72 -111.5 -144.5t-72.5 -125t-39.5 -94.5t-18.5 -63l-4 -21l-190 357q-17 26 -18 56t6 47l8 18q35 63 114 188 l-140 86zM1680 436l-188 -359q-12 -29 -36.5 -46.5t-43.5 -20.5l-18 -4q-71 -7 -219 -12l8 -164l-230 367l211 362l7 -173q170 -16 283 -5t170 33zM895 1360q-47 -63 -265 -435l-317 187l-19 12l225 356q20 31 60 45t80 10q24 -2 48.5 -12t42 -21t41.5 -33t36 -34.5 t36 -39.5t32 -35zM1550 1053l212 -363q18 -37 12.5 -76t-27.5 -74q-13 -20 -33 -37t-38 -28t-48.5 -22t-47 -16t-51.5 -14t-46 -12q-34 72 -265 436l313 195zM1407 1279l142 83l-220 -373l-419 20l151 86q-34 89 -75 166t-75.5 123.5t-64.5 80t-47 46.5l-17 13l405 -1 q31 3 58 -10.5t39 -28.5l11 -15q39 -61 112 -190z" />-<glyph unicode="" horiz-adv-x="2048" d="M480 448q0 66 -47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47t113 47t47 113zM516 768h1016l-89 357q-2 8 -14 17.5t-21 9.5h-768q-9 0 -21 -9.5t-14 -17.5zM1888 448q0 66 -47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47t113 47t47 113zM2048 544v-384 q0 -14 -9 -23t-23 -9h-96v-128q0 -80 -56 -136t-136 -56t-136 56t-56 136v128h-1024v-128q0 -80 -56 -136t-136 -56t-136 56t-56 136v128h-96q-14 0 -23 9t-9 23v384q0 93 65.5 158.5t158.5 65.5h28l105 419q23 94 104 157.5t179 63.5h768q98 0 179 -63.5t104 -157.5 l105 -419h28q93 0 158.5 -65.5t65.5 -158.5z" />-<glyph unicode="" horiz-adv-x="2048" d="M1824 640q93 0 158.5 -65.5t65.5 -158.5v-384q0 -14 -9 -23t-23 -9h-96v-64q0 -80 -56 -136t-136 -56t-136 56t-56 136v64h-1024v-64q0 -80 -56 -136t-136 -56t-136 56t-56 136v64h-96q-14 0 -23 9t-9 23v384q0 93 65.5 158.5t158.5 65.5h28l105 419q23 94 104 157.5 t179 63.5h128v224q0 14 9 23t23 9h448q14 0 23 -9t9 -23v-224h128q98 0 179 -63.5t104 -157.5l105 -419h28zM320 160q66 0 113 47t47 113t-47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47zM516 640h1016l-89 357q-2 8 -14 17.5t-21 9.5h-768q-9 0 -21 -9.5t-14 -17.5z M1728 160q66 0 113 47t47 113t-47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47z" />-<glyph unicode="" d="M1504 64q0 -26 -19 -45t-45 -19h-462q1 -17 6 -87.5t5 -108.5q0 -25 -18 -42.5t-43 -17.5h-320q-25 0 -43 17.5t-18 42.5q0 38 5 108.5t6 87.5h-462q-26 0 -45 19t-19 45t19 45l402 403h-229q-26 0 -45 19t-19 45t19 45l402 403h-197q-26 0 -45 19t-19 45t19 45l384 384 q19 19 45 19t45 -19l384 -384q19 -19 19 -45t-19 -45t-45 -19h-197l402 -403q19 -19 19 -45t-19 -45t-45 -19h-229l402 -403q19 -19 19 -45z" />-<glyph unicode="" d="M1127 326q0 32 -30 51q-193 115 -447 115q-133 0 -287 -34q-42 -9 -42 -52q0 -20 13.5 -34.5t35.5 -14.5q5 0 37 8q132 27 243 27q226 0 397 -103q19 -11 33 -11q19 0 33 13.5t14 34.5zM1223 541q0 40 -35 61q-237 141 -548 141q-153 0 -303 -42q-48 -13 -48 -64 q0 -25 17.5 -42.5t42.5 -17.5q7 0 37 8q122 33 251 33q279 0 488 -124q24 -13 38 -13q25 0 42.5 17.5t17.5 42.5zM1331 789q0 47 -40 70q-126 73 -293 110.5t-343 37.5q-204 0 -364 -47q-23 -7 -38.5 -25.5t-15.5 -48.5q0 -31 20.5 -52t51.5 -21q11 0 40 8q133 37 307 37 q159 0 309.5 -34t253.5 -95q21 -12 40 -12q29 0 50.5 20.5t21.5 51.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M1397 1408q58 0 98.5 -40.5t40.5 -98.5v-1258q0 -58 -40.5 -98.5t-98.5 -40.5h-1258q-58 0 -98.5 40.5t-40.5 98.5v1258q0 58 40.5 98.5t98.5 40.5h1258zM1465 11v1258q0 28 -20 48t-48 20h-1258q-28 0 -48 -20t-20 -48v-1258q0 -28 20 -48t48 -20h1258q28 0 48 20t20 48 zM694 749l188 -387l533 145v-496q0 -7 -5.5 -12.5t-12.5 -5.5h-1258q-7 0 -12.5 5.5t-5.5 12.5v141l711 195l-212 439q4 1 12 2.5t12 1.5q170 32 303.5 21.5t221 -46t143.5 -94.5q27 -28 -25 -42q-64 -16 -256 -62l-97 198q-111 7 -240 -16zM1397 1287q7 0 12.5 -5.5 t5.5 -12.5v-428q-85 30 -188 52q-294 64 -645 12l-18 -3l-65 134h-233l85 -190q-132 -51 -230 -137v560q0 7 5.5 12.5t12.5 5.5h1258zM286 387q-14 -3 -26 4.5t-14 21.5q-24 203 166 305l129 -270z" />-<glyph unicode="" horiz-adv-x="2304" d="M784 164l16 241l-16 523q-1 10 -7.5 17t-16.5 7q-9 0 -16 -7t-7 -17l-14 -523l14 -241q1 -10 7.5 -16.5t15.5 -6.5q22 0 24 23zM1080 193l11 211l-12 586q0 16 -13 24q-8 5 -16 5t-16 -5q-13 -8 -13 -24l-1 -6l-10 -579q0 -1 11 -236v-1q0 -10 6 -17q9 -11 23 -11 q11 0 20 9q9 7 9 20zM35 533l20 -128l-20 -126q-2 -9 -9 -9t-9 9l-17 126l17 128q2 9 9 9t9 -9zM121 612l26 -207l-26 -203q-2 -9 -10 -9q-9 0 -9 10l-23 202l23 207q0 9 9 9q8 0 10 -9zM401 159zM213 650l25 -245l-25 -237q0 -11 -11 -11q-10 0 -12 11l-21 237l21 245 q2 12 12 12q11 0 11 -12zM307 657l23 -252l-23 -244q-2 -13 -14 -13q-13 0 -13 13l-21 244l21 252q0 13 13 13q12 0 14 -13zM401 639l21 -234l-21 -246q-2 -16 -16 -16q-6 0 -10.5 4.5t-4.5 11.5l-20 246l20 234q0 6 4.5 10.5t10.5 4.5q14 0 16 -15zM784 164zM495 785 l21 -380l-21 -246q0 -7 -5 -12.5t-12 -5.5q-16 0 -18 18l-18 246l18 380q2 18 18 18q7 0 12 -5.5t5 -12.5zM589 871l19 -468l-19 -244q0 -8 -5.5 -13.5t-13.5 -5.5q-18 0 -20 19l-16 244l16 468q2 19 20 19q8 0 13.5 -5.5t5.5 -13.5zM687 911l18 -506l-18 -242 q-2 -21 -22 -21q-19 0 -21 21l-16 242l16 506q0 9 6.5 15.5t14.5 6.5q9 0 15 -6.5t7 -15.5zM1079 169v0v0zM881 915l15 -510l-15 -239q0 -10 -7.5 -17.5t-17.5 -7.5t-17 7t-8 18l-14 239l14 510q0 11 7.5 18t17.5 7t17.5 -7t7.5 -18zM980 896l14 -492l-14 -236q0 -11 -8 -19 t-19 -8t-19 8t-9 19l-12 236l12 492q1 12 9 20t19 8t18.5 -8t8.5 -20zM1192 404l-14 -231v0q0 -13 -9 -22t-22 -9t-22 9t-10 22l-6 114l-6 117l12 636v3q2 15 12 24q9 7 20 7q8 0 15 -5q14 -8 16 -26zM2304 423q0 -117 -83 -199.5t-200 -82.5h-786q-13 2 -22 11t-9 22v899 q0 23 28 33q85 34 181 34q195 0 338 -131.5t160 -323.5q53 22 110 22q117 0 200 -83t83 -201z" />-<glyph unicode="" d="M768 768q237 0 443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128v170q119 -84 325 -127t443 -43zM768 0q237 0 443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128v170q119 -84 325 -127 t443 -43zM768 384q237 0 443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128v170q119 -84 325 -127t443 -43zM768 1536q208 0 385 -34.5t280 -93.5t103 -128v-128q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5 t-103 128v128q0 69 103 128t280 93.5t385 34.5z" />-<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M894 465q33 -26 84 -56q59 7 117 7q147 0 177 -49q16 -22 2 -52q0 -1 -1 -2l-2 -2v-1q-6 -38 -71 -38q-48 0 -115 20t-130 53q-221 -24 -392 -83q-153 -262 -242 -262q-15 0 -28 7l-24 12q-1 1 -6 5q-10 10 -6 36q9 40 56 91.5t132 96.5q14 9 23 -6q2 -2 2 -4q52 85 107 197 q68 136 104 262q-24 82 -30.5 159.5t6.5 127.5q11 40 42 40h21h1q23 0 35 -15q18 -21 9 -68q-2 -6 -4 -8q1 -3 1 -8v-30q-2 -123 -14 -192q55 -164 146 -238zM318 54q52 24 137 158q-51 -40 -87.5 -84t-49.5 -74zM716 974q-15 -42 -2 -132q1 7 7 44q0 3 7 43q1 4 4 8 q-1 1 -1 2t-0.5 1.5t-0.5 1.5q-1 22 -13 36q0 -1 -1 -2v-2zM592 313q135 54 284 81q-2 1 -13 9.5t-16 13.5q-76 67 -127 176q-27 -86 -83 -197q-30 -56 -45 -83zM1238 329q-24 24 -140 24q76 -28 124 -28q14 0 18 1q0 1 -2 3z" />-<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M233 768v-107h70l164 -661h159l128 485q7 20 10 46q2 16 2 24h4l3 -24q1 -3 3.5 -20t5.5 -26l128 -485h159l164 661h70v107h-300v-107h90l-99 -438q-5 -20 -7 -46l-2 -21h-4l-3 21q-1 5 -4 21t-5 25l-144 545h-114l-144 -545q-2 -9 -4.5 -24.5t-3.5 -21.5l-4 -21h-4l-2 21 q-2 26 -7 46l-99 438h90v107h-300z" />-<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M429 106v-106h281v106h-75l103 161q5 7 10 16.5t7.5 13.5t3.5 4h2q1 -4 5 -10q2 -4 4.5 -7.5t6 -8t6.5 -8.5l107 -161h-76v-106h291v106h-68l-192 273l195 282h67v107h-279v-107h74l-103 -159q-4 -7 -10 -16.5t-9 -13.5l-2 -3h-2q-1 4 -5 10q-6 11 -17 23l-106 159h76v107 h-290v-107h68l189 -272l-194 -283h-68z" />-<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M416 106v-106h327v106h-93v167h137q76 0 118 15q67 23 106.5 87t39.5 146q0 81 -37 141t-100 87q-48 19 -130 19h-368v-107h92v-555h-92zM769 386h-119v268h120q52 0 83 -18q56 -33 56 -115q0 -89 -62 -120q-31 -15 -78 -15z" />-<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M1280 320v-320h-1024v192l192 192l128 -128l384 384zM448 512q-80 0 -136 56t-56 136t56 136t136 56t136 -56t56 -136t-56 -136t-136 -56z" />-<glyph unicode="" d="M640 1152v128h-128v-128h128zM768 1024v128h-128v-128h128zM640 896v128h-128v-128h128zM768 768v128h-128v-128h128zM1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400 v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-128v-128h-128v128h-512v-1536h1280zM781 593l107 -349q8 -27 8 -52q0 -83 -72.5 -137.5t-183.5 -54.5t-183.5 54.5t-72.5 137.5q0 25 8 52q21 63 120 396v128h128v-128h79 q22 0 39 -13t23 -34zM640 128q53 0 90.5 19t37.5 45t-37.5 45t-90.5 19t-90.5 -19t-37.5 -45t37.5 -45t90.5 -19z" />-<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M620 686q20 -8 20 -30v-544q0 -22 -20 -30q-8 -2 -12 -2q-12 0 -23 9l-166 167h-131q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h131l166 167q16 15 35 7zM1037 -3q31 0 50 24q129 159 129 363t-129 363q-16 21 -43 24t-47 -14q-21 -17 -23.5 -43.5t14.5 -47.5 q100 -123 100 -282t-100 -282q-17 -21 -14.5 -47.5t23.5 -42.5q18 -15 40 -15zM826 145q27 0 47 20q87 93 87 219t-87 219q-18 19 -45 20t-46 -17t-20 -44.5t18 -46.5q52 -57 52 -131t-52 -131q-19 -20 -18 -46.5t20 -44.5q20 -17 44 -17z" />-<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M768 768q52 0 90 -38t38 -90v-384q0 -52 -38 -90t-90 -38h-384q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h384zM1260 766q20 -8 20 -30v-576q0 -22 -20 -30q-8 -2 -12 -2q-14 0 -23 9l-265 266v90l265 266q9 9 23 9q4 0 12 -2z" />-<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M480 768q8 11 21 12.5t24 -6.5l51 -38q11 -8 12.5 -21t-6.5 -24l-182 -243l182 -243q8 -11 6.5 -24t-12.5 -21l-51 -38q-11 -8 -24 -6.5t-21 12.5l-226 301q-14 19 0 38zM1282 467q14 -19 0 -38l-226 -301q-8 -11 -21 -12.5t-24 6.5l-51 38q-11 8 -12.5 21t6.5 24l182 243 l-182 243q-8 11 -6.5 24t12.5 21l51 38q11 8 24 6.5t21 -12.5zM662 6q-13 2 -20.5 13t-5.5 24l138 831q2 13 13 20.5t24 5.5l63 -10q13 -2 20.5 -13t5.5 -24l-138 -831q-2 -13 -13 -20.5t-24 -5.5z" />-<glyph unicode="" d="M1497 709v-198q-101 -23 -198 -23q-65 -136 -165.5 -271t-181.5 -215.5t-128 -106.5q-80 -45 -162 3q-28 17 -60.5 43.5t-85 83.5t-102.5 128.5t-107.5 184t-105.5 244t-91.5 314.5t-70.5 390h283q26 -218 70 -398.5t104.5 -317t121.5 -235.5t140 -195q169 169 287 406 q-142 72 -223 220t-81 333q0 192 104 314.5t284 122.5q178 0 273 -105.5t95 -297.5q0 -159 -58 -286q-7 -1 -19.5 -3t-46 -2t-63 6t-62 25.5t-50.5 51.5q31 103 31 184q0 87 -29 132t-79 45q-53 0 -85 -49.5t-32 -140.5q0 -186 105 -293.5t267 -107.5q62 0 121 14z" />-<glyph unicode="" horiz-adv-x="1792" d="M216 367l603 -402v359l-334 223zM154 511l193 129l-193 129v-258zM973 -35l603 402l-269 180l-334 -223v-359zM896 458l272 182l-272 182l-272 -182zM485 733l334 223v359l-603 -402zM1445 640l193 -129v258zM1307 733l269 180l-603 402v-359zM1792 913v-546 q0 -41 -34 -64l-819 -546q-21 -13 -43 -13t-43 13l-819 546q-34 23 -34 64v546q0 41 34 64l819 546q21 13 43 13t43 -13l819 -546q34 -23 34 -64z" />-<glyph unicode="" horiz-adv-x="2048" d="M1800 764q111 -46 179.5 -145.5t68.5 -221.5q0 -164 -118 -280.5t-285 -116.5q-4 0 -11.5 0.5t-10.5 0.5h-1209h-1h-2h-5q-170 10 -288 125.5t-118 280.5q0 110 55 203t147 147q-12 39 -12 82q0 115 82 196t199 81q95 0 172 -58q75 154 222.5 248t326.5 94 q166 0 306 -80.5t221.5 -218.5t81.5 -301q0 -6 -0.5 -18t-0.5 -18zM468 498q0 -122 84 -193t208 -71q137 0 240 99q-16 20 -47.5 56.5t-43.5 50.5q-67 -65 -144 -65q-55 0 -93.5 33.5t-38.5 87.5q0 53 38.5 87t91.5 34q44 0 84.5 -21t73 -55t65 -75t69 -82t77 -75t97 -55 t121.5 -21q121 0 204.5 71.5t83.5 190.5q0 121 -84 192t-207 71q-143 0 -241 -97q14 -16 29.5 -34t34.5 -40t29 -34q66 64 142 64q52 0 92 -33t40 -84q0 -57 -37 -91.5t-94 -34.5q-43 0 -82.5 21t-72 55t-65.5 75t-69.5 82t-77.5 75t-96.5 55t-118.5 21q-122 0 -207 -70.5 t-85 -189.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM896 1408q-190 0 -361 -90l194 -194q82 28 167 28t167 -28l194 194q-171 90 -361 90zM218 279l194 194 q-28 82 -28 167t28 167l-194 194q-90 -171 -90 -361t90 -361zM896 -128q190 0 361 90l-194 194q-82 -28 -167 -28t-167 28l-194 -194q171 -90 361 -90zM896 256q159 0 271.5 112.5t112.5 271.5t-112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5 t271.5 -112.5zM1380 473l194 -194q90 171 90 361t-90 361l-194 -194q28 -82 28 -167t-28 -167z" />-<glyph unicode="" horiz-adv-x="1792" d="M1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348q0 222 101 414.5t276.5 317t390.5 155.5v-260q-221 -45 -366.5 -221t-145.5 -406q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5 q0 230 -145.5 406t-366.5 221v260q215 -31 390.5 -155.5t276.5 -317t101 -414.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M19 662q8 217 116 406t305 318h5q0 -1 -1 -3q-8 -8 -28 -33.5t-52 -76.5t-60 -110.5t-44.5 -135.5t-14 -150.5t39 -157.5t108.5 -154q50 -50 102 -69.5t90.5 -11.5t69.5 23.5t47 32.5l16 16q39 51 53 116.5t6.5 122.5t-21 107t-26.5 80l-14 29q-10 25 -30.5 49.5t-43 41 t-43.5 29.5t-35 19l-13 6l104 115q39 -17 78 -52t59 -61l19 -27q1 48 -18.5 103.5t-40.5 87.5l-20 31l161 183l160 -181q-33 -46 -52.5 -102.5t-22.5 -90.5l-4 -33q22 37 61.5 72.5t67.5 52.5l28 17l103 -115q-44 -14 -85 -50t-60 -65l-19 -29q-31 -56 -48 -133.5t-7 -170 t57 -156.5q33 -45 77.5 -60.5t85 -5.5t76 26.5t57.5 33.5l21 16q60 53 96.5 115t48.5 121.5t10 121.5t-18 118t-37 107.5t-45.5 93t-45 72t-34.5 47.5l-13 17q-14 13 -7 13l10 -3q40 -29 62.5 -46t62 -50t64 -58t58.5 -65t55.5 -77t45.5 -88t38 -103t23.5 -117t10.5 -136 q3 -259 -108 -465t-312 -321t-456 -115q-185 0 -351 74t-283.5 198t-184 293t-60.5 353z" />-<glyph unicode="" horiz-adv-x="1792" d="M874 -102v-66q-208 6 -385 109.5t-283 275.5l58 34q29 -49 73 -99l65 57q148 -168 368 -212l-17 -86q65 -12 121 -13zM276 428l-83 -28q22 -60 49 -112l-57 -33q-98 180 -98 385t98 385l57 -33q-30 -56 -49 -112l82 -28q-35 -100 -35 -212q0 -109 36 -212zM1528 251 l58 -34q-106 -172 -283 -275.5t-385 -109.5v66q56 1 121 13l-17 86q220 44 368 212l65 -57q44 50 73 99zM1377 805l-233 -80q14 -42 14 -85t-14 -85l232 -80q-31 -92 -98 -169l-185 162q-57 -67 -147 -85l48 -241q-52 -10 -98 -10t-98 10l48 241q-90 18 -147 85l-185 -162 q-67 77 -98 169l232 80q-14 42 -14 85t14 85l-233 80q33 93 99 169l185 -162q59 68 147 86l-48 240q44 10 98 10t98 -10l-48 -240q88 -18 147 -86l185 162q66 -76 99 -169zM874 1448v-66q-65 -2 -121 -13l17 -86q-220 -42 -368 -211l-65 56q-38 -42 -73 -98l-57 33 q106 172 282 275.5t385 109.5zM1705 640q0 -205 -98 -385l-57 33q27 52 49 112l-83 28q36 103 36 212q0 112 -35 212l82 28q-19 56 -49 112l57 33q98 -180 98 -385zM1585 1063l-57 -33q-35 56 -73 98l-65 -56q-148 169 -368 211l17 86q-56 11 -121 13v66q209 -6 385 -109.5 t282 -275.5zM1748 640q0 173 -67.5 331t-181.5 272t-272 181.5t-331 67.5t-331 -67.5t-272 -181.5t-181.5 -272t-67.5 -331t67.5 -331t181.5 -272t272 -181.5t331 -67.5t331 67.5t272 181.5t181.5 272t67.5 331zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71 t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />-<glyph unicode="" d="M582 228q0 -66 -93 -66q-107 0 -107 63q0 64 98 64q102 0 102 -61zM546 694q0 -85 -74 -85q-77 0 -77 84q0 90 77 90q36 0 55 -25.5t19 -63.5zM712 769v125q-78 -29 -135 -29q-50 29 -110 29q-86 0 -145 -57t-59 -143q0 -50 29.5 -102t73.5 -67v-3q-38 -17 -38 -85 q0 -53 41 -77v-3q-113 -37 -113 -139q0 -45 20 -78.5t54 -51t72 -25.5t81 -8q224 0 224 188q0 67 -48 99t-126 46q-27 5 -51.5 20.5t-24.5 39.5q0 44 49 52q77 15 122 70t45 134q0 24 -10 52q37 9 49 13zM771 350h137q-2 27 -2 82v387q0 46 2 69h-137q3 -23 3 -71v-392 q0 -50 -3 -75zM1280 366v121q-30 -21 -68 -21q-53 0 -53 82v225h52q9 0 26.5 -1t26.5 -1v117h-105q0 82 3 102h-140q4 -24 4 -55v-47h-60v-117q36 3 37 3q3 0 11 -0.5t12 -0.5v-2h-2v-217q0 -37 2.5 -64t11.5 -56.5t24.5 -48.5t43.5 -31t66 -12q64 0 108 24zM924 1072 q0 36 -24 63.5t-60 27.5t-60.5 -27t-24.5 -64q0 -36 25 -62.5t60 -26.5t59.5 27t24.5 62zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M595 22q0 100 -165 100q-158 0 -158 -104q0 -101 172 -101q151 0 151 105zM536 777q0 61 -30 102t-89 41q-124 0 -124 -145q0 -135 124 -135q119 0 119 137zM805 1101v-202q-36 -12 -79 -22q16 -43 16 -84q0 -127 -73 -216.5t-197 -112.5q-40 -8 -59.5 -27t-19.5 -58 q0 -31 22.5 -51.5t58 -32t78.5 -22t86 -25.5t78.5 -37.5t58 -64t22.5 -98.5q0 -304 -363 -304q-69 0 -130 12.5t-116 41t-87.5 82t-32.5 127.5q0 165 182 225v4q-67 41 -67 126q0 109 63 137v4q-72 24 -119.5 108.5t-47.5 165.5q0 139 95 231.5t235 92.5q96 0 178 -47 q98 0 218 47zM1123 220h-222q4 45 4 134v609q0 94 -4 128h222q-4 -33 -4 -124v-613q0 -89 4 -134zM1724 442v-196q-71 -39 -174 -39q-62 0 -107 20t-70 50t-39.5 78t-18.5 92t-4 103v351h2v4q-7 0 -19 1t-18 1q-21 0 -59 -6v190h96v76q0 54 -6 89h227q-6 -41 -6 -165h171 v-190q-15 0 -43.5 2t-42.5 2h-85v-365q0 -131 87 -131q61 0 109 33zM1148 1389q0 -58 -39 -101.5t-96 -43.5q-58 0 -98 43.5t-40 101.5q0 59 39.5 103t98.5 44q58 0 96.5 -44.5t38.5 -102.5z" />-<glyph unicode="" d="M825 547l343 588h-150q-21 -39 -63.5 -118.5t-68 -128.5t-59.5 -118.5t-60 -128.5h-3q-21 48 -44.5 97t-52 105.5t-46.5 92t-54 104.5t-49 95h-150l323 -589v-435h134v436zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960 q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="1280" d="M842 964q0 -80 -57 -136.5t-136 -56.5q-60 0 -111 35q-62 -67 -115 -146q-247 -371 -202 -859q1 -22 -12.5 -38.5t-34.5 -18.5h-5q-20 0 -35 13.5t-17 33.5q-14 126 -3.5 247.5t29.5 217t54 186t69 155.5t74 125q61 90 132 165q-16 35 -16 77q0 80 56.5 136.5t136.5 56.5 t136.5 -56.5t56.5 -136.5zM1223 953q0 -158 -78 -292t-212.5 -212t-292.5 -78q-64 0 -131 14q-21 5 -32.5 23.5t-6.5 39.5q5 20 23 31.5t39 7.5q51 -13 108 -13q97 0 186 38t153 102t102 153t38 186t-38 186t-102 153t-153 102t-186 38t-186 -38t-153 -102t-102 -153 t-38 -186q0 -114 52 -218q10 -20 3.5 -40t-25.5 -30t-39.5 -3t-30.5 26q-64 123 -64 265q0 119 46.5 227t124.5 186t186 124t226 46q158 0 292.5 -78t212.5 -212.5t78 -292.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M270 730q-8 19 -8 52q0 20 11 49t24 45q-1 22 7.5 53t22.5 43q0 139 92.5 288.5t217.5 209.5q139 66 324 66q133 0 266 -55q49 -21 90 -48t71 -56t55 -68t42 -74t32.5 -84.5t25.5 -89.5t22 -98l1 -5q55 -83 55 -150q0 -14 -9 -40t-9 -38q0 -1 1.5 -3.5t3.5 -5t2 -3.5 q77 -114 120.5 -214.5t43.5 -208.5q0 -43 -19.5 -100t-55.5 -57q-9 0 -19.5 7.5t-19 17.5t-19 26t-16 26.5t-13.5 26t-9 17.5q-1 1 -3 1l-5 -4q-59 -154 -132 -223q20 -20 61.5 -38.5t69 -41.5t35.5 -65q-2 -4 -4 -16t-7 -18q-64 -97 -302 -97q-53 0 -110.5 9t-98 20 t-104.5 30q-15 5 -23 7q-14 4 -46 4.5t-40 1.5q-41 -45 -127.5 -65t-168.5 -20q-35 0 -69 1.5t-93 9t-101 20.5t-74.5 40t-32.5 64q0 40 10 59.5t41 48.5q11 2 40.5 13t49.5 12q4 0 14 2q2 2 2 4l-2 3q-48 11 -108 105.5t-73 156.5l-5 3q-4 0 -12 -20q-18 -41 -54.5 -74.5 t-77.5 -37.5h-1q-4 0 -6 4.5t-5 5.5q-23 54 -23 100q0 275 252 466z" />-<glyph unicode="" horiz-adv-x="2048" d="M580 1075q0 41 -25 66t-66 25q-43 0 -76 -25.5t-33 -65.5q0 -39 33 -64.5t76 -25.5q41 0 66 24.5t25 65.5zM1323 568q0 28 -25.5 50t-65.5 22q-27 0 -49.5 -22.5t-22.5 -49.5q0 -28 22.5 -50.5t49.5 -22.5q40 0 65.5 22t25.5 51zM1087 1075q0 41 -24.5 66t-65.5 25 q-43 0 -76 -25.5t-33 -65.5q0 -39 33 -64.5t76 -25.5q41 0 65.5 24.5t24.5 65.5zM1722 568q0 28 -26 50t-65 22q-27 0 -49.5 -22.5t-22.5 -49.5q0 -28 22.5 -50.5t49.5 -22.5q39 0 65 22t26 51zM1456 965q-31 4 -70 4q-169 0 -311 -77t-223.5 -208.5t-81.5 -287.5 q0 -78 23 -152q-35 -3 -68 -3q-26 0 -50 1.5t-55 6.5t-44.5 7t-54.5 10.5t-50 10.5l-253 -127l72 218q-290 203 -290 490q0 169 97.5 311t264 223.5t363.5 81.5q176 0 332.5 -66t262 -182.5t136.5 -260.5zM2048 404q0 -117 -68.5 -223.5t-185.5 -193.5l55 -181l-199 109 q-150 -37 -218 -37q-169 0 -311 70.5t-223.5 191.5t-81.5 264t81.5 264t223.5 191.5t311 70.5q161 0 303 -70.5t227.5 -192t85.5 -263.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M1764 1525q33 -24 27 -64l-256 -1536q-5 -29 -32 -45q-14 -8 -31 -8q-11 0 -24 5l-453 185l-242 -295q-18 -23 -49 -23q-13 0 -22 4q-19 7 -30.5 23.5t-11.5 36.5v349l864 1059l-1069 -925l-395 162q-37 14 -40 55q-2 40 32 59l1664 960q15 9 32 9q20 0 36 -11z" />-<glyph unicode="" horiz-adv-x="1792" d="M1764 1525q33 -24 27 -64l-256 -1536q-5 -29 -32 -45q-14 -8 -31 -8q-11 0 -24 5l-527 215l-298 -327q-18 -21 -47 -21q-14 0 -23 4q-19 7 -30 23.5t-11 36.5v452l-472 193q-37 14 -40 55q-3 39 32 59l1664 960q35 21 68 -2zM1422 26l221 1323l-1434 -827l336 -137 l863 639l-478 -797z" />-<glyph unicode="" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5 t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298zM896 928v-448q0 -14 -9 -23 t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23z" />-<glyph unicode="" d="M768 1280q-130 0 -248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5t-51 248.5t-136.5 204t-204 136.5t-248.5 51zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M1682 -128q-44 0 -132.5 3.5t-133.5 3.5q-44 0 -132 -3.5t-132 -3.5q-24 0 -37 20.5t-13 45.5q0 31 17 46t39 17t51 7t45 15q33 21 33 140l-1 391q0 21 -1 31q-13 4 -50 4h-675q-38 0 -51 -4q-1 -10 -1 -31l-1 -371q0 -142 37 -164q16 -10 48 -13t57 -3.5t45 -15 t20 -45.5q0 -26 -12.5 -48t-36.5 -22q-47 0 -139.5 3.5t-138.5 3.5q-43 0 -128 -3.5t-127 -3.5q-23 0 -35.5 21t-12.5 45q0 30 15.5 45t36 17.5t47.5 7.5t42 15q33 23 33 143l-1 57v813q0 3 0.5 26t0 36.5t-1.5 38.5t-3.5 42t-6.5 36.5t-11 31.5t-16 18q-15 10 -45 12t-53 2 t-41 14t-18 45q0 26 12 48t36 22q46 0 138.5 -3.5t138.5 -3.5q42 0 126.5 3.5t126.5 3.5q25 0 37.5 -22t12.5 -48q0 -30 -17 -43.5t-38.5 -14.5t-49.5 -4t-43 -13q-35 -21 -35 -160l1 -320q0 -21 1 -32q13 -3 39 -3h699q25 0 38 3q1 11 1 32l1 320q0 139 -35 160 q-18 11 -58.5 12.5t-66 13t-25.5 49.5q0 26 12.5 48t37.5 22q44 0 132 -3.5t132 -3.5q43 0 129 3.5t129 3.5q25 0 37.5 -22t12.5 -48q0 -30 -17.5 -44t-40 -14.5t-51.5 -3t-44 -12.5q-35 -23 -35 -161l1 -943q0 -119 34 -140q16 -10 46 -13.5t53.5 -4.5t41.5 -15.5t18 -44.5 q0 -26 -12 -48t-36 -22z" />-<glyph unicode="" horiz-adv-x="1280" d="M1278 1347v-73q0 -29 -18.5 -61t-42.5 -32q-50 0 -54 -1q-26 -6 -32 -31q-3 -11 -3 -64v-1152q0 -25 -18 -43t-43 -18h-108q-25 0 -43 18t-18 43v1218h-143v-1218q0 -25 -17.5 -43t-43.5 -18h-108q-26 0 -43.5 18t-17.5 43v496q-147 12 -245 59q-126 58 -192 179 q-64 117 -64 259q0 166 88 286q88 118 209 159q111 37 417 37h479q25 0 43 -18t18 -43z" />-<glyph unicode="" d="M352 128v-128h-352v128h352zM704 256q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h256zM864 640v-128h-864v128h864zM224 1152v-128h-224v128h224zM1536 128v-128h-736v128h736zM576 1280q26 0 45 -19t19 -45v-256 q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h256zM1216 768q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h256zM1536 640v-128h-224v128h224zM1536 1152v-128h-864v128h864z" />-<glyph unicode="" d="M1216 512q133 0 226.5 -93.5t93.5 -226.5t-93.5 -226.5t-226.5 -93.5t-226.5 93.5t-93.5 226.5q0 12 2 34l-360 180q-92 -86 -218 -86q-133 0 -226.5 93.5t-93.5 226.5t93.5 226.5t226.5 93.5q126 0 218 -86l360 180q-2 22 -2 34q0 133 93.5 226.5t226.5 93.5 t226.5 -93.5t93.5 -226.5t-93.5 -226.5t-226.5 -93.5q-126 0 -218 86l-360 -180q2 -22 2 -34t-2 -34l360 -180q92 86 218 86z" />-<glyph unicode="" d="M1280 341q0 88 -62.5 151t-150.5 63q-84 0 -145 -58l-241 120q2 16 2 23t-2 23l241 120q61 -58 145 -58q88 0 150.5 63t62.5 151t-62.5 150.5t-150.5 62.5t-151 -62.5t-63 -150.5q0 -7 2 -23l-241 -120q-62 57 -145 57q-88 0 -150.5 -62.5t-62.5 -150.5t62.5 -150.5 t150.5 -62.5q83 0 145 57l241 -120q-2 -16 -2 -23q0 -88 63 -150.5t151 -62.5t150.5 62.5t62.5 150.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M571 947q-10 25 -34 35t-49 0q-108 -44 -191 -127t-127 -191q-10 -25 0 -49t35 -34q13 -5 24 -5q42 0 60 40q34 84 98.5 148.5t148.5 98.5q25 11 35 35t0 49zM1513 1303l46 -46l-244 -243l68 -68q19 -19 19 -45.5t-19 -45.5l-64 -64q89 -161 89 -343q0 -143 -55.5 -273.5 t-150 -225t-225 -150t-273.5 -55.5t-273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5q182 0 343 -89l64 64q19 19 45.5 19t45.5 -19l68 -68zM1521 1359q-10 -10 -22 -10q-13 0 -23 10l-91 90q-9 10 -9 23t9 23q10 9 23 9t23 -9l90 -91 q10 -9 10 -22.5t-10 -22.5zM1751 1129q-11 -9 -23 -9t-23 9l-90 91q-10 9 -10 22.5t10 22.5q9 10 22.5 10t22.5 -10l91 -90q9 -10 9 -23t-9 -23zM1792 1312q0 -14 -9 -23t-23 -9h-96q-14 0 -23 9t-9 23t9 23t23 9h96q14 0 23 -9t9 -23zM1600 1504v-96q0 -14 -9 -23t-23 -9 t-23 9t-9 23v96q0 14 9 23t23 9t23 -9t9 -23zM1751 1449l-91 -90q-10 -10 -22 -10q-13 0 -23 10q-10 9 -10 22.5t10 22.5l90 91q10 9 23 9t23 -9q9 -10 9 -23t-9 -23z" />-<glyph unicode="" horiz-adv-x="1792" d="M609 720l287 208l287 -208l-109 -336h-355zM896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM1515 186q149 203 149 454v3l-102 -89l-240 224l63 323 l134 -12q-150 206 -389 282l53 -124l-287 -159l-287 159l53 124q-239 -76 -389 -282l135 12l62 -323l-240 -224l-102 89v-3q0 -251 149 -454l30 132l326 -40l139 -298l-116 -69q117 -39 240 -39t240 39l-116 69l139 298l326 40z" />-<glyph unicode="" horiz-adv-x="1792" d="M448 224v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM256 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM832 224v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM66 768q-28 0 -47 19t-19 46v129h514v-129q0 -27 -19 -46t-46 -19h-383zM1216 224v-192q0 -14 -9 -23t-23 -9h-192 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1600 224v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23 zM1408 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1016v-13h-514v10q0 104 -382 102q-382 -1 -382 -102v-10h-514v13q0 17 8.5 43t34 64t65.5 75.5t110.5 76t160 67.5t224 47.5t293.5 18.5t293 -18.5t224 -47.5 t160.5 -67.5t110.5 -76t65.5 -75.5t34 -64t8.5 -43zM1792 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 962v-129q0 -27 -19 -46t-46 -19h-384q-27 0 -46 19t-19 46v129h514z" />-<glyph unicode="" horiz-adv-x="1792" d="M704 1216v-768q0 -26 -19 -45t-45 -19v-576q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v512l249 873q7 23 31 23h424zM1024 1216v-704h-256v704h256zM1792 320v-512q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v576q-26 0 -45 19t-19 45v768h424q24 0 31 -23z M736 1504v-224h-352v224q0 14 9 23t23 9h288q14 0 23 -9t9 -23zM1408 1504v-224h-352v224q0 14 9 23t23 9h288q14 0 23 -9t9 -23z" />-<glyph unicode="" horiz-adv-x="1792" d="M1755 1083q37 -37 37 -90t-37 -91l-401 -400l150 -150l-160 -160q-163 -163 -389.5 -186.5t-411.5 100.5l-362 -362h-181v181l362 362q-124 185 -100.5 411.5t186.5 389.5l160 160l150 -150l400 401q38 37 91 37t90 -37t37 -90.5t-37 -90.5l-400 -401l234 -234l401 400 q38 37 91 37t90 -37z" />-<glyph unicode="" horiz-adv-x="1792" d="M873 796q0 -83 -63.5 -142.5t-152.5 -59.5t-152.5 59.5t-63.5 142.5q0 84 63.5 143t152.5 59t152.5 -59t63.5 -143zM1375 796q0 -83 -63 -142.5t-153 -59.5q-89 0 -152.5 59.5t-63.5 142.5q0 84 63.5 143t152.5 59q90 0 153 -59t63 -143zM1600 616v667q0 87 -32 123.5 t-111 36.5h-1112q-83 0 -112.5 -34t-29.5 -126v-673q43 -23 88.5 -40t81 -28t81 -18.5t71 -11t70 -4t58.5 -0.5t56.5 2t44.5 2q68 1 95 -27q6 -6 10 -9q26 -25 61 -51q7 91 118 87q5 0 36.5 -1.5t43 -2t45.5 -1t53 1t54.5 4.5t61 8.5t62 13.5t67 19.5t67.5 27t72 34.5z M1763 621q-121 -149 -372 -252q84 -285 -23 -465q-66 -113 -183 -148q-104 -32 -182 15q-86 51 -82 164l-1 326v1q-8 2 -24.5 6t-23.5 5l-1 -338q4 -114 -83 -164q-79 -47 -183 -15q-117 36 -182 150q-105 180 -22 463q-251 103 -372 252q-25 37 -4 63t60 -1q3 -2 11 -7 t11 -8v694q0 72 47 123t114 51h1257q67 0 114 -51t47 -123v-694l21 15q39 27 60 1t-4 -63z" />-<glyph unicode="" horiz-adv-x="1792" d="M896 1102v-434h-145v434h145zM1294 1102v-434h-145v434h145zM1294 342l253 254v795h-1194v-1049h326v-217l217 217h398zM1692 1536v-1013l-434 -434h-326l-217 -217h-217v217h-398v1158l109 289h1483z" />-<glyph unicode="" d="M773 217v-127q-1 -292 -6 -305q-12 -32 -51 -40q-54 -9 -181.5 38t-162.5 89q-13 15 -17 36q-1 12 4 26q4 10 34 47t181 216q1 0 60 70q15 19 39.5 24.5t49.5 -3.5q24 -10 37.5 -29t12.5 -42zM624 468q-3 -55 -52 -70l-120 -39q-275 -88 -292 -88q-35 2 -54 36 q-12 25 -17 75q-8 76 1 166.5t30 124.5t56 32q13 0 202 -77q70 -29 115 -47l84 -34q23 -9 35.5 -30.5t11.5 -48.5zM1450 171q-7 -54 -91.5 -161t-135.5 -127q-37 -14 -63 7q-14 10 -184 287l-47 77q-14 21 -11.5 46t19.5 46q35 43 83 26q1 -1 119 -40q203 -66 242 -79.5 t47 -20.5q28 -22 22 -61zM778 803q5 -102 -54 -122q-58 -17 -114 71l-378 598q-8 35 19 62q41 43 207.5 89.5t224.5 31.5q40 -10 49 -45q3 -18 22 -305.5t24 -379.5zM1440 695q3 -39 -26 -59q-15 -10 -329 -86q-67 -15 -91 -23l1 2q-23 -6 -46 4t-37 32q-30 47 0 87 q1 1 75 102q125 171 150 204t34 39q28 19 65 2q48 -23 123 -133.5t81 -167.5v-3z" />-<glyph unicode="" horiz-adv-x="2048" d="M1024 1024h-384v-384h384v384zM1152 384v-128h-640v128h640zM1152 1152v-640h-640v640h640zM1792 384v-128h-512v128h512zM1792 640v-128h-512v128h512zM1792 896v-128h-512v128h512zM1792 1152v-128h-512v128h512zM256 192v960h-128v-960q0 -26 19 -45t45 -19t45 19 t19 45zM1920 192v1088h-1536v-1088q0 -33 -11 -64h1483q26 0 45 19t19 45zM2048 1408v-1216q0 -80 -56 -136t-136 -56h-1664q-80 0 -136 56t-56 136v1088h256v128h1792z" />-<glyph unicode="" horiz-adv-x="2048" d="M1024 13q-20 0 -93 73.5t-73 93.5q0 32 62.5 54t103.5 22t103.5 -22t62.5 -54q0 -20 -73 -93.5t-93 -73.5zM1294 284q-2 0 -40 25t-101.5 50t-128.5 25t-128.5 -25t-101 -50t-40.5 -25q-18 0 -93.5 75t-75.5 93q0 13 10 23q78 77 196 121t233 44t233 -44t196 -121 q10 -10 10 -23q0 -18 -75.5 -93t-93.5 -75zM1567 556q-11 0 -23 8q-136 105 -252 154.5t-268 49.5q-85 0 -170.5 -22t-149 -53t-113.5 -62t-79 -53t-31 -22q-17 0 -92 75t-75 93q0 12 10 22q132 132 320 205t380 73t380 -73t320 -205q10 -10 10 -22q0 -18 -75 -93t-92 -75z M1838 827q-11 0 -22 9q-179 157 -371.5 236.5t-420.5 79.5t-420.5 -79.5t-371.5 -236.5q-11 -9 -22 -9q-17 0 -92.5 75t-75.5 93q0 13 10 23q187 186 445 288t527 102t527 -102t445 -288q10 -10 10 -23q0 -18 -75.5 -93t-92.5 -75z" />-<glyph unicode="" horiz-adv-x="1792" d="M384 0q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM768 0q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM384 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5 t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1152 0q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM768 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5 t37.5 90.5zM384 768q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1152 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM768 768q0 53 -37.5 90.5t-90.5 37.5 t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1536 0v384q0 52 -38 90t-90 38t-90 -38t-38 -90v-384q0 -52 38 -90t90 -38t90 38t38 90zM1152 768q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5z M1536 1088v256q0 26 -19 45t-45 19h-1280q-26 0 -45 -19t-19 -45v-256q0 -26 19 -45t45 -19h1280q26 0 45 19t19 45zM1536 768q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1408v-1536q0 -52 -38 -90t-90 -38 h-1408q-52 0 -90 38t-38 90v1536q0 52 38 90t90 38h1408q52 0 90 -38t38 -90z" />-<glyph unicode="" horiz-adv-x="1792" d="M1112 1090q0 159 -237 159h-70q-32 0 -59.5 -21.5t-34.5 -52.5l-63 -276q-2 -5 -2 -16q0 -24 17 -39.5t41 -15.5h53q69 0 128.5 13t112.5 41t83.5 81.5t30.5 126.5zM1716 938q0 -265 -220 -428q-219 -161 -612 -161h-61q-32 0 -59 -21.5t-34 -52.5l-73 -316 q-8 -36 -40.5 -61.5t-69.5 -25.5h-213q-31 0 -53 20t-22 51q0 10 13 65h151q34 0 64 23.5t38 56.5l73 316q8 33 37.5 57t63.5 24h61q390 0 607 160t217 421q0 129 -51 207q183 -92 183 -335zM1533 1123q0 -264 -221 -428q-218 -161 -612 -161h-60q-32 0 -59.5 -22t-34.5 -53 l-73 -315q-8 -36 -40 -61.5t-69 -25.5h-214q-31 0 -52.5 19.5t-21.5 51.5q0 8 2 20l300 1301q8 36 40.5 61.5t69.5 25.5h444q68 0 125 -4t120.5 -15t113.5 -30t96.5 -50.5t77.5 -74t49.5 -103.5t18.5 -136z" />-<glyph unicode="" horiz-adv-x="1792" d="M602 949q19 -61 31 -123.5t17 -141.5t-14 -159t-62 -145q-21 81 -67 157t-95.5 127t-99 90.5t-78.5 57.5t-33 19q-62 34 -81.5 100t14.5 128t101 81.5t129 -14.5q138 -83 238 -177zM927 1236q11 -25 20.5 -46t36.5 -100.5t42.5 -150.5t25.5 -179.5t0 -205.5t-47.5 -209.5 t-105.5 -208.5q-51 -72 -138 -72q-54 0 -98 31q-57 40 -69 109t28 127q60 85 81 195t13 199.5t-32 180.5t-39 128t-22 52q-31 63 -8.5 129.5t85.5 97.5q34 17 75 17q47 0 88.5 -25t63.5 -69zM1248 567q-17 -160 -72 -311q-17 131 -63 246q25 174 -5 361q-27 178 -94 342 q114 -90 212 -211q9 -37 15 -80q26 -179 7 -347zM1520 1440q9 -17 23.5 -49.5t43.5 -117.5t50.5 -178t34 -227.5t5 -269t-47 -300t-112.5 -323.5q-22 -48 -66 -75.5t-95 -27.5q-39 0 -74 16q-67 31 -92.5 100t4.5 136q58 126 90 257.5t37.5 239.5t-3.5 213.5t-26.5 180.5 t-38.5 138.5t-32.5 90t-15.5 32.5q-34 65 -11.5 135.5t87.5 104.5q37 20 81 20q49 0 91.5 -25.5t66.5 -70.5z" />-<glyph unicode="" horiz-adv-x="2304" d="M1975 546h-138q14 37 66 179l3 9q4 10 10 26t9 26l12 -55zM531 611l-58 295q-11 54 -75 54h-268l-2 -13q311 -79 403 -336zM710 960l-162 -438l-17 89q-26 70 -85 129.5t-131 88.5l135 -510h175l261 641h-176zM849 318h166l104 642h-166zM1617 944q-69 27 -149 27 q-123 0 -201 -59t-79 -153q-1 -102 145 -174q48 -23 67 -41t19 -39q0 -30 -30 -46t-69 -16q-86 0 -156 33l-22 11l-23 -144q74 -34 185 -34q130 -1 208.5 59t80.5 160q0 106 -140 174q-49 25 -71 42t-22 38q0 22 24.5 38.5t70.5 16.5q70 1 124 -24l15 -8zM2042 960h-128 q-65 0 -87 -54l-246 -588h174l35 96h212q5 -22 20 -96h154zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />-<glyph unicode="" horiz-adv-x="2304" d="M671 603h-13q-47 0 -47 -32q0 -22 20 -22q17 0 28 15t12 39zM1066 639h62v3q1 4 0.5 6.5t-1 7t-2 8t-4.5 6.5t-7.5 5t-11.5 2q-28 0 -36 -38zM1606 603h-12q-48 0 -48 -32q0 -22 20 -22q17 0 28 15t12 39zM1925 629q0 41 -30 41q-19 0 -31 -20t-12 -51q0 -42 28 -42 q20 0 32.5 20t12.5 52zM480 770h87l-44 -262h-56l32 201l-71 -201h-39l-4 200l-34 -200h-53l44 262h81l2 -163zM733 663q0 -6 -4 -42q-16 -101 -17 -113h-47l1 22q-20 -26 -58 -26q-23 0 -37.5 16t-14.5 42q0 39 26 60.5t73 21.5q14 0 23 -1q0 3 0.5 5.5t1 4.5t0.5 3 q0 20 -36 20q-29 0 -59 -10q0 4 7 48q38 11 67 11q74 0 74 -62zM889 721l-8 -49q-22 3 -41 3q-27 0 -27 -17q0 -8 4.5 -12t21.5 -11q40 -19 40 -60q0 -72 -87 -71q-34 0 -58 6q0 2 7 49q29 -8 51 -8q32 0 32 19q0 7 -4.5 11.5t-21.5 12.5q-43 20 -43 59q0 72 84 72 q30 0 50 -4zM977 721h28l-7 -52h-29q-2 -17 -6.5 -40.5t-7 -38.5t-2.5 -18q0 -16 19 -16q8 0 16 2l-8 -47q-21 -7 -40 -7q-43 0 -45 47q0 12 8 56q3 20 25 146h55zM1180 648q0 -23 -7 -52h-111q-3 -22 10 -33t38 -11q30 0 58 14l-9 -54q-30 -8 -57 -8q-95 0 -95 95 q0 55 27.5 90.5t69.5 35.5q35 0 55.5 -21t20.5 -56zM1319 722q-13 -23 -22 -62q-22 2 -31 -24t-25 -128h-56l3 14q22 130 29 199h51l-3 -33q14 21 25.5 29.5t28.5 4.5zM1506 763l-9 -57q-28 14 -50 14q-31 0 -51 -27.5t-20 -70.5q0 -30 13.5 -47t38.5 -17q21 0 48 13 l-10 -59q-28 -8 -50 -8q-45 0 -71.5 30.5t-26.5 82.5q0 70 35.5 114.5t91.5 44.5q26 0 61 -13zM1668 663q0 -18 -4 -42q-13 -79 -17 -113h-46l1 22q-20 -26 -59 -26q-23 0 -37 16t-14 42q0 39 25.5 60.5t72.5 21.5q15 0 23 -1q2 7 2 13q0 20 -36 20q-29 0 -59 -10q0 4 8 48 q38 11 67 11q73 0 73 -62zM1809 722q-14 -24 -21 -62q-23 2 -31.5 -23t-25.5 -129h-56l3 14q19 104 29 199h52q0 -11 -4 -33q15 21 26.5 29.5t27.5 4.5zM1950 770h56l-43 -262h-53l3 19q-23 -23 -52 -23q-31 0 -49.5 24t-18.5 64q0 53 27.5 92t64.5 39q31 0 53 -29z M2061 640q0 148 -72.5 273t-198 198t-273.5 73q-181 0 -328 -110q127 -116 171 -284h-50q-44 150 -158 253q-114 -103 -158 -253h-50q44 168 171 284q-147 110 -328 110q-148 0 -273.5 -73t-198 -198t-72.5 -273t72.5 -273t198 -198t273.5 -73q181 0 328 110 q-120 111 -165 264h50q46 -138 152 -233q106 95 152 233h50q-45 -153 -165 -264q147 -110 328 -110q148 0 273.5 73t198 198t72.5 273zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />-<glyph unicode="" horiz-adv-x="2304" d="M313 759q0 -51 -36 -84q-29 -26 -89 -26h-17v220h17q61 0 89 -27q36 -31 36 -83zM2089 824q0 -52 -64 -52h-19v101h20q63 0 63 -49zM380 759q0 74 -50 120.5t-129 46.5h-95v-333h95q74 0 119 38q60 51 60 128zM410 593h65v333h-65v-333zM730 694q0 40 -20.5 62t-75.5 42 q-29 10 -39.5 19t-10.5 23q0 16 13.5 26.5t34.5 10.5q29 0 53 -27l34 44q-41 37 -98 37q-44 0 -74 -27.5t-30 -67.5q0 -35 18 -55.5t64 -36.5q37 -13 45 -19q19 -12 19 -34q0 -20 -14 -33.5t-36 -13.5q-48 0 -71 44l-42 -40q44 -64 115 -64q51 0 83 30.5t32 79.5zM1008 604 v77q-37 -37 -78 -37q-49 0 -80.5 32.5t-31.5 82.5q0 48 31.5 81.5t77.5 33.5q43 0 81 -38v77q-40 20 -80 20q-74 0 -125.5 -50.5t-51.5 -123.5t51 -123.5t125 -50.5q42 0 81 19zM2240 0v527q-65 -40 -144.5 -84t-237.5 -117t-329.5 -137.5t-417.5 -134.5t-504 -118h1569 q26 0 45 19t19 45zM1389 757q0 75 -53 128t-128 53t-128 -53t-53 -128t53 -128t128 -53t128 53t53 128zM1541 584l144 342h-71l-90 -224l-89 224h-71l142 -342h35zM1714 593h184v56h-119v90h115v56h-115v74h119v57h-184v-333zM2105 593h80l-105 140q76 16 76 94q0 47 -31 73 t-87 26h-97v-333h65v133h9zM2304 1274v-1268q0 -56 -38.5 -95t-93.5 -39h-2040q-55 0 -93.5 39t-38.5 95v1268q0 56 38.5 95t93.5 39h2040q55 0 93.5 -39t38.5 -95z" />-<glyph unicode="" horiz-adv-x="2304" d="M119 854h89l-45 108zM740 328l74 79l-70 79h-163v-49h142v-55h-142v-54h159zM898 406l99 -110v217zM1186 453q0 33 -40 33h-84v-69h83q41 0 41 36zM1475 457q0 29 -42 29h-82v-61h81q43 0 43 32zM1197 923q0 29 -42 29h-82v-60h81q43 0 43 31zM1656 854h89l-44 108z M699 1009v-271h-66v212l-94 -212h-57l-94 212v-212h-132l-25 60h-135l-25 -60h-70l116 271h96l110 -257v257h106l85 -184l77 184h108zM1255 453q0 -20 -5.5 -35t-14 -25t-22.5 -16.5t-26 -10t-31.5 -4.5t-31.5 -1t-32.5 0.5t-29.5 0.5v-91h-126l-80 90l-83 -90h-256v271h260 l80 -89l82 89h207q109 0 109 -89zM964 794v-56h-217v271h217v-57h-152v-49h148v-55h-148v-54h152zM2304 235v-229q0 -55 -38.5 -94.5t-93.5 -39.5h-2040q-55 0 -93.5 39.5t-38.5 94.5v678h111l25 61h55l25 -61h218v46l19 -46h113l20 47v-47h541v99l10 1q10 0 10 -14v-86h279 v23q23 -12 55 -18t52.5 -6.5t63 0.5t51.5 1l25 61h56l25 -61h227v58l34 -58h182v378h-180v-44l-25 44h-185v-44l-23 44h-249q-69 0 -109 -22v22h-172v-22q-24 22 -73 22h-628l-43 -97l-43 97h-198v-44l-22 44h-169l-78 -179v391q0 55 38.5 94.5t93.5 39.5h2040 q55 0 93.5 -39.5t38.5 -94.5v-678h-120q-51 0 -81 -22v22h-177q-55 0 -78 -22v22h-316v-22q-31 22 -87 22h-209v-22q-23 22 -91 22h-234l-54 -58l-50 58h-349v-378h343l55 59l52 -59h211v89h21q59 0 90 13v-102h174v99h8q8 0 10 -2t2 -10v-87h529q57 0 88 24v-24h168 q60 0 95 17zM1546 469q0 -23 -12 -43t-34 -29q25 -9 34 -26t9 -46v-54h-65v45q0 33 -12 43.5t-46 10.5h-69v-99h-65v271h154q48 0 77 -15t29 -58zM1269 936q0 -24 -12.5 -44t-33.5 -29q26 -9 34.5 -25.5t8.5 -46.5v-53h-65q0 9 0.5 26.5t0 25t-3 18.5t-8.5 16t-17.5 8.5 t-29.5 3.5h-70v-98h-64v271l153 -1q49 0 78 -14.5t29 -57.5zM1798 327v-56h-216v271h216v-56h-151v-49h148v-55h-148v-54zM1372 1009v-271h-66v271h66zM2065 357q0 -86 -102 -86h-126v58h126q34 0 34 25q0 16 -17 21t-41.5 5t-49.5 3.5t-42 22.5t-17 55q0 39 26 60t66 21 h130v-57h-119q-36 0 -36 -25q0 -16 17.5 -20.5t42 -4t49 -2.5t42 -21.5t17.5 -54.5zM2304 407v-101q-24 -35 -88 -35h-125v58h125q33 0 33 25q0 13 -12.5 19t-31 5.5t-40 2t-40 8t-31 24t-12.5 48.5q0 39 26.5 60t66.5 21h129v-57h-118q-36 0 -36 -25q0 -20 29 -22t68.5 -5 t56.5 -26zM2139 1008v-270h-92l-122 203v-203h-132l-26 60h-134l-25 -60h-75q-129 0 -129 133q0 138 133 138h63v-59q-7 0 -28 1t-28.5 0.5t-23 -2t-21.5 -6.5t-14.5 -13.5t-11.5 -23t-3 -33.5q0 -38 13.5 -58t49.5 -20h29l92 213h97l109 -256v256h99l114 -188v188h66z" />-<glyph unicode="" horiz-adv-x="2304" d="M322 689h-15q-19 0 -19 18q0 28 19 85q5 15 15 19.5t28 4.5q77 0 77 -49q0 -41 -30.5 -59.5t-74.5 -18.5zM664 528q-47 0 -47 29q0 62 123 62l3 -3q-5 -88 -79 -88zM1438 687h-15q-19 0 -19 19q0 28 19 85q5 15 14.5 19t28.5 4q77 0 77 -49q0 -41 -30.5 -59.5 t-74.5 -18.5zM1780 527q-47 0 -47 30q0 62 123 62l3 -3q-5 -89 -79 -89zM373 894h-128q-8 0 -14.5 -4t-8.5 -7.5t-7 -12.5q-3 -7 -45 -190t-42 -192q0 -7 5.5 -12.5t13.5 -5.5h62q25 0 32.5 34.5l15 69t32.5 34.5q47 0 87.5 7.5t80.5 24.5t63.5 52.5t23.5 84.5 q0 36 -14.5 61t-41 36.5t-53.5 15.5t-62 4zM719 798q-38 0 -74 -6q-2 0 -8.5 -1t-9 -1.5l-7.5 -1.5t-7.5 -2t-6.5 -3t-6.5 -4t-5 -5t-4.5 -7t-4 -9q-9 -29 -9 -39t9 -10q5 0 21.5 5t19.5 6q30 8 58 8q74 0 74 -36q0 -11 -10 -14q-8 -2 -18 -3t-21.5 -1.5t-17.5 -1.5 q-38 -4 -64.5 -10t-56.5 -19.5t-45.5 -39t-15.5 -62.5q0 -38 26 -59.5t64 -21.5q24 0 45.5 6.5t33 13t38.5 23.5q-3 -7 -3 -15t5.5 -13.5t12.5 -5.5h56q1 1 7 3.5t7.5 3.5t5 3.5t5 5.5t2.5 8l45 194q4 13 4 30q0 81 -145 81zM1247 793h-74q-22 0 -39 -23q-5 -7 -29.5 -51 t-46.5 -81.5t-26 -38.5l-5 4q0 77 -27 166q-1 5 -3.5 8.5t-6 6.5t-6.5 5t-8.5 3t-8.5 1.5t-9.5 1t-9 0.5h-10h-8.5q-38 0 -38 -21l1 -5q5 -53 25 -151t25 -143q2 -16 2 -24q0 -19 -30.5 -61.5t-30.5 -58.5q0 -13 40 -13q61 0 76 25l245 415q10 20 10 26q0 9 -8 9zM1489 892 h-129q-18 0 -29 -23q-6 -13 -46.5 -191.5t-40.5 -190.5q0 -20 43 -20h7.5h9h9t9.5 1t8.5 2t8.5 3t6.5 4.5t5.5 6t3 8.5l21 91q2 10 10.5 17t19.5 7q47 0 87.5 7t80.5 24.5t63.5 52.5t23.5 84q0 36 -14.5 61t-41 36.5t-53.5 15.5t-62 4zM1835 798q-26 0 -74 -6 q-38 -6 -48 -16q-7 -8 -11 -19q-8 -24 -8 -39q0 -10 8 -10q1 0 41 12q30 8 58 8q74 0 74 -36q0 -12 -10 -14q-4 -1 -57 -7q-38 -4 -64.5 -10t-56.5 -19.5t-45.5 -39t-15.5 -62.5t26 -58.5t64 -21.5q24 0 45 6t34 13t38 24q-3 -15 -3 -16q0 -5 2 -8.5t6.5 -5.5t8 -3.5 t10.5 -2t9.5 -0.5h9.5h8q42 0 48 25l45 194q3 15 3 31q0 81 -145 81zM2157 889h-55q-25 0 -33 -40q-10 -44 -36.5 -167t-42.5 -190v-5q0 -16 16 -18h1h57q10 0 18.5 6.5t10.5 16.5l83 374h-1l1 5q0 7 -5.5 12.5t-13.5 5.5zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048 q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />-<glyph unicode="" horiz-adv-x="2304" d="M1597 633q0 -69 -21 -106q-19 -35 -52 -35q-23 0 -41 9v224q29 30 57 30q57 0 57 -122zM2035 669h-110q6 98 56 98q51 0 54 -98zM476 534q0 59 -33 91.5t-101 57.5q-36 13 -52 24t-16 25q0 26 38 26q58 0 124 -33l18 112q-67 32 -149 32q-77 0 -123 -38q-48 -39 -48 -109 q0 -58 32.5 -90.5t99.5 -56.5q39 -14 54.5 -25.5t15.5 -27.5q0 -31 -48 -31q-29 0 -70 12.5t-72 30.5l-18 -113q72 -41 168 -41q81 0 129 37q51 41 51 117zM771 749l19 111h-96v135l-129 -21l-18 -114l-46 -8l-17 -103h62v-219q0 -84 44 -120q38 -30 111 -30q32 0 79 11v118 q-32 -7 -44 -7q-42 0 -42 50v197h77zM1087 724v139q-15 3 -28 3q-32 0 -55.5 -16t-33.5 -46l-10 56h-131v-471h150v306q26 31 82 31q16 0 26 -2zM1124 389h150v471h-150v-471zM1746 638q0 122 -45 179q-40 52 -111 52q-64 0 -117 -56l-8 47h-132v-645l150 25v151 q36 -11 68 -11q83 0 134 56q61 65 61 202zM1278 986q0 33 -23 56t-56 23t-56 -23t-23 -56t23 -56.5t56 -23.5t56 23.5t23 56.5zM2176 629q0 113 -48 176q-50 64 -144 64q-96 0 -151.5 -66t-55.5 -180q0 -128 63 -188q55 -55 161 -55q101 0 160 40l-16 103q-57 -31 -128 -31 q-43 0 -63 19q-23 19 -28 66h248q2 14 2 52zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />-<glyph unicode="" horiz-adv-x="2048" d="M1558 684q61 -356 298 -556q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-180.5 74.5t-75.5 180.5zM1024 -176q16 0 16 16t-16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5zM2026 1424q8 -10 7.5 -23.5t-10.5 -22.5 l-1872 -1622q-10 -8 -23.5 -7t-21.5 11l-84 96q-8 10 -7.5 23.5t10.5 21.5l186 161q-19 32 -19 66q50 42 91 88t85 119.5t74.5 158.5t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q124 -18 219 -82.5t148 -157.5 l418 363q10 8 23.5 7t21.5 -11z" />-<glyph unicode="" horiz-adv-x="2048" d="M1040 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM503 315l877 760q-42 88 -132.5 146.5t-223.5 58.5q-93 0 -169.5 -31.5t-121.5 -80.5t-69 -103t-24 -105q0 -384 -137 -645zM1856 128 q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-180.5 74.5t-75.5 180.5l149 129h757q-166 187 -227 459l111 97q61 -356 298 -556zM1942 1520l84 -96q8 -10 7.5 -23.5t-10.5 -22.5l-1872 -1622q-10 -8 -23.5 -7t-21.5 11l-84 96q-8 10 -7.5 23.5t10.5 21.5l186 161 q-19 32 -19 66q50 42 91 88t85 119.5t74.5 158.5t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q124 -18 219 -82.5t148 -157.5l418 363q10 8 23.5 7t21.5 -11z" />-<glyph unicode="" horiz-adv-x="1408" d="M512 160v704q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-704q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM768 160v704q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-704q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1024 160v704q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-704 q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167 q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" />-<glyph unicode="" d="M1150 462v-109q0 -50 -36.5 -89t-94 -60.5t-118 -32.5t-117.5 -11q-205 0 -342.5 139t-137.5 346q0 203 136 339t339 136q34 0 75.5 -4.5t93 -18t92.5 -34t69 -56.5t28 -81v-109q0 -16 -16 -16h-118q-16 0 -16 16v70q0 43 -65.5 67.5t-137.5 24.5q-140 0 -228.5 -91.5 t-88.5 -237.5q0 -151 91.5 -249.5t233.5 -98.5q68 0 138 24t70 66v70q0 7 4.5 11.5t10.5 4.5h119q6 0 11 -4.5t5 -11.5zM768 1280q-130 0 -248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5 t-51 248.5t-136.5 204t-204 136.5t-248.5 51zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" d="M972 761q0 108 -53.5 169t-147.5 61q-63 0 -124 -30.5t-110 -84.5t-79.5 -137t-30.5 -180q0 -112 53.5 -173t150.5 -61q96 0 176 66.5t122.5 166t42.5 203.5zM1536 640q0 -111 -37 -197t-98.5 -135t-131.5 -74.5t-145 -27.5q-6 0 -15.5 -0.5t-16.5 -0.5q-95 0 -142 53 q-28 33 -33 83q-52 -66 -131.5 -110t-173.5 -44q-161 0 -249.5 95.5t-88.5 269.5q0 157 66 290t179 210.5t246 77.5q87 0 155 -35.5t106 -99.5l2 19l11 56q1 6 5.5 12t9.5 6h118q5 0 13 -11q5 -5 3 -16l-120 -614q-5 -24 -5 -48q0 -39 12.5 -52t44.5 -13q28 1 57 5.5t73 24 t77 50t57 89.5t24 137q0 292 -174 466t-466 174q-130 0 -248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51q228 0 405 144q11 9 24 8t21 -12l41 -49q8 -12 7 -24q-2 -13 -12 -22q-102 -83 -227.5 -128t-258.5 -45q-156 0 -298 61 t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q344 0 556 -212t212 -556z" />-<glyph unicode="" horiz-adv-x="1792" d="M1698 1442q94 -94 94 -226.5t-94 -225.5l-225 -223l104 -104q10 -10 10 -23t-10 -23l-210 -210q-10 -10 -23 -10t-23 10l-105 105l-603 -603q-37 -37 -90 -37h-203l-256 -128l-64 64l128 256v203q0 53 37 90l603 603l-105 105q-10 10 -10 23t10 23l210 210q10 10 23 10 t23 -10l104 -104l223 225q93 94 225.5 94t226.5 -94zM512 64l576 576l-192 192l-576 -576v-192h192z" />-<glyph unicode="" horiz-adv-x="1792" d="M1615 1536q70 0 122.5 -46.5t52.5 -116.5q0 -63 -45 -151q-332 -629 -465 -752q-97 -91 -218 -91q-126 0 -216.5 92.5t-90.5 219.5q0 128 92 212l638 579q59 54 130 54zM706 502q39 -76 106.5 -130t150.5 -76l1 -71q4 -213 -129.5 -347t-348.5 -134q-123 0 -218 46.5 t-152.5 127.5t-86.5 183t-29 220q7 -5 41 -30t62 -44.5t59 -36.5t46 -17q41 0 55 37q25 66 57.5 112.5t69.5 76t88 47.5t103 25.5t125 10.5z" />-<glyph unicode="" horiz-adv-x="1792" d="M1792 128v-384h-1792v384q45 0 85 14t59 27.5t47 37.5q30 27 51.5 38t56.5 11t55.5 -11t52.5 -38q29 -25 47 -38t58 -27t86 -14q45 0 85 14.5t58 27t48 37.5q21 19 32.5 27t31 15t43.5 7q35 0 56.5 -11t51.5 -38q28 -24 47 -37.5t59 -27.5t85 -14t85 14t59 27.5t47 37.5 q30 27 51.5 38t56.5 11q34 0 55.5 -11t51.5 -38q28 -24 47 -37.5t59 -27.5t85 -14zM1792 448v-192q-35 0 -55.5 11t-52.5 38q-29 25 -47 38t-58 27t-85 14q-46 0 -86 -14t-58 -27t-47 -38q-22 -19 -33 -27t-31 -15t-44 -7q-35 0 -56.5 11t-51.5 38q-29 25 -47 38t-58 27 t-86 14q-45 0 -85 -14.5t-58 -27t-48 -37.5q-21 -19 -32.5 -27t-31 -15t-43.5 -7q-35 0 -56.5 11t-51.5 38q-28 24 -47 37.5t-59 27.5t-85 14q-46 0 -86 -14t-58 -27t-47 -38q-30 -27 -51.5 -38t-56.5 -11v192q0 80 56 136t136 56h64v448h256v-448h256v448h256v-448h256v448 h256v-448h64q80 0 136 -56t56 -136zM512 1312q0 -77 -36 -118.5t-92 -41.5q-53 0 -90.5 37.5t-37.5 90.5q0 29 9.5 51t23.5 34t31 28t31 31.5t23.5 44.5t9.5 67q38 0 83 -74t45 -150zM1024 1312q0 -77 -36 -118.5t-92 -41.5q-53 0 -90.5 37.5t-37.5 90.5q0 29 9.5 51 t23.5 34t31 28t31 31.5t23.5 44.5t9.5 67q38 0 83 -74t45 -150zM1536 1312q0 -77 -36 -118.5t-92 -41.5q-53 0 -90.5 37.5t-37.5 90.5q0 29 9.5 51t23.5 34t31 28t31 31.5t23.5 44.5t9.5 67q38 0 83 -74t45 -150z" />-<glyph unicode="" horiz-adv-x="2048" d="M2048 0v-128h-2048v1536h128v-1408h1920zM1664 1024l256 -896h-1664v576l448 576l576 -576z" />-<glyph unicode="" horiz-adv-x="1792" d="M768 646l546 -546q-106 -108 -247.5 -168t-298.5 -60q-209 0 -385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103v-762zM955 640h773q0 -157 -60 -298.5t-168 -247.5zM1664 768h-768v768q209 0 385.5 -103t279.5 -279.5t103 -385.5z" />-<glyph unicode="" horiz-adv-x="2048" d="M2048 0v-128h-2048v1536h128v-1408h1920zM1920 1248v-435q0 -21 -19.5 -29.5t-35.5 7.5l-121 121l-633 -633q-10 -10 -23 -10t-23 10l-233 233l-416 -416l-192 192l585 585q10 10 23 10t23 -10l233 -233l464 464l-121 121q-16 16 -7.5 35.5t29.5 19.5h435q14 0 23 -9 t9 -23z" />-<glyph unicode="" horiz-adv-x="1792" d="M1292 832q0 -6 10 -41q10 -29 25 -49.5t41 -34t44 -20t55 -16.5q325 -91 325 -332q0 -146 -105.5 -242.5t-254.5 -96.5q-59 0 -111.5 18.5t-91.5 45.5t-77 74.5t-63 87.5t-53.5 103.5t-43.5 103t-39.5 106.5t-35.5 95q-32 81 -61.5 133.5t-73.5 96.5t-104 64t-142 20 q-96 0 -183 -55.5t-138 -144.5t-51 -185q0 -160 106.5 -279.5t263.5 -119.5q177 0 258 95q56 63 83 116l84 -152q-15 -34 -44 -70l1 -1q-131 -152 -388 -152q-147 0 -269.5 79t-190.5 207.5t-68 274.5q0 105 43.5 206t116 176.5t172 121.5t204.5 46q87 0 159 -19t123.5 -50 t95 -80t72.5 -99t58.5 -117t50.5 -124.5t50 -130.5t55 -127q96 -200 233 -200q81 0 138.5 48.5t57.5 128.5q0 42 -19 72t-50.5 46t-72.5 31.5t-84.5 27t-87.5 34t-81 52t-65 82t-39 122.5q-3 16 -3 33q0 110 87.5 192t198.5 78q78 -3 120.5 -14.5t90.5 -53.5h-1 q12 -11 23 -24.5t26 -36t19 -27.5l-129 -99q-26 49 -54 70v1q-23 21 -97 21q-49 0 -84 -33t-35 -83z" />-<glyph unicode="" d="M1432 484q0 173 -234 239q-35 10 -53 16.5t-38 25t-29 46.5q0 2 -2 8.5t-3 12t-1 7.5q0 36 24.5 59.5t60.5 23.5q54 0 71 -15h-1q20 -15 39 -51l93 71q-39 54 -49 64q-33 29 -67.5 39t-85.5 10q-80 0 -142 -57.5t-62 -137.5q0 -7 2 -23q16 -96 64.5 -140t148.5 -73 q29 -8 49 -15.5t45 -21.5t38.5 -34.5t13.5 -46.5v-5q1 -58 -40.5 -93t-100.5 -35q-97 0 -167 144q-23 47 -51.5 121.5t-48 125.5t-54 110.5t-74 95.5t-103.5 60.5t-147 24.5q-101 0 -192 -56t-144 -148t-50 -192v-1q4 -108 50.5 -199t133.5 -147.5t196 -56.5q186 0 279 110 q20 27 31 51l-60 109q-42 -80 -99 -116t-146 -36q-115 0 -191 87t-76 204q0 105 82 189t186 84q112 0 170 -53.5t104 -172.5q8 -21 25.5 -68.5t28.5 -76.5t31.5 -74.5t38.5 -74t45.5 -62.5t55.5 -53.5t66 -33t80 -13.5q107 0 183 69.5t76 174.5zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />-<glyph unicode="" horiz-adv-x="2048" d="M1152 640q0 104 -40.5 198.5t-109.5 163.5t-163.5 109.5t-198.5 40.5t-198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5zM1920 640q0 104 -40.5 198.5 t-109.5 163.5t-163.5 109.5t-198.5 40.5h-386q119 -90 188.5 -224t69.5 -288t-69.5 -288t-188.5 -224h386q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5zM2048 640q0 -130 -51 -248.5t-136.5 -204t-204 -136.5t-248.5 -51h-768q-130 0 -248.5 51t-204 136.5 t-136.5 204t-51 248.5t51 248.5t136.5 204t204 136.5t248.5 51h768q130 0 248.5 -51t204 -136.5t136.5 -204t51 -248.5z" />-<glyph unicode="" horiz-adv-x="2048" d="M0 640q0 130 51 248.5t136.5 204t204 136.5t248.5 51h768q130 0 248.5 -51t204 -136.5t136.5 -204t51 -248.5t-51 -248.5t-136.5 -204t-204 -136.5t-248.5 -51h-768q-130 0 -248.5 51t-204 136.5t-136.5 204t-51 248.5zM1408 128q104 0 198.5 40.5t163.5 109.5 t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5t-163.5 109.5t-198.5 40.5t-198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5z" />-<glyph unicode="" horiz-adv-x="2304" d="M762 384h-314q-40 0 -57.5 35t6.5 67l188 251q-65 31 -137 31q-132 0 -226 -94t-94 -226t94 -226t226 -94q115 0 203 72.5t111 183.5zM576 512h186q-18 85 -75 148zM1056 512l288 384h-480l-99 -132q105 -103 126 -252h165zM2176 448q0 132 -94 226t-226 94 q-60 0 -121 -24l174 -260q15 -23 10 -49t-27 -40q-15 -11 -36 -11q-35 0 -53 29l-174 260q-93 -95 -93 -225q0 -132 94 -226t226 -94t226 94t94 226zM2304 448q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 97 39.5 183.5t109.5 149.5l-65 98l-353 -469 q-18 -26 -51 -26h-197q-23 -164 -149 -274t-294 -110q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5q114 0 215 -55l137 183h-224q-26 0 -45 19t-19 45t19 45t45 19h384v-128h435l-85 128h-222q-26 0 -45 19t-19 45t19 45t45 19h256q33 0 53 -28l267 -400 q91 44 192 44q185 0 316.5 -131.5t131.5 -316.5z" />-<glyph unicode="" d="M384 320q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1408 320q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1362 716l-72 384q-5 23 -22.5 37.5t-40.5 14.5 h-918q-23 0 -40.5 -14.5t-22.5 -37.5l-72 -384q-5 -30 14 -53t49 -23h1062q30 0 49 23t14 53zM1136 1328q0 20 -14 34t-34 14h-640q-20 0 -34 -14t-14 -34t14 -34t34 -14h640q20 0 34 14t14 34zM1536 603v-603h-128v-128q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5v128h-768v-128q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5v128h-128v603q0 112 25 223l103 454q9 78 97.5 137t230 89t312.5 30t312.5 -30t230 -89t97.5 -137l105 -454q23 -102 23 -223z" />-<glyph unicode="" horiz-adv-x="2048" d="M1463 704q0 -35 -25 -60.5t-61 -25.5h-702q-36 0 -61 25.5t-25 60.5t25 60.5t61 25.5h702q36 0 61 -25.5t25 -60.5zM1677 704q0 86 -23 170h-982q-36 0 -61 25t-25 60q0 36 25 61t61 25h908q-88 143 -235 227t-320 84q-177 0 -327.5 -87.5t-238 -237.5t-87.5 -327 q0 -86 23 -170h982q36 0 61 -25t25 -60q0 -36 -25 -61t-61 -25h-908q88 -143 235.5 -227t320.5 -84q132 0 253 51.5t208 139t139 208t52 253.5zM2048 959q0 -35 -25 -60t-61 -25h-131q17 -85 17 -170q0 -167 -65.5 -319.5t-175.5 -263t-262.5 -176t-319.5 -65.5 q-246 0 -448.5 133t-301.5 350h-189q-36 0 -61 25t-25 61q0 35 25 60t61 25h132q-17 85 -17 170q0 167 65.5 319.5t175.5 263t262.5 176t320.5 65.5q245 0 447.5 -133t301.5 -350h188q36 0 61 -25t25 -61z" />-<glyph unicode="" horiz-adv-x="1280" d="M953 1158l-114 -328l117 -21q165 451 165 518q0 56 -38 56q-57 0 -130 -225zM654 471l33 -88q37 42 71 67l-33 5.5t-38.5 7t-32.5 8.5zM362 1367q0 -98 159 -521q18 10 49 10q15 0 75 -5l-121 351q-75 220 -123 220q-19 0 -29 -17.5t-10 -37.5zM283 608q0 -36 51.5 -119 t117.5 -153t100 -70q14 0 25.5 13t11.5 27q0 24 -32 102q-13 32 -32 72t-47.5 89t-61.5 81t-62 32q-20 0 -45.5 -27t-25.5 -47zM125 273q0 -41 25 -104q59 -145 183.5 -227t281.5 -82q227 0 382 170q152 169 152 427q0 43 -1 67t-11.5 62t-30.5 56q-56 49 -211.5 75.5 t-270.5 26.5q-37 0 -49 -11q-12 -5 -12 -35q0 -34 21.5 -60t55.5 -40t77.5 -23.5t87.5 -11.5t85 -4t70 0h23q24 0 40 -19q15 -19 19 -55q-28 -28 -96 -54q-61 -22 -93 -46q-64 -46 -108.5 -114t-44.5 -137q0 -31 18.5 -88.5t18.5 -87.5l-3 -12q-4 -12 -4 -14 q-137 10 -146 216q-8 -2 -41 -2q2 -7 2 -21q0 -53 -40.5 -89.5t-94.5 -36.5q-82 0 -166.5 78t-84.5 159q0 34 33 67q52 -64 60 -76q77 -104 133 -104q12 0 26.5 8.5t14.5 20.5q0 34 -87.5 145t-116.5 111q-43 0 -70 -44.5t-27 -90.5zM11 264q0 101 42.5 163t136.5 88 q-28 74 -28 104q0 62 61 123t122 61q29 0 70 -15q-163 462 -163 567q0 80 41 130.5t119 50.5q131 0 325 -581q6 -17 8 -23q6 16 29 79.5t43.5 118.5t54 127.5t64.5 123t70.5 86.5t76.5 36q71 0 112 -49t41 -122q0 -108 -159 -550q61 -15 100.5 -46t58.5 -78t26 -93.5 t7 -110.5q0 -150 -47 -280t-132 -225t-211 -150t-278 -55q-111 0 -223 42q-149 57 -258 191.5t-109 286.5z" />-<glyph unicode="" horiz-adv-x="2048" d="M785 528h207q-14 -158 -98.5 -248.5t-214.5 -90.5q-162 0 -254.5 116t-92.5 316q0 194 93 311.5t233 117.5q148 0 232 -87t97 -247h-203q-5 64 -35.5 99t-81.5 35q-57 0 -88.5 -60.5t-31.5 -177.5q0 -48 5 -84t18 -69.5t40 -51.5t66 -18q95 0 109 139zM1497 528h206 q-14 -158 -98 -248.5t-214 -90.5q-162 0 -254.5 116t-92.5 316q0 194 93 311.5t233 117.5q148 0 232 -87t97 -247h-204q-4 64 -35 99t-81 35q-57 0 -88.5 -60.5t-31.5 -177.5q0 -48 5 -84t18 -69.5t39.5 -51.5t65.5 -18q49 0 76.5 38t33.5 101zM1856 647q0 207 -15.5 307 t-60.5 161q-6 8 -13.5 14t-21.5 15t-16 11q-86 63 -697 63q-625 0 -710 -63q-5 -4 -17.5 -11.5t-21 -14t-14.5 -14.5q-45 -60 -60 -159.5t-15 -308.5q0 -208 15 -307.5t60 -160.5q6 -8 15 -15t20.5 -14t17.5 -12q44 -33 239.5 -49t470.5 -16q610 0 697 65q5 4 17 11t20.5 14 t13.5 16q46 60 61 159t15 309zM2048 1408v-1536h-2048v1536h2048z" />-<glyph unicode="" d="M992 912v-496q0 -14 -9 -23t-23 -9h-160q-14 0 -23 9t-9 23v496q0 112 -80 192t-192 80h-272v-1152q0 -14 -9 -23t-23 -9h-160q-14 0 -23 9t-9 23v1344q0 14 9 23t23 9h464q135 0 249 -66.5t180.5 -180.5t66.5 -249zM1376 1376v-880q0 -135 -66.5 -249t-180.5 -180.5 t-249 -66.5h-464q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h160q14 0 23 -9t9 -23v-768h272q112 0 192 80t80 192v880q0 14 9 23t23 9h160q14 0 23 -9t9 -23z" />-<glyph unicode="" d="M1311 694v-114q0 -24 -13.5 -38t-37.5 -14h-202q-24 0 -38 14t-14 38v114q0 24 14 38t38 14h202q24 0 37.5 -14t13.5 -38zM821 464v250q0 53 -32.5 85.5t-85.5 32.5h-133q-68 0 -96 -52q-28 52 -96 52h-130q-53 0 -85.5 -32.5t-32.5 -85.5v-250q0 -22 21 -22h55 q22 0 22 22v230q0 24 13.5 38t38.5 14h94q24 0 38 -14t14 -38v-230q0 -22 21 -22h54q22 0 22 22v230q0 24 14 38t38 14h97q24 0 37.5 -14t13.5 -38v-230q0 -22 22 -22h55q21 0 21 22zM1410 560v154q0 53 -33 85.5t-86 32.5h-264q-53 0 -86 -32.5t-33 -85.5v-410 q0 -21 22 -21h55q21 0 21 21v180q31 -42 94 -42h191q53 0 86 32.5t33 85.5zM1536 1176v-1072q0 -96 -68 -164t-164 -68h-1072q-96 0 -164 68t-68 164v1072q0 96 68 164t164 68h1072q96 0 164 -68t68 -164z" />-<glyph unicode="" horiz-adv-x="1792" />-<glyph unicode="" horiz-adv-x="1792" />-<glyph unicode="" horiz-adv-x="1792" />-</font>-</defs></svg>\ No newline at end of filediff --git a/web/ext/ui/font-awesome-4.2.0/fonts/fontawesome-webfont.ttf b/web/ext/ui/font-awesome-4.2.0/fonts/fontawesome-webfont.ttfdeleted file mode 100644index 96a3639cd..000000000Binary files a/web/ext/ui/font-awesome-4.2.0/fonts/fontawesome-webfont.ttf and /dev/null differdiff --git a/web/ext/ui/font-awesome-4.2.0/fonts/fontawesome-webfont.woff b/web/ext/ui/font-awesome-4.2.0/fonts/fontawesome-webfont.woffdeleted file mode 100644index 628b6a52a..000000000Binary files a/web/ext/ui/font-awesome-4.2.0/fonts/fontawesome-webfont.woff and /dev/null differdiff --git a/web/ext/ui/font-awesome-4.2.0/less/bordered-pulled.less b/web/ext/ui/font-awesome-4.2.0/less/bordered-pulled.lessdeleted file mode 100644index 0c90eb567..000000000--- a/web/ext/ui/font-awesome-4.2.0/less/bordered-pulled.less+++ /dev/null@@ -1,16 +0,0 @@-// Bordered & Pulled-// ---------------------------.@{fa-css-prefix}-border {- padding: .2em .25em .15em;- border: solid .08em @fa-border-color;- border-radius: .1em;-}--.pull-right { float: right; }-.pull-left { float: left; }--.@{fa-css-prefix} {- &.pull-left { margin-right: .3em; }- &.pull-right { margin-left: .3em; }-}diff --git a/web/ext/ui/font-awesome-4.2.0/less/core.less b/web/ext/ui/font-awesome-4.2.0/less/core.lessdeleted file mode 100644index 01d1910f7..000000000--- a/web/ext/ui/font-awesome-4.2.0/less/core.less+++ /dev/null@@ -1,11 +0,0 @@-// Base Class Definition-// ---------------------------.@{fa-css-prefix} {- display: inline-block;- font: normal normal normal 14px/1 FontAwesome; // shortening font declaration- font-size: inherit; // can't have font-size inherit on line above, so need to override- text-rendering: auto; // optimizelegibility throws things off #1094- -webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale;-}diff --git a/web/ext/ui/font-awesome-4.2.0/less/fixed-width.less b/web/ext/ui/font-awesome-4.2.0/less/fixed-width.lessdeleted file mode 100644index 110289f2f..000000000--- a/web/ext/ui/font-awesome-4.2.0/less/fixed-width.less+++ /dev/null@@ -1,6 +0,0 @@-// Fixed Width Icons-// --------------------------.@{fa-css-prefix}-fw {- width: (18em / 14);- text-align: center;-}diff --git a/web/ext/ui/font-awesome-4.2.0/less/font-awesome.less b/web/ext/ui/font-awesome-4.2.0/less/font-awesome.lessdeleted file mode 100644index 195fd46c6..000000000--- a/web/ext/ui/font-awesome-4.2.0/less/font-awesome.less+++ /dev/null@@ -1,17 +0,0 @@-/*!- * Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome- * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)- */--@import "variables.less";-@import "mixins.less";-@import "path.less";-@import "core.less";-@import "larger.less";-@import "fixed-width.less";-@import "list.less";-@import "bordered-pulled.less";-@import "spinning.less";-@import "rotated-flipped.less";-@import "stacked.less";-@import "icons.less";diff --git a/web/ext/ui/font-awesome-4.2.0/less/icons.less b/web/ext/ui/font-awesome-4.2.0/less/icons.lessdeleted file mode 100644index b5c26c701..000000000--- a/web/ext/ui/font-awesome-4.2.0/less/icons.less+++ /dev/null@@ -1,552 +0,0 @@-/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen- readers do not read off random characters that represent icons */--.@{fa-css-prefix}-glass:before { content: @fa-var-glass; }-.@{fa-css-prefix}-music:before { content: @fa-var-music; }-.@{fa-css-prefix}-search:before { content: @fa-var-search; }-.@{fa-css-prefix}-envelope-o:before { content: @fa-var-envelope-o; }-.@{fa-css-prefix}-heart:before { content: @fa-var-heart; }-.@{fa-css-prefix}-star:before { content: @fa-var-star; }-.@{fa-css-prefix}-star-o:before { content: @fa-var-star-o; }-.@{fa-css-prefix}-user:before { content: @fa-var-user; }-.@{fa-css-prefix}-film:before { content: @fa-var-film; }-.@{fa-css-prefix}-th-large:before { content: @fa-var-th-large; }-.@{fa-css-prefix}-th:before { content: @fa-var-th; }-.@{fa-css-prefix}-th-list:before { content: @fa-var-th-list; }-.@{fa-css-prefix}-check:before { content: @fa-var-check; }-.@{fa-css-prefix}-remove:before,-.@{fa-css-prefix}-close:before,-.@{fa-css-prefix}-times:before { content: @fa-var-times; }-.@{fa-css-prefix}-search-plus:before { content: @fa-var-search-plus; }-.@{fa-css-prefix}-search-minus:before { content: @fa-var-search-minus; }-.@{fa-css-prefix}-power-off:before { content: @fa-var-power-off; }-.@{fa-css-prefix}-signal:before { content: @fa-var-signal; }-.@{fa-css-prefix}-gear:before,-.@{fa-css-prefix}-cog:before { content: @fa-var-cog; }-.@{fa-css-prefix}-trash-o:before { content: @fa-var-trash-o; }-.@{fa-css-prefix}-home:before { content: @fa-var-home; }-.@{fa-css-prefix}-file-o:before { content: @fa-var-file-o; }-.@{fa-css-prefix}-clock-o:before { content: @fa-var-clock-o; }-.@{fa-css-prefix}-road:before { content: @fa-var-road; }-.@{fa-css-prefix}-download:before { content: @fa-var-download; }-.@{fa-css-prefix}-arrow-circle-o-down:before { content: @fa-var-arrow-circle-o-down; }-.@{fa-css-prefix}-arrow-circle-o-up:before { content: @fa-var-arrow-circle-o-up; }-.@{fa-css-prefix}-inbox:before { content: @fa-var-inbox; }-.@{fa-css-prefix}-play-circle-o:before { content: @fa-var-play-circle-o; }-.@{fa-css-prefix}-rotate-right:before,-.@{fa-css-prefix}-repeat:before { content: @fa-var-repeat; }-.@{fa-css-prefix}-refresh:before { content: @fa-var-refresh; }-.@{fa-css-prefix}-list-alt:before { content: @fa-var-list-alt; }-.@{fa-css-prefix}-lock:before { content: @fa-var-lock; }-.@{fa-css-prefix}-flag:before { content: @fa-var-flag; }-.@{fa-css-prefix}-headphones:before { content: @fa-var-headphones; }-.@{fa-css-prefix}-volume-off:before { content: @fa-var-volume-off; }-.@{fa-css-prefix}-volume-down:before { content: @fa-var-volume-down; }-.@{fa-css-prefix}-volume-up:before { content: @fa-var-volume-up; }-.@{fa-css-prefix}-qrcode:before { content: @fa-var-qrcode; }-.@{fa-css-prefix}-barcode:before { content: @fa-var-barcode; }-.@{fa-css-prefix}-tag:before { content: @fa-var-tag; }-.@{fa-css-prefix}-tags:before { content: @fa-var-tags; }-.@{fa-css-prefix}-book:before { content: @fa-var-book; }-.@{fa-css-prefix}-bookmark:before { content: @fa-var-bookmark; }-.@{fa-css-prefix}-print:before { content: @fa-var-print; }-.@{fa-css-prefix}-camera:before { content: @fa-var-camera; }-.@{fa-css-prefix}-font:before { content: @fa-var-font; }-.@{fa-css-prefix}-bold:before { content: @fa-var-bold; }-.@{fa-css-prefix}-italic:before { content: @fa-var-italic; }-.@{fa-css-prefix}-text-height:before { content: @fa-var-text-height; }-.@{fa-css-prefix}-text-width:before { content: @fa-var-text-width; }-.@{fa-css-prefix}-align-left:before { content: @fa-var-align-left; }-.@{fa-css-prefix}-align-center:before { content: @fa-var-align-center; }-.@{fa-css-prefix}-align-right:before { content: @fa-var-align-right; }-.@{fa-css-prefix}-align-justify:before { content: @fa-var-align-justify; }-.@{fa-css-prefix}-list:before { content: @fa-var-list; }-.@{fa-css-prefix}-dedent:before,-.@{fa-css-prefix}-outdent:before { content: @fa-var-outdent; }-.@{fa-css-prefix}-indent:before { content: @fa-var-indent; }-.@{fa-css-prefix}-video-camera:before { content: @fa-var-video-camera; }-.@{fa-css-prefix}-photo:before,-.@{fa-css-prefix}-image:before,-.@{fa-css-prefix}-picture-o:before { content: @fa-var-picture-o; }-.@{fa-css-prefix}-pencil:before { content: @fa-var-pencil; }-.@{fa-css-prefix}-map-marker:before { content: @fa-var-map-marker; }-.@{fa-css-prefix}-adjust:before { content: @fa-var-adjust; }-.@{fa-css-prefix}-tint:before { content: @fa-var-tint; }-.@{fa-css-prefix}-edit:before,-.@{fa-css-prefix}-pencil-square-o:before { content: @fa-var-pencil-square-o; }-.@{fa-css-prefix}-share-square-o:before { content: @fa-var-share-square-o; }-.@{fa-css-prefix}-check-square-o:before { content: @fa-var-check-square-o; }-.@{fa-css-prefix}-arrows:before { content: @fa-var-arrows; }-.@{fa-css-prefix}-step-backward:before { content: @fa-var-step-backward; }-.@{fa-css-prefix}-fast-backward:before { content: @fa-var-fast-backward; }-.@{fa-css-prefix}-backward:before { content: @fa-var-backward; }-.@{fa-css-prefix}-play:before { content: @fa-var-play; }-.@{fa-css-prefix}-pause:before { content: @fa-var-pause; }-.@{fa-css-prefix}-stop:before { content: @fa-var-stop; }-.@{fa-css-prefix}-forward:before { content: @fa-var-forward; }-.@{fa-css-prefix}-fast-forward:before { content: @fa-var-fast-forward; }-.@{fa-css-prefix}-step-forward:before { content: @fa-var-step-forward; }-.@{fa-css-prefix}-eject:before { content: @fa-var-eject; }-.@{fa-css-prefix}-chevron-left:before { content: @fa-var-chevron-left; }-.@{fa-css-prefix}-chevron-right:before { content: @fa-var-chevron-right; }-.@{fa-css-prefix}-plus-circle:before { content: @fa-var-plus-circle; }-.@{fa-css-prefix}-minus-circle:before { content: @fa-var-minus-circle; }-.@{fa-css-prefix}-times-circle:before { content: @fa-var-times-circle; }-.@{fa-css-prefix}-check-circle:before { content: @fa-var-check-circle; }-.@{fa-css-prefix}-question-circle:before { content: @fa-var-question-circle; }-.@{fa-css-prefix}-info-circle:before { content: @fa-var-info-circle; }-.@{fa-css-prefix}-crosshairs:before { content: @fa-var-crosshairs; }-.@{fa-css-prefix}-times-circle-o:before { content: @fa-var-times-circle-o; }-.@{fa-css-prefix}-check-circle-o:before { content: @fa-var-check-circle-o; }-.@{fa-css-prefix}-ban:before { content: @fa-var-ban; }-.@{fa-css-prefix}-arrow-left:before { content: @fa-var-arrow-left; }-.@{fa-css-prefix}-arrow-right:before { content: @fa-var-arrow-right; }-.@{fa-css-prefix}-arrow-up:before { content: @fa-var-arrow-up; }-.@{fa-css-prefix}-arrow-down:before { content: @fa-var-arrow-down; }-.@{fa-css-prefix}-mail-forward:before,-.@{fa-css-prefix}-share:before { content: @fa-var-share; }-.@{fa-css-prefix}-expand:before { content: @fa-var-expand; }-.@{fa-css-prefix}-compress:before { content: @fa-var-compress; }-.@{fa-css-prefix}-plus:before { content: @fa-var-plus; }-.@{fa-css-prefix}-minus:before { content: @fa-var-minus; }-.@{fa-css-prefix}-asterisk:before { content: @fa-var-asterisk; }-.@{fa-css-prefix}-exclamation-circle:before { content: @fa-var-exclamation-circle; }-.@{fa-css-prefix}-gift:before { content: @fa-var-gift; }-.@{fa-css-prefix}-leaf:before { content: @fa-var-leaf; }-.@{fa-css-prefix}-fire:before { content: @fa-var-fire; }-.@{fa-css-prefix}-eye:before { content: @fa-var-eye; }-.@{fa-css-prefix}-eye-slash:before { content: @fa-var-eye-slash; }-.@{fa-css-prefix}-warning:before,-.@{fa-css-prefix}-exclamation-triangle:before { content: @fa-var-exclamation-triangle; }-.@{fa-css-prefix}-plane:before { content: @fa-var-plane; }-.@{fa-css-prefix}-calendar:before { content: @fa-var-calendar; }-.@{fa-css-prefix}-random:before { content: @fa-var-random; }-.@{fa-css-prefix}-comment:before { content: @fa-var-comment; }-.@{fa-css-prefix}-magnet:before { content: @fa-var-magnet; }-.@{fa-css-prefix}-chevron-up:before { content: @fa-var-chevron-up; }-.@{fa-css-prefix}-chevron-down:before { content: @fa-var-chevron-down; }-.@{fa-css-prefix}-retweet:before { content: @fa-var-retweet; }-.@{fa-css-prefix}-shopping-cart:before { content: @fa-var-shopping-cart; }-.@{fa-css-prefix}-folder:before { content: @fa-var-folder; }-.@{fa-css-prefix}-folder-open:before { content: @fa-var-folder-open; }-.@{fa-css-prefix}-arrows-v:before { content: @fa-var-arrows-v; }-.@{fa-css-prefix}-arrows-h:before { content: @fa-var-arrows-h; }-.@{fa-css-prefix}-bar-chart-o:before,-.@{fa-css-prefix}-bar-chart:before { content: @fa-var-bar-chart; }-.@{fa-css-prefix}-twitter-square:before { content: @fa-var-twitter-square; }-.@{fa-css-prefix}-facebook-square:before { content: @fa-var-facebook-square; }-.@{fa-css-prefix}-camera-retro:before { content: @fa-var-camera-retro; }-.@{fa-css-prefix}-key:before { content: @fa-var-key; }-.@{fa-css-prefix}-gears:before,-.@{fa-css-prefix}-cogs:before { content: @fa-var-cogs; }-.@{fa-css-prefix}-comments:before { content: @fa-var-comments; }-.@{fa-css-prefix}-thumbs-o-up:before { content: @fa-var-thumbs-o-up; }-.@{fa-css-prefix}-thumbs-o-down:before { content: @fa-var-thumbs-o-down; }-.@{fa-css-prefix}-star-half:before { content: @fa-var-star-half; }-.@{fa-css-prefix}-heart-o:before { content: @fa-var-heart-o; }-.@{fa-css-prefix}-sign-out:before { content: @fa-var-sign-out; }-.@{fa-css-prefix}-linkedin-square:before { content: @fa-var-linkedin-square; }-.@{fa-css-prefix}-thumb-tack:before { content: @fa-var-thumb-tack; }-.@{fa-css-prefix}-external-link:before { content: @fa-var-external-link; }-.@{fa-css-prefix}-sign-in:before { content: @fa-var-sign-in; }-.@{fa-css-prefix}-trophy:before { content: @fa-var-trophy; }-.@{fa-css-prefix}-github-square:before { content: @fa-var-github-square; }-.@{fa-css-prefix}-upload:before { content: @fa-var-upload; }-.@{fa-css-prefix}-lemon-o:before { content: @fa-var-lemon-o; }-.@{fa-css-prefix}-phone:before { content: @fa-var-phone; }-.@{fa-css-prefix}-square-o:before { content: @fa-var-square-o; }-.@{fa-css-prefix}-bookmark-o:before { content: @fa-var-bookmark-o; }-.@{fa-css-prefix}-phone-square:before { content: @fa-var-phone-square; }-.@{fa-css-prefix}-twitter:before { content: @fa-var-twitter; }-.@{fa-css-prefix}-facebook:before { content: @fa-var-facebook; }-.@{fa-css-prefix}-github:before { content: @fa-var-github; }-.@{fa-css-prefix}-unlock:before { content: @fa-var-unlock; }-.@{fa-css-prefix}-credit-card:before { content: @fa-var-credit-card; }-.@{fa-css-prefix}-rss:before { content: @fa-var-rss; }-.@{fa-css-prefix}-hdd-o:before { content: @fa-var-hdd-o; }-.@{fa-css-prefix}-bullhorn:before { content: @fa-var-bullhorn; }-.@{fa-css-prefix}-bell:before { content: @fa-var-bell; }-.@{fa-css-prefix}-certificate:before { content: @fa-var-certificate; }-.@{fa-css-prefix}-hand-o-right:before { content: @fa-var-hand-o-right; }-.@{fa-css-prefix}-hand-o-left:before { content: @fa-var-hand-o-left; }-.@{fa-css-prefix}-hand-o-up:before { content: @fa-var-hand-o-up; }-.@{fa-css-prefix}-hand-o-down:before { content: @fa-var-hand-o-down; }-.@{fa-css-prefix}-arrow-circle-left:before { content: @fa-var-arrow-circle-left; }-.@{fa-css-prefix}-arrow-circle-right:before { content: @fa-var-arrow-circle-right; }-.@{fa-css-prefix}-arrow-circle-up:before { content: @fa-var-arrow-circle-up; }-.@{fa-css-prefix}-arrow-circle-down:before { content: @fa-var-arrow-circle-down; }-.@{fa-css-prefix}-globe:before { content: @fa-var-globe; }-.@{fa-css-prefix}-wrench:before { content: @fa-var-wrench; }-.@{fa-css-prefix}-tasks:before { content: @fa-var-tasks; }-.@{fa-css-prefix}-filter:before { content: @fa-var-filter; }-.@{fa-css-prefix}-briefcase:before { content: @fa-var-briefcase; }-.@{fa-css-prefix}-arrows-alt:before { content: @fa-var-arrows-alt; }-.@{fa-css-prefix}-group:before,-.@{fa-css-prefix}-users:before { content: @fa-var-users; }-.@{fa-css-prefix}-chain:before,-.@{fa-css-prefix}-link:before { content: @fa-var-link; }-.@{fa-css-prefix}-cloud:before { content: @fa-var-cloud; }-.@{fa-css-prefix}-flask:before { content: @fa-var-flask; }-.@{fa-css-prefix}-cut:before,-.@{fa-css-prefix}-scissors:before { content: @fa-var-scissors; }-.@{fa-css-prefix}-copy:before,-.@{fa-css-prefix}-files-o:before { content: @fa-var-files-o; }-.@{fa-css-prefix}-paperclip:before { content: @fa-var-paperclip; }-.@{fa-css-prefix}-save:before,-.@{fa-css-prefix}-floppy-o:before { content: @fa-var-floppy-o; }-.@{fa-css-prefix}-square:before { content: @fa-var-square; }-.@{fa-css-prefix}-navicon:before,-.@{fa-css-prefix}-reorder:before,-.@{fa-css-prefix}-bars:before { content: @fa-var-bars; }-.@{fa-css-prefix}-list-ul:before { content: @fa-var-list-ul; }-.@{fa-css-prefix}-list-ol:before { content: @fa-var-list-ol; }-.@{fa-css-prefix}-strikethrough:before { content: @fa-var-strikethrough; }-.@{fa-css-prefix}-underline:before { content: @fa-var-underline; }-.@{fa-css-prefix}-table:before { content: @fa-var-table; }-.@{fa-css-prefix}-magic:before { content: @fa-var-magic; }-.@{fa-css-prefix}-truck:before { content: @fa-var-truck; }-.@{fa-css-prefix}-pinterest:before { content: @fa-var-pinterest; }-.@{fa-css-prefix}-pinterest-square:before { content: @fa-var-pinterest-square; }-.@{fa-css-prefix}-google-plus-square:before { content: @fa-var-google-plus-square; }-.@{fa-css-prefix}-google-plus:before { content: @fa-var-google-plus; }-.@{fa-css-prefix}-money:before { content: @fa-var-money; }-.@{fa-css-prefix}-caret-down:before { content: @fa-var-caret-down; }-.@{fa-css-prefix}-caret-up:before { content: @fa-var-caret-up; }-.@{fa-css-prefix}-caret-left:before { content: @fa-var-caret-left; }-.@{fa-css-prefix}-caret-right:before { content: @fa-var-caret-right; }-.@{fa-css-prefix}-columns:before { content: @fa-var-columns; }-.@{fa-css-prefix}-unsorted:before,-.@{fa-css-prefix}-sort:before { content: @fa-var-sort; }-.@{fa-css-prefix}-sort-down:before,-.@{fa-css-prefix}-sort-desc:before { content: @fa-var-sort-desc; }-.@{fa-css-prefix}-sort-up:before,-.@{fa-css-prefix}-sort-asc:before { content: @fa-var-sort-asc; }-.@{fa-css-prefix}-envelope:before { content: @fa-var-envelope; }-.@{fa-css-prefix}-linkedin:before { content: @fa-var-linkedin; }-.@{fa-css-prefix}-rotate-left:before,-.@{fa-css-prefix}-undo:before { content: @fa-var-undo; }-.@{fa-css-prefix}-legal:before,-.@{fa-css-prefix}-gavel:before { content: @fa-var-gavel; }-.@{fa-css-prefix}-dashboard:before,-.@{fa-css-prefix}-tachometer:before { content: @fa-var-tachometer; }-.@{fa-css-prefix}-comment-o:before { content: @fa-var-comment-o; }-.@{fa-css-prefix}-comments-o:before { content: @fa-var-comments-o; }-.@{fa-css-prefix}-flash:before,-.@{fa-css-prefix}-bolt:before { content: @fa-var-bolt; }-.@{fa-css-prefix}-sitemap:before { content: @fa-var-sitemap; }-.@{fa-css-prefix}-umbrella:before { content: @fa-var-umbrella; }-.@{fa-css-prefix}-paste:before,-.@{fa-css-prefix}-clipboard:before { content: @fa-var-clipboard; }-.@{fa-css-prefix}-lightbulb-o:before { content: @fa-var-lightbulb-o; }-.@{fa-css-prefix}-exchange:before { content: @fa-var-exchange; }-.@{fa-css-prefix}-cloud-download:before { content: @fa-var-cloud-download; }-.@{fa-css-prefix}-cloud-upload:before { content: @fa-var-cloud-upload; }-.@{fa-css-prefix}-user-md:before { content: @fa-var-user-md; }-.@{fa-css-prefix}-stethoscope:before { content: @fa-var-stethoscope; }-.@{fa-css-prefix}-suitcase:before { content: @fa-var-suitcase; }-.@{fa-css-prefix}-bell-o:before { content: @fa-var-bell-o; }-.@{fa-css-prefix}-coffee:before { content: @fa-var-coffee; }-.@{fa-css-prefix}-cutlery:before { content: @fa-var-cutlery; }-.@{fa-css-prefix}-file-text-o:before { content: @fa-var-file-text-o; }-.@{fa-css-prefix}-building-o:before { content: @fa-var-building-o; }-.@{fa-css-prefix}-hospital-o:before { content: @fa-var-hospital-o; }-.@{fa-css-prefix}-ambulance:before { content: @fa-var-ambulance; }-.@{fa-css-prefix}-medkit:before { content: @fa-var-medkit; }-.@{fa-css-prefix}-fighter-jet:before { content: @fa-var-fighter-jet; }-.@{fa-css-prefix}-beer:before { content: @fa-var-beer; }-.@{fa-css-prefix}-h-square:before { content: @fa-var-h-square; }-.@{fa-css-prefix}-plus-square:before { content: @fa-var-plus-square; }-.@{fa-css-prefix}-angle-double-left:before { content: @fa-var-angle-double-left; }-.@{fa-css-prefix}-angle-double-right:before { content: @fa-var-angle-double-right; }-.@{fa-css-prefix}-angle-double-up:before { content: @fa-var-angle-double-up; }-.@{fa-css-prefix}-angle-double-down:before { content: @fa-var-angle-double-down; }-.@{fa-css-prefix}-angle-left:before { content: @fa-var-angle-left; }-.@{fa-css-prefix}-angle-right:before { content: @fa-var-angle-right; }-.@{fa-css-prefix}-angle-up:before { content: @fa-var-angle-up; }-.@{fa-css-prefix}-angle-down:before { content: @fa-var-angle-down; }-.@{fa-css-prefix}-desktop:before { content: @fa-var-desktop; }-.@{fa-css-prefix}-laptop:before { content: @fa-var-laptop; }-.@{fa-css-prefix}-tablet:before { content: @fa-var-tablet; }-.@{fa-css-prefix}-mobile-phone:before,-.@{fa-css-prefix}-mobile:before { content: @fa-var-mobile; }-.@{fa-css-prefix}-circle-o:before { content: @fa-var-circle-o; }-.@{fa-css-prefix}-quote-left:before { content: @fa-var-quote-left; }-.@{fa-css-prefix}-quote-right:before { content: @fa-var-quote-right; }-.@{fa-css-prefix}-spinner:before { content: @fa-var-spinner; }-.@{fa-css-prefix}-circle:before { content: @fa-var-circle; }-.@{fa-css-prefix}-mail-reply:before,-.@{fa-css-prefix}-reply:before { content: @fa-var-reply; }-.@{fa-css-prefix}-github-alt:before { content: @fa-var-github-alt; }-.@{fa-css-prefix}-folder-o:before { content: @fa-var-folder-o; }-.@{fa-css-prefix}-folder-open-o:before { content: @fa-var-folder-open-o; }-.@{fa-css-prefix}-smile-o:before { content: @fa-var-smile-o; }-.@{fa-css-prefix}-frown-o:before { content: @fa-var-frown-o; }-.@{fa-css-prefix}-meh-o:before { content: @fa-var-meh-o; }-.@{fa-css-prefix}-gamepad:before { content: @fa-var-gamepad; }-.@{fa-css-prefix}-keyboard-o:before { content: @fa-var-keyboard-o; }-.@{fa-css-prefix}-flag-o:before { content: @fa-var-flag-o; }-.@{fa-css-prefix}-flag-checkered:before { content: @fa-var-flag-checkered; }-.@{fa-css-prefix}-terminal:before { content: @fa-var-terminal; }-.@{fa-css-prefix}-code:before { content: @fa-var-code; }-.@{fa-css-prefix}-mail-reply-all:before,-.@{fa-css-prefix}-reply-all:before { content: @fa-var-reply-all; }-.@{fa-css-prefix}-star-half-empty:before,-.@{fa-css-prefix}-star-half-full:before,-.@{fa-css-prefix}-star-half-o:before { content: @fa-var-star-half-o; }-.@{fa-css-prefix}-location-arrow:before { content: @fa-var-location-arrow; }-.@{fa-css-prefix}-crop:before { content: @fa-var-crop; }-.@{fa-css-prefix}-code-fork:before { content: @fa-var-code-fork; }-.@{fa-css-prefix}-unlink:before,-.@{fa-css-prefix}-chain-broken:before { content: @fa-var-chain-broken; }-.@{fa-css-prefix}-question:before { content: @fa-var-question; }-.@{fa-css-prefix}-info:before { content: @fa-var-info; }-.@{fa-css-prefix}-exclamation:before { content: @fa-var-exclamation; }-.@{fa-css-prefix}-superscript:before { content: @fa-var-superscript; }-.@{fa-css-prefix}-subscript:before { content: @fa-var-subscript; }-.@{fa-css-prefix}-eraser:before { content: @fa-var-eraser; }-.@{fa-css-prefix}-puzzle-piece:before { content: @fa-var-puzzle-piece; }-.@{fa-css-prefix}-microphone:before { content: @fa-var-microphone; }-.@{fa-css-prefix}-microphone-slash:before { content: @fa-var-microphone-slash; }-.@{fa-css-prefix}-shield:before { content: @fa-var-shield; }-.@{fa-css-prefix}-calendar-o:before { content: @fa-var-calendar-o; }-.@{fa-css-prefix}-fire-extinguisher:before { content: @fa-var-fire-extinguisher; }-.@{fa-css-prefix}-rocket:before { content: @fa-var-rocket; }-.@{fa-css-prefix}-maxcdn:before { content: @fa-var-maxcdn; }-.@{fa-css-prefix}-chevron-circle-left:before { content: @fa-var-chevron-circle-left; }-.@{fa-css-prefix}-chevron-circle-right:before { content: @fa-var-chevron-circle-right; }-.@{fa-css-prefix}-chevron-circle-up:before { content: @fa-var-chevron-circle-up; }-.@{fa-css-prefix}-chevron-circle-down:before { content: @fa-var-chevron-circle-down; }-.@{fa-css-prefix}-html5:before { content: @fa-var-html5; }-.@{fa-css-prefix}-css3:before { content: @fa-var-css3; }-.@{fa-css-prefix}-anchor:before { content: @fa-var-anchor; }-.@{fa-css-prefix}-unlock-alt:before { content: @fa-var-unlock-alt; }-.@{fa-css-prefix}-bullseye:before { content: @fa-var-bullseye; }-.@{fa-css-prefix}-ellipsis-h:before { content: @fa-var-ellipsis-h; }-.@{fa-css-prefix}-ellipsis-v:before { content: @fa-var-ellipsis-v; }-.@{fa-css-prefix}-rss-square:before { content: @fa-var-rss-square; }-.@{fa-css-prefix}-play-circle:before { content: @fa-var-play-circle; }-.@{fa-css-prefix}-ticket:before { content: @fa-var-ticket; }-.@{fa-css-prefix}-minus-square:before { content: @fa-var-minus-square; }-.@{fa-css-prefix}-minus-square-o:before { content: @fa-var-minus-square-o; }-.@{fa-css-prefix}-level-up:before { content: @fa-var-level-up; }-.@{fa-css-prefix}-level-down:before { content: @fa-var-level-down; }-.@{fa-css-prefix}-check-square:before { content: @fa-var-check-square; }-.@{fa-css-prefix}-pencil-square:before { content: @fa-var-pencil-square; }-.@{fa-css-prefix}-external-link-square:before { content: @fa-var-external-link-square; }-.@{fa-css-prefix}-share-square:before { content: @fa-var-share-square; }-.@{fa-css-prefix}-compass:before { content: @fa-var-compass; }-.@{fa-css-prefix}-toggle-down:before,-.@{fa-css-prefix}-caret-square-o-down:before { content: @fa-var-caret-square-o-down; }-.@{fa-css-prefix}-toggle-up:before,-.@{fa-css-prefix}-caret-square-o-up:before { content: @fa-var-caret-square-o-up; }-.@{fa-css-prefix}-toggle-right:before,-.@{fa-css-prefix}-caret-square-o-right:before { content: @fa-var-caret-square-o-right; }-.@{fa-css-prefix}-euro:before,-.@{fa-css-prefix}-eur:before { content: @fa-var-eur; }-.@{fa-css-prefix}-gbp:before { content: @fa-var-gbp; }-.@{fa-css-prefix}-dollar:before,-.@{fa-css-prefix}-usd:before { content: @fa-var-usd; }-.@{fa-css-prefix}-rupee:before,-.@{fa-css-prefix}-inr:before { content: @fa-var-inr; }-.@{fa-css-prefix}-cny:before,-.@{fa-css-prefix}-rmb:before,-.@{fa-css-prefix}-yen:before,-.@{fa-css-prefix}-jpy:before { content: @fa-var-jpy; }-.@{fa-css-prefix}-ruble:before,-.@{fa-css-prefix}-rouble:before,-.@{fa-css-prefix}-rub:before { content: @fa-var-rub; }-.@{fa-css-prefix}-won:before,-.@{fa-css-prefix}-krw:before { content: @fa-var-krw; }-.@{fa-css-prefix}-bitcoin:before,-.@{fa-css-prefix}-btc:before { content: @fa-var-btc; }-.@{fa-css-prefix}-file:before { content: @fa-var-file; }-.@{fa-css-prefix}-file-text:before { content: @fa-var-file-text; }-.@{fa-css-prefix}-sort-alpha-asc:before { content: @fa-var-sort-alpha-asc; }-.@{fa-css-prefix}-sort-alpha-desc:before { content: @fa-var-sort-alpha-desc; }-.@{fa-css-prefix}-sort-amount-asc:before { content: @fa-var-sort-amount-asc; }-.@{fa-css-prefix}-sort-amount-desc:before { content: @fa-var-sort-amount-desc; }-.@{fa-css-prefix}-sort-numeric-asc:before { content: @fa-var-sort-numeric-asc; }-.@{fa-css-prefix}-sort-numeric-desc:before { content: @fa-var-sort-numeric-desc; }-.@{fa-css-prefix}-thumbs-up:before { content: @fa-var-thumbs-up; }-.@{fa-css-prefix}-thumbs-down:before { content: @fa-var-thumbs-down; }-.@{fa-css-prefix}-youtube-square:before { content: @fa-var-youtube-square; }-.@{fa-css-prefix}-youtube:before { content: @fa-var-youtube; }-.@{fa-css-prefix}-xing:before { content: @fa-var-xing; }-.@{fa-css-prefix}-xing-square:before { content: @fa-var-xing-square; }-.@{fa-css-prefix}-youtube-play:before { content: @fa-var-youtube-play; }-.@{fa-css-prefix}-dropbox:before { content: @fa-var-dropbox; }-.@{fa-css-prefix}-stack-overflow:before { content: @fa-var-stack-overflow; }-.@{fa-css-prefix}-instagram:before { content: @fa-var-instagram; }-.@{fa-css-prefix}-flickr:before { content: @fa-var-flickr; }-.@{fa-css-prefix}-adn:before { content: @fa-var-adn; }-.@{fa-css-prefix}-bitbucket:before { content: @fa-var-bitbucket; }-.@{fa-css-prefix}-bitbucket-square:before { content: @fa-var-bitbucket-square; }-.@{fa-css-prefix}-tumblr:before { content: @fa-var-tumblr; }-.@{fa-css-prefix}-tumblr-square:before { content: @fa-var-tumblr-square; }-.@{fa-css-prefix}-long-arrow-down:before { content: @fa-var-long-arrow-down; }-.@{fa-css-prefix}-long-arrow-up:before { content: @fa-var-long-arrow-up; }-.@{fa-css-prefix}-long-arrow-left:before { content: @fa-var-long-arrow-left; }-.@{fa-css-prefix}-long-arrow-right:before { content: @fa-var-long-arrow-right; }-.@{fa-css-prefix}-apple:before { content: @fa-var-apple; }-.@{fa-css-prefix}-windows:before { content: @fa-var-windows; }-.@{fa-css-prefix}-android:before { content: @fa-var-android; }-.@{fa-css-prefix}-linux:before { content: @fa-var-linux; }-.@{fa-css-prefix}-dribbble:before { content: @fa-var-dribbble; }-.@{fa-css-prefix}-skype:before { content: @fa-var-skype; }-.@{fa-css-prefix}-foursquare:before { content: @fa-var-foursquare; }-.@{fa-css-prefix}-trello:before { content: @fa-var-trello; }-.@{fa-css-prefix}-female:before { content: @fa-var-female; }-.@{fa-css-prefix}-male:before { content: @fa-var-male; }-.@{fa-css-prefix}-gittip:before { content: @fa-var-gittip; }-.@{fa-css-prefix}-sun-o:before { content: @fa-var-sun-o; }-.@{fa-css-prefix}-moon-o:before { content: @fa-var-moon-o; }-.@{fa-css-prefix}-archive:before { content: @fa-var-archive; }-.@{fa-css-prefix}-bug:before { content: @fa-var-bug; }-.@{fa-css-prefix}-vk:before { content: @fa-var-vk; }-.@{fa-css-prefix}-weibo:before { content: @fa-var-weibo; }-.@{fa-css-prefix}-renren:before { content: @fa-var-renren; }-.@{fa-css-prefix}-pagelines:before { content: @fa-var-pagelines; }-.@{fa-css-prefix}-stack-exchange:before { content: @fa-var-stack-exchange; }-.@{fa-css-prefix}-arrow-circle-o-right:before { content: @fa-var-arrow-circle-o-right; }-.@{fa-css-prefix}-arrow-circle-o-left:before { content: @fa-var-arrow-circle-o-left; }-.@{fa-css-prefix}-toggle-left:before,-.@{fa-css-prefix}-caret-square-o-left:before { content: @fa-var-caret-square-o-left; }-.@{fa-css-prefix}-dot-circle-o:before { content: @fa-var-dot-circle-o; }-.@{fa-css-prefix}-wheelchair:before { content: @fa-var-wheelchair; }-.@{fa-css-prefix}-vimeo-square:before { content: @fa-var-vimeo-square; }-.@{fa-css-prefix}-turkish-lira:before,-.@{fa-css-prefix}-try:before { content: @fa-var-try; }-.@{fa-css-prefix}-plus-square-o:before { content: @fa-var-plus-square-o; }-.@{fa-css-prefix}-space-shuttle:before { content: @fa-var-space-shuttle; }-.@{fa-css-prefix}-slack:before { content: @fa-var-slack; }-.@{fa-css-prefix}-envelope-square:before { content: @fa-var-envelope-square; }-.@{fa-css-prefix}-wordpress:before { content: @fa-var-wordpress; }-.@{fa-css-prefix}-openid:before { content: @fa-var-openid; }-.@{fa-css-prefix}-institution:before,-.@{fa-css-prefix}-bank:before,-.@{fa-css-prefix}-university:before { content: @fa-var-university; }-.@{fa-css-prefix}-mortar-board:before,-.@{fa-css-prefix}-graduation-cap:before { content: @fa-var-graduation-cap; }-.@{fa-css-prefix}-yahoo:before { content: @fa-var-yahoo; }-.@{fa-css-prefix}-google:before { content: @fa-var-google; }-.@{fa-css-prefix}-reddit:before { content: @fa-var-reddit; }-.@{fa-css-prefix}-reddit-square:before { content: @fa-var-reddit-square; }-.@{fa-css-prefix}-stumbleupon-circle:before { content: @fa-var-stumbleupon-circle; }-.@{fa-css-prefix}-stumbleupon:before { content: @fa-var-stumbleupon; }-.@{fa-css-prefix}-delicious:before { content: @fa-var-delicious; }-.@{fa-css-prefix}-digg:before { content: @fa-var-digg; }-.@{fa-css-prefix}-pied-piper:before { content: @fa-var-pied-piper; }-.@{fa-css-prefix}-pied-piper-alt:before { content: @fa-var-pied-piper-alt; }-.@{fa-css-prefix}-drupal:before { content: @fa-var-drupal; }-.@{fa-css-prefix}-joomla:before { content: @fa-var-joomla; }-.@{fa-css-prefix}-language:before { content: @fa-var-language; }-.@{fa-css-prefix}-fax:before { content: @fa-var-fax; }-.@{fa-css-prefix}-building:before { content: @fa-var-building; }-.@{fa-css-prefix}-child:before { content: @fa-var-child; }-.@{fa-css-prefix}-paw:before { content: @fa-var-paw; }-.@{fa-css-prefix}-spoon:before { content: @fa-var-spoon; }-.@{fa-css-prefix}-cube:before { content: @fa-var-cube; }-.@{fa-css-prefix}-cubes:before { content: @fa-var-cubes; }-.@{fa-css-prefix}-behance:before { content: @fa-var-behance; }-.@{fa-css-prefix}-behance-square:before { content: @fa-var-behance-square; }-.@{fa-css-prefix}-steam:before { content: @fa-var-steam; }-.@{fa-css-prefix}-steam-square:before { content: @fa-var-steam-square; }-.@{fa-css-prefix}-recycle:before { content: @fa-var-recycle; }-.@{fa-css-prefix}-automobile:before,-.@{fa-css-prefix}-car:before { content: @fa-var-car; }-.@{fa-css-prefix}-cab:before,-.@{fa-css-prefix}-taxi:before { content: @fa-var-taxi; }-.@{fa-css-prefix}-tree:before { content: @fa-var-tree; }-.@{fa-css-prefix}-spotify:before { content: @fa-var-spotify; }-.@{fa-css-prefix}-deviantart:before { content: @fa-var-deviantart; }-.@{fa-css-prefix}-soundcloud:before { content: @fa-var-soundcloud; }-.@{fa-css-prefix}-database:before { content: @fa-var-database; }-.@{fa-css-prefix}-file-pdf-o:before { content: @fa-var-file-pdf-o; }-.@{fa-css-prefix}-file-word-o:before { content: @fa-var-file-word-o; }-.@{fa-css-prefix}-file-excel-o:before { content: @fa-var-file-excel-o; }-.@{fa-css-prefix}-file-powerpoint-o:before { content: @fa-var-file-powerpoint-o; }-.@{fa-css-prefix}-file-photo-o:before,-.@{fa-css-prefix}-file-picture-o:before,-.@{fa-css-prefix}-file-image-o:before { content: @fa-var-file-image-o; }-.@{fa-css-prefix}-file-zip-o:before,-.@{fa-css-prefix}-file-archive-o:before { content: @fa-var-file-archive-o; }-.@{fa-css-prefix}-file-sound-o:before,-.@{fa-css-prefix}-file-audio-o:before { content: @fa-var-file-audio-o; }-.@{fa-css-prefix}-file-movie-o:before,-.@{fa-css-prefix}-file-video-o:before { content: @fa-var-file-video-o; }-.@{fa-css-prefix}-file-code-o:before { content: @fa-var-file-code-o; }-.@{fa-css-prefix}-vine:before { content: @fa-var-vine; }-.@{fa-css-prefix}-codepen:before { content: @fa-var-codepen; }-.@{fa-css-prefix}-jsfiddle:before { content: @fa-var-jsfiddle; }-.@{fa-css-prefix}-life-bouy:before,-.@{fa-css-prefix}-life-buoy:before,-.@{fa-css-prefix}-life-saver:before,-.@{fa-css-prefix}-support:before,-.@{fa-css-prefix}-life-ring:before { content: @fa-var-life-ring; }-.@{fa-css-prefix}-circle-o-notch:before { content: @fa-var-circle-o-notch; }-.@{fa-css-prefix}-ra:before,-.@{fa-css-prefix}-rebel:before { content: @fa-var-rebel; }-.@{fa-css-prefix}-ge:before,-.@{fa-css-prefix}-empire:before { content: @fa-var-empire; }-.@{fa-css-prefix}-git-square:before { content: @fa-var-git-square; }-.@{fa-css-prefix}-git:before { content: @fa-var-git; }-.@{fa-css-prefix}-hacker-news:before { content: @fa-var-hacker-news; }-.@{fa-css-prefix}-tencent-weibo:before { content: @fa-var-tencent-weibo; }-.@{fa-css-prefix}-qq:before { content: @fa-var-qq; }-.@{fa-css-prefix}-wechat:before,-.@{fa-css-prefix}-weixin:before { content: @fa-var-weixin; }-.@{fa-css-prefix}-send:before,-.@{fa-css-prefix}-paper-plane:before { content: @fa-var-paper-plane; }-.@{fa-css-prefix}-send-o:before,-.@{fa-css-prefix}-paper-plane-o:before { content: @fa-var-paper-plane-o; }-.@{fa-css-prefix}-history:before { content: @fa-var-history; }-.@{fa-css-prefix}-circle-thin:before { content: @fa-var-circle-thin; }-.@{fa-css-prefix}-header:before { content: @fa-var-header; }-.@{fa-css-prefix}-paragraph:before { content: @fa-var-paragraph; }-.@{fa-css-prefix}-sliders:before { content: @fa-var-sliders; }-.@{fa-css-prefix}-share-alt:before { content: @fa-var-share-alt; }-.@{fa-css-prefix}-share-alt-square:before { content: @fa-var-share-alt-square; }-.@{fa-css-prefix}-bomb:before { content: @fa-var-bomb; }-.@{fa-css-prefix}-soccer-ball-o:before,-.@{fa-css-prefix}-futbol-o:before { content: @fa-var-futbol-o; }-.@{fa-css-prefix}-tty:before { content: @fa-var-tty; }-.@{fa-css-prefix}-binoculars:before { content: @fa-var-binoculars; }-.@{fa-css-prefix}-plug:before { content: @fa-var-plug; }-.@{fa-css-prefix}-slideshare:before { content: @fa-var-slideshare; }-.@{fa-css-prefix}-twitch:before { content: @fa-var-twitch; }-.@{fa-css-prefix}-yelp:before { content: @fa-var-yelp; }-.@{fa-css-prefix}-newspaper-o:before { content: @fa-var-newspaper-o; }-.@{fa-css-prefix}-wifi:before { content: @fa-var-wifi; }-.@{fa-css-prefix}-calculator:before { content: @fa-var-calculator; }-.@{fa-css-prefix}-paypal:before { content: @fa-var-paypal; }-.@{fa-css-prefix}-google-wallet:before { content: @fa-var-google-wallet; }-.@{fa-css-prefix}-cc-visa:before { content: @fa-var-cc-visa; }-.@{fa-css-prefix}-cc-mastercard:before { content: @fa-var-cc-mastercard; }-.@{fa-css-prefix}-cc-discover:before { content: @fa-var-cc-discover; }-.@{fa-css-prefix}-cc-amex:before { content: @fa-var-cc-amex; }-.@{fa-css-prefix}-cc-paypal:before { content: @fa-var-cc-paypal; }-.@{fa-css-prefix}-cc-stripe:before { content: @fa-var-cc-stripe; }-.@{fa-css-prefix}-bell-slash:before { content: @fa-var-bell-slash; }-.@{fa-css-prefix}-bell-slash-o:before { content: @fa-var-bell-slash-o; }-.@{fa-css-prefix}-trash:before { content: @fa-var-trash; }-.@{fa-css-prefix}-copyright:before { content: @fa-var-copyright; }-.@{fa-css-prefix}-at:before { content: @fa-var-at; }-.@{fa-css-prefix}-eyedropper:before { content: @fa-var-eyedropper; }-.@{fa-css-prefix}-paint-brush:before { content: @fa-var-paint-brush; }-.@{fa-css-prefix}-birthday-cake:before { content: @fa-var-birthday-cake; }-.@{fa-css-prefix}-area-chart:before { content: @fa-var-area-chart; }-.@{fa-css-prefix}-pie-chart:before { content: @fa-var-pie-chart; }-.@{fa-css-prefix}-line-chart:before { content: @fa-var-line-chart; }-.@{fa-css-prefix}-lastfm:before { content: @fa-var-lastfm; }-.@{fa-css-prefix}-lastfm-square:before { content: @fa-var-lastfm-square; }-.@{fa-css-prefix}-toggle-off:before { content: @fa-var-toggle-off; }-.@{fa-css-prefix}-toggle-on:before { content: @fa-var-toggle-on; }-.@{fa-css-prefix}-bicycle:before { content: @fa-var-bicycle; }-.@{fa-css-prefix}-bus:before { content: @fa-var-bus; }-.@{fa-css-prefix}-ioxhost:before { content: @fa-var-ioxhost; }-.@{fa-css-prefix}-angellist:before { content: @fa-var-angellist; }-.@{fa-css-prefix}-cc:before { content: @fa-var-cc; }-.@{fa-css-prefix}-shekel:before,-.@{fa-css-prefix}-sheqel:before,-.@{fa-css-prefix}-ils:before { content: @fa-var-ils; }-.@{fa-css-prefix}-meanpath:before { content: @fa-var-meanpath; }diff --git a/web/ext/ui/font-awesome-4.2.0/less/larger.less b/web/ext/ui/font-awesome-4.2.0/less/larger.lessdeleted file mode 100644index c9d646770..000000000--- a/web/ext/ui/font-awesome-4.2.0/less/larger.less+++ /dev/null@@ -1,13 +0,0 @@-// Icon Sizes-// ---------------------------/* makes the font 33% larger relative to the icon container */-.@{fa-css-prefix}-lg {- font-size: (4em / 3);- line-height: (3em / 4);- vertical-align: -15%;-}-.@{fa-css-prefix}-2x { font-size: 2em; }-.@{fa-css-prefix}-3x { font-size: 3em; }-.@{fa-css-prefix}-4x { font-size: 4em; }-.@{fa-css-prefix}-5x { font-size: 5em; }diff --git a/web/ext/ui/font-awesome-4.2.0/less/list.less b/web/ext/ui/font-awesome-4.2.0/less/list.lessdeleted file mode 100644index 0b440382f..000000000--- a/web/ext/ui/font-awesome-4.2.0/less/list.less+++ /dev/null@@ -1,19 +0,0 @@-// List Icons-// ---------------------------.@{fa-css-prefix}-ul {- padding-left: 0;- margin-left: @fa-li-width;- list-style-type: none;- > li { position: relative; }-}-.@{fa-css-prefix}-li {- position: absolute;- left: -@fa-li-width;- width: @fa-li-width;- top: (2em / 14);- text-align: center;- &.@{fa-css-prefix}-lg {- left: (-@fa-li-width + (4em / 14));- }-}diff --git a/web/ext/ui/font-awesome-4.2.0/less/mixins.less b/web/ext/ui/font-awesome-4.2.0/less/mixins.lessdeleted file mode 100644index b7bfadc79..000000000--- a/web/ext/ui/font-awesome-4.2.0/less/mixins.less+++ /dev/null@@ -1,25 +0,0 @@-// Mixins-// ----------------------------.fa-icon() {- display: inline-block;- font: normal normal normal 14px/1 FontAwesome; // shortening font declaration- font-size: inherit; // can't have font-size inherit on line above, so need to override- text-rendering: auto; // optimizelegibility throws things off #1094- -webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale;-}--.fa-icon-rotate(@degrees, @rotation) {- filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation);- -webkit-transform: rotate(@degrees);- -ms-transform: rotate(@degrees);- transform: rotate(@degrees);-}--.fa-icon-flip(@horiz, @vert, @rotation) {- filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1);- -webkit-transform: scale(@horiz, @vert);- -ms-transform: scale(@horiz, @vert);- transform: scale(@horiz, @vert);-}diff --git a/web/ext/ui/font-awesome-4.2.0/less/path.less b/web/ext/ui/font-awesome-4.2.0/less/path.lessdeleted file mode 100644index c5a691246..000000000--- a/web/ext/ui/font-awesome-4.2.0/less/path.less+++ /dev/null@@ -1,14 +0,0 @@-/* FONT PATH- * -------------------------- */--@font-face {- font-family: 'FontAwesome';- src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}');- src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),- url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'),- url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'),- url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg');-// src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts- font-weight: normal;- font-style: normal;-}diff --git a/web/ext/ui/font-awesome-4.2.0/less/rotated-flipped.less b/web/ext/ui/font-awesome-4.2.0/less/rotated-flipped.lessdeleted file mode 100644index f6ba81475..000000000--- a/web/ext/ui/font-awesome-4.2.0/less/rotated-flipped.less+++ /dev/null@@ -1,20 +0,0 @@-// Rotated & Flipped Icons-// ---------------------------.@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); }-.@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); }-.@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); }--.@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); }-.@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); }--// Hook for IE8-9-// ---------------------------:root .@{fa-css-prefix}-rotate-90,-:root .@{fa-css-prefix}-rotate-180,-:root .@{fa-css-prefix}-rotate-270,-:root .@{fa-css-prefix}-flip-horizontal,-:root .@{fa-css-prefix}-flip-vertical {- filter: none;-}diff --git a/web/ext/ui/font-awesome-4.2.0/less/spinning.less b/web/ext/ui/font-awesome-4.2.0/less/spinning.lessdeleted file mode 100644index 6e1564e05..000000000--- a/web/ext/ui/font-awesome-4.2.0/less/spinning.less+++ /dev/null@@ -1,29 +0,0 @@-// Spinning Icons-// ----------------------------.@{fa-css-prefix}-spin {- -webkit-animation: fa-spin 2s infinite linear;- animation: fa-spin 2s infinite linear;-}--@-webkit-keyframes fa-spin {- 0% {- -webkit-transform: rotate(0deg);- transform: rotate(0deg);- }- 100% {- -webkit-transform: rotate(359deg);- transform: rotate(359deg);- }-}--@keyframes fa-spin {- 0% {- -webkit-transform: rotate(0deg);- transform: rotate(0deg);- }- 100% {- -webkit-transform: rotate(359deg);- transform: rotate(359deg);- }-}diff --git a/web/ext/ui/font-awesome-4.2.0/less/stacked.less b/web/ext/ui/font-awesome-4.2.0/less/stacked.lessdeleted file mode 100644index fc53fb0e7..000000000--- a/web/ext/ui/font-awesome-4.2.0/less/stacked.less+++ /dev/null@@ -1,20 +0,0 @@-// Stacked Icons-// ---------------------------.@{fa-css-prefix}-stack {- position: relative;- display: inline-block;- width: 2em;- height: 2em;- line-height: 2em;- vertical-align: middle;-}-.@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {- position: absolute;- left: 0;- width: 100%;- text-align: center;-}-.@{fa-css-prefix}-stack-1x { line-height: inherit; }-.@{fa-css-prefix}-stack-2x { font-size: 2em; }-.@{fa-css-prefix}-inverse { color: @fa-inverse; }diff --git a/web/ext/ui/font-awesome-4.2.0/less/variables.less b/web/ext/ui/font-awesome-4.2.0/less/variables.lessdeleted file mode 100644index ccf939d78..000000000--- a/web/ext/ui/font-awesome-4.2.0/less/variables.less+++ /dev/null@@ -1,561 +0,0 @@-// Variables-// ----------------------------@fa-font-path: "../fonts";-//@fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts"; // for referencing Bootstrap CDN font files directly-@fa-css-prefix: fa;-@fa-version: "4.2.0";-@fa-border-color: #eee;-@fa-inverse: #fff;-@fa-li-width: (30em / 14);--@fa-var-adjust: "\f042";-@fa-var-adn: "\f170";-@fa-var-align-center: "\f037";-@fa-var-align-justify: "\f039";-@fa-var-align-left: "\f036";-@fa-var-align-right: "\f038";-@fa-var-ambulance: "\f0f9";-@fa-var-anchor: "\f13d";-@fa-var-android: "\f17b";-@fa-var-angellist: "\f209";-@fa-var-angle-double-down: "\f103";-@fa-var-angle-double-left: "\f100";-@fa-var-angle-double-right: "\f101";-@fa-var-angle-double-up: "\f102";-@fa-var-angle-down: "\f107";-@fa-var-angle-left: "\f104";-@fa-var-angle-right: "\f105";-@fa-var-angle-up: "\f106";-@fa-var-apple: "\f179";-@fa-var-archive: "\f187";-@fa-var-area-chart: "\f1fe";-@fa-var-arrow-circle-down: "\f0ab";-@fa-var-arrow-circle-left: "\f0a8";-@fa-var-arrow-circle-o-down: "\f01a";-@fa-var-arrow-circle-o-left: "\f190";-@fa-var-arrow-circle-o-right: "\f18e";-@fa-var-arrow-circle-o-up: "\f01b";-@fa-var-arrow-circle-right: "\f0a9";-@fa-var-arrow-circle-up: "\f0aa";-@fa-var-arrow-down: "\f063";-@fa-var-arrow-left: "\f060";-@fa-var-arrow-right: "\f061";-@fa-var-arrow-up: "\f062";-@fa-var-arrows: "\f047";-@fa-var-arrows-alt: "\f0b2";-@fa-var-arrows-h: "\f07e";-@fa-var-arrows-v: "\f07d";-@fa-var-asterisk: "\f069";-@fa-var-at: "\f1fa";-@fa-var-automobile: "\f1b9";-@fa-var-backward: "\f04a";-@fa-var-ban: "\f05e";-@fa-var-bank: "\f19c";-@fa-var-bar-chart: "\f080";-@fa-var-bar-chart-o: "\f080";-@fa-var-barcode: "\f02a";-@fa-var-bars: "\f0c9";-@fa-var-beer: "\f0fc";-@fa-var-behance: "\f1b4";-@fa-var-behance-square: "\f1b5";-@fa-var-bell: "\f0f3";-@fa-var-bell-o: "\f0a2";-@fa-var-bell-slash: "\f1f6";-@fa-var-bell-slash-o: "\f1f7";-@fa-var-bicycle: "\f206";-@fa-var-binoculars: "\f1e5";-@fa-var-birthday-cake: "\f1fd";-@fa-var-bitbucket: "\f171";-@fa-var-bitbucket-square: "\f172";-@fa-var-bitcoin: "\f15a";-@fa-var-bold: "\f032";-@fa-var-bolt: "\f0e7";-@fa-var-bomb: "\f1e2";-@fa-var-book: "\f02d";-@fa-var-bookmark: "\f02e";-@fa-var-bookmark-o: "\f097";-@fa-var-briefcase: "\f0b1";-@fa-var-btc: "\f15a";-@fa-var-bug: "\f188";-@fa-var-building: "\f1ad";-@fa-var-building-o: "\f0f7";-@fa-var-bullhorn: "\f0a1";-@fa-var-bullseye: "\f140";-@fa-var-bus: "\f207";-@fa-var-cab: "\f1ba";-@fa-var-calculator: "\f1ec";-@fa-var-calendar: "\f073";-@fa-var-calendar-o: "\f133";-@fa-var-camera: "\f030";-@fa-var-camera-retro: "\f083";-@fa-var-car: "\f1b9";-@fa-var-caret-down: "\f0d7";-@fa-var-caret-left: "\f0d9";-@fa-var-caret-right: "\f0da";-@fa-var-caret-square-o-down: "\f150";-@fa-var-caret-square-o-left: "\f191";-@fa-var-caret-square-o-right: "\f152";-@fa-var-caret-square-o-up: "\f151";-@fa-var-caret-up: "\f0d8";-@fa-var-cc: "\f20a";-@fa-var-cc-amex: "\f1f3";-@fa-var-cc-discover: "\f1f2";-@fa-var-cc-mastercard: "\f1f1";-@fa-var-cc-paypal: "\f1f4";-@fa-var-cc-stripe: "\f1f5";-@fa-var-cc-visa: "\f1f0";-@fa-var-certificate: "\f0a3";-@fa-var-chain: "\f0c1";-@fa-var-chain-broken: "\f127";-@fa-var-check: "\f00c";-@fa-var-check-circle: "\f058";-@fa-var-check-circle-o: "\f05d";-@fa-var-check-square: "\f14a";-@fa-var-check-square-o: "\f046";-@fa-var-chevron-circle-down: "\f13a";-@fa-var-chevron-circle-left: "\f137";-@fa-var-chevron-circle-right: "\f138";-@fa-var-chevron-circle-up: "\f139";-@fa-var-chevron-down: "\f078";-@fa-var-chevron-left: "\f053";-@fa-var-chevron-right: "\f054";-@fa-var-chevron-up: "\f077";-@fa-var-child: "\f1ae";-@fa-var-circle: "\f111";-@fa-var-circle-o: "\f10c";-@fa-var-circle-o-notch: "\f1ce";-@fa-var-circle-thin: "\f1db";-@fa-var-clipboard: "\f0ea";-@fa-var-clock-o: "\f017";-@fa-var-close: "\f00d";-@fa-var-cloud: "\f0c2";-@fa-var-cloud-download: "\f0ed";-@fa-var-cloud-upload: "\f0ee";-@fa-var-cny: "\f157";-@fa-var-code: "\f121";-@fa-var-code-fork: "\f126";-@fa-var-codepen: "\f1cb";-@fa-var-coffee: "\f0f4";-@fa-var-cog: "\f013";-@fa-var-cogs: "\f085";-@fa-var-columns: "\f0db";-@fa-var-comment: "\f075";-@fa-var-comment-o: "\f0e5";-@fa-var-comments: "\f086";-@fa-var-comments-o: "\f0e6";-@fa-var-compass: "\f14e";-@fa-var-compress: "\f066";-@fa-var-copy: "\f0c5";-@fa-var-copyright: "\f1f9";-@fa-var-credit-card: "\f09d";-@fa-var-crop: "\f125";-@fa-var-crosshairs: "\f05b";-@fa-var-css3: "\f13c";-@fa-var-cube: "\f1b2";-@fa-var-cubes: "\f1b3";-@fa-var-cut: "\f0c4";-@fa-var-cutlery: "\f0f5";-@fa-var-dashboard: "\f0e4";-@fa-var-database: "\f1c0";-@fa-var-dedent: "\f03b";-@fa-var-delicious: "\f1a5";-@fa-var-desktop: "\f108";-@fa-var-deviantart: "\f1bd";-@fa-var-digg: "\f1a6";-@fa-var-dollar: "\f155";-@fa-var-dot-circle-o: "\f192";-@fa-var-download: "\f019";-@fa-var-dribbble: "\f17d";-@fa-var-dropbox: "\f16b";-@fa-var-drupal: "\f1a9";-@fa-var-edit: "\f044";-@fa-var-eject: "\f052";-@fa-var-ellipsis-h: "\f141";-@fa-var-ellipsis-v: "\f142";-@fa-var-empire: "\f1d1";-@fa-var-envelope: "\f0e0";-@fa-var-envelope-o: "\f003";-@fa-var-envelope-square: "\f199";-@fa-var-eraser: "\f12d";-@fa-var-eur: "\f153";-@fa-var-euro: "\f153";-@fa-var-exchange: "\f0ec";-@fa-var-exclamation: "\f12a";-@fa-var-exclamation-circle: "\f06a";-@fa-var-exclamation-triangle: "\f071";-@fa-var-expand: "\f065";-@fa-var-external-link: "\f08e";-@fa-var-external-link-square: "\f14c";-@fa-var-eye: "\f06e";-@fa-var-eye-slash: "\f070";-@fa-var-eyedropper: "\f1fb";-@fa-var-facebook: "\f09a";-@fa-var-facebook-square: "\f082";-@fa-var-fast-backward: "\f049";-@fa-var-fast-forward: "\f050";-@fa-var-fax: "\f1ac";-@fa-var-female: "\f182";-@fa-var-fighter-jet: "\f0fb";-@fa-var-file: "\f15b";-@fa-var-file-archive-o: "\f1c6";-@fa-var-file-audio-o: "\f1c7";-@fa-var-file-code-o: "\f1c9";-@fa-var-file-excel-o: "\f1c3";-@fa-var-file-image-o: "\f1c5";-@fa-var-file-movie-o: "\f1c8";-@fa-var-file-o: "\f016";-@fa-var-file-pdf-o: "\f1c1";-@fa-var-file-photo-o: "\f1c5";-@fa-var-file-picture-o: "\f1c5";-@fa-var-file-powerpoint-o: "\f1c4";-@fa-var-file-sound-o: "\f1c7";-@fa-var-file-text: "\f15c";-@fa-var-file-text-o: "\f0f6";-@fa-var-file-video-o: "\f1c8";-@fa-var-file-word-o: "\f1c2";-@fa-var-file-zip-o: "\f1c6";-@fa-var-files-o: "\f0c5";-@fa-var-film: "\f008";-@fa-var-filter: "\f0b0";-@fa-var-fire: "\f06d";-@fa-var-fire-extinguisher: "\f134";-@fa-var-flag: "\f024";-@fa-var-flag-checkered: "\f11e";-@fa-var-flag-o: "\f11d";-@fa-var-flash: "\f0e7";-@fa-var-flask: "\f0c3";-@fa-var-flickr: "\f16e";-@fa-var-floppy-o: "\f0c7";-@fa-var-folder: "\f07b";-@fa-var-folder-o: "\f114";-@fa-var-folder-open: "\f07c";-@fa-var-folder-open-o: "\f115";-@fa-var-font: "\f031";-@fa-var-forward: "\f04e";-@fa-var-foursquare: "\f180";-@fa-var-frown-o: "\f119";-@fa-var-futbol-o: "\f1e3";-@fa-var-gamepad: "\f11b";-@fa-var-gavel: "\f0e3";-@fa-var-gbp: "\f154";-@fa-var-ge: "\f1d1";-@fa-var-gear: "\f013";-@fa-var-gears: "\f085";-@fa-var-gift: "\f06b";-@fa-var-git: "\f1d3";-@fa-var-git-square: "\f1d2";-@fa-var-github: "\f09b";-@fa-var-github-alt: "\f113";-@fa-var-github-square: "\f092";-@fa-var-gittip: "\f184";-@fa-var-glass: "\f000";-@fa-var-globe: "\f0ac";-@fa-var-google: "\f1a0";-@fa-var-google-plus: "\f0d5";-@fa-var-google-plus-square: "\f0d4";-@fa-var-google-wallet: "\f1ee";-@fa-var-graduation-cap: "\f19d";-@fa-var-group: "\f0c0";-@fa-var-h-square: "\f0fd";-@fa-var-hacker-news: "\f1d4";-@fa-var-hand-o-down: "\f0a7";-@fa-var-hand-o-left: "\f0a5";-@fa-var-hand-o-right: "\f0a4";-@fa-var-hand-o-up: "\f0a6";-@fa-var-hdd-o: "\f0a0";-@fa-var-header: "\f1dc";-@fa-var-headphones: "\f025";-@fa-var-heart: "\f004";-@fa-var-heart-o: "\f08a";-@fa-var-history: "\f1da";-@fa-var-home: "\f015";-@fa-var-hospital-o: "\f0f8";-@fa-var-html5: "\f13b";-@fa-var-ils: "\f20b";-@fa-var-image: "\f03e";-@fa-var-inbox: "\f01c";-@fa-var-indent: "\f03c";-@fa-var-info: "\f129";-@fa-var-info-circle: "\f05a";-@fa-var-inr: "\f156";-@fa-var-instagram: "\f16d";-@fa-var-institution: "\f19c";-@fa-var-ioxhost: "\f208";-@fa-var-italic: "\f033";-@fa-var-joomla: "\f1aa";-@fa-var-jpy: "\f157";-@fa-var-jsfiddle: "\f1cc";-@fa-var-key: "\f084";-@fa-var-keyboard-o: "\f11c";-@fa-var-krw: "\f159";-@fa-var-language: "\f1ab";-@fa-var-laptop: "\f109";-@fa-var-lastfm: "\f202";-@fa-var-lastfm-square: "\f203";-@fa-var-leaf: "\f06c";-@fa-var-legal: "\f0e3";-@fa-var-lemon-o: "\f094";-@fa-var-level-down: "\f149";-@fa-var-level-up: "\f148";-@fa-var-life-bouy: "\f1cd";-@fa-var-life-buoy: "\f1cd";-@fa-var-life-ring: "\f1cd";-@fa-var-life-saver: "\f1cd";-@fa-var-lightbulb-o: "\f0eb";-@fa-var-line-chart: "\f201";-@fa-var-link: "\f0c1";-@fa-var-linkedin: "\f0e1";-@fa-var-linkedin-square: "\f08c";-@fa-var-linux: "\f17c";-@fa-var-list: "\f03a";-@fa-var-list-alt: "\f022";-@fa-var-list-ol: "\f0cb";-@fa-var-list-ul: "\f0ca";-@fa-var-location-arrow: "\f124";-@fa-var-lock: "\f023";-@fa-var-long-arrow-down: "\f175";-@fa-var-long-arrow-left: "\f177";-@fa-var-long-arrow-right: "\f178";-@fa-var-long-arrow-up: "\f176";-@fa-var-magic: "\f0d0";-@fa-var-magnet: "\f076";-@fa-var-mail-forward: "\f064";-@fa-var-mail-reply: "\f112";-@fa-var-mail-reply-all: "\f122";-@fa-var-male: "\f183";-@fa-var-map-marker: "\f041";-@fa-var-maxcdn: "\f136";-@fa-var-meanpath: "\f20c";-@fa-var-medkit: "\f0fa";-@fa-var-meh-o: "\f11a";-@fa-var-microphone: "\f130";-@fa-var-microphone-slash: "\f131";-@fa-var-minus: "\f068";-@fa-var-minus-circle: "\f056";-@fa-var-minus-square: "\f146";-@fa-var-minus-square-o: "\f147";-@fa-var-mobile: "\f10b";-@fa-var-mobile-phone: "\f10b";-@fa-var-money: "\f0d6";-@fa-var-moon-o: "\f186";-@fa-var-mortar-board: "\f19d";-@fa-var-music: "\f001";-@fa-var-navicon: "\f0c9";-@fa-var-newspaper-o: "\f1ea";-@fa-var-openid: "\f19b";-@fa-var-outdent: "\f03b";-@fa-var-pagelines: "\f18c";-@fa-var-paint-brush: "\f1fc";-@fa-var-paper-plane: "\f1d8";-@fa-var-paper-plane-o: "\f1d9";-@fa-var-paperclip: "\f0c6";-@fa-var-paragraph: "\f1dd";-@fa-var-paste: "\f0ea";-@fa-var-pause: "\f04c";-@fa-var-paw: "\f1b0";-@fa-var-paypal: "\f1ed";-@fa-var-pencil: "\f040";-@fa-var-pencil-square: "\f14b";-@fa-var-pencil-square-o: "\f044";-@fa-var-phone: "\f095";-@fa-var-phone-square: "\f098";-@fa-var-photo: "\f03e";-@fa-var-picture-o: "\f03e";-@fa-var-pie-chart: "\f200";-@fa-var-pied-piper: "\f1a7";-@fa-var-pied-piper-alt: "\f1a8";-@fa-var-pinterest: "\f0d2";-@fa-var-pinterest-square: "\f0d3";-@fa-var-plane: "\f072";-@fa-var-play: "\f04b";-@fa-var-play-circle: "\f144";-@fa-var-play-circle-o: "\f01d";-@fa-var-plug: "\f1e6";-@fa-var-plus: "\f067";-@fa-var-plus-circle: "\f055";-@fa-var-plus-square: "\f0fe";-@fa-var-plus-square-o: "\f196";-@fa-var-power-off: "\f011";-@fa-var-print: "\f02f";-@fa-var-puzzle-piece: "\f12e";-@fa-var-qq: "\f1d6";-@fa-var-qrcode: "\f029";-@fa-var-question: "\f128";-@fa-var-question-circle: "\f059";-@fa-var-quote-left: "\f10d";-@fa-var-quote-right: "\f10e";-@fa-var-ra: "\f1d0";-@fa-var-random: "\f074";-@fa-var-rebel: "\f1d0";-@fa-var-recycle: "\f1b8";-@fa-var-reddit: "\f1a1";-@fa-var-reddit-square: "\f1a2";-@fa-var-refresh: "\f021";-@fa-var-remove: "\f00d";-@fa-var-renren: "\f18b";-@fa-var-reorder: "\f0c9";-@fa-var-repeat: "\f01e";-@fa-var-reply: "\f112";-@fa-var-reply-all: "\f122";-@fa-var-retweet: "\f079";-@fa-var-rmb: "\f157";-@fa-var-road: "\f018";-@fa-var-rocket: "\f135";-@fa-var-rotate-left: "\f0e2";-@fa-var-rotate-right: "\f01e";-@fa-var-rouble: "\f158";-@fa-var-rss: "\f09e";-@fa-var-rss-square: "\f143";-@fa-var-rub: "\f158";-@fa-var-ruble: "\f158";-@fa-var-rupee: "\f156";-@fa-var-save: "\f0c7";-@fa-var-scissors: "\f0c4";-@fa-var-search: "\f002";-@fa-var-search-minus: "\f010";-@fa-var-search-plus: "\f00e";-@fa-var-send: "\f1d8";-@fa-var-send-o: "\f1d9";-@fa-var-share: "\f064";-@fa-var-share-alt: "\f1e0";-@fa-var-share-alt-square: "\f1e1";-@fa-var-share-square: "\f14d";-@fa-var-share-square-o: "\f045";-@fa-var-shekel: "\f20b";-@fa-var-sheqel: "\f20b";-@fa-var-shield: "\f132";-@fa-var-shopping-cart: "\f07a";-@fa-var-sign-in: "\f090";-@fa-var-sign-out: "\f08b";-@fa-var-signal: "\f012";-@fa-var-sitemap: "\f0e8";-@fa-var-skype: "\f17e";-@fa-var-slack: "\f198";-@fa-var-sliders: "\f1de";-@fa-var-slideshare: "\f1e7";-@fa-var-smile-o: "\f118";-@fa-var-soccer-ball-o: "\f1e3";-@fa-var-sort: "\f0dc";-@fa-var-sort-alpha-asc: "\f15d";-@fa-var-sort-alpha-desc: "\f15e";-@fa-var-sort-amount-asc: "\f160";-@fa-var-sort-amount-desc: "\f161";-@fa-var-sort-asc: "\f0de";-@fa-var-sort-desc: "\f0dd";-@fa-var-sort-down: "\f0dd";-@fa-var-sort-numeric-asc: "\f162";-@fa-var-sort-numeric-desc: "\f163";-@fa-var-sort-up: "\f0de";-@fa-var-soundcloud: "\f1be";-@fa-var-space-shuttle: "\f197";-@fa-var-spinner: "\f110";-@fa-var-spoon: "\f1b1";-@fa-var-spotify: "\f1bc";-@fa-var-square: "\f0c8";-@fa-var-square-o: "\f096";-@fa-var-stack-exchange: "\f18d";-@fa-var-stack-overflow: "\f16c";-@fa-var-star: "\f005";-@fa-var-star-half: "\f089";-@fa-var-star-half-empty: "\f123";-@fa-var-star-half-full: "\f123";-@fa-var-star-half-o: "\f123";-@fa-var-star-o: "\f006";-@fa-var-steam: "\f1b6";-@fa-var-steam-square: "\f1b7";-@fa-var-step-backward: "\f048";-@fa-var-step-forward: "\f051";-@fa-var-stethoscope: "\f0f1";-@fa-var-stop: "\f04d";-@fa-var-strikethrough: "\f0cc";-@fa-var-stumbleupon: "\f1a4";-@fa-var-stumbleupon-circle: "\f1a3";-@fa-var-subscript: "\f12c";-@fa-var-suitcase: "\f0f2";-@fa-var-sun-o: "\f185";-@fa-var-superscript: "\f12b";-@fa-var-support: "\f1cd";-@fa-var-table: "\f0ce";-@fa-var-tablet: "\f10a";-@fa-var-tachometer: "\f0e4";-@fa-var-tag: "\f02b";-@fa-var-tags: "\f02c";-@fa-var-tasks: "\f0ae";-@fa-var-taxi: "\f1ba";-@fa-var-tencent-weibo: "\f1d5";-@fa-var-terminal: "\f120";-@fa-var-text-height: "\f034";-@fa-var-text-width: "\f035";-@fa-var-th: "\f00a";-@fa-var-th-large: "\f009";-@fa-var-th-list: "\f00b";-@fa-var-thumb-tack: "\f08d";-@fa-var-thumbs-down: "\f165";-@fa-var-thumbs-o-down: "\f088";-@fa-var-thumbs-o-up: "\f087";-@fa-var-thumbs-up: "\f164";-@fa-var-ticket: "\f145";-@fa-var-times: "\f00d";-@fa-var-times-circle: "\f057";-@fa-var-times-circle-o: "\f05c";-@fa-var-tint: "\f043";-@fa-var-toggle-down: "\f150";-@fa-var-toggle-left: "\f191";-@fa-var-toggle-off: "\f204";-@fa-var-toggle-on: "\f205";-@fa-var-toggle-right: "\f152";-@fa-var-toggle-up: "\f151";-@fa-var-trash: "\f1f8";-@fa-var-trash-o: "\f014";-@fa-var-tree: "\f1bb";-@fa-var-trello: "\f181";-@fa-var-trophy: "\f091";-@fa-var-truck: "\f0d1";-@fa-var-try: "\f195";-@fa-var-tty: "\f1e4";-@fa-var-tumblr: "\f173";-@fa-var-tumblr-square: "\f174";-@fa-var-turkish-lira: "\f195";-@fa-var-twitch: "\f1e8";-@fa-var-twitter: "\f099";-@fa-var-twitter-square: "\f081";-@fa-var-umbrella: "\f0e9";-@fa-var-underline: "\f0cd";-@fa-var-undo: "\f0e2";-@fa-var-university: "\f19c";-@fa-var-unlink: "\f127";-@fa-var-unlock: "\f09c";-@fa-var-unlock-alt: "\f13e";-@fa-var-unsorted: "\f0dc";-@fa-var-upload: "\f093";-@fa-var-usd: "\f155";-@fa-var-user: "\f007";-@fa-var-user-md: "\f0f0";-@fa-var-users: "\f0c0";-@fa-var-video-camera: "\f03d";-@fa-var-vimeo-square: "\f194";-@fa-var-vine: "\f1ca";-@fa-var-vk: "\f189";-@fa-var-volume-down: "\f027";-@fa-var-volume-off: "\f026";-@fa-var-volume-up: "\f028";-@fa-var-warning: "\f071";-@fa-var-wechat: "\f1d7";-@fa-var-weibo: "\f18a";-@fa-var-weixin: "\f1d7";-@fa-var-wheelchair: "\f193";-@fa-var-wifi: "\f1eb";-@fa-var-windows: "\f17a";-@fa-var-won: "\f159";-@fa-var-wordpress: "\f19a";-@fa-var-wrench: "\f0ad";-@fa-var-xing: "\f168";-@fa-var-xing-square: "\f169";-@fa-var-yahoo: "\f19e";-@fa-var-yelp: "\f1e9";-@fa-var-yen: "\f157";-@fa-var-youtube: "\f167";-@fa-var-youtube-play: "\f16a";-@fa-var-youtube-square: "\f166";-diff --git a/web/ext/ui/font-awesome-4.2.0/scss/_bordered-pulled.scss b/web/ext/ui/font-awesome-4.2.0/scss/_bordered-pulled.scssdeleted file mode 100644index 9d3fdf3a0..000000000--- a/web/ext/ui/font-awesome-4.2.0/scss/_bordered-pulled.scss+++ /dev/null@@ -1,16 +0,0 @@-// Bordered & Pulled-// ---------------------------.#{$fa-css-prefix}-border {- padding: .2em .25em .15em;- border: solid .08em $fa-border-color;- border-radius: .1em;-}--.pull-right { float: right; }-.pull-left { float: left; }--.#{$fa-css-prefix} {- &.pull-left { margin-right: .3em; }- &.pull-right { margin-left: .3em; }-}diff --git a/web/ext/ui/font-awesome-4.2.0/scss/_core.scss b/web/ext/ui/font-awesome-4.2.0/scss/_core.scssdeleted file mode 100644index ca46d3712..000000000--- a/web/ext/ui/font-awesome-4.2.0/scss/_core.scss+++ /dev/null@@ -1,11 +0,0 @@-// Base Class Definition-// ---------------------------.#{$fa-css-prefix} {- display: inline-block;- font: normal normal normal 14px/1 FontAwesome; // shortening font declaration- font-size: inherit; // can't have font-size inherit on line above, so need to override- text-rendering: auto; // optimizelegibility throws things off #1094- -webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale;-}diff --git a/web/ext/ui/font-awesome-4.2.0/scss/_fixed-width.scss b/web/ext/ui/font-awesome-4.2.0/scss/_fixed-width.scssdeleted file mode 100644index b221c9813..000000000--- a/web/ext/ui/font-awesome-4.2.0/scss/_fixed-width.scss+++ /dev/null@@ -1,6 +0,0 @@-// Fixed Width Icons-// --------------------------.#{$fa-css-prefix}-fw {- width: (18em / 14);- text-align: center;-}diff --git a/web/ext/ui/font-awesome-4.2.0/scss/_icons.scss b/web/ext/ui/font-awesome-4.2.0/scss/_icons.scssdeleted file mode 100644index 8dc29394c..000000000--- a/web/ext/ui/font-awesome-4.2.0/scss/_icons.scss+++ /dev/null@@ -1,552 +0,0 @@-/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen- readers do not read off random characters that represent icons */--.#{$fa-css-prefix}-glass:before { content: $fa-var-glass; }-.#{$fa-css-prefix}-music:before { content: $fa-var-music; }-.#{$fa-css-prefix}-search:before { content: $fa-var-search; }-.#{$fa-css-prefix}-envelope-o:before { content: $fa-var-envelope-o; }-.#{$fa-css-prefix}-heart:before { content: $fa-var-heart; }-.#{$fa-css-prefix}-star:before { content: $fa-var-star; }-.#{$fa-css-prefix}-star-o:before { content: $fa-var-star-o; }-.#{$fa-css-prefix}-user:before { content: $fa-var-user; }-.#{$fa-css-prefix}-film:before { content: $fa-var-film; }-.#{$fa-css-prefix}-th-large:before { content: $fa-var-th-large; }-.#{$fa-css-prefix}-th:before { content: $fa-var-th; }-.#{$fa-css-prefix}-th-list:before { content: $fa-var-th-list; }-.#{$fa-css-prefix}-check:before { content: $fa-var-check; }-.#{$fa-css-prefix}-remove:before,-.#{$fa-css-prefix}-close:before,-.#{$fa-css-prefix}-times:before { content: $fa-var-times; }-.#{$fa-css-prefix}-search-plus:before { content: $fa-var-search-plus; }-.#{$fa-css-prefix}-search-minus:before { content: $fa-var-search-minus; }-.#{$fa-css-prefix}-power-off:before { content: $fa-var-power-off; }-.#{$fa-css-prefix}-signal:before { content: $fa-var-signal; }-.#{$fa-css-prefix}-gear:before,-.#{$fa-css-prefix}-cog:before { content: $fa-var-cog; }-.#{$fa-css-prefix}-trash-o:before { content: $fa-var-trash-o; }-.#{$fa-css-prefix}-home:before { content: $fa-var-home; }-.#{$fa-css-prefix}-file-o:before { content: $fa-var-file-o; }-.#{$fa-css-prefix}-clock-o:before { content: $fa-var-clock-o; }-.#{$fa-css-prefix}-road:before { content: $fa-var-road; }-.#{$fa-css-prefix}-download:before { content: $fa-var-download; }-.#{$fa-css-prefix}-arrow-circle-o-down:before { content: $fa-var-arrow-circle-o-down; }-.#{$fa-css-prefix}-arrow-circle-o-up:before { content: $fa-var-arrow-circle-o-up; }-.#{$fa-css-prefix}-inbox:before { content: $fa-var-inbox; }-.#{$fa-css-prefix}-play-circle-o:before { content: $fa-var-play-circle-o; }-.#{$fa-css-prefix}-rotate-right:before,-.#{$fa-css-prefix}-repeat:before { content: $fa-var-repeat; }-.#{$fa-css-prefix}-refresh:before { content: $fa-var-refresh; }-.#{$fa-css-prefix}-list-alt:before { content: $fa-var-list-alt; }-.#{$fa-css-prefix}-lock:before { content: $fa-var-lock; }-.#{$fa-css-prefix}-flag:before { content: $fa-var-flag; }-.#{$fa-css-prefix}-headphones:before { content: $fa-var-headphones; }-.#{$fa-css-prefix}-volume-off:before { content: $fa-var-volume-off; }-.#{$fa-css-prefix}-volume-down:before { content: $fa-var-volume-down; }-.#{$fa-css-prefix}-volume-up:before { content: $fa-var-volume-up; }-.#{$fa-css-prefix}-qrcode:before { content: $fa-var-qrcode; }-.#{$fa-css-prefix}-barcode:before { content: $fa-var-barcode; }-.#{$fa-css-prefix}-tag:before { content: $fa-var-tag; }-.#{$fa-css-prefix}-tags:before { content: $fa-var-tags; }-.#{$fa-css-prefix}-book:before { content: $fa-var-book; }-.#{$fa-css-prefix}-bookmark:before { content: $fa-var-bookmark; }-.#{$fa-css-prefix}-print:before { content: $fa-var-print; }-.#{$fa-css-prefix}-camera:before { content: $fa-var-camera; }-.#{$fa-css-prefix}-font:before { content: $fa-var-font; }-.#{$fa-css-prefix}-bold:before { content: $fa-var-bold; }-.#{$fa-css-prefix}-italic:before { content: $fa-var-italic; }-.#{$fa-css-prefix}-text-height:before { content: $fa-var-text-height; }-.#{$fa-css-prefix}-text-width:before { content: $fa-var-text-width; }-.#{$fa-css-prefix}-align-left:before { content: $fa-var-align-left; }-.#{$fa-css-prefix}-align-center:before { content: $fa-var-align-center; }-.#{$fa-css-prefix}-align-right:before { content: $fa-var-align-right; }-.#{$fa-css-prefix}-align-justify:before { content: $fa-var-align-justify; }-.#{$fa-css-prefix}-list:before { content: $fa-var-list; }-.#{$fa-css-prefix}-dedent:before,-.#{$fa-css-prefix}-outdent:before { content: $fa-var-outdent; }-.#{$fa-css-prefix}-indent:before { content: $fa-var-indent; }-.#{$fa-css-prefix}-video-camera:before { content: $fa-var-video-camera; }-.#{$fa-css-prefix}-photo:before,-.#{$fa-css-prefix}-image:before,-.#{$fa-css-prefix}-picture-o:before { content: $fa-var-picture-o; }-.#{$fa-css-prefix}-pencil:before { content: $fa-var-pencil; }-.#{$fa-css-prefix}-map-marker:before { content: $fa-var-map-marker; }-.#{$fa-css-prefix}-adjust:before { content: $fa-var-adjust; }-.#{$fa-css-prefix}-tint:before { content: $fa-var-tint; }-.#{$fa-css-prefix}-edit:before,-.#{$fa-css-prefix}-pencil-square-o:before { content: $fa-var-pencil-square-o; }-.#{$fa-css-prefix}-share-square-o:before { content: $fa-var-share-square-o; }-.#{$fa-css-prefix}-check-square-o:before { content: $fa-var-check-square-o; }-.#{$fa-css-prefix}-arrows:before { content: $fa-var-arrows; }-.#{$fa-css-prefix}-step-backward:before { content: $fa-var-step-backward; }-.#{$fa-css-prefix}-fast-backward:before { content: $fa-var-fast-backward; }-.#{$fa-css-prefix}-backward:before { content: $fa-var-backward; }-.#{$fa-css-prefix}-play:before { content: $fa-var-play; }-.#{$fa-css-prefix}-pause:before { content: $fa-var-pause; }-.#{$fa-css-prefix}-stop:before { content: $fa-var-stop; }-.#{$fa-css-prefix}-forward:before { content: $fa-var-forward; }-.#{$fa-css-prefix}-fast-forward:before { content: $fa-var-fast-forward; }-.#{$fa-css-prefix}-step-forward:before { content: $fa-var-step-forward; }-.#{$fa-css-prefix}-eject:before { content: $fa-var-eject; }-.#{$fa-css-prefix}-chevron-left:before { content: $fa-var-chevron-left; }-.#{$fa-css-prefix}-chevron-right:before { content: $fa-var-chevron-right; }-.#{$fa-css-prefix}-plus-circle:before { content: $fa-var-plus-circle; }-.#{$fa-css-prefix}-minus-circle:before { content: $fa-var-minus-circle; }-.#{$fa-css-prefix}-times-circle:before { content: $fa-var-times-circle; }-.#{$fa-css-prefix}-check-circle:before { content: $fa-var-check-circle; }-.#{$fa-css-prefix}-question-circle:before { content: $fa-var-question-circle; }-.#{$fa-css-prefix}-info-circle:before { content: $fa-var-info-circle; }-.#{$fa-css-prefix}-crosshairs:before { content: $fa-var-crosshairs; }-.#{$fa-css-prefix}-times-circle-o:before { content: $fa-var-times-circle-o; }-.#{$fa-css-prefix}-check-circle-o:before { content: $fa-var-check-circle-o; }-.#{$fa-css-prefix}-ban:before { content: $fa-var-ban; }-.#{$fa-css-prefix}-arrow-left:before { content: $fa-var-arrow-left; }-.#{$fa-css-prefix}-arrow-right:before { content: $fa-var-arrow-right; }-.#{$fa-css-prefix}-arrow-up:before { content: $fa-var-arrow-up; }-.#{$fa-css-prefix}-arrow-down:before { content: $fa-var-arrow-down; }-.#{$fa-css-prefix}-mail-forward:before,-.#{$fa-css-prefix}-share:before { content: $fa-var-share; }-.#{$fa-css-prefix}-expand:before { content: $fa-var-expand; }-.#{$fa-css-prefix}-compress:before { content: $fa-var-compress; }-.#{$fa-css-prefix}-plus:before { content: $fa-var-plus; }-.#{$fa-css-prefix}-minus:before { content: $fa-var-minus; }-.#{$fa-css-prefix}-asterisk:before { content: $fa-var-asterisk; }-.#{$fa-css-prefix}-exclamation-circle:before { content: $fa-var-exclamation-circle; }-.#{$fa-css-prefix}-gift:before { content: $fa-var-gift; }-.#{$fa-css-prefix}-leaf:before { content: $fa-var-leaf; }-.#{$fa-css-prefix}-fire:before { content: $fa-var-fire; }-.#{$fa-css-prefix}-eye:before { content: $fa-var-eye; }-.#{$fa-css-prefix}-eye-slash:before { content: $fa-var-eye-slash; }-.#{$fa-css-prefix}-warning:before,-.#{$fa-css-prefix}-exclamation-triangle:before { content: $fa-var-exclamation-triangle; }-.#{$fa-css-prefix}-plane:before { content: $fa-var-plane; }-.#{$fa-css-prefix}-calendar:before { content: $fa-var-calendar; }-.#{$fa-css-prefix}-random:before { content: $fa-var-random; }-.#{$fa-css-prefix}-comment:before { content: $fa-var-comment; }-.#{$fa-css-prefix}-magnet:before { content: $fa-var-magnet; }-.#{$fa-css-prefix}-chevron-up:before { content: $fa-var-chevron-up; }-.#{$fa-css-prefix}-chevron-down:before { content: $fa-var-chevron-down; }-.#{$fa-css-prefix}-retweet:before { content: $fa-var-retweet; }-.#{$fa-css-prefix}-shopping-cart:before { content: $fa-var-shopping-cart; }-.#{$fa-css-prefix}-folder:before { content: $fa-var-folder; }-.#{$fa-css-prefix}-folder-open:before { content: $fa-var-folder-open; }-.#{$fa-css-prefix}-arrows-v:before { content: $fa-var-arrows-v; }-.#{$fa-css-prefix}-arrows-h:before { content: $fa-var-arrows-h; }-.#{$fa-css-prefix}-bar-chart-o:before,-.#{$fa-css-prefix}-bar-chart:before { content: $fa-var-bar-chart; }-.#{$fa-css-prefix}-twitter-square:before { content: $fa-var-twitter-square; }-.#{$fa-css-prefix}-facebook-square:before { content: $fa-var-facebook-square; }-.#{$fa-css-prefix}-camera-retro:before { content: $fa-var-camera-retro; }-.#{$fa-css-prefix}-key:before { content: $fa-var-key; }-.#{$fa-css-prefix}-gears:before,-.#{$fa-css-prefix}-cogs:before { content: $fa-var-cogs; }-.#{$fa-css-prefix}-comments:before { content: $fa-var-comments; }-.#{$fa-css-prefix}-thumbs-o-up:before { content: $fa-var-thumbs-o-up; }-.#{$fa-css-prefix}-thumbs-o-down:before { content: $fa-var-thumbs-o-down; }-.#{$fa-css-prefix}-star-half:before { content: $fa-var-star-half; }-.#{$fa-css-prefix}-heart-o:before { content: $fa-var-heart-o; }-.#{$fa-css-prefix}-sign-out:before { content: $fa-var-sign-out; }-.#{$fa-css-prefix}-linkedin-square:before { content: $fa-var-linkedin-square; }-.#{$fa-css-prefix}-thumb-tack:before { content: $fa-var-thumb-tack; }-.#{$fa-css-prefix}-external-link:before { content: $fa-var-external-link; }-.#{$fa-css-prefix}-sign-in:before { content: $fa-var-sign-in; }-.#{$fa-css-prefix}-trophy:before { content: $fa-var-trophy; }-.#{$fa-css-prefix}-github-square:before { content: $fa-var-github-square; }-.#{$fa-css-prefix}-upload:before { content: $fa-var-upload; }-.#{$fa-css-prefix}-lemon-o:before { content: $fa-var-lemon-o; }-.#{$fa-css-prefix}-phone:before { content: $fa-var-phone; }-.#{$fa-css-prefix}-square-o:before { content: $fa-var-square-o; }-.#{$fa-css-prefix}-bookmark-o:before { content: $fa-var-bookmark-o; }-.#{$fa-css-prefix}-phone-square:before { content: $fa-var-phone-square; }-.#{$fa-css-prefix}-twitter:before { content: $fa-var-twitter; }-.#{$fa-css-prefix}-facebook:before { content: $fa-var-facebook; }-.#{$fa-css-prefix}-github:before { content: $fa-var-github; }-.#{$fa-css-prefix}-unlock:before { content: $fa-var-unlock; }-.#{$fa-css-prefix}-credit-card:before { content: $fa-var-credit-card; }-.#{$fa-css-prefix}-rss:before { content: $fa-var-rss; }-.#{$fa-css-prefix}-hdd-o:before { content: $fa-var-hdd-o; }-.#{$fa-css-prefix}-bullhorn:before { content: $fa-var-bullhorn; }-.#{$fa-css-prefix}-bell:before { content: $fa-var-bell; }-.#{$fa-css-prefix}-certificate:before { content: $fa-var-certificate; }-.#{$fa-css-prefix}-hand-o-right:before { content: $fa-var-hand-o-right; }-.#{$fa-css-prefix}-hand-o-left:before { content: $fa-var-hand-o-left; }-.#{$fa-css-prefix}-hand-o-up:before { content: $fa-var-hand-o-up; }-.#{$fa-css-prefix}-hand-o-down:before { content: $fa-var-hand-o-down; }-.#{$fa-css-prefix}-arrow-circle-left:before { content: $fa-var-arrow-circle-left; }-.#{$fa-css-prefix}-arrow-circle-right:before { content: $fa-var-arrow-circle-right; }-.#{$fa-css-prefix}-arrow-circle-up:before { content: $fa-var-arrow-circle-up; }-.#{$fa-css-prefix}-arrow-circle-down:before { content: $fa-var-arrow-circle-down; }-.#{$fa-css-prefix}-globe:before { content: $fa-var-globe; }-.#{$fa-css-prefix}-wrench:before { content: $fa-var-wrench; }-.#{$fa-css-prefix}-tasks:before { content: $fa-var-tasks; }-.#{$fa-css-prefix}-filter:before { content: $fa-var-filter; }-.#{$fa-css-prefix}-briefcase:before { content: $fa-var-briefcase; }-.#{$fa-css-prefix}-arrows-alt:before { content: $fa-var-arrows-alt; }-.#{$fa-css-prefix}-group:before,-.#{$fa-css-prefix}-users:before { content: $fa-var-users; }-.#{$fa-css-prefix}-chain:before,-.#{$fa-css-prefix}-link:before { content: $fa-var-link; }-.#{$fa-css-prefix}-cloud:before { content: $fa-var-cloud; }-.#{$fa-css-prefix}-flask:before { content: $fa-var-flask; }-.#{$fa-css-prefix}-cut:before,-.#{$fa-css-prefix}-scissors:before { content: $fa-var-scissors; }-.#{$fa-css-prefix}-copy:before,-.#{$fa-css-prefix}-files-o:before { content: $fa-var-files-o; }-.#{$fa-css-prefix}-paperclip:before { content: $fa-var-paperclip; }-.#{$fa-css-prefix}-save:before,-.#{$fa-css-prefix}-floppy-o:before { content: $fa-var-floppy-o; }-.#{$fa-css-prefix}-square:before { content: $fa-var-square; }-.#{$fa-css-prefix}-navicon:before,-.#{$fa-css-prefix}-reorder:before,-.#{$fa-css-prefix}-bars:before { content: $fa-var-bars; }-.#{$fa-css-prefix}-list-ul:before { content: $fa-var-list-ul; }-.#{$fa-css-prefix}-list-ol:before { content: $fa-var-list-ol; }-.#{$fa-css-prefix}-strikethrough:before { content: $fa-var-strikethrough; }-.#{$fa-css-prefix}-underline:before { content: $fa-var-underline; }-.#{$fa-css-prefix}-table:before { content: $fa-var-table; }-.#{$fa-css-prefix}-magic:before { content: $fa-var-magic; }-.#{$fa-css-prefix}-truck:before { content: $fa-var-truck; }-.#{$fa-css-prefix}-pinterest:before { content: $fa-var-pinterest; }-.#{$fa-css-prefix}-pinterest-square:before { content: $fa-var-pinterest-square; }-.#{$fa-css-prefix}-google-plus-square:before { content: $fa-var-google-plus-square; }-.#{$fa-css-prefix}-google-plus:before { content: $fa-var-google-plus; }-.#{$fa-css-prefix}-money:before { content: $fa-var-money; }-.#{$fa-css-prefix}-caret-down:before { content: $fa-var-caret-down; }-.#{$fa-css-prefix}-caret-up:before { content: $fa-var-caret-up; }-.#{$fa-css-prefix}-caret-left:before { content: $fa-var-caret-left; }-.#{$fa-css-prefix}-caret-right:before { content: $fa-var-caret-right; }-.#{$fa-css-prefix}-columns:before { content: $fa-var-columns; }-.#{$fa-css-prefix}-unsorted:before,-.#{$fa-css-prefix}-sort:before { content: $fa-var-sort; }-.#{$fa-css-prefix}-sort-down:before,-.#{$fa-css-prefix}-sort-desc:before { content: $fa-var-sort-desc; }-.#{$fa-css-prefix}-sort-up:before,-.#{$fa-css-prefix}-sort-asc:before { content: $fa-var-sort-asc; }-.#{$fa-css-prefix}-envelope:before { content: $fa-var-envelope; }-.#{$fa-css-prefix}-linkedin:before { content: $fa-var-linkedin; }-.#{$fa-css-prefix}-rotate-left:before,-.#{$fa-css-prefix}-undo:before { content: $fa-var-undo; }-.#{$fa-css-prefix}-legal:before,-.#{$fa-css-prefix}-gavel:before { content: $fa-var-gavel; }-.#{$fa-css-prefix}-dashboard:before,-.#{$fa-css-prefix}-tachometer:before { content: $fa-var-tachometer; }-.#{$fa-css-prefix}-comment-o:before { content: $fa-var-comment-o; }-.#{$fa-css-prefix}-comments-o:before { content: $fa-var-comments-o; }-.#{$fa-css-prefix}-flash:before,-.#{$fa-css-prefix}-bolt:before { content: $fa-var-bolt; }-.#{$fa-css-prefix}-sitemap:before { content: $fa-var-sitemap; }-.#{$fa-css-prefix}-umbrella:before { content: $fa-var-umbrella; }-.#{$fa-css-prefix}-paste:before,-.#{$fa-css-prefix}-clipboard:before { content: $fa-var-clipboard; }-.#{$fa-css-prefix}-lightbulb-o:before { content: $fa-var-lightbulb-o; }-.#{$fa-css-prefix}-exchange:before { content: $fa-var-exchange; }-.#{$fa-css-prefix}-cloud-download:before { content: $fa-var-cloud-download; }-.#{$fa-css-prefix}-cloud-upload:before { content: $fa-var-cloud-upload; }-.#{$fa-css-prefix}-user-md:before { content: $fa-var-user-md; }-.#{$fa-css-prefix}-stethoscope:before { content: $fa-var-stethoscope; }-.#{$fa-css-prefix}-suitcase:before { content: $fa-var-suitcase; }-.#{$fa-css-prefix}-bell-o:before { content: $fa-var-bell-o; }-.#{$fa-css-prefix}-coffee:before { content: $fa-var-coffee; }-.#{$fa-css-prefix}-cutlery:before { content: $fa-var-cutlery; }-.#{$fa-css-prefix}-file-text-o:before { content: $fa-var-file-text-o; }-.#{$fa-css-prefix}-building-o:before { content: $fa-var-building-o; }-.#{$fa-css-prefix}-hospital-o:before { content: $fa-var-hospital-o; }-.#{$fa-css-prefix}-ambulance:before { content: $fa-var-ambulance; }-.#{$fa-css-prefix}-medkit:before { content: $fa-var-medkit; }-.#{$fa-css-prefix}-fighter-jet:before { content: $fa-var-fighter-jet; }-.#{$fa-css-prefix}-beer:before { content: $fa-var-beer; }-.#{$fa-css-prefix}-h-square:before { content: $fa-var-h-square; }-.#{$fa-css-prefix}-plus-square:before { content: $fa-var-plus-square; }-.#{$fa-css-prefix}-angle-double-left:before { content: $fa-var-angle-double-left; }-.#{$fa-css-prefix}-angle-double-right:before { content: $fa-var-angle-double-right; }-.#{$fa-css-prefix}-angle-double-up:before { content: $fa-var-angle-double-up; }-.#{$fa-css-prefix}-angle-double-down:before { content: $fa-var-angle-double-down; }-.#{$fa-css-prefix}-angle-left:before { content: $fa-var-angle-left; }-.#{$fa-css-prefix}-angle-right:before { content: $fa-var-angle-right; }-.#{$fa-css-prefix}-angle-up:before { content: $fa-var-angle-up; }-.#{$fa-css-prefix}-angle-down:before { content: $fa-var-angle-down; }-.#{$fa-css-prefix}-desktop:before { content: $fa-var-desktop; }-.#{$fa-css-prefix}-laptop:before { content: $fa-var-laptop; }-.#{$fa-css-prefix}-tablet:before { content: $fa-var-tablet; }-.#{$fa-css-prefix}-mobile-phone:before,-.#{$fa-css-prefix}-mobile:before { content: $fa-var-mobile; }-.#{$fa-css-prefix}-circle-o:before { content: $fa-var-circle-o; }-.#{$fa-css-prefix}-quote-left:before { content: $fa-var-quote-left; }-.#{$fa-css-prefix}-quote-right:before { content: $fa-var-quote-right; }-.#{$fa-css-prefix}-spinner:before { content: $fa-var-spinner; }-.#{$fa-css-prefix}-circle:before { content: $fa-var-circle; }-.#{$fa-css-prefix}-mail-reply:before,-.#{$fa-css-prefix}-reply:before { content: $fa-var-reply; }-.#{$fa-css-prefix}-github-alt:before { content: $fa-var-github-alt; }-.#{$fa-css-prefix}-folder-o:before { content: $fa-var-folder-o; }-.#{$fa-css-prefix}-folder-open-o:before { content: $fa-var-folder-open-o; }-.#{$fa-css-prefix}-smile-o:before { content: $fa-var-smile-o; }-.#{$fa-css-prefix}-frown-o:before { content: $fa-var-frown-o; }-.#{$fa-css-prefix}-meh-o:before { content: $fa-var-meh-o; }-.#{$fa-css-prefix}-gamepad:before { content: $fa-var-gamepad; }-.#{$fa-css-prefix}-keyboard-o:before { content: $fa-var-keyboard-o; }-.#{$fa-css-prefix}-flag-o:before { content: $fa-var-flag-o; }-.#{$fa-css-prefix}-flag-checkered:before { content: $fa-var-flag-checkered; }-.#{$fa-css-prefix}-terminal:before { content: $fa-var-terminal; }-.#{$fa-css-prefix}-code:before { content: $fa-var-code; }-.#{$fa-css-prefix}-mail-reply-all:before,-.#{$fa-css-prefix}-reply-all:before { content: $fa-var-reply-all; }-.#{$fa-css-prefix}-star-half-empty:before,-.#{$fa-css-prefix}-star-half-full:before,-.#{$fa-css-prefix}-star-half-o:before { content: $fa-var-star-half-o; }-.#{$fa-css-prefix}-location-arrow:before { content: $fa-var-location-arrow; }-.#{$fa-css-prefix}-crop:before { content: $fa-var-crop; }-.#{$fa-css-prefix}-code-fork:before { content: $fa-var-code-fork; }-.#{$fa-css-prefix}-unlink:before,-.#{$fa-css-prefix}-chain-broken:before { content: $fa-var-chain-broken; }-.#{$fa-css-prefix}-question:before { content: $fa-var-question; }-.#{$fa-css-prefix}-info:before { content: $fa-var-info; }-.#{$fa-css-prefix}-exclamation:before { content: $fa-var-exclamation; }-.#{$fa-css-prefix}-superscript:before { content: $fa-var-superscript; }-.#{$fa-css-prefix}-subscript:before { content: $fa-var-subscript; }-.#{$fa-css-prefix}-eraser:before { content: $fa-var-eraser; }-.#{$fa-css-prefix}-puzzle-piece:before { content: $fa-var-puzzle-piece; }-.#{$fa-css-prefix}-microphone:before { content: $fa-var-microphone; }-.#{$fa-css-prefix}-microphone-slash:before { content: $fa-var-microphone-slash; }-.#{$fa-css-prefix}-shield:before { content: $fa-var-shield; }-.#{$fa-css-prefix}-calendar-o:before { content: $fa-var-calendar-o; }-.#{$fa-css-prefix}-fire-extinguisher:before { content: $fa-var-fire-extinguisher; }-.#{$fa-css-prefix}-rocket:before { content: $fa-var-rocket; }-.#{$fa-css-prefix}-maxcdn:before { content: $fa-var-maxcdn; }-.#{$fa-css-prefix}-chevron-circle-left:before { content: $fa-var-chevron-circle-left; }-.#{$fa-css-prefix}-chevron-circle-right:before { content: $fa-var-chevron-circle-right; }-.#{$fa-css-prefix}-chevron-circle-up:before { content: $fa-var-chevron-circle-up; }-.#{$fa-css-prefix}-chevron-circle-down:before { content: $fa-var-chevron-circle-down; }-.#{$fa-css-prefix}-html5:before { content: $fa-var-html5; }-.#{$fa-css-prefix}-css3:before { content: $fa-var-css3; }-.#{$fa-css-prefix}-anchor:before { content: $fa-var-anchor; }-.#{$fa-css-prefix}-unlock-alt:before { content: $fa-var-unlock-alt; }-.#{$fa-css-prefix}-bullseye:before { content: $fa-var-bullseye; }-.#{$fa-css-prefix}-ellipsis-h:before { content: $fa-var-ellipsis-h; }-.#{$fa-css-prefix}-ellipsis-v:before { content: $fa-var-ellipsis-v; }-.#{$fa-css-prefix}-rss-square:before { content: $fa-var-rss-square; }-.#{$fa-css-prefix}-play-circle:before { content: $fa-var-play-circle; }-.#{$fa-css-prefix}-ticket:before { content: $fa-var-ticket; }-.#{$fa-css-prefix}-minus-square:before { content: $fa-var-minus-square; }-.#{$fa-css-prefix}-minus-square-o:before { content: $fa-var-minus-square-o; }-.#{$fa-css-prefix}-level-up:before { content: $fa-var-level-up; }-.#{$fa-css-prefix}-level-down:before { content: $fa-var-level-down; }-.#{$fa-css-prefix}-check-square:before { content: $fa-var-check-square; }-.#{$fa-css-prefix}-pencil-square:before { content: $fa-var-pencil-square; }-.#{$fa-css-prefix}-external-link-square:before { content: $fa-var-external-link-square; }-.#{$fa-css-prefix}-share-square:before { content: $fa-var-share-square; }-.#{$fa-css-prefix}-compass:before { content: $fa-var-compass; }-.#{$fa-css-prefix}-toggle-down:before,-.#{$fa-css-prefix}-caret-square-o-down:before { content: $fa-var-caret-square-o-down; }-.#{$fa-css-prefix}-toggle-up:before,-.#{$fa-css-prefix}-caret-square-o-up:before { content: $fa-var-caret-square-o-up; }-.#{$fa-css-prefix}-toggle-right:before,-.#{$fa-css-prefix}-caret-square-o-right:before { content: $fa-var-caret-square-o-right; }-.#{$fa-css-prefix}-euro:before,-.#{$fa-css-prefix}-eur:before { content: $fa-var-eur; }-.#{$fa-css-prefix}-gbp:before { content: $fa-var-gbp; }-.#{$fa-css-prefix}-dollar:before,-.#{$fa-css-prefix}-usd:before { content: $fa-var-usd; }-.#{$fa-css-prefix}-rupee:before,-.#{$fa-css-prefix}-inr:before { content: $fa-var-inr; }-.#{$fa-css-prefix}-cny:before,-.#{$fa-css-prefix}-rmb:before,-.#{$fa-css-prefix}-yen:before,-.#{$fa-css-prefix}-jpy:before { content: $fa-var-jpy; }-.#{$fa-css-prefix}-ruble:before,-.#{$fa-css-prefix}-rouble:before,-.#{$fa-css-prefix}-rub:before { content: $fa-var-rub; }-.#{$fa-css-prefix}-won:before,-.#{$fa-css-prefix}-krw:before { content: $fa-var-krw; }-.#{$fa-css-prefix}-bitcoin:before,-.#{$fa-css-prefix}-btc:before { content: $fa-var-btc; }-.#{$fa-css-prefix}-file:before { content: $fa-var-file; }-.#{$fa-css-prefix}-file-text:before { content: $fa-var-file-text; }-.#{$fa-css-prefix}-sort-alpha-asc:before { content: $fa-var-sort-alpha-asc; }-.#{$fa-css-prefix}-sort-alpha-desc:before { content: $fa-var-sort-alpha-desc; }-.#{$fa-css-prefix}-sort-amount-asc:before { content: $fa-var-sort-amount-asc; }-.#{$fa-css-prefix}-sort-amount-desc:before { content: $fa-var-sort-amount-desc; }-.#{$fa-css-prefix}-sort-numeric-asc:before { content: $fa-var-sort-numeric-asc; }-.#{$fa-css-prefix}-sort-numeric-desc:before { content: $fa-var-sort-numeric-desc; }-.#{$fa-css-prefix}-thumbs-up:before { content: $fa-var-thumbs-up; }-.#{$fa-css-prefix}-thumbs-down:before { content: $fa-var-thumbs-down; }-.#{$fa-css-prefix}-youtube-square:before { content: $fa-var-youtube-square; }-.#{$fa-css-prefix}-youtube:before { content: $fa-var-youtube; }-.#{$fa-css-prefix}-xing:before { content: $fa-var-xing; }-.#{$fa-css-prefix}-xing-square:before { content: $fa-var-xing-square; }-.#{$fa-css-prefix}-youtube-play:before { content: $fa-var-youtube-play; }-.#{$fa-css-prefix}-dropbox:before { content: $fa-var-dropbox; }-.#{$fa-css-prefix}-stack-overflow:before { content: $fa-var-stack-overflow; }-.#{$fa-css-prefix}-instagram:before { content: $fa-var-instagram; }-.#{$fa-css-prefix}-flickr:before { content: $fa-var-flickr; }-.#{$fa-css-prefix}-adn:before { content: $fa-var-adn; }-.#{$fa-css-prefix}-bitbucket:before { content: $fa-var-bitbucket; }-.#{$fa-css-prefix}-bitbucket-square:before { content: $fa-var-bitbucket-square; }-.#{$fa-css-prefix}-tumblr:before { content: $fa-var-tumblr; }-.#{$fa-css-prefix}-tumblr-square:before { content: $fa-var-tumblr-square; }-.#{$fa-css-prefix}-long-arrow-down:before { content: $fa-var-long-arrow-down; }-.#{$fa-css-prefix}-long-arrow-up:before { content: $fa-var-long-arrow-up; }-.#{$fa-css-prefix}-long-arrow-left:before { content: $fa-var-long-arrow-left; }-.#{$fa-css-prefix}-long-arrow-right:before { content: $fa-var-long-arrow-right; }-.#{$fa-css-prefix}-apple:before { content: $fa-var-apple; }-.#{$fa-css-prefix}-windows:before { content: $fa-var-windows; }-.#{$fa-css-prefix}-android:before { content: $fa-var-android; }-.#{$fa-css-prefix}-linux:before { content: $fa-var-linux; }-.#{$fa-css-prefix}-dribbble:before { content: $fa-var-dribbble; }-.#{$fa-css-prefix}-skype:before { content: $fa-var-skype; }-.#{$fa-css-prefix}-foursquare:before { content: $fa-var-foursquare; }-.#{$fa-css-prefix}-trello:before { content: $fa-var-trello; }-.#{$fa-css-prefix}-female:before { content: $fa-var-female; }-.#{$fa-css-prefix}-male:before { content: $fa-var-male; }-.#{$fa-css-prefix}-gittip:before { content: $fa-var-gittip; }-.#{$fa-css-prefix}-sun-o:before { content: $fa-var-sun-o; }-.#{$fa-css-prefix}-moon-o:before { content: $fa-var-moon-o; }-.#{$fa-css-prefix}-archive:before { content: $fa-var-archive; }-.#{$fa-css-prefix}-bug:before { content: $fa-var-bug; }-.#{$fa-css-prefix}-vk:before { content: $fa-var-vk; }-.#{$fa-css-prefix}-weibo:before { content: $fa-var-weibo; }-.#{$fa-css-prefix}-renren:before { content: $fa-var-renren; }-.#{$fa-css-prefix}-pagelines:before { content: $fa-var-pagelines; }-.#{$fa-css-prefix}-stack-exchange:before { content: $fa-var-stack-exchange; }-.#{$fa-css-prefix}-arrow-circle-o-right:before { content: $fa-var-arrow-circle-o-right; }-.#{$fa-css-prefix}-arrow-circle-o-left:before { content: $fa-var-arrow-circle-o-left; }-.#{$fa-css-prefix}-toggle-left:before,-.#{$fa-css-prefix}-caret-square-o-left:before { content: $fa-var-caret-square-o-left; }-.#{$fa-css-prefix}-dot-circle-o:before { content: $fa-var-dot-circle-o; }-.#{$fa-css-prefix}-wheelchair:before { content: $fa-var-wheelchair; }-.#{$fa-css-prefix}-vimeo-square:before { content: $fa-var-vimeo-square; }-.#{$fa-css-prefix}-turkish-lira:before,-.#{$fa-css-prefix}-try:before { content: $fa-var-try; }-.#{$fa-css-prefix}-plus-square-o:before { content: $fa-var-plus-square-o; }-.#{$fa-css-prefix}-space-shuttle:before { content: $fa-var-space-shuttle; }-.#{$fa-css-prefix}-slack:before { content: $fa-var-slack; }-.#{$fa-css-prefix}-envelope-square:before { content: $fa-var-envelope-square; }-.#{$fa-css-prefix}-wordpress:before { content: $fa-var-wordpress; }-.#{$fa-css-prefix}-openid:before { content: $fa-var-openid; }-.#{$fa-css-prefix}-institution:before,-.#{$fa-css-prefix}-bank:before,-.#{$fa-css-prefix}-university:before { content: $fa-var-university; }-.#{$fa-css-prefix}-mortar-board:before,-.#{$fa-css-prefix}-graduation-cap:before { content: $fa-var-graduation-cap; }-.#{$fa-css-prefix}-yahoo:before { content: $fa-var-yahoo; }-.#{$fa-css-prefix}-google:before { content: $fa-var-google; }-.#{$fa-css-prefix}-reddit:before { content: $fa-var-reddit; }-.#{$fa-css-prefix}-reddit-square:before { content: $fa-var-reddit-square; }-.#{$fa-css-prefix}-stumbleupon-circle:before { content: $fa-var-stumbleupon-circle; }-.#{$fa-css-prefix}-stumbleupon:before { content: $fa-var-stumbleupon; }-.#{$fa-css-prefix}-delicious:before { content: $fa-var-delicious; }-.#{$fa-css-prefix}-digg:before { content: $fa-var-digg; }-.#{$fa-css-prefix}-pied-piper:before { content: $fa-var-pied-piper; }-.#{$fa-css-prefix}-pied-piper-alt:before { content: $fa-var-pied-piper-alt; }-.#{$fa-css-prefix}-drupal:before { content: $fa-var-drupal; }-.#{$fa-css-prefix}-joomla:before { content: $fa-var-joomla; }-.#{$fa-css-prefix}-language:before { content: $fa-var-language; }-.#{$fa-css-prefix}-fax:before { content: $fa-var-fax; }-.#{$fa-css-prefix}-building:before { content: $fa-var-building; }-.#{$fa-css-prefix}-child:before { content: $fa-var-child; }-.#{$fa-css-prefix}-paw:before { content: $fa-var-paw; }-.#{$fa-css-prefix}-spoon:before { content: $fa-var-spoon; }-.#{$fa-css-prefix}-cube:before { content: $fa-var-cube; }-.#{$fa-css-prefix}-cubes:before { content: $fa-var-cubes; }-.#{$fa-css-prefix}-behance:before { content: $fa-var-behance; }-.#{$fa-css-prefix}-behance-square:before { content: $fa-var-behance-square; }-.#{$fa-css-prefix}-steam:before { content: $fa-var-steam; }-.#{$fa-css-prefix}-steam-square:before { content: $fa-var-steam-square; }-.#{$fa-css-prefix}-recycle:before { content: $fa-var-recycle; }-.#{$fa-css-prefix}-automobile:before,-.#{$fa-css-prefix}-car:before { content: $fa-var-car; }-.#{$fa-css-prefix}-cab:before,-.#{$fa-css-prefix}-taxi:before { content: $fa-var-taxi; }-.#{$fa-css-prefix}-tree:before { content: $fa-var-tree; }-.#{$fa-css-prefix}-spotify:before { content: $fa-var-spotify; }-.#{$fa-css-prefix}-deviantart:before { content: $fa-var-deviantart; }-.#{$fa-css-prefix}-soundcloud:before { content: $fa-var-soundcloud; }-.#{$fa-css-prefix}-database:before { content: $fa-var-database; }-.#{$fa-css-prefix}-file-pdf-o:before { content: $fa-var-file-pdf-o; }-.#{$fa-css-prefix}-file-word-o:before { content: $fa-var-file-word-o; }-.#{$fa-css-prefix}-file-excel-o:before { content: $fa-var-file-excel-o; }-.#{$fa-css-prefix}-file-powerpoint-o:before { content: $fa-var-file-powerpoint-o; }-.#{$fa-css-prefix}-file-photo-o:before,-.#{$fa-css-prefix}-file-picture-o:before,-.#{$fa-css-prefix}-file-image-o:before { content: $fa-var-file-image-o; }-.#{$fa-css-prefix}-file-zip-o:before,-.#{$fa-css-prefix}-file-archive-o:before { content: $fa-var-file-archive-o; }-.#{$fa-css-prefix}-file-sound-o:before,-.#{$fa-css-prefix}-file-audio-o:before { content: $fa-var-file-audio-o; }-.#{$fa-css-prefix}-file-movie-o:before,-.#{$fa-css-prefix}-file-video-o:before { content: $fa-var-file-video-o; }-.#{$fa-css-prefix}-file-code-o:before { content: $fa-var-file-code-o; }-.#{$fa-css-prefix}-vine:before { content: $fa-var-vine; }-.#{$fa-css-prefix}-codepen:before { content: $fa-var-codepen; }-.#{$fa-css-prefix}-jsfiddle:before { content: $fa-var-jsfiddle; }-.#{$fa-css-prefix}-life-bouy:before,-.#{$fa-css-prefix}-life-buoy:before,-.#{$fa-css-prefix}-life-saver:before,-.#{$fa-css-prefix}-support:before,-.#{$fa-css-prefix}-life-ring:before { content: $fa-var-life-ring; }-.#{$fa-css-prefix}-circle-o-notch:before { content: $fa-var-circle-o-notch; }-.#{$fa-css-prefix}-ra:before,-.#{$fa-css-prefix}-rebel:before { content: $fa-var-rebel; }-.#{$fa-css-prefix}-ge:before,-.#{$fa-css-prefix}-empire:before { content: $fa-var-empire; }-.#{$fa-css-prefix}-git-square:before { content: $fa-var-git-square; }-.#{$fa-css-prefix}-git:before { content: $fa-var-git; }-.#{$fa-css-prefix}-hacker-news:before { content: $fa-var-hacker-news; }-.#{$fa-css-prefix}-tencent-weibo:before { content: $fa-var-tencent-weibo; }-.#{$fa-css-prefix}-qq:before { content: $fa-var-qq; }-.#{$fa-css-prefix}-wechat:before,-.#{$fa-css-prefix}-weixin:before { content: $fa-var-weixin; }-.#{$fa-css-prefix}-send:before,-.#{$fa-css-prefix}-paper-plane:before { content: $fa-var-paper-plane; }-.#{$fa-css-prefix}-send-o:before,-.#{$fa-css-prefix}-paper-plane-o:before { content: $fa-var-paper-plane-o; }-.#{$fa-css-prefix}-history:before { content: $fa-var-history; }-.#{$fa-css-prefix}-circle-thin:before { content: $fa-var-circle-thin; }-.#{$fa-css-prefix}-header:before { content: $fa-var-header; }-.#{$fa-css-prefix}-paragraph:before { content: $fa-var-paragraph; }-.#{$fa-css-prefix}-sliders:before { content: $fa-var-sliders; }-.#{$fa-css-prefix}-share-alt:before { content: $fa-var-share-alt; }-.#{$fa-css-prefix}-share-alt-square:before { content: $fa-var-share-alt-square; }-.#{$fa-css-prefix}-bomb:before { content: $fa-var-bomb; }-.#{$fa-css-prefix}-soccer-ball-o:before,-.#{$fa-css-prefix}-futbol-o:before { content: $fa-var-futbol-o; }-.#{$fa-css-prefix}-tty:before { content: $fa-var-tty; }-.#{$fa-css-prefix}-binoculars:before { content: $fa-var-binoculars; }-.#{$fa-css-prefix}-plug:before { content: $fa-var-plug; }-.#{$fa-css-prefix}-slideshare:before { content: $fa-var-slideshare; }-.#{$fa-css-prefix}-twitch:before { content: $fa-var-twitch; }-.#{$fa-css-prefix}-yelp:before { content: $fa-var-yelp; }-.#{$fa-css-prefix}-newspaper-o:before { content: $fa-var-newspaper-o; }-.#{$fa-css-prefix}-wifi:before { content: $fa-var-wifi; }-.#{$fa-css-prefix}-calculator:before { content: $fa-var-calculator; }-.#{$fa-css-prefix}-paypal:before { content: $fa-var-paypal; }-.#{$fa-css-prefix}-google-wallet:before { content: $fa-var-google-wallet; }-.#{$fa-css-prefix}-cc-visa:before { content: $fa-var-cc-visa; }-.#{$fa-css-prefix}-cc-mastercard:before { content: $fa-var-cc-mastercard; }-.#{$fa-css-prefix}-cc-discover:before { content: $fa-var-cc-discover; }-.#{$fa-css-prefix}-cc-amex:before { content: $fa-var-cc-amex; }-.#{$fa-css-prefix}-cc-paypal:before { content: $fa-var-cc-paypal; }-.#{$fa-css-prefix}-cc-stripe:before { content: $fa-var-cc-stripe; }-.#{$fa-css-prefix}-bell-slash:before { content: $fa-var-bell-slash; }-.#{$fa-css-prefix}-bell-slash-o:before { content: $fa-var-bell-slash-o; }-.#{$fa-css-prefix}-trash:before { content: $fa-var-trash; }-.#{$fa-css-prefix}-copyright:before { content: $fa-var-copyright; }-.#{$fa-css-prefix}-at:before { content: $fa-var-at; }-.#{$fa-css-prefix}-eyedropper:before { content: $fa-var-eyedropper; }-.#{$fa-css-prefix}-paint-brush:before { content: $fa-var-paint-brush; }-.#{$fa-css-prefix}-birthday-cake:before { content: $fa-var-birthday-cake; }-.#{$fa-css-prefix}-area-chart:before { content: $fa-var-area-chart; }-.#{$fa-css-prefix}-pie-chart:before { content: $fa-var-pie-chart; }-.#{$fa-css-prefix}-line-chart:before { content: $fa-var-line-chart; }-.#{$fa-css-prefix}-lastfm:before { content: $fa-var-lastfm; }-.#{$fa-css-prefix}-lastfm-square:before { content: $fa-var-lastfm-square; }-.#{$fa-css-prefix}-toggle-off:before { content: $fa-var-toggle-off; }-.#{$fa-css-prefix}-toggle-on:before { content: $fa-var-toggle-on; }-.#{$fa-css-prefix}-bicycle:before { content: $fa-var-bicycle; }-.#{$fa-css-prefix}-bus:before { content: $fa-var-bus; }-.#{$fa-css-prefix}-ioxhost:before { content: $fa-var-ioxhost; }-.#{$fa-css-prefix}-angellist:before { content: $fa-var-angellist; }-.#{$fa-css-prefix}-cc:before { content: $fa-var-cc; }-.#{$fa-css-prefix}-shekel:before,-.#{$fa-css-prefix}-sheqel:before,-.#{$fa-css-prefix}-ils:before { content: $fa-var-ils; }-.#{$fa-css-prefix}-meanpath:before { content: $fa-var-meanpath; }diff --git a/web/ext/ui/font-awesome-4.2.0/scss/_larger.scss b/web/ext/ui/font-awesome-4.2.0/scss/_larger.scssdeleted file mode 100644index 41e9a8184..000000000--- a/web/ext/ui/font-awesome-4.2.0/scss/_larger.scss+++ /dev/null@@ -1,13 +0,0 @@-// Icon Sizes-// ---------------------------/* makes the font 33% larger relative to the icon container */-.#{$fa-css-prefix}-lg {- font-size: (4em / 3);- line-height: (3em / 4);- vertical-align: -15%;-}-.#{$fa-css-prefix}-2x { font-size: 2em; }-.#{$fa-css-prefix}-3x { font-size: 3em; }-.#{$fa-css-prefix}-4x { font-size: 4em; }-.#{$fa-css-prefix}-5x { font-size: 5em; }diff --git a/web/ext/ui/font-awesome-4.2.0/scss/_list.scss b/web/ext/ui/font-awesome-4.2.0/scss/_list.scssdeleted file mode 100644index 7d1e4d54d..000000000--- a/web/ext/ui/font-awesome-4.2.0/scss/_list.scss+++ /dev/null@@ -1,19 +0,0 @@-// List Icons-// ---------------------------.#{$fa-css-prefix}-ul {- padding-left: 0;- margin-left: $fa-li-width;- list-style-type: none;- > li { position: relative; }-}-.#{$fa-css-prefix}-li {- position: absolute;- left: -$fa-li-width;- width: $fa-li-width;- top: (2em / 14);- text-align: center;- &.#{$fa-css-prefix}-lg {- left: -$fa-li-width + (4em / 14);- }-}diff --git a/web/ext/ui/font-awesome-4.2.0/scss/_mixins.scss b/web/ext/ui/font-awesome-4.2.0/scss/_mixins.scssdeleted file mode 100644index a139dfb30..000000000--- a/web/ext/ui/font-awesome-4.2.0/scss/_mixins.scss+++ /dev/null@@ -1,25 +0,0 @@-// Mixins-// ----------------------------@mixin fa-icon() {- display: inline-block;- font: normal normal normal 14px/1 FontAwesome; // shortening font declaration- font-size: inherit; // can't have font-size inherit on line above, so need to override- text-rendering: auto; // optimizelegibility throws things off #1094- -webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale;-}--@mixin fa-icon-rotate($degrees, $rotation) {- filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});- -webkit-transform: rotate($degrees);- -ms-transform: rotate($degrees);- transform: rotate($degrees);-}--@mixin fa-icon-flip($horiz, $vert, $rotation) {- filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});- -webkit-transform: scale($horiz, $vert);- -ms-transform: scale($horiz, $vert);- transform: scale($horiz, $vert);-}diff --git a/web/ext/ui/font-awesome-4.2.0/scss/_path.scss b/web/ext/ui/font-awesome-4.2.0/scss/_path.scssdeleted file mode 100644index fd21c3515..000000000--- a/web/ext/ui/font-awesome-4.2.0/scss/_path.scss+++ /dev/null@@ -1,14 +0,0 @@-/* FONT PATH- * -------------------------- */--@font-face {- font-family: 'FontAwesome';- src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}');- src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'),- url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'),- url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'),- url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg');- //src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts- font-weight: normal;- font-style: normal;-}diff --git a/web/ext/ui/font-awesome-4.2.0/scss/_rotated-flipped.scss b/web/ext/ui/font-awesome-4.2.0/scss/_rotated-flipped.scssdeleted file mode 100644index a3558fd09..000000000--- a/web/ext/ui/font-awesome-4.2.0/scss/_rotated-flipped.scss+++ /dev/null@@ -1,20 +0,0 @@-// Rotated & Flipped Icons-// ---------------------------.#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); }-.#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); }-.#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); }--.#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); }-.#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); }--// Hook for IE8-9-// ---------------------------:root .#{$fa-css-prefix}-rotate-90,-:root .#{$fa-css-prefix}-rotate-180,-:root .#{$fa-css-prefix}-rotate-270,-:root .#{$fa-css-prefix}-flip-horizontal,-:root .#{$fa-css-prefix}-flip-vertical {- filter: none;-}diff --git a/web/ext/ui/font-awesome-4.2.0/scss/_spinning.scss b/web/ext/ui/font-awesome-4.2.0/scss/_spinning.scssdeleted file mode 100644index 002c5d5c5..000000000--- a/web/ext/ui/font-awesome-4.2.0/scss/_spinning.scss+++ /dev/null@@ -1,29 +0,0 @@-// Spinning Icons-// ----------------------------.#{$fa-css-prefix}-spin {- -webkit-animation: fa-spin 2s infinite linear;- animation: fa-spin 2s infinite linear;-}--@-webkit-keyframes fa-spin {- 0% {- -webkit-transform: rotate(0deg);- transform: rotate(0deg);- }- 100% {- -webkit-transform: rotate(359deg);- transform: rotate(359deg);- }-}--@keyframes fa-spin {- 0% {- -webkit-transform: rotate(0deg);- transform: rotate(0deg);- }- 100% {- -webkit-transform: rotate(359deg);- transform: rotate(359deg);- }-}diff --git a/web/ext/ui/font-awesome-4.2.0/scss/_stacked.scss b/web/ext/ui/font-awesome-4.2.0/scss/_stacked.scssdeleted file mode 100644index aef740366..000000000--- a/web/ext/ui/font-awesome-4.2.0/scss/_stacked.scss+++ /dev/null@@ -1,20 +0,0 @@-// Stacked Icons-// ---------------------------.#{$fa-css-prefix}-stack {- position: relative;- display: inline-block;- width: 2em;- height: 2em;- line-height: 2em;- vertical-align: middle;-}-.#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x {- position: absolute;- left: 0;- width: 100%;- text-align: center;-}-.#{$fa-css-prefix}-stack-1x { line-height: inherit; }-.#{$fa-css-prefix}-stack-2x { font-size: 2em; }-.#{$fa-css-prefix}-inverse { color: $fa-inverse; }diff --git a/web/ext/ui/font-awesome-4.2.0/scss/_variables.scss b/web/ext/ui/font-awesome-4.2.0/scss/_variables.scssdeleted file mode 100644index 669c307fb..000000000--- a/web/ext/ui/font-awesome-4.2.0/scss/_variables.scss+++ /dev/null@@ -1,561 +0,0 @@-// Variables-// ----------------------------$fa-font-path: "../fonts" !default;-//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts" !default; // for referencing Bootstrap CDN font files directly-$fa-css-prefix: fa !default;-$fa-version: "4.2.0" !default;-$fa-border-color: #eee !default;-$fa-inverse: #fff !default;-$fa-li-width: (30em / 14) !default;--$fa-var-adjust: "\f042";-$fa-var-adn: "\f170";-$fa-var-align-center: "\f037";-$fa-var-align-justify: "\f039";-$fa-var-align-left: "\f036";-$fa-var-align-right: "\f038";-$fa-var-ambulance: "\f0f9";-$fa-var-anchor: "\f13d";-$fa-var-android: "\f17b";-$fa-var-angellist: "\f209";-$fa-var-angle-double-down: "\f103";-$fa-var-angle-double-left: "\f100";-$fa-var-angle-double-right: "\f101";-$fa-var-angle-double-up: "\f102";-$fa-var-angle-down: "\f107";-$fa-var-angle-left: "\f104";-$fa-var-angle-right: "\f105";-$fa-var-angle-up: "\f106";-$fa-var-apple: "\f179";-$fa-var-archive: "\f187";-$fa-var-area-chart: "\f1fe";-$fa-var-arrow-circle-down: "\f0ab";-$fa-var-arrow-circle-left: "\f0a8";-$fa-var-arrow-circle-o-down: "\f01a";-$fa-var-arrow-circle-o-left: "\f190";-$fa-var-arrow-circle-o-right: "\f18e";-$fa-var-arrow-circle-o-up: "\f01b";-$fa-var-arrow-circle-right: "\f0a9";-$fa-var-arrow-circle-up: "\f0aa";-$fa-var-arrow-down: "\f063";-$fa-var-arrow-left: "\f060";-$fa-var-arrow-right: "\f061";-$fa-var-arrow-up: "\f062";-$fa-var-arrows: "\f047";-$fa-var-arrows-alt: "\f0b2";-$fa-var-arrows-h: "\f07e";-$fa-var-arrows-v: "\f07d";-$fa-var-asterisk: "\f069";-$fa-var-at: "\f1fa";-$fa-var-automobile: "\f1b9";-$fa-var-backward: "\f04a";-$fa-var-ban: "\f05e";-$fa-var-bank: "\f19c";-$fa-var-bar-chart: "\f080";-$fa-var-bar-chart-o: "\f080";-$fa-var-barcode: "\f02a";-$fa-var-bars: "\f0c9";-$fa-var-beer: "\f0fc";-$fa-var-behance: "\f1b4";-$fa-var-behance-square: "\f1b5";-$fa-var-bell: "\f0f3";-$fa-var-bell-o: "\f0a2";-$fa-var-bell-slash: "\f1f6";-$fa-var-bell-slash-o: "\f1f7";-$fa-var-bicycle: "\f206";-$fa-var-binoculars: "\f1e5";-$fa-var-birthday-cake: "\f1fd";-$fa-var-bitbucket: "\f171";-$fa-var-bitbucket-square: "\f172";-$fa-var-bitcoin: "\f15a";-$fa-var-bold: "\f032";-$fa-var-bolt: "\f0e7";-$fa-var-bomb: "\f1e2";-$fa-var-book: "\f02d";-$fa-var-bookmark: "\f02e";-$fa-var-bookmark-o: "\f097";-$fa-var-briefcase: "\f0b1";-$fa-var-btc: "\f15a";-$fa-var-bug: "\f188";-$fa-var-building: "\f1ad";-$fa-var-building-o: "\f0f7";-$fa-var-bullhorn: "\f0a1";-$fa-var-bullseye: "\f140";-$fa-var-bus: "\f207";-$fa-var-cab: "\f1ba";-$fa-var-calculator: "\f1ec";-$fa-var-calendar: "\f073";-$fa-var-calendar-o: "\f133";-$fa-var-camera: "\f030";-$fa-var-camera-retro: "\f083";-$fa-var-car: "\f1b9";-$fa-var-caret-down: "\f0d7";-$fa-var-caret-left: "\f0d9";-$fa-var-caret-right: "\f0da";-$fa-var-caret-square-o-down: "\f150";-$fa-var-caret-square-o-left: "\f191";-$fa-var-caret-square-o-right: "\f152";-$fa-var-caret-square-o-up: "\f151";-$fa-var-caret-up: "\f0d8";-$fa-var-cc: "\f20a";-$fa-var-cc-amex: "\f1f3";-$fa-var-cc-discover: "\f1f2";-$fa-var-cc-mastercard: "\f1f1";-$fa-var-cc-paypal: "\f1f4";-$fa-var-cc-stripe: "\f1f5";-$fa-var-cc-visa: "\f1f0";-$fa-var-certificate: "\f0a3";-$fa-var-chain: "\f0c1";-$fa-var-chain-broken: "\f127";-$fa-var-check: "\f00c";-$fa-var-check-circle: "\f058";-$fa-var-check-circle-o: "\f05d";-$fa-var-check-square: "\f14a";-$fa-var-check-square-o: "\f046";-$fa-var-chevron-circle-down: "\f13a";-$fa-var-chevron-circle-left: "\f137";-$fa-var-chevron-circle-right: "\f138";-$fa-var-chevron-circle-up: "\f139";-$fa-var-chevron-down: "\f078";-$fa-var-chevron-left: "\f053";-$fa-var-chevron-right: "\f054";-$fa-var-chevron-up: "\f077";-$fa-var-child: "\f1ae";-$fa-var-circle: "\f111";-$fa-var-circle-o: "\f10c";-$fa-var-circle-o-notch: "\f1ce";-$fa-var-circle-thin: "\f1db";-$fa-var-clipboard: "\f0ea";-$fa-var-clock-o: "\f017";-$fa-var-close: "\f00d";-$fa-var-cloud: "\f0c2";-$fa-var-cloud-download: "\f0ed";-$fa-var-cloud-upload: "\f0ee";-$fa-var-cny: "\f157";-$fa-var-code: "\f121";-$fa-var-code-fork: "\f126";-$fa-var-codepen: "\f1cb";-$fa-var-coffee: "\f0f4";-$fa-var-cog: "\f013";-$fa-var-cogs: "\f085";-$fa-var-columns: "\f0db";-$fa-var-comment: "\f075";-$fa-var-comment-o: "\f0e5";-$fa-var-comments: "\f086";-$fa-var-comments-o: "\f0e6";-$fa-var-compass: "\f14e";-$fa-var-compress: "\f066";-$fa-var-copy: "\f0c5";-$fa-var-copyright: "\f1f9";-$fa-var-credit-card: "\f09d";-$fa-var-crop: "\f125";-$fa-var-crosshairs: "\f05b";-$fa-var-css3: "\f13c";-$fa-var-cube: "\f1b2";-$fa-var-cubes: "\f1b3";-$fa-var-cut: "\f0c4";-$fa-var-cutlery: "\f0f5";-$fa-var-dashboard: "\f0e4";-$fa-var-database: "\f1c0";-$fa-var-dedent: "\f03b";-$fa-var-delicious: "\f1a5";-$fa-var-desktop: "\f108";-$fa-var-deviantart: "\f1bd";-$fa-var-digg: "\f1a6";-$fa-var-dollar: "\f155";-$fa-var-dot-circle-o: "\f192";-$fa-var-download: "\f019";-$fa-var-dribbble: "\f17d";-$fa-var-dropbox: "\f16b";-$fa-var-drupal: "\f1a9";-$fa-var-edit: "\f044";-$fa-var-eject: "\f052";-$fa-var-ellipsis-h: "\f141";-$fa-var-ellipsis-v: "\f142";-$fa-var-empire: "\f1d1";-$fa-var-envelope: "\f0e0";-$fa-var-envelope-o: "\f003";-$fa-var-envelope-square: "\f199";-$fa-var-eraser: "\f12d";-$fa-var-eur: "\f153";-$fa-var-euro: "\f153";-$fa-var-exchange: "\f0ec";-$fa-var-exclamation: "\f12a";-$fa-var-exclamation-circle: "\f06a";-$fa-var-exclamation-triangle: "\f071";-$fa-var-expand: "\f065";-$fa-var-external-link: "\f08e";-$fa-var-external-link-square: "\f14c";-$fa-var-eye: "\f06e";-$fa-var-eye-slash: "\f070";-$fa-var-eyedropper: "\f1fb";-$fa-var-facebook: "\f09a";-$fa-var-facebook-square: "\f082";-$fa-var-fast-backward: "\f049";-$fa-var-fast-forward: "\f050";-$fa-var-fax: "\f1ac";-$fa-var-female: "\f182";-$fa-var-fighter-jet: "\f0fb";-$fa-var-file: "\f15b";-$fa-var-file-archive-o: "\f1c6";-$fa-var-file-audio-o: "\f1c7";-$fa-var-file-code-o: "\f1c9";-$fa-var-file-excel-o: "\f1c3";-$fa-var-file-image-o: "\f1c5";-$fa-var-file-movie-o: "\f1c8";-$fa-var-file-o: "\f016";-$fa-var-file-pdf-o: "\f1c1";-$fa-var-file-photo-o: "\f1c5";-$fa-var-file-picture-o: "\f1c5";-$fa-var-file-powerpoint-o: "\f1c4";-$fa-var-file-sound-o: "\f1c7";-$fa-var-file-text: "\f15c";-$fa-var-file-text-o: "\f0f6";-$fa-var-file-video-o: "\f1c8";-$fa-var-file-word-o: "\f1c2";-$fa-var-file-zip-o: "\f1c6";-$fa-var-files-o: "\f0c5";-$fa-var-film: "\f008";-$fa-var-filter: "\f0b0";-$fa-var-fire: "\f06d";-$fa-var-fire-extinguisher: "\f134";-$fa-var-flag: "\f024";-$fa-var-flag-checkered: "\f11e";-$fa-var-flag-o: "\f11d";-$fa-var-flash: "\f0e7";-$fa-var-flask: "\f0c3";-$fa-var-flickr: "\f16e";-$fa-var-floppy-o: "\f0c7";-$fa-var-folder: "\f07b";-$fa-var-folder-o: "\f114";-$fa-var-folder-open: "\f07c";-$fa-var-folder-open-o: "\f115";-$fa-var-font: "\f031";-$fa-var-forward: "\f04e";-$fa-var-foursquare: "\f180";-$fa-var-frown-o: "\f119";-$fa-var-futbol-o: "\f1e3";-$fa-var-gamepad: "\f11b";-$fa-var-gavel: "\f0e3";-$fa-var-gbp: "\f154";-$fa-var-ge: "\f1d1";-$fa-var-gear: "\f013";-$fa-var-gears: "\f085";-$fa-var-gift: "\f06b";-$fa-var-git: "\f1d3";-$fa-var-git-square: "\f1d2";-$fa-var-github: "\f09b";-$fa-var-github-alt: "\f113";-$fa-var-github-square: "\f092";-$fa-var-gittip: "\f184";-$fa-var-glass: "\f000";-$fa-var-globe: "\f0ac";-$fa-var-google: "\f1a0";-$fa-var-google-plus: "\f0d5";-$fa-var-google-plus-square: "\f0d4";-$fa-var-google-wallet: "\f1ee";-$fa-var-graduation-cap: "\f19d";-$fa-var-group: "\f0c0";-$fa-var-h-square: "\f0fd";-$fa-var-hacker-news: "\f1d4";-$fa-var-hand-o-down: "\f0a7";-$fa-var-hand-o-left: "\f0a5";-$fa-var-hand-o-right: "\f0a4";-$fa-var-hand-o-up: "\f0a6";-$fa-var-hdd-o: "\f0a0";-$fa-var-header: "\f1dc";-$fa-var-headphones: "\f025";-$fa-var-heart: "\f004";-$fa-var-heart-o: "\f08a";-$fa-var-history: "\f1da";-$fa-var-home: "\f015";-$fa-var-hospital-o: "\f0f8";-$fa-var-html5: "\f13b";-$fa-var-ils: "\f20b";-$fa-var-image: "\f03e";-$fa-var-inbox: "\f01c";-$fa-var-indent: "\f03c";-$fa-var-info: "\f129";-$fa-var-info-circle: "\f05a";-$fa-var-inr: "\f156";-$fa-var-instagram: "\f16d";-$fa-var-institution: "\f19c";-$fa-var-ioxhost: "\f208";-$fa-var-italic: "\f033";-$fa-var-joomla: "\f1aa";-$fa-var-jpy: "\f157";-$fa-var-jsfiddle: "\f1cc";-$fa-var-key: "\f084";-$fa-var-keyboard-o: "\f11c";-$fa-var-krw: "\f159";-$fa-var-language: "\f1ab";-$fa-var-laptop: "\f109";-$fa-var-lastfm: "\f202";-$fa-var-lastfm-square: "\f203";-$fa-var-leaf: "\f06c";-$fa-var-legal: "\f0e3";-$fa-var-lemon-o: "\f094";-$fa-var-level-down: "\f149";-$fa-var-level-up: "\f148";-$fa-var-life-bouy: "\f1cd";-$fa-var-life-buoy: "\f1cd";-$fa-var-life-ring: "\f1cd";-$fa-var-life-saver: "\f1cd";-$fa-var-lightbulb-o: "\f0eb";-$fa-var-line-chart: "\f201";-$fa-var-link: "\f0c1";-$fa-var-linkedin: "\f0e1";-$fa-var-linkedin-square: "\f08c";-$fa-var-linux: "\f17c";-$fa-var-list: "\f03a";-$fa-var-list-alt: "\f022";-$fa-var-list-ol: "\f0cb";-$fa-var-list-ul: "\f0ca";-$fa-var-location-arrow: "\f124";-$fa-var-lock: "\f023";-$fa-var-long-arrow-down: "\f175";-$fa-var-long-arrow-left: "\f177";-$fa-var-long-arrow-right: "\f178";-$fa-var-long-arrow-up: "\f176";-$fa-var-magic: "\f0d0";-$fa-var-magnet: "\f076";-$fa-var-mail-forward: "\f064";-$fa-var-mail-reply: "\f112";-$fa-var-mail-reply-all: "\f122";-$fa-var-male: "\f183";-$fa-var-map-marker: "\f041";-$fa-var-maxcdn: "\f136";-$fa-var-meanpath: "\f20c";-$fa-var-medkit: "\f0fa";-$fa-var-meh-o: "\f11a";-$fa-var-microphone: "\f130";-$fa-var-microphone-slash: "\f131";-$fa-var-minus: "\f068";-$fa-var-minus-circle: "\f056";-$fa-var-minus-square: "\f146";-$fa-var-minus-square-o: "\f147";-$fa-var-mobile: "\f10b";-$fa-var-mobile-phone: "\f10b";-$fa-var-money: "\f0d6";-$fa-var-moon-o: "\f186";-$fa-var-mortar-board: "\f19d";-$fa-var-music: "\f001";-$fa-var-navicon: "\f0c9";-$fa-var-newspaper-o: "\f1ea";-$fa-var-openid: "\f19b";-$fa-var-outdent: "\f03b";-$fa-var-pagelines: "\f18c";-$fa-var-paint-brush: "\f1fc";-$fa-var-paper-plane: "\f1d8";-$fa-var-paper-plane-o: "\f1d9";-$fa-var-paperclip: "\f0c6";-$fa-var-paragraph: "\f1dd";-$fa-var-paste: "\f0ea";-$fa-var-pause: "\f04c";-$fa-var-paw: "\f1b0";-$fa-var-paypal: "\f1ed";-$fa-var-pencil: "\f040";-$fa-var-pencil-square: "\f14b";-$fa-var-pencil-square-o: "\f044";-$fa-var-phone: "\f095";-$fa-var-phone-square: "\f098";-$fa-var-photo: "\f03e";-$fa-var-picture-o: "\f03e";-$fa-var-pie-chart: "\f200";-$fa-var-pied-piper: "\f1a7";-$fa-var-pied-piper-alt: "\f1a8";-$fa-var-pinterest: "\f0d2";-$fa-var-pinterest-square: "\f0d3";-$fa-var-plane: "\f072";-$fa-var-play: "\f04b";-$fa-var-play-circle: "\f144";-$fa-var-play-circle-o: "\f01d";-$fa-var-plug: "\f1e6";-$fa-var-plus: "\f067";-$fa-var-plus-circle: "\f055";-$fa-var-plus-square: "\f0fe";-$fa-var-plus-square-o: "\f196";-$fa-var-power-off: "\f011";-$fa-var-print: "\f02f";-$fa-var-puzzle-piece: "\f12e";-$fa-var-qq: "\f1d6";-$fa-var-qrcode: "\f029";-$fa-var-question: "\f128";-$fa-var-question-circle: "\f059";-$fa-var-quote-left: "\f10d";-$fa-var-quote-right: "\f10e";-$fa-var-ra: "\f1d0";-$fa-var-random: "\f074";-$fa-var-rebel: "\f1d0";-$fa-var-recycle: "\f1b8";-$fa-var-reddit: "\f1a1";-$fa-var-reddit-square: "\f1a2";-$fa-var-refresh: "\f021";-$fa-var-remove: "\f00d";-$fa-var-renren: "\f18b";-$fa-var-reorder: "\f0c9";-$fa-var-repeat: "\f01e";-$fa-var-reply: "\f112";-$fa-var-reply-all: "\f122";-$fa-var-retweet: "\f079";-$fa-var-rmb: "\f157";-$fa-var-road: "\f018";-$fa-var-rocket: "\f135";-$fa-var-rotate-left: "\f0e2";-$fa-var-rotate-right: "\f01e";-$fa-var-rouble: "\f158";-$fa-var-rss: "\f09e";-$fa-var-rss-square: "\f143";-$fa-var-rub: "\f158";-$fa-var-ruble: "\f158";-$fa-var-rupee: "\f156";-$fa-var-save: "\f0c7";-$fa-var-scissors: "\f0c4";-$fa-var-search: "\f002";-$fa-var-search-minus: "\f010";-$fa-var-search-plus: "\f00e";-$fa-var-send: "\f1d8";-$fa-var-send-o: "\f1d9";-$fa-var-share: "\f064";-$fa-var-share-alt: "\f1e0";-$fa-var-share-alt-square: "\f1e1";-$fa-var-share-square: "\f14d";-$fa-var-share-square-o: "\f045";-$fa-var-shekel: "\f20b";-$fa-var-sheqel: "\f20b";-$fa-var-shield: "\f132";-$fa-var-shopping-cart: "\f07a";-$fa-var-sign-in: "\f090";-$fa-var-sign-out: "\f08b";-$fa-var-signal: "\f012";-$fa-var-sitemap: "\f0e8";-$fa-var-skype: "\f17e";-$fa-var-slack: "\f198";-$fa-var-sliders: "\f1de";-$fa-var-slideshare: "\f1e7";-$fa-var-smile-o: "\f118";-$fa-var-soccer-ball-o: "\f1e3";-$fa-var-sort: "\f0dc";-$fa-var-sort-alpha-asc: "\f15d";-$fa-var-sort-alpha-desc: "\f15e";-$fa-var-sort-amount-asc: "\f160";-$fa-var-sort-amount-desc: "\f161";-$fa-var-sort-asc: "\f0de";-$fa-var-sort-desc: "\f0dd";-$fa-var-sort-down: "\f0dd";-$fa-var-sort-numeric-asc: "\f162";-$fa-var-sort-numeric-desc: "\f163";-$fa-var-sort-up: "\f0de";-$fa-var-soundcloud: "\f1be";-$fa-var-space-shuttle: "\f197";-$fa-var-spinner: "\f110";-$fa-var-spoon: "\f1b1";-$fa-var-spotify: "\f1bc";-$fa-var-square: "\f0c8";-$fa-var-square-o: "\f096";-$fa-var-stack-exchange: "\f18d";-$fa-var-stack-overflow: "\f16c";-$fa-var-star: "\f005";-$fa-var-star-half: "\f089";-$fa-var-star-half-empty: "\f123";-$fa-var-star-half-full: "\f123";-$fa-var-star-half-o: "\f123";-$fa-var-star-o: "\f006";-$fa-var-steam: "\f1b6";-$fa-var-steam-square: "\f1b7";-$fa-var-step-backward: "\f048";-$fa-var-step-forward: "\f051";-$fa-var-stethoscope: "\f0f1";-$fa-var-stop: "\f04d";-$fa-var-strikethrough: "\f0cc";-$fa-var-stumbleupon: "\f1a4";-$fa-var-stumbleupon-circle: "\f1a3";-$fa-var-subscript: "\f12c";-$fa-var-suitcase: "\f0f2";-$fa-var-sun-o: "\f185";-$fa-var-superscript: "\f12b";-$fa-var-support: "\f1cd";-$fa-var-table: "\f0ce";-$fa-var-tablet: "\f10a";-$fa-var-tachometer: "\f0e4";-$fa-var-tag: "\f02b";-$fa-var-tags: "\f02c";-$fa-var-tasks: "\f0ae";-$fa-var-taxi: "\f1ba";-$fa-var-tencent-weibo: "\f1d5";-$fa-var-terminal: "\f120";-$fa-var-text-height: "\f034";-$fa-var-text-width: "\f035";-$fa-var-th: "\f00a";-$fa-var-th-large: "\f009";-$fa-var-th-list: "\f00b";-$fa-var-thumb-tack: "\f08d";-$fa-var-thumbs-down: "\f165";-$fa-var-thumbs-o-down: "\f088";-$fa-var-thumbs-o-up: "\f087";-$fa-var-thumbs-up: "\f164";-$fa-var-ticket: "\f145";-$fa-var-times: "\f00d";-$fa-var-times-circle: "\f057";-$fa-var-times-circle-o: "\f05c";-$fa-var-tint: "\f043";-$fa-var-toggle-down: "\f150";-$fa-var-toggle-left: "\f191";-$fa-var-toggle-off: "\f204";-$fa-var-toggle-on: "\f205";-$fa-var-toggle-right: "\f152";-$fa-var-toggle-up: "\f151";-$fa-var-trash: "\f1f8";-$fa-var-trash-o: "\f014";-$fa-var-tree: "\f1bb";-$fa-var-trello: "\f181";-$fa-var-trophy: "\f091";-$fa-var-truck: "\f0d1";-$fa-var-try: "\f195";-$fa-var-tty: "\f1e4";-$fa-var-tumblr: "\f173";-$fa-var-tumblr-square: "\f174";-$fa-var-turkish-lira: "\f195";-$fa-var-twitch: "\f1e8";-$fa-var-twitter: "\f099";-$fa-var-twitter-square: "\f081";-$fa-var-umbrella: "\f0e9";-$fa-var-underline: "\f0cd";-$fa-var-undo: "\f0e2";-$fa-var-university: "\f19c";-$fa-var-unlink: "\f127";-$fa-var-unlock: "\f09c";-$fa-var-unlock-alt: "\f13e";-$fa-var-unsorted: "\f0dc";-$fa-var-upload: "\f093";-$fa-var-usd: "\f155";-$fa-var-user: "\f007";-$fa-var-user-md: "\f0f0";-$fa-var-users: "\f0c0";-$fa-var-video-camera: "\f03d";-$fa-var-vimeo-square: "\f194";-$fa-var-vine: "\f1ca";-$fa-var-vk: "\f189";-$fa-var-volume-down: "\f027";-$fa-var-volume-off: "\f026";-$fa-var-volume-up: "\f028";-$fa-var-warning: "\f071";-$fa-var-wechat: "\f1d7";-$fa-var-weibo: "\f18a";-$fa-var-weixin: "\f1d7";-$fa-var-wheelchair: "\f193";-$fa-var-wifi: "\f1eb";-$fa-var-windows: "\f17a";-$fa-var-won: "\f159";-$fa-var-wordpress: "\f19a";-$fa-var-wrench: "\f0ad";-$fa-var-xing: "\f168";-$fa-var-xing-square: "\f169";-$fa-var-yahoo: "\f19e";-$fa-var-yelp: "\f1e9";-$fa-var-yen: "\f157";-$fa-var-youtube: "\f167";-$fa-var-youtube-play: "\f16a";-$fa-var-youtube-square: "\f166";-diff --git a/web/ext/ui/font-awesome-4.2.0/scss/font-awesome.scss b/web/ext/ui/font-awesome-4.2.0/scss/font-awesome.scssdeleted file mode 100644index f300c092c..000000000--- a/web/ext/ui/font-awesome-4.2.0/scss/font-awesome.scss+++ /dev/null@@ -1,17 +0,0 @@-/*!- * Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome- * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)- */--@import "variables";-@import "mixins";-@import "path";-@import "core";-@import "larger";-@import "fixed-width";-@import "list";-@import "bordered-pulled";-@import "spinning";-@import "rotated-flipped";-@import "stacked";-@import "icons";diff --git a/web/ext/ui/iCheck-1.0.2-patch/.gitignore b/web/ext/ui/iCheck-1.0.2-patch/.gitignoredeleted file mode 100644index 61f4ae9f0..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/.gitignore+++ /dev/null@@ -1,6 +0,0 @@-examples.png-_index.html-custom.styl-custom.js-.htaccess-.git/diff --git a/web/ext/ui/iCheck-1.0.2-patch/icheck.jquery.json b/web/ext/ui/iCheck-1.0.2-patch/icheck.jquery.jsondeleted file mode 100644index e7018a645..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/icheck.jquery.json+++ /dev/null@@ -1,48 +0,0 @@-{- "name": "icheck",- "version": "1.0.2",- "title": "iCheck",- "author": {- "name": "Damir Sultanov",- "email": "[email protected]",- "homepage": "http://fronteed.com/"- },- "licenses": [- {- "type": "MIT",- "url": "http://en.wikipedia.org/wiki/MIT_License"- }- ],- "dependencies": {- "jquery": ">=1.7"- },- "description": "Highly customizable checkboxes and radio buttons (jQuery and Zepto). Features: identical inputs across different browsers and devices (both desktop and mobile), touch devices support (iOS, Android, BlackBerry, Windows Phone, Amazon Kindle), keyboard accessible inputs (Tab, Spacebar, Arrow up/down and other shortcuts), screenreader accessible inputs — (ARIA attributes for VoiceOver and others), customization freedom (use any HTML and CSS to style inputs or try 6 Retina-ready skins), lightweight size (1 kb gzipped). Provides 32 options to customize checkboxes and radio buttons, 11 callbacks to handle changes, 9 methods to make changes programmatically. Saves changes to original inputs, works carefully with any selectors.",- "keywords": [- "checkbox",- "radio",- "input",- "field",- "form",- "desktop",- "mobile",- "custom",- "replacement",- "accessibility",- "skins",- "ui",- "checked",- "disabled",- "indeterminate",- "css3",- "html5",- "tiny",- "lightweight",- "jquery",- "zepto"- ],- "homepage": "http://fronteed.com/iCheck/",- "docs": "https://github.com/fronteed/iCheck",- "demo": "http://fronteed.com/iCheck/",- "download": "http://fronteed.com/iCheck/",- "bugs": "https://github.com/fronteed/iCheck/issues/"-}diff --git a/web/ext/ui/iCheck-1.0.2-patch/icheck.js b/web/ext/ui/iCheck-1.0.2-patch/icheck.jsdeleted file mode 100644index 016a5b317..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/icheck.js+++ /dev/null@@ -1,509 +0,0 @@-/*!- * iCheck v1.0.2, http://git.io/arlzeA- * ===================================- * Powerful jQuery and Zepto plugin for checkboxes and radio buttons customization- *- * (c) 2013 Damir Sultanov, http://fronteed.com- * MIT Licensed- */--(function($) {-- // Cached vars- var _iCheck = 'iCheck',- _iCheckHelper = _iCheck + '-helper',- _checkbox = 'checkbox',- _radio = 'radio',- _checked = 'checked',- _unchecked = 'un' + _checked,- _disabled = 'disabled',- _determinate = 'determinate',- _indeterminate = 'in' + _determinate,- _update = 'update',- _type = 'type',- _click = 'click',- _touch = 'touchbegin.i touchend.i',- _add = 'addClass',- _remove = 'removeClass',- _callback = 'trigger',- _label = 'label',- _cursor = 'cursor',- _mobile = /ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent);-- // Plugin init- $.fn[_iCheck] = function(options, fire) {-- // Walker- var handle = 'input[type="' + _checkbox + '"], input[type="' + _radio + '"]',- stack = $(),- walker = function(object) {- object.each(function() {- var self = $(this);-- if (self.is(handle)) {- stack = stack.add(self);- } else {- stack = stack.add(self.find(handle));- }- });- };-- // Check if we should operate with some method- if (/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(options)) {-- // Normalize method's name- options = options.toLowerCase();-- // Find checkboxes and radio buttons- walker(this);-- return stack.each(function() {- var self = $(this);-- if (options == 'destroy') {- tidy(self, 'ifDestroyed');- } else {- operate(self, true, options);- }-- // Fire method's callback- if ($.isFunction(fire)) {- fire();- }- });-- // Customization- } else if (typeof options == 'object' || !options) {-- // Check if any options were passed- var settings = $.extend({- checkedClass: _checked,- disabledClass: _disabled,- indeterminateClass: _indeterminate,- labelHover: true- }, options),-- selector = settings.handle,- hoverClass = settings.hoverClass || 'hover',- focusClass = settings.focusClass || 'focus',- activeClass = settings.activeClass || 'active',- labelHover = !!settings.labelHover,- labelHoverClass = settings.labelHoverClass || 'hover',-- // Setup clickable area- area = ('' + settings.increaseArea).replace('%', '') | 0;-- // Selector limit- if (selector == _checkbox || selector == _radio) {- handle = 'input[type="' + selector + '"]';- }-- // Clickable area limit- if (area < -50) {- area = -50;- }-- // Walk around the selector- walker(this);-- return stack.each(function() {- var self = $(this);-- // If already customized- tidy(self);-- var node = this,- id = node.id,-- // Layer styles- offset = -area + '%',- size = 100 + (area * 2) + '%',- layer = {- position: 'absolute',- top: offset,- left: offset,- display: 'block',- width: size,- height: size,- margin: 0,- padding: 0,- background: '#fff',- border: 0,- opacity: 0- },-- // Choose how to hide input- hide = _mobile ? {- position: 'absolute',- visibility: 'hidden'- } : area ? layer : {- position: 'absolute',- opacity: 0- },-- // Get proper class- className = node[_type] == _checkbox ? settings.checkboxClass || 'i' + _checkbox : settings.radioClass || 'i' + _radio,-- // Find assigned labels- label = $(_label + '[for="' + id + '"]').add(self.closest(_label)),-- // Check ARIA option- aria = !!settings.aria,-- // Set ARIA placeholder- ariaID = _iCheck + '-' + Math.random().toString(36).substr(2,6),-- // Parent & helper- parent = '<div class="' + _iCheck + " " + _iCheck + "-" + node[_type] + " " + className + '" ' + (aria ? 'role="' + node[_type] + '" ' : ''),- helper;-- // Set ARIA "labelledby"- if (aria) {- label.each(function() {- parent += 'aria-labelledby="';-- if (this.id) {- parent += this.id;- } else {- this.id = ariaID;- parent += ariaID;- }-- parent += '"';- });- }-- // Wrap input- parent = self.wrap(parent + '/>')[_callback]('ifCreated').parent().append(settings.insert);-- // Layer addition- helper = $('<ins class="' + _iCheckHelper + '"/>').css(layer).appendTo(parent);-- // Finalize customization- self.data(_iCheck, {o: settings, s: self.attr('style')}).css(hide);- !!settings.inheritClass && parent[_add](node.className || '');- !!settings.inheritID && id && parent.attr('id', _iCheck + '-' + id);- parent.css('position') == 'static' && parent.css('position', 'relative');- operate(self, true, _update);-- // Label events- if (label.length) {- label.on(_click + '.i mouseover.i mouseout.i ' + _touch, function(event) {- var type = event[_type],- item = $(this);-- // Do nothing if input is disabled- if (!node[_disabled]) {-- // Click- if (type == _click) {- if ($(event.target).is('a')) {- return;- }- operate(self, false, true);-- // Hover state- } else if (labelHover) {-- // mouseout|touchend- if (/ut|nd/.test(type)) {- parent[_remove](hoverClass);- item[_remove](labelHoverClass);- } else {- parent[_add](hoverClass);- item[_add](labelHoverClass);- }- }-- if (_mobile) {- event.stopPropagation();- } else {- return false;- }- }- });- }-- // Input events- self.on(_click + '.i focus.i blur.i keyup.i keydown.i keypress.i', function(event) {- var type = event[_type],- key = event.keyCode;-- // Click- if (type == _click) {- return false;-- // Keydown- } else if (type == 'keydown' && key == 32) {- if (!(node[_type] == _radio && node[_checked])) {- if (node[_checked]) {- off(self, _checked);- } else {- on(self, _checked);- }- }-- return false;-- // Keyup- } else if (type == 'keyup' && node[_type] == _radio) {- !node[_checked] && on(self, _checked);-- // Focus/blur- } else if (/us|ur/.test(type)) {- parent[type == 'blur' ? _remove : _add](focusClass);- }- });-- // Helper events- helper.on(_click + ' mousedown mouseup mouseover mouseout ' + _touch, function(event) {- var type = event[_type],-- // mousedown|mouseup- toggle = /wn|up/.test(type) ? activeClass : hoverClass;-- // Do nothing if input is disabled- if (!node[_disabled]) {-- // Click- if (type == _click) {- operate(self, false, true);-- // Active and hover states- } else {-- // State is on- if (/wn|er|in/.test(type)) {-- // mousedown|mouseover|touchbegin- parent[_add](toggle);-- // State is off- } else {- parent[_remove](toggle + ' ' + activeClass);- }-- // Label hover- if (label.length && labelHover && toggle == hoverClass) {-- // mouseout|touchend- label[/ut|nd/.test(type) ? _remove : _add](labelHoverClass);- }- }-- if (_mobile) {- event.stopPropagation();- } else {- return false;- }- }- });- });- } else {- return this;- }- };-- // Do something with inputs- function operate(input, direct, method) {- var node = input[0],- state = /er/.test(method) ? _indeterminate : /bl/.test(method) ? _disabled : _checked,- active = method == _update ? {- checked: node[_checked],- disabled: node[_disabled],- indeterminate: input.attr(_indeterminate) == 'true' || input.attr(_determinate) == 'false'- } : node[state];-- // Check, disable or indeterminate- if (/^(ch|di|in)/.test(method) && !active) {- on(input, state);-- // Uncheck, enable or determinate- } else if (/^(un|en|de)/.test(method) && active) {- off(input, state);-- // Update- } else if (method == _update) {-- // Handle states- for (var each in active) {- if (active[each]) {- on(input, each, true);- } else {- off(input, each, true);- }- }-- } else if (!direct || method == 'toggle') {-- // Helper or label was clicked- if (!direct) {- input[_callback]('ifClicked');- }-- // Toggle checked state- if (active) {- if (node[_type] !== _radio) {- off(input, state);- }- } else {- on(input, state);- }- }- }-- // Add checked, disabled or indeterminate state- function on(input, state, keep) {- var node = input[0],- parent = input.parent(),- checked = state == _checked,- indeterminate = state == _indeterminate,- disabled = state == _disabled,- callback = indeterminate ? _determinate : checked ? _unchecked : 'enabled',- regular = option(input, callback + capitalize(node[_type])),- specific = option(input, state + capitalize(node[_type]));-- // Prevent unnecessary actions- if (node[state] !== true) {-- // Toggle assigned radio buttons- if (!keep && state == _checked && node[_type] == _radio && node.name) {- var form = input.closest('form'),- inputs = 'input[name="' + node.name + '"]';-- inputs = form.length ? form.find(inputs) : $(inputs);-- inputs.each(function() {- if (this !== node && $(this).data(_iCheck)) {- off($(this), state);- }- });- }-- // Indeterminate state- if (indeterminate) {-- // Add indeterminate state- node[state] = true;-- // Remove checked state- if (node[_checked]) {- off(input, _checked, 'force');- }-- // Checked or disabled state- } else {-- // Add checked or disabled state- if (!keep) {- node[state] = true;- }-- // Remove indeterminate state- if (checked && node[_indeterminate]) {- off(input, _indeterminate, false);- }- }-- // Trigger callbacks- callbacks(input, checked, state, keep);- }-- // Add proper cursor- if (node[_disabled] && !!option(input, _cursor, true)) {- parent.find('.' + _iCheckHelper).css(_cursor, 'default');- }-- // Add state class- parent[_add](specific || option(input, state) || '');-- // Set ARIA attribute- if (!!parent.attr('role') && !indeterminate) {- parent.attr('aria-' + (disabled ? _disabled : _checked), 'true');- }-- // Remove regular state class- parent[_remove](regular || option(input, callback) || '');- }-- // Remove checked, disabled or indeterminate state- function off(input, state, keep) {- var node = input[0],- parent = input.parent(),- checked = state == _checked,- indeterminate = state == _indeterminate,- disabled = state == _disabled,- callback = indeterminate ? _determinate : checked ? _unchecked : 'enabled',- regular = option(input, callback + capitalize(node[_type])),- specific = option(input, state + capitalize(node[_type]));-- // Prevent unnecessary actions- if (node[state] !== false) {-- // Toggle state- if (indeterminate || !keep || keep == 'force') {- node[state] = false;- }-- // Trigger callbacks- callbacks(input, checked, callback, keep);- }-- // Add proper cursor- if (!node[_disabled] && !!option(input, _cursor, true)) {- parent.find('.' + _iCheckHelper).css(_cursor, 'pointer');- }-- // Remove state class- parent[_remove](specific || option(input, state) || '');-- // Set ARIA attribute- if (!!parent.attr('role') && !indeterminate) {- parent.attr('aria-' + (disabled ? _disabled : _checked), 'false');- }-- // Add regular state class- parent[_add](regular || option(input, callback) || '');- }-- // Remove all traces- function tidy(input, callback) {- if (input.data(_iCheck)) {-- // Remove everything except input- input.parent().html(input.attr('style', input.data(_iCheck).s || ''));-- // Callback- if (callback) {- input[_callback](callback);- }-- // Unbind events- input.off('.i').unwrap();- $(_label + '[for="' + input[0].id + '"]').add(input.closest(_label)).off('.i');- }- }-- // Get some option- function option(input, state, regular) {- if (input.data(_iCheck)) {- return input.data(_iCheck).o[state + (regular ? '' : 'Class')];- }- }-- // Capitalize some string- function capitalize(string) {- return string.charAt(0).toUpperCase() + string.slice(1);- }-- // Executable handlers- function callbacks(input, checked, callback, keep) {- if (!keep) {- if (checked) {- input[_callback]('ifToggled');- }-- input[_callback]('ifChanged')[_callback]('if' + capitalize(callback));- }- }-})(window.jQuery || window.Zepto);diff --git a/web/ext/ui/iCheck-1.0.2-patch/icheck.min.js b/web/ext/ui/iCheck-1.0.2-patch/icheck.min.jsdeleted file mode 100644index f0abf85ff..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/icheck.min.js+++ /dev/null@@ -1,32 +0,0 @@--(function($){var _iCheck='iCheck',_iCheckHelper=_iCheck+'-helper',_checkbox='checkbox',_radio='radio',_checked='checked',_unchecked='un'+_checked,_disabled='disabled',_determinate='determinate',_indeterminate='in'+_determinate,_update='update',_type='type',_click='click',_touch='touchbegin.i touchend.i',_add='addClass',_remove='removeClass',_callback='trigger',_label='label',_cursor='cursor',_mobile=/ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent);$.fn[_iCheck]=function(options,fire){var handle='input[type="'+_checkbox+'"], input[type="'+_radio+'"]',stack=$(),walker=function(object){object.each(function(){var self=$(this);if(self.is(handle)){stack=stack.add(self);}else{stack=stack.add(self.find(handle));}});};if(/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(options)){options=options.toLowerCase();walker(this);return stack.each(function(){var self=$(this);if(options=='destroy'){tidy(self,'ifDestroyed');}else{operate(self,true,options);}-if($.isFunction(fire)){fire();}});}else if(typeof options=='object'||!options){var settings=$.extend({checkedClass:_checked,disabledClass:_disabled,indeterminateClass:_indeterminate,labelHover:true},options),selector=settings.handle,hoverClass=settings.hoverClass||'hover',focusClass=settings.focusClass||'focus',activeClass=settings.activeClass||'active',labelHover=!!settings.labelHover,labelHoverClass=settings.labelHoverClass||'hover',area=(''+settings.increaseArea).replace('%','')|0;if(selector==_checkbox||selector==_radio){handle='input[type="'+selector+'"]';}-if(area<-50){area=-50;}-walker(this);return stack.each(function(){var self=$(this);tidy(self);var node=this,id=node.id,offset=-area+'%',size=100+(area*2)+'%',layer={position:'absolute',top:offset,left:offset,display:'block',width:size,height:size,margin:0,padding:0,background:'#fff',border:0,opacity:0},hide=_mobile?{position:'absolute',visibility:'hidden'}:area?layer:{position:'absolute',opacity:0},className=node[_type]==_checkbox?settings.checkboxClass||'i'+_checkbox:settings.radioClass||'i'+_radio,label=$(_label+'[for="'+id+'"]').add(self.closest(_label)),aria=!!settings.aria,ariaID=_iCheck+'-'+Math.random().toString(36).substr(2,6),parent='<div class="'+_iCheck+" "+_iCheck+"-"+node[_type]+" "+className+'" '+(aria?'role="'+node[_type]+'" ':''),helper;if(aria){label.each(function(){parent+='aria-labelledby="';if(this.id){parent+=this.id;}else{this.id=ariaID;parent+=ariaID;}-parent+='"';});}-parent=self.wrap(parent+'/>')[_callback]('ifCreated').parent().append(settings.insert);helper=$('<ins class="'+_iCheckHelper+'"/>').css(layer).appendTo(parent);self.data(_iCheck,{o:settings,s:self.attr('style')}).css(hide);!!settings.inheritClass&&parent[_add](node.className||'');!!settings.inheritID&&id&&parent.attr('id',_iCheck+'-'+id);parent.css('position')=='static'&&parent.css('position','relative');operate(self,true,_update);if(label.length){label.on(_click+'.i mouseover.i mouseout.i '+_touch,function(event){var type=event[_type],item=$(this);if(!node[_disabled]){if(type==_click){if($(event.target).is('a')){return;}-operate(self,false,true);}else if(labelHover){if(/ut|nd/.test(type)){parent[_remove](hoverClass);item[_remove](labelHoverClass);}else{parent[_add](hoverClass);item[_add](labelHoverClass);}}-if(_mobile){event.stopPropagation();}else{return false;}}});}-self.on(_click+'.i focus.i blur.i keyup.i keydown.i keypress.i',function(event){var type=event[_type],key=event.keyCode;if(type==_click){return false;}else if(type=='keydown'&&key==32){if(!(node[_type]==_radio&&node[_checked])){if(node[_checked]){off(self,_checked);}else{on(self,_checked);}}-return false;}else if(type=='keyup'&&node[_type]==_radio){!node[_checked]&&on(self,_checked);}else if(/us|ur/.test(type)){parent[type=='blur'?_remove:_add](focusClass);}});helper.on(_click+' mousedown mouseup mouseover mouseout '+_touch,function(event){var type=event[_type],toggle=/wn|up/.test(type)?activeClass:hoverClass;if(!node[_disabled]){if(type==_click){operate(self,false,true);}else{if(/wn|er|in/.test(type)){parent[_add](toggle);}else{parent[_remove](toggle+' '+activeClass);}-if(label.length&&labelHover&&toggle==hoverClass){label[/ut|nd/.test(type)?_remove:_add](labelHoverClass);}}-if(_mobile){event.stopPropagation();}else{return false;}}});});}else{return this;}};function operate(input,direct,method){var node=input[0],state=/er/.test(method)?_indeterminate:/bl/.test(method)?_disabled:_checked,active=method==_update?{checked:node[_checked],disabled:node[_disabled],indeterminate:input.attr(_indeterminate)=='true'||input.attr(_determinate)=='false'}:node[state];if(/^(ch|di|in)/.test(method)&&!active){on(input,state);}else if(/^(un|en|de)/.test(method)&&active){off(input,state);}else if(method==_update){for(var each in active){if(active[each]){on(input,each,true);}else{off(input,each,true);}}}else if(!direct||method=='toggle'){if(!direct){input[_callback]('ifClicked');}-if(active){if(node[_type]!==_radio){off(input,state);}}else{on(input,state);}}}-function on(input,state,keep){var node=input[0],parent=input.parent(),checked=state==_checked,indeterminate=state==_indeterminate,disabled=state==_disabled,callback=indeterminate?_determinate:checked?_unchecked:'enabled',regular=option(input,callback+capitalize(node[_type])),specific=option(input,state+capitalize(node[_type]));if(node[state]!==true){if(!keep&&state==_checked&&node[_type]==_radio&&node.name){var form=input.closest('form'),inputs='input[name="'+node.name+'"]';inputs=form.length?form.find(inputs):$(inputs);inputs.each(function(){if(this!==node&&$(this).data(_iCheck)){off($(this),state);}});}-if(indeterminate){node[state]=true;if(node[_checked]){off(input,_checked,'force');}}else{if(!keep){node[state]=true;}-if(checked&&node[_indeterminate]){off(input,_indeterminate,false);}}-callbacks(input,checked,state,keep);}-if(node[_disabled]&&!!option(input,_cursor,true)){parent.find('.'+_iCheckHelper).css(_cursor,'default');}-parent[_add](specific||option(input,state)||'');if(!!parent.attr('role')&&!indeterminate){parent.attr('aria-'+(disabled?_disabled:_checked),'true');}-parent[_remove](regular||option(input,callback)||'');}-function off(input,state,keep){var node=input[0],parent=input.parent(),checked=state==_checked,indeterminate=state==_indeterminate,disabled=state==_disabled,callback=indeterminate?_determinate:checked?_unchecked:'enabled',regular=option(input,callback+capitalize(node[_type])),specific=option(input,state+capitalize(node[_type]));if(node[state]!==false){if(indeterminate||!keep||keep=='force'){node[state]=false;}-callbacks(input,checked,callback,keep);}-if(!node[_disabled]&&!!option(input,_cursor,true)){parent.find('.'+_iCheckHelper).css(_cursor,'pointer');}-parent[_remove](specific||option(input,state)||'');if(!!parent.attr('role')&&!indeterminate){parent.attr('aria-'+(disabled?_disabled:_checked),'false');}-parent[_add](regular||option(input,callback)||'');}-function tidy(input,callback){if(input.data(_iCheck)){input.parent().html(input.attr('style',input.data(_iCheck).s||''));if(callback){input[_callback](callback);}-input.off('.i').unwrap();$(_label+'[for="'+input[0].id+'"]').add(input.closest(_label)).off('.i');}}-function option(input,state,regular){if(input.data(_iCheck)){return input.data(_iCheck).o[state+(regular?'':'Class')];}}-function capitalize(string){return string.charAt(0).toUpperCase()+string.slice(1);}-function callbacks(input,checked,callback,keep){if(!keep){if(checked){input[_callback]('ifToggled');}-input[_callback]('ifChanged')[_callback]('if'+capitalize(callback));}}})(window.jQuery||window.Zepto);\ No newline at end of filediff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/line/_all.css b/web/ext/ui/iCheck-1.0.2-patch/skins/line/_all.cssdeleted file mode 100644index 23837a8b9..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/skins/line/_all.css+++ /dev/null@@ -1,710 +0,0 @@-/* iCheck plugin Line skin------------------------------------ */-.icheckbox_line,-.iradio_line {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #000;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line .icheck_line-icon,- .iradio_line .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line.hover,- .icheckbox_line.checked.hover,- .iradio_line.hover {- background: #444;- }- .icheckbox_line.checked,- .iradio_line.checked {- background: #000;- }- .icheckbox_line.checked .icheck_line-icon,- .iradio_line.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line.disabled,- .iradio_line.disabled {- background: #ccc;- cursor: default;- }- .icheckbox_line.disabled .icheck_line-icon,- .iradio_line.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line.checked.disabled,- .iradio_line.checked.disabled {- background: #ccc;- }- .icheckbox_line.checked.disabled .icheck_line-icon,- .iradio_line.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {- .icheckbox_line .icheck_line-icon,- .iradio_line .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}--/* red */-.icheckbox_line-red,-.iradio_line-red {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #e56c69;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-red .icheck_line-icon,- .iradio_line-red .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-red.hover,- .icheckbox_line-red.checked.hover,- .iradio_line-red.hover {- background: #E98582;- }- .icheckbox_line-red.checked,- .iradio_line-red.checked {- background: #e56c69;- }- .icheckbox_line-red.checked .icheck_line-icon,- .iradio_line-red.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-red.disabled,- .iradio_line-red.disabled {- background: #F7D3D2;- cursor: default;- }- .icheckbox_line-red.disabled .icheck_line-icon,- .iradio_line-red.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-red.checked.disabled,- .iradio_line-red.checked.disabled {- background: #F7D3D2;- }- .icheckbox_line-red.checked.disabled .icheck_line-icon,- .iradio_line-red.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {- .icheckbox_line-red .icheck_line-icon,- .iradio_line-red .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}--/* green */-.icheckbox_line-green,-.iradio_line-green {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #1b7e5a;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-green .icheck_line-icon,- .iradio_line-green .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-green.hover,- .icheckbox_line-green.checked.hover,- .iradio_line-green.hover {- background: #24AA7A;- }- .icheckbox_line-green.checked,- .iradio_line-green.checked {- background: #1b7e5a;- }- .icheckbox_line-green.checked .icheck_line-icon,- .iradio_line-green.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-green.disabled,- .iradio_line-green.disabled {- background: #89E6C4;- cursor: default;- }- .icheckbox_line-green.disabled .icheck_line-icon,- .iradio_line-green.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-green.checked.disabled,- .iradio_line-green.checked.disabled {- background: #89E6C4;- }- .icheckbox_line-green.checked.disabled .icheck_line-icon,- .iradio_line-green.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {- .icheckbox_line-green .icheck_line-icon,- .iradio_line-green .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}--/* blue */-.icheckbox_line-blue,-.iradio_line-blue {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #2489c5;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-blue .icheck_line-icon,- .iradio_line-blue .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-blue.hover,- .icheckbox_line-blue.checked.hover,- .iradio_line-blue.hover {- background: #3DA0DB;- }- .icheckbox_line-blue.checked,- .iradio_line-blue.checked {- background: #2489c5;- }- .icheckbox_line-blue.checked .icheck_line-icon,- .iradio_line-blue.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-blue.disabled,- .iradio_line-blue.disabled {- background: #ADD7F0;- cursor: default;- }- .icheckbox_line-blue.disabled .icheck_line-icon,- .iradio_line-blue.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-blue.checked.disabled,- .iradio_line-blue.checked.disabled {- background: #ADD7F0;- }- .icheckbox_line-blue.checked.disabled .icheck_line-icon,- .iradio_line-blue.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {- .icheckbox_line-blue .icheck_line-icon,- .iradio_line-blue .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}--/* aero */-.icheckbox_line-aero,-.iradio_line-aero {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #9cc2cb;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-aero .icheck_line-icon,- .iradio_line-aero .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-aero.hover,- .icheckbox_line-aero.checked.hover,- .iradio_line-aero.hover {- background: #B5D1D8;- }- .icheckbox_line-aero.checked,- .iradio_line-aero.checked {- background: #9cc2cb;- }- .icheckbox_line-aero.checked .icheck_line-icon,- .iradio_line-aero.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-aero.disabled,- .iradio_line-aero.disabled {- background: #D2E4E8;- cursor: default;- }- .icheckbox_line-aero.disabled .icheck_line-icon,- .iradio_line-aero.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-aero.checked.disabled,- .iradio_line-aero.checked.disabled {- background: #D2E4E8;- }- .icheckbox_line-aero.checked.disabled .icheck_line-icon,- .iradio_line-aero.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {- .icheckbox_line-aero .icheck_line-icon,- .iradio_line-aero .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}--/* grey */-.icheckbox_line-grey,-.iradio_line-grey {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #73716e;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-grey .icheck_line-icon,- .iradio_line-grey .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-grey.hover,- .icheckbox_line-grey.checked.hover,- .iradio_line-grey.hover {- background: #8B8986;- }- .icheckbox_line-grey.checked,- .iradio_line-grey.checked {- background: #73716e;- }- .icheckbox_line-grey.checked .icheck_line-icon,- .iradio_line-grey.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-grey.disabled,- .iradio_line-grey.disabled {- background: #D5D4D3;- cursor: default;- }- .icheckbox_line-grey.disabled .icheck_line-icon,- .iradio_line-grey.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-grey.checked.disabled,- .iradio_line-grey.checked.disabled {- background: #D5D4D3;- }- .icheckbox_line-grey.checked.disabled .icheck_line-icon,- .iradio_line-grey.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {- .icheckbox_line-grey .icheck_line-icon,- .iradio_line-grey .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}--/* orange */-.icheckbox_line-orange,-.iradio_line-orange {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #f70;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-orange .icheck_line-icon,- .iradio_line-orange .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-orange.hover,- .icheckbox_line-orange.checked.hover,- .iradio_line-orange.hover {- background: #FF9233;- }- .icheckbox_line-orange.checked,- .iradio_line-orange.checked {- background: #f70;- }- .icheckbox_line-orange.checked .icheck_line-icon,- .iradio_line-orange.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-orange.disabled,- .iradio_line-orange.disabled {- background: #FFD6B3;- cursor: default;- }- .icheckbox_line-orange.disabled .icheck_line-icon,- .iradio_line-orange.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-orange.checked.disabled,- .iradio_line-orange.checked.disabled {- background: #FFD6B3;- }- .icheckbox_line-orange.checked.disabled .icheck_line-icon,- .iradio_line-orange.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {- .icheckbox_line-orange .icheck_line-icon,- .iradio_line-orange .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}--/* yellow */-.icheckbox_line-yellow,-.iradio_line-yellow {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #FFC414;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-yellow .icheck_line-icon,- .iradio_line-yellow .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-yellow.hover,- .icheckbox_line-yellow.checked.hover,- .iradio_line-yellow.hover {- background: #FFD34F;- }- .icheckbox_line-yellow.checked,- .iradio_line-yellow.checked {- background: #FFC414;- }- .icheckbox_line-yellow.checked .icheck_line-icon,- .iradio_line-yellow.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-yellow.disabled,- .iradio_line-yellow.disabled {- background: #FFE495;- cursor: default;- }- .icheckbox_line-yellow.disabled .icheck_line-icon,- .iradio_line-yellow.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-yellow.checked.disabled,- .iradio_line-yellow.checked.disabled {- background: #FFE495;- }- .icheckbox_line-yellow.checked.disabled .icheck_line-icon,- .iradio_line-yellow.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {- .icheckbox_line-yellow .icheck_line-icon,- .iradio_line-yellow .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}--/* pink */-.icheckbox_line-pink,-.iradio_line-pink {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #a77a94;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-pink .icheck_line-icon,- .iradio_line-pink .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-pink.hover,- .icheckbox_line-pink.checked.hover,- .iradio_line-pink.hover {- background: #B995A9;- }- .icheckbox_line-pink.checked,- .iradio_line-pink.checked {- background: #a77a94;- }- .icheckbox_line-pink.checked .icheck_line-icon,- .iradio_line-pink.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-pink.disabled,- .iradio_line-pink.disabled {- background: #E0D0DA;- cursor: default;- }- .icheckbox_line-pink.disabled .icheck_line-icon,- .iradio_line-pink.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-pink.checked.disabled,- .iradio_line-pink.checked.disabled {- background: #E0D0DA;- }- .icheckbox_line-pink.checked.disabled .icheck_line-icon,- .iradio_line-pink.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {- .icheckbox_line-pink .icheck_line-icon,- .iradio_line-pink .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}--/* purple */-.icheckbox_line-purple,-.iradio_line-purple {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #6a5a8c;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-purple .icheck_line-icon,- .iradio_line-purple .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-purple.hover,- .icheckbox_line-purple.checked.hover,- .iradio_line-purple.hover {- background: #8677A7;- }- .icheckbox_line-purple.checked,- .iradio_line-purple.checked {- background: #6a5a8c;- }- .icheckbox_line-purple.checked .icheck_line-icon,- .iradio_line-purple.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-purple.disabled,- .iradio_line-purple.disabled {- background: #D2CCDE;- cursor: default;- }- .icheckbox_line-purple.disabled .icheck_line-icon,- .iradio_line-purple.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-purple.checked.disabled,- .iradio_line-purple.checked.disabled {- background: #D2CCDE;- }- .icheckbox_line-purple.checked.disabled .icheck_line-icon,- .iradio_line-purple.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {- .icheckbox_line-purple .icheck_line-icon,- .iradio_line-purple .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}\ No newline at end of filediff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/line/aero.css b/web/ext/ui/iCheck-1.0.2-patch/skins/line/aero.cssdeleted file mode 100644index e6dd82a6c..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/skins/line/aero.css+++ /dev/null@@ -1,71 +0,0 @@-/* iCheck plugin Line skin, aero------------------------------------ */-.icheckbox_line-aero,-.iradio_line-aero {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #9cc2cb;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-aero .icheck_line-icon,- .iradio_line-aero .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-aero.hover,- .icheckbox_line-aero.checked.hover,- .iradio_line-aero.hover {- background: #B5D1D8;- }- .icheckbox_line-aero.checked,- .iradio_line-aero.checked {- background: #9cc2cb;- }- .icheckbox_line-aero.checked .icheck_line-icon,- .iradio_line-aero.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-aero.disabled,- .iradio_line-aero.disabled {- background: #D2E4E8;- cursor: default;- }- .icheckbox_line-aero.disabled .icheck_line-icon,- .iradio_line-aero.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-aero.checked.disabled,- .iradio_line-aero.checked.disabled {- background: #D2E4E8;- }- .icheckbox_line-aero.checked.disabled .icheck_line-icon,- .iradio_line-aero.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {- .icheckbox_line-aero .icheck_line-icon,- .iradio_line-aero .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}\ No newline at end of filediff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/line/blue.css b/web/ext/ui/iCheck-1.0.2-patch/skins/line/blue.cssdeleted file mode 100644index 8f105d908..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/skins/line/blue.css+++ /dev/null@@ -1,71 +0,0 @@-/* iCheck plugin Line skin, blue------------------------------------ */-.icheckbox_line-blue,-.iradio_line-blue {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #2489c5;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-blue .icheck_line-icon,- .iradio_line-blue .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-blue.hover,- .icheckbox_line-blue.checked.hover,- .iradio_line-blue.hover {- background: #3DA0DB;- }- .icheckbox_line-blue.checked,- .iradio_line-blue.checked {- background: #2489c5;- }- .icheckbox_line-blue.checked .icheck_line-icon,- .iradio_line-blue.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-blue.disabled,- .iradio_line-blue.disabled {- background: #ADD7F0;- cursor: default;- }- .icheckbox_line-blue.disabled .icheck_line-icon,- .iradio_line-blue.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-blue.checked.disabled,- .iradio_line-blue.checked.disabled {- background: #ADD7F0;- }- .icheckbox_line-blue.checked.disabled .icheck_line-icon,- .iradio_line-blue.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {- .icheckbox_line-blue .icheck_line-icon,- .iradio_line-blue .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}\ No newline at end of filediff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/line/green.css b/web/ext/ui/iCheck-1.0.2-patch/skins/line/green.cssdeleted file mode 100644index 9535c7c33..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/skins/line/green.css+++ /dev/null@@ -1,71 +0,0 @@-/* iCheck plugin Line skin, green------------------------------------ */-.icheckbox_line-green,-.iradio_line-green {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #1b7e5a;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-green .icheck_line-icon,- .iradio_line-green .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-green.hover,- .icheckbox_line-green.checked.hover,- .iradio_line-green.hover {- background: #24AA7A;- }- .icheckbox_line-green.checked,- .iradio_line-green.checked {- background: #1b7e5a;- }- .icheckbox_line-green.checked .icheck_line-icon,- .iradio_line-green.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-green.disabled,- .iradio_line-green.disabled {- background: #89E6C4;- cursor: default;- }- .icheckbox_line-green.disabled .icheck_line-icon,- .iradio_line-green.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-green.checked.disabled,- .iradio_line-green.checked.disabled {- background: #89E6C4;- }- .icheckbox_line-green.checked.disabled .icheck_line-icon,- .iradio_line-green.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {- .icheckbox_line-green .icheck_line-icon,- .iradio_line-green .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}\ No newline at end of filediff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/line/grey.css b/web/ext/ui/iCheck-1.0.2-patch/skins/line/grey.cssdeleted file mode 100644index 9e3405353..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/skins/line/grey.css+++ /dev/null@@ -1,71 +0,0 @@-/* iCheck plugin Line skin, grey------------------------------------ */-.icheckbox_line-grey,-.iradio_line-grey {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #73716e;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-grey .icheck_line-icon,- .iradio_line-grey .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-grey.hover,- .icheckbox_line-grey.checked.hover,- .iradio_line-grey.hover {- background: #8B8986;- }- .icheckbox_line-grey.checked,- .iradio_line-grey.checked {- background: #73716e;- }- .icheckbox_line-grey.checked .icheck_line-icon,- .iradio_line-grey.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-grey.disabled,- .iradio_line-grey.disabled {- background: #D5D4D3;- cursor: default;- }- .icheckbox_line-grey.disabled .icheck_line-icon,- .iradio_line-grey.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-grey.checked.disabled,- .iradio_line-grey.checked.disabled {- background: #D5D4D3;- }- .icheckbox_line-grey.checked.disabled .icheck_line-icon,- .iradio_line-grey.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {- .icheckbox_line-grey .icheck_line-icon,- .iradio_line-grey .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}\ No newline at end of filediff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/line/line.css b/web/ext/ui/iCheck-1.0.2-patch/skins/line/line.cssdeleted file mode 100644index 2173a25c3..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/skins/line/line.css+++ /dev/null@@ -1,71 +0,0 @@-/* iCheck plugin Line skin, black------------------------------------ */-.icheckbox_line,-.iradio_line {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #000;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line .icheck_line-icon,- .iradio_line .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line.hover,- .icheckbox_line.checked.hover,- .iradio_line.hover {- background: #444;- }- .icheckbox_line.checked,- .iradio_line.checked {- background: #000;- }- .icheckbox_line.checked .icheck_line-icon,- .iradio_line.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line.disabled,- .iradio_line.disabled {- background: #ccc;- cursor: default;- }- .icheckbox_line.disabled .icheck_line-icon,- .iradio_line.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line.checked.disabled,- .iradio_line.checked.disabled {- background: #ccc;- }- .icheckbox_line.checked.disabled .icheck_line-icon,- .iradio_line.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {- .icheckbox_line .icheck_line-icon,- .iradio_line .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}\ No newline at end of filediff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/line/line.png b/web/ext/ui/iCheck-1.0.2-patch/skins/line/line.pngdeleted file mode 100644index d21d7a7b4..000000000Binary files a/web/ext/ui/iCheck-1.0.2-patch/skins/line/line.png and /dev/null differdiff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/line/[email protected] b/web/ext/ui/iCheck-1.0.2-patch/skins/line/[email protected]deleted file mode 100644index 62900a2d9..000000000Binary files a/web/ext/ui/iCheck-1.0.2-patch/skins/line/[email protected] and /dev/null differdiff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/line/orange.css b/web/ext/ui/iCheck-1.0.2-patch/skins/line/orange.cssdeleted file mode 100644index e408a6afc..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/skins/line/orange.css+++ /dev/null@@ -1,71 +0,0 @@-/* iCheck plugin Line skin, orange------------------------------------ */-.icheckbox_line-orange,-.iradio_line-orange {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #f70;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-orange .icheck_line-icon,- .iradio_line-orange .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-orange.hover,- .icheckbox_line-orange.checked.hover,- .iradio_line-orange.hover {- background: #FF9233;- }- .icheckbox_line-orange.checked,- .iradio_line-orange.checked {- background: #f70;- }- .icheckbox_line-orange.checked .icheck_line-icon,- .iradio_line-orange.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-orange.disabled,- .iradio_line-orange.disabled {- background: #FFD6B3;- cursor: default;- }- .icheckbox_line-orange.disabled .icheck_line-icon,- .iradio_line-orange.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-orange.checked.disabled,- .iradio_line-orange.checked.disabled {- background: #FFD6B3;- }- .icheckbox_line-orange.checked.disabled .icheck_line-icon,- .iradio_line-orange.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {- .icheckbox_line-orange .icheck_line-icon,- .iradio_line-orange .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}\ No newline at end of filediff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/line/pink.css b/web/ext/ui/iCheck-1.0.2-patch/skins/line/pink.cssdeleted file mode 100644index d19459eda..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/skins/line/pink.css+++ /dev/null@@ -1,71 +0,0 @@-/* iCheck plugin Line skin, pink------------------------------------ */-.icheckbox_line-pink,-.iradio_line-pink {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #a77a94;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-pink .icheck_line-icon,- .iradio_line-pink .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-pink.hover,- .icheckbox_line-pink.checked.hover,- .iradio_line-pink.hover {- background: #B995A9;- }- .icheckbox_line-pink.checked,- .iradio_line-pink.checked {- background: #a77a94;- }- .icheckbox_line-pink.checked .icheck_line-icon,- .iradio_line-pink.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-pink.disabled,- .iradio_line-pink.disabled {- background: #E0D0DA;- cursor: default;- }- .icheckbox_line-pink.disabled .icheck_line-icon,- .iradio_line-pink.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-pink.checked.disabled,- .iradio_line-pink.checked.disabled {- background: #E0D0DA;- }- .icheckbox_line-pink.checked.disabled .icheck_line-icon,- .iradio_line-pink.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {- .icheckbox_line-pink .icheck_line-icon,- .iradio_line-pink .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}\ No newline at end of filediff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/line/purple.css b/web/ext/ui/iCheck-1.0.2-patch/skins/line/purple.cssdeleted file mode 100644index ecca700b4..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/skins/line/purple.css+++ /dev/null@@ -1,71 +0,0 @@-/* iCheck plugin Line skin, purple------------------------------------ */-.icheckbox_line-purple,-.iradio_line-purple {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #6a5a8c;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-purple .icheck_line-icon,- .iradio_line-purple .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-purple.hover,- .icheckbox_line-purple.checked.hover,- .iradio_line-purple.hover {- background: #8677A7;- }- .icheckbox_line-purple.checked,- .iradio_line-purple.checked {- background: #6a5a8c;- }- .icheckbox_line-purple.checked .icheck_line-icon,- .iradio_line-purple.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-purple.disabled,- .iradio_line-purple.disabled {- background: #D2CCDE;- cursor: default;- }- .icheckbox_line-purple.disabled .icheck_line-icon,- .iradio_line-purple.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-purple.checked.disabled,- .iradio_line-purple.checked.disabled {- background: #D2CCDE;- }- .icheckbox_line-purple.checked.disabled .icheck_line-icon,- .iradio_line-purple.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {- .icheckbox_line-purple .icheck_line-icon,- .iradio_line-purple .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}\ No newline at end of filediff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/line/red.css b/web/ext/ui/iCheck-1.0.2-patch/skins/line/red.cssdeleted file mode 100644index 3a8aee21b..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/skins/line/red.css+++ /dev/null@@ -1,71 +0,0 @@-/* iCheck plugin Line skin, red------------------------------------ */-.icheckbox_line-red,-.iradio_line-red {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #e56c69;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-red .icheck_line-icon,- .iradio_line-red .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-red.hover,- .icheckbox_line-red.checked.hover,- .iradio_line-red.hover {- background: #E98582;- }- .icheckbox_line-red.checked,- .iradio_line-red.checked {- background: #e56c69;- }- .icheckbox_line-red.checked .icheck_line-icon,- .iradio_line-red.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-red.disabled,- .iradio_line-red.disabled {- background: #F7D3D2;- cursor: default;- }- .icheckbox_line-red.disabled .icheck_line-icon,- .iradio_line-red.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-red.checked.disabled,- .iradio_line-red.checked.disabled {- background: #F7D3D2;- }- .icheckbox_line-red.checked.disabled .icheck_line-icon,- .iradio_line-red.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {- .icheckbox_line-red .icheck_line-icon,- .iradio_line-red .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}\ No newline at end of filediff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/line/yellow.css b/web/ext/ui/iCheck-1.0.2-patch/skins/line/yellow.cssdeleted file mode 100644index c6eaccfaf..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/skins/line/yellow.css+++ /dev/null@@ -1,71 +0,0 @@-/* iCheck plugin Line skin, yellow------------------------------------ */-.icheckbox_line-yellow,-.iradio_line-yellow {- position: relative;- display: block;- margin: 0;- padding: 5px 15px 5px 38px;- font-size: 13px;- line-height: 17px;- color: #fff;- background: #FFC414;- border: none;- -webkit-border-radius: 3px;- -moz-border-radius: 3px;- border-radius: 3px;- cursor: pointer;-}- .icheckbox_line-yellow .icheck_line-icon,- .iradio_line-yellow .icheck_line-icon {- position: absolute;- top: 50%;- left: 13px;- width: 13px;- height: 11px;- margin: -5px 0 0 0;- padding: 0;- overflow: hidden;- background: url(line.png) no-repeat;- border: none;- }- .icheckbox_line-yellow.hover,- .icheckbox_line-yellow.checked.hover,- .iradio_line-yellow.hover {- background: #FFD34F;- }- .icheckbox_line-yellow.checked,- .iradio_line-yellow.checked {- background: #FFC414;- }- .icheckbox_line-yellow.checked .icheck_line-icon,- .iradio_line-yellow.checked .icheck_line-icon {- background-position: -15px 0;- }- .icheckbox_line-yellow.disabled,- .iradio_line-yellow.disabled {- background: #FFE495;- cursor: default;- }- .icheckbox_line-yellow.disabled .icheck_line-icon,- .iradio_line-yellow.disabled .icheck_line-icon {- background-position: -30px 0;- }- .icheckbox_line-yellow.checked.disabled,- .iradio_line-yellow.checked.disabled {- background: #FFE495;- }- .icheckbox_line-yellow.checked.disabled .icheck_line-icon,- .iradio_line-yellow.checked.disabled .icheck_line-icon {- background-position: -45px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {- .icheckbox_line-yellow .icheck_line-icon,- .iradio_line-yellow .icheck_line-icon {- background-image: url([email protected]);- -webkit-background-size: 60px 13px;- background-size: 60px 13px;- }-}\ No newline at end of filediff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/polaris/polaris.css b/web/ext/ui/iCheck-1.0.2-patch/skins/polaris/polaris.cssdeleted file mode 100644index 2a4d519ca..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/skins/polaris/polaris.css+++ /dev/null@@ -1,59 +0,0 @@-/* iCheck plugin Polaris skin------------------------------------ */-.icheckbox_polaris,-.iradio_polaris {- display: inline-block;- *display: inline;- vertical-align: middle;- margin: 0;- padding: 0;- width: 29px;- height: 29px;- background: url(polaris.png) no-repeat;- border: none;- cursor: pointer;-}--.icheckbox_polaris {- background-position: 0 0;-}- .icheckbox_polaris.hover {- background-position: -31px 0;- }- .icheckbox_polaris.checked {- background-position: -62px 0;- }- .icheckbox_polaris.disabled {- background-position: -93px 0;- cursor: default;- }- .icheckbox_polaris.checked.disabled {- background-position: -124px 0;- }--.iradio_polaris {- background-position: -155px 0;-}- .iradio_polaris.hover {- background-position: -186px 0;- }- .iradio_polaris.checked {- background-position: -217px 0;- }- .iradio_polaris.disabled {- background-position: -248px 0;- cursor: default;- }- .iradio_polaris.checked.disabled {- background-position: -279px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {- .icheckbox_polaris,- .iradio_polaris {- background-image: url([email protected]);- -webkit-background-size: 310px 31px;- background-size: 310px 31px;- }-}\ No newline at end of filediff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/polaris/polaris.png b/web/ext/ui/iCheck-1.0.2-patch/skins/polaris/polaris.pngdeleted file mode 100644index 60c14e6a8..000000000Binary files a/web/ext/ui/iCheck-1.0.2-patch/skins/polaris/polaris.png and /dev/null differdiff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/polaris/[email protected] b/web/ext/ui/iCheck-1.0.2-patch/skins/polaris/[email protected]deleted file mode 100644index c75b82695..000000000Binary files a/web/ext/ui/iCheck-1.0.2-patch/skins/polaris/[email protected] and /dev/null differdiff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/square/grey.css b/web/ext/ui/iCheck-1.0.2-patch/skins/square/grey.cssdeleted file mode 100644index 909db1ab7..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/skins/square/grey.css+++ /dev/null@@ -1,59 +0,0 @@-/* iCheck plugin Square skin, grey------------------------------------ */-.icheckbox_square-grey,-.iradio_square-grey {- display: inline-block;- *display: inline;- vertical-align: middle;- margin: 0;- padding: 0;- width: 22px;- height: 22px;- background: url(grey.png) no-repeat;- border: none;- cursor: pointer;-}--.icheckbox_square-grey {- background-position: 0 0;-}- .icheckbox_square-grey.hover {- background-position: -24px 0;- }- .icheckbox_square-grey.checked {- background-position: -48px 0;- }- .icheckbox_square-grey.disabled {- background-position: -72px 0;- cursor: default;- }- .icheckbox_square-grey.checked.disabled {- background-position: -96px 0;- }--.iradio_square-grey {- background-position: -120px 0;-}- .iradio_square-grey.hover {- background-position: -144px 0;- }- .iradio_square-grey.checked {- background-position: -168px 0;- }- .iradio_square-grey.disabled {- background-position: -192px 0;- cursor: default;- }- .iradio_square-grey.checked.disabled {- background-position: -216px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {- .icheckbox_square-grey,- .iradio_square-grey {- background-image: url([email protected]);- -webkit-background-size: 240px 24px;- background-size: 240px 24px;- }-}\ No newline at end of filediff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/square/grey.png b/web/ext/ui/iCheck-1.0.2-patch/skins/square/grey.pngdeleted file mode 100644index f69375854..000000000Binary files a/web/ext/ui/iCheck-1.0.2-patch/skins/square/grey.png and /dev/null differdiff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/square/[email protected] b/web/ext/ui/iCheck-1.0.2-patch/skins/square/[email protected]deleted file mode 100644index 5d6341c05..000000000Binary files a/web/ext/ui/iCheck-1.0.2-patch/skins/square/[email protected] and /dev/null differdiff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/square/orange.css b/web/ext/ui/iCheck-1.0.2-patch/skins/square/orange.cssdeleted file mode 100644index 55b458973..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/skins/square/orange.css+++ /dev/null@@ -1,59 +0,0 @@-/* iCheck plugin Square skin, orange------------------------------------ */-.icheckbox_square-orange,-.iradio_square-orange {- display: inline-block;- *display: inline;- vertical-align: middle;- margin: 0;- padding: 0;- width: 22px;- height: 22px;- background: url(orange.png) no-repeat;- border: none;- cursor: pointer;-}--.icheckbox_square-orange {- background-position: 0 0;-}- .icheckbox_square-orange.hover {- background-position: -24px 0;- }- .icheckbox_square-orange.checked {- background-position: -48px 0;- }- .icheckbox_square-orange.disabled {- background-position: -72px 0;- cursor: default;- }- .icheckbox_square-orange.checked.disabled {- background-position: -96px 0;- }--.iradio_square-orange {- background-position: -120px 0;-}- .iradio_square-orange.hover {- background-position: -144px 0;- }- .iradio_square-orange.checked {- background-position: -168px 0;- }- .iradio_square-orange.disabled {- background-position: -192px 0;- cursor: default;- }- .iradio_square-orange.checked.disabled {- background-position: -216px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {- .icheckbox_square-orange,- .iradio_square-orange {- background-image: url([email protected]);- -webkit-background-size: 240px 24px;- background-size: 240px 24px;- }-}\ No newline at end of filediff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/square/orange.png b/web/ext/ui/iCheck-1.0.2-patch/skins/square/orange.pngdeleted file mode 100644index 84608500a..000000000Binary files a/web/ext/ui/iCheck-1.0.2-patch/skins/square/orange.png and /dev/null differdiff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/square/[email protected] b/web/ext/ui/iCheck-1.0.2-patch/skins/square/[email protected]deleted file mode 100644index b1f231973..000000000Binary files a/web/ext/ui/iCheck-1.0.2-patch/skins/square/[email protected] and /dev/null differdiff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/square/red.css b/web/ext/ui/iCheck-1.0.2-patch/skins/square/red.cssdeleted file mode 100644index 43399b8e8..000000000--- a/web/ext/ui/iCheck-1.0.2-patch/skins/square/red.css+++ /dev/null@@ -1,59 +0,0 @@-/* iCheck plugin Square skin, red------------------------------------ */-.icheckbox_square-red,-.iradio_square-red {- display: inline-block;- *display: inline;- vertical-align: middle;- margin: 0;- padding: 0;- width: 22px;- height: 22px;- background: url(red.png) no-repeat;- border: none;- cursor: pointer;-}--.icheckbox_square-red {- background-position: 0 0;-}- .icheckbox_square-red.hover {- background-position: -24px 0;- }- .icheckbox_square-red.checked {- background-position: -48px 0;- }- .icheckbox_square-red.disabled {- background-position: -72px 0;- cursor: default;- }- .icheckbox_square-red.checked.disabled {- background-position: -96px 0;- }--.iradio_square-red {- background-position: -120px 0;-}- .iradio_square-red.hover {- background-position: -144px 0;- }- .iradio_square-red.checked {- background-position: -168px 0;- }- .iradio_square-red.disabled {- background-position: -192px 0;- cursor: default;- }- .iradio_square-red.checked.disabled {- background-position: -216px 0;- }--/* HiDPI support */-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {- .icheckbox_square-red,- .iradio_square-red {- background-image: url([email protected]);- -webkit-background-size: 240px 24px;- background-size: 240px 24px;- }-}\ No newline at end of filediff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/square/red.png b/web/ext/ui/iCheck-1.0.2-patch/skins/square/red.pngdeleted file mode 100644index 749675a97..000000000Binary files a/web/ext/ui/iCheck-1.0.2-patch/skins/square/red.png and /dev/null differdiff --git a/web/ext/ui/iCheck-1.0.2-patch/skins/square/[email protected] b/web/ext/ui/iCheck-1.0.2-patch/skins/square/[email protected]deleted file mode 100644index c05700a57..000000000Binary files a/web/ext/ui/iCheck-1.0.2-patch/skins/square/[email protected] and /dev/null differdiff --git a/web/ext/ui/jquery-ui-1.11.4/external/jquery/jquery.js b/web/ext/ui/jquery-ui-1.11.4/external/jquery/jquery.jsdeleted file mode 100644index c5c648255..000000000--- a/web/ext/ui/jquery-ui-1.11.4/external/jquery/jquery.js+++ /dev/null@@ -1,9789 +0,0 @@-/*!- * jQuery JavaScript Library v1.10.2- * 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-07-03T13:48Z- */-(function( window, undefined ) {--// Can't do this because several apps including ASP.NET trace-// the stack via arguments.caller.callee and Firefox dies if-// you try to trace through "use strict" call chains. (#13335)-// Support: Firefox 18+-//"use strict";-var- // The deferred used on DOM ready- readyList,-- // A central reference to the root jQuery(document)- rootjQuery,-- // Support: IE<10- // For `typeof xmlNode.method` instead of `xmlNode.method !== undefined`- core_strundefined = typeof undefined,-- // Use the correct document accordingly with window argument (sandbox)- location = window.location,- document = window.document,- docElem = document.documentElement,-- // Map over jQuery in case of overwrite- _jQuery = window.jQuery,-- // Map over the $ in case of overwrite- _$ = window.$,-- // [[Class]] -> type pairs- class2type = {},-- // List of deleted data cache ids, so we can reuse them- core_deletedIds = [],-- core_version = "1.10.2",-- // Save a reference to some core methods- core_concat = core_deletedIds.concat,- core_push = core_deletedIds.push,- core_slice = core_deletedIds.slice,- core_indexOf = core_deletedIds.indexOf,- core_toString = class2type.toString,- core_hasOwn = class2type.hasOwnProperty,- core_trim = core_version.trim,-- // Define a local copy of jQuery- jQuery = function( selector, context ) {- // The jQuery object is actually just the init constructor 'enhanced'- return new jQuery.fn.init( selector, context, rootjQuery );- },-- // Used for matching numbers- core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,-- // Used for splitting on whitespace- core_rnotwhite = /\S+/g,-- // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE)- rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,-- // A simple way to check for HTML strings- // Prioritize #id over <tag> to avoid XSS via location.hash (#9521)- // Strict HTML recognition (#11290: must start with <)- rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,-- // Match a standalone tag- rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,-- // JSON RegExp- rvalidchars = /^[\],:{}\s]*$/,- rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g,- rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,- rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,-- // Matches dashed string for camelizing- rmsPrefix = /^-ms-/,- rdashAlpha = /-([\da-z])/gi,-- // Used by jQuery.camelCase as callback to replace()- fcamelCase = function( all, letter ) {- return letter.toUpperCase();- },-- // The ready event handler- completed = function( event ) {-- // readyState === "complete" is good enough for us to call the dom ready in oldIE- if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) {- detach();- jQuery.ready();- }- },- // Clean-up method for dom ready events- detach = function() {- if ( document.addEventListener ) {- document.removeEventListener( "DOMContentLoaded", completed, false );- window.removeEventListener( "load", completed, false );-- } else {- document.detachEvent( "onreadystatechange", completed );- window.detachEvent( "onload", completed );- }- };--jQuery.fn = jQuery.prototype = {- // The current version of jQuery being used- jquery: core_version,-- constructor: jQuery,- init: function( selector, context, rootjQuery ) {- var match, elem;-- // HANDLE: $(""), $(null), $(undefined), $(false)- if ( !selector ) {- return this;- }-- // Handle HTML strings- if ( typeof selector === "string" ) {- if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) {- // Assume that strings that start and end with <> are HTML and skip the regex check- match = [ null, selector, null ];-- } else {- match = rquickExpr.exec( selector );- }-- // Match html or make sure no context is specified for #id- if ( match && (match[1] || !context) ) {-- // HANDLE: $(html) -> $(array)- if ( match[1] ) {- context = context instanceof jQuery ? context[0] : context;-- // scripts is true for back-compat- jQuery.merge( this, jQuery.parseHTML(- match[1],- context && context.nodeType ? context.ownerDocument || context : document,- true- ) );-- // HANDLE: $(html, props)- if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) {- for ( match in context ) {- // Properties of context are called as methods if possible- if ( jQuery.isFunction( this[ match ] ) ) {- this[ match ]( context[ match ] );-- // ...and otherwise set as attributes- } else {- this.attr( match, context[ match ] );- }- }- }-- return this;-- // HANDLE: $(#id)- } else {- elem = document.getElementById( match[2] );-- // Check parentNode to catch when Blackberry 4.6 returns- // nodes that are no longer in the document #6963- if ( elem && elem.parentNode ) {- // Handle the case where IE and Opera return items- // by name instead of ID- if ( elem.id !== match[2] ) {- return rootjQuery.find( selector );- }-- // Otherwise, we inject the element directly into the jQuery object- this.length = 1;- this[0] = elem;- }-- this.context = document;- this.selector = selector;- return this;- }-- // HANDLE: $(expr, $(...))- } else if ( !context || context.jquery ) {- return ( context || rootjQuery ).find( selector );-- // HANDLE: $(expr, context)- // (which is just equivalent to: $(context).find(expr)- } else {- return this.constructor( context ).find( selector );- }-- // HANDLE: $(DOMElement)- } else if ( selector.nodeType ) {- this.context = this[0] = selector;- this.length = 1;- return this;-- // HANDLE: $(function)- // Shortcut for document ready- } else if ( jQuery.isFunction( selector ) ) {- return rootjQuery.ready( selector );- }-- if ( selector.selector !== undefined ) {- this.selector = selector.selector;- this.context = selector.context;- }-- return jQuery.makeArray( selector, this );- },-- // Start with an empty selector- selector: "",-- // The default length of a jQuery object is 0- length: 0,-- toArray: function() {- return core_slice.call( this );- },-- // Get the Nth element in the matched element set OR- // Get the whole matched element set as a clean array- get: function( num ) {- return num == null ?-- // Return a 'clean' array- this.toArray() :-- // Return just the object- ( num < 0 ? this[ this.length + num ] : this[ num ] );- },-- // Take an array of elements and push it onto the stack- // (returning the new matched element set)- pushStack: function( elems ) {-- // Build a new jQuery matched element set- var ret = jQuery.merge( this.constructor(), elems );-- // Add the old object onto the stack (as a reference)- ret.prevObject = this;- ret.context = this.context;-- // Return the newly-formed element set- return ret;- },-- // Execute a callback for every element in the matched set.- // (You can seed the arguments with an array of args, but this is- // only used internally.)- each: function( callback, args ) {- return jQuery.each( this, callback, args );- },-- ready: function( fn ) {- // Add the callback- jQuery.ready.promise().done( fn );-- return this;- },-- slice: function() {- return this.pushStack( core_slice.apply( this, arguments ) );- },-- first: function() {- return this.eq( 0 );- },-- last: function() {- return this.eq( -1 );- },-- eq: function( i ) {- var len = this.length,- j = +i + ( i < 0 ? len : 0 );- return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] );- },-- map: function( callback ) {- return this.pushStack( jQuery.map(this, function( elem, i ) {- return callback.call( elem, i, elem );- }));- },-- end: function() {- return this.prevObject || this.constructor(null);- },-- // For internal use only.- // Behaves like an Array's method, not like a jQuery method.- push: core_push,- sort: [].sort,- splice: [].splice-};--// Give the init function the jQuery prototype for later instantiation-jQuery.fn.init.prototype = jQuery.fn;--jQuery.extend = jQuery.fn.extend = function() {- var src, copyIsArray, copy, name, options, clone,- target = arguments[0] || {},- i = 1,- length = arguments.length,- deep = false;-- // Handle a deep copy situation- if ( typeof target === "boolean" ) {- deep = target;- target = arguments[1] || {};- // skip the boolean and the target- i = 2;- }-- // Handle case when target is a string or something (possible in deep copy)- if ( typeof target !== "object" && !jQuery.isFunction(target) ) {- target = {};- }-- // extend jQuery itself if only one argument is passed- if ( length === i ) {- target = this;- --i;- }-- for ( ; i < length; i++ ) {- // Only deal with non-null/undefined values- if ( (options = arguments[ i ]) != null ) {- // Extend the base object- for ( name in options ) {- src = target[ name ];- copy = options[ name ];-- // Prevent never-ending loop- if ( target === copy ) {- continue;- }-- // Recurse if we're merging plain objects or arrays- if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) {- if ( copyIsArray ) {- copyIsArray = false;- clone = src && jQuery.isArray(src) ? src : [];-- } else {- clone = src && jQuery.isPlainObject(src) ? src : {};- }-- // Never move original objects, clone them- target[ name ] = jQuery.extend( deep, clone, copy );-- // Don't bring in undefined values- } else if ( copy !== undefined ) {- target[ name ] = copy;- }- }- }- }-- // Return the modified object- return target;-};--jQuery.extend({- // Unique for each copy of jQuery on the page- // Non-digits removed to match rinlinejQuery- expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ),-- noConflict: function( deep ) {- if ( window.$ === jQuery ) {- window.$ = _$;- }-- if ( deep && window.jQuery === jQuery ) {- window.jQuery = _jQuery;- }-- return jQuery;- },-- // Is the DOM ready to be used? Set to true once it occurs.- isReady: false,-- // A counter to track how many items to wait for before- // the ready event fires. See #6781- readyWait: 1,-- // Hold (or release) the ready event- holdReady: function( hold ) {- if ( hold ) {- jQuery.readyWait++;- } else {- jQuery.ready( true );- }- },-- // Handle when the DOM is ready- ready: function( wait ) {-- // Abort if there are pending holds or we're already ready- if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {- return;- }-- // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).- if ( !document.body ) {- return setTimeout( jQuery.ready );- }-- // Remember that the DOM is ready- jQuery.isReady = true;-- // If a normal DOM Ready event fired, decrement, and wait if need be- if ( wait !== true && --jQuery.readyWait > 0 ) {- return;- }-- // If there are functions bound, to execute- readyList.resolveWith( document, [ jQuery ] );-- // Trigger any bound ready events- if ( jQuery.fn.trigger ) {- jQuery( document ).trigger("ready").off("ready");- }- },-- // See test/unit/core.js for details concerning isFunction.- // Since version 1.3, DOM methods and functions like alert- // aren't supported. They return false on IE (#2968).- isFunction: function( obj ) {- return jQuery.type(obj) === "function";- },-- isArray: Array.isArray || function( obj ) {- return jQuery.type(obj) === "array";- },-- isWindow: function( obj ) {- /* jshint eqeqeq: false */- return obj != null && obj == obj.window;- },-- isNumeric: function( obj ) {- return !isNaN( parseFloat(obj) ) && isFinite( obj );- },-- type: function( obj ) {- if ( obj == null ) {- return String( obj );- }- return typeof obj === "object" || typeof obj === "function" ?- class2type[ core_toString.call(obj) ] || "object" :- typeof obj;- },-- isPlainObject: function( obj ) {- var key;-- // Must be an Object.- // Because of IE, we also have to check the presence of the constructor property.- // Make sure that DOM nodes and window objects don't pass through, as well- if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {- return false;- }-- try {- // Not own constructor property must be Object- if ( obj.constructor &&- !core_hasOwn.call(obj, "constructor") &&- !core_hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) {- return false;- }- } catch ( e ) {- // IE8,9 Will throw exceptions on certain host objects #9897- return false;- }-- // Support: IE<9- // Handle iteration over inherited properties before own properties.- if ( jQuery.support.ownLast ) {- for ( key in obj ) {- return core_hasOwn.call( obj, key );- }- }-- // Own properties are enumerated firstly, so to speed up,- // if last one is own, then all properties are own.- for ( key in obj ) {}-- return key === undefined || core_hasOwn.call( obj, key );- },-- isEmptyObject: function( obj ) {- var name;- for ( name in obj ) {- return false;- }- return true;- },-- error: function( msg ) {- throw new Error( msg );- },-- // data: string of html- // context (optional): If specified, the fragment will be created in this context, defaults to document- // keepScripts (optional): If true, will include scripts passed in the html string- parseHTML: function( data, context, keepScripts ) {- if ( !data || typeof data !== "string" ) {- return null;- }- if ( typeof context === "boolean" ) {- keepScripts = context;- context = false;- }- context = context || document;-- var parsed = rsingleTag.exec( data ),- scripts = !keepScripts && [];-- // Single tag- if ( parsed ) {- return [ context.createElement( parsed[1] ) ];- }-- parsed = jQuery.buildFragment( [ data ], context, scripts );- if ( scripts ) {- jQuery( scripts ).remove();- }- return jQuery.merge( [], parsed.childNodes );- },-- parseJSON: function( data ) {- // Attempt to parse using the native JSON parser first- if ( window.JSON && window.JSON.parse ) {- return window.JSON.parse( data );- }-- if ( data === null ) {- return data;- }-- if ( typeof data === "string" ) {-- // Make sure leading/trailing whitespace is removed (IE can't handle it)- data = jQuery.trim( data );-- if ( data ) {- // Make sure the incoming data is actual JSON- // Logic borrowed from http://json.org/json2.js- if ( rvalidchars.test( data.replace( rvalidescape, "@" )- .replace( rvalidtokens, "]" )- .replace( rvalidbraces, "")) ) {-- return ( new Function( "return " + data ) )();- }- }- }-- jQuery.error( "Invalid JSON: " + data );- },-- // Cross-browser xml parsing- parseXML: function( data ) {- var xml, tmp;- if ( !data || typeof data !== "string" ) {- return null;- }- try {- if ( window.DOMParser ) { // Standard- tmp = new DOMParser();- xml = tmp.parseFromString( data , "text/xml" );- } else { // IE- xml = new ActiveXObject( "Microsoft.XMLDOM" );- xml.async = "false";- xml.loadXML( data );- }- } catch( e ) {- xml = undefined;- }- if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) {- jQuery.error( "Invalid XML: " + data );- }- return xml;- },-- noop: function() {},-- // Evaluates a script in a global context- // Workarounds based on findings by Jim Driscoll- // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context- globalEval: function( data ) {- if ( data && jQuery.trim( data ) ) {- // We use execScript on Internet Explorer- // We use an anonymous function so that context is window- // rather than jQuery in Firefox- ( window.execScript || function( data ) {- window[ "eval" ].call( window, data );- } )( data );- }- },-- // Convert dashed to camelCase; used by the css and data modules- // Microsoft forgot to hump their vendor prefix (#9572)- camelCase: function( string ) {- return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );- },-- nodeName: function( elem, name ) {- return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();- },-- // args is for internal usage only- each: function( obj, callback, args ) {- var value,- i = 0,- length = obj.length,- isArray = isArraylike( obj );-- if ( args ) {- if ( isArray ) {- for ( ; i < length; i++ ) {- value = callback.apply( obj[ i ], args );-- if ( value === false ) {- break;- }- }- } else {- for ( i in obj ) {- value = callback.apply( obj[ i ], args );-- if ( value === false ) {- break;- }- }- }-- // A special, fast, case for the most common use of each- } else {- if ( isArray ) {- for ( ; i < length; i++ ) {- value = callback.call( obj[ i ], i, obj[ i ] );-- if ( value === false ) {- break;- }- }- } else {- for ( i in obj ) {- value = callback.call( obj[ i ], i, obj[ i ] );-- if ( value === false ) {- break;- }- }- }- }-- return obj;- },-- // Use native String.trim function wherever possible- trim: core_trim && !core_trim.call("\uFEFF\xA0") ?- function( text ) {- return text == null ?- "" :- core_trim.call( text );- } :-- // Otherwise use our own trimming functionality- function( text ) {- return text == null ?- "" :- ( text + "" ).replace( rtrim, "" );- },-- // results is for internal usage only- makeArray: function( arr, results ) {- var ret = results || [];-- if ( arr != null ) {- if ( isArraylike( Object(arr) ) ) {- jQuery.merge( ret,- typeof arr === "string" ?- [ arr ] : arr- );- } else {- core_push.call( ret, arr );- }- }-- return ret;- },-- inArray: function( elem, arr, i ) {- var len;-- if ( arr ) {- if ( core_indexOf ) {- return core_indexOf.call( arr, elem, i );- }-- len = arr.length;- i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0;-- for ( ; i < len; i++ ) {- // Skip accessing in sparse arrays- if ( i in arr && arr[ i ] === elem ) {- return i;- }- }- }-- return -1;- },-- merge: function( first, second ) {- var l = second.length,- i = first.length,- j = 0;-- if ( typeof l === "number" ) {- for ( ; j < l; j++ ) {- first[ i++ ] = second[ j ];- }- } else {- while ( second[j] !== undefined ) {- first[ i++ ] = second[ j++ ];- }- }-- first.length = i;-- return first;- },-- grep: function( elems, callback, inv ) {- var retVal,- ret = [],- i = 0,- length = elems.length;- inv = !!inv;-- // Go through the array, only saving the items- // that pass the validator function- for ( ; i < length; i++ ) {- retVal = !!callback( elems[ i ], i );- if ( inv !== retVal ) {- ret.push( elems[ i ] );- }- }-- return ret;- },-- // arg is for internal usage only- map: function( elems, callback, arg ) {- var value,- i = 0,- length = elems.length,- isArray = isArraylike( elems ),- ret = [];-- // Go through the array, translating each of the items to their- if ( isArray ) {- for ( ; i < length; i++ ) {- value = callback( elems[ i ], i, arg );-- if ( value != null ) {- ret[ ret.length ] = value;- }- }-- // Go through every key on the object,- } else {- for ( i in elems ) {- value = callback( elems[ i ], i, arg );-- if ( value != null ) {- ret[ ret.length ] = value;- }- }- }-- // Flatten any nested arrays- return core_concat.apply( [], ret );- },-- // A global GUID counter for objects- guid: 1,-- // Bind a function to a context, optionally partially applying any- // arguments.- proxy: function( fn, context ) {- var args, proxy, tmp;-- if ( typeof context === "string" ) {- tmp = fn[ context ];- context = fn;- fn = tmp;- }-- // Quick check to determine if target is callable, in the spec- // this throws a TypeError, but we will just return undefined.- if ( !jQuery.isFunction( fn ) ) {- return undefined;- }-- // Simulated bind- args = core_slice.call( arguments, 2 );- proxy = function() {- return fn.apply( context || this, args.concat( core_slice.call( arguments ) ) );- };-- // Set the guid of unique handler to the same of original handler, so it can be removed- proxy.guid = fn.guid = fn.guid || jQuery.guid++;-- return proxy;- },-- // Multifunctional method to get and set values of a collection- // The value/s can optionally be executed if it's a function- access: function( elems, fn, key, value, chainable, emptyGet, raw ) {- var i = 0,- length = elems.length,- bulk = key == null;-- // Sets many values- if ( jQuery.type( key ) === "object" ) {- chainable = true;- for ( i in key ) {- jQuery.access( elems, fn, i, key[i], true, emptyGet, raw );- }-- // Sets one value- } else if ( value !== undefined ) {- chainable = true;-- if ( !jQuery.isFunction( value ) ) {- raw = true;- }-- if ( bulk ) {- // Bulk operations run against the entire set- if ( raw ) {- fn.call( elems, value );- fn = null;-- // ...except when executing function values- } else {- bulk = fn;- fn = function( elem, key, value ) {- return bulk.call( jQuery( elem ), value );- };- }- }-- if ( fn ) {- for ( ; i < length; i++ ) {- fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) );- }- }- }-- return chainable ?- elems :-- // Gets- bulk ?- fn.call( elems ) :- length ? fn( elems[0], key ) : emptyGet;- },-- now: function() {- return ( new Date() ).getTime();- },-- // A method for quickly swapping in/out CSS properties to get correct calculations.- // Note: this method belongs to the css module but it's needed here for the support module.- // If support gets modularized, this method should be moved back to the css module.- swap: function( elem, options, callback, args ) {- var ret, name,- old = {};-- // Remember the old values, and insert the new ones- for ( name in options ) {- old[ name ] = elem.style[ name ];- elem.style[ name ] = options[ name ];- }-- ret = callback.apply( elem, args || [] );-- // Revert the old values- for ( name in options ) {- elem.style[ name ] = old[ name ];- }-- return ret;- }-});--jQuery.ready.promise = function( obj ) {- if ( !readyList ) {-- readyList = jQuery.Deferred();-- // Catch cases where $(document).ready() is called after the browser event has already occurred.- // we once tried to use readyState "interactive" here, but it caused issues like the one- // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15- if ( document.readyState === "complete" ) {- // Handle it asynchronously to allow scripts the opportunity to delay ready- setTimeout( jQuery.ready );-- // Standards-based browsers support DOMContentLoaded- } else if ( document.addEventListener ) {- // Use the handy event callback- document.addEventListener( "DOMContentLoaded", completed, false );-- // A fallback to window.onload, that will always work- window.addEventListener( "load", completed, false );-- // If IE event model is used- } else {- // Ensure firing before onload, maybe late but safe also for iframes- document.attachEvent( "onreadystatechange", completed );-- // A fallback to window.onload, that will always work- window.attachEvent( "onload", completed );-- // If IE and not a frame- // continually check to see if the document is ready- var top = false;-- try {- top = window.frameElement == null && document.documentElement;- } catch(e) {}-- if ( top && top.doScroll ) {- (function doScrollCheck() {- if ( !jQuery.isReady ) {-- try {- // Use the trick by Diego Perini- // http://javascript.nwbox.com/IEContentLoaded/- top.doScroll("left");- } catch(e) {- return setTimeout( doScrollCheck, 50 );- }-- // detach all dom ready events- detach();-- // and execute any waiting functions- jQuery.ready();- }- })();- }- }- }- return readyList.promise( obj );-};--// Populate the class2type map-jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) {- class2type[ "[object " + name + "]" ] = name.toLowerCase();-});--function isArraylike( obj ) {- var length = obj.length,- type = jQuery.type( obj );-- if ( jQuery.isWindow( obj ) ) {- return false;- }-- if ( obj.nodeType === 1 && length ) {- return true;- }-- return type === "array" || type !== "function" &&- ( length === 0 ||- typeof length === "number" && length > 0 && ( length - 1 ) in obj );-}--// All jQuery objects should point back to these-rootjQuery = jQuery(document);-/*!- * Sizzle CSS Selector Engine v1.10.2- * http://sizzlejs.com/- *- * Copyright 2013 jQuery Foundation, Inc. and other contributors- * Released under the MIT license- * http://jquery.org/license- *- * Date: 2013-07-03- */-(function( window, undefined ) {--var i,- support,- cachedruns,- Expr,- getText,- isXML,- compile,- outermostContext,- sortInput,-- // Local document vars- setDocument,- document,- docElem,- documentIsHTML,- rbuggyQSA,- rbuggyMatches,- matches,- contains,-- // Instance-specific data- expando = "sizzle" + -(new Date()),- preferredDoc = window.document,- dirruns = 0,- done = 0,- classCache = createCache(),- tokenCache = createCache(),- compilerCache = createCache(),- hasDuplicate = false,- sortOrder = function( a, b ) {- if ( a === b ) {- hasDuplicate = true;- return 0;- }- return 0;- },-- // General-purpose constants- strundefined = typeof undefined,- MAX_NEGATIVE = 1 << 31,-- // Instance methods- hasOwn = ({}).hasOwnProperty,- arr = [],- pop = arr.pop,- push_native = arr.push,- push = arr.push,- slice = arr.slice,- // Use a stripped-down indexOf if we can't use a native one- indexOf = arr.indexOf || function( elem ) {- var i = 0,- len = this.length;- for ( ; i < len; i++ ) {- if ( this[i] === elem ) {- return i;- }- }- return -1;- },-- booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",-- // Regular expressions-- // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace- whitespace = "[\\x20\\t\\r\\n\\f]",- // http://www.w3.org/TR/css3-syntax/#characters- characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",-- // Loosely modeled on CSS identifier characters- // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors- // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier- identifier = characterEncoding.replace( "w", "w#" ),-- // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors- attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace +- "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]",-- // Prefer arguments quoted,- // then not containing pseudos/brackets,- // then attribute selectors/non-parenthetical expressions,- // then anything else- // These preferences are here to reduce the number of selectors- // needing tokenize in the PSEUDO preFilter- pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)",-- // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter- rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ),-- rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ),- rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ),-- rsibling = new RegExp( whitespace + "*[+~]" ),- rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*)" + whitespace + "*\\]", "g" ),-- rpseudo = new RegExp( pseudos ),- ridentifier = new RegExp( "^" + identifier + "$" ),-- matchExpr = {- "ID": new RegExp( "^#(" + characterEncoding + ")" ),- "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ),- "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ),- "ATTR": new RegExp( "^" + attributes ),- "PSEUDO": new RegExp( "^" + pseudos ),- "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace +- "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace +- "*(\\d+)|))" + whitespace + "*\\)|)", "i" ),- "bool": new RegExp( "^(?:" + booleans + ")$", "i" ),- // For use in libraries implementing .is()- // We use this for POS matching in `select`- "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +- whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" )- },-- rnative = /^[^{]+\{\s*\[native \w/,-- // Easily-parseable/retrievable ID or TAG or CLASS selectors- rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,-- rinputs = /^(?:input|select|textarea|button)$/i,- rheader = /^h\d$/i,-- rescape = /'|\\/g,-- // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters- runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ),- funescape = function( _, escaped, escapedWhitespace ) {- var high = "0x" + escaped - 0x10000;- // NaN means non-codepoint- // Support: Firefox- // Workaround erroneous numeric interpretation of +"0x"- return high !== high || escapedWhitespace ?- escaped :- // BMP codepoint- high < 0 ?- String.fromCharCode( high + 0x10000 ) :- // Supplemental Plane codepoint (surrogate pair)- String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );- };--// Optimize for push.apply( _, NodeList )-try {- push.apply(- (arr = slice.call( preferredDoc.childNodes )),- preferredDoc.childNodes- );- // Support: Android<4.0- // Detect silently failing push.apply- arr[ preferredDoc.childNodes.length ].nodeType;-} catch ( e ) {- push = { apply: arr.length ?-- // Leverage slice if possible- function( target, els ) {- push_native.apply( target, slice.call(els) );- } :-- // Support: IE<9- // Otherwise append directly- function( target, els ) {- var j = target.length,- i = 0;- // Can't trust NodeList.length- while ( (target[j++] = els[i++]) ) {}- target.length = j - 1;- }- };-}--function Sizzle( selector, context, results, seed ) {- var match, elem, m, nodeType,- // QSA vars- i, groups, old, nid, newContext, newSelector;-- if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) {- setDocument( context );- }-- context = context || document;- results = results || [];-- if ( !selector || typeof selector !== "string" ) {- return results;- }-- if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) {- return [];- }-- if ( documentIsHTML && !seed ) {-- // Shortcuts- if ( (match = rquickExpr.exec( selector )) ) {- // Speed-up: Sizzle("#ID")- if ( (m = match[1]) ) {- if ( nodeType === 9 ) {- elem = context.getElementById( m );- // Check parentNode to catch when Blackberry 4.6 returns- // nodes that are no longer in the document #6963- if ( elem && elem.parentNode ) {- // Handle the case where IE, Opera, and Webkit return items- // by name instead of ID- if ( elem.id === m ) {- results.push( elem );- return results;- }- } else {- return results;- }- } else {- // Context is not a document- if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) &&- contains( context, elem ) && elem.id === m ) {- results.push( elem );- return results;- }- }-- // Speed-up: Sizzle("TAG")- } else if ( match[2] ) {- push.apply( results, context.getElementsByTagName( selector ) );- return results;-- // Speed-up: Sizzle(".CLASS")- } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) {- push.apply( results, context.getElementsByClassName( m ) );- return results;- }- }-- // QSA path- if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) {- nid = old = expando;- newContext = context;- newSelector = nodeType === 9 && selector;-- // qSA works strangely on Element-rooted queries- // We can work around this by specifying an extra ID on the root- // and working up from there (Thanks to Andrew Dupont for the technique)- // IE 8 doesn't work on object elements- if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) {- groups = tokenize( selector );-- if ( (old = context.getAttribute("id")) ) {- nid = old.replace( rescape, "\\$&" );- } else {- context.setAttribute( "id", nid );- }- nid = "[id='" + nid + "'] ";-- i = groups.length;- while ( i-- ) {- groups[i] = nid + toSelector( groups[i] );- }- newContext = rsibling.test( selector ) && context.parentNode || context;- newSelector = groups.join(",");- }-- if ( newSelector ) {- try {- push.apply( results,- newContext.querySelectorAll( newSelector )- );- return results;- } catch(qsaError) {- } finally {- if ( !old ) {- context.removeAttribute("id");- }- }- }- }- }-- // All others- return select( selector.replace( rtrim, "$1" ), context, results, seed );-}--/**- * Create key-value caches of limited size- * @returns {Function(string, Object)} Returns the Object data after storing it on itself with- * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)- * deleting the oldest entry- */-function createCache() {- var keys = [];-- function cache( key, value ) {- // Use (key + " ") to avoid collision with native prototype properties (see Issue #157)- if ( keys.push( key += " " ) > Expr.cacheLength ) {- // Only keep the most recent entries- delete cache[ keys.shift() ];- }- return (cache[ key ] = value);- }- return cache;-}--/**- * Mark a function for special use by Sizzle- * @param {Function} fn The function to mark- */-function markFunction( fn ) {- fn[ expando ] = true;- return fn;-}--/**- * Support testing using an element- * @param {Function} fn Passed the created div and expects a boolean result- */-function assert( fn ) {- var div = document.createElement("div");-- try {- return !!fn( div );- } catch (e) {- return false;- } finally {- // Remove from its parent by default- if ( div.parentNode ) {- div.parentNode.removeChild( div );- }- // release memory in IE- div = null;- }-}--/**- * Adds the same handler for all of the specified attrs- * @param {String} attrs Pipe-separated list of attributes- * @param {Function} handler The method that will be applied- */-function addHandle( attrs, handler ) {- var arr = attrs.split("|"),- i = attrs.length;-- while ( i-- ) {- Expr.attrHandle[ arr[i] ] = handler;- }-}--/**- * Checks document order of two siblings- * @param {Element} a- * @param {Element} b- * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b- */-function siblingCheck( a, b ) {- var cur = b && a,- diff = cur && a.nodeType === 1 && b.nodeType === 1 &&- ( ~b.sourceIndex || MAX_NEGATIVE ) -- ( ~a.sourceIndex || MAX_NEGATIVE );-- // Use IE sourceIndex if available on both nodes- if ( diff ) {- return diff;- }-- // Check if b follows a- if ( cur ) {- while ( (cur = cur.nextSibling) ) {- if ( cur === b ) {- return -1;- }- }- }-- return a ? 1 : -1;-}--/**- * Returns a function to use in pseudos for input types- * @param {String} type- */-function createInputPseudo( type ) {- return function( elem ) {- var name = elem.nodeName.toLowerCase();- return name === "input" && elem.type === type;- };-}--/**- * Returns a function to use in pseudos for buttons- * @param {String} type- */-function createButtonPseudo( type ) {- return function( elem ) {- var name = elem.nodeName.toLowerCase();- return (name === "input" || name === "button") && elem.type === type;- };-}--/**- * Returns a function to use in pseudos for positionals- * @param {Function} fn- */-function createPositionalPseudo( fn ) {- return markFunction(function( argument ) {- argument = +argument;- return markFunction(function( seed, matches ) {- var j,- matchIndexes = fn( [], seed.length, argument ),- i = matchIndexes.length;-- // Match elements found at the specified indexes- while ( i-- ) {- if ( seed[ (j = matchIndexes[i]) ] ) {- seed[j] = !(matches[j] = seed[j]);- }- }- });- });-}--/**- * Detect xml- * @param {Element|Object} elem An element or a document- */-isXML = Sizzle.isXML = function( elem ) {- // documentElement is verified for cases where it doesn't yet exist- // (such as loading iframes in IE - #4833)- var documentElement = elem && (elem.ownerDocument || elem).documentElement;- return documentElement ? documentElement.nodeName !== "HTML" : false;-};--// Expose support vars for convenience-support = Sizzle.support = {};--/**- * Sets document-related variables once based on the current document- * @param {Element|Object} [doc] An element or document object to use to set the document- * @returns {Object} Returns the current document- */-setDocument = Sizzle.setDocument = function( node ) {- var doc = node ? node.ownerDocument || node : preferredDoc,- parent = doc.defaultView;-- // If no document and documentElement is available, return- if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {- return document;- }-- // Set our document- document = doc;- docElem = doc.documentElement;-- // Support tests- documentIsHTML = !isXML( doc );-- // Support: IE>8- // If iframe document is assigned to "document" variable and if iframe has been reloaded,- // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936- // IE6-8 do not support the defaultView property so parent will be undefined- if ( parent && parent.attachEvent && parent !== parent.top ) {- parent.attachEvent( "onbeforeunload", function() {- setDocument();- });- }-- /* Attributes- ---------------------------------------------------------------------- */-- // Support: IE<8- // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans)- support.attributes = assert(function( div ) {- div.className = "i";- return !div.getAttribute("className");- });-- /* getElement(s)By*- ---------------------------------------------------------------------- */-- // Check if getElementsByTagName("*") returns only elements- support.getElementsByTagName = assert(function( div ) {- div.appendChild( doc.createComment("") );- return !div.getElementsByTagName("*").length;- });-- // Check if getElementsByClassName can be trusted- support.getElementsByClassName = assert(function( div ) {- div.innerHTML = "<div class='a'></div><div class='a i'></div>";-- // Support: Safari<4- // Catch class over-caching- div.firstChild.className = "i";- // Support: Opera<10- // Catch gEBCN failure to find non-leading classes- return div.getElementsByClassName("i").length === 2;- });-- // Support: IE<10- // Check if getElementById returns elements by name- // The broken getElementById methods don't pick up programatically-set names,- // so use a roundabout getElementsByName test- support.getById = assert(function( div ) {- docElem.appendChild( div ).id = expando;- return !doc.getElementsByName || !doc.getElementsByName( expando ).length;- });-- // ID find and filter- if ( support.getById ) {- Expr.find["ID"] = function( id, context ) {- if ( typeof context.getElementById !== strundefined && documentIsHTML ) {- var m = context.getElementById( id );- // Check parentNode to catch when Blackberry 4.6 returns- // nodes that are no longer in the document #6963- return m && m.parentNode ? [m] : [];- }- };- Expr.filter["ID"] = function( id ) {- var attrId = id.replace( runescape, funescape );- return function( elem ) {- return elem.getAttribute("id") === attrId;- };- };- } else {- // Support: IE6/7- // getElementById is not reliable as a find shortcut- delete Expr.find["ID"];-- Expr.filter["ID"] = function( id ) {- var attrId = id.replace( runescape, funescape );- return function( elem ) {- var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id");- return node && node.value === attrId;- };- };- }-- // Tag- Expr.find["TAG"] = support.getElementsByTagName ?- function( tag, context ) {- if ( typeof context.getElementsByTagName !== strundefined ) {- return context.getElementsByTagName( tag );- }- } :- function( tag, context ) {- var elem,- tmp = [],- i = 0,- results = context.getElementsByTagName( tag );-- // Filter out possible comments- if ( tag === "*" ) {- while ( (elem = results[i++]) ) {- if ( elem.nodeType === 1 ) {- tmp.push( elem );- }- }-- return tmp;- }- return results;- };-- // Class- Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) {- if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) {- return context.getElementsByClassName( className );- }- };-- /* QSA/matchesSelector- ---------------------------------------------------------------------- */-- // QSA and matchesSelector support-- // matchesSelector(:active) reports false when true (IE9/Opera 11.5)- rbuggyMatches = [];-- // qSa(:focus) reports false when true (Chrome 21)- // We allow this because of a bug in IE8/9 that throws an error- // whenever `document.activeElement` is accessed on an iframe- // So, we allow :focus to pass through QSA all the time to avoid the IE error- // See http://bugs.jquery.com/ticket/13378- rbuggyQSA = [];-- if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) {- // Build QSA regex- // Regex strategy adopted from Diego Perini- assert(function( div ) {- // Select is set to empty string on purpose- // This is to test IE's treatment of not explicitly- // setting a boolean content attribute,- // since its presence should be enough- // http://bugs.jquery.com/ticket/12359- div.innerHTML = "<select><option selected=''></option></select>";-- // Support: IE8- // Boolean attributes and "value" are not treated correctly- if ( !div.querySelectorAll("[selected]").length ) {- rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" );- }-- // Webkit/Opera - :checked should return selected option elements- // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked- // IE8 throws error here and will not see later tests- if ( !div.querySelectorAll(":checked").length ) {- rbuggyQSA.push(":checked");- }- });-- assert(function( div ) {-- // Support: Opera 10-12/IE8- // ^= $= *= and empty values- // Should not select anything- // Support: Windows 8 Native Apps- // The type attribute is restricted during .innerHTML assignment- var input = doc.createElement("input");- input.setAttribute( "type", "hidden" );- div.appendChild( input ).setAttribute( "t", "" );-- if ( div.querySelectorAll("[t^='']").length ) {- rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" );- }-- // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)- // IE8 throws error here and will not see later tests- if ( !div.querySelectorAll(":enabled").length ) {- rbuggyQSA.push( ":enabled", ":disabled" );- }-- // Opera 10-11 does not throw on post-comma invalid pseudos- div.querySelectorAll("*,:x");- rbuggyQSA.push(",.*:");- });- }-- if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector ||- docElem.mozMatchesSelector ||- docElem.oMatchesSelector ||- docElem.msMatchesSelector) )) ) {-- assert(function( div ) {- // Check to see if it's possible to do matchesSelector- // on a disconnected node (IE 9)- support.disconnectedMatch = matches.call( div, "div" );-- // This should fail with an exception- // Gecko does not error, returns false instead- matches.call( div, "[s!='']:x" );- rbuggyMatches.push( "!=", pseudos );- });- }-- rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") );- rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") );-- /* Contains- ---------------------------------------------------------------------- */-- // Element contains another- // Purposefully does not implement inclusive descendent- // As in, an element does not contain itself- contains = rnative.test( docElem.contains ) || docElem.compareDocumentPosition ?- function( a, b ) {- var adown = a.nodeType === 9 ? a.documentElement : a,- bup = b && b.parentNode;- return a === bup || !!( bup && bup.nodeType === 1 && (- adown.contains ?- adown.contains( bup ) :- a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16- ));- } :- function( a, b ) {- if ( b ) {- while ( (b = b.parentNode) ) {- if ( b === a ) {- return true;- }- }- }- return false;- };-- /* Sorting- ---------------------------------------------------------------------- */-- // Document order sorting- sortOrder = docElem.compareDocumentPosition ?- function( a, b ) {-- // Flag for duplicate removal- if ( a === b ) {- hasDuplicate = true;- return 0;- }-- var compare = b.compareDocumentPosition && a.compareDocumentPosition && a.compareDocumentPosition( b );-- if ( compare ) {- // Disconnected nodes- if ( compare & 1 ||- (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) {-- // Choose the first element that is related to our preferred document- if ( a === doc || contains(preferredDoc, a) ) {- return -1;- }- if ( b === doc || contains(preferredDoc, b) ) {- return 1;- }-- // Maintain original order- return sortInput ?- ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :- 0;- }-- return compare & 4 ? -1 : 1;- }-- // Not directly comparable, sort on existence of method- return a.compareDocumentPosition ? -1 : 1;- } :- function( a, b ) {- var cur,- i = 0,- aup = a.parentNode,- bup = b.parentNode,- ap = [ a ],- bp = [ b ];-- // Exit early if the nodes are identical- if ( a === b ) {- hasDuplicate = true;- return 0;-- // Parentless nodes are either documents or disconnected- } else if ( !aup || !bup ) {- return a === doc ? -1 :- b === doc ? 1 :- aup ? -1 :- bup ? 1 :- sortInput ?- ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :- 0;-- // If the nodes are siblings, we can do a quick check- } else if ( aup === bup ) {- return siblingCheck( a, b );- }-- // Otherwise we need full lists of their ancestors for comparison- cur = a;- while ( (cur = cur.parentNode) ) {- ap.unshift( cur );- }- cur = b;- while ( (cur = cur.parentNode) ) {- bp.unshift( cur );- }-- // Walk down the tree looking for a discrepancy- while ( ap[i] === bp[i] ) {- i++;- }-- return i ?- // Do a sibling check if the nodes have a common ancestor- siblingCheck( ap[i], bp[i] ) :-- // Otherwise nodes in our document sort first- ap[i] === preferredDoc ? -1 :- bp[i] === preferredDoc ? 1 :- 0;- };-- return doc;-};--Sizzle.matches = function( expr, elements ) {- return Sizzle( expr, null, null, elements );-};--Sizzle.matchesSelector = function( elem, expr ) {- // Set document vars if needed- if ( ( elem.ownerDocument || elem ) !== document ) {- setDocument( elem );- }-- // Make sure that attribute selectors are quoted- expr = expr.replace( rattributeQuotes, "='$1']" );-- if ( support.matchesSelector && documentIsHTML &&- ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&- ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {-- try {- var ret = matches.call( elem, expr );-- // IE 9's matchesSelector returns false on disconnected nodes- if ( ret || support.disconnectedMatch ||- // As well, disconnected nodes are said to be in a document- // fragment in IE 9- elem.document && elem.document.nodeType !== 11 ) {- return ret;- }- } catch(e) {}- }-- return Sizzle( expr, document, null, [elem] ).length > 0;-};--Sizzle.contains = function( context, elem ) {- // Set document vars if needed- if ( ( context.ownerDocument || context ) !== document ) {- setDocument( context );- }- return contains( context, elem );-};--Sizzle.attr = function( elem, name ) {- // Set document vars if needed- if ( ( elem.ownerDocument || elem ) !== document ) {- setDocument( elem );- }-- var fn = Expr.attrHandle[ name.toLowerCase() ],- // Don't get fooled by Object.prototype properties (jQuery #13807)- val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?- fn( elem, name, !documentIsHTML ) :- undefined;-- return val === undefined ?- support.attributes || !documentIsHTML ?- elem.getAttribute( name ) :- (val = elem.getAttributeNode(name)) && val.specified ?- val.value :- null :- val;-};--Sizzle.error = function( msg ) {- throw new Error( "Syntax error, unrecognized expression: " + msg );-};--/**- * Document sorting and removing duplicates- * @param {ArrayLike} results- */-Sizzle.uniqueSort = function( results ) {- var elem,- duplicates = [],- j = 0,- i = 0;-- // Unless we *know* we can detect duplicates, assume their presence- hasDuplicate = !support.detectDuplicates;- sortInput = !support.sortStable && results.slice( 0 );- results.sort( sortOrder );-- if ( hasDuplicate ) {- while ( (elem = results[i++]) ) {- if ( elem === results[ i ] ) {- j = duplicates.push( i );- }- }- while ( j-- ) {- results.splice( duplicates[ j ], 1 );- }- }-- return results;-};--/**- * Utility function for retrieving the text value of an array of DOM nodes- * @param {Array|Element} elem- */-getText = Sizzle.getText = function( elem ) {- var node,- ret = "",- i = 0,- nodeType = elem.nodeType;-- if ( !nodeType ) {- // If no nodeType, this is expected to be an array- for ( ; (node = elem[i]); i++ ) {- // Do not traverse comment nodes- ret += getText( node );- }- } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {- // Use textContent for elements- // innerText usage removed for consistency of new lines (see #11153)- if ( typeof elem.textContent === "string" ) {- return elem.textContent;- } else {- // Traverse its children- for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {- ret += getText( elem );- }- }- } else if ( nodeType === 3 || nodeType === 4 ) {- return elem.nodeValue;- }- // Do not include comment or processing instruction nodes-- return ret;-};--Expr = Sizzle.selectors = {-- // Can be adjusted by the user- cacheLength: 50,-- createPseudo: markFunction,-- match: matchExpr,-- attrHandle: {},-- find: {},-- relative: {- ">": { dir: "parentNode", first: true },- " ": { dir: "parentNode" },- "+": { dir: "previousSibling", first: true },- "~": { dir: "previousSibling" }- },-- preFilter: {- "ATTR": function( match ) {- match[1] = match[1].replace( runescape, funescape );-- // Move the given value to match[3] whether quoted or unquoted- match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape );-- if ( match[2] === "~=" ) {- match[3] = " " + match[3] + " ";- }-- return match.slice( 0, 4 );- },-- "CHILD": function( match ) {- /* matches from matchExpr["CHILD"]- 1 type (only|nth|...)- 2 what (child|of-type)- 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...)- 4 xn-component of xn+y argument ([+-]?\d*n|)- 5 sign of xn-component- 6 x of xn-component- 7 sign of y-component- 8 y of y-component- */- match[1] = match[1].toLowerCase();-- if ( match[1].slice( 0, 3 ) === "nth" ) {- // nth-* requires argument- if ( !match[3] ) {- Sizzle.error( match[0] );- }-- // numeric x and y parameters for Expr.filter.CHILD- // remember that false/true cast respectively to 0/1- match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) );- match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" );-- // other types prohibit arguments- } else if ( match[3] ) {- Sizzle.error( match[0] );- }-- return match;- },-- "PSEUDO": function( match ) {- var excess,- unquoted = !match[5] && match[2];-- if ( matchExpr["CHILD"].test( match[0] ) ) {- return null;- }-- // Accept quoted arguments as-is- if ( match[3] && match[4] !== undefined ) {- match[2] = match[4];-- // Strip excess characters from unquoted arguments- } else if ( unquoted && rpseudo.test( unquoted ) &&- // Get excess from tokenize (recursively)- (excess = tokenize( unquoted, true )) &&- // advance to the next closing parenthesis- (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) {-- // excess is a negative index- match[0] = match[0].slice( 0, excess );- match[2] = unquoted.slice( 0, excess );- }-- // Return only captures needed by the pseudo filter method (type and argument)- return match.slice( 0, 3 );- }- },-- filter: {-- "TAG": function( nodeNameSelector ) {- var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();- return nodeNameSelector === "*" ?- function() { return true; } :- function( elem ) {- return elem.nodeName && elem.nodeName.toLowerCase() === nodeName;- };- },-- "CLASS": function( className ) {- var pattern = classCache[ className + " " ];-- return pattern ||- (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) &&- classCache( className, function( elem ) {- return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" );- });- },-- "ATTR": function( name, operator, check ) {- return function( elem ) {- var result = Sizzle.attr( elem, name );-- if ( result == null ) {- return operator === "!=";- }- if ( !operator ) {- return true;- }-- result += "";-- return operator === "=" ? result === check :- operator === "!=" ? result !== check :- operator === "^=" ? check && result.indexOf( check ) === 0 :- operator === "*=" ? check && result.indexOf( check ) > -1 :- operator === "$=" ? check && result.slice( -check.length ) === check :- operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 :- operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" :- false;- };- },-- "CHILD": function( type, what, argument, first, last ) {- var simple = type.slice( 0, 3 ) !== "nth",- forward = type.slice( -4 ) !== "last",- ofType = what === "of-type";-- return first === 1 && last === 0 ?-- // Shortcut for :nth-*(n)- function( elem ) {- return !!elem.parentNode;- } :-- function( elem, context, xml ) {- var cache, outerCache, node, diff, nodeIndex, start,- dir = simple !== forward ? "nextSibling" : "previousSibling",- parent = elem.parentNode,- name = ofType && elem.nodeName.toLowerCase(),- useCache = !xml && !ofType;-- if ( parent ) {-- // :(first|last|only)-(child|of-type)- if ( simple ) {- while ( dir ) {- node = elem;- while ( (node = node[ dir ]) ) {- if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) {- return false;- }- }- // Reverse direction for :only-* (if we haven't yet done so)- start = dir = type === "only" && !start && "nextSibling";- }- return true;- }-- start = [ forward ? parent.firstChild : parent.lastChild ];-- // non-xml :nth-child(...) stores cache data on `parent`- if ( forward && useCache ) {- // Seek `elem` from a previously-cached index- outerCache = parent[ expando ] || (parent[ expando ] = {});- cache = outerCache[ type ] || [];- nodeIndex = cache[0] === dirruns && cache[1];- diff = cache[0] === dirruns && cache[2];- node = nodeIndex && parent.childNodes[ nodeIndex ];-- while ( (node = ++nodeIndex && node && node[ dir ] ||-- // Fallback to seeking `elem` from the start- (diff = nodeIndex = 0) || start.pop()) ) {-- // When found, cache indexes on `parent` and break- if ( node.nodeType === 1 && ++diff && node === elem ) {- outerCache[ type ] = [ dirruns, nodeIndex, diff ];- break;- }- }-- // Use previously-cached element index if available- } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) {- diff = cache[1];-- // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...)- } else {- // Use the same loop as above to seek `elem` from the start- while ( (node = ++nodeIndex && node && node[ dir ] ||- (diff = nodeIndex = 0) || start.pop()) ) {-- if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) {- // Cache the index of each encountered element- if ( useCache ) {- (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ];- }-- if ( node === elem ) {- break;- }- }- }- }-- // Incorporate the offset, then check against cycle size- diff -= last;- return diff === first || ( diff % first === 0 && diff / first >= 0 );- }- };- },-- "PSEUDO": function( pseudo, argument ) {- // pseudo-class names are case-insensitive- // http://www.w3.org/TR/selectors/#pseudo-classes- // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters- // Remember that setFilters inherits from pseudos- var args,- fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||- Sizzle.error( "unsupported pseudo: " + pseudo );-- // The user may use createPseudo to indicate that- // arguments are needed to create the filter function- // just as Sizzle does- if ( fn[ expando ] ) {- return fn( argument );- }-- // But maintain support for old signatures- if ( fn.length > 1 ) {- args = [ pseudo, pseudo, "", argument ];- return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?- markFunction(function( seed, matches ) {- var idx,- matched = fn( seed, argument ),- i = matched.length;- while ( i-- ) {- idx = indexOf.call( seed, matched[i] );- seed[ idx ] = !( matches[ idx ] = matched[i] );- }- }) :- function( elem ) {- return fn( elem, 0, args );- };- }-- return fn;- }- },-- pseudos: {- // Potentially complex pseudos- "not": markFunction(function( selector ) {- // Trim the selector passed to compile- // to avoid treating leading and trailing- // spaces as combinators- var input = [],- results = [],- matcher = compile( selector.replace( rtrim, "$1" ) );-- return matcher[ expando ] ?- markFunction(function( seed, matches, context, xml ) {- var elem,- unmatched = matcher( seed, null, xml, [] ),- i = seed.length;-- // Match elements unmatched by `matcher`- while ( i-- ) {- if ( (elem = unmatched[i]) ) {- seed[i] = !(matches[i] = elem);- }- }- }) :- function( elem, context, xml ) {- input[0] = elem;- matcher( input, null, xml, results );- return !results.pop();- };- }),-- "has": markFunction(function( selector ) {- return function( elem ) {- return Sizzle( selector, elem ).length > 0;- };- }),-- "contains": markFunction(function( text ) {- return function( elem ) {- return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1;- };- }),-- // "Whether an element is represented by a :lang() selector- // is based solely on the element's language value- // being equal to the identifier C,- // or beginning with the identifier C immediately followed by "-".- // The matching of C against the element's language value is performed case-insensitively.- // The identifier C does not have to be a valid language name."- // http://www.w3.org/TR/selectors/#lang-pseudo- "lang": markFunction( function( lang ) {- // lang value must be a valid identifier- if ( !ridentifier.test(lang || "") ) {- Sizzle.error( "unsupported lang: " + lang );- }- lang = lang.replace( runescape, funescape ).toLowerCase();- return function( elem ) {- var elemLang;- do {- if ( (elemLang = documentIsHTML ?- elem.lang :- elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) {-- elemLang = elemLang.toLowerCase();- return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0;- }- } while ( (elem = elem.parentNode) && elem.nodeType === 1 );- return false;- };- }),-- // Miscellaneous- "target": function( elem ) {- var hash = window.location && window.location.hash;- return hash && hash.slice( 1 ) === elem.id;- },-- "root": function( elem ) {- return elem === docElem;- },-- "focus": function( elem ) {- return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);- },-- // Boolean properties- "enabled": function( elem ) {- return elem.disabled === false;- },-- "disabled": function( elem ) {- return elem.disabled === true;- },-- "checked": function( elem ) {- // In CSS3, :checked should return both checked and selected elements- // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked- var nodeName = elem.nodeName.toLowerCase();- return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected);- },-- "selected": function( elem ) {- // Accessing this property makes selected-by-default- // options in Safari work properly- if ( elem.parentNode ) {- elem.parentNode.selectedIndex;- }-- return elem.selected === true;- },-- // Contents- "empty": function( elem ) {- // http://www.w3.org/TR/selectors/#empty-pseudo- // :empty is only affected by element nodes and content nodes(including text(3), cdata(4)),- // not comment, processing instructions, or others- // Thanks to Diego Perini for the nodeName shortcut- // Greater than "@" means alpha characters (specifically not starting with "#" or "?")- for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {- if ( elem.nodeName > "@" || elem.nodeType === 3 || elem.nodeType === 4 ) {- return false;- }- }- return true;- },-- "parent": function( elem ) {- return !Expr.pseudos["empty"]( elem );- },-- // Element/input types- "header": function( elem ) {- return rheader.test( elem.nodeName );- },-- "input": function( elem ) {- return rinputs.test( elem.nodeName );- },-- "button": function( elem ) {- var name = elem.nodeName.toLowerCase();- return name === "input" && elem.type === "button" || name === "button";- },-- "text": function( elem ) {- var attr;- // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc)- // use getAttribute instead to test this case- return elem.nodeName.toLowerCase() === "input" &&- elem.type === "text" &&- ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === elem.type );- },-- // Position-in-collection- "first": createPositionalPseudo(function() {- return [ 0 ];- }),-- "last": createPositionalPseudo(function( matchIndexes, length ) {- return [ length - 1 ];- }),-- "eq": createPositionalPseudo(function( matchIndexes, length, argument ) {- return [ argument < 0 ? argument + length : argument ];- }),-- "even": createPositionalPseudo(function( matchIndexes, length ) {- var i = 0;- for ( ; i < length; i += 2 ) {- matchIndexes.push( i );- }- return matchIndexes;- }),-- "odd": createPositionalPseudo(function( matchIndexes, length ) {- var i = 1;- for ( ; i < length; i += 2 ) {- matchIndexes.push( i );- }- return matchIndexes;- }),-- "lt": createPositionalPseudo(function( matchIndexes, length, argument ) {- var i = argument < 0 ? argument + length : argument;- for ( ; --i >= 0; ) {- matchIndexes.push( i );- }- return matchIndexes;- }),-- "gt": createPositionalPseudo(function( matchIndexes, length, argument ) {- var i = argument < 0 ? argument + length : argument;- for ( ; ++i < length; ) {- matchIndexes.push( i );- }- return matchIndexes;- })- }-};--Expr.pseudos["nth"] = Expr.pseudos["eq"];--// Add button/input type pseudos-for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {- Expr.pseudos[ i ] = createInputPseudo( i );-}-for ( i in { submit: true, reset: true } ) {- Expr.pseudos[ i ] = createButtonPseudo( i );-}--// Easy API for creating new setFilters-function setFilters() {}-setFilters.prototype = Expr.filters = Expr.pseudos;-Expr.setFilters = new setFilters();--function tokenize( selector, parseOnly ) {- var matched, match, tokens, type,- soFar, groups, preFilters,- cached = tokenCache[ selector + " " ];-- if ( cached ) {- return parseOnly ? 0 : cached.slice( 0 );- }-- soFar = selector;- groups = [];- preFilters = Expr.preFilter;-- while ( soFar ) {-- // Comma and first run- if ( !matched || (match = rcomma.exec( soFar )) ) {- if ( match ) {- // Don't consume trailing commas as valid- soFar = soFar.slice( match[0].length ) || soFar;- }- groups.push( tokens = [] );- }-- matched = false;-- // Combinators- if ( (match = rcombinators.exec( soFar )) ) {- matched = match.shift();- tokens.push({- value: matched,- // Cast descendant combinators to space- type: match[0].replace( rtrim, " " )- });- soFar = soFar.slice( matched.length );- }-- // Filters- for ( type in Expr.filter ) {- if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] ||- (match = preFilters[ type ]( match ))) ) {- matched = match.shift();- tokens.push({- value: matched,- type: type,- matches: match- });- soFar = soFar.slice( matched.length );- }- }-- if ( !matched ) {- break;- }- }-- // Return the length of the invalid excess- // if we're just parsing- // Otherwise, throw an error or return tokens- return parseOnly ?- soFar.length :- soFar ?- Sizzle.error( selector ) :- // Cache the tokens- tokenCache( selector, groups ).slice( 0 );-}--function toSelector( tokens ) {- var i = 0,- len = tokens.length,- selector = "";- for ( ; i < len; i++ ) {- selector += tokens[i].value;- }- return selector;-}--function addCombinator( matcher, combinator, base ) {- var dir = combinator.dir,- checkNonElements = base && dir === "parentNode",- doneName = done++;-- return combinator.first ?- // Check against closest ancestor/preceding element- function( elem, context, xml ) {- while ( (elem = elem[ dir ]) ) {- if ( elem.nodeType === 1 || checkNonElements ) {- return matcher( elem, context, xml );- }- }- } :-- // Check against all ancestor/preceding elements- function( elem, context, xml ) {- var data, cache, outerCache,- dirkey = dirruns + " " + doneName;-- // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching- if ( xml ) {- while ( (elem = elem[ dir ]) ) {- if ( elem.nodeType === 1 || checkNonElements ) {- if ( matcher( elem, context, xml ) ) {- return true;- }- }- }- } else {- while ( (elem = elem[ dir ]) ) {- if ( elem.nodeType === 1 || checkNonElements ) {- outerCache = elem[ expando ] || (elem[ expando ] = {});- if ( (cache = outerCache[ dir ]) && cache[0] === dirkey ) {- if ( (data = cache[1]) === true || data === cachedruns ) {- return data === true;- }- } else {- cache = outerCache[ dir ] = [ dirkey ];- cache[1] = matcher( elem, context, xml ) || cachedruns;- if ( cache[1] === true ) {- return true;- }- }- }- }- }- };-}--function elementMatcher( matchers ) {- return matchers.length > 1 ?- function( elem, context, xml ) {- var i = matchers.length;- while ( i-- ) {- if ( !matchers[i]( elem, context, xml ) ) {- return false;- }- }- return true;- } :- matchers[0];-}--function condense( unmatched, map, filter, context, xml ) {- var elem,- newUnmatched = [],- i = 0,- len = unmatched.length,- mapped = map != null;-- for ( ; i < len; i++ ) {- if ( (elem = unmatched[i]) ) {- if ( !filter || filter( elem, context, xml ) ) {- newUnmatched.push( elem );- if ( mapped ) {- map.push( i );- }- }- }- }-- return newUnmatched;-}--function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {- if ( postFilter && !postFilter[ expando ] ) {- postFilter = setMatcher( postFilter );- }- if ( postFinder && !postFinder[ expando ] ) {- postFinder = setMatcher( postFinder, postSelector );- }- return markFunction(function( seed, results, context, xml ) {- var temp, i, elem,- preMap = [],- postMap = [],- preexisting = results.length,-- // Get initial elements from seed or context- elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ),-- // Prefilter to get matcher input, preserving a map for seed-results synchronization- matcherIn = preFilter && ( seed || !selector ) ?- condense( elems, preMap, preFilter, context, xml ) :- elems,-- matcherOut = matcher ?- // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,- postFinder || ( seed ? preFilter : preexisting || postFilter ) ?-- // ...intermediate processing is necessary- [] :-- // ...otherwise use results directly- results :- matcherIn;-- // Find primary matches- if ( matcher ) {- matcher( matcherIn, matcherOut, context, xml );- }-- // Apply postFilter- if ( postFilter ) {- temp = condense( matcherOut, postMap );- postFilter( temp, [], context, xml );-- // Un-match failing elements by moving them back to matcherIn- i = temp.length;- while ( i-- ) {- if ( (elem = temp[i]) ) {- matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem);- }- }- }-- if ( seed ) {- if ( postFinder || preFilter ) {- if ( postFinder ) {- // Get the final matcherOut by condensing this intermediate into postFinder contexts- temp = [];- i = matcherOut.length;- while ( i-- ) {- if ( (elem = matcherOut[i]) ) {- // Restore matcherIn since elem is not yet a final match- temp.push( (matcherIn[i] = elem) );- }- }- postFinder( null, (matcherOut = []), temp, xml );- }-- // Move matched elements from seed to results to keep them synchronized- i = matcherOut.length;- while ( i-- ) {- if ( (elem = matcherOut[i]) &&- (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) {-- seed[temp] = !(results[temp] = elem);- }- }- }-- // Add elements to results, through postFinder if defined- } else {- matcherOut = condense(- matcherOut === results ?- matcherOut.splice( preexisting, matcherOut.length ) :- matcherOut- );- if ( postFinder ) {- postFinder( null, results, matcherOut, xml );- } else {- push.apply( results, matcherOut );- }- }- });-}--function matcherFromTokens( tokens ) {- var checkContext, matcher, j,- len = tokens.length,- leadingRelative = Expr.relative[ tokens[0].type ],- implicitRelative = leadingRelative || Expr.relative[" "],- i = leadingRelative ? 1 : 0,-- // The foundational matcher ensures that elements are reachable from top-level context(s)- matchContext = addCombinator( function( elem ) {- return elem === checkContext;- }, implicitRelative, true ),- matchAnyContext = addCombinator( function( elem ) {- return indexOf.call( checkContext, elem ) > -1;- }, implicitRelative, true ),- matchers = [ function( elem, context, xml ) {- return ( !leadingRelative && ( xml || context !== outermostContext ) ) || (- (checkContext = context).nodeType ?- matchContext( elem, context, xml ) :- matchAnyContext( elem, context, xml ) );- } ];-- for ( ; i < len; i++ ) {- if ( (matcher = Expr.relative[ tokens[i].type ]) ) {- matchers = [ addCombinator(elementMatcher( matchers ), matcher) ];- } else {- matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches );-- // Return special upon seeing a positional matcher- if ( matcher[ expando ] ) {- // Find the next relative operator (if any) for proper handling- j = ++i;- for ( ; j < len; j++ ) {- if ( Expr.relative[ tokens[j].type ] ) {- break;- }- }- return setMatcher(- i > 1 && elementMatcher( matchers ),- i > 1 && toSelector(- // If the preceding token was a descendant combinator, insert an implicit any-element `*`- tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" })- ).replace( rtrim, "$1" ),- matcher,- i < j && matcherFromTokens( tokens.slice( i, j ) ),- j < len && matcherFromTokens( (tokens = tokens.slice( j )) ),- j < len && toSelector( tokens )- );- }- matchers.push( matcher );- }- }-- return elementMatcher( matchers );-}--function matcherFromGroupMatchers( elementMatchers, setMatchers ) {- // A counter to specify which element is currently being matched- var matcherCachedRuns = 0,- bySet = setMatchers.length > 0,- byElement = elementMatchers.length > 0,- superMatcher = function( seed, context, xml, results, expandContext ) {- var elem, j, matcher,- setMatched = [],- matchedCount = 0,- i = "0",- unmatched = seed && [],- outermost = expandContext != null,- contextBackup = outermostContext,- // We must always have either seed elements or context- elems = seed || byElement && Expr.find["TAG"]( "*", expandContext && context.parentNode || context ),- // Use integer dirruns iff this is the outermost matcher- dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1);-- if ( outermost ) {- outermostContext = context !== document && context;- cachedruns = matcherCachedRuns;- }-- // Add elements passing elementMatchers directly to results- // Keep `i` a string if there are no elements so `matchedCount` will be "00" below- for ( ; (elem = elems[i]) != null; i++ ) {- if ( byElement && elem ) {- j = 0;- while ( (matcher = elementMatchers[j++]) ) {- if ( matcher( elem, context, xml ) ) {- results.push( elem );- break;- }- }- if ( outermost ) {- dirruns = dirrunsUnique;- cachedruns = ++matcherCachedRuns;- }- }-- // Track unmatched elements for set filters- if ( bySet ) {- // They will have gone through all possible matchers- if ( (elem = !matcher && elem) ) {- matchedCount--;- }-- // Lengthen the array for every element, matched or not- if ( seed ) {- unmatched.push( elem );- }- }- }-- // Apply set filters to unmatched elements- matchedCount += i;- if ( bySet && i !== matchedCount ) {- j = 0;- while ( (matcher = setMatchers[j++]) ) {- matcher( unmatched, setMatched, context, xml );- }-- if ( seed ) {- // Reintegrate element matches to eliminate the need for sorting- if ( matchedCount > 0 ) {- while ( i-- ) {- if ( !(unmatched[i] || setMatched[i]) ) {- setMatched[i] = pop.call( results );- }- }- }-- // Discard index placeholder values to get only actual matches- setMatched = condense( setMatched );- }-- // Add matches to results- push.apply( results, setMatched );-- // Seedless set matches succeeding multiple successful matchers stipulate sorting- if ( outermost && !seed && setMatched.length > 0 &&- ( matchedCount + setMatchers.length ) > 1 ) {-- Sizzle.uniqueSort( results );- }- }-- // Override manipulation of globals by nested matchers- if ( outermost ) {- dirruns = dirrunsUnique;- outermostContext = contextBackup;- }-- return unmatched;- };-- return bySet ?- markFunction( superMatcher ) :- superMatcher;-}--compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) {- var i,- setMatchers = [],- elementMatchers = [],- cached = compilerCache[ selector + " " ];-- if ( !cached ) {- // Generate a function of recursive functions that can be used to check each element- if ( !group ) {- group = tokenize( selector );- }- i = group.length;- while ( i-- ) {- cached = matcherFromTokens( group[i] );- if ( cached[ expando ] ) {- setMatchers.push( cached );- } else {- elementMatchers.push( cached );- }- }-- // Cache the compiled function- cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) );- }- return cached;-};--function multipleContexts( selector, contexts, results ) {- var i = 0,- len = contexts.length;- for ( ; i < len; i++ ) {- Sizzle( selector, contexts[i], results );- }- return results;-}--function select( selector, context, results, seed ) {- var i, tokens, token, type, find,- match = tokenize( selector );-- if ( !seed ) {- // Try to minimize operations if there is only one group- if ( match.length === 1 ) {-- // Take a shortcut and set the context if the root selector is an ID- tokens = match[0] = match[0].slice( 0 );- if ( tokens.length > 2 && (token = tokens[0]).type === "ID" &&- support.getById && context.nodeType === 9 && documentIsHTML &&- Expr.relative[ tokens[1].type ] ) {-- context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];- if ( !context ) {- return results;- }- selector = selector.slice( tokens.shift().value.length );- }-- // Fetch a seed set for right-to-left matching- i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length;- while ( i-- ) {- token = tokens[i];-- // Abort if we hit a combinator- if ( Expr.relative[ (type = token.type) ] ) {- break;- }- if ( (find = Expr.find[ type ]) ) {- // Search, expanding context for leading sibling combinators- if ( (seed = find(- token.matches[0].replace( runescape, funescape ),- rsibling.test( tokens[0].type ) && context.parentNode || context- )) ) {-- // If seed is empty or no tokens remain, we can return early- tokens.splice( i, 1 );- selector = seed.length && toSelector( tokens );- if ( !selector ) {- push.apply( results, seed );- return results;- }-- break;- }- }- }- }- }-- // Compile and execute a filtering function- // Provide `match` to avoid retokenization if we modified the selector above- compile( selector, match )(- seed,- context,- !documentIsHTML,- results,- rsibling.test( selector )- );- return results;-}--// One-time assignments--// Sort stability-support.sortStable = expando.split("").sort( sortOrder ).join("") === expando;--// Support: Chrome<14-// Always assume duplicates if they aren't passed to the comparison function-support.detectDuplicates = hasDuplicate;--// Initialize against the default document-setDocument();--// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)-// Detached nodes confoundingly follow *each other*-support.sortDetached = assert(function( div1 ) {- // Should return 1, but returns 4 (following)- return div1.compareDocumentPosition( document.createElement("div") ) & 1;-});--// Support: IE<8-// Prevent attribute/property "interpolation"-// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx-if ( !assert(function( div ) {- div.innerHTML = "<a href='#'></a>";- return div.firstChild.getAttribute("href") === "#" ;-}) ) {- addHandle( "type|href|height|width", function( elem, name, isXML ) {- if ( !isXML ) {- return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 );- }- });-}--// Support: IE<9-// Use defaultValue in place of getAttribute("value")-if ( !support.attributes || !assert(function( div ) {- div.innerHTML = "<input/>";- div.firstChild.setAttribute( "value", "" );- return div.firstChild.getAttribute( "value" ) === "";-}) ) {- addHandle( "value", function( elem, name, isXML ) {- if ( !isXML && elem.nodeName.toLowerCase() === "input" ) {- return elem.defaultValue;- }- });-}--// Support: IE<9-// Use getAttributeNode to fetch booleans when getAttribute lies-if ( !assert(function( div ) {- return div.getAttribute("disabled") == null;-}) ) {- addHandle( booleans, function( elem, name, isXML ) {- var val;- if ( !isXML ) {- return (val = elem.getAttributeNode( name )) && val.specified ?- val.value :- elem[ name ] === true ? name.toLowerCase() : null;- }- });-}--jQuery.find = Sizzle;-jQuery.expr = Sizzle.selectors;-jQuery.expr[":"] = jQuery.expr.pseudos;-jQuery.unique = Sizzle.uniqueSort;-jQuery.text = Sizzle.getText;-jQuery.isXMLDoc = Sizzle.isXML;-jQuery.contains = Sizzle.contains;---})( window );-// String to Object options format cache-var optionsCache = {};--// Convert String-formatted options into Object-formatted ones and store in cache-function createOptions( options ) {- var object = optionsCache[ options ] = {};- jQuery.each( options.match( core_rnotwhite ) || [], function( _, flag ) {- object[ flag ] = true;- });- return object;-}--/*- * Create a callback list using the following parameters:- *- * options: an optional list of space-separated options that will change how- * the callback list behaves or a more traditional option object- *- * By default a callback list will act like an event callback list and can be- * "fired" multiple times.- *- * Possible options:- *- * once: will ensure the callback list can only be fired once (like a Deferred)- *- * memory: will keep track of previous values and will call any callback added- * after the list has been fired right away with the latest "memorized"- * values (like a Deferred)- *- * unique: will ensure a callback can only be added once (no duplicate in the list)- *- * stopOnFalse: interrupt callings when a callback returns false- *- */-jQuery.Callbacks = function( options ) {-- // Convert options from String-formatted to Object-formatted if needed- // (we check in cache first)- options = typeof options === "string" ?- ( optionsCache[ options ] || createOptions( options ) ) :- jQuery.extend( {}, options );-- var // Flag to know if list is currently firing- firing,- // Last fire value (for non-forgettable lists)- memory,- // Flag to know if list was already fired- fired,- // End of the loop when firing- firingLength,- // Index of currently firing callback (modified by remove if needed)- firingIndex,- // First callback to fire (used internally by add and fireWith)- firingStart,- // Actual callback list- list = [],- // Stack of fire calls for repeatable lists- stack = !options.once && [],- // Fire callbacks- fire = function( data ) {- memory = options.memory && data;- fired = true;- firingIndex = firingStart || 0;- firingStart = 0;- firingLength = list.length;- firing = true;- for ( ; list && firingIndex < firingLength; firingIndex++ ) {- if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) {- memory = false; // To prevent further calls using add- break;- }- }- firing = false;- if ( list ) {- if ( stack ) {- if ( stack.length ) {- fire( stack.shift() );- }- } else if ( memory ) {- list = [];- } else {- self.disable();- }- }- },- // Actual Callbacks object- self = {- // Add a callback or a collection of callbacks to the list- add: function() {- if ( list ) {- // First, we save the current length- var start = list.length;- (function add( args ) {- jQuery.each( args, function( _, arg ) {- var type = jQuery.type( arg );- if ( type === "function" ) {- if ( !options.unique || !self.has( arg ) ) {- list.push( arg );- }- } else if ( arg && arg.length && type !== "string" ) {- // Inspect recursively- add( arg );- }- });- })( arguments );- // Do we need to add the callbacks to the- // current firing batch?- if ( firing ) {- firingLength = list.length;- // With memory, if we're not firing then- // we should call right away- } else if ( memory ) {- firingStart = start;- fire( memory );- }- }- return this;- },- // Remove a callback from the list- remove: function() {- if ( list ) {- jQuery.each( arguments, function( _, arg ) {- var index;- while( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {- list.splice( index, 1 );- // Handle firing indexes- if ( firing ) {- if ( index <= firingLength ) {- firingLength--;- }- if ( index <= firingIndex ) {- firingIndex--;- }- }- }- });- }- return this;- },- // Check if a given callback is in the list.- // If no argument is given, return whether or not list has callbacks attached.- has: function( fn ) {- return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length );- },- // Remove all callbacks from the list- empty: function() {- list = [];- firingLength = 0;- return this;- },- // Have the list do nothing anymore- disable: function() {- list = stack = memory = undefined;- return this;- },- // Is it disabled?- disabled: function() {- return !list;- },- // Lock the list in its current state- lock: function() {- stack = undefined;- if ( !memory ) {- self.disable();- }- return this;- },- // Is it locked?- locked: function() {- return !stack;- },- // Call all callbacks with the given context and arguments- fireWith: function( context, args ) {- if ( list && ( !fired || stack ) ) {- args = args || [];- args = [ context, args.slice ? args.slice() : args ];- if ( firing ) {- stack.push( args );- } else {- fire( args );- }- }- return this;- },- // Call all the callbacks with the given arguments- fire: function() {- self.fireWith( this, arguments );- return this;- },- // To know if the callbacks have already been called at least once- fired: function() {- return !!fired;- }- };-- return self;-};-jQuery.extend({-- Deferred: function( func ) {- var tuples = [- // action, add listener, listener list, final state- [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ],- [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ],- [ "notify", "progress", jQuery.Callbacks("memory") ]- ],- state = "pending",- promise = {- state: function() {- return state;- },- always: function() {- deferred.done( arguments ).fail( arguments );- return this;- },- then: function( /* fnDone, fnFail, fnProgress */ ) {- var fns = arguments;- return jQuery.Deferred(function( newDefer ) {- jQuery.each( tuples, function( i, tuple ) {- var action = tuple[ 0 ],- fn = jQuery.isFunction( fns[ i ] ) && fns[ i ];- // deferred[ done | fail | progress ] for forwarding actions to newDefer- deferred[ tuple[1] ](function() {- var returned = fn && fn.apply( this, arguments );- if ( returned && jQuery.isFunction( returned.promise ) ) {- returned.promise()- .done( newDefer.resolve )- .fail( newDefer.reject )- .progress( newDefer.notify );- } else {- newDefer[ action + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments );- }- });- });- fns = null;- }).promise();- },- // Get a promise for this deferred- // If obj is provided, the promise aspect is added to the object- promise: function( obj ) {- return obj != null ? jQuery.extend( obj, promise ) : promise;- }- },- deferred = {};-- // Keep pipe for back-compat- promise.pipe = promise.then;-- // Add list-specific methods- jQuery.each( tuples, function( i, tuple ) {- var list = tuple[ 2 ],- stateString = tuple[ 3 ];-- // promise[ done | fail | progress ] = list.add- promise[ tuple[1] ] = list.add;-- // Handle state- if ( stateString ) {- list.add(function() {- // state = [ resolved | rejected ]- state = stateString;-- // [ reject_list | resolve_list ].disable; progress_list.lock- }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock );- }-- // deferred[ resolve | reject | notify ]- deferred[ tuple[0] ] = function() {- deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments );- return this;- };- deferred[ tuple[0] + "With" ] = list.fireWith;- });-- // Make the deferred a promise- promise.promise( deferred );-- // Call given func if any- if ( func ) {- func.call( deferred, deferred );- }-- // All done!- return deferred;- },-- // Deferred helper- when: function( subordinate /* , ..., subordinateN */ ) {- var i = 0,- resolveValues = core_slice.call( arguments ),- length = resolveValues.length,-- // the count of uncompleted subordinates- remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0,-- // the master Deferred. If resolveValues consist of only a single Deferred, just use that.- deferred = remaining === 1 ? subordinate : jQuery.Deferred(),-- // Update function for both resolve and progress values- updateFunc = function( i, contexts, values ) {- return function( value ) {- contexts[ i ] = this;- values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value;- if( values === progressValues ) {- deferred.notifyWith( contexts, values );- } else if ( !( --remaining ) ) {- deferred.resolveWith( contexts, values );- }- };- },-- progressValues, progressContexts, resolveContexts;-- // add listeners to Deferred subordinates; treat others as resolved- if ( length > 1 ) {- progressValues = new Array( length );- progressContexts = new Array( length );- resolveContexts = new Array( length );- for ( ; i < length; i++ ) {- if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) {- resolveValues[ i ].promise()- .done( updateFunc( i, resolveContexts, resolveValues ) )- .fail( deferred.reject )- .progress( updateFunc( i, progressContexts, progressValues ) );- } else {- --remaining;- }- }- }-- // if we're not waiting on anything, resolve the master- if ( !remaining ) {- deferred.resolveWith( resolveContexts, resolveValues );- }-- return deferred.promise();- }-});-jQuery.support = (function( support ) {-- var all, a, input, select, fragment, opt, eventName, isSupported, i,- div = document.createElement("div");-- // Setup- div.setAttribute( "className", "t" );- div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";-- // Finish early in limited (non-browser) environments- all = div.getElementsByTagName("*") || [];- a = div.getElementsByTagName("a")[ 0 ];- if ( !a || !a.style || !all.length ) {- return support;- }-- // First batch of tests- select = document.createElement("select");- opt = select.appendChild( document.createElement("option") );- input = div.getElementsByTagName("input")[ 0 ];-- a.style.cssText = "top:1px;float:left;opacity:.5";-- // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7)- support.getSetAttribute = div.className !== "t";-- // IE strips leading whitespace when .innerHTML is used- support.leadingWhitespace = div.firstChild.nodeType === 3;-- // Make sure that tbody elements aren't automatically inserted- // IE will insert them into empty tables- support.tbody = !div.getElementsByTagName("tbody").length;-- // Make sure that link elements get serialized correctly by innerHTML- // This requires a wrapper element in IE- support.htmlSerialize = !!div.getElementsByTagName("link").length;-- // Get the style information from getAttribute- // (IE uses .cssText instead)- support.style = /top/.test( a.getAttribute("style") );-- // Make sure that URLs aren't manipulated- // (IE normalizes it by default)- support.hrefNormalized = a.getAttribute("href") === "/a";-- // Make sure that element opacity exists- // (IE uses filter instead)- // Use a regex to work around a WebKit issue. See #5145- support.opacity = /^0.5/.test( a.style.opacity );-- // Verify style float existence- // (IE uses styleFloat instead of cssFloat)- support.cssFloat = !!a.style.cssFloat;-- // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere)- support.checkOn = !!input.value;-- // Make sure that a selected-by-default option has a working selected property.- // (WebKit defaults to false instead of true, IE too, if it's in an optgroup)- support.optSelected = opt.selected;-- // Tests for enctype support on a form (#6743)- support.enctype = !!document.createElement("form").enctype;-- // Makes sure cloning an html5 element does not cause problems- // Where outerHTML is undefined, this still works- support.html5Clone = document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav></:nav>";-- // Will be defined later- support.inlineBlockNeedsLayout = false;- support.shrinkWrapBlocks = false;- support.pixelPosition = false;- support.deleteExpando = true;- support.noCloneEvent = true;- support.reliableMarginRight = true;- support.boxSizingReliable = true;-- // Make sure checked status is properly cloned- input.checked = true;- support.noCloneChecked = input.cloneNode( true ).checked;-- // Make sure that the options inside disabled selects aren't marked as disabled- // (WebKit marks them as disabled)- select.disabled = true;- support.optDisabled = !opt.disabled;-- // Support: IE<9- try {- delete div.test;- } catch( e ) {- support.deleteExpando = false;- }-- // Check if we can trust getAttribute("value")- input = document.createElement("input");- input.setAttribute( "value", "" );- support.input = input.getAttribute( "value" ) === "";-- // Check if an input maintains its value after becoming a radio- input.value = "t";- input.setAttribute( "type", "radio" );- support.radioValue = input.value === "t";-- // #11217 - WebKit loses check when the name is after the checked attribute- input.setAttribute( "checked", "t" );- input.setAttribute( "name", "t" );-- fragment = document.createDocumentFragment();- fragment.appendChild( input );-- // Check if a disconnected checkbox will retain its checked- // value of true after appended to the DOM (IE6/7)- support.appendChecked = input.checked;-- // WebKit doesn't clone checked state correctly in fragments- support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked;-- // Support: IE<9- // Opera does not clone events (and typeof div.attachEvent === undefined).- // IE9-10 clones events bound via attachEvent, but they don't trigger with .click()- if ( div.attachEvent ) {- div.attachEvent( "onclick", function() {- support.noCloneEvent = false;- });-- div.cloneNode( true ).click();- }-- // Support: IE<9 (lack submit/change bubble), Firefox 17+ (lack focusin event)- // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP)- for ( i in { submit: true, change: true, focusin: true }) {- div.setAttribute( eventName = "on" + i, "t" );-- support[ i + "Bubbles" ] = eventName in window || div.attributes[ eventName ].expando === false;- }-- div.style.backgroundClip = "content-box";- div.cloneNode( true ).style.backgroundClip = "";- support.clearCloneStyle = div.style.backgroundClip === "content-box";-- // Support: IE<9- // Iteration over object's inherited properties before its own.- for ( i in jQuery( support ) ) {- break;- }- support.ownLast = i !== "0";-- // Run tests that need a body at doc ready- jQuery(function() {- var container, marginDiv, tds,- divReset = "padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",- body = document.getElementsByTagName("body")[0];-- if ( !body ) {- // Return for frameset docs that don't have a body- return;- }-- container = document.createElement("div");- container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px";-- body.appendChild( container ).appendChild( div );-- // Support: IE8- // Check if table cells still have offsetWidth/Height when they are set- // to display:none and there are still other visible table cells in a- // table row; if so, offsetWidth/Height are not reliable for use when- // determining if an element has been hidden directly using- // display:none (it is still safe to use offsets if a parent element is- // hidden; don safety goggles and see bug #4512 for more information).- div.innerHTML = "<table><tr><td></td><td>t</td></tr></table>";- tds = div.getElementsByTagName("td");- tds[ 0 ].style.cssText = "padding:0;margin:0;border:0;display:none";- isSupported = ( tds[ 0 ].offsetHeight === 0 );-- tds[ 0 ].style.display = "";- tds[ 1 ].style.display = "none";-- // Support: IE8- // Check if empty table cells still have offsetWidth/Height- support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 );-- // Check box-sizing and margin behavior.- div.innerHTML = "";- div.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%;";-- // Workaround failing boxSizing test due to offsetWidth returning wrong value- // with some non-1 values of body zoom, ticket #13543- jQuery.swap( body, body.style.zoom != null ? { zoom: 1 } : {}, function() {- support.boxSizing = div.offsetWidth === 4;- });-- // Use window.getComputedStyle because jsdom on node.js will break without it.- if ( window.getComputedStyle ) {- support.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== "1%";- support.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px";-- // Check if div with explicit width and no margin-right incorrectly- // gets computed margin-right based on width of container. (#3333)- // Fails in WebKit before Feb 2011 nightlies- // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right- marginDiv = div.appendChild( document.createElement("div") );- marginDiv.style.cssText = div.style.cssText = divReset;- marginDiv.style.marginRight = marginDiv.style.width = "0";- div.style.width = "1px";-- support.reliableMarginRight =- !parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight );- }-- if ( typeof div.style.zoom !== core_strundefined ) {- // Support: IE<8- // Check if natively block-level elements act like inline-block- // elements when setting their display to 'inline' and giving- // them layout- div.innerHTML = "";- div.style.cssText = divReset + "width:1px;padding:1px;display:inline;zoom:1";- support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 );-- // Support: IE6- // Check if elements with layout shrink-wrap their children- div.style.display = "block";- div.innerHTML = "<div></div>";- div.firstChild.style.width = "5px";- support.shrinkWrapBlocks = ( div.offsetWidth !== 3 );-- if ( support.inlineBlockNeedsLayout ) {- // Prevent IE 6 from affecting layout for positioned elements #11048- // Prevent IE from shrinking the body in IE 7 mode #12869- // Support: IE<8- body.style.zoom = 1;- }- }-- body.removeChild( container );-- // Null elements to avoid leaks in IE- container = div = tds = marginDiv = null;- });-- // Null elements to avoid leaks in IE- all = select = fragment = opt = a = input = null;-- return support;-})({});--var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/,- rmultiDash = /([A-Z])/g;--function internalData( elem, name, data, pvt /* Internal Use Only */ ){- if ( !jQuery.acceptData( elem ) ) {- return;- }-- var ret, thisCache,- internalKey = jQuery.expando,-- // We have to handle DOM nodes and JS objects differently because IE6-7- // can't GC object references properly across the DOM-JS boundary- isNode = elem.nodeType,-- // Only DOM nodes need the global jQuery cache; JS object data is- // attached directly to the object so GC can occur automatically- cache = isNode ? jQuery.cache : elem,-- // Only defining an ID for JS objects if its cache already exists allows- // the code to shortcut on the same path as a DOM node with no cache- id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey;-- // Avoid doing any more work than we need to when trying to get data on an- // object that has no data at all- if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) {- return;- }-- if ( !id ) {- // Only DOM nodes need a new unique ID for each element since their data- // ends up in the global cache- if ( isNode ) {- id = elem[ internalKey ] = core_deletedIds.pop() || jQuery.guid++;- } else {- id = internalKey;- }- }-- if ( !cache[ id ] ) {- // Avoid exposing jQuery metadata on plain JS objects when the object- // is serialized using JSON.stringify- cache[ id ] = isNode ? {} : { toJSON: jQuery.noop };- }-- // An object can be passed to jQuery.data instead of a key/value pair; this gets- // shallow copied over onto the existing cache- if ( typeof name === "object" || typeof name === "function" ) {- if ( pvt ) {- cache[ id ] = jQuery.extend( cache[ id ], name );- } else {- cache[ id ].data = jQuery.extend( cache[ id ].data, name );- }- }-- thisCache = cache[ id ];-- // jQuery data() is stored in a separate object inside the object's internal data- // cache in order to avoid key collisions between internal data and user-defined- // data.- if ( !pvt ) {- if ( !thisCache.data ) {- thisCache.data = {};- }-- thisCache = thisCache.data;- }-- if ( data !== undefined ) {- thisCache[ jQuery.camelCase( name ) ] = data;- }-- // Check for both converted-to-camel and non-converted data property names- // If a data property was specified- if ( typeof name === "string" ) {-- // First Try to find as-is property data- ret = thisCache[ name ];-- // Test for null|undefined property data- if ( ret == null ) {-- // Try to find the camelCased property- ret = thisCache[ jQuery.camelCase( name ) ];- }- } else {- ret = thisCache;- }-- return ret;-}--function internalRemoveData( elem, name, pvt ) {- if ( !jQuery.acceptData( elem ) ) {- return;- }-- var thisCache, i,- isNode = elem.nodeType,-- // See jQuery.data for more information- cache = isNode ? jQuery.cache : elem,- id = isNode ? elem[ jQuery.expando ] : jQuery.expando;-- // If there is already no cache entry for this object, there is no- // purpose in continuing- if ( !cache[ id ] ) {- return;- }-- if ( name ) {-- thisCache = pvt ? cache[ id ] : cache[ id ].data;-- if ( thisCache ) {-- // Support array or space separated string names for data keys- if ( !jQuery.isArray( name ) ) {-- // try the string as a key before any manipulation- if ( name in thisCache ) {- name = [ name ];- } else {-- // split the camel cased version by spaces unless a key with the spaces exists- name = jQuery.camelCase( name );- if ( name in thisCache ) {- name = [ name ];- } else {- name = name.split(" ");- }- }- } else {- // If "name" is an array of keys...- // When data is initially created, via ("key", "val") signature,- // keys will be converted to camelCase.- // Since there is no way to tell _how_ a key was added, remove- // both plain key and camelCase key. #12786- // This will only penalize the array argument path.- name = name.concat( jQuery.map( name, jQuery.camelCase ) );- }-- i = name.length;- while ( i-- ) {- delete thisCache[ name[i] ];- }-- // If there is no data left in the cache, we want to continue- // and let the cache object itself get destroyed- if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) {- return;- }- }- }-- // See jQuery.data for more information- if ( !pvt ) {- delete cache[ id ].data;-- // Don't destroy the parent cache unless the internal data object- // had been the only thing left in it- if ( !isEmptyDataObject( cache[ id ] ) ) {- return;- }- }-- // Destroy the cache- if ( isNode ) {- jQuery.cleanData( [ elem ], true );-- // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080)- /* jshint eqeqeq: false */- } else if ( jQuery.support.deleteExpando || cache != cache.window ) {- /* jshint eqeqeq: true */- delete cache[ id ];-- // When all else fails, null- } else {- cache[ id ] = null;- }-}--jQuery.extend({- cache: {},-- // The following elements throw uncatchable exceptions if you- // attempt to add expando properties to them.- noData: {- "applet": true,- "embed": true,- // Ban all objects except for Flash (which handle expandos)- "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"- },-- hasData: function( elem ) {- elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ];- return !!elem && !isEmptyDataObject( elem );- },-- data: function( elem, name, data ) {- return internalData( elem, name, data );- },-- removeData: function( elem, name ) {- return internalRemoveData( elem, name );- },-- // For internal use only.- _data: function( elem, name, data ) {- return internalData( elem, name, data, true );- },-- _removeData: function( elem, name ) {- return internalRemoveData( elem, name, true );- },-- // A method for determining if a DOM node can handle the data expando- acceptData: function( elem ) {- // Do not set data on non-element because it will not be cleared (#8335).- if ( elem.nodeType && elem.nodeType !== 1 && elem.nodeType !== 9 ) {- return false;- }-- var noData = elem.nodeName && jQuery.noData[ elem.nodeName.toLowerCase() ];-- // nodes accept data unless otherwise specified; rejection can be conditional- return !noData || noData !== true && elem.getAttribute("classid") === noData;- }-});--jQuery.fn.extend({- data: function( key, value ) {- var attrs, name,- data = null,- i = 0,- elem = this[0];-- // Special expections of .data basically thwart jQuery.access,- // so implement the relevant behavior ourselves-- // Gets all values- if ( key === undefined ) {- if ( this.length ) {- data = jQuery.data( elem );-- if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) {- attrs = elem.attributes;- for ( ; i < attrs.length; i++ ) {- name = attrs[i].name;-- if ( name.indexOf("data-") === 0 ) {- name = jQuery.camelCase( name.slice(5) );-- dataAttr( elem, name, data[ name ] );- }- }- jQuery._data( elem, "parsedAttrs", true );- }- }-- return data;- }-- // Sets multiple values- if ( typeof key === "object" ) {- return this.each(function() {- jQuery.data( this, key );- });- }-- return arguments.length > 1 ?-- // Sets one value- this.each(function() {- jQuery.data( this, key, value );- }) :-- // Gets one value- // Try to fetch any internally stored data first- elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : null;- },-- removeData: function( key ) {- return this.each(function() {- jQuery.removeData( this, key );- });- }-});--function dataAttr( elem, key, data ) {- // If nothing was found internally, try to fetch any- // data from the HTML5 data-* attribute- if ( data === undefined && elem.nodeType === 1 ) {-- var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase();-- data = elem.getAttribute( name );-- if ( typeof data === "string" ) {- try {- data = data === "true" ? true :- data === "false" ? false :- data === "null" ? null :- // Only convert to a number if it doesn't change the string- +data + "" === data ? +data :- rbrace.test( data ) ? jQuery.parseJSON( data ) :- data;- } catch( e ) {}-- // Make sure we set the data so it isn't changed later- jQuery.data( elem, key, data );-- } else {- data = undefined;- }- }-- return data;-}--// checks a cache object for emptiness-function isEmptyDataObject( obj ) {- var name;- for ( name in obj ) {-- // if the public data object is empty, the private is still empty- if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) {- continue;- }- if ( name !== "toJSON" ) {- return false;- }- }-- return true;-}-jQuery.extend({- queue: function( elem, type, data ) {- var queue;-- if ( elem ) {- type = ( type || "fx" ) + "queue";- queue = jQuery._data( elem, type );-- // Speed up dequeue by getting out quickly if this is just a lookup- if ( data ) {- if ( !queue || jQuery.isArray(data) ) {- queue = jQuery._data( elem, type, jQuery.makeArray(data) );- } else {- queue.push( data );- }- }- return queue || [];- }- },-- dequeue: function( elem, type ) {- type = type || "fx";-- var queue = jQuery.queue( elem, type ),- startLength = queue.length,- fn = queue.shift(),- hooks = jQuery._queueHooks( elem, type ),- next = function() {- jQuery.dequeue( elem, type );- };-- // If the fx queue is dequeued, always remove the progress sentinel- if ( fn === "inprogress" ) {- fn = queue.shift();- startLength--;- }-- if ( fn ) {-- // Add a progress sentinel to prevent the fx queue from being- // automatically dequeued- if ( type === "fx" ) {- queue.unshift( "inprogress" );- }-- // clear up the last queue stop function- delete hooks.stop;- fn.call( elem, next, hooks );- }-- if ( !startLength && hooks ) {- hooks.empty.fire();- }- },-- // not intended for public consumption - generates a queueHooks object, or returns the current one- _queueHooks: function( elem, type ) {- var key = type + "queueHooks";- return jQuery._data( elem, key ) || jQuery._data( elem, key, {- empty: jQuery.Callbacks("once memory").add(function() {- jQuery._removeData( elem, type + "queue" );- jQuery._removeData( elem, key );- })- });- }-});--jQuery.fn.extend({- queue: function( type, data ) {- var setter = 2;-- if ( typeof type !== "string" ) {- data = type;- type = "fx";- setter--;- }-- if ( arguments.length < setter ) {- return jQuery.queue( this[0], type );- }-- return data === undefined ?- this :- this.each(function() {- var queue = jQuery.queue( this, type, data );-- // ensure a hooks for this queue- jQuery._queueHooks( this, type );-- if ( type === "fx" && queue[0] !== "inprogress" ) {- jQuery.dequeue( this, type );- }- });- },- dequeue: function( type ) {- return this.each(function() {- jQuery.dequeue( this, type );- });- },- // Based off of the plugin by Clint Helfers, with permission.- // http://blindsignals.com/index.php/2009/07/jquery-delay/- delay: function( time, type ) {- time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;- type = type || "fx";-- return this.queue( type, function( next, hooks ) {- var timeout = setTimeout( next, time );- hooks.stop = function() {- clearTimeout( timeout );- };- });- },- clearQueue: function( type ) {- return this.queue( type || "fx", [] );- },- // Get a promise resolved when queues of a certain type- // are emptied (fx is the type by default)- promise: function( type, obj ) {- var tmp,- count = 1,- defer = jQuery.Deferred(),- elements = this,- i = this.length,- resolve = function() {- if ( !( --count ) ) {- defer.resolveWith( elements, [ elements ] );- }- };-- if ( typeof type !== "string" ) {- obj = type;- type = undefined;- }- type = type || "fx";-- while( i-- ) {- tmp = jQuery._data( elements[ i ], type + "queueHooks" );- if ( tmp && tmp.empty ) {- count++;- tmp.empty.add( resolve );- }- }- resolve();- return defer.promise( obj );- }-});-var nodeHook, boolHook,- rclass = /[\t\r\n\f]/g,- rreturn = /\r/g,- rfocusable = /^(?:input|select|textarea|button|object)$/i,- rclickable = /^(?:a|area)$/i,- ruseDefault = /^(?:checked|selected)$/i,- getSetAttribute = jQuery.support.getSetAttribute,- getSetInput = jQuery.support.input;--jQuery.fn.extend({- attr: function( name, value ) {- return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 );- },-- removeAttr: function( name ) {- return this.each(function() {- jQuery.removeAttr( this, name );- });- },-- prop: function( name, value ) {- return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 );- },-- removeProp: function( name ) {- name = jQuery.propFix[ name ] || name;- return this.each(function() {- // try/catch handles cases where IE balks (such as removing a property on window)- try {- this[ name ] = undefined;- delete this[ name ];- } catch( e ) {}- });- },-- addClass: function( value ) {- var classes, elem, cur, clazz, j,- i = 0,- len = this.length,- proceed = typeof value === "string" && value;-- if ( jQuery.isFunction( value ) ) {- return this.each(function( j ) {- jQuery( this ).addClass( value.call( this, j, this.className ) );- });- }-- if ( proceed ) {- // The disjunction here is for better compressibility (see removeClass)- classes = ( value || "" ).match( core_rnotwhite ) || [];-- for ( ; i < len; i++ ) {- elem = this[ i ];- cur = elem.nodeType === 1 && ( elem.className ?- ( " " + elem.className + " " ).replace( rclass, " " ) :- " "- );-- if ( cur ) {- j = 0;- while ( (clazz = classes[j++]) ) {- if ( cur.indexOf( " " + clazz + " " ) < 0 ) {- cur += clazz + " ";- }- }- elem.className = jQuery.trim( cur );-- }- }- }-- return this;- },-- removeClass: function( value ) {- var classes, elem, cur, clazz, j,- i = 0,- len = this.length,- proceed = arguments.length === 0 || typeof value === "string" && value;-- if ( jQuery.isFunction( value ) ) {- return this.each(function( j ) {- jQuery( this ).removeClass( value.call( this, j, this.className ) );- });- }- if ( proceed ) {- classes = ( value || "" ).match( core_rnotwhite ) || [];-- for ( ; i < len; i++ ) {- elem = this[ i ];- // This expression is here for better compressibility (see addClass)- cur = elem.nodeType === 1 && ( elem.className ?- ( " " + elem.className + " " ).replace( rclass, " " ) :- ""- );-- if ( cur ) {- j = 0;- while ( (clazz = classes[j++]) ) {- // Remove *all* instances- while ( cur.indexOf( " " + clazz + " " ) >= 0 ) {- cur = cur.replace( " " + clazz + " ", " " );- }- }- elem.className = value ? jQuery.trim( cur ) : "";- }- }- }-- return this;- },-- toggleClass: function( value, stateVal ) {- var type = typeof value;-- if ( typeof stateVal === "boolean" && type === "string" ) {- return stateVal ? this.addClass( value ) : this.removeClass( value );- }-- if ( jQuery.isFunction( value ) ) {- return this.each(function( i ) {- jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal );- });- }-- return this.each(function() {- if ( type === "string" ) {- // toggle individual class names- var className,- i = 0,- self = jQuery( this ),- classNames = value.match( core_rnotwhite ) || [];-- while ( (className = classNames[ i++ ]) ) {- // check each className given, space separated list- if ( self.hasClass( className ) ) {- self.removeClass( className );- } else {- self.addClass( className );- }- }-- // Toggle whole class name- } else if ( type === core_strundefined || type === "boolean" ) {- if ( this.className ) {- // store className if set- jQuery._data( this, "__className__", this.className );- }-- // If the element has a class name or if we're passed "false",- // then remove the whole classname (if there was one, the above saved it).- // Otherwise bring back whatever was previously saved (if anything),- // falling back to the empty string if nothing was stored.- this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || "";- }- });- },-- hasClass: function( selector ) {- var className = " " + selector + " ",- i = 0,- l = this.length;- for ( ; i < l; i++ ) {- if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) {- return true;- }- }-- return false;- },-- val: function( value ) {- var ret, hooks, isFunction,- elem = this[0];-- if ( !arguments.length ) {- if ( elem ) {- hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ];-- if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) {- return ret;- }-- ret = elem.value;-- return typeof ret === "string" ?- // handle most common string cases- ret.replace(rreturn, "") :- // handle cases where value is null/undef or number- ret == null ? "" : ret;- }-- return;- }-- isFunction = jQuery.isFunction( value );-- return this.each(function( i ) {- var val;-- if ( this.nodeType !== 1 ) {- return;- }-- if ( isFunction ) {- val = value.call( this, i, jQuery( this ).val() );- } else {- val = value;- }-- // Treat null/undefined as ""; convert numbers to string- if ( val == null ) {- val = "";- } else if ( typeof val === "number" ) {- val += "";- } else if ( jQuery.isArray( val ) ) {- val = jQuery.map(val, function ( value ) {- return value == null ? "" : value + "";- });- }-- hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];-- // If set returns undefined, fall back to normal setting- if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) {- this.value = val;- }- });- }-});--jQuery.extend({- valHooks: {- option: {- get: function( elem ) {- // Use proper attribute retrieval(#6932, #12072)- var val = jQuery.find.attr( elem, "value" );- return val != null ?- val :- elem.text;- }- },- select: {- get: function( elem ) {- var value, option,- options = elem.options,- index = elem.selectedIndex,- one = elem.type === "select-one" || index < 0,- values = one ? null : [],- max = one ? index + 1 : options.length,- i = index < 0 ?- max :- one ? index : 0;-- // Loop through all the selected options- for ( ; i < max; i++ ) {- option = options[ i ];-- // oldIE doesn't update selected after form reset (#2551)- if ( ( option.selected || i === index ) &&- // Don't return options that are disabled or in a disabled optgroup- ( jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) &&- ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) {-- // Get the specific value for the option- value = jQuery( option ).val();-- // We don't need an array for one selects- if ( one ) {- return value;- }-- // Multi-Selects return an array- values.push( value );- }- }-- return values;- },-- set: function( elem, value ) {- var optionSet, option,- options = elem.options,- values = jQuery.makeArray( value ),- i = options.length;-- while ( i-- ) {- option = options[ i ];- if ( (option.selected = jQuery.inArray( jQuery(option).val(), values ) >= 0) ) {- optionSet = true;- }- }-- // force browsers to behave consistently when non-matching value is set- if ( !optionSet ) {- elem.selectedIndex = -1;- }- return values;- }- }- },-- attr: function( elem, name, value ) {- var hooks, ret,- nType = elem.nodeType;-- // don't get/set attributes on text, comment and attribute nodes- if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {- return;- }-- // Fallback to prop when attributes are not supported- if ( typeof elem.getAttribute === core_strundefined ) {- return jQuery.prop( elem, name, value );- }-- // All attributes are lowercase- // Grab necessary hook if one is defined- if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {- name = name.toLowerCase();- hooks = jQuery.attrHooks[ name ] ||- ( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook );- }-- if ( value !== undefined ) {-- if ( value === null ) {- jQuery.removeAttr( elem, name );-- } else if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) {- return ret;-- } else {- elem.setAttribute( name, value + "" );- return value;- }-- } else if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) {- return ret;-- } else {- ret = jQuery.find.attr( elem, name );-- // Non-existent attributes return null, we normalize to undefined- return ret == null ?- undefined :- ret;- }- },-- removeAttr: function( elem, value ) {- var name, propName,- i = 0,- attrNames = value && value.match( core_rnotwhite );-- if ( attrNames && elem.nodeType === 1 ) {- while ( (name = attrNames[i++]) ) {- propName = jQuery.propFix[ name ] || name;-- // Boolean attributes get special treatment (#10870)- if ( jQuery.expr.match.bool.test( name ) ) {- // Set corresponding property to false- if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) {- elem[ propName ] = false;- // Support: IE<9- // Also clear defaultChecked/defaultSelected (if appropriate)- } else {- elem[ jQuery.camelCase( "default-" + name ) ] =- elem[ propName ] = false;- }-- // See #9699 for explanation of this approach (setting first, then removal)- } else {- jQuery.attr( elem, name, "" );- }-- elem.removeAttribute( getSetAttribute ? name : propName );- }- }- },-- attrHooks: {- type: {- set: function( elem, value ) {- if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) {- // Setting the type on a radio button after the value resets the value in IE6-9- // Reset value to default in case type is set after value during creation- var val = elem.value;- elem.setAttribute( "type", value );- if ( val ) {- elem.value = val;- }- return value;- }- }- }- },-- propFix: {- "for": "htmlFor",- "class": "className"- },-- prop: function( elem, name, value ) {- var ret, hooks, notxml,- nType = elem.nodeType;-- // don't get/set properties on text, comment and attribute nodes- if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {- return;- }-- notxml = nType !== 1 || !jQuery.isXMLDoc( elem );-- if ( notxml ) {- // Fix name and attach hooks- name = jQuery.propFix[ name ] || name;- hooks = jQuery.propHooks[ name ];- }-- if ( value !== undefined ) {- return hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ?- ret :- ( elem[ name ] = value );-- } else {- return hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ?- ret :- elem[ name ];- }- },-- propHooks: {- tabIndex: {- get: function( elem ) {- // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set- // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/- // Use proper attribute retrieval(#12072)- var tabindex = jQuery.find.attr( elem, "tabindex" );-- return tabindex ?- parseInt( tabindex, 10 ) :- rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ?- 0 :- -1;- }- }- }-});--// Hooks for boolean attributes-boolHook = {- set: function( elem, value, name ) {- if ( value === false ) {- // Remove boolean attributes when set to false- jQuery.removeAttr( elem, name );- } else if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) {- // IE<8 needs the *property* name- elem.setAttribute( !getSetAttribute && jQuery.propFix[ name ] || name, name );-- // Use defaultChecked and defaultSelected for oldIE- } else {- elem[ jQuery.camelCase( "default-" + name ) ] = elem[ name ] = true;- }-- return name;- }-};-jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) {- var getter = jQuery.expr.attrHandle[ name ] || jQuery.find.attr;-- jQuery.expr.attrHandle[ name ] = getSetInput && getSetAttribute || !ruseDefault.test( name ) ?- function( elem, name, isXML ) {- var fn = jQuery.expr.attrHandle[ name ],- ret = isXML ?- undefined :- /* jshint eqeqeq: false */- (jQuery.expr.attrHandle[ name ] = undefined) !=- getter( elem, name, isXML ) ?-- name.toLowerCase() :- null;- jQuery.expr.attrHandle[ name ] = fn;- return ret;- } :- function( elem, name, isXML ) {- return isXML ?- undefined :- elem[ jQuery.camelCase( "default-" + name ) ] ?- name.toLowerCase() :- null;- };-});--// fix oldIE attroperties-if ( !getSetInput || !getSetAttribute ) {- jQuery.attrHooks.value = {- set: function( elem, value, name ) {- if ( jQuery.nodeName( elem, "input" ) ) {- // Does not return so that setAttribute is also used- elem.defaultValue = value;- } else {- // Use nodeHook if defined (#1954); otherwise setAttribute is fine- return nodeHook && nodeHook.set( elem, value, name );- }- }- };-}--// IE6/7 do not support getting/setting some attributes with get/setAttribute-if ( !getSetAttribute ) {-- // Use this for any attribute in IE6/7- // This fixes almost every IE6/7 issue- nodeHook = {- set: function( elem, value, name ) {- // Set the existing or create a new attribute node- var ret = elem.getAttributeNode( name );- if ( !ret ) {- elem.setAttributeNode(- (ret = elem.ownerDocument.createAttribute( name ))- );- }-- ret.value = value += "";-- // Break association with cloned elements by also using setAttribute (#9646)- return name === "value" || value === elem.getAttribute( name ) ?- value :- undefined;- }- };- jQuery.expr.attrHandle.id = jQuery.expr.attrHandle.name = jQuery.expr.attrHandle.coords =- // Some attributes are constructed with empty-string values when not defined- function( elem, name, isXML ) {- var ret;- return isXML ?- undefined :- (ret = elem.getAttributeNode( name )) && ret.value !== "" ?- ret.value :- null;- };- jQuery.valHooks.button = {- get: function( elem, name ) {- var ret = elem.getAttributeNode( name );- return ret && ret.specified ?- ret.value :- undefined;- },- set: nodeHook.set- };-- // Set contenteditable to false on removals(#10429)- // Setting to empty string throws an error as an invalid value- jQuery.attrHooks.contenteditable = {- set: function( elem, value, name ) {- nodeHook.set( elem, value === "" ? false : value, name );- }- };-- // Set width and height to auto instead of 0 on empty string( Bug #8150 )- // This is for removals- jQuery.each([ "width", "height" ], function( i, name ) {- jQuery.attrHooks[ name ] = {- set: function( elem, value ) {- if ( value === "" ) {- elem.setAttribute( name, "auto" );- return value;- }- }- };- });-}---// Some attributes require a special call on IE-// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx-if ( !jQuery.support.hrefNormalized ) {- // href/src property should get the full normalized URL (#10299/#12915)- jQuery.each([ "href", "src" ], function( i, name ) {- jQuery.propHooks[ name ] = {- get: function( elem ) {- return elem.getAttribute( name, 4 );- }- };- });-}--if ( !jQuery.support.style ) {- jQuery.attrHooks.style = {- get: function( elem ) {- // Return undefined in the case of empty string- // Note: IE uppercases css property names, but if we were to .toLowerCase()- // .cssText, that would destroy case senstitivity in URL's, like in "background"- return elem.style.cssText || undefined;- },- set: function( elem, value ) {- return ( elem.style.cssText = value + "" );- }- };-}--// Safari mis-reports the default selected property of an option-// Accessing the parent's selectedIndex property fixes it-if ( !jQuery.support.optSelected ) {- jQuery.propHooks.selected = {- get: function( elem ) {- var parent = elem.parentNode;-- if ( parent ) {- parent.selectedIndex;-- // Make sure that it also works with optgroups, see #5701- if ( parent.parentNode ) {- parent.parentNode.selectedIndex;- }- }- return null;- }- };-}--jQuery.each([- "tabIndex",- "readOnly",- "maxLength",- "cellSpacing",- "cellPadding",- "rowSpan",- "colSpan",- "useMap",- "frameBorder",- "contentEditable"-], function() {- jQuery.propFix[ this.toLowerCase() ] = this;-});--// IE6/7 call enctype encoding-if ( !jQuery.support.enctype ) {- jQuery.propFix.enctype = "encoding";-}--// Radios and checkboxes getter/setter-jQuery.each([ "radio", "checkbox" ], function() {- jQuery.valHooks[ this ] = {- set: function( elem, value ) {- if ( jQuery.isArray( value ) ) {- return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 );- }- }- };- if ( !jQuery.support.checkOn ) {- jQuery.valHooks[ this ].get = function( elem ) {- // Support: Webkit- // "" is returned instead of "on" if a value isn't specified- return elem.getAttribute("value") === null ? "on" : elem.value;- };- }-});-var rformElems = /^(?:input|select|textarea)$/i,- rkeyEvent = /^key/,- rmouseEvent = /^(?:mouse|contextmenu)|click/,- rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,- rtypenamespace = /^([^.]*)(?:\.(.+)|)$/;--function returnTrue() {- return true;-}--function returnFalse() {- return false;-}--function safeActiveElement() {- try {- return document.activeElement;- } catch ( err ) { }-}--/*- * Helper functions for managing events -- not part of the public interface.- * Props to Dean Edwards' addEvent library for many of the ideas.- */-jQuery.event = {-- global: {},-- add: function( elem, types, handler, data, selector ) {- var tmp, events, t, handleObjIn,- special, eventHandle, handleObj,- handlers, type, namespaces, origType,- elemData = jQuery._data( elem );-- // Don't attach events to noData or text/comment nodes (but allow plain objects)- if ( !elemData ) {- return;- }-- // Caller can pass in an object of custom data in lieu of the handler- if ( handler.handler ) {- handleObjIn = handler;- handler = handleObjIn.handler;- selector = handleObjIn.selector;- }-- // Make sure that the handler has a unique ID, used to find/remove it later- if ( !handler.guid ) {- handler.guid = jQuery.guid++;- }-- // Init the element's event structure and main handler, if this is the first- if ( !(events = elemData.events) ) {- events = elemData.events = {};- }- if ( !(eventHandle = elemData.handle) ) {- eventHandle = elemData.handle = function( e ) {- // Discard the second event of a jQuery.event.trigger() and- // when an event is called after a page has unloaded- return typeof jQuery !== core_strundefined && (!e || jQuery.event.triggered !== e.type) ?- jQuery.event.dispatch.apply( eventHandle.elem, arguments ) :- undefined;- };- // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events- eventHandle.elem = elem;- }-- // Handle multiple events separated by a space- types = ( types || "" ).match( core_rnotwhite ) || [""];- t = types.length;- while ( t-- ) {- tmp = rtypenamespace.exec( types[t] ) || [];- type = origType = tmp[1];- namespaces = ( tmp[2] || "" ).split( "." ).sort();-- // There *must* be a type, no attaching namespace-only handlers- if ( !type ) {- continue;- }-- // If event changes its type, use the special event handlers for the changed type- special = jQuery.event.special[ type ] || {};-- // If selector defined, determine special event api type, otherwise given type- type = ( selector ? special.delegateType : special.bindType ) || type;-- // Update special based on newly reset type- special = jQuery.event.special[ type ] || {};-- // handleObj is passed to all event handlers- handleObj = jQuery.extend({- type: type,- origType: origType,- data: data,- handler: handler,- guid: handler.guid,- selector: selector,- needsContext: selector && jQuery.expr.match.needsContext.test( selector ),- namespace: namespaces.join(".")- }, handleObjIn );-- // Init the event handler queue if we're the first- if ( !(handlers = events[ type ]) ) {- handlers = events[ type ] = [];- handlers.delegateCount = 0;-- // Only use addEventListener/attachEvent if the special events handler returns false- if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) {- // Bind the global event handler to the element- if ( elem.addEventListener ) {- elem.addEventListener( type, eventHandle, false );-- } else if ( elem.attachEvent ) {- elem.attachEvent( "on" + type, eventHandle );- }- }- }-- if ( special.add ) {- special.add.call( elem, handleObj );-- if ( !handleObj.handler.guid ) {- handleObj.handler.guid = handler.guid;- }- }-- // Add to the element's handler list, delegates in front- if ( selector ) {- handlers.splice( handlers.delegateCount++, 0, handleObj );- } else {- handlers.push( handleObj );- }-- // Keep track of which events have ever been used, for event optimization- jQuery.event.global[ type ] = true;- }-- // Nullify elem to prevent memory leaks in IE- elem = null;- },-- // Detach an event or set of events from an element- remove: function( elem, types, handler, selector, mappedTypes ) {- var j, handleObj, tmp,- origCount, t, events,- special, handlers, type,- namespaces, origType,- elemData = jQuery.hasData( elem ) && jQuery._data( elem );-- if ( !elemData || !(events = elemData.events) ) {- return;- }-- // Once for each type.namespace in types; type may be omitted- types = ( types || "" ).match( core_rnotwhite ) || [""];- t = types.length;- while ( t-- ) {- tmp = rtypenamespace.exec( types[t] ) || [];- type = origType = tmp[1];- namespaces = ( tmp[2] || "" ).split( "." ).sort();-- // Unbind all events (on this namespace, if provided) for the element- if ( !type ) {- for ( type in events ) {- jQuery.event.remove( elem, type + types[ t ], handler, selector, true );- }- continue;- }-- special = jQuery.event.special[ type ] || {};- type = ( selector ? special.delegateType : special.bindType ) || type;- handlers = events[ type ] || [];- tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" );-- // Remove matching events- origCount = j = handlers.length;- while ( j-- ) {- handleObj = handlers[ j ];-- if ( ( mappedTypes || origType === handleObj.origType ) &&- ( !handler || handler.guid === handleObj.guid ) &&- ( !tmp || tmp.test( handleObj.namespace ) ) &&- ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {- handlers.splice( j, 1 );-- if ( handleObj.selector ) {- handlers.delegateCount--;- }- if ( special.remove ) {- special.remove.call( elem, handleObj );- }- }- }-- // Remove generic event handler if we removed something and no more handlers exist- // (avoids potential for endless recursion during removal of special event handlers)- if ( origCount && !handlers.length ) {- if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) {- jQuery.removeEvent( elem, type, elemData.handle );- }-- delete events[ type ];- }- }-- // Remove the expando if it's no longer used- if ( jQuery.isEmptyObject( events ) ) {- delete elemData.handle;-- // removeData also checks for emptiness and clears the expando if empty- // so use it instead of delete- jQuery._removeData( elem, "events" );- }- },-- trigger: function( event, data, elem, onlyHandlers ) {- var handle, ontype, cur,- bubbleType, special, tmp, i,- eventPath = [ elem || document ],- type = core_hasOwn.call( event, "type" ) ? event.type : event,- namespaces = core_hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : [];-- cur = tmp = elem = elem || document;-- // Don't do events on text and comment nodes- if ( elem.nodeType === 3 || elem.nodeType === 8 ) {- return;- }-- // focus/blur morphs to focusin/out; ensure we're not firing them right now- if ( rfocusMorph.test( type + jQuery.event.triggered ) ) {- return;- }-- if ( type.indexOf(".") >= 0 ) {- // Namespaced trigger; create a regexp to match event type in handle()- namespaces = type.split(".");- type = namespaces.shift();- namespaces.sort();- }- ontype = type.indexOf(":") < 0 && "on" + type;-- // Caller can pass in a jQuery.Event object, Object, or just an event type string- event = event[ jQuery.expando ] ?- event :- new jQuery.Event( type, typeof event === "object" && event );-- // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)- event.isTrigger = onlyHandlers ? 2 : 3;- event.namespace = namespaces.join(".");- event.namespace_re = event.namespace ?- new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) :- null;-- // Clean up the event in case it is being reused- event.result = undefined;- if ( !event.target ) {- event.target = elem;- }-- // Clone any incoming data and prepend the event, creating the handler arg list- data = data == null ?- [ event ] :- jQuery.makeArray( data, [ event ] );-- // Allow special events to draw outside the lines- special = jQuery.event.special[ type ] || {};- if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {- return;- }-- // Determine event propagation path in advance, per W3C events spec (#9951)- // Bubble up to document, then to window; watch for a global ownerDocument var (#9724)- if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) {-- bubbleType = special.delegateType || type;- if ( !rfocusMorph.test( bubbleType + type ) ) {- cur = cur.parentNode;- }- for ( ; cur; cur = cur.parentNode ) {- eventPath.push( cur );- tmp = cur;- }-- // Only add window if we got to document (e.g., not plain obj or detached DOM)- if ( tmp === (elem.ownerDocument || document) ) {- eventPath.push( tmp.defaultView || tmp.parentWindow || window );- }- }-- // Fire handlers on the event path- i = 0;- while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) {-- event.type = i > 1 ?- bubbleType :- special.bindType || type;-- // jQuery handler- handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" );- if ( handle ) {- handle.apply( cur, data );- }-- // Native handler- handle = ontype && cur[ ontype ];- if ( handle && jQuery.acceptData( cur ) && handle.apply && handle.apply( cur, data ) === false ) {- event.preventDefault();- }- }- event.type = type;-- // If nobody prevented the default action, do it now- if ( !onlyHandlers && !event.isDefaultPrevented() ) {-- if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) &&- jQuery.acceptData( elem ) ) {-- // Call a native DOM method on the target with the same name name as the event.- // Can't use an .isFunction() check here because IE6/7 fails that test.- // Don't do default actions on window, that's where global variables be (#6170)- if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) {-- // Don't re-trigger an onFOO event when we call its FOO() method- tmp = elem[ ontype ];-- if ( tmp ) {- elem[ ontype ] = null;- }-- // Prevent re-triggering of the same event, since we already bubbled it above- jQuery.event.triggered = type;- try {- elem[ type ]();- } catch ( e ) {- // IE<9 dies on focus/blur to hidden element (#1486,#12518)- // only reproducible on winXP IE8 native, not IE9 in IE8 mode- }- jQuery.event.triggered = undefined;-- if ( tmp ) {- elem[ ontype ] = tmp;- }- }- }- }-- return event.result;- },-- dispatch: function( event ) {-- // Make a writable jQuery.Event from the native event object- event = jQuery.event.fix( event );-- var i, ret, handleObj, matched, j,- handlerQueue = [],- args = core_slice.call( arguments ),- handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [],- special = jQuery.event.special[ event.type ] || {};-- // Use the fix-ed jQuery.Event rather than the (read-only) native event- args[0] = event;- event.delegateTarget = this;-- // Call the preDispatch hook for the mapped type, and let it bail if desired- if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {- return;- }-- // Determine handlers- handlerQueue = jQuery.event.handlers.call( this, event, handlers );-- // Run delegates first; they may want to stop propagation beneath us- i = 0;- while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) {- event.currentTarget = matched.elem;-- j = 0;- while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) {-- // Triggered event must either 1) have no namespace, or- // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace).- if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) {-- event.handleObj = handleObj;- event.data = handleObj.data;-- ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler )- .apply( matched.elem, args );-- if ( ret !== undefined ) {- if ( (event.result = ret) === false ) {- event.preventDefault();- event.stopPropagation();- }- }- }- }- }-- // Call the postDispatch hook for the mapped type- if ( special.postDispatch ) {- special.postDispatch.call( this, event );- }-- return event.result;- },-- handlers: function( event, handlers ) {- var sel, handleObj, matches, i,- handlerQueue = [],- delegateCount = handlers.delegateCount,- cur = event.target;-- // Find delegate handlers- // Black-hole SVG <use> instance trees (#13180)- // Avoid non-left-click bubbling in Firefox (#3861)- if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) {-- /* jshint eqeqeq: false */- for ( ; cur != this; cur = cur.parentNode || this ) {- /* jshint eqeqeq: true */-- // Don't check non-elements (#13208)- // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)- if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) {- matches = [];- for ( i = 0; i < delegateCount; i++ ) {- handleObj = handlers[ i ];-- // Don't conflict with Object.prototype properties (#13203)- sel = handleObj.selector + " ";-- if ( matches[ sel ] === undefined ) {- matches[ sel ] = handleObj.needsContext ?- jQuery( sel, this ).index( cur ) >= 0 :- jQuery.find( sel, this, null, [ cur ] ).length;- }- if ( matches[ sel ] ) {- matches.push( handleObj );- }- }- if ( matches.length ) {- handlerQueue.push({ elem: cur, handlers: matches });- }- }- }- }-- // Add the remaining (directly-bound) handlers- if ( delegateCount < handlers.length ) {- handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) });- }-- return handlerQueue;- },-- fix: function( event ) {- if ( event[ jQuery.expando ] ) {- return event;- }-- // Create a writable copy of the event object and normalize some properties- var i, prop, copy,- type = event.type,- originalEvent = event,- fixHook = this.fixHooks[ type ];-- if ( !fixHook ) {- this.fixHooks[ type ] = fixHook =- rmouseEvent.test( type ) ? this.mouseHooks :- rkeyEvent.test( type ) ? this.keyHooks :- {};- }- copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props;-- event = new jQuery.Event( originalEvent );-- i = copy.length;- while ( i-- ) {- prop = copy[ i ];- event[ prop ] = originalEvent[ prop ];- }-- // Support: IE<9- // Fix target property (#1925)- if ( !event.target ) {- event.target = originalEvent.srcElement || document;- }-- // Support: Chrome 23+, Safari?- // Target should not be a text node (#504, #13143)- if ( event.target.nodeType === 3 ) {- event.target = event.target.parentNode;- }-- // Support: IE<9- // For mouse/key events, metaKey==false if it's undefined (#3368, #11328)- event.metaKey = !!event.metaKey;-- return fixHook.filter ? fixHook.filter( event, originalEvent ) : event;- },-- // Includes some event props shared by KeyEvent and MouseEvent- 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( event, original ) {-- // Add which for key events- if ( event.which == null ) {- event.which = original.charCode != null ? original.charCode : original.keyCode;- }-- return event;- }- },-- mouseHooks: {- props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),- filter: function( event, original ) {- var body, eventDoc, doc,- button = original.button,- fromElement = original.fromElement;-- // Calculate pageX/Y if missing and clientX/Y available- if ( event.pageX == null && original.clientX != null ) {- eventDoc = event.target.ownerDocument || document;- doc = eventDoc.documentElement;- body = eventDoc.body;-- event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 );- event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 );- }-- // Add relatedTarget, if necessary- if ( !event.relatedTarget && fromElement ) {- event.relatedTarget = fromElement === event.target ? original.toElement : fromElement;- }-- // Add which for click: 1 === left; 2 === middle; 3 === right- // Note: button is not normalized, so don't use it- if ( !event.which && button !== undefined ) {- event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) );- }-- return event;- }- },-- special: {- load: {- // Prevent triggered image.load events from bubbling to window.load- noBubble: true- },- focus: {- // Fire native event if possible so blur/focus sequence is correct- trigger: function() {- if ( this !== safeActiveElement() && this.focus ) {- try {- this.focus();- return false;- } catch ( e ) {- // Support: IE<9- // If we error on focus to hidden element (#1486, #12518),- // let .trigger() run the handlers- }- }- },- delegateType: "focusin"- },- blur: {- trigger: function() {- if ( this === safeActiveElement() && this.blur ) {- this.blur();- return false;- }- },- delegateType: "focusout"- },- click: {- // For checkbox, fire native event so checked state will be right- trigger: function() {- if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) {- this.click();- return false;- }- },-- // For cross-browser consistency, don't fire native .click() on links- _default: function( event ) {- return jQuery.nodeName( event.target, "a" );- }- },-- beforeunload: {- postDispatch: function( event ) {-- // Even when returnValue equals to undefined Firefox will still show alert- if ( event.result !== undefined ) {- event.originalEvent.returnValue = event.result;- }- }- }- },-- simulate: function( type, elem, event, bubble ) {- // Piggyback on a donor event to simulate a different one.- // Fake originalEvent to avoid donor's stopPropagation, but if the- // simulated event prevents default then we do the same on the donor.- var e = jQuery.extend(- new jQuery.Event(),- event,- {- type: type,- isSimulated: true,- originalEvent: {}- }- );- if ( bubble ) {- jQuery.event.trigger( e, null, elem );- } else {- jQuery.event.dispatch.call( elem, e );- }- if ( e.isDefaultPrevented() ) {- event.preventDefault();- }- }-};--jQuery.removeEvent = document.removeEventListener ?- function( elem, type, handle ) {- if ( elem.removeEventListener ) {- elem.removeEventListener( type, handle, false );- }- } :- function( elem, type, handle ) {- var name = "on" + type;-- if ( elem.detachEvent ) {-- // #8545, #7054, preventing memory leaks for custom events in IE6-8- // detachEvent needed property on element, by name of that event, to properly expose it to GC- if ( typeof elem[ name ] === core_strundefined ) {- elem[ name ] = null;- }-- elem.detachEvent( name, handle );- }- };--jQuery.Event = function( src, props ) {- // Allow instantiation without the 'new' keyword- if ( !(this instanceof jQuery.Event) ) {- return new jQuery.Event( src, props );- }-- // Event object- if ( src && src.type ) {- this.originalEvent = src;- this.type = src.type;-- // Events bubbling up the document may have been marked as prevented- // by a handler lower down the tree; reflect the correct value.- this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false ||- src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse;-- // Event type- } else {- this.type = src;- }-- // Put explicitly provided properties onto the event object- if ( props ) {- jQuery.extend( this, props );- }-- // Create a timestamp if incoming event doesn't have one- this.timeStamp = src && src.timeStamp || jQuery.now();-- // Mark it as fixed- this[ jQuery.expando ] = true;-};--// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding-// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html-jQuery.Event.prototype = {- isDefaultPrevented: returnFalse,- isPropagationStopped: returnFalse,- isImmediatePropagationStopped: returnFalse,-- preventDefault: function() {- var e = this.originalEvent;-- this.isDefaultPrevented = returnTrue;- if ( !e ) {- return;- }-- // If preventDefault exists, run it on the original event- if ( e.preventDefault ) {- e.preventDefault();-- // Support: IE- // Otherwise set the returnValue property of the original event to false- } else {- e.returnValue = false;- }- },- stopPropagation: function() {- var e = this.originalEvent;-- this.isPropagationStopped = returnTrue;- if ( !e ) {- return;- }- // If stopPropagation exists, run it on the original event- if ( e.stopPropagation ) {- e.stopPropagation();- }-- // Support: IE- // Set the cancelBubble property of the original event to true- e.cancelBubble = true;- },- stopImmediatePropagation: function() {- this.isImmediatePropagationStopped = returnTrue;- this.stopPropagation();- }-};--// Create mouseenter/leave events using mouseover/out and event-time checks-jQuery.each({- mouseenter: "mouseover",- mouseleave: "mouseout"-}, function( orig, fix ) {- jQuery.event.special[ orig ] = {- delegateType: fix,- bindType: fix,-- handle: function( event ) {- var ret,- target = this,- related = event.relatedTarget,- handleObj = event.handleObj;-- // For mousenter/leave call the handler if related is outside the target.- // NB: No relatedTarget if the mouse left/entered the browser window- if ( !related || (related !== target && !jQuery.contains( target, related )) ) {- event.type = handleObj.origType;- ret = handleObj.handler.apply( this, arguments );- event.type = fix;- }- return ret;- }- };-});--// IE submit delegation-if ( !jQuery.support.submitBubbles ) {-- jQuery.event.special.submit = {- setup: function() {- // Only need this for delegated form submit events- if ( jQuery.nodeName( this, "form" ) ) {- return false;- }-- // Lazy-add a submit handler when a descendant form may potentially be submitted- jQuery.event.add( this, "click._submit keypress._submit", function( e ) {- // Node name check avoids a VML-related crash in IE (#9807)- var elem = e.target,- form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined;- if ( form && !jQuery._data( form, "submitBubbles" ) ) {- jQuery.event.add( form, "submit._submit", function( event ) {- event._submit_bubble = true;- });- jQuery._data( form, "submitBubbles", true );- }- });- // return undefined since we don't need an event listener- },-- postDispatch: function( event ) {- // If form was submitted by the user, bubble the event up the tree- if ( event._submit_bubble ) {- delete event._submit_bubble;- if ( this.parentNode && !event.isTrigger ) {- jQuery.event.simulate( "submit", this.parentNode, event, true );- }- }- },-- teardown: function() {- // Only need this for delegated form submit events- if ( jQuery.nodeName( this, "form" ) ) {- return false;- }-- // Remove delegated handlers; cleanData eventually reaps submit handlers attached above- jQuery.event.remove( this, "._submit" );- }- };-}--// IE change delegation and checkbox/radio fix-if ( !jQuery.support.changeBubbles ) {-- jQuery.event.special.change = {-- setup: function() {-- if ( rformElems.test( this.nodeName ) ) {- // IE doesn't fire change on a check/radio until blur; trigger it on click- // after a propertychange. Eat the blur-change in special.change.handle.- // This still fires onchange a second time for check/radio after blur.- if ( this.type === "checkbox" || this.type === "radio" ) {- jQuery.event.add( this, "propertychange._change", function( event ) {- if ( event.originalEvent.propertyName === "checked" ) {- this._just_changed = true;- }- });- jQuery.event.add( this, "click._change", function( event ) {- if ( this._just_changed && !event.isTrigger ) {- this._just_changed = false;- }- // Allow triggered, simulated change events (#11500)- jQuery.event.simulate( "change", this, event, true );- });- }- return false;- }- // Delegated event; lazy-add a change handler on descendant inputs- jQuery.event.add( this, "beforeactivate._change", function( e ) {- var elem = e.target;-- if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) {- jQuery.event.add( elem, "change._change", function( event ) {- if ( this.parentNode && !event.isSimulated && !event.isTrigger ) {- jQuery.event.simulate( "change", this.parentNode, event, true );- }- });- jQuery._data( elem, "changeBubbles", true );- }- });- },-- handle: function( event ) {- var elem = event.target;-- // Swallow native change events from checkbox/radio, we already triggered them above- if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) {- return event.handleObj.handler.apply( this, arguments );- }- },-- teardown: function() {- jQuery.event.remove( this, "._change" );-- return !rformElems.test( this.nodeName );- }- };-}--// Create "bubbling" focus and blur events-if ( !jQuery.support.focusinBubbles ) {- jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) {-- // Attach a single capturing handler while someone wants focusin/focusout- var attaches = 0,- handler = function( event ) {- jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true );- };-- jQuery.event.special[ fix ] = {- setup: function() {- if ( attaches++ === 0 ) {- document.addEventListener( orig, handler, true );- }- },- teardown: function() {- if ( --attaches === 0 ) {- document.removeEventListener( orig, handler, true );- }- }- };- });-}--jQuery.fn.extend({-- on: function( types, selector, data, fn, /*INTERNAL*/ one ) {- var type, origFn;-- // Types can be a map of types/handlers- if ( typeof types === "object" ) {- // ( types-Object, selector, data )- if ( typeof selector !== "string" ) {- // ( types-Object, data )- data = data || selector;- selector = undefined;- }- for ( type in types ) {- this.on( type, selector, data, types[ type ], one );- }- return this;- }-- if ( data == null && fn == null ) {- // ( types, fn )- fn = selector;- data = selector = undefined;- } else if ( fn == null ) {- if ( typeof selector === "string" ) {- // ( types, selector, fn )- fn = data;- data = undefined;- } else {- // ( types, data, fn )- fn = data;- data = selector;- selector = undefined;- }- }- if ( fn === false ) {- fn = returnFalse;- } else if ( !fn ) {- return this;- }-- if ( one === 1 ) {- origFn = fn;- fn = function( event ) {- // Can use an empty set, since event contains the info- jQuery().off( event );- return origFn.apply( this, arguments );- };- // Use same guid so caller can remove using origFn- fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );- }- return this.each( function() {- jQuery.event.add( this, types, fn, data, selector );- });- },- one: function( types, selector, data, fn ) {- return this.on( types, selector, data, fn, 1 );- },- off: function( types, selector, fn ) {- var handleObj, type;- if ( types && types.preventDefault && types.handleObj ) {- // ( event ) dispatched jQuery.Event- handleObj = types.handleObj;- jQuery( types.delegateTarget ).off(- handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType,- handleObj.selector,- handleObj.handler- );- return this;- }- if ( typeof types === "object" ) {- // ( types-object [, selector] )- for ( type in types ) {- this.off( type, selector, types[ type ] );- }- return this;- }- if ( selector === false || typeof selector === "function" ) {- // ( types [, fn] )- fn = selector;- selector = undefined;- }- if ( fn === false ) {- fn = returnFalse;- }- return this.each(function() {- jQuery.event.remove( this, types, fn, selector );- });- },-- trigger: function( type, data ) {- return this.each(function() {- jQuery.event.trigger( type, data, this );- });- },- triggerHandler: function( type, data ) {- var elem = this[0];- if ( elem ) {- return jQuery.event.trigger( type, data, elem, true );- }- }-});-var isSimple = /^.[^:#\[\.,]*$/,- rparentsprev = /^(?:parents|prev(?:Until|All))/,- rneedsContext = jQuery.expr.match.needsContext,- // methods guaranteed to produce a unique set when starting from a unique set- guaranteedUnique = {- children: true,- contents: true,- next: true,- prev: true- };--jQuery.fn.extend({- find: function( selector ) {- var i,- ret = [],- self = this,- len = self.length;-- if ( typeof selector !== "string" ) {- return this.pushStack( jQuery( selector ).filter(function() {- for ( i = 0; i < len; i++ ) {- if ( jQuery.contains( self[ i ], this ) ) {- return true;- }- }- }) );- }-- for ( i = 0; i < len; i++ ) {- jQuery.find( selector, self[ i ], ret );- }-- // Needed because $( selector, context ) becomes $( context ).find( selector )- ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret );- ret.selector = this.selector ? this.selector + " " + selector : selector;- return ret;- },-- has: function( target ) {- var i,- targets = jQuery( target, this ),- len = targets.length;-- return this.filter(function() {- for ( i = 0; i < len; i++ ) {- if ( jQuery.contains( this, targets[i] ) ) {- return true;- }- }- });- },-- not: function( selector ) {- return this.pushStack( winnow(this, selector || [], true) );- },-- filter: function( selector ) {- return this.pushStack( winnow(this, selector || [], false) );- },-- is: function( selector ) {- return !!winnow(- this,-- // If this is a positional/relative selector, check membership in the returned set- // so $("p:first").is("p:last") won't return true for a doc with two "p".- typeof selector === "string" && rneedsContext.test( selector ) ?- jQuery( selector ) :- selector || [],- false- ).length;- },-- closest: function( selectors, context ) {- var cur,- i = 0,- l = this.length,- ret = [],- pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ?- jQuery( selectors, context || this.context ) :- 0;-- for ( ; i < l; i++ ) {- for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) {- // Always skip document fragments- if ( cur.nodeType < 11 && (pos ?- pos.index(cur) > -1 :-- // Don't pass non-elements to Sizzle- cur.nodeType === 1 &&- jQuery.find.matchesSelector(cur, selectors)) ) {-- cur = ret.push( cur );- break;- }- }- }-- return this.pushStack( ret.length > 1 ? jQuery.unique( ret ) : ret );- },-- // Determine the position of an element within- // the matched set of elements- index: function( elem ) {-- // No argument, return index in parent- if ( !elem ) {- return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1;- }-- // index in selector- if ( typeof elem === "string" ) {- return jQuery.inArray( this[0], jQuery( elem ) );- }-- // Locate the position of the desired element- return jQuery.inArray(- // If it receives a jQuery object, the first element is used- elem.jquery ? elem[0] : elem, this );- },-- add: function( selector, context ) {- var set = typeof selector === "string" ?- jQuery( selector, context ) :- jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ),- all = jQuery.merge( this.get(), set );-- return this.pushStack( jQuery.unique(all) );- },-- addBack: function( selector ) {- return this.add( selector == null ?- this.prevObject : this.prevObject.filter(selector)- );- }-});--function sibling( cur, dir ) {- do {- cur = cur[ dir ];- } while ( cur && cur.nodeType !== 1 );-- return cur;-}--jQuery.each({- parent: function( elem ) {- var parent = elem.parentNode;- return parent && parent.nodeType !== 11 ? parent : null;- },- parents: function( elem ) {- return jQuery.dir( elem, "parentNode" );- },- parentsUntil: function( elem, i, until ) {- return jQuery.dir( elem, "parentNode", until );- },- next: function( elem ) {- return sibling( elem, "nextSibling" );- },- prev: function( elem ) {- return sibling( elem, "previousSibling" );- },- nextAll: function( elem ) {- return jQuery.dir( elem, "nextSibling" );- },- prevAll: function( elem ) {- return jQuery.dir( elem, "previousSibling" );- },- nextUntil: function( elem, i, until ) {- return jQuery.dir( elem, "nextSibling", until );- },- prevUntil: function( elem, i, until ) {- return jQuery.dir( elem, "previousSibling", until );- },- siblings: function( elem ) {- return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem );- },- children: function( elem ) {- return jQuery.sibling( elem.firstChild );- },- contents: function( elem ) {- return jQuery.nodeName( elem, "iframe" ) ?- elem.contentDocument || elem.contentWindow.document :- jQuery.merge( [], elem.childNodes );- }-}, function( name, fn ) {- jQuery.fn[ name ] = function( until, selector ) {- var ret = jQuery.map( this, fn, until );-- if ( name.slice( -5 ) !== "Until" ) {- selector = until;- }-- if ( selector && typeof selector === "string" ) {- ret = jQuery.filter( selector, ret );- }-- if ( this.length > 1 ) {- // Remove duplicates- if ( !guaranteedUnique[ name ] ) {- ret = jQuery.unique( ret );- }-- // Reverse order for parents* and prev-derivatives- if ( rparentsprev.test( name ) ) {- ret = ret.reverse();- }- }-- return this.pushStack( ret );- };-});--jQuery.extend({- filter: function( expr, elems, not ) {- var elem = elems[ 0 ];-- if ( not ) {- expr = ":not(" + expr + ")";- }-- return elems.length === 1 && elem.nodeType === 1 ?- jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] :- jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {- return elem.nodeType === 1;- }));- },-- dir: function( elem, dir, until ) {- var matched = [],- cur = elem[ dir ];-- while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) {- if ( cur.nodeType === 1 ) {- matched.push( cur );- }- cur = cur[dir];- }- return matched;- },-- sibling: function( n, elem ) {- var r = [];-- for ( ; n; n = n.nextSibling ) {- if ( n.nodeType === 1 && n !== elem ) {- r.push( n );- }- }-- return r;- }-});--// Implement the identical functionality for filter and not-function winnow( elements, qualifier, not ) {- if ( jQuery.isFunction( qualifier ) ) {- return jQuery.grep( elements, function( elem, i ) {- /* jshint -W018 */- return !!qualifier.call( elem, i, elem ) !== not;- });-- }-- if ( qualifier.nodeType ) {- return jQuery.grep( elements, function( elem ) {- return ( elem === qualifier ) !== not;- });-- }-- if ( typeof qualifier === "string" ) {- if ( isSimple.test( qualifier ) ) {- return jQuery.filter( qualifier, elements, not );- }-- qualifier = jQuery.filter( qualifier, elements );- }-- return jQuery.grep( elements, function( elem ) {- return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not;- });-}-function createSafeFragment( document ) {- var list = nodeNames.split( "|" ),- safeFrag = document.createDocumentFragment();-- if ( safeFrag.createElement ) {- while ( list.length ) {- safeFrag.createElement(- list.pop()- );- }- }- return safeFrag;-}--var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" +- "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",- rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g,- rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"),- rleadingWhitespace = /^\s+/,- rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,- rtagName = /<([\w:]+)/,- rtbody = /<tbody/i,- rhtml = /<|&#?\w+;/,- rnoInnerhtml = /<(?:script|style|link)/i,- manipulation_rcheckableType = /^(?:checkbox|radio)$/i,- // checked="checked" or checked- rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,- rscriptType = /^$|\/(?:java|ecma)script/i,- rscriptTypeMasked = /^true\/(.*)/,- rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,-- // We have to close these tags to support XHTML (#13200)- wrapMap = {- 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>" ],-- // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags,- // unless wrapped in a div with non-breaking characters in front of it.- _default: jQuery.support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X<div>", "</div>" ]- },- safeFragment = createSafeFragment( document ),- fragmentDiv = safeFragment.appendChild( document.createElement("div") );--wrapMap.optgroup = wrapMap.option;-wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;-wrapMap.th = wrapMap.td;--jQuery.fn.extend({- text: function( value ) {- return jQuery.access( this, function( value ) {- return value === undefined ?- jQuery.text( this ) :- this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) );- }, null, value, arguments.length );- },-- append: function() {- return this.domManip( arguments, function( elem ) {- if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {- var target = manipulationTarget( this, elem );- target.appendChild( elem );- }- });- },-- prepend: function() {- return this.domManip( arguments, function( elem ) {- if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {- var target = manipulationTarget( this, elem );- target.insertBefore( elem, target.firstChild );- }- });- },-- before: function() {- return this.domManip( arguments, function( elem ) {- if ( this.parentNode ) {- this.parentNode.insertBefore( elem, this );- }- });- },-- after: function() {- return this.domManip( arguments, function( elem ) {- if ( this.parentNode ) {- this.parentNode.insertBefore( elem, this.nextSibling );- }- });- },-- // keepData is for internal use only--do not document- remove: function( selector, keepData ) {- var elem,- elems = selector ? jQuery.filter( selector, this ) : this,- i = 0;-- for ( ; (elem = elems[i]) != null; i++ ) {-- if ( !keepData && elem.nodeType === 1 ) {- jQuery.cleanData( getAll( elem ) );- }-- if ( elem.parentNode ) {- if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) {- setGlobalEval( getAll( elem, "script" ) );- }- elem.parentNode.removeChild( elem );- }- }-- return this;- },-- empty: function() {- var elem,- i = 0;-- for ( ; (elem = this[i]) != null; i++ ) {- // Remove element nodes and prevent memory leaks- if ( elem.nodeType === 1 ) {- jQuery.cleanData( getAll( elem, false ) );- }-- // Remove any remaining nodes- while ( elem.firstChild ) {- elem.removeChild( elem.firstChild );- }-- // If this is a select, ensure that it displays empty (#12336)- // Support: IE<9- if ( elem.options && jQuery.nodeName( elem, "select" ) ) {- elem.options.length = 0;- }- }-- return this;- },-- clone: function( dataAndEvents, deepDataAndEvents ) {- dataAndEvents = dataAndEvents == null ? false : dataAndEvents;- deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;-- return this.map( function () {- return jQuery.clone( this, dataAndEvents, deepDataAndEvents );- });- },-- html: function( value ) {- return jQuery.access( this, function( value ) {- var elem = this[0] || {},- i = 0,- l = this.length;-- if ( value === undefined ) {- return elem.nodeType === 1 ?- elem.innerHTML.replace( rinlinejQuery, "" ) :- undefined;- }-- // See if we can take a shortcut and just use innerHTML- if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&- ( jQuery.support.htmlSerialize || !rnoshimcache.test( value ) ) &&- ( jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value ) ) &&- !wrapMap[ ( rtagName.exec( value ) || ["", ""] )[1].toLowerCase() ] ) {-- value = value.replace( rxhtmlTag, "<$1></$2>" );-- try {- for (; i < l; i++ ) {- // Remove element nodes and prevent memory leaks- elem = this[i] || {};- if ( elem.nodeType === 1 ) {- jQuery.cleanData( getAll( elem, false ) );- elem.innerHTML = value;- }- }-- elem = 0;-- // If using innerHTML throws an exception, use the fallback method- } catch(e) {}- }-- if ( elem ) {- this.empty().append( value );- }- }, null, value, arguments.length );- },-- replaceWith: function() {- var- // Snapshot the DOM in case .domManip sweeps something relevant into its fragment- args = jQuery.map( this, function( elem ) {- return [ elem.nextSibling, elem.parentNode ];- }),- i = 0;-- // Make the changes, replacing each context element with the new content- this.domManip( arguments, function( elem ) {- var next = args[ i++ ],- parent = args[ i++ ];-- if ( parent ) {- // Don't use the snapshot next if it has moved (#13810)- if ( next && next.parentNode !== parent ) {- next = this.nextSibling;- }- jQuery( this ).remove();- parent.insertBefore( elem, next );- }- // Allow new content to include elements from the context set- }, true );-- // Force removal if there was no new content (e.g., from empty arguments)- return i ? this : this.remove();- },-- detach: function( selector ) {- return this.remove( selector, true );- },-- domManip: function( args, callback, allowIntersection ) {-- // Flatten any nested arrays- args = core_concat.apply( [], args );-- var first, node, hasScripts,- scripts, doc, fragment,- i = 0,- l = this.length,- set = this,- iNoClone = l - 1,- value = args[0],- isFunction = jQuery.isFunction( value );-- // We can't cloneNode fragments that contain checked, in WebKit- if ( isFunction || !( l <= 1 || typeof value !== "string" || jQuery.support.checkClone || !rchecked.test( value ) ) ) {- return this.each(function( index ) {- var self = set.eq( index );- if ( isFunction ) {- args[0] = value.call( this, index, self.html() );- }- self.domManip( args, callback, allowIntersection );- });- }-- if ( l ) {- fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, !allowIntersection && this );- first = fragment.firstChild;-- if ( fragment.childNodes.length === 1 ) {- fragment = first;- }-- if ( first ) {- scripts = jQuery.map( getAll( fragment, "script" ), disableScript );- hasScripts = scripts.length;-- // Use the original fragment for the last item instead of the first because it can end up- // being emptied incorrectly in certain situations (#8070).- for ( ; i < l; i++ ) {- node = fragment;-- if ( i !== iNoClone ) {- node = jQuery.clone( node, true, true );-- // Keep references to cloned scripts for later restoration- if ( hasScripts ) {- jQuery.merge( scripts, getAll( node, "script" ) );- }- }-- callback.call( this[i], node, i );- }-- if ( hasScripts ) {- doc = scripts[ scripts.length - 1 ].ownerDocument;-- // Reenable scripts- jQuery.map( scripts, restoreScript );-- // Evaluate executable scripts on first document insertion- for ( i = 0; i < hasScripts; i++ ) {- node = scripts[ i ];- if ( rscriptType.test( node.type || "" ) &&- !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) {-- if ( node.src ) {- // Hope ajax is available...- jQuery._evalUrl( node.src );- } else {- jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) );- }- }- }- }-- // Fix #11809: Avoid leaking memory- fragment = first = null;- }- }-- return this;- }-});--// Support: IE<8-// Manipulating tables requires a tbody-function manipulationTarget( elem, content ) {- return jQuery.nodeName( elem, "table" ) &&- jQuery.nodeName( content.nodeType === 1 ? content : content.firstChild, "tr" ) ?-- elem.getElementsByTagName("tbody")[0] ||- elem.appendChild( elem.ownerDocument.createElement("tbody") ) :- elem;-}--// Replace/restore the type attribute of script elements for safe DOM manipulation-function disableScript( elem ) {- elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type;- return elem;-}-function restoreScript( elem ) {- var match = rscriptTypeMasked.exec( elem.type );- if ( match ) {- elem.type = match[1];- } else {- elem.removeAttribute("type");- }- return elem;-}--// Mark scripts as having already been evaluated-function setGlobalEval( elems, refElements ) {- var elem,- i = 0;- for ( ; (elem = elems[i]) != null; i++ ) {- jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) );- }-}--function cloneCopyEvent( src, dest ) {-- if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) {- return;- }-- var type, i, l,- oldData = jQuery._data( src ),- curData = jQuery._data( dest, oldData ),- events = oldData.events;-- if ( events ) {- delete curData.handle;- curData.events = {};-- for ( type in events ) {- for ( i = 0, l = events[ type ].length; i < l; i++ ) {- jQuery.event.add( dest, type, events[ type ][ i ] );- }- }- }-- // make the cloned public data object a copy from the original- if ( curData.data ) {- curData.data = jQuery.extend( {}, curData.data );- }-}--function fixCloneNodeIssues( src, dest ) {- var nodeName, e, data;-- // We do not need to do anything for non-Elements- if ( dest.nodeType !== 1 ) {- return;- }-- nodeName = dest.nodeName.toLowerCase();-- // IE6-8 copies events bound via attachEvent when using cloneNode.- if ( !jQuery.support.noCloneEvent && dest[ jQuery.expando ] ) {- data = jQuery._data( dest );-- for ( e in data.events ) {- jQuery.removeEvent( dest, e, data.handle );- }-- // Event data gets referenced instead of copied if the expando gets copied too- dest.removeAttribute( jQuery.expando );- }-- // IE blanks contents when cloning scripts, and tries to evaluate newly-set text- if ( nodeName === "script" && dest.text !== src.text ) {- disableScript( dest ).text = src.text;- restoreScript( dest );-- // IE6-10 improperly clones children of object elements using classid.- // IE10 throws NoModificationAllowedError if parent is null, #12132.- } else if ( nodeName === "object" ) {- if ( dest.parentNode ) {- dest.outerHTML = src.outerHTML;- }-- // This path appears unavoidable for IE9. When cloning an object- // element in IE9, the outerHTML strategy above is not sufficient.- // If the src has innerHTML and the destination does not,- // copy the src.innerHTML into the dest.innerHTML. #10324- if ( jQuery.support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) {- dest.innerHTML = src.innerHTML;- }-- } else if ( nodeName === "input" && manipulation_rcheckableType.test( src.type ) ) {- // IE6-8 fails to persist the checked state of a cloned checkbox- // or radio button. Worse, IE6-7 fail to give the cloned element- // a checked appearance if the defaultChecked value isn't also set-- dest.defaultChecked = dest.checked = src.checked;-- // IE6-7 get confused and end up setting the value of a cloned- // checkbox/radio button to an empty string instead of "on"- if ( dest.value !== src.value ) {- dest.value = src.value;- }-- // IE6-8 fails to return the selected option to the default selected- // state when cloning options- } else if ( nodeName === "option" ) {- dest.defaultSelected = dest.selected = src.defaultSelected;-- // IE6-8 fails to set the defaultValue to the correct value when- // cloning other types of input fields- } else if ( nodeName === "input" || nodeName === "textarea" ) {- dest.defaultValue = src.defaultValue;- }-}--jQuery.each({- appendTo: "append",- prependTo: "prepend",- insertBefore: "before",- insertAfter: "after",- replaceAll: "replaceWith"-}, function( name, original ) {- jQuery.fn[ name ] = function( selector ) {- var elems,- i = 0,- ret = [],- insert = jQuery( selector ),- last = insert.length - 1;-- for ( ; i <= last; i++ ) {- elems = i === last ? this : this.clone(true);- jQuery( insert[i] )[ original ]( elems );-- // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get()- core_push.apply( ret, elems.get() );- }-- return this.pushStack( ret );- };-});--function getAll( context, tag ) {- var elems, elem,- i = 0,- found = typeof context.getElementsByTagName !== core_strundefined ? context.getElementsByTagName( tag || "*" ) :- typeof context.querySelectorAll !== core_strundefined ? context.querySelectorAll( tag || "*" ) :- undefined;-- if ( !found ) {- for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) {- if ( !tag || jQuery.nodeName( elem, tag ) ) {- found.push( elem );- } else {- jQuery.merge( found, getAll( elem, tag ) );- }- }- }-- return tag === undefined || tag && jQuery.nodeName( context, tag ) ?- jQuery.merge( [ context ], found ) :- found;-}--// Used in buildFragment, fixes the defaultChecked property-function fixDefaultChecked( elem ) {- if ( manipulation_rcheckableType.test( elem.type ) ) {- elem.defaultChecked = elem.checked;- }-}--jQuery.extend({- clone: function( elem, dataAndEvents, deepDataAndEvents ) {- var destElements, node, clone, i, srcElements,- inPage = jQuery.contains( elem.ownerDocument, elem );-- if ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) {- clone = elem.cloneNode( true );-- // IE<=8 does not properly clone detached, unknown element nodes- } else {- fragmentDiv.innerHTML = elem.outerHTML;- fragmentDiv.removeChild( clone = fragmentDiv.firstChild );- }-- if ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) &&- (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) {-- // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2- destElements = getAll( clone );- srcElements = getAll( elem );-- // Fix all IE cloning issues- for ( i = 0; (node = srcElements[i]) != null; ++i ) {- // Ensure that the destination node is not null; Fixes #9587- if ( destElements[i] ) {- fixCloneNodeIssues( node, destElements[i] );- }- }- }-- // Copy the events from the original to the clone- if ( dataAndEvents ) {- if ( deepDataAndEvents ) {- srcElements = srcElements || getAll( elem );- destElements = destElements || getAll( clone );-- for ( i = 0; (node = srcElements[i]) != null; i++ ) {- cloneCopyEvent( node, destElements[i] );- }- } else {- cloneCopyEvent( elem, clone );- }- }-- // Preserve script evaluation history- destElements = getAll( clone, "script" );- if ( destElements.length > 0 ) {- setGlobalEval( destElements, !inPage && getAll( elem, "script" ) );- }-- destElements = srcElements = node = null;-- // Return the cloned set- return clone;- },-- buildFragment: function( elems, context, scripts, selection ) {- var j, elem, contains,- tmp, tag, tbody, wrap,- l = elems.length,-- // Ensure a safe fragment- safe = createSafeFragment( context ),-- nodes = [],- i = 0;-- for ( ; i < l; i++ ) {- elem = elems[ i ];-- if ( elem || elem === 0 ) {-- // Add nodes directly- if ( jQuery.type( elem ) === "object" ) {- jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );-- // Convert non-html into a text node- } else if ( !rhtml.test( elem ) ) {- nodes.push( context.createTextNode( elem ) );-- // Convert html into DOM nodes- } else {- tmp = tmp || safe.appendChild( context.createElement("div") );-- // Deserialize a standard representation- tag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase();- wrap = wrapMap[ tag ] || wrapMap._default;-- tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1></$2>" ) + wrap[2];-- // Descend through wrappers to the right content- j = wrap[0];- while ( j-- ) {- tmp = tmp.lastChild;- }-- // Manually add leading whitespace removed by IE- if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) {- nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) );- }-- // Remove IE's autoinserted <tbody> from table fragments- if ( !jQuery.support.tbody ) {-- // String was a <table>, *may* have spurious <tbody>- elem = tag === "table" && !rtbody.test( elem ) ?- tmp.firstChild :-- // String was a bare <thead> or <tfoot>- wrap[1] === "<table>" && !rtbody.test( elem ) ?- tmp :- 0;-- j = elem && elem.childNodes.length;- while ( j-- ) {- if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) {- elem.removeChild( tbody );- }- }- }-- jQuery.merge( nodes, tmp.childNodes );-- // Fix #12392 for WebKit and IE > 9- tmp.textContent = "";-- // Fix #12392 for oldIE- while ( tmp.firstChild ) {- tmp.removeChild( tmp.firstChild );- }-- // Remember the top-level container for proper cleanup- tmp = safe.lastChild;- }- }- }-- // Fix #11356: Clear elements from fragment- if ( tmp ) {- safe.removeChild( tmp );- }-- // Reset defaultChecked for any radios and checkboxes- // about to be appended to the DOM in IE 6/7 (#8060)- if ( !jQuery.support.appendChecked ) {- jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked );- }-- i = 0;- while ( (elem = nodes[ i++ ]) ) {-- // #4087 - If origin and destination elements are the same, and this is- // that element, do not do anything- if ( selection && jQuery.inArray( elem, selection ) !== -1 ) {- continue;- }-- contains = jQuery.contains( elem.ownerDocument, elem );-- // Append to fragment- tmp = getAll( safe.appendChild( elem ), "script" );-- // Preserve script evaluation history- if ( contains ) {- setGlobalEval( tmp );- }-- // Capture executables- if ( scripts ) {- j = 0;- while ( (elem = tmp[ j++ ]) ) {- if ( rscriptType.test( elem.type || "" ) ) {- scripts.push( elem );- }- }- }- }-- tmp = null;-- return safe;- },-- cleanData: function( elems, /* internal */ acceptData ) {- var elem, type, id, data,- i = 0,- internalKey = jQuery.expando,- cache = jQuery.cache,- deleteExpando = jQuery.support.deleteExpando,- special = jQuery.event.special;-- for ( ; (elem = elems[i]) != null; i++ ) {-- if ( acceptData || jQuery.acceptData( elem ) ) {-- id = elem[ internalKey ];- data = id && cache[ id ];-- if ( data ) {- if ( data.events ) {- for ( type in data.events ) {- if ( special[ type ] ) {- jQuery.event.remove( elem, type );-- // This is a shortcut to avoid jQuery.event.remove's overhead- } else {- jQuery.removeEvent( elem, type, data.handle );- }- }- }-- // Remove cache only if it was not already removed by jQuery.event.remove- if ( cache[ id ] ) {-- delete cache[ id ];-- // IE does not allow us to delete expando properties from nodes,- // nor does it have a removeAttribute function on Document nodes;- // we must handle all of these cases- if ( deleteExpando ) {- delete elem[ internalKey ];-- } else if ( typeof elem.removeAttribute !== core_strundefined ) {- elem.removeAttribute( internalKey );-- } else {- elem[ internalKey ] = null;- }-- core_deletedIds.push( id );- }- }- }- }- },-- _evalUrl: function( url ) {- return jQuery.ajax({- url: url,- type: "GET",- dataType: "script",- async: false,- global: false,- "throws": true- });- }-});-jQuery.fn.extend({- wrapAll: function( html ) {- if ( jQuery.isFunction( html ) ) {- return this.each(function(i) {- jQuery(this).wrapAll( html.call(this, i) );- });- }-- if ( this[0] ) {- // The elements to wrap the target around- var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true);-- if ( this[0].parentNode ) {- wrap.insertBefore( this[0] );- }-- wrap.map(function() {- var elem = this;-- while ( elem.firstChild && elem.firstChild.nodeType === 1 ) {- elem = elem.firstChild;- }-- return elem;- }).append( this );- }-- return this;- },-- wrapInner: function( html ) {- if ( jQuery.isFunction( html ) ) {- return this.each(function(i) {- jQuery(this).wrapInner( html.call(this, i) );- });- }-- return this.each(function() {- var self = jQuery( this ),- contents = self.contents();-- if ( contents.length ) {- contents.wrapAll( html );-- } else {- self.append( html );- }- });- },-- wrap: function( html ) {- var isFunction = jQuery.isFunction( html );-- return this.each(function(i) {- jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html );- });- },-- unwrap: function() {- return this.parent().each(function() {- if ( !jQuery.nodeName( this, "body" ) ) {- jQuery( this ).replaceWith( this.childNodes );- }- }).end();- }-});-var iframe, getStyles, curCSS,- ralpha = /alpha\([^)]*\)/i,- ropacity = /opacity\s*=\s*([^)]*)/,- rposition = /^(top|right|bottom|left)$/,- // swappable if display is none or starts with table except "table", "table-cell", or "table-caption"- // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display- rdisplayswap = /^(none|table(?!-c[ea]).+)/,- rmargin = /^margin/,- rnumsplit = new RegExp( "^(" + core_pnum + ")(.*)$", "i" ),- rnumnonpx = new RegExp( "^(" + core_pnum + ")(?!px)[a-z%]+$", "i" ),- rrelNum = new RegExp( "^([+-])=(" + core_pnum + ")", "i" ),- elemdisplay = { BODY: "block" },-- cssShow = { position: "absolute", visibility: "hidden", display: "block" },- cssNormalTransform = {- letterSpacing: 0,- fontWeight: 400- },-- cssExpand = [ "Top", "Right", "Bottom", "Left" ],- cssPrefixes = [ "Webkit", "O", "Moz", "ms" ];--// return a css property mapped to a potentially vendor prefixed property-function vendorPropName( style, name ) {-- // shortcut for names that are not vendor prefixed- if ( name in style ) {- return name;- }-- // check for vendor prefixed names- var capName = name.charAt(0).toUpperCase() + name.slice(1),- origName = name,- i = cssPrefixes.length;-- while ( i-- ) {- name = cssPrefixes[ i ] + capName;- if ( name in style ) {- return name;- }- }-- return origName;-}--function isHidden( elem, el ) {- // isHidden might be called from jQuery#filter function;- // in that case, element will be second argument- elem = el || elem;- return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem );-}--function showHide( elements, show ) {- var display, elem, hidden,- values = [],- index = 0,- length = elements.length;-- for ( ; index < length; index++ ) {- elem = elements[ index ];- if ( !elem.style ) {- continue;- }-- values[ index ] = jQuery._data( elem, "olddisplay" );- display = elem.style.display;- if ( show ) {- // Reset the inline display of this element to learn if it is- // being hidden by cascaded rules or not- if ( !values[ index ] && display === "none" ) {- elem.style.display = "";- }-- // Set elements which have been overridden with display: none- // in a stylesheet to whatever the default browser style is- // for such an element- if ( elem.style.display === "" && isHidden( elem ) ) {- values[ index ] = jQuery._data( elem, "olddisplay", css_defaultDisplay(elem.nodeName) );- }- } else {-- if ( !values[ index ] ) {- hidden = isHidden( elem );-- if ( display && display !== "none" || !hidden ) {- jQuery._data( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) );- }- }- }- }-- // Set the display of most of the elements in a second loop- // to avoid the constant reflow- for ( index = 0; index < length; index++ ) {- elem = elements[ index ];- if ( !elem.style ) {- continue;- }- if ( !show || elem.style.display === "none" || elem.style.display === "" ) {- elem.style.display = show ? values[ index ] || "" : "none";- }- }-- return elements;-}--jQuery.fn.extend({- css: function( name, value ) {- return jQuery.access( this, function( elem, name, value ) {- var len, styles,- map = {},- i = 0;-- if ( jQuery.isArray( name ) ) {- styles = getStyles( elem );- len = name.length;-- for ( ; i < len; i++ ) {- map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );- }-- return map;- }-- return value !== undefined ?- jQuery.style( elem, name, value ) :- jQuery.css( elem, name );- }, name, value, arguments.length > 1 );- },- show: function() {- return showHide( this, true );- },- hide: function() {- return showHide( this );- },- toggle: function( state ) {- if ( typeof state === "boolean" ) {- return state ? this.show() : this.hide();- }-- return this.each(function() {- if ( isHidden( this ) ) {- jQuery( this ).show();- } else {- jQuery( this ).hide();- }- });- }-});--jQuery.extend({- // Add in style property hooks for overriding the default- // behavior of getting and setting a style property- cssHooks: {- opacity: {- get: function( elem, computed ) {- if ( computed ) {- // We should always get a number back from opacity- var ret = curCSS( elem, "opacity" );- return ret === "" ? "1" : ret;- }- }- }- },-- // Don't automatically add "px" to these possibly-unitless properties- cssNumber: {- "columnCount": true,- "fillOpacity": true,- "fontWeight": true,- "lineHeight": true,- "opacity": true,- "order": true,- "orphans": true,- "widows": true,- "zIndex": true,- "zoom": true- },-- // Add in properties whose names you wish to fix before- // setting or getting the value- cssProps: {- // normalize float css property- "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat"- },-- // Get and set the style property on a DOM Node- style: function( elem, name, value, extra ) {- // Don't set styles on text and comment nodes- if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {- return;- }-- // Make sure that we're working with the right name- var ret, type, hooks,- origName = jQuery.camelCase( name ),- style = elem.style;-- name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) );-- // gets hook for the prefixed version- // followed by the unprefixed version- hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];-- // Check if we're setting a value- if ( value !== undefined ) {- type = typeof value;-- // convert relative number strings (+= or -=) to relative numbers. #7345- if ( type === "string" && (ret = rrelNum.exec( value )) ) {- value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) );- // Fixes bug #9237- type = "number";- }-- // Make sure that NaN and null values aren't set. See: #7116- if ( value == null || type === "number" && isNaN( value ) ) {- return;- }-- // If a number was passed in, add 'px' to the (except for certain CSS properties)- if ( type === "number" && !jQuery.cssNumber[ origName ] ) {- value += "px";- }-- // Fixes #8908, it can be done more correctly by specifing setters in cssHooks,- // but it would mean to define eight (for every problematic property) identical functions- if ( !jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) {- style[ name ] = "inherit";- }-- // If a hook was provided, use that value, otherwise just set the specified value- if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) {-- // Wrapped to prevent IE from throwing errors when 'invalid' values are provided- // Fixes bug #5509- try {- style[ name ] = value;- } catch(e) {}- }-- } else {- // If a hook was provided get the non-computed value from there- if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) {- return ret;- }-- // Otherwise just get the value from the style object- return style[ name ];- }- },-- css: function( elem, name, extra, styles ) {- var num, val, hooks,- origName = jQuery.camelCase( name );-- // Make sure that we're working with the right name- name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) );-- // gets hook for the prefixed version- // followed by the unprefixed version- hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];-- // If a hook was provided get the computed value from there- if ( hooks && "get" in hooks ) {- val = hooks.get( elem, true, extra );- }-- // Otherwise, if a way to get the computed value exists, use that- if ( val === undefined ) {- val = curCSS( elem, name, styles );- }-- //convert "normal" to computed value- if ( val === "normal" && name in cssNormalTransform ) {- val = cssNormalTransform[ name ];- }-- // Return, converting to number if forced or a qualifier was provided and val looks numeric- if ( extra === "" || extra ) {- num = parseFloat( val );- return extra === true || jQuery.isNumeric( num ) ? num || 0 : val;- }- return val;- }-});--// NOTE: we've included the "window" in window.getComputedStyle-// because jsdom on node.js will break without it.-if ( window.getComputedStyle ) {- getStyles = function( elem ) {- return window.getComputedStyle( elem, null );- };-- curCSS = function( elem, name, _computed ) {- var width, minWidth, maxWidth,- computed = _computed || getStyles( elem ),-- // getPropertyValue is only needed for .css('filter') in IE9, see #12537- ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined,- style = elem.style;-- if ( computed ) {-- if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) {- ret = jQuery.style( elem, name );- }-- // A tribute to the "awesome hack by Dean Edwards"- // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right- // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels- // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values- if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) {-- // Remember the original values- width = style.width;- minWidth = style.minWidth;- maxWidth = style.maxWidth;-- // Put in the new values to get a computed value out- style.minWidth = style.maxWidth = style.width = ret;- ret = computed.width;-- // Revert the changed values- style.width = width;- style.minWidth = minWidth;- style.maxWidth = maxWidth;- }- }-- return ret;- };-} else if ( document.documentElement.currentStyle ) {- getStyles = function( elem ) {- return elem.currentStyle;- };-- curCSS = function( elem, name, _computed ) {- var left, rs, rsLeft,- computed = _computed || getStyles( elem ),- ret = computed ? computed[ name ] : undefined,- style = elem.style;-- // Avoid setting ret to empty string here- // so we don't default to auto- if ( ret == null && style && style[ name ] ) {- ret = style[ name ];- }-- // From the awesome hack by Dean Edwards- // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291-- // If we're not dealing with a regular pixel number- // but a number that has a weird ending, we need to convert it to pixels- // but not position css attributes, as those are proportional to the parent element instead- // and we can't measure the parent instead because it might trigger a "stacking dolls" problem- if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) {-- // Remember the original values- left = style.left;- rs = elem.runtimeStyle;- rsLeft = rs && rs.left;-- // Put in the new values to get a computed value out- if ( rsLeft ) {- rs.left = elem.currentStyle.left;- }- style.left = name === "fontSize" ? "1em" : ret;- ret = style.pixelLeft + "px";-- // Revert the changed values- style.left = left;- if ( rsLeft ) {- rs.left = rsLeft;- }- }-- return ret === "" ? "auto" : ret;- };-}--function setPositiveNumber( elem, value, subtract ) {- var matches = rnumsplit.exec( value );- return matches ?- // Guard against undefined "subtract", e.g., when used as in cssHooks- Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) :- value;-}--function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {- var i = extra === ( isBorderBox ? "border" : "content" ) ?- // If we already have the right measurement, avoid augmentation- 4 :- // Otherwise initialize for horizontal or vertical properties- name === "width" ? 1 : 0,-- val = 0;-- for ( ; i < 4; i += 2 ) {- // both box models exclude margin, so add it if we want it- if ( extra === "margin" ) {- val += jQuery.css( elem, extra + cssExpand[ i ], true, styles );- }-- if ( isBorderBox ) {- // border-box includes padding, so remove it if we want content- if ( extra === "content" ) {- val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );- }-- // at this point, extra isn't border nor margin, so remove border- if ( extra !== "margin" ) {- val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );- }- } else {- // at this point, extra isn't content, so add padding- val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );-- // at this point, extra isn't content nor padding, so add border- if ( extra !== "padding" ) {- val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );- }- }- }-- return val;-}--function getWidthOrHeight( elem, name, extra ) {-- // Start with offset property, which is equivalent to the border-box value- var valueIsBorderBox = true,- val = name === "width" ? elem.offsetWidth : elem.offsetHeight,- styles = getStyles( elem ),- isBorderBox = jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box";-- // some non-html elements return undefined for offsetWidth, so check for null/undefined- // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285- // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668- if ( val <= 0 || val == null ) {- // Fall back to computed then uncomputed css if necessary- val = curCSS( elem, name, styles );- if ( val < 0 || val == null ) {- val = elem.style[ name ];- }-- // Computed unit is not pixels. Stop here and return.- if ( rnumnonpx.test(val) ) {- return val;- }-- // we need the check for style in case a browser which returns unreliable values- // for getComputedStyle silently falls back to the reliable elem.style- valueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[ name ] );-- // Normalize "", auto, and prepare for extra- val = parseFloat( val ) || 0;- }-- // use the active box-sizing model to add/subtract irrelevant styles- return ( val +- augmentWidthOrHeight(- elem,- name,- extra || ( isBorderBox ? "border" : "content" ),- valueIsBorderBox,- styles- )- ) + "px";-}--// Try to determine the default display value of an element-function css_defaultDisplay( nodeName ) {- var doc = document,- display = elemdisplay[ nodeName ];-- if ( !display ) {- display = actualDisplay( nodeName, doc );-- // If the simple way fails, read from inside an iframe- if ( display === "none" || !display ) {- // Use the already-created iframe if possible- iframe = ( iframe ||- jQuery("<iframe frameborder='0' width='0' height='0'/>")- .css( "cssText", "display:block !important" )- ).appendTo( doc.documentElement );-- // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse- doc = ( iframe[0].contentWindow || iframe[0].contentDocument ).document;- doc.write("<!doctype html><html><body>");- doc.close();-- display = actualDisplay( nodeName, doc );- iframe.detach();- }-- // Store the correct default display- elemdisplay[ nodeName ] = display;- }-- return display;-}--// Called ONLY from within css_defaultDisplay-function actualDisplay( name, doc ) {- var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ),- display = jQuery.css( elem[0], "display" );- elem.remove();- return display;-}--jQuery.each([ "height", "width" ], function( i, name ) {- jQuery.cssHooks[ name ] = {- get: function( elem, computed, extra ) {- if ( computed ) {- // certain elements can have dimension info if we invisibly show them- // however, it must have a current display style that would benefit from this- return elem.offsetWidth === 0 && rdisplayswap.test( jQuery.css( elem, "display" ) ) ?- jQuery.swap( elem, cssShow, function() {- return getWidthOrHeight( elem, name, extra );- }) :- getWidthOrHeight( elem, name, extra );- }- },-- set: function( elem, value, extra ) {- var styles = extra && getStyles( elem );- return setPositiveNumber( elem, value, extra ?- augmentWidthOrHeight(- elem,- name,- extra,- jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box",- styles- ) : 0- );- }- };-});--if ( !jQuery.support.opacity ) {- jQuery.cssHooks.opacity = {- get: function( elem, computed ) {- // IE uses filters for opacity- return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ?- ( 0.01 * parseFloat( RegExp.$1 ) ) + "" :- computed ? "1" : "";- },-- set: function( elem, value ) {- var style = elem.style,- currentStyle = elem.currentStyle,- opacity = jQuery.isNumeric( value ) ? "alpha(opacity=" + value * 100 + ")" : "",- filter = currentStyle && currentStyle.filter || style.filter || "";-- // IE has trouble with opacity if it does not have layout- // Force it by setting the zoom level- style.zoom = 1;-- // if setting opacity to 1, and no other filters exist - attempt to remove filter attribute #6652- // if value === "", then remove inline opacity #12685- if ( ( value >= 1 || value === "" ) &&- jQuery.trim( filter.replace( ralpha, "" ) ) === "" &&- style.removeAttribute ) {-- // Setting style.filter to null, "" & " " still leave "filter:" in the cssText- // if "filter:" is present at all, clearType is disabled, we want to avoid this- // style.removeAttribute is IE Only, but so apparently is this code path...- style.removeAttribute( "filter" );-- // if there is no filter style applied in a css rule or unset inline opacity, we are done- if ( value === "" || currentStyle && !currentStyle.filter ) {- return;- }- }-- // otherwise, set new filter values- style.filter = ralpha.test( filter ) ?- filter.replace( ralpha, opacity ) :- filter + " " + opacity;- }- };-}--// These hooks cannot be added until DOM ready because the support test-// for it is not run until after DOM ready-jQuery(function() {- if ( !jQuery.support.reliableMarginRight ) {- jQuery.cssHooks.marginRight = {- get: function( elem, computed ) {- if ( computed ) {- // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right- // Work around by temporarily setting element display to inline-block- return jQuery.swap( elem, { "display": "inline-block" },- curCSS, [ elem, "marginRight" ] );- }- }- };- }-- // Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084- // getComputedStyle returns percent when specified for top/left/bottom/right- // rather than make the css module depend on the offset module, we just check for it here- if ( !jQuery.support.pixelPosition && jQuery.fn.position ) {- jQuery.each( [ "top", "left" ], function( i, prop ) {- jQuery.cssHooks[ prop ] = {- get: function( elem, computed ) {- if ( computed ) {- computed = curCSS( elem, prop );- // if curCSS returns percentage, fallback to offset- return rnumnonpx.test( computed ) ?- jQuery( elem ).position()[ prop ] + "px" :- computed;- }- }- };- });- }--});--if ( jQuery.expr && jQuery.expr.filters ) {- jQuery.expr.filters.hidden = function( elem ) {- // Support: Opera <= 12.12- // Opera reports offsetWidths and offsetHeights less than zero on some elements- return elem.offsetWidth <= 0 && elem.offsetHeight <= 0 ||- (!jQuery.support.reliableHiddenOffsets && ((elem.style && elem.style.display) || jQuery.css( elem, "display" )) === "none");- };-- jQuery.expr.filters.visible = function( elem ) {- return !jQuery.expr.filters.hidden( elem );- };-}--// These hooks are used by animate to expand properties-jQuery.each({- margin: "",- padding: "",- border: "Width"-}, function( prefix, suffix ) {- jQuery.cssHooks[ prefix + suffix ] = {- expand: function( value ) {- var i = 0,- expanded = {},-- // assumes a single number if not a string- parts = typeof value === "string" ? value.split(" ") : [ value ];-- for ( ; i < 4; i++ ) {- expanded[ prefix + cssExpand[ i ] + suffix ] =- parts[ i ] || parts[ i - 2 ] || parts[ 0 ];- }-- return expanded;- }- };-- if ( !rmargin.test( prefix ) ) {- jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;- }-});-var r20 = /%20/g,- rbracket = /\[\]$/,- rCRLF = /\r?\n/g,- rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,- rsubmittable = /^(?:input|select|textarea|keygen)/i;--jQuery.fn.extend({- serialize: function() {- return jQuery.param( this.serializeArray() );- },- serializeArray: function() {- return this.map(function(){- // Can add propHook for "elements" to filter or add form elements- var elements = jQuery.prop( this, "elements" );- return elements ? jQuery.makeArray( elements ) : this;- })- .filter(function(){- var type = this.type;- // Use .is(":disabled") so that fieldset[disabled] works- return this.name && !jQuery( this ).is( ":disabled" ) &&- rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&- ( this.checked || !manipulation_rcheckableType.test( type ) );- })- .map(function( i, elem ){- var val = jQuery( this ).val();-- return val == null ?- null :- jQuery.isArray( val ) ?- jQuery.map( val, function( val ){- return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };- }) :- { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };- }).get();- }-});--//Serialize an array of form elements or a set of-//key/values into a query string-jQuery.param = function( a, traditional ) {- var prefix,- s = [],- add = function( key, value ) {- // If value is a function, invoke it and return its value- value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value );- s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value );- };-- // Set traditional to true for jQuery <= 1.3.2 behavior.- if ( traditional === undefined ) {- traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional;- }-- // If an array was passed in, assume that it is an array of form elements.- if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {- // Serialize the form elements- jQuery.each( a, function() {- add( this.name, this.value );- });-- } else {- // If traditional, encode the "old" way (the way 1.3.2 or older- // did it), otherwise encode params recursively.- for ( prefix in a ) {- buildParams( prefix, a[ prefix ], traditional, add );- }- }-- // Return the resulting serialization- return s.join( "&" ).replace( r20, "+" );-};--function buildParams( prefix, obj, traditional, add ) {- var name;-- if ( jQuery.isArray( obj ) ) {- // Serialize array item.- jQuery.each( obj, function( i, v ) {- if ( traditional || rbracket.test( prefix ) ) {- // Treat each array item as a scalar.- add( prefix, v );-- } else {- // Item is non-scalar (array or object), encode its numeric index.- buildParams( prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add );- }- });-- } else if ( !traditional && jQuery.type( obj ) === "object" ) {- // Serialize object item.- for ( name in obj ) {- buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add );- }-- } else {- // Serialize scalar item.- add( prefix, obj );- }-}-jQuery.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( i, name ) {-- // Handle event binding- jQuery.fn[ name ] = function( data, fn ) {- return arguments.length > 0 ?- this.on( name, null, data, fn ) :- this.trigger( name );- };-});--jQuery.fn.extend({- hover: function( fnOver, fnOut ) {- return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );- },-- bind: function( types, data, fn ) {- return this.on( types, null, data, fn );- },- unbind: function( types, fn ) {- return this.off( types, null, fn );- },-- delegate: function( selector, types, data, fn ) {- return this.on( types, selector, data, fn );- },- undelegate: function( selector, types, fn ) {- // ( namespace ) or ( selector, types [, fn] )- return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn );- }-});-var- // Document location- ajaxLocParts,- ajaxLocation,- ajax_nonce = jQuery.now(),-- ajax_rquery = /\?/,- rhash = /#.*$/,- rts = /([?&])_=[^&]*/,- rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, // IE leaves an \r character at EOL- // #7653, #8125, #8152: local protocol detection- rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,- rnoContent = /^(?:GET|HEAD)$/,- rprotocol = /^\/\//,- rurl = /^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,-- // Keep a copy of the old load method- _load = jQuery.fn.load,-- /* Prefilters- * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)- * 2) These are called:- * - BEFORE asking for a transport- * - AFTER param serialization (s.data is a string if s.processData is true)- * 3) key is the dataType- * 4) the catchall symbol "*" can be used- * 5) execution will start with transport dataType and THEN continue down to "*" if needed- */- prefilters = {},-- /* Transports bindings- * 1) key is the dataType- * 2) the catchall symbol "*" can be used- * 3) selection will start with transport dataType and THEN go to "*" if needed- */- transports = {},-- // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression- allTypes = "*/".concat("*");--// #8138, IE may throw an exception when accessing-// a field from window.location if document.domain has been set-try {- ajaxLocation = location.href;-} catch( e ) {- // Use the href attribute of an A element- // since IE will modify it given document.location- ajaxLocation = document.createElement( "a" );- ajaxLocation.href = "";- ajaxLocation = ajaxLocation.href;-}--// Segment location into parts-ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || [];--// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport-function addToPrefiltersOrTransports( structure ) {-- // dataTypeExpression is optional and defaults to "*"- return function( dataTypeExpression, func ) {-- if ( typeof dataTypeExpression !== "string" ) {- func = dataTypeExpression;- dataTypeExpression = "*";- }-- var dataType,- i = 0,- dataTypes = dataTypeExpression.toLowerCase().match( core_rnotwhite ) || [];-- if ( jQuery.isFunction( func ) ) {- // For each dataType in the dataTypeExpression- while ( (dataType = dataTypes[i++]) ) {- // Prepend if requested- if ( dataType[0] === "+" ) {- dataType = dataType.slice( 1 ) || "*";- (structure[ dataType ] = structure[ dataType ] || []).unshift( func );-- // Otherwise append- } else {- (structure[ dataType ] = structure[ dataType ] || []).push( func );- }- }- }- };-}--// Base inspection function for prefilters and transports-function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {-- var inspected = {},- seekingTransport = ( structure === transports );-- function inspect( dataType ) {- var selected;- inspected[ dataType ] = true;- jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {- var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );- if( typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) {- options.dataTypes.unshift( dataTypeOrTransport );- inspect( dataTypeOrTransport );- return false;- } else if ( seekingTransport ) {- return !( selected = dataTypeOrTransport );- }- });- return selected;- }-- return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" );-}--// A special extend for ajax options-// that takes "flat" options (not to be deep extended)-// Fixes #9887-function ajaxExtend( target, src ) {- var deep, key,- flatOptions = jQuery.ajaxSettings.flatOptions || {};-- for ( key in src ) {- if ( src[ key ] !== undefined ) {- ( flatOptions[ key ] ? target : ( deep || (deep = {}) ) )[ key ] = src[ key ];- }- }- if ( deep ) {- jQuery.extend( true, target, deep );- }-- return target;-}--jQuery.fn.load = function( url, params, callback ) {- if ( typeof url !== "string" && _load ) {- return _load.apply( this, arguments );- }-- var selector, response, type,- self = this,- off = url.indexOf(" ");-- if ( off >= 0 ) {- selector = url.slice( off, url.length );- url = url.slice( 0, off );- }-- // If it's a function- if ( jQuery.isFunction( params ) ) {-- // We assume that it's the callback- callback = params;- params = undefined;-- // Otherwise, build a param string- } else if ( params && typeof params === "object" ) {- type = "POST";- }-- // If we have elements to modify, make the request- if ( self.length > 0 ) {- jQuery.ajax({- url: url,-- // if "type" variable is undefined, then "GET" method will be used- type: type,- dataType: "html",- data: params- }).done(function( responseText ) {-- // Save response for use in complete callback- response = arguments;-- self.html( selector ?-- // If a selector was specified, locate the right elements in a dummy div- // Exclude scripts to avoid IE 'Permission Denied' errors- jQuery("<div>").append( jQuery.parseHTML( responseText ) ).find( selector ) :-- // Otherwise use the full result- responseText );-- }).complete( callback && function( jqXHR, status ) {- self.each( callback, response || [ jqXHR.responseText, status, jqXHR ] );- });- }-- return this;-};--// Attach a bunch of functions for handling common AJAX events-jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ){- jQuery.fn[ type ] = function( fn ){- return this.on( type, fn );- };-});--jQuery.extend({-- // Counter for holding the number of active queries- active: 0,-- // Last-Modified header cache for next request- lastModified: {},- etag: {},-- ajaxSettings: {- url: ajaxLocation,- type: "GET",- isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),- global: true,- processData: true,- async: true,- contentType: "application/x-www-form-urlencoded; charset=UTF-8",- /*- timeout: 0,- data: null,- dataType: null,- username: null,- password: null,- cache: null,- throws: false,- traditional: false,- headers: {},- */-- accepts: {- "*": allTypes,- 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"- },-- // Data converters- // Keys separate source (or catchall "*") and destination types with a single space- converters: {-- // Convert anything to text- "* text": String,-- // Text to html (true = no transformation)- "text html": true,-- // Evaluate text as a json expression- "text json": jQuery.parseJSON,-- // Parse text as xml- "text xml": jQuery.parseXML- },-- // For options that shouldn't be deep extended:- // you can add your own custom options here if- // and when you create one that shouldn't be- // deep extended (see ajaxExtend)- flatOptions: {- url: true,- context: true- }- },-- // Creates a full fledged settings object into target- // with both ajaxSettings and settings fields.- // If target is omitted, writes into ajaxSettings.- ajaxSetup: function( target, settings ) {- return settings ?-- // Building a settings object- ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :-- // Extending ajaxSettings- ajaxExtend( jQuery.ajaxSettings, target );- },-- ajaxPrefilter: addToPrefiltersOrTransports( prefilters ),- ajaxTransport: addToPrefiltersOrTransports( transports ),-- // Main method- ajax: function( url, options ) {-- // If url is an object, simulate pre-1.5 signature- if ( typeof url === "object" ) {- options = url;- url = undefined;- }-- // Force options to be an object- options = options || {};-- var // Cross-domain detection vars- parts,- // Loop variable- i,- // URL without anti-cache param- cacheURL,- // Response headers as string- responseHeadersString,- // timeout handle- timeoutTimer,-- // To know if global events are to be dispatched- fireGlobals,-- transport,- // Response headers- responseHeaders,- // Create the final options object- s = jQuery.ajaxSetup( {}, options ),- // Callbacks context- callbackContext = s.context || s,- // Context for global events is callbackContext if it is a DOM node or jQuery collection- globalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ?- jQuery( callbackContext ) :- jQuery.event,- // Deferreds- deferred = jQuery.Deferred(),- completeDeferred = jQuery.Callbacks("once memory"),- // Status-dependent callbacks- statusCode = s.statusCode || {},- // Headers (they are sent all at once)- requestHeaders = {},- requestHeadersNames = {},- // The jqXHR state- state = 0,- // Default abort message- strAbort = "canceled",- // Fake xhr- jqXHR = {- readyState: 0,-- // Builds headers hashtable if needed- getResponseHeader: function( key ) {- var match;- if ( state === 2 ) {- if ( !responseHeaders ) {- responseHeaders = {};- while ( (match = rheaders.exec( responseHeadersString )) ) {- responseHeaders[ match[1].toLowerCase() ] = match[ 2 ];- }- }- match = responseHeaders[ key.toLowerCase() ];- }- return match == null ? null : match;- },-- // Raw string- getAllResponseHeaders: function() {- return state === 2 ? responseHeadersString : null;- },-- // Caches the header- setRequestHeader: function( name, value ) {- var lname = name.toLowerCase();- if ( !state ) {- name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name;- requestHeaders[ name ] = value;- }- return this;- },-- // Overrides response content-type header- overrideMimeType: function( type ) {- if ( !state ) {- s.mimeType = type;- }- return this;- },-- // Status-dependent callbacks- statusCode: function( map ) {- var code;- if ( map ) {- if ( state < 2 ) {- for ( code in map ) {- // Lazy-add the new callback in a way that preserves old ones- statusCode[ code ] = [ statusCode[ code ], map[ code ] ];- }- } else {- // Execute the appropriate callbacks- jqXHR.always( map[ jqXHR.status ] );- }- }- return this;- },-- // Cancel the request- abort: function( statusText ) {- var finalText = statusText || strAbort;- if ( transport ) {- transport.abort( finalText );- }- done( 0, finalText );- return this;- }- };-- // Attach deferreds- deferred.promise( jqXHR ).complete = completeDeferred.add;- jqXHR.success = jqXHR.done;- jqXHR.error = jqXHR.fail;-- // Remove hash character (#7531: and string promotion)- // Add protocol if not provided (#5866: IE7 issue with protocol-less urls)- // Handle falsy url in the settings object (#10093: consistency with old signature)- // We also use the url parameter if available- s.url = ( ( url || s.url || ajaxLocation ) + "" ).replace( rhash, "" ).replace( rprotocol, ajaxLocParts[ 1 ] + "//" );-- // Alias method option to type as per ticket #12004- s.type = options.method || options.type || s.method || s.type;-- // Extract dataTypes list- s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().match( core_rnotwhite ) || [""];-- // A cross-domain request is in order when we have a protocol:host:port mismatch- if ( s.crossDomain == null ) {- parts = rurl.exec( s.url.toLowerCase() );- s.crossDomain = !!( parts &&- ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] ||- ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? "80" : "443" ) ) !==- ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? "80" : "443" ) ) )- );- }-- // Convert data if not already a string- if ( s.data && s.processData && typeof s.data !== "string" ) {- s.data = jQuery.param( s.data, s.traditional );- }-- // Apply prefilters- inspectPrefiltersOrTransports( prefilters, s, options, jqXHR );-- // If request was aborted inside a prefilter, stop there- if ( state === 2 ) {- return jqXHR;- }-- // We can fire global events as of now if asked to- fireGlobals = s.global;-- // Watch for a new set of requests- if ( fireGlobals && jQuery.active++ === 0 ) {- jQuery.event.trigger("ajaxStart");- }-- // Uppercase the type- s.type = s.type.toUpperCase();-- // Determine if request has content- s.hasContent = !rnoContent.test( s.type );-- // Save the URL in case we're toying with the If-Modified-Since- // and/or If-None-Match header later on- cacheURL = s.url;-- // More options handling for requests with no content- if ( !s.hasContent ) {-- // If data is available, append data to url- if ( s.data ) {- cacheURL = ( s.url += ( ajax_rquery.test( cacheURL ) ? "&" : "?" ) + s.data );- // #9682: remove data so that it's not used in an eventual retry- delete s.data;- }-- // Add anti-cache in url if needed- if ( s.cache === false ) {- s.url = rts.test( cacheURL ) ?-- // If there is already a '_' parameter, set its value- cacheURL.replace( rts, "$1_=" + ajax_nonce++ ) :-- // Otherwise add one to the end- cacheURL + ( ajax_rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ajax_nonce++;- }- }-- // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.- if ( s.ifModified ) {- if ( jQuery.lastModified[ cacheURL ] ) {- jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] );- }- if ( jQuery.etag[ cacheURL ] ) {- jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] );- }- }-- // Set the correct header, if data is being sent- if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {- jqXHR.setRequestHeader( "Content-Type", s.contentType );- }-- // Set the Accepts header for the server, depending on the dataType- jqXHR.setRequestHeader(- "Accept",- s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ?- s.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :- s.accepts[ "*" ]- );-- // Check for headers option- for ( i in s.headers ) {- jqXHR.setRequestHeader( i, s.headers[ i ] );- }-- // Allow custom headers/mimetypes and early abort- if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) {- // Abort if not done already and return- return jqXHR.abort();- }-- // aborting is no longer a cancellation- strAbort = "abort";-- // Install callbacks on deferreds- for ( i in { success: 1, error: 1, complete: 1 } ) {- jqXHR[ i ]( s[ i ] );- }-- // Get transport- transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );-- // If no transport, we auto-abort- if ( !transport ) {- done( -1, "No Transport" );- } else {- jqXHR.readyState = 1;-- // Send global event- if ( fireGlobals ) {- globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] );- }- // Timeout- if ( s.async && s.timeout > 0 ) {- timeoutTimer = setTimeout(function() {- jqXHR.abort("timeout");- }, s.timeout );- }-- try {- state = 1;- transport.send( requestHeaders, done );- } catch ( e ) {- // Propagate exception as error if not done- if ( state < 2 ) {- done( -1, e );- // Simply rethrow otherwise- } else {- throw e;- }- }- }-- // Callback for when everything is done- function done( status, nativeStatusText, responses, headers ) {- var isSuccess, success, error, response, modified,- statusText = nativeStatusText;-- // Called once- if ( state === 2 ) {- return;- }-- // State is "done" now- state = 2;-- // Clear timeout if it exists- if ( timeoutTimer ) {- clearTimeout( timeoutTimer );- }-- // Dereference transport for early garbage collection- // (no matter how long the jqXHR object will be used)- transport = undefined;-- // Cache response headers- responseHeadersString = headers || "";-- // Set readyState- jqXHR.readyState = status > 0 ? 4 : 0;-- // Determine if successful- isSuccess = status >= 200 && status < 300 || status === 304;-- // Get response data- if ( responses ) {- response = ajaxHandleResponses( s, jqXHR, responses );- }-- // Convert no matter what (that way responseXXX fields are always set)- response = ajaxConvert( s, response, jqXHR, isSuccess );-- // If successful, handle type chaining- if ( isSuccess ) {-- // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.- if ( s.ifModified ) {- modified = jqXHR.getResponseHeader("Last-Modified");- if ( modified ) {- jQuery.lastModified[ cacheURL ] = modified;- }- modified = jqXHR.getResponseHeader("etag");- if ( modified ) {- jQuery.etag[ cacheURL ] = modified;- }- }-- // if no content- if ( status === 204 || s.type === "HEAD" ) {- statusText = "nocontent";-- // if not modified- } else if ( status === 304 ) {- statusText = "notmodified";-- // If we have data, let's convert it- } else {- statusText = response.state;- success = response.data;- error = response.error;- isSuccess = !error;- }- } else {- // We extract error from statusText- // then normalize statusText and status for non-aborts- error = statusText;- if ( status || !statusText ) {- statusText = "error";- if ( status < 0 ) {- status = 0;- }- }- }-- // Set data for the fake xhr object- jqXHR.status = status;- jqXHR.statusText = ( nativeStatusText || statusText ) + "";-- // Success/Error- if ( isSuccess ) {- deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );- } else {- deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );- }-- // Status-dependent callbacks- jqXHR.statusCode( statusCode );- statusCode = undefined;-- if ( fireGlobals ) {- globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError",- [ jqXHR, s, isSuccess ? success : error ] );- }-- // Complete- completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );-- if ( fireGlobals ) {- globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] );- // Handle the global AJAX counter- if ( !( --jQuery.active ) ) {- jQuery.event.trigger("ajaxStop");- }- }- }-- return jqXHR;- },-- getJSON: function( url, data, callback ) {- return jQuery.get( url, data, callback, "json" );- },-- getScript: function( url, callback ) {- return jQuery.get( url, undefined, callback, "script" );- }-});--jQuery.each( [ "get", "post" ], function( i, method ) {- jQuery[ method ] = function( url, data, callback, type ) {- // shift arguments if data argument was omitted- if ( jQuery.isFunction( data ) ) {- type = type || callback;- callback = data;- data = undefined;- }-- return jQuery.ajax({- url: url,- type: method,- dataType: type,- data: data,- success: callback- });- };-});--/* Handles responses to an ajax request:- * - finds the right dataType (mediates between content-type and expected dataType)- * - returns the corresponding response- */-function ajaxHandleResponses( s, jqXHR, responses ) {- var firstDataType, ct, finalDataType, type,- contents = s.contents,- dataTypes = s.dataTypes;-- // Remove auto dataType and get content-type in the process- while( dataTypes[ 0 ] === "*" ) {- dataTypes.shift();- if ( ct === undefined ) {- ct = s.mimeType || jqXHR.getResponseHeader("Content-Type");- }- }-- // Check if we're dealing with a known content-type- if ( ct ) {- for ( type in contents ) {- if ( contents[ type ] && contents[ type ].test( ct ) ) {- dataTypes.unshift( type );- break;- }- }- }-- // Check to see if we have a response for the expected dataType- if ( dataTypes[ 0 ] in responses ) {- finalDataType = dataTypes[ 0 ];- } else {- // Try convertible dataTypes- for ( type in responses ) {- if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[0] ] ) {- finalDataType = type;- break;- }- if ( !firstDataType ) {- firstDataType = type;- }- }- // Or just use first one- finalDataType = finalDataType || firstDataType;- }-- // If we found a dataType- // We add the dataType to the list if needed- // and return the corresponding response- if ( finalDataType ) {- if ( finalDataType !== dataTypes[ 0 ] ) {- dataTypes.unshift( finalDataType );- }- return responses[ finalDataType ];- }-}--/* Chain conversions given the request and the original response- * Also sets the responseXXX fields on the jqXHR instance- */-function ajaxConvert( s, response, jqXHR, isSuccess ) {- var conv2, current, conv, tmp, prev,- converters = {},- // Work with a copy of dataTypes in case we need to modify it for conversion- dataTypes = s.dataTypes.slice();-- // Create converters map with lowercased keys- if ( dataTypes[ 1 ] ) {- for ( conv in s.converters ) {- converters[ conv.toLowerCase() ] = s.converters[ conv ];- }- }-- current = dataTypes.shift();-- // Convert to each sequential dataType- while ( current ) {-- if ( s.responseFields[ current ] ) {- jqXHR[ s.responseFields[ current ] ] = response;- }-- // Apply the dataFilter if provided- if ( !prev && isSuccess && s.dataFilter ) {- response = s.dataFilter( response, s.dataType );- }-- prev = current;- current = dataTypes.shift();-- if ( current ) {-- // There's only work to do if current dataType is non-auto- if ( current === "*" ) {-- current = prev;-- // Convert response if prev dataType is non-auto and differs from current- } else if ( prev !== "*" && prev !== current ) {-- // Seek a direct converter- conv = converters[ prev + " " + current ] || converters[ "* " + current ];-- // If none found, seek a pair- if ( !conv ) {- for ( conv2 in converters ) {-- // If conv2 outputs current- tmp = conv2.split( " " );- if ( tmp[ 1 ] === current ) {-- // If prev can be converted to accepted input- conv = converters[ prev + " " + tmp[ 0 ] ] ||- converters[ "* " + tmp[ 0 ] ];- if ( conv ) {- // Condense equivalence converters- if ( conv === true ) {- conv = converters[ conv2 ];-- // Otherwise, insert the intermediate dataType- } else if ( converters[ conv2 ] !== true ) {- current = tmp[ 0 ];- dataTypes.unshift( tmp[ 1 ] );- }- break;- }- }- }- }-- // Apply converter (if not an equivalence)- if ( conv !== true ) {-- // Unless errors are allowed to bubble, catch and return them- if ( conv && s[ "throws" ] ) {- response = conv( response );- } else {- try {- response = conv( response );- } catch ( e ) {- return { state: "parsererror", error: conv ? e : "No conversion from " + prev + " to " + current };- }- }- }- }- }- }-- return { state: "success", data: response };-}-// Install script dataType-jQuery.ajaxSetup({- accepts: {- script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"- },- contents: {- script: /(?:java|ecma)script/- },- converters: {- "text script": function( text ) {- jQuery.globalEval( text );- return text;- }- }-});--// Handle cache's special case and global-jQuery.ajaxPrefilter( "script", function( s ) {- if ( s.cache === undefined ) {- s.cache = false;- }- if ( s.crossDomain ) {- s.type = "GET";- s.global = false;- }-});--// Bind script tag hack transport-jQuery.ajaxTransport( "script", function(s) {-- // This transport only deals with cross domain requests- if ( s.crossDomain ) {-- var script,- head = document.head || jQuery("head")[0] || document.documentElement;-- return {-- send: function( _, callback ) {-- script = document.createElement("script");-- script.async = true;-- if ( s.scriptCharset ) {- script.charset = s.scriptCharset;- }-- script.src = s.url;-- // Attach handlers for all browsers- script.onload = script.onreadystatechange = function( _, isAbort ) {-- if ( isAbort || !script.readyState || /loaded|complete/.test( script.readyState ) ) {-- // Handle memory leak in IE- script.onload = script.onreadystatechange = null;-- // Remove the script- if ( script.parentNode ) {- script.parentNode.removeChild( script );- }-- // Dereference the script- script = null;-- // Callback if not abort- if ( !isAbort ) {- callback( 200, "success" );- }- }- };-- // Circumvent IE6 bugs with base elements (#2709 and #4378) by prepending- // Use native DOM manipulation to avoid our domManip AJAX trickery- head.insertBefore( script, head.firstChild );- },-- abort: function() {- if ( script ) {- script.onload( undefined, true );- }- }- };- }-});-var oldCallbacks = [],- rjsonp = /(=)\?(?=&|$)|\?\?/;--// Default jsonp settings-jQuery.ajaxSetup({- jsonp: "callback",- jsonpCallback: function() {- var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( ajax_nonce++ ) );- this[ callback ] = true;- return callback;- }-});--// Detect, normalize options and install callbacks for jsonp requests-jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {-- var callbackName, overwritten, responseContainer,- jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?- "url" :- typeof s.data === "string" && !( s.contentType || "" ).indexOf("application/x-www-form-urlencoded") && rjsonp.test( s.data ) && "data"- );-- // Handle iff the expected data type is "jsonp" or we have a parameter to set- if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) {-- // Get callback name, remembering preexisting value associated with it- callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ?- s.jsonpCallback() :- s.jsonpCallback;-- // Insert callback into url or form data- if ( jsonProp ) {- s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName );- } else if ( s.jsonp !== false ) {- s.url += ( ajax_rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName;- }-- // Use data converter to retrieve json after script execution- s.converters["script json"] = function() {- if ( !responseContainer ) {- jQuery.error( callbackName + " was not called" );- }- return responseContainer[ 0 ];- };-- // force json dataType- s.dataTypes[ 0 ] = "json";-- // Install callback- overwritten = window[ callbackName ];- window[ callbackName ] = function() {- responseContainer = arguments;- };-- // Clean-up function (fires after converters)- jqXHR.always(function() {- // Restore preexisting value- window[ callbackName ] = overwritten;-- // Save back as free- if ( s[ callbackName ] ) {- // make sure that re-using the options doesn't screw things around- s.jsonpCallback = originalSettings.jsonpCallback;-- // save the callback name for future use- oldCallbacks.push( callbackName );- }-- // Call if it was a function and we have a response- if ( responseContainer && jQuery.isFunction( overwritten ) ) {- overwritten( responseContainer[ 0 ] );- }-- responseContainer = overwritten = undefined;- });-- // Delegate to script- return "script";- }-});-var xhrCallbacks, xhrSupported,- xhrId = 0,- // #5280: Internet Explorer will keep connections alive if we don't abort on unload- xhrOnUnloadAbort = window.ActiveXObject && function() {- // Abort all pending requests- var key;- for ( key in xhrCallbacks ) {- xhrCallbacks[ key ]( undefined, true );- }- };--// Functions to create xhrs-function createStandardXHR() {- try {- return new window.XMLHttpRequest();- } catch( e ) {}-}--function createActiveXHR() {- try {- return new window.ActiveXObject("Microsoft.XMLHTTP");- } catch( e ) {}-}--// Create the request object-// (This is still attached to ajaxSettings for backward compatibility)-jQuery.ajaxSettings.xhr = window.ActiveXObject ?- /* Microsoft failed to properly- * implement the XMLHttpRequest in IE7 (can't request local files),- * so we use the ActiveXObject when it is available- * Additionally XMLHttpRequest can be disabled in IE7/IE8 so- * we need a fallback.- */- function() {- return !this.isLocal && createStandardXHR() || createActiveXHR();- } :- // For all other browsers, use the standard XMLHttpRequest object- createStandardXHR;--// Determine support properties-xhrSupported = jQuery.ajaxSettings.xhr();-jQuery.support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported );-xhrSupported = jQuery.support.ajax = !!xhrSupported;--// Create transport if the browser can provide an xhr-if ( xhrSupported ) {-- jQuery.ajaxTransport(function( s ) {- // Cross domain only allowed if supported through XMLHttpRequest- if ( !s.crossDomain || jQuery.support.cors ) {-- var callback;-- return {- send: function( headers, complete ) {-- // Get a new xhr- var handle, i,- xhr = s.xhr();-- // Open the socket- // Passing null username, generates a login popup on Opera (#2865)- if ( s.username ) {- xhr.open( s.type, s.url, s.async, s.username, s.password );- } else {- xhr.open( s.type, s.url, s.async );- }-- // Apply custom fields if provided- if ( s.xhrFields ) {- for ( i in s.xhrFields ) {- xhr[ i ] = s.xhrFields[ i ];- }- }-- // Override mime type if needed- if ( s.mimeType && xhr.overrideMimeType ) {- xhr.overrideMimeType( s.mimeType );- }-- // X-Requested-With header- // For cross-domain requests, seeing as conditions for a preflight are- // akin to a jigsaw puzzle, we simply never set it to be sure.- // (it can always be set on a per-request basis or even using ajaxSetup)- // For same-domain requests, won't change header if already provided.- if ( !s.crossDomain && !headers["X-Requested-With"] ) {- headers["X-Requested-With"] = "XMLHttpRequest";- }-- // Need an extra try/catch for cross domain requests in Firefox 3- try {- for ( i in headers ) {- xhr.setRequestHeader( i, headers[ i ] );- }- } catch( err ) {}-- // Do send the request- // This may raise an exception which is actually- // handled in jQuery.ajax (so no try/catch here)- xhr.send( ( s.hasContent && s.data ) || null );-- // Listener- callback = function( _, isAbort ) {- var status, responseHeaders, statusText, responses;-- // Firefox throws exceptions when accessing properties- // of an xhr when a network error occurred- // http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE)- try {-- // Was never called and is aborted or complete- if ( callback && ( isAbort || xhr.readyState === 4 ) ) {-- // Only called once- callback = undefined;-- // Do not keep as active anymore- if ( handle ) {- xhr.onreadystatechange = jQuery.noop;- if ( xhrOnUnloadAbort ) {- delete xhrCallbacks[ handle ];- }- }-- // If it's an abort- if ( isAbort ) {- // Abort it manually if needed- if ( xhr.readyState !== 4 ) {- xhr.abort();- }- } else {- responses = {};- status = xhr.status;- responseHeaders = xhr.getAllResponseHeaders();-- // When requesting binary data, IE6-9 will throw an exception- // on any attempt to access responseText (#11426)- if ( typeof xhr.responseText === "string" ) {- responses.text = xhr.responseText;- }-- // Firefox throws an exception when accessing- // statusText for faulty cross-domain requests- try {- statusText = xhr.statusText;- } catch( e ) {- // We normalize with Webkit giving an empty statusText- statusText = "";- }-- // Filter status for non standard behaviors-- // If the request is local and we have data: assume a success- // (success with no data won't get notified, that's the best we- // can do given current implementations)- if ( !status && s.isLocal && !s.crossDomain ) {- status = responses.text ? 200 : 404;- // IE - #1450: sometimes returns 1223 when it should be 204- } else if ( status === 1223 ) {- status = 204;- }- }- }- } catch( firefoxAccessException ) {- if ( !isAbort ) {- complete( -1, firefoxAccessException );- }- }-- // Call complete if needed- if ( responses ) {- complete( status, statusText, responses, responseHeaders );- }- };-- if ( !s.async ) {- // if we're in sync mode we fire the callback- callback();- } else if ( xhr.readyState === 4 ) {- // (IE6 & IE7) if it's in cache and has been- // retrieved directly we need to fire the callback- setTimeout( callback );- } else {- handle = ++xhrId;- if ( xhrOnUnloadAbort ) {- // Create the active xhrs callbacks list if needed- // and attach the unload handler- if ( !xhrCallbacks ) {- xhrCallbacks = {};- jQuery( window ).unload( xhrOnUnloadAbort );- }- // Add to list of active xhrs callbacks- xhrCallbacks[ handle ] = callback;- }- xhr.onreadystatechange = callback;- }- },-- abort: function() {- if ( callback ) {- callback( undefined, true );- }- }- };- }- });-}-var fxNow, timerId,- rfxtypes = /^(?:toggle|show|hide)$/,- rfxnum = new RegExp( "^(?:([+-])=|)(" + core_pnum + ")([a-z%]*)$", "i" ),- rrun = /queueHooks$/,- animationPrefilters = [ defaultPrefilter ],- tweeners = {- "*": [function( prop, value ) {- var tween = this.createTween( prop, value ),- target = tween.cur(),- parts = rfxnum.exec( value ),- unit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),-- // Starting value computation is required for potential unit mismatches- start = ( jQuery.cssNumber[ prop ] || unit !== "px" && +target ) &&- rfxnum.exec( jQuery.css( tween.elem, prop ) ),- scale = 1,- maxIterations = 20;-- if ( start && start[ 3 ] !== unit ) {- // Trust units reported by jQuery.css- unit = unit || start[ 3 ];-- // Make sure we update the tween properties later on- parts = parts || [];-- // Iteratively approximate from a nonzero starting point- start = +target || 1;-- do {- // If previous iteration zeroed out, double until we get *something*- // Use a string for doubling factor so we don't accidentally see scale as unchanged below- scale = scale || ".5";-- // Adjust and apply- start = start / scale;- jQuery.style( tween.elem, prop, start + unit );-- // Update scale, tolerating zero or NaN from tween.cur()- // And breaking the loop if scale is unchanged or perfect, or if we've just had enough- } while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations );- }-- // Update tween properties- if ( parts ) {- start = tween.start = +start || +target || 0;- tween.unit = unit;- // If a +=/-= token was provided, we're doing a relative animation- tween.end = parts[ 1 ] ?- start + ( parts[ 1 ] + 1 ) * parts[ 2 ] :- +parts[ 2 ];- }-- return tween;- }]- };--// Animations created synchronously will run synchronously-function createFxNow() {- setTimeout(function() {- fxNow = undefined;- });- return ( fxNow = jQuery.now() );-}--function createTween( value, prop, animation ) {- var tween,- collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ),- index = 0,- length = collection.length;- for ( ; index < length; index++ ) {- if ( (tween = collection[ index ].call( animation, prop, value )) ) {-- // we're done with this property- return tween;- }- }-}--function Animation( elem, properties, options ) {- var result,- stopped,- index = 0,- length = animationPrefilters.length,- deferred = jQuery.Deferred().always( function() {- // don't match elem in the :animated selector- delete tick.elem;- }),- tick = function() {- if ( stopped ) {- return false;- }- var currentTime = fxNow || createFxNow(),- remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),- // archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497)- temp = remaining / animation.duration || 0,- percent = 1 - temp,- index = 0,- length = animation.tweens.length;-- for ( ; index < length ; index++ ) {- animation.tweens[ index ].run( percent );- }-- deferred.notifyWith( elem, [ animation, percent, remaining ]);-- if ( percent < 1 && length ) {- return remaining;- } else {- deferred.resolveWith( elem, [ animation ] );- return false;- }- },- animation = deferred.promise({- elem: elem,- props: jQuery.extend( {}, properties ),- opts: jQuery.extend( true, { specialEasing: {} }, options ),- originalProperties: properties,- originalOptions: options,- startTime: fxNow || createFxNow(),- duration: options.duration,- tweens: [],- createTween: function( prop, end ) {- var tween = jQuery.Tween( elem, animation.opts, prop, end,- animation.opts.specialEasing[ prop ] || animation.opts.easing );- animation.tweens.push( tween );- return tween;- },- stop: function( gotoEnd ) {- var index = 0,- // if we are going to the end, we want to run all the tweens- // otherwise we skip this part- length = gotoEnd ? animation.tweens.length : 0;- if ( stopped ) {- return this;- }- stopped = true;- for ( ; index < length ; index++ ) {- animation.tweens[ index ].run( 1 );- }-- // resolve when we played the last frame- // otherwise, reject- if ( gotoEnd ) {- deferred.resolveWith( elem, [ animation, gotoEnd ] );- } else {- deferred.rejectWith( elem, [ animation, gotoEnd ] );- }- return this;- }- }),- props = animation.props;-- propFilter( props, animation.opts.specialEasing );-- for ( ; index < length ; index++ ) {- result = animationPrefilters[ index ].call( animation, elem, props, animation.opts );- if ( result ) {- return result;- }- }-- jQuery.map( props, createTween, animation );-- if ( jQuery.isFunction( animation.opts.start ) ) {- animation.opts.start.call( elem, animation );- }-- jQuery.fx.timer(- jQuery.extend( tick, {- elem: elem,- anim: animation,- queue: animation.opts.queue- })- );-- // attach callbacks from options- return animation.progress( animation.opts.progress )- .done( animation.opts.done, animation.opts.complete )- .fail( animation.opts.fail )- .always( animation.opts.always );-}--function propFilter( props, specialEasing ) {- var index, name, easing, value, hooks;-- // camelCase, specialEasing and expand cssHook pass- for ( index in props ) {- name = jQuery.camelCase( index );- easing = specialEasing[ name ];- value = props[ index ];- if ( jQuery.isArray( value ) ) {- easing = value[ 1 ];- value = props[ index ] = value[ 0 ];- }-- if ( index !== name ) {- props[ name ] = value;- delete props[ index ];- }-- hooks = jQuery.cssHooks[ name ];- if ( hooks && "expand" in hooks ) {- value = hooks.expand( value );- delete props[ name ];-- // not quite $.extend, this wont overwrite keys already present.- // also - reusing 'index' from above because we have the correct "name"- for ( index in value ) {- if ( !( index in props ) ) {- props[ index ] = value[ index ];- specialEasing[ index ] = easing;- }- }- } else {- specialEasing[ name ] = easing;- }- }-}--jQuery.Animation = jQuery.extend( Animation, {-- tweener: function( props, callback ) {- if ( jQuery.isFunction( props ) ) {- callback = props;- props = [ "*" ];- } else {- props = props.split(" ");- }-- var prop,- index = 0,- length = props.length;-- for ( ; index < length ; index++ ) {- prop = props[ index ];- tweeners[ prop ] = tweeners[ prop ] || [];- tweeners[ prop ].unshift( callback );- }- },-- prefilter: function( callback, prepend ) {- if ( prepend ) {- animationPrefilters.unshift( callback );- } else {- animationPrefilters.push( callback );- }- }-});--function defaultPrefilter( elem, props, opts ) {- /* jshint validthis: true */- var prop, value, toggle, tween, hooks, oldfire,- anim = this,- orig = {},- style = elem.style,- hidden = elem.nodeType && isHidden( elem ),- dataShow = jQuery._data( elem, "fxshow" );-- // handle queue: false promises- if ( !opts.queue ) {- hooks = jQuery._queueHooks( elem, "fx" );- if ( hooks.unqueued == null ) {- hooks.unqueued = 0;- oldfire = hooks.empty.fire;- hooks.empty.fire = function() {- if ( !hooks.unqueued ) {- oldfire();- }- };- }- hooks.unqueued++;-- anim.always(function() {- // doing this makes sure that the complete handler will be called- // before this completes- anim.always(function() {- hooks.unqueued--;- if ( !jQuery.queue( elem, "fx" ).length ) {- hooks.empty.fire();- }- });- });- }-- // height/width overflow pass- if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) {- // Make sure that nothing sneaks out- // Record all 3 overflow attributes because IE does not- // change the overflow attribute when overflowX and- // overflowY are set to the same value- opts.overflow = [ style.overflow, style.overflowX, style.overflowY ];-- // Set display property to inline-block for height/width- // animations on inline elements that are having width/height animated- if ( jQuery.css( elem, "display" ) === "inline" &&- jQuery.css( elem, "float" ) === "none" ) {-- // inline-level elements accept inline-block;- // block-level elements need to be inline with layout- if ( !jQuery.support.inlineBlockNeedsLayout || css_defaultDisplay( elem.nodeName ) === "inline" ) {- style.display = "inline-block";-- } else {- style.zoom = 1;- }- }- }-- if ( opts.overflow ) {- style.overflow = "hidden";- if ( !jQuery.support.shrinkWrapBlocks ) {- anim.always(function() {- style.overflow = opts.overflow[ 0 ];- style.overflowX = opts.overflow[ 1 ];- style.overflowY = opts.overflow[ 2 ];- });- }- }--- // show/hide pass- for ( prop in props ) {- value = props[ prop ];- if ( rfxtypes.exec( value ) ) {- delete props[ prop ];- toggle = toggle || value === "toggle";- if ( value === ( hidden ? "hide" : "show" ) ) {- continue;- }- orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );- }- }-- if ( !jQuery.isEmptyObject( orig ) ) {- if ( dataShow ) {- if ( "hidden" in dataShow ) {- hidden = dataShow.hidden;- }- } else {- dataShow = jQuery._data( elem, "fxshow", {} );- }-- // store state if its toggle - enables .stop().toggle() to "reverse"- if ( toggle ) {- dataShow.hidden = !hidden;- }- if ( hidden ) {- jQuery( elem ).show();- } else {- anim.done(function() {- jQuery( elem ).hide();- });- }- anim.done(function() {- var prop;- jQuery._removeData( elem, "fxshow" );- for ( prop in orig ) {- jQuery.style( elem, prop, orig[ prop ] );- }- });- for ( prop in orig ) {- tween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );-- if ( !( prop in dataShow ) ) {- dataShow[ prop ] = tween.start;- if ( hidden ) {- tween.end = tween.start;- tween.start = prop === "width" || prop === "height" ? 1 : 0;- }- }- }- }-}--function Tween( elem, options, prop, end, easing ) {- return new Tween.prototype.init( elem, options, prop, end, easing );-}-jQuery.Tween = Tween;--Tween.prototype = {- constructor: Tween,- init: function( elem, options, prop, end, easing, unit ) {- this.elem = elem;- this.prop = prop;- this.easing = easing || "swing";- this.options = options;- this.start = this.now = this.cur();- this.end = end;- this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" );- },- cur: function() {- var hooks = Tween.propHooks[ this.prop ];-- return hooks && hooks.get ?- hooks.get( this ) :- Tween.propHooks._default.get( this );- },- run: function( percent ) {- var eased,- hooks = Tween.propHooks[ this.prop ];-- if ( this.options.duration ) {- this.pos = eased = jQuery.easing[ this.easing ](- percent, this.options.duration * percent, 0, 1, this.options.duration- );- } else {- this.pos = eased = percent;- }- this.now = ( this.end - this.start ) * eased + this.start;-- if ( this.options.step ) {- this.options.step.call( this.elem, this.now, this );- }-- if ( hooks && hooks.set ) {- hooks.set( this );- } else {- Tween.propHooks._default.set( this );- }- return this;- }-};--Tween.prototype.init.prototype = Tween.prototype;--Tween.propHooks = {- _default: {- get: function( tween ) {- var result;-- if ( tween.elem[ tween.prop ] != null &&- (!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) {- return tween.elem[ tween.prop ];- }-- // passing an empty string as a 3rd parameter to .css will automatically- // attempt a parseFloat and fallback to a string if the parse fails- // so, simple values such as "10px" are parsed to Float.- // complex values such as "rotate(1rad)" are returned as is.- result = jQuery.css( tween.elem, tween.prop, "" );- // Empty strings, null, undefined and "auto" are converted to 0.- return !result || result === "auto" ? 0 : result;- },- set: function( tween ) {- // use step hook for back compat - use cssHook if its there - use .style if its- // available and use plain properties where available- if ( jQuery.fx.step[ tween.prop ] ) {- jQuery.fx.step[ tween.prop ]( tween );- } else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) {- jQuery.style( tween.elem, tween.prop, tween.now + tween.unit );- } else {- tween.elem[ tween.prop ] = tween.now;- }- }- }-};--// Support: IE <=9-// Panic based approach to setting things on disconnected nodes--Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {- set: function( tween ) {- if ( tween.elem.nodeType && tween.elem.parentNode ) {- tween.elem[ tween.prop ] = tween.now;- }- }-};--jQuery.each([ "toggle", "show", "hide" ], function( i, name ) {- var cssFn = jQuery.fn[ name ];- jQuery.fn[ name ] = function( speed, easing, callback ) {- return speed == null || typeof speed === "boolean" ?- cssFn.apply( this, arguments ) :- this.animate( genFx( name, true ), speed, easing, callback );- };-});--jQuery.fn.extend({- fadeTo: function( speed, to, easing, callback ) {-- // show any hidden elements after setting opacity to 0- return this.filter( isHidden ).css( "opacity", 0 ).show()-- // animate to the value specified- .end().animate({ opacity: to }, speed, easing, callback );- },- animate: function( prop, speed, easing, callback ) {- var empty = jQuery.isEmptyObject( prop ),- optall = jQuery.speed( speed, easing, callback ),- doAnimation = function() {- // Operate on a copy of prop so per-property easing won't be lost- var anim = Animation( this, jQuery.extend( {}, prop ), optall );-- // Empty animations, or finishing resolves immediately- if ( empty || jQuery._data( this, "finish" ) ) {- anim.stop( true );- }- };- doAnimation.finish = doAnimation;-- return empty || optall.queue === false ?- this.each( doAnimation ) :- this.queue( optall.queue, doAnimation );- },- stop: function( type, clearQueue, gotoEnd ) {- var stopQueue = function( hooks ) {- var stop = hooks.stop;- delete hooks.stop;- stop( gotoEnd );- };-- if ( typeof type !== "string" ) {- gotoEnd = clearQueue;- clearQueue = type;- type = undefined;- }- if ( clearQueue && type !== false ) {- this.queue( type || "fx", [] );- }-- return this.each(function() {- var dequeue = true,- index = type != null && type + "queueHooks",- timers = jQuery.timers,- data = jQuery._data( this );-- if ( index ) {- if ( data[ index ] && data[ index ].stop ) {- stopQueue( data[ index ] );- }- } else {- for ( index in data ) {- if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {- stopQueue( data[ index ] );- }- }- }-- for ( index = timers.length; index--; ) {- if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) {- timers[ index ].anim.stop( gotoEnd );- dequeue = false;- timers.splice( index, 1 );- }- }-- // start the next in the queue if the last step wasn't forced- // timers currently will call their complete callbacks, which will dequeue- // but only if they were gotoEnd- if ( dequeue || !gotoEnd ) {- jQuery.dequeue( this, type );- }- });- },- finish: function( type ) {- if ( type !== false ) {- type = type || "fx";- }- return this.each(function() {- var index,- data = jQuery._data( this ),- queue = data[ type + "queue" ],- hooks = data[ type + "queueHooks" ],- timers = jQuery.timers,- length = queue ? queue.length : 0;-- // enable finishing flag on private data- data.finish = true;-- // empty the queue first- jQuery.queue( this, type, [] );-- if ( hooks && hooks.stop ) {- hooks.stop.call( this, true );- }-- // look for any active animations, and finish them- for ( index = timers.length; index--; ) {- if ( timers[ index ].elem === this && timers[ index ].queue === type ) {- timers[ index ].anim.stop( true );- timers.splice( index, 1 );- }- }-- // look for any animations in the old queue and finish them- for ( index = 0; index < length; index++ ) {- if ( queue[ index ] && queue[ index ].finish ) {- queue[ index ].finish.call( this );- }- }-- // turn off finishing flag- delete data.finish;- });- }-});--// Generate parameters to create a standard animation-function genFx( type, includeWidth ) {- var which,- attrs = { height: type },- i = 0;-- // if we include width, step value is 1 to do all cssExpand values,- // if we don't include width, step value is 2 to skip over Left and Right- includeWidth = includeWidth? 1 : 0;- for( ; i < 4 ; i += 2 - includeWidth ) {- which = cssExpand[ i ];- attrs[ "margin" + which ] = attrs[ "padding" + which ] = type;- }-- if ( includeWidth ) {- attrs.opacity = attrs.width = type;- }-- return attrs;-}--// Generate shortcuts for custom animations-jQuery.each({- slideDown: genFx("show"),- slideUp: genFx("hide"),- slideToggle: genFx("toggle"),- fadeIn: { opacity: "show" },- fadeOut: { opacity: "hide" },- fadeToggle: { opacity: "toggle" }-}, function( name, props ) {- jQuery.fn[ name ] = function( speed, easing, callback ) {- return this.animate( props, speed, easing, callback );- };-});--jQuery.speed = function( speed, easing, fn ) {- var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {- complete: fn || !fn && easing ||- jQuery.isFunction( speed ) && speed,- duration: speed,- easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing- };-- opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :- opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default;-- // normalize opt.queue - true/undefined/null -> "fx"- if ( opt.queue == null || opt.queue === true ) {- opt.queue = "fx";- }-- // Queueing- opt.old = opt.complete;-- opt.complete = function() {- if ( jQuery.isFunction( opt.old ) ) {- opt.old.call( this );- }-- if ( opt.queue ) {- jQuery.dequeue( this, opt.queue );- }- };-- return opt;-};--jQuery.easing = {- linear: function( p ) {- return p;- },- swing: function( p ) {- return 0.5 - Math.cos( p*Math.PI ) / 2;- }-};--jQuery.timers = [];-jQuery.fx = Tween.prototype.init;-jQuery.fx.tick = function() {- var timer,- timers = jQuery.timers,- i = 0;-- fxNow = jQuery.now();-- for ( ; i < timers.length; i++ ) {- timer = timers[ i ];- // Checks the timer has not already been removed- if ( !timer() && timers[ i ] === timer ) {- timers.splice( i--, 1 );- }- }-- if ( !timers.length ) {- jQuery.fx.stop();- }- fxNow = undefined;-};--jQuery.fx.timer = function( timer ) {- if ( timer() && jQuery.timers.push( timer ) ) {- jQuery.fx.start();- }-};--jQuery.fx.interval = 13;--jQuery.fx.start = function() {- if ( !timerId ) {- timerId = setInterval( jQuery.fx.tick, jQuery.fx.interval );- }-};--jQuery.fx.stop = function() {- clearInterval( timerId );- timerId = null;-};--jQuery.fx.speeds = {- slow: 600,- fast: 200,- // Default speed- _default: 400-};--// Back Compat <1.8 extension point-jQuery.fx.step = {};--if ( jQuery.expr && jQuery.expr.filters ) {- jQuery.expr.filters.animated = function( elem ) {- return jQuery.grep(jQuery.timers, function( fn ) {- return elem === fn.elem;- }).length;- };-}-jQuery.fn.offset = function( options ) {- if ( arguments.length ) {- return options === undefined ?- this :- this.each(function( i ) {- jQuery.offset.setOffset( this, options, i );- });- }-- var docElem, win,- box = { top: 0, left: 0 },- elem = this[ 0 ],- doc = elem && elem.ownerDocument;-- if ( !doc ) {- return;- }-- docElem = doc.documentElement;-- // Make sure it's not a disconnected DOM node- if ( !jQuery.contains( docElem, elem ) ) {- return box;- }-- // If we don't have gBCR, just use 0,0 rather than error- // BlackBerry 5, iOS 3 (original iPhone)- if ( typeof elem.getBoundingClientRect !== core_strundefined ) {- box = elem.getBoundingClientRect();- }- win = getWindow( doc );- return {- top: box.top + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ),- left: box.left + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 )- };-};--jQuery.offset = {-- setOffset: function( elem, options, i ) {- var position = jQuery.css( elem, "position" );-- // set position first, in-case top/left are set even on static elem- if ( position === "static" ) {- elem.style.position = "relative";- }-- var curElem = jQuery( elem ),- curOffset = curElem.offset(),- curCSSTop = jQuery.css( elem, "top" ),- curCSSLeft = jQuery.css( elem, "left" ),- calculatePosition = ( position === "absolute" || position === "fixed" ) && jQuery.inArray("auto", [curCSSTop, curCSSLeft]) > -1,- props = {}, curPosition = {}, curTop, curLeft;-- // need to be able to calculate position if either top or left is auto and position is either absolute or fixed- if ( calculatePosition ) {- curPosition = curElem.position();- curTop = curPosition.top;- curLeft = curPosition.left;- } else {- curTop = parseFloat( curCSSTop ) || 0;- curLeft = parseFloat( curCSSLeft ) || 0;- }-- if ( jQuery.isFunction( options ) ) {- options = options.call( elem, i, curOffset );- }-- if ( options.top != null ) {- props.top = ( options.top - curOffset.top ) + curTop;- }- if ( options.left != null ) {- props.left = ( options.left - curOffset.left ) + curLeft;- }-- if ( "using" in options ) {- options.using.call( elem, props );- } else {- curElem.css( props );- }- }-};---jQuery.fn.extend({-- position: function() {- if ( !this[ 0 ] ) {- return;- }-- var offsetParent, offset,- parentOffset = { top: 0, left: 0 },- elem = this[ 0 ];-- // fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is it's only offset parent- if ( jQuery.css( elem, "position" ) === "fixed" ) {- // we assume that getBoundingClientRect is available when computed position is fixed- offset = elem.getBoundingClientRect();- } else {- // Get *real* offsetParent- offsetParent = this.offsetParent();-- // Get correct offsets- offset = this.offset();- if ( !jQuery.nodeName( offsetParent[ 0 ], "html" ) ) {- parentOffset = offsetParent.offset();- }-- // Add offsetParent borders- parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true );- parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true );- }-- // Subtract parent offsets and element margins- // note: when an element has margin: auto the offsetLeft and marginLeft- // are the same in Safari causing offset.left to incorrectly be 0- return {- top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ),- left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true)- };- },-- offsetParent: function() {- return this.map(function() {- var offsetParent = this.offsetParent || docElem;- while ( offsetParent && ( !jQuery.nodeName( offsetParent, "html" ) && jQuery.css( offsetParent, "position") === "static" ) ) {- offsetParent = offsetParent.offsetParent;- }- return offsetParent || docElem;- });- }-});---// Create scrollLeft and scrollTop methods-jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( method, prop ) {- var top = /Y/.test( prop );-- jQuery.fn[ method ] = function( val ) {- return jQuery.access( this, function( elem, method, val ) {- var win = getWindow( elem );-- if ( val === undefined ) {- return win ? (prop in win) ? win[ prop ] :- win.document.documentElement[ method ] :- elem[ method ];- }-- if ( win ) {- win.scrollTo(- !top ? val : jQuery( win ).scrollLeft(),- top ? val : jQuery( win ).scrollTop()- );-- } else {- elem[ method ] = val;- }- }, method, val, arguments.length, null );- };-});--function getWindow( elem ) {- return jQuery.isWindow( elem ) ?- elem :- elem.nodeType === 9 ?- elem.defaultView || elem.parentWindow :- false;-}-// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods-jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {- jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) {- // margin is only for outerHeight, outerWidth- jQuery.fn[ funcName ] = function( margin, value ) {- var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ),- extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" );-- return jQuery.access( this, function( elem, type, value ) {- var doc;-- if ( jQuery.isWindow( elem ) ) {- // As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there- // isn't a whole lot we can do. See pull request at this URL for discussion:- // https://github.com/jquery/jquery/pull/764- return elem.document.documentElement[ "client" + name ];- }-- // Get document width or height- if ( elem.nodeType === 9 ) {- doc = elem.documentElement;-- // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], whichever is greatest- // unfortunately, this causes bug #3838 in IE6/8 only, but there is currently no good, small way to fix it.- return Math.max(- elem.body[ "scroll" + name ], doc[ "scroll" + name ],- elem.body[ "offset" + name ], doc[ "offset" + name ],- doc[ "client" + name ]- );- }-- return value === undefined ?- // Get width or height on the element, requesting but not forcing parseFloat- jQuery.css( elem, type, extra ) :-- // Set width or height on the element- jQuery.style( elem, type, value, extra );- }, type, chainable ? margin : undefined, chainable, null );- };- });-});-// Limit scope pollution from any deprecated API-// (function() {--// The number of elements contained in the matched element set-jQuery.fn.size = function() {- return this.length;-};--jQuery.fn.andSelf = jQuery.fn.addBack;--// })();-if ( typeof module === "object" && module && typeof module.exports === "object" ) {- // Expose jQuery as module.exports in loaders that implement the Node- // module pattern (including browserify). Do not create the global, since- // the user will be storing it themselves locally, and globals are frowned- // upon in the Node module world.- module.exports = jQuery;-} else {- // Otherwise expose jQuery to the global object as usual- window.jQuery = window.$ = jQuery;-- // Register as a named AMD module, since jQuery can be concatenated with other- // files that may use define, but not via a proper concatenation script that- // understands anonymous AMD modules. A named AMD is safest and most robust- // way to register. Lowercase jquery is used because AMD module names are- // derived from file names, and jQuery is normally delivered in a lowercase- // file name. Do this after creating the global so that if an AMD module wants- // to call noConflict to hide this version of jQuery, it will work.- if ( typeof define === "function" && define.amd ) {- define( "jquery", [], function () { return jQuery; } );- }-}--})( window );diff --git a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_flat_30_cccccc_40x100.png b/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_flat_30_cccccc_40x100.pngdeleted file mode 100644index 3382717ec..000000000Binary files a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_flat_30_cccccc_40x100.png and /dev/null differdiff --git a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_flat_50_5c5c5c_40x100.png b/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_flat_50_5c5c5c_40x100.pngdeleted file mode 100644index 1cb598800..000000000Binary files a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_flat_50_5c5c5c_40x100.png and /dev/null differdiff --git a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_glass_20_555555_1x400.png b/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_glass_20_555555_1x400.pngdeleted file mode 100644index af6528827..000000000Binary files a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_glass_20_555555_1x400.png and /dev/null differdiff --git a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_glass_40_0078a3_1x400.png b/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_glass_40_0078a3_1x400.pngdeleted file mode 100644index 6b124ac4c..000000000Binary files a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_glass_40_0078a3_1x400.png and /dev/null differdiff --git a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_glass_40_ffc73d_1x400.png b/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_glass_40_ffc73d_1x400.pngdeleted file mode 100644index e4c820548..000000000Binary files a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_glass_40_ffc73d_1x400.png and /dev/null differdiff --git a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_gloss-wave_25_333333_500x100.png b/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_gloss-wave_25_333333_500x100.pngdeleted file mode 100644index 872010ce4..000000000Binary files a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_gloss-wave_25_333333_500x100.png and /dev/null differdiff --git a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_highlight-soft_80_eeeeee_1x100.png b/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_highlight-soft_80_eeeeee_1x100.pngdeleted file mode 100644index 4c5b2b0ff..000000000Binary files a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_highlight-soft_80_eeeeee_1x100.png and /dev/null differdiff --git a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_inset-soft_25_000000_1x100.png b/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_inset-soft_25_000000_1x100.pngdeleted file mode 100644index 9cd542e63..000000000Binary files a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_inset-soft_25_000000_1x100.png and /dev/null differdiff --git a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_inset-soft_30_f58400_1x100.png b/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_inset-soft_30_f58400_1x100.pngdeleted file mode 100644index 753389596..000000000Binary files a/web/ext/ui/jquery-ui-1.11.4/images/ui-bg_inset-soft_30_f58400_1x100.png and /dev/null differdiff --git a/web/ext/ui/jquery-ui-1.11.4/images/ui-icons_222222_256x240.png b/web/ext/ui/jquery-ui-1.11.4/images/ui-icons_222222_256x240.pngdeleted file mode 100644index e9c8e16ac..000000000Binary files a/web/ext/ui/jquery-ui-1.11.4/images/ui-icons_222222_256x240.png and /dev/null differdiff --git a/web/ext/ui/jquery-ui-1.11.4/images/ui-icons_4b8e0b_256x240.png b/web/ext/ui/jquery-ui-1.11.4/images/ui-icons_4b8e0b_256x240.pngdeleted file mode 100644index 3b237fbab..000000000Binary files a/web/ext/ui/jquery-ui-1.11.4/images/ui-icons_4b8e0b_256x240.png and /dev/null differdiff --git a/web/ext/ui/jquery-ui-1.11.4/images/ui-icons_a83300_256x240.png b/web/ext/ui/jquery-ui-1.11.4/images/ui-icons_a83300_256x240.pngdeleted file mode 100644index 4e7008e0b..000000000Binary files a/web/ext/ui/jquery-ui-1.11.4/images/ui-icons_a83300_256x240.png and /dev/null differdiff --git a/web/ext/ui/jquery-ui-1.11.4/images/ui-icons_cccccc_256x240.png b/web/ext/ui/jquery-ui-1.11.4/images/ui-icons_cccccc_256x240.pngdeleted file mode 100644index 9fdc41a9d..000000000Binary files a/web/ext/ui/jquery-ui-1.11.4/images/ui-icons_cccccc_256x240.png and /dev/null differdiff --git a/web/ext/ui/jquery-ui-1.11.4/images/ui-icons_ffffff_256x240.png b/web/ext/ui/jquery-ui-1.11.4/images/ui-icons_ffffff_256x240.pngdeleted file mode 100644index 4d66f596e..000000000Binary files a/web/ext/ui/jquery-ui-1.11.4/images/ui-icons_ffffff_256x240.png and /dev/null differdiff --git a/web/ext/ui/jquery-ui-1.11.4/jquery-ui.css b/web/ext/ui/jquery-ui-1.11.4/jquery-ui.cssdeleted file mode 100644index 77617c496..000000000--- a/web/ext/ui/jquery-ui-1.11.4/jquery-ui.css+++ /dev/null@@ -1,1225 +0,0 @@-/*! jQuery UI - v1.11.4 - 2015-06-29-* http://jqueryui.com-* Includes: core.css, draggable.css, resizable.css, selectable.css, sortable.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, menu.css, progressbar.css, selectmenu.css, slider.css, spinner.css, tabs.css, tooltip.css, theme.css-* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Segoe%20UI%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=333333&bgTextureHeader=gloss_wave&bgImgOpacityHeader=25&borderColorHeader=333333&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=000000&bgTextureContent=inset_soft&bgImgOpacityContent=25&borderColorContent=666666&fcContent=ffffff&iconColorContent=cccccc&bgColorDefault=555555&bgTextureDefault=glass&bgImgOpacityDefault=20&borderColorDefault=666666&fcDefault=eeeeee&iconColorDefault=cccccc&bgColorHover=0078a3&bgTextureHover=glass&bgImgOpacityHover=40&borderColorHover=59b4d4&fcHover=ffffff&iconColorHover=ffffff&bgColorActive=f58400&bgTextureActive=inset_soft&bgImgOpacityActive=30&borderColorActive=ffaf0f&fcActive=ffffff&iconColorActive=222222&bgColorHighlight=eeeeee&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=80&borderColorHighlight=cccccc&fcHighlight=2e7db2&iconColorHighlight=4b8e0b&bgColorError=ffc73d&bgTextureError=glass&bgImgOpacityError=40&borderColorError=ffb73d&fcError=111111&iconColorError=a83300&bgColorOverlay=5c5c5c&bgTextureOverlay=flat&bgImgOpacityOverlay=50&opacityOverlay=80&bgColorShadow=cccccc&bgTextureShadow=flat&bgImgOpacityShadow=30&opacityShadow=60&thicknessShadow=7px&offsetTopShadow=-7px&offsetLeftShadow=-7px&cornerRadiusShadow=8px-* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */--/* Layout helpers-----------------------------------*/-.ui-helper-hidden {- display: none;-}-.ui-helper-hidden-accessible {- border: 0;- clip: rect(0 0 0 0);- height: 1px;- margin: -1px;- overflow: hidden;- padding: 0;- position: absolute;- width: 1px;-}-.ui-helper-reset {- margin: 0;- padding: 0;- border: 0;- outline: 0;- line-height: 1.3;- text-decoration: none;- font-size: 100%;- list-style: none;-}-.ui-helper-clearfix:before,-.ui-helper-clearfix:after {- content: "";- display: table;- border-collapse: collapse;-}-.ui-helper-clearfix:after {- clear: both;-}-.ui-helper-clearfix {- min-height: 0; /* support: IE7 */-}-.ui-helper-zfix {- width: 100%;- height: 100%;- top: 0;- left: 0;- position: absolute;- opacity: 0;- filter:Alpha(Opacity=0); /* support: IE8 */-}--.ui-front {- z-index: 100;-}---/* Interaction Cues-----------------------------------*/-.ui-state-disabled {- cursor: default !important;-}---/* Icons-----------------------------------*/--/* states and images */-.ui-icon {- display: block;- text-indent: -99999px;- overflow: hidden;- background-repeat: no-repeat;-}---/* Misc visuals-----------------------------------*/--/* Overlays */-.ui-widget-overlay {- position: fixed;- top: 0;- left: 0;- width: 100%;- height: 100%;-}-.ui-draggable-handle {- -ms-touch-action: none;- touch-action: none;-}-.ui-resizable {- position: relative;-}-.ui-resizable-handle {- position: absolute;- font-size: 0.1px;- display: block;- -ms-touch-action: none;- touch-action: none;-}-.ui-resizable-disabled .ui-resizable-handle,-.ui-resizable-autohide .ui-resizable-handle {- display: none;-}-.ui-resizable-n {- cursor: n-resize;- height: 7px;- width: 100%;- top: -5px;- left: 0;-}-.ui-resizable-s {- cursor: s-resize;- height: 7px;- width: 100%;- bottom: -5px;- left: 0;-}-.ui-resizable-e {- cursor: e-resize;- width: 7px;- right: -5px;- top: 0;- height: 100%;-}-.ui-resizable-w {- cursor: w-resize;- width: 7px;- left: -5px;- top: 0;- height: 100%;-}-.ui-resizable-se {- cursor: se-resize;- width: 12px;- height: 12px;- right: 1px;- bottom: 1px;-}-.ui-resizable-sw {- cursor: sw-resize;- width: 9px;- height: 9px;- left: -5px;- bottom: -5px;-}-.ui-resizable-nw {- cursor: nw-resize;- width: 9px;- height: 9px;- left: -5px;- top: -5px;-}-.ui-resizable-ne {- cursor: ne-resize;- width: 9px;- height: 9px;- right: -5px;- top: -5px;-}-.ui-selectable {- -ms-touch-action: none;- touch-action: none;-}-.ui-selectable-helper {- position: absolute;- z-index: 100;- border: 1px dotted black;-}-.ui-sortable-handle {- -ms-touch-action: none;- touch-action: none;-}-.ui-accordion .ui-accordion-header {- display: block;- cursor: pointer;- position: relative;- margin: 2px 0 0 0;- padding: .5em .5em .5em .7em;- min-height: 0; /* support: IE7 */- font-size: 100%;-}-.ui-accordion .ui-accordion-icons {- padding-left: 2.2em;-}-.ui-accordion .ui-accordion-icons .ui-accordion-icons {- padding-left: 2.2em;-}-.ui-accordion .ui-accordion-header .ui-accordion-header-icon {- position: absolute;- left: .5em;- top: 50%;- margin-top: -8px;-}-.ui-accordion .ui-accordion-content {- padding: 1em 2.2em;- border-top: 0;- overflow: auto;-}-.ui-autocomplete {- position: absolute;- top: 0;- left: 0;- cursor: default;-}-.ui-button {- display: inline-block;- position: relative;- padding: 0;- line-height: normal;- margin-right: .1em;- cursor: pointer;- vertical-align: middle;- text-align: center;- overflow: visible; /* removes extra width in IE */-}-.ui-button,-.ui-button:link,-.ui-button:visited,-.ui-button:hover,-.ui-button:active {- text-decoration: none;-}-/* to make room for the icon, a width needs to be set here */-.ui-button-icon-only {- width: 2.2em;-}-/* button elements seem to need a little more width */-button.ui-button-icon-only {- width: 2.4em;-}-.ui-button-icons-only {- width: 3.4em;-}-button.ui-button-icons-only {- width: 3.7em;-}--/* button text element */-.ui-button .ui-button-text {- display: block;- line-height: normal;-}-.ui-button-text-only .ui-button-text {- padding: .4em 1em;-}-.ui-button-icon-only .ui-button-text,-.ui-button-icons-only .ui-button-text {- padding: .4em;- text-indent: -9999999px;-}-.ui-button-text-icon-primary .ui-button-text,-.ui-button-text-icons .ui-button-text {- padding: .4em 1em .4em 2.1em;-}-.ui-button-text-icon-secondary .ui-button-text,-.ui-button-text-icons .ui-button-text {- padding: .4em 2.1em .4em 1em;-}-.ui-button-text-icons .ui-button-text {- padding-left: 2.1em;- padding-right: 2.1em;-}-/* no icon support for input elements, provide padding by default */-input.ui-button {- padding: .4em 1em;-}--/* button icon element(s) */-.ui-button-icon-only .ui-icon,-.ui-button-text-icon-primary .ui-icon,-.ui-button-text-icon-secondary .ui-icon,-.ui-button-text-icons .ui-icon,-.ui-button-icons-only .ui-icon {- position: absolute;- top: 50%;- margin-top: -8px;-}-.ui-button-icon-only .ui-icon {- left: 50%;- margin-left: -8px;-}-.ui-button-text-icon-primary .ui-button-icon-primary,-.ui-button-text-icons .ui-button-icon-primary,-.ui-button-icons-only .ui-button-icon-primary {- left: .5em;-}-.ui-button-text-icon-secondary .ui-button-icon-secondary,-.ui-button-text-icons .ui-button-icon-secondary,-.ui-button-icons-only .ui-button-icon-secondary {- right: .5em;-}--/* button sets */-.ui-buttonset {- margin-right: 7px;-}-.ui-buttonset .ui-button {- margin-left: 0;- margin-right: -.3em;-}--/* workarounds */-/* reset extra padding in Firefox, see h5bp.com/l */-input.ui-button::-moz-focus-inner,-button.ui-button::-moz-focus-inner {- border: 0;- padding: 0;-}-.ui-datepicker {- width: 17em;- padding: .2em .2em 0;- display: none;-}-.ui-datepicker .ui-datepicker-header {- position: relative;- padding: .2em 0;-}-.ui-datepicker .ui-datepicker-prev,-.ui-datepicker .ui-datepicker-next {- position: absolute;- top: 2px;- width: 1.8em;- height: 1.8em;-}-.ui-datepicker .ui-datepicker-prev-hover,-.ui-datepicker .ui-datepicker-next-hover {- top: 1px;-}-.ui-datepicker .ui-datepicker-prev {- left: 2px;-}-.ui-datepicker .ui-datepicker-next {- right: 2px;-}-.ui-datepicker .ui-datepicker-prev-hover {- left: 1px;-}-.ui-datepicker .ui-datepicker-next-hover {- right: 1px;-}-.ui-datepicker .ui-datepicker-prev span,-.ui-datepicker .ui-datepicker-next span {- display: block;- position: absolute;- left: 50%;- margin-left: -8px;- top: 50%;- margin-top: -8px;-}-.ui-datepicker .ui-datepicker-title {- margin: 0 2.3em;- line-height: 1.8em;- text-align: center;-}-.ui-datepicker .ui-datepicker-title select {- font-size: 1em;- margin: 1px 0;-}-.ui-datepicker select.ui-datepicker-month,-.ui-datepicker select.ui-datepicker-year {- width: 45%;-}-.ui-datepicker table {- width: 100%;- font-size: .9em;- border-collapse: collapse;- margin: 0 0 .4em;-}-.ui-datepicker th {- padding: .7em .3em;- text-align: center;- font-weight: bold;- border: 0;-}-.ui-datepicker td {- border: 0;- padding: 1px;-}-.ui-datepicker td span,-.ui-datepicker td a {- display: block;- padding: .2em;- text-align: right;- text-decoration: none;-}-.ui-datepicker .ui-datepicker-buttonpane {- background-image: none;- margin: .7em 0 0 0;- padding: 0 .2em;- border-left: 0;- border-right: 0;- border-bottom: 0;-}-.ui-datepicker .ui-datepicker-buttonpane button {- float: right;- margin: .5em .2em .4em;- cursor: pointer;- padding: .2em .6em .3em .6em;- width: auto;- overflow: visible;-}-.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {- float: left;-}--/* with multiple calendars */-.ui-datepicker.ui-datepicker-multi {- width: auto;-}-.ui-datepicker-multi .ui-datepicker-group {- float: left;-}-.ui-datepicker-multi .ui-datepicker-group table {- width: 95%;- margin: 0 auto .4em;-}-.ui-datepicker-multi-2 .ui-datepicker-group {- width: 50%;-}-.ui-datepicker-multi-3 .ui-datepicker-group {- width: 33.3%;-}-.ui-datepicker-multi-4 .ui-datepicker-group {- width: 25%;-}-.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,-.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {- border-left-width: 0;-}-.ui-datepicker-multi .ui-datepicker-buttonpane {- clear: left;-}-.ui-datepicker-row-break {- clear: both;- width: 100%;- font-size: 0;-}--/* RTL support */-.ui-datepicker-rtl {- direction: rtl;-}-.ui-datepicker-rtl .ui-datepicker-prev {- right: 2px;- left: auto;-}-.ui-datepicker-rtl .ui-datepicker-next {- left: 2px;- right: auto;-}-.ui-datepicker-rtl .ui-datepicker-prev:hover {- right: 1px;- left: auto;-}-.ui-datepicker-rtl .ui-datepicker-next:hover {- left: 1px;- right: auto;-}-.ui-datepicker-rtl .ui-datepicker-buttonpane {- clear: right;-}-.ui-datepicker-rtl .ui-datepicker-buttonpane button {- float: left;-}-.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,-.ui-datepicker-rtl .ui-datepicker-group {- float: right;-}-.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,-.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {- border-right-width: 0;- border-left-width: 1px;-}-.ui-dialog {- overflow: hidden;- position: absolute;- top: 0;- left: 0;- padding: .2em;- outline: 0;-}-.ui-dialog .ui-dialog-titlebar {- padding: .4em 1em;- position: relative;-}-.ui-dialog .ui-dialog-title {- float: left;- margin: .1em 0;- white-space: nowrap;- width: 90%;- overflow: hidden;- text-overflow: ellipsis;-}-.ui-dialog .ui-dialog-titlebar-close {- position: absolute;- right: .3em;- top: 50%;- width: 20px;- margin: -10px 0 0 0;- padding: 1px;- height: 20px;-}-.ui-dialog .ui-dialog-content {- position: relative;- border: 0;- padding: .5em 1em;- background: none;- overflow: auto;-}-.ui-dialog .ui-dialog-buttonpane {- text-align: left;- border-width: 1px 0 0 0;- background-image: none;- margin-top: .5em;- padding: .3em 1em .5em .4em;-}-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {- float: right;-}-.ui-dialog .ui-dialog-buttonpane button {- margin: .5em .4em .5em 0;- cursor: pointer;-}-.ui-dialog .ui-resizable-se {- width: 12px;- height: 12px;- right: -5px;- bottom: -5px;- background-position: 16px 16px;-}-.ui-draggable .ui-dialog-titlebar {- cursor: move;-}-.ui-menu {- list-style: none;- padding: 0;- margin: 0;- display: block;- outline: none;-}-.ui-menu .ui-menu {- position: absolute;-}-.ui-menu .ui-menu-item {- position: relative;- margin: 0;- padding: 3px 1em 3px .4em;- cursor: pointer;- min-height: 0; /* support: IE7 */- /* support: IE10, see #8844 */- list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");-}-.ui-menu .ui-menu-divider {- margin: 5px 0;- height: 0;- font-size: 0;- line-height: 0;- border-width: 1px 0 0 0;-}-.ui-menu .ui-state-focus,-.ui-menu .ui-state-active {- margin: -1px;-}--/* icon support */-.ui-menu-icons {- position: relative;-}-.ui-menu-icons .ui-menu-item {- padding-left: 2em;-}--/* left-aligned */-.ui-menu .ui-icon {- position: absolute;- top: 0;- bottom: 0;- left: .2em;- margin: auto 0;-}--/* right-aligned */-.ui-menu .ui-menu-icon {- left: auto;- right: 0;-}-.ui-progressbar {- height: 2em;- text-align: left;- overflow: hidden;-}-.ui-progressbar .ui-progressbar-value {- margin: -1px;- height: 100%;-}-.ui-progressbar .ui-progressbar-overlay {- background: url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");- height: 100%;- filter: alpha(opacity=25); /* support: IE8 */- opacity: 0.25;-}-.ui-progressbar-indeterminate .ui-progressbar-value {- background-image: none;-}-.ui-selectmenu-menu {- padding: 0;- margin: 0;- position: absolute;- top: 0;- left: 0;- display: none;-}-.ui-selectmenu-menu .ui-menu {- overflow: auto;- /* Support: IE7 */- overflow-x: hidden;- padding-bottom: 1px;-}-.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {- font-size: 1em;- font-weight: bold;- line-height: 1.5;- padding: 2px 0.4em;- margin: 0.5em 0 0 0;- height: auto;- border: 0;-}-.ui-selectmenu-open {- display: block;-}-.ui-selectmenu-button {- display: inline-block;- overflow: hidden;- position: relative;- text-decoration: none;- cursor: pointer;-}-.ui-selectmenu-button span.ui-icon {- right: 0.5em;- left: auto;- margin-top: -8px;- position: absolute;- top: 50%;-}-.ui-selectmenu-button span.ui-selectmenu-text {- text-align: left;- padding: 0.4em 2.1em 0.4em 1em;- display: block;- line-height: 1.4;- overflow: hidden;- text-overflow: ellipsis;- white-space: nowrap;-}-.ui-slider {- position: relative;- text-align: left;-}-.ui-slider .ui-slider-handle {- position: absolute;- z-index: 2;- width: 1.2em;- height: 1.2em;- cursor: default;- -ms-touch-action: none;- touch-action: none;-}-.ui-slider .ui-slider-range {- position: absolute;- z-index: 1;- font-size: .7em;- display: block;- border: 0;- background-position: 0 0;-}--/* support: IE8 - See #6727 */-.ui-slider.ui-state-disabled .ui-slider-handle,-.ui-slider.ui-state-disabled .ui-slider-range {- filter: inherit;-}--.ui-slider-horizontal {- height: .8em;-}-.ui-slider-horizontal .ui-slider-handle {- top: -.3em;- margin-left: -.6em;-}-.ui-slider-horizontal .ui-slider-range {- top: 0;- height: 100%;-}-.ui-slider-horizontal .ui-slider-range-min {- left: 0;-}-.ui-slider-horizontal .ui-slider-range-max {- right: 0;-}--.ui-slider-vertical {- width: .8em;- height: 100px;-}-.ui-slider-vertical .ui-slider-handle {- left: -.3em;- margin-left: 0;- margin-bottom: -.6em;-}-.ui-slider-vertical .ui-slider-range {- left: 0;- width: 100%;-}-.ui-slider-vertical .ui-slider-range-min {- bottom: 0;-}-.ui-slider-vertical .ui-slider-range-max {- top: 0;-}-.ui-spinner {- position: relative;- display: inline-block;- overflow: hidden;- padding: 0;- vertical-align: middle;-}-.ui-spinner-input {- border: none;- background: none;- color: inherit;- padding: 0;- margin: .2em 0;- vertical-align: middle;- margin-left: .4em;- margin-right: 22px;-}-.ui-spinner-button {- width: 16px;- height: 50%;- font-size: .5em;- padding: 0;- margin: 0;- text-align: center;- position: absolute;- cursor: default;- display: block;- overflow: hidden;- right: 0;-}-/* more specificity required here to override default borders */-.ui-spinner a.ui-spinner-button {- border-top: none;- border-bottom: none;- border-right: none;-}-/* vertically center icon */-.ui-spinner .ui-icon {- position: absolute;- margin-top: -8px;- top: 50%;- left: 0;-}-.ui-spinner-up {- top: 0;-}-.ui-spinner-down {- bottom: 0;-}--/* TR overrides */-.ui-spinner .ui-icon-triangle-1-s {- /* need to fix icons sprite */- background-position: -65px -16px;-}-.ui-tabs {- position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */- padding: .2em;-}-.ui-tabs .ui-tabs-nav {- margin: 0;- padding: .2em .2em 0;-}-.ui-tabs .ui-tabs-nav li {- list-style: none;- float: left;- position: relative;- top: 0;- margin: 1px .2em 0 0;- border-bottom-width: 0;- padding: 0;- white-space: nowrap;-}-.ui-tabs .ui-tabs-nav .ui-tabs-anchor {- float: left;- padding: .5em 1em;- text-decoration: none;-}-.ui-tabs .ui-tabs-nav li.ui-tabs-active {- margin-bottom: -1px;- padding-bottom: 1px;-}-.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,-.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,-.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {- cursor: text;-}-.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {- cursor: pointer;-}-.ui-tabs .ui-tabs-panel {- display: block;- border-width: 0;- padding: 1em 1.4em;- background: none;-}-.ui-tooltip {- padding: 8px;- position: absolute;- z-index: 9999;- max-width: 300px;- -webkit-box-shadow: 0 0 5px #aaa;- box-shadow: 0 0 5px #aaa;-}-body .ui-tooltip {- border-width: 2px;-}--/* Component containers-----------------------------------*/-.ui-widget {- font-family: Segoe UI,Arial,sans-serif;- font-size: 1.1em;-}-.ui-widget .ui-widget {- font-size: 1em;-}-.ui-widget input,-.ui-widget select,-.ui-widget textarea,-.ui-widget button {- font-family: Segoe UI,Arial,sans-serif;- font-size: 1em;-}-.ui-widget-content {- border: 1px solid #666666;- background: #000000 url("images/ui-bg_inset-soft_25_000000_1x100.png") 50% bottom repeat-x;- color: #ffffff;-}-.ui-widget-content a {- color: #ffffff;-}-.ui-widget-header {- border: 1px solid #333333;- background: #333333 url("images/ui-bg_gloss-wave_25_333333_500x100.png") 50% 50% repeat-x;- color: #ffffff;- font-weight: bold;-}-.ui-widget-header a {- color: #ffffff;-}--/* Interaction states-----------------------------------*/-.ui-state-default,-.ui-widget-content .ui-state-default,-.ui-widget-header .ui-state-default {- border: 1px solid #666666;- background: #555555 url("images/ui-bg_glass_20_555555_1x400.png") 50% 50% repeat-x;- font-weight: bold;- color: #eeeeee;-}-.ui-state-default a,-.ui-state-default a:link,-.ui-state-default a:visited {- color: #eeeeee;- text-decoration: none;-}-.ui-state-hover,-.ui-widget-content .ui-state-hover,-.ui-widget-header .ui-state-hover,-.ui-state-focus,-.ui-widget-content .ui-state-focus,-.ui-widget-header .ui-state-focus {- border: 1px solid #59b4d4;- background: #0078a3 url("images/ui-bg_glass_40_0078a3_1x400.png") 50% 50% repeat-x;- font-weight: bold;- color: #ffffff;-}-.ui-state-hover a,-.ui-state-hover a:hover,-.ui-state-hover a:link,-.ui-state-hover a:visited,-.ui-state-focus a,-.ui-state-focus a:hover,-.ui-state-focus a:link,-.ui-state-focus a:visited {- color: #ffffff;- text-decoration: none;-}-.ui-state-active,-.ui-widget-content .ui-state-active,-.ui-widget-header .ui-state-active {- border: 1px solid #ffaf0f;- background: #f58400 url("images/ui-bg_inset-soft_30_f58400_1x100.png") 50% 50% repeat-x;- font-weight: bold;- color: #ffffff;-}-.ui-state-active a,-.ui-state-active a:link,-.ui-state-active a:visited {- color: #ffffff;- text-decoration: none;-}--/* Interaction Cues-----------------------------------*/-.ui-state-highlight,-.ui-widget-content .ui-state-highlight,-.ui-widget-header .ui-state-highlight {- border: 1px solid #cccccc;- background: #eeeeee url("images/ui-bg_highlight-soft_80_eeeeee_1x100.png") 50% top repeat-x;- color: #2e7db2;-}-.ui-state-highlight a,-.ui-widget-content .ui-state-highlight a,-.ui-widget-header .ui-state-highlight a {- color: #2e7db2;-}-.ui-state-error,-.ui-widget-content .ui-state-error,-.ui-widget-header .ui-state-error {- border: 1px solid #ffb73d;- background: #ffc73d url("images/ui-bg_glass_40_ffc73d_1x400.png") 50% 50% repeat-x;- color: #111111;-}-.ui-state-error a,-.ui-widget-content .ui-state-error a,-.ui-widget-header .ui-state-error a {- color: #111111;-}-.ui-state-error-text,-.ui-widget-content .ui-state-error-text,-.ui-widget-header .ui-state-error-text {- color: #111111;-}-.ui-priority-primary,-.ui-widget-content .ui-priority-primary,-.ui-widget-header .ui-priority-primary {- font-weight: bold;-}-.ui-priority-secondary,-.ui-widget-content .ui-priority-secondary,-.ui-widget-header .ui-priority-secondary {- opacity: .7;- filter:Alpha(Opacity=70); /* support: IE8 */- font-weight: normal;-}-.ui-state-disabled,-.ui-widget-content .ui-state-disabled,-.ui-widget-header .ui-state-disabled {- opacity: .35;- filter:Alpha(Opacity=35); /* support: IE8 */- background-image: none;-}-.ui-state-disabled .ui-icon {- filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */-}--/* Icons-----------------------------------*/--/* states and images */-.ui-icon {- width: 16px;- height: 16px;-}-.ui-icon,-.ui-widget-content .ui-icon {- background-image: url("images/ui-icons_cccccc_256x240.png");-}-.ui-widget-header .ui-icon {- background-image: url("images/ui-icons_ffffff_256x240.png");-}-.ui-state-default .ui-icon {- background-image: url("images/ui-icons_cccccc_256x240.png");-}-.ui-state-hover .ui-icon,-.ui-state-focus .ui-icon {- background-image: url("images/ui-icons_ffffff_256x240.png");-}-.ui-state-active .ui-icon {- background-image: url("images/ui-icons_222222_256x240.png");-}-.ui-state-highlight .ui-icon {- background-image: url("images/ui-icons_4b8e0b_256x240.png");-}-.ui-state-error .ui-icon,-.ui-state-error-text .ui-icon {- background-image: url("images/ui-icons_a83300_256x240.png");-}--/* positioning */-.ui-icon-blank { background-position: 16px 16px; }-.ui-icon-carat-1-n { background-position: 0 0; }-.ui-icon-carat-1-ne { background-position: -16px 0; }-.ui-icon-carat-1-e { background-position: -32px 0; }-.ui-icon-carat-1-se { background-position: -48px 0; }-.ui-icon-carat-1-s { background-position: -64px 0; }-.ui-icon-carat-1-sw { background-position: -80px 0; }-.ui-icon-carat-1-w { background-position: -96px 0; }-.ui-icon-carat-1-nw { background-position: -112px 0; }-.ui-icon-carat-2-n-s { background-position: -128px 0; }-.ui-icon-carat-2-e-w { background-position: -144px 0; }-.ui-icon-triangle-1-n { background-position: 0 -16px; }-.ui-icon-triangle-1-ne { background-position: -16px -16px; }-.ui-icon-triangle-1-e { background-position: -32px -16px; }-.ui-icon-triangle-1-se { background-position: -48px -16px; }-.ui-icon-triangle-1-s { background-position: -64px -16px; }-.ui-icon-triangle-1-sw { background-position: -80px -16px; }-.ui-icon-triangle-1-w { background-position: -96px -16px; }-.ui-icon-triangle-1-nw { background-position: -112px -16px; }-.ui-icon-triangle-2-n-s { background-position: -128px -16px; }-.ui-icon-triangle-2-e-w { background-position: -144px -16px; }-.ui-icon-arrow-1-n { background-position: 0 -32px; }-.ui-icon-arrow-1-ne { background-position: -16px -32px; }-.ui-icon-arrow-1-e { background-position: -32px -32px; }-.ui-icon-arrow-1-se { background-position: -48px -32px; }-.ui-icon-arrow-1-s { background-position: -64px -32px; }-.ui-icon-arrow-1-sw { background-position: -80px -32px; }-.ui-icon-arrow-1-w { background-position: -96px -32px; }-.ui-icon-arrow-1-nw { background-position: -112px -32px; }-.ui-icon-arrow-2-n-s { background-position: -128px -32px; }-.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }-.ui-icon-arrow-2-e-w { background-position: -160px -32px; }-.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }-.ui-icon-arrowstop-1-n { background-position: -192px -32px; }-.ui-icon-arrowstop-1-e { background-position: -208px -32px; }-.ui-icon-arrowstop-1-s { background-position: -224px -32px; }-.ui-icon-arrowstop-1-w { background-position: -240px -32px; }-.ui-icon-arrowthick-1-n { background-position: 0 -48px; }-.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }-.ui-icon-arrowthick-1-e { background-position: -32px -48px; }-.ui-icon-arrowthick-1-se { background-position: -48px -48px; }-.ui-icon-arrowthick-1-s { background-position: -64px -48px; }-.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }-.ui-icon-arrowthick-1-w { background-position: -96px -48px; }-.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }-.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }-.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }-.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }-.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }-.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }-.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }-.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }-.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }-.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }-.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }-.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }-.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }-.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }-.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }-.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }-.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }-.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }-.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }-.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }-.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }-.ui-icon-arrow-4 { background-position: 0 -80px; }-.ui-icon-arrow-4-diag { background-position: -16px -80px; }-.ui-icon-extlink { background-position: -32px -80px; }-.ui-icon-newwin { background-position: -48px -80px; }-.ui-icon-refresh { background-position: -64px -80px; }-.ui-icon-shuffle { background-position: -80px -80px; }-.ui-icon-transfer-e-w { background-position: -96px -80px; }-.ui-icon-transferthick-e-w { background-position: -112px -80px; }-.ui-icon-folder-collapsed { background-position: 0 -96px; }-.ui-icon-folder-open { background-position: -16px -96px; }-.ui-icon-document { background-position: -32px -96px; }-.ui-icon-document-b { background-position: -48px -96px; }-.ui-icon-note { background-position: -64px -96px; }-.ui-icon-mail-closed { background-position: -80px -96px; }-.ui-icon-mail-open { background-position: -96px -96px; }-.ui-icon-suitcase { background-position: -112px -96px; }-.ui-icon-comment { background-position: -128px -96px; }-.ui-icon-person { background-position: -144px -96px; }-.ui-icon-print { background-position: -160px -96px; }-.ui-icon-trash { background-position: -176px -96px; }-.ui-icon-locked { background-position: -192px -96px; }-.ui-icon-unlocked { background-position: -208px -96px; }-.ui-icon-bookmark { background-position: -224px -96px; }-.ui-icon-tag { background-position: -240px -96px; }-.ui-icon-home { background-position: 0 -112px; }-.ui-icon-flag { background-position: -16px -112px; }-.ui-icon-calendar { background-position: -32px -112px; }-.ui-icon-cart { background-position: -48px -112px; }-.ui-icon-pencil { background-position: -64px -112px; }-.ui-icon-clock { background-position: -80px -112px; }-.ui-icon-disk { background-position: -96px -112px; }-.ui-icon-calculator { background-position: -112px -112px; }-.ui-icon-zoomin { background-position: -128px -112px; }-.ui-icon-zoomout { background-position: -144px -112px; }-.ui-icon-search { background-position: -160px -112px; }-.ui-icon-wrench { background-position: -176px -112px; }-.ui-icon-gear { background-position: -192px -112px; }-.ui-icon-heart { background-position: -208px -112px; }-.ui-icon-star { background-position: -224px -112px; }-.ui-icon-link { background-position: -240px -112px; }-.ui-icon-cancel { background-position: 0 -128px; }-.ui-icon-plus { background-position: -16px -128px; }-.ui-icon-plusthick { background-position: -32px -128px; }-.ui-icon-minus { background-position: -48px -128px; }-.ui-icon-minusthick { background-position: -64px -128px; }-.ui-icon-close { background-position: -80px -128px; }-.ui-icon-closethick { background-position: -96px -128px; }-.ui-icon-key { background-position: -112px -128px; }-.ui-icon-lightbulb { background-position: -128px -128px; }-.ui-icon-scissors { background-position: -144px -128px; }-.ui-icon-clipboard { background-position: -160px -128px; }-.ui-icon-copy { background-position: -176px -128px; }-.ui-icon-contact { background-position: -192px -128px; }-.ui-icon-image { background-position: -208px -128px; }-.ui-icon-video { background-position: -224px -128px; }-.ui-icon-script { background-position: -240px -128px; }-.ui-icon-alert { background-position: 0 -144px; }-.ui-icon-info { background-position: -16px -144px; }-.ui-icon-notice { background-position: -32px -144px; }-.ui-icon-help { background-position: -48px -144px; }-.ui-icon-check { background-position: -64px -144px; }-.ui-icon-bullet { background-position: -80px -144px; }-.ui-icon-radio-on { background-position: -96px -144px; }-.ui-icon-radio-off { background-position: -112px -144px; }-.ui-icon-pin-w { background-position: -128px -144px; }-.ui-icon-pin-s { background-position: -144px -144px; }-.ui-icon-play { background-position: 0 -160px; }-.ui-icon-pause { background-position: -16px -160px; }-.ui-icon-seek-next { background-position: -32px -160px; }-.ui-icon-seek-prev { background-position: -48px -160px; }-.ui-icon-seek-end { background-position: -64px -160px; }-.ui-icon-seek-start { background-position: -80px -160px; }-/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */-.ui-icon-seek-first { background-position: -80px -160px; }-.ui-icon-stop { background-position: -96px -160px; }-.ui-icon-eject { background-position: -112px -160px; }-.ui-icon-volume-off { background-position: -128px -160px; }-.ui-icon-volume-on { background-position: -144px -160px; }-.ui-icon-power { background-position: 0 -176px; }-.ui-icon-signal-diag { background-position: -16px -176px; }-.ui-icon-signal { background-position: -32px -176px; }-.ui-icon-battery-0 { background-position: -48px -176px; }-.ui-icon-battery-1 { background-position: -64px -176px; }-.ui-icon-battery-2 { background-position: -80px -176px; }-.ui-icon-battery-3 { background-position: -96px -176px; }-.ui-icon-circle-plus { background-position: 0 -192px; }-.ui-icon-circle-minus { background-position: -16px -192px; }-.ui-icon-circle-close { background-position: -32px -192px; }-.ui-icon-circle-triangle-e { background-position: -48px -192px; }-.ui-icon-circle-triangle-s { background-position: -64px -192px; }-.ui-icon-circle-triangle-w { background-position: -80px -192px; }-.ui-icon-circle-triangle-n { background-position: -96px -192px; }-.ui-icon-circle-arrow-e { background-position: -112px -192px; }-.ui-icon-circle-arrow-s { background-position: -128px -192px; }-.ui-icon-circle-arrow-w { background-position: -144px -192px; }-.ui-icon-circle-arrow-n { background-position: -160px -192px; }-.ui-icon-circle-zoomin { background-position: -176px -192px; }-.ui-icon-circle-zoomout { background-position: -192px -192px; }-.ui-icon-circle-check { background-position: -208px -192px; }-.ui-icon-circlesmall-plus { background-position: 0 -208px; }-.ui-icon-circlesmall-minus { background-position: -16px -208px; }-.ui-icon-circlesmall-close { background-position: -32px -208px; }-.ui-icon-squaresmall-plus { background-position: -48px -208px; }-.ui-icon-squaresmall-minus { background-position: -64px -208px; }-.ui-icon-squaresmall-close { background-position: -80px -208px; }-.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }-.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }-.ui-icon-grip-solid-vertical { background-position: -32px -224px; }-.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }-.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }-.ui-icon-grip-diagonal-se { background-position: -80px -224px; }---/* Misc visuals-----------------------------------*/--/* Corner radius */-.ui-corner-all,-.ui-corner-top,-.ui-corner-left,-.ui-corner-tl {- border-top-left-radius: 6px;-}-.ui-corner-all,-.ui-corner-top,-.ui-corner-right,-.ui-corner-tr {- border-top-right-radius: 6px;-}-.ui-corner-all,-.ui-corner-bottom,-.ui-corner-left,-.ui-corner-bl {- border-bottom-left-radius: 6px;-}-.ui-corner-all,-.ui-corner-bottom,-.ui-corner-right,-.ui-corner-br {- border-bottom-right-radius: 6px;-}--/* Overlays */-.ui-widget-overlay {- background: #5c5c5c url("images/ui-bg_flat_50_5c5c5c_40x100.png") 50% 50% repeat-x;- opacity: .8;- filter: Alpha(Opacity=80); /* support: IE8 */-}-.ui-widget-shadow {- margin: -7px 0 0 -7px;- padding: 7px;- background: #cccccc url("images/ui-bg_flat_30_cccccc_40x100.png") 50% 50% repeat-x;- opacity: .6;- filter: Alpha(Opacity=60); /* support: IE8 */- border-radius: 8px;-}diff --git a/web/ext/ui/jquery-ui-1.11.4/jquery-ui.js b/web/ext/ui/jquery-ui-1.11.4/jquery-ui.jsdeleted file mode 100644index 43a9dcc1d..000000000--- a/web/ext/ui/jquery-ui-1.11.4/jquery-ui.js+++ /dev/null@@ -1,16617 +0,0 @@-/*! jQuery UI - v1.11.4 - 2015-06-28-* http://jqueryui.com-* Includes: core.js, widget.js, mouse.js, position.js, draggable.js, droppable.js, resizable.js, selectable.js, sortable.js, accordion.js, autocomplete.js, button.js, datepicker.js, dialog.js, menu.js, progressbar.js, selectmenu.js, slider.js, spinner.js, tabs.js, tooltip.js, effect.js, effect-blind.js, effect-bounce.js, effect-clip.js, effect-drop.js, effect-explode.js, effect-fade.js, effect-fold.js, effect-highlight.js, effect-puff.js, effect-pulsate.js, effect-scale.js, effect-shake.js, effect-size.js, effect-slide.js, effect-transfer.js-* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */--(function( factory ) {- if ( typeof define === "function" && define.amd ) {-- // AMD. Register as an anonymous module.- define([ "jquery" ], factory );- } else {-- // Browser globals- factory( jQuery );- }-}(function( $ ) {-/*!- * jQuery UI Core 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/category/ui-core/- */---// $.ui might exist from components with no dependencies, e.g., $.ui.position-$.ui = $.ui || {};--$.extend( $.ui, {- version: "1.11.4",-- keyCode: {- BACKSPACE: 8,- COMMA: 188,- DELETE: 46,- DOWN: 40,- END: 35,- ENTER: 13,- ESCAPE: 27,- HOME: 36,- LEFT: 37,- PAGE_DOWN: 34,- PAGE_UP: 33,- PERIOD: 190,- RIGHT: 39,- SPACE: 32,- TAB: 9,- UP: 38- }-});--// plugins-$.fn.extend({- scrollParent: function( includeHidden ) {- var position = this.css( "position" ),- excludeStaticParent = position === "absolute",- overflowRegex = includeHidden ? /(auto|scroll|hidden)/ : /(auto|scroll)/,- scrollParent = this.parents().filter( function() {- var parent = $( this );- if ( excludeStaticParent && parent.css( "position" ) === "static" ) {- return false;- }- return overflowRegex.test( parent.css( "overflow" ) + parent.css( "overflow-y" ) + parent.css( "overflow-x" ) );- }).eq( 0 );-- return position === "fixed" || !scrollParent.length ? $( this[ 0 ].ownerDocument || document ) : scrollParent;- },-- uniqueId: (function() {- var uuid = 0;-- return function() {- return this.each(function() {- if ( !this.id ) {- this.id = "ui-id-" + ( ++uuid );- }- });- };- })(),-- removeUniqueId: function() {- return this.each(function() {- if ( /^ui-id-\d+$/.test( this.id ) ) {- $( this ).removeAttr( "id" );- }- });- }-});--// selectors-function focusable( element, isTabIndexNotNaN ) {- var map, mapName, img,- nodeName = element.nodeName.toLowerCase();- if ( "area" === nodeName ) {- map = element.parentNode;- mapName = map.name;- if ( !element.href || !mapName || map.nodeName.toLowerCase() !== "map" ) {- return false;- }- img = $( "img[usemap='#" + mapName + "']" )[ 0 ];- return !!img && visible( img );- }- return ( /^(input|select|textarea|button|object)$/.test( nodeName ) ?- !element.disabled :- "a" === nodeName ?- element.href || isTabIndexNotNaN :- isTabIndexNotNaN) &&- // the element and all of its ancestors must be visible- visible( element );-}--function visible( element ) {- return $.expr.filters.visible( element ) &&- !$( element ).parents().addBack().filter(function() {- return $.css( this, "visibility" ) === "hidden";- }).length;-}--$.extend( $.expr[ ":" ], {- data: $.expr.createPseudo ?- $.expr.createPseudo(function( dataName ) {- return function( elem ) {- return !!$.data( elem, dataName );- };- }) :- // support: jQuery <1.8- function( elem, i, match ) {- return !!$.data( elem, match[ 3 ] );- },-- focusable: function( element ) {- return focusable( element, !isNaN( $.attr( element, "tabindex" ) ) );- },-- tabbable: function( element ) {- var tabIndex = $.attr( element, "tabindex" ),- isTabIndexNaN = isNaN( tabIndex );- return ( isTabIndexNaN || tabIndex >= 0 ) && focusable( element, !isTabIndexNaN );- }-});--// support: jQuery <1.8-if ( !$( "<a>" ).outerWidth( 1 ).jquery ) {- $.each( [ "Width", "Height" ], function( i, name ) {- var side = name === "Width" ? [ "Left", "Right" ] : [ "Top", "Bottom" ],- type = name.toLowerCase(),- orig = {- innerWidth: $.fn.innerWidth,- innerHeight: $.fn.innerHeight,- outerWidth: $.fn.outerWidth,- outerHeight: $.fn.outerHeight- };-- function reduce( elem, size, border, margin ) {- $.each( side, function() {- size -= parseFloat( $.css( elem, "padding" + this ) ) || 0;- if ( border ) {- size -= parseFloat( $.css( elem, "border" + this + "Width" ) ) || 0;- }- if ( margin ) {- size -= parseFloat( $.css( elem, "margin" + this ) ) || 0;- }- });- return size;- }-- $.fn[ "inner" + name ] = function( size ) {- if ( size === undefined ) {- return orig[ "inner" + name ].call( this );- }-- return this.each(function() {- $( this ).css( type, reduce( this, size ) + "px" );- });- };-- $.fn[ "outer" + name] = function( size, margin ) {- if ( typeof size !== "number" ) {- return orig[ "outer" + name ].call( this, size );- }-- return this.each(function() {- $( this).css( type, reduce( this, size, true, margin ) + "px" );- });- };- });-}--// support: jQuery <1.8-if ( !$.fn.addBack ) {- $.fn.addBack = function( selector ) {- return this.add( selector == null ?- this.prevObject : this.prevObject.filter( selector )- );- };-}--// support: jQuery 1.6.1, 1.6.2 (http://bugs.jquery.com/ticket/9413)-if ( $( "<a>" ).data( "a-b", "a" ).removeData( "a-b" ).data( "a-b" ) ) {- $.fn.removeData = (function( removeData ) {- return function( key ) {- if ( arguments.length ) {- return removeData.call( this, $.camelCase( key ) );- } else {- return removeData.call( this );- }- };- })( $.fn.removeData );-}--// deprecated-$.ui.ie = !!/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() );--$.fn.extend({- focus: (function( orig ) {- return function( delay, fn ) {- return typeof delay === "number" ?- this.each(function() {- var elem = this;- setTimeout(function() {- $( elem ).focus();- if ( fn ) {- fn.call( elem );- }- }, delay );- }) :- orig.apply( this, arguments );- };- })( $.fn.focus ),-- disableSelection: (function() {- var eventType = "onselectstart" in document.createElement( "div" ) ?- "selectstart" :- "mousedown";-- return function() {- return this.bind( eventType + ".ui-disableSelection", function( event ) {- event.preventDefault();- });- };- })(),-- enableSelection: function() {- return this.unbind( ".ui-disableSelection" );- },-- zIndex: function( zIndex ) {- if ( zIndex !== undefined ) {- return this.css( "zIndex", zIndex );- }-- if ( this.length ) {- var elem = $( this[ 0 ] ), position, value;- while ( elem.length && elem[ 0 ] !== document ) {- // Ignore z-index if position is set to a value where z-index is ignored by the browser- // This makes behavior of this function consistent across browsers- // WebKit always returns auto if the element is positioned- position = elem.css( "position" );- if ( position === "absolute" || position === "relative" || position === "fixed" ) {- // IE returns 0 when zIndex is not specified- // other browsers return a string- // we ignore the case of nested elements with an explicit value of 0- // <div style="z-index: -10;"><div style="z-index: 0;"></div></div>- value = parseInt( elem.css( "zIndex" ), 10 );- if ( !isNaN( value ) && value !== 0 ) {- return value;- }- }- elem = elem.parent();- }- }-- return 0;- }-});--// $.ui.plugin is deprecated. Use $.widget() extensions instead.-$.ui.plugin = {- add: function( module, option, set ) {- var i,- proto = $.ui[ module ].prototype;- for ( i in set ) {- proto.plugins[ i ] = proto.plugins[ i ] || [];- proto.plugins[ i ].push( [ option, set[ i ] ] );- }- },- call: function( instance, name, args, allowDisconnected ) {- var i,- set = instance.plugins[ name ];-- if ( !set ) {- return;- }-- if ( !allowDisconnected && ( !instance.element[ 0 ].parentNode || instance.element[ 0 ].parentNode.nodeType === 11 ) ) {- return;- }-- for ( i = 0; i < set.length; i++ ) {- if ( instance.options[ set[ i ][ 0 ] ] ) {- set[ i ][ 1 ].apply( instance.element, args );- }- }- }-};---/*!- * jQuery UI Widget 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/jQuery.widget/- */---var widget_uuid = 0,- widget_slice = Array.prototype.slice;--$.cleanData = (function( orig ) {- return function( elems ) {- var events, elem, i;- for ( i = 0; (elem = elems[i]) != null; i++ ) {- try {-- // Only trigger remove when necessary to save time- events = $._data( elem, "events" );- if ( events && events.remove ) {- $( elem ).triggerHandler( "remove" );- }-- // http://bugs.jquery.com/ticket/8235- } catch ( e ) {}- }- orig( elems );- };-})( $.cleanData );--$.widget = function( name, base, prototype ) {- var fullName, existingConstructor, constructor, basePrototype,- // proxiedPrototype allows the provided prototype to remain unmodified- // so that it can be used as a mixin for multiple widgets (#8876)- proxiedPrototype = {},- namespace = name.split( "." )[ 0 ];-- name = name.split( "." )[ 1 ];- fullName = namespace + "-" + name;-- if ( !prototype ) {- prototype = base;- base = $.Widget;- }-- // create selector for plugin- $.expr[ ":" ][ fullName.toLowerCase() ] = function( elem ) {- return !!$.data( elem, fullName );- };-- $[ namespace ] = $[ namespace ] || {};- existingConstructor = $[ namespace ][ name ];- constructor = $[ namespace ][ name ] = function( options, element ) {- // allow instantiation without "new" keyword- if ( !this._createWidget ) {- return new constructor( options, element );- }-- // allow instantiation without initializing for simple inheritance- // must use "new" keyword (the code above always passes args)- if ( arguments.length ) {- this._createWidget( options, element );- }- };- // extend with the existing constructor to carry over any static properties- $.extend( constructor, existingConstructor, {- version: prototype.version,- // copy the object used to create the prototype in case we need to- // redefine the widget later- _proto: $.extend( {}, prototype ),- // track widgets that inherit from this widget in case this widget is- // redefined after a widget inherits from it- _childConstructors: []- });-- basePrototype = new base();- // we need to make the options hash a property directly on the new instance- // otherwise we'll modify the options hash on the prototype that we're- // inheriting from- basePrototype.options = $.widget.extend( {}, basePrototype.options );- $.each( prototype, function( prop, value ) {- if ( !$.isFunction( value ) ) {- proxiedPrototype[ prop ] = value;- return;- }- proxiedPrototype[ prop ] = (function() {- var _super = function() {- return base.prototype[ prop ].apply( this, arguments );- },- _superApply = function( args ) {- return base.prototype[ prop ].apply( this, args );- };- return function() {- var __super = this._super,- __superApply = this._superApply,- returnValue;-- this._super = _super;- this._superApply = _superApply;-- returnValue = value.apply( this, arguments );-- this._super = __super;- this._superApply = __superApply;-- return returnValue;- };- })();- });- constructor.prototype = $.widget.extend( basePrototype, {- // TODO: remove support for widgetEventPrefix- // always use the name + a colon as the prefix, e.g., draggable:start- // don't prefix for widgets that aren't DOM-based- widgetEventPrefix: existingConstructor ? (basePrototype.widgetEventPrefix || name) : name- }, proxiedPrototype, {- constructor: constructor,- namespace: namespace,- widgetName: name,- widgetFullName: fullName- });-- // If this widget is being redefined then we need to find all widgets that- // are inheriting from it and redefine all of them so that they inherit from- // the new version of this widget. We're essentially trying to replace one- // level in the prototype chain.- if ( existingConstructor ) {- $.each( existingConstructor._childConstructors, function( i, child ) {- var childPrototype = child.prototype;-- // redefine the child widget using the same prototype that was- // originally used, but inherit from the new version of the base- $.widget( childPrototype.namespace + "." + childPrototype.widgetName, constructor, child._proto );- });- // remove the list of existing child constructors from the old constructor- // so the old child constructors can be garbage collected- delete existingConstructor._childConstructors;- } else {- base._childConstructors.push( constructor );- }-- $.widget.bridge( name, constructor );-- return constructor;-};--$.widget.extend = function( target ) {- var input = widget_slice.call( arguments, 1 ),- inputIndex = 0,- inputLength = input.length,- key,- value;- for ( ; inputIndex < inputLength; inputIndex++ ) {- for ( key in input[ inputIndex ] ) {- value = input[ inputIndex ][ key ];- if ( input[ inputIndex ].hasOwnProperty( key ) && value !== undefined ) {- // Clone objects- if ( $.isPlainObject( value ) ) {- target[ key ] = $.isPlainObject( target[ key ] ) ?- $.widget.extend( {}, target[ key ], value ) :- // Don't extend strings, arrays, etc. with objects- $.widget.extend( {}, value );- // Copy everything else by reference- } else {- target[ key ] = value;- }- }- }- }- return target;-};--$.widget.bridge = function( name, object ) {- var fullName = object.prototype.widgetFullName || name;- $.fn[ name ] = function( options ) {- var isMethodCall = typeof options === "string",- args = widget_slice.call( arguments, 1 ),- returnValue = this;-- if ( isMethodCall ) {- this.each(function() {- var methodValue,- instance = $.data( this, fullName );- if ( options === "instance" ) {- returnValue = instance;- return false;- }- if ( !instance ) {- return $.error( "cannot call methods on " + name + " prior to initialization; " +- "attempted to call method '" + options + "'" );- }- if ( !$.isFunction( instance[options] ) || options.charAt( 0 ) === "_" ) {- return $.error( "no such method '" + options + "' for " + name + " widget instance" );- }- methodValue = instance[ options ].apply( instance, args );- if ( methodValue !== instance && methodValue !== undefined ) {- returnValue = methodValue && methodValue.jquery ?- returnValue.pushStack( methodValue.get() ) :- methodValue;- return false;- }- });- } else {-- // Allow multiple hashes to be passed on init- if ( args.length ) {- options = $.widget.extend.apply( null, [ options ].concat(args) );- }-- this.each(function() {- var instance = $.data( this, fullName );- if ( instance ) {- instance.option( options || {} );- if ( instance._init ) {- instance._init();- }- } else {- $.data( this, fullName, new object( options, this ) );- }- });- }-- return returnValue;- };-};--$.Widget = function( /* options, element */ ) {};-$.Widget._childConstructors = [];--$.Widget.prototype = {- widgetName: "widget",- widgetEventPrefix: "",- defaultElement: "<div>",- options: {- disabled: false,-- // callbacks- create: null- },- _createWidget: function( options, element ) {- element = $( element || this.defaultElement || this )[ 0 ];- this.element = $( element );- this.uuid = widget_uuid++;- this.eventNamespace = "." + this.widgetName + this.uuid;-- this.bindings = $();- this.hoverable = $();- this.focusable = $();-- if ( element !== this ) {- $.data( element, this.widgetFullName, this );- this._on( true, this.element, {- remove: function( event ) {- if ( event.target === element ) {- this.destroy();- }- }- });- this.document = $( element.style ?- // element within the document- element.ownerDocument :- // element is window or document- element.document || element );- this.window = $( this.document[0].defaultView || this.document[0].parentWindow );- }-- this.options = $.widget.extend( {},- this.options,- this._getCreateOptions(),- options );-- this._create();- this._trigger( "create", null, this._getCreateEventData() );- this._init();- },- _getCreateOptions: $.noop,- _getCreateEventData: $.noop,- _create: $.noop,- _init: $.noop,-- destroy: function() {- this._destroy();- // we can probably remove the unbind calls in 2.0- // all event bindings should go through this._on()- this.element- .unbind( this.eventNamespace )- .removeData( this.widgetFullName )- // support: jquery <1.6.3- // http://bugs.jquery.com/ticket/9413- .removeData( $.camelCase( this.widgetFullName ) );- this.widget()- .unbind( this.eventNamespace )- .removeAttr( "aria-disabled" )- .removeClass(- this.widgetFullName + "-disabled " +- "ui-state-disabled" );-- // clean up events and states- this.bindings.unbind( this.eventNamespace );- this.hoverable.removeClass( "ui-state-hover" );- this.focusable.removeClass( "ui-state-focus" );- },- _destroy: $.noop,-- widget: function() {- return this.element;- },-- option: function( key, value ) {- var options = key,- parts,- curOption,- i;-- if ( arguments.length === 0 ) {- // don't return a reference to the internal hash- return $.widget.extend( {}, this.options );- }-- if ( typeof key === "string" ) {- // handle nested keys, e.g., "foo.bar" => { foo: { bar: ___ } }- options = {};- parts = key.split( "." );- key = parts.shift();- if ( parts.length ) {- curOption = options[ key ] = $.widget.extend( {}, this.options[ key ] );- for ( i = 0; i < parts.length - 1; i++ ) {- curOption[ parts[ i ] ] = curOption[ parts[ i ] ] || {};- curOption = curOption[ parts[ i ] ];- }- key = parts.pop();- if ( arguments.length === 1 ) {- return curOption[ key ] === undefined ? null : curOption[ key ];- }- curOption[ key ] = value;- } else {- if ( arguments.length === 1 ) {- return this.options[ key ] === undefined ? null : this.options[ key ];- }- options[ key ] = value;- }- }-- this._setOptions( options );-- return this;- },- _setOptions: function( options ) {- var key;-- for ( key in options ) {- this._setOption( key, options[ key ] );- }-- return this;- },- _setOption: function( key, value ) {- this.options[ key ] = value;-- if ( key === "disabled" ) {- this.widget()- .toggleClass( this.widgetFullName + "-disabled", !!value );-- // If the widget is becoming disabled, then nothing is interactive- if ( value ) {- this.hoverable.removeClass( "ui-state-hover" );- this.focusable.removeClass( "ui-state-focus" );- }- }-- return this;- },-- enable: function() {- return this._setOptions({ disabled: false });- },- disable: function() {- return this._setOptions({ disabled: true });- },-- _on: function( suppressDisabledCheck, element, handlers ) {- var delegateElement,- instance = this;-- // no suppressDisabledCheck flag, shuffle arguments- if ( typeof suppressDisabledCheck !== "boolean" ) {- handlers = element;- element = suppressDisabledCheck;- suppressDisabledCheck = false;- }-- // no element argument, shuffle and use this.element- if ( !handlers ) {- handlers = element;- element = this.element;- delegateElement = this.widget();- } else {- element = delegateElement = $( element );- this.bindings = this.bindings.add( element );- }-- $.each( handlers, function( event, handler ) {- function handlerProxy() {- // allow widgets to customize the disabled handling- // - disabled as an array instead of boolean- // - disabled class as method for disabling individual parts- if ( !suppressDisabledCheck &&- ( instance.options.disabled === true ||- $( this ).hasClass( "ui-state-disabled" ) ) ) {- return;- }- return ( typeof handler === "string" ? instance[ handler ] : handler )- .apply( instance, arguments );- }-- // copy the guid so direct unbinding works- if ( typeof handler !== "string" ) {- handlerProxy.guid = handler.guid =- handler.guid || handlerProxy.guid || $.guid++;- }-- var match = event.match( /^([\w:-]*)\s*(.*)$/ ),- eventName = match[1] + instance.eventNamespace,- selector = match[2];- if ( selector ) {- delegateElement.delegate( selector, eventName, handlerProxy );- } else {- element.bind( eventName, handlerProxy );- }- });- },-- _off: function( element, eventName ) {- eventName = (eventName || "").split( " " ).join( this.eventNamespace + " " ) +- this.eventNamespace;- element.unbind( eventName ).undelegate( eventName );-- // Clear the stack to avoid memory leaks (#10056)- this.bindings = $( this.bindings.not( element ).get() );- this.focusable = $( this.focusable.not( element ).get() );- this.hoverable = $( this.hoverable.not( element ).get() );- },-- _delay: function( handler, delay ) {- function handlerProxy() {- return ( typeof handler === "string" ? instance[ handler ] : handler )- .apply( instance, arguments );- }- var instance = this;- return setTimeout( handlerProxy, delay || 0 );- },-- _hoverable: function( element ) {- this.hoverable = this.hoverable.add( element );- this._on( element, {- mouseenter: function( event ) {- $( event.currentTarget ).addClass( "ui-state-hover" );- },- mouseleave: function( event ) {- $( event.currentTarget ).removeClass( "ui-state-hover" );- }- });- },-- _focusable: function( element ) {- this.focusable = this.focusable.add( element );- this._on( element, {- focusin: function( event ) {- $( event.currentTarget ).addClass( "ui-state-focus" );- },- focusout: function( event ) {- $( event.currentTarget ).removeClass( "ui-state-focus" );- }- });- },-- _trigger: function( type, event, data ) {- var prop, orig,- callback = this.options[ type ];-- data = data || {};- event = $.Event( event );- event.type = ( type === this.widgetEventPrefix ?- type :- this.widgetEventPrefix + type ).toLowerCase();- // the original event may come from any element- // so we need to reset the target on the new event- event.target = this.element[ 0 ];-- // copy original event properties over to the new event- orig = event.originalEvent;- if ( orig ) {- for ( prop in orig ) {- if ( !( prop in event ) ) {- event[ prop ] = orig[ prop ];- }- }- }-- this.element.trigger( event, data );- return !( $.isFunction( callback ) &&- callback.apply( this.element[0], [ event ].concat( data ) ) === false ||- event.isDefaultPrevented() );- }-};--$.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) {- $.Widget.prototype[ "_" + method ] = function( element, options, callback ) {- if ( typeof options === "string" ) {- options = { effect: options };- }- var hasOptions,- effectName = !options ?- method :- options === true || typeof options === "number" ?- defaultEffect :- options.effect || defaultEffect;- options = options || {};- if ( typeof options === "number" ) {- options = { duration: options };- }- hasOptions = !$.isEmptyObject( options );- options.complete = callback;- if ( options.delay ) {- element.delay( options.delay );- }- if ( hasOptions && $.effects && $.effects.effect[ effectName ] ) {- element[ method ]( options );- } else if ( effectName !== method && element[ effectName ] ) {- element[ effectName ]( options.duration, options.easing, callback );- } else {- element.queue(function( next ) {- $( this )[ method ]();- if ( callback ) {- callback.call( element[ 0 ] );- }- next();- });- }- };-});--var widget = $.widget;---/*!- * jQuery UI Mouse 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/mouse/- */---var mouseHandled = false;-$( document ).mouseup( function() {- mouseHandled = false;-});--var mouse = $.widget("ui.mouse", {- version: "1.11.4",- options: {- cancel: "input,textarea,button,select,option",- distance: 1,- delay: 0- },- _mouseInit: function() {- var that = this;-- this.element- .bind("mousedown." + this.widgetName, function(event) {- return that._mouseDown(event);- })- .bind("click." + this.widgetName, function(event) {- if (true === $.data(event.target, that.widgetName + ".preventClickEvent")) {- $.removeData(event.target, that.widgetName + ".preventClickEvent");- event.stopImmediatePropagation();- return false;- }- });-- this.started = false;- },-- // TODO: make sure destroying one instance of mouse doesn't mess with- // other instances of mouse- _mouseDestroy: function() {- this.element.unbind("." + this.widgetName);- if ( this._mouseMoveDelegate ) {- this.document- .unbind("mousemove." + this.widgetName, this._mouseMoveDelegate)- .unbind("mouseup." + this.widgetName, this._mouseUpDelegate);- }- },-- _mouseDown: function(event) {- // don't let more than one widget handle mouseStart- if ( mouseHandled ) {- return;- }-- this._mouseMoved = false;-- // we may have missed mouseup (out of window)- (this._mouseStarted && this._mouseUp(event));-- this._mouseDownEvent = event;-- var that = this,- btnIsLeft = (event.which === 1),- // event.target.nodeName works around a bug in IE 8 with- // disabled inputs (#7620)- elIsCancel = (typeof this.options.cancel === "string" && event.target.nodeName ? $(event.target).closest(this.options.cancel).length : false);- if (!btnIsLeft || elIsCancel || !this._mouseCapture(event)) {- return true;- }-- this.mouseDelayMet = !this.options.delay;- if (!this.mouseDelayMet) {- this._mouseDelayTimer = setTimeout(function() {- that.mouseDelayMet = true;- }, this.options.delay);- }-- if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) {- this._mouseStarted = (this._mouseStart(event) !== false);- if (!this._mouseStarted) {- event.preventDefault();- return true;- }- }-- // Click event may never have fired (Gecko & Opera)- if (true === $.data(event.target, this.widgetName + ".preventClickEvent")) {- $.removeData(event.target, this.widgetName + ".preventClickEvent");- }-- // these delegates are required to keep context- this._mouseMoveDelegate = function(event) {- return that._mouseMove(event);- };- this._mouseUpDelegate = function(event) {- return that._mouseUp(event);- };-- this.document- .bind( "mousemove." + this.widgetName, this._mouseMoveDelegate )- .bind( "mouseup." + this.widgetName, this._mouseUpDelegate );-- event.preventDefault();-- mouseHandled = true;- return true;- },-- _mouseMove: function(event) {- // Only check for mouseups outside the document if you've moved inside the document- // at least once. This prevents the firing of mouseup in the case of IE<9, which will- // fire a mousemove event if content is placed under the cursor. See #7778- // Support: IE <9- if ( this._mouseMoved ) {- // IE mouseup check - mouseup happened when mouse was out of window- if ($.ui.ie && ( !document.documentMode || document.documentMode < 9 ) && !event.button) {- return this._mouseUp(event);-- // Iframe mouseup check - mouseup occurred in another document- } else if ( !event.which ) {- return this._mouseUp( event );- }- }-- if ( event.which || event.button ) {- this._mouseMoved = true;- }-- if (this._mouseStarted) {- this._mouseDrag(event);- return event.preventDefault();- }-- if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) {- this._mouseStarted =- (this._mouseStart(this._mouseDownEvent, event) !== false);- (this._mouseStarted ? this._mouseDrag(event) : this._mouseUp(event));- }-- return !this._mouseStarted;- },-- _mouseUp: function(event) {- this.document- .unbind( "mousemove." + this.widgetName, this._mouseMoveDelegate )- .unbind( "mouseup." + this.widgetName, this._mouseUpDelegate );-- if (this._mouseStarted) {- this._mouseStarted = false;-- if (event.target === this._mouseDownEvent.target) {- $.data(event.target, this.widgetName + ".preventClickEvent", true);- }-- this._mouseStop(event);- }-- mouseHandled = false;- return false;- },-- _mouseDistanceMet: function(event) {- return (Math.max(- Math.abs(this._mouseDownEvent.pageX - event.pageX),- Math.abs(this._mouseDownEvent.pageY - event.pageY)- ) >= this.options.distance- );- },-- _mouseDelayMet: function(/* event */) {- return this.mouseDelayMet;- },-- // These are placeholder methods, to be overriden by extending plugin- _mouseStart: function(/* event */) {},- _mouseDrag: function(/* event */) {},- _mouseStop: function(/* event */) {},- _mouseCapture: function(/* event */) { return true; }-});---/*!- * jQuery UI Position 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/position/- */--(function() {--$.ui = $.ui || {};--var cachedScrollbarWidth, supportsOffsetFractions,- max = Math.max,- abs = Math.abs,- round = Math.round,- rhorizontal = /left|center|right/,- rvertical = /top|center|bottom/,- roffset = /[\+\-]\d+(\.[\d]+)?%?/,- rposition = /^\w+/,- rpercent = /%$/,- _position = $.fn.position;--function getOffsets( offsets, width, height ) {- return [- parseFloat( offsets[ 0 ] ) * ( rpercent.test( offsets[ 0 ] ) ? width / 100 : 1 ),- parseFloat( offsets[ 1 ] ) * ( rpercent.test( offsets[ 1 ] ) ? height / 100 : 1 )- ];-}--function parseCss( element, property ) {- return parseInt( $.css( element, property ), 10 ) || 0;-}--function getDimensions( elem ) {- var raw = elem[0];- if ( raw.nodeType === 9 ) {- return {- width: elem.width(),- height: elem.height(),- offset: { top: 0, left: 0 }- };- }- if ( $.isWindow( raw ) ) {- return {- width: elem.width(),- height: elem.height(),- offset: { top: elem.scrollTop(), left: elem.scrollLeft() }- };- }- if ( raw.preventDefault ) {- return {- width: 0,- height: 0,- offset: { top: raw.pageY, left: raw.pageX }- };- }- return {- width: elem.outerWidth(),- height: elem.outerHeight(),- offset: elem.offset()- };-}--$.position = {- scrollbarWidth: function() {- if ( cachedScrollbarWidth !== undefined ) {- return cachedScrollbarWidth;- }- var w1, w2,- div = $( "<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>" ),- innerDiv = div.children()[0];-- $( "body" ).append( div );- w1 = innerDiv.offsetWidth;- div.css( "overflow", "scroll" );-- w2 = innerDiv.offsetWidth;-- if ( w1 === w2 ) {- w2 = div[0].clientWidth;- }-- div.remove();-- return (cachedScrollbarWidth = w1 - w2);- },- getScrollInfo: function( within ) {- var overflowX = within.isWindow || within.isDocument ? "" :- within.element.css( "overflow-x" ),- overflowY = within.isWindow || within.isDocument ? "" :- within.element.css( "overflow-y" ),- hasOverflowX = overflowX === "scroll" ||- ( overflowX === "auto" && within.width < within.element[0].scrollWidth ),- hasOverflowY = overflowY === "scroll" ||- ( overflowY === "auto" && within.height < within.element[0].scrollHeight );- return {- width: hasOverflowY ? $.position.scrollbarWidth() : 0,- height: hasOverflowX ? $.position.scrollbarWidth() : 0- };- },- getWithinInfo: function( element ) {- var withinElement = $( element || window ),- isWindow = $.isWindow( withinElement[0] ),- isDocument = !!withinElement[ 0 ] && withinElement[ 0 ].nodeType === 9;- return {- element: withinElement,- isWindow: isWindow,- isDocument: isDocument,- offset: withinElement.offset() || { left: 0, top: 0 },- scrollLeft: withinElement.scrollLeft(),- scrollTop: withinElement.scrollTop(),-- // support: jQuery 1.6.x- // jQuery 1.6 doesn't support .outerWidth/Height() on documents or windows- width: isWindow || isDocument ? withinElement.width() : withinElement.outerWidth(),- height: isWindow || isDocument ? withinElement.height() : withinElement.outerHeight()- };- }-};--$.fn.position = function( options ) {- if ( !options || !options.of ) {- return _position.apply( this, arguments );- }-- // make a copy, we don't want to modify arguments- options = $.extend( {}, options );-- var atOffset, targetWidth, targetHeight, targetOffset, basePosition, dimensions,- target = $( options.of ),- within = $.position.getWithinInfo( options.within ),- scrollInfo = $.position.getScrollInfo( within ),- collision = ( options.collision || "flip" ).split( " " ),- offsets = {};-- dimensions = getDimensions( target );- if ( target[0].preventDefault ) {- // force left top to allow flipping- options.at = "left top";- }- targetWidth = dimensions.width;- targetHeight = dimensions.height;- targetOffset = dimensions.offset;- // clone to reuse original targetOffset later- basePosition = $.extend( {}, targetOffset );-- // force my and at to have valid horizontal and vertical positions- // if a value is missing or invalid, it will be converted to center- $.each( [ "my", "at" ], function() {- var pos = ( options[ this ] || "" ).split( " " ),- horizontalOffset,- verticalOffset;-- if ( pos.length === 1) {- pos = rhorizontal.test( pos[ 0 ] ) ?- pos.concat( [ "center" ] ) :- rvertical.test( pos[ 0 ] ) ?- [ "center" ].concat( pos ) :- [ "center", "center" ];- }- pos[ 0 ] = rhorizontal.test( pos[ 0 ] ) ? pos[ 0 ] : "center";- pos[ 1 ] = rvertical.test( pos[ 1 ] ) ? pos[ 1 ] : "center";-- // calculate offsets- horizontalOffset = roffset.exec( pos[ 0 ] );- verticalOffset = roffset.exec( pos[ 1 ] );- offsets[ this ] = [- horizontalOffset ? horizontalOffset[ 0 ] : 0,- verticalOffset ? verticalOffset[ 0 ] : 0- ];-- // reduce to just the positions without the offsets- options[ this ] = [- rposition.exec( pos[ 0 ] )[ 0 ],- rposition.exec( pos[ 1 ] )[ 0 ]- ];- });-- // normalize collision option- if ( collision.length === 1 ) {- collision[ 1 ] = collision[ 0 ];- }-- if ( options.at[ 0 ] === "right" ) {- basePosition.left += targetWidth;- } else if ( options.at[ 0 ] === "center" ) {- basePosition.left += targetWidth / 2;- }-- if ( options.at[ 1 ] === "bottom" ) {- basePosition.top += targetHeight;- } else if ( options.at[ 1 ] === "center" ) {- basePosition.top += targetHeight / 2;- }-- atOffset = getOffsets( offsets.at, targetWidth, targetHeight );- basePosition.left += atOffset[ 0 ];- basePosition.top += atOffset[ 1 ];-- return this.each(function() {- var collisionPosition, using,- elem = $( this ),- elemWidth = elem.outerWidth(),- elemHeight = elem.outerHeight(),- marginLeft = parseCss( this, "marginLeft" ),- marginTop = parseCss( this, "marginTop" ),- collisionWidth = elemWidth + marginLeft + parseCss( this, "marginRight" ) + scrollInfo.width,- collisionHeight = elemHeight + marginTop + parseCss( this, "marginBottom" ) + scrollInfo.height,- position = $.extend( {}, basePosition ),- myOffset = getOffsets( offsets.my, elem.outerWidth(), elem.outerHeight() );-- if ( options.my[ 0 ] === "right" ) {- position.left -= elemWidth;- } else if ( options.my[ 0 ] === "center" ) {- position.left -= elemWidth / 2;- }-- if ( options.my[ 1 ] === "bottom" ) {- position.top -= elemHeight;- } else if ( options.my[ 1 ] === "center" ) {- position.top -= elemHeight / 2;- }-- position.left += myOffset[ 0 ];- position.top += myOffset[ 1 ];-- // if the browser doesn't support fractions, then round for consistent results- if ( !supportsOffsetFractions ) {- position.left = round( position.left );- position.top = round( position.top );- }-- collisionPosition = {- marginLeft: marginLeft,- marginTop: marginTop- };-- $.each( [ "left", "top" ], function( i, dir ) {- if ( $.ui.position[ collision[ i ] ] ) {- $.ui.position[ collision[ i ] ][ dir ]( position, {- targetWidth: targetWidth,- targetHeight: targetHeight,- elemWidth: elemWidth,- elemHeight: elemHeight,- collisionPosition: collisionPosition,- collisionWidth: collisionWidth,- collisionHeight: collisionHeight,- offset: [ atOffset[ 0 ] + myOffset[ 0 ], atOffset [ 1 ] + myOffset[ 1 ] ],- my: options.my,- at: options.at,- within: within,- elem: elem- });- }- });-- if ( options.using ) {- // adds feedback as second argument to using callback, if present- using = function( props ) {- var left = targetOffset.left - position.left,- right = left + targetWidth - elemWidth,- top = targetOffset.top - position.top,- bottom = top + targetHeight - elemHeight,- feedback = {- target: {- element: target,- left: targetOffset.left,- top: targetOffset.top,- width: targetWidth,- height: targetHeight- },- element: {- element: elem,- left: position.left,- top: position.top,- width: elemWidth,- height: elemHeight- },- horizontal: right < 0 ? "left" : left > 0 ? "right" : "center",- vertical: bottom < 0 ? "top" : top > 0 ? "bottom" : "middle"- };- if ( targetWidth < elemWidth && abs( left + right ) < targetWidth ) {- feedback.horizontal = "center";- }- if ( targetHeight < elemHeight && abs( top + bottom ) < targetHeight ) {- feedback.vertical = "middle";- }- if ( max( abs( left ), abs( right ) ) > max( abs( top ), abs( bottom ) ) ) {- feedback.important = "horizontal";- } else {- feedback.important = "vertical";- }- options.using.call( this, props, feedback );- };- }-- elem.offset( $.extend( position, { using: using } ) );- });-};--$.ui.position = {- fit: {- left: function( position, data ) {- var within = data.within,- withinOffset = within.isWindow ? within.scrollLeft : within.offset.left,- outerWidth = within.width,- collisionPosLeft = position.left - data.collisionPosition.marginLeft,- overLeft = withinOffset - collisionPosLeft,- overRight = collisionPosLeft + data.collisionWidth - outerWidth - withinOffset,- newOverRight;-- // element is wider than within- if ( data.collisionWidth > outerWidth ) {- // element is initially over the left side of within- if ( overLeft > 0 && overRight <= 0 ) {- newOverRight = position.left + overLeft + data.collisionWidth - outerWidth - withinOffset;- position.left += overLeft - newOverRight;- // element is initially over right side of within- } else if ( overRight > 0 && overLeft <= 0 ) {- position.left = withinOffset;- // element is initially over both left and right sides of within- } else {- if ( overLeft > overRight ) {- position.left = withinOffset + outerWidth - data.collisionWidth;- } else {- position.left = withinOffset;- }- }- // too far left -> align with left edge- } else if ( overLeft > 0 ) {- position.left += overLeft;- // too far right -> align with right edge- } else if ( overRight > 0 ) {- position.left -= overRight;- // adjust based on position and margin- } else {- position.left = max( position.left - collisionPosLeft, position.left );- }- },- top: function( position, data ) {- var within = data.within,- withinOffset = within.isWindow ? within.scrollTop : within.offset.top,- outerHeight = data.within.height,- collisionPosTop = position.top - data.collisionPosition.marginTop,- overTop = withinOffset - collisionPosTop,- overBottom = collisionPosTop + data.collisionHeight - outerHeight - withinOffset,- newOverBottom;-- // element is taller than within- if ( data.collisionHeight > outerHeight ) {- // element is initially over the top of within- if ( overTop > 0 && overBottom <= 0 ) {- newOverBottom = position.top + overTop + data.collisionHeight - outerHeight - withinOffset;- position.top += overTop - newOverBottom;- // element is initially over bottom of within- } else if ( overBottom > 0 && overTop <= 0 ) {- position.top = withinOffset;- // element is initially over both top and bottom of within- } else {- if ( overTop > overBottom ) {- position.top = withinOffset + outerHeight - data.collisionHeight;- } else {- position.top = withinOffset;- }- }- // too far up -> align with top- } else if ( overTop > 0 ) {- position.top += overTop;- // too far down -> align with bottom edge- } else if ( overBottom > 0 ) {- position.top -= overBottom;- // adjust based on position and margin- } else {- position.top = max( position.top - collisionPosTop, position.top );- }- }- },- flip: {- left: function( position, data ) {- var within = data.within,- withinOffset = within.offset.left + within.scrollLeft,- outerWidth = within.width,- offsetLeft = within.isWindow ? within.scrollLeft : within.offset.left,- collisionPosLeft = position.left - data.collisionPosition.marginLeft,- overLeft = collisionPosLeft - offsetLeft,- overRight = collisionPosLeft + data.collisionWidth - outerWidth - offsetLeft,- myOffset = data.my[ 0 ] === "left" ?- -data.elemWidth :- data.my[ 0 ] === "right" ?- data.elemWidth :- 0,- atOffset = data.at[ 0 ] === "left" ?- data.targetWidth :- data.at[ 0 ] === "right" ?- -data.targetWidth :- 0,- offset = -2 * data.offset[ 0 ],- newOverRight,- newOverLeft;-- if ( overLeft < 0 ) {- newOverRight = position.left + myOffset + atOffset + offset + data.collisionWidth - outerWidth - withinOffset;- if ( newOverRight < 0 || newOverRight < abs( overLeft ) ) {- position.left += myOffset + atOffset + offset;- }- } else if ( overRight > 0 ) {- newOverLeft = position.left - data.collisionPosition.marginLeft + myOffset + atOffset + offset - offsetLeft;- if ( newOverLeft > 0 || abs( newOverLeft ) < overRight ) {- position.left += myOffset + atOffset + offset;- }- }- },- top: function( position, data ) {- var within = data.within,- withinOffset = within.offset.top + within.scrollTop,- outerHeight = within.height,- offsetTop = within.isWindow ? within.scrollTop : within.offset.top,- collisionPosTop = position.top - data.collisionPosition.marginTop,- overTop = collisionPosTop - offsetTop,- overBottom = collisionPosTop + data.collisionHeight - outerHeight - offsetTop,- top = data.my[ 1 ] === "top",- myOffset = top ?- -data.elemHeight :- data.my[ 1 ] === "bottom" ?- data.elemHeight :- 0,- atOffset = data.at[ 1 ] === "top" ?- data.targetHeight :- data.at[ 1 ] === "bottom" ?- -data.targetHeight :- 0,- offset = -2 * data.offset[ 1 ],- newOverTop,- newOverBottom;- if ( overTop < 0 ) {- newOverBottom = position.top + myOffset + atOffset + offset + data.collisionHeight - outerHeight - withinOffset;- if ( newOverBottom < 0 || newOverBottom < abs( overTop ) ) {- position.top += myOffset + atOffset + offset;- }- } else if ( overBottom > 0 ) {- newOverTop = position.top - data.collisionPosition.marginTop + myOffset + atOffset + offset - offsetTop;- if ( newOverTop > 0 || abs( newOverTop ) < overBottom ) {- position.top += myOffset + atOffset + offset;- }- }- }- },- flipfit: {- left: function() {- $.ui.position.flip.left.apply( this, arguments );- $.ui.position.fit.left.apply( this, arguments );- },- top: function() {- $.ui.position.flip.top.apply( this, arguments );- $.ui.position.fit.top.apply( this, arguments );- }- }-};--// fraction support test-(function() {- var testElement, testElementParent, testElementStyle, offsetLeft, i,- body = document.getElementsByTagName( "body" )[ 0 ],- div = document.createElement( "div" );-- //Create a "fake body" for testing based on method used in jQuery.support- testElement = document.createElement( body ? "div" : "body" );- testElementStyle = {- visibility: "hidden",- width: 0,- height: 0,- border: 0,- margin: 0,- background: "none"- };- if ( body ) {- $.extend( testElementStyle, {- position: "absolute",- left: "-1000px",- top: "-1000px"- });- }- for ( i in testElementStyle ) {- testElement.style[ i ] = testElementStyle[ i ];- }- testElement.appendChild( div );- testElementParent = body || document.documentElement;- testElementParent.insertBefore( testElement, testElementParent.firstChild );-- div.style.cssText = "position: absolute; left: 10.7432222px;";-- offsetLeft = $( div ).offset().left;- supportsOffsetFractions = offsetLeft > 10 && offsetLeft < 11;-- testElement.innerHTML = "";- testElementParent.removeChild( testElement );-})();--})();--var position = $.ui.position;---/*!- * jQuery UI Draggable 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/draggable/- */---$.widget("ui.draggable", $.ui.mouse, {- version: "1.11.4",- widgetEventPrefix: "drag",- options: {- addClasses: true,- appendTo: "parent",- axis: false,- connectToSortable: false,- containment: false,- cursor: "auto",- cursorAt: false,- grid: false,- handle: false,- helper: "original",- iframeFix: false,- opacity: false,- refreshPositions: false,- revert: false,- revertDuration: 500,- scope: "default",- scroll: true,- scrollSensitivity: 20,- scrollSpeed: 20,- snap: false,- snapMode: "both",- snapTolerance: 20,- stack: false,- zIndex: false,-- // callbacks- drag: null,- start: null,- stop: null- },- _create: function() {-- if ( this.options.helper === "original" ) {- this._setPositionRelative();- }- if (this.options.addClasses){- this.element.addClass("ui-draggable");- }- if (this.options.disabled){- this.element.addClass("ui-draggable-disabled");- }- this._setHandleClassName();-- this._mouseInit();- },-- _setOption: function( key, value ) {- this._super( key, value );- if ( key === "handle" ) {- this._removeHandleClassName();- this._setHandleClassName();- }- },-- _destroy: function() {- if ( ( this.helper || this.element ).is( ".ui-draggable-dragging" ) ) {- this.destroyOnClear = true;- return;- }- this.element.removeClass( "ui-draggable ui-draggable-dragging ui-draggable-disabled" );- this._removeHandleClassName();- this._mouseDestroy();- },-- _mouseCapture: function(event) {- var o = this.options;-- this._blurActiveElement( event );-- // among others, prevent a drag on a resizable-handle- if (this.helper || o.disabled || $(event.target).closest(".ui-resizable-handle").length > 0) {- return false;- }-- //Quit if we're not on a valid handle- this.handle = this._getHandle(event);- if (!this.handle) {- return false;- }-- this._blockFrames( o.iframeFix === true ? "iframe" : o.iframeFix );-- return true;-- },-- _blockFrames: function( selector ) {- this.iframeBlocks = this.document.find( selector ).map(function() {- var iframe = $( this );-- return $( "<div>" )- .css( "position", "absolute" )- .appendTo( iframe.parent() )- .outerWidth( iframe.outerWidth() )- .outerHeight( iframe.outerHeight() )- .offset( iframe.offset() )[ 0 ];- });- },-- _unblockFrames: function() {- if ( this.iframeBlocks ) {- this.iframeBlocks.remove();- delete this.iframeBlocks;- }- },-- _blurActiveElement: function( event ) {- var document = this.document[ 0 ];-- // Only need to blur if the event occurred on the draggable itself, see #10527- if ( !this.handleElement.is( event.target ) ) {- return;- }-- // support: IE9- // IE9 throws an "Unspecified error" accessing document.activeElement from an <iframe>- try {-- // Support: IE9, IE10- // If the <body> is blurred, IE will switch windows, see #9520- if ( document.activeElement && document.activeElement.nodeName.toLowerCase() !== "body" ) {-- // Blur any element that currently has focus, see #4261- $( document.activeElement ).blur();- }- } catch ( error ) {}- },-- _mouseStart: function(event) {-- var o = this.options;-- //Create and append the visible helper- this.helper = this._createHelper(event);-- this.helper.addClass("ui-draggable-dragging");-- //Cache the helper size- this._cacheHelperProportions();-- //If ddmanager is used for droppables, set the global draggable- if ($.ui.ddmanager) {- $.ui.ddmanager.current = this;- }-- /*- * - Position generation -- * This block generates everything position related - it's the core of draggables.- */-- //Cache the margins of the original element- this._cacheMargins();-- //Store the helper's css position- this.cssPosition = this.helper.css( "position" );- this.scrollParent = this.helper.scrollParent( true );- this.offsetParent = this.helper.offsetParent();- this.hasFixedAncestor = this.helper.parents().filter(function() {- return $( this ).css( "position" ) === "fixed";- }).length > 0;-- //The element's absolute position on the page minus margins- this.positionAbs = this.element.offset();- this._refreshOffsets( event );-- //Generate the original position- this.originalPosition = this.position = this._generatePosition( event, false );- this.originalPageX = event.pageX;- this.originalPageY = event.pageY;-- //Adjust the mouse offset relative to the helper if "cursorAt" is supplied- (o.cursorAt && this._adjustOffsetFromHelper(o.cursorAt));-- //Set a containment if given in the options- this._setContainment();-- //Trigger event + callbacks- if (this._trigger("start", event) === false) {- this._clear();- return false;- }-- //Recache the helper size- this._cacheHelperProportions();-- //Prepare the droppable offsets- if ($.ui.ddmanager && !o.dropBehaviour) {- $.ui.ddmanager.prepareOffsets(this, event);- }-- // Reset helper's right/bottom css if they're set and set explicit width/height instead- // as this prevents resizing of elements with right/bottom set (see #7772)- this._normalizeRightBottom();-- this._mouseDrag(event, true); //Execute the drag once - this causes the helper not to be visible before getting its correct position-- //If the ddmanager is used for droppables, inform the manager that dragging has started (see #5003)- if ( $.ui.ddmanager ) {- $.ui.ddmanager.dragStart(this, event);- }-- return true;- },-- _refreshOffsets: function( event ) {- this.offset = {- top: this.positionAbs.top - this.margins.top,- left: this.positionAbs.left - this.margins.left,- scroll: false,- parent: this._getParentOffset(),- relative: this._getRelativeOffset()- };-- this.offset.click = {- left: event.pageX - this.offset.left,- top: event.pageY - this.offset.top- };- },-- _mouseDrag: function(event, noPropagation) {- // reset any necessary cached properties (see #5009)- if ( this.hasFixedAncestor ) {- this.offset.parent = this._getParentOffset();- }-- //Compute the helpers position- this.position = this._generatePosition( event, true );- this.positionAbs = this._convertPositionTo("absolute");-- //Call plugins and callbacks and use the resulting position if something is returned- if (!noPropagation) {- var ui = this._uiHash();- if (this._trigger("drag", event, ui) === false) {- this._mouseUp({});- return false;- }- this.position = ui.position;- }-- this.helper[ 0 ].style.left = this.position.left + "px";- this.helper[ 0 ].style.top = this.position.top + "px";-- if ($.ui.ddmanager) {- $.ui.ddmanager.drag(this, event);- }-- return false;- },-- _mouseStop: function(event) {-- //If we are using droppables, inform the manager about the drop- var that = this,- dropped = false;- if ($.ui.ddmanager && !this.options.dropBehaviour) {- dropped = $.ui.ddmanager.drop(this, event);- }-- //if a drop comes from outside (a sortable)- if (this.dropped) {- dropped = this.dropped;- this.dropped = false;- }-- if ((this.options.revert === "invalid" && !dropped) || (this.options.revert === "valid" && dropped) || this.options.revert === true || ($.isFunction(this.options.revert) && this.options.revert.call(this.element, dropped))) {- $(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), function() {- if (that._trigger("stop", event) !== false) {- that._clear();- }- });- } else {- if (this._trigger("stop", event) !== false) {- this._clear();- }- }-- return false;- },-- _mouseUp: function( event ) {- this._unblockFrames();-- //If the ddmanager is used for droppables, inform the manager that dragging has stopped (see #5003)- if ( $.ui.ddmanager ) {- $.ui.ddmanager.dragStop(this, event);- }-- // Only need to focus if the event occurred on the draggable itself, see #10527- if ( this.handleElement.is( event.target ) ) {- // The interaction is over; whether or not the click resulted in a drag, focus the element- this.element.focus();- }-- return $.ui.mouse.prototype._mouseUp.call(this, event);- },-- cancel: function() {-- if (this.helper.is(".ui-draggable-dragging")) {- this._mouseUp({});- } else {- this._clear();- }-- return this;-- },-- _getHandle: function(event) {- return this.options.handle ?- !!$( event.target ).closest( this.element.find( this.options.handle ) ).length :- true;- },-- _setHandleClassName: function() {- this.handleElement = this.options.handle ?- this.element.find( this.options.handle ) : this.element;- this.handleElement.addClass( "ui-draggable-handle" );- },-- _removeHandleClassName: function() {- this.handleElement.removeClass( "ui-draggable-handle" );- },-- _createHelper: function(event) {-- var o = this.options,- helperIsFunction = $.isFunction( o.helper ),- helper = helperIsFunction ?- $( o.helper.apply( this.element[ 0 ], [ event ] ) ) :- ( o.helper === "clone" ?- this.element.clone().removeAttr( "id" ) :- this.element );-- if (!helper.parents("body").length) {- helper.appendTo((o.appendTo === "parent" ? this.element[0].parentNode : o.appendTo));- }-- // http://bugs.jqueryui.com/ticket/9446- // a helper function can return the original element- // which wouldn't have been set to relative in _create- if ( helperIsFunction && helper[ 0 ] === this.element[ 0 ] ) {- this._setPositionRelative();- }-- if (helper[0] !== this.element[0] && !(/(fixed|absolute)/).test(helper.css("position"))) {- helper.css("position", "absolute");- }-- return helper;-- },-- _setPositionRelative: function() {- if ( !( /^(?:r|a|f)/ ).test( this.element.css( "position" ) ) ) {- this.element[ 0 ].style.position = "relative";- }- },-- _adjustOffsetFromHelper: function(obj) {- if (typeof obj === "string") {- obj = obj.split(" ");- }- if ($.isArray(obj)) {- obj = { left: +obj[0], top: +obj[1] || 0 };- }- if ("left" in obj) {- this.offset.click.left = obj.left + this.margins.left;- }- if ("right" in obj) {- this.offset.click.left = this.helperProportions.width - obj.right + this.margins.left;- }- if ("top" in obj) {- this.offset.click.top = obj.top + this.margins.top;- }- if ("bottom" in obj) {- this.offset.click.top = this.helperProportions.height - obj.bottom + this.margins.top;- }- },-- _isRootNode: function( element ) {- return ( /(html|body)/i ).test( element.tagName ) || element === this.document[ 0 ];- },-- _getParentOffset: function() {-- //Get the offsetParent and cache its position- var po = this.offsetParent.offset(),- document = this.document[ 0 ];-- // This is a special case where we need to modify a offset calculated on start, since the following happened:- // 1. The position of the helper is absolute, so it's position is calculated based on the next positioned parent- // 2. The actual offset parent is a child of the scroll parent, and the scroll parent isn't the document, which means that- // the scroll is included in the initial calculation of the offset of the parent, and never recalculated upon drag- if (this.cssPosition === "absolute" && this.scrollParent[0] !== document && $.contains(this.scrollParent[0], this.offsetParent[0])) {- po.left += this.scrollParent.scrollLeft();- po.top += this.scrollParent.scrollTop();- }-- if ( this._isRootNode( this.offsetParent[ 0 ] ) ) {- po = { top: 0, left: 0 };- }-- return {- top: po.top + (parseInt(this.offsetParent.css("borderTopWidth"), 10) || 0),- left: po.left + (parseInt(this.offsetParent.css("borderLeftWidth"), 10) || 0)- };-- },-- _getRelativeOffset: function() {- if ( this.cssPosition !== "relative" ) {- return { top: 0, left: 0 };- }-- var p = this.element.position(),- scrollIsRootNode = this._isRootNode( this.scrollParent[ 0 ] );-- return {- top: p.top - ( parseInt(this.helper.css( "top" ), 10) || 0 ) + ( !scrollIsRootNode ? this.scrollParent.scrollTop() : 0 ),- left: p.left - ( parseInt(this.helper.css( "left" ), 10) || 0 ) + ( !scrollIsRootNode ? this.scrollParent.scrollLeft() : 0 )- };-- },-- _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 isUserScrollable, c, ce,- o = this.options,- document = this.document[ 0 ];-- this.relativeContainer = null;-- if ( !o.containment ) {- this.containment = null;- return;- }-- if ( o.containment === "window" ) {- 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- ];- return;- }-- if ( o.containment === "document") {- this.containment = [- 0,- 0,- $( document ).width() - this.helperProportions.width - this.margins.left,- ( $( document ).height() || document.body.parentNode.scrollHeight ) - this.helperProportions.height - this.margins.top- ];- return;- }-- if ( o.containment.constructor === Array ) {- this.containment = o.containment;- return;- }-- if ( o.containment === "parent" ) {- o.containment = this.helper[ 0 ].parentNode;- }-- c = $( o.containment );- ce = c[ 0 ];-- if ( !ce ) {- return;- }-- isUserScrollable = /(scroll|auto)/.test( c.css( "overflow" ) );-- this.containment = [- ( parseInt( c.css( "borderLeftWidth" ), 10 ) || 0 ) + ( parseInt( c.css( "paddingLeft" ), 10 ) || 0 ),- ( parseInt( c.css( "borderTopWidth" ), 10 ) || 0 ) + ( parseInt( c.css( "paddingTop" ), 10 ) || 0 ),- ( isUserScrollable ? Math.max( ce.scrollWidth, ce.offsetWidth ) : ce.offsetWidth ) -- ( parseInt( c.css( "borderRightWidth" ), 10 ) || 0 ) -- ( parseInt( c.css( "paddingRight" ), 10 ) || 0 ) -- this.helperProportions.width -- this.margins.left -- this.margins.right,- ( isUserScrollable ? Math.max( ce.scrollHeight, ce.offsetHeight ) : ce.offsetHeight ) -- ( parseInt( c.css( "borderBottomWidth" ), 10 ) || 0 ) -- ( parseInt( c.css( "paddingBottom" ), 10 ) || 0 ) -- this.helperProportions.height -- this.margins.top -- this.margins.bottom- ];- this.relativeContainer = c;- },-- _convertPositionTo: function(d, pos) {-- if (!pos) {- pos = this.position;- }-- var mod = d === "absolute" ? 1 : -1,- scrollIsRootNode = this._isRootNode( this.scrollParent[ 0 ] );-- return {- top: (- pos.top + // The absolute mouse position- this.offset.relative.top * mod + // Only for relative positioned nodes: Relative offset from element to offset parent- this.offset.parent.top * mod - // The offsetParent's offset without borders (offset + border)- ( ( this.cssPosition === "fixed" ? -this.offset.scroll.top : ( scrollIsRootNode ? 0 : this.offset.scroll.top ) ) * mod)- ),- left: (- pos.left + // The absolute mouse position- this.offset.relative.left * mod + // Only for relative positioned nodes: Relative offset from element to offset parent- this.offset.parent.left * mod - // The offsetParent's offset without borders (offset + border)- ( ( this.cssPosition === "fixed" ? -this.offset.scroll.left : ( scrollIsRootNode ? 0 : this.offset.scroll.left ) ) * mod)- )- };-- },-- _generatePosition: function( event, constrainPosition ) {-- var containment, co, top, left,- o = this.options,- scrollIsRootNode = this._isRootNode( this.scrollParent[ 0 ] ),- pageX = event.pageX,- pageY = event.pageY;-- // Cache the scroll- if ( !scrollIsRootNode || !this.offset.scroll ) {- this.offset.scroll = {- top: this.scrollParent.scrollTop(),- left: this.scrollParent.scrollLeft()- };- }-- /*- * - Position constraining -- * Constrain the position to a mix of grid, containment.- */-- // If we are not dragging yet, we won't check for options- if ( constrainPosition ) {- if ( this.containment ) {- if ( this.relativeContainer ){- co = this.relativeContainer.offset();- containment = [- this.containment[ 0 ] + co.left,- this.containment[ 1 ] + co.top,- this.containment[ 2 ] + co.left,- this.containment[ 3 ] + co.top- ];- } else {- containment = this.containment;- }-- if (event.pageX - this.offset.click.left < containment[0]) {- pageX = containment[0] + this.offset.click.left;- }- if (event.pageY - this.offset.click.top < containment[1]) {- pageY = containment[1] + this.offset.click.top;- }- if (event.pageX - this.offset.click.left > containment[2]) {- pageX = containment[2] + this.offset.click.left;- }- if (event.pageY - this.offset.click.top > containment[3]) {- pageY = containment[3] + this.offset.click.top;- }- }-- if (o.grid) {- //Check for grid elements set to 0 to prevent divide by 0 error causing invalid argument errors in IE (see ticket #6950)- top = o.grid[1] ? this.originalPageY + Math.round((pageY - this.originalPageY) / o.grid[1]) * o.grid[1] : this.originalPageY;- pageY = containment ? ((top - this.offset.click.top >= containment[1] || top - this.offset.click.top > containment[3]) ? top : ((top - this.offset.click.top >= containment[1]) ? top - o.grid[1] : top + o.grid[1])) : top;-- left = o.grid[0] ? this.originalPageX + Math.round((pageX - this.originalPageX) / o.grid[0]) * o.grid[0] : this.originalPageX;- pageX = containment ? ((left - this.offset.click.left >= containment[0] || left - this.offset.click.left > containment[2]) ? left : ((left - this.offset.click.left >= containment[0]) ? left - o.grid[0] : left + o.grid[0])) : left;- }-- if ( o.axis === "y" ) {- pageX = this.originalPageX;- }-- if ( o.axis === "x" ) {- pageY = this.originalPageY;- }- }-- return {- top: (- pageY - // The absolute mouse position- this.offset.click.top - // Click offset (relative to the element)- this.offset.relative.top - // Only for relative positioned nodes: Relative offset from element to offset parent- this.offset.parent.top + // The offsetParent's offset without borders (offset + border)- ( this.cssPosition === "fixed" ? -this.offset.scroll.top : ( scrollIsRootNode ? 0 : this.offset.scroll.top ) )- ),- left: (- pageX - // The absolute mouse position- this.offset.click.left - // Click offset (relative to the element)- this.offset.relative.left - // Only for relative positioned nodes: Relative offset from element to offset parent- this.offset.parent.left + // The offsetParent's offset without borders (offset + border)- ( this.cssPosition === "fixed" ? -this.offset.scroll.left : ( scrollIsRootNode ? 0 : this.offset.scroll.left ) )- )- };-- },-- _clear: function() {- this.helper.removeClass("ui-draggable-dragging");- if (this.helper[0] !== this.element[0] && !this.cancelHelperRemoval) {- this.helper.remove();- }- this.helper = null;- this.cancelHelperRemoval = false;- if ( this.destroyOnClear ) {- this.destroy();- }- },-- _normalizeRightBottom: function() {- if ( this.options.axis !== "y" && this.helper.css( "right" ) !== "auto" ) {- this.helper.width( this.helper.width() );- this.helper.css( "right", "auto" );- }- if ( this.options.axis !== "x" && this.helper.css( "bottom" ) !== "auto" ) {- this.helper.height( this.helper.height() );- this.helper.css( "bottom", "auto" );- }- },-- // From now on bulk stuff - mainly helpers-- _trigger: function( type, event, ui ) {- ui = ui || this._uiHash();- $.ui.plugin.call( this, type, [ event, ui, this ], true );-- // Absolute position and offset (see #6884 ) have to be recalculated after plugins- if ( /^(drag|start|stop)/.test( type ) ) {- this.positionAbs = this._convertPositionTo( "absolute" );- ui.offset = this.positionAbs;- }- return $.Widget.prototype._trigger.call( this, type, event, ui );- },-- plugins: {},-- _uiHash: function() {- return {- helper: this.helper,- position: this.position,- originalPosition: this.originalPosition,- offset: this.positionAbs- };- }--});--$.ui.plugin.add( "draggable", "connectToSortable", {- start: function( event, ui, draggable ) {- var uiSortable = $.extend( {}, ui, {- item: draggable.element- });-- draggable.sortables = [];- $( draggable.options.connectToSortable ).each(function() {- var sortable = $( this ).sortable( "instance" );-- if ( sortable && !sortable.options.disabled ) {- draggable.sortables.push( sortable );-- // refreshPositions is called at drag start to refresh the containerCache- // which is used in drag. This ensures it's initialized and synchronized- // with any changes that might have happened on the page since initialization.- sortable.refreshPositions();- sortable._trigger("activate", event, uiSortable);- }- });- },- stop: function( event, ui, draggable ) {- var uiSortable = $.extend( {}, ui, {- item: draggable.element- });-- draggable.cancelHelperRemoval = false;-- $.each( draggable.sortables, function() {- var sortable = this;-- if ( sortable.isOver ) {- sortable.isOver = 0;-- // Allow this sortable to handle removing the helper- draggable.cancelHelperRemoval = true;- sortable.cancelHelperRemoval = false;-- // Use _storedCSS To restore properties in the sortable,- // as this also handles revert (#9675) since the draggable- // may have modified them in unexpected ways (#8809)- sortable._storedCSS = {- position: sortable.placeholder.css( "position" ),- top: sortable.placeholder.css( "top" ),- left: sortable.placeholder.css( "left" )- };-- sortable._mouseStop(event);-- // Once drag has ended, the sortable should return to using- // its original helper, not the shared helper from draggable- sortable.options.helper = sortable.options._helper;- } else {- // Prevent this Sortable from removing the helper.- // However, don't set the draggable to remove the helper- // either as another connected Sortable may yet handle the removal.- sortable.cancelHelperRemoval = true;-- sortable._trigger( "deactivate", event, uiSortable );- }- });- },- drag: function( event, ui, draggable ) {- $.each( draggable.sortables, function() {- var innermostIntersecting = false,- sortable = this;-- // Copy over variables that sortable's _intersectsWith uses- sortable.positionAbs = draggable.positionAbs;- sortable.helperProportions = draggable.helperProportions;- sortable.offset.click = draggable.offset.click;-- if ( sortable._intersectsWith( sortable.containerCache ) ) {- innermostIntersecting = true;-- $.each( draggable.sortables, function() {- // Copy over variables that sortable's _intersectsWith uses- this.positionAbs = draggable.positionAbs;- this.helperProportions = draggable.helperProportions;- this.offset.click = draggable.offset.click;-- if ( this !== sortable &&- this._intersectsWith( this.containerCache ) &&- $.contains( sortable.element[ 0 ], this.element[ 0 ] ) ) {- innermostIntersecting = false;- }-- return innermostIntersecting;- });- }-- if ( innermostIntersecting ) {- // If it intersects, we use a little isOver variable and set it once,- // so that the move-in stuff gets fired only once.- if ( !sortable.isOver ) {- sortable.isOver = 1;-- // Store draggable's parent in case we need to reappend to it later.- draggable._parent = ui.helper.parent();-- sortable.currentItem = ui.helper- .appendTo( sortable.element )- .data( "ui-sortable-item", true );-- // Store helper option to later restore it- sortable.options._helper = sortable.options.helper;-- sortable.options.helper = function() {- return ui.helper[ 0 ];- };-- // Fire the start events of the sortable with our passed browser event,- // and our own helper (so it doesn't create a new one)- event.target = sortable.currentItem[ 0 ];- sortable._mouseCapture( event, true );- sortable._mouseStart( event, true, true );-- // Because the browser event is way off the new appended portlet,- // modify necessary variables to reflect the changes- sortable.offset.click.top = draggable.offset.click.top;- sortable.offset.click.left = draggable.offset.click.left;- sortable.offset.parent.left -= draggable.offset.parent.left -- sortable.offset.parent.left;- sortable.offset.parent.top -= draggable.offset.parent.top -- sortable.offset.parent.top;-- draggable._trigger( "toSortable", event );-- // Inform draggable that the helper is in a valid drop zone,- // used solely in the revert option to handle "valid/invalid".- draggable.dropped = sortable.element;-- // Need to refreshPositions of all sortables in the case that- // adding to one sortable changes the location of the other sortables (#9675)- $.each( draggable.sortables, function() {- this.refreshPositions();- });-- // hack so receive/update callbacks work (mostly)- draggable.currentItem = draggable.element;- sortable.fromOutside = draggable;- }-- if ( sortable.currentItem ) {- sortable._mouseDrag( event );- // Copy the sortable's position because the draggable's can potentially reflect- // a relative position, while sortable is always absolute, which the dragged- // element has now become. (#8809)- ui.position = sortable.position;- }- } else {- // If it doesn't intersect with the sortable, and it intersected before,- // we fake the drag stop of the sortable, but make sure it doesn't remove- // the helper by using cancelHelperRemoval.- if ( sortable.isOver ) {-- sortable.isOver = 0;- sortable.cancelHelperRemoval = true;-- // Calling sortable's mouseStop would trigger a revert,- // so revert must be temporarily false until after mouseStop is called.- sortable.options._revert = sortable.options.revert;- sortable.options.revert = false;-- sortable._trigger( "out", event, sortable._uiHash( sortable ) );- sortable._mouseStop( event, true );-- // restore sortable behaviors that were modfied- // when the draggable entered the sortable area (#9481)- sortable.options.revert = sortable.options._revert;- sortable.options.helper = sortable.options._helper;-- if ( sortable.placeholder ) {- sortable.placeholder.remove();- }-- // Restore and recalculate the draggable's offset considering the sortable- // may have modified them in unexpected ways. (#8809, #10669)- ui.helper.appendTo( draggable._parent );- draggable._refreshOffsets( event );- ui.position = draggable._generatePosition( event, true );-- draggable._trigger( "fromSortable", event );-- // Inform draggable that the helper is no longer in a valid drop zone- draggable.dropped = false;-- // Need to refreshPositions of all sortables just in case removing- // from one sortable changes the location of other sortables (#9675)- $.each( draggable.sortables, function() {- this.refreshPositions();- });- }- }- });- }-});--$.ui.plugin.add("draggable", "cursor", {- start: function( event, ui, instance ) {- var t = $( "body" ),- o = instance.options;-- if (t.css("cursor")) {- o._cursor = t.css("cursor");- }- t.css("cursor", o.cursor);- },- stop: function( event, ui, instance ) {- var o = instance.options;- if (o._cursor) {- $("body").css("cursor", o._cursor);- }- }-});--$.ui.plugin.add("draggable", "opacity", {- start: function( event, ui, instance ) {- var t = $( ui.helper ),- o = instance.options;- if (t.css("opacity")) {- o._opacity = t.css("opacity");- }- t.css("opacity", o.opacity);- },- stop: function( event, ui, instance ) {- var o = instance.options;- if (o._opacity) {- $(ui.helper).css("opacity", o._opacity);- }- }-});--$.ui.plugin.add("draggable", "scroll", {- start: function( event, ui, i ) {- if ( !i.scrollParentNotHidden ) {- i.scrollParentNotHidden = i.helper.scrollParent( false );- }-- if ( i.scrollParentNotHidden[ 0 ] !== i.document[ 0 ] && i.scrollParentNotHidden[ 0 ].tagName !== "HTML" ) {- i.overflowOffset = i.scrollParentNotHidden.offset();- }- },- drag: function( event, ui, i ) {-- var o = i.options,- scrolled = false,- scrollParent = i.scrollParentNotHidden[ 0 ],- document = i.document[ 0 ];-- if ( scrollParent !== document && scrollParent.tagName !== "HTML" ) {- if ( !o.axis || o.axis !== "x" ) {- if ( ( i.overflowOffset.top + scrollParent.offsetHeight ) - event.pageY < o.scrollSensitivity ) {- scrollParent.scrollTop = scrolled = scrollParent.scrollTop + o.scrollSpeed;- } else if ( event.pageY - i.overflowOffset.top < o.scrollSensitivity ) {- scrollParent.scrollTop = scrolled = scrollParent.scrollTop - o.scrollSpeed;- }- }-- if ( !o.axis || o.axis !== "y" ) {- if ( ( i.overflowOffset.left + scrollParent.offsetWidth ) - event.pageX < o.scrollSensitivity ) {- scrollParent.scrollLeft = scrolled = scrollParent.scrollLeft + o.scrollSpeed;- } else if ( event.pageX - i.overflowOffset.left < o.scrollSensitivity ) {- scrollParent.scrollLeft = scrolled = scrollParent.scrollLeft - o.scrollSpeed;- }- }-- } else {-- if (!o.axis || o.axis !== "x") {- if (event.pageY - $(document).scrollTop() < o.scrollSensitivity) {- scrolled = $(document).scrollTop($(document).scrollTop() - o.scrollSpeed);- } else if ($(window).height() - (event.pageY - $(document).scrollTop()) < o.scrollSensitivity) {- scrolled = $(document).scrollTop($(document).scrollTop() + o.scrollSpeed);- }- }-- if (!o.axis || o.axis !== "y") {- if (event.pageX - $(document).scrollLeft() < o.scrollSensitivity) {- scrolled = $(document).scrollLeft($(document).scrollLeft() - o.scrollSpeed);- } else if ($(window).width() - (event.pageX - $(document).scrollLeft()) < o.scrollSensitivity) {- scrolled = $(document).scrollLeft($(document).scrollLeft() + o.scrollSpeed);- }- }-- }-- if (scrolled !== false && $.ui.ddmanager && !o.dropBehaviour) {- $.ui.ddmanager.prepareOffsets(i, event);- }-- }-});--$.ui.plugin.add("draggable", "snap", {- start: function( event, ui, i ) {-- var o = i.options;-- i.snapElements = [];-- $(o.snap.constructor !== String ? ( o.snap.items || ":data(ui-draggable)" ) : o.snap).each(function() {- var $t = $(this),- $o = $t.offset();- if (this !== i.element[0]) {- i.snapElements.push({- item: this,- width: $t.outerWidth(), height: $t.outerHeight(),- top: $o.top, left: $o.left- });- }- });-- },- drag: function( event, ui, inst ) {-- var ts, bs, ls, rs, l, r, t, b, i, first,- o = inst.options,- d = o.snapTolerance,- x1 = ui.offset.left, x2 = x1 + inst.helperProportions.width,- y1 = ui.offset.top, y2 = y1 + inst.helperProportions.height;-- for (i = inst.snapElements.length - 1; i >= 0; i--){-- l = inst.snapElements[i].left - inst.margins.left;- r = l + inst.snapElements[i].width;- t = inst.snapElements[i].top - inst.margins.top;- b = t + inst.snapElements[i].height;-- if ( x2 < l - d || x1 > r + d || y2 < t - d || y1 > b + d || !$.contains( inst.snapElements[ i ].item.ownerDocument, inst.snapElements[ i ].item ) ) {- if (inst.snapElements[i].snapping) {- (inst.options.snap.release && inst.options.snap.release.call(inst.element, event, $.extend(inst._uiHash(), { snapItem: inst.snapElements[i].item })));- }- inst.snapElements[i].snapping = false;- continue;- }-- if (o.snapMode !== "inner") {- ts = Math.abs(t - y2) <= d;- bs = Math.abs(b - y1) <= d;- ls = Math.abs(l - x2) <= d;- rs = Math.abs(r - x1) <= d;- if (ts) {- ui.position.top = inst._convertPositionTo("relative", { top: t - inst.helperProportions.height, left: 0 }).top;- }- if (bs) {- ui.position.top = inst._convertPositionTo("relative", { top: b, left: 0 }).top;- }- if (ls) {- ui.position.left = inst._convertPositionTo("relative", { top: 0, left: l - inst.helperProportions.width }).left;- }- if (rs) {- ui.position.left = inst._convertPositionTo("relative", { top: 0, left: r }).left;- }- }-- first = (ts || bs || ls || rs);-- if (o.snapMode !== "outer") {- ts = Math.abs(t - y1) <= d;- bs = Math.abs(b - y2) <= d;- ls = Math.abs(l - x1) <= d;- rs = Math.abs(r - x2) <= d;- if (ts) {- ui.position.top = inst._convertPositionTo("relative", { top: t, left: 0 }).top;- }- if (bs) {- ui.position.top = inst._convertPositionTo("relative", { top: b - inst.helperProportions.height, left: 0 }).top;- }- if (ls) {- ui.position.left = inst._convertPositionTo("relative", { top: 0, left: l }).left;- }- if (rs) {- ui.position.left = inst._convertPositionTo("relative", { top: 0, left: r - inst.helperProportions.width }).left;- }- }-- if (!inst.snapElements[i].snapping && (ts || bs || ls || rs || first)) {- (inst.options.snap.snap && inst.options.snap.snap.call(inst.element, event, $.extend(inst._uiHash(), { snapItem: inst.snapElements[i].item })));- }- inst.snapElements[i].snapping = (ts || bs || ls || rs || first);-- }-- }-});--$.ui.plugin.add("draggable", "stack", {- start: function( event, ui, instance ) {- var min,- o = instance.options,- group = $.makeArray($(o.stack)).sort(function(a, b) {- return (parseInt($(a).css("zIndex"), 10) || 0) - (parseInt($(b).css("zIndex"), 10) || 0);- });-- if (!group.length) { return; }-- min = parseInt($(group[0]).css("zIndex"), 10) || 0;- $(group).each(function(i) {- $(this).css("zIndex", min + i);- });- this.css("zIndex", (min + group.length));- }-});--$.ui.plugin.add("draggable", "zIndex", {- start: function( event, ui, instance ) {- var t = $( ui.helper ),- o = instance.options;-- if (t.css("zIndex")) {- o._zIndex = t.css("zIndex");- }- t.css("zIndex", o.zIndex);- },- stop: function( event, ui, instance ) {- var o = instance.options;-- if (o._zIndex) {- $(ui.helper).css("zIndex", o._zIndex);- }- }-});--var draggable = $.ui.draggable;---/*!- * jQuery UI Droppable 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/droppable/- */---$.widget( "ui.droppable", {- version: "1.11.4",- widgetEventPrefix: "drop",- options: {- accept: "*",- activeClass: false,- addClasses: true,- greedy: false,- hoverClass: false,- scope: "default",- tolerance: "intersect",-- // callbacks- activate: null,- deactivate: null,- drop: null,- out: null,- over: null- },- _create: function() {-- var proportions,- o = this.options,- accept = o.accept;-- this.isover = false;- this.isout = true;-- this.accept = $.isFunction( accept ) ? accept : function( d ) {- return d.is( accept );- };-- this.proportions = function( /* valueToWrite */ ) {- if ( arguments.length ) {- // Store the droppable's proportions- proportions = arguments[ 0 ];- } else {- // Retrieve or derive the droppable's proportions- return proportions ?- proportions :- proportions = {- width: this.element[ 0 ].offsetWidth,- height: this.element[ 0 ].offsetHeight- };- }- };-- this._addToManager( o.scope );-- o.addClasses && this.element.addClass( "ui-droppable" );-- },-- _addToManager: function( scope ) {- // Add the reference and positions to the manager- $.ui.ddmanager.droppables[ scope ] = $.ui.ddmanager.droppables[ scope ] || [];- $.ui.ddmanager.droppables[ scope ].push( this );- },-- _splice: function( drop ) {- var i = 0;- for ( ; i < drop.length; i++ ) {- if ( drop[ i ] === this ) {- drop.splice( i, 1 );- }- }- },-- _destroy: function() {- var drop = $.ui.ddmanager.droppables[ this.options.scope ];-- this._splice( drop );-- this.element.removeClass( "ui-droppable ui-droppable-disabled" );- },-- _setOption: function( key, value ) {-- if ( key === "accept" ) {- this.accept = $.isFunction( value ) ? value : function( d ) {- return d.is( value );- };- } else if ( key === "scope" ) {- var drop = $.ui.ddmanager.droppables[ this.options.scope ];-- this._splice( drop );- this._addToManager( value );- }-- this._super( key, value );- },-- _activate: function( event ) {- var draggable = $.ui.ddmanager.current;- if ( this.options.activeClass ) {- this.element.addClass( this.options.activeClass );- }- if ( draggable ){- this._trigger( "activate", event, this.ui( draggable ) );- }- },-- _deactivate: function( event ) {- var draggable = $.ui.ddmanager.current;- if ( this.options.activeClass ) {- this.element.removeClass( this.options.activeClass );- }- if ( draggable ){- this._trigger( "deactivate", event, this.ui( draggable ) );- }- },-- _over: function( event ) {-- var draggable = $.ui.ddmanager.current;-- // Bail if draggable and droppable are same element- if ( !draggable || ( draggable.currentItem || draggable.element )[ 0 ] === this.element[ 0 ] ) {- return;- }-- if ( this.accept.call( this.element[ 0 ], ( draggable.currentItem || draggable.element ) ) ) {- if ( this.options.hoverClass ) {- this.element.addClass( this.options.hoverClass );- }- this._trigger( "over", event, this.ui( draggable ) );- }-- },-- _out: function( event ) {-- var draggable = $.ui.ddmanager.current;-- // Bail if draggable and droppable are same element- if ( !draggable || ( draggable.currentItem || draggable.element )[ 0 ] === this.element[ 0 ] ) {- return;- }-- if ( this.accept.call( this.element[ 0 ], ( draggable.currentItem || draggable.element ) ) ) {- if ( this.options.hoverClass ) {- this.element.removeClass( this.options.hoverClass );- }- this._trigger( "out", event, this.ui( draggable ) );- }-- },-- _drop: function( event, custom ) {-- var draggable = custom || $.ui.ddmanager.current,- childrenIntersection = false;-- // Bail if draggable and droppable are same element- if ( !draggable || ( draggable.currentItem || draggable.element )[ 0 ] === this.element[ 0 ] ) {- return false;- }-- this.element.find( ":data(ui-droppable)" ).not( ".ui-draggable-dragging" ).each(function() {- var inst = $( this ).droppable( "instance" );- if (- inst.options.greedy &&- !inst.options.disabled &&- inst.options.scope === draggable.options.scope &&- inst.accept.call( inst.element[ 0 ], ( draggable.currentItem || draggable.element ) ) &&- $.ui.intersect( draggable, $.extend( inst, { offset: inst.element.offset() } ), inst.options.tolerance, event )- ) { childrenIntersection = true; return false; }- });- if ( childrenIntersection ) {- return false;- }-- if ( this.accept.call( this.element[ 0 ], ( draggable.currentItem || draggable.element ) ) ) {- if ( this.options.activeClass ) {- this.element.removeClass( this.options.activeClass );- }- if ( this.options.hoverClass ) {- this.element.removeClass( this.options.hoverClass );- }- this._trigger( "drop", event, this.ui( draggable ) );- return this.element;- }-- return false;-- },-- ui: function( c ) {- return {- draggable: ( c.currentItem || c.element ),- helper: c.helper,- position: c.position,- offset: c.positionAbs- };- }--});--$.ui.intersect = (function() {- function isOverAxis( x, reference, size ) {- return ( x >= reference ) && ( x < ( reference + size ) );- }-- return function( draggable, droppable, toleranceMode, event ) {-- if ( !droppable.offset ) {- return false;- }-- var x1 = ( draggable.positionAbs || draggable.position.absolute ).left + draggable.margins.left,- y1 = ( draggable.positionAbs || draggable.position.absolute ).top + draggable.margins.top,- x2 = x1 + draggable.helperProportions.width,- y2 = y1 + draggable.helperProportions.height,- l = droppable.offset.left,- t = droppable.offset.top,- r = l + droppable.proportions().width,- b = t + droppable.proportions().height;-- switch ( toleranceMode ) {- case "fit":- return ( l <= x1 && x2 <= r && t <= y1 && y2 <= b );- case "intersect":- return ( l < x1 + ( draggable.helperProportions.width / 2 ) && // Right Half- x2 - ( draggable.helperProportions.width / 2 ) < r && // Left Half- t < y1 + ( draggable.helperProportions.height / 2 ) && // Bottom Half- y2 - ( draggable.helperProportions.height / 2 ) < b ); // Top Half- case "pointer":- return isOverAxis( event.pageY, t, droppable.proportions().height ) && isOverAxis( event.pageX, l, droppable.proportions().width );- case "touch":- return (- ( y1 >= t && y1 <= b ) || // Top edge touching- ( y2 >= t && y2 <= b ) || // Bottom edge touching- ( y1 < t && y2 > b ) // Surrounded vertically- ) && (- ( x1 >= l && x1 <= r ) || // Left edge touching- ( x2 >= l && x2 <= r ) || // Right edge touching- ( x1 < l && x2 > r ) // Surrounded horizontally- );- default:- return false;- }- };-})();--/*- This manager tracks offsets of draggables and droppables-*/-$.ui.ddmanager = {- current: null,- droppables: { "default": [] },- prepareOffsets: function( t, event ) {-- var i, j,- m = $.ui.ddmanager.droppables[ t.options.scope ] || [],- type = event ? event.type : null, // workaround for #2317- list = ( t.currentItem || t.element ).find( ":data(ui-droppable)" ).addBack();-- droppablesLoop: for ( i = 0; i < m.length; i++ ) {-- // No disabled and non-accepted- if ( m[ i ].options.disabled || ( t && !m[ i ].accept.call( m[ i ].element[ 0 ], ( t.currentItem || t.element ) ) ) ) {- continue;- }-- // Filter out elements in the current dragged item- for ( j = 0; j < list.length; j++ ) {- if ( list[ j ] === m[ i ].element[ 0 ] ) {- m[ i ].proportions().height = 0;- continue droppablesLoop;- }- }-- m[ i ].visible = m[ i ].element.css( "display" ) !== "none";- if ( !m[ i ].visible ) {- continue;- }-- // Activate the droppable if used directly from draggables- if ( type === "mousedown" ) {- m[ i ]._activate.call( m[ i ], event );- }-- m[ i ].offset = m[ i ].element.offset();- m[ i ].proportions({ width: m[ i ].element[ 0 ].offsetWidth, height: m[ i ].element[ 0 ].offsetHeight });-- }-- },- drop: function( draggable, event ) {-- var dropped = false;- // Create a copy of the droppables in case the list changes during the drop (#9116)- $.each( ( $.ui.ddmanager.droppables[ draggable.options.scope ] || [] ).slice(), function() {-- if ( !this.options ) {- return;- }- if ( !this.options.disabled && this.visible && $.ui.intersect( draggable, this, this.options.tolerance, event ) ) {- dropped = this._drop.call( this, event ) || dropped;- }-- if ( !this.options.disabled && this.visible && this.accept.call( this.element[ 0 ], ( draggable.currentItem || draggable.element ) ) ) {- this.isout = true;- this.isover = false;- this._deactivate.call( this, event );- }-- });- return dropped;-- },- dragStart: function( draggable, event ) {- // Listen for scrolling so that if the dragging causes scrolling the position of the droppables can be recalculated (see #5003)- draggable.element.parentsUntil( "body" ).bind( "scroll.droppable", function() {- if ( !draggable.options.refreshPositions ) {- $.ui.ddmanager.prepareOffsets( draggable, event );- }- });- },- drag: function( draggable, event ) {-- // If you have a highly dynamic page, you might try this option. It renders positions every time you move the mouse.- if ( draggable.options.refreshPositions ) {- $.ui.ddmanager.prepareOffsets( draggable, event );- }-- // Run through all droppables and check their positions based on specific tolerance options- $.each( $.ui.ddmanager.droppables[ draggable.options.scope ] || [], function() {-- if ( this.options.disabled || this.greedyChild || !this.visible ) {- return;- }-- var parentInstance, scope, parent,- intersects = $.ui.intersect( draggable, this, this.options.tolerance, event ),- c = !intersects && this.isover ? "isout" : ( intersects && !this.isover ? "isover" : null );- if ( !c ) {- return;- }-- if ( this.options.greedy ) {- // find droppable parents with same scope- scope = this.options.scope;- parent = this.element.parents( ":data(ui-droppable)" ).filter(function() {- return $( this ).droppable( "instance" ).options.scope === scope;- });-- if ( parent.length ) {- parentInstance = $( parent[ 0 ] ).droppable( "instance" );- parentInstance.greedyChild = ( c === "isover" );- }- }-- // we just moved into a greedy child- if ( parentInstance && c === "isover" ) {- parentInstance.isover = false;- parentInstance.isout = true;- parentInstance._out.call( parentInstance, event );- }-- this[ c ] = true;- this[c === "isout" ? "isover" : "isout"] = false;- this[c === "isover" ? "_over" : "_out"].call( this, event );-- // we just moved out of a greedy child- if ( parentInstance && c === "isout" ) {- parentInstance.isout = false;- parentInstance.isover = true;- parentInstance._over.call( parentInstance, event );- }- });-- },- dragStop: function( draggable, event ) {- draggable.element.parentsUntil( "body" ).unbind( "scroll.droppable" );- // Call prepareOffsets one final time since IE does not fire return scroll events when overflow was caused by drag (see #5003)- if ( !draggable.options.refreshPositions ) {- $.ui.ddmanager.prepareOffsets( draggable, event );- }- }-};--var droppable = $.ui.droppable;---/*!- * jQuery UI Resizable 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/resizable/- */---$.widget("ui.resizable", $.ui.mouse, {- version: "1.11.4",- widgetEventPrefix: "resize",- options: {- alsoResize: false,- animate: false,- animateDuration: "slow",- animateEasing: "swing",- aspectRatio: false,- autoHide: false,- containment: false,- ghost: false,- grid: false,- handles: "e,s,se",- helper: false,- maxHeight: null,- maxWidth: null,- minHeight: 10,- minWidth: 10,- // See #7960- zIndex: 90,-- // callbacks- resize: null,- start: null,- stop: null- },-- _num: function( value ) {- return parseInt( value, 10 ) || 0;- },-- _isNumber: function( value ) {- return !isNaN( parseInt( value, 10 ) );- },-- _hasScroll: function( el, a ) {-- if ( $( el ).css( "overflow" ) === "hidden") {- return false;- }-- var scroll = ( a && a === "left" ) ? "scrollLeft" : "scrollTop",- has = false;-- if ( el[ scroll ] > 0 ) {- return true;- }-- // TODO: determine which cases actually cause this to happen- // if the element doesn't have the scroll set, see if it's possible to- // set the scroll- el[ scroll ] = 1;- has = ( el[ scroll ] > 0 );- el[ scroll ] = 0;- return has;- },-- _create: function() {-- var n, i, handle, axis, hname,- that = this,- o = this.options;- this.element.addClass("ui-resizable");-- $.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- });-- // Wrap the element if it cannot hold child nodes- if (this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)) {-- this.element.wrap(- $("<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.resizable( "instance" )- );-- this.elementIsWrapper = true;-- 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- });- // support: Safari- // Prevent Safari textarea resize- this.originalResizeStyle = this.originalElement.css("resize");- this.originalElement.css("resize", "none");-- this._proportionallyResizeElements.push( this.originalElement.css({- position: "static",- zoom: 1,- display: "block"- }) );-- // support: IE9- // avoid IE jump (hard set the margin)- this.originalElement.css({ margin: this.originalElement.css("margin") });-- this._proportionallyResize();- }-- this.handles = o.handles ||- ( !$(".ui-resizable-handle", this.element).length ?- "e,s,se" : {- 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"- } );-- this._handles = $();- if ( this.handles.constructor === String ) {-- if ( this.handles === "all") {- this.handles = "n,e,s,w,se,sw,ne,nw";- }-- n = this.handles.split(",");- this.handles = {};-- for (i = 0; i < n.length; i++) {-- handle = $.trim(n[i]);- hname = "ui-resizable-" + handle;- axis = $("<div class='ui-resizable-handle " + hname + "'></div>");-- axis.css({ zIndex: o.zIndex });-- // TODO : What's going on here?- if ("se" === handle) {- axis.addClass("ui-icon ui-icon-gripsmall-diagonal-se");- }-- this.handles[handle] = ".ui-resizable-" + handle;- this.element.append(axis);- }-- }-- this._renderAxis = function(target) {-- var i, axis, padPos, padWrapper;-- target = target || this.element;-- for (i in this.handles) {-- if (this.handles[i].constructor === String) {- this.handles[i] = this.element.children( this.handles[ i ] ).first().show();- } else if ( this.handles[ i ].jquery || this.handles[ i ].nodeType ) {- this.handles[ i ] = $( this.handles[ i ] );- this._on( this.handles[ i ], { "mousedown": that._mouseDown });- }-- if (this.elementIsWrapper && this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)) {-- axis = $(this.handles[i], this.element);-- padWrapper = /sw|ne|nw|se|n|s/.test(i) ? axis.outerHeight() : axis.outerWidth();-- padPos = [ "padding",- /ne|nw|n/.test(i) ? "Top" :- /se|sw|s/.test(i) ? "Bottom" :- /^e$/.test(i) ? "Right" : "Left" ].join("");-- target.css(padPos, padWrapper);-- this._proportionallyResize();- }-- this._handles = this._handles.add( this.handles[ i ] );- }- };-- // TODO: make renderAxis a prototype function- this._renderAxis(this.element);-- this._handles = this._handles.add( this.element.find( ".ui-resizable-handle" ) );- this._handles.disableSelection();-- this._handles.mouseover(function() {- if (!that.resizing) {- if (this.className) {- axis = this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);- }- that.axis = axis && axis[1] ? axis[1] : "se";- }- });-- if (o.autoHide) {- this._handles.hide();- $(this.element)- .addClass("ui-resizable-autohide")- .mouseenter(function() {- if (o.disabled) {- return;- }- $(this).removeClass("ui-resizable-autohide");- that._handles.show();- })- .mouseleave(function() {- if (o.disabled) {- return;- }- if (!that.resizing) {- $(this).addClass("ui-resizable-autohide");- that._handles.hide();- }- });- }-- this._mouseInit();- },-- _destroy: function() {-- this._mouseDestroy();-- var wrapper,- _destroy = function(exp) {- $(exp)- .removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing")- .removeData("resizable")- .removeData("ui-resizable")- .unbind(".resizable")- .find(".ui-resizable-handle")- .remove();- };-- // TODO: Unwrap at same DOM position- if (this.elementIsWrapper) {- _destroy(this.element);- wrapper = this.element;- this.originalElement.css({- position: wrapper.css("position"),- width: wrapper.outerWidth(),- height: wrapper.outerHeight(),- top: wrapper.css("top"),- left: wrapper.css("left")- }).insertAfter( wrapper );- wrapper.remove();- }-- this.originalElement.css("resize", this.originalResizeStyle);- _destroy(this.originalElement);-- return this;- },-- _mouseCapture: function(event) {- var i, handle,- capture = false;-- for (i in this.handles) {- handle = $(this.handles[i])[0];- if (handle === event.target || $.contains(handle, event.target)) {- capture = true;- }- }-- return !this.options.disabled && capture;- },-- _mouseStart: function(event) {-- var curleft, curtop, cursor,- o = this.options,- el = this.element;-- this.resizing = true;-- this._renderProxy();-- curleft = this._num(this.helper.css("left"));- curtop = this._num(this.helper.css("top"));-- if (o.containment) {- curleft += $(o.containment).scrollLeft() || 0;- curtop += $(o.containment).scrollTop() || 0;- }-- this.offset = this.helper.offset();- this.position = { left: curleft, top: curtop };-- this.size = this._helper ? {- width: this.helper.width(),- height: this.helper.height()- } : {- width: el.width(),- height: el.height()- };-- this.originalSize = this._helper ? {- width: el.outerWidth(),- height: el.outerHeight()- } : {- width: el.width(),- height: el.height()- };-- this.sizeDiff = {- width: el.outerWidth() - el.width(),- height: el.outerHeight() - el.height()- };-- this.originalPosition = { left: curleft, top: curtop };- this.originalMousePosition = { left: event.pageX, top: event.pageY };-- this.aspectRatio = (typeof o.aspectRatio === "number") ?- o.aspectRatio :- ((this.originalSize.width / this.originalSize.height) || 1);-- cursor = $(".ui-resizable-" + this.axis).css("cursor");- $("body").css("cursor", cursor === "auto" ? this.axis + "-resize" : cursor);-- el.addClass("ui-resizable-resizing");- this._propagate("start", event);- return true;- },-- _mouseDrag: function(event) {-- var data, props,- smp = this.originalMousePosition,- a = this.axis,- dx = (event.pageX - smp.left) || 0,- dy = (event.pageY - smp.top) || 0,- trigger = this._change[a];-- this._updatePrevProperties();-- if (!trigger) {- return false;- }-- data = trigger.apply(this, [ event, dx, dy ]);-- this._updateVirtualBoundaries(event.shiftKey);- if (this._aspectRatio || event.shiftKey) {- data = this._updateRatio(data, event);- }-- data = this._respectSize(data, event);-- this._updateCache(data);-- this._propagate("resize", event);-- props = this._applyChanges();-- if ( !this._helper && this._proportionallyResizeElements.length ) {- this._proportionallyResize();- }-- if ( !$.isEmptyObject( props ) ) {- this._updatePrevProperties();- this._trigger( "resize", event, this.ui() );- this._applyChanges();- }-- return false;- },-- _mouseStop: function(event) {-- this.resizing = false;- var pr, ista, soffseth, soffsetw, s, left, top,- o = this.options, that = this;-- if (this._helper) {-- pr = this._proportionallyResizeElements;- ista = pr.length && (/textarea/i).test(pr[0].nodeName);- soffseth = ista && this._hasScroll(pr[0], "left") ? 0 : that.sizeDiff.height;- soffsetw = ista ? 0 : that.sizeDiff.width;-- s = {- width: (that.helper.width() - soffsetw),- height: (that.helper.height() - soffseth)- };- left = (parseInt(that.element.css("left"), 10) +- (that.position.left - that.originalPosition.left)) || null;- top = (parseInt(that.element.css("top"), 10) +- (that.position.top - that.originalPosition.top)) || null;-- if (!o.animate) {- this.element.css($.extend(s, { top: top, left: left }));- }-- that.helper.height(that.size.height);- that.helper.width(that.size.width);-- if (this._helper && !o.animate) {- this._proportionallyResize();- }- }-- $("body").css("cursor", "auto");-- this.element.removeClass("ui-resizable-resizing");-- this._propagate("stop", event);-- if (this._helper) {- this.helper.remove();- }-- return false;-- },-- _updatePrevProperties: function() {- this.prevPosition = {- top: this.position.top,- left: this.position.left- };- this.prevSize = {- width: this.size.width,- height: this.size.height- };- },-- _applyChanges: function() {- var props = {};-- if ( this.position.top !== this.prevPosition.top ) {- props.top = this.position.top + "px";- }- if ( this.position.left !== this.prevPosition.left ) {- props.left = this.position.left + "px";- }- if ( this.size.width !== this.prevSize.width ) {- props.width = this.size.width + "px";- }- if ( this.size.height !== this.prevSize.height ) {- props.height = this.size.height + "px";- }-- this.helper.css( props );-- return props;- },-- _updateVirtualBoundaries: function(forceAspectRatio) {- var pMinWidth, pMaxWidth, pMinHeight, pMaxHeight, b,- o = this.options;-- b = {- minWidth: this._isNumber(o.minWidth) ? o.minWidth : 0,- maxWidth: this._isNumber(o.maxWidth) ? o.maxWidth : Infinity,- minHeight: this._isNumber(o.minHeight) ? o.minHeight : 0,- maxHeight: this._isNumber(o.maxHeight) ? o.maxHeight : Infinity- };-- if (this._aspectRatio || forceAspectRatio) {- pMinWidth = b.minHeight * this.aspectRatio;- pMinHeight = b.minWidth / this.aspectRatio;- pMaxWidth = b.maxHeight * this.aspectRatio;- pMaxHeight = b.maxWidth / this.aspectRatio;-- if (pMinWidth > b.minWidth) {- b.minWidth = pMinWidth;- }- if (pMinHeight > b.minHeight) {- b.minHeight = pMinHeight;- }- if (pMaxWidth < b.maxWidth) {- b.maxWidth = pMaxWidth;- }- if (pMaxHeight < b.maxHeight) {- b.maxHeight = pMaxHeight;- }- }- this._vBoundaries = b;- },-- _updateCache: function(data) {- this.offset = this.helper.offset();- if (this._isNumber(data.left)) {- this.position.left = data.left;- }- if (this._isNumber(data.top)) {- this.position.top = data.top;- }- if (this._isNumber(data.height)) {- this.size.height = data.height;- }- if (this._isNumber(data.width)) {- this.size.width = data.width;- }- },-- _updateRatio: function( data ) {-- var cpos = this.position,- csize = this.size,- a = this.axis;-- if (this._isNumber(data.height)) {- data.width = (data.height * this.aspectRatio);- } else if (this._isNumber(data.width)) {- data.height = (data.width / this.aspectRatio);- }-- if (a === "sw") {- data.left = cpos.left + (csize.width - data.width);- data.top = null;- }- if (a === "nw") {- data.top = cpos.top + (csize.height - data.height);- data.left = cpos.left + (csize.width - data.width);- }-- return data;- },-- _respectSize: function( data ) {-- var o = this._vBoundaries,- a = this.axis,- ismaxw = this._isNumber(data.width) && o.maxWidth && (o.maxWidth < data.width),- ismaxh = this._isNumber(data.height) && o.maxHeight && (o.maxHeight < data.height),- isminw = this._isNumber(data.width) && o.minWidth && (o.minWidth > data.width),- isminh = this._isNumber(data.height) && o.minHeight && (o.minHeight > data.height),- dw = this.originalPosition.left + this.originalSize.width,- dh = this.position.top + this.size.height,- cw = /sw|nw|w/.test(a), ch = /nw|ne|n/.test(a);- if (isminw) {- data.width = o.minWidth;- }- if (isminh) {- data.height = o.minHeight;- }- if (ismaxw) {- data.width = o.maxWidth;- }- if (ismaxh) {- data.height = o.maxHeight;- }-- if (isminw && cw) {- data.left = dw - o.minWidth;- }- if (ismaxw && cw) {- data.left = dw - o.maxWidth;- }- if (isminh && ch) {- data.top = dh - o.minHeight;- }- if (ismaxh && ch) {- data.top = dh - o.maxHeight;- }-- // Fixing jump error on top/left - bug #2330- if (!data.width && !data.height && !data.left && data.top) {- data.top = null;- } else if (!data.width && !data.height && !data.top && data.left) {- data.left = null;- }-- return data;- },-- _getPaddingPlusBorderDimensions: function( element ) {- var i = 0,- widths = [],- borders = [- element.css( "borderTopWidth" ),- element.css( "borderRightWidth" ),- element.css( "borderBottomWidth" ),- element.css( "borderLeftWidth" )- ],- paddings = [- element.css( "paddingTop" ),- element.css( "paddingRight" ),- element.css( "paddingBottom" ),- element.css( "paddingLeft" )- ];-- for ( ; i < 4; i++ ) {- widths[ i ] = ( parseInt( borders[ i ], 10 ) || 0 );- widths[ i ] += ( parseInt( paddings[ i ], 10 ) || 0 );- }-- return {- height: widths[ 0 ] + widths[ 2 ],- width: widths[ 1 ] + widths[ 3 ]- };- },-- _proportionallyResize: function() {-- if (!this._proportionallyResizeElements.length) {- return;- }-- var prel,- i = 0,- element = this.helper || this.element;-- for ( ; i < this._proportionallyResizeElements.length; i++) {-- prel = this._proportionallyResizeElements[i];-- // TODO: Seems like a bug to cache this.outerDimensions- // considering that we are in a loop.- if (!this.outerDimensions) {- this.outerDimensions = this._getPaddingPlusBorderDimensions( prel );- }-- prel.css({- height: (element.height() - this.outerDimensions.height) || 0,- width: (element.width() - this.outerDimensions.width) || 0- });-- }-- },-- _renderProxy: function() {-- var el = this.element, o = this.options;- this.elementOffset = el.offset();-- if (this._helper) {-- this.helper = this.helper || $("<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: ++o.zIndex //TODO: Don't modify option- });-- this.helper- .appendTo("body")- .disableSelection();-- } else {- this.helper = this.element;- }-- },-- _change: {- e: function(event, dx) {- return { width: this.originalSize.width + dx };- },- w: function(event, dx) {- var cs = this.originalSize, sp = this.originalPosition;- return { left: sp.left + dx, width: cs.width - dx };- },- n: function(event, dx, dy) {- var cs = this.originalSize, sp = this.originalPosition;- return { top: sp.top + dy, height: cs.height - dy };- },- s: function(event, dx, dy) {- return { height: this.originalSize.height + dy };- },- se: function(event, dx, dy) {- return $.extend(this._change.s.apply(this, arguments),- this._change.e.apply(this, [ event, dx, dy ]));- },- sw: function(event, dx, dy) {- return $.extend(this._change.s.apply(this, arguments),- this._change.w.apply(this, [ event, dx, dy ]));- },- ne: function(event, dx, dy) {- return $.extend(this._change.n.apply(this, arguments),- this._change.e.apply(this, [ event, dx, dy ]));- },- nw: function(event, dx, dy) {- return $.extend(this._change.n.apply(this, arguments),- this._change.w.apply(this, [ event, dx, dy ]));- }- },-- _propagate: function(n, event) {- $.ui.plugin.call(this, n, [ event, this.ui() ]);- (n !== "resize" && this._trigger(n, event, 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- };- }--});--/*- * Resizable Extensions- */--$.ui.plugin.add("resizable", "animate", {-- stop: function( event ) {- var that = $(this).resizable( "instance" ),- o = that.options,- pr = that._proportionallyResizeElements,- ista = pr.length && (/textarea/i).test(pr[0].nodeName),- soffseth = ista && that._hasScroll(pr[0], "left") ? 0 : that.sizeDiff.height,- soffsetw = ista ? 0 : that.sizeDiff.width,- style = { width: (that.size.width - soffsetw), height: (that.size.height - soffseth) },- left = (parseInt(that.element.css("left"), 10) +- (that.position.left - that.originalPosition.left)) || null,- top = (parseInt(that.element.css("top"), 10) +- (that.position.top - that.originalPosition.top)) || null;-- that.element.animate(- $.extend(style, top && left ? { top: top, left: left } : {}), {- duration: o.animateDuration,- easing: o.animateEasing,- step: function() {-- var data = {- width: parseInt(that.element.css("width"), 10),- height: parseInt(that.element.css("height"), 10),- top: parseInt(that.element.css("top"), 10),- left: parseInt(that.element.css("left"), 10)- };-- if (pr && pr.length) {- $(pr[0]).css({ width: data.width, height: data.height });- }-- // propagating resize, and updating values for each animation step- that._updateCache(data);- that._propagate("resize", event);-- }- }- );- }--});--$.ui.plugin.add( "resizable", "containment", {-- start: function() {- var element, p, co, ch, cw, width, height,- that = $( this ).resizable( "instance" ),- o = that.options,- el = that.element,- oc = o.containment,- ce = ( oc instanceof $ ) ? oc.get( 0 ) : ( /parent/.test( oc ) ) ? el.parent().get( 0 ) : oc;-- if ( !ce ) {- return;- }-- that.containerElement = $( ce );-- if ( /document/.test( oc ) || oc === document ) {- that.containerOffset = {- left: 0,- top: 0- };- that.containerPosition = {- left: 0,- top: 0- };-- that.parentData = {- element: $( document ),- left: 0,- top: 0,- width: $( document ).width(),- height: $( document ).height() || document.body.parentNode.scrollHeight- };- } else {- element = $( ce );- p = [];- $([ "Top", "Right", "Left", "Bottom" ]).each(function( i, name ) {- p[ i ] = that._num( element.css( "padding" + name ) );- });-- that.containerOffset = element.offset();- that.containerPosition = element.position();- that.containerSize = {- height: ( element.innerHeight() - p[ 3 ] ),- width: ( element.innerWidth() - p[ 1 ] )- };-- co = that.containerOffset;- ch = that.containerSize.height;- cw = that.containerSize.width;- width = ( that._hasScroll ( ce, "left" ) ? ce.scrollWidth : cw );- height = ( that._hasScroll ( ce ) ? ce.scrollHeight : ch ) ;-- that.parentData = {- element: ce,- left: co.left,- top: co.top,- width: width,- height: height- };- }- },-- resize: function( event ) {- var woset, hoset, isParent, isOffsetRelative,- that = $( this ).resizable( "instance" ),- o = that.options,- co = that.containerOffset,- cp = that.position,- pRatio = that._aspectRatio || event.shiftKey,- cop = {- top: 0,- left: 0- },- ce = that.containerElement,- continueResize = true;-- if ( ce[ 0 ] !== document && ( /static/ ).test( ce.css( "position" ) ) ) {- cop = co;- }-- if ( cp.left < ( that._helper ? co.left : 0 ) ) {- that.size.width = that.size.width +- ( that._helper ?- ( that.position.left - co.left ) :- ( that.position.left - cop.left ) );-- if ( pRatio ) {- that.size.height = that.size.width / that.aspectRatio;- continueResize = false;- }- that.position.left = o.helper ? co.left : 0;- }-- if ( cp.top < ( that._helper ? co.top : 0 ) ) {- that.size.height = that.size.height +- ( that._helper ?- ( that.position.top - co.top ) :- that.position.top );-- if ( pRatio ) {- that.size.width = that.size.height * that.aspectRatio;- continueResize = false;- }- that.position.top = that._helper ? co.top : 0;- }-- isParent = that.containerElement.get( 0 ) === that.element.parent().get( 0 );- isOffsetRelative = /relative|absolute/.test( that.containerElement.css( "position" ) );-- if ( isParent && isOffsetRelative ) {- that.offset.left = that.parentData.left + that.position.left;- that.offset.top = that.parentData.top + that.position.top;- } else {- that.offset.left = that.element.offset().left;- that.offset.top = that.element.offset().top;- }-- woset = Math.abs( that.sizeDiff.width +- (that._helper ?- that.offset.left - cop.left :- (that.offset.left - co.left)) );-- hoset = Math.abs( that.sizeDiff.height +- (that._helper ?- that.offset.top - cop.top :- (that.offset.top - co.top)) );-- if ( woset + that.size.width >= that.parentData.width ) {- that.size.width = that.parentData.width - woset;- if ( pRatio ) {- that.size.height = that.size.width / that.aspectRatio;- continueResize = false;- }- }-- if ( hoset + that.size.height >= that.parentData.height ) {- that.size.height = that.parentData.height - hoset;- if ( pRatio ) {- that.size.width = that.size.height * that.aspectRatio;- continueResize = false;- }- }-- if ( !continueResize ) {- that.position.left = that.prevPosition.left;- that.position.top = that.prevPosition.top;- that.size.width = that.prevSize.width;- that.size.height = that.prevSize.height;- }- },-- stop: function() {- var that = $( this ).resizable( "instance" ),- o = that.options,- co = that.containerOffset,- cop = that.containerPosition,- ce = that.containerElement,- helper = $( that.helper ),- ho = helper.offset(),- w = helper.outerWidth() - that.sizeDiff.width,- h = helper.outerHeight() - that.sizeDiff.height;-- if ( that._helper && !o.animate && ( /relative/ ).test( ce.css( "position" ) ) ) {- $( this ).css({- left: ho.left - cop.left - co.left,- width: w,- height: h- });- }-- if ( that._helper && !o.animate && ( /static/ ).test( ce.css( "position" ) ) ) {- $( this ).css({- left: ho.left - cop.left - co.left,- width: w,- height: h- });- }- }-});--$.ui.plugin.add("resizable", "alsoResize", {-- start: function() {- var that = $(this).resizable( "instance" ),- o = that.options;-- $(o.alsoResize).each(function() {- var el = $(this);- el.data("ui-resizable-alsoresize", {- width: parseInt(el.width(), 10), height: parseInt(el.height(), 10),- left: parseInt(el.css("left"), 10), top: parseInt(el.css("top"), 10)- });- });- },-- resize: function(event, ui) {- var that = $(this).resizable( "instance" ),- o = that.options,- os = that.originalSize,- op = that.originalPosition,- delta = {- height: (that.size.height - os.height) || 0,- width: (that.size.width - os.width) || 0,- top: (that.position.top - op.top) || 0,- left: (that.position.left - op.left) || 0- };-- $(o.alsoResize).each(function() {- var el = $(this), start = $(this).data("ui-resizable-alsoresize"), style = {},- css = el.parents(ui.originalElement[0]).length ?- [ "width", "height" ] :- [ "width", "height", "top", "left" ];-- $.each(css, function(i, prop) {- var sum = (start[prop] || 0) + (delta[prop] || 0);- if (sum && sum >= 0) {- style[prop] = sum || null;- }- });-- el.css(style);- });- },-- stop: function() {- $(this).removeData("resizable-alsoresize");- }-});--$.ui.plugin.add("resizable", "ghost", {-- start: function() {-- var that = $(this).resizable( "instance" ), o = that.options, cs = that.size;-- that.ghost = that.originalElement.clone();- that.ghost- .css({- opacity: 0.25,- display: "block",- position: "relative",- height: cs.height,- width: cs.width,- margin: 0,- left: 0,- top: 0- })- .addClass("ui-resizable-ghost")- .addClass(typeof o.ghost === "string" ? o.ghost : "");-- that.ghost.appendTo(that.helper);-- },-- resize: function() {- var that = $(this).resizable( "instance" );- if (that.ghost) {- that.ghost.css({- position: "relative",- height: that.size.height,- width: that.size.width- });- }- },-- stop: function() {- var that = $(this).resizable( "instance" );- if (that.ghost && that.helper) {- that.helper.get(0).removeChild(that.ghost.get(0));- }- }--});--$.ui.plugin.add("resizable", "grid", {-- resize: function() {- var outerDimensions,- that = $(this).resizable( "instance" ),- o = that.options,- cs = that.size,- os = that.originalSize,- op = that.originalPosition,- a = that.axis,- grid = typeof o.grid === "number" ? [ o.grid, o.grid ] : o.grid,- gridX = (grid[0] || 1),- gridY = (grid[1] || 1),- ox = Math.round((cs.width - os.width) / gridX) * gridX,- oy = Math.round((cs.height - os.height) / gridY) * gridY,- newWidth = os.width + ox,- newHeight = os.height + oy,- isMaxWidth = o.maxWidth && (o.maxWidth < newWidth),- isMaxHeight = o.maxHeight && (o.maxHeight < newHeight),- isMinWidth = o.minWidth && (o.minWidth > newWidth),- isMinHeight = o.minHeight && (o.minHeight > newHeight);-- o.grid = grid;-- if (isMinWidth) {- newWidth += gridX;- }- if (isMinHeight) {- newHeight += gridY;- }- if (isMaxWidth) {- newWidth -= gridX;- }- if (isMaxHeight) {- newHeight -= gridY;- }-- if (/^(se|s|e)$/.test(a)) {- that.size.width = newWidth;- that.size.height = newHeight;- } else if (/^(ne)$/.test(a)) {- that.size.width = newWidth;- that.size.height = newHeight;- that.position.top = op.top - oy;- } else if (/^(sw)$/.test(a)) {- that.size.width = newWidth;- that.size.height = newHeight;- that.position.left = op.left - ox;- } else {- if ( newHeight - gridY <= 0 || newWidth - gridX <= 0) {- outerDimensions = that._getPaddingPlusBorderDimensions( this );- }-- if ( newHeight - gridY > 0 ) {- that.size.height = newHeight;- that.position.top = op.top - oy;- } else {- newHeight = gridY - outerDimensions.height;- that.size.height = newHeight;- that.position.top = op.top + os.height - newHeight;- }- if ( newWidth - gridX > 0 ) {- that.size.width = newWidth;- that.position.left = op.left - ox;- } else {- newWidth = gridX - outerDimensions.width;- that.size.width = newWidth;- that.position.left = op.left + os.width - newWidth;- }- }- }--});--var resizable = $.ui.resizable;---/*!- * jQuery UI Selectable 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/selectable/- */---var selectable = $.widget("ui.selectable", $.ui.mouse, {- version: "1.11.4",- options: {- appendTo: "body",- autoRefresh: true,- distance: 0,- filter: "*",- tolerance: "touch",-- // callbacks- selected: null,- selecting: null,- start: null,- stop: null,- unselected: null,- unselecting: null- },- _create: function() {- var selectees,- that = this;-- this.element.addClass("ui-selectable");-- this.dragged = false;-- // cache selectee children based on filter- this.refresh = function() {- selectees = $(that.options.filter, that.element[0]);- selectees.addClass("ui-selectee");- selectees.each(function() {- var $this = $(this),- pos = $this.offset();- $.data(this, "selectable-item", {- element: this,- $element: $this,- left: pos.left,- top: pos.top,- right: pos.left + $this.outerWidth(),- bottom: pos.top + $this.outerHeight(),- startselected: false,- selected: $this.hasClass("ui-selected"),- selecting: $this.hasClass("ui-selecting"),- unselecting: $this.hasClass("ui-unselecting")- });- });- };- this.refresh();-- this.selectees = selectees.addClass("ui-selectee");-- this._mouseInit();-- this.helper = $("<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(event) {- var that = this,- options = this.options;-- this.opos = [ event.pageX, event.pageY ];-- if (this.options.disabled) {- return;- }-- this.selectees = $(options.filter, this.element[0]);-- this._trigger("start", event);-- $(options.appendTo).append(this.helper);- // position helper (lasso)- this.helper.css({- "left": event.pageX,- "top": event.pageY,- "width": 0,- "height": 0- });-- if (options.autoRefresh) {- this.refresh();- }-- this.selectees.filter(".ui-selected").each(function() {- var selectee = $.data(this, "selectable-item");- selectee.startselected = true;- if (!event.metaKey && !event.ctrlKey) {- selectee.$element.removeClass("ui-selected");- selectee.selected = false;- selectee.$element.addClass("ui-unselecting");- selectee.unselecting = true;- // selectable UNSELECTING callback- that._trigger("unselecting", event, {- unselecting: selectee.element- });- }- });-- $(event.target).parents().addBack().each(function() {- var doSelect,- selectee = $.data(this, "selectable-item");- if (selectee) {- doSelect = (!event.metaKey && !event.ctrlKey) || !selectee.$element.hasClass("ui-selected");- selectee.$element- .removeClass(doSelect ? "ui-unselecting" : "ui-selected")- .addClass(doSelect ? "ui-selecting" : "ui-unselecting");- selectee.unselecting = !doSelect;- selectee.selecting = doSelect;- selectee.selected = doSelect;- // selectable (UN)SELECTING callback- if (doSelect) {- that._trigger("selecting", event, {- selecting: selectee.element- });- } else {- that._trigger("unselecting", event, {- unselecting: selectee.element- });- }- return false;- }- });-- },-- _mouseDrag: function(event) {-- this.dragged = true;-- if (this.options.disabled) {- return;- }-- var tmp,- that = this,- options = this.options,- x1 = this.opos[0],- y1 = this.opos[1],- x2 = event.pageX,- y2 = event.pageY;-- if (x1 > x2) { tmp = x2; x2 = x1; x1 = tmp; }- if (y1 > y2) { tmp = y2; y2 = y1; y1 = tmp; }- this.helper.css({ left: x1, top: y1, width: x2 - x1, height: y2 - y1 });-- this.selectees.each(function() {- var selectee = $.data(this, "selectable-item"),- hit = false;-- //prevent helper from being selected if appendTo: selectable- if (!selectee || selectee.element === that.element[0]) {- return;- }-- if (options.tolerance === "touch") {- hit = ( !(selectee.left > x2 || selectee.right < x1 || selectee.top > y2 || selectee.bottom < y1) );- } else if (options.tolerance === "fit") {- hit = (selectee.left > x1 && selectee.right < x2 && selectee.top > y1 && selectee.bottom < y2);- }-- if (hit) {- // SELECT- if (selectee.selected) {- selectee.$element.removeClass("ui-selected");- selectee.selected = false;- }- if (selectee.unselecting) {- selectee.$element.removeClass("ui-unselecting");- selectee.unselecting = false;- }- if (!selectee.selecting) {- selectee.$element.addClass("ui-selecting");- selectee.selecting = true;- // selectable SELECTING callback- that._trigger("selecting", event, {- selecting: selectee.element- });- }- } else {- // UNSELECT- if (selectee.selecting) {- if ((event.metaKey || event.ctrlKey) && selectee.startselected) {- selectee.$element.removeClass("ui-selecting");- selectee.selecting = false;- selectee.$element.addClass("ui-selected");- selectee.selected = true;- } else {- selectee.$element.removeClass("ui-selecting");- selectee.selecting = false;- if (selectee.startselected) {- selectee.$element.addClass("ui-unselecting");- selectee.unselecting = true;- }- // selectable UNSELECTING callback- that._trigger("unselecting", event, {- unselecting: selectee.element- });- }- }- if (selectee.selected) {- if (!event.metaKey && !event.ctrlKey && !selectee.startselected) {- selectee.$element.removeClass("ui-selected");- selectee.selected = false;-- selectee.$element.addClass("ui-unselecting");- selectee.unselecting = true;- // selectable UNSELECTING callback- that._trigger("unselecting", event, {- unselecting: selectee.element- });- }- }- }- });-- return false;- },-- _mouseStop: function(event) {- var that = this;-- this.dragged = false;-- $(".ui-unselecting", this.element[0]).each(function() {- var selectee = $.data(this, "selectable-item");- selectee.$element.removeClass("ui-unselecting");- selectee.unselecting = false;- selectee.startselected = false;- that._trigger("unselected", event, {- unselected: selectee.element- });- });- $(".ui-selecting", this.element[0]).each(function() {- var selectee = $.data(this, "selectable-item");- selectee.$element.removeClass("ui-selecting").addClass("ui-selected");- selectee.selecting = false;- selectee.selected = true;- selectee.startselected = true;- that._trigger("selected", event, {- selected: selectee.element- });- });- this._trigger("stop", event);-- this.helper.remove();-- return false;- }--});---/*!- * jQuery UI Sortable 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/sortable/- */---var sortable = $.widget("ui.sortable", $.ui.mouse, {- version: "1.11.4",- widgetEventPrefix: "sort",- ready: false,- options: {- appendTo: "parent",- axis: false,- connectWith: false,- containment: false,- cursor: "auto",- cursorAt: false,- dropOnEmpty: true,- forcePlaceholderSize: false,- forceHelperSize: false,- grid: false,- handle: false,- helper: "original",- items: "> *",- opacity: false,- placeholder: false,- revert: false,- scroll: true,- scrollSensitivity: 20,- scrollSpeed: 20,- scope: "default",- tolerance: "intersect",- zIndex: 1000,-- // callbacks- activate: null,- beforeStop: null,- change: null,- deactivate: null,- out: null,- over: null,- receive: null,- remove: null,- sort: null,- start: null,- stop: null,- update: null- },-- _isOverAxis: function( x, reference, size ) {- return ( x >= reference ) && ( x < ( reference + size ) );- },-- _isFloating: function( item ) {- return (/left|right/).test(item.css("float")) || (/inline|table-cell/).test(item.css("display"));- },-- _create: function() {- this.containerCache = {};- this.element.addClass("ui-sortable");-- //Get the items- this.refresh();-- //Let's determine the parent's offset- this.offset = this.element.offset();-- //Initialize mouse events for interaction- this._mouseInit();-- this._setHandleClassName();-- //We're ready to go- this.ready = true;-- },-- _setOption: function( key, value ) {- this._super( key, value );-- if ( key === "handle" ) {- this._setHandleClassName();- }- },-- _setHandleClassName: function() {- this.element.find( ".ui-sortable-handle" ).removeClass( "ui-sortable-handle" );- $.each( this.items, function() {- ( this.instance.options.handle ?- this.item.find( this.instance.options.handle ) : this.item )- .addClass( "ui-sortable-handle" );- });- },-- _destroy: function() {- this.element- .removeClass( "ui-sortable ui-sortable-disabled" )- .find( ".ui-sortable-handle" )- .removeClass( "ui-sortable-handle" );- this._mouseDestroy();-- for ( var i = this.items.length - 1; i >= 0; i-- ) {- this.items[i].item.removeData(this.widgetName + "-item");- }-- return this;- },-- _mouseCapture: function(event, overrideHandle) {- var currentItem = null,- validHandle = false,- that = this;-- if (this.reverting) {- return false;- }-- if(this.options.disabled || this.options.type === "static") {- return false;- }-- //We have to refresh the items data once first- this._refreshItems(event);-- //Find out if the clicked node (or one of its parents) is a actual item in this.items- $(event.target).parents().each(function() {- if($.data(this, that.widgetName + "-item") === that) {- currentItem = $(this);- return false;- }- });- if($.data(event.target, that.widgetName + "-item") === that) {- currentItem = $(event.target);- }-- if(!currentItem) {- return false;- }- if(this.options.handle && !overrideHandle) {- $(this.options.handle, currentItem).find("*").addBack().each(function() {- if(this === event.target) {- validHandle = true;- }- });- if(!validHandle) {- return false;- }- }-- this.currentItem = currentItem;- this._removeCurrentsFromItems();- return true;-- },-- _mouseStart: function(event, overrideHandle, noActivation) {-- var i, body,- o = this.options;-- this.currentContainer = this;-- //We only need to call refreshPositions, because the refreshItems call has been moved to mouseCapture- this.refreshPositions();-- //Create and append the visible helper- this.helper = this._createHelper(event);-- //Cache the helper size- this._cacheHelperProportions();-- /*- * - Position generation -- * This block generates everything position related - it's the core of draggables.- */-- //Cache the margins of the original element- this._cacheMargins();-- //Get the next scrolling parent- this.scrollParent = this.helper.scrollParent();-- //The element's absolute position on the page minus margins- this.offset = this.currentItem.offset();- this.offset = {- top: this.offset.top - this.margins.top,- left: this.offset.left - this.margins.left- };-- $.extend(this.offset, {- click: { //Where the click happened, relative to the element- left: event.pageX - this.offset.left,- top: event.pageY - this.offset.top- },- parent: this._getParentOffset(),- relative: this._getRelativeOffset() //This is a relative to absolute position minus the actual position calculation - only used for relative positioned helper- });-- // Only after we got the offset, we can change the helper's position to absolute- // TODO: Still need to figure out a way to make relative sorting possible- this.helper.css("position", "absolute");- this.cssPosition = this.helper.css("position");-- //Generate the original position- this.originalPosition = this._generatePosition(event);- this.originalPageX = event.pageX;- this.originalPageY = event.pageY;-- //Adjust the mouse offset relative to the helper if "cursorAt" is supplied- (o.cursorAt && this._adjustOffsetFromHelper(o.cursorAt));-- //Cache the former DOM position- this.domPosition = { prev: this.currentItem.prev()[0], parent: this.currentItem.parent()[0] };-- //If the helper is not the original, hide the original so it's not playing any role during the drag, won't cause anything bad this way- if(this.helper[0] !== this.currentItem[0]) {- this.currentItem.hide();- }-- //Create the placeholder- this._createPlaceholder();-- //Set a containment if given in the options- if(o.containment) {- this._setContainment();- }-- if( o.cursor && o.cursor !== "auto" ) { // cursor option- body = this.document.find( "body" );-- // support: IE- this.storedCursor = body.css( "cursor" );- body.css( "cursor", o.cursor );-- this.storedStylesheet = $( "<style>*{ cursor: "+o.cursor+" !important; }</style>" ).appendTo( body );- }-- if(o.opacity) { // opacity option- if (this.helper.css("opacity")) {- this._storedOpacity = this.helper.css("opacity");- }- this.helper.css("opacity", o.opacity);- }-- if(o.zIndex) { // zIndex option- if (this.helper.css("zIndex")) {- this._storedZIndex = this.helper.css("zIndex");- }- this.helper.css("zIndex", o.zIndex);- }-- //Prepare scrolling- if(this.scrollParent[0] !== this.document[0] && this.scrollParent[0].tagName !== "HTML") {- this.overflowOffset = this.scrollParent.offset();- }-- //Call callbacks- this._trigger("start", event, this._uiHash());-- //Recache the helper size- if(!this._preserveHelperProportions) {- this._cacheHelperProportions();- }--- //Post "activate" events to possible containers- if( !noActivation ) {- for ( i = this.containers.length - 1; i >= 0; i-- ) {- this.containers[ i ]._trigger( "activate", event, this._uiHash( this ) );- }- }-- //Prepare possible droppables- if($.ui.ddmanager) {- $.ui.ddmanager.current = this;- }-- if ($.ui.ddmanager && !o.dropBehaviour) {- $.ui.ddmanager.prepareOffsets(this, event);- }-- this.dragging = true;-- this.helper.addClass("ui-sortable-helper");- this._mouseDrag(event); //Execute the drag once - this causes the helper not to be visible before getting its correct position- return true;-- },-- _mouseDrag: function(event) {- var i, item, itemElement, intersection,- o = this.options,- scrolled = false;-- //Compute the helpers position- this.position = this._generatePosition(event);- this.positionAbs = this._convertPositionTo("absolute");-- if (!this.lastPositionAbs) {- this.lastPositionAbs = this.positionAbs;- }-- //Do scrolling- if(this.options.scroll) {- if(this.scrollParent[0] !== this.document[0] && this.scrollParent[0].tagName !== "HTML") {-- if((this.overflowOffset.top + this.scrollParent[0].offsetHeight) - event.pageY < o.scrollSensitivity) {- this.scrollParent[0].scrollTop = scrolled = this.scrollParent[0].scrollTop + o.scrollSpeed;- } else if(event.pageY - this.overflowOffset.top < o.scrollSensitivity) {- this.scrollParent[0].scrollTop = scrolled = this.scrollParent[0].scrollTop - o.scrollSpeed;- }-- if((this.overflowOffset.left + this.scrollParent[0].offsetWidth) - event.pageX < o.scrollSensitivity) {- this.scrollParent[0].scrollLeft = scrolled = this.scrollParent[0].scrollLeft + o.scrollSpeed;- } else if(event.pageX - this.overflowOffset.left < o.scrollSensitivity) {- this.scrollParent[0].scrollLeft = scrolled = this.scrollParent[0].scrollLeft - o.scrollSpeed;- }-- } else {-- if(event.pageY - this.document.scrollTop() < o.scrollSensitivity) {- scrolled = this.document.scrollTop(this.document.scrollTop() - o.scrollSpeed);- } else if(this.window.height() - (event.pageY - this.document.scrollTop()) < o.scrollSensitivity) {- scrolled = this.document.scrollTop(this.document.scrollTop() + o.scrollSpeed);- }-- if(event.pageX - this.document.scrollLeft() < o.scrollSensitivity) {- scrolled = this.document.scrollLeft(this.document.scrollLeft() - o.scrollSpeed);- } else if(this.window.width() - (event.pageX - this.document.scrollLeft()) < o.scrollSensitivity) {- scrolled = this.document.scrollLeft(this.document.scrollLeft() + o.scrollSpeed);- }-- }-- if(scrolled !== false && $.ui.ddmanager && !o.dropBehaviour) {- $.ui.ddmanager.prepareOffsets(this, event);- }- }-- //Regenerate the absolute position used for position checks- this.positionAbs = this._convertPositionTo("absolute");-- //Set the helper position- if(!this.options.axis || this.options.axis !== "y") {- this.helper[0].style.left = this.position.left+"px";- }- if(!this.options.axis || this.options.axis !== "x") {- this.helper[0].style.top = this.position.top+"px";- }-- //Rearrange- for (i = this.items.length - 1; i >= 0; i--) {-- //Cache variables and intersection, continue if no intersection- item = this.items[i];- itemElement = item.item[0];- intersection = this._intersectsWithPointer(item);- if (!intersection) {- continue;- }-- // Only put the placeholder inside the current Container, skip all- // items from other containers. This works because when moving- // an item from one container to another the- // currentContainer is switched before the placeholder is moved.- //- // Without this, moving items in "sub-sortables" can cause- // the placeholder to jitter between the outer and inner container.- if (item.instance !== this.currentContainer) {- continue;- }-- // cannot intersect with itself- // no useless actions that have been done before- // no action if the item moved is the parent of the item checked- if (itemElement !== this.currentItem[0] &&- this.placeholder[intersection === 1 ? "next" : "prev"]()[0] !== itemElement &&- !$.contains(this.placeholder[0], itemElement) &&- (this.options.type === "semi-dynamic" ? !$.contains(this.element[0], itemElement) : true)- ) {-- this.direction = intersection === 1 ? "down" : "up";-- if (this.options.tolerance === "pointer" || this._intersectsWithSides(item)) {- this._rearrange(event, item);- } else {- break;- }-- this._trigger("change", event, this._uiHash());- break;- }- }-- //Post events to containers- this._contactContainers(event);-- //Interconnect with droppables- if($.ui.ddmanager) {- $.ui.ddmanager.drag(this, event);- }-- //Call callbacks- this._trigger("sort", event, this._uiHash());-- this.lastPositionAbs = this.positionAbs;- return false;-- },-- _mouseStop: function(event, noPropagation) {-- if(!event) {- return;- }-- //If we are using droppables, inform the manager about the drop- if ($.ui.ddmanager && !this.options.dropBehaviour) {- $.ui.ddmanager.drop(this, event);- }-- if(this.options.revert) {- var that = this,- cur = this.placeholder.offset(),- axis = this.options.axis,- animation = {};-- if ( !axis || axis === "x" ) {- animation.left = cur.left - this.offset.parent.left - this.margins.left + (this.offsetParent[0] === this.document[0].body ? 0 : this.offsetParent[0].scrollLeft);- }- if ( !axis || axis === "y" ) {- animation.top = cur.top - this.offset.parent.top - this.margins.top + (this.offsetParent[0] === this.document[0].body ? 0 : this.offsetParent[0].scrollTop);- }- this.reverting = true;- $(this.helper).animate( animation, parseInt(this.options.revert, 10) || 500, function() {- that._clear(event);- });- } else {- this._clear(event, noPropagation);- }-- return false;-- },-- cancel: function() {-- if(this.dragging) {-- this._mouseUp({ target: null });-- if(this.options.helper === "original") {- this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper");- } else {- this.currentItem.show();- }-- //Post deactivating events to containers- for (var i = this.containers.length - 1; i >= 0; i--){- this.containers[i]._trigger("deactivate", null, this._uiHash(this));- if(this.containers[i].containerCache.over) {- this.containers[i]._trigger("out", null, this._uiHash(this));- this.containers[i].containerCache.over = 0;- }- }-- }-- if (this.placeholder) {- //$(this.placeholder[0]).remove(); would have been the jQuery way - unfortunately, it unbinds ALL events from the original node!- if(this.placeholder[0].parentNode) {- this.placeholder[0].parentNode.removeChild(this.placeholder[0]);- }- if(this.options.helper !== "original" && this.helper && this.helper[0].parentNode) {- this.helper.remove();- }-- $.extend(this, {- helper: null,- dragging: false,- reverting: false,- _noFinalSort: null- });-- if(this.domPosition.prev) {- $(this.domPosition.prev).after(this.currentItem);- } else {- $(this.domPosition.parent).prepend(this.currentItem);- }- }-- return this;-- },-- serialize: function(o) {-- var items = this._getItemsAsjQuery(o && o.connected),- str = [];- o = o || {};-- $(items).each(function() {- var res = ($(o.item || this).attr(o.attribute || "id") || "").match(o.expression || (/(.+)[\-=_](.+)/));- if (res) {- str.push((o.key || res[1]+"[]")+"="+(o.key && o.expression ? res[1] : res[2]));- }- });-- if(!str.length && o.key) {- str.push(o.key + "=");- }-- return str.join("&");-- },-- toArray: function(o) {-- var items = this._getItemsAsjQuery(o && o.connected),- ret = [];-- o = o || {};-- items.each(function() { ret.push($(o.item || this).attr(o.attribute || "id") || ""); });- return ret;-- },-- /* Be careful with the following core functions */- _intersectsWith: function(item) {-- var x1 = this.positionAbs.left,- x2 = x1 + this.helperProportions.width,- y1 = this.positionAbs.top,- y2 = y1 + this.helperProportions.height,- l = item.left,- r = l + item.width,- t = item.top,- b = t + item.height,- dyClick = this.offset.click.top,- dxClick = this.offset.click.left,- isOverElementHeight = ( this.options.axis === "x" ) || ( ( y1 + dyClick ) > t && ( y1 + dyClick ) < b ),- isOverElementWidth = ( this.options.axis === "y" ) || ( ( x1 + dxClick ) > l && ( x1 + dxClick ) < r ),- isOverElement = isOverElementHeight && isOverElementWidth;-- if ( this.options.tolerance === "pointer" ||- this.options.forcePointerForContainers ||- (this.options.tolerance !== "pointer" && this.helperProportions[this.floating ? "width" : "height"] > item[this.floating ? "width" : "height"])- ) {- return isOverElement;- } else {-- return (l < x1 + (this.helperProportions.width / 2) && // Right Half- x2 - (this.helperProportions.width / 2) < r && // Left Half- t < y1 + (this.helperProportions.height / 2) && // Bottom Half- y2 - (this.helperProportions.height / 2) < b ); // Top Half-- }- },-- _intersectsWithPointer: function(item) {-- var isOverElementHeight = (this.options.axis === "x") || this._isOverAxis(this.positionAbs.top + this.offset.click.top, item.top, item.height),- isOverElementWidth = (this.options.axis === "y") || this._isOverAxis(this.positionAbs.left + this.offset.click.left, item.left, item.width),- isOverElement = isOverElementHeight && isOverElementWidth,- verticalDirection = this._getDragVerticalDirection(),- horizontalDirection = this._getDragHorizontalDirection();-- if (!isOverElement) {- return false;- }-- return this.floating ?- ( ((horizontalDirection && horizontalDirection === "right") || verticalDirection === "down") ? 2 : 1 )- : ( verticalDirection && (verticalDirection === "down" ? 2 : 1) );-- },-- _intersectsWithSides: function(item) {-- var isOverBottomHalf = this._isOverAxis(this.positionAbs.top + this.offset.click.top, item.top + (item.height/2), item.height),- isOverRightHalf = this._isOverAxis(this.positionAbs.left + this.offset.click.left, item.left + (item.width/2), item.width),- verticalDirection = this._getDragVerticalDirection(),- horizontalDirection = this._getDragHorizontalDirection();-- if (this.floating && horizontalDirection) {- return ((horizontalDirection === "right" && isOverRightHalf) || (horizontalDirection === "left" && !isOverRightHalf));- } else {- return verticalDirection && ((verticalDirection === "down" && isOverBottomHalf) || (verticalDirection === "up" && !isOverBottomHalf));- }-- },-- _getDragVerticalDirection: function() {- var delta = this.positionAbs.top - this.lastPositionAbs.top;- return delta !== 0 && (delta > 0 ? "down" : "up");- },-- _getDragHorizontalDirection: function() {- var delta = this.positionAbs.left - this.lastPositionAbs.left;- return delta !== 0 && (delta > 0 ? "right" : "left");- },-- refresh: function(event) {- this._refreshItems(event);- this._setHandleClassName();- this.refreshPositions();- return this;- },-- _connectWith: function() {- var options = this.options;- return options.connectWith.constructor === String ? [options.connectWith] : options.connectWith;- },-- _getItemsAsjQuery: function(connected) {-- var i, j, cur, inst,- items = [],- queries = [],- connectWith = this._connectWith();-- if(connectWith && connected) {- for (i = connectWith.length - 1; i >= 0; i--){- cur = $(connectWith[i], this.document[0]);- for ( j = cur.length - 1; j >= 0; j--){- inst = $.data(cur[j], this.widgetFullName);- if(inst && inst !== this && !inst.options.disabled) {- queries.push([$.isFunction(inst.options.items) ? inst.options.items.call(inst.element) : $(inst.options.items, inst.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"), inst]);- }- }- }- }-- queries.push([$.isFunction(this.options.items) ? this.options.items.call(this.element, null, { options: this.options, item: this.currentItem }) : $(this.options.items, this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"), this]);-- function addItems() {- items.push( this );- }- for (i = queries.length - 1; i >= 0; i--){- queries[i][0].each( addItems );- }-- return $(items);-- },-- _removeCurrentsFromItems: function() {-- var list = this.currentItem.find(":data(" + this.widgetName + "-item)");-- this.items = $.grep(this.items, function (item) {- for (var j=0; j < list.length; j++) {- if(list[j] === item.item[0]) {- return false;- }- }- return true;- });-- },-- _refreshItems: function(event) {-- this.items = [];- this.containers = [this];-- var i, j, cur, inst, targetData, _queries, item, queriesLength,- items = this.items,- queries = [[$.isFunction(this.options.items) ? this.options.items.call(this.element[0], event, { item: this.currentItem }) : $(this.options.items, this.element), this]],- connectWith = this._connectWith();-- if(connectWith && this.ready) { //Shouldn't be run the first time through due to massive slow-down- for (i = connectWith.length - 1; i >= 0; i--){- cur = $(connectWith[i], this.document[0]);- for (j = cur.length - 1; j >= 0; j--){- inst = $.data(cur[j], this.widgetFullName);- if(inst && inst !== this && !inst.options.disabled) {- queries.push([$.isFunction(inst.options.items) ? inst.options.items.call(inst.element[0], event, { item: this.currentItem }) : $(inst.options.items, inst.element), inst]);- this.containers.push(inst);- }- }- }- }-- for (i = queries.length - 1; i >= 0; i--) {- targetData = queries[i][1];- _queries = queries[i][0];-- for (j=0, queriesLength = _queries.length; j < queriesLength; j++) {- item = $(_queries[j]);-- item.data(this.widgetName + "-item", targetData); // Data for target checking (mouse manager)-- items.push({- item: item,- instance: targetData,- width: 0, height: 0,- left: 0, top: 0- });- }- }-- },-- refreshPositions: function(fast) {-- // Determine whether items are being displayed horizontally- this.floating = this.items.length ?- this.options.axis === "x" || this._isFloating( this.items[ 0 ].item ) :- false;-- //This has to be redone because due to the item being moved out/into the offsetParent, the offsetParent's position will change- if(this.offsetParent && this.helper) {- this.offset.parent = this._getParentOffset();- }-- var i, item, t, p;-- for (i = this.items.length - 1; i >= 0; i--){- item = this.items[i];-- //We ignore calculating positions of all connected containers when we're not over them- if(item.instance !== this.currentContainer && this.currentContainer && item.item[0] !== this.currentItem[0]) {- continue;- }-- t = this.options.toleranceElement ? $(this.options.toleranceElement, item.item) : item.item;-- if (!fast) {- item.width = t.outerWidth();- item.height = t.outerHeight();- }-- p = t.offset();- item.left = p.left;- item.top = p.top;- }-- if(this.options.custom && this.options.custom.refreshContainers) {- this.options.custom.refreshContainers.call(this);- } else {- for (i = this.containers.length - 1; i >= 0; i--){- p = this.containers[i].element.offset();- this.containers[i].containerCache.left = p.left;- this.containers[i].containerCache.top = p.top;- this.containers[i].containerCache.width = this.containers[i].element.outerWidth();- this.containers[i].containerCache.height = this.containers[i].element.outerHeight();- }- }-- return this;- },-- _createPlaceholder: function(that) {- that = that || this;- var className,- o = that.options;-- if(!o.placeholder || o.placeholder.constructor === String) {- className = o.placeholder;- o.placeholder = {- element: function() {-- var nodeName = that.currentItem[0].nodeName.toLowerCase(),- element = $( "<" + nodeName + ">", that.document[0] )- .addClass(className || that.currentItem[0].className+" ui-sortable-placeholder")- .removeClass("ui-sortable-helper");-- if ( nodeName === "tbody" ) {- that._createTrPlaceholder(- that.currentItem.find( "tr" ).eq( 0 ),- $( "<tr>", that.document[ 0 ] ).appendTo( element )- );- } else if ( nodeName === "tr" ) {- that._createTrPlaceholder( that.currentItem, element );- } else if ( nodeName === "img" ) {- element.attr( "src", that.currentItem.attr( "src" ) );- }-- if ( !className ) {- element.css( "visibility", "hidden" );- }-- return element;- },- update: function(container, p) {-- // 1. If a className is set as 'placeholder option, we don't force sizes - the class is responsible for that- // 2. The option 'forcePlaceholderSize can be enabled to force it even if a class name is specified- if(className && !o.forcePlaceholderSize) {- return;- }-- //If the element doesn't have a actual height by itself (without styles coming from a stylesheet), it receives the inline height from the dragged item- if(!p.height()) { p.height(that.currentItem.innerHeight() - parseInt(that.currentItem.css("paddingTop")||0, 10) - parseInt(that.currentItem.css("paddingBottom")||0, 10)); }- if(!p.width()) { p.width(that.currentItem.innerWidth() - parseInt(that.currentItem.css("paddingLeft")||0, 10) - parseInt(that.currentItem.css("paddingRight")||0, 10)); }- }- };- }-- //Create the placeholder- that.placeholder = $(o.placeholder.element.call(that.element, that.currentItem));-- //Append it after the actual current item- that.currentItem.after(that.placeholder);-- //Update the size of the placeholder (TODO: Logic to fuzzy, see line 316/317)- o.placeholder.update(that, that.placeholder);-- },-- _createTrPlaceholder: function( sourceTr, targetTr ) {- var that = this;-- sourceTr.children().each(function() {- $( "<td> </td>", that.document[ 0 ] )- .attr( "colspan", $( this ).attr( "colspan" ) || 1 )- .appendTo( targetTr );- });- },-- _contactContainers: function(event) {- var i, j, dist, itemWithLeastDistance, posProperty, sizeProperty, cur, nearBottom, floating, axis,- innermostContainer = null,- innermostIndex = null;-- // get innermost container that intersects with item- for (i = this.containers.length - 1; i >= 0; i--) {-- // never consider a container that's located within the item itself- if($.contains(this.currentItem[0], this.containers[i].element[0])) {- continue;- }-- if(this._intersectsWith(this.containers[i].containerCache)) {-- // if we've already found a container and it's more "inner" than this, then continue- if(innermostContainer && $.contains(this.containers[i].element[0], innermostContainer.element[0])) {- continue;- }-- innermostContainer = this.containers[i];- innermostIndex = i;-- } else {- // container doesn't intersect. trigger "out" event if necessary- if(this.containers[i].containerCache.over) {- this.containers[i]._trigger("out", event, this._uiHash(this));- this.containers[i].containerCache.over = 0;- }- }-- }-- // if no intersecting containers found, return- if(!innermostContainer) {- return;- }-- // move the item into the container if it's not there already- if(this.containers.length === 1) {- if (!this.containers[innermostIndex].containerCache.over) {- this.containers[innermostIndex]._trigger("over", event, this._uiHash(this));- this.containers[innermostIndex].containerCache.over = 1;- }- } else {-- //When entering a new container, we will find the item with the least distance and append our item near it- dist = 10000;- itemWithLeastDistance = null;- floating = innermostContainer.floating || this._isFloating(this.currentItem);- posProperty = floating ? "left" : "top";- sizeProperty = floating ? "width" : "height";- axis = floating ? "clientX" : "clientY";-- for (j = this.items.length - 1; j >= 0; j--) {- if(!$.contains(this.containers[innermostIndex].element[0], this.items[j].item[0])) {- continue;- }- if(this.items[j].item[0] === this.currentItem[0]) {- continue;- }-- cur = this.items[j].item.offset()[posProperty];- nearBottom = false;- if ( event[ axis ] - cur > this.items[ j ][ sizeProperty ] / 2 ) {- nearBottom = true;- }-- if ( Math.abs( event[ axis ] - cur ) < dist ) {- dist = Math.abs( event[ axis ] - cur );- itemWithLeastDistance = this.items[ j ];- this.direction = nearBottom ? "up": "down";- }- }-- //Check if dropOnEmpty is enabled- if(!itemWithLeastDistance && !this.options.dropOnEmpty) {- return;- }-- if(this.currentContainer === this.containers[innermostIndex]) {- if ( !this.currentContainer.containerCache.over ) {- this.containers[ innermostIndex ]._trigger( "over", event, this._uiHash() );- this.currentContainer.containerCache.over = 1;- }- return;- }-- itemWithLeastDistance ? this._rearrange(event, itemWithLeastDistance, null, true) : this._rearrange(event, null, this.containers[innermostIndex].element, true);- this._trigger("change", event, this._uiHash());- this.containers[innermostIndex]._trigger("change", event, this._uiHash(this));- this.currentContainer = this.containers[innermostIndex];-- //Update the placeholder- this.options.placeholder.update(this.currentContainer, this.placeholder);-- this.containers[innermostIndex]._trigger("over", event, this._uiHash(this));- this.containers[innermostIndex].containerCache.over = 1;- }--- },-- _createHelper: function(event) {-- var o = this.options,- helper = $.isFunction(o.helper) ? $(o.helper.apply(this.element[0], [event, this.currentItem])) : (o.helper === "clone" ? this.currentItem.clone() : this.currentItem);-- //Add the helper to the DOM if that didn't happen already- if(!helper.parents("body").length) {- $(o.appendTo !== "parent" ? o.appendTo : this.currentItem[0].parentNode)[0].appendChild(helper[0]);- }-- if(helper[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") };- }-- if(!helper[0].style.width || o.forceHelperSize) {- helper.width(this.currentItem.width());- }- if(!helper[0].style.height || o.forceHelperSize) {- helper.height(this.currentItem.height());- }-- return helper;-- },-- _adjustOffsetFromHelper: function(obj) {- if (typeof obj === "string") {- obj = obj.split(" ");- }- if ($.isArray(obj)) {- obj = {left: +obj[0], top: +obj[1] || 0};- }- if ("left" in obj) {- this.offset.click.left = obj.left + this.margins.left;- }- if ("right" in obj) {- this.offset.click.left = this.helperProportions.width - obj.right + this.margins.left;- }- if ("top" in obj) {- this.offset.click.top = obj.top + this.margins.top;- }- if ("bottom" in obj) {- this.offset.click.top = this.helperProportions.height - obj.bottom + this.margins.top;- }- },-- _getParentOffset: function() {--- //Get the offsetParent and cache its position- this.offsetParent = this.helper.offsetParent();- var po = this.offsetParent.offset();-- // This is a special case where we need to modify a offset calculated on start, since the following happened:- // 1. The position of the helper is absolute, so it's position is calculated based on the next positioned parent- // 2. The actual offset parent is a child of the scroll parent, and the scroll parent isn't the document, which means that- // the scroll is included in the initial calculation of the offset of the parent, and never recalculated upon drag- if(this.cssPosition === "absolute" && this.scrollParent[0] !== this.document[0] && $.contains(this.scrollParent[0], this.offsetParent[0])) {- po.left += this.scrollParent.scrollLeft();- po.top += this.scrollParent.scrollTop();- }-- // This needs to be actually done for all browsers, since pageX/pageY includes this information- // with an ugly IE fix- if( this.offsetParent[0] === this.document[0].body || (this.offsetParent[0].tagName && this.offsetParent[0].tagName.toLowerCase() === "html" && $.ui.ie)) {- po = { top: 0, left: 0 };- }-- return {- top: po.top + (parseInt(this.offsetParent.css("borderTopWidth"),10) || 0),- left: po.left + (parseInt(this.offsetParent.css("borderLeftWidth"),10) || 0)- };-- },-- _getRelativeOffset: function() {-- if(this.cssPosition === "relative") {- var p = this.currentItem.position();- return {- top: p.top - (parseInt(this.helper.css("top"),10) || 0) + this.scrollParent.scrollTop(),- left: p.left - (parseInt(this.helper.css("left"),10) || 0) + this.scrollParent.scrollLeft()- };- } else {- return { top: 0, left: 0 };- }-- },-- _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 ce, co, over,- o = this.options;- if(o.containment === "parent") {- o.containment = this.helper[0].parentNode;- }- if(o.containment === "document" || o.containment === "window") {- this.containment = [- 0 - this.offset.relative.left - this.offset.parent.left,- 0 - this.offset.relative.top - this.offset.parent.top,- o.containment === "document" ? this.document.width() : this.window.width() - this.helperProportions.width - this.margins.left,- (o.containment === "document" ? this.document.width() : this.window.height() || this.document[0].body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top- ];- }-- if(!(/^(document|window|parent)$/).test(o.containment)) {- ce = $(o.containment)[0];- co = $(o.containment).offset();- over = ($(ce).css("overflow") !== "hidden");-- this.containment = [- co.left + (parseInt($(ce).css("borderLeftWidth"),10) || 0) + (parseInt($(ce).css("paddingLeft"),10) || 0) - this.margins.left,- co.top + (parseInt($(ce).css("borderTopWidth"),10) || 0) + (parseInt($(ce).css("paddingTop"),10) || 0) - this.margins.top,- co.left+(over ? Math.max(ce.scrollWidth,ce.offsetWidth) : ce.offsetWidth) - (parseInt($(ce).css("borderLeftWidth"),10) || 0) - (parseInt($(ce).css("paddingRight"),10) || 0) - this.helperProportions.width - this.margins.left,- co.top+(over ? Math.max(ce.scrollHeight,ce.offsetHeight) : ce.offsetHeight) - (parseInt($(ce).css("borderTopWidth"),10) || 0) - (parseInt($(ce).css("paddingBottom"),10) || 0) - this.helperProportions.height - this.margins.top- ];- }-- },-- _convertPositionTo: function(d, pos) {-- if(!pos) {- pos = this.position;- }- var mod = d === "absolute" ? 1 : -1,- scroll = this.cssPosition === "absolute" && !(this.scrollParent[0] !== this.document[0] && $.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent,- scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName);-- return {- top: (- pos.top + // The absolute mouse position- this.offset.relative.top * mod + // Only for relative positioned nodes: Relative offset from element to offset parent- this.offset.parent.top * mod - // The offsetParent's offset without borders (offset + border)- ( ( this.cssPosition === "fixed" ? -this.scrollParent.scrollTop() : ( scrollIsRootNode ? 0 : scroll.scrollTop() ) ) * mod)- ),- left: (- pos.left + // The absolute mouse position- this.offset.relative.left * mod + // Only for relative positioned nodes: Relative offset from element to offset parent- this.offset.parent.left * mod - // The offsetParent's offset without borders (offset + border)- ( ( this.cssPosition === "fixed" ? -this.scrollParent.scrollLeft() : scrollIsRootNode ? 0 : scroll.scrollLeft() ) * mod)- )- };-- },-- _generatePosition: function(event) {-- var top, left,- o = this.options,- pageX = event.pageX,- pageY = event.pageY,- scroll = this.cssPosition === "absolute" && !(this.scrollParent[0] !== this.document[0] && $.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName);-- // This is another very weird special case that only happens for relative elements:- // 1. If the css position is relative- // 2. and the scroll parent is the document or similar to the offset parent- // we have to refresh the relative offset during the scroll so there are no jumps- if(this.cssPosition === "relative" && !(this.scrollParent[0] !== this.document[0] && this.scrollParent[0] !== this.offsetParent[0])) {- this.offset.relative = this._getRelativeOffset();- }-- /*- * - Position constraining -- * Constrain the position to a mix of grid, containment.- */-- if(this.originalPosition) { //If we are not dragging yet, we won't check for options-- if(this.containment) {- if(event.pageX - this.offset.click.left < this.containment[0]) {- pageX = this.containment[0] + this.offset.click.left;- }- if(event.pageY - this.offset.click.top < this.containment[1]) {- pageY = this.containment[1] + this.offset.click.top;- }- if(event.pageX - this.offset.click.left > this.containment[2]) {- pageX = this.containment[2] + this.offset.click.left;- }- if(event.pageY - this.offset.click.top > this.containment[3]) {- pageY = this.containment[3] + this.offset.click.top;- }- }-- if(o.grid) {- top = this.originalPageY + Math.round((pageY - this.originalPageY) / o.grid[1]) * o.grid[1];- pageY = this.containment ? ( (top - this.offset.click.top >= this.containment[1] && top - this.offset.click.top <= this.containment[3]) ? top : ((top - this.offset.click.top >= this.containment[1]) ? top - o.grid[1] : top + o.grid[1])) : top;-- left = this.originalPageX + Math.round((pageX - this.originalPageX) / o.grid[0]) * o.grid[0];- pageX = this.containment ? ( (left - this.offset.click.left >= this.containment[0] && left - this.offset.click.left <= this.containment[2]) ? left : ((left - this.offset.click.left >= this.containment[0]) ? left - o.grid[0] : left + o.grid[0])) : left;- }-- }-- return {- top: (- pageY - // The absolute mouse position- this.offset.click.top - // Click offset (relative to the element)- this.offset.relative.top - // Only for relative positioned nodes: Relative offset from element to offset parent- this.offset.parent.top + // The offsetParent's offset without borders (offset + border)- ( ( this.cssPosition === "fixed" ? -this.scrollParent.scrollTop() : ( scrollIsRootNode ? 0 : scroll.scrollTop() ) ))- ),- left: (- pageX - // The absolute mouse position- this.offset.click.left - // Click offset (relative to the element)- this.offset.relative.left - // Only for relative positioned nodes: Relative offset from element to offset parent- this.offset.parent.left + // The offsetParent's offset without borders (offset + border)- ( ( this.cssPosition === "fixed" ? -this.scrollParent.scrollLeft() : scrollIsRootNode ? 0 : scroll.scrollLeft() ))- )- };-- },-- _rearrange: function(event, i, a, hardRefresh) {-- a ? a[0].appendChild(this.placeholder[0]) : i.item[0].parentNode.insertBefore(this.placeholder[0], (this.direction === "down" ? i.item[0] : i.item[0].nextSibling));-- //Various things done here to improve the performance:- // 1. we create a setTimeout, that calls refreshPositions- // 2. on the instance, we have a counter variable, that get's higher after every append- // 3. on the local scope, we copy the counter variable, and check in the timeout, if it's still the same- // 4. this lets only the last addition to the timeout stack through- this.counter = this.counter ? ++this.counter : 1;- var counter = this.counter;-- this._delay(function() {- if(counter === this.counter) {- this.refreshPositions(!hardRefresh); //Precompute after each DOM insertion, NOT on mousemove- }- });-- },-- _clear: function(event, noPropagation) {-- this.reverting = false;- // We delay all events that have to be triggered to after the point where the placeholder has been removed and- // everything else normalized again- var i,- delayedTriggers = [];-- // We first have to update the dom position of the actual currentItem- // Note: don't do it if the current item is already removed (by a user), or it gets reappended (see #4088)- if(!this._noFinalSort && this.currentItem.parent().length) {- this.placeholder.before(this.currentItem);- }- this._noFinalSort = null;-- if(this.helper[0] === this.currentItem[0]) {- for(i in this._storedCSS) {- if(this._storedCSS[i] === "auto" || this._storedCSS[i] === "static") {- this._storedCSS[i] = "";- }- }- this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper");- } else {- this.currentItem.show();- }-- if(this.fromOutside && !noPropagation) {- delayedTriggers.push(function(event) { this._trigger("receive", event, this._uiHash(this.fromOutside)); });- }- if((this.fromOutside || this.domPosition.prev !== this.currentItem.prev().not(".ui-sortable-helper")[0] || this.domPosition.parent !== this.currentItem.parent()[0]) && !noPropagation) {- delayedTriggers.push(function(event) { this._trigger("update", event, this._uiHash()); }); //Trigger update callback if the DOM position has changed- }-- // Check if the items Container has Changed and trigger appropriate- // events.- if (this !== this.currentContainer) {- if(!noPropagation) {- delayedTriggers.push(function(event) { this._trigger("remove", event, this._uiHash()); });- delayedTriggers.push((function(c) { return function(event) { c._trigger("receive", event, this._uiHash(this)); }; }).call(this, this.currentContainer));- delayedTriggers.push((function(c) { return function(event) { c._trigger("update", event, this._uiHash(this)); }; }).call(this, this.currentContainer));- }- }--- //Post events to containers- function delayEvent( type, instance, container ) {- return function( event ) {- container._trigger( type, event, instance._uiHash( instance ) );- };- }- for (i = this.containers.length - 1; i >= 0; i--){- if (!noPropagation) {- delayedTriggers.push( delayEvent( "deactivate", this, this.containers[ i ] ) );- }- if(this.containers[i].containerCache.over) {- delayedTriggers.push( delayEvent( "out", this, this.containers[ i ] ) );- this.containers[i].containerCache.over = 0;- }- }-- //Do what was originally in plugins- if ( this.storedCursor ) {- this.document.find( "body" ).css( "cursor", this.storedCursor );- this.storedStylesheet.remove();- }- if(this._storedOpacity) {- this.helper.css("opacity", this._storedOpacity);- }- if(this._storedZIndex) {- this.helper.css("zIndex", this._storedZIndex === "auto" ? "" : this._storedZIndex);- }-- this.dragging = false;-- if(!noPropagation) {- this._trigger("beforeStop", event, this._uiHash());- }-- //$(this.placeholder[0]).remove(); would have been the jQuery way - unfortunately, it unbinds ALL events from the original node!- this.placeholder[0].parentNode.removeChild(this.placeholder[0]);-- if ( !this.cancelHelperRemoval ) {- if ( this.helper[ 0 ] !== this.currentItem[ 0 ] ) {- this.helper.remove();- }- this.helper = null;- }-- if(!noPropagation) {- for (i=0; i < delayedTriggers.length; i++) {- delayedTriggers[i].call(this, event);- } //Trigger all delayed events- this._trigger("stop", event, this._uiHash());- }-- this.fromOutside = false;- return !this.cancelHelperRemoval;-- },-- _trigger: function() {- if ($.Widget.prototype._trigger.apply(this, arguments) === false) {- this.cancel();- }- },-- _uiHash: function(_inst) {- var inst = _inst || this;- return {- helper: inst.helper,- placeholder: inst.placeholder || $([]),- position: inst.position,- originalPosition: inst.originalPosition,- offset: inst.positionAbs,- item: inst.currentItem,- sender: _inst ? _inst.element : null- };- }--});---/*!- * jQuery UI Accordion 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/accordion/- */---var accordion = $.widget( "ui.accordion", {- version: "1.11.4",- options: {- active: 0,- animate: {},- collapsible: false,- event: "click",- header: "> li > :first-child,> :not(li):even",- heightStyle: "auto",- icons: {- activeHeader: "ui-icon-triangle-1-s",- header: "ui-icon-triangle-1-e"- },-- // callbacks- activate: null,- beforeActivate: null- },-- hideProps: {- borderTopWidth: "hide",- borderBottomWidth: "hide",- paddingTop: "hide",- paddingBottom: "hide",- height: "hide"- },-- showProps: {- borderTopWidth: "show",- borderBottomWidth: "show",- paddingTop: "show",- paddingBottom: "show",- height: "show"- },-- _create: function() {- var options = this.options;- this.prevShow = this.prevHide = $();- this.element.addClass( "ui-accordion ui-widget ui-helper-reset" )- // ARIA- .attr( "role", "tablist" );-- // don't allow collapsible: false and active: false / null- if ( !options.collapsible && (options.active === false || options.active == null) ) {- options.active = 0;- }-- this._processPanels();- // handle negative values- if ( options.active < 0 ) {- options.active += this.headers.length;- }- this._refresh();- },-- _getCreateEventData: function() {- return {- header: this.active,- panel: !this.active.length ? $() : this.active.next()- };- },-- _createIcons: function() {- var icons = this.options.icons;- if ( icons ) {- $( "<span>" )- .addClass( "ui-accordion-header-icon ui-icon " + icons.header )- .prependTo( this.headers );- this.active.children( ".ui-accordion-header-icon" )- .removeClass( icons.header )- .addClass( icons.activeHeader );- this.headers.addClass( "ui-accordion-icons" );- }- },-- _destroyIcons: function() {- this.headers- .removeClass( "ui-accordion-icons" )- .children( ".ui-accordion-header-icon" )- .remove();- },-- _destroy: function() {- var contents;-- // clean up main element- this.element- .removeClass( "ui-accordion ui-widget ui-helper-reset" )- .removeAttr( "role" );-- // clean up headers- this.headers- .removeClass( "ui-accordion-header ui-accordion-header-active ui-state-default " +- "ui-corner-all ui-state-active ui-state-disabled ui-corner-top" )- .removeAttr( "role" )- .removeAttr( "aria-expanded" )- .removeAttr( "aria-selected" )- .removeAttr( "aria-controls" )- .removeAttr( "tabIndex" )- .removeUniqueId();-- this._destroyIcons();-- // clean up content panels- contents = this.headers.next()- .removeClass( "ui-helper-reset ui-widget-content ui-corner-bottom " +- "ui-accordion-content ui-accordion-content-active ui-state-disabled" )- .css( "display", "" )- .removeAttr( "role" )- .removeAttr( "aria-hidden" )- .removeAttr( "aria-labelledby" )- .removeUniqueId();-- if ( this.options.heightStyle !== "content" ) {- contents.css( "height", "" );- }- },-- _setOption: function( key, value ) {- if ( key === "active" ) {- // _activate() will handle invalid values and update this.options- this._activate( value );- return;- }-- if ( key === "event" ) {- if ( this.options.event ) {- this._off( this.headers, this.options.event );- }- this._setupEvents( value );- }-- this._super( key, value );-- // setting collapsible: false while collapsed; open first panel- if ( key === "collapsible" && !value && this.options.active === false ) {- this._activate( 0 );- }-- if ( key === "icons" ) {- this._destroyIcons();- if ( value ) {- this._createIcons();- }- }-- // #5332 - opacity doesn't cascade to positioned elements in IE- // so we need to add the disabled class to the headers and panels- if ( key === "disabled" ) {- this.element- .toggleClass( "ui-state-disabled", !!value )- .attr( "aria-disabled", value );- this.headers.add( this.headers.next() )- .toggleClass( "ui-state-disabled", !!value );- }- },-- _keydown: function( event ) {- if ( event.altKey || event.ctrlKey ) {- return;- }-- var keyCode = $.ui.keyCode,- length = this.headers.length,- currentIndex = this.headers.index( event.target ),- toFocus = false;-- switch ( event.keyCode ) {- case keyCode.RIGHT:- case keyCode.DOWN:- toFocus = this.headers[ ( currentIndex + 1 ) % length ];- break;- case keyCode.LEFT:- case keyCode.UP:- toFocus = this.headers[ ( currentIndex - 1 + length ) % length ];- break;- case keyCode.SPACE:- case keyCode.ENTER:- this._eventHandler( event );- break;- case keyCode.HOME:- toFocus = this.headers[ 0 ];- break;- case keyCode.END:- toFocus = this.headers[ length - 1 ];- break;- }-- if ( toFocus ) {- $( event.target ).attr( "tabIndex", -1 );- $( toFocus ).attr( "tabIndex", 0 );- toFocus.focus();- event.preventDefault();- }- },-- _panelKeyDown: function( event ) {- if ( event.keyCode === $.ui.keyCode.UP && event.ctrlKey ) {- $( event.currentTarget ).prev().focus();- }- },-- refresh: function() {- var options = this.options;- this._processPanels();-- // was collapsed or no panel- if ( ( options.active === false && options.collapsible === true ) || !this.headers.length ) {- options.active = false;- this.active = $();- // active false only when collapsible is true- } else if ( options.active === false ) {- this._activate( 0 );- // was active, but active panel is gone- } else if ( this.active.length && !$.contains( this.element[ 0 ], this.active[ 0 ] ) ) {- // all remaining panel are disabled- if ( this.headers.length === this.headers.find(".ui-state-disabled").length ) {- options.active = false;- this.active = $();- // activate previous panel- } else {- this._activate( Math.max( 0, options.active - 1 ) );- }- // was active, active panel still exists- } else {- // make sure active index is correct- options.active = this.headers.index( this.active );- }-- this._destroyIcons();-- this._refresh();- },-- _processPanels: function() {- var prevHeaders = this.headers,- prevPanels = this.panels;-- this.headers = this.element.find( this.options.header )- .addClass( "ui-accordion-header ui-state-default ui-corner-all" );-- this.panels = this.headers.next()- .addClass( "ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom" )- .filter( ":not(.ui-accordion-content-active)" )- .hide();-- // Avoid memory leaks (#10056)- if ( prevPanels ) {- this._off( prevHeaders.not( this.headers ) );- this._off( prevPanels.not( this.panels ) );- }- },-- _refresh: function() {- var maxHeight,- options = this.options,- heightStyle = options.heightStyle,- parent = this.element.parent();-- this.active = this._findActive( options.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() {- var header = $( this ),- headerId = header.uniqueId().attr( "id" ),- panel = header.next(),- panelId = panel.uniqueId().attr( "id" );- header.attr( "aria-controls", panelId );- panel.attr( "aria-labelledby", headerId );- })- .next()- .attr( "role", "tabpanel" );-- this.headers- .not( this.active )- .attr({- "aria-selected": "false",- "aria-expanded": "false",- tabIndex: -1- })- .next()- .attr({- "aria-hidden": "true"- })- .hide();-- // make sure at least one header is in the tab order- if ( !this.active.length ) {- this.headers.eq( 0 ).attr( "tabIndex", 0 );- } else {- this.active.attr({- "aria-selected": "true",- "aria-expanded": "true",- tabIndex: 0- })- .next()- .attr({- "aria-hidden": "false"- });- }-- this._createIcons();-- this._setupEvents( options.event );-- if ( heightStyle === "fill" ) {- maxHeight = parent.height();- this.element.siblings( ":visible" ).each(function() {- var elem = $( this ),- position = elem.css( "position" );-- if ( position === "absolute" || position === "fixed" ) {- return;- }- maxHeight -= elem.outerHeight( true );- });-- this.headers.each(function() {- maxHeight -= $( this ).outerHeight( true );- });-- this.headers.next()- .each(function() {- $( this ).height( Math.max( 0, maxHeight -- $( this ).innerHeight() + $( this ).height() ) );- })- .css( "overflow", "auto" );- } else if ( heightStyle === "auto" ) {- maxHeight = 0;- this.headers.next()- .each(function() {- maxHeight = Math.max( maxHeight, $( this ).css( "height", "" ).height() );- })- .height( maxHeight );- }- },-- _activate: function( index ) {- var active = this._findActive( index )[ 0 ];-- // trying to activate the already active panel- if ( active === this.active[ 0 ] ) {- return;- }-- // trying to collapse, simulate a click on the currently active header- active = active || this.active[ 0 ];-- this._eventHandler({- target: active,- currentTarget: active,- preventDefault: $.noop- });- },-- _findActive: function( selector ) {- return typeof selector === "number" ? this.headers.eq( selector ) : $();- },-- _setupEvents: function( event ) {- var events = {- keydown: "_keydown"- };- if ( event ) {- $.each( event.split( " " ), function( index, eventName ) {- events[ eventName ] = "_eventHandler";- });- }-- this._off( this.headers.add( this.headers.next() ) );- this._on( this.headers, events );- this._on( this.headers.next(), { keydown: "_panelKeyDown" });- this._hoverable( this.headers );- this._focusable( this.headers );- },-- _eventHandler: function( event ) {- var options = this.options,- active = this.active,- clicked = $( event.currentTarget ),- clickedIsActive = clicked[ 0 ] === active[ 0 ],- collapsing = clickedIsActive && options.collapsible,- toShow = collapsing ? $() : clicked.next(),- toHide = active.next(),- eventData = {- oldHeader: active,- oldPanel: toHide,- newHeader: collapsing ? $() : clicked,- newPanel: toShow- };-- event.preventDefault();-- if (- // click on active header, but not collapsible- ( clickedIsActive && !options.collapsible ) ||- // allow canceling activation- ( this._trigger( "beforeActivate", event, eventData ) === false ) ) {- return;- }-- options.active = collapsing ? false : this.headers.index( clicked );-- // when the call to ._toggle() comes after the class changes- // it causes a very odd bug in IE 8 (see #6720)- this.active = clickedIsActive ? $() : clicked;- this._toggle( eventData );-- // switch classes- // corner classes on the previously active header stay after the animation- active.removeClass( "ui-accordion-header-active ui-state-active" );- if ( options.icons ) {- active.children( ".ui-accordion-header-icon" )- .removeClass( options.icons.activeHeader )- .addClass( options.icons.header );- }-- if ( !clickedIsActive ) {- clicked- .removeClass( "ui-corner-all" )- .addClass( "ui-accordion-header-active ui-state-active ui-corner-top" );- if ( options.icons ) {- clicked.children( ".ui-accordion-header-icon" )- .removeClass( options.icons.header )- .addClass( options.icons.activeHeader );- }-- clicked- .next()- .addClass( "ui-accordion-content-active" );- }- },-- _toggle: function( data ) {- var toShow = data.newPanel,- toHide = this.prevShow.length ? this.prevShow : data.oldPanel;-- // handle activating a panel during the animation for another activation- this.prevShow.add( this.prevHide ).stop( true, true );- this.prevShow = toShow;- this.prevHide = toHide;-- if ( this.options.animate ) {- this._animate( toShow, toHide, data );- } else {- toHide.hide();- toShow.show();- this._toggleComplete( data );- }-- toHide.attr({- "aria-hidden": "true"- });- toHide.prev().attr({- "aria-selected": "false",- "aria-expanded": "false"- });- // if we're switching panels, remove the old header from the tab order- // if we're opening from collapsed state, remove the previous header from the tab order- // if we're collapsing, then keep the collapsing header in the tab order- if ( toShow.length && toHide.length ) {- toHide.prev().attr({- "tabIndex": -1,- "aria-expanded": "false"- });- } else if ( toShow.length ) {- this.headers.filter(function() {- return parseInt( $( this ).attr( "tabIndex" ), 10 ) === 0;- })- .attr( "tabIndex", -1 );- }-- toShow- .attr( "aria-hidden", "false" )- .prev()- .attr({- "aria-selected": "true",- "aria-expanded": "true",- tabIndex: 0- });- },-- _animate: function( toShow, toHide, data ) {- var total, easing, duration,- that = this,- adjust = 0,- boxSizing = toShow.css( "box-sizing" ),- down = toShow.length &&- ( !toHide.length || ( toShow.index() < toHide.index() ) ),- animate = this.options.animate || {},- options = down && animate.down || animate,- complete = function() {- that._toggleComplete( data );- };-- if ( typeof options === "number" ) {- duration = options;- }- if ( typeof options === "string" ) {- easing = options;- }- // fall back from options to animation in case of partial down settings- easing = easing || options.easing || animate.easing;- duration = duration || options.duration || animate.duration;-- if ( !toHide.length ) {- return toShow.animate( this.showProps, duration, easing, complete );- }- if ( !toShow.length ) {- return toHide.animate( this.hideProps, duration, easing, complete );- }-- total = toShow.show().outerHeight();- toHide.animate( this.hideProps, {- duration: duration,- easing: easing,- step: function( now, fx ) {- fx.now = Math.round( now );- }- });- toShow- .hide()- .animate( this.showProps, {- duration: duration,- easing: easing,- complete: complete,- step: function( now, fx ) {- fx.now = Math.round( now );- if ( fx.prop !== "height" ) {- if ( boxSizing === "content-box" ) {- adjust += fx.now;- }- } else if ( that.options.heightStyle !== "content" ) {- fx.now = Math.round( total - toHide.outerHeight() - adjust );- adjust = 0;- }- }- });- },-- _toggleComplete: function( data ) {- var toHide = data.oldPanel;-- toHide- .removeClass( "ui-accordion-content-active" )- .prev()- .removeClass( "ui-corner-top" )- .addClass( "ui-corner-all" );-- // Work around for rendering bug in IE (#5421)- if ( toHide.length ) {- toHide.parent()[ 0 ].className = toHide.parent()[ 0 ].className;- }- this._trigger( "activate", null, data );- }-});---/*!- * jQuery UI Menu 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/menu/- */---var menu = $.widget( "ui.menu", {- version: "1.11.4",- defaultElement: "<ul>",- delay: 300,- options: {- icons: {- submenu: "ui-icon-carat-1-e"- },- items: "> *",- menus: "ul",- position: {- my: "left-1 top",- at: "right top"- },- role: "menu",-- // callbacks- blur: null,- focus: null,- select: null- },-- _create: function() {- this.activeMenu = this.element;-- // Flag used to prevent firing of the click handler- // as the event bubbles up through nested menus- this.mouseHandled = false;- this.element- .uniqueId()- .addClass( "ui-menu ui-widget ui-widget-content" )- .toggleClass( "ui-menu-icons", !!this.element.find( ".ui-icon" ).length )- .attr({- role: this.options.role,- tabIndex: 0- });-- if ( this.options.disabled ) {- this.element- .addClass( "ui-state-disabled" )- .attr( "aria-disabled", "true" );- }-- this._on({- // Prevent focus from sticking to links inside menu after clicking- // them (focus should always stay on UL during navigation).- "mousedown .ui-menu-item": function( event ) {- event.preventDefault();- },- "click .ui-menu-item": function( event ) {- var target = $( event.target );- if ( !this.mouseHandled && target.not( ".ui-state-disabled" ).length ) {- this.select( event );-- // Only set the mouseHandled flag if the event will bubble, see #9469.- if ( !event.isPropagationStopped() ) {- this.mouseHandled = true;- }-- // Open submenu on click- if ( target.has( ".ui-menu" ).length ) {- this.expand( event );- } else if ( !this.element.is( ":focus" ) && $( this.document[ 0 ].activeElement ).closest( ".ui-menu" ).length ) {-- // Redirect focus to the menu- this.element.trigger( "focus", [ true ] );-- // If the active item is on the top level, let it stay active.- // Otherwise, blur the active item since it is no longer visible.- if ( this.active && this.active.parents( ".ui-menu" ).length === 1 ) {- clearTimeout( this.timer );- }- }- }- },- "mouseenter .ui-menu-item": function( event ) {- // Ignore mouse events while typeahead is active, see #10458.- // Prevents focusing the wrong item when typeahead causes a scroll while the mouse- // is over an item in the menu- if ( this.previousFilter ) {- return;- }- var target = $( event.currentTarget );- // Remove ui-state-active class from siblings of the newly focused menu item- // to avoid a jump caused by adjacent elements both having a class with a border- target.siblings( ".ui-state-active" ).removeClass( "ui-state-active" );- this.focus( event, target );- },- mouseleave: "collapseAll",- "mouseleave .ui-menu": "collapseAll",- focus: function( event, keepActiveItem ) {- // If there's already an active item, keep it active- // If not, activate the first item- var item = this.active || this.element.find( this.options.items ).eq( 0 );-- if ( !keepActiveItem ) {- this.focus( event, item );- }- },- blur: function( event ) {- this._delay(function() {- if ( !$.contains( this.element[0], this.document[0].activeElement ) ) {- this.collapseAll( event );- }- });- },- keydown: "_keydown"- });-- this.refresh();-- // Clicks outside of a menu collapse any open menus- this._on( this.document, {- click: function( event ) {- if ( this._closeOnDocumentClick( event ) ) {- this.collapseAll( event );- }-- // Reset the mouseHandled flag- this.mouseHandled = false;- }- });- },-- _destroy: function() {- // Destroy (sub)menus- this.element- .removeAttr( "aria-activedescendant" )- .find( ".ui-menu" ).addBack()- .removeClass( "ui-menu ui-widget ui-widget-content ui-menu-icons ui-front" )- .removeAttr( "role" )- .removeAttr( "tabIndex" )- .removeAttr( "aria-labelledby" )- .removeAttr( "aria-expanded" )- .removeAttr( "aria-hidden" )- .removeAttr( "aria-disabled" )- .removeUniqueId()- .show();-- // Destroy menu items- this.element.find( ".ui-menu-item" )- .removeClass( "ui-menu-item" )- .removeAttr( "role" )- .removeAttr( "aria-disabled" )- .removeUniqueId()- .removeClass( "ui-state-hover" )- .removeAttr( "tabIndex" )- .removeAttr( "role" )- .removeAttr( "aria-haspopup" )- .children().each( function() {- var elem = $( this );- if ( elem.data( "ui-menu-submenu-carat" ) ) {- elem.remove();- }- });-- // Destroy menu dividers- this.element.find( ".ui-menu-divider" ).removeClass( "ui-menu-divider ui-widget-content" );- },-- _keydown: function( event ) {- var match, prev, character, skip,- preventDefault = true;-- switch ( event.keyCode ) {- case $.ui.keyCode.PAGE_UP:- this.previousPage( event );- break;- case $.ui.keyCode.PAGE_DOWN:- this.nextPage( event );- break;- case $.ui.keyCode.HOME:- this._move( "first", "first", event );- break;- case $.ui.keyCode.END:- this._move( "last", "last", event );- break;- case $.ui.keyCode.UP:- this.previous( event );- break;- case $.ui.keyCode.DOWN:- this.next( event );- break;- case $.ui.keyCode.LEFT:- this.collapse( event );- break;- case $.ui.keyCode.RIGHT:- if ( this.active && !this.active.is( ".ui-state-disabled" ) ) {- this.expand( event );- }- break;- case $.ui.keyCode.ENTER:- case $.ui.keyCode.SPACE:- this._activate( event );- break;- case $.ui.keyCode.ESCAPE:- this.collapse( event );- break;- default:- preventDefault = false;- prev = this.previousFilter || "";- character = String.fromCharCode( event.keyCode );- skip = false;-- clearTimeout( this.filterTimer );-- if ( character === prev ) {- skip = true;- } else {- character = prev + character;- }-- match = this._filterMenuItems( character );- match = skip && match.index( this.active.next() ) !== -1 ?- this.active.nextAll( ".ui-menu-item" ) :- match;-- // If no matches on the current filter, reset to the last character pressed- // to move down the menu to the first item that starts with that character- if ( !match.length ) {- character = String.fromCharCode( event.keyCode );- match = this._filterMenuItems( character );- }-- if ( match.length ) {- this.focus( event, match );- this.previousFilter = character;- this.filterTimer = this._delay(function() {- delete this.previousFilter;- }, 1000 );- } else {- delete this.previousFilter;- }- }-- if ( preventDefault ) {- event.preventDefault();- }- },-- _activate: function( event ) {- if ( !this.active.is( ".ui-state-disabled" ) ) {- if ( this.active.is( "[aria-haspopup='true']" ) ) {- this.expand( event );- } else {- this.select( event );- }- }- },-- refresh: function() {- var menus, items,- that = this,- icon = this.options.icons.submenu,- submenus = this.element.find( this.options.menus );-- this.element.toggleClass( "ui-menu-icons", !!this.element.find( ".ui-icon" ).length );-- // Initialize nested menus- submenus.filter( ":not(.ui-menu)" )- .addClass( "ui-menu ui-widget ui-widget-content ui-front" )- .hide()- .attr({- role: this.options.role,- "aria-hidden": "true",- "aria-expanded": "false"- })- .each(function() {- var menu = $( this ),- item = menu.parent(),- submenuCarat = $( "<span>" )- .addClass( "ui-menu-icon ui-icon " + icon )- .data( "ui-menu-submenu-carat", true );-- item- .attr( "aria-haspopup", "true" )- .prepend( submenuCarat );- menu.attr( "aria-labelledby", item.attr( "id" ) );- });-- menus = submenus.add( this.element );- items = menus.find( this.options.items );-- // Initialize menu-items containing spaces and/or dashes only as dividers- items.not( ".ui-menu-item" ).each(function() {- var item = $( this );- if ( that._isDivider( item ) ) {- item.addClass( "ui-widget-content ui-menu-divider" );- }- });-- // Don't refresh list items that are already adapted- items.not( ".ui-menu-item, .ui-menu-divider" )- .addClass( "ui-menu-item" )- .uniqueId()- .attr({- tabIndex: -1,- role: this._itemRole()- });-- // Add aria-disabled attribute to any disabled menu item- items.filter( ".ui-state-disabled" ).attr( "aria-disabled", "true" );-- // If the active item has been removed, blur the menu- if ( this.active && !$.contains( this.element[ 0 ], this.active[ 0 ] ) ) {- this.blur();- }- },-- _itemRole: function() {- return {- menu: "menuitem",- listbox: "option"- }[ this.options.role ];- },-- _setOption: function( key, value ) {- if ( key === "icons" ) {- this.element.find( ".ui-menu-icon" )- .removeClass( this.options.icons.submenu )- .addClass( value.submenu );- }- if ( key === "disabled" ) {- this.element- .toggleClass( "ui-state-disabled", !!value )- .attr( "aria-disabled", value );- }- this._super( key, value );- },-- focus: function( event, item ) {- var nested, focused;- this.blur( event, event && event.type === "focus" );-- this._scrollIntoView( item );-- this.active = item.first();- focused = this.active.addClass( "ui-state-focus" ).removeClass( "ui-state-active" );- // Only update aria-activedescendant if there's a role- // otherwise we assume focus is managed elsewhere- if ( this.options.role ) {- this.element.attr( "aria-activedescendant", focused.attr( "id" ) );- }-- // Highlight active parent menu item, if any- this.active- .parent()- .closest( ".ui-menu-item" )- .addClass( "ui-state-active" );-- if ( event && event.type === "keydown" ) {- this._close();- } else {- this.timer = this._delay(function() {- this._close();- }, this.delay );- }-- nested = item.children( ".ui-menu" );- if ( nested.length && event && ( /^mouse/.test( event.type ) ) ) {- this._startOpening(nested);- }- this.activeMenu = item.parent();-- this._trigger( "focus", event, { item: item } );- },-- _scrollIntoView: function( item ) {- var borderTop, paddingTop, offset, scroll, elementHeight, itemHeight;- if ( this._hasScroll() ) {- borderTop = parseFloat( $.css( this.activeMenu[0], "borderTopWidth" ) ) || 0;- paddingTop = parseFloat( $.css( this.activeMenu[0], "paddingTop" ) ) || 0;- offset = item.offset().top - this.activeMenu.offset().top - borderTop - paddingTop;- scroll = this.activeMenu.scrollTop();- elementHeight = this.activeMenu.height();- itemHeight = item.outerHeight();-- if ( offset < 0 ) {- this.activeMenu.scrollTop( scroll + offset );- } else if ( offset + itemHeight > elementHeight ) {- this.activeMenu.scrollTop( scroll + offset - elementHeight + itemHeight );- }- }- },-- blur: function( event, fromFocus ) {- if ( !fromFocus ) {- clearTimeout( this.timer );- }-- if ( !this.active ) {- return;- }-- this.active.removeClass( "ui-state-focus" );- this.active = null;-- this._trigger( "blur", event, { item: this.active } );- },-- _startOpening: function( submenu ) {- clearTimeout( this.timer );-- // Don't open if already open fixes a Firefox bug that caused a .5 pixel- // shift in the submenu position when mousing over the carat icon- if ( submenu.attr( "aria-hidden" ) !== "true" ) {- return;- }-- this.timer = this._delay(function() {- this._close();- this._open( submenu );- }, this.delay );- },-- _open: function( submenu ) {- var position = $.extend({- of: this.active- }, this.options.position );-- clearTimeout( this.timer );- this.element.find( ".ui-menu" ).not( submenu.parents( ".ui-menu" ) )- .hide()- .attr( "aria-hidden", "true" );-- submenu- .show()- .removeAttr( "aria-hidden" )- .attr( "aria-expanded", "true" )- .position( position );- },-- collapseAll: function( event, all ) {- clearTimeout( this.timer );- this.timer = this._delay(function() {- // If we were passed an event, look for the submenu that contains the event- var currentMenu = all ? this.element :- $( event && event.target ).closest( this.element.find( ".ui-menu" ) );-- // If we found no valid submenu ancestor, use the main menu to close all sub menus anyway- if ( !currentMenu.length ) {- currentMenu = this.element;- }-- this._close( currentMenu );-- this.blur( event );- this.activeMenu = currentMenu;- }, this.delay );- },-- // With no arguments, closes the currently active menu - if nothing is active- // it closes all menus. If passed an argument, it will search for menus BELOW- _close: function( startMenu ) {- if ( !startMenu ) {- startMenu = this.active ? this.active.parent() : this.element;- }-- startMenu- .find( ".ui-menu" )- .hide()- .attr( "aria-hidden", "true" )- .attr( "aria-expanded", "false" )- .end()- .find( ".ui-state-active" ).not( ".ui-state-focus" )- .removeClass( "ui-state-active" );- },-- _closeOnDocumentClick: function( event ) {- return !$( event.target ).closest( ".ui-menu" ).length;- },-- _isDivider: function( item ) {-- // Match hyphen, em dash, en dash- return !/[^\-\u2014\u2013\s]/.test( item.text() );- },-- collapse: function( event ) {- var newItem = this.active &&- this.active.parent().closest( ".ui-menu-item", this.element );- if ( newItem && newItem.length ) {- this._close();- this.focus( event, newItem );- }- },-- expand: function( event ) {- var newItem = this.active &&- this.active- .children( ".ui-menu " )- .find( this.options.items )- .first();-- if ( newItem && newItem.length ) {- this._open( newItem.parent() );-- // Delay so Firefox will not hide activedescendant change in expanding submenu from AT- this._delay(function() {- this.focus( event, newItem );- });- }- },-- next: function( event ) {- this._move( "next", "first", event );- },-- previous: function( event ) {- this._move( "prev", "last", event );- },-- 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( direction, filter, event ) {- var next;- if ( this.active ) {- if ( direction === "first" || direction === "last" ) {- next = this.active- [ direction === "first" ? "prevAll" : "nextAll" ]( ".ui-menu-item" )- .eq( -1 );- } else {- next = this.active- [ direction + "All" ]( ".ui-menu-item" )- .eq( 0 );- }- }- if ( !next || !next.length || !this.active ) {- next = this.activeMenu.find( this.options.items )[ filter ]();- }-- this.focus( event, next );- },-- nextPage: function( event ) {- var item, base, height;-- if ( !this.active ) {- this.next( event );- return;- }- if ( this.isLastItem() ) {- return;- }- if ( this._hasScroll() ) {- base = this.active.offset().top;- height = this.element.height();- this.active.nextAll( ".ui-menu-item" ).each(function() {- item = $( this );- return item.offset().top - base - height < 0;- });-- this.focus( event, item );- } else {- this.focus( event, this.activeMenu.find( this.options.items )- [ !this.active ? "first" : "last" ]() );- }- },-- previousPage: function( event ) {- var item, base, height;- if ( !this.active ) {- this.next( event );- return;- }- if ( this.isFirstItem() ) {- return;- }- if ( this._hasScroll() ) {- base = this.active.offset().top;- height = this.element.height();- this.active.prevAll( ".ui-menu-item" ).each(function() {- item = $( this );- return item.offset().top - base + height > 0;- });-- this.focus( event, item );- } else {- this.focus( event, this.activeMenu.find( this.options.items ).first() );- }- },-- _hasScroll: function() {- return this.element.outerHeight() < this.element.prop( "scrollHeight" );- },-- select: function( event ) {- // TODO: It should never be possible to not have an active item at this- // point, but the tests don't trigger mouseenter before click.- this.active = this.active || $( event.target ).closest( ".ui-menu-item" );- var ui = { item: this.active };- if ( !this.active.has( ".ui-menu" ).length ) {- this.collapseAll( event, true );- }- this._trigger( "select", event, ui );- },-- _filterMenuItems: function(character) {- var escapedCharacter = character.replace( /[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&" ),- regex = new RegExp( "^" + escapedCharacter, "i" );-- return this.activeMenu- .find( this.options.items )-- // Only match on items, not dividers or other content (#10571)- .filter( ".ui-menu-item" )- .filter(function() {- return regex.test( $.trim( $( this ).text() ) );- });- }-});---/*!- * jQuery UI Autocomplete 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/autocomplete/- */---$.widget( "ui.autocomplete", {- version: "1.11.4",- defaultElement: "<input>",- options: {- appendTo: null,- autoFocus: false,- delay: 300,- minLength: 1,- position: {- my: "left top",- at: "left bottom",- collision: "none"- },- source: null,-- // callbacks- change: null,- close: null,- focus: null,- open: null,- response: null,- search: null,- select: null- },-- requestIndex: 0,- pending: 0,-- _create: function() {- // Some browsers only repeat keydown events, not keypress events,- // so we use the suppressKeyPress flag to determine if we've already- // handled the keydown event. #7269- // Unfortunately the code for & in keypress is the same as the up arrow,- // so we use the suppressKeyPressRepeat flag to avoid handling keypress- // events when we know the keydown event was used to modify the- // search term. #7799- var suppressKeyPress, suppressKeyPressRepeat, suppressInput,- nodeName = this.element[ 0 ].nodeName.toLowerCase(),- isTextarea = nodeName === "textarea",- isInput = nodeName === "input";-- this.isMultiLine =- // Textareas are always multi-line- isTextarea ? true :- // Inputs are always single-line, even if inside a contentEditable element- // IE also treats inputs as contentEditable- isInput ? false :- // All other element types are determined by whether or not they're contentEditable- this.element.prop( "isContentEditable" );-- this.valueMethod = this.element[ isTextarea || isInput ? "val" : "text" ];- this.isNewMenu = true;-- this.element- .addClass( "ui-autocomplete-input" )- .attr( "autocomplete", "off" );-- this._on( this.element, {- keydown: function( event ) {- if ( this.element.prop( "readOnly" ) ) {- suppressKeyPress = true;- suppressInput = true;- suppressKeyPressRepeat = true;- return;- }-- suppressKeyPress = false;- suppressInput = false;- suppressKeyPressRepeat = false;- var keyCode = $.ui.keyCode;- switch ( event.keyCode ) {- case keyCode.PAGE_UP:- suppressKeyPress = true;- this._move( "previousPage", event );- break;- case keyCode.PAGE_DOWN:- suppressKeyPress = true;- this._move( "nextPage", event );- break;- case keyCode.UP:- suppressKeyPress = true;- this._keyEvent( "previous", event );- break;- case keyCode.DOWN:- suppressKeyPress = true;- this._keyEvent( "next", event );- break;- case keyCode.ENTER:- // when menu is open and has focus- if ( this.menu.active ) {- // #6055 - Opera still allows the keypress to occur- // which causes forms to submit- suppressKeyPress = true;- event.preventDefault();- this.menu.select( event );- }- break;- case keyCode.TAB:- if ( this.menu.active ) {- this.menu.select( event );- }- break;- case keyCode.ESCAPE:- if ( this.menu.element.is( ":visible" ) ) {- if ( !this.isMultiLine ) {- this._value( this.term );- }- this.close( event );- // Different browsers have different default behavior for escape- // Single press can mean undo or clear- // Double press in IE means clear the whole form- event.preventDefault();- }- break;- default:- suppressKeyPressRepeat = true;- // search timeout should be triggered before the input value is changed- this._searchTimeout( event );- break;- }- },- keypress: function( event ) {- if ( suppressKeyPress ) {- suppressKeyPress = false;- if ( !this.isMultiLine || this.menu.element.is( ":visible" ) ) {- event.preventDefault();- }- return;- }- if ( suppressKeyPressRepeat ) {- return;- }-- // replicate some key handlers to allow them to repeat in Firefox and Opera- var keyCode = $.ui.keyCode;- switch ( event.keyCode ) {- case keyCode.PAGE_UP:- this._move( "previousPage", event );- break;- case keyCode.PAGE_DOWN:- this._move( "nextPage", event );- break;- case keyCode.UP:- this._keyEvent( "previous", event );- break;- case keyCode.DOWN:- this._keyEvent( "next", event );- break;- }- },- input: function( event ) {- if ( suppressInput ) {- suppressInput = false;- event.preventDefault();- return;- }- this._searchTimeout( event );- },- focus: function() {- this.selectedItem = null;- this.previous = this._value();- },- blur: function( event ) {- if ( this.cancelBlur ) {- delete this.cancelBlur;- return;- }-- clearTimeout( this.searching );- this.close( event );- this._change( event );- }- });-- this._initSource();- this.menu = $( "<ul>" )- .addClass( "ui-autocomplete ui-front" )- .appendTo( this._appendTo() )- .menu({- // disable ARIA support, the live region takes care of that- role: null- })- .hide()- .menu( "instance" );-- this._on( this.menu.element, {- mousedown: function( event ) {- // prevent moving focus out of the text field- event.preventDefault();-- // IE doesn't prevent moving focus even with event.preventDefault()- // so we set a flag to know when we should ignore the blur event- this.cancelBlur = true;- this._delay(function() {- delete this.cancelBlur;- });-- // clicking on the scrollbar causes focus to shift to the body- // but we can't detect a mouseup or a click immediately afterward- // so we have to track the next mousedown and close the menu if- // the user clicks somewhere outside of the autocomplete- var menuElement = this.menu.element[ 0 ];- if ( !$( event.target ).closest( ".ui-menu-item" ).length ) {- this._delay(function() {- var that = this;- this.document.one( "mousedown", function( event ) {- if ( event.target !== that.element[ 0 ] &&- event.target !== menuElement &&- !$.contains( menuElement, event.target ) ) {- that.close();- }- });- });- }- },- menufocus: function( event, ui ) {- var label, item;- // support: Firefox- // Prevent accidental activation of menu items in Firefox (#7024 #9118)- if ( this.isNewMenu ) {- this.isNewMenu = false;- if ( event.originalEvent && /^mouse/.test( event.originalEvent.type ) ) {- this.menu.blur();-- this.document.one( "mousemove", function() {- $( event.target ).trigger( event.originalEvent );- });-- return;- }- }-- item = ui.item.data( "ui-autocomplete-item" );- if ( false !== this._trigger( "focus", event, { item: item } ) ) {- // use value to match what will end up in the input, if it was a key event- if ( event.originalEvent && /^key/.test( event.originalEvent.type ) ) {- this._value( item.value );- }- }-- // Announce the value in the liveRegion- label = ui.item.attr( "aria-label" ) || item.value;- if ( label && $.trim( label ).length ) {- this.liveRegion.children().hide();- $( "<div>" ).text( label ).appendTo( this.liveRegion );- }- },- menuselect: function( event, ui ) {- var item = ui.item.data( "ui-autocomplete-item" ),- previous = this.previous;-- // only trigger when focus was lost (click on menu)- if ( this.element[ 0 ] !== this.document[ 0 ].activeElement ) {- this.element.focus();- this.previous = previous;- // #6109 - IE triggers two focus events and the second- // is asynchronous, so we need to reset the previous- // term synchronously and asynchronously :-(- this._delay(function() {- this.previous = previous;- this.selectedItem = item;- });- }-- if ( false !== this._trigger( "select", event, { item: item } ) ) {- this._value( item.value );- }- // reset the term after the select event- // this allows custom select handling to work properly- this.term = this._value();-- this.close( event );- this.selectedItem = item;- }- });-- this.liveRegion = $( "<span>", {- role: "status",- "aria-live": "assertive",- "aria-relevant": "additions"- })- .addClass( "ui-helper-hidden-accessible" )- .appendTo( this.document[ 0 ].body );-- // turning off autocomplete prevents the browser from remembering the- // value when navigating through history, so we re-enable autocomplete- // if the page is unloaded before the widget is destroyed. #7790- 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( key, value ) {- this._super( key, value );- if ( key === "source" ) {- this._initSource();- }- if ( key === "appendTo" ) {- this.menu.element.appendTo( this._appendTo() );- }- if ( key === "disabled" && value && this.xhr ) {- this.xhr.abort();- }- },-- _appendTo: function() {- var element = this.options.appendTo;-- if ( element ) {- element = element.jquery || element.nodeType ?- $( element ) :- this.document.find( element ).eq( 0 );- }-- if ( !element || !element[ 0 ] ) {- element = this.element.closest( ".ui-front" );- }-- if ( !element.length ) {- element = this.document[ 0 ].body;- }-- return element;- },-- _initSource: function() {- var array, url,- that = this;- if ( $.isArray( this.options.source ) ) {- array = this.options.source;- this.source = function( request, response ) {- response( $.ui.autocomplete.filter( array, request.term ) );- };- } else if ( typeof this.options.source === "string" ) {- url = this.options.source;- this.source = function( request, response ) {- if ( that.xhr ) {- that.xhr.abort();- }- that.xhr = $.ajax({- url: url,- data: request,- dataType: "json",- success: function( data ) {- response( data );- },- error: function() {- response([]);- }- });- };- } else {- this.source = this.options.source;- }- },-- _searchTimeout: function( event ) {- clearTimeout( this.searching );- this.searching = this._delay(function() {-- // Search if the value has changed, or if the user retypes the same value (see #7434)- var equalValues = this.term === this._value(),- menuVisible = this.menu.element.is( ":visible" ),- modifierKey = event.altKey || event.ctrlKey || event.metaKey || event.shiftKey;-- if ( !equalValues || ( equalValues && !menuVisible && !modifierKey ) ) {- this.selectedItem = null;- this.search( null, event );- }- }, this.options.delay );- },-- search: function( value, event ) {- value = value != null ? value : this._value();-- // always save the actual value, not the one passed as an argument- this.term = this._value();-- if ( value.length < this.options.minLength ) {- return this.close( event );- }-- if ( this._trigger( "search", event ) === false ) {- return;- }-- return this._search( value );- },-- _search: function( value ) {- this.pending++;- this.element.addClass( "ui-autocomplete-loading" );- this.cancelSearch = false;-- this.source( { term: value }, this._response() );- },-- _response: function() {- var index = ++this.requestIndex;-- return $.proxy(function( content ) {- if ( index === this.requestIndex ) {- this.__response( content );- }-- this.pending--;- if ( !this.pending ) {- this.element.removeClass( "ui-autocomplete-loading" );- }- }, this );- },-- __response: function( content ) {- if ( content ) {- content = this._normalize( content );- }- this._trigger( "response", null, { content: content } );- if ( !this.options.disabled && content && content.length && !this.cancelSearch ) {- this._suggest( content );- this._trigger( "open" );- } else {- // use ._close() instead of .close() so we don't cancel future searches- this._close();- }- },-- close: function( event ) {- this.cancelSearch = true;- this._close( event );- },-- _close: function( event ) {- if ( this.menu.element.is( ":visible" ) ) {- this.menu.element.hide();- this.menu.blur();- this.isNewMenu = true;- this._trigger( "close", event );- }- },-- _change: function( event ) {- if ( this.previous !== this._value() ) {- this._trigger( "change", event, { item: this.selectedItem } );- }- },-- _normalize: function( items ) {- // assume all items have the right format when the first item is complete- if ( items.length && items[ 0 ].label && items[ 0 ].value ) {- return items;- }- return $.map( items, function( item ) {- if ( typeof item === "string" ) {- return {- label: item,- value: item- };- }- return $.extend( {}, item, {- label: item.label || item.value,- value: item.value || item.label- });- });- },-- _suggest: function( items ) {- var ul = this.menu.element.empty();- this._renderMenu( ul, items );- this.isNewMenu = true;- this.menu.refresh();-- // size and position menu- ul.show();- this._resizeMenu();- ul.position( $.extend({- of: this.element- }, this.options.position ) );-- if ( this.options.autoFocus ) {- this.menu.next();- }- },-- _resizeMenu: function() {- var ul = this.menu.element;- ul.outerWidth( Math.max(- // Firefox wraps long text (possibly a rounding bug)- // so we add 1px to avoid the wrapping (#7513)- ul.width( "" ).outerWidth() + 1,- this.element.outerWidth()- ) );- },-- _renderMenu: function( ul, items ) {- var that = this;- $.each( items, function( index, item ) {- that._renderItemData( ul, item );- });- },-- _renderItemData: function( ul, item ) {- return this._renderItem( ul, item ).data( "ui-autocomplete-item", item );- },-- _renderItem: function( ul, item ) {- return $( "<li>" ).text( item.label ).appendTo( ul );- },-- _move: function( direction, event ) {- if ( !this.menu.element.is( ":visible" ) ) {- this.search( null, event );- return;- }- if ( this.menu.isFirstItem() && /^previous/.test( direction ) ||- this.menu.isLastItem() && /^next/.test( direction ) ) {-- if ( !this.isMultiLine ) {- this._value( this.term );- }-- this.menu.blur();- return;- }- this.menu[ direction ]( event );- },-- widget: function() {- return this.menu.element;- },-- _value: function() {- return this.valueMethod.apply( this.element, arguments );- },-- _keyEvent: function( keyEvent, event ) {- if ( !this.isMultiLine || this.menu.element.is( ":visible" ) ) {- this._move( keyEvent, event );-- // prevents moving cursor to beginning/end of the text field in some browsers- event.preventDefault();- }- }-});--$.extend( $.ui.autocomplete, {- escapeRegex: function( value ) {- return value.replace( /[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&" );- },- filter: function( array, term ) {- var matcher = new RegExp( $.ui.autocomplete.escapeRegex( term ), "i" );- return $.grep( array, function( value ) {- return matcher.test( value.label || value.value || value );- });- }-});--// live region extension, adding a `messages` option-// NOTE: This is an experimental API. We are still investigating-// a full solution for string manipulation and internationalization.-$.widget( "ui.autocomplete", $.ui.autocomplete, {- options: {- messages: {- noResults: "No search results.",- results: function( amount ) {- return amount + ( amount > 1 ? " results are" : " result is" ) +- " available, use up and down arrow keys to navigate.";- }- }- },-- __response: function( content ) {- var message;- this._superApply( arguments );- if ( this.options.disabled || this.cancelSearch ) {- return;- }- if ( content && content.length ) {- message = this.options.messages.results( content.length );- } else {- message = this.options.messages.noResults;- }- this.liveRegion.children().hide();- $( "<div>" ).text( message ).appendTo( this.liveRegion );- }-});--var autocomplete = $.ui.autocomplete;---/*!- * jQuery UI Button 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/button/- */---var lastActive,- baseClasses = "ui-button ui-widget ui-state-default ui-corner-all",- typeClasses = "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",- formResetHandler = function() {- var form = $( this );- setTimeout(function() {- form.find( ":ui-button" ).button( "refresh" );- }, 1 );- },- radioGroup = function( radio ) {- var name = radio.name,- form = radio.form,- radios = $( [] );- if ( name ) {- name = name.replace( /'/g, "\\'" );- if ( form ) {- radios = $( form ).find( "[name='" + name + "'][type=radio]" );- } else {- radios = $( "[name='" + name + "'][type=radio]", radio.ownerDocument )- .filter(function() {- return !this.form;- });- }- }- return radios;- };--$.widget( "ui.button", {- version: "1.11.4",- defaultElement: "<button>",- options: {- disabled: null,- text: true,- label: null,- icons: {- primary: null,- secondary: null- }- },- _create: function() {- this.element.closest( "form" )- .unbind( "reset" + this.eventNamespace )- .bind( "reset" + this.eventNamespace, formResetHandler );-- if ( typeof this.options.disabled !== "boolean" ) {- this.options.disabled = !!this.element.prop( "disabled" );- } else {- this.element.prop( "disabled", this.options.disabled );- }-- this._determineButtonType();- this.hasTitle = !!this.buttonElement.attr( "title" );-- var that = this,- options = this.options,- toggleButton = this.type === "checkbox" || this.type === "radio",- activeClass = !toggleButton ? "ui-state-active" : "";-- if ( options.label === null ) {- options.label = (this.type === "input" ? this.buttonElement.val() : this.buttonElement.html());- }-- this._hoverable( this.buttonElement );-- this.buttonElement- .addClass( baseClasses )- .attr( "role", "button" )- .bind( "mouseenter" + this.eventNamespace, function() {- if ( options.disabled ) {- return;- }- if ( this === lastActive ) {- $( this ).addClass( "ui-state-active" );- }- })- .bind( "mouseleave" + this.eventNamespace, function() {- if ( options.disabled ) {- return;- }- $( this ).removeClass( activeClass );- })- .bind( "click" + this.eventNamespace, function( event ) {- if ( options.disabled ) {- event.preventDefault();- event.stopImmediatePropagation();- }- });-- // Can't use _focusable() because the element that receives focus- // and the element that gets the ui-state-focus class are different- this._on({- focus: function() {- this.buttonElement.addClass( "ui-state-focus" );- },- blur: function() {- this.buttonElement.removeClass( "ui-state-focus" );- }- });-- if ( toggleButton ) {- this.element.bind( "change" + this.eventNamespace, function() {- that.refresh();- });- }-- if ( this.type === "checkbox" ) {- this.buttonElement.bind( "click" + this.eventNamespace, function() {- if ( options.disabled ) {- return false;- }- });- } else if ( this.type === "radio" ) {- this.buttonElement.bind( "click" + this.eventNamespace, function() {- if ( options.disabled ) {- return false;- }- $( this ).addClass( "ui-state-active" );- that.buttonElement.attr( "aria-pressed", "true" );-- var radio = that.element[ 0 ];- radioGroup( radio )- .not( radio )- .map(function() {- return $( this ).button( "widget" )[ 0 ];- })- .removeClass( "ui-state-active" )- .attr( "aria-pressed", "false" );- });- } else {- this.buttonElement- .bind( "mousedown" + this.eventNamespace, function() {- if ( options.disabled ) {- return false;- }- $( this ).addClass( "ui-state-active" );- lastActive = this;- that.document.one( "mouseup", function() {- lastActive = null;- });- })- .bind( "mouseup" + this.eventNamespace, function() {- if ( options.disabled ) {- return false;- }- $( this ).removeClass( "ui-state-active" );- })- .bind( "keydown" + this.eventNamespace, function(event) {- if ( options.disabled ) {- return false;- }- if ( event.keyCode === $.ui.keyCode.SPACE || event.keyCode === $.ui.keyCode.ENTER ) {- $( this ).addClass( "ui-state-active" );- }- })- // see #8559, we bind to blur here in case the button element loses- // focus between keydown and keyup, it would be left in an "active" state- .bind( "keyup" + this.eventNamespace + " blur" + this.eventNamespace, function() {- $( this ).removeClass( "ui-state-active" );- });-- if ( this.buttonElement.is("a") ) {- this.buttonElement.keyup(function(event) {- if ( event.keyCode === $.ui.keyCode.SPACE ) {- // TODO pass through original event correctly (just as 2nd argument doesn't work)- $( this ).click();- }- });- }- }-- this._setOption( "disabled", options.disabled );- this._resetButton();- },-- _determineButtonType: function() {- var ancestor, labelSelector, checked;-- if ( this.element.is("[type=checkbox]") ) {- this.type = "checkbox";- } else if ( this.element.is("[type=radio]") ) {- this.type = "radio";- } else if ( this.element.is("input") ) {- this.type = "input";- } else {- this.type = "button";- }-- if ( this.type === "checkbox" || this.type === "radio" ) {- // we don't search against the document in case the element- // is disconnected from the DOM- ancestor = this.element.parents().last();- labelSelector = "label[for='" + this.element.attr("id") + "']";- this.buttonElement = ancestor.find( labelSelector );- if ( !this.buttonElement.length ) {- ancestor = ancestor.length ? ancestor.siblings() : this.element.siblings();- this.buttonElement = ancestor.filter( labelSelector );- if ( !this.buttonElement.length ) {- this.buttonElement = ancestor.find( labelSelector );- }- }- this.element.addClass( "ui-helper-hidden-accessible" );-- checked = this.element.is( ":checked" );- if ( checked ) {- this.buttonElement.addClass( "ui-state-active" );- }- this.buttonElement.prop( "aria-pressed", checked );- } else {- this.buttonElement = this.element;- }- },-- widget: function() {- return this.buttonElement;- },-- _destroy: function() {- this.element- .removeClass( "ui-helper-hidden-accessible" );- this.buttonElement- .removeClass( baseClasses + " ui-state-active " + typeClasses )- .removeAttr( "role" )- .removeAttr( "aria-pressed" )- .html( this.buttonElement.find(".ui-button-text").html() );-- if ( !this.hasTitle ) {- this.buttonElement.removeAttr( "title" );- }- },-- _setOption: function( key, value ) {- this._super( key, value );- if ( key === "disabled" ) {- this.widget().toggleClass( "ui-state-disabled", !!value );- this.element.prop( "disabled", !!value );- if ( value ) {- if ( this.type === "checkbox" || this.type === "radio" ) {- this.buttonElement.removeClass( "ui-state-focus" );- } else {- this.buttonElement.removeClass( "ui-state-focus ui-state-active" );- }- }- return;- }- this._resetButton();- },-- refresh: function() {- //See #8237 & #8828- var isDisabled = this.element.is( "input, button" ) ? this.element.is( ":disabled" ) : this.element.hasClass( "ui-button-disabled" );-- if ( isDisabled !== this.options.disabled ) {- this._setOption( "disabled", isDisabled );- }- if ( this.type === "radio" ) {- radioGroup( this.element[0] ).each(function() {- if ( $( this ).is( ":checked" ) ) {- $( this ).button( "widget" )- .addClass( "ui-state-active" )- .attr( "aria-pressed", "true" );- } else {- $( this ).button( "widget" )- .removeClass( "ui-state-active" )- .attr( "aria-pressed", "false" );- }- });- } else if ( this.type === "checkbox" ) {- if ( this.element.is( ":checked" ) ) {- this.buttonElement- .addClass( "ui-state-active" )- .attr( "aria-pressed", "true" );- } else {- this.buttonElement- .removeClass( "ui-state-active" )- .attr( "aria-pressed", "false" );- }- }- },-- _resetButton: function() {- if ( this.type === "input" ) {- if ( this.options.label ) {- this.element.val( this.options.label );- }- return;- }- var buttonElement = this.buttonElement.removeClass( typeClasses ),- buttonText = $( "<span></span>", this.document[0] )- .addClass( "ui-button-text" )- .html( this.options.label )- .appendTo( buttonElement.empty() )- .text(),- icons = this.options.icons,- multipleIcons = icons.primary && icons.secondary,- buttonClasses = [];-- if ( icons.primary || icons.secondary ) {- if ( this.options.text ) {- buttonClasses.push( "ui-button-text-icon" + ( multipleIcons ? "s" : ( icons.primary ? "-primary" : "-secondary" ) ) );- }-- if ( icons.primary ) {- buttonElement.prepend( "<span class='ui-button-icon-primary ui-icon " + icons.primary + "'></span>" );- }-- if ( icons.secondary ) {- buttonElement.append( "<span class='ui-button-icon-secondary ui-icon " + icons.secondary + "'></span>" );- }-- if ( !this.options.text ) {- buttonClasses.push( multipleIcons ? "ui-button-icons-only" : "ui-button-icon-only" );-- if ( !this.hasTitle ) {- buttonElement.attr( "title", $.trim( buttonText ) );- }- }- } else {- buttonClasses.push( "ui-button-text-only" );- }- buttonElement.addClass( buttonClasses.join( " " ) );- }-});--$.widget( "ui.buttonset", {- version: "1.11.4",- 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( key, value ) {- if ( key === "disabled" ) {- this.buttons.button( "option", key, value );- }-- this._super( key, value );- },-- refresh: function() {- var rtl = this.element.css( "direction" ) === "rtl",- allButtons = this.element.find( this.options.items ),- existingButtons = allButtons.filter( ":ui-button" );-- // Initialize new buttons- allButtons.not( ":ui-button" ).button();-- // Refresh existing buttons- existingButtons.button( "refresh" );-- this.buttons = allButtons- .map(function() {- return $( this ).button( "widget" )[ 0 ];- })- .removeClass( "ui-corner-all ui-corner-left ui-corner-right" )- .filter( ":first" )- .addClass( rtl ? "ui-corner-right" : "ui-corner-left" )- .end()- .filter( ":last" )- .addClass( rtl ? "ui-corner-left" : "ui-corner-right" )- .end()- .end();- },-- _destroy: function() {- this.element.removeClass( "ui-buttonset" );- this.buttons- .map(function() {- return $( this ).button( "widget" )[ 0 ];- })- .removeClass( "ui-corner-left ui-corner-right" )- .end()- .button( "destroy" );- }-});--var button = $.ui.button;---/*!- * jQuery UI Datepicker 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/datepicker/- */---$.extend($.ui, { datepicker: { version: "1.11.4" } });--var datepicker_instActive;--function datepicker_getZindex( elem ) {- var position, value;- while ( elem.length && elem[ 0 ] !== document ) {- // Ignore z-index if position is set to a value where z-index is ignored by the browser- // This makes behavior of this function consistent across browsers- // WebKit always returns auto if the element is positioned- position = elem.css( "position" );- if ( position === "absolute" || position === "relative" || position === "fixed" ) {- // IE returns 0 when zIndex is not specified- // other browsers return a string- // we ignore the case of nested elements with an explicit value of 0- // <div style="z-index: -10;"><div style="z-index: 0;"></div></div>- value = parseInt( elem.css( "zIndex" ), 10 );- if ( !isNaN( value ) && value !== 0 ) {- return value;- }- }- elem = elem.parent();- }-- return 0;-}-/* Date picker manager.- Use the singleton instance of this class, $.datepicker, to interact with the date picker.- Settings for (groups of) date pickers are maintained in an instance object,- allowing multiple different settings on the same page. */--function Datepicker() {- this._curInst = null; // The current instance in use- this._keyEvent = false; // If the last event was a key event- this._disabledInputs = []; // List of date picker inputs that have been disabled- this._datepickerShowing = false; // True if the popup picker is showing , false if not- this._inDialog = false; // True if showing within a "dialog", false if not- this._mainDivId = "ui-datepicker-div"; // The ID of the main datepicker division- this._inlineClass = "ui-datepicker-inline"; // The name of the inline marker class- this._appendClass = "ui-datepicker-append"; // The name of the append marker class- this._triggerClass = "ui-datepicker-trigger"; // The name of the trigger marker class- this._dialogClass = "ui-datepicker-dialog"; // The name of the dialog marker class- this._disableClass = "ui-datepicker-disabled"; // The name of the disabled covering marker class- this._unselectableClass = "ui-datepicker-unselectable"; // The name of the unselectable cell marker class- this._currentClass = "ui-datepicker-current-day"; // The name of the current day marker class- this._dayOverClass = "ui-datepicker-days-cell-over"; // The name of the day hover marker class- this.regional = []; // Available regional settings, indexed by language code- this.regional[""] = { // Default regional settings- closeText: "Done", // Display text for close link- prevText: "Prev", // Display text for previous month link- nextText: "Next", // Display text for next month link- currentText: "Today", // Display text for current month link- monthNames: ["January","February","March","April","May","June",- "July","August","September","October","November","December"], // Names of months for drop-down and formatting- monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], // For formatting- dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], // For formatting- dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], // For formatting- dayNamesMin: ["Su","Mo","Tu","We","Th","Fr","Sa"], // Column headings for days starting at Sunday- weekHeader: "Wk", // Column header for week of the year- dateFormat: "mm/dd/yy", // See format options on parseDate- firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ...- isRTL: false, // True if right-to-left language, false if left-to-right- showMonthAfterYear: false, // True if the year select precedes month, false for month then year- yearSuffix: "" // Additional text to append to the year in the month headers- };- this._defaults = { // Global defaults for all the date picker instances- showOn: "focus", // "focus" for popup on focus,- // "button" for trigger button, or "both" for either- showAnim: "fadeIn", // Name of jQuery animation for popup- showOptions: {}, // Options for enhanced animations- defaultDate: null, // Used when field is blank: actual date,- // +/-number for offset from today, null for today- appendText: "", // Display text following the input box, e.g. showing the format- buttonText: "...", // Text for trigger button- buttonImage: "", // URL for trigger button image- buttonImageOnly: false, // True if the image appears alone, false if it appears on a button- hideIfNoPrevNext: false, // True to hide next/previous month links- // if not applicable, false to just disable them- navigationAsDateFormat: false, // True if date formatting applied to prev/today/next links- gotoCurrent: false, // True if today link goes back to current selection instead- changeMonth: false, // True if month can be selected directly, false if only prev/next- changeYear: false, // True if year can be selected directly, false if only prev/next- yearRange: "c-10:c+10", // Range of years to display in drop-down,- // either relative to today's year (-nn:+nn), relative to currently displayed year- // (c-nn:c+nn), absolute (nnnn:nnnn), or a combination of the above (nnnn:-n)- showOtherMonths: false, // True to show dates in other months, false to leave blank- selectOtherMonths: false, // True to allow selection of dates in other months, false for unselectable- showWeek: false, // True to show week of the year, false to not show it- calculateWeek: this.iso8601Week, // How to calculate the week of the year,- // takes a Date and returns the number of the week for it- shortYearCutoff: "+10", // Short year values < this are in the current century,- // > this are in the previous century,- // string value starting with "+" for current year + value- minDate: null, // The earliest selectable date, or null for no limit- maxDate: null, // The latest selectable date, or null for no limit- duration: "fast", // Duration of display/closure- beforeShowDay: null, // Function that takes a date and returns an array with- // [0] = true if selectable, false if not, [1] = custom CSS class name(s) or "",- // [2] = cell title (optional), e.g. $.datepicker.noWeekends- beforeShow: null, // Function that takes an input field and- // returns a set of custom settings for the date picker- onSelect: null, // Define a callback function when a date is selected- onChangeMonthYear: null, // Define a callback function when the month or year is changed- onClose: null, // Define a callback function when the datepicker is closed- numberOfMonths: 1, // Number of months to show at a time- showCurrentAtPos: 0, // The position in multipe months at which to show the current month (starting at 0)- stepMonths: 1, // Number of months to step back/forward- stepBigMonths: 12, // Number of months to step back/forward for the big links- altField: "", // Selector for an alternate field to store selected dates into- altFormat: "", // The date format to use for the alternate field- constrainInput: true, // The input is constrained by the current date format- showButtonPanel: false, // True to show button panel, false to not show it- autoSize: false, // True to size the input for the date format, false to leave as is- disabled: false // The initial disabled state- };- $.extend(this._defaults, this.regional[""]);- this.regional.en = $.extend( true, {}, this.regional[ "" ]);- this.regional[ "en-US" ] = $.extend( true, {}, this.regional.en );- this.dpDiv = datepicker_bindHover($("<div id='" + this._mainDivId + "' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"));-}--$.extend(Datepicker.prototype, {- /* Class name added to elements to indicate already configured with a date picker. */- markerClassName: "hasDatepicker",-- //Keep track of the maximum number of rows displayed (see #7043)- maxRows: 4,-- // TODO rename to "widget" when switching to widget factory- _widgetDatepicker: function() {- return this.dpDiv;- },-- /* Override the default settings for all instances of the date picker.- * @param settings object - the new settings to use as defaults (anonymous object)- * @return the manager object- */- setDefaults: function(settings) {- datepicker_extendRemove(this._defaults, settings || {});- return this;- },-- /* Attach the date picker to a jQuery selection.- * @param target element - the target input field or division or span- * @param settings object - the new settings to use for this date picker instance (anonymous)- */- _attachDatepicker: function(target, settings) {- var nodeName, inline, inst;- nodeName = target.nodeName.toLowerCase();- inline = (nodeName === "div" || nodeName === "span");- if (!target.id) {- this.uuid += 1;- target.id = "dp" + this.uuid;- }- inst = this._newInst($(target), inline);- inst.settings = $.extend({}, settings || {});- if (nodeName === "input") {- this._connectDatepicker(target, inst);- } else if (inline) {- this._inlineDatepicker(target, inst);- }- },-- /* Create a new instance object. */- _newInst: function(target, inline) {- var id = target[0].id.replace(/([^A-Za-z0-9_\-])/g, "\\\\$1"); // escape jQuery meta chars- return {id: id, input: target, // associated target- selectedDay: 0, selectedMonth: 0, selectedYear: 0, // current selection- drawMonth: 0, drawYear: 0, // month being drawn- inline: inline, // is datepicker inline or not- dpDiv: (!inline ? this.dpDiv : // presentation div- datepicker_bindHover($("<div class='" + this._inlineClass + " ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")))};- },-- /* Attach the date picker to an input field. */- _connectDatepicker: function(target, inst) {- var input = $(target);- inst.append = $([]);- inst.trigger = $([]);- if (input.hasClass(this.markerClassName)) {- return;- }- this._attachments(input, inst);- input.addClass(this.markerClassName).keydown(this._doKeyDown).- keypress(this._doKeyPress).keyup(this._doKeyUp);- this._autoSize(inst);- $.data(target, "datepicker", inst);- //If disabled option is true, disable the datepicker once it has been attached to the input (see ticket #5665)- if( inst.settings.disabled ) {- this._disableDatepicker( target );- }- },-- /* Make attachments based on settings. */- _attachments: function(input, inst) {- var showOn, buttonText, buttonImage,- appendText = this._get(inst, "appendText"),- isRTL = this._get(inst, "isRTL");-- if (inst.append) {- inst.append.remove();- }- if (appendText) {- inst.append = $("<span class='" + this._appendClass + "'>" + appendText + "</span>");- input[isRTL ? "before" : "after"](inst.append);- }-- input.unbind("focus", this._showDatepicker);-- if (inst.trigger) {- inst.trigger.remove();- }-- showOn = this._get(inst, "showOn");- if (showOn === "focus" || showOn === "both") { // pop-up date picker when in the marked field- input.focus(this._showDatepicker);- }- if (showOn === "button" || showOn === "both") { // pop-up date picker when button clicked- buttonText = this._get(inst, "buttonText");- buttonImage = this._get(inst, "buttonImage");- inst.trigger = $(this._get(inst, "buttonImageOnly") ?- $("<img/>").addClass(this._triggerClass).- attr({ src: buttonImage, alt: buttonText, title: buttonText }) :- $("<button type='button'></button>").addClass(this._triggerClass).- html(!buttonImage ? buttonText : $("<img/>").attr(- { src:buttonImage, alt:buttonText, title:buttonText })));- input[isRTL ? "before" : "after"](inst.trigger);- inst.trigger.click(function() {- if ($.datepicker._datepickerShowing && $.datepicker._lastInput === input[0]) {- $.datepicker._hideDatepicker();- } else if ($.datepicker._datepickerShowing && $.datepicker._lastInput !== input[0]) {- $.datepicker._hideDatepicker();- $.datepicker._showDatepicker(input[0]);- } else {- $.datepicker._showDatepicker(input[0]);- }- return false;- });- }- },-- /* Apply the maximum length for the date format. */- _autoSize: function(inst) {- if (this._get(inst, "autoSize") && !inst.inline) {- var findMax, max, maxI, i,- date = new Date(2009, 12 - 1, 20), // Ensure double digits- dateFormat = this._get(inst, "dateFormat");-- if (dateFormat.match(/[DM]/)) {- findMax = function(names) {- max = 0;- maxI = 0;- for (i = 0; i < names.length; i++) {- if (names[i].length > max) {- max = names[i].length;- maxI = i;- }- }- return maxI;- };- date.setMonth(findMax(this._get(inst, (dateFormat.match(/MM/) ?- "monthNames" : "monthNamesShort"))));- date.setDate(findMax(this._get(inst, (dateFormat.match(/DD/) ?- "dayNames" : "dayNamesShort"))) + 20 - date.getDay());- }- inst.input.attr("size", this._formatDate(inst, date).length);- }- },-- /* Attach an inline date picker to a div. */- _inlineDatepicker: function(target, inst) {- var divSpan = $(target);- if (divSpan.hasClass(this.markerClassName)) {- return;- }- divSpan.addClass(this.markerClassName).append(inst.dpDiv);- $.data(target, "datepicker", inst);- this._setDate(inst, this._getDefaultDate(inst), true);- this._updateDatepicker(inst);- this._updateAlternate(inst);- //If disabled option is true, disable the datepicker before showing it (see ticket #5665)- if( inst.settings.disabled ) {- this._disableDatepicker( target );- }- // Set display:block in place of inst.dpDiv.show() which won't work on disconnected elements- // http://bugs.jqueryui.com/ticket/7552 - A Datepicker created on a detached div has zero height- inst.dpDiv.css( "display", "block" );- },-- /* Pop-up the date picker in a "dialog" box.- * @param input element - ignored- * @param date string or Date - the initial date to display- * @param onSelect function - the function to call when a date is selected- * @param settings object - update the dialog date picker instance's settings (anonymous object)- * @param pos int[2] - coordinates for the dialog's position within the screen or- * event - with x/y coordinates or- * leave empty for default (screen centre)- * @return the manager object- */- _dialogDatepicker: function(input, date, onSelect, settings, pos) {- var id, browserWidth, browserHeight, scrollX, scrollY,- inst = this._dialogInst; // internal instance-- if (!inst) {- this.uuid += 1;- id = "dp" + this.uuid;- this._dialogInput = $("<input type='text' id='" + id +- "' style='position: absolute; top: -100px; width: 0px;'/>");- this._dialogInput.keydown(this._doKeyDown);- $("body").append(this._dialogInput);- inst = this._dialogInst = this._newInst(this._dialogInput, false);- inst.settings = {};- $.data(this._dialogInput[0], "datepicker", inst);- }- datepicker_extendRemove(inst.settings, settings || {});- date = (date && date.constructor === Date ? this._formatDate(inst, date) : date);- this._dialogInput.val(date);-- this._pos = (pos ? (pos.length ? pos : [pos.pageX, pos.pageY]) : null);- if (!this._pos) {- browserWidth = document.documentElement.clientWidth;- browserHeight = document.documentElement.clientHeight;- scrollX = document.documentElement.scrollLeft || document.body.scrollLeft;- scrollY = document.documentElement.scrollTop || document.body.scrollTop;- this._pos = // should use actual width/height below- [(browserWidth / 2) - 100 + scrollX, (browserHeight / 2) - 150 + scrollY];- }-- // move input on screen for focus, but hidden behind dialog- this._dialogInput.css("left", (this._pos[0] + 20) + "px").css("top", this._pos[1] + "px");- inst.settings.onSelect = onSelect;- this._inDialog = true;- this.dpDiv.addClass(this._dialogClass);- this._showDatepicker(this._dialogInput[0]);- if ($.blockUI) {- $.blockUI(this.dpDiv);- }- $.data(this._dialogInput[0], "datepicker", inst);- return this;- },-- /* Detach a datepicker from its control.- * @param target element - the target input field or division or span- */- _destroyDatepicker: function(target) {- var nodeName,- $target = $(target),- inst = $.data(target, "datepicker");-- if (!$target.hasClass(this.markerClassName)) {- return;- }-- nodeName = target.nodeName.toLowerCase();- $.removeData(target, "datepicker");- if (nodeName === "input") {- inst.append.remove();- inst.trigger.remove();- $target.removeClass(this.markerClassName).- unbind("focus", this._showDatepicker).- unbind("keydown", this._doKeyDown).- unbind("keypress", this._doKeyPress).- unbind("keyup", this._doKeyUp);- } else if (nodeName === "div" || nodeName === "span") {- $target.removeClass(this.markerClassName).empty();- }-- if ( datepicker_instActive === inst ) {- datepicker_instActive = null;- }- },-- /* Enable the date picker to a jQuery selection.- * @param target element - the target input field or division or span- */- _enableDatepicker: function(target) {- var nodeName, inline,- $target = $(target),- inst = $.data(target, "datepicker");-- if (!$target.hasClass(this.markerClassName)) {- return;- }-- nodeName = target.nodeName.toLowerCase();- if (nodeName === "input") {- target.disabled = false;- inst.trigger.filter("button").- each(function() { this.disabled = false; }).end().- filter("img").css({opacity: "1.0", cursor: ""});- } else if (nodeName === "div" || nodeName === "span") {- inline = $target.children("." + this._inlineClass);- inline.children().removeClass("ui-state-disabled");- inline.find("select.ui-datepicker-month, select.ui-datepicker-year").- prop("disabled", false);- }- this._disabledInputs = $.map(this._disabledInputs,- function(value) { return (value === target ? null : value); }); // delete entry- },-- /* Disable the date picker to a jQuery selection.- * @param target element - the target input field or division or span- */- _disableDatepicker: function(target) {- var nodeName, inline,- $target = $(target),- inst = $.data(target, "datepicker");-- if (!$target.hasClass(this.markerClassName)) {- return;- }-- nodeName = target.nodeName.toLowerCase();- if (nodeName === "input") {- target.disabled = true;- inst.trigger.filter("button").- each(function() { this.disabled = true; }).end().- filter("img").css({opacity: "0.5", cursor: "default"});- } else if (nodeName === "div" || nodeName === "span") {- inline = $target.children("." + this._inlineClass);- inline.children().addClass("ui-state-disabled");- inline.find("select.ui-datepicker-month, select.ui-datepicker-year").- prop("disabled", true);- }- this._disabledInputs = $.map(this._disabledInputs,- function(value) { return (value === target ? null : value); }); // delete entry- this._disabledInputs[this._disabledInputs.length] = target;- },-- /* Is the first field in a jQuery collection disabled as a datepicker?- * @param target element - the target input field or division or span- * @return boolean - true if disabled, false if enabled- */- _isDisabledDatepicker: function(target) {- if (!target) {- return false;- }- for (var i = 0; i < this._disabledInputs.length; i++) {- if (this._disabledInputs[i] === target) {- return true;- }- }- return false;- },-- /* Retrieve the instance data for the target control.- * @param target element - the target input field or division or span- * @return object - the associated instance data- * @throws error if a jQuery problem getting data- */- _getInst: function(target) {- try {- return $.data(target, "datepicker");- }- catch (err) {- throw "Missing instance data for this datepicker";- }- },-- /* Update or retrieve the settings for a date picker attached to an input field or division.- * @param target element - the target input field or division or span- * @param name object - the new settings to update or- * string - the name of the setting to change or retrieve,- * when retrieving also "all" for all instance settings or- * "defaults" for all global defaults- * @param value any - the new value for the setting- * (omit if above is an object or to retrieve a value)- */- _optionDatepicker: function(target, name, value) {- var settings, date, minDate, maxDate,- inst = this._getInst(target);-- if (arguments.length === 2 && typeof name === "string") {- return (name === "defaults" ? $.extend({}, $.datepicker._defaults) :- (inst ? (name === "all" ? $.extend({}, inst.settings) :- this._get(inst, name)) : null));- }-- settings = name || {};- if (typeof name === "string") {- settings = {};- settings[name] = value;- }-- if (inst) {- if (this._curInst === inst) {- this._hideDatepicker();- }-- date = this._getDateDatepicker(target, true);- minDate = this._getMinMaxDate(inst, "min");- maxDate = this._getMinMaxDate(inst, "max");- datepicker_extendRemove(inst.settings, settings);- // reformat the old minDate/maxDate values if dateFormat changes and a new minDate/maxDate isn't provided- if (minDate !== null && settings.dateFormat !== undefined && settings.minDate === undefined) {- inst.settings.minDate = this._formatDate(inst, minDate);- }- if (maxDate !== null && settings.dateFormat !== undefined && settings.maxDate === undefined) {- inst.settings.maxDate = this._formatDate(inst, maxDate);- }- if ( "disabled" in settings ) {- if ( settings.disabled ) {- this._disableDatepicker(target);- } else {- this._enableDatepicker(target);- }- }- this._attachments($(target), inst);- this._autoSize(inst);- this._setDate(inst, date);- this._updateAlternate(inst);- this._updateDatepicker(inst);- }- },-- // change method deprecated- _changeDatepicker: function(target, name, value) {- this._optionDatepicker(target, name, value);- },-- /* Redraw the date picker attached to an input field or division.- * @param target element - the target input field or division or span- */- _refreshDatepicker: function(target) {- var inst = this._getInst(target);- if (inst) {- this._updateDatepicker(inst);- }- },-- /* Set the dates for a jQuery selection.- * @param target element - the target input field or division or span- * @param date Date - the new date- */- _setDateDatepicker: function(target, date) {- var inst = this._getInst(target);- if (inst) {- this._setDate(inst, date);- this._updateDatepicker(inst);- this._updateAlternate(inst);- }- },-- /* Get the date(s) for the first entry in a jQuery selection.- * @param target element - the target input field or division or span- * @param noDefault boolean - true if no default date is to be used- * @return Date - the current date- */- _getDateDatepicker: function(target, noDefault) {- var inst = this._getInst(target);- if (inst && !inst.inline) {- this._setDateFromField(inst, noDefault);- }- return (inst ? this._getDate(inst) : null);- },-- /* Handle keystrokes. */- _doKeyDown: function(event) {- var onSelect, dateStr, sel,- inst = $.datepicker._getInst(event.target),- handled = true,- isRTL = inst.dpDiv.is(".ui-datepicker-rtl");-- inst._keyEvent = true;- if ($.datepicker._datepickerShowing) {- switch (event.keyCode) {- case 9: $.datepicker._hideDatepicker();- handled = false;- break; // hide on tab out- case 13: sel = $("td." + $.datepicker._dayOverClass + ":not(." +- $.datepicker._currentClass + ")", inst.dpDiv);- if (sel[0]) {- $.datepicker._selectDay(event.target, inst.selectedMonth, inst.selectedYear, sel[0]);- }-- onSelect = $.datepicker._get(inst, "onSelect");- if (onSelect) {- dateStr = $.datepicker._formatDate(inst);-- // trigger custom callback- onSelect.apply((inst.input ? inst.input[0] : null), [dateStr, inst]);- } else {- $.datepicker._hideDatepicker();- }-- return false; // don't submit the form- case 27: $.datepicker._hideDatepicker();- break; // hide on escape- case 33: $.datepicker._adjustDate(event.target, (event.ctrlKey ?- -$.datepicker._get(inst, "stepBigMonths") :- -$.datepicker._get(inst, "stepMonths")), "M");- break; // previous month/year on page up/+ ctrl- case 34: $.datepicker._adjustDate(event.target, (event.ctrlKey ?- +$.datepicker._get(inst, "stepBigMonths") :- +$.datepicker._get(inst, "stepMonths")), "M");- break; // next month/year on page down/+ ctrl- case 35: if (event.ctrlKey || event.metaKey) {- $.datepicker._clearDate(event.target);- }- handled = event.ctrlKey || event.metaKey;- break; // clear on ctrl or command +end- case 36: if (event.ctrlKey || event.metaKey) {- $.datepicker._gotoToday(event.target);- }- handled = event.ctrlKey || event.metaKey;- break; // current on ctrl or command +home- case 37: if (event.ctrlKey || event.metaKey) {- $.datepicker._adjustDate(event.target, (isRTL ? +1 : -1), "D");- }- handled = event.ctrlKey || event.metaKey;- // -1 day on ctrl or command +left- if (event.originalEvent.altKey) {- $.datepicker._adjustDate(event.target, (event.ctrlKey ?- -$.datepicker._get(inst, "stepBigMonths") :- -$.datepicker._get(inst, "stepMonths")), "M");- }- // next month/year on alt +left on Mac- break;- case 38: if (event.ctrlKey || event.metaKey) {- $.datepicker._adjustDate(event.target, -7, "D");- }- handled = event.ctrlKey || event.metaKey;- break; // -1 week on ctrl or command +up- case 39: if (event.ctrlKey || event.metaKey) {- $.datepicker._adjustDate(event.target, (isRTL ? -1 : +1), "D");- }- handled = event.ctrlKey || event.metaKey;- // +1 day on ctrl or command +right- if (event.originalEvent.altKey) {- $.datepicker._adjustDate(event.target, (event.ctrlKey ?- +$.datepicker._get(inst, "stepBigMonths") :- +$.datepicker._get(inst, "stepMonths")), "M");- }- // next month/year on alt +right- break;- case 40: if (event.ctrlKey || event.metaKey) {- $.datepicker._adjustDate(event.target, +7, "D");- }- handled = event.ctrlKey || event.metaKey;- break; // +1 week on ctrl or command +down- default: handled = false;- }- } else if (event.keyCode === 36 && event.ctrlKey) { // display the date picker on ctrl+home- $.datepicker._showDatepicker(this);- } else {- handled = false;- }-- if (handled) {- event.preventDefault();- event.stopPropagation();- }- },-- /* Filter entered characters - based on date format. */- _doKeyPress: function(event) {- var chars, chr,- inst = $.datepicker._getInst(event.target);-- if ($.datepicker._get(inst, "constrainInput")) {- chars = $.datepicker._possibleChars($.datepicker._get(inst, "dateFormat"));- chr = String.fromCharCode(event.charCode == null ? event.keyCode : event.charCode);- return event.ctrlKey || event.metaKey || (chr < " " || !chars || chars.indexOf(chr) > -1);- }- },-- /* Synchronise manual entry and field/alternate field. */- _doKeyUp: function(event) {- var date,- inst = $.datepicker._getInst(event.target);-- if (inst.input.val() !== inst.lastVal) {- try {- date = $.datepicker.parseDate($.datepicker._get(inst, "dateFormat"),- (inst.input ? inst.input.val() : null),- $.datepicker._getFormatConfig(inst));-- if (date) { // only if valid- $.datepicker._setDateFromField(inst);- $.datepicker._updateAlternate(inst);- $.datepicker._updateDatepicker(inst);- }- }- catch (err) {- }- }- return true;- },-- /* Pop-up the date picker for a given input field.- * If false returned from beforeShow event handler do not show.- * @param input element - the input field attached to the date picker or- * event - if triggered by focus- */- _showDatepicker: function(input) {- input = input.target || input;- if (input.nodeName.toLowerCase() !== "input") { // find from button/image trigger- input = $("input", input.parentNode)[0];- }-- if ($.datepicker._isDisabledDatepicker(input) || $.datepicker._lastInput === input) { // already here- return;- }-- var inst, beforeShow, beforeShowSettings, isFixed,- offset, showAnim, duration;-- inst = $.datepicker._getInst(input);- if ($.datepicker._curInst && $.datepicker._curInst !== inst) {- $.datepicker._curInst.dpDiv.stop(true, true);- if ( inst && $.datepicker._datepickerShowing ) {- $.datepicker._hideDatepicker( $.datepicker._curInst.input[0] );- }- }-- beforeShow = $.datepicker._get(inst, "beforeShow");- beforeShowSettings = beforeShow ? beforeShow.apply(input, [input, inst]) : {};- if(beforeShowSettings === false){- return;- }- datepicker_extendRemove(inst.settings, beforeShowSettings);-- inst.lastVal = null;- $.datepicker._lastInput = input;- $.datepicker._setDateFromField(inst);-- if ($.datepicker._inDialog) { // hide cursor- input.value = "";- }- if (!$.datepicker._pos) { // position below input- $.datepicker._pos = $.datepicker._findPos(input);- $.datepicker._pos[1] += input.offsetHeight; // add the height- }-- isFixed = false;- $(input).parents().each(function() {- isFixed |= $(this).css("position") === "fixed";- return !isFixed;- });-- offset = {left: $.datepicker._pos[0], top: $.datepicker._pos[1]};- $.datepicker._pos = null;- //to avoid flashes on Firefox- inst.dpDiv.empty();- // determine sizing offscreen- inst.dpDiv.css({position: "absolute", display: "block", top: "-1000px"});- $.datepicker._updateDatepicker(inst);- // fix width for dynamic number of date pickers- // and adjust position before showing- offset = $.datepicker._checkOffset(inst, offset, isFixed);- inst.dpDiv.css({position: ($.datepicker._inDialog && $.blockUI ?- "static" : (isFixed ? "fixed" : "absolute")), display: "none",- left: offset.left + "px", top: offset.top + "px"});-- if (!inst.inline) {- showAnim = $.datepicker._get(inst, "showAnim");- duration = $.datepicker._get(inst, "duration");- inst.dpDiv.css( "z-index", datepicker_getZindex( $( input ) ) + 1 );- $.datepicker._datepickerShowing = true;-- if ( $.effects && $.effects.effect[ showAnim ] ) {- inst.dpDiv.show(showAnim, $.datepicker._get(inst, "showOptions"), duration);- } else {- inst.dpDiv[showAnim || "show"](showAnim ? duration : null);- }-- if ( $.datepicker._shouldFocusInput( inst ) ) {- inst.input.focus();- }-- $.datepicker._curInst = inst;- }- },-- /* Generate the date picker content. */- _updateDatepicker: function(inst) {- this.maxRows = 4; //Reset the max number of rows being displayed (see #7043)- datepicker_instActive = inst; // for delegate hover events- inst.dpDiv.empty().append(this._generateHTML(inst));- this._attachHandlers(inst);-- var origyearshtml,- numMonths = this._getNumberOfMonths(inst),- cols = numMonths[1],- width = 17,- activeCell = inst.dpDiv.find( "." + this._dayOverClass + " a" );-- if ( activeCell.length > 0 ) {- datepicker_handleMouseover.apply( activeCell.get( 0 ) );- }-- inst.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");- if (cols > 1) {- inst.dpDiv.addClass("ui-datepicker-multi-" + cols).css("width", (width * cols) + "em");- }- inst.dpDiv[(numMonths[0] !== 1 || numMonths[1] !== 1 ? "add" : "remove") +- "Class"]("ui-datepicker-multi");- inst.dpDiv[(this._get(inst, "isRTL") ? "add" : "remove") +- "Class"]("ui-datepicker-rtl");-- if (inst === $.datepicker._curInst && $.datepicker._datepickerShowing && $.datepicker._shouldFocusInput( inst ) ) {- inst.input.focus();- }-- // deffered render of the years select (to avoid flashes on Firefox)- if( inst.yearshtml ){- origyearshtml = inst.yearshtml;- setTimeout(function(){- //assure that inst.yearshtml didn't change.- if( origyearshtml === inst.yearshtml && inst.yearshtml ){- inst.dpDiv.find("select.ui-datepicker-year:first").replaceWith(inst.yearshtml);- }- origyearshtml = inst.yearshtml = null;- }, 0);- }- },-- // #6694 - don't focus the input if it's already focused- // this breaks the change event in IE- // Support: IE and jQuery <1.9- _shouldFocusInput: function( inst ) {- return inst.input && inst.input.is( ":visible" ) && !inst.input.is( ":disabled" ) && !inst.input.is( ":focus" );- },-- /* Check positioning to remain on screen. */- _checkOffset: function(inst, offset, isFixed) {- var dpWidth = inst.dpDiv.outerWidth(),- dpHeight = inst.dpDiv.outerHeight(),- inputWidth = inst.input ? inst.input.outerWidth() : 0,- inputHeight = inst.input ? inst.input.outerHeight() : 0,- viewWidth = document.documentElement.clientWidth + (isFixed ? 0 : $(document).scrollLeft()),- viewHeight = document.documentElement.clientHeight + (isFixed ? 0 : $(document).scrollTop());-- offset.left -= (this._get(inst, "isRTL") ? (dpWidth - inputWidth) : 0);- offset.left -= (isFixed && offset.left === inst.input.offset().left) ? $(document).scrollLeft() : 0;- offset.top -= (isFixed && offset.top === (inst.input.offset().top + inputHeight)) ? $(document).scrollTop() : 0;-- // now check if datepicker is showing outside window viewport - move to a better place if so.- offset.left -= Math.min(offset.left, (offset.left + dpWidth > viewWidth && viewWidth > dpWidth) ?- Math.abs(offset.left + dpWidth - viewWidth) : 0);- offset.top -= Math.min(offset.top, (offset.top + dpHeight > viewHeight && viewHeight > dpHeight) ?- Math.abs(dpHeight + inputHeight) : 0);-- return offset;- },-- /* Find an object's position on the screen. */- _findPos: function(obj) {- var position,- inst = this._getInst(obj),- isRTL = this._get(inst, "isRTL");-- while (obj && (obj.type === "hidden" || obj.nodeType !== 1 || $.expr.filters.hidden(obj))) {- obj = obj[isRTL ? "previousSibling" : "nextSibling"];- }-- position = $(obj).offset();- return [position.left, position.top];- },-- /* Hide the date picker from view.- * @param input element - the input field attached to the date picker- */- _hideDatepicker: function(input) {- var showAnim, duration, postProcess, onClose,- inst = this._curInst;-- if (!inst || (input && inst !== $.data(input, "datepicker"))) {- return;- }-- if (this._datepickerShowing) {- showAnim = this._get(inst, "showAnim");- duration = this._get(inst, "duration");- postProcess = function() {- $.datepicker._tidyDialog(inst);- };-- // DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed- if ( $.effects && ( $.effects.effect[ showAnim ] || $.effects[ showAnim ] ) ) {- inst.dpDiv.hide(showAnim, $.datepicker._get(inst, "showOptions"), duration, postProcess);- } else {- inst.dpDiv[(showAnim === "slideDown" ? "slideUp" :- (showAnim === "fadeIn" ? "fadeOut" : "hide"))]((showAnim ? duration : null), postProcess);- }-- if (!showAnim) {- postProcess();- }- this._datepickerShowing = false;-- onClose = this._get(inst, "onClose");- if (onClose) {- onClose.apply((inst.input ? inst.input[0] : null), [(inst.input ? inst.input.val() : ""), inst]);- }-- this._lastInput = null;- if (this._inDialog) {- this._dialogInput.css({ position: "absolute", left: "0", top: "-100px" });- if ($.blockUI) {- $.unblockUI();- $("body").append(this.dpDiv);- }- }- this._inDialog = false;- }- },-- /* Tidy up after a dialog display. */- _tidyDialog: function(inst) {- inst.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar");- },-- /* Close date picker if clicked elsewhere. */- _checkExternalClick: function(event) {- if (!$.datepicker._curInst) {- return;- }-- var $target = $(event.target),- inst = $.datepicker._getInst($target[0]);-- if ( ( ( $target[0].id !== $.datepicker._mainDivId &&- $target.parents("#" + $.datepicker._mainDivId).length === 0 &&- !$target.hasClass($.datepicker.markerClassName) &&- !$target.closest("." + $.datepicker._triggerClass).length &&- $.datepicker._datepickerShowing && !($.datepicker._inDialog && $.blockUI) ) ) ||- ( $target.hasClass($.datepicker.markerClassName) && $.datepicker._curInst !== inst ) ) {- $.datepicker._hideDatepicker();- }- },-- /* Adjust one of the date sub-fields. */- _adjustDate: function(id, offset, period) {- var target = $(id),- inst = this._getInst(target[0]);-- if (this._isDisabledDatepicker(target[0])) {- return;- }- this._adjustInstDate(inst, offset +- (period === "M" ? this._get(inst, "showCurrentAtPos") : 0), // undo positioning- period);- this._updateDatepicker(inst);- },-- /* Action for current link. */- _gotoToday: function(id) {- var date,- target = $(id),- inst = this._getInst(target[0]);-- if (this._get(inst, "gotoCurrent") && inst.currentDay) {- inst.selectedDay = inst.currentDay;- inst.drawMonth = inst.selectedMonth = inst.currentMonth;- inst.drawYear = inst.selectedYear = inst.currentYear;- } else {- date = new Date();- inst.selectedDay = date.getDate();- inst.drawMonth = inst.selectedMonth = date.getMonth();- inst.drawYear = inst.selectedYear = date.getFullYear();- }- this._notifyChange(inst);- this._adjustDate(target);- },-- /* Action for selecting a new month/year. */- _selectMonthYear: function(id, select, period) {- var target = $(id),- inst = this._getInst(target[0]);-- inst["selected" + (period === "M" ? "Month" : "Year")] =- inst["draw" + (period === "M" ? "Month" : "Year")] =- parseInt(select.options[select.selectedIndex].value,10);-- this._notifyChange(inst);- this._adjustDate(target);- },-- /* Action for selecting a day. */- _selectDay: function(id, month, year, td) {- var inst,- target = $(id);-- if ($(td).hasClass(this._unselectableClass) || this._isDisabledDatepicker(target[0])) {- return;- }-- inst = this._getInst(target[0]);- inst.selectedDay = inst.currentDay = $("a", td).html();- inst.selectedMonth = inst.currentMonth = month;- inst.selectedYear = inst.currentYear = year;- this._selectDate(id, this._formatDate(inst,- inst.currentDay, inst.currentMonth, inst.currentYear));- },-- /* Erase the input field and hide the date picker. */- _clearDate: function(id) {- var target = $(id);- this._selectDate(target, "");- },-- /* Update the input field with the selected date. */- _selectDate: function(id, dateStr) {- var onSelect,- target = $(id),- inst = this._getInst(target[0]);-- dateStr = (dateStr != null ? dateStr : this._formatDate(inst));- if (inst.input) {- inst.input.val(dateStr);- }- this._updateAlternate(inst);-- onSelect = this._get(inst, "onSelect");- if (onSelect) {- onSelect.apply((inst.input ? inst.input[0] : null), [dateStr, inst]); // trigger custom callback- } else if (inst.input) {- inst.input.trigger("change"); // fire the change event- }-- if (inst.inline){- this._updateDatepicker(inst);- } else {- this._hideDatepicker();- this._lastInput = inst.input[0];- if (typeof(inst.input[0]) !== "object") {- inst.input.focus(); // restore focus- }- this._lastInput = null;- }- },-- /* Update any alternate field to synchronise with the main field. */- _updateAlternate: function(inst) {- var altFormat, date, dateStr,- altField = this._get(inst, "altField");-- if (altField) { // update alternate field too- altFormat = this._get(inst, "altFormat") || this._get(inst, "dateFormat");- date = this._getDate(inst);- dateStr = this.formatDate(altFormat, date, this._getFormatConfig(inst));- $(altField).each(function() { $(this).val(dateStr); });- }- },-- /* Set as beforeShowDay function to prevent selection of weekends.- * @param date Date - the date to customise- * @return [boolean, string] - is this date selectable?, what is its CSS class?- */- noWeekends: function(date) {- var day = date.getDay();- return [(day > 0 && day < 6), ""];- },-- /* Set as calculateWeek to determine the week of the year based on the ISO 8601 definition.- * @param date Date - the date to get the week for- * @return number - the number of the week within the year that contains this date- */- iso8601Week: function(date) {- var time,- checkDate = new Date(date.getTime());-- // Find Thursday of this week starting on Monday- checkDate.setDate(checkDate.getDate() + 4 - (checkDate.getDay() || 7));-- time = checkDate.getTime();- checkDate.setMonth(0); // Compare with Jan 1- checkDate.setDate(1);- return Math.floor(Math.round((time - checkDate) / 86400000) / 7) + 1;- },-- /* Parse a string value into a date object.- * See formatDate below for the possible formats.- *- * @param format string - the expected format of the date- * @param value string - the date in the above format- * @param settings Object - attributes include:- * shortYearCutoff number - the cutoff year for determining the century (optional)- * dayNamesShort string[7] - abbreviated names of the days from Sunday (optional)- * dayNames string[7] - names of the days from Sunday (optional)- * monthNamesShort string[12] - abbreviated names of the months (optional)- * monthNames string[12] - names of the months (optional)- * @return Date - the extracted date value or null if value is blank- */- parseDate: function (format, value, settings) {- if (format == null || value == null) {- throw "Invalid arguments";- }-- value = (typeof value === "object" ? value.toString() : value + "");- if (value === "") {- return null;- }-- var iFormat, dim, extra,- iValue = 0,- shortYearCutoffTemp = (settings ? settings.shortYearCutoff : null) || this._defaults.shortYearCutoff,- shortYearCutoff = (typeof shortYearCutoffTemp !== "string" ? shortYearCutoffTemp :- new Date().getFullYear() % 100 + parseInt(shortYearCutoffTemp, 10)),- dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort,- dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames,- monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort,- monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames,- year = -1,- month = -1,- day = -1,- doy = -1,- literal = false,- date,- // Check whether a format character is doubled- lookAhead = function(match) {- var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);- if (matches) {- iFormat++;- }- return matches;- },- // Extract a number from the string value- getNumber = function(match) {- var isDoubled = lookAhead(match),- size = (match === "@" ? 14 : (match === "!" ? 20 :- (match === "y" && isDoubled ? 4 : (match === "o" ? 3 : 2)))),- minSize = (match === "y" ? size : 1),- digits = new RegExp("^\\d{" + minSize + "," + size + "}"),- num = value.substring(iValue).match(digits);- if (!num) {- throw "Missing number at position " + iValue;- }- iValue += num[0].length;- return parseInt(num[0], 10);- },- // Extract a name from the string value and convert to an index- getName = function(match, shortNames, longNames) {- var index = -1,- names = $.map(lookAhead(match) ? longNames : shortNames, function (v, k) {- return [ [k, v] ];- }).sort(function (a, b) {- return -(a[1].length - b[1].length);- });-- $.each(names, function (i, pair) {- var name = pair[1];- if (value.substr(iValue, name.length).toLowerCase() === name.toLowerCase()) {- index = pair[0];- iValue += name.length;- return false;- }- });- if (index !== -1) {- return index + 1;- } else {- throw "Unknown name at position " + iValue;- }- },- // Confirm that a literal character matches the string value- checkLiteral = function() {- if (value.charAt(iValue) !== format.charAt(iFormat)) {- throw "Unexpected literal at position " + iValue;- }- iValue++;- };-- for (iFormat = 0; iFormat < format.length; iFormat++) {- if (literal) {- if (format.charAt(iFormat) === "'" && !lookAhead("'")) {- literal = false;- } else {- checkLiteral();- }- } else {- switch (format.charAt(iFormat)) {- case "d":- day = getNumber("d");- break;- case "D":- getName("D", dayNamesShort, dayNames);- break;- case "o":- doy = getNumber("o");- break;- case "m":- month = getNumber("m");- break;- case "M":- month = getName("M", monthNamesShort, monthNames);- break;- case "y":- year = getNumber("y");- break;- case "@":- date = new Date(getNumber("@"));- year = date.getFullYear();- month = date.getMonth() + 1;- day = date.getDate();- break;- case "!":- date = new Date((getNumber("!") - this._ticksTo1970) / 10000);- year = date.getFullYear();- month = date.getMonth() + 1;- day = date.getDate();- break;- case "'":- if (lookAhead("'")){- checkLiteral();- } else {- literal = true;- }- break;- default:- checkLiteral();- }- }- }-- if (iValue < value.length){- extra = value.substr(iValue);- if (!/^\s+/.test(extra)) {- throw "Extra/unparsed characters found in date: " + extra;- }- }-- if (year === -1) {- year = new Date().getFullYear();- } else if (year < 100) {- year += new Date().getFullYear() - new Date().getFullYear() % 100 +- (year <= shortYearCutoff ? 0 : -100);- }-- if (doy > -1) {- month = 1;- day = doy;- do {- dim = this._getDaysInMonth(year, month - 1);- if (day <= dim) {- break;- }- month++;- day -= dim;- } while (true);- }-- date = this._daylightSavingAdjust(new Date(year, month - 1, day));- if (date.getFullYear() !== year || date.getMonth() + 1 !== month || date.getDate() !== day) {- throw "Invalid date"; // E.g. 31/02/00- }- return date;- },-- /* Standard date formats. */- ATOM: "yy-mm-dd", // RFC 3339 (ISO 8601)- 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", // RFC 822- TICKS: "!",- TIMESTAMP: "@",- W3C: "yy-mm-dd", // ISO 8601-- _ticksTo1970: (((1970 - 1) * 365 + Math.floor(1970 / 4) - Math.floor(1970 / 100) +- Math.floor(1970 / 400)) * 24 * 60 * 60 * 10000000),-- /* Format a date object into a string value.- * The format can be combinations of the following:- * d - day of month (no leading zero)- * dd - day of month (two digit)- * o - day of year (no leading zeros)- * oo - day of year (three digit)- * D - day name short- * DD - day name long- * m - month of year (no leading zero)- * mm - month of year (two digit)- * M - month name short- * MM - month name long- * y - year (two digit)- * yy - year (four digit)- * @ - Unix timestamp (ms since 01/01/1970)- * ! - Windows ticks (100ns since 01/01/0001)- * "..." - literal text- * '' - single quote- *- * @param format string - the desired format of the date- * @param date Date - the date value to format- * @param settings Object - attributes include:- * dayNamesShort string[7] - abbreviated names of the days from Sunday (optional)- * dayNames string[7] - names of the days from Sunday (optional)- * monthNamesShort string[12] - abbreviated names of the months (optional)- * monthNames string[12] - names of the months (optional)- * @return string - the date in the above format- */- formatDate: function (format, date, settings) {- if (!date) {- return "";- }-- var iFormat,- dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort,- dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames,- monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort,- monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames,- // Check whether a format character is doubled- lookAhead = function(match) {- var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);- if (matches) {- iFormat++;- }- return matches;- },- // Format a number, with leading zero if necessary- formatNumber = function(match, value, len) {- var num = "" + value;- if (lookAhead(match)) {- while (num.length < len) {- num = "0" + num;- }- }- return num;- },- // Format a name, short or long as requested- formatName = function(match, value, shortNames, longNames) {- return (lookAhead(match) ? longNames[value] : shortNames[value]);- },- output = "",- literal = false;-- if (date) {- for (iFormat = 0; iFormat < format.length; iFormat++) {- if (literal) {- if (format.charAt(iFormat) === "'" && !lookAhead("'")) {- literal = false;- } else {- output += format.charAt(iFormat);- }- } else {- switch (format.charAt(iFormat)) {- case "d":- output += formatNumber("d", date.getDate(), 2);- break;- case "D":- output += formatName("D", date.getDay(), dayNamesShort, dayNames);- break;- case "o":- output += formatNumber("o",- Math.round((new Date(date.getFullYear(), date.getMonth(), date.getDate()).getTime() - new Date(date.getFullYear(), 0, 0).getTime()) / 86400000), 3);- break;- case "m":- output += formatNumber("m", date.getMonth() + 1, 2);- break;- case "M":- output += formatName("M", date.getMonth(), monthNamesShort, monthNames);- break;- case "y":- output += (lookAhead("y") ? date.getFullYear() :- (date.getYear() % 100 < 10 ? "0" : "") + date.getYear() % 100);- break;- case "@":- output += date.getTime();- break;- case "!":- output += date.getTime() * 10000 + this._ticksTo1970;- break;- case "'":- if (lookAhead("'")) {- output += "'";- } else {- literal = true;- }- break;- default:- output += format.charAt(iFormat);- }- }- }- }- return output;- },-- /* Extract all possible characters from the date format. */- _possibleChars: function (format) {- var iFormat,- chars = "",- literal = false,- // Check whether a format character is doubled- lookAhead = function(match) {- var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);- if (matches) {- iFormat++;- }- return matches;- };-- for (iFormat = 0; iFormat < format.length; iFormat++) {- if (literal) {- if (format.charAt(iFormat) === "'" && !lookAhead("'")) {- literal = false;- } else {- chars += format.charAt(iFormat);- }- } else {- switch (format.charAt(iFormat)) {- case "d": case "m": case "y": case "@":- chars += "0123456789";- break;- case "D": case "M":- return null; // Accept anything- case "'":- if (lookAhead("'")) {- chars += "'";- } else {- literal = true;- }- break;- default:- chars += format.charAt(iFormat);- }- }- }- return chars;- },-- /* Get a setting value, defaulting if necessary. */- _get: function(inst, name) {- return inst.settings[name] !== undefined ?- inst.settings[name] : this._defaults[name];- },-- /* Parse existing date and initialise date picker. */- _setDateFromField: function(inst, noDefault) {- if (inst.input.val() === inst.lastVal) {- return;- }-- var dateFormat = this._get(inst, "dateFormat"),- dates = inst.lastVal = inst.input ? inst.input.val() : null,- defaultDate = this._getDefaultDate(inst),- date = defaultDate,- settings = this._getFormatConfig(inst);-- try {- date = this.parseDate(dateFormat, dates, settings) || defaultDate;- } catch (event) {- dates = (noDefault ? "" : dates);- }- inst.selectedDay = date.getDate();- inst.drawMonth = inst.selectedMonth = date.getMonth();- inst.drawYear = inst.selectedYear = date.getFullYear();- inst.currentDay = (dates ? date.getDate() : 0);- inst.currentMonth = (dates ? date.getMonth() : 0);- inst.currentYear = (dates ? date.getFullYear() : 0);- this._adjustInstDate(inst);- },-- /* Retrieve the default date shown on opening. */- _getDefaultDate: function(inst) {- return this._restrictMinMax(inst,- this._determineDate(inst, this._get(inst, "defaultDate"), new Date()));- },-- /* A date may be specified as an exact value or a relative one. */- _determineDate: function(inst, date, defaultDate) {- var offsetNumeric = function(offset) {- var date = new Date();- date.setDate(date.getDate() + offset);- return date;- },- offsetString = function(offset) {- try {- return $.datepicker.parseDate($.datepicker._get(inst, "dateFormat"),- offset, $.datepicker._getFormatConfig(inst));- }- catch (e) {- // Ignore- }-- var date = (offset.toLowerCase().match(/^c/) ?- $.datepicker._getDate(inst) : null) || new Date(),- year = date.getFullYear(),- month = date.getMonth(),- day = date.getDate(),- pattern = /([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,- matches = pattern.exec(offset);-- while (matches) {- switch (matches[2] || "d") {- case "d" : case "D" :- day += parseInt(matches[1],10); break;- case "w" : case "W" :- day += parseInt(matches[1],10) * 7; break;- case "m" : case "M" :- month += parseInt(matches[1],10);- day = Math.min(day, $.datepicker._getDaysInMonth(year, month));- break;- case "y": case "Y" :- year += parseInt(matches[1],10);- day = Math.min(day, $.datepicker._getDaysInMonth(year, month));- break;- }- matches = pattern.exec(offset);- }- return new Date(year, month, day);- },- newDate = (date == null || date === "" ? defaultDate : (typeof date === "string" ? offsetString(date) :- (typeof date === "number" ? (isNaN(date) ? defaultDate : offsetNumeric(date)) : new Date(date.getTime()))));-- newDate = (newDate && newDate.toString() === "Invalid Date" ? defaultDate : newDate);- if (newDate) {- newDate.setHours(0);- newDate.setMinutes(0);- newDate.setSeconds(0);- newDate.setMilliseconds(0);- }- return this._daylightSavingAdjust(newDate);- },-- /* Handle switch to/from daylight saving.- * Hours may be non-zero on daylight saving cut-over:- * > 12 when midnight changeover, but then cannot generate- * midnight datetime, so jump to 1AM, otherwise reset.- * @param date (Date) the date to check- * @return (Date) the corrected date- */- _daylightSavingAdjust: function(date) {- if (!date) {- return null;- }- date.setHours(date.getHours() > 12 ? date.getHours() + 2 : 0);- return date;- },-- /* Set the date(s) directly. */- _setDate: function(inst, date, noChange) {- var clear = !date,- origMonth = inst.selectedMonth,- origYear = inst.selectedYear,- newDate = this._restrictMinMax(inst, this._determineDate(inst, date, new Date()));-- inst.selectedDay = inst.currentDay = newDate.getDate();- inst.drawMonth = inst.selectedMonth = inst.currentMonth = newDate.getMonth();- inst.drawYear = inst.selectedYear = inst.currentYear = newDate.getFullYear();- if ((origMonth !== inst.selectedMonth || origYear !== inst.selectedYear) && !noChange) {- this._notifyChange(inst);- }- this._adjustInstDate(inst);- if (inst.input) {- inst.input.val(clear ? "" : this._formatDate(inst));- }- },-- /* Retrieve the date(s) directly. */- _getDate: function(inst) {- var startDate = (!inst.currentYear || (inst.input && inst.input.val() === "") ? null :- this._daylightSavingAdjust(new Date(- inst.currentYear, inst.currentMonth, inst.currentDay)));- return startDate;- },-- /* Attach the onxxx handlers. These are declared statically so- * they work with static code transformers like Caja.- */- _attachHandlers: function(inst) {- var stepMonths = this._get(inst, "stepMonths"),- id = "#" + inst.id.replace( /\\\\/g, "\\" );- inst.dpDiv.find("[data-handler]").map(function () {- var handler = {- prev: function () {- $.datepicker._adjustDate(id, -stepMonths, "M");- },- next: function () {- $.datepicker._adjustDate(id, +stepMonths, "M");- },- hide: function () {- $.datepicker._hideDatepicker();- },- today: function () {- $.datepicker._gotoToday(id);- },- selectDay: function () {- $.datepicker._selectDay(id, +this.getAttribute("data-month"), +this.getAttribute("data-year"), this);- return false;- },- selectMonth: function () {- $.datepicker._selectMonthYear(id, this, "M");- return false;- },- selectYear: function () {- $.datepicker._selectMonthYear(id, this, "Y");- return false;- }- };- $(this).bind(this.getAttribute("data-event"), handler[this.getAttribute("data-handler")]);- });- },-- /* Generate the HTML for the current state of the date picker. */- _generateHTML: function(inst) {- var maxDraw, prevText, prev, nextText, next, currentText, gotoDate,- controls, buttonPanel, firstDay, showWeek, dayNames, dayNamesMin,- monthNames, monthNamesShort, beforeShowDay, showOtherMonths,- selectOtherMonths, defaultDate, html, dow, row, group, col, selectedDate,- cornerClass, calender, thead, day, daysInMonth, leadDays, curRows, numRows,- printDate, dRow, tbody, daySettings, otherMonth, unselectable,- tempDate = new Date(),- today = this._daylightSavingAdjust(- new Date(tempDate.getFullYear(), tempDate.getMonth(), tempDate.getDate())), // clear time- isRTL = this._get(inst, "isRTL"),- showButtonPanel = this._get(inst, "showButtonPanel"),- hideIfNoPrevNext = this._get(inst, "hideIfNoPrevNext"),- navigationAsDateFormat = this._get(inst, "navigationAsDateFormat"),- numMonths = this._getNumberOfMonths(inst),- showCurrentAtPos = this._get(inst, "showCurrentAtPos"),- stepMonths = this._get(inst, "stepMonths"),- isMultiMonth = (numMonths[0] !== 1 || numMonths[1] !== 1),- currentDate = this._daylightSavingAdjust((!inst.currentDay ? new Date(9999, 9, 9) :- new Date(inst.currentYear, inst.currentMonth, inst.currentDay))),- minDate = this._getMinMaxDate(inst, "min"),- maxDate = this._getMinMaxDate(inst, "max"),- drawMonth = inst.drawMonth - showCurrentAtPos,- drawYear = inst.drawYear;-- if (drawMonth < 0) {- drawMonth += 12;- drawYear--;- }- if (maxDate) {- maxDraw = this._daylightSavingAdjust(new Date(maxDate.getFullYear(),- maxDate.getMonth() - (numMonths[0] * numMonths[1]) + 1, maxDate.getDate()));- maxDraw = (minDate && maxDraw < minDate ? minDate : maxDraw);- while (this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1)) > maxDraw) {- drawMonth--;- if (drawMonth < 0) {- drawMonth = 11;- drawYear--;- }- }- }- inst.drawMonth = drawMonth;- inst.drawYear = drawYear;-- prevText = this._get(inst, "prevText");- prevText = (!navigationAsDateFormat ? prevText : this.formatDate(prevText,- this._daylightSavingAdjust(new Date(drawYear, drawMonth - stepMonths, 1)),- this._getFormatConfig(inst)));-- prev = (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ?- "<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click'" +- " title='" + prevText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w") + "'>" + prevText + "</span></a>" :- (hideIfNoPrevNext ? "" : "<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+ prevText +"'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w") + "'>" + prevText + "</span></a>"));-- nextText = this._get(inst, "nextText");- nextText = (!navigationAsDateFormat ? nextText : this.formatDate(nextText,- this._daylightSavingAdjust(new Date(drawYear, drawMonth + stepMonths, 1)),- this._getFormatConfig(inst)));-- next = (this._canAdjustMonth(inst, +1, drawYear, drawMonth) ?- "<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click'" +- " title='" + nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e") + "'>" + nextText + "</span></a>" :- (hideIfNoPrevNext ? "" : "<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+ nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e") + "'>" + nextText + "</span></a>"));-- currentText = this._get(inst, "currentText");- gotoDate = (this._get(inst, "gotoCurrent") && inst.currentDay ? currentDate : today);- currentText = (!navigationAsDateFormat ? currentText :- this.formatDate(currentText, gotoDate, this._getFormatConfig(inst)));-- controls = (!inst.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(inst, "closeText") + "</button>" : "");-- buttonPanel = (showButtonPanel) ? "<div class='ui-datepicker-buttonpane ui-widget-content'>" + (isRTL ? controls : "") +- (this._isInRange(inst, gotoDate) ? "<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'" +- ">" + currentText + "</button>" : "") + (isRTL ? "" : controls) + "</div>" : "";-- firstDay = parseInt(this._get(inst, "firstDay"),10);- firstDay = (isNaN(firstDay) ? 0 : firstDay);-- showWeek = this._get(inst, "showWeek");- dayNames = this._get(inst, "dayNames");- dayNamesMin = this._get(inst, "dayNamesMin");- monthNames = this._get(inst, "monthNames");- monthNamesShort = this._get(inst, "monthNamesShort");- beforeShowDay = this._get(inst, "beforeShowDay");- showOtherMonths = this._get(inst, "showOtherMonths");- selectOtherMonths = this._get(inst, "selectOtherMonths");- defaultDate = this._getDefaultDate(inst);- html = "";- dow;- for (row = 0; row < numMonths[0]; row++) {- group = "";- this.maxRows = 4;- for (col = 0; col < numMonths[1]; col++) {- selectedDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, inst.selectedDay));- cornerClass = " ui-corner-all";- calender = "";- if (isMultiMonth) {- calender += "<div class='ui-datepicker-group";- if (numMonths[1] > 1) {- switch (col) {- case 0: calender += " ui-datepicker-group-first";- cornerClass = " ui-corner-" + (isRTL ? "right" : "left"); break;- case numMonths[1]-1: calender += " ui-datepicker-group-last";- cornerClass = " ui-corner-" + (isRTL ? "left" : "right"); break;- default: calender += " ui-datepicker-group-middle"; cornerClass = ""; break;- }- }- calender += "'>";- }- calender += "<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix" + cornerClass + "'>" +- (/all|left/.test(cornerClass) && row === 0 ? (isRTL ? next : prev) : "") +- (/all|right/.test(cornerClass) && row === 0 ? (isRTL ? prev : next) : "") +- this._generateMonthYearHeader(inst, drawMonth, drawYear, minDate, maxDate,- row > 0 || col > 0, monthNames, monthNamesShort) + // draw month headers- "</div><table class='ui-datepicker-calendar'><thead>" +- "<tr>";- thead = (showWeek ? "<th class='ui-datepicker-week-col'>" + this._get(inst, "weekHeader") + "</th>" : "");- for (dow = 0; dow < 7; dow++) { // days of the week- day = (dow + firstDay) % 7;- thead += "<th scope='col'" + ((dow + firstDay + 6) % 7 >= 5 ? " class='ui-datepicker-week-end'" : "") + ">" +- "<span title='" + dayNames[day] + "'>" + dayNamesMin[day] + "</span></th>";- }- calender += thead + "</tr></thead><tbody>";- daysInMonth = this._getDaysInMonth(drawYear, drawMonth);- if (drawYear === inst.selectedYear && drawMonth === inst.selectedMonth) {- inst.selectedDay = Math.min(inst.selectedDay, daysInMonth);- }- leadDays = (this._getFirstDayOfMonth(drawYear, drawMonth) - firstDay + 7) % 7;- curRows = Math.ceil((leadDays + daysInMonth) / 7); // calculate the number of rows to generate- numRows = (isMultiMonth ? this.maxRows > curRows ? this.maxRows : curRows : curRows); //If multiple months, use the higher number of rows (see #7043)- this.maxRows = numRows;- printDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1 - leadDays));- for (dRow = 0; dRow < numRows; dRow++) { // create date picker rows- calender += "<tr>";- tbody = (!showWeek ? "" : "<td class='ui-datepicker-week-col'>" +- this._get(inst, "calculateWeek")(printDate) + "</td>");- for (dow = 0; dow < 7; dow++) { // create date picker days- daySettings = (beforeShowDay ?- beforeShowDay.apply((inst.input ? inst.input[0] : null), [printDate]) : [true, ""]);- otherMonth = (printDate.getMonth() !== drawMonth);- unselectable = (otherMonth && !selectOtherMonths) || !daySettings[0] ||- (minDate && printDate < minDate) || (maxDate && printDate > maxDate);- tbody += "<td class='" +- ((dow + firstDay + 6) % 7 >= 5 ? " ui-datepicker-week-end" : "") + // highlight weekends- (otherMonth ? " ui-datepicker-other-month" : "") + // highlight days from other months- ((printDate.getTime() === selectedDate.getTime() && drawMonth === inst.selectedMonth && inst._keyEvent) || // user pressed key- (defaultDate.getTime() === printDate.getTime() && defaultDate.getTime() === selectedDate.getTime()) ?- // or defaultDate is current printedDate and defaultDate is selectedDate- " " + this._dayOverClass : "") + // highlight selected day- (unselectable ? " " + this._unselectableClass + " ui-state-disabled": "") + // highlight unselectable days- (otherMonth && !showOtherMonths ? "" : " " + daySettings[1] + // highlight custom dates- (printDate.getTime() === currentDate.getTime() ? " " + this._currentClass : "") + // highlight selected day- (printDate.getTime() === today.getTime() ? " ui-datepicker-today" : "")) + "'" + // highlight today (if different)- ((!otherMonth || showOtherMonths) && daySettings[2] ? " title='" + daySettings[2].replace(/'/g, "'") + "'" : "") + // cell title- (unselectable ? "" : " data-handler='selectDay' data-event='click' data-month='" + printDate.getMonth() + "' data-year='" + printDate.getFullYear() + "'") + ">" + // actions- (otherMonth && !showOtherMonths ? " " : // display for other months- (unselectable ? "<span class='ui-state-default'>" + printDate.getDate() + "</span>" : "<a class='ui-state-default" +- (printDate.getTime() === today.getTime() ? " ui-state-highlight" : "") +- (printDate.getTime() === currentDate.getTime() ? " ui-state-active" : "") + // highlight selected day- (otherMonth ? " ui-priority-secondary" : "") + // distinguish dates from other months- "' href='#'>" + printDate.getDate() + "</a>")) + "</td>"; // display selectable date- printDate.setDate(printDate.getDate() + 1);- printDate = this._daylightSavingAdjust(printDate);- }- calender += tbody + "</tr>";- }- drawMonth++;- if (drawMonth > 11) {- drawMonth = 0;- drawYear++;- }- calender += "</tbody></table>" + (isMultiMonth ? "</div>" +- ((numMonths[0] > 0 && col === numMonths[1]-1) ? "<div class='ui-datepicker-row-break'></div>" : "") : "");- group += calender;- }- html += group;- }- html += buttonPanel;- inst._keyEvent = false;- return html;- },-- /* Generate the month and year header. */- _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,- secondary, monthNames, monthNamesShort) {-- var inMinYear, inMaxYear, month, years, thisYear, determineYear, year, endYear,- changeMonth = this._get(inst, "changeMonth"),- changeYear = this._get(inst, "changeYear"),- showMonthAfterYear = this._get(inst, "showMonthAfterYear"),- html = "<div class='ui-datepicker-title'>",- monthHtml = "";-- // month selection- if (secondary || !changeMonth) {- monthHtml += "<span class='ui-datepicker-month'>" + monthNames[drawMonth] + "</span>";- } else {- inMinYear = (minDate && minDate.getFullYear() === drawYear);- inMaxYear = (maxDate && maxDate.getFullYear() === drawYear);- monthHtml += "<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>";- for ( month = 0; month < 12; month++) {- if ((!inMinYear || month >= minDate.getMonth()) && (!inMaxYear || month <= maxDate.getMonth())) {- monthHtml += "<option value='" + month + "'" +- (month === drawMonth ? " selected='selected'" : "") +- ">" + monthNamesShort[month] + "</option>";- }- }- monthHtml += "</select>";- }-- if (!showMonthAfterYear) {- html += monthHtml + (secondary || !(changeMonth && changeYear) ? " " : "");- }-- // year selection- if ( !inst.yearshtml ) {- inst.yearshtml = "";- if (secondary || !changeYear) {- html += "<span class='ui-datepicker-year'>" + drawYear + "</span>";- } else {- // determine range of years to display- years = this._get(inst, "yearRange").split(":");- thisYear = new Date().getFullYear();- determineYear = function(value) {- var year = (value.match(/c[+\-].*/) ? drawYear + parseInt(value.substring(1), 10) :- (value.match(/[+\-].*/) ? thisYear + parseInt(value, 10) :- parseInt(value, 10)));- return (isNaN(year) ? thisYear : year);- };- year = determineYear(years[0]);- endYear = Math.max(year, determineYear(years[1] || ""));- year = (minDate ? Math.max(year, minDate.getFullYear()) : year);- endYear = (maxDate ? Math.min(endYear, maxDate.getFullYear()) : endYear);- inst.yearshtml += "<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";- for (; year <= endYear; year++) {- inst.yearshtml += "<option value='" + year + "'" +- (year === drawYear ? " selected='selected'" : "") +- ">" + year + "</option>";- }- inst.yearshtml += "</select>";-- html += inst.yearshtml;- inst.yearshtml = null;- }- }-- html += this._get(inst, "yearSuffix");- if (showMonthAfterYear) {- html += (secondary || !(changeMonth && changeYear) ? " " : "") + monthHtml;- }- html += "</div>"; // Close datepicker_header- return html;- },-- /* Adjust one of the date sub-fields. */- _adjustInstDate: function(inst, offset, period) {- var year = inst.drawYear + (period === "Y" ? offset : 0),- month = inst.drawMonth + (period === "M" ? offset : 0),- day = Math.min(inst.selectedDay, this._getDaysInMonth(year, month)) + (period === "D" ? offset : 0),- date = this._restrictMinMax(inst, this._daylightSavingAdjust(new Date(year, month, day)));-- inst.selectedDay = date.getDate();- inst.drawMonth = inst.selectedMonth = date.getMonth();- inst.drawYear = inst.selectedYear = date.getFullYear();- if (period === "M" || period === "Y") {- this._notifyChange(inst);- }- },-- /* Ensure a date is within any min/max bounds. */- _restrictMinMax: function(inst, date) {- var minDate = this._getMinMaxDate(inst, "min"),- maxDate = this._getMinMaxDate(inst, "max"),- newDate = (minDate && date < minDate ? minDate : date);- return (maxDate && newDate > maxDate ? maxDate : newDate);- },-- /* Notify change of month/year. */- _notifyChange: function(inst) {- var onChange = this._get(inst, "onChangeMonthYear");- if (onChange) {- onChange.apply((inst.input ? inst.input[0] : null),- [inst.selectedYear, inst.selectedMonth + 1, inst]);- }- },-- /* Determine the number of months to show. */- _getNumberOfMonths: function(inst) {- var numMonths = this._get(inst, "numberOfMonths");- return (numMonths == null ? [1, 1] : (typeof numMonths === "number" ? [1, numMonths] : numMonths));- },-- /* Determine the current maximum date - ensure no time components are set. */- _getMinMaxDate: function(inst, minMax) {- return this._determineDate(inst, this._get(inst, minMax + "Date"), null);- },-- /* Find the number of days in a given month. */- _getDaysInMonth: function(year, month) {- return 32 - this._daylightSavingAdjust(new Date(year, month, 32)).getDate();- },-- /* Find the day of the week of the first of a month. */- _getFirstDayOfMonth: function(year, month) {- return new Date(year, month, 1).getDay();- },-- /* Determines if we should allow a "next/prev" month display change. */- _canAdjustMonth: function(inst, offset, curYear, curMonth) {- var numMonths = this._getNumberOfMonths(inst),- date = this._daylightSavingAdjust(new Date(curYear,- curMonth + (offset < 0 ? offset : numMonths[0] * numMonths[1]), 1));-- if (offset < 0) {- date.setDate(this._getDaysInMonth(date.getFullYear(), date.getMonth()));- }- return this._isInRange(inst, date);- },-- /* Is the given date in the accepted range? */- _isInRange: function(inst, date) {- var yearSplit, currentYear,- minDate = this._getMinMaxDate(inst, "min"),- maxDate = this._getMinMaxDate(inst, "max"),- minYear = null,- maxYear = null,- years = this._get(inst, "yearRange");- if (years){- yearSplit = years.split(":");- currentYear = new Date().getFullYear();- minYear = parseInt(yearSplit[0], 10);- maxYear = parseInt(yearSplit[1], 10);- if ( yearSplit[0].match(/[+\-].*/) ) {- minYear += currentYear;- }- if ( yearSplit[1].match(/[+\-].*/) ) {- maxYear += currentYear;- }- }-- return ((!minDate || date.getTime() >= minDate.getTime()) &&- (!maxDate || date.getTime() <= maxDate.getTime()) &&- (!minYear || date.getFullYear() >= minYear) &&- (!maxYear || date.getFullYear() <= maxYear));- },-- /* Provide the configuration settings for formatting/parsing. */- _getFormatConfig: function(inst) {- var shortYearCutoff = this._get(inst, "shortYearCutoff");- shortYearCutoff = (typeof shortYearCutoff !== "string" ? shortYearCutoff :- new Date().getFullYear() % 100 + parseInt(shortYearCutoff, 10));- return {shortYearCutoff: shortYearCutoff,- dayNamesShort: this._get(inst, "dayNamesShort"), dayNames: this._get(inst, "dayNames"),- monthNamesShort: this._get(inst, "monthNamesShort"), monthNames: this._get(inst, "monthNames")};- },-- /* Format the given date for display. */- _formatDate: function(inst, day, month, year) {- if (!day) {- inst.currentDay = inst.selectedDay;- inst.currentMonth = inst.selectedMonth;- inst.currentYear = inst.selectedYear;- }- var date = (day ? (typeof day === "object" ? day :- this._daylightSavingAdjust(new Date(year, month, day))) :- this._daylightSavingAdjust(new Date(inst.currentYear, inst.currentMonth, inst.currentDay)));- return this.formatDate(this._get(inst, "dateFormat"), date, this._getFormatConfig(inst));- }-});--/*- * Bind hover events for datepicker elements.- * Done via delegate so the binding only occurs once in the lifetime of the parent div.- * Global datepicker_instActive, set by _updateDatepicker allows the handlers to find their way back to the active picker.- */-function datepicker_bindHover(dpDiv) {- var selector = "button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";- return dpDiv.delegate(selector, "mouseout", function() {- $(this).removeClass("ui-state-hover");- if (this.className.indexOf("ui-datepicker-prev") !== -1) {- $(this).removeClass("ui-datepicker-prev-hover");- }- if (this.className.indexOf("ui-datepicker-next") !== -1) {- $(this).removeClass("ui-datepicker-next-hover");- }- })- .delegate( selector, "mouseover", datepicker_handleMouseover );-}--function datepicker_handleMouseover() {- if (!$.datepicker._isDisabledDatepicker( datepicker_instActive.inline? datepicker_instActive.dpDiv.parent()[0] : datepicker_instActive.input[0])) {- $(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");- $(this).addClass("ui-state-hover");- if (this.className.indexOf("ui-datepicker-prev") !== -1) {- $(this).addClass("ui-datepicker-prev-hover");- }- if (this.className.indexOf("ui-datepicker-next") !== -1) {- $(this).addClass("ui-datepicker-next-hover");- }- }-}--/* jQuery extend now ignores nulls! */-function datepicker_extendRemove(target, props) {- $.extend(target, props);- for (var name in props) {- if (props[name] == null) {- target[name] = props[name];- }- }- return target;-}--/* Invoke the datepicker functionality.- @param options string - a command, optionally followed by additional parameters or- Object - settings for attaching new datepicker functionality- @return jQuery object */-$.fn.datepicker = function(options){-- /* Verify an empty collection wasn't passed - Fixes #6976 */- if ( !this.length ) {- return this;- }-- /* Initialise the date picker. */- if (!$.datepicker.initialized) {- $(document).mousedown($.datepicker._checkExternalClick);- $.datepicker.initialized = true;- }-- /* Append datepicker main container to body if not exist. */- if ($("#"+$.datepicker._mainDivId).length === 0) {- $("body").append($.datepicker.dpDiv);- }-- var otherArgs = Array.prototype.slice.call(arguments, 1);- if (typeof options === "string" && (options === "isDisabled" || options === "getDate" || options === "widget")) {- return $.datepicker["_" + options + "Datepicker"].- apply($.datepicker, [this[0]].concat(otherArgs));- }- if (options === "option" && arguments.length === 2 && typeof arguments[1] === "string") {- return $.datepicker["_" + options + "Datepicker"].- apply($.datepicker, [this[0]].concat(otherArgs));- }- return this.each(function() {- typeof options === "string" ?- $.datepicker["_" + options + "Datepicker"].- apply($.datepicker, [this].concat(otherArgs)) :- $.datepicker._attachDatepicker(this, options);- });-};--$.datepicker = new Datepicker(); // singleton instance-$.datepicker.initialized = false;-$.datepicker.uuid = new Date().getTime();-$.datepicker.version = "1.11.4";--var datepicker = $.datepicker;---/*!- * jQuery UI Dialog 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/dialog/- */---var dialog = $.widget( "ui.dialog", {- version: "1.11.4",- options: {- appendTo: "body",- autoOpen: true,- buttons: [],- closeOnEscape: true,- closeText: "Close",- dialogClass: "",- draggable: true,- hide: null,- height: "auto",- maxHeight: null,- maxWidth: null,- minHeight: 150,- minWidth: 150,- modal: false,- position: {- my: "center",- at: "center",- of: window,- collision: "fit",- // Ensure the titlebar is always visible- using: function( pos ) {- var topOffset = $( this ).css( pos ).offset().top;- if ( topOffset < 0 ) {- $( this ).css( "top", pos.top - topOffset );- }- }- },- resizable: true,- show: null,- title: null,- width: 300,-- // callbacks- beforeClose: null,- close: null,- drag: null,- dragStart: null,- dragStop: null,- focus: null,- open: null,- resize: null,- resizeStart: null,- resizeStop: null- },-- sizeRelatedOptions: {- buttons: true,- height: true,- maxHeight: true,- maxWidth: true,- minHeight: true,- minWidth: true,- width: true- },-- resizableRelatedOptions: {- maxHeight: true,- maxWidth: true,- minHeight: true,- minWidth: true- },-- _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();-- if ( this.options.draggable && $.fn.draggable ) {- this._makeDraggable();- }- if ( this.options.resizable && $.fn.resizable ) {- this._makeResizable();- }-- this._isOpen = false;-- this._trackFocus();- },-- _init: function() {- if ( this.options.autoOpen ) {- this.open();- }- },-- _appendTo: function() {- var element = this.options.appendTo;- if ( element && (element.jquery || element.nodeType) ) {- return $( element );- }- return this.document.find( element || "body" ).eq( 0 );- },-- _destroy: function() {- var next,- originalPosition = this.originalPosition;-- this._untrackInstance();- this._destroyOverlay();-- this.element- .removeUniqueId()- .removeClass( "ui-dialog-content ui-widget-content" )- .css( this.originalCss )- // Without detaching first, the following becomes really slow- .detach();-- this.uiDialog.stop( true, true ).remove();-- if ( this.originalTitle ) {- this.element.attr( "title", this.originalTitle );- }-- next = originalPosition.parent.children().eq( originalPosition.index );- // Don't try to place the dialog next to itself (#8613)- if ( next.length && next[ 0 ] !== this.element[ 0 ] ) {- next.before( this.element );- } else {- originalPosition.parent.append( this.element );- }- },-- widget: function() {- return this.uiDialog;- },-- disable: $.noop,- enable: $.noop,-- close: function( event ) {- var activeElement,- that = this;-- if ( !this._isOpen || this._trigger( "beforeClose", event ) === false ) {- return;- }-- this._isOpen = false;- this._focusedElement = null;- this._destroyOverlay();- this._untrackInstance();-- if ( !this.opener.filter( ":focusable" ).focus().length ) {-- // support: IE9- // IE9 throws an "Unspecified error" accessing document.activeElement from an <iframe>- try {- activeElement = this.document[ 0 ].activeElement;-- // Support: IE9, IE10- // If the <body> is blurred, IE will switch windows, see #4520- if ( activeElement && activeElement.nodeName.toLowerCase() !== "body" ) {-- // Hiding a focused element doesn't trigger blur in WebKit- // so in case we have nothing to focus on, explicitly blur the active element- // https://bugs.webkit.org/show_bug.cgi?id=47182- $( activeElement ).blur();- }- } catch ( error ) {}- }-- this._hide( this.uiDialog, this.options.hide, function() {- that._trigger( "close", event );- });- },-- isOpen: function() {- return this._isOpen;- },-- moveToTop: function() {- this._moveToTop();- },-- _moveToTop: function( event, silent ) {- var moved = false,- zIndices = this.uiDialog.siblings( ".ui-front:visible" ).map(function() {- return +$( this ).css( "z-index" );- }).get(),- zIndexMax = Math.max.apply( null, zIndices );-- if ( zIndexMax >= +this.uiDialog.css( "z-index" ) ) {- this.uiDialog.css( "z-index", zIndexMax + 1 );- moved = true;- }-- if ( moved && !silent ) {- this._trigger( "focus", event );- }- return moved;- },-- open: function() {- var that = this;- if ( this._isOpen ) {- if ( this._moveToTop() ) {- this._focusTabbable();- }- return;- }-- this._isOpen = true;- this.opener = $( this.document[ 0 ].activeElement );-- this._size();- this._position();- this._createOverlay();- this._moveToTop( null, true );-- // Ensure the overlay is moved to the top with the dialog, but only when- // opening. The overlay shouldn't move after the dialog is open so that- // modeless dialogs opened after the modal dialog stack properly.- if ( this.overlay ) {- this.overlay.css( "z-index", this.uiDialog.css( "z-index" ) - 1 );- }-- this._show( this.uiDialog, this.options.show, function() {- that._focusTabbable();- that._trigger( "focus" );- });-- // Track the dialog immediately upon openening in case a focus event- // somehow occurs outside of the dialog before an element inside the- // dialog is focused (#10152)- this._makeFocusTarget();-- this._trigger( "open" );- },-- _focusTabbable: function() {- // Set focus to the first match:- // 1. An element that was focused previously- // 2. First element inside the dialog matching [autofocus]- // 3. Tabbable element inside the content element- // 4. Tabbable element inside the buttonpane- // 5. The close button- // 6. The dialog itself- var hasFocus = this._focusedElement;- if ( !hasFocus ) {- hasFocus = this.element.find( "[autofocus]" );- }- if ( !hasFocus.length ) {- hasFocus = this.element.find( ":tabbable" );- }- if ( !hasFocus.length ) {- hasFocus = this.uiDialogButtonPane.find( ":tabbable" );- }- if ( !hasFocus.length ) {- hasFocus = this.uiDialogTitlebarClose.filter( ":tabbable" );- }- if ( !hasFocus.length ) {- hasFocus = this.uiDialog;- }- hasFocus.eq( 0 ).focus();- },-- _keepFocus: function( event ) {- function checkFocus() {- var activeElement = this.document[0].activeElement,- isActive = this.uiDialog[0] === activeElement ||- $.contains( this.uiDialog[0], activeElement );- if ( !isActive ) {- this._focusTabbable();- }- }- event.preventDefault();- checkFocus.call( this );- // support: IE- // IE <= 8 doesn't prevent moving focus even with event.preventDefault()- // so we check again later- this._delay( checkFocus );- },-- _createWrapper: function() {- this.uiDialog = $("<div>")- .addClass( "ui-dialog ui-widget ui-widget-content ui-corner-all ui-front " +- this.options.dialogClass )- .hide()- .attr({- // Setting tabIndex makes the div focusable- tabIndex: -1,- role: "dialog"- })- .appendTo( this._appendTo() );-- this._on( this.uiDialog, {- keydown: function( event ) {- if ( this.options.closeOnEscape && !event.isDefaultPrevented() && event.keyCode &&- event.keyCode === $.ui.keyCode.ESCAPE ) {- event.preventDefault();- this.close( event );- return;- }-- // prevent tabbing out of dialogs- if ( event.keyCode !== $.ui.keyCode.TAB || event.isDefaultPrevented() ) {- return;- }- var tabbables = this.uiDialog.find( ":tabbable" ),- first = tabbables.filter( ":first" ),- last = tabbables.filter( ":last" );-- if ( ( event.target === last[0] || event.target === this.uiDialog[0] ) && !event.shiftKey ) {- this._delay(function() {- first.focus();- });- event.preventDefault();- } else if ( ( event.target === first[0] || event.target === this.uiDialog[0] ) && event.shiftKey ) {- this._delay(function() {- last.focus();- });- event.preventDefault();- }- },- mousedown: function( event ) {- if ( this._moveToTop( event ) ) {- this._focusTabbable();- }- }- });-- // We assume that any existing aria-describedby attribute means- // that the dialog content is marked up properly- // otherwise we brute force the content as the description- if ( !this.element.find( "[aria-describedby]" ).length ) {- this.uiDialog.attr({- "aria-describedby": this.element.uniqueId().attr( "id" )- });- }- },-- _createTitlebar: function() {- var uiDialogTitle;-- this.uiDialogTitlebar = $( "<div>" )- .addClass( "ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix" )- .prependTo( this.uiDialog );- this._on( this.uiDialogTitlebar, {- mousedown: function( event ) {- // Don't prevent click on close button (#8838)- // Focusing a dialog that is partially scrolled out of view- // causes the browser to scroll it into view, preventing the click event- if ( !$( event.target ).closest( ".ui-dialog-titlebar-close" ) ) {- // Dialog isn't getting focus when dragging (#8063)- this.uiDialog.focus();- }- }- });-- // support: IE- // Use type="button" to prevent enter keypresses in textboxes from closing the- // dialog in IE (#9312)- this.uiDialogTitlebarClose = $( "<button type='button'></button>" )- .button({- label: this.options.closeText,- icons: {- primary: "ui-icon-closethick"- },- text: false- })- .addClass( "ui-dialog-titlebar-close" )- .appendTo( this.uiDialogTitlebar );- this._on( this.uiDialogTitlebarClose, {- click: function( event ) {- event.preventDefault();- this.close( event );- }- });-- uiDialogTitle = $( "<span>" )- .uniqueId()- .addClass( "ui-dialog-title" )- .prependTo( this.uiDialogTitlebar );- this._title( uiDialogTitle );-- this.uiDialog.attr({- "aria-labelledby": uiDialogTitle.attr( "id" )- });- },-- _title: function( title ) {- if ( !this.options.title ) {- title.html( " " );- }- title.text( this.options.title );- },-- _createButtonPane: function() {- this.uiDialogButtonPane = $( "<div>" )- .addClass( "ui-dialog-buttonpane ui-widget-content ui-helper-clearfix" );-- this.uiButtonSet = $( "<div>" )- .addClass( "ui-dialog-buttonset" )- .appendTo( this.uiDialogButtonPane );-- this._createButtons();- },-- _createButtons: function() {- var that = this,- buttons = this.options.buttons;-- // if we already have a button pane, remove it- this.uiDialogButtonPane.remove();- this.uiButtonSet.empty();-- if ( $.isEmptyObject( buttons ) || ($.isArray( buttons ) && !buttons.length) ) {- this.uiDialog.removeClass( "ui-dialog-buttons" );- return;- }-- $.each( buttons, function( name, props ) {- var click, buttonOptions;- props = $.isFunction( props ) ?- { click: props, text: name } :- props;- // Default to a non-submitting button- props = $.extend( { type: "button" }, props );- // Change the context for the click callback to be the main element- click = props.click;- props.click = function() {- click.apply( that.element[ 0 ], arguments );- };- buttonOptions = {- icons: props.icons,- text: props.showText- };- delete props.icons;- delete props.showText;- $( "<button></button>", props )- .button( buttonOptions )- .appendTo( that.uiButtonSet );- });- this.uiDialog.addClass( "ui-dialog-buttons" );- this.uiDialogButtonPane.appendTo( this.uiDialog );- },-- _makeDraggable: function() {- var that = this,- options = this.options;-- function filteredUi( ui ) {- return {- position: ui.position,- offset: ui.offset- };- }-- this.uiDialog.draggable({- cancel: ".ui-dialog-content, .ui-dialog-titlebar-close",- handle: ".ui-dialog-titlebar",- containment: "document",- start: function( event, ui ) {- $( this ).addClass( "ui-dialog-dragging" );- that._blockFrames();- that._trigger( "dragStart", event, filteredUi( ui ) );- },- drag: function( event, ui ) {- that._trigger( "drag", event, filteredUi( ui ) );- },- stop: function( event, ui ) {- var left = ui.offset.left - that.document.scrollLeft(),- top = ui.offset.top - that.document.scrollTop();-- options.position = {- my: "left top",- at: "left" + (left >= 0 ? "+" : "") + left + " " +- "top" + (top >= 0 ? "+" : "") + top,- of: that.window- };- $( this ).removeClass( "ui-dialog-dragging" );- that._unblockFrames();- that._trigger( "dragStop", event, filteredUi( ui ) );- }- });- },-- _makeResizable: function() {- var that = this,- options = this.options,- handles = options.resizable,- // .ui-resizable has position: relative defined in the stylesheet- // but dialogs have to use absolute or fixed positioning- position = this.uiDialog.css("position"),- resizeHandles = typeof handles === "string" ?- handles :- "n,e,s,w,se,sw,ne,nw";-- function filteredUi( ui ) {- return {- originalPosition: ui.originalPosition,- originalSize: ui.originalSize,- position: ui.position,- size: ui.size- };- }-- this.uiDialog.resizable({- cancel: ".ui-dialog-content",- containment: "document",- alsoResize: this.element,- maxWidth: options.maxWidth,- maxHeight: options.maxHeight,- minWidth: options.minWidth,- minHeight: this._minHeight(),- handles: resizeHandles,- start: function( event, ui ) {- $( this ).addClass( "ui-dialog-resizing" );- that._blockFrames();- that._trigger( "resizeStart", event, filteredUi( ui ) );- },- resize: function( event, ui ) {- that._trigger( "resize", event, filteredUi( ui ) );- },- stop: function( event, ui ) {- var offset = that.uiDialog.offset(),- left = offset.left - that.document.scrollLeft(),- top = offset.top - that.document.scrollTop();-- options.height = that.uiDialog.height();- options.width = that.uiDialog.width();- options.position = {- my: "left top",- at: "left" + (left >= 0 ? "+" : "") + left + " " +- "top" + (top >= 0 ? "+" : "") + top,- of: that.window- };- $( this ).removeClass( "ui-dialog-resizing" );- that._unblockFrames();- that._trigger( "resizeStop", event, filteredUi( ui ) );- }- })- .css( "position", position );- },-- _trackFocus: function() {- this._on( this.widget(), {- focusin: function( event ) {- this._makeFocusTarget();- this._focusedElement = $( event.target );- }- });- },-- _makeFocusTarget: function() {- this._untrackInstance();- this._trackingInstances().unshift( this );- },-- _untrackInstance: function() {- var instances = this._trackingInstances(),- exists = $.inArray( this, instances );- if ( exists !== -1 ) {- instances.splice( exists, 1 );- }- },-- _trackingInstances: function() {- var instances = this.document.data( "ui-dialog-instances" );- if ( !instances ) {- instances = [];- this.document.data( "ui-dialog-instances", instances );- }- return instances;- },-- _minHeight: function() {- var options = this.options;-- return options.height === "auto" ?- options.minHeight :- Math.min( options.minHeight, options.height );- },-- _position: function() {- // Need to show the dialog to get the actual offset in the position plugin- var isVisible = this.uiDialog.is( ":visible" );- if ( !isVisible ) {- this.uiDialog.show();- }- this.uiDialog.position( this.options.position );- if ( !isVisible ) {- this.uiDialog.hide();- }- },-- _setOptions: function( options ) {- var that = this,- resize = false,- resizableOptions = {};-- $.each( options, function( key, value ) {- that._setOption( key, value );-- if ( key in that.sizeRelatedOptions ) {- resize = true;- }- if ( key in that.resizableRelatedOptions ) {- resizableOptions[ key ] = value;- }- });-- if ( resize ) {- this._size();- this._position();- }- if ( this.uiDialog.is( ":data(ui-resizable)" ) ) {- this.uiDialog.resizable( "option", resizableOptions );- }- },-- _setOption: function( key, value ) {- var isDraggable, isResizable,- uiDialog = this.uiDialog;-- if ( key === "dialogClass" ) {- uiDialog- .removeClass( this.options.dialogClass )- .addClass( value );- }-- if ( key === "disabled" ) {- return;- }-- this._super( key, value );-- if ( key === "appendTo" ) {- this.uiDialog.appendTo( this._appendTo() );- }-- if ( key === "buttons" ) {- this._createButtons();- }-- if ( key === "closeText" ) {- this.uiDialogTitlebarClose.button({- // Ensure that we always pass a string- label: "" + value- });- }-- if ( key === "draggable" ) {- isDraggable = uiDialog.is( ":data(ui-draggable)" );- if ( isDraggable && !value ) {- uiDialog.draggable( "destroy" );- }-- if ( !isDraggable && value ) {- this._makeDraggable();- }- }-- if ( key === "position" ) {- this._position();- }-- if ( key === "resizable" ) {- // currently resizable, becoming non-resizable- isResizable = uiDialog.is( ":data(ui-resizable)" );- if ( isResizable && !value ) {- uiDialog.resizable( "destroy" );- }-- // currently resizable, changing handles- if ( isResizable && typeof value === "string" ) {- uiDialog.resizable( "option", "handles", value );- }-- // currently non-resizable, becoming resizable- if ( !isResizable && value !== false ) {- this._makeResizable();- }- }-- if ( key === "title" ) {- this._title( this.uiDialogTitlebar.find( ".ui-dialog-title" ) );- }- },-- _size: function() {- // If the user has resized the dialog, the .ui-dialog and .ui-dialog-content- // divs will both have width and height set, so we need to reset them- var nonContentHeight, minContentHeight, maxContentHeight,- options = this.options;-- // Reset content sizing- this.element.show().css({- width: "auto",- minHeight: 0,- maxHeight: "none",- height: 0- });-- if ( options.minWidth > options.width ) {- options.width = options.minWidth;- }-- // reset wrapper sizing- // determine the height of all the non-content elements- nonContentHeight = this.uiDialog.css({- height: "auto",- width: options.width- })- .outerHeight();- minContentHeight = Math.max( 0, options.minHeight - nonContentHeight );- maxContentHeight = typeof options.maxHeight === "number" ?- Math.max( 0, options.maxHeight - nonContentHeight ) :- "none";-- if ( options.height === "auto" ) {- this.element.css({- minHeight: minContentHeight,- maxHeight: maxContentHeight,- height: "auto"- });- } else {- this.element.height( Math.max( 0, options.height - nonContentHeight ) );- }-- if ( this.uiDialog.is( ":data(ui-resizable)" ) ) {- this.uiDialog.resizable( "option", "minHeight", this._minHeight() );- }- },-- _blockFrames: function() {- this.iframeBlocks = this.document.find( "iframe" ).map(function() {- var iframe = $( this );-- return $( "<div>" )- .css({- position: "absolute",- width: iframe.outerWidth(),- height: iframe.outerHeight()- })- .appendTo( iframe.parent() )- .offset( iframe.offset() )[0];- });- },-- _unblockFrames: function() {- if ( this.iframeBlocks ) {- this.iframeBlocks.remove();- delete this.iframeBlocks;- }- },-- _allowInteraction: function( event ) {- if ( $( event.target ).closest( ".ui-dialog" ).length ) {- return true;- }-- // TODO: Remove hack when datepicker implements- // the .ui-front logic (#8989)- return !!$( event.target ).closest( ".ui-datepicker" ).length;- },-- _createOverlay: function() {- if ( !this.options.modal ) {- return;- }-- // We use a delay in case the overlay is created from an- // event that we're going to be cancelling (#2804)- var isOpening = true;- this._delay(function() {- isOpening = false;- });-- if ( !this.document.data( "ui-dialog-overlays" ) ) {-- // Prevent use of anchors and inputs- // Using _on() for an event handler shared across many instances is- // safe because the dialogs stack and must be closed in reverse order- this._on( this.document, {- focusin: function( event ) {- if ( isOpening ) {- return;- }-- if ( !this._allowInteraction( event ) ) {- event.preventDefault();- this._trackingInstances()[ 0 ]._focusTabbable();- }- }- });- }-- this.overlay = $( "<div>" )- .addClass( "ui-widget-overlay ui-front" )- .appendTo( this._appendTo() );- this._on( this.overlay, {- mousedown: "_keepFocus"- });- this.document.data( "ui-dialog-overlays",- (this.document.data( "ui-dialog-overlays" ) || 0) + 1 );- },-- _destroyOverlay: function() {- if ( !this.options.modal ) {- return;- }-- if ( this.overlay ) {- var overlays = this.document.data( "ui-dialog-overlays" ) - 1;-- if ( !overlays ) {- this.document- .unbind( "focusin" )- .removeData( "ui-dialog-overlays" );- } else {- this.document.data( "ui-dialog-overlays", overlays );- }-- this.overlay.remove();- this.overlay = null;- }- }-});---/*!- * jQuery UI Progressbar 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/progressbar/- */---var progressbar = $.widget( "ui.progressbar", {- version: "1.11.4",- options: {- max: 100,- value: 0,-- change: null,- complete: null- },-- min: 0,-- _create: function() {- // Constrain initial value- this.oldValue = this.options.value = this._constrainedValue();-- this.element- .addClass( "ui-progressbar ui-widget ui-widget-content ui-corner-all" )- .attr({- // Only set static values, aria-valuenow and aria-valuemax are- // set inside _refreshValue()- role: "progressbar",- "aria-valuemin": this.min- });-- this.valueDiv = $( "<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( newValue ) {- if ( newValue === undefined ) {- return this.options.value;- }-- this.options.value = this._constrainedValue( newValue );- this._refreshValue();- },-- _constrainedValue: function( newValue ) {- if ( newValue === undefined ) {- newValue = this.options.value;- }-- this.indeterminate = newValue === false;-- // sanitize value- if ( typeof newValue !== "number" ) {- newValue = 0;- }-- return this.indeterminate ? false :- Math.min( this.options.max, Math.max( this.min, newValue ) );- },-- _setOptions: function( options ) {- // Ensure "value" option is set after other values (like max)- var value = options.value;- delete options.value;-- this._super( options );-- this.options.value = this._constrainedValue( value );- this._refreshValue();- },-- _setOption: function( key, value ) {- if ( key === "max" ) {- // Don't allow a max less than min- value = Math.max( this.min, value );- }- if ( key === "disabled" ) {- this.element- .toggleClass( "ui-state-disabled", !!value )- .attr( "aria-disabled", value );- }- this._super( key, value );- },-- _percentage: function() {- return this.indeterminate ? 100 : 100 * ( this.options.value - this.min ) / ( this.options.max - this.min );- },-- _refreshValue: function() {- var value = this.options.value,- percentage = this._percentage();-- this.valueDiv- .toggle( this.indeterminate || value > this.min )- .toggleClass( "ui-corner-right", value === this.options.max )- .width( percentage.toFixed(0) + "%" );-- this.element.toggleClass( "ui-progressbar-indeterminate", this.indeterminate );-- if ( this.indeterminate ) {- this.element.removeAttr( "aria-valuenow" );- if ( !this.overlayDiv ) {- this.overlayDiv = $( "<div class='ui-progressbar-overlay'></div>" ).appendTo( this.valueDiv );- }- } else {- this.element.attr({- "aria-valuemax": this.options.max,- "aria-valuenow": value- });- if ( this.overlayDiv ) {- this.overlayDiv.remove();- this.overlayDiv = null;- }- }-- if ( this.oldValue !== value ) {- this.oldValue = value;- this._trigger( "change" );- }- if ( value === this.options.max ) {- this._trigger( "complete" );- }- }-});---/*!- * jQuery UI Selectmenu 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/selectmenu- */---var selectmenu = $.widget( "ui.selectmenu", {- version: "1.11.4",- defaultElement: "<select>",- options: {- appendTo: null,- disabled: null,- icons: {- button: "ui-icon-triangle-1-s"- },- position: {- my: "left top",- at: "left bottom",- collision: "none"- },- width: null,-- // callbacks- change: null,- close: null,- focus: null,- open: null,- select: null- },-- _create: function() {- var selectmenuId = this.element.uniqueId().attr( "id" );- this.ids = {- element: selectmenuId,- button: selectmenuId + "-button",- menu: selectmenuId + "-menu"- };-- this._drawButton();- this._drawMenu();-- if ( this.options.disabled ) {- this.disable();- }- },-- _drawButton: function() {- var that = this;-- // Associate existing label with the new button- this.label = $( "label[for='" + this.ids.element + "']" ).attr( "for", this.ids.button );- this._on( this.label, {- click: function( event ) {- this.button.focus();- event.preventDefault();- }- });-- // Hide original select element- this.element.hide();-- // Create button- this.button = $( "<span>", {- "class": "ui-selectmenu-button ui-widget ui-state-default ui-corner-all",- tabindex: this.options.disabled ? -1 : 0,- id: this.ids.button,- role: "combobox",- "aria-expanded": "false",- "aria-autocomplete": "list",- "aria-owns": this.ids.menu,- "aria-haspopup": "true"- })- .insertAfter( this.element );-- $( "<span>", {- "class": "ui-icon " + this.options.icons.button- })- .prependTo( this.button );-- this.buttonText = $( "<span>", {- "class": "ui-selectmenu-text"- })- .appendTo( this.button );-- this._setText( this.buttonText, this.element.find( "option:selected" ).text() );- this._resizeButton();-- this._on( this.button, this._buttonEvents );- this.button.one( "focusin", function() {-- // Delay rendering the menu items until the button receives focus.- // The menu may have already been rendered via a programmatic open.- if ( !that.menuItems ) {- that._refreshMenu();- }- });- this._hoverable( this.button );- this._focusable( this.button );- },-- _drawMenu: function() {- var that = this;-- // Create menu- this.menu = $( "<ul>", {- "aria-hidden": "true",- "aria-labelledby": this.ids.button,- id: this.ids.menu- });-- // Wrap menu- this.menuWrap = $( "<div>", {- "class": "ui-selectmenu-menu ui-front"- })- .append( this.menu )- .appendTo( this._appendTo() );-- // Initialize menu widget- this.menuInstance = this.menu- .menu({- role: "listbox",- select: function( event, ui ) {- event.preventDefault();-- // support: IE8- // If the item was selected via a click, the text selection- // will be destroyed in IE- that._setSelection();-- that._select( ui.item.data( "ui-selectmenu-item" ), event );- },- focus: function( event, ui ) {- var item = ui.item.data( "ui-selectmenu-item" );-- // Prevent inital focus from firing and check if its a newly focused item- if ( that.focusIndex != null && item.index !== that.focusIndex ) {- that._trigger( "focus", event, { item: item } );- if ( !that.isOpen ) {- that._select( item, event );- }- }- that.focusIndex = item.index;-- that.button.attr( "aria-activedescendant",- that.menuItems.eq( item.index ).attr( "id" ) );- }- })- .menu( "instance" );-- // Adjust menu styles to dropdown- this.menu- .addClass( "ui-corner-bottom" )- .removeClass( "ui-corner-all" );-- // Don't close the menu on mouseleave- this.menuInstance._off( this.menu, "mouseleave" );-- // Cancel the menu's collapseAll on document click- this.menuInstance._closeOnDocumentClick = function() {- return false;- };-- // Selects often contain empty items, but never contain dividers- this.menuInstance._isDivider = function() {- return false;- };- },-- refresh: function() {- this._refreshMenu();- this._setText( this.buttonText, this._getSelectedItem().text() );- if ( !this.options.width ) {- this._resizeButton();- }- },-- _refreshMenu: function() {- this.menu.empty();-- var item,- options = this.element.find( "option" );-- if ( !options.length ) {- return;- }-- this._parseOptions( options );- this._renderMenu( this.menu, this.items );-- this.menuInstance.refresh();- this.menuItems = this.menu.find( "li" ).not( ".ui-selectmenu-optgroup" );-- item = this._getSelectedItem();-- // Update the menu to have the correct item focused- this.menuInstance.focus( null, item );- this._setAria( item.data( "ui-selectmenu-item" ) );-- // Set disabled state- this._setOption( "disabled", this.element.prop( "disabled" ) );- },-- open: function( event ) {- if ( this.options.disabled ) {- return;- }-- // If this is the first time the menu is being opened, render the items- if ( !this.menuItems ) {- this._refreshMenu();- } else {-- // Menu clears focus on close, reset focus to selected item- this.menu.find( ".ui-state-focus" ).removeClass( "ui-state-focus" );- this.menuInstance.focus( null, this._getSelectedItem() );- }-- this.isOpen = true;- this._toggleAttr();- this._resizeMenu();- this._position();-- this._on( this.document, this._documentClick );-- this._trigger( "open", event );- },-- _position: function() {- this.menuWrap.position( $.extend( { of: this.button }, this.options.position ) );- },-- close: function( event ) {- if ( !this.isOpen ) {- return;- }-- this.isOpen = false;- this._toggleAttr();-- this.range = null;- this._off( this.document );-- this._trigger( "close", event );- },-- widget: function() {- return this.button;- },-- menuWidget: function() {- return this.menu;- },-- _renderMenu: function( ul, items ) {- var that = this,- currentOptgroup = "";-- $.each( items, function( index, item ) {- if ( item.optgroup !== currentOptgroup ) {- $( "<li>", {- "class": "ui-selectmenu-optgroup ui-menu-divider" +- ( item.element.parent( "optgroup" ).prop( "disabled" ) ?- " ui-state-disabled" :- "" ),- text: item.optgroup- })- .appendTo( ul );-- currentOptgroup = item.optgroup;- }-- that._renderItemData( ul, item );- });- },-- _renderItemData: function( ul, item ) {- return this._renderItem( ul, item ).data( "ui-selectmenu-item", item );- },-- _renderItem: function( ul, item ) {- var li = $( "<li>" );-- if ( item.disabled ) {- li.addClass( "ui-state-disabled" );- }- this._setText( li, item.label );-- return li.appendTo( ul );- },-- _setText: function( element, value ) {- if ( value ) {- element.text( value );- } else {- element.html( " " );- }- },-- _move: function( direction, event ) {- var item, next,- filter = ".ui-menu-item";-- if ( this.isOpen ) {- item = this.menuItems.eq( this.focusIndex );- } else {- item = this.menuItems.eq( this.element[ 0 ].selectedIndex );- filter += ":not(.ui-state-disabled)";- }-- if ( direction === "first" || direction === "last" ) {- next = item[ direction === "first" ? "prevAll" : "nextAll" ]( filter ).eq( -1 );- } else {- next = item[ direction + "All" ]( filter ).eq( 0 );- }-- if ( next.length ) {- this.menuInstance.focus( event, next );- }- },-- _getSelectedItem: function() {- return this.menuItems.eq( this.element[ 0 ].selectedIndex );- },-- _toggle: function( event ) {- this[ this.isOpen ? "close" : "open" ]( event );- },-- _setSelection: function() {- var selection;-- if ( !this.range ) {- return;- }-- if ( window.getSelection ) {- selection = window.getSelection();- selection.removeAllRanges();- selection.addRange( this.range );-- // support: IE8- } else {- this.range.select();- }-- // support: IE- // Setting the text selection kills the button focus in IE, but- // restoring the focus doesn't kill the selection.- this.button.focus();- },-- _documentClick: {- mousedown: function( event ) {- if ( !this.isOpen ) {- return;- }-- if ( !$( event.target ).closest( ".ui-selectmenu-menu, #" + this.ids.button ).length ) {- this.close( event );- }- }- },-- _buttonEvents: {-- // Prevent text selection from being reset when interacting with the selectmenu (#10144)- mousedown: function() {- var selection;-- if ( window.getSelection ) {- selection = window.getSelection();- if ( selection.rangeCount ) {- this.range = selection.getRangeAt( 0 );- }-- // support: IE8- } else {- this.range = document.selection.createRange();- }- },-- click: function( event ) {- this._setSelection();- this._toggle( event );- },-- keydown: function( event ) {- var preventDefault = true;- switch ( event.keyCode ) {- case $.ui.keyCode.TAB:- case $.ui.keyCode.ESCAPE:- this.close( event );- preventDefault = false;- break;- case $.ui.keyCode.ENTER:- if ( this.isOpen ) {- this._selectFocusedItem( event );- }- break;- case $.ui.keyCode.UP:- if ( event.altKey ) {- this._toggle( event );- } else {- this._move( "prev", event );- }- break;- case $.ui.keyCode.DOWN:- if ( event.altKey ) {- this._toggle( event );- } else {- this._move( "next", event );- }- break;- case $.ui.keyCode.SPACE:- if ( this.isOpen ) {- this._selectFocusedItem( event );- } else {- this._toggle( event );- }- break;- case $.ui.keyCode.LEFT:- this._move( "prev", event );- break;- case $.ui.keyCode.RIGHT:- this._move( "next", event );- break;- case $.ui.keyCode.HOME:- case $.ui.keyCode.PAGE_UP:- this._move( "first", event );- break;- case $.ui.keyCode.END:- case $.ui.keyCode.PAGE_DOWN:- this._move( "last", event );- break;- default:- this.menu.trigger( event );- preventDefault = false;- }-- if ( preventDefault ) {- event.preventDefault();- }- }- },-- _selectFocusedItem: function( event ) {- var item = this.menuItems.eq( this.focusIndex );- if ( !item.hasClass( "ui-state-disabled" ) ) {- this._select( item.data( "ui-selectmenu-item" ), event );- }- },-- _select: function( item, event ) {- var oldIndex = this.element[ 0 ].selectedIndex;-- // Change native select element- this.element[ 0 ].selectedIndex = item.index;- this._setText( this.buttonText, item.label );- this._setAria( item );- this._trigger( "select", event, { item: item } );-- if ( item.index !== oldIndex ) {- this._trigger( "change", event, { item: item } );- }-- this.close( event );- },-- _setAria: function( item ) {- var id = this.menuItems.eq( item.index ).attr( "id" );-- this.button.attr({- "aria-labelledby": id,- "aria-activedescendant": id- });- this.menu.attr( "aria-activedescendant", id );- },-- _setOption: function( key, value ) {- if ( key === "icons" ) {- this.button.find( "span.ui-icon" )- .removeClass( this.options.icons.button )- .addClass( value.button );- }-- this._super( key, value );-- if ( key === "appendTo" ) {- this.menuWrap.appendTo( this._appendTo() );- }-- if ( key === "disabled" ) {- this.menuInstance.option( "disabled", value );- this.button- .toggleClass( "ui-state-disabled", value )- .attr( "aria-disabled", value );-- this.element.prop( "disabled", value );- if ( value ) {- this.button.attr( "tabindex", -1 );- this.close();- } else {- this.button.attr( "tabindex", 0 );- }- }-- if ( key === "width" ) {- this._resizeButton();- }- },-- _appendTo: function() {- var element = this.options.appendTo;-- if ( element ) {- element = element.jquery || element.nodeType ?- $( element ) :- this.document.find( element ).eq( 0 );- }-- if ( !element || !element[ 0 ] ) {- element = this.element.closest( ".ui-front" );- }-- if ( !element.length ) {- element = this.document[ 0 ].body;- }-- return element;- },-- _toggleAttr: function() {- this.button- .toggleClass( "ui-corner-top", this.isOpen )- .toggleClass( "ui-corner-all", !this.isOpen )- .attr( "aria-expanded", this.isOpen );- this.menuWrap.toggleClass( "ui-selectmenu-open", this.isOpen );- this.menu.attr( "aria-hidden", !this.isOpen );- },-- _resizeButton: function() {- var width = this.options.width;-- if ( !width ) {- width = this.element.show().outerWidth();- this.element.hide();- }-- this.button.outerWidth( width );- },-- _resizeMenu: function() {- this.menu.outerWidth( Math.max(- this.button.outerWidth(),-- // support: IE10- // IE10 wraps long text (possibly a rounding bug)- // so we add 1px to avoid the wrapping- this.menu.width( "" ).outerWidth() + 1- ) );- },-- _getCreateOptions: function() {- return { disabled: this.element.prop( "disabled" ) };- },-- _parseOptions: function( options ) {- var data = [];- options.each(function( index, item ) {- var option = $( item ),- optgroup = option.parent( "optgroup" );- data.push({- element: option,- index: index,- value: option.val(),- label: option.text(),- optgroup: optgroup.attr( "label" ) || "",- disabled: optgroup.prop( "disabled" ) || option.prop( "disabled" )- });- });- this.items = data;- },-- _destroy: function() {- this.menuWrap.remove();- this.button.remove();- this.element.show();- this.element.removeUniqueId();- this.label.attr( "for", this.ids.element );- }-});---/*!- * jQuery UI Slider 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/slider/- */---var slider = $.widget( "ui.slider", $.ui.mouse, {- version: "1.11.4",- widgetEventPrefix: "slide",-- options: {- animate: false,- distance: 0,- max: 100,- min: 0,- orientation: "horizontal",- range: false,- step: 1,- value: 0,- values: null,-- // callbacks- change: null,- slide: null,- start: null,- stop: null- },-- // number of pages in a slider- // (how many times can you page up/down to go through the whole range)- numPages: 5,-- _create: function() {- this._keySliding = false;- this._mouseSliding = false;- this._animateOff = true;- this._handleIndex = null;- this._detectOrientation();- this._mouseInit();- this._calculateNewMax();-- 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 = false;- },-- _refresh: function() {- this._createRange();- this._createHandles();- this._setupEvents();- this._refreshValue();- },-- _createHandles: function() {- var i, handleCount,- options = this.options,- existingHandles = this.element.find( ".ui-slider-handle" ).addClass( "ui-state-default ui-corner-all" ),- handle = "<span class='ui-slider-handle ui-state-default ui-corner-all' tabindex='0'></span>",- handles = [];-- handleCount = ( options.values && options.values.length ) || 1;-- if ( existingHandles.length > handleCount ) {- existingHandles.slice( handleCount ).remove();- existingHandles = existingHandles.slice( 0, handleCount );- }-- for ( i = existingHandles.length; i < handleCount; i++ ) {- handles.push( handle );- }-- this.handles = existingHandles.add( $( handles.join( "" ) ).appendTo( this.element ) );-- this.handle = this.handles.eq( 0 );-- this.handles.each(function( i ) {- $( this ).data( "ui-slider-handle-index", i );- });- },-- _createRange: function() {- var options = this.options,- classes = "";-- if ( options.range ) {- if ( options.range === true ) {- if ( !options.values ) {- options.values = [ this._valueMin(), this._valueMin() ];- } else if ( options.values.length && options.values.length !== 2 ) {- options.values = [ options.values[0], options.values[0] ];- } else if ( $.isArray( options.values ) ) {- options.values = options.values.slice(0);- }- }-- if ( !this.range || !this.range.length ) {- this.range = $( "<div></div>" )- .appendTo( this.element );-- classes = "ui-slider-range" +- // note: this isn't the most fittingly semantic framework class for this element,- // but worked best visually with a variety of themes- " ui-widget-header ui-corner-all";- } else {- this.range.removeClass( "ui-slider-range-min ui-slider-range-max" )- // Handle range switching from true to min/max- .css({- "left": "",- "bottom": ""- });- }-- this.range.addClass( classes +- ( ( options.range === "min" || options.range === "max" ) ? " ui-slider-range-" + options.range : "" ) );- } else {- if ( this.range ) {- this.range.remove();- }- this.range = null;- }- },-- _setupEvents: function() {- this._off( this.handles );- this._on( this.handles, this._handleEvents );- this._hoverable( this.handles );- this._focusable( this.handles );- },-- _destroy: function() {- this.handles.remove();- if ( this.range ) {- 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( event ) {- var position, normValue, distance, closestHandle, index, allowed, offset, mouseOverHandle,- that = this,- o = this.options;-- if ( o.disabled ) {- return false;- }-- this.elementSize = {- width: this.element.outerWidth(),- height: this.element.outerHeight()- };- this.elementOffset = this.element.offset();-- position = { x: event.pageX, y: event.pageY };- normValue = this._normValueFromMouse( position );- distance = this._valueMax() - this._valueMin() + 1;- this.handles.each(function( i ) {- var thisDistance = Math.abs( normValue - that.values(i) );- if (( distance > thisDistance ) ||- ( distance === thisDistance &&- (i === that._lastChangedValue || that.values(i) === o.min ))) {- distance = thisDistance;- closestHandle = $( this );- index = i;- }- });-- allowed = this._start( event, index );- if ( allowed === false ) {- return false;- }- this._mouseSliding = true;-- this._handleIndex = index;-- closestHandle- .addClass( "ui-state-active" )- .focus();-- offset = closestHandle.offset();- mouseOverHandle = !$( event.target ).parents().addBack().is( ".ui-slider-handle" );- this._clickOffset = mouseOverHandle ? { left: 0, top: 0 } : {- left: event.pageX - offset.left - ( closestHandle.width() / 2 ),- top: event.pageY - offset.top -- ( closestHandle.height() / 2 ) -- ( parseInt( closestHandle.css("borderTopWidth"), 10 ) || 0 ) -- ( parseInt( closestHandle.css("borderBottomWidth"), 10 ) || 0) +- ( parseInt( closestHandle.css("marginTop"), 10 ) || 0)- };-- if ( !this.handles.hasClass( "ui-state-hover" ) ) {- this._slide( event, index, normValue );- }- this._animateOff = true;- return true;- },-- _mouseStart: function() {- return true;- },-- _mouseDrag: function( event ) {- var position = { x: event.pageX, y: event.pageY },- normValue = this._normValueFromMouse( position );-- this._slide( event, this._handleIndex, normValue );-- return false;- },-- _mouseStop: function( event ) {- this.handles.removeClass( "ui-state-active" );- this._mouseSliding = false;-- this._stop( event, this._handleIndex );- this._change( event, this._handleIndex );-- this._handleIndex = null;- this._clickOffset = null;- this._animateOff = false;-- return false;- },-- _detectOrientation: function() {- this.orientation = ( this.options.orientation === "vertical" ) ? "vertical" : "horizontal";- },-- _normValueFromMouse: function( position ) {- var pixelTotal,- pixelMouse,- percentMouse,- valueTotal,- valueMouse;-- if ( this.orientation === "horizontal" ) {- pixelTotal = this.elementSize.width;- pixelMouse = position.x - this.elementOffset.left - ( this._clickOffset ? this._clickOffset.left : 0 );- } else {- pixelTotal = this.elementSize.height;- pixelMouse = position.y - this.elementOffset.top - ( this._clickOffset ? this._clickOffset.top : 0 );- }-- percentMouse = ( pixelMouse / pixelTotal );- if ( percentMouse > 1 ) {- percentMouse = 1;- }- if ( percentMouse < 0 ) {- percentMouse = 0;- }- if ( this.orientation === "vertical" ) {- percentMouse = 1 - percentMouse;- }-- valueTotal = this._valueMax() - this._valueMin();- valueMouse = this._valueMin() + percentMouse * valueTotal;-- return this._trimAlignValue( valueMouse );- },-- _start: function( event, index ) {- var uiHash = {- handle: this.handles[ index ],- value: this.value()- };- if ( this.options.values && this.options.values.length ) {- uiHash.value = this.values( index );- uiHash.values = this.values();- }- return this._trigger( "start", event, uiHash );- },-- _slide: function( event, index, newVal ) {- var otherVal,- newValues,- allowed;-- if ( this.options.values && this.options.values.length ) {- otherVal = this.values( index ? 0 : 1 );-- if ( ( this.options.values.length === 2 && this.options.range === true ) &&- ( ( index === 0 && newVal > otherVal) || ( index === 1 && newVal < otherVal ) )- ) {- newVal = otherVal;- }-- if ( newVal !== this.values( index ) ) {- newValues = this.values();- newValues[ index ] = newVal;- // A slide can be canceled by returning false from the slide callback- allowed = this._trigger( "slide", event, {- handle: this.handles[ index ],- value: newVal,- values: newValues- } );- otherVal = this.values( index ? 0 : 1 );- if ( allowed !== false ) {- this.values( index, newVal );- }- }- } else {- if ( newVal !== this.value() ) {- // A slide can be canceled by returning false from the slide callback- allowed = this._trigger( "slide", event, {- handle: this.handles[ index ],- value: newVal- } );- if ( allowed !== false ) {- this.value( newVal );- }- }- }- },-- _stop: function( event, index ) {- var uiHash = {- handle: this.handles[ index ],- value: this.value()- };- if ( this.options.values && this.options.values.length ) {- uiHash.value = this.values( index );- uiHash.values = this.values();- }-- this._trigger( "stop", event, uiHash );- },-- _change: function( event, index ) {- if ( !this._keySliding && !this._mouseSliding ) {- var uiHash = {- handle: this.handles[ index ],- value: this.value()- };- if ( this.options.values && this.options.values.length ) {- uiHash.value = this.values( index );- uiHash.values = this.values();- }-- //store the last changed value index for reference when handles overlap- this._lastChangedValue = index;-- this._trigger( "change", event, uiHash );- }- },-- value: function( newValue ) {- if ( arguments.length ) {- this.options.value = this._trimAlignValue( newValue );- this._refreshValue();- this._change( null, 0 );- return;- }-- return this._value();- },-- values: function( index, newValue ) {- var vals,- newValues,- i;-- if ( arguments.length > 1 ) {- this.options.values[ index ] = this._trimAlignValue( newValue );- this._refreshValue();- this._change( null, index );- return;- }-- if ( arguments.length ) {- if ( $.isArray( arguments[ 0 ] ) ) {- vals = this.options.values;- newValues = arguments[ 0 ];- for ( i = 0; i < vals.length; i += 1 ) {- vals[ i ] = this._trimAlignValue( newValues[ i ] );- this._change( null, i );- }- this._refreshValue();- } else {- if ( this.options.values && this.options.values.length ) {- return this._values( index );- } else {- return this.value();- }- }- } else {- return this._values();- }- },-- _setOption: function( key, value ) {- var i,- valsLength = 0;-- if ( key === "range" && this.options.range === true ) {- if ( value === "min" ) {- this.options.value = this._values( 0 );- this.options.values = null;- } else if ( value === "max" ) {- this.options.value = this._values( this.options.values.length - 1 );- this.options.values = null;- }- }-- if ( $.isArray( this.options.values ) ) {- valsLength = this.options.values.length;- }-- if ( key === "disabled" ) {- this.element.toggleClass( "ui-state-disabled", !!value );- }-- this._super( key, value );-- switch ( key ) {- case "orientation":- this._detectOrientation();- this.element- .removeClass( "ui-slider-horizontal ui-slider-vertical" )- .addClass( "ui-slider-" + this.orientation );- this._refreshValue();-- // Reset positioning from previous orientation- this.handles.css( value === "horizontal" ? "bottom" : "left", "" );- break;- case "value":- this._animateOff = true;- this._refreshValue();- this._change( null, 0 );- this._animateOff = false;- break;- case "values":- this._animateOff = true;- this._refreshValue();- for ( i = 0; i < valsLength; i += 1 ) {- this._change( null, i );- }- this._animateOff = false;- break;- case "step":- case "min":- case "max":- this._animateOff = true;- this._calculateNewMax();- this._refreshValue();- this._animateOff = false;- break;- case "range":- this._animateOff = true;- this._refresh();- this._animateOff = false;- break;- }- },-- //internal value getter- // _value() returns value trimmed by min and max, aligned by step- _value: function() {- var val = this.options.value;- val = this._trimAlignValue( val );-- return val;- },-- //internal values getter- // _values() returns array of values trimmed by min and max, aligned by step- // _values( index ) returns single value trimmed by min and max, aligned by step- _values: function( index ) {- var val,- vals,- i;-- if ( arguments.length ) {- val = this.options.values[ index ];- val = this._trimAlignValue( val );-- return val;- } else if ( this.options.values && this.options.values.length ) {- // .slice() creates a copy of the array- // this copy gets trimmed by min and max and then returned- vals = this.options.values.slice();- for ( i = 0; i < vals.length; i += 1) {- vals[ i ] = this._trimAlignValue( vals[ i ] );- }-- return vals;- } else {- return [];- }- },-- // returns the step-aligned value that val is closest to, between (inclusive) min and max- _trimAlignValue: function( val ) {- if ( val <= this._valueMin() ) {- return this._valueMin();- }- if ( val >= this._valueMax() ) {- return this._valueMax();- }- var step = ( this.options.step > 0 ) ? this.options.step : 1,- valModStep = (val - this._valueMin()) % step,- alignValue = val - valModStep;-- if ( Math.abs(valModStep) * 2 >= step ) {- alignValue += ( valModStep > 0 ) ? step : ( -step );- }-- // Since JavaScript has problems with large floats, round- // the final value to 5 digits after the decimal point (see #4124)- return parseFloat( alignValue.toFixed(5) );- },-- _calculateNewMax: function() {- var max = this.options.max,- min = this._valueMin(),- step = this.options.step,- aboveMin = Math.floor( ( +( max - min ).toFixed( this._precision() ) ) / step ) * step;- max = aboveMin + min;- this.max = parseFloat( max.toFixed( this._precision() ) );- },-- _precision: function() {- var precision = this._precisionOf( this.options.step );- if ( this.options.min !== null ) {- precision = Math.max( precision, this._precisionOf( this.options.min ) );- }- return precision;- },-- _precisionOf: function( num ) {- var str = num.toString(),- decimal = str.indexOf( "." );- return decimal === -1 ? 0 : str.length - decimal - 1;- },-- _valueMin: function() {- return this.options.min;- },-- _valueMax: function() {- return this.max;- },-- _refreshValue: function() {- var lastValPercent, valPercent, value, valueMin, valueMax,- oRange = this.options.range,- o = this.options,- that = this,- animate = ( !this._animateOff ) ? o.animate : false,- _set = {};-- if ( this.options.values && this.options.values.length ) {- this.handles.each(function( i ) {- valPercent = ( that.values(i) - that._valueMin() ) / ( that._valueMax() - that._valueMin() ) * 100;- _set[ that.orientation === "horizontal" ? "left" : "bottom" ] = valPercent + "%";- $( this ).stop( 1, 1 )[ animate ? "animate" : "css" ]( _set, o.animate );- if ( that.options.range === true ) {- if ( that.orientation === "horizontal" ) {- if ( i === 0 ) {- that.range.stop( 1, 1 )[ animate ? "animate" : "css" ]( { left: valPercent + "%" }, o.animate );- }- if ( i === 1 ) {- that.range[ animate ? "animate" : "css" ]( { width: ( valPercent - lastValPercent ) + "%" }, { queue: false, duration: o.animate } );- }- } else {- if ( i === 0 ) {- that.range.stop( 1, 1 )[ animate ? "animate" : "css" ]( { bottom: ( valPercent ) + "%" }, o.animate );- }- if ( i === 1 ) {- that.range[ animate ? "animate" : "css" ]( { height: ( valPercent - lastValPercent ) + "%" }, { queue: false, duration: o.animate } );- }- }- }- lastValPercent = valPercent;- });- } else {- value = this.value();- valueMin = this._valueMin();- valueMax = this._valueMax();- valPercent = ( valueMax !== valueMin ) ?- ( value - valueMin ) / ( valueMax - valueMin ) * 100 :- 0;- _set[ this.orientation === "horizontal" ? "left" : "bottom" ] = valPercent + "%";- this.handle.stop( 1, 1 )[ animate ? "animate" : "css" ]( _set, o.animate );-- if ( oRange === "min" && this.orientation === "horizontal" ) {- this.range.stop( 1, 1 )[ animate ? "animate" : "css" ]( { width: valPercent + "%" }, o.animate );- }- if ( oRange === "max" && this.orientation === "horizontal" ) {- this.range[ animate ? "animate" : "css" ]( { width: ( 100 - valPercent ) + "%" }, { queue: false, duration: o.animate } );- }- if ( oRange === "min" && this.orientation === "vertical" ) {- this.range.stop( 1, 1 )[ animate ? "animate" : "css" ]( { height: valPercent + "%" }, o.animate );- }- if ( oRange === "max" && this.orientation === "vertical" ) {- this.range[ animate ? "animate" : "css" ]( { height: ( 100 - valPercent ) + "%" }, { queue: false, duration: o.animate } );- }- }- },-- _handleEvents: {- keydown: function( event ) {- var allowed, curVal, newVal, step,- index = $( event.target ).data( "ui-slider-handle-index" );-- switch ( event.keyCode ) {- case $.ui.keyCode.HOME:- case $.ui.keyCode.END:- case $.ui.keyCode.PAGE_UP:- case $.ui.keyCode.PAGE_DOWN:- case $.ui.keyCode.UP:- case $.ui.keyCode.RIGHT:- case $.ui.keyCode.DOWN:- case $.ui.keyCode.LEFT:- event.preventDefault();- if ( !this._keySliding ) {- this._keySliding = true;- $( event.target ).addClass( "ui-state-active" );- allowed = this._start( event, index );- if ( allowed === false ) {- return;- }- }- break;- }-- step = this.options.step;- if ( this.options.values && this.options.values.length ) {- curVal = newVal = this.values( index );- } else {- curVal = newVal = this.value();- }-- switch ( event.keyCode ) {- case $.ui.keyCode.HOME:- newVal = this._valueMin();- break;- case $.ui.keyCode.END:- newVal = this._valueMax();- break;- case $.ui.keyCode.PAGE_UP:- newVal = this._trimAlignValue(- curVal + ( ( this._valueMax() - this._valueMin() ) / this.numPages )- );- break;- case $.ui.keyCode.PAGE_DOWN:- newVal = this._trimAlignValue(- curVal - ( (this._valueMax() - this._valueMin()) / this.numPages ) );- break;- case $.ui.keyCode.UP:- case $.ui.keyCode.RIGHT:- if ( curVal === this._valueMax() ) {- return;- }- newVal = this._trimAlignValue( curVal + step );- break;- case $.ui.keyCode.DOWN:- case $.ui.keyCode.LEFT:- if ( curVal === this._valueMin() ) {- return;- }- newVal = this._trimAlignValue( curVal - step );- break;- }-- this._slide( event, index, newVal );- },- keyup: function( event ) {- var index = $( event.target ).data( "ui-slider-handle-index" );-- if ( this._keySliding ) {- this._keySliding = false;- this._stop( event, index );- this._change( event, index );- $( event.target ).removeClass( "ui-state-active" );- }- }- }-});---/*!- * jQuery UI Spinner 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/spinner/- */---function spinner_modifier( fn ) {- return function() {- var previous = this.element.val();- fn.apply( this, arguments );- this._refresh();- if ( previous !== this.element.val() ) {- this._trigger( "change" );- }- };-}--var spinner = $.widget( "ui.spinner", {- version: "1.11.4",- defaultElement: "<input>",- widgetEventPrefix: "spin",- options: {- culture: null,- icons: {- down: "ui-icon-triangle-1-s",- up: "ui-icon-triangle-1-n"- },- incremental: true,- max: null,- min: null,- numberFormat: null,- page: 10,- step: 1,-- change: null,- spin: null,- start: null,- stop: null- },-- _create: function() {- // handle string values that need to be parsed- this._setOption( "max", this.options.max );- this._setOption( "min", this.options.min );- this._setOption( "step", this.options.step );-- // Only format if there is a value, prevents the field from being marked- // as invalid in Firefox, see #9573.- if ( this.value() !== "" ) {- // Format the value, but don't constrain.- this._value( this.element.val(), true );- }-- this._draw();- this._on( this._events );- this._refresh();-- // turning off autocomplete prevents the browser from remembering the- // value when navigating through history, so we re-enable autocomplete- // if the page is unloaded before the widget is destroyed. #7790- this._on( this.window, {- beforeunload: function() {- this.element.removeAttr( "autocomplete" );- }- });- },-- _getCreateOptions: function() {- var options = {},- element = this.element;-- $.each( [ "min", "max", "step" ], function( i, option ) {- var value = element.attr( option );- if ( value !== undefined && value.length ) {- options[ option ] = value;- }- });-- return options;- },-- _events: {- keydown: function( event ) {- if ( this._start( event ) && this._keydown( event ) ) {- event.preventDefault();- }- },- keyup: "_stop",- focus: function() {- this.previous = this.element.val();- },- blur: function( event ) {- if ( this.cancelBlur ) {- delete this.cancelBlur;- return;- }-- this._stop();- this._refresh();- if ( this.previous !== this.element.val() ) {- this._trigger( "change", event );- }- },- mousewheel: function( event, delta ) {- if ( !delta ) {- return;- }- if ( !this.spinning && !this._start( event ) ) {- return false;- }-- this._spin( (delta > 0 ? 1 : -1) * this.options.step, event );- clearTimeout( this.mousewheelTimer );- this.mousewheelTimer = this._delay(function() {- if ( this.spinning ) {- this._stop( event );- }- }, 100 );- event.preventDefault();- },- "mousedown .ui-spinner-button": function( event ) {- var previous;-- // We never want the buttons to have focus; whenever the user is- // interacting with the spinner, the focus should be on the input.- // If the input is focused then this.previous is properly set from- // when the input first received focus. If the input is not focused- // then we need to set this.previous based on the value before spinning.- previous = this.element[0] === this.document[0].activeElement ?- this.previous : this.element.val();- function checkFocus() {- var isActive = this.element[0] === this.document[0].activeElement;- if ( !isActive ) {- this.element.focus();- this.previous = previous;- // support: IE- // IE sets focus asynchronously, so we need to check if focus- // moved off of the input because the user clicked on the button.- this._delay(function() {- this.previous = previous;- });- }- }-- // ensure focus is on (or stays on) the text field- event.preventDefault();- checkFocus.call( this );-- // support: IE- // IE doesn't prevent moving focus even with event.preventDefault()- // so we set a flag to know when we should ignore the blur event- // and check (again) if focus moved off of the input.- this.cancelBlur = true;- this._delay(function() {- delete this.cancelBlur;- checkFocus.call( this );- });-- if ( this._start( event ) === false ) {- return;- }-- this._repeat( null, $( event.currentTarget ).hasClass( "ui-spinner-up" ) ? 1 : -1, event );- },- "mouseup .ui-spinner-button": "_stop",- "mouseenter .ui-spinner-button": function( event ) {- // button will add ui-state-active if mouse was down while mouseleave and kept down- if ( !$( event.currentTarget ).hasClass( "ui-state-active" ) ) {- return;- }-- if ( this._start( event ) === false ) {- return false;- }- this._repeat( null, $( event.currentTarget ).hasClass( "ui-spinner-up" ) ? 1 : -1, event );- },- // TODO: do we really want to consider this a stop?- // shouldn't we just stop the repeater and wait until mouseup before- // we trigger the stop event?- "mouseleave .ui-spinner-button": "_stop"- },-- _draw: function() {- var uiSpinner = this.uiSpinner = this.element- .addClass( "ui-spinner-input" )- .attr( "autocomplete", "off" )- .wrap( this._uiSpinnerHtml() )- .parent()- // add buttons- .append( this._buttonHtml() );-- this.element.attr( "role", "spinbutton" );-- // button bindings- this.buttons = uiSpinner.find( ".ui-spinner-button" )- .attr( "tabIndex", -1 )- .button()- .removeClass( "ui-corner-all" );-- // IE 6 doesn't understand height: 50% for the buttons- // unless the wrapper has an explicit height- if ( this.buttons.height() > Math.ceil( uiSpinner.height() * 0.5 ) &&- uiSpinner.height() > 0 ) {- uiSpinner.height( uiSpinner.height() );- }-- // disable spinner if element was already disabled- if ( this.options.disabled ) {- this.disable();- }- },-- _keydown: function( event ) {- var options = this.options,- keyCode = $.ui.keyCode;-- switch ( event.keyCode ) {- case keyCode.UP:- this._repeat( null, 1, event );- return true;- case keyCode.DOWN:- this._repeat( null, -1, event );- return true;- case keyCode.PAGE_UP:- this._repeat( null, options.page, event );- return true;- case keyCode.PAGE_DOWN:- this._repeat( null, -options.page, event );- return true;- }-- return false;- },-- _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 + "'>▲</span>" +- "</a>" +- "<a class='ui-spinner-button ui-spinner-down ui-corner-br'>" +- "<span class='ui-icon " + this.options.icons.down + "'>▼</span>" +- "</a>";- },-- _start: function( event ) {- if ( !this.spinning && this._trigger( "start", event ) === false ) {- return false;- }-- if ( !this.counter ) {- this.counter = 1;- }- this.spinning = true;- return true;- },-- _repeat: function( i, steps, event ) {- i = i || 500;-- clearTimeout( this.timer );- this.timer = this._delay(function() {- this._repeat( 40, steps, event );- }, i );-- this._spin( steps * this.options.step, event );- },-- _spin: function( step, event ) {- var value = this.value() || 0;-- if ( !this.counter ) {- this.counter = 1;- }-- value = this._adjustValue( value + step * this._increment( this.counter ) );-- if ( !this.spinning || this._trigger( "spin", event, { value: value } ) !== false) {- this._value( value );- this.counter++;- }- },-- _increment: function( i ) {- var incremental = this.options.incremental;-- if ( incremental ) {- return $.isFunction( incremental ) ?- incremental( i ) :- Math.floor( i * i * i / 50000 - i * i / 500 + 17 * i / 200 + 1 );- }-- return 1;- },-- _precision: function() {- var precision = this._precisionOf( this.options.step );- if ( this.options.min !== null ) {- precision = Math.max( precision, this._precisionOf( this.options.min ) );- }- return precision;- },-- _precisionOf: function( num ) {- var str = num.toString(),- decimal = str.indexOf( "." );- return decimal === -1 ? 0 : str.length - decimal - 1;- },-- _adjustValue: function( value ) {- var base, aboveMin,- options = this.options;-- // make sure we're at a valid step- // - find out where we are relative to the base (min or 0)- base = options.min !== null ? options.min : 0;- aboveMin = value - base;- // - round to the nearest step- aboveMin = Math.round(aboveMin / options.step) * options.step;- // - rounding is based on 0, so adjust back to our base- value = base + aboveMin;-- // fix precision from bad JS floating point math- value = parseFloat( value.toFixed( this._precision() ) );-- // clamp the value- if ( options.max !== null && value > options.max) {- return options.max;- }- if ( options.min !== null && value < options.min ) {- return options.min;- }-- return value;- },-- _stop: function( event ) {- if ( !this.spinning ) {- return;- }-- clearTimeout( this.timer );- clearTimeout( this.mousewheelTimer );- this.counter = 0;- this.spinning = false;- this._trigger( "stop", event );- },-- _setOption: function( key, value ) {- if ( key === "culture" || key === "numberFormat" ) {- var prevValue = this._parse( this.element.val() );- this.options[ key ] = value;- this.element.val( this._format( prevValue ) );- return;- }-- if ( key === "max" || key === "min" || key === "step" ) {- if ( typeof value === "string" ) {- value = this._parse( value );- }- }- if ( key === "icons" ) {- this.buttons.first().find( ".ui-icon" )- .removeClass( this.options.icons.up )- .addClass( value.up );- this.buttons.last().find( ".ui-icon" )- .removeClass( this.options.icons.down )- .addClass( value.down );- }-- this._super( key, value );-- if ( key === "disabled" ) {- this.widget().toggleClass( "ui-state-disabled", !!value );- this.element.prop( "disabled", !!value );- this.buttons.button( value ? "disable" : "enable" );- }- },-- _setOptions: spinner_modifier(function( options ) {- this._super( options );- }),-- _parse: function( val ) {- if ( typeof val === "string" && val !== "" ) {- val = window.Globalize && this.options.numberFormat ?- Globalize.parseFloat( val, 10, this.options.culture ) : +val;- }- return val === "" || isNaN( val ) ? null : val;- },-- _format: function( value ) {- if ( value === "" ) {- return "";- }- return window.Globalize && this.options.numberFormat ?- Globalize.format( value, this.options.numberFormat, this.options.culture ) :- value;- },-- _refresh: function() {- this.element.attr({- "aria-valuemin": this.options.min,- "aria-valuemax": this.options.max,- // TODO: what should we do with values that can't be parsed?- "aria-valuenow": this._parse( this.element.val() )- });- },-- isValid: function() {- var value = this.value();-- // null is invalid- if ( value === null ) {- return false;- }-- // if value gets adjusted, it's invalid- return value === this._adjustValue( value );- },-- // update the value without triggering change- _value: function( value, allowAny ) {- var parsed;- if ( value !== "" ) {- parsed = this._parse( value );- if ( parsed !== null ) {- if ( !allowAny ) {- parsed = this._adjustValue( parsed );- }- value = this._format( parsed );- }- }- this.element.val( value );- this._refresh();- },-- _destroy: function() {- this.element- .removeClass( "ui-spinner-input" )- .prop( "disabled", false )- .removeAttr( "autocomplete" )- .removeAttr( "role" )- .removeAttr( "aria-valuemin" )- .removeAttr( "aria-valuemax" )- .removeAttr( "aria-valuenow" );- this.uiSpinner.replaceWith( this.element );- },-- stepUp: spinner_modifier(function( steps ) {- this._stepUp( steps );- }),- _stepUp: function( steps ) {- if ( this._start() ) {- this._spin( (steps || 1) * this.options.step );- this._stop();- }- },-- stepDown: spinner_modifier(function( steps ) {- this._stepDown( steps );- }),- _stepDown: function( steps ) {- if ( this._start() ) {- this._spin( (steps || 1) * -this.options.step );- this._stop();- }- },-- pageUp: spinner_modifier(function( pages ) {- this._stepUp( (pages || 1) * this.options.page );- }),-- pageDown: spinner_modifier(function( pages ) {- this._stepDown( (pages || 1) * this.options.page );- }),-- value: function( newVal ) {- if ( !arguments.length ) {- return this._parse( this.element.val() );- }- spinner_modifier( this._value ).call( this, newVal );- },-- widget: function() {- return this.uiSpinner;- }-});---/*!- * jQuery UI Tabs 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/tabs/- */---var tabs = $.widget( "ui.tabs", {- version: "1.11.4",- delay: 300,- options: {- active: null,- collapsible: false,- event: "click",- heightStyle: "content",- hide: null,- show: null,-- // callbacks- activate: null,- beforeActivate: null,- beforeLoad: null,- load: null- },-- _isLocal: (function() {- var rhash = /#.*$/;-- return function( anchor ) {- var anchorUrl, locationUrl;-- // support: IE7- // IE7 doesn't normalize the href property when set via script (#9317)- anchor = anchor.cloneNode( false );-- anchorUrl = anchor.href.replace( rhash, "" );- locationUrl = location.href.replace( rhash, "" );-- // decoding may throw an error if the URL isn't UTF-8 (#9518)- try {- anchorUrl = decodeURIComponent( anchorUrl );- } catch ( error ) {}- try {- locationUrl = decodeURIComponent( locationUrl );- } catch ( error ) {}-- return anchor.hash.length > 1 && anchorUrl === locationUrl;- };- })(),-- _create: function() {- var that = this,- options = this.options;-- this.running = false;-- this.element- .addClass( "ui-tabs ui-widget ui-widget-content ui-corner-all" )- .toggleClass( "ui-tabs-collapsible", options.collapsible );-- this._processTabs();- options.active = this._initialActive();-- // Take disabling tabs via class attribute from HTML- // into account and update option properly.- if ( $.isArray( options.disabled ) ) {- options.disabled = $.unique( options.disabled.concat(- $.map( this.tabs.filter( ".ui-state-disabled" ), function( li ) {- return that.tabs.index( li );- })- ) ).sort();- }-- // check for length avoids error when initializing empty list- if ( this.options.active !== false && this.anchors.length ) {- this.active = this._findActive( options.active );- } else {- this.active = $();- }-- this._refresh();-- if ( this.active.length ) {- this.load( options.active );- }- },-- _initialActive: function() {- var active = this.options.active,- collapsible = this.options.collapsible,- locationHash = location.hash.substring( 1 );-- if ( active === null ) {- // check the fragment identifier in the URL- if ( locationHash ) {- this.tabs.each(function( i, tab ) {- if ( $( tab ).attr( "aria-controls" ) === locationHash ) {- active = i;- return false;- }- });- }-- // check for a tab marked active via a class- if ( active === null ) {- active = this.tabs.index( this.tabs.filter( ".ui-tabs-active" ) );- }-- // no active tab, set to false- if ( active === null || active === -1 ) {- active = this.tabs.length ? 0 : false;- }- }-- // handle numbers: negative, out of range- if ( active !== false ) {- active = this.tabs.index( this.tabs.eq( active ) );- if ( active === -1 ) {- active = collapsible ? false : 0;- }- }-- // don't allow collapsible: false and active: false- if ( !collapsible && active === false && this.anchors.length ) {- active = 0;- }-- return active;- },-- _getCreateEventData: function() {- return {- tab: this.active,- panel: !this.active.length ? $() : this._getPanelForTab( this.active )- };- },-- _tabKeydown: function( event ) {- var focusedTab = $( this.document[0].activeElement ).closest( "li" ),- selectedIndex = this.tabs.index( focusedTab ),- goingForward = true;-- if ( this._handlePageNav( event ) ) {- return;- }-- switch ( event.keyCode ) {- case $.ui.keyCode.RIGHT:- case $.ui.keyCode.DOWN:- selectedIndex++;- break;- case $.ui.keyCode.UP:- case $.ui.keyCode.LEFT:- goingForward = false;- selectedIndex--;- break;- case $.ui.keyCode.END:- selectedIndex = this.anchors.length - 1;- break;- case $.ui.keyCode.HOME:- selectedIndex = 0;- break;- case $.ui.keyCode.SPACE:- // Activate only, no collapsing- event.preventDefault();- clearTimeout( this.activating );- this._activate( selectedIndex );- return;- case $.ui.keyCode.ENTER:- // Toggle (cancel delayed activation, allow collapsing)- event.preventDefault();- clearTimeout( this.activating );- // Determine if we should collapse or activate- this._activate( selectedIndex === this.options.active ? false : selectedIndex );- return;- default:- return;- }-- // Focus the appropriate tab, based on which key was pressed- event.preventDefault();- clearTimeout( this.activating );- selectedIndex = this._focusNextTab( selectedIndex, goingForward );-- // Navigating with control/command key will prevent automatic activation- if ( !event.ctrlKey && !event.metaKey ) {-- // Update aria-selected immediately so that AT think the tab is already selected.- // Otherwise AT may confuse the user by stating that they need to activate the tab,- // but the tab will already be activated by the time the announcement finishes.- focusedTab.attr( "aria-selected", "false" );- this.tabs.eq( selectedIndex ).attr( "aria-selected", "true" );-- this.activating = this._delay(function() {- this.option( "active", selectedIndex );- }, this.delay );- }- },-- _panelKeydown: function( event ) {- if ( this._handlePageNav( event ) ) {- return;- }-- // Ctrl+up moves focus to the current tab- if ( event.ctrlKey && event.keyCode === $.ui.keyCode.UP ) {- event.preventDefault();- this.active.focus();- }- },-- // Alt+page up/down moves focus to the previous/next tab (and activates)- _handlePageNav: function( event ) {- if ( event.altKey && event.keyCode === $.ui.keyCode.PAGE_UP ) {- this._activate( this._focusNextTab( this.options.active - 1, false ) );- return true;- }- if ( event.altKey && event.keyCode === $.ui.keyCode.PAGE_DOWN ) {- this._activate( this._focusNextTab( this.options.active + 1, true ) );- return true;- }- },-- _findNextTab: function( index, goingForward ) {- var lastTabIndex = this.tabs.length - 1;-- function constrain() {- if ( index > lastTabIndex ) {- index = 0;- }- if ( index < 0 ) {- index = lastTabIndex;- }- return index;- }-- while ( $.inArray( constrain(), this.options.disabled ) !== -1 ) {- index = goingForward ? index + 1 : index - 1;- }-- return index;- },-- _focusNextTab: function( index, goingForward ) {- index = this._findNextTab( index, goingForward );- this.tabs.eq( index ).focus();- return index;- },-- _setOption: function( key, value ) {- if ( key === "active" ) {- // _activate() will handle invalid values and update this.options- this._activate( value );- return;- }-- if ( key === "disabled" ) {- // don't use the widget factory's disabled handling- this._setupDisabled( value );- return;- }-- this._super( key, value);-- if ( key === "collapsible" ) {- this.element.toggleClass( "ui-tabs-collapsible", value );- // Setting collapsible: false while collapsed; open first panel- if ( !value && this.options.active === false ) {- this._activate( 0 );- }- }-- if ( key === "event" ) {- this._setupEvents( value );- }-- if ( key === "heightStyle" ) {- this._setupHeightStyle( value );- }- },-- _sanitizeSelector: function( hash ) {- return hash ? hash.replace( /[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g, "\\$&" ) : "";- },-- refresh: function() {- var options = this.options,- lis = this.tablist.children( ":has(a[href])" );-- // get disabled tabs from class attribute from HTML- // this will get converted to a boolean if needed in _refresh()- options.disabled = $.map( lis.filter( ".ui-state-disabled" ), function( tab ) {- return lis.index( tab );- });-- this._processTabs();-- // was collapsed or no tabs- if ( options.active === false || !this.anchors.length ) {- options.active = false;- this.active = $();- // was active, but active tab is gone- } else if ( this.active.length && !$.contains( this.tablist[ 0 ], this.active[ 0 ] ) ) {- // all remaining tabs are disabled- if ( this.tabs.length === options.disabled.length ) {- options.active = false;- this.active = $();- // activate previous tab- } else {- this._activate( this._findNextTab( Math.max( 0, options.active - 1 ), false ) );- }- // was active, active tab still exists- } else {- // make sure active index is correct- options.active = this.tabs.index( this.active );- }-- 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",- "aria-expanded": "false",- tabIndex: -1- });- this.panels.not( this._getPanelForTab( this.active ) )- .hide()- .attr({- "aria-hidden": "true"- });-- // Make sure one tab is in the tab order- if ( !this.active.length ) {- this.tabs.eq( 0 ).attr( "tabIndex", 0 );- } else {- this.active- .addClass( "ui-tabs-active ui-state-active" )- .attr({- "aria-selected": "true",- "aria-expanded": "true",- tabIndex: 0- });- this._getPanelForTab( this.active )- .show()- .attr({- "aria-hidden": "false"- });- }- },-- _processTabs: function() {- var that = this,- prevTabs = this.tabs,- prevAnchors = this.anchors,- prevPanels = this.panels;-- this.tablist = this._getList()- .addClass( "ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" )- .attr( "role", "tablist" )-- // Prevent users from focusing disabled tabs via click- .delegate( "> li", "mousedown" + this.eventNamespace, function( event ) {- if ( $( this ).is( ".ui-state-disabled" ) ) {- event.preventDefault();- }- })-- // support: IE <9- // Preventing the default action in mousedown doesn't prevent IE- // from focusing the element, so if the anchor gets focused, blur.- // We don't have to worry about focusing the previously focused- // element since clicking on a non-focusable element should focus- // the body anyway.- .delegate( ".ui-tabs-anchor", "focus" + this.eventNamespace, function() {- if ( $( this ).closest( "li" ).is( ".ui-state-disabled" ) ) {- this.blur();- }- });-- 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 $( "a", this )[ 0 ];- })- .addClass( "ui-tabs-anchor" )- .attr({- role: "presentation",- tabIndex: -1- });-- this.panels = $();-- this.anchors.each(function( i, anchor ) {- var selector, panel, panelId,- anchorId = $( anchor ).uniqueId().attr( "id" ),- tab = $( anchor ).closest( "li" ),- originalAriaControls = tab.attr( "aria-controls" );-- // inline tab- if ( that._isLocal( anchor ) ) {- selector = anchor.hash;- panelId = selector.substring( 1 );- panel = that.element.find( that._sanitizeSelector( selector ) );- // remote tab- } else {- // If the tab doesn't already have aria-controls,- // generate an id by using a throw-away element- panelId = tab.attr( "aria-controls" ) || $( {} ).uniqueId()[ 0 ].id;- selector = "#" + panelId;- panel = that.element.find( selector );- if ( !panel.length ) {- panel = that._createPanel( panelId );- panel.insertAfter( that.panels[ i - 1 ] || that.tablist );- }- panel.attr( "aria-live", "polite" );- }-- if ( panel.length) {- that.panels = that.panels.add( panel );- }- if ( originalAriaControls ) {- tab.data( "ui-tabs-aria-controls", originalAriaControls );- }- tab.attr({- "aria-controls": panelId,- "aria-labelledby": anchorId- });- panel.attr( "aria-labelledby", anchorId );- });-- this.panels- .addClass( "ui-tabs-panel ui-widget-content ui-corner-bottom" )- .attr( "role", "tabpanel" );-- // Avoid memory leaks (#10056)- if ( prevTabs ) {- this._off( prevTabs.not( this.tabs ) );- this._off( prevAnchors.not( this.anchors ) );- this._off( prevPanels.not( this.panels ) );- }- },-- // allow overriding how to find the list for rare usage scenarios (#7715)- _getList: function() {- return this.tablist || this.element.find( "ol,ul" ).eq( 0 );- },-- _createPanel: function( id ) {- return $( "<div>" )- .attr( "id", id )- .addClass( "ui-tabs-panel ui-widget-content ui-corner-bottom" )- .data( "ui-tabs-destroy", true );- },-- _setupDisabled: function( disabled ) {- if ( $.isArray( disabled ) ) {- if ( !disabled.length ) {- disabled = false;- } else if ( disabled.length === this.anchors.length ) {- disabled = true;- }- }-- // disable tabs- for ( var i = 0, li; ( li = this.tabs[ i ] ); i++ ) {- if ( disabled === true || $.inArray( i, disabled ) !== -1 ) {- $( li )- .addClass( "ui-state-disabled" )- .attr( "aria-disabled", "true" );- } else {- $( li )- .removeClass( "ui-state-disabled" )- .removeAttr( "aria-disabled" );- }- }-- this.options.disabled = disabled;- },-- _setupEvents: function( event ) {- var events = {};- if ( event ) {- $.each( event.split(" "), function( index, eventName ) {- events[ eventName ] = "_eventHandler";- });- }-- this._off( this.anchors.add( this.tabs ).add( this.panels ) );- // Always prevent the default action, even when disabled- this._on( true, this.anchors, {- click: function( event ) {- event.preventDefault();- }- });- this._on( this.anchors, events );- this._on( this.tabs, { keydown: "_tabKeydown" } );- this._on( this.panels, { keydown: "_panelKeydown" } );-- this._focusable( this.tabs );- this._hoverable( this.tabs );- },-- _setupHeightStyle: function( heightStyle ) {- var maxHeight,- parent = this.element.parent();-- if ( heightStyle === "fill" ) {- maxHeight = parent.height();- maxHeight -= this.element.outerHeight() - this.element.height();-- this.element.siblings( ":visible" ).each(function() {- var elem = $( this ),- position = elem.css( "position" );-- if ( position === "absolute" || position === "fixed" ) {- return;- }- maxHeight -= elem.outerHeight( true );- });-- this.element.children().not( this.panels ).each(function() {- maxHeight -= $( this ).outerHeight( true );- });-- this.panels.each(function() {- $( this ).height( Math.max( 0, maxHeight -- $( this ).innerHeight() + $( this ).height() ) );- })- .css( "overflow", "auto" );- } else if ( heightStyle === "auto" ) {- maxHeight = 0;- this.panels.each(function() {- maxHeight = Math.max( maxHeight, $( this ).height( "" ).height() );- }).height( maxHeight );- }- },-- _eventHandler: function( event ) {- var options = this.options,- active = this.active,- anchor = $( event.currentTarget ),- tab = anchor.closest( "li" ),- clickedIsActive = tab[ 0 ] === active[ 0 ],- collapsing = clickedIsActive && options.collapsible,- toShow = collapsing ? $() : this._getPanelForTab( tab ),- toHide = !active.length ? $() : this._getPanelForTab( active ),- eventData = {- oldTab: active,- oldPanel: toHide,- newTab: collapsing ? $() : tab,- newPanel: toShow- };-- event.preventDefault();-- if ( tab.hasClass( "ui-state-disabled" ) ||- // tab is already loading- tab.hasClass( "ui-tabs-loading" ) ||- // can't switch durning an animation- this.running ||- // click on active header, but not collapsible- ( clickedIsActive && !options.collapsible ) ||- // allow canceling activation- ( this._trigger( "beforeActivate", event, eventData ) === false ) ) {- return;- }-- options.active = collapsing ? false : this.tabs.index( tab );-- this.active = clickedIsActive ? $() : tab;- if ( this.xhr ) {- this.xhr.abort();- }-- if ( !toHide.length && !toShow.length ) {- $.error( "jQuery UI Tabs: Mismatching fragment identifier." );- }-- if ( toShow.length ) {- this.load( this.tabs.index( tab ), event );- }- this._toggle( event, eventData );- },-- // handles show/hide for selecting tabs- _toggle: function( event, eventData ) {- var that = this,- toShow = eventData.newPanel,- toHide = eventData.oldPanel;-- this.running = true;-- function complete() {- that.running = false;- that._trigger( "activate", event, eventData );- }-- function show() {- eventData.newTab.closest( "li" ).addClass( "ui-tabs-active ui-state-active" );-- if ( toShow.length && that.options.show ) {- that._show( toShow, that.options.show, complete );- } else {- toShow.show();- complete();- }- }-- // start out by hiding, then showing, then completing- if ( toHide.length && this.options.hide ) {- this._hide( toHide, this.options.hide, function() {- eventData.oldTab.closest( "li" ).removeClass( "ui-tabs-active ui-state-active" );- show();- });- } else {- eventData.oldTab.closest( "li" ).removeClass( "ui-tabs-active ui-state-active" );- toHide.hide();- show();- }-- toHide.attr( "aria-hidden", "true" );- eventData.oldTab.attr({- "aria-selected": "false",- "aria-expanded": "false"- });- // If we're switching tabs, remove the old tab from the tab order.- // If we're opening from collapsed state, remove the previous tab from the tab order.- // If we're collapsing, then keep the collapsing tab in the tab order.- if ( toShow.length && toHide.length ) {- eventData.oldTab.attr( "tabIndex", -1 );- } else if ( toShow.length ) {- this.tabs.filter(function() {- return $( this ).attr( "tabIndex" ) === 0;- })- .attr( "tabIndex", -1 );- }-- toShow.attr( "aria-hidden", "false" );- eventData.newTab.attr({- "aria-selected": "true",- "aria-expanded": "true",- tabIndex: 0- });- },-- _activate: function( index ) {- var anchor,- active = this._findActive( index );-- // trying to activate the already active panel- if ( active[ 0 ] === this.active[ 0 ] ) {- return;- }-- // trying to collapse, simulate a click on the current active header- if ( !active.length ) {- active = this.active;- }-- anchor = active.find( ".ui-tabs-anchor" )[ 0 ];- this._eventHandler({- target: anchor,- currentTarget: anchor,- preventDefault: $.noop- });- },-- _findActive: function( index ) {- return index === false ? $() : this.tabs.eq( index );- },-- _getIndex: function( index ) {- // meta-function to give users option to provide a href string instead of a numerical index.- if ( typeof index === "string" ) {- index = this.anchors.index( this.anchors.filter( "[href$='" + index + "']" ) );- }-- return index;- },-- _destroy: function() {- if ( 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.tablist.unbind( this.eventNamespace );-- this.tabs.add( this.panels ).each(function() {- if ( $.data( this, "ui-tabs-destroy" ) ) {- $( this ).remove();- } else {- $( 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 li = $( this ),- prev = li.data( "ui-tabs-aria-controls" );- if ( prev ) {- li- .attr( "aria-controls", prev )- .removeData( "ui-tabs-aria-controls" );- } else {- li.removeAttr( "aria-controls" );- }- });-- this.panels.show();-- if ( this.options.heightStyle !== "content" ) {- this.panels.css( "height", "" );- }- },-- enable: function( index ) {- var disabled = this.options.disabled;- if ( disabled === false ) {- return;- }-- if ( index === undefined ) {- disabled = false;- } else {- index = this._getIndex( index );- if ( $.isArray( disabled ) ) {- disabled = $.map( disabled, function( num ) {- return num !== index ? num : null;- });- } else {- disabled = $.map( this.tabs, function( li, num ) {- return num !== index ? num : null;- });- }- }- this._setupDisabled( disabled );- },-- disable: function( index ) {- var disabled = this.options.disabled;- if ( disabled === true ) {- return;- }-- if ( index === undefined ) {- disabled = true;- } else {- index = this._getIndex( index );- if ( $.inArray( index, disabled ) !== -1 ) {- return;- }- if ( $.isArray( disabled ) ) {- disabled = $.merge( [ index ], disabled ).sort();- } else {- disabled = [ index ];- }- }- this._setupDisabled( disabled );- },-- load: function( index, event ) {- index = this._getIndex( index );- var that = this,- tab = this.tabs.eq( index ),- anchor = tab.find( ".ui-tabs-anchor" ),- panel = this._getPanelForTab( tab ),- eventData = {- tab: tab,- panel: panel- },- complete = function( jqXHR, status ) {- if ( status === "abort" ) {- that.panels.stop( false, true );- }-- tab.removeClass( "ui-tabs-loading" );- panel.removeAttr( "aria-busy" );-- if ( jqXHR === that.xhr ) {- delete that.xhr;- }- };-- // not remote- if ( this._isLocal( anchor[ 0 ] ) ) {- return;- }-- this.xhr = $.ajax( this._ajaxSettings( anchor, event, eventData ) );-- // support: jQuery <1.8- // jQuery <1.8 returns false if the request is canceled in beforeSend,- // but as of 1.8, $.ajax() always returns a jqXHR object.- if ( this.xhr && this.xhr.statusText !== "canceled" ) {- tab.addClass( "ui-tabs-loading" );- panel.attr( "aria-busy", "true" );-- this.xhr- .done(function( response, status, jqXHR ) {- // support: jQuery <1.8- // http://bugs.jquery.com/ticket/11778- setTimeout(function() {- panel.html( response );- that._trigger( "load", event, eventData );-- complete( jqXHR, status );- }, 1 );- })- .fail(function( jqXHR, status ) {- // support: jQuery <1.8- // http://bugs.jquery.com/ticket/11778- setTimeout(function() {- complete( jqXHR, status );- }, 1 );- });- }- },-- _ajaxSettings: function( anchor, event, eventData ) {- var that = this;- return {- url: anchor.attr( "href" ),- beforeSend: function( jqXHR, settings ) {- return that._trigger( "beforeLoad", event,- $.extend( { jqXHR: jqXHR, ajaxSettings: settings }, eventData ) );- }- };- },-- _getPanelForTab: function( tab ) {- var id = $( tab ).attr( "aria-controls" );- return this.element.find( this._sanitizeSelector( "#" + id ) );- }-});---/*!- * jQuery UI Tooltip 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/tooltip/- */---var tooltip = $.widget( "ui.tooltip", {- version: "1.11.4",- options: {- content: function() {- // support: IE<9, Opera in jQuery <1.7- // .text() can't accept undefined, so coerce to a string- var title = $( this ).attr( "title" ) || "";- // Escape title, since we're going from an attribute to raw HTML- return $( "<a>" ).text( title ).html();- },- hide: true,- // Disabled elements have inconsistent behavior across browsers (#8661)- items: "[title]:not([disabled])",- position: {- my: "left top+15",- at: "left bottom",- collision: "flipfit flip"- },- show: true,- tooltipClass: null,- track: false,-- // callbacks- close: null,- open: null- },-- _addDescribedBy: function( elem, id ) {- var describedby = (elem.attr( "aria-describedby" ) || "").split( /\s+/ );- describedby.push( id );- elem- .data( "ui-tooltip-id", id )- .attr( "aria-describedby", $.trim( describedby.join( " " ) ) );- },-- _removeDescribedBy: function( elem ) {- var id = elem.data( "ui-tooltip-id" ),- describedby = (elem.attr( "aria-describedby" ) || "").split( /\s+/ ),- index = $.inArray( id, describedby );-- if ( index !== -1 ) {- describedby.splice( index, 1 );- }-- elem.removeData( "ui-tooltip-id" );- describedby = $.trim( describedby.join( " " ) );- if ( describedby ) {- elem.attr( "aria-describedby", describedby );- } else {- elem.removeAttr( "aria-describedby" );- }- },-- _create: function() {- this._on({- mouseover: "open",- focusin: "open"- });-- // IDs of generated tooltips, needed for destroy- this.tooltips = {};-- // IDs of parent tooltips where we removed the title attribute- this.parents = {};-- if ( this.options.disabled ) {- this._disable();- }-- // Append the aria-live region so tooltips announce correctly- this.liveRegion = $( "<div>" )- .attr({- role: "log",- "aria-live": "assertive",- "aria-relevant": "additions"- })- .addClass( "ui-helper-hidden-accessible" )- .appendTo( this.document[ 0 ].body );- },-- _setOption: function( key, value ) {- var that = this;-- if ( key === "disabled" ) {- this[ value ? "_disable" : "_enable" ]();- this.options[ key ] = value;- // disable element style changes- return;- }-- this._super( key, value );-- if ( key === "content" ) {- $.each( this.tooltips, function( id, tooltipData ) {- that._updateContent( tooltipData.element );- });- }- },-- _disable: function() {- var that = this;-- // close open tooltips- $.each( this.tooltips, function( id, tooltipData ) {- var event = $.Event( "blur" );- event.target = event.currentTarget = tooltipData.element[ 0 ];- that.close( event, true );- });-- // remove title attributes to prevent native tooltips- this.element.find( this.options.items ).addBack().each(function() {- var element = $( this );- if ( element.is( "[title]" ) ) {- element- .data( "ui-tooltip-title", element.attr( "title" ) )- .removeAttr( "title" );- }- });- },-- _enable: function() {- // restore title attributes- this.element.find( this.options.items ).addBack().each(function() {- var element = $( this );- if ( element.data( "ui-tooltip-title" ) ) {- element.attr( "title", element.data( "ui-tooltip-title" ) );- }- });- },-- open: function( event ) {- var that = this,- target = $( event ? event.target : this.element )- // we need closest here due to mouseover bubbling,- // but always pointing at the same event target- .closest( this.options.items );-- // No element to show a tooltip for or the tooltip is already open- if ( !target.length || target.data( "ui-tooltip-id" ) ) {- return;- }-- if ( target.attr( "title" ) ) {- target.data( "ui-tooltip-title", target.attr( "title" ) );- }-- target.data( "ui-tooltip-open", true );-- // kill parent tooltips, custom or native, for hover- if ( event && event.type === "mouseover" ) {- target.parents().each(function() {- var parent = $( this ),- blurEvent;- if ( parent.data( "ui-tooltip-open" ) ) {- blurEvent = $.Event( "blur" );- blurEvent.target = blurEvent.currentTarget = this;- that.close( blurEvent, true );- }- if ( parent.attr( "title" ) ) {- parent.uniqueId();- that.parents[ this.id ] = {- element: this,- title: parent.attr( "title" )- };- parent.attr( "title", "" );- }- });- }-- this._registerCloseHandlers( event, target );- this._updateContent( target, event );- },-- _updateContent: function( target, event ) {- var content,- contentOption = this.options.content,- that = this,- eventType = event ? event.type : null;-- if ( typeof contentOption === "string" ) {- return this._open( event, target, contentOption );- }-- content = contentOption.call( target[0], function( response ) {-- // IE may instantly serve a cached response for ajax requests- // delay this call to _open so the other call to _open runs first- that._delay(function() {-- // Ignore async response if tooltip was closed already- if ( !target.data( "ui-tooltip-open" ) ) {- return;- }-- // jQuery creates a special event for focusin when it doesn't- // exist natively. To improve performance, the native event- // object is reused and the type is changed. Therefore, we can't- // rely on the type being correct after the event finished- // bubbling, so we set it back to the previous value. (#8740)- if ( event ) {- event.type = eventType;- }- this._open( event, target, response );- });- });- if ( content ) {- this._open( event, target, content );- }- },-- _open: function( event, target, content ) {- var tooltipData, tooltip, delayedShow, a11yContent,- positionOption = $.extend( {}, this.options.position );-- if ( !content ) {- return;- }-- // Content can be updated multiple times. If the tooltip already- // exists, then just update the content and bail.- tooltipData = this._find( target );- if ( tooltipData ) {- tooltipData.tooltip.find( ".ui-tooltip-content" ).html( content );- return;- }-- // if we have a title, clear it to prevent the native tooltip- // we have to check first to avoid defining a title if none exists- // (we don't want to cause an element to start matching [title])- //- // We use removeAttr only for key events, to allow IE to export the correct- // accessible attributes. For mouse events, set to empty string to avoid- // native tooltip showing up (happens only when removing inside mouseover).- if ( target.is( "[title]" ) ) {- if ( event && event.type === "mouseover" ) {- target.attr( "title", "" );- } else {- target.removeAttr( "title" );- }- }-- tooltipData = this._tooltip( target );- tooltip = tooltipData.tooltip;- this._addDescribedBy( target, tooltip.attr( "id" ) );- tooltip.find( ".ui-tooltip-content" ).html( content );-- // Support: Voiceover on OS X, JAWS on IE <= 9- // JAWS announces deletions even when aria-relevant="additions"- // Voiceover will sometimes re-read the entire log region's contents from the beginning- this.liveRegion.children().hide();- if ( content.clone ) {- a11yContent = content.clone();- a11yContent.removeAttr( "id" ).find( "[id]" ).removeAttr( "id" );- } else {- a11yContent = content;- }- $( "<div>" ).html( a11yContent ).appendTo( this.liveRegion );-- function position( event ) {- positionOption.of = event;- if ( tooltip.is( ":hidden" ) ) {- return;- }- tooltip.position( positionOption );- }- if ( this.options.track && event && /^mouse/.test( event.type ) ) {- this._on( this.document, {- mousemove: position- });- // trigger once to override element-relative positioning- position( event );- } else {- tooltip.position( $.extend({- of: target- }, this.options.position ) );- }-- tooltip.hide();-- this._show( tooltip, this.options.show );- // Handle tracking tooltips that are shown with a delay (#8644). As soon- // as the tooltip is visible, position the tooltip using the most recent- // event.- if ( this.options.show && this.options.show.delay ) {- delayedShow = this.delayedShow = setInterval(function() {- if ( tooltip.is( ":visible" ) ) {- position( positionOption.of );- clearInterval( delayedShow );- }- }, $.fx.interval );- }-- this._trigger( "open", event, { tooltip: tooltip } );- },-- _registerCloseHandlers: function( event, target ) {- var events = {- keyup: function( event ) {- if ( event.keyCode === $.ui.keyCode.ESCAPE ) {- var fakeEvent = $.Event(event);- fakeEvent.currentTarget = target[0];- this.close( fakeEvent, true );- }- }- };-- // Only bind remove handler for delegated targets. Non-delegated- // tooltips will handle this in destroy.- if ( target[ 0 ] !== this.element[ 0 ] ) {- events.remove = function() {- this._removeTooltip( this._find( target ).tooltip );- };- }-- if ( !event || event.type === "mouseover" ) {- events.mouseleave = "close";- }- if ( !event || event.type === "focusin" ) {- events.focusout = "close";- }- this._on( true, target, events );- },-- close: function( event ) {- var tooltip,- that = this,- target = $( event ? event.currentTarget : this.element ),- tooltipData = this._find( target );-- // The tooltip may already be closed- if ( !tooltipData ) {-- // We set ui-tooltip-open immediately upon open (in open()), but only set the- // additional data once there's actually content to show (in _open()). So even if the- // tooltip doesn't have full data, we always remove ui-tooltip-open in case we're in- // the period between open() and _open().- target.removeData( "ui-tooltip-open" );- return;- }-- tooltip = tooltipData.tooltip;-- // disabling closes the tooltip, so we need to track when we're closing- // to avoid an infinite loop in case the tooltip becomes disabled on close- if ( tooltipData.closing ) {- return;- }-- // Clear the interval for delayed tracking tooltips- clearInterval( this.delayedShow );-- // only set title if we had one before (see comment in _open())- // If the title attribute has changed since open(), don't restore- if ( target.data( "ui-tooltip-title" ) && !target.attr( "title" ) ) {- target.attr( "title", target.data( "ui-tooltip-title" ) );- }-- this._removeDescribedBy( target );-- tooltipData.hiding = true;- tooltip.stop( true );- this._hide( tooltip, this.options.hide, function() {- that._removeTooltip( $( this ) );- });-- target.removeData( "ui-tooltip-open" );- this._off( target, "mouseleave focusout keyup" );-- // Remove 'remove' binding only on delegated targets- if ( target[ 0 ] !== this.element[ 0 ] ) {- this._off( target, "remove" );- }- this._off( this.document, "mousemove" );-- if ( event && event.type === "mouseleave" ) {- $.each( this.parents, function( id, parent ) {- $( parent.element ).attr( "title", parent.title );- delete that.parents[ id ];- });- }-- tooltipData.closing = true;- this._trigger( "close", event, { tooltip: tooltip } );- if ( !tooltipData.hiding ) {- tooltipData.closing = false;- }- },-- _tooltip: function( element ) {- var tooltip = $( "<div>" )- .attr( "role", "tooltip" )- .addClass( "ui-tooltip ui-widget ui-corner-all ui-widget-content " +- ( this.options.tooltipClass || "" ) ),- id = tooltip.uniqueId().attr( "id" );-- $( "<div>" )- .addClass( "ui-tooltip-content" )- .appendTo( tooltip );-- tooltip.appendTo( this.document[0].body );-- return this.tooltips[ id ] = {- element: element,- tooltip: tooltip- };- },-- _find: function( target ) {- var id = target.data( "ui-tooltip-id" );- return id ? this.tooltips[ id ] : null;- },-- _removeTooltip: function( tooltip ) {- tooltip.remove();- delete this.tooltips[ tooltip.attr( "id" ) ];- },-- _destroy: function() {- var that = this;-- // close open tooltips- $.each( this.tooltips, function( id, tooltipData ) {- // Delegate to close method to handle common cleanup- var event = $.Event( "blur" ),- element = tooltipData.element;- event.target = event.currentTarget = element[ 0 ];- that.close( event, true );-- // Remove immediately; destroying an open tooltip doesn't use the- // hide animation- $( "#" + id ).remove();-- // Restore the title- if ( element.data( "ui-tooltip-title" ) ) {- // If the title attribute has changed since open(), don't restore- if ( !element.attr( "title" ) ) {- element.attr( "title", element.data( "ui-tooltip-title" ) );- }- element.removeData( "ui-tooltip-title" );- }- });- this.liveRegion.remove();- }-});---/*!- * jQuery UI Effects 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/category/effects-core/- */---var dataSpace = "ui-effects-",-- // Create a local jQuery because jQuery Color relies on it and the- // global may not exist with AMD and a custom build (#10199)- jQuery = $;--$.effects = {- effect: {}-};--/*!- * jQuery Color Animations v2.1.2- * https://github.com/jquery/jquery-color- *- * Copyright 2014 jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * Date: Wed Jan 16 08:47:09 2013 -0600- */-(function( jQuery, undefined ) {-- var stepHooks = "backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",-- // plusequals test for += 100 -= 100- rplusequals = /^([\-+])=\s*(\d+\.?\d*)/,- // a set of RE's that can match strings and generate color tuples.- stringParsers = [ {- re: /rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,- parse: function( execResult ) {- return [- execResult[ 1 ],- execResult[ 2 ],- execResult[ 3 ],- execResult[ 4 ]- ];- }- }, {- re: /rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,- parse: function( execResult ) {- return [- execResult[ 1 ] * 2.55,- execResult[ 2 ] * 2.55,- execResult[ 3 ] * 2.55,- execResult[ 4 ]- ];- }- }, {- // this regex ignores A-F because it's compared against an already lowercased string- re: /#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,- parse: function( execResult ) {- return [- parseInt( execResult[ 1 ], 16 ),- parseInt( execResult[ 2 ], 16 ),- parseInt( execResult[ 3 ], 16 )- ];- }- }, {- // this regex ignores A-F because it's compared against an already lowercased string- re: /#([a-f0-9])([a-f0-9])([a-f0-9])/,- parse: function( execResult ) {- return [- parseInt( execResult[ 1 ] + execResult[ 1 ], 16 ),- parseInt( execResult[ 2 ] + execResult[ 2 ], 16 ),- parseInt( execResult[ 3 ] + execResult[ 3 ], 16 )- ];- }- }, {- re: /hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,- space: "hsla",- parse: function( execResult ) {- return [- execResult[ 1 ],- execResult[ 2 ] / 100,- execResult[ 3 ] / 100,- execResult[ 4 ]- ];- }- } ],-- // jQuery.Color( )- color = jQuery.Color = function( color, green, blue, alpha ) {- return new jQuery.Color.fn.parse( color, green, blue, alpha );- },- spaces = {- 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"- }- }- }- },- propTypes = {- "byte": {- floor: true,- max: 255- },- "percent": {- max: 1- },- "degrees": {- mod: 360,- floor: true- }- },- support = color.support = {},-- // element for support tests- supportElem = jQuery( "<p>" )[ 0 ],-- // colors = jQuery.Color.names- colors,-- // local aliases of functions called often- each = jQuery.each;--// determine rgba support immediately-supportElem.style.cssText = "background-color:rgba(1,1,1,.5)";-support.rgba = supportElem.style.backgroundColor.indexOf( "rgba" ) > -1;--// define cache name and alpha properties-// for rgba and hsla spaces-each( spaces, function( spaceName, space ) {- space.cache = "_" + spaceName;- space.props.alpha = {- idx: 3,- type: "percent",- def: 1- };-});--function clamp( value, prop, allowEmpty ) {- var type = propTypes[ prop.type ] || {};-- if ( value == null ) {- return (allowEmpty || !prop.def) ? null : prop.def;- }-- // ~~ is an short way of doing floor for positive numbers- value = type.floor ? ~~value : parseFloat( value );-- // IE will pass in empty strings as value for alpha,- // which will hit this case- if ( isNaN( value ) ) {- return prop.def;- }-- if ( type.mod ) {- // we add mod before modding to make sure that negatives values- // get converted properly: -10 -> 350- return (value + type.mod) % type.mod;- }-- // for now all property types without mod have min and max- return 0 > value ? 0 : type.max < value ? type.max : value;-}--function stringParse( string ) {- var inst = color(),- rgba = inst._rgba = [];-- string = string.toLowerCase();-- each( stringParsers, function( i, parser ) {- var parsed,- match = parser.re.exec( string ),- values = match && parser.parse( match ),- spaceName = parser.space || "rgba";-- if ( values ) {- parsed = inst[ spaceName ]( values );-- // if this was an rgba parse the assignment might happen twice- // oh well....- inst[ spaces[ spaceName ].cache ] = parsed[ spaces[ spaceName ].cache ];- rgba = inst._rgba = parsed._rgba;-- // exit each( stringParsers ) here because we matched- return false;- }- });-- // Found a stringParser that handled it- if ( rgba.length ) {-- // if this came from a parsed string, force "transparent" when alpha is 0- // chrome, (and maybe others) return "transparent" as rgba(0,0,0,0)- if ( rgba.join() === "0,0,0,0" ) {- jQuery.extend( rgba, colors.transparent );- }- return inst;- }-- // named colors- return colors[ string ];-}--color.fn = jQuery.extend( color.prototype, {- parse: function( red, green, blue, alpha ) {- if ( red === undefined ) {- this._rgba = [ null, null, null, null ];- return this;- }- if ( red.jquery || red.nodeType ) {- red = jQuery( red ).css( green );- green = undefined;- }-- var inst = this,- type = jQuery.type( red ),- rgba = this._rgba = [];-- // more than 1 argument specified - assume ( red, green, blue, alpha )- if ( green !== undefined ) {- red = [ red, green, blue, alpha ];- type = "array";- }-- if ( type === "string" ) {- return this.parse( stringParse( red ) || colors._default );- }-- if ( type === "array" ) {- each( spaces.rgba.props, function( key, prop ) {- rgba[ prop.idx ] = clamp( red[ prop.idx ], prop );- });- return this;- }-- if ( type === "object" ) {- if ( red instanceof color ) {- each( spaces, function( spaceName, space ) {- if ( red[ space.cache ] ) {- inst[ space.cache ] = red[ space.cache ].slice();- }- });- } else {- each( spaces, function( spaceName, space ) {- var cache = space.cache;- each( space.props, function( key, prop ) {-- // if the cache doesn't exist, and we know how to convert- if ( !inst[ cache ] && space.to ) {-- // if the value was null, we don't need to copy it- // if the key was alpha, we don't need to copy it either- if ( key === "alpha" || red[ key ] == null ) {- return;- }- inst[ cache ] = space.to( inst._rgba );- }-- // this is the only case where we allow nulls for ALL properties.- // call clamp with alwaysAllowEmpty- inst[ cache ][ prop.idx ] = clamp( red[ key ], prop, true );- });-- // everything defined but alpha?- if ( inst[ cache ] && jQuery.inArray( null, inst[ cache ].slice( 0, 3 ) ) < 0 ) {- // use the default of 1- inst[ cache ][ 3 ] = 1;- if ( space.from ) {- inst._rgba = space.from( inst[ cache ] );- }- }- });- }- return this;- }- },- is: function( compare ) {- var is = color( compare ),- same = true,- inst = this;-- each( spaces, function( _, space ) {- var localCache,- isCache = is[ space.cache ];- if (isCache) {- localCache = inst[ space.cache ] || space.to && space.to( inst._rgba ) || [];- each( space.props, function( _, prop ) {- if ( isCache[ prop.idx ] != null ) {- same = ( isCache[ prop.idx ] === localCache[ prop.idx ] );- return same;- }- });- }- return same;- });- return same;- },- _space: function() {- var used = [],- inst = this;- each( spaces, function( spaceName, space ) {- if ( inst[ space.cache ] ) {- used.push( spaceName );- }- });- return used.pop();- },- transition: function( other, distance ) {- var end = color( other ),- spaceName = end._space(),- space = spaces[ spaceName ],- startColor = this.alpha() === 0 ? color( "transparent" ) : this,- start = startColor[ space.cache ] || space.to( startColor._rgba ),- result = start.slice();-- end = end[ space.cache ];- each( space.props, function( key, prop ) {- var index = prop.idx,- startValue = start[ index ],- endValue = end[ index ],- type = propTypes[ prop.type ] || {};-- // if null, don't override start value- if ( endValue === null ) {- return;- }- // if null - use end- if ( startValue === null ) {- result[ index ] = endValue;- } else {- if ( type.mod ) {- if ( endValue - startValue > type.mod / 2 ) {- startValue += type.mod;- } else if ( startValue - endValue > type.mod / 2 ) {- startValue -= type.mod;- }- }- result[ index ] = clamp( ( endValue - startValue ) * distance + startValue, prop );- }- });- return this[ spaceName ]( result );- },- blend: function( opaque ) {- // if we are already opaque - return ourself- if ( this._rgba[ 3 ] === 1 ) {- return this;- }-- var rgb = this._rgba.slice(),- a = rgb.pop(),- blend = color( opaque )._rgba;-- return color( jQuery.map( rgb, function( v, i ) {- return ( 1 - a ) * blend[ i ] + a * v;- }));- },- toRgbaString: function() {- var prefix = "rgba(",- rgba = jQuery.map( this._rgba, function( v, i ) {- return v == null ? ( i > 2 ? 1 : 0 ) : v;- });-- if ( rgba[ 3 ] === 1 ) {- rgba.pop();- prefix = "rgb(";- }-- return prefix + rgba.join() + ")";- },- toHslaString: function() {- var prefix = "hsla(",- hsla = jQuery.map( this.hsla(), function( v, i ) {- if ( v == null ) {- v = i > 2 ? 1 : 0;- }-- // catch 1 and 2- if ( i && i < 3 ) {- v = Math.round( v * 100 ) + "%";- }- return v;- });-- if ( hsla[ 3 ] === 1 ) {- hsla.pop();- prefix = "hsl(";- }- return prefix + hsla.join() + ")";- },- toHexString: function( includeAlpha ) {- var rgba = this._rgba.slice(),- alpha = rgba.pop();-- if ( includeAlpha ) {- rgba.push( ~~( alpha * 255 ) );- }-- return "#" + jQuery.map( rgba, function( v ) {-- // default to 0 when nulls exist- v = ( v || 0 ).toString( 16 );- return v.length === 1 ? "0" + v : v;- }).join("");- },- toString: function() {- return this._rgba[ 3 ] === 0 ? "transparent" : this.toRgbaString();- }-});-color.fn.parse.prototype = color.fn;--// hsla conversions adapted from:-// https://code.google.com/p/maashaack/source/browse/packages/graphics/trunk/src/graphics/colors/HUE2RGB.as?r=5021--function hue2rgb( p, q, h ) {- h = ( h + 1 ) % 1;- if ( h * 6 < 1 ) {- return p + ( q - p ) * h * 6;- }- if ( h * 2 < 1) {- return q;- }- if ( h * 3 < 2 ) {- return p + ( q - p ) * ( ( 2 / 3 ) - h ) * 6;- }- return p;-}--spaces.hsla.to = function( rgba ) {- if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {- return [ null, null, null, rgba[ 3 ] ];- }- var r = rgba[ 0 ] / 255,- g = rgba[ 1 ] / 255,- b = rgba[ 2 ] / 255,- a = rgba[ 3 ],- max = Math.max( r, g, b ),- min = Math.min( r, g, b ),- diff = max - min,- add = max + min,- l = add * 0.5,- h, s;-- if ( min === max ) {- h = 0;- } else if ( r === max ) {- h = ( 60 * ( g - b ) / diff ) + 360;- } else if ( g === max ) {- h = ( 60 * ( b - r ) / diff ) + 120;- } else {- h = ( 60 * ( r - g ) / diff ) + 240;- }-- // chroma (diff) == 0 means greyscale which, by definition, saturation = 0%- // otherwise, saturation is based on the ratio of chroma (diff) to lightness (add)- if ( diff === 0 ) {- s = 0;- } else if ( l <= 0.5 ) {- s = diff / add;- } else {- s = diff / ( 2 - add );- }- return [ Math.round(h) % 360, s, l, a == null ? 1 : a ];-};--spaces.hsla.from = function( hsla ) {- if ( hsla[ 0 ] == null || hsla[ 1 ] == null || hsla[ 2 ] == null ) {- return [ null, null, null, hsla[ 3 ] ];- }- var h = hsla[ 0 ] / 360,- s = hsla[ 1 ],- l = hsla[ 2 ],- a = hsla[ 3 ],- q = l <= 0.5 ? l * ( 1 + s ) : l + s - l * s,- p = 2 * l - q;-- return [- Math.round( hue2rgb( p, q, h + ( 1 / 3 ) ) * 255 ),- Math.round( hue2rgb( p, q, h ) * 255 ),- Math.round( hue2rgb( p, q, h - ( 1 / 3 ) ) * 255 ),- a- ];-};--each( spaces, function( spaceName, space ) {- var props = space.props,- cache = space.cache,- to = space.to,- from = space.from;-- // makes rgba() and hsla()- color.fn[ spaceName ] = function( value ) {-- // generate a cache for this space if it doesn't exist- if ( to && !this[ cache ] ) {- this[ cache ] = to( this._rgba );- }- if ( value === undefined ) {- return this[ cache ].slice();- }-- var ret,- type = jQuery.type( value ),- arr = ( type === "array" || type === "object" ) ? value : arguments,- local = this[ cache ].slice();-- each( props, function( key, prop ) {- var val = arr[ type === "object" ? key : prop.idx ];- if ( val == null ) {- val = local[ prop.idx ];- }- local[ prop.idx ] = clamp( val, prop );- });-- if ( from ) {- ret = color( from( local ) );- ret[ cache ] = local;- return ret;- } else {- return color( local );- }- };-- // makes red() green() blue() alpha() hue() saturation() lightness()- each( props, function( key, prop ) {- // alpha is included in more than one space- if ( color.fn[ key ] ) {- return;- }- color.fn[ key ] = function( value ) {- var vtype = jQuery.type( value ),- fn = ( key === "alpha" ? ( this._hsla ? "hsla" : "rgba" ) : spaceName ),- local = this[ fn ](),- cur = local[ prop.idx ],- match;-- if ( vtype === "undefined" ) {- return cur;- }-- if ( vtype === "function" ) {- value = value.call( this, cur );- vtype = jQuery.type( value );- }- if ( value == null && prop.empty ) {- return this;- }- if ( vtype === "string" ) {- match = rplusequals.exec( value );- if ( match ) {- value = cur + parseFloat( match[ 2 ] ) * ( match[ 1 ] === "+" ? 1 : -1 );- }- }- local[ prop.idx ] = value;- return this[ fn ]( local );- };- });-});--// add cssHook and .fx.step function for each named hook.-// accept a space separated string of properties-color.hook = function( hook ) {- var hooks = hook.split( " " );- each( hooks, function( i, hook ) {- jQuery.cssHooks[ hook ] = {- set: function( elem, value ) {- var parsed, curElem,- backgroundColor = "";-- if ( value !== "transparent" && ( jQuery.type( value ) !== "string" || ( parsed = stringParse( value ) ) ) ) {- value = color( parsed || value );- if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {- curElem = hook === "backgroundColor" ? elem.parentNode : elem;- while (- (backgroundColor === "" || backgroundColor === "transparent") &&- curElem && curElem.style- ) {- try {- backgroundColor = jQuery.css( curElem, "backgroundColor" );- curElem = curElem.parentNode;- } catch ( e ) {- }- }-- value = value.blend( backgroundColor && backgroundColor !== "transparent" ?- backgroundColor :- "_default" );- }-- value = value.toRgbaString();- }- try {- elem.style[ hook ] = value;- } catch ( e ) {- // wrapped to prevent IE from throwing errors on "invalid" values like 'auto' or 'inherit'- }- }- };- jQuery.fx.step[ hook ] = function( fx ) {- if ( !fx.colorInit ) {- fx.start = color( fx.elem, hook );- fx.end = color( fx.end );- fx.colorInit = true;- }- jQuery.cssHooks[ hook ].set( fx.elem, fx.start.transition( fx.end, fx.pos ) );- };- });--};--color.hook( stepHooks );--jQuery.cssHooks.borderColor = {- expand: function( value ) {- var expanded = {};-- each( [ "Top", "Right", "Bottom", "Left" ], function( i, part ) {- expanded[ "border" + part + "Color" ] = value;- });- return expanded;- }-};--// Basic color names only.-// Usage of any of the other color names requires adding yourself or including-// jquery.color.svg-names.js.-colors = jQuery.Color.names = {- // 4.1. Basic color keywords- 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",-- // 4.2.3. "transparent" color keyword- transparent: [ null, null, null, 0 ],-- _default: "#ffffff"-};--})( jQuery );--/******************************************************************************/-/****************************** CLASS ANIMATIONS ******************************/-/******************************************************************************/-(function() {--var classAnimationActions = [ "add", "remove", "toggle" ],- shorthandStyles = {- border: 1,- borderBottom: 1,- borderColor: 1,- borderLeft: 1,- borderRight: 1,- borderTop: 1,- borderWidth: 1,- margin: 1,- padding: 1- };--$.each([ "borderLeftStyle", "borderRightStyle", "borderBottomStyle", "borderTopStyle" ], function( _, prop ) {- $.fx.step[ prop ] = function( fx ) {- if ( fx.end !== "none" && !fx.setAttr || fx.pos === 1 && !fx.setAttr ) {- jQuery.style( fx.elem, prop, fx.end );- fx.setAttr = true;- }- };-});--function getElementStyles( elem ) {- var key, len,- style = elem.ownerDocument.defaultView ?- elem.ownerDocument.defaultView.getComputedStyle( elem, null ) :- elem.currentStyle,- styles = {};-- if ( style && style.length && style[ 0 ] && style[ style[ 0 ] ] ) {- len = style.length;- while ( len-- ) {- key = style[ len ];- if ( typeof style[ key ] === "string" ) {- styles[ $.camelCase( key ) ] = style[ key ];- }- }- // support: Opera, IE <9- } else {- for ( key in style ) {- if ( typeof style[ key ] === "string" ) {- styles[ key ] = style[ key ];- }- }- }-- return styles;-}--function styleDifference( oldStyle, newStyle ) {- var diff = {},- name, value;-- for ( name in newStyle ) {- value = newStyle[ name ];- if ( oldStyle[ name ] !== value ) {- if ( !shorthandStyles[ name ] ) {- if ( $.fx.step[ name ] || !isNaN( parseFloat( value ) ) ) {- diff[ name ] = value;- }- }- }- }-- return diff;-}--// support: jQuery <1.8-if ( !$.fn.addBack ) {- $.fn.addBack = function( selector ) {- return this.add( selector == null ?- this.prevObject : this.prevObject.filter( selector )- );- };-}--$.effects.animateClass = function( value, duration, easing, callback ) {- var o = $.speed( duration, easing, callback );-- return this.queue( function() {- var animated = $( this ),- baseClass = animated.attr( "class" ) || "",- applyClassChange,- allAnimations = o.children ? animated.find( "*" ).addBack() : animated;-- // map the animated objects to store the original styles.- allAnimations = allAnimations.map(function() {- var el = $( this );- return {- el: el,- start: getElementStyles( this )- };- });-- // apply class change- applyClassChange = function() {- $.each( classAnimationActions, function(i, action) {- if ( value[ action ] ) {- animated[ action + "Class" ]( value[ action ] );- }- });- };- applyClassChange();-- // map all animated objects again - calculate new styles and diff- allAnimations = allAnimations.map(function() {- this.end = getElementStyles( this.el[ 0 ] );- this.diff = styleDifference( this.start, this.end );- return this;- });-- // apply original class- animated.attr( "class", baseClass );-- // map all animated objects again - this time collecting a promise- allAnimations = allAnimations.map(function() {- var styleInfo = this,- dfd = $.Deferred(),- opts = $.extend({}, o, {- queue: false,- complete: function() {- dfd.resolve( styleInfo );- }- });-- this.el.animate( this.diff, opts );- return dfd.promise();- });-- // once all animations have completed:- $.when.apply( $, allAnimations.get() ).done(function() {-- // set the final class- applyClassChange();-- // for each animated element,- // clear all css properties that were animated- $.each( arguments, function() {- var el = this.el;- $.each( this.diff, function(key) {- el.css( key, "" );- });- });-- // this is guarnteed to be there if you use jQuery.speed()- // it also handles dequeuing the next anim...- o.complete.call( animated[ 0 ] );- });- });-};--$.fn.extend({- addClass: (function( orig ) {- return function( classNames, speed, easing, callback ) {- return speed ?- $.effects.animateClass.call( this,- { add: classNames }, speed, easing, callback ) :- orig.apply( this, arguments );- };- })( $.fn.addClass ),-- removeClass: (function( orig ) {- return function( classNames, speed, easing, callback ) {- return arguments.length > 1 ?- $.effects.animateClass.call( this,- { remove: classNames }, speed, easing, callback ) :- orig.apply( this, arguments );- };- })( $.fn.removeClass ),-- toggleClass: (function( orig ) {- return function( classNames, force, speed, easing, callback ) {- if ( typeof force === "boolean" || force === undefined ) {- if ( !speed ) {- // without speed parameter- return orig.apply( this, arguments );- } else {- return $.effects.animateClass.call( this,- (force ? { add: classNames } : { remove: classNames }),- speed, easing, callback );- }- } else {- // without force parameter- return $.effects.animateClass.call( this,- { toggle: classNames }, force, speed, easing );- }- };- })( $.fn.toggleClass ),-- switchClass: function( remove, add, speed, easing, callback) {- return $.effects.animateClass.call( this, {- add: add,- remove: remove- }, speed, easing, callback );- }-});--})();--/******************************************************************************/-/*********************************** EFFECTS **********************************/-/******************************************************************************/--(function() {--$.extend( $.effects, {- version: "1.11.4",-- // Saves a set of properties in a data storage- save: function( element, set ) {- for ( var i = 0; i < set.length; i++ ) {- if ( set[ i ] !== null ) {- element.data( dataSpace + set[ i ], element[ 0 ].style[ set[ i ] ] );- }- }- },-- // Restores a set of previously saved properties from a data storage- restore: function( element, set ) {- var val, i;- for ( i = 0; i < set.length; i++ ) {- if ( set[ i ] !== null ) {- val = element.data( dataSpace + set[ i ] );- // support: jQuery 1.6.2- // http://bugs.jquery.com/ticket/9917- // jQuery 1.6.2 incorrectly returns undefined for any falsy value.- // We can't differentiate between "" and 0 here, so we just assume- // empty string since it's likely to be a more common value...- if ( val === undefined ) {- val = "";- }- element.css( set[ i ], val );- }- }- },-- setMode: function( el, mode ) {- if (mode === "toggle") {- mode = el.is( ":hidden" ) ? "show" : "hide";- }- return mode;- },-- // Translates a [top,left] array into a baseline value- // this should be a little more flexible in the future to handle a string & hash- getBaseline: function( origin, original ) {- var y, x;- switch ( origin[ 0 ] ) {- case "top": y = 0; break;- case "middle": y = 0.5; break;- case "bottom": y = 1; break;- default: y = origin[ 0 ] / original.height;- }- switch ( origin[ 1 ] ) {- case "left": x = 0; break;- case "center": x = 0.5; break;- case "right": x = 1; break;- default: x = origin[ 1 ] / original.width;- }- return {- x: x,- y: y- };- },-- // Wraps the element around a wrapper that copies position properties- createWrapper: function( element ) {-- // if the element is already wrapped, return it- if ( element.parent().is( ".ui-effects-wrapper" )) {- return element.parent();- }-- // wrap the element- var props = {- width: element.outerWidth(true),- height: element.outerHeight(true),- "float": element.css( "float" )- },- wrapper = $( "<div></div>" )- .addClass( "ui-effects-wrapper" )- .css({- fontSize: "100%",- background: "transparent",- border: "none",- margin: 0,- padding: 0- }),- // Store the size in case width/height are defined in % - Fixes #5245- size = {- width: element.width(),- height: element.height()- },- active = document.activeElement;-- // support: Firefox- // Firefox incorrectly exposes anonymous content- // https://bugzilla.mozilla.org/show_bug.cgi?id=561664- try {- active.id;- } catch ( e ) {- active = document.body;- }-- element.wrap( wrapper );-- // Fixes #7595 - Elements lose focus when wrapped.- if ( element[ 0 ] === active || $.contains( element[ 0 ], active ) ) {- $( active ).focus();- }-- wrapper = element.parent(); //Hotfix for jQuery 1.4 since some change in wrap() seems to actually lose the reference to the wrapped element-- // transfer positioning properties to the wrapper- if ( element.css( "position" ) === "static" ) {- wrapper.css({ position: "relative" });- element.css({ position: "relative" });- } else {- $.extend( props, {- position: element.css( "position" ),- zIndex: element.css( "z-index" )- });- $.each([ "top", "left", "bottom", "right" ], function(i, pos) {- props[ pos ] = element.css( pos );- if ( isNaN( parseInt( props[ pos ], 10 ) ) ) {- props[ pos ] = "auto";- }- });- element.css({- position: "relative",- top: 0,- left: 0,- right: "auto",- bottom: "auto"- });- }- element.css(size);-- return wrapper.css( props ).show();- },-- removeWrapper: function( element ) {- var active = document.activeElement;-- if ( element.parent().is( ".ui-effects-wrapper" ) ) {- element.parent().replaceWith( element );-- // Fixes #7595 - Elements lose focus when wrapped.- if ( element[ 0 ] === active || $.contains( element[ 0 ], active ) ) {- $( active ).focus();- }- }-- return element;- },-- setTransition: function( element, list, factor, value ) {- value = value || {};- $.each( list, function( i, x ) {- var unit = element.cssUnit( x );- if ( unit[ 0 ] > 0 ) {- value[ x ] = unit[ 0 ] * factor + unit[ 1 ];- }- });- return value;- }-});--// return an effect options object for the given parameters:-function _normalizeArguments( effect, options, speed, callback ) {-- // allow passing all options as the first parameter- if ( $.isPlainObject( effect ) ) {- options = effect;- effect = effect.effect;- }-- // convert to an object- effect = { effect: effect };-- // catch (effect, null, ...)- if ( options == null ) {- options = {};- }-- // catch (effect, callback)- if ( $.isFunction( options ) ) {- callback = options;- speed = null;- options = {};- }-- // catch (effect, speed, ?)- if ( typeof options === "number" || $.fx.speeds[ options ] ) {- callback = speed;- speed = options;- options = {};- }-- // catch (effect, options, callback)- if ( $.isFunction( speed ) ) {- callback = speed;- speed = null;- }-- // add options to effect- if ( options ) {- $.extend( effect, options );- }-- speed = speed || options.duration;- effect.duration = $.fx.off ? 0 :- typeof speed === "number" ? speed :- speed in $.fx.speeds ? $.fx.speeds[ speed ] :- $.fx.speeds._default;-- effect.complete = callback || options.complete;-- return effect;-}--function standardAnimationOption( option ) {- // Valid standard speeds (nothing, number, named speed)- if ( !option || typeof option === "number" || $.fx.speeds[ option ] ) {- return true;- }-- // Invalid strings - treat as "normal" speed- if ( typeof option === "string" && !$.effects.effect[ option ] ) {- return true;- }-- // Complete callback- if ( $.isFunction( option ) ) {- return true;- }-- // Options hash (but not naming an effect)- if ( typeof option === "object" && !option.effect ) {- return true;- }-- // Didn't match any standard API- return false;-}--$.fn.extend({- effect: function( /* effect, options, speed, callback */ ) {- var args = _normalizeArguments.apply( this, arguments ),- mode = args.mode,- queue = args.queue,- effectMethod = $.effects.effect[ args.effect ];-- if ( $.fx.off || !effectMethod ) {- // delegate to the original method (e.g., .show()) if possible- if ( mode ) {- return this[ mode ]( args.duration, args.complete );- } else {- return this.each( function() {- if ( args.complete ) {- args.complete.call( this );- }- });- }- }-- function run( next ) {- var elem = $( this ),- complete = args.complete,- mode = args.mode;-- function done() {- if ( $.isFunction( complete ) ) {- complete.call( elem[0] );- }- if ( $.isFunction( next ) ) {- next();- }- }-- // If the element already has the correct final state, delegate to- // the core methods so the internal tracking of "olddisplay" works.- if ( elem.is( ":hidden" ) ? mode === "hide" : mode === "show" ) {- elem[ mode ]();- done();- } else {- effectMethod.call( elem[0], args, done );- }- }-- return queue === false ? this.each( run ) : this.queue( queue || "fx", run );- },-- show: (function( orig ) {- return function( option ) {- if ( standardAnimationOption( option ) ) {- return orig.apply( this, arguments );- } else {- var args = _normalizeArguments.apply( this, arguments );- args.mode = "show";- return this.effect.call( this, args );- }- };- })( $.fn.show ),-- hide: (function( orig ) {- return function( option ) {- if ( standardAnimationOption( option ) ) {- return orig.apply( this, arguments );- } else {- var args = _normalizeArguments.apply( this, arguments );- args.mode = "hide";- return this.effect.call( this, args );- }- };- })( $.fn.hide ),-- toggle: (function( orig ) {- return function( option ) {- if ( standardAnimationOption( option ) || typeof option === "boolean" ) {- return orig.apply( this, arguments );- } else {- var args = _normalizeArguments.apply( this, arguments );- args.mode = "toggle";- return this.effect.call( this, args );- }- };- })( $.fn.toggle ),-- // helper functions- cssUnit: function(key) {- var style = this.css( key ),- val = [];-- $.each( [ "em", "px", "%", "pt" ], function( i, unit ) {- if ( style.indexOf( unit ) > 0 ) {- val = [ parseFloat( style ), unit ];- }- });- return val;- }-});--})();--/******************************************************************************/-/*********************************** EASING ***********************************/-/******************************************************************************/--(function() {--// based on easing equations from Robert Penner (http://www.robertpenner.com/easing)--var baseEasings = {};--$.each( [ "Quad", "Cubic", "Quart", "Quint", "Expo" ], function( i, name ) {- baseEasings[ name ] = function( p ) {- return Math.pow( p, i + 2 );- };-});--$.extend( baseEasings, {- Sine: function( p ) {- return 1 - Math.cos( p * Math.PI / 2 );- },- Circ: function( p ) {- return 1 - Math.sqrt( 1 - p * p );- },- Elastic: function( p ) {- return p === 0 || p === 1 ? p :- -Math.pow( 2, 8 * (p - 1) ) * Math.sin( ( (p - 1) * 80 - 7.5 ) * Math.PI / 15 );- },- Back: function( p ) {- return p * p * ( 3 * p - 2 );- },- Bounce: function( p ) {- var pow2,- bounce = 4;-- while ( p < ( ( pow2 = Math.pow( 2, --bounce ) ) - 1 ) / 11 ) {}- return 1 / Math.pow( 4, 3 - bounce ) - 7.5625 * Math.pow( ( pow2 * 3 - 2 ) / 22 - p, 2 );- }-});--$.each( baseEasings, function( name, easeIn ) {- $.easing[ "easeIn" + name ] = easeIn;- $.easing[ "easeOut" + name ] = function( p ) {- return 1 - easeIn( 1 - p );- };- $.easing[ "easeInOut" + name ] = function( p ) {- return p < 0.5 ?- easeIn( p * 2 ) / 2 :- 1 - easeIn( p * -2 + 2 ) / 2;- };-});--})();--var effect = $.effects;---/*!- * jQuery UI Effects Blind 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/blind-effect/- */---var effectBlind = $.effects.effect.blind = function( o, done ) {- // Create element- var el = $( this ),- rvertical = /up|down|vertical/,- rpositivemotion = /up|left|vertical|horizontal/,- props = [ "position", "top", "bottom", "left", "right", "height", "width" ],- mode = $.effects.setMode( el, o.mode || "hide" ),- direction = o.direction || "up",- vertical = rvertical.test( direction ),- ref = vertical ? "height" : "width",- ref2 = vertical ? "top" : "left",- motion = rpositivemotion.test( direction ),- animation = {},- show = mode === "show",- wrapper, distance, margin;-- // if already wrapped, the wrapper's properties are my property. #6245- if ( el.parent().is( ".ui-effects-wrapper" ) ) {- $.effects.save( el.parent(), props );- } else {- $.effects.save( el, props );- }- el.show();- wrapper = $.effects.createWrapper( el ).css({- overflow: "hidden"- });-- distance = wrapper[ ref ]();- margin = parseFloat( wrapper.css( ref2 ) ) || 0;-- animation[ ref ] = show ? distance : 0;- if ( !motion ) {- el- .css( vertical ? "bottom" : "right", 0 )- .css( vertical ? "top" : "left", "auto" )- .css({ position: "absolute" });-- animation[ ref2 ] = show ? margin : distance + margin;- }-- // start at 0 if we are showing- if ( show ) {- wrapper.css( ref, 0 );- if ( !motion ) {- wrapper.css( ref2, margin + distance );- }- }-- // Animate- wrapper.animate( animation, {- duration: o.duration,- easing: o.easing,- queue: false,- complete: function() {- if ( mode === "hide" ) {- el.hide();- }- $.effects.restore( el, props );- $.effects.removeWrapper( el );- done();- }- });-};---/*!- * jQuery UI Effects Bounce 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/bounce-effect/- */---var effectBounce = $.effects.effect.bounce = function( o, done ) {- var el = $( this ),- props = [ "position", "top", "bottom", "left", "right", "height", "width" ],-- // defaults:- mode = $.effects.setMode( el, o.mode || "effect" ),- hide = mode === "hide",- show = mode === "show",- direction = o.direction || "up",- distance = o.distance,- times = o.times || 5,-- // number of internal animations- anims = times * 2 + ( show || hide ? 1 : 0 ),- speed = o.duration / anims,- easing = o.easing,-- // utility:- ref = ( direction === "up" || direction === "down" ) ? "top" : "left",- motion = ( direction === "up" || direction === "left" ),- i,- upAnim,- downAnim,-- // we will need to re-assemble the queue to stack our animations in place- queue = el.queue(),- queuelen = queue.length;-- // Avoid touching opacity to prevent clearType and PNG issues in IE- if ( show || hide ) {- props.push( "opacity" );- }-- $.effects.save( el, props );- el.show();- $.effects.createWrapper( el ); // Create Wrapper-- // default distance for the BIGGEST bounce is the outer Distance / 3- if ( !distance ) {- distance = el[ ref === "top" ? "outerHeight" : "outerWidth" ]() / 3;- }-- if ( show ) {- downAnim = { opacity: 1 };- downAnim[ ref ] = 0;-- // if we are showing, force opacity 0 and set the initial position- // then do the "first" animation- el.css( "opacity", 0 )- .css( ref, motion ? -distance * 2 : distance * 2 )- .animate( downAnim, speed, easing );- }-- // start at the smallest distance if we are hiding- if ( hide ) {- distance = distance / Math.pow( 2, times - 1 );- }-- downAnim = {};- downAnim[ ref ] = 0;- // Bounces up/down/left/right then back to 0 -- times * 2 animations happen here- for ( i = 0; i < times; i++ ) {- upAnim = {};- upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance;-- el.animate( upAnim, speed, easing )- .animate( downAnim, speed, easing );-- distance = hide ? distance * 2 : distance / 2;- }-- // Last Bounce when Hiding- if ( hide ) {- upAnim = { opacity: 0 };- upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance;-- el.animate( upAnim, speed, easing );- }-- el.queue(function() {- if ( hide ) {- el.hide();- }- $.effects.restore( el, props );- $.effects.removeWrapper( el );- done();- });-- // inject all the animations we just queued to be first in line (after "inprogress")- if ( queuelen > 1) {- queue.splice.apply( queue,- [ 1, 0 ].concat( queue.splice( queuelen, anims + 1 ) ) );- }- el.dequeue();--};---/*!- * jQuery UI Effects Clip 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/clip-effect/- */---var effectClip = $.effects.effect.clip = function( o, done ) {- // Create element- var el = $( this ),- props = [ "position", "top", "bottom", "left", "right", "height", "width" ],- mode = $.effects.setMode( el, o.mode || "hide" ),- show = mode === "show",- direction = o.direction || "vertical",- vert = direction === "vertical",- size = vert ? "height" : "width",- position = vert ? "top" : "left",- animation = {},- wrapper, animate, distance;-- // Save & Show- $.effects.save( el, props );- el.show();-- // Create Wrapper- wrapper = $.effects.createWrapper( el ).css({- overflow: "hidden"- });- animate = ( el[0].tagName === "IMG" ) ? wrapper : el;- distance = animate[ size ]();-- // Shift- if ( show ) {- animate.css( size, 0 );- animate.css( position, distance / 2 );- }-- // Create Animation Object:- animation[ size ] = show ? distance : 0;- animation[ position ] = show ? 0 : distance / 2;-- // Animate- animate.animate( animation, {- queue: false,- duration: o.duration,- easing: o.easing,- complete: function() {- if ( !show ) {- el.hide();- }- $.effects.restore( el, props );- $.effects.removeWrapper( el );- done();- }- });--};---/*!- * jQuery UI Effects Drop 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/drop-effect/- */---var effectDrop = $.effects.effect.drop = function( o, done ) {-- var el = $( this ),- props = [ "position", "top", "bottom", "left", "right", "opacity", "height", "width" ],- mode = $.effects.setMode( el, o.mode || "hide" ),- show = mode === "show",- direction = o.direction || "left",- ref = ( direction === "up" || direction === "down" ) ? "top" : "left",- motion = ( direction === "up" || direction === "left" ) ? "pos" : "neg",- animation = {- opacity: show ? 1 : 0- },- distance;-- // Adjust- $.effects.save( el, props );- el.show();- $.effects.createWrapper( el );-- distance = o.distance || el[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ) / 2;-- if ( show ) {- el- .css( "opacity", 0 )- .css( ref, motion === "pos" ? -distance : distance );- }-- // Animation- animation[ ref ] = ( show ?- ( motion === "pos" ? "+=" : "-=" ) :- ( motion === "pos" ? "-=" : "+=" ) ) +- distance;-- // Animate- el.animate( animation, {- queue: false,- duration: o.duration,- easing: o.easing,- complete: function() {- if ( mode === "hide" ) {- el.hide();- }- $.effects.restore( el, props );- $.effects.removeWrapper( el );- done();- }- });-};---/*!- * jQuery UI Effects Explode 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/explode-effect/- */---var effectExplode = $.effects.effect.explode = function( o, done ) {-- var rows = o.pieces ? Math.round( Math.sqrt( o.pieces ) ) : 3,- cells = rows,- el = $( this ),- mode = $.effects.setMode( el, o.mode || "hide" ),- show = mode === "show",-- // show and then visibility:hidden the element before calculating offset- offset = el.show().css( "visibility", "hidden" ).offset(),-- // width and height of a piece- width = Math.ceil( el.outerWidth() / cells ),- height = Math.ceil( el.outerHeight() / rows ),- pieces = [],-- // loop- i, j, left, top, mx, my;-- // children animate complete:- function childComplete() {- pieces.push( this );- if ( pieces.length === rows * cells ) {- animComplete();- }- }-- // clone the element for each row and cell.- for ( i = 0; i < rows ; i++ ) { // ===>- top = offset.top + i * height;- my = i - ( rows - 1 ) / 2 ;-- for ( j = 0; j < cells ; j++ ) { // |||- left = offset.left + j * width;- mx = j - ( cells - 1 ) / 2 ;-- // Create a clone of the now hidden main element that will be absolute positioned- // within a wrapper div off the -left and -top equal to size of our pieces- el- .clone()- .appendTo( "body" )- .wrap( "<div></div>" )- .css({- position: "absolute",- visibility: "visible",- left: -j * width,- top: -i * height- })-- // select the wrapper - make it overflow: hidden and absolute positioned based on- // where the original was located +left and +top equal to the size of pieces- .parent()- .addClass( "ui-effects-explode" )- .css({- position: "absolute",- overflow: "hidden",- width: width,- height: height,- left: left + ( show ? mx * width : 0 ),- top: top + ( show ? my * height : 0 ),- opacity: show ? 0 : 1- }).animate({- left: left + ( show ? 0 : mx * width ),- top: top + ( show ? 0 : my * height ),- opacity: show ? 1 : 0- }, o.duration || 500, o.easing, childComplete );- }- }-- function animComplete() {- el.css({- visibility: "visible"- });- $( pieces ).remove();- if ( !show ) {- el.hide();- }- done();- }-};---/*!- * jQuery UI Effects Fade 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/fade-effect/- */---var effectFade = $.effects.effect.fade = function( o, done ) {- var el = $( this ),- mode = $.effects.setMode( el, o.mode || "toggle" );-- el.animate({- opacity: mode- }, {- queue: false,- duration: o.duration,- easing: o.easing,- complete: done- });-};---/*!- * jQuery UI Effects Fold 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/fold-effect/- */---var effectFold = $.effects.effect.fold = function( o, done ) {-- // Create element- var el = $( this ),- props = [ "position", "top", "bottom", "left", "right", "height", "width" ],- mode = $.effects.setMode( el, o.mode || "hide" ),- show = mode === "show",- hide = mode === "hide",- size = o.size || 15,- percent = /([0-9]+)%/.exec( size ),- horizFirst = !!o.horizFirst,- widthFirst = show !== horizFirst,- ref = widthFirst ? [ "width", "height" ] : [ "height", "width" ],- duration = o.duration / 2,- wrapper, distance,- animation1 = {},- animation2 = {};-- $.effects.save( el, props );- el.show();-- // Create Wrapper- wrapper = $.effects.createWrapper( el ).css({- overflow: "hidden"- });- distance = widthFirst ?- [ wrapper.width(), wrapper.height() ] :- [ wrapper.height(), wrapper.width() ];-- if ( percent ) {- size = parseInt( percent[ 1 ], 10 ) / 100 * distance[ hide ? 0 : 1 ];- }- if ( show ) {- wrapper.css( horizFirst ? {- height: 0,- width: size- } : {- height: size,- width: 0- });- }-- // Animation- animation1[ ref[ 0 ] ] = show ? distance[ 0 ] : size;- animation2[ ref[ 1 ] ] = show ? distance[ 1 ] : 0;-- // Animate- wrapper- .animate( animation1, duration, o.easing )- .animate( animation2, duration, o.easing, function() {- if ( hide ) {- el.hide();- }- $.effects.restore( el, props );- $.effects.removeWrapper( el );- done();- });--};---/*!- * jQuery UI Effects Highlight 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/highlight-effect/- */---var effectHighlight = $.effects.effect.highlight = function( o, done ) {- var elem = $( this ),- props = [ "backgroundImage", "backgroundColor", "opacity" ],- mode = $.effects.setMode( elem, o.mode || "show" ),- animation = {- backgroundColor: elem.css( "backgroundColor" )- };-- if (mode === "hide") {- animation.opacity = 0;- }-- $.effects.save( elem, props );-- elem- .show()- .css({- backgroundImage: "none",- backgroundColor: o.color || "#ffff99"- })- .animate( animation, {- queue: false,- duration: o.duration,- easing: o.easing,- complete: function() {- if ( mode === "hide" ) {- elem.hide();- }- $.effects.restore( elem, props );- done();- }- });-};---/*!- * jQuery UI Effects Size 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/size-effect/- */---var effectSize = $.effects.effect.size = function( o, done ) {-- // Create element- var original, baseline, factor,- el = $( this ),- props0 = [ "position", "top", "bottom", "left", "right", "width", "height", "overflow", "opacity" ],-- // Always restore- props1 = [ "position", "top", "bottom", "left", "right", "overflow", "opacity" ],-- // Copy for children- props2 = [ "width", "height", "overflow" ],- cProps = [ "fontSize" ],- vProps = [ "borderTopWidth", "borderBottomWidth", "paddingTop", "paddingBottom" ],- hProps = [ "borderLeftWidth", "borderRightWidth", "paddingLeft", "paddingRight" ],-- // Set options- mode = $.effects.setMode( el, o.mode || "effect" ),- restore = o.restore || mode !== "effect",- scale = o.scale || "both",- origin = o.origin || [ "middle", "center" ],- position = el.css( "position" ),- props = restore ? props0 : props1,- zero = {- height: 0,- width: 0,- outerHeight: 0,- outerWidth: 0- };-- if ( mode === "show" ) {- el.show();- }- original = {- height: el.height(),- width: el.width(),- outerHeight: el.outerHeight(),- outerWidth: el.outerWidth()- };-- if ( o.mode === "toggle" && mode === "show" ) {- el.from = o.to || zero;- el.to = o.from || original;- } else {- el.from = o.from || ( mode === "show" ? zero : original );- el.to = o.to || ( mode === "hide" ? zero : original );- }-- // Set scaling factor- factor = {- from: {- y: el.from.height / original.height,- x: el.from.width / original.width- },- to: {- y: el.to.height / original.height,- x: el.to.width / original.width- }- };-- // Scale the css box- if ( scale === "box" || scale === "both" ) {-- // Vertical props scaling- if ( factor.from.y !== factor.to.y ) {- props = props.concat( vProps );- el.from = $.effects.setTransition( el, vProps, factor.from.y, el.from );- el.to = $.effects.setTransition( el, vProps, factor.to.y, el.to );- }-- // Horizontal props scaling- if ( factor.from.x !== factor.to.x ) {- props = props.concat( hProps );- el.from = $.effects.setTransition( el, hProps, factor.from.x, el.from );- el.to = $.effects.setTransition( el, hProps, factor.to.x, el.to );- }- }-- // Scale the content- if ( scale === "content" || scale === "both" ) {-- // Vertical props scaling- if ( factor.from.y !== factor.to.y ) {- props = props.concat( cProps ).concat( props2 );- el.from = $.effects.setTransition( el, cProps, factor.from.y, el.from );- el.to = $.effects.setTransition( el, cProps, factor.to.y, el.to );- }- }-- $.effects.save( el, props );- el.show();- $.effects.createWrapper( el );- el.css( "overflow", "hidden" ).css( el.from );-- // Adjust- if (origin) { // Calculate baseline shifts- baseline = $.effects.getBaseline( origin, original );- el.from.top = ( original.outerHeight - el.outerHeight() ) * baseline.y;- el.from.left = ( original.outerWidth - el.outerWidth() ) * baseline.x;- el.to.top = ( original.outerHeight - el.to.outerHeight ) * baseline.y;- el.to.left = ( original.outerWidth - el.to.outerWidth ) * baseline.x;- }- el.css( el.from ); // set top & left-- // Animate- if ( scale === "content" || scale === "both" ) { // Scale the children-- // Add margins/font-size- vProps = vProps.concat([ "marginTop", "marginBottom" ]).concat(cProps);- hProps = hProps.concat([ "marginLeft", "marginRight" ]);- props2 = props0.concat(vProps).concat(hProps);-- el.find( "*[width]" ).each( function() {- var child = $( this ),- c_original = {- height: child.height(),- width: child.width(),- outerHeight: child.outerHeight(),- outerWidth: child.outerWidth()- };- if (restore) {- $.effects.save(child, props2);- }-- child.from = {- height: c_original.height * factor.from.y,- width: c_original.width * factor.from.x,- outerHeight: c_original.outerHeight * factor.from.y,- outerWidth: c_original.outerWidth * factor.from.x- };- child.to = {- height: c_original.height * factor.to.y,- width: c_original.width * factor.to.x,- outerHeight: c_original.height * factor.to.y,- outerWidth: c_original.width * factor.to.x- };-- // Vertical props scaling- if ( factor.from.y !== factor.to.y ) {- child.from = $.effects.setTransition( child, vProps, factor.from.y, child.from );- child.to = $.effects.setTransition( child, vProps, factor.to.y, child.to );- }-- // Horizontal props scaling- if ( factor.from.x !== factor.to.x ) {- child.from = $.effects.setTransition( child, hProps, factor.from.x, child.from );- child.to = $.effects.setTransition( child, hProps, factor.to.x, child.to );- }-- // Animate children- child.css( child.from );- child.animate( child.to, o.duration, o.easing, function() {-- // Restore children- if ( restore ) {- $.effects.restore( child, props2 );- }- });- });- }-- // Animate- el.animate( el.to, {- queue: false,- duration: o.duration,- easing: o.easing,- complete: function() {- if ( el.to.opacity === 0 ) {- el.css( "opacity", el.from.opacity );- }- if ( mode === "hide" ) {- el.hide();- }- $.effects.restore( el, props );- if ( !restore ) {-- // we need to calculate our new positioning based on the scaling- if ( position === "static" ) {- el.css({- position: "relative",- top: el.to.top,- left: el.to.left- });- } else {- $.each([ "top", "left" ], function( idx, pos ) {- el.css( pos, function( _, str ) {- var val = parseInt( str, 10 ),- toRef = idx ? el.to.left : el.to.top;-- // if original was "auto", recalculate the new value from wrapper- if ( str === "auto" ) {- return toRef + "px";- }-- return val + toRef + "px";- });- });- }- }-- $.effects.removeWrapper( el );- done();- }- });--};---/*!- * jQuery UI Effects Scale 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/scale-effect/- */---var effectScale = $.effects.effect.scale = function( o, done ) {-- // Create element- var el = $( this ),- options = $.extend( true, {}, o ),- mode = $.effects.setMode( el, o.mode || "effect" ),- percent = parseInt( o.percent, 10 ) ||- ( parseInt( o.percent, 10 ) === 0 ? 0 : ( mode === "hide" ? 0 : 100 ) ),- direction = o.direction || "both",- origin = o.origin,- original = {- height: el.height(),- width: el.width(),- outerHeight: el.outerHeight(),- outerWidth: el.outerWidth()- },- factor = {- y: direction !== "horizontal" ? (percent / 100) : 1,- x: direction !== "vertical" ? (percent / 100) : 1- };-- // We are going to pass this effect to the size effect:- options.effect = "size";- options.queue = false;- options.complete = done;-- // Set default origin and restore for show/hide- if ( mode !== "effect" ) {- options.origin = origin || [ "middle", "center" ];- options.restore = true;- }-- options.from = o.from || ( mode === "show" ? {- height: 0,- width: 0,- outerHeight: 0,- outerWidth: 0- } : original );- options.to = {- height: original.height * factor.y,- width: original.width * factor.x,- outerHeight: original.outerHeight * factor.y,- outerWidth: original.outerWidth * factor.x- };-- // Fade option to support puff- if ( options.fade ) {- if ( mode === "show" ) {- options.from.opacity = 0;- options.to.opacity = 1;- }- if ( mode === "hide" ) {- options.from.opacity = 1;- options.to.opacity = 0;- }- }-- // Animate- el.effect( options );--};---/*!- * jQuery UI Effects Puff 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/puff-effect/- */---var effectPuff = $.effects.effect.puff = function( o, done ) {- var elem = $( this ),- mode = $.effects.setMode( elem, o.mode || "hide" ),- hide = mode === "hide",- percent = parseInt( o.percent, 10 ) || 150,- factor = percent / 100,- original = {- height: elem.height(),- width: elem.width(),- outerHeight: elem.outerHeight(),- outerWidth: elem.outerWidth()- };-- $.extend( o, {- effect: "scale",- queue: false,- fade: true,- mode: mode,- complete: done,- percent: hide ? percent : 100,- from: hide ?- original :- {- height: original.height * factor,- width: original.width * factor,- outerHeight: original.outerHeight * factor,- outerWidth: original.outerWidth * factor- }- });-- elem.effect( o );-};---/*!- * jQuery UI Effects Pulsate 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/pulsate-effect/- */---var effectPulsate = $.effects.effect.pulsate = function( o, done ) {- var elem = $( this ),- mode = $.effects.setMode( elem, o.mode || "show" ),- show = mode === "show",- hide = mode === "hide",- showhide = ( show || mode === "hide" ),-- // showing or hiding leaves of the "last" animation- anims = ( ( o.times || 5 ) * 2 ) + ( showhide ? 1 : 0 ),- duration = o.duration / anims,- animateTo = 0,- queue = elem.queue(),- queuelen = queue.length,- i;-- if ( show || !elem.is(":visible")) {- elem.css( "opacity", 0 ).show();- animateTo = 1;- }-- // anims - 1 opacity "toggles"- for ( i = 1; i < anims; i++ ) {- elem.animate({- opacity: animateTo- }, duration, o.easing );- animateTo = 1 - animateTo;- }-- elem.animate({- opacity: animateTo- }, duration, o.easing);-- elem.queue(function() {- if ( hide ) {- elem.hide();- }- done();- });-- // We just queued up "anims" animations, we need to put them next in the queue- if ( queuelen > 1 ) {- queue.splice.apply( queue,- [ 1, 0 ].concat( queue.splice( queuelen, anims + 1 ) ) );- }- elem.dequeue();-};---/*!- * jQuery UI Effects Shake 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/shake-effect/- */---var effectShake = $.effects.effect.shake = function( o, done ) {-- var el = $( this ),- props = [ "position", "top", "bottom", "left", "right", "height", "width" ],- mode = $.effects.setMode( el, o.mode || "effect" ),- direction = o.direction || "left",- distance = o.distance || 20,- times = o.times || 3,- anims = times * 2 + 1,- speed = Math.round( o.duration / anims ),- ref = (direction === "up" || direction === "down") ? "top" : "left",- positiveMotion = (direction === "up" || direction === "left"),- animation = {},- animation1 = {},- animation2 = {},- i,-- // we will need to re-assemble the queue to stack our animations in place- queue = el.queue(),- queuelen = queue.length;-- $.effects.save( el, props );- el.show();- $.effects.createWrapper( el );-- // Animation- animation[ ref ] = ( positiveMotion ? "-=" : "+=" ) + distance;- animation1[ ref ] = ( positiveMotion ? "+=" : "-=" ) + distance * 2;- animation2[ ref ] = ( positiveMotion ? "-=" : "+=" ) + distance * 2;-- // Animate- el.animate( animation, speed, o.easing );-- // Shakes- for ( i = 1; i < times; i++ ) {- el.animate( animation1, speed, o.easing ).animate( animation2, speed, o.easing );- }- el- .animate( animation1, speed, o.easing )- .animate( animation, speed / 2, o.easing )- .queue(function() {- if ( mode === "hide" ) {- el.hide();- }- $.effects.restore( el, props );- $.effects.removeWrapper( el );- done();- });-- // inject all the animations we just queued to be first in line (after "inprogress")- if ( queuelen > 1) {- queue.splice.apply( queue,- [ 1, 0 ].concat( queue.splice( queuelen, anims + 1 ) ) );- }- el.dequeue();--};---/*!- * jQuery UI Effects Slide 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/slide-effect/- */---var effectSlide = $.effects.effect.slide = function( o, done ) {-- // Create element- var el = $( this ),- props = [ "position", "top", "bottom", "left", "right", "width", "height" ],- mode = $.effects.setMode( el, o.mode || "show" ),- show = mode === "show",- direction = o.direction || "left",- ref = (direction === "up" || direction === "down") ? "top" : "left",- positiveMotion = (direction === "up" || direction === "left"),- distance,- animation = {};-- // Adjust- $.effects.save( el, props );- el.show();- distance = o.distance || el[ ref === "top" ? "outerHeight" : "outerWidth" ]( true );-- $.effects.createWrapper( el ).css({- overflow: "hidden"- });-- if ( show ) {- el.css( ref, positiveMotion ? (isNaN(distance) ? "-" + distance : -distance) : distance );- }-- // Animation- animation[ ref ] = ( show ?- ( positiveMotion ? "+=" : "-=") :- ( positiveMotion ? "-=" : "+=")) +- distance;-- // Animate- el.animate( animation, {- queue: false,- duration: o.duration,- easing: o.easing,- complete: function() {- if ( mode === "hide" ) {- el.hide();- }- $.effects.restore( el, props );- $.effects.removeWrapper( el );- done();- }- });-};---/*!- * jQuery UI Effects Transfer 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/transfer-effect/- */---var effectTransfer = $.effects.effect.transfer = function( o, done ) {- var elem = $( this ),- target = $( o.to ),- targetFixed = target.css( "position" ) === "fixed",- body = $("body"),- fixTop = targetFixed ? body.scrollTop() : 0,- fixLeft = targetFixed ? body.scrollLeft() : 0,- endPosition = target.offset(),- animation = {- top: endPosition.top - fixTop,- left: endPosition.left - fixLeft,- height: target.innerHeight(),- width: target.innerWidth()- },- startPosition = elem.offset(),- transfer = $( "<div class='ui-effects-transfer'></div>" )- .appendTo( document.body )- .addClass( o.className )- .css({- top: startPosition.top - fixTop,- left: startPosition.left - fixLeft,- height: elem.innerHeight(),- width: elem.innerWidth(),- position: targetFixed ? "fixed" : "absolute"- })- .animate( animation, o.duration, o.easing, function() {- transfer.remove();- done();- });-};----}));\ No newline at end of filediff --git a/web/ext/ui/jquery-ui-1.11.4/jquery-ui.min.css b/web/ext/ui/jquery-ui-1.11.4/jquery-ui.min.cssdeleted file mode 100644index 8a59e62d2..000000000--- a/web/ext/ui/jquery-ui-1.11.4/jquery-ui.min.css+++ /dev/null@@ -1,7 +0,0 @@-/*! jQuery UI - v1.11.4 - 2015-06-29-* http://jqueryui.com-* Includes: core.css, draggable.css, resizable.css, selectable.css, sortable.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, menu.css, progressbar.css, selectmenu.css, slider.css, spinner.css, tabs.css, tooltip.css, theme.css-* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Segoe%20UI%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=333333&bgTextureHeader=gloss_wave&bgImgOpacityHeader=25&borderColorHeader=333333&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=000000&bgTextureContent=inset_soft&bgImgOpacityContent=25&borderColorContent=666666&fcContent=ffffff&iconColorContent=cccccc&bgColorDefault=555555&bgTextureDefault=glass&bgImgOpacityDefault=20&borderColorDefault=666666&fcDefault=eeeeee&iconColorDefault=cccccc&bgColorHover=0078a3&bgTextureHover=glass&bgImgOpacityHover=40&borderColorHover=59b4d4&fcHover=ffffff&iconColorHover=ffffff&bgColorActive=f58400&bgTextureActive=inset_soft&bgImgOpacityActive=30&borderColorActive=ffaf0f&fcActive=ffffff&iconColorActive=222222&bgColorHighlight=eeeeee&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=80&borderColorHighlight=cccccc&fcHighlight=2e7db2&iconColorHighlight=4b8e0b&bgColorError=ffc73d&bgTextureError=glass&bgImgOpacityError=40&borderColorError=ffb73d&fcError=111111&iconColorError=a83300&bgColorOverlay=5c5c5c&bgTextureOverlay=flat&bgImgOpacityOverlay=50&opacityOverlay=80&bgColorShadow=cccccc&bgTextureShadow=flat&bgImgOpacityShadow=30&opacityShadow=60&thicknessShadow=7px&offsetTopShadow=-7px&offsetLeftShadow=-7px&cornerRadiusShadow=8px-* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */--.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;min-height:0;font-size:100%}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:none}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{position:relative;margin:0;padding:3px 1em 3px .4em;cursor:pointer;min-height:0;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:bold;line-height:1.5;padding:2px 0.4em;margin:0.5em 0 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-button{display:inline-block;overflow:hidden;position:relative;text-decoration:none;cursor:pointer}.ui-selectmenu-button span.ui-icon{right:0.5em;left:auto;margin-top:-8px;position:absolute;top:50%}.ui-selectmenu-button span.ui-selectmenu-text{text-align:left;padding:0.4em 2.1em 0.4em 1em;display:block;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Segoe UI,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Segoe UI,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #666;background:#000 url("images/ui-bg_inset-soft_25_000000_1x100.png") 50% bottom repeat-x;color:#fff}.ui-widget-content a{color:#fff}.ui-widget-header{border:1px solid #333;background:#333 url("images/ui-bg_gloss-wave_25_333333_500x100.png") 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #666;background:#555 url("images/ui-bg_glass_20_555555_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#eee}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#eee;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #59b4d4;background:#0078a3 url("images/ui-bg_glass_40_0078a3_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#fff}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#fff;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #ffaf0f;background:#f58400 url("images/ui-bg_inset-soft_30_f58400_1x100.png") 50% 50% repeat-x;font-weight:bold;color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #ccc;background:#eee url("images/ui-bg_highlight-soft_80_eeeeee_1x100.png") 50% top repeat-x;color:#2e7db2}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#2e7db2}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #ffb73d;background:#ffc73d url("images/ui-bg_glass_40_ffc73d_1x400.png") 50% 50% repeat-x;color:#111}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#111}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#111}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_cccccc_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-default .ui-icon{background-image:url("images/ui-icons_cccccc_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-active .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("images/ui-icons_4b8e0b_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_a83300_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:6px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:6px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:6px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:6px}.ui-widget-overlay{background:#5c5c5c url("images/ui-bg_flat_50_5c5c5c_40x100.png") 50% 50% repeat-x;opacity:.8;filter:Alpha(Opacity=80)}.ui-widget-shadow{margin:-7px 0 0 -7px;padding:7px;background:#ccc url("images/ui-bg_flat_30_cccccc_40x100.png") 50% 50% repeat-x;opacity:.6;filter:Alpha(Opacity=60);border-radius:8px}\ No newline at end of filediff --git a/web/ext/ui/jquery-ui-1.11.4/jquery-ui.min.js b/web/ext/ui/jquery-ui-1.11.4/jquery-ui.min.jsdeleted file mode 100644index 4e2d44242..000000000--- a/web/ext/ui/jquery-ui-1.11.4/jquery-ui.min.js+++ /dev/null@@ -1,13 +0,0 @@-/*! jQuery UI - v1.11.4 - 2015-06-28-* http://jqueryui.com-* Includes: core.js, widget.js, mouse.js, position.js, draggable.js, droppable.js, resizable.js, selectable.js, sortable.js, accordion.js, autocomplete.js, button.js, datepicker.js, dialog.js, menu.js, progressbar.js, selectmenu.js, slider.js, spinner.js, tabs.js, tooltip.js, effect.js, effect-blind.js, effect-bounce.js, effect-clip.js, effect-drop.js, effect-explode.js, effect-fade.js, effect-fold.js, effect-highlight.js, effect-puff.js, effect-pulsate.js, effect-scale.js, effect-shake.js, effect-size.js, effect-slide.js, effect-transfer.js-* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */--(function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){function t(t,s){var n,a,o,r=t.nodeName.toLowerCase();return"area"===r?(n=t.parentNode,a=n.name,t.href&&a&&"map"===n.nodeName.toLowerCase()?(o=e("img[usemap='#"+a+"']")[0],!!o&&i(o)):!1):(/^(input|select|textarea|button|object)$/.test(r)?!t.disabled:"a"===r?t.href||s:s)&&i(t)}function i(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}function s(e){for(var t,i;e.length&&e[0]!==document;){if(t=e.css("position"),("absolute"===t||"relative"===t||"fixed"===t)&&(i=parseInt(e.css("zIndex"),10),!isNaN(i)&&0!==i))return i;e=e.parent()}return 0}function n(){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},e.extend(this._defaults,this.regional[""]),this.regional.en=e.extend(!0,{},this.regional[""]),this.regional["en-US"]=e.extend(!0,{},this.regional.en),this.dpDiv=a(e("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function a(t){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.delegate(i,"mouseout",function(){e(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).removeClass("ui-datepicker-next-hover")}).delegate(i,"mouseover",o)}function o(){e.datepicker._isDisabledDatepicker(v.inline?v.dpDiv.parent()[0]:v.input[0])||(e(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),e(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).addClass("ui-datepicker-next-hover"))}function r(t,i){e.extend(t,i);for(var s in i)null==i[s]&&(t[s]=i[s]);return t}function h(e){return function(){var t=this.element.val();e.apply(this,arguments),this._refresh(),t!==this.element.val()&&this._trigger("change")}}e.ui=e.ui||{},e.extend(e.ui,{version:"1.11.4",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({scrollParent:function(t){var i=this.css("position"),s="absolute"===i,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,a=this.parents().filter(function(){var t=e(this);return s&&"static"===t.css("position")?!1:n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==i&&a.length?a:e(this[0].ownerDocument||document)},uniqueId:function(){var e=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++e)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(i){return!!e.data(i,t)}}):function(t,i,s){return!!e.data(t,s[3])},focusable:function(i){return t(i,!isNaN(e.attr(i,"tabindex")))},tabbable:function(i){var s=e.attr(i,"tabindex"),n=isNaN(s);return(n||s>=0)&&t(i,!n)}}),e("<a>").outerWidth(1).jquery||e.each(["Width","Height"],function(t,i){function s(t,i,s,a){return e.each(n,function(){i-=parseFloat(e.css(t,"padding"+this))||0,s&&(i-=parseFloat(e.css(t,"border"+this+"Width"))||0),a&&(i-=parseFloat(e.css(t,"margin"+this))||0)}),i}var n="Width"===i?["Left","Right"]:["Top","Bottom"],a=i.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+i]=function(t){return void 0===t?o["inner"+i].call(this):this.each(function(){e(this).css(a,s(this,t)+"px")})},e.fn["outer"+i]=function(t,n){return"number"!=typeof t?o["outer"+i].call(this,t):this.each(function(){e(this).css(a,s(this,t,!0,n)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(i){return arguments.length?t.call(this,e.camelCase(i)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.fn.extend({focus:function(t){return function(i,s){return"number"==typeof i?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),s&&s.call(t)},i)}):t.apply(this,arguments)}}(e.fn.focus),disableSelection:function(){var e="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.bind(e+".ui-disableSelection",function(e){e.preventDefault()})}}(),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(t){if(void 0!==t)return this.css("zIndex",t);if(this.length)for(var i,s,n=e(this[0]);n.length&&n[0]!==document;){if(i=n.css("position"),("absolute"===i||"relative"===i||"fixed"===i)&&(s=parseInt(n.css("zIndex"),10),!isNaN(s)&&0!==s))return s;n=n.parent()}return 0}}),e.ui.plugin={add:function(t,i,s){var n,a=e.ui[t].prototype;for(n in s)a.plugins[n]=a.plugins[n]||[],a.plugins[n].push([i,s[n]])},call:function(e,t,i,s){var n,a=e.plugins[t];if(a&&(s||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(n=0;a.length>n;n++)e.options[a[n][0]]&&a[n][1].apply(e.element,i)}};var l=0,u=Array.prototype.slice;e.cleanData=function(t){return function(i){var s,n,a;for(a=0;null!=(n=i[a]);a++)try{s=e._data(n,"events"),s&&s.remove&&e(n).triggerHandler("remove")}catch(o){}t(i)}}(e.cleanData),e.widget=function(t,i,s){var n,a,o,r,h={},l=t.split(".")[0];return t=t.split(".")[1],n=l+"-"+t,s||(s=i,i=e.Widget),e.expr[":"][n.toLowerCase()]=function(t){return!!e.data(t,n)},e[l]=e[l]||{},a=e[l][t],o=e[l][t]=function(e,t){return this._createWidget?(arguments.length&&this._createWidget(e,t),void 0):new o(e,t)},e.extend(o,a,{version:s.version,_proto:e.extend({},s),_childConstructors:[]}),r=new i,r.options=e.widget.extend({},r.options),e.each(s,function(t,s){return e.isFunction(s)?(h[t]=function(){var e=function(){return i.prototype[t].apply(this,arguments)},n=function(e){return i.prototype[t].apply(this,e)};return function(){var t,i=this._super,a=this._superApply;return this._super=e,this._superApply=n,t=s.apply(this,arguments),this._super=i,this._superApply=a,t}}(),void 0):(h[t]=s,void 0)}),o.prototype=e.widget.extend(r,{widgetEventPrefix:a?r.widgetEventPrefix||t:t},h,{constructor:o,namespace:l,widgetName:t,widgetFullName:n}),a?(e.each(a._childConstructors,function(t,i){var s=i.prototype;e.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete a._childConstructors):i._childConstructors.push(o),e.widget.bridge(t,o),o},e.widget.extend=function(t){for(var i,s,n=u.call(arguments,1),a=0,o=n.length;o>a;a++)for(i in n[a])s=n[a][i],n[a].hasOwnProperty(i)&&void 0!==s&&(t[i]=e.isPlainObject(s)?e.isPlainObject(t[i])?e.widget.extend({},t[i],s):e.widget.extend({},s):s);return t},e.widget.bridge=function(t,i){var s=i.prototype.widgetFullName||t;e.fn[t]=function(n){var a="string"==typeof n,o=u.call(arguments,1),r=this;return a?this.each(function(){var i,a=e.data(this,s);return"instance"===n?(r=a,!1):a?e.isFunction(a[n])&&"_"!==n.charAt(0)?(i=a[n].apply(a,o),i!==a&&void 0!==i?(r=i&&i.jquery?r.pushStack(i.get()):i,!1):void 0):e.error("no such method '"+n+"' for "+t+" widget instance"):e.error("cannot call methods on "+t+" prior to initialization; "+"attempted to call method '"+n+"'")}):(o.length&&(n=e.widget.extend.apply(null,[n].concat(o))),this.each(function(){var t=e.data(this,s);t?(t.option(n||{}),t._init&&t._init()):e.data(this,s,new i(n,this))})),r}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,i){i=e(i||this.defaultElement||this)[0],this.element=e(i),this.uuid=l++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),i!==this&&(e.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===i&&this.destroy()}}),this.document=e(i.style?i.ownerDocument:i.document||i),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(e.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:e.noop,widget:function(){return this.element},option:function(t,i){var s,n,a,o=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(o={},s=t.split("."),t=s.shift(),s.length){for(n=o[t]=e.widget.extend({},this.options[t]),a=0;s.length-1>a;a++)n[s[a]]=n[s[a]]||{},n=n[s[a]];if(t=s.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=i}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=i}return this._setOptions(o),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return this.options[e]=t,"disabled"===e&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!t),t&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus"))),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(t,i,s){var n,a=this;"boolean"!=typeof t&&(s=i,i=t,t=!1),s?(i=n=e(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),e.each(s,function(s,o){function r(){return t||a.options.disabled!==!0&&!e(this).hasClass("ui-state-disabled")?("string"==typeof o?a[o]:o).apply(a,arguments):void 0}"string"!=typeof o&&(r.guid=o.guid=o.guid||r.guid||e.guid++);var h=s.match(/^([\w:-]*)\s*(.*)$/),l=h[1]+a.eventNamespace,u=h[2];u?n.delegate(u,l,r):i.bind(l,r)})},_off:function(t,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(i).undelegate(i),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){function i(){return("string"==typeof e?s[e]:e).apply(s,arguments)}var s=this;return setTimeout(i,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){e(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){e(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){e(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){e(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,i,s){var n,a,o=this.options[t];if(s=s||{},i=e.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],a=i.originalEvent)for(n in a)n in i||(i[n]=a[n]);return this.element.trigger(i,s),!(e.isFunction(o)&&o.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,i){e.Widget.prototype["_"+t]=function(s,n,a){"string"==typeof n&&(n={effect:n});var o,r=n?n===!0||"number"==typeof n?i:n.effect||i:t;n=n||{},"number"==typeof n&&(n={duration:n}),o=!e.isEmptyObject(n),n.complete=a,n.delay&&s.delay(n.delay),o&&e.effects&&e.effects.effect[r]?s[t](n):r!==t&&s[r]?s[r](n.duration,n.easing,a):s.queue(function(i){e(this)[t](),a&&a.call(s[0]),i()})}}),e.widget;var d=!1;e(document).mouseup(function(){d=!1}),e.widget("ui.mouse",{version:"1.11.4",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).bind("click."+this.widgetName,function(i){return!0===e.data(i.target,t.widgetName+".preventClickEvent")?(e.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!d){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var i=this,s=1===t.which,n="string"==typeof this.options.cancel&&t.target.nodeName?e(t.target).closest(this.options.cancel).length:!1;return s&&!n&&this._mouseCapture(t)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(t)!==!1,!this._mouseStarted)?(t.preventDefault(),!0):(!0===e.data(t.target,this.widgetName+".preventClickEvent")&&e.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return i._mouseMove(e)},this._mouseUpDelegate=function(e){return i._mouseUp(e)},this.document.bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),d=!0,!0)):!0}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||9>document.documentMode)&&!t.button)return this._mouseUp(t);if(!t.which)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){return this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),d=!1,!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),function(){function t(e,t,i){return[parseFloat(e[0])*(p.test(e[0])?t/100:1),parseFloat(e[1])*(p.test(e[1])?i/100:1)]}function i(t,i){return parseInt(e.css(t,i),10)||0}function s(t){var i=t[0];return 9===i.nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:e.isWindow(i)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()}}e.ui=e.ui||{};var n,a,o=Math.max,r=Math.abs,h=Math.round,l=/left|center|right/,u=/top|center|bottom/,d=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,p=/%$/,f=e.fn.position;e.position={scrollbarWidth:function(){if(void 0!==n)return n;var t,i,s=e("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),a=s.children()[0];return e("body").append(s),t=a.offsetWidth,s.css("overflow","scroll"),i=a.offsetWidth,t===i&&(i=s[0].clientWidth),s.remove(),n=t-i},getScrollInfo:function(t){var i=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),s=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),n="scroll"===i||"auto"===i&&t.width<t.element[0].scrollWidth,a="scroll"===s||"auto"===s&&t.height<t.element[0].scrollHeight;return{width:a?e.position.scrollbarWidth():0,height:n?e.position.scrollbarWidth():0}},getWithinInfo:function(t){var i=e(t||window),s=e.isWindow(i[0]),n=!!i[0]&&9===i[0].nodeType;return{element:i,isWindow:s,isDocument:n,offset:i.offset()||{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:s||n?i.width():i.outerWidth(),height:s||n?i.height():i.outerHeight()}}},e.fn.position=function(n){if(!n||!n.of)return f.apply(this,arguments);n=e.extend({},n);var p,m,g,v,y,b,_=e(n.of),x=e.position.getWithinInfo(n.within),w=e.position.getScrollInfo(x),k=(n.collision||"flip").split(" "),T={};return b=s(_),_[0].preventDefault&&(n.at="left top"),m=b.width,g=b.height,v=b.offset,y=e.extend({},v),e.each(["my","at"],function(){var e,t,i=(n[this]||"").split(" ");1===i.length&&(i=l.test(i[0])?i.concat(["center"]):u.test(i[0])?["center"].concat(i):["center","center"]),i[0]=l.test(i[0])?i[0]:"center",i[1]=u.test(i[1])?i[1]:"center",e=d.exec(i[0]),t=d.exec(i[1]),T[this]=[e?e[0]:0,t?t[0]:0],n[this]=[c.exec(i[0])[0],c.exec(i[1])[0]]}),1===k.length&&(k[1]=k[0]),"right"===n.at[0]?y.left+=m:"center"===n.at[0]&&(y.left+=m/2),"bottom"===n.at[1]?y.top+=g:"center"===n.at[1]&&(y.top+=g/2),p=t(T.at,m,g),y.left+=p[0],y.top+=p[1],this.each(function(){var s,l,u=e(this),d=u.outerWidth(),c=u.outerHeight(),f=i(this,"marginLeft"),b=i(this,"marginTop"),D=d+f+i(this,"marginRight")+w.width,S=c+b+i(this,"marginBottom")+w.height,M=e.extend({},y),C=t(T.my,u.outerWidth(),u.outerHeight());"right"===n.my[0]?M.left-=d:"center"===n.my[0]&&(M.left-=d/2),"bottom"===n.my[1]?M.top-=c:"center"===n.my[1]&&(M.top-=c/2),M.left+=C[0],M.top+=C[1],a||(M.left=h(M.left),M.top=h(M.top)),s={marginLeft:f,marginTop:b},e.each(["left","top"],function(t,i){e.ui.position[k[t]]&&e.ui.position[k[t]][i](M,{targetWidth:m,targetHeight:g,elemWidth:d,elemHeight:c,collisionPosition:s,collisionWidth:D,collisionHeight:S,offset:[p[0]+C[0],p[1]+C[1]],my:n.my,at:n.at,within:x,elem:u})}),n.using&&(l=function(e){var t=v.left-M.left,i=t+m-d,s=v.top-M.top,a=s+g-c,h={target:{element:_,left:v.left,top:v.top,width:m,height:g},element:{element:u,left:M.left,top:M.top,width:d,height:c},horizontal:0>i?"left":t>0?"right":"center",vertical:0>a?"top":s>0?"bottom":"middle"};d>m&&m>r(t+i)&&(h.horizontal="center"),c>g&&g>r(s+a)&&(h.vertical="middle"),h.important=o(r(t),r(i))>o(r(s),r(a))?"horizontal":"vertical",n.using.call(this,e,h)}),u.offset(e.extend(M,{using:l}))})},e.ui.position={fit:{left:function(e,t){var i,s=t.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=e.left-t.collisionPosition.marginLeft,h=n-r,l=r+t.collisionWidth-a-n;t.collisionWidth>a?h>0&&0>=l?(i=e.left+h+t.collisionWidth-a-n,e.left+=h-i):e.left=l>0&&0>=h?n:h>l?n+a-t.collisionWidth:n:h>0?e.left+=h:l>0?e.left-=l:e.left=o(e.left-r,e.left)},top:function(e,t){var i,s=t.within,n=s.isWindow?s.scrollTop:s.offset.top,a=t.within.height,r=e.top-t.collisionPosition.marginTop,h=n-r,l=r+t.collisionHeight-a-n;t.collisionHeight>a?h>0&&0>=l?(i=e.top+h+t.collisionHeight-a-n,e.top+=h-i):e.top=l>0&&0>=h?n:h>l?n+a-t.collisionHeight:n:h>0?e.top+=h:l>0?e.top-=l:e.top=o(e.top-r,e.top)}},flip:{left:function(e,t){var i,s,n=t.within,a=n.offset.left+n.scrollLeft,o=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=e.left-t.collisionPosition.marginLeft,u=l-h,d=l+t.collisionWidth-o-h,c="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,p="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,f=-2*t.offset[0];0>u?(i=e.left+c+p+f+t.collisionWidth-o-a,(0>i||r(u)>i)&&(e.left+=c+p+f)):d>0&&(s=e.left-t.collisionPosition.marginLeft+c+p+f-h,(s>0||d>r(s))&&(e.left+=c+p+f))},top:function(e,t){var i,s,n=t.within,a=n.offset.top+n.scrollTop,o=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=e.top-t.collisionPosition.marginTop,u=l-h,d=l+t.collisionHeight-o-h,c="top"===t.my[1],p=c?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,f="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,m=-2*t.offset[1];0>u?(s=e.top+p+f+m+t.collisionHeight-o-a,(0>s||r(u)>s)&&(e.top+=p+f+m)):d>0&&(i=e.top-t.collisionPosition.marginTop+p+f+m-h,(i>0||d>r(i))&&(e.top+=p+f+m))}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments),e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.position.flip.top.apply(this,arguments),e.ui.position.fit.top.apply(this,arguments)}}},function(){var t,i,s,n,o,r=document.getElementsByTagName("body")[0],h=document.createElement("div");t=document.createElement(r?"div":"body"),s={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},r&&e.extend(s,{position:"absolute",left:"-1000px",top:"-1000px"});for(o in s)t.style[o]=s[o];t.appendChild(h),i=r||document.documentElement,i.insertBefore(t,i.firstChild),h.style.cssText="position: absolute; left: 10.7432222px;",n=e(h).offset().left,a=n>10&&11>n,t.innerHTML="",i.removeChild(t)}()}(),e.ui.position,e.widget("ui.draggable",e.ui.mouse,{version:"1.11.4",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&&this._setPositionRelative(),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){return(this.helper||this.element).is(".ui-draggable-dragging")?(this.destroyOnClear=!0,void 0):(this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._removeHandleClassName(),this._mouseDestroy(),void 0)},_mouseCapture:function(t){var i=this.options;return this._blurActiveElement(t),this.helper||i.disabled||e(t.target).closest(".ui-resizable-handle").length>0?!1:(this.handle=this._getHandle(t),this.handle?(this._blockFrames(i.iframeFix===!0?"iframe":i.iframeFix),!0):!1)},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map(function(){var t=e(this);return e("<div>").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var i=this.document[0];if(this.handleElement.is(t.target))try{i.activeElement&&"body"!==i.activeElement.nodeName.toLowerCase()&&e(i.activeElement).blur()}catch(s){}},_mouseStart:function(t){var i=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return"fixed"===e(this).css("position")}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(t),this.originalPosition=this.position=this._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),this._trigger("start",t)===!1?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!i.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._normalizeRightBottom(),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(e){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(t,i){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!i){var s=this._uiHash();if(this._trigger("drag",t,s)===!1)return this._mouseUp({}),!1;this.position=s.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var i=this,s=!1;return e.ui.ddmanager&&!this.options.dropBehaviour&&(s=e.ui.ddmanager.drop(this,t)),this.dropped&&(s=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!s||"valid"===this.options.revert&&s||this.options.revert===!0||e.isFunction(this.options.revert)&&this.options.revert.call(this.element,s)?e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){i._trigger("stop",t)!==!1&&i._clear()}):this._trigger("stop",t)!==!1&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.focus(),e.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?!!e(t.target).closest(this.element.find(this.options.handle)).length:!0},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this.handleElement.addClass("ui-draggable-handle")},_removeHandleClassName:function(){this.handleElement.removeClass("ui-draggable-handle")},_createHelper:function(t){var i=this.options,s=e.isFunction(i.helper),n=s?e(i.helper.apply(this.element[0],[t])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return n.parents("body").length||n.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),s&&n[0]===this.element[0]&&this._setPositionRelative(),n[0]===this.element[0]||/(fixed|absolute)/.test(n.css("position"))||n.css("position","absolute"),n},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),e.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)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var t=this.offsetParent.offset(),i=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==i&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(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 e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?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,i,s,n=this.options,a=this.document[0];return this.relativeContainer=null,n.containment?"window"===n.containment?(this.containment=[e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,e(window).scrollLeft()+e(window).width()-this.helperProportions.width-this.margins.left,e(window).scrollTop()+(e(window).height()||a.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],void 0):"document"===n.containment?(this.containment=[0,0,e(a).width()-this.helperProportions.width-this.margins.left,(e(a).height()||a.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],void 0):n.containment.constructor===Array?(this.containment=n.containment,void 0):("parent"===n.containment&&(n.containment=this.helper[0].parentNode),i=e(n.containment),s=i[0],s&&(t=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(t?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(s.scrollHeight,s.offsetHeight):s.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i),void 0):(this.containment=null,void 0)},_convertPositionTo:function(e,t){t||(t=this.position);var i="absolute"===e?1:-1,s=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top)*i,left:t.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)*i}},_generatePosition:function(e,t){var i,s,n,a,o=this.options,r=this._isRootNode(this.scrollParent[0]),h=e.pageX,l=e.pageY;return r&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(this.relativeContainer?(s=this.relativeContainer.offset(),i=[this.containment[0]+s.left,this.containment[1]+s.top,this.containment[2]+s.left,this.containment[3]+s.top]):i=this.containment,e.pageX-this.offset.click.left<i[0]&&(h=i[0]+this.offset.click.left),e.pageY-this.offset.click.top<i[1]&&(l=i[1]+this.offset.click.top),e.pageX-this.offset.click.left>i[2]&&(h=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3]&&(l=i[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=i?n-this.offset.click.top>=i[1]||n-this.offset.click.top>i[3]?n:n-this.offset.click.top>=i[1]?n-o.grid[1]:n+o.grid[1]:n,a=o.grid[0]?this.originalPageX+Math.round((h-this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX,h=i?a-this.offset.click.left>=i[0]||a-this.offset.click.left>i[2]?a:a-this.offset.click.left>=i[0]?a-o.grid[0]:a+o.grid[0]:a),"y"===o.axis&&(h=this.originalPageX),"x"===o.axis&&(l=this.originalPageY)),{top:l-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:r?0:this.offset.scroll.top),left:h-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:r?0: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,this.destroyOnClear&&this.destroy()},_normalizeRightBottom:function(){"y"!==this.options.axis&&"auto"!==this.helper.css("right")&&(this.helper.width(this.helper.width()),this.helper.css("right","auto")),"x"!==this.options.axis&&"auto"!==this.helper.css("bottom")&&(this.helper.height(this.helper.height()),this.helper.css("bottom","auto"))},_trigger:function(t,i,s){return s=s||this._uiHash(),e.ui.plugin.call(this,t,[i,s,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),s.offset=this.positionAbs),e.Widget.prototype._trigger.call(this,t,i,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),e.ui.plugin.add("draggable","connectToSortable",{start:function(t,i,s){var n=e.extend({},i,{item:s.element});s.sortables=[],e(s.options.connectToSortable).each(function(){var i=e(this).sortable("instance");i&&!i.options.disabled&&(s.sortables.push(i),i.refreshPositions(),i._trigger("activate",t,n))})},stop:function(t,i,s){var n=e.extend({},i,{item:s.element});s.cancelHelperRemoval=!1,e.each(s.sortables,function(){var e=this;e.isOver?(e.isOver=0,s.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,n))})},drag:function(t,i,s){e.each(s.sortables,function(){var n=!1,a=this;a.positionAbs=s.positionAbs,a.helperProportions=s.helperProportions,a.offset.click=s.offset.click,a._intersectsWith(a.containerCache)&&(n=!0,e.each(s.sortables,function(){return this.positionAbs=s.positionAbs,this.helperProportions=s.helperProportions,this.offset.click=s.offset.click,this!==a&&this._intersectsWith(this.containerCache)&&e.contains(a.element[0],this.element[0])&&(n=!1),n})),n?(a.isOver||(a.isOver=1,s._parent=i.helper.parent(),a.currentItem=i.helper.appendTo(a.element).data("ui-sortable-item",!0),a.options._helper=a.options.helper,a.options.helper=function(){return i.helper[0]},t.target=a.currentItem[0],a._mouseCapture(t,!0),a._mouseStart(t,!0,!0),a.offset.click.top=s.offset.click.top,a.offset.click.left=s.offset.click.left,a.offset.parent.left-=s.offset.parent.left-a.offset.parent.left,a.offset.parent.top-=s.offset.parent.top-a.offset.parent.top,s._trigger("toSortable",t),s.dropped=a.element,e.each(s.sortables,function(){this.refreshPositions()}),s.currentItem=s.element,a.fromOutside=s),a.currentItem&&(a._mouseDrag(t),i.position=a.position)):a.isOver&&(a.isOver=0,a.cancelHelperRemoval=!0,a.options._revert=a.options.revert,a.options.revert=!1,a._trigger("out",t,a._uiHash(a)),a._mouseStop(t,!0),a.options.revert=a.options._revert,a.options.helper=a.options._helper,a.placeholder&&a.placeholder.remove(),i.helper.appendTo(s._parent),s._refreshOffsets(t),i.position=s._generatePosition(t,!0),s._trigger("fromSortable",t),s.dropped=!1,e.each(s.sortables,function(){this.refreshPositions()}))})}}),e.ui.plugin.add("draggable","cursor",{start:function(t,i,s){var n=e("body"),a=s.options;n.css("cursor")&&(a._cursor=n.css("cursor")),n.css("cursor",a.cursor)},stop:function(t,i,s){var n=s.options;n._cursor&&e("body").css("cursor",n._cursor)}}),e.ui.plugin.add("draggable","opacity",{start:function(t,i,s){var n=e(i.helper),a=s.options;n.css("opacity")&&(a._opacity=n.css("opacity")),n.css("opacity",a.opacity)},stop:function(t,i,s){var n=s.options;n._opacity&&e(i.helper).css("opacity",n._opacity)}}),e.ui.plugin.add("draggable","scroll",{start:function(e,t,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(t,i,s){var n=s.options,a=!1,o=s.scrollParentNotHidden[0],r=s.document[0];o!==r&&"HTML"!==o.tagName?(n.axis&&"x"===n.axis||(s.overflowOffset.top+o.offsetHeight-t.pageY<n.scrollSensitivity?o.scrollTop=a=o.scrollTop+n.scrollSpeed:t.pageY-s.overflowOffset.top<n.scrollSensitivity&&(o.scrollTop=a=o.scrollTop-n.scrollSpeed)),n.axis&&"y"===n.axis||(s.overflowOffset.left+o.offsetWidth-t.pageX<n.scrollSensitivity?o.scrollLeft=a=o.scrollLeft+n.scrollSpeed:t.pageX-s.overflowOffset.left<n.scrollSensitivity&&(o.scrollLeft=a=o.scrollLeft-n.scrollSpeed))):(n.axis&&"x"===n.axis||(t.pageY-e(r).scrollTop()<n.scrollSensitivity?a=e(r).scrollTop(e(r).scrollTop()-n.scrollSpeed):e(window).height()-(t.pageY-e(r).scrollTop())<n.scrollSensitivity&&(a=e(r).scrollTop(e(r).scrollTop()+n.scrollSpeed))),n.axis&&"y"===n.axis||(t.pageX-e(r).scrollLeft()<n.scrollSensitivity?a=e(r).scrollLeft(e(r).scrollLeft()-n.scrollSpeed):e(window).width()-(t.pageX-e(r).scrollLeft())<n.scrollSensitivity&&(a=e(r).scrollLeft(e(r).scrollLeft()+n.scrollSpeed)))),a!==!1&&e.ui.ddmanager&&!n.dropBehaviour&&e.ui.ddmanager.prepareOffsets(s,t)}}),e.ui.plugin.add("draggable","snap",{start:function(t,i,s){var n=s.options;s.snapElements=[],e(n.snap.constructor!==String?n.snap.items||":data(ui-draggable)":n.snap).each(function(){var t=e(this),i=t.offset();this!==s.element[0]&&s.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:i.top,left:i.left})})},drag:function(t,i,s){var n,a,o,r,h,l,u,d,c,p,f=s.options,m=f.snapTolerance,g=i.offset.left,v=g+s.helperProportions.width,y=i.offset.top,b=y+s.helperProportions.height;for(c=s.snapElements.length-1;c>=0;c--)h=s.snapElements[c].left-s.margins.left,l=h+s.snapElements[c].width,u=s.snapElements[c].top-s.margins.top,d=u+s.snapElements[c].height,h-m>v||g>l+m||u-m>b||y>d+m||!e.contains(s.snapElements[c].item.ownerDocument,s.snapElements[c].item)?(s.snapElements[c].snapping&&s.options.snap.release&&s.options.snap.release.call(s.element,t,e.extend(s._uiHash(),{snapItem:s.snapElements[c].item})),s.snapElements[c].snapping=!1):("inner"!==f.snapMode&&(n=m>=Math.abs(u-b),a=m>=Math.abs(d-y),o=m>=Math.abs(h-v),r=m>=Math.abs(l-g),n&&(i.position.top=s._convertPositionTo("relative",{top:u-s.helperProportions.height,left:0}).top),a&&(i.position.top=s._convertPositionTo("relative",{top:d,left:0}).top),o&&(i.position.left=s._convertPositionTo("relative",{top:0,left:h-s.helperProportions.width}).left),r&&(i.position.left=s._convertPositionTo("relative",{top:0,left:l}).left)),p=n||a||o||r,"outer"!==f.snapMode&&(n=m>=Math.abs(u-y),a=m>=Math.abs(d-b),o=m>=Math.abs(h-g),r=m>=Math.abs(l-v),n&&(i.position.top=s._convertPositionTo("relative",{top:u,left:0}).top),a&&(i.position.top=s._convertPositionTo("relative",{top:d-s.helperProportions.height,left:0}).top),o&&(i.position.left=s._convertPositionTo("relative",{top:0,left:h}).left),r&&(i.position.left=s._convertPositionTo("relative",{top:0,left:l-s.helperProportions.width}).left)),!s.snapElements[c].snapping&&(n||a||o||r||p)&&s.options.snap.snap&&s.options.snap.snap.call(s.element,t,e.extend(s._uiHash(),{snapItem:s.snapElements[c].item})),s.snapElements[c].snapping=n||a||o||r||p)}}),e.ui.plugin.add("draggable","stack",{start:function(t,i,s){var n,a=s.options,o=e.makeArray(e(a.stack)).sort(function(t,i){return(parseInt(e(t).css("zIndex"),10)||0)-(parseInt(e(i).css("zIndex"),10)||0)});o.length&&(n=parseInt(e(o[0]).css("zIndex"),10)||0,e(o).each(function(t){e(this).css("zIndex",n+t)}),this.css("zIndex",n+o.length))}}),e.ui.plugin.add("draggable","zIndex",{start:function(t,i,s){var n=e(i.helper),a=s.options;n.css("zIndex")&&(a._zIndex=n.css("zIndex")),n.css("zIndex",a.zIndex)},stop:function(t,i,s){var n=s.options;n._zIndex&&e(i.helper).css("zIndex",n._zIndex)}}),e.ui.draggable,e.widget("ui.droppable",{version:"1.11.4",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,i=this.options,s=i.accept;this.isover=!1,this.isout=!0,this.accept=e.isFunction(s)?s:function(e){return e.is(s)},this.proportions=function(){return arguments.length?(t=arguments[0],void 0):t?t:t={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}},this._addToManager(i.scope),i.addClasses&&this.element.addClass("ui-droppable")},_addToManager:function(t){e.ui.ddmanager.droppables[t]=e.ui.ddmanager.droppables[t]||[],e.ui.ddmanager.droppables[t].push(this)},_splice:function(e){for(var t=0;e.length>t;t++)e[t]===this&&e.splice(t,1)},_destroy:function(){var t=e.ui.ddmanager.droppables[this.options.scope];this._splice(t),this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(t,i){if("accept"===t)this.accept=e.isFunction(i)?i:function(e){return e.is(i)};else if("scope"===t){var s=e.ui.ddmanager.droppables[this.options.scope];this._splice(s),this._addToManager(i)}this._super(t,i)},_activate:function(t){var i=e.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),i&&this._trigger("activate",t,this.ui(i))},_deactivate:function(t){var i=e.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),i&&this._trigger("deactivate",t,this.ui(i))},_over:function(t){var i=e.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",t,this.ui(i)))},_out:function(t){var i=e.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",t,this.ui(i)))},_drop:function(t,i){var s=i||e.ui.ddmanager.current,n=!1;return s&&(s.currentItem||s.element)[0]!==this.element[0]?(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var i=e(this).droppable("instance");return i.options.greedy&&!i.options.disabled&&i.options.scope===s.options.scope&&i.accept.call(i.element[0],s.currentItem||s.element)&&e.ui.intersect(s,e.extend(i,{offset:i.element.offset()}),i.options.tolerance,t)?(n=!0,!1):void 0}),n?!1:this.accept.call(this.element[0],s.currentItem||s.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(s)),this.element):!1):!1},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.positionAbs}}}),e.ui.intersect=function(){function e(e,t,i){return e>=t&&t+i>e}return function(t,i,s,n){if(!i.offset)return!1;var a=(t.positionAbs||t.position.absolute).left+t.margins.left,o=(t.positionAbs||t.position.absolute).top+t.margins.top,r=a+t.helperProportions.width,h=o+t.helperProportions.height,l=i.offset.left,u=i.offset.top,d=l+i.proportions().width,c=u+i.proportions().height;switch(s){case"fit":return a>=l&&d>=r&&o>=u&&c>=h;case"intersect":return a+t.helperProportions.width/2>l&&d>r-t.helperProportions.width/2&&o+t.helperProportions.height/2>u&&c>h-t.helperProportions.height/2;case"pointer":return e(n.pageY,u,i.proportions().height)&&e(n.pageX,l,i.proportions().width);case"touch":return(o>=u&&c>=o||h>=u&&c>=h||u>o&&h>c)&&(a>=l&&d>=a||r>=l&&d>=r||l>a&&r>d);default:return!1}}}(),e.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(t,i){var s,n,a=e.ui.ddmanager.droppables[t.options.scope]||[],o=i?i.type:null,r=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();e:for(s=0;a.length>s;s++)if(!(a[s].options.disabled||t&&!a[s].accept.call(a[s].element[0],t.currentItem||t.element))){for(n=0;r.length>n;n++)if(r[n]===a[s].element[0]){a[s].proportions().height=0;continue e}a[s].visible="none"!==a[s].element.css("display"),a[s].visible&&("mousedown"===o&&a[s]._activate.call(a[s],i),a[s].offset=a[s].element.offset(),a[s].proportions({width:a[s].element[0].offsetWidth,height:a[s].element[0].offsetHeight}))}},drop:function(t,i){var s=!1;return e.each((e.ui.ddmanager.droppables[t.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&e.ui.intersect(t,this,this.options.tolerance,i)&&(s=this._drop.call(this,i)||s),!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,i)))}),s},dragStart:function(t,i){t.element.parentsUntil("body").bind("scroll.droppable",function(){t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,i)})},drag:function(t,i){t.options.refreshPositions&&e.ui.ddmanager.prepareOffsets(t,i),e.each(e.ui.ddmanager.droppables[t.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var s,n,a,o=e.ui.intersect(t,this,this.options.tolerance,i),r=!o&&this.isover?"isout":o&&!this.isover?"isover":null;r&&(this.options.greedy&&(n=this.options.scope,a=this.element.parents(":data(ui-droppable)").filter(function(){return e(this).droppable("instance").options.scope===n}),a.length&&(s=e(a[0]).droppable("instance"),s.greedyChild="isover"===r)),s&&"isover"===r&&(s.isover=!1,s.isout=!0,s._out.call(s,i)),this[r]=!0,this["isout"===r?"isover":"isout"]=!1,this["isover"===r?"_over":"_out"].call(this,i),s&&"isout"===r&&(s.isout=!1,s.isover=!0,s._over.call(s,i)))}})},dragStop:function(t,i){t.element.parentsUntil("body").unbind("scroll.droppable"),t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,i)}},e.ui.droppable,e.widget("ui.resizable",e.ui.mouse,{version:"1.11.4",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},_num:function(e){return parseInt(e,10)||0},_isNumber:function(e){return!isNaN(parseInt(e,10))},_hasScroll:function(t,i){if("hidden"===e(t).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return t[s]>0?!0:(t[s]=1,n=t[s]>0,t[s]=0,n)},_create:function(){var t,i,s,n,a,o=this,r=this.options;if(this.element.addClass("ui-resizable"),e.extend(this,{_aspectRatio:!!r.aspectRatio,aspectRatio:r.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:r.helper||r.ghost||r.animate?r.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(e("<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.resizable("instance")),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=r.handles||(e(".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=e(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),t=this.handles.split(","),this.handles={},i=0;t.length>i;i++)s=e.trim(t[i]),a="ui-resizable-"+s,n=e("<div class='ui-resizable-handle "+a+"'></div>"),n.css({zIndex:r.zIndex}),"se"===s&&n.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[s]=".ui-resizable-"+s,this.element.append(n);this._renderAxis=function(t){var i,s,n,a;t=t||this.element;for(i in this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=e(this.handles[i]),this._on(this.handles[i],{mousedown:o._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(s=e(this.handles[i],this.element),a=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),t.css(n,a),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.mouseover(function(){o.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),o.axis=n&&n[1]?n[1]:"se")}),r.autoHide&&(this._handles.hide(),e(this.element).addClass("ui-resizable-autohide").mouseenter(function(){r.disabled||(e(this).removeClass("ui-resizable-autohide"),o._handles.show())}).mouseleave(function(){r.disabled||o.resizing||(e(this).addClass("ui-resizable-autohide"),o._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var t,i=function(t){e(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&&(i(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),i(this.originalElement),this},_mouseCapture:function(t){var i,s,n=!1;for(i in this.handles)s=e(this.handles[i])[0],(s===t.target||e.contains(s,t.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(t){var i,s,n,a=this.options,o=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),s=this._num(this.helper.css("top")),a.containment&&(i+=e(a.containment).scrollLeft()||0,s+=e(a.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:s},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:o.width(),height:o.height()},this.originalSize=this._helper?{width:o.outerWidth(),height:o.outerHeight()}:{width:o.width(),height:o.height()},this.sizeDiff={width:o.outerWidth()-o.width(),height:o.outerHeight()-o.height()},this.originalPosition={left:i,top:s},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof a.aspectRatio?a.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=e(".ui-resizable-"+this.axis).css("cursor"),e("body").css("cursor","auto"===n?this.axis+"-resize":n),o.addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var i,s,n=this.originalMousePosition,a=this.axis,o=t.pageX-n.left||0,r=t.pageY-n.top||0,h=this._change[a];return this._updatePrevProperties(),h?(i=h.apply(this,[t,o,r]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(i=this._updateRatio(i,t)),i=this._respectSize(i,t),this._updateCache(i),this._propagate("resize",t),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),e.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges()),!1):!1},_mouseStop:function(t){this.resizing=!1;var i,s,n,a,o,r,h,l=this.options,u=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&this._hasScroll(i[0],"left")?0:u.sizeDiff.height,a=s?0:u.sizeDiff.width,o={width:u.helper.width()-a,height:u.helper.height()-n},r=parseInt(u.element.css("left"),10)+(u.position.left-u.originalPosition.left)||null,h=parseInt(u.element.css("top"),10)+(u.position.top-u.originalPosition.top)||null,l.animate||this.element.css(e.extend(o,{top:h,left:r})),u.helper.height(u.size.height),u.helper.width(u.size.width),this._helper&&!l.animate&&this._proportionallyResize()),e("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var e={};return this.position.top!==this.prevPosition.top&&(e.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(e.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(e.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(e.height=this.size.height+"px"),this.helper.css(e),e},_updateVirtualBoundaries:function(e){var t,i,s,n,a,o=this.options;a={minWidth:this._isNumber(o.minWidth)?o.minWidth:0,maxWidth:this._isNumber(o.maxWidth)?o.maxWidth:1/0,minHeight:this._isNumber(o.minHeight)?o.minHeight:0,maxHeight:this._isNumber(o.maxHeight)?o.maxHeight:1/0},(this._aspectRatio||e)&&(t=a.minHeight*this.aspectRatio,s=a.minWidth/this.aspectRatio,i=a.maxHeight*this.aspectRatio,n=a.maxWidth/this.aspectRatio,t>a.minWidth&&(a.minWidth=t),s>a.minHeight&&(a.minHeight=s),a.maxWidth>i&&(a.maxWidth=i),a.maxHeight>n&&(a.maxHeight=n)),this._vBoundaries=a},_updateCache:function(e){this.offset=this.helper.offset(),this._isNumber(e.left)&&(this.position.left=e.left),this._isNumber(e.top)&&(this.position.top=e.top),this._isNumber(e.height)&&(this.size.height=e.height),this._isNumber(e.width)&&(this.size.width=e.width)},_updateRatio:function(e){var t=this.position,i=this.size,s=this.axis;return this._isNumber(e.height)?e.width=e.height*this.aspectRatio:this._isNumber(e.width)&&(e.height=e.width/this.aspectRatio),"sw"===s&&(e.left=t.left+(i.width-e.width),e.top=null),"nw"===s&&(e.top=t.top+(i.height-e.height),e.left=t.left+(i.width-e.width)),e},_respectSize:function(e){var t=this._vBoundaries,i=this.axis,s=this._isNumber(e.width)&&t.maxWidth&&t.maxWidth<e.width,n=this._isNumber(e.height)&&t.maxHeight&&t.maxHeight<e.height,a=this._isNumber(e.width)&&t.minWidth&&t.minWidth>e.width,o=this._isNumber(e.height)&&t.minHeight&&t.minHeight>e.height,r=this.originalPosition.left+this.originalSize.width,h=this.position.top+this.size.height,l=/sw|nw|w/.test(i),u=/nw|ne|n/.test(i);return a&&(e.width=t.minWidth),o&&(e.height=t.minHeight),s&&(e.width=t.maxWidth),n&&(e.height=t.maxHeight),a&&l&&(e.left=r-t.minWidth),s&&l&&(e.left=r-t.maxWidth),o&&u&&(e.top=h-t.minHeight),n&&u&&(e.top=h-t.maxHeight),e.width||e.height||e.left||!e.top?e.width||e.height||e.top||!e.left||(e.left=null):e.top=null,e},_getPaddingPlusBorderDimensions:function(e){for(var t=0,i=[],s=[e.css("borderTopWidth"),e.css("borderRightWidth"),e.css("borderBottomWidth"),e.css("borderLeftWidth")],n=[e.css("paddingTop"),e.css("paddingRight"),e.css("paddingBottom"),e.css("paddingLeft")];4>t;t++)i[t]=parseInt(s[t],10)||0,i[t]+=parseInt(n[t],10)||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var e,t=0,i=this.helper||this.element;this._proportionallyResizeElements.length>t;t++)e=this._proportionallyResizeElements[t],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(e)),e.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var t=this.element,i=this.options;this.elementOffset=t.offset(),this._helper?(this.helper=this.helper||e("<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:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(e,t){return{width:this.originalSize.width+t}},w:function(e,t){var i=this.originalSize,s=this.originalPosition;return{left:s.left+t,width:i.width-t}},n:function(e,t,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(e,t,i){return{height:this.originalSize.height+i}},se:function(t,i,s){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,i,s]))},sw:function(t,i,s){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,i,s]))},ne:function(t,i,s){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,i,s]))},nw:function(t,i,s){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,i,s]))}},_propagate:function(t,i){e.ui.plugin.call(this,t,[i,this.ui()]),"resize"!==t&&this._trigger(t,i,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}}}),e.ui.plugin.add("resizable","animate",{stop:function(t){var i=e(this).resizable("instance"),s=i.options,n=i._proportionallyResizeElements,a=n.length&&/textarea/i.test(n[0].nodeName),o=a&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,r=a?0:i.sizeDiff.width,h={width:i.size.width-r,height:i.size.height-o},l=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,u=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(e.extend(h,u&&l?{top:u,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={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&&e(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",t)}})}}),e.ui.plugin.add("resizable","containment",{start:function(){var t,i,s,n,a,o,r,h=e(this).resizable("instance"),l=h.options,u=h.element,d=l.containment,c=d instanceof e?d.get(0):/parent/.test(d)?u.parent().get(0):d;c&&(h.containerElement=e(c),/document/.test(d)||d===document?(h.containerOffset={left:0,top:0},h.containerPosition={left:0,top:0},h.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight}):(t=e(c),i=[],e(["Top","Right","Left","Bottom"]).each(function(e,s){i[e]=h._num(t.css("padding"+s))}),h.containerOffset=t.offset(),h.containerPosition=t.position(),h.containerSize={height:t.innerHeight()-i[3],width:t.innerWidth()-i[1]},s=h.containerOffset,n=h.containerSize.height,a=h.containerSize.width,o=h._hasScroll(c,"left")?c.scrollWidth:a,r=h._hasScroll(c)?c.scrollHeight:n,h.parentData={element:c,left:s.left,top:s.top,width:o,height:r}))},resize:function(t){var i,s,n,a,o=e(this).resizable("instance"),r=o.options,h=o.containerOffset,l=o.position,u=o._aspectRatio||t.shiftKey,d={top:0,left:0},c=o.containerElement,p=!0;c[0]!==document&&/static/.test(c.css("position"))&&(d=h),l.left<(o._helper?h.left:0)&&(o.size.width=o.size.width+(o._helper?o.position.left-h.left:o.position.left-d.left),u&&(o.size.height=o.size.width/o.aspectRatio,p=!1),o.position.left=r.helper?h.left:0),l.top<(o._helper?h.top:0)&&(o.size.height=o.size.height+(o._helper?o.position.top-h.top:o.position.top),u&&(o.size.width=o.size.height*o.aspectRatio,p=!1),o.position.top=o._helper?h.top:0),n=o.containerElement.get(0)===o.element.parent().get(0),a=/relative|absolute/.test(o.containerElement.css("position")),n&&a?(o.offset.left=o.parentData.left+o.position.left,o.offset.top=o.parentData.top+o.position.top):(o.offset.left=o.element.offset().left,o.offset.top=o.element.offset().top),i=Math.abs(o.sizeDiff.width+(o._helper?o.offset.left-d.left:o.offset.left-h.left)),s=Math.abs(o.sizeDiff.height+(o._helper?o.offset.top-d.top:o.offset.top-h.top)),i+o.size.width>=o.parentData.width&&(o.size.width=o.parentData.width-i,u&&(o.size.height=o.size.width/o.aspectRatio,p=!1)),s+o.size.height>=o.parentData.height&&(o.size.height=o.parentData.height-s,u&&(o.size.width=o.size.height*o.aspectRatio,p=!1)),p||(o.position.left=o.prevPosition.left,o.position.top=o.prevPosition.top,o.size.width=o.prevSize.width,o.size.height=o.prevSize.height)},stop:function(){var t=e(this).resizable("instance"),i=t.options,s=t.containerOffset,n=t.containerPosition,a=t.containerElement,o=e(t.helper),r=o.offset(),h=o.outerWidth()-t.sizeDiff.width,l=o.outerHeight()-t.sizeDiff.height;t._helper&&!i.animate&&/relative/.test(a.css("position"))&&e(this).css({left:r.left-n.left-s.left,width:h,height:l}),t._helper&&!i.animate&&/static/.test(a.css("position"))&&e(this).css({left:r.left-n.left-s.left,width:h,height:l})}}),e.ui.plugin.add("resizable","alsoResize",{start:function(){var t=e(this).resizable("instance"),i=t.options;e(i.alsoResize).each(function(){var t=e(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)})})},resize:function(t,i){var s=e(this).resizable("instance"),n=s.options,a=s.originalSize,o=s.originalPosition,r={height:s.size.height-a.height||0,width:s.size.width-a.width||0,top:s.position.top-o.top||0,left:s.position.left-o.left||0};e(n.alsoResize).each(function(){var t=e(this),s=e(this).data("ui-resizable-alsoresize"),n={},a=t.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(a,function(e,t){var i=(s[t]||0)+(r[t]||0);i&&i>=0&&(n[t]=i||null)}),t.css(n)})},stop:function(){e(this).removeData("resizable-alsoresize")}}),e.ui.plugin.add("resizable","ghost",{start:function(){var t=e(this).resizable("instance"),i=t.options,s=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:s.height,width:s.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof i.ghost?i.ghost:""),t.ghost.appendTo(t.helper)},resize:function(){var t=e(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=e(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),e.ui.plugin.add("resizable","grid",{resize:function(){var t,i=e(this).resizable("instance"),s=i.options,n=i.size,a=i.originalSize,o=i.originalPosition,r=i.axis,h="number"==typeof s.grid?[s.grid,s.grid]:s.grid,l=h[0]||1,u=h[1]||1,d=Math.round((n.width-a.width)/l)*l,c=Math.round((n.height-a.height)/u)*u,p=a.width+d,f=a.height+c,m=s.maxWidth&&p>s.maxWidth,g=s.maxHeight&&f>s.maxHeight,v=s.minWidth&&s.minWidth>p,y=s.minHeight&&s.minHeight>f;s.grid=h,v&&(p+=l),y&&(f+=u),m&&(p-=l),g&&(f-=u),/^(se|s|e)$/.test(r)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.top=o.top-c):/^(sw)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.left=o.left-d):((0>=f-u||0>=p-l)&&(t=i._getPaddingPlusBorderDimensions(this)),f-u>0?(i.size.height=f,i.position.top=o.top-c):(f=u-t.height,i.size.height=f,i.position.top=o.top+a.height-f),p-l>0?(i.size.width=p,i.position.left=o.left-d):(p=l-t.width,i.size.width=p,i.position.left=o.left+a.width-p))}}),e.ui.resizable,e.widget("ui.selectable",e.ui.mouse,{version:"1.11.4",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,i=this;-this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){t=e(i.options.filter,i.element[0]),t.addClass("ui-selectee"),t.each(function(){var t=e(this),i=t.offset();e.data(this,"selectable-item",{element:this,$element:t,left:i.left,top:i.top,right:i.left+t.outerWidth(),bottom:i.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=e("<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(t){var i=this,s=this.options;this.opos=[t.pageX,t.pageY],this.options.disabled||(this.selectees=e(s.filter,this.element[0]),this._trigger("start",t),e(s.appendTo).append(this.helper),this.helper.css({left:t.pageX,top:t.pageY,width:0,height:0}),s.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var s=e.data(this,"selectable-item");s.startselected=!0,t.metaKey||t.ctrlKey||(s.$element.removeClass("ui-selected"),s.selected=!1,s.$element.addClass("ui-unselecting"),s.unselecting=!0,i._trigger("unselecting",t,{unselecting:s.element}))}),e(t.target).parents().addBack().each(function(){var s,n=e.data(this,"selectable-item");return n?(s=!t.metaKey&&!t.ctrlKey||!n.$element.hasClass("ui-selected"),n.$element.removeClass(s?"ui-unselecting":"ui-selected").addClass(s?"ui-selecting":"ui-unselecting"),n.unselecting=!s,n.selecting=s,n.selected=s,s?i._trigger("selecting",t,{selecting:n.element}):i._trigger("unselecting",t,{unselecting:n.element}),!1):void 0}))},_mouseDrag:function(t){if(this.dragged=!0,!this.options.disabled){var i,s=this,n=this.options,a=this.opos[0],o=this.opos[1],r=t.pageX,h=t.pageY;return a>r&&(i=r,r=a,a=i),o>h&&(i=h,h=o,o=i),this.helper.css({left:a,top:o,width:r-a,height:h-o}),this.selectees.each(function(){var i=e.data(this,"selectable-item"),l=!1;i&&i.element!==s.element[0]&&("touch"===n.tolerance?l=!(i.left>r||a>i.right||i.top>h||o>i.bottom):"fit"===n.tolerance&&(l=i.left>a&&r>i.right&&i.top>o&&h>i.bottom),l?(i.selected&&(i.$element.removeClass("ui-selected"),i.selected=!1),i.unselecting&&(i.$element.removeClass("ui-unselecting"),i.unselecting=!1),i.selecting||(i.$element.addClass("ui-selecting"),i.selecting=!0,s._trigger("selecting",t,{selecting:i.element}))):(i.selecting&&((t.metaKey||t.ctrlKey)&&i.startselected?(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.$element.addClass("ui-selected"),i.selected=!0):(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.startselected&&(i.$element.addClass("ui-unselecting"),i.unselecting=!0),s._trigger("unselecting",t,{unselecting:i.element}))),i.selected&&(t.metaKey||t.ctrlKey||i.startselected||(i.$element.removeClass("ui-selected"),i.selected=!1,i.$element.addClass("ui-unselecting"),i.unselecting=!0,s._trigger("unselecting",t,{unselecting:i.element})))))}),!1}},_mouseStop:function(t){var i=this;return this.dragged=!1,e(".ui-unselecting",this.element[0]).each(function(){var s=e.data(this,"selectable-item");s.$element.removeClass("ui-unselecting"),s.unselecting=!1,s.startselected=!1,i._trigger("unselected",t,{unselected:s.element})}),e(".ui-selecting",this.element[0]).each(function(){var s=e.data(this,"selectable-item");s.$element.removeClass("ui-selecting").addClass("ui-selected"),s.selecting=!1,s.selected=!0,s.startselected=!0,i._trigger("selected",t,{selected:s.element})}),this._trigger("stop",t),this.helper.remove(),!1}}),e.widget("ui.sortable",e.ui.mouse,{version:"1.11.4",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},_isOverAxis:function(e,t,i){return e>=t&&t+i>e},_isFloating:function(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))},_create:function(){this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(e,t){this._super(e,t),"handle"===e&&this._setHandleClassName()},_setHandleClassName:function(){this.element.find(".ui-sortable-handle").removeClass("ui-sortable-handle"),e.each(this.items,function(){(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item).addClass("ui-sortable-handle")})},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").find(".ui-sortable-handle").removeClass("ui-sortable-handle"),this._mouseDestroy();for(var e=this.items.length-1;e>=0;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(t,i){var s=null,n=!1,a=this;return this.reverting?!1:this.options.disabled||"static"===this.options.type?!1:(this._refreshItems(t),e(t.target).parents().each(function(){return e.data(this,a.widgetName+"-item")===a?(s=e(this),!1):void 0}),e.data(t.target,a.widgetName+"-item")===a&&(s=e(t.target)),s?!this.options.handle||i||(e(this.options.handle,s).find("*").addBack().each(function(){this===t.target&&(n=!0)}),n)?(this.currentItem=s,this._removeCurrentsFromItems(),!0):!1:!1)},_mouseStart:function(t,i,s){var n,a,o=this.options;if(this.currentContainer=this,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},e.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&&(a=this.document.find("body"),this.storedCursor=a.css("cursor"),a.css("cursor",o.cursor),this.storedStylesheet=e("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(a)),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]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!s)for(n=this.containers.length-1;n>=0;n--)this.containers[n]._trigger("activate",t,this._uiHash(this));return e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!o.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var i,s,n,a,o=this.options,r=!1;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<o.scrollSensitivity?this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop+o.scrollSpeed:t.pageY-this.overflowOffset.top<o.scrollSensitivity&&(this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop-o.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<o.scrollSensitivity?this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft+o.scrollSpeed:t.pageX-this.overflowOffset.left<o.scrollSensitivity&&(this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft-o.scrollSpeed)):(t.pageY-this.document.scrollTop()<o.scrollSensitivity?r=this.document.scrollTop(this.document.scrollTop()-o.scrollSpeed):this.window.height()-(t.pageY-this.document.scrollTop())<o.scrollSensitivity&&(r=this.document.scrollTop(this.document.scrollTop()+o.scrollSpeed)),t.pageX-this.document.scrollLeft()<o.scrollSensitivity?r=this.document.scrollLeft(this.document.scrollLeft()-o.scrollSpeed):this.window.width()-(t.pageX-this.document.scrollLeft())<o.scrollSensitivity&&(r=this.document.scrollLeft(this.document.scrollLeft()+o.scrollSpeed))),r!==!1&&e.ui.ddmanager&&!o.dropBehaviour&&e.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"),i=this.items.length-1;i>=0;i--)if(s=this.items[i],n=s.item[0],a=this._intersectsWithPointer(s),a&&s.instance===this.currentContainer&&n!==this.currentItem[0]&&this.placeholder[1===a?"next":"prev"]()[0]!==n&&!e.contains(this.placeholder[0],n)&&("semi-dynamic"===this.options.type?!e.contains(this.element[0],n):!0)){if(this.direction=1===a?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(s))break;this._rearrange(t,s),this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,i){if(t){if(e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,t),this.options.revert){var s=this,n=this.placeholder.offset(),a=this.options.axis,o={};a&&"x"!==a||(o.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),a&&"y"!==a||(o.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,e(this.helper).animate(o,parseInt(this.options.revert,10)||500,function(){s._clear(t)})}else this._clear(t,i);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;t>=0;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(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var i=this._getItemsAsjQuery(t&&t.connected),s=[];return t=t||{},e(i).each(function(){var i=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);i&&s.push((t.key||i[1]+"[]")+"="+(t.key&&t.expression?i[1]:i[2]))}),!s.length&&t.key&&s.push(t.key+"="),s.join("&")},toArray:function(t){var i=this._getItemsAsjQuery(t&&t.connected),s=[];return t=t||{},i.each(function(){s.push(e(t.item||this).attr(t.attribute||"id")||"")}),s},_intersectsWith:function(e){var t=this.positionAbs.left,i=t+this.helperProportions.width,s=this.positionAbs.top,n=s+this.helperProportions.height,a=e.left,o=a+e.width,r=e.top,h=r+e.height,l=this.offset.click.top,u=this.offset.click.left,d="x"===this.options.axis||s+l>r&&h>s+l,c="y"===this.options.axis||t+u>a&&o>t+u,p=d&&c;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>e[this.floating?"width":"height"]?p:t+this.helperProportions.width/2>a&&o>i-this.helperProportions.width/2&&s+this.helperProportions.height/2>r&&h>n-this.helperProportions.height/2},_intersectsWithPointer:function(e){var t="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height),i="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width),s=t&&i,n=this._getDragVerticalDirection(),a=this._getDragHorizontalDirection();return s?this.floating?a&&"right"===a||"down"===n?2:1:n&&("down"===n?2:1):!1},_intersectsWithSides:function(e){var t=this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),s=this._getDragVerticalDirection(),n=this._getDragHorizontalDirection();return this.floating&&n?"right"===n&&i||"left"===n&&!i:s&&("down"===s&&t||"up"===s&&!t)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return 0!==e&&(e>0?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!==e&&(e>0?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){function i(){r.push(this)}var s,n,a,o,r=[],h=[],l=this._connectWith();if(l&&t)for(s=l.length-1;s>=0;s--)for(a=e(l[s],this.document[0]),n=a.length-1;n>=0;n--)o=e.data(a[n],this.widgetFullName),o&&o!==this&&!o.options.disabled&&h.push([e.isFunction(o.options.items)?o.options.items.call(o.element):e(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);for(h.push([e.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),s=h.length-1;s>=0;s--)h[s][0].each(i);return e(r)},_removeCurrentsFromItems:function(){var t=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=e.grep(this.items,function(e){for(var i=0;t.length>i;i++)if(t[i]===e.item[0])return!1;return!0})},_refreshItems:function(t){this.items=[],this.containers=[this];var i,s,n,a,o,r,h,l,u=this.items,d=[[e.isFunction(this.options.items)?this.options.items.call(this.element[0],t,{item:this.currentItem}):e(this.options.items,this.element),this]],c=this._connectWith();if(c&&this.ready)for(i=c.length-1;i>=0;i--)for(n=e(c[i],this.document[0]),s=n.length-1;s>=0;s--)a=e.data(n[s],this.widgetFullName),a&&a!==this&&!a.options.disabled&&(d.push([e.isFunction(a.options.items)?a.options.items.call(a.element[0],t,{item:this.currentItem}):e(a.options.items,a.element),a]),this.containers.push(a));for(i=d.length-1;i>=0;i--)for(o=d[i][1],r=d[i][0],s=0,l=r.length;l>s;s++)h=e(r[s]),h.data(this.widgetName+"-item",o),u.push({item:h,instance:o,width:0,height:0,left:0,top:0})},refreshPositions:function(t){this.floating=this.items.length?"x"===this.options.axis||this._isFloating(this.items[0].item):!1,this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());var i,s,n,a;for(i=this.items.length-1;i>=0;i--)s=this.items[i],s.instance!==this.currentContainer&&this.currentContainer&&s.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?e(this.options.toleranceElement,s.item):s.item,t||(s.width=n.outerWidth(),s.height=n.outerHeight()),a=n.offset(),s.left=a.left,s.top=a.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)a=this.containers[i].element.offset(),this.containers[i].containerCache.left=a.left,this.containers[i].containerCache.top=a.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(t){t=t||this;var i,s=t.options;s.placeholder&&s.placeholder.constructor!==String||(i=s.placeholder,s.placeholder={element:function(){var s=t.currentItem[0].nodeName.toLowerCase(),n=e("<"+s+">",t.document[0]).addClass(i||t.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper");return"tbody"===s?t._createTrPlaceholder(t.currentItem.find("tr").eq(0),e("<tr>",t.document[0]).appendTo(n)):"tr"===s?t._createTrPlaceholder(t.currentItem,n):"img"===s&&n.attr("src",t.currentItem.attr("src")),i||n.css("visibility","hidden"),n},update:function(e,n){(!i||s.forcePlaceholderSize)&&(n.height()||n.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),n.width()||n.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10)))}}),t.placeholder=e(s.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),s.placeholder.update(t,t.placeholder)},_createTrPlaceholder:function(t,i){var s=this;t.children().each(function(){e("<td> </td>",s.document[0]).attr("colspan",e(this).attr("colspan")||1).appendTo(i)})},_contactContainers:function(t){var i,s,n,a,o,r,h,l,u,d,c=null,p=null;for(i=this.containers.length-1;i>=0;i--)if(!e.contains(this.currentItem[0],this.containers[i].element[0]))if(this._intersectsWith(this.containers[i].containerCache)){if(c&&e.contains(this.containers[i].element[0],c.element[0]))continue;c=this.containers[i],p=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",t,this._uiHash(this)),this.containers[i].containerCache.over=0);if(c)if(1===this.containers.length)this.containers[p].containerCache.over||(this.containers[p]._trigger("over",t,this._uiHash(this)),this.containers[p].containerCache.over=1);else{for(n=1e4,a=null,u=c.floating||this._isFloating(this.currentItem),o=u?"left":"top",r=u?"width":"height",d=u?"clientX":"clientY",s=this.items.length-1;s>=0;s--)e.contains(this.containers[p].element[0],this.items[s].item[0])&&this.items[s].item[0]!==this.currentItem[0]&&(h=this.items[s].item.offset()[o],l=!1,t[d]-h>this.items[s][r]/2&&(l=!0),n>Math.abs(t[d]-h)&&(n=Math.abs(t[d]-h),a=this.items[s],this.direction=l?"up":"down"));if(!a&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[p])return this.currentContainer.containerCache.over||(this.containers[p]._trigger("over",t,this._uiHash()),this.currentContainer.containerCache.over=1),void 0;a?this._rearrange(t,a,null,!0):this._rearrange(t,null,this.containers[p].element,!0),this._trigger("change",t,this._uiHash()),this.containers[p]._trigger("change",t,this._uiHash(this)),this.currentContainer=this.containers[p],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[p]._trigger("over",t,this._uiHash(this)),this.containers[p].containerCache.over=1}},_createHelper:function(t){var i=this.options,s=e.isFunction(i.helper)?e(i.helper.apply(this.element[0],[t,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem;return s.parents("body").length||e("parent"!==i.appendTo?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(s[0]),s[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")}),(!s[0].style.width||i.forceHelperSize)&&s.width(this.currentItem.width()),(!s[0].style.height||i.forceHelperSize)&&s.height(this.currentItem.height()),s},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),e.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]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&e.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){var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_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,i,s,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,"document"===n.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===n.containment?this.document.width():this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(t=e(n.containment)[0],i=e(n.containment).offset(),s="hidden"!==e(t).css("overflow"),this.containment=[i.left+(parseInt(e(t).css("borderLeftWidth"),10)||0)+(parseInt(e(t).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(e(t).css("borderTopWidth"),10)||0)+(parseInt(e(t).css("paddingTop"),10)||0)-this.margins.top,i.left+(s?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(e(t).css("borderLeftWidth"),10)||0)-(parseInt(e(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(s?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(e(t).css("borderTopWidth"),10)||0)-(parseInt(e(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(t,i){i||(i=this.position);var s="absolute"===t?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,a=/(html|body)/i.test(n[0].tagName);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():a?0:n.scrollTop())*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():a?0:n.scrollLeft())*s}},_generatePosition:function(t){var i,s,n=this.options,a=t.pageX,o=t.pageY,r="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(r[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(t.pageX-this.offset.click.left<this.containment[0]&&(a=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]&&(a=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&&(i=this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1],o=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-n.grid[1]:i+n.grid[1]:i,s=this.originalPageX+Math.round((a-this.originalPageX)/n.grid[0])*n.grid[0],a=this.containment?s-this.offset.click.left>=this.containment[0]&&s-this.offset.click.left<=this.containment[2]?s:s-this.offset.click.left>=this.containment[0]?s-n.grid[0]:s+n.grid[0]:s)),{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():h?0:r.scrollTop()),left:a-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():h?0:r.scrollLeft())}},_rearrange:function(e,t,i,s){i?i[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var n=this.counter;this._delay(function(){n===this.counter&&this.refreshPositions(!s)})},_clear:function(e,t){function i(e,t,i){return function(s){i._trigger(e,s,t._uiHash(t))}}this.reverting=!1;var s,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(s in this._storedCSS)("auto"===this._storedCSS[s]||"static"===this._storedCSS[s])&&(this._storedCSS[s]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!t&&n.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||n.push(function(e){this._trigger("update",e,this._uiHash())}),this!==this.currentContainer&&(t||(n.push(function(e){this._trigger("remove",e,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)))),s=this.containers.length-1;s>=0;s--)t||n.push(i("deactivate",this,this.containers[s])),this.containers[s].containerCache.over&&(n.push(i("out",this,this.containers[s])),this.containers[s].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,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(s=0;n.length>s;s++)n[s].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){e.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(t){var i=t||this;return{helper:i.helper,placeholder:i.placeholder||e([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:t?t.element:null}}}),e.widget("ui.accordion",{version:"1.11.4",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},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var t=this.options;this.prevShow=this.prevHide=e(),this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),t.collapsible||t.active!==!1&&null!=t.active||(t.active=0),this._processPanels(),0>t.active&&(t.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():e()}},_createIcons:function(){var t=this.options.icons;t&&(e("<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 e;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").removeUniqueId(),this._destroyIcons(),e=this.headers.next().removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").css("display","").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&e.css("height","")},_setOption:function(e,t){return"active"===e?(this._activate(t),void 0):("event"===e&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||this.options.active!==!1||this._activate(0),"icons"===e&&(this._destroyIcons(),t&&this._createIcons()),"disabled"===e&&(this.element.toggleClass("ui-state-disabled",!!t).attr("aria-disabled",t),this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!t)),void 0)},_keydown:function(t){if(!t.altKey&&!t.ctrlKey){var i=e.ui.keyCode,s=this.headers.length,n=this.headers.index(t.target),a=!1;switch(t.keyCode){case i.RIGHT:case i.DOWN:a=this.headers[(n+1)%s];break;case i.LEFT:case i.UP:a=this.headers[(n-1+s)%s];break;case i.SPACE:case i.ENTER:this._eventHandler(t);break;case i.HOME:a=this.headers[0];break;case i.END:a=this.headers[s-1]}a&&(e(t.target).attr("tabIndex",-1),e(a).attr("tabIndex",0),a.focus(),t.preventDefault())}},_panelKeyDown:function(t){t.keyCode===e.ui.keyCode.UP&&t.ctrlKey&&e(t.currentTarget).prev().focus()},refresh:function(){var t=this.options;this._processPanels(),t.active===!1&&t.collapsible===!0||!this.headers.length?(t.active=!1,this.active=e()):t.active===!1?this._activate(0):this.active.length&&!e.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=e()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var e=this.headers,t=this.panels;this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-state-default ui-corner-all"),this.panels=this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide(),t&&(this._off(e.not(this.headers)),this._off(t.not(this.panels)))-},_refresh:function(){var t,i=this.options,s=i.heightStyle,n=this.element.parent();this.active=this._findActive(i.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(){var t=e(this),i=t.uniqueId().attr("id"),s=t.next(),n=s.uniqueId().attr("id");t.attr("aria-controls",n),s.attr("aria-labelledby",i)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(i.event),"fill"===s?(t=n.height(),this.element.siblings(":visible").each(function(){var i=e(this),s=i.css("position");"absolute"!==s&&"fixed"!==s&&(t-=i.outerHeight(!0))}),this.headers.each(function(){t-=e(this).outerHeight(!0)}),this.headers.next().each(function(){e(this).height(Math.max(0,t-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):"auto"===s&&(t=0,this.headers.next().each(function(){t=Math.max(t,e(this).css("height","").height())}).height(t))},_activate:function(t){var i=this._findActive(t)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventHandler({target:i,currentTarget:i,preventDefault:e.noop}))},_findActive:function(t){return"number"==typeof t?this.headers.eq(t):e()},_setupEvents:function(t){var i={keydown:"_keydown"};t&&e.each(t.split(" "),function(e,t){i[t]="_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 i=this.options,s=this.active,n=e(t.currentTarget),a=n[0]===s[0],o=a&&i.collapsible,r=o?e():n.next(),h=s.next(),l={oldHeader:s,oldPanel:h,newHeader:o?e():n,newPanel:r};t.preventDefault(),a&&!i.collapsible||this._trigger("beforeActivate",t,l)===!1||(i.active=o?!1:this.headers.index(n),this.active=a?e():n,this._toggle(l),s.removeClass("ui-accordion-header-active ui-state-active"),i.icons&&s.children(".ui-accordion-header-icon").removeClass(i.icons.activeHeader).addClass(i.icons.header),a||(n.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),i.icons&&n.children(".ui-accordion-header-icon").removeClass(i.icons.header).addClass(i.icons.activeHeader),n.next().addClass("ui-accordion-content-active")))},_toggle:function(t){var i=t.newPanel,s=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=s,this.options.animate?this._animate(i,s,t):(s.hide(),i.show(),this._toggleComplete(t)),s.attr({"aria-hidden":"true"}),s.prev().attr({"aria-selected":"false","aria-expanded":"false"}),i.length&&s.length?s.prev().attr({tabIndex:-1,"aria-expanded":"false"}):i.length&&this.headers.filter(function(){return 0===parseInt(e(this).attr("tabIndex"),10)}).attr("tabIndex",-1),i.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(e,t,i){var s,n,a,o=this,r=0,h=e.css("box-sizing"),l=e.length&&(!t.length||e.index()<t.index()),u=this.options.animate||{},d=l&&u.down||u,c=function(){o._toggleComplete(i)};return"number"==typeof d&&(a=d),"string"==typeof d&&(n=d),n=n||d.easing||u.easing,a=a||d.duration||u.duration,t.length?e.length?(s=e.show().outerHeight(),t.animate(this.hideProps,{duration:a,easing:n,step:function(e,t){t.now=Math.round(e)}}),e.hide().animate(this.showProps,{duration:a,easing:n,complete:c,step:function(e,i){i.now=Math.round(e),"height"!==i.prop?"content-box"===h&&(r+=i.now):"content"!==o.options.heightStyle&&(i.now=Math.round(s-t.outerHeight()-r),r=0)}}),void 0):t.animate(this.hideProps,a,n,c):e.animate(this.showProps,a,n,c)},_toggleComplete:function(e){var t=e.oldPanel;t.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all"),t.length&&(t.parent()[0].className=t.parent()[0].className),this._trigger("activate",null,e)}}),e.widget("ui.menu",{version:"1.11.4",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},items:"> *",menus:"ul",position:{my:"left-1 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").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault()},"click .ui-menu-item":function(t){var i=e(t.target);!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),i.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&e(this.document[0].activeElement).closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(t){if(!this.previousFilter){var i=e(t.currentTarget);i.siblings(".ui-state-active").removeClass("ui-state-active"),this.focus(t,i)}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var i=this.active||this.element.find(this.options.items).eq(0);t||this.focus(e,i)},blur:function(t){this._delay(function(){e.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-menu-icons ui-front").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").removeUniqueId().removeClass("ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var t=e(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){var i,s,n,a,o=!0;switch(t.keyCode){case e.ui.keyCode.PAGE_UP:this.previousPage(t);break;case e.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case e.ui.keyCode.HOME:this._move("first","first",t);break;case e.ui.keyCode.END:this._move("last","last",t);break;case e.ui.keyCode.UP:this.previous(t);break;case e.ui.keyCode.DOWN:this.next(t);break;case e.ui.keyCode.LEFT:this.collapse(t);break;case e.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case e.ui.keyCode.ENTER:case e.ui.keyCode.SPACE:this._activate(t);break;case e.ui.keyCode.ESCAPE:this.collapse(t);break;default:o=!1,s=this.previousFilter||"",n=String.fromCharCode(t.keyCode),a=!1,clearTimeout(this.filterTimer),n===s?a=!0:n=s+n,i=this._filterMenuItems(n),i=a&&-1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-item"):i,i.length||(n=String.fromCharCode(t.keyCode),i=this._filterMenuItems(n)),i.length?(this.focus(t,i),this.previousFilter=n,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}o&&t.preventDefault()},_activate:function(e){this.active.is(".ui-state-disabled")||(this.active.is("[aria-haspopup='true']")?this.expand(e):this.select(e))},refresh:function(){var t,i,s=this,n=this.options.icons.submenu,a=this.element.find(this.options.menus);this.element.toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length),a.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-front").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=e(this),i=t.parent(),s=e("<span>").addClass("ui-menu-icon ui-icon "+n).data("ui-menu-submenu-carat",!0);i.attr("aria-haspopup","true").prepend(s),t.attr("aria-labelledby",i.attr("id"))}),t=a.add(this.element),i=t.find(this.options.items),i.not(".ui-menu-item").each(function(){var t=e(this);s._isDivider(t)&&t.addClass("ui-widget-content ui-menu-divider")}),i.not(".ui-menu-item, .ui-menu-divider").addClass("ui-menu-item").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),i.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!e.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){"icons"===e&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(t.submenu),"disabled"===e&&this.element.toggleClass("ui-state-disabled",!!t).attr("aria-disabled",t),this._super(e,t)},focus:function(e,t){var i,s;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),s=this.active.addClass("ui-state-focus").removeClass("ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),this.active.parent().closest(".ui-menu-item").addClass("ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=t.children(".ui-menu"),i.length&&e&&/^mouse/.test(e.type)&&this._startOpening(i),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(t){var i,s,n,a,o,r;this._hasScroll()&&(i=parseFloat(e.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(e.css(this.activeMenu[0],"paddingTop"))||0,n=t.offset().top-this.activeMenu.offset().top-i-s,a=this.activeMenu.scrollTop(),o=this.activeMenu.height(),r=t.outerHeight(),0>n?this.activeMenu.scrollTop(a+n):n+r>o&&this.activeMenu.scrollTop(a+n-o+r))},blur:function(e,t){t||clearTimeout(this.timer),this.active&&(this.active.removeClass("ui-state-focus"),this.active=null,this._trigger("blur",e,{item:this.active}))},_startOpening:function(e){clearTimeout(this.timer),"true"===e.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(e)},this.delay))},_open:function(t){var i=e.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(i)},collapseAll:function(t,i){clearTimeout(this.timer),this.timer=this._delay(function(){var s=i?this.element:e(t&&t.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(t),this.activeMenu=s},this.delay)},_close:function(e){e||(e=this.active?this.active.parent():this.element),e.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find(".ui-state-active").not(".ui-state-focus").removeClass("ui-state-active")},_closeOnDocumentClick:function(t){return!e(t.target).closest(".ui-menu").length},_isDivider:function(e){return!/[^\-\u2014\u2013\s]/.test(e.text())},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},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(e,t,i){var s;this.active&&(s="first"===e||"last"===e?this.active["first"===e?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[e+"All"](".ui-menu-item").eq(0)),s&&s.length&&this.active||(s=this.activeMenu.find(this.options.items)[t]()),this.focus(i,s)},nextPage:function(t){var i,s,n;return this.active?(this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=e(this),0>i.offset().top-s-n}),this.focus(t,i)):this.focus(t,this.activeMenu.find(this.options.items)[this.active?"last":"first"]())),void 0):(this.next(t),void 0)},previousPage:function(t){var i,s,n;return this.active?(this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=e(this),i.offset().top-s+n>0}),this.focus(t,i)):this.focus(t,this.activeMenu.find(this.options.items).first())),void 0):(this.next(t),void 0)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||e(t.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,i)},_filterMenuItems:function(t){var i=t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),s=RegExp("^"+i,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return s.test(e.trim(e(this).text()))})}}),e.widget("ui.autocomplete",{version:"1.11.4",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},requestIndex:0,pending:0,_create:function(){var t,i,s,n=this.element[0].nodeName.toLowerCase(),a="textarea"===n,o="input"===n;this.isMultiLine=a?!0:o?!1:this.element.prop("isContentEditable"),this.valueMethod=this.element[a||o?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(n){if(this.element.prop("readOnly"))return t=!0,s=!0,i=!0,void 0;t=!1,s=!1,i=!1;var a=e.ui.keyCode;switch(n.keyCode){case a.PAGE_UP:t=!0,this._move("previousPage",n);break;case a.PAGE_DOWN:t=!0,this._move("nextPage",n);break;case a.UP:t=!0,this._keyEvent("previous",n);break;case a.DOWN:t=!0,this._keyEvent("next",n);break;case a.ENTER:this.menu.active&&(t=!0,n.preventDefault(),this.menu.select(n));break;case a.TAB:this.menu.active&&this.menu.select(n);break;case a.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(n),n.preventDefault());break;default:i=!0,this._searchTimeout(n)}},keypress:function(s){if(t)return t=!1,(!this.isMultiLine||this.menu.element.is(":visible"))&&s.preventDefault(),void 0;if(!i){var n=e.ui.keyCode;switch(s.keyCode){case n.PAGE_UP:this._move("previousPage",s);break;case n.PAGE_DOWN:this._move("nextPage",s);break;case n.UP:this._keyEvent("previous",s);break;case n.DOWN:this._keyEvent("next",s)}}},input:function(e){return s?(s=!1,e.preventDefault(),void 0):(this._searchTimeout(e),void 0)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){return this.cancelBlur?(delete this.cancelBlur,void 0):(clearTimeout(this.searching),this.close(e),this._change(e),void 0)}}),this._initSource(),this.menu=e("<ul>").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),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];e(t.target).closest(".ui-menu-item").length||this._delay(function(){var t=this;this.document.one("mousedown",function(s){s.target===t.element[0]||s.target===i||e.contains(i,s.target)||t.close()})})},menufocus:function(t,i){var s,n;return this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type))?(this.menu.blur(),this.document.one("mousemove",function(){e(t.target).trigger(t.originalEvent)}),void 0):(n=i.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:n})&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(n.value),s=i.item.attr("aria-label")||n.value,s&&e.trim(s).length&&(this.liveRegion.children().hide(),e("<div>").text(s).appendTo(this.liveRegion)),void 0)},menuselect:function(e,t){var i=t.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",e,{item:i})&&this._value(i.value),this.term=this._value(),this.close(e),this.selectedItem=i}}),this.liveRegion=e("<span>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).addClass("ui-helper-hidden-accessible").appendTo(this.document[0].body),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(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?e(t):this.document.find(t).eq(0)),t&&t[0]||(t=this.element.closest(".ui-front")),t.length||(t=this.document[0].body),t},_initSource:function(){var t,i,s=this;e.isArray(this.options.source)?(t=this.options.source,this.source=function(i,s){s(e.ui.autocomplete.filter(t,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(t,n){s.xhr&&s.xhr.abort(),s.xhr=e.ajax({url:i,data:t,dataType:"json",success:function(e){n(e)},error:function(){n([])}})}):this.source=this.options.source},_searchTimeout:function(e){clearTimeout(this.searching),this.searching=this._delay(function(){var t=this.term===this._value(),i=this.menu.element.is(":visible"),s=e.altKey||e.ctrlKey||e.metaKey||e.shiftKey;(!t||t&&!i&&!s)&&(this.selectedItem=null,this.search(null,e))},this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):this._trigger("search",t)!==!1?this._search(e):void 0},_search:function(e){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var t=++this.requestIndex;return e.proxy(function(e){t===this.requestIndex&&this.__response(e),this.pending--,this.pending||this.element.removeClass("ui-autocomplete-loading")},this)},__response:function(e){e&&(e=this._normalize(e)),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:e.map(t,function(t){return"string"==typeof t?{label:t,value:t}:e.extend({},t,{label:t.label||t.value,value:t.value||t.label})})},_suggest:function(t){var i=this.menu.element.empty();this._renderMenu(i,t),this.isNewMenu=!0,this.menu.refresh(),i.show(),this._resizeMenu(),i.position(e.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(t,i){var s=this;e.each(i,function(e,i){s._renderItemData(t,i)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(t,i){return e("<li>").text(i.label).appendTo(t)},_move:function(e,t){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this.isMultiLine||this._value(this.term),this.menu.blur(),void 0):(this.menu[e](t),void 0):(this.search(null,t),void 0)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(e,t),t.preventDefault())}}),e.extend(e.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,i){var s=RegExp(e.ui.autocomplete.escapeRegex(i),"i");return e.grep(t,function(e){return s.test(e.label||e.value||e)})}}),e.widget("ui.autocomplete",e.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(e>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var i;this._superApply(arguments),this.options.disabled||this.cancelSearch||(i=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.children().hide(),e("<div>").text(i).appendTo(this.liveRegion))}}),e.ui.autocomplete;var c,p="ui-button ui-widget ui-state-default ui-corner-all",f="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",m=function(){var t=e(this);setTimeout(function(){t.find(":ui-button").button("refresh")},1)},g=function(t){var i=t.name,s=t.form,n=e([]);return i&&(i=i.replace(/'/g,"\\'"),n=s?e(s).find("[name='"+i+"'][type=radio]"):e("[name='"+i+"'][type=radio]",t.ownerDocument).filter(function(){return!this.form})),n};e.widget("ui.button",{version:"1.11.4",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,m),"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 t=this,i=this.options,s="checkbox"===this.type||"radio"===this.type,n=s?"":"ui-state-active";null===i.label&&(i.label="input"===this.type?this.buttonElement.val():this.buttonElement.html()),this._hoverable(this.buttonElement),this.buttonElement.addClass(p).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){i.disabled||this===c&&e(this).addClass("ui-state-active")}).bind("mouseleave"+this.eventNamespace,function(){i.disabled||e(this).removeClass(n)}).bind("click"+this.eventNamespace,function(e){i.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}),this._on({focus:function(){this.buttonElement.addClass("ui-state-focus")},blur:function(){this.buttonElement.removeClass("ui-state-focus")}}),s&&this.element.bind("change"+this.eventNamespace,function(){t.refresh()}),"checkbox"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){return i.disabled?!1:void 0}):"radio"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(i.disabled)return!1;e(this).addClass("ui-state-active"),t.buttonElement.attr("aria-pressed","true");var s=t.element[0];g(s).not(s).map(function(){return e(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown"+this.eventNamespace,function(){return i.disabled?!1:(e(this).addClass("ui-state-active"),c=this,t.document.one("mouseup",function(){c=null}),void 0)}).bind("mouseup"+this.eventNamespace,function(){return i.disabled?!1:(e(this).removeClass("ui-state-active"),void 0)}).bind("keydown"+this.eventNamespace,function(t){return i.disabled?!1:((t.keyCode===e.ui.keyCode.SPACE||t.keyCode===e.ui.keyCode.ENTER)&&e(this).addClass("ui-state-active"),void 0)}).bind("keyup"+this.eventNamespace+" blur"+this.eventNamespace,function(){e(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(t){t.keyCode===e.ui.keyCode.SPACE&&e(this).click()})),this._setOption("disabled",i.disabled),this._resetButton()},_determineButtonType:function(){var e,t,i;this.type=this.element.is("[type=checkbox]")?"checkbox":this.element.is("[type=radio]")?"radio":this.element.is("input")?"input":"button","checkbox"===this.type||"radio"===this.type?(e=this.element.parents().last(),t="label[for='"+this.element.attr("id")+"']",this.buttonElement=e.find(t),this.buttonElement.length||(e=e.length?e.siblings():this.element.siblings(),this.buttonElement=e.filter(t),this.buttonElement.length||(this.buttonElement=e.find(t))),this.element.addClass("ui-helper-hidden-accessible"),i=this.element.is(":checked"),i&&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(p+" ui-state-active "+f).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title")},_setOption:function(e,t){return this._super(e,t),"disabled"===e?(this.widget().toggleClass("ui-state-disabled",!!t),this.element.prop("disabled",!!t),t&&("checkbox"===this.type||"radio"===this.type?this.buttonElement.removeClass("ui-state-focus"):this.buttonElement.removeClass("ui-state-focus ui-state-active")),void 0):(this._resetButton(),void 0)},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?g(this.element[0]).each(function(){e(this).is(":checked")?e(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):e(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)return this.options.label&&this.element.val(this.options.label),void 0;var t=this.buttonElement.removeClass(f),i=e("<span></span>",this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(t.empty()).text(),s=this.options.icons,n=s.primary&&s.secondary,a=[];s.primary||s.secondary?(this.options.text&&a.push("ui-button-text-icon"+(n?"s":s.primary?"-primary":"-secondary")),s.primary&&t.prepend("<span class='ui-button-icon-primary ui-icon "+s.primary+"'></span>"),s.secondary&&t.append("<span class='ui-button-icon-secondary ui-icon "+s.secondary+"'></span>"),this.options.text||(a.push(n?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle||t.attr("title",e.trim(i)))):a.push("ui-button-text-only"),t.addClass(a.join(" "))}}),e.widget("ui.buttonset",{version:"1.11.4",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(e,t){"disabled"===e&&this.buttons.button("option",e,t),this._super(e,t)},refresh:function(){var t="rtl"===this.element.css("direction"),i=this.element.find(this.options.items),s=i.filter(":ui-button");i.not(":ui-button").button(),s.button("refresh"),this.buttons=i.map(function(){return e(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 e(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy")}}),e.ui.button,e.extend(e.ui,{datepicker:{version:"1.11.4"}});var v;e.extend(n.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return r(this._defaults,e||{}),this},_attachDatepicker:function(t,i){var s,n,a;s=t.nodeName.toLowerCase(),n="div"===s||"span"===s,t.id||(this.uuid+=1,t.id="dp"+this.uuid),a=this._newInst(e(t),n),a.settings=e.extend({},i||{}),"input"===s?this._connectDatepicker(t,a):n&&this._inlineDatepicker(t,a)},_newInst:function(t,i){var s=t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:s,input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?a(e("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(t,i){var s=e(t);i.append=e([]),i.trigger=e([]),s.hasClass(this.markerClassName)||(this._attachments(s,i),s.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(i),e.data(t,"datepicker",i),i.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,i){var s,n,a,o=this._get(i,"appendText"),r=this._get(i,"isRTL");i.append&&i.append.remove(),o&&(i.append=e("<span class='"+this._appendClass+"'>"+o+"</span>"),t[r?"before":"after"](i.append)),t.unbind("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),s=this._get(i,"showOn"),("focus"===s||"both"===s)&&t.focus(this._showDatepicker),("button"===s||"both"===s)&&(n=this._get(i,"buttonText"),a=this._get(i,"buttonImage"),i.trigger=e(this._get(i,"buttonImageOnly")?e("<img/>").addClass(this._triggerClass).attr({src:a,alt:n,title:n}):e("<button type='button'></button>").addClass(this._triggerClass).html(a?e("<img/>").attr({src:a,alt:n,title:n}):n)),t[r?"before":"after"](i.trigger),i.trigger.click(function(){return e.datepicker._datepickerShowing&&e.datepicker._lastInput===t[0]?e.datepicker._hideDatepicker():e.datepicker._datepickerShowing&&e.datepicker._lastInput!==t[0]?(e.datepicker._hideDatepicker(),e.datepicker._showDatepicker(t[0])):e.datepicker._showDatepicker(t[0]),!1}))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,i,s,n,a=new Date(2009,11,20),o=this._get(e,"dateFormat");o.match(/[DM]/)&&(t=function(e){for(i=0,s=0,n=0;e.length>n;n++)e[n].length>i&&(i=e[n].length,s=n);return s},a.setMonth(t(this._get(e,o.match(/MM/)?"monthNames":"monthNamesShort"))),a.setDate(t(this._get(e,o.match(/DD/)?"dayNames":"dayNamesShort"))+20-a.getDay())),e.input.attr("size",this._formatDate(e,a).length)}},_inlineDatepicker:function(t,i){var s=e(t);s.hasClass(this.markerClassName)||(s.addClass(this.markerClassName).append(i.dpDiv),e.data(t,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(t),i.dpDiv.css("display","block"))},_dialogDatepicker:function(t,i,s,n,a){var o,h,l,u,d,c=this._dialogInst;return c||(this.uuid+=1,o="dp"+this.uuid,this._dialogInput=e("<input type='text' id='"+o+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.keydown(this._doKeyDown),e("body").append(this._dialogInput),c=this._dialogInst=this._newInst(this._dialogInput,!1),c.settings={},e.data(this._dialogInput[0],"datepicker",c)),r(c.settings,n||{}),i=i&&i.constructor===Date?this._formatDate(c,i):i,this._dialogInput.val(i),this._pos=a?a.length?a:[a.pageX,a.pageY]:null,this._pos||(h=document.documentElement.clientWidth,l=document.documentElement.clientHeight,u=document.documentElement.scrollLeft||document.body.scrollLeft,d=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[h/2-100+u,l/2-150+d]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),c.settings.onSelect=s,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),e.blockUI&&e.blockUI(this.dpDiv),e.data(this._dialogInput[0],"datepicker",c),this-},_destroyDatepicker:function(t){var i,s=e(t),n=e.data(t,"datepicker");s.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),e.removeData(t,"datepicker"),"input"===i?(n.append.remove(),n.trigger.remove(),s.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):("div"===i||"span"===i)&&s.removeClass(this.markerClassName).empty(),v===n&&(v=null))},_enableDatepicker:function(t){var i,s,n=e(t),a=e.data(t,"datepicker");n.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),"input"===i?(t.disabled=!1,a.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().removeClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var i,s,n=e(t),a=e.data(t,"datepicker");n.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),"input"===i?(t.disabled=!0,a.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().addClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;this._disabledInputs.length>t;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(t){try{return e.data(t,"datepicker")}catch(i){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,i,s){var n,a,o,h,l=this._getInst(t);return 2===arguments.length&&"string"==typeof i?"defaults"===i?e.extend({},e.datepicker._defaults):l?"all"===i?e.extend({},l.settings):this._get(l,i):null:(n=i||{},"string"==typeof i&&(n={},n[i]=s),l&&(this._curInst===l&&this._hideDatepicker(),a=this._getDateDatepicker(t,!0),o=this._getMinMaxDate(l,"min"),h=this._getMinMaxDate(l,"max"),r(l.settings,n),null!==o&&void 0!==n.dateFormat&&void 0===n.minDate&&(l.settings.minDate=this._formatDate(l,o)),null!==h&&void 0!==n.dateFormat&&void 0===n.maxDate&&(l.settings.maxDate=this._formatDate(l,h)),"disabled"in n&&(n.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(e(t),l),this._autoSize(l),this._setDate(l,a),this._updateAlternate(l),this._updateDatepicker(l)),void 0)},_changeDatepicker:function(e,t,i){this._optionDatepicker(e,t,i)},_refreshDatepicker:function(e){var t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var i=this._getInst(e);i&&(this._setDate(i,t),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(e,t){var i=this._getInst(e);return i&&!i.inline&&this._setDateFromField(i,t),i?this._getDate(i):null},_doKeyDown:function(t){var i,s,n,a=e.datepicker._getInst(t.target),o=!0,r=a.dpDiv.is(".ui-datepicker-rtl");if(a._keyEvent=!0,e.datepicker._datepickerShowing)switch(t.keyCode){case 9:e.datepicker._hideDatepicker(),o=!1;break;case 13:return n=e("td."+e.datepicker._dayOverClass+":not(."+e.datepicker._currentClass+")",a.dpDiv),n[0]&&e.datepicker._selectDay(t.target,a.selectedMonth,a.selectedYear,n[0]),i=e.datepicker._get(a,"onSelect"),i?(s=e.datepicker._formatDate(a),i.apply(a.input?a.input[0]:null,[s,a])):e.datepicker._hideDatepicker(),!1;case 27:e.datepicker._hideDatepicker();break;case 33:e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(a,"stepBigMonths"):-e.datepicker._get(a,"stepMonths"),"M");break;case 34:e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(a,"stepBigMonths"):+e.datepicker._get(a,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&e.datepicker._clearDate(t.target),o=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&e.datepicker._gotoToday(t.target),o=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,r?1:-1,"D"),o=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(a,"stepBigMonths"):-e.datepicker._get(a,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,-7,"D"),o=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,r?-1:1,"D"),o=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(a,"stepBigMonths"):+e.datepicker._get(a,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,7,"D"),o=t.ctrlKey||t.metaKey;break;default:o=!1}else 36===t.keyCode&&t.ctrlKey?e.datepicker._showDatepicker(this):o=!1;o&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var i,s,n=e.datepicker._getInst(t.target);return e.datepicker._get(n,"constrainInput")?(i=e.datepicker._possibleChars(e.datepicker._get(n,"dateFormat")),s=String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||" ">s||!i||i.indexOf(s)>-1):void 0},_doKeyUp:function(t){var i,s=e.datepicker._getInst(t.target);if(s.input.val()!==s.lastVal)try{i=e.datepicker.parseDate(e.datepicker._get(s,"dateFormat"),s.input?s.input.val():null,e.datepicker._getFormatConfig(s)),i&&(e.datepicker._setDateFromField(s),e.datepicker._updateAlternate(s),e.datepicker._updateDatepicker(s))}catch(n){}return!0},_showDatepicker:function(t){if(t=t.target||t,"input"!==t.nodeName.toLowerCase()&&(t=e("input",t.parentNode)[0]),!e.datepicker._isDisabledDatepicker(t)&&e.datepicker._lastInput!==t){var i,n,a,o,h,l,u;i=e.datepicker._getInst(t),e.datepicker._curInst&&e.datepicker._curInst!==i&&(e.datepicker._curInst.dpDiv.stop(!0,!0),i&&e.datepicker._datepickerShowing&&e.datepicker._hideDatepicker(e.datepicker._curInst.input[0])),n=e.datepicker._get(i,"beforeShow"),a=n?n.apply(t,[t,i]):{},a!==!1&&(r(i.settings,a),i.lastVal=null,e.datepicker._lastInput=t,e.datepicker._setDateFromField(i),e.datepicker._inDialog&&(t.value=""),e.datepicker._pos||(e.datepicker._pos=e.datepicker._findPos(t),e.datepicker._pos[1]+=t.offsetHeight),o=!1,e(t).parents().each(function(){return o|="fixed"===e(this).css("position"),!o}),h={left:e.datepicker._pos[0],top:e.datepicker._pos[1]},e.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),e.datepicker._updateDatepicker(i),h=e.datepicker._checkOffset(i,h,o),i.dpDiv.css({position:e.datepicker._inDialog&&e.blockUI?"static":o?"fixed":"absolute",display:"none",left:h.left+"px",top:h.top+"px"}),i.inline||(l=e.datepicker._get(i,"showAnim"),u=e.datepicker._get(i,"duration"),i.dpDiv.css("z-index",s(e(t))+1),e.datepicker._datepickerShowing=!0,e.effects&&e.effects.effect[l]?i.dpDiv.show(l,e.datepicker._get(i,"showOptions"),u):i.dpDiv[l||"show"](l?u:null),e.datepicker._shouldFocusInput(i)&&i.input.focus(),e.datepicker._curInst=i))}},_updateDatepicker:function(t){this.maxRows=4,v=t,t.dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t);var i,s=this._getNumberOfMonths(t),n=s[1],a=17,r=t.dpDiv.find("."+this._dayOverClass+" a");r.length>0&&o.apply(r.get(0)),t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),n>1&&t.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",a*n+"em"),t.dpDiv[(1!==s[0]||1!==s[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===e.datepicker._curInst&&e.datepicker._datepickerShowing&&e.datepicker._shouldFocusInput(t)&&t.input.focus(),t.yearshtml&&(i=t.yearshtml,setTimeout(function(){i===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),i=t.yearshtml=null},0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(t,i,s){var n=t.dpDiv.outerWidth(),a=t.dpDiv.outerHeight(),o=t.input?t.input.outerWidth():0,r=t.input?t.input.outerHeight():0,h=document.documentElement.clientWidth+(s?0:e(document).scrollLeft()),l=document.documentElement.clientHeight+(s?0:e(document).scrollTop());return i.left-=this._get(t,"isRTL")?n-o:0,i.left-=s&&i.left===t.input.offset().left?e(document).scrollLeft():0,i.top-=s&&i.top===t.input.offset().top+r?e(document).scrollTop():0,i.left-=Math.min(i.left,i.left+n>h&&h>n?Math.abs(i.left+n-h):0),i.top-=Math.min(i.top,i.top+a>l&&l>a?Math.abs(a+r):0),i},_findPos:function(t){for(var i,s=this._getInst(t),n=this._get(s,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||e.expr.filters.hidden(t));)t=t[n?"previousSibling":"nextSibling"];return i=e(t).offset(),[i.left,i.top]},_hideDatepicker:function(t){var i,s,n,a,o=this._curInst;!o||t&&o!==e.data(t,"datepicker")||this._datepickerShowing&&(i=this._get(o,"showAnim"),s=this._get(o,"duration"),n=function(){e.datepicker._tidyDialog(o)},e.effects&&(e.effects.effect[i]||e.effects[i])?o.dpDiv.hide(i,e.datepicker._get(o,"showOptions"),s,n):o.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?s:null,n),i||n(),this._datepickerShowing=!1,a=this._get(o,"onClose"),a&&a.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"}),e.blockUI&&(e.unblockUI(),e("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(e.datepicker._curInst){var i=e(t.target),s=e.datepicker._getInst(i[0]);(i[0].id!==e.datepicker._mainDivId&&0===i.parents("#"+e.datepicker._mainDivId).length&&!i.hasClass(e.datepicker.markerClassName)&&!i.closest("."+e.datepicker._triggerClass).length&&e.datepicker._datepickerShowing&&(!e.datepicker._inDialog||!e.blockUI)||i.hasClass(e.datepicker.markerClassName)&&e.datepicker._curInst!==s)&&e.datepicker._hideDatepicker()}},_adjustDate:function(t,i,s){var n=e(t),a=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustInstDate(a,i+("M"===s?this._get(a,"showCurrentAtPos"):0),s),this._updateDatepicker(a))},_gotoToday:function(t){var i,s=e(t),n=this._getInst(s[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear):(i=new Date,n.selectedDay=i.getDate(),n.drawMonth=n.selectedMonth=i.getMonth(),n.drawYear=n.selectedYear=i.getFullYear()),this._notifyChange(n),this._adjustDate(s)},_selectMonthYear:function(t,i,s){var n=e(t),a=this._getInst(n[0]);a["selected"+("M"===s?"Month":"Year")]=a["draw"+("M"===s?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(a),this._adjustDate(n)},_selectDay:function(t,i,s,n){var a,o=e(t);e(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(o[0])||(a=this._getInst(o[0]),a.selectedDay=a.currentDay=e("a",n).html(),a.selectedMonth=a.currentMonth=i,a.selectedYear=a.currentYear=s,this._selectDate(t,this._formatDate(a,a.currentDay,a.currentMonth,a.currentYear)))},_clearDate:function(t){var i=e(t);this._selectDate(i,"")},_selectDate:function(t,i){var s,n=e(t),a=this._getInst(n[0]);i=null!=i?i:this._formatDate(a),a.input&&a.input.val(i),this._updateAlternate(a),s=this._get(a,"onSelect"),s?s.apply(a.input?a.input[0]:null,[i,a]):a.input&&a.input.trigger("change"),a.inline?this._updateDatepicker(a):(this._hideDatepicker(),this._lastInput=a.input[0],"object"!=typeof a.input[0]&&a.input.focus(),this._lastInput=null)},_updateAlternate:function(t){var i,s,n,a=this._get(t,"altField");a&&(i=this._get(t,"altFormat")||this._get(t,"dateFormat"),s=this._getDate(t),n=this.formatDate(i,s,this._getFormatConfig(t)),e(a).each(function(){e(this).val(n)}))},noWeekends:function(e){var t=e.getDay();return[t>0&&6>t,""]},iso8601Week:function(e){var t,i=new Date(e.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),t=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((t-i)/864e5)/7)+1},parseDate:function(t,i,s){if(null==t||null==i)throw"Invalid arguments";if(i="object"==typeof i?""+i:i+"",""===i)return null;var n,a,o,r,h=0,l=(s?s.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof l?l:(new Date).getFullYear()%100+parseInt(l,10),d=(s?s.dayNamesShort:null)||this._defaults.dayNamesShort,c=(s?s.dayNames:null)||this._defaults.dayNames,p=(s?s.monthNamesShort:null)||this._defaults.monthNamesShort,f=(s?s.monthNames:null)||this._defaults.monthNames,m=-1,g=-1,v=-1,y=-1,b=!1,_=function(e){var i=t.length>n+1&&t.charAt(n+1)===e;return i&&n++,i},x=function(e){var t=_(e),s="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,n="y"===e?s:1,a=RegExp("^\\d{"+n+","+s+"}"),o=i.substring(h).match(a);if(!o)throw"Missing number at position "+h;return h+=o[0].length,parseInt(o[0],10)},w=function(t,s,n){var a=-1,o=e.map(_(t)?n:s,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});if(e.each(o,function(e,t){var s=t[1];return i.substr(h,s.length).toLowerCase()===s.toLowerCase()?(a=t[0],h+=s.length,!1):void 0}),-1!==a)return a+1;throw"Unknown name at position "+h},k=function(){if(i.charAt(h)!==t.charAt(n))throw"Unexpected literal at position "+h;h++};for(n=0;t.length>n;n++)if(b)"'"!==t.charAt(n)||_("'")?k():b=!1;else switch(t.charAt(n)){case"d":v=x("d");break;case"D":w("D",d,c);break;case"o":y=x("o");break;case"m":g=x("m");break;case"M":g=w("M",p,f);break;case"y":m=x("y");break;case"@":r=new Date(x("@")),m=r.getFullYear(),g=r.getMonth()+1,v=r.getDate();break;case"!":r=new Date((x("!")-this._ticksTo1970)/1e4),m=r.getFullYear(),g=r.getMonth()+1,v=r.getDate();break;case"'":_("'")?k():b=!0;break;default:k()}if(i.length>h&&(o=i.substr(h),!/^\s+/.test(o)))throw"Extra/unparsed characters found in date: "+o;if(-1===m?m=(new Date).getFullYear():100>m&&(m+=(new Date).getFullYear()-(new Date).getFullYear()%100+(u>=m?0:-100)),y>-1)for(g=1,v=y;;){if(a=this._getDaysInMonth(m,g-1),a>=v)break;g++,v-=a}if(r=this._daylightSavingAdjust(new Date(m,g-1,v)),r.getFullYear()!==m||r.getMonth()+1!==g||r.getDate()!==v)throw"Invalid date";return r},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:1e7*60*60*24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(e,t,i){if(!t)return"";var s,n=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,a=(i?i.dayNames:null)||this._defaults.dayNames,o=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,r=(i?i.monthNames:null)||this._defaults.monthNames,h=function(t){var i=e.length>s+1&&e.charAt(s+1)===t;return i&&s++,i},l=function(e,t,i){var s=""+t;if(h(e))for(;i>s.length;)s="0"+s;return s},u=function(e,t,i,s){return h(e)?s[t]:i[t]},d="",c=!1;if(t)for(s=0;e.length>s;s++)if(c)"'"!==e.charAt(s)||h("'")?d+=e.charAt(s):c=!1;else switch(e.charAt(s)){case"d":d+=l("d",t.getDate(),2);break;case"D":d+=u("D",t.getDay(),n,a);break;case"o":d+=l("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":d+=l("m",t.getMonth()+1,2);break;case"M":d+=u("M",t.getMonth(),o,r);break;case"y":d+=h("y")?t.getFullYear():(10>t.getYear()%100?"0":"")+t.getYear()%100;break;case"@":d+=t.getTime();break;case"!":d+=1e4*t.getTime()+this._ticksTo1970;break;case"'":h("'")?d+="'":c=!0;break;default:d+=e.charAt(s)}return d},_possibleChars:function(e){var t,i="",s=!1,n=function(i){var s=e.length>t+1&&e.charAt(t+1)===i;return s&&t++,s};for(t=0;e.length>t;t++)if(s)"'"!==e.charAt(t)||n("'")?i+=e.charAt(t):s=!1;else switch(e.charAt(t)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":n("'")?i+="'":s=!0;break;default:i+=e.charAt(t)}return i},_get:function(e,t){return void 0!==e.settings[t]?e.settings[t]:this._defaults[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var i=this._get(e,"dateFormat"),s=e.lastVal=e.input?e.input.val():null,n=this._getDefaultDate(e),a=n,o=this._getFormatConfig(e);try{a=this.parseDate(i,s,o)||n}catch(r){s=t?"":s}e.selectedDay=a.getDate(),e.drawMonth=e.selectedMonth=a.getMonth(),e.drawYear=e.selectedYear=a.getFullYear(),e.currentDay=s?a.getDate():0,e.currentMonth=s?a.getMonth():0,e.currentYear=s?a.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(t,i,s){var n=function(e){var t=new Date;return t.setDate(t.getDate()+e),t},a=function(i){try{return e.datepicker.parseDate(e.datepicker._get(t,"dateFormat"),i,e.datepicker._getFormatConfig(t))}catch(s){}for(var n=(i.toLowerCase().match(/^c/)?e.datepicker._getDate(t):null)||new Date,a=n.getFullYear(),o=n.getMonth(),r=n.getDate(),h=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=h.exec(i);l;){switch(l[2]||"d"){case"d":case"D":r+=parseInt(l[1],10);break;case"w":case"W":r+=7*parseInt(l[1],10);break;case"m":case"M":o+=parseInt(l[1],10),r=Math.min(r,e.datepicker._getDaysInMonth(a,o));break;case"y":case"Y":a+=parseInt(l[1],10),r=Math.min(r,e.datepicker._getDaysInMonth(a,o))}l=h.exec(i)}return new Date(a,o,r)},o=null==i||""===i?s:"string"==typeof i?a(i):"number"==typeof i?isNaN(i)?s:n(i):new Date(i.getTime());return o=o&&"Invalid Date"==""+o?s:o,o&&(o.setHours(0),o.setMinutes(0),o.setSeconds(0),o.setMilliseconds(0)),this._daylightSavingAdjust(o)},_daylightSavingAdjust:function(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null},_setDate:function(e,t,i){var s=!t,n=e.selectedMonth,a=e.selectedYear,o=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=o.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=o.getMonth(),e.drawYear=e.selectedYear=e.currentYear=o.getFullYear(),n===e.selectedMonth&&a===e.selectedYear||i||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(s?"":this._formatDate(e))},_getDate:function(e){var t=!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return t},_attachHandlers:function(t){var i=this._get(t,"stepMonths"),s="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){e.datepicker._adjustDate(s,-i,"M")},next:function(){e.datepicker._adjustDate(s,+i,"M")},hide:function(){e.datepicker._hideDatepicker()},today:function(){e.datepicker._gotoToday(s)},selectDay:function(){return e.datepicker._selectDay(s,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return e.datepicker._selectMonthYear(s,this,"M"),!1},selectYear:function(){return e.datepicker._selectMonthYear(s,this,"Y"),!1}};e(this).bind(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,i,s,n,a,o,r,h,l,u,d,c,p,f,m,g,v,y,b,_,x,w,k,T,D,S,M,C,N,A,P,I,H,z,F,E,O,j,W,L=new Date,R=this._daylightSavingAdjust(new Date(L.getFullYear(),L.getMonth(),L.getDate())),Y=this._get(e,"isRTL"),B=this._get(e,"showButtonPanel"),J=this._get(e,"hideIfNoPrevNext"),q=this._get(e,"navigationAsDateFormat"),K=this._getNumberOfMonths(e),V=this._get(e,"showCurrentAtPos"),U=this._get(e,"stepMonths"),Q=1!==K[0]||1!==K[1],G=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),X=this._getMinMaxDate(e,"min"),$=this._getMinMaxDate(e,"max"),Z=e.drawMonth-V,et=e.drawYear;if(0>Z&&(Z+=12,et--),$)for(t=this._daylightSavingAdjust(new Date($.getFullYear(),$.getMonth()-K[0]*K[1]+1,$.getDate())),t=X&&X>t?X:t;this._daylightSavingAdjust(new Date(et,Z,1))>t;)Z--,0>Z&&(Z=11,et--);for(e.drawMonth=Z,e.drawYear=et,i=this._get(e,"prevText"),i=q?this.formatDate(i,this._daylightSavingAdjust(new Date(et,Z-U,1)),this._getFormatConfig(e)):i,s=this._canAdjustMonth(e,-1,et,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-"+(Y?"e":"w")+"'>"+i+"</span></a>":J?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"e":"w")+"'>"+i+"</span></a>",n=this._get(e,"nextText"),n=q?this.formatDate(n,this._daylightSavingAdjust(new Date(et,Z+U,1)),this._getFormatConfig(e)):n,a=this._canAdjustMonth(e,1,et,Z)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")+"'>"+n+"</span></a>":J?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")+"'>"+n+"</span></a>",o=this._get(e,"currentText"),r=this._get(e,"gotoCurrent")&&e.currentDay?G:R,o=q?this.formatDate(o,r,this._getFormatConfig(e)):o,h=e.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(e,"closeText")+"</button>",l=B?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(Y?h:"")+(this._isInRange(e,r)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+o+"</button>":"")+(Y?"":h)+"</div>":"",u=parseInt(this._get(e,"firstDay"),10),u=isNaN(u)?0:u,d=this._get(e,"showWeek"),c=this._get(e,"dayNames"),p=this._get(e,"dayNamesMin"),f=this._get(e,"monthNames"),m=this._get(e,"monthNamesShort"),g=this._get(e,"beforeShowDay"),v=this._get(e,"showOtherMonths"),y=this._get(e,"selectOtherMonths"),b=this._getDefaultDate(e),_="",w=0;K[0]>w;w++){for(k="",this.maxRows=4,T=0;K[1]>T;T++){if(D=this._daylightSavingAdjust(new Date(et,Z,e.selectedDay)),S=" ui-corner-all",M="",Q){if(M+="<div class='ui-datepicker-group",K[1]>1)switch(T){case 0:M+=" ui-datepicker-group-first",S=" ui-corner-"+(Y?"right":"left");break;case K[1]-1:M+=" ui-datepicker-group-last",S=" ui-corner-"+(Y?"left":"right");break;default:M+=" ui-datepicker-group-middle",S=""}M+="'>"}for(M+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+S+"'>"+(/all|left/.test(S)&&0===w?Y?a:s:"")+(/all|right/.test(S)&&0===w?Y?s:a:"")+this._generateMonthYearHeader(e,Z,et,X,$,w>0||T>0,f,m)+"</div><table class='ui-datepicker-calendar'><thead>"+"<tr>",C=d?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",x=0;7>x;x++)N=(x+u)%7,C+="<th scope='col'"+((x+u+6)%7>=5?" class='ui-datepicker-week-end'":"")+">"+"<span title='"+c[N]+"'>"+p[N]+"</span></th>";for(M+=C+"</tr></thead><tbody>",A=this._getDaysInMonth(et,Z),et===e.selectedYear&&Z===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,A)),P=(this._getFirstDayOfMonth(et,Z)-u+7)%7,I=Math.ceil((P+A)/7),H=Q?this.maxRows>I?this.maxRows:I:I,this.maxRows=H,z=this._daylightSavingAdjust(new Date(et,Z,1-P)),F=0;H>F;F++){for(M+="<tr>",E=d?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(z)+"</td>":"",x=0;7>x;x++)O=g?g.apply(e.input?e.input[0]:null,[z]):[!0,""],j=z.getMonth()!==Z,W=j&&!y||!O[0]||X&&X>z||$&&z>$,E+="<td class='"+((x+u+6)%7>=5?" ui-datepicker-week-end":"")+(j?" ui-datepicker-other-month":"")+(z.getTime()===D.getTime()&&Z===e.selectedMonth&&e._keyEvent||b.getTime()===z.getTime()&&b.getTime()===D.getTime()?" "+this._dayOverClass:"")+(W?" "+this._unselectableClass+" ui-state-disabled":"")+(j&&!v?"":" "+O[1]+(z.getTime()===G.getTime()?" "+this._currentClass:"")+(z.getTime()===R.getTime()?" ui-datepicker-today":""))+"'"+(j&&!v||!O[2]?"":" title='"+O[2].replace(/'/g,"'")+"'")+(W?"":" data-handler='selectDay' data-event='click' data-month='"+z.getMonth()+"' data-year='"+z.getFullYear()+"'")+">"+(j&&!v?" ":W?"<span class='ui-state-default'>"+z.getDate()+"</span>":"<a class='ui-state-default"+(z.getTime()===R.getTime()?" ui-state-highlight":"")+(z.getTime()===G.getTime()?" ui-state-active":"")+(j?" ui-priority-secondary":"")+"' href='#'>"+z.getDate()+"</a>")+"</td>",z.setDate(z.getDate()+1),z=this._daylightSavingAdjust(z);M+=E+"</tr>"}Z++,Z>11&&(Z=0,et++),M+="</tbody></table>"+(Q?"</div>"+(K[0]>0&&T===K[1]-1?"<div class='ui-datepicker-row-break'></div>":""):""),k+=M}_+=k}return _+=l,e._keyEvent=!1,_},_generateMonthYearHeader:function(e,t,i,s,n,a,o,r){var h,l,u,d,c,p,f,m,g=this._get(e,"changeMonth"),v=this._get(e,"changeYear"),y=this._get(e,"showMonthAfterYear"),b="<div class='ui-datepicker-title'>",_="";if(a||!g)_+="<span class='ui-datepicker-month'>"+o[t]+"</span>";else{for(h=s&&s.getFullYear()===i,l=n&&n.getFullYear()===i,_+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",u=0;12>u;u++)(!h||u>=s.getMonth())&&(!l||n.getMonth()>=u)&&(_+="<option value='"+u+"'"+(u===t?" selected='selected'":"")+">"+r[u]+"</option>");_+="</select>"}if(y||(b+=_+(!a&&g&&v?"":" ")),!e.yearshtml)if(e.yearshtml="",a||!v)b+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(d=this._get(e,"yearRange").split(":"),c=(new Date).getFullYear(),p=function(e){var t=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?c+parseInt(e,10):parseInt(e,10);return isNaN(t)?c:t},f=p(d[0]),m=Math.max(f,p(d[1]||"")),f=s?Math.max(f,s.getFullYear()):f,m=n?Math.min(m,n.getFullYear()):m,e.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";m>=f;f++)e.yearshtml+="<option value='"+f+"'"+(f===i?" selected='selected'":"")+">"+f+"</option>";e.yearshtml+="</select>",b+=e.yearshtml,e.yearshtml=null}return b+=this._get(e,"yearSuffix"),y&&(b+=(!a&&g&&v?"":" ")+_),b+="</div>"},_adjustInstDate:function(e,t,i){var s=e.drawYear+("Y"===i?t:0),n=e.drawMonth+("M"===i?t:0),a=Math.min(e.selectedDay,this._getDaysInMonth(s,n))+("D"===i?t:0),o=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(s,n,a)));e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),("M"===i||"Y"===i)&&this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),s=this._getMinMaxDate(e,"max"),n=i&&i>t?i:t;return s&&n>s?s:n},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,s){var n=this._getNumberOfMonths(e),a=this._daylightSavingAdjust(new Date(i,s+(0>t?t:n[0]*n[1]),1));return 0>t&&a.setDate(this._getDaysInMonth(a.getFullYear(),a.getMonth())),this._isInRange(e,a)},_isInRange:function(e,t){var i,s,n=this._getMinMaxDate(e,"min"),a=this._getMinMaxDate(e,"max"),o=null,r=null,h=this._get(e,"yearRange");return h&&(i=h.split(":"),s=(new Date).getFullYear(),o=parseInt(i[0],10),r=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(o+=s),i[1].match(/[+\-].*/)&&(r+=s)),(!n||t.getTime()>=n.getTime())&&(!a||t.getTime()<=a.getTime())&&(!o||t.getFullYear()>=o)&&(!r||r>=t.getFullYear())},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),{shortYearCutoff:t,dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,s){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var n=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(s,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),n,this._getFormatConfig(e))}}),e.fn.datepicker=function(t){if(!this.length)return this;e.datepicker.initialized||(e(document).mousedown(e.datepicker._checkExternalClick),e.datepicker.initialized=!0),0===e("#"+e.datepicker._mainDivId).length&&e("body").append(e.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 arguments[1]?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof t?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this].concat(i)):e.datepicker._attachDatepicker(this,t)}):e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i))},e.datepicker=new n,e.datepicker.initialized=!1,e.datepicker.uuid=(new Date).getTime(),e.datepicker.version="1.11.4",e.datepicker,e.widget("ui.dialog",{version:"1.11.4",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 i=e(this).css(t).offset().top;0>i&&e(this).css("top",t.top-i)}},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},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_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&&e.fn.draggable&&this._makeDraggable(),this.options.resizable&&e.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var t=this.options.appendTo;return t&&(t.jquery||t.nodeType)?e(t):this.document.find(t||"body").eq(0)},_destroy:function(){var e,t=this.originalPosition;this._untrackInstance(),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),e=t.parent.children().eq(t.index),e.length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},disable:e.noop,enable:e.noop,close:function(t){var i,s=this;if(this._isOpen&&this._trigger("beforeClose",t)!==!1){if(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),!this.opener.filter(":focusable").focus().length)try{i=this.document[0].activeElement,i&&"body"!==i.nodeName.toLowerCase()&&e(i).blur()}catch(n){}this._hide(this.uiDialog,this.options.hide,function(){s._trigger("close",t)})}},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,i){var s=!1,n=this.uiDialog.siblings(".ui-front:visible").map(function(){return+e(this).css("z-index")}).get(),a=Math.max.apply(null,n);return a>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",a+1),s=!0),s&&!i&&this._trigger("focus",t),s},open:function(){var t=this;-return this._isOpen?(this._moveToTop()&&this._focusTabbable(),void 0):(this._isOpen=!0,this.opener=e(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){t._focusTabbable(),t._trigger("focus")}),this._makeFocusTarget(),this._trigger("open"),void 0)},_focusTabbable:function(){var e=this._focusedElement;e||(e=this.element.find("[autofocus]")),e.length||(e=this.element.find(":tabbable")),e.length||(e=this.uiDialogButtonPane.find(":tabbable")),e.length||(e=this.uiDialogTitlebarClose.filter(":tabbable")),e.length||(e=this.uiDialog),e.eq(0).focus()},_keepFocus:function(t){function i(){var t=this.document[0].activeElement,i=this.uiDialog[0]===t||e.contains(this.uiDialog[0],t);i||this._focusTabbable()}t.preventDefault(),i.call(this),this._delay(i)},_createWrapper:function(){this.uiDialog=e("<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===e.ui.keyCode.ESCAPE)return t.preventDefault(),this.close(t),void 0;if(t.keyCode===e.ui.keyCode.TAB&&!t.isDefaultPrevented()){var i=this.uiDialog.find(":tabbable"),s=i.filter(":first"),n=i.filter(":last");t.target!==n[0]&&t.target!==this.uiDialog[0]||t.shiftKey?t.target!==s[0]&&t.target!==this.uiDialog[0]||!t.shiftKey||(this._delay(function(){n.focus()}),t.preventDefault()):(this._delay(function(){s.focus()}),t.preventDefault())}},mousedown:function(e){this._moveToTop(e)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var t;this.uiDialogTitlebar=e("<div>").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedown:function(t){e(t.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.focus()}}),this.uiDialogTitlebarClose=e("<button type='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(e){e.preventDefault(),this.close(e)}}),t=e("<span>").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar),this._title(t),this.uiDialog.attr({"aria-labelledby":t.attr("id")})},_title:function(e){this.options.title||e.html(" "),e.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=e("<div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),this.uiButtonSet=e("<div>").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane),this._createButtons()},_createButtons:function(){var t=this,i=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),e.isEmptyObject(i)||e.isArray(i)&&!i.length?(this.uiDialog.removeClass("ui-dialog-buttons"),void 0):(e.each(i,function(i,s){var n,a;s=e.isFunction(s)?{click:s,text:i}:s,s=e.extend({type:"button"},s),n=s.click,s.click=function(){n.apply(t.element[0],arguments)},a={icons:s.icons,text:s.showText},delete s.icons,delete s.showText,e("<button></button>",s).button(a).appendTo(t.uiButtonSet)}),this.uiDialog.addClass("ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog),void 0)},_makeDraggable:function(){function t(e){return{position:e.position,offset:e.offset}}var i=this,s=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(s,n){e(this).addClass("ui-dialog-dragging"),i._blockFrames(),i._trigger("dragStart",s,t(n))},drag:function(e,s){i._trigger("drag",e,t(s))},stop:function(n,a){var o=a.offset.left-i.document.scrollLeft(),r=a.offset.top-i.document.scrollTop();s.position={my:"left top",at:"left"+(o>=0?"+":"")+o+" "+"top"+(r>=0?"+":"")+r,of:i.window},e(this).removeClass("ui-dialog-dragging"),i._unblockFrames(),i._trigger("dragStop",n,t(a))}})},_makeResizable:function(){function t(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}var i=this,s=this.options,n=s.resizable,a=this.uiDialog.css("position"),o="string"==typeof n?n:"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(s,n){e(this).addClass("ui-dialog-resizing"),i._blockFrames(),i._trigger("resizeStart",s,t(n))},resize:function(e,s){i._trigger("resize",e,t(s))},stop:function(n,a){var o=i.uiDialog.offset(),r=o.left-i.document.scrollLeft(),h=o.top-i.document.scrollTop();s.height=i.uiDialog.height(),s.width=i.uiDialog.width(),s.position={my:"left top",at:"left"+(r>=0?"+":"")+r+" "+"top"+(h>=0?"+":"")+h,of:i.window},e(this).removeClass("ui-dialog-resizing"),i._unblockFrames(),i._trigger("resizeStop",n,t(a))}}).css("position",a)},_trackFocus:function(){this._on(this.widget(),{focusin:function(t){this._makeFocusTarget(),this._focusedElement=e(t.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var t=this._trackingInstances(),i=e.inArray(this,t);-1!==i&&t.splice(i,1)},_trackingInstances:function(){var e=this.document.data("ui-dialog-instances");return e||(e=[],this.document.data("ui-dialog-instances",e)),e},_minHeight:function(){var e=this.options;return"auto"===e.height?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(){var e=this.uiDialog.is(":visible");e||this.uiDialog.show(),this.uiDialog.position(this.options.position),e||this.uiDialog.hide()},_setOptions:function(t){var i=this,s=!1,n={};e.each(t,function(e,t){i._setOption(e,t),e in i.sizeRelatedOptions&&(s=!0),e in i.resizableRelatedOptions&&(n[e]=t)}),s&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",n)},_setOption:function(e,t){var i,s,n=this.uiDialog;"dialogClass"===e&&n.removeClass(this.options.dialogClass).addClass(t),"disabled"!==e&&(this._super(e,t),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:""+t}),"draggable"===e&&(i=n.is(":data(ui-draggable)"),i&&!t&&n.draggable("destroy"),!i&&t&&this._makeDraggable()),"position"===e&&this._position(),"resizable"===e&&(s=n.is(":data(ui-resizable)"),s&&!t&&n.resizable("destroy"),s&&"string"==typeof t&&n.resizable("option","handles",t),s||t===!1||this._makeResizable()),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var e,t,i,s=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),s.minWidth>s.width&&(s.width=s.minWidth),e=this.uiDialog.css({height:"auto",width:s.width}).outerHeight(),t=Math.max(0,s.minHeight-e),i="number"==typeof s.maxHeight?Math.max(0,s.maxHeight-e):"none","auto"===s.height?this.element.css({minHeight:t,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,s.height-e)),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=e(this);return e("<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 e(t.target).closest(".ui-dialog").length?!0:!!e(t.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var t=!0;this._delay(function(){t=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(e){t||this._allowInteraction(e)||(e.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=e("<div>").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var e=this.document.data("ui-dialog-overlays")-1;e?this.document.data("ui-dialog-overlays",e):this.document.unbind("focusin").removeData("ui-dialog-overlays"),this.overlay.remove(),this.overlay=null}}}),e.widget("ui.progressbar",{version:"1.11.4",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=e("<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(e){return void 0===e?this.options.value:(this.options.value=this._constrainedValue(e),this._refreshValue(),void 0)},_constrainedValue:function(e){return void 0===e&&(e=this.options.value),this.indeterminate=e===!1,"number"!=typeof e&&(e=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,e))},_setOptions:function(e){var t=e.value;delete e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refreshValue()},_setOption:function(e,t){"max"===e&&(t=Math.max(this.min,t)),"disabled"===e&&this.element.toggleClass("ui-state-disabled",!!t).attr("aria-disabled",t),this._super(e,t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var t=this.options.value,i=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).toggleClass("ui-corner-right",t===this.options.max).width(i.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=e("<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")}}),e.widget("ui.selectmenu",{version:"1.11.4",defaultElement:"<select>",options:{appendTo:null,disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:null,change:null,close:null,focus:null,open:null,select:null},_create:function(){var e=this.element.uniqueId().attr("id");this.ids={element:e,button:e+"-button",menu:e+"-menu"},this._drawButton(),this._drawMenu(),this.options.disabled&&this.disable()},_drawButton:function(){var t=this;this.label=e("label[for='"+this.ids.element+"']").attr("for",this.ids.button),this._on(this.label,{click:function(e){this.button.focus(),e.preventDefault()}}),this.element.hide(),this.button=e("<span>",{"class":"ui-selectmenu-button ui-widget ui-state-default ui-corner-all",tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true"}).insertAfter(this.element),e("<span>",{"class":"ui-icon "+this.options.icons.button}).prependTo(this.button),this.buttonText=e("<span>",{"class":"ui-selectmenu-text"}).appendTo(this.button),this._setText(this.buttonText,this.element.find("option:selected").text()),this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){t.menuItems||t._refreshMenu()}),this._hoverable(this.button),this._focusable(this.button)},_drawMenu:function(){var t=this;this.menu=e("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=e("<div>",{"class":"ui-selectmenu-menu ui-front"}).append(this.menu).appendTo(this._appendTo()),this.menuInstance=this.menu.menu({role:"listbox",select:function(e,i){e.preventDefault(),t._setSelection(),t._select(i.item.data("ui-selectmenu-item"),e)},focus:function(e,i){var s=i.item.data("ui-selectmenu-item");null!=t.focusIndex&&s.index!==t.focusIndex&&(t._trigger("focus",e,{item:s}),t.isOpen||t._select(s,e)),t.focusIndex=s.index,t.button.attr("aria-activedescendant",t.menuItems.eq(s.index).attr("id"))}}).menu("instance"),this.menu.addClass("ui-corner-bottom").removeClass("ui-corner-all"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this._setText(this.buttonText,this._getSelectedItem().text()),this.options.width||this._resizeButton()},_refreshMenu:function(){this.menu.empty();var e,t=this.element.find("option");t.length&&(this._parseOptions(t),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup"),e=this._getSelectedItem(),this.menuInstance.focus(null,e),this._setAria(e.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(e){this.options.disabled||(this.menuItems?(this.menu.find(".ui-state-focus").removeClass("ui-state-focus"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",e))},_position:function(){this.menuWrap.position(e.extend({of:this.button},this.options.position))},close:function(e){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",e))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderMenu:function(t,i){var s=this,n="";e.each(i,function(i,a){a.optgroup!==n&&(e("<li>",{"class":"ui-selectmenu-optgroup ui-menu-divider"+(a.element.parent("optgroup").prop("disabled")?" ui-state-disabled":""),text:a.optgroup}).appendTo(t),n=a.optgroup),s._renderItemData(t,a)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-selectmenu-item",t)},_renderItem:function(t,i){var s=e("<li>");return i.disabled&&s.addClass("ui-state-disabled"),this._setText(s,i.label),s.appendTo(t)},_setText:function(e,t){t?e.text(t):e.html(" ")},_move:function(e,t){var i,s,n=".ui-menu-item";this.isOpen?i=this.menuItems.eq(this.focusIndex):(i=this.menuItems.eq(this.element[0].selectedIndex),n+=":not(.ui-state-disabled)"),s="first"===e||"last"===e?i["first"===e?"prevAll":"nextAll"](n).eq(-1):i[e+"All"](n).eq(0),s.length&&this.menuInstance.focus(t,s)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex)},_toggle:function(e){this[this.isOpen?"close":"open"](e)},_setSelection:function(){var e;this.range&&(window.getSelection?(e=window.getSelection(),e.removeAllRanges(),e.addRange(this.range)):this.range.select(),this.button.focus())},_documentClick:{mousedown:function(t){this.isOpen&&(e(t.target).closest(".ui-selectmenu-menu, #"+this.ids.button).length||this.close(t))}},_buttonEvents:{mousedown:function(){var e;window.getSelection?(e=window.getSelection(),e.rangeCount&&(this.range=e.getRangeAt(0))):this.range=document.selection.createRange()},click:function(e){this._setSelection(),this._toggle(e)},keydown:function(t){var i=!0;switch(t.keyCode){case e.ui.keyCode.TAB:case e.ui.keyCode.ESCAPE:this.close(t),i=!1;break;case e.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(t);break;case e.ui.keyCode.UP:t.altKey?this._toggle(t):this._move("prev",t);break;case e.ui.keyCode.DOWN:t.altKey?this._toggle(t):this._move("next",t);break;case e.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(t):this._toggle(t);break;case e.ui.keyCode.LEFT:this._move("prev",t);break;case e.ui.keyCode.RIGHT:this._move("next",t);break;case e.ui.keyCode.HOME:case e.ui.keyCode.PAGE_UP:this._move("first",t);break;case e.ui.keyCode.END:case e.ui.keyCode.PAGE_DOWN:this._move("last",t);break;default:this.menu.trigger(t),i=!1}i&&t.preventDefault()}},_selectFocusedItem:function(e){var t=this.menuItems.eq(this.focusIndex);t.hasClass("ui-state-disabled")||this._select(t.data("ui-selectmenu-item"),e)},_select:function(e,t){var i=this.element[0].selectedIndex;this.element[0].selectedIndex=e.index,this._setText(this.buttonText,e.label),this._setAria(e),this._trigger("select",t,{item:e}),e.index!==i&&this._trigger("change",t,{item:e}),this.close(t)},_setAria:function(e){var t=this.menuItems.eq(e.index).attr("id");this.button.attr({"aria-labelledby":t,"aria-activedescendant":t}),this.menu.attr("aria-activedescendant",t)},_setOption:function(e,t){"icons"===e&&this.button.find("span.ui-icon").removeClass(this.options.icons.button).addClass(t.button),this._super(e,t),"appendTo"===e&&this.menuWrap.appendTo(this._appendTo()),"disabled"===e&&(this.menuInstance.option("disabled",t),this.button.toggleClass("ui-state-disabled",t).attr("aria-disabled",t),this.element.prop("disabled",t),t?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)),"width"===e&&this._resizeButton()},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?e(t):this.document.find(t).eq(0)),t&&t[0]||(t=this.element.closest(".ui-front")),t.length||(t=this.document[0].body),t},_toggleAttr:function(){this.button.toggleClass("ui-corner-top",this.isOpen).toggleClass("ui-corner-all",!this.isOpen).attr("aria-expanded",this.isOpen),this.menuWrap.toggleClass("ui-selectmenu-open",this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var e=this.options.width;e||(e=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(e)},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){return{disabled:this.element.prop("disabled")}},_parseOptions:function(t){var i=[];t.each(function(t,s){var n=e(s),a=n.parent("optgroup");i.push({element:n,index:t,value:n.val(),label:n.text(),optgroup:a.attr("label")||"",disabled:a.prop("disabled")||n.prop("disabled")})}),this.items=i},_destroy:function(){this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.label.attr("for",this.ids.element)}}),e.widget("ui.slider",e.ui.mouse,{version:"1.11.4",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},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),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,i,s=this.options,n=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),a="<span class='ui-slider-handle ui-state-default ui-corner-all' tabindex='0'></span>",o=[];for(i=s.values&&s.values.length||1,n.length>i&&(n.slice(i).remove(),n=n.slice(0,i)),t=n.length;i>t;t++)o.push(a);this.handles=n.add(e(o.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(t){e(this).data("ui-slider-handle-index",t)})},_createRange:function(){var t=this.options,i="";t.range?(t.range===!0&&(t.values?t.values.length&&2!==t.values.length?t.values=[t.values[0],t.values[0]]:e.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=e("<div></div>").appendTo(this.element),i="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(i+("min"===t.range||"max"===t.range?" ui-slider-range-"+t.range:""))):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&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 i,s,n,a,o,r,h,l,u=this,d=this.options;return d.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:t.pageX,y:t.pageY},s=this._normValueFromMouse(i),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(t){var i=Math.abs(s-u.values(t));(n>i||n===i&&(t===u._lastChangedValue||u.values(t)===d.min))&&(n=i,a=e(this),o=t)}),r=this._start(t,o),r===!1?!1:(this._mouseSliding=!0,this._handleIndex=o,a.addClass("ui-state-active").focus(),h=a.offset(),l=!e(t.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:t.pageX-h.left-a.width()/2,top:t.pageY-h.top-a.height()/2-(parseInt(a.css("borderTopWidth"),10)||0)-(parseInt(a.css("borderBottomWidth"),10)||0)+(parseInt(a.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,o,s),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,i),!1},_mouseStop:function(e){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,i,s,n,a;return"horizontal"===this.orientation?(t=this.elementSize.width,i=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,i=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),s=i/t,s>1&&(s=1),0>s&&(s=0),"vertical"===this.orientation&&(s=1-s),n=this._valueMax()-this._valueMin(),a=this._valueMin()+s*n,this._trimAlignValue(a)},_start:function(e,t){var i={handle:this.handles[t],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._trigger("start",e,i)},_slide:function(e,t,i){var s,n,a;this.options.values&&this.options.values.length?(s=this.values(t?0:1),2===this.options.values.length&&this.options.range===!0&&(0===t&&i>s||1===t&&s>i)&&(i=s),i!==this.values(t)&&(n=this.values(),n[t]=i,a=this._trigger("slide",e,{handle:this.handles[t],value:i,values:n}),s=this.values(t?0:1),a!==!1&&this.values(t,i))):i!==this.value()&&(a=this._trigger("slide",e,{handle:this.handles[t],value:i}),a!==!1&&this.value(i))},_stop:function(e,t){var i={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._trigger("stop",e,i)},_change:function(e,t){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._lastChangedValue=t,this._trigger("change",e,i)}},value:function(e){return arguments.length?(this.options.value=this._trimAlignValue(e),this._refreshValue(),this._change(null,0),void 0):this._value()},values:function(t,i){var s,n,a;if(arguments.length>1)return this.options.values[t]=this._trimAlignValue(i),this._refreshValue(),this._change(null,t),void 0;if(!arguments.length)return this._values();if(!e.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(t):this.value();for(s=this.options.values,n=arguments[0],a=0;s.length>a;a+=1)s[a]=this._trimAlignValue(n[a]),this._change(null,a);this._refreshValue()},_setOption:function(t,i){var s,n=0;switch("range"===t&&this.options.range===!0&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),e.isArray(this.options.values)&&(n=this.options.values.length),"disabled"===t&&this.element.toggleClass("ui-state-disabled",!!i),this._super(t,i),t){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue(),this.handles.css("horizontal"===i?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),s=0;n>s;s+=1)this._change(null,s);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var e=this.options.value;return e=this._trimAlignValue(e)},_values:function(e){var t,i,s;if(arguments.length)return t=this.options.values[e],t=this._trimAlignValue(t);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(i[s]);return i}return[]},_trimAlignValue:function(e){if(this._valueMin()>=e)return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=this.options.step>0?this.options.step:1,i=(e-this._valueMin())%t,s=e-i;return 2*Math.abs(i)>=t&&(s+=i>0?t:-t),parseFloat(s.toFixed(5))},_calculateNewMax:function(){var e=this.options.max,t=this._valueMin(),i=this.options.step,s=Math.floor(+(e-t).toFixed(this._precision())/i)*i;e=s+t,this.max=parseFloat(e.toFixed(this._precision()))},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=""+e,i=t.indexOf(".");return-1===i?0:t.length-i-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshValue:function(){var t,i,s,n,a,o=this.options.range,r=this.options,h=this,l=this._animateOff?!1:r.animate,u={};this.options.values&&this.options.values.length?this.handles.each(function(s){i=100*((h.values(s)-h._valueMin())/(h._valueMax()-h._valueMin())),u["horizontal"===h.orientation?"left":"bottom"]=i+"%",e(this).stop(1,1)[l?"animate":"css"](u,r.animate),h.options.range===!0&&("horizontal"===h.orientation?(0===s&&h.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({width:i-t+"%"},{queue:!1,duration:r.animate})):(0===s&&h.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({height:i-t+"%"},{queue:!1,duration:r.animate}))),t=i}):(s=this.value(),n=this._valueMin(),a=this._valueMax(),i=a!==n?100*((s-n)/(a-n)):0,u["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](u,r.animate),"min"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},r.animate),"max"===o&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:r.animate}),"min"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},r.animate),"max"===o&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:r.animate}))},_handleEvents:{keydown:function(t){var i,s,n,a,o=e(t.target).data("ui-slider-handle-index");switch(t.keyCode){case e.ui.keyCode.HOME:case e.ui.keyCode.END:case e.ui.keyCode.PAGE_UP:case e.ui.keyCode.PAGE_DOWN:case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(t.preventDefault(),!this._keySliding&&(this._keySliding=!0,e(t.target).addClass("ui-state-active"),i=this._start(t,o),i===!1))return}switch(a=this.options.step,s=n=this.options.values&&this.options.values.length?this.values(o):this.value(),t.keyCode){case e.ui.keyCode.HOME:n=this._valueMin();break;case e.ui.keyCode.END:n=this._valueMax();break;case e.ui.keyCode.PAGE_UP:n=this._trimAlignValue(s+(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.PAGE_DOWN:n=this._trimAlignValue(s-(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:if(s===this._valueMax())return;n=this._trimAlignValue(s+a);break;case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(s===this._valueMin())return;n=this._trimAlignValue(s-a)}this._slide(t,o,n)},keyup:function(t){var i=e(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,i),this._change(t,i),e(t.target).removeClass("ui-state-active"))}}}),e.widget("ui.spinner",{version:"1.11.4",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._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 t={},i=this.element;return e.each(["min","max","step"],function(e,s){var n=i.attr(s);void 0!==n&&n.length&&(t[s]=n)}),t},_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(e){return this.cancelBlur?(delete this.cancelBlur,void 0):(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",e),void 0)},mousewheel:function(e,t){if(t){if(!this.spinning&&!this._start(e))return!1;this._spin((t>0?1:-1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(e)},100),e.preventDefault()}},"mousedown .ui-spinner-button":function(t){function i(){var e=this.element[0]===this.document[0].activeElement;e||(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s}))}var s;s=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),t.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),this._start(t)!==!1&&this._repeat(null,e(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){return e(t.currentTarget).hasClass("ui-state-active")?this._start(t)===!1?!1:(this._repeat(null,e(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t),void 0):void 0},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var e=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=e.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(.5*e.height())&&e.height()>0&&e.height(e.height()),this.options.disabled&&this.disable()-},_keydown:function(t){var i=this.options,s=e.ui.keyCode;switch(t.keyCode){case s.UP:return this._repeat(null,1,t),!0;case s.DOWN:return this._repeat(null,-1,t),!0;case s.PAGE_UP:return this._repeat(null,i.page,t),!0;case s.PAGE_DOWN:return this._repeat(null,-i.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+"'>▲</span>"+"</a>"+"<a class='ui-spinner-button ui-spinner-down ui-corner-br'>"+"<span class='ui-icon "+this.options.icons.down+"'>▼</span>"+"</a>"},_start:function(e){return this.spinning||this._trigger("start",e)!==!1?(this.counter||(this.counter=1),this.spinning=!0,!0):!1},_repeat:function(e,t,i){e=e||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,t,i)},e),this._spin(t*this.options.step,i)},_spin:function(e,t){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+e*this._increment(this.counter)),this.spinning&&this._trigger("spin",t,{value:i})===!1||(this._value(i),this.counter++)},_increment:function(t){var i=this.options.incremental;return i?e.isFunction(i)?i(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=""+e,i=t.indexOf(".");return-1===i?0:t.length-i-1},_adjustValue:function(e){var t,i,s=this.options;return t=null!==s.min?s.min:0,i=e-t,i=Math.round(i/s.step)*s.step,e=t+i,e=parseFloat(e.toFixed(this._precision())),null!==s.max&&e>s.max?s.max:null!==s.min&&s.min>e?s.min:e},_stop:function(e){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",e))},_setOption:function(e,t){if("culture"===e||"numberFormat"===e){var i=this._parse(this.element.val());return this.options[e]=t,this.element.val(this._format(i)),void 0}("max"===e||"min"===e||"step"===e)&&"string"==typeof t&&(t=this._parse(t)),"icons"===e&&(this.buttons.first().find(".ui-icon").removeClass(this.options.icons.up).addClass(t.up),this.buttons.last().find(".ui-icon").removeClass(this.options.icons.down).addClass(t.down)),this._super(e,t),"disabled"===e&&(this.widget().toggleClass("ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable"))},_setOptions:h(function(e){this._super(e)}),_parse:function(e){return"string"==typeof e&&""!==e&&(e=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(e,10,this.options.culture):+e),""===e||isNaN(e)?null:e},_format:function(e){return""===e?"":window.Globalize&&this.options.numberFormat?Globalize.format(e,this.options.numberFormat,this.options.culture):e},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var e=this.value();return null===e?!1:e===this._adjustValue(e)},_value:function(e,t){var i;""!==e&&(i=this._parse(e),null!==i&&(t||(i=this._adjustValue(i)),e=this._format(i))),this.element.val(e),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:h(function(e){this._stepUp(e)}),_stepUp:function(e){this._start()&&(this._spin((e||1)*this.options.step),this._stop())},stepDown:h(function(e){this._stepDown(e)}),_stepDown:function(e){this._start()&&(this._spin((e||1)*-this.options.step),this._stop())},pageUp:h(function(e){this._stepUp((e||1)*this.options.page)}),pageDown:h(function(e){this._stepDown((e||1)*this.options.page)}),value:function(e){return arguments.length?(h(this._value).call(this,e),void 0):this._parse(this.element.val())},widget:function(){return this.uiSpinner}}),e.widget("ui.tabs",{version:"1.11.4",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:function(){var e=/#.*$/;return function(t){var i,s;t=t.cloneNode(!1),i=t.href.replace(e,""),s=location.href.replace(e,"");try{i=decodeURIComponent(i)}catch(n){}try{s=decodeURIComponent(s)}catch(n){}return t.hash.length>1&&i===s}}(),_create:function(){var t=this,i=this.options;this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",i.collapsible),this._processTabs(),i.active=this._initialActive(),e.isArray(i.disabled)&&(i.disabled=e.unique(i.disabled.concat(e.map(this.tabs.filter(".ui-state-disabled"),function(e){return t.tabs.index(e)}))).sort()),this.active=this.options.active!==!1&&this.anchors.length?this._findActive(i.active):e(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var t=this.options.active,i=this.options.collapsible,s=location.hash.substring(1);return null===t&&(s&&this.tabs.each(function(i,n){return e(n).attr("aria-controls")===s?(t=i,!1):void 0}),null===t&&(t=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(null===t||-1===t)&&(t=this.tabs.length?0:!1)),t!==!1&&(t=this.tabs.index(this.tabs.eq(t)),-1===t&&(t=i?!1:0)),!i&&t===!1&&this.anchors.length&&(t=0),t},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):e()}},_tabKeydown:function(t){var i=e(this.document[0].activeElement).closest("li"),s=this.tabs.index(i),n=!0;if(!this._handlePageNav(t)){switch(t.keyCode){case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:s++;break;case e.ui.keyCode.UP:case e.ui.keyCode.LEFT:n=!1,s--;break;case e.ui.keyCode.END:s=this.anchors.length-1;break;case e.ui.keyCode.HOME:s=0;break;case e.ui.keyCode.SPACE:return t.preventDefault(),clearTimeout(this.activating),this._activate(s),void 0;case e.ui.keyCode.ENTER:return t.preventDefault(),clearTimeout(this.activating),this._activate(s===this.options.active?!1:s),void 0;default:return}t.preventDefault(),clearTimeout(this.activating),s=this._focusNextTab(s,n),t.ctrlKey||t.metaKey||(i.attr("aria-selected","false"),this.tabs.eq(s).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",s)},this.delay))}},_panelKeydown:function(t){this._handlePageNav(t)||t.ctrlKey&&t.keyCode===e.ui.keyCode.UP&&(t.preventDefault(),this.active.focus())},_handlePageNav:function(t){return t.altKey&&t.keyCode===e.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):t.altKey&&t.keyCode===e.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(t,i){function s(){return t>n&&(t=0),0>t&&(t=n),t}for(var n=this.tabs.length-1;-1!==e.inArray(s(),this.options.disabled);)t=i?t+1:t-1;return t},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).focus(),e},_setOption:function(e,t){return"active"===e?(this._activate(t),void 0):"disabled"===e?(this._setupDisabled(t),void 0):(this._super(e,t),"collapsible"===e&&(this.element.toggleClass("ui-tabs-collapsible",t),t||this.options.active!==!1||this._activate(0)),"event"===e&&this._setupEvents(t),"heightStyle"===e&&this._setupHeightStyle(t),void 0)},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t=this.options,i=this.tablist.children(":has(a[href])");t.disabled=e.map(i.filter(".ui-state-disabled"),function(e){return i.index(e)}),this._processTabs(),t.active!==!1&&this.anchors.length?this.active.length&&!e.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=e()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=e()),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","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var t=this,i=this.tabs,s=this.anchors,n=this.panels;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist").delegate("> li","mousedown"+this.eventNamespace,function(t){e(this).is(".ui-state-disabled")&&t.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){e(this).closest("li").is(".ui-state-disabled")&&this.blur()}),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 e("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=e(),this.anchors.each(function(i,s){var n,a,o,r=e(s).uniqueId().attr("id"),h=e(s).closest("li"),l=h.attr("aria-controls");t._isLocal(s)?(n=s.hash,o=n.substring(1),a=t.element.find(t._sanitizeSelector(n))):(o=h.attr("aria-controls")||e({}).uniqueId()[0].id,n="#"+o,a=t.element.find(n),a.length||(a=t._createPanel(o),a.insertAfter(t.panels[i-1]||t.tablist)),a.attr("aria-live","polite")),a.length&&(t.panels=t.panels.add(a)),l&&h.data("ui-tabs-aria-controls",l),h.attr({"aria-controls":o,"aria-labelledby":r}),a.attr("aria-labelledby",r)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel"),i&&(this._off(i.not(this.tabs)),this._off(s.not(this.anchors)),this._off(n.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol,ul").eq(0)},_createPanel:function(t){return e("<div>").attr("id",t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(t){e.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1);for(var i,s=0;i=this.tabs[s];s++)t===!0||-1!==e.inArray(s,t)?e(i).addClass("ui-state-disabled").attr("aria-disabled","true"):e(i).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=t},_setupEvents:function(t){var i={};t&&e.each(t.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(e){e.preventDefault()}}),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,s=this.element.parent();"fill"===t?(i=s.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var t=e(this),s=t.css("position");"absolute"!==s&&"fixed"!==s&&(i-=t.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=e(this).outerHeight(!0)}),this.panels.each(function(){e(this).height(Math.max(0,i-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.panels.each(function(){i=Math.max(i,e(this).height("").height())}).height(i))},_eventHandler:function(t){var i=this.options,s=this.active,n=e(t.currentTarget),a=n.closest("li"),o=a[0]===s[0],r=o&&i.collapsible,h=r?e():this._getPanelForTab(a),l=s.length?this._getPanelForTab(s):e(),u={oldTab:s,oldPanel:l,newTab:r?e():a,newPanel:h};t.preventDefault(),a.hasClass("ui-state-disabled")||a.hasClass("ui-tabs-loading")||this.running||o&&!i.collapsible||this._trigger("beforeActivate",t,u)===!1||(i.active=r?!1:this.tabs.index(a),this.active=o?e():a,this.xhr&&this.xhr.abort(),l.length||h.length||e.error("jQuery UI Tabs: Mismatching fragment identifier."),h.length&&this.load(this.tabs.index(a),t),this._toggle(t,u))},_toggle:function(t,i){function s(){a.running=!1,a._trigger("activate",t,i)}function n(){i.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),o.length&&a.options.show?a._show(o,a.options.show,s):(o.show(),s())}var a=this,o=i.newPanel,r=i.oldPanel;this.running=!0,r.length&&this.options.hide?this._hide(r,this.options.hide,function(){i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),n()}):(i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),r.hide(),n()),r.attr("aria-hidden","true"),i.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),o.length&&r.length?i.oldTab.attr("tabIndex",-1):o.length&&this.tabs.filter(function(){return 0===e(this).attr("tabIndex")}).attr("tabIndex",-1),o.attr("aria-hidden","false"),i.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(t){var i,s=this._findActive(t);s[0]!==this.active[0]&&(s.length||(s=this.active),i=s.find(".ui-tabs-anchor")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:e.noop}))},_findActive:function(t){return t===!1?e():this.tabs.eq(t)},_getIndex:function(e){return"string"==typeof e&&(e=this.anchors.index(this.anchors.filter("[href$='"+e+"']"))),e},_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.tablist.unbind(this.eventNamespace),this.tabs.add(this.panels).each(function(){e.data(this,"ui-tabs-destroy")?e(this).remove():e(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=e(this),i=t.data("ui-tabs-aria-controls");i?t.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):t.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(t){var i=this.options.disabled;i!==!1&&(void 0===t?i=!1:(t=this._getIndex(t),i=e.isArray(i)?e.map(i,function(e){return e!==t?e:null}):e.map(this.tabs,function(e,i){return i!==t?i:null})),this._setupDisabled(i))},disable:function(t){var i=this.options.disabled;if(i!==!0){if(void 0===t)i=!0;else{if(t=this._getIndex(t),-1!==e.inArray(t,i))return;i=e.isArray(i)?e.merge([t],i).sort():[t]}this._setupDisabled(i)}},load:function(t,i){t=this._getIndex(t);var s=this,n=this.tabs.eq(t),a=n.find(".ui-tabs-anchor"),o=this._getPanelForTab(n),r={tab:n,panel:o},h=function(e,t){"abort"===t&&s.panels.stop(!1,!0),n.removeClass("ui-tabs-loading"),o.removeAttr("aria-busy"),e===s.xhr&&delete s.xhr};this._isLocal(a[0])||(this.xhr=e.ajax(this._ajaxSettings(a,i,r)),this.xhr&&"canceled"!==this.xhr.statusText&&(n.addClass("ui-tabs-loading"),o.attr("aria-busy","true"),this.xhr.done(function(e,t,n){setTimeout(function(){o.html(e),s._trigger("load",i,r),h(n,t)},1)}).fail(function(e,t){setTimeout(function(){h(e,t)},1)})))},_ajaxSettings:function(t,i,s){var n=this;return{url:t.attr("href"),beforeSend:function(t,a){return n._trigger("beforeLoad",i,e.extend({jqXHR:t,ajaxSettings:a},s))}}},_getPanelForTab:function(t){var i=e(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}}),e.widget("ui.tooltip",{version:"1.11.4",options:{content:function(){var t=e(this).attr("title")||"";return e("<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},_addDescribedBy:function(t,i){var s=(t.attr("aria-describedby")||"").split(/\s+/);s.push(i),t.data("ui-tooltip-id",i).attr("aria-describedby",e.trim(s.join(" ")))},_removeDescribedBy:function(t){var i=t.data("ui-tooltip-id"),s=(t.attr("aria-describedby")||"").split(/\s+/),n=e.inArray(i,s);-1!==n&&s.splice(n,1),t.removeData("ui-tooltip-id"),s=e.trim(s.join(" ")),s?t.attr("aria-describedby",s):t.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable(),this.liveRegion=e("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).addClass("ui-helper-hidden-accessible").appendTo(this.document[0].body)},_setOption:function(t,i){var s=this;return"disabled"===t?(this[i?"_disable":"_enable"](),this.options[t]=i,void 0):(this._super(t,i),"content"===t&&e.each(this.tooltips,function(e,t){s._updateContent(t.element)}),void 0)},_disable:function(){var t=this;e.each(this.tooltips,function(i,s){var n=e.Event("blur");n.target=n.currentTarget=s.element[0],t.close(n,!0)}),this.element.find(this.options.items).addBack().each(function(){var t=e(this);t.is("[title]")&&t.data("ui-tooltip-title",t.attr("title")).removeAttr("title")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var t=e(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))})},open:function(t){var i=this,s=e(t?t.target:this.element).closest(this.options.items);s.length&&!s.data("ui-tooltip-id")&&(s.attr("title")&&s.data("ui-tooltip-title",s.attr("title")),s.data("ui-tooltip-open",!0),t&&"mouseover"===t.type&&s.parents().each(function(){var t,s=e(this);s.data("ui-tooltip-open")&&(t=e.Event("blur"),t.target=t.currentTarget=this,i.close(t,!0)),s.attr("title")&&(s.uniqueId(),i.parents[this.id]={element:this,title:s.attr("title")},s.attr("title",""))}),this._registerCloseHandlers(t,s),this._updateContent(s,t))},_updateContent:function(e,t){var i,s=this.options.content,n=this,a=t?t.type:null;return"string"==typeof s?this._open(t,e,s):(i=s.call(e[0],function(i){n._delay(function(){e.data("ui-tooltip-open")&&(t&&(t.type=a),this._open(t,e,i))})}),i&&this._open(t,e,i),void 0)},_open:function(t,i,s){function n(e){l.of=e,o.is(":hidden")||o.position(l)}var a,o,r,h,l=e.extend({},this.options.position);if(s){if(a=this._find(i))return a.tooltip.find(".ui-tooltip-content").html(s),void 0;i.is("[title]")&&(t&&"mouseover"===t.type?i.attr("title",""):i.removeAttr("title")),a=this._tooltip(i),o=a.tooltip,this._addDescribedBy(i,o.attr("id")),o.find(".ui-tooltip-content").html(s),this.liveRegion.children().hide(),s.clone?(h=s.clone(),h.removeAttr("id").find("[id]").removeAttr("id")):h=s,e("<div>").html(h).appendTo(this.liveRegion),this.options.track&&t&&/^mouse/.test(t.type)?(this._on(this.document,{mousemove:n}),n(t)):o.position(e.extend({of:i},this.options.position)),o.hide(),this._show(o,this.options.show),this.options.show&&this.options.show.delay&&(r=this.delayedShow=setInterval(function(){o.is(":visible")&&(n(l.of),clearInterval(r))},e.fx.interval)),this._trigger("open",t,{tooltip:o})}},_registerCloseHandlers:function(t,i){var s={keyup:function(t){if(t.keyCode===e.ui.keyCode.ESCAPE){var s=e.Event(t);s.currentTarget=i[0],this.close(s,!0)}}};i[0]!==this.element[0]&&(s.remove=function(){this._removeTooltip(this._find(i).tooltip)}),t&&"mouseover"!==t.type||(s.mouseleave="close"),t&&"focusin"!==t.type||(s.focusout="close"),this._on(!0,i,s)},close:function(t){var i,s=this,n=e(t?t.currentTarget:this.element),a=this._find(n);return a?(i=a.tooltip,a.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&!n.attr("title")&&n.attr("title",n.data("ui-tooltip-title")),this._removeDescribedBy(n),a.hiding=!0,i.stop(!0),this._hide(i,this.options.hide,function(){s._removeTooltip(e(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),t&&"mouseleave"===t.type&&e.each(this.parents,function(t,i){e(i.element).attr("title",i.title),delete s.parents[t]}),a.closing=!0,this._trigger("close",t,{tooltip:i}),a.hiding||(a.closing=!1)),void 0):(n.removeData("ui-tooltip-open"),void 0)},_tooltip:function(t){var i=e("<div>").attr("role","tooltip").addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||"")),s=i.uniqueId().attr("id");return e("<div>").addClass("ui-tooltip-content").appendTo(i),i.appendTo(this.document[0].body),this.tooltips[s]={element:t,tooltip:i}},_find:function(e){var t=e.data("ui-tooltip-id");return t?this.tooltips[t]:null},_removeTooltip:function(e){e.remove(),delete this.tooltips[e.attr("id")]},_destroy:function(){var t=this;e.each(this.tooltips,function(i,s){var n=e.Event("blur"),a=s.element;n.target=n.currentTarget=a[0],t.close(n,!0),e("#"+i).remove(),a.data("ui-tooltip-title")&&(a.attr("title")||a.attr("title",a.data("ui-tooltip-title")),a.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}});var y="ui-effects-",b=e;e.effects={effect:{}},function(e,t){function i(e,t,i){var s=d[t.type]||{};return null==e?i||!t.def?null:t.def:(e=s.floor?~~e:parseFloat(e),isNaN(e)?t.def:s.mod?(e+s.mod)%s.mod:0>e?0:e>s.max?s.max:e)}function s(i){var s=l(),n=s._rgba=[];return i=i.toLowerCase(),f(h,function(e,a){var o,r=a.re.exec(i),h=r&&a.parse(r),l=a.space||"rgba";return h?(o=s[l](h),s[u[l].cache]=o[u[l].cache],n=s._rgba=o._rgba,!1):t}),n.length?("0,0,0,0"===n.join()&&e.extend(n,a.transparent),s):a[i]}function n(e,t,i){return i=(i+1)%1,1>6*i?e+6*(t-e)*i:1>2*i?t:2>3*i?e+6*(t-e)*(2/3-i):e}var a,o="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",r=/^([\-+])=\s*(\d+\.?\d*)/,h=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],l=e.Color=function(t,i,s,n){return new e.Color.fn.parse(t,i,s,n)},u={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"}}}},d={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},c=l.support={},p=e("<p>")[0],f=e.each;p.style.cssText="background-color:rgba(1,1,1,.5)",c.rgba=p.style.backgroundColor.indexOf("rgba")>-1,f(u,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),l.fn=e.extend(l.prototype,{parse:function(n,o,r,h){if(n===t)return this._rgba=[null,null,null,null],this;(n.jquery||n.nodeType)&&(n=e(n).css(o),o=t);var d=this,c=e.type(n),p=this._rgba=[];return o!==t&&(n=[n,o,r,h],c="array"),"string"===c?this.parse(s(n)||a._default):"array"===c?(f(u.rgba.props,function(e,t){p[t.idx]=i(n[t.idx],t)}),this):"object"===c?(n instanceof l?f(u,function(e,t){n[t.cache]&&(d[t.cache]=n[t.cache].slice())}):f(u,function(t,s){var a=s.cache;f(s.props,function(e,t){if(!d[a]&&s.to){if("alpha"===e||null==n[e])return;d[a]=s.to(d._rgba)}d[a][t.idx]=i(n[e],t,!0)}),d[a]&&0>e.inArray(null,d[a].slice(0,3))&&(d[a][3]=1,s.from&&(d._rgba=s.from(d[a])))}),this):t},is:function(e){var i=l(e),s=!0,n=this;return f(u,function(e,a){var o,r=i[a.cache];return r&&(o=n[a.cache]||a.to&&a.to(n._rgba)||[],f(a.props,function(e,i){return null!=r[i.idx]?s=r[i.idx]===o[i.idx]:t})),s}),s},_space:function(){var e=[],t=this;return f(u,function(i,s){t[s.cache]&&e.push(i)}),e.pop()},transition:function(e,t){var s=l(e),n=s._space(),a=u[n],o=0===this.alpha()?l("transparent"):this,r=o[a.cache]||a.to(o._rgba),h=r.slice();return s=s[a.cache],f(a.props,function(e,n){var a=n.idx,o=r[a],l=s[a],u=d[n.type]||{};null!==l&&(null===o?h[a]=l:(u.mod&&(l-o>u.mod/2?o+=u.mod:o-l>u.mod/2&&(o-=u.mod)),h[a]=i((l-o)*t+o,n)))}),this[n](h)},blend:function(t){if(1===this._rgba[3])return this;var i=this._rgba.slice(),s=i.pop(),n=l(t)._rgba;return l(e.map(i,function(e,t){return(1-s)*n[t]+s*e}))},toRgbaString:function(){var t="rgba(",i=e.map(this._rgba,function(e,t){return null==e?t>2?1:0:e});return 1===i[3]&&(i.pop(),t="rgb("),t+i.join()+")"},toHslaString:function(){var t="hsla(",i=e.map(this.hsla(),function(e,t){return null==e&&(e=t>2?1:0),t&&3>t&&(e=Math.round(100*e)+"%"),e});return 1===i[3]&&(i.pop(),t="hsl("),t+i.join()+")"},toHexString:function(t){var i=this._rgba.slice(),s=i.pop();return t&&i.push(~~(255*s)),"#"+e.map(i,function(e){return e=(e||0).toString(16),1===e.length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,u.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,i,s=e[0]/255,n=e[1]/255,a=e[2]/255,o=e[3],r=Math.max(s,n,a),h=Math.min(s,n,a),l=r-h,u=r+h,d=.5*u;return t=h===r?0:s===r?60*(n-a)/l+360:n===r?60*(a-s)/l+120:60*(s-n)/l+240,i=0===l?0:.5>=d?l/u:l/(2-u),[Math.round(t)%360,i,d,null==o?1:o]},u.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],s=e[2],a=e[3],o=.5>=s?s*(1+i):s+i-s*i,r=2*s-o;return[Math.round(255*n(r,o,t+1/3)),Math.round(255*n(r,o,t)),Math.round(255*n(r,o,t-1/3)),a]},f(u,function(s,n){var a=n.props,o=n.cache,h=n.to,u=n.from;l.fn[s]=function(s){if(h&&!this[o]&&(this[o]=h(this._rgba)),s===t)return this[o].slice();var n,r=e.type(s),d="array"===r||"object"===r?s:arguments,c=this[o].slice();return f(a,function(e,t){var s=d["object"===r?e:t.idx];null==s&&(s=c[t.idx]),c[t.idx]=i(s,t)}),u?(n=l(u(c)),n[o]=c,n):l(c)},f(a,function(t,i){l.fn[t]||(l.fn[t]=function(n){var a,o=e.type(n),h="alpha"===t?this._hsla?"hsla":"rgba":s,l=this[h](),u=l[i.idx];return"undefined"===o?u:("function"===o&&(n=n.call(this,u),o=e.type(n)),null==n&&i.empty?this:("string"===o&&(a=r.exec(n),a&&(n=u+parseFloat(a[2])*("+"===a[1]?1:-1))),l[i.idx]=n,this[h](l)))})})}),l.hook=function(t){var i=t.split(" ");f(i,function(t,i){e.cssHooks[i]={set:function(t,n){var a,o,r="";if("transparent"!==n&&("string"!==e.type(n)||(a=s(n)))){if(n=l(a||n),!c.rgba&&1!==n._rgba[3]){for(o="backgroundColor"===i?t.parentNode:t;(""===r||"transparent"===r)&&o&&o.style;)try{r=e.css(o,"backgroundColor"),o=o.parentNode}catch(h){}n=n.blend(r&&"transparent"!==r?r:"_default")}n=n.toRgbaString()}try{t.style[i]=n}catch(h){}}},e.fx.step[i]=function(t){t.colorInit||(t.start=l(t.elem,i),t.end=l(t.end),t.colorInit=!0),e.cssHooks[i].set(t.elem,t.start.transition(t.end,t.pos))}})},l.hook(o),e.cssHooks.borderColor={expand:function(e){var t={};return f(["Top","Right","Bottom","Left"],function(i,s){t["border"+s+"Color"]=e}),t}},a=e.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"}}(b),function(){function t(t){var i,s,n=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,a={};if(n&&n.length&&n[0]&&n[n[0]])for(s=n.length;s--;)i=n[s],"string"==typeof n[i]&&(a[e.camelCase(i)]=n[i]);else for(i in n)"string"==typeof n[i]&&(a[i]=n[i]);return a}function i(t,i){var s,a,o={};for(s in i)a=i[s],t[s]!==a&&(n[s]||(e.fx.step[s]||!isNaN(parseFloat(a)))&&(o[s]=a));return o}var s=["add","remove","toggle"],n={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,i){e.fx.step[i]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(b.style(e.elem,i,e.end),e.setAttr=!0)}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e.effects.animateClass=function(n,a,o,r){var h=e.speed(a,o,r);return this.queue(function(){var a,o=e(this),r=o.attr("class")||"",l=h.children?o.find("*").addBack():o;l=l.map(function(){var i=e(this);return{el:i,start:t(this)}}),a=function(){e.each(s,function(e,t){n[t]&&o[t+"Class"](n[t])})},a(),l=l.map(function(){return this.end=t(this.el[0]),this.diff=i(this.start,this.end),this}),o.attr("class",r),l=l.map(function(){var t=this,i=e.Deferred(),s=e.extend({},h,{queue:!1,complete:function(){i.resolve(t)}});return this.el.animate(this.diff,s),i.promise()}),e.when.apply(e,l.get()).done(function(){a(),e.each(arguments,function(){var t=this.el;e.each(this.diff,function(e){t.css(e,"")})}),h.complete.call(o[0])})})},e.fn.extend({addClass:function(t){return function(i,s,n,a){return s?e.effects.animateClass.call(this,{add:i},s,n,a):t.apply(this,arguments)}}(e.fn.addClass),removeClass:function(t){return function(i,s,n,a){return arguments.length>1?e.effects.animateClass.call(this,{remove:i},s,n,a):t.apply(this,arguments)}}(e.fn.removeClass),toggleClass:function(t){return function(i,s,n,a,o){return"boolean"==typeof s||void 0===s?n?e.effects.animateClass.call(this,s?{add:i}:{remove:i},n,a,o):t.apply(this,arguments):e.effects.animateClass.call(this,{toggle:i},s,n,a)}}(e.fn.toggleClass),switchClass:function(t,i,s,n,a){return e.effects.animateClass.call(this,{add:i,remove:t},s,n,a)}})}(),function(){function t(t,i,s,n){return e.isPlainObject(t)&&(i=t,t=t.effect),t={effect:t},null==i&&(i={}),e.isFunction(i)&&(n=i,s=null,i={}),("number"==typeof i||e.fx.speeds[i])&&(n=s,s=i,i={}),e.isFunction(s)&&(n=s,s=null),i&&e.extend(t,i),s=s||i.duration,t.duration=e.fx.off?0:"number"==typeof s?s:s in e.fx.speeds?e.fx.speeds[s]:e.fx.speeds._default,t.complete=n||i.complete,t}function i(t){return!t||"number"==typeof t||e.fx.speeds[t]?!0:"string"!=typeof t||e.effects.effect[t]?e.isFunction(t)?!0:"object"!=typeof t||t.effect?!1:!0:!0}e.extend(e.effects,{version:"1.11.4",save:function(e,t){for(var i=0;t.length>i;i++)null!==t[i]&&e.data(y+t[i],e[0].style[t[i]])},restore:function(e,t){var i,s;for(s=0;t.length>s;s++)null!==t[s]&&(i=e.data(y+t[s]),void 0===i&&(i=""),e.css(t[s],i))},setMode:function(e,t){return"toggle"===t&&(t=e.is(":hidden")?"show":"hide"),t},getBaseline:function(e,t){var i,s;switch(e[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=e[0]/t.height}switch(e[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=e[1]/t.width}return{x:s,y:i}},createWrapper:function(t){if(t.parent().is(".ui-effects-wrapper"))return t.parent();var i={width:t.outerWidth(!0),height:t.outerHeight(!0),"float":t.css("float")},s=e("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),n={width:t.width(),height:t.height()},a=document.activeElement;try{a.id}catch(o){a=document.body}return t.wrap(s),(t[0]===a||e.contains(t[0],a))&&e(a).focus(),s=t.parent(),"static"===t.css("position")?(s.css({position:"relative"}),t.css({position:"relative"})):(e.extend(i,{position:t.css("position"),zIndex:t.css("z-index")}),e.each(["top","left","bottom","right"],function(e,s){i[s]=t.css(s),isNaN(parseInt(i[s],10))&&(i[s]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(n),s.css(i).show()},removeWrapper:function(t){var i=document.activeElement;-return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===i||e.contains(t[0],i))&&e(i).focus()),t},setTransition:function(t,i,s,n){return n=n||{},e.each(i,function(e,i){var a=t.cssUnit(i);a[0]>0&&(n[i]=a[0]*s+a[1])}),n}}),e.fn.extend({effect:function(){function i(t){function i(){e.isFunction(a)&&a.call(n[0]),e.isFunction(t)&&t()}var n=e(this),a=s.complete,r=s.mode;(n.is(":hidden")?"hide"===r:"show"===r)?(n[r](),i()):o.call(n[0],s,i)}var s=t.apply(this,arguments),n=s.mode,a=s.queue,o=e.effects.effect[s.effect];return e.fx.off||!o?n?this[n](s.duration,s.complete):this.each(function(){s.complete&&s.complete.call(this)}):a===!1?this.each(i):this.queue(a||"fx",i)},show:function(e){return function(s){if(i(s))return e.apply(this,arguments);var n=t.apply(this,arguments);return n.mode="show",this.effect.call(this,n)}}(e.fn.show),hide:function(e){return function(s){if(i(s))return e.apply(this,arguments);var n=t.apply(this,arguments);return n.mode="hide",this.effect.call(this,n)}}(e.fn.hide),toggle:function(e){return function(s){if(i(s)||"boolean"==typeof s)return e.apply(this,arguments);var n=t.apply(this,arguments);return n.mode="toggle",this.effect.call(this,n)}}(e.fn.toggle),cssUnit:function(t){var i=this.css(t),s=[];return e.each(["em","px","%","pt"],function(e,t){i.indexOf(t)>0&&(s=[parseFloat(i),t])}),s}})}(),function(){var t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,i){t[i]=function(t){return Math.pow(t,e+2)}}),e.extend(t,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;((t=Math.pow(2,--i))-1)/11>e;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),e.each(t,function(t,i){e.easing["easeIn"+t]=i,e.easing["easeOut"+t]=function(e){return 1-i(1-e)},e.easing["easeInOut"+t]=function(e){return.5>e?i(2*e)/2:1-i(-2*e+2)/2}})}(),e.effects,e.effects.effect.blind=function(t,i){var s,n,a,o=e(this),r=/up|down|vertical/,h=/up|left|vertical|horizontal/,l=["position","top","bottom","left","right","height","width"],u=e.effects.setMode(o,t.mode||"hide"),d=t.direction||"up",c=r.test(d),p=c?"height":"width",f=c?"top":"left",m=h.test(d),g={},v="show"===u;o.parent().is(".ui-effects-wrapper")?e.effects.save(o.parent(),l):e.effects.save(o,l),o.show(),s=e.effects.createWrapper(o).css({overflow:"hidden"}),n=s[p](),a=parseFloat(s.css(f))||0,g[p]=v?n:0,m||(o.css(c?"bottom":"right",0).css(c?"top":"left","auto").css({position:"absolute"}),g[f]=v?a:n+a),v&&(s.css(p,0),m||s.css(f,a+n)),s.animate(g,{duration:t.duration,easing:t.easing,queue:!1,complete:function(){"hide"===u&&o.hide(),e.effects.restore(o,l),e.effects.removeWrapper(o),i()}})},e.effects.effect.bounce=function(t,i){var s,n,a,o=e(this),r=["position","top","bottom","left","right","height","width"],h=e.effects.setMode(o,t.mode||"effect"),l="hide"===h,u="show"===h,d=t.direction||"up",c=t.distance,p=t.times||5,f=2*p+(u||l?1:0),m=t.duration/f,g=t.easing,v="up"===d||"down"===d?"top":"left",y="up"===d||"left"===d,b=o.queue(),_=b.length;for((u||l)&&r.push("opacity"),e.effects.save(o,r),o.show(),e.effects.createWrapper(o),c||(c=o["top"===v?"outerHeight":"outerWidth"]()/3),u&&(a={opacity:1},a[v]=0,o.css("opacity",0).css(v,y?2*-c:2*c).animate(a,m,g)),l&&(c/=Math.pow(2,p-1)),a={},a[v]=0,s=0;p>s;s++)n={},n[v]=(y?"-=":"+=")+c,o.animate(n,m,g).animate(a,m,g),c=l?2*c:c/2;l&&(n={opacity:0},n[v]=(y?"-=":"+=")+c,o.animate(n,m,g)),o.queue(function(){l&&o.hide(),e.effects.restore(o,r),e.effects.removeWrapper(o),i()}),_>1&&b.splice.apply(b,[1,0].concat(b.splice(_,f+1))),o.dequeue()},e.effects.effect.clip=function(t,i){var s,n,a,o=e(this),r=["position","top","bottom","left","right","height","width"],h=e.effects.setMode(o,t.mode||"hide"),l="show"===h,u=t.direction||"vertical",d="vertical"===u,c=d?"height":"width",p=d?"top":"left",f={};e.effects.save(o,r),o.show(),s=e.effects.createWrapper(o).css({overflow:"hidden"}),n="IMG"===o[0].tagName?s:o,a=n[c](),l&&(n.css(c,0),n.css(p,a/2)),f[c]=l?a:0,f[p]=l?0:a/2,n.animate(f,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){l||o.hide(),e.effects.restore(o,r),e.effects.removeWrapper(o),i()}})},e.effects.effect.drop=function(t,i){var s,n=e(this),a=["position","top","bottom","left","right","opacity","height","width"],o=e.effects.setMode(n,t.mode||"hide"),r="show"===o,h=t.direction||"left",l="up"===h||"down"===h?"top":"left",u="up"===h||"left"===h?"pos":"neg",d={opacity:r?1:0};e.effects.save(n,a),n.show(),e.effects.createWrapper(n),s=t.distance||n["top"===l?"outerHeight":"outerWidth"](!0)/2,r&&n.css("opacity",0).css(l,"pos"===u?-s:s),d[l]=(r?"pos"===u?"+=":"-=":"pos"===u?"-=":"+=")+s,n.animate(d,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===o&&n.hide(),e.effects.restore(n,a),e.effects.removeWrapper(n),i()}})},e.effects.effect.explode=function(t,i){function s(){b.push(this),b.length===d*c&&n()}function n(){p.css({visibility:"visible"}),e(b).remove(),m||p.hide(),i()}var a,o,r,h,l,u,d=t.pieces?Math.round(Math.sqrt(t.pieces)):3,c=d,p=e(this),f=e.effects.setMode(p,t.mode||"hide"),m="show"===f,g=p.show().css("visibility","hidden").offset(),v=Math.ceil(p.outerWidth()/c),y=Math.ceil(p.outerHeight()/d),b=[];for(a=0;d>a;a++)for(h=g.top+a*y,u=a-(d-1)/2,o=0;c>o;o++)r=g.left+o*v,l=o-(c-1)/2,p.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-o*v,top:-a*y}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:v,height:y,left:r+(m?l*v:0),top:h+(m?u*y:0),opacity:m?0:1}).animate({left:r+(m?0:l*v),top:h+(m?0:u*y),opacity:m?1:0},t.duration||500,t.easing,s)},e.effects.effect.fade=function(t,i){var s=e(this),n=e.effects.setMode(s,t.mode||"toggle");s.animate({opacity:n},{queue:!1,duration:t.duration,easing:t.easing,complete:i})},e.effects.effect.fold=function(t,i){var s,n,a=e(this),o=["position","top","bottom","left","right","height","width"],r=e.effects.setMode(a,t.mode||"hide"),h="show"===r,l="hide"===r,u=t.size||15,d=/([0-9]+)%/.exec(u),c=!!t.horizFirst,p=h!==c,f=p?["width","height"]:["height","width"],m=t.duration/2,g={},v={};e.effects.save(a,o),a.show(),s=e.effects.createWrapper(a).css({overflow:"hidden"}),n=p?[s.width(),s.height()]:[s.height(),s.width()],d&&(u=parseInt(d[1],10)/100*n[l?0:1]),h&&s.css(c?{height:0,width:u}:{height:u,width:0}),g[f[0]]=h?n[0]:u,v[f[1]]=h?n[1]:0,s.animate(g,m,t.easing).animate(v,m,t.easing,function(){l&&a.hide(),e.effects.restore(a,o),e.effects.removeWrapper(a),i()})},e.effects.effect.highlight=function(t,i){var s=e(this),n=["backgroundImage","backgroundColor","opacity"],a=e.effects.setMode(s,t.mode||"show"),o={backgroundColor:s.css("backgroundColor")};"hide"===a&&(o.opacity=0),e.effects.save(s,n),s.show().css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===a&&s.hide(),e.effects.restore(s,n),i()}})},e.effects.effect.size=function(t,i){var s,n,a,o=e(this),r=["position","top","bottom","left","right","width","height","overflow","opacity"],h=["position","top","bottom","left","right","overflow","opacity"],l=["width","height","overflow"],u=["fontSize"],d=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],c=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],p=e.effects.setMode(o,t.mode||"effect"),f=t.restore||"effect"!==p,m=t.scale||"both",g=t.origin||["middle","center"],v=o.css("position"),y=f?r:h,b={height:0,width:0,outerHeight:0,outerWidth:0};"show"===p&&o.show(),s={height:o.height(),width:o.width(),outerHeight:o.outerHeight(),outerWidth:o.outerWidth()},"toggle"===t.mode&&"show"===p?(o.from=t.to||b,o.to=t.from||s):(o.from=t.from||("show"===p?b:s),o.to=t.to||("hide"===p?b:s)),a={from:{y:o.from.height/s.height,x:o.from.width/s.width},to:{y:o.to.height/s.height,x:o.to.width/s.width}},("box"===m||"both"===m)&&(a.from.y!==a.to.y&&(y=y.concat(d),o.from=e.effects.setTransition(o,d,a.from.y,o.from),o.to=e.effects.setTransition(o,d,a.to.y,o.to)),a.from.x!==a.to.x&&(y=y.concat(c),o.from=e.effects.setTransition(o,c,a.from.x,o.from),o.to=e.effects.setTransition(o,c,a.to.x,o.to))),("content"===m||"both"===m)&&a.from.y!==a.to.y&&(y=y.concat(u).concat(l),o.from=e.effects.setTransition(o,u,a.from.y,o.from),o.to=e.effects.setTransition(o,u,a.to.y,o.to)),e.effects.save(o,y),o.show(),e.effects.createWrapper(o),o.css("overflow","hidden").css(o.from),g&&(n=e.effects.getBaseline(g,s),o.from.top=(s.outerHeight-o.outerHeight())*n.y,o.from.left=(s.outerWidth-o.outerWidth())*n.x,o.to.top=(s.outerHeight-o.to.outerHeight)*n.y,o.to.left=(s.outerWidth-o.to.outerWidth)*n.x),o.css(o.from),("content"===m||"both"===m)&&(d=d.concat(["marginTop","marginBottom"]).concat(u),c=c.concat(["marginLeft","marginRight"]),l=r.concat(d).concat(c),o.find("*[width]").each(function(){var i=e(this),s={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};f&&e.effects.save(i,l),i.from={height:s.height*a.from.y,width:s.width*a.from.x,outerHeight:s.outerHeight*a.from.y,outerWidth:s.outerWidth*a.from.x},i.to={height:s.height*a.to.y,width:s.width*a.to.x,outerHeight:s.height*a.to.y,outerWidth:s.width*a.to.x},a.from.y!==a.to.y&&(i.from=e.effects.setTransition(i,d,a.from.y,i.from),i.to=e.effects.setTransition(i,d,a.to.y,i.to)),a.from.x!==a.to.x&&(i.from=e.effects.setTransition(i,c,a.from.x,i.from),i.to=e.effects.setTransition(i,c,a.to.x,i.to)),i.css(i.from),i.animate(i.to,t.duration,t.easing,function(){f&&e.effects.restore(i,l)})})),o.animate(o.to,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){0===o.to.opacity&&o.css("opacity",o.from.opacity),"hide"===p&&o.hide(),e.effects.restore(o,y),f||("static"===v?o.css({position:"relative",top:o.to.top,left:o.to.left}):e.each(["top","left"],function(e,t){o.css(t,function(t,i){var s=parseInt(i,10),n=e?o.to.left:o.to.top;return"auto"===i?n+"px":s+n+"px"})})),e.effects.removeWrapper(o),i()}})},e.effects.effect.scale=function(t,i){var s=e(this),n=e.extend(!0,{},t),a=e.effects.setMode(s,t.mode||"effect"),o=parseInt(t.percent,10)||(0===parseInt(t.percent,10)?0:"hide"===a?0:100),r=t.direction||"both",h=t.origin,l={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()},u={y:"horizontal"!==r?o/100:1,x:"vertical"!==r?o/100:1};n.effect="size",n.queue=!1,n.complete=i,"effect"!==a&&(n.origin=h||["middle","center"],n.restore=!0),n.from=t.from||("show"===a?{height:0,width:0,outerHeight:0,outerWidth:0}:l),n.to={height:l.height*u.y,width:l.width*u.x,outerHeight:l.outerHeight*u.y,outerWidth:l.outerWidth*u.x},n.fade&&("show"===a&&(n.from.opacity=0,n.to.opacity=1),"hide"===a&&(n.from.opacity=1,n.to.opacity=0)),s.effect(n)},e.effects.effect.puff=function(t,i){var s=e(this),n=e.effects.setMode(s,t.mode||"hide"),a="hide"===n,o=parseInt(t.percent,10)||150,r=o/100,h={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()};e.extend(t,{effect:"scale",queue:!1,fade:!0,mode:n,complete:i,percent:a?o:100,from:a?h:{height:h.height*r,width:h.width*r,outerHeight:h.outerHeight*r,outerWidth:h.outerWidth*r}}),s.effect(t)},e.effects.effect.pulsate=function(t,i){var s,n=e(this),a=e.effects.setMode(n,t.mode||"show"),o="show"===a,r="hide"===a,h=o||"hide"===a,l=2*(t.times||5)+(h?1:0),u=t.duration/l,d=0,c=n.queue(),p=c.length;for((o||!n.is(":visible"))&&(n.css("opacity",0).show(),d=1),s=1;l>s;s++)n.animate({opacity:d},u,t.easing),d=1-d;n.animate({opacity:d},u,t.easing),n.queue(function(){r&&n.hide(),i()}),p>1&&c.splice.apply(c,[1,0].concat(c.splice(p,l+1))),n.dequeue()},e.effects.effect.shake=function(t,i){var s,n=e(this),a=["position","top","bottom","left","right","height","width"],o=e.effects.setMode(n,t.mode||"effect"),r=t.direction||"left",h=t.distance||20,l=t.times||3,u=2*l+1,d=Math.round(t.duration/u),c="up"===r||"down"===r?"top":"left",p="up"===r||"left"===r,f={},m={},g={},v=n.queue(),y=v.length;for(e.effects.save(n,a),n.show(),e.effects.createWrapper(n),f[c]=(p?"-=":"+=")+h,m[c]=(p?"+=":"-=")+2*h,g[c]=(p?"-=":"+=")+2*h,n.animate(f,d,t.easing),s=1;l>s;s++)n.animate(m,d,t.easing).animate(g,d,t.easing);n.animate(m,d,t.easing).animate(f,d/2,t.easing).queue(function(){"hide"===o&&n.hide(),e.effects.restore(n,a),e.effects.removeWrapper(n),i()}),y>1&&v.splice.apply(v,[1,0].concat(v.splice(y,u+1))),n.dequeue()},e.effects.effect.slide=function(t,i){var s,n=e(this),a=["position","top","bottom","left","right","width","height"],o=e.effects.setMode(n,t.mode||"show"),r="show"===o,h=t.direction||"left",l="up"===h||"down"===h?"top":"left",u="up"===h||"left"===h,d={};e.effects.save(n,a),n.show(),s=t.distance||n["top"===l?"outerHeight":"outerWidth"](!0),e.effects.createWrapper(n).css({overflow:"hidden"}),r&&n.css(l,u?isNaN(s)?"-"+s:-s:s),d[l]=(r?u?"+=":"-=":u?"-=":"+=")+s,n.animate(d,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===o&&n.hide(),e.effects.restore(n,a),e.effects.removeWrapper(n),i()}})},e.effects.effect.transfer=function(t,i){var s=e(this),n=e(t.to),a="fixed"===n.css("position"),o=e("body"),r=a?o.scrollTop():0,h=a?o.scrollLeft():0,l=n.offset(),u={top:l.top-r,left:l.left-h,height:n.innerHeight(),width:n.innerWidth()},d=s.offset(),c=e("<div class='ui-effects-transfer'></div>").appendTo(document.body).addClass(t.className).css({top:d.top-r,left:d.left-h,height:s.innerHeight(),width:s.innerWidth(),position:a?"fixed":"absolute"}).animate(u,t.duration,t.easing,function(){c.remove(),i()})}});\ No newline at end of filediff --git a/web/ext/ui/jquery-ui-1.11.4/jquery-ui.structure.css b/web/ext/ui/jquery-ui-1.11.4/jquery-ui.structure.cssdeleted file mode 100644index 8184e152d..000000000--- a/web/ext/ui/jquery-ui-1.11.4/jquery-ui.structure.css+++ /dev/null@@ -1,833 +0,0 @@-/*!- * jQuery UI CSS Framework 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/category/theming/- */--/* Layout helpers-----------------------------------*/-.ui-helper-hidden {- display: none;-}-.ui-helper-hidden-accessible {- border: 0;- clip: rect(0 0 0 0);- height: 1px;- margin: -1px;- overflow: hidden;- padding: 0;- position: absolute;- width: 1px;-}-.ui-helper-reset {- margin: 0;- padding: 0;- border: 0;- outline: 0;- line-height: 1.3;- text-decoration: none;- font-size: 100%;- list-style: none;-}-.ui-helper-clearfix:before,-.ui-helper-clearfix:after {- content: "";- display: table;- border-collapse: collapse;-}-.ui-helper-clearfix:after {- clear: both;-}-.ui-helper-clearfix {- min-height: 0; /* support: IE7 */-}-.ui-helper-zfix {- width: 100%;- height: 100%;- top: 0;- left: 0;- position: absolute;- opacity: 0;- filter:Alpha(Opacity=0); /* support: IE8 */-}--.ui-front {- z-index: 100;-}---/* Interaction Cues-----------------------------------*/-.ui-state-disabled {- cursor: default !important;-}---/* Icons-----------------------------------*/--/* states and images */-.ui-icon {- display: block;- text-indent: -99999px;- overflow: hidden;- background-repeat: no-repeat;-}---/* Misc visuals-----------------------------------*/--/* Overlays */-.ui-widget-overlay {- position: fixed;- top: 0;- left: 0;- width: 100%;- height: 100%;-}-.ui-draggable-handle {- -ms-touch-action: none;- touch-action: none;-}-.ui-resizable {- position: relative;-}-.ui-resizable-handle {- position: absolute;- font-size: 0.1px;- display: block;- -ms-touch-action: none;- touch-action: none;-}-.ui-resizable-disabled .ui-resizable-handle,-.ui-resizable-autohide .ui-resizable-handle {- display: none;-}-.ui-resizable-n {- cursor: n-resize;- height: 7px;- width: 100%;- top: -5px;- left: 0;-}-.ui-resizable-s {- cursor: s-resize;- height: 7px;- width: 100%;- bottom: -5px;- left: 0;-}-.ui-resizable-e {- cursor: e-resize;- width: 7px;- right: -5px;- top: 0;- height: 100%;-}-.ui-resizable-w {- cursor: w-resize;- width: 7px;- left: -5px;- top: 0;- height: 100%;-}-.ui-resizable-se {- cursor: se-resize;- width: 12px;- height: 12px;- right: 1px;- bottom: 1px;-}-.ui-resizable-sw {- cursor: sw-resize;- width: 9px;- height: 9px;- left: -5px;- bottom: -5px;-}-.ui-resizable-nw {- cursor: nw-resize;- width: 9px;- height: 9px;- left: -5px;- top: -5px;-}-.ui-resizable-ne {- cursor: ne-resize;- width: 9px;- height: 9px;- right: -5px;- top: -5px;-}-.ui-selectable {- -ms-touch-action: none;- touch-action: none;-}-.ui-selectable-helper {- position: absolute;- z-index: 100;- border: 1px dotted black;-}-.ui-sortable-handle {- -ms-touch-action: none;- touch-action: none;-}-.ui-accordion .ui-accordion-header {- display: block;- cursor: pointer;- position: relative;- margin: 2px 0 0 0;- padding: .5em .5em .5em .7em;- min-height: 0; /* support: IE7 */- font-size: 100%;-}-.ui-accordion .ui-accordion-icons {- padding-left: 2.2em;-}-.ui-accordion .ui-accordion-icons .ui-accordion-icons {- padding-left: 2.2em;-}-.ui-accordion .ui-accordion-header .ui-accordion-header-icon {- position: absolute;- left: .5em;- top: 50%;- margin-top: -8px;-}-.ui-accordion .ui-accordion-content {- padding: 1em 2.2em;- border-top: 0;- overflow: auto;-}-.ui-autocomplete {- position: absolute;- top: 0;- left: 0;- cursor: default;-}-.ui-button {- display: inline-block;- position: relative;- padding: 0;- line-height: normal;- margin-right: .1em;- cursor: pointer;- vertical-align: middle;- text-align: center;- overflow: visible; /* removes extra width in IE */-}-.ui-button,-.ui-button:link,-.ui-button:visited,-.ui-button:hover,-.ui-button:active {- text-decoration: none;-}-/* to make room for the icon, a width needs to be set here */-.ui-button-icon-only {- width: 2.2em;-}-/* button elements seem to need a little more width */-button.ui-button-icon-only {- width: 2.4em;-}-.ui-button-icons-only {- width: 3.4em;-}-button.ui-button-icons-only {- width: 3.7em;-}--/* button text element */-.ui-button .ui-button-text {- display: block;- line-height: normal;-}-.ui-button-text-only .ui-button-text {- padding: .4em 1em;-}-.ui-button-icon-only .ui-button-text,-.ui-button-icons-only .ui-button-text {- padding: .4em;- text-indent: -9999999px;-}-.ui-button-text-icon-primary .ui-button-text,-.ui-button-text-icons .ui-button-text {- padding: .4em 1em .4em 2.1em;-}-.ui-button-text-icon-secondary .ui-button-text,-.ui-button-text-icons .ui-button-text {- padding: .4em 2.1em .4em 1em;-}-.ui-button-text-icons .ui-button-text {- padding-left: 2.1em;- padding-right: 2.1em;-}-/* no icon support for input elements, provide padding by default */-input.ui-button {- padding: .4em 1em;-}--/* button icon element(s) */-.ui-button-icon-only .ui-icon,-.ui-button-text-icon-primary .ui-icon,-.ui-button-text-icon-secondary .ui-icon,-.ui-button-text-icons .ui-icon,-.ui-button-icons-only .ui-icon {- position: absolute;- top: 50%;- margin-top: -8px;-}-.ui-button-icon-only .ui-icon {- left: 50%;- margin-left: -8px;-}-.ui-button-text-icon-primary .ui-button-icon-primary,-.ui-button-text-icons .ui-button-icon-primary,-.ui-button-icons-only .ui-button-icon-primary {- left: .5em;-}-.ui-button-text-icon-secondary .ui-button-icon-secondary,-.ui-button-text-icons .ui-button-icon-secondary,-.ui-button-icons-only .ui-button-icon-secondary {- right: .5em;-}--/* button sets */-.ui-buttonset {- margin-right: 7px;-}-.ui-buttonset .ui-button {- margin-left: 0;- margin-right: -.3em;-}--/* workarounds */-/* reset extra padding in Firefox, see h5bp.com/l */-input.ui-button::-moz-focus-inner,-button.ui-button::-moz-focus-inner {- border: 0;- padding: 0;-}-.ui-datepicker {- width: 17em;- padding: .2em .2em 0;- display: none;-}-.ui-datepicker .ui-datepicker-header {- position: relative;- padding: .2em 0;-}-.ui-datepicker .ui-datepicker-prev,-.ui-datepicker .ui-datepicker-next {- position: absolute;- top: 2px;- width: 1.8em;- height: 1.8em;-}-.ui-datepicker .ui-datepicker-prev-hover,-.ui-datepicker .ui-datepicker-next-hover {- top: 1px;-}-.ui-datepicker .ui-datepicker-prev {- left: 2px;-}-.ui-datepicker .ui-datepicker-next {- right: 2px;-}-.ui-datepicker .ui-datepicker-prev-hover {- left: 1px;-}-.ui-datepicker .ui-datepicker-next-hover {- right: 1px;-}-.ui-datepicker .ui-datepicker-prev span,-.ui-datepicker .ui-datepicker-next span {- display: block;- position: absolute;- left: 50%;- margin-left: -8px;- top: 50%;- margin-top: -8px;-}-.ui-datepicker .ui-datepicker-title {- margin: 0 2.3em;- line-height: 1.8em;- text-align: center;-}-.ui-datepicker .ui-datepicker-title select {- font-size: 1em;- margin: 1px 0;-}-.ui-datepicker select.ui-datepicker-month,-.ui-datepicker select.ui-datepicker-year {- width: 45%;-}-.ui-datepicker table {- width: 100%;- font-size: .9em;- border-collapse: collapse;- margin: 0 0 .4em;-}-.ui-datepicker th {- padding: .7em .3em;- text-align: center;- font-weight: bold;- border: 0;-}-.ui-datepicker td {- border: 0;- padding: 1px;-}-.ui-datepicker td span,-.ui-datepicker td a {- display: block;- padding: .2em;- text-align: right;- text-decoration: none;-}-.ui-datepicker .ui-datepicker-buttonpane {- background-image: none;- margin: .7em 0 0 0;- padding: 0 .2em;- border-left: 0;- border-right: 0;- border-bottom: 0;-}-.ui-datepicker .ui-datepicker-buttonpane button {- float: right;- margin: .5em .2em .4em;- cursor: pointer;- padding: .2em .6em .3em .6em;- width: auto;- overflow: visible;-}-.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {- float: left;-}--/* with multiple calendars */-.ui-datepicker.ui-datepicker-multi {- width: auto;-}-.ui-datepicker-multi .ui-datepicker-group {- float: left;-}-.ui-datepicker-multi .ui-datepicker-group table {- width: 95%;- margin: 0 auto .4em;-}-.ui-datepicker-multi-2 .ui-datepicker-group {- width: 50%;-}-.ui-datepicker-multi-3 .ui-datepicker-group {- width: 33.3%;-}-.ui-datepicker-multi-4 .ui-datepicker-group {- width: 25%;-}-.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,-.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {- border-left-width: 0;-}-.ui-datepicker-multi .ui-datepicker-buttonpane {- clear: left;-}-.ui-datepicker-row-break {- clear: both;- width: 100%;- font-size: 0;-}--/* RTL support */-.ui-datepicker-rtl {- direction: rtl;-}-.ui-datepicker-rtl .ui-datepicker-prev {- right: 2px;- left: auto;-}-.ui-datepicker-rtl .ui-datepicker-next {- left: 2px;- right: auto;-}-.ui-datepicker-rtl .ui-datepicker-prev:hover {- right: 1px;- left: auto;-}-.ui-datepicker-rtl .ui-datepicker-next:hover {- left: 1px;- right: auto;-}-.ui-datepicker-rtl .ui-datepicker-buttonpane {- clear: right;-}-.ui-datepicker-rtl .ui-datepicker-buttonpane button {- float: left;-}-.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,-.ui-datepicker-rtl .ui-datepicker-group {- float: right;-}-.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,-.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {- border-right-width: 0;- border-left-width: 1px;-}-.ui-dialog {- overflow: hidden;- position: absolute;- top: 0;- left: 0;- padding: .2em;- outline: 0;-}-.ui-dialog .ui-dialog-titlebar {- padding: .4em 1em;- position: relative;-}-.ui-dialog .ui-dialog-title {- float: left;- margin: .1em 0;- white-space: nowrap;- width: 90%;- overflow: hidden;- text-overflow: ellipsis;-}-.ui-dialog .ui-dialog-titlebar-close {- position: absolute;- right: .3em;- top: 50%;- width: 20px;- margin: -10px 0 0 0;- padding: 1px;- height: 20px;-}-.ui-dialog .ui-dialog-content {- position: relative;- border: 0;- padding: .5em 1em;- background: none;- overflow: auto;-}-.ui-dialog .ui-dialog-buttonpane {- text-align: left;- border-width: 1px 0 0 0;- background-image: none;- margin-top: .5em;- padding: .3em 1em .5em .4em;-}-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {- float: right;-}-.ui-dialog .ui-dialog-buttonpane button {- margin: .5em .4em .5em 0;- cursor: pointer;-}-.ui-dialog .ui-resizable-se {- width: 12px;- height: 12px;- right: -5px;- bottom: -5px;- background-position: 16px 16px;-}-.ui-draggable .ui-dialog-titlebar {- cursor: move;-}-.ui-menu {- list-style: none;- padding: 0;- margin: 0;- display: block;- outline: none;-}-.ui-menu .ui-menu {- position: absolute;-}-.ui-menu .ui-menu-item {- position: relative;- margin: 0;- padding: 3px 1em 3px .4em;- cursor: pointer;- min-height: 0; /* support: IE7 */- /* support: IE10, see #8844 */- list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");-}-.ui-menu .ui-menu-divider {- margin: 5px 0;- height: 0;- font-size: 0;- line-height: 0;- border-width: 1px 0 0 0;-}-.ui-menu .ui-state-focus,-.ui-menu .ui-state-active {- margin: -1px;-}--/* icon support */-.ui-menu-icons {- position: relative;-}-.ui-menu-icons .ui-menu-item {- padding-left: 2em;-}--/* left-aligned */-.ui-menu .ui-icon {- position: absolute;- top: 0;- bottom: 0;- left: .2em;- margin: auto 0;-}--/* right-aligned */-.ui-menu .ui-menu-icon {- left: auto;- right: 0;-}-.ui-progressbar {- height: 2em;- text-align: left;- overflow: hidden;-}-.ui-progressbar .ui-progressbar-value {- margin: -1px;- height: 100%;-}-.ui-progressbar .ui-progressbar-overlay {- background: url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");- height: 100%;- filter: alpha(opacity=25); /* support: IE8 */- opacity: 0.25;-}-.ui-progressbar-indeterminate .ui-progressbar-value {- background-image: none;-}-.ui-selectmenu-menu {- padding: 0;- margin: 0;- position: absolute;- top: 0;- left: 0;- display: none;-}-.ui-selectmenu-menu .ui-menu {- overflow: auto;- /* Support: IE7 */- overflow-x: hidden;- padding-bottom: 1px;-}-.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {- font-size: 1em;- font-weight: bold;- line-height: 1.5;- padding: 2px 0.4em;- margin: 0.5em 0 0 0;- height: auto;- border: 0;-}-.ui-selectmenu-open {- display: block;-}-.ui-selectmenu-button {- display: inline-block;- overflow: hidden;- position: relative;- text-decoration: none;- cursor: pointer;-}-.ui-selectmenu-button span.ui-icon {- right: 0.5em;- left: auto;- margin-top: -8px;- position: absolute;- top: 50%;-}-.ui-selectmenu-button span.ui-selectmenu-text {- text-align: left;- padding: 0.4em 2.1em 0.4em 1em;- display: block;- line-height: 1.4;- overflow: hidden;- text-overflow: ellipsis;- white-space: nowrap;-}-.ui-slider {- position: relative;- text-align: left;-}-.ui-slider .ui-slider-handle {- position: absolute;- z-index: 2;- width: 1.2em;- height: 1.2em;- cursor: default;- -ms-touch-action: none;- touch-action: none;-}-.ui-slider .ui-slider-range {- position: absolute;- z-index: 1;- font-size: .7em;- display: block;- border: 0;- background-position: 0 0;-}--/* support: IE8 - See #6727 */-.ui-slider.ui-state-disabled .ui-slider-handle,-.ui-slider.ui-state-disabled .ui-slider-range {- filter: inherit;-}--.ui-slider-horizontal {- height: .8em;-}-.ui-slider-horizontal .ui-slider-handle {- top: -.3em;- margin-left: -.6em;-}-.ui-slider-horizontal .ui-slider-range {- top: 0;- height: 100%;-}-.ui-slider-horizontal .ui-slider-range-min {- left: 0;-}-.ui-slider-horizontal .ui-slider-range-max {- right: 0;-}--.ui-slider-vertical {- width: .8em;- height: 100px;-}-.ui-slider-vertical .ui-slider-handle {- left: -.3em;- margin-left: 0;- margin-bottom: -.6em;-}-.ui-slider-vertical .ui-slider-range {- left: 0;- width: 100%;-}-.ui-slider-vertical .ui-slider-range-min {- bottom: 0;-}-.ui-slider-vertical .ui-slider-range-max {- top: 0;-}-.ui-spinner {- position: relative;- display: inline-block;- overflow: hidden;- padding: 0;- vertical-align: middle;-}-.ui-spinner-input {- border: none;- background: none;- color: inherit;- padding: 0;- margin: .2em 0;- vertical-align: middle;- margin-left: .4em;- margin-right: 22px;-}-.ui-spinner-button {- width: 16px;- height: 50%;- font-size: .5em;- padding: 0;- margin: 0;- text-align: center;- position: absolute;- cursor: default;- display: block;- overflow: hidden;- right: 0;-}-/* more specificity required here to override default borders */-.ui-spinner a.ui-spinner-button {- border-top: none;- border-bottom: none;- border-right: none;-}-/* vertically center icon */-.ui-spinner .ui-icon {- position: absolute;- margin-top: -8px;- top: 50%;- left: 0;-}-.ui-spinner-up {- top: 0;-}-.ui-spinner-down {- bottom: 0;-}--/* TR overrides */-.ui-spinner .ui-icon-triangle-1-s {- /* need to fix icons sprite */- background-position: -65px -16px;-}-.ui-tabs {- position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */- padding: .2em;-}-.ui-tabs .ui-tabs-nav {- margin: 0;- padding: .2em .2em 0;-}-.ui-tabs .ui-tabs-nav li {- list-style: none;- float: left;- position: relative;- top: 0;- margin: 1px .2em 0 0;- border-bottom-width: 0;- padding: 0;- white-space: nowrap;-}-.ui-tabs .ui-tabs-nav .ui-tabs-anchor {- float: left;- padding: .5em 1em;- text-decoration: none;-}-.ui-tabs .ui-tabs-nav li.ui-tabs-active {- margin-bottom: -1px;- padding-bottom: 1px;-}-.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,-.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,-.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {- cursor: text;-}-.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {- cursor: pointer;-}-.ui-tabs .ui-tabs-panel {- display: block;- border-width: 0;- padding: 1em 1.4em;- background: none;-}-.ui-tooltip {- padding: 8px;- position: absolute;- z-index: 9999;- max-width: 300px;- -webkit-box-shadow: 0 0 5px #aaa;- box-shadow: 0 0 5px #aaa;-}-body .ui-tooltip {- border-width: 2px;-}diff --git a/web/ext/ui/jquery-ui-1.11.4/jquery-ui.structure.min.css b/web/ext/ui/jquery-ui-1.11.4/jquery-ui.structure.min.cssdeleted file mode 100644index a0f02a6b8..000000000--- a/web/ext/ui/jquery-ui-1.11.4/jquery-ui.structure.min.css+++ /dev/null@@ -1,5 +0,0 @@-/*! jQuery UI - v1.11.4 - 2015-06-28-* http://jqueryui.com-* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */--.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;min-height:0;font-size:100%}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:none}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{position:relative;margin:0;padding:3px 1em 3px .4em;cursor:pointer;min-height:0;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:bold;line-height:1.5;padding:2px 0.4em;margin:0.5em 0 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-button{display:inline-block;overflow:hidden;position:relative;text-decoration:none;cursor:pointer}.ui-selectmenu-button span.ui-icon{right:0.5em;left:auto;margin-top:-8px;position:absolute;top:50%}.ui-selectmenu-button span.ui-selectmenu-text{text-align:left;padding:0.4em 2.1em 0.4em 1em;display:block;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}\ No newline at end of filediff --git a/web/ext/ui/jquery-ui-1.11.4/jquery-ui.theme.css b/web/ext/ui/jquery-ui-1.11.4/jquery-ui.theme.cssdeleted file mode 100644index 5d1da4c88..000000000--- a/web/ext/ui/jquery-ui-1.11.4/jquery-ui.theme.css+++ /dev/null@@ -1,410 +0,0 @@-/*!- * jQuery UI CSS Framework 1.11.4- * http://jqueryui.com- *- * Copyright jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/category/theming/- *- * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Segoe%20UI%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=333333&bgTextureHeader=gloss_wave&bgImgOpacityHeader=25&borderColorHeader=333333&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=000000&bgTextureContent=inset_soft&bgImgOpacityContent=25&borderColorContent=666666&fcContent=ffffff&iconColorContent=cccccc&bgColorDefault=555555&bgTextureDefault=glass&bgImgOpacityDefault=20&borderColorDefault=666666&fcDefault=eeeeee&iconColorDefault=cccccc&bgColorHover=0078a3&bgTextureHover=glass&bgImgOpacityHover=40&borderColorHover=59b4d4&fcHover=ffffff&iconColorHover=ffffff&bgColorActive=f58400&bgTextureActive=inset_soft&bgImgOpacityActive=30&borderColorActive=ffaf0f&fcActive=ffffff&iconColorActive=222222&bgColorHighlight=eeeeee&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=80&borderColorHighlight=cccccc&fcHighlight=2e7db2&iconColorHighlight=4b8e0b&bgColorError=ffc73d&bgTextureError=glass&bgImgOpacityError=40&borderColorError=ffb73d&fcError=111111&iconColorError=a83300&bgColorOverlay=5c5c5c&bgTextureOverlay=flat&bgImgOpacityOverlay=50&opacityOverlay=80&bgColorShadow=cccccc&bgTextureShadow=flat&bgImgOpacityShadow=30&opacityShadow=60&thicknessShadow=7px&offsetTopShadow=-7px&offsetLeftShadow=-7px&cornerRadiusShadow=8px- */---/* Component containers-----------------------------------*/-.ui-widget {- font-family: Segoe UI,Arial,sans-serif;- font-size: 1.1em;-}-.ui-widget .ui-widget {- font-size: 1em;-}-.ui-widget input,-.ui-widget select,-.ui-widget textarea,-.ui-widget button {- font-family: Segoe UI,Arial,sans-serif;- font-size: 1em;-}-.ui-widget-content {- border: 1px solid #666666;- background: #000000 url("images/ui-bg_inset-soft_25_000000_1x100.png") 50% bottom repeat-x;- color: #ffffff;-}-.ui-widget-content a {- color: #ffffff;-}-.ui-widget-header {- border: 1px solid #333333;- background: #333333 url("images/ui-bg_gloss-wave_25_333333_500x100.png") 50% 50% repeat-x;- color: #ffffff;- font-weight: bold;-}-.ui-widget-header a {- color: #ffffff;-}--/* Interaction states-----------------------------------*/-.ui-state-default,-.ui-widget-content .ui-state-default,-.ui-widget-header .ui-state-default {- border: 1px solid #666666;- background: #555555 url("images/ui-bg_glass_20_555555_1x400.png") 50% 50% repeat-x;- font-weight: bold;- color: #eeeeee;-}-.ui-state-default a,-.ui-state-default a:link,-.ui-state-default a:visited {- color: #eeeeee;- text-decoration: none;-}-.ui-state-hover,-.ui-widget-content .ui-state-hover,-.ui-widget-header .ui-state-hover,-.ui-state-focus,-.ui-widget-content .ui-state-focus,-.ui-widget-header .ui-state-focus {- border: 1px solid #59b4d4;- background: #0078a3 url("images/ui-bg_glass_40_0078a3_1x400.png") 50% 50% repeat-x;- font-weight: bold;- color: #ffffff;-}-.ui-state-hover a,-.ui-state-hover a:hover,-.ui-state-hover a:link,-.ui-state-hover a:visited,-.ui-state-focus a,-.ui-state-focus a:hover,-.ui-state-focus a:link,-.ui-state-focus a:visited {- color: #ffffff;- text-decoration: none;-}-.ui-state-active,-.ui-widget-content .ui-state-active,-.ui-widget-header .ui-state-active {- border: 1px solid #ffaf0f;- background: #f58400 url("images/ui-bg_inset-soft_30_f58400_1x100.png") 50% 50% repeat-x;- font-weight: bold;- color: #ffffff;-}-.ui-state-active a,-.ui-state-active a:link,-.ui-state-active a:visited {- color: #ffffff;- text-decoration: none;-}--/* Interaction Cues-----------------------------------*/-.ui-state-highlight,-.ui-widget-content .ui-state-highlight,-.ui-widget-header .ui-state-highlight {- border: 1px solid #cccccc;- background: #eeeeee url("images/ui-bg_highlight-soft_80_eeeeee_1x100.png") 50% top repeat-x;- color: #2e7db2;-}-.ui-state-highlight a,-.ui-widget-content .ui-state-highlight a,-.ui-widget-header .ui-state-highlight a {- color: #2e7db2;-}-.ui-state-error,-.ui-widget-content .ui-state-error,-.ui-widget-header .ui-state-error {- border: 1px solid #ffb73d;- background: #ffc73d url("images/ui-bg_glass_40_ffc73d_1x400.png") 50% 50% repeat-x;- color: #111111;-}-.ui-state-error a,-.ui-widget-content .ui-state-error a,-.ui-widget-header .ui-state-error a {- color: #111111;-}-.ui-state-error-text,-.ui-widget-content .ui-state-error-text,-.ui-widget-header .ui-state-error-text {- color: #111111;-}-.ui-priority-primary,-.ui-widget-content .ui-priority-primary,-.ui-widget-header .ui-priority-primary {- font-weight: bold;-}-.ui-priority-secondary,-.ui-widget-content .ui-priority-secondary,-.ui-widget-header .ui-priority-secondary {- opacity: .7;- filter:Alpha(Opacity=70); /* support: IE8 */- font-weight: normal;-}-.ui-state-disabled,-.ui-widget-content .ui-state-disabled,-.ui-widget-header .ui-state-disabled {- opacity: .35;- filter:Alpha(Opacity=35); /* support: IE8 */- background-image: none;-}-.ui-state-disabled .ui-icon {- filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */-}--/* Icons-----------------------------------*/--/* states and images */-.ui-icon {- width: 16px;- height: 16px;-}-.ui-icon,-.ui-widget-content .ui-icon {- background-image: url("images/ui-icons_cccccc_256x240.png");-}-.ui-widget-header .ui-icon {- background-image: url("images/ui-icons_ffffff_256x240.png");-}-.ui-state-default .ui-icon {- background-image: url("images/ui-icons_cccccc_256x240.png");-}-.ui-state-hover .ui-icon,-.ui-state-focus .ui-icon {- background-image: url("images/ui-icons_ffffff_256x240.png");-}-.ui-state-active .ui-icon {- background-image: url("images/ui-icons_222222_256x240.png");-}-.ui-state-highlight .ui-icon {- background-image: url("images/ui-icons_4b8e0b_256x240.png");-}-.ui-state-error .ui-icon,-.ui-state-error-text .ui-icon {- background-image: url("images/ui-icons_a83300_256x240.png");-}--/* positioning */-.ui-icon-blank { background-position: 16px 16px; }-.ui-icon-carat-1-n { background-position: 0 0; }-.ui-icon-carat-1-ne { background-position: -16px 0; }-.ui-icon-carat-1-e { background-position: -32px 0; }-.ui-icon-carat-1-se { background-position: -48px 0; }-.ui-icon-carat-1-s { background-position: -64px 0; }-.ui-icon-carat-1-sw { background-position: -80px 0; }-.ui-icon-carat-1-w { background-position: -96px 0; }-.ui-icon-carat-1-nw { background-position: -112px 0; }-.ui-icon-carat-2-n-s { background-position: -128px 0; }-.ui-icon-carat-2-e-w { background-position: -144px 0; }-.ui-icon-triangle-1-n { background-position: 0 -16px; }-.ui-icon-triangle-1-ne { background-position: -16px -16px; }-.ui-icon-triangle-1-e { background-position: -32px -16px; }-.ui-icon-triangle-1-se { background-position: -48px -16px; }-.ui-icon-triangle-1-s { background-position: -64px -16px; }-.ui-icon-triangle-1-sw { background-position: -80px -16px; }-.ui-icon-triangle-1-w { background-position: -96px -16px; }-.ui-icon-triangle-1-nw { background-position: -112px -16px; }-.ui-icon-triangle-2-n-s { background-position: -128px -16px; }-.ui-icon-triangle-2-e-w { background-position: -144px -16px; }-.ui-icon-arrow-1-n { background-position: 0 -32px; }-.ui-icon-arrow-1-ne { background-position: -16px -32px; }-.ui-icon-arrow-1-e { background-position: -32px -32px; }-.ui-icon-arrow-1-se { background-position: -48px -32px; }-.ui-icon-arrow-1-s { background-position: -64px -32px; }-.ui-icon-arrow-1-sw { background-position: -80px -32px; }-.ui-icon-arrow-1-w { background-position: -96px -32px; }-.ui-icon-arrow-1-nw { background-position: -112px -32px; }-.ui-icon-arrow-2-n-s { background-position: -128px -32px; }-.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }-.ui-icon-arrow-2-e-w { background-position: -160px -32px; }-.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }-.ui-icon-arrowstop-1-n { background-position: -192px -32px; }-.ui-icon-arrowstop-1-e { background-position: -208px -32px; }-.ui-icon-arrowstop-1-s { background-position: -224px -32px; }-.ui-icon-arrowstop-1-w { background-position: -240px -32px; }-.ui-icon-arrowthick-1-n { background-position: 0 -48px; }-.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }-.ui-icon-arrowthick-1-e { background-position: -32px -48px; }-.ui-icon-arrowthick-1-se { background-position: -48px -48px; }-.ui-icon-arrowthick-1-s { background-position: -64px -48px; }-.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }-.ui-icon-arrowthick-1-w { background-position: -96px -48px; }-.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }-.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }-.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }-.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }-.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }-.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }-.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }-.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }-.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }-.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }-.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }-.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }-.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }-.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }-.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }-.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }-.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }-.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }-.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }-.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }-.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }-.ui-icon-arrow-4 { background-position: 0 -80px; }-.ui-icon-arrow-4-diag { background-position: -16px -80px; }-.ui-icon-extlink { background-position: -32px -80px; }-.ui-icon-newwin { background-position: -48px -80px; }-.ui-icon-refresh { background-position: -64px -80px; }-.ui-icon-shuffle { background-position: -80px -80px; }-.ui-icon-transfer-e-w { background-position: -96px -80px; }-.ui-icon-transferthick-e-w { background-position: -112px -80px; }-.ui-icon-folder-collapsed { background-position: 0 -96px; }-.ui-icon-folder-open { background-position: -16px -96px; }-.ui-icon-document { background-position: -32px -96px; }-.ui-icon-document-b { background-position: -48px -96px; }-.ui-icon-note { background-position: -64px -96px; }-.ui-icon-mail-closed { background-position: -80px -96px; }-.ui-icon-mail-open { background-position: -96px -96px; }-.ui-icon-suitcase { background-position: -112px -96px; }-.ui-icon-comment { background-position: -128px -96px; }-.ui-icon-person { background-position: -144px -96px; }-.ui-icon-print { background-position: -160px -96px; }-.ui-icon-trash { background-position: -176px -96px; }-.ui-icon-locked { background-position: -192px -96px; }-.ui-icon-unlocked { background-position: -208px -96px; }-.ui-icon-bookmark { background-position: -224px -96px; }-.ui-icon-tag { background-position: -240px -96px; }-.ui-icon-home { background-position: 0 -112px; }-.ui-icon-flag { background-position: -16px -112px; }-.ui-icon-calendar { background-position: -32px -112px; }-.ui-icon-cart { background-position: -48px -112px; }-.ui-icon-pencil { background-position: -64px -112px; }-.ui-icon-clock { background-position: -80px -112px; }-.ui-icon-disk { background-position: -96px -112px; }-.ui-icon-calculator { background-position: -112px -112px; }-.ui-icon-zoomin { background-position: -128px -112px; }-.ui-icon-zoomout { background-position: -144px -112px; }-.ui-icon-search { background-position: -160px -112px; }-.ui-icon-wrench { background-position: -176px -112px; }-.ui-icon-gear { background-position: -192px -112px; }-.ui-icon-heart { background-position: -208px -112px; }-.ui-icon-star { background-position: -224px -112px; }-.ui-icon-link { background-position: -240px -112px; }-.ui-icon-cancel { background-position: 0 -128px; }-.ui-icon-plus { background-position: -16px -128px; }-.ui-icon-plusthick { background-position: -32px -128px; }-.ui-icon-minus { background-position: -48px -128px; }-.ui-icon-minusthick { background-position: -64px -128px; }-.ui-icon-close { background-position: -80px -128px; }-.ui-icon-closethick { background-position: -96px -128px; }-.ui-icon-key { background-position: -112px -128px; }-.ui-icon-lightbulb { background-position: -128px -128px; }-.ui-icon-scissors { background-position: -144px -128px; }-.ui-icon-clipboard { background-position: -160px -128px; }-.ui-icon-copy { background-position: -176px -128px; }-.ui-icon-contact { background-position: -192px -128px; }-.ui-icon-image { background-position: -208px -128px; }-.ui-icon-video { background-position: -224px -128px; }-.ui-icon-script { background-position: -240px -128px; }-.ui-icon-alert { background-position: 0 -144px; }-.ui-icon-info { background-position: -16px -144px; }-.ui-icon-notice { background-position: -32px -144px; }-.ui-icon-help { background-position: -48px -144px; }-.ui-icon-check { background-position: -64px -144px; }-.ui-icon-bullet { background-position: -80px -144px; }-.ui-icon-radio-on { background-position: -96px -144px; }-.ui-icon-radio-off { background-position: -112px -144px; }-.ui-icon-pin-w { background-position: -128px -144px; }-.ui-icon-pin-s { background-position: -144px -144px; }-.ui-icon-play { background-position: 0 -160px; }-.ui-icon-pause { background-position: -16px -160px; }-.ui-icon-seek-next { background-position: -32px -160px; }-.ui-icon-seek-prev { background-position: -48px -160px; }-.ui-icon-seek-end { background-position: -64px -160px; }-.ui-icon-seek-start { background-position: -80px -160px; }-/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */-.ui-icon-seek-first { background-position: -80px -160px; }-.ui-icon-stop { background-position: -96px -160px; }-.ui-icon-eject { background-position: -112px -160px; }-.ui-icon-volume-off { background-position: -128px -160px; }-.ui-icon-volume-on { background-position: -144px -160px; }-.ui-icon-power { background-position: 0 -176px; }-.ui-icon-signal-diag { background-position: -16px -176px; }-.ui-icon-signal { background-position: -32px -176px; }-.ui-icon-battery-0 { background-position: -48px -176px; }-.ui-icon-battery-1 { background-position: -64px -176px; }-.ui-icon-battery-2 { background-position: -80px -176px; }-.ui-icon-battery-3 { background-position: -96px -176px; }-.ui-icon-circle-plus { background-position: 0 -192px; }-.ui-icon-circle-minus { background-position: -16px -192px; }-.ui-icon-circle-close { background-position: -32px -192px; }-.ui-icon-circle-triangle-e { background-position: -48px -192px; }-.ui-icon-circle-triangle-s { background-position: -64px -192px; }-.ui-icon-circle-triangle-w { background-position: -80px -192px; }-.ui-icon-circle-triangle-n { background-position: -96px -192px; }-.ui-icon-circle-arrow-e { background-position: -112px -192px; }-.ui-icon-circle-arrow-s { background-position: -128px -192px; }-.ui-icon-circle-arrow-w { background-position: -144px -192px; }-.ui-icon-circle-arrow-n { background-position: -160px -192px; }-.ui-icon-circle-zoomin { background-position: -176px -192px; }-.ui-icon-circle-zoomout { background-position: -192px -192px; }-.ui-icon-circle-check { background-position: -208px -192px; }-.ui-icon-circlesmall-plus { background-position: 0 -208px; }-.ui-icon-circlesmall-minus { background-position: -16px -208px; }-.ui-icon-circlesmall-close { background-position: -32px -208px; }-.ui-icon-squaresmall-plus { background-position: -48px -208px; }-.ui-icon-squaresmall-minus { background-position: -64px -208px; }-.ui-icon-squaresmall-close { background-position: -80px -208px; }-.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }-.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }-.ui-icon-grip-solid-vertical { background-position: -32px -224px; }-.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }-.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }-.ui-icon-grip-diagonal-se { background-position: -80px -224px; }---/* Misc visuals-----------------------------------*/--/* Corner radius */-.ui-corner-all,-.ui-corner-top,-.ui-corner-left,-.ui-corner-tl {- border-top-left-radius: 6px;-}-.ui-corner-all,-.ui-corner-top,-.ui-corner-right,-.ui-corner-tr {- border-top-right-radius: 6px;-}-.ui-corner-all,-.ui-corner-bottom,-.ui-corner-left,-.ui-corner-bl {- border-bottom-left-radius: 6px;-}-.ui-corner-all,-.ui-corner-bottom,-.ui-corner-right,-.ui-corner-br {- border-bottom-right-radius: 6px;-}--/* Overlays */-.ui-widget-overlay {- background: #5c5c5c url("images/ui-bg_flat_50_5c5c5c_40x100.png") 50% 50% repeat-x;- opacity: .8;- filter: Alpha(Opacity=80); /* support: IE8 */-}-.ui-widget-shadow {- margin: -7px 0 0 -7px;- padding: 7px;- background: #cccccc url("images/ui-bg_flat_30_cccccc_40x100.png") 50% 50% repeat-x;- opacity: .6;- filter: Alpha(Opacity=60); /* support: IE8 */- border-radius: 8px;-}diff --git a/web/ext/ui/jquery-ui-1.11.4/jquery-ui.theme.min.css b/web/ext/ui/jquery-ui-1.11.4/jquery-ui.theme.min.cssdeleted file mode 100644index 9dd9aa26d..000000000--- a/web/ext/ui/jquery-ui-1.11.4/jquery-ui.theme.min.css+++ /dev/null@@ -1,5 +0,0 @@-/*! jQuery UI - v1.11.4 - 2015-06-29-* http://jqueryui.com-* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */--.ui-widget{font-family:Segoe UI,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Segoe UI,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #666;background:#000 url("images/ui-bg_inset-soft_25_000000_1x100.png") 50% bottom repeat-x;color:#fff}.ui-widget-content a{color:#fff}.ui-widget-header{border:1px solid #333;background:#333 url("images/ui-bg_gloss-wave_25_333333_500x100.png") 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #666;background:#555 url("images/ui-bg_glass_20_555555_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#eee}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#eee;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #59b4d4;background:#0078a3 url("images/ui-bg_glass_40_0078a3_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#fff}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#fff;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #ffaf0f;background:#f58400 url("images/ui-bg_inset-soft_30_f58400_1x100.png") 50% 50% repeat-x;font-weight:bold;color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #ccc;background:#eee url("images/ui-bg_highlight-soft_80_eeeeee_1x100.png") 50% top repeat-x;color:#2e7db2}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#2e7db2}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #ffb73d;background:#ffc73d url("images/ui-bg_glass_40_ffc73d_1x400.png") 50% 50% repeat-x;color:#111}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#111}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#111}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_cccccc_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-default .ui-icon{background-image:url("images/ui-icons_cccccc_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-active .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("images/ui-icons_4b8e0b_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_a83300_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:6px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:6px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:6px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:6px}.ui-widget-overlay{background:#5c5c5c url("images/ui-bg_flat_50_5c5c5c_40x100.png") 50% 50% repeat-x;opacity:.8;filter:Alpha(Opacity=80)}.ui-widget-shadow{margin:-7px 0 0 -7px;padding:7px;background:#ccc url("images/ui-bg_flat_30_cccccc_40x100.png") 50% 50% repeat-x;opacity:.6;filter:Alpha(Opacity=60);border-radius:8px}\ No newline at end of filediff --git a/web/ext/ui/jquery.jscrollpane-2.0.22/jquery.jscrollpane.css b/web/ext/ui/jquery.jscrollpane-2.0.22/jquery.jscrollpane.cssdeleted file mode 100644index a051caed0..000000000--- a/web/ext/ui/jquery.jscrollpane-2.0.22/jquery.jscrollpane.css+++ /dev/null@@ -1,120 +0,0 @@-/*- * CSS Styles that are needed by jScrollPane for it to operate correctly.- *- * Include this stylesheet in your site or copy and paste the styles below into your stylesheet - jScrollPane- * may not operate correctly without them.- */--.jspContainer-{- overflow: hidden;- position: relative;-}--.jspPane-{- position: absolute;-}--.jspVerticalBar-{- position: absolute;- top: 0;- right: 0;- width: 16px;- height: 100%;- background: red;-}--.jspHorizontalBar-{- position: absolute;- bottom: 0;- left: 0;- width: 100%;- height: 16px;- background: red;-}--.jspVerticalBar *,-.jspHorizontalBar *-{- margin: 0;- padding: 0;-}--.jspCap-{- display: none;-}--.jspHorizontalBar .jspCap-{- float: left;-}--.jspTrack-{- background: #dde;- position: relative;-}--.jspDrag-{- background: #bbd;- position: relative;- top: 0;- left: 0;- cursor: pointer;-}--.jspHorizontalBar .jspTrack,-.jspHorizontalBar .jspDrag-{- float: left;- height: 100%;-}--.jspArrow-{- background: #50506d;- text-indent: -20000px;- display: block;- cursor: pointer;-}--.jspArrow.jspDisabled-{- cursor: default;- background: #80808d;-}--.jspVerticalBar .jspArrow-{- height: 16px;-}--.jspHorizontalBar .jspArrow-{- width: 16px;- float: left;- height: 100%;-}--.jspVerticalBar .jspArrow:focus-{- outline: none;-}--.jspCorner-{- background: #eeeef4;- float: left;- height: 100%;-}--/* Yuk! CSS Hack for IE6 3 pixel bug :( */-* html .jspCorner-{- margin: 0 -3px 0 0;-}\ No newline at end of filediff --git a/web/ext/ui/jquery.jscrollpane-2.0.22/jquery.jscrollpane.js b/web/ext/ui/jquery.jscrollpane-2.0.22/jquery.jscrollpane.jsdeleted file mode 100644index dcd36e8fd..000000000--- a/web/ext/ui/jquery.jscrollpane-2.0.22/jquery.jscrollpane.js+++ /dev/null@@ -1,1474 +0,0 @@-/*!- * jScrollPane - v2.0.22 - 2015-04-25- * http://jscrollpane.kelvinluck.com/- *- * Copyright (c) 2014 Kelvin Luck- * Dual licensed under the MIT or GPL licenses.- */--// Script: jScrollPane - cross browser customisable scrollbars-//-// *Version: 2.0.22, Last updated: 2015-04-25*-//-// Project Home - http://jscrollpane.kelvinluck.com/-// GitHub - http://github.com/vitch/jScrollPane-// Source - http://github.com/vitch/jScrollPane/raw/master/script/jquery.jscrollpane.js-// (Minified) - http://github.com/vitch/jScrollPane/raw/master/script/jquery.jscrollpane.min.js-//-// About: License-//-// Copyright (c) 2014 Kelvin Luck-// Dual licensed under the MIT or GPL Version 2 licenses.-// http://jscrollpane.kelvinluck.com/MIT-LICENSE.txt-// http://jscrollpane.kelvinluck.com/GPL-LICENSE.txt-//-// About: Examples-//-// All examples and demos are available through the jScrollPane example site at:-// http://jscrollpane.kelvinluck.com/-//-// About: Support and Testing-//-// This plugin is tested on the browsers below and has been found to work reliably on them. If you run-// into a problem on one of the supported browsers then please visit the support section on the jScrollPane-// website (http://jscrollpane.kelvinluck.com/) for more information on getting support. You are also-// welcome to fork the project on GitHub if you can contribute a fix for a given issue.-//-// jQuery Versions - tested in 1.4.2+ - reported to work in 1.3.x-// Browsers Tested - Firefox 3.6.8, Safari 5, Opera 10.6, Chrome 5.0, IE 6, 7, 8-//-// About: Release History-//-// 2.0.22 - (2015-04-25) Resolve a memory leak due to an event handler that isn't cleaned up in destroy (thanks @timjnh)-// 2.0.21 - (2015-02-24) Simplify UMD pattern: fixes browserify when loading jQuery outside of bundle-// 2.0.20 - (2014-10-23) Adds AMD support (thanks @carlosrberto) and support for overflow-x/overflow-y (thanks @darimpulso)-// 2.0.19 - (2013-11-16) Changes for more reliable scroll amount with latest mousewheel plugin (thanks @brandonaaron)-// 2.0.18 - (2013-10-23) Fix for issue with gutters and scrollToElement (thanks @Dubiy)-// 2.0.17 - (2013-08-17) Working correctly when box-sizing is set to border-box (thanks @pieht)-// 2.0.16 - (2013-07-30) Resetting left position when scroll is removed. Fixes #189-// 2.0.15 - (2013-07-29) Fixed issue with scrollToElement where the destX and destY are undefined.-// 2.0.14 - (2013-05-01) Updated to most recent mouse wheel plugin (see #106) and related changes for sensible scroll speed-// 2.0.13 - (2013-05-01) Switched to semver compatible version name-// 2.0.0beta12 - (2012-09-27) fix for jQuery 1.8+-// 2.0.0beta11 - (2012-05-14)-// 2.0.0beta10 - (2011-04-17) cleaner required size calculation, improved keyboard support, stickToBottom/Left, other small fixes-// 2.0.0beta9 - (2011-01-31) new API methods, bug fixes and correct keyboard support for FF/OSX-// 2.0.0beta8 - (2011-01-29) touchscreen support, improved keyboard support-// 2.0.0beta7 - (2011-01-23) scroll speed consistent (thanks Aivo Paas)-// 2.0.0beta6 - (2010-12-07) scrollToElement horizontal support-// 2.0.0beta5 - (2010-10-18) jQuery 1.4.3 support, various bug fixes-// 2.0.0beta4 - (2010-09-17) clickOnTrack support, bug fixes-// 2.0.0beta3 - (2010-08-27) Horizontal mousewheel, mwheelIntent, keyboard support, bug fixes-// 2.0.0beta2 - (2010-08-21) Bug fixes-// 2.0.0beta1 - (2010-08-17) Rewrite to follow modern best practices and enable horizontal scrolling, initially hidden-// elements and dynamically sized elements.-// 1.x - (2006-12-31 - 2010-07-31) Initial version, hosted at googlecode, deprecated--(function (factory) {- if ( typeof define === 'function' && define.amd ) {- // AMD. Register as an anonymous module.- define(['jquery'], factory);- } else if (typeof exports === 'object') {- // Node/CommonJS style for Browserify- module.exports = factory(require('jquery'));- } else {- // Browser globals- factory(jQuery);- }-}(function($){-- $.fn.jScrollPane = function(settings)- {- // JScrollPane "class" - public methods are available through $('selector').data('jsp')- function JScrollPane(elem, s)- {- var settings, jsp = this, pane, paneWidth, paneHeight, container, contentWidth, contentHeight,- percentInViewH, percentInViewV, isScrollableV, isScrollableH, verticalDrag, dragMaxY,- verticalDragPosition, horizontalDrag, dragMaxX, horizontalDragPosition,- verticalBar, verticalTrack, scrollbarWidth, verticalTrackHeight, verticalDragHeight, arrowUp, arrowDown,- horizontalBar, horizontalTrack, horizontalTrackWidth, horizontalDragWidth, arrowLeft, arrowRight,- reinitialiseInterval, originalPadding, originalPaddingTotalWidth, previousContentWidth,- wasAtTop = true, wasAtLeft = true, wasAtBottom = false, wasAtRight = false,- originalElement = elem.clone(false, false).empty(),- mwEvent = $.fn.mwheelIntent ? 'mwheelIntent.jsp' : 'mousewheel.jsp';-- if (elem.css('box-sizing') === 'border-box') {- originalPadding = 0;- originalPaddingTotalWidth = 0;- } else {- originalPadding = elem.css('paddingTop') + ' ' +- elem.css('paddingRight') + ' ' +- elem.css('paddingBottom') + ' ' +- elem.css('paddingLeft');- originalPaddingTotalWidth = (parseInt(elem.css('paddingLeft'), 10) || 0) +- (parseInt(elem.css('paddingRight'), 10) || 0);- }-- function initialise(s)- {-- var /*firstChild, lastChild, */isMaintainingPositon, lastContentX, lastContentY,- hasContainingSpaceChanged, originalScrollTop, originalScrollLeft,- maintainAtBottom = false, maintainAtRight = false;-- settings = s;-- if (pane === undefined) {- originalScrollTop = elem.scrollTop();- originalScrollLeft = elem.scrollLeft();-- elem.css(- {- overflow: 'hidden',- padding: 0- }- );- // TODO: Deal with where width/ height is 0 as it probably means the element is hidden and we should- // come back to it later and check once it is unhidden...- paneWidth = elem.innerWidth() + originalPaddingTotalWidth;- paneHeight = elem.innerHeight();-- elem.width(paneWidth);-- pane = $('<div class="jspPane" />').css('padding', originalPadding).append(elem.children());- container = $('<div class="jspContainer" />')- .css({- 'width': paneWidth + 'px',- 'height': paneHeight + 'px'- }- ).append(pane).appendTo(elem);-- /*- // Move any margins from the first and last children up to the container so they can still- // collapse with neighbouring elements as they would before jScrollPane- firstChild = pane.find(':first-child');- lastChild = pane.find(':last-child');- elem.css(- {- 'margin-top': firstChild.css('margin-top'),- 'margin-bottom': lastChild.css('margin-bottom')- }- );- firstChild.css('margin-top', 0);- lastChild.css('margin-bottom', 0);- */- } else {- elem.css('width', '');-- maintainAtBottom = settings.stickToBottom && isCloseToBottom();- maintainAtRight = settings.stickToRight && isCloseToRight();-- hasContainingSpaceChanged = elem.innerWidth() + originalPaddingTotalWidth != paneWidth || elem.outerHeight() != paneHeight;-- if (hasContainingSpaceChanged) {- paneWidth = elem.innerWidth() + originalPaddingTotalWidth;- paneHeight = elem.innerHeight();- container.css({- width: paneWidth + 'px',- height: paneHeight + 'px'- });- }-- // If nothing changed since last check...- if (!hasContainingSpaceChanged && previousContentWidth == contentWidth && pane.outerHeight() == contentHeight) {- elem.width(paneWidth);- return;- }- previousContentWidth = contentWidth;-- pane.css('width', '');- elem.width(paneWidth);-- container.find('>.jspVerticalBar,>.jspHorizontalBar').remove().end();- }-- pane.css('overflow', 'auto');- if (s.contentWidth) {- contentWidth = s.contentWidth;- } else {- contentWidth = pane[0].scrollWidth;- }- contentHeight = pane[0].scrollHeight;- pane.css('overflow', '');-- percentInViewH = contentWidth / paneWidth;- percentInViewV = contentHeight / paneHeight;- isScrollableV = percentInViewV > 1;-- isScrollableH = percentInViewH > 1;-- //console.log(paneWidth, paneHeight, contentWidth, contentHeight, percentInViewH, percentInViewV, isScrollableH, isScrollableV);-- if (!(isScrollableH || isScrollableV)) {- elem.removeClass('jspScrollable');- pane.css({- top: 0,- left: 0,- width: container.width() - originalPaddingTotalWidth- });- removeMousewheel();- removeFocusHandler();- removeKeyboardNav();- removeClickOnTrack();- } else {- elem.addClass('jspScrollable');-- isMaintainingPositon = settings.maintainPosition && (verticalDragPosition || horizontalDragPosition);- if (isMaintainingPositon) {- lastContentX = contentPositionX();- lastContentY = contentPositionY();- }-- initialiseVerticalScroll();- initialiseHorizontalScroll();- resizeScrollbars();-- if (isMaintainingPositon) {- scrollToX(maintainAtRight ? (contentWidth - paneWidth ) : lastContentX, false);- scrollToY(maintainAtBottom ? (contentHeight - paneHeight) : lastContentY, false);- }-- initFocusHandler();- initMousewheel();- initTouch();-- if (settings.enableKeyboardNavigation) {- initKeyboardNav();- }- if (settings.clickOnTrack) {- initClickOnTrack();- }-- observeHash();- if (settings.hijackInternalLinks) {- hijackInternalLinks();- }- }-- if (settings.autoReinitialise && !reinitialiseInterval) {- reinitialiseInterval = setInterval(- function()- {- initialise(settings);- },- settings.autoReinitialiseDelay- );- } else if (!settings.autoReinitialise && reinitialiseInterval) {- clearInterval(reinitialiseInterval);- }-- originalScrollTop && elem.scrollTop(0) && scrollToY(originalScrollTop, false);- originalScrollLeft && elem.scrollLeft(0) && scrollToX(originalScrollLeft, false);-- elem.trigger('jsp-initialised', [isScrollableH || isScrollableV]);- }-- function initialiseVerticalScroll()- {- if (isScrollableV) {-- container.append(- $('<div class="jspVerticalBar" />').append(- $('<div class="jspCap jspCapTop" />'),- $('<div class="jspTrack" />').append(- $('<div class="jspDrag" />').append(- $('<div class="jspDragTop" />'),- $('<div class="jspDragBottom" />')- )- ),- $('<div class="jspCap jspCapBottom" />')- )- );-- verticalBar = container.find('>.jspVerticalBar');- verticalTrack = verticalBar.find('>.jspTrack');- verticalDrag = verticalTrack.find('>.jspDrag');-- if (settings.showArrows) {- arrowUp = $('<a class="jspArrow jspArrowUp" />').bind(- 'mousedown.jsp', getArrowScroll(0, -1)- ).bind('click.jsp', nil);- arrowDown = $('<a class="jspArrow jspArrowDown" />').bind(- 'mousedown.jsp', getArrowScroll(0, 1)- ).bind('click.jsp', nil);- if (settings.arrowScrollOnHover) {- arrowUp.bind('mouseover.jsp', getArrowScroll(0, -1, arrowUp));- arrowDown.bind('mouseover.jsp', getArrowScroll(0, 1, arrowDown));- }-- appendArrows(verticalTrack, settings.verticalArrowPositions, arrowUp, arrowDown);- }-- verticalTrackHeight = paneHeight;- container.find('>.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow').each(- function()- {- verticalTrackHeight -= $(this).outerHeight();- }- );--- verticalDrag.hover(- function()- {- verticalDrag.addClass('jspHover');- },- function()- {- verticalDrag.removeClass('jspHover');- }- ).bind(- 'mousedown.jsp',- function(e)- {- // Stop IE from allowing text selection- $('html').bind('dragstart.jsp selectstart.jsp', nil);-- verticalDrag.addClass('jspActive');-- var startY = e.pageY - verticalDrag.position().top;-- $('html').bind(- 'mousemove.jsp',- function(e)- {- positionDragY(e.pageY - startY, false);- }- ).bind('mouseup.jsp mouseleave.jsp', cancelDrag);- return false;- }- );- sizeVerticalScrollbar();- }- }-- function sizeVerticalScrollbar()- {- verticalTrack.height(verticalTrackHeight + 'px');- verticalDragPosition = 0;- scrollbarWidth = settings.verticalGutter + verticalTrack.outerWidth();-- // Make the pane thinner to allow for the vertical scrollbar- pane.width(paneWidth - scrollbarWidth - originalPaddingTotalWidth);-- // Add margin to the left of the pane if scrollbars are on that side (to position- // the scrollbar on the left or right set it's left or right property in CSS)- try {- if (verticalBar.position().left === 0) {- pane.css('margin-left', scrollbarWidth + 'px');- }- } catch (err) {- }- }-- function initialiseHorizontalScroll()- {- if (isScrollableH) {-- container.append(- $('<div class="jspHorizontalBar" />').append(- $('<div class="jspCap jspCapLeft" />'),- $('<div class="jspTrack" />').append(- $('<div class="jspDrag" />').append(- $('<div class="jspDragLeft" />'),- $('<div class="jspDragRight" />')- )- ),- $('<div class="jspCap jspCapRight" />')- )- );-- horizontalBar = container.find('>.jspHorizontalBar');- horizontalTrack = horizontalBar.find('>.jspTrack');- horizontalDrag = horizontalTrack.find('>.jspDrag');-- if (settings.showArrows) {- arrowLeft = $('<a class="jspArrow jspArrowLeft" />').bind(- 'mousedown.jsp', getArrowScroll(-1, 0)- ).bind('click.jsp', nil);- arrowRight = $('<a class="jspArrow jspArrowRight" />').bind(- 'mousedown.jsp', getArrowScroll(1, 0)- ).bind('click.jsp', nil);- if (settings.arrowScrollOnHover) {- arrowLeft.bind('mouseover.jsp', getArrowScroll(-1, 0, arrowLeft));- arrowRight.bind('mouseover.jsp', getArrowScroll(1, 0, arrowRight));- }- appendArrows(horizontalTrack, settings.horizontalArrowPositions, arrowLeft, arrowRight);- }-- horizontalDrag.hover(- function()- {- horizontalDrag.addClass('jspHover');- },- function()- {- horizontalDrag.removeClass('jspHover');- }- ).bind(- 'mousedown.jsp',- function(e)- {- // Stop IE from allowing text selection- $('html').bind('dragstart.jsp selectstart.jsp', nil);-- horizontalDrag.addClass('jspActive');-- var startX = e.pageX - horizontalDrag.position().left;-- $('html').bind(- 'mousemove.jsp',- function(e)- {- positionDragX(e.pageX - startX, false);- }- ).bind('mouseup.jsp mouseleave.jsp', cancelDrag);- return false;- }- );- horizontalTrackWidth = container.innerWidth();- sizeHorizontalScrollbar();- }- }-- function sizeHorizontalScrollbar()- {- container.find('>.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow').each(- function()- {- horizontalTrackWidth -= $(this).outerWidth();- }- );-- horizontalTrack.width(horizontalTrackWidth + 'px');- horizontalDragPosition = 0;- }-- function resizeScrollbars()- {- if (isScrollableH && isScrollableV) {- var horizontalTrackHeight = horizontalTrack.outerHeight(),- verticalTrackWidth = verticalTrack.outerWidth();- verticalTrackHeight -= horizontalTrackHeight;- $(horizontalBar).find('>.jspCap:visible,>.jspArrow').each(- function()- {- horizontalTrackWidth += $(this).outerWidth();- }- );- horizontalTrackWidth -= verticalTrackWidth;- paneHeight -= verticalTrackWidth;- paneWidth -= horizontalTrackHeight;- horizontalTrack.parent().append(- $('<div class="jspCorner" />').css('width', horizontalTrackHeight + 'px')- );- sizeVerticalScrollbar();- sizeHorizontalScrollbar();- }- // reflow content- if (isScrollableH) {- pane.width((container.outerWidth() - originalPaddingTotalWidth) + 'px');- }- contentHeight = pane.outerHeight();- percentInViewV = contentHeight / paneHeight;-- if (isScrollableH) {- horizontalDragWidth = Math.ceil(1 / percentInViewH * horizontalTrackWidth);- if (horizontalDragWidth > settings.horizontalDragMaxWidth) {- horizontalDragWidth = settings.horizontalDragMaxWidth;- } else if (horizontalDragWidth < settings.horizontalDragMinWidth) {- horizontalDragWidth = settings.horizontalDragMinWidth;- }- horizontalDrag.width(horizontalDragWidth + 'px');- dragMaxX = horizontalTrackWidth - horizontalDragWidth;- _positionDragX(horizontalDragPosition); // To update the state for the arrow buttons- }- if (isScrollableV) {- verticalDragHeight = Math.ceil(1 / percentInViewV * verticalTrackHeight);- if (verticalDragHeight > settings.verticalDragMaxHeight) {- verticalDragHeight = settings.verticalDragMaxHeight;- } else if (verticalDragHeight < settings.verticalDragMinHeight) {- verticalDragHeight = settings.verticalDragMinHeight;- }- verticalDrag.height(verticalDragHeight + 'px');- dragMaxY = verticalTrackHeight - verticalDragHeight;- _positionDragY(verticalDragPosition); // To update the state for the arrow buttons- }- }-- function appendArrows(ele, p, a1, a2)- {- var p1 = "before", p2 = "after", aTemp;-- // Sniff for mac... Is there a better way to determine whether the arrows would naturally appear- // at the top or the bottom of the bar?- if (p == "os") {- p = /Mac/.test(navigator.platform) ? "after" : "split";- }- if (p == p1) {- p2 = p;- } else if (p == p2) {- p1 = p;- aTemp = a1;- a1 = a2;- a2 = aTemp;- }-- ele[p1](a1)[p2](a2);- }-- function getArrowScroll(dirX, dirY, ele)- {- return function()- {- arrowScroll(dirX, dirY, this, ele);- this.blur();- return false;- };- }-- function arrowScroll(dirX, dirY, arrow, ele)- {- arrow = $(arrow).addClass('jspActive');-- var eve,- scrollTimeout,- isFirst = true,- doScroll = function()- {- if (dirX !== 0) {- jsp.scrollByX(dirX * settings.arrowButtonSpeed);- }- if (dirY !== 0) {- jsp.scrollByY(dirY * settings.arrowButtonSpeed);- }- scrollTimeout = setTimeout(doScroll, isFirst ? settings.initialDelay : settings.arrowRepeatFreq);- isFirst = false;- };-- doScroll();-- eve = ele ? 'mouseout.jsp' : 'mouseup.jsp';- ele = ele || $('html');- ele.bind(- eve,- function()- {- arrow.removeClass('jspActive');- scrollTimeout && clearTimeout(scrollTimeout);- scrollTimeout = null;- ele.unbind(eve);- }- );- }-- function initClickOnTrack()- {- removeClickOnTrack();- if (isScrollableV) {- verticalTrack.bind(- 'mousedown.jsp',- function(e)- {- if (e.originalTarget === undefined || e.originalTarget == e.currentTarget) {- var clickedTrack = $(this),- offset = clickedTrack.offset(),- direction = e.pageY - offset.top - verticalDragPosition,- scrollTimeout,- isFirst = true,- doScroll = function()- {- var offset = clickedTrack.offset(),- pos = e.pageY - offset.top - verticalDragHeight / 2,- contentDragY = paneHeight * settings.scrollPagePercent,- dragY = dragMaxY * contentDragY / (contentHeight - paneHeight);- if (direction < 0) {- if (verticalDragPosition - dragY > pos) {- jsp.scrollByY(-contentDragY);- } else {- positionDragY(pos);- }- } else if (direction > 0) {- if (verticalDragPosition + dragY < pos) {- jsp.scrollByY(contentDragY);- } else {- positionDragY(pos);- }- } else {- cancelClick();- return;- }- scrollTimeout = setTimeout(doScroll, isFirst ? settings.initialDelay : settings.trackClickRepeatFreq);- isFirst = false;- },- cancelClick = function()- {- scrollTimeout && clearTimeout(scrollTimeout);- scrollTimeout = null;- $(document).unbind('mouseup.jsp', cancelClick);- };- doScroll();- $(document).bind('mouseup.jsp', cancelClick);- return false;- }- }- );- }-- if (isScrollableH) {- horizontalTrack.bind(- 'mousedown.jsp',- function(e)- {- if (e.originalTarget === undefined || e.originalTarget == e.currentTarget) {- var clickedTrack = $(this),- offset = clickedTrack.offset(),- direction = e.pageX - offset.left - horizontalDragPosition,- scrollTimeout,- isFirst = true,- doScroll = function()- {- var offset = clickedTrack.offset(),- pos = e.pageX - offset.left - horizontalDragWidth / 2,- contentDragX = paneWidth * settings.scrollPagePercent,- dragX = dragMaxX * contentDragX / (contentWidth - paneWidth);- if (direction < 0) {- if (horizontalDragPosition - dragX > pos) {- jsp.scrollByX(-contentDragX);- } else {- positionDragX(pos);- }- } else if (direction > 0) {- if (horizontalDragPosition + dragX < pos) {- jsp.scrollByX(contentDragX);- } else {- positionDragX(pos);- }- } else {- cancelClick();- return;- }- scrollTimeout = setTimeout(doScroll, isFirst ? settings.initialDelay : settings.trackClickRepeatFreq);- isFirst = false;- },- cancelClick = function()- {- scrollTimeout && clearTimeout(scrollTimeout);- scrollTimeout = null;- $(document).unbind('mouseup.jsp', cancelClick);- };- doScroll();- $(document).bind('mouseup.jsp', cancelClick);- return false;- }- }- );- }- }-- function removeClickOnTrack()- {- if (horizontalTrack) {- horizontalTrack.unbind('mousedown.jsp');- }- if (verticalTrack) {- verticalTrack.unbind('mousedown.jsp');- }- }-- function cancelDrag()- {- $('html').unbind('dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp');-- if (verticalDrag) {- verticalDrag.removeClass('jspActive');- }- if (horizontalDrag) {- horizontalDrag.removeClass('jspActive');- }- }-- function positionDragY(destY, animate)- {- if (!isScrollableV) {- return;- }- if (destY < 0) {- destY = 0;- } else if (destY > dragMaxY) {- destY = dragMaxY;- }-- // can't just check if(animate) because false is a valid value that could be passed in...- if (animate === undefined) {- animate = settings.animateScroll;- }- if (animate) {- jsp.animate(verticalDrag, 'top', destY, _positionDragY);- } else {- verticalDrag.css('top', destY);- _positionDragY(destY);- }-- }-- function _positionDragY(destY)- {- if (destY === undefined) {- destY = verticalDrag.position().top;- }-- container.scrollTop(0);- verticalDragPosition = destY || 0;-- var isAtTop = verticalDragPosition === 0,- isAtBottom = verticalDragPosition == dragMaxY,- percentScrolled = destY/ dragMaxY,- destTop = -percentScrolled * (contentHeight - paneHeight);-- if (wasAtTop != isAtTop || wasAtBottom != isAtBottom) {- wasAtTop = isAtTop;- wasAtBottom = isAtBottom;- elem.trigger('jsp-arrow-change', [wasAtTop, wasAtBottom, wasAtLeft, wasAtRight]);- }-- updateVerticalArrows(isAtTop, isAtBottom);- pane.css('top', destTop);- elem.trigger('jsp-scroll-y', [-destTop, isAtTop, isAtBottom]).trigger('scroll');- }-- function positionDragX(destX, animate)- {- if (!isScrollableH) {- return;- }- if (destX < 0) {- destX = 0;- } else if (destX > dragMaxX) {- destX = dragMaxX;- }-- if (animate === undefined) {- animate = settings.animateScroll;- }- if (animate) {- jsp.animate(horizontalDrag, 'left', destX, _positionDragX);- } else {- horizontalDrag.css('left', destX);- _positionDragX(destX);- }- }-- function _positionDragX(destX)- {- if (destX === undefined) {- destX = horizontalDrag.position().left;- }-- container.scrollTop(0);- horizontalDragPosition = destX ||0;-- var isAtLeft = horizontalDragPosition === 0,- isAtRight = horizontalDragPosition == dragMaxX,- percentScrolled = destX / dragMaxX,- destLeft = -percentScrolled * (contentWidth - paneWidth);-- if (wasAtLeft != isAtLeft || wasAtRight != isAtRight) {- wasAtLeft = isAtLeft;- wasAtRight = isAtRight;- elem.trigger('jsp-arrow-change', [wasAtTop, wasAtBottom, wasAtLeft, wasAtRight]);- }-- updateHorizontalArrows(isAtLeft, isAtRight);- pane.css('left', destLeft);- elem.trigger('jsp-scroll-x', [-destLeft, isAtLeft, isAtRight]).trigger('scroll');- }-- function updateVerticalArrows(isAtTop, isAtBottom)- {- if (settings.showArrows) {- arrowUp[isAtTop ? 'addClass' : 'removeClass']('jspDisabled');- arrowDown[isAtBottom ? 'addClass' : 'removeClass']('jspDisabled');- }- }-- function updateHorizontalArrows(isAtLeft, isAtRight)- {- if (settings.showArrows) {- arrowLeft[isAtLeft ? 'addClass' : 'removeClass']('jspDisabled');- arrowRight[isAtRight ? 'addClass' : 'removeClass']('jspDisabled');- }- }-- function scrollToY(destY, animate)- {- var percentScrolled = destY / (contentHeight - paneHeight);- positionDragY(percentScrolled * dragMaxY, animate);- }-- function scrollToX(destX, animate)- {- var percentScrolled = destX / (contentWidth - paneWidth);- positionDragX(percentScrolled * dragMaxX, animate);- }-- function scrollToElement(ele, stickToTop, animate)- {- var e, eleHeight, eleWidth, eleTop = 0, eleLeft = 0, viewportTop, viewportLeft, maxVisibleEleTop, maxVisibleEleLeft, destY, destX;-- // Legal hash values aren't necessarily legal jQuery selectors so we need to catch any- // errors from the lookup...- try {- e = $(ele);- } catch (err) {- return;- }- eleHeight = e.outerHeight();- eleWidth= e.outerWidth();-- container.scrollTop(0);- container.scrollLeft(0);-- // loop through parents adding the offset top of any elements that are relatively positioned between- // the focused element and the jspPane so we can get the true distance from the top- // of the focused element to the top of the scrollpane...- while (!e.is('.jspPane')) {- eleTop += e.position().top;- eleLeft += e.position().left;- e = e.offsetParent();- if (/^body|html$/i.test(e[0].nodeName)) {- // we ended up too high in the document structure. Quit!- return;- }- }-- viewportTop = contentPositionY();- maxVisibleEleTop = viewportTop + paneHeight;- if (eleTop < viewportTop || stickToTop) { // element is above viewport- destY = eleTop - settings.horizontalGutter;- } else if (eleTop + eleHeight > maxVisibleEleTop) { // element is below viewport- destY = eleTop - paneHeight + eleHeight + settings.horizontalGutter;- }- if (!isNaN(destY)) {- scrollToY(destY, animate);- }-- viewportLeft = contentPositionX();- maxVisibleEleLeft = viewportLeft + paneWidth;- if (eleLeft < viewportLeft || stickToTop) { // element is to the left of viewport- destX = eleLeft - settings.horizontalGutter;- } else if (eleLeft + eleWidth > maxVisibleEleLeft) { // element is to the right viewport- destX = eleLeft - paneWidth + eleWidth + settings.horizontalGutter;- }- if (!isNaN(destX)) {- scrollToX(destX, animate);- }-- }-- function contentPositionX()- {- return -pane.position().left;- }-- function contentPositionY()- {- return -pane.position().top;- }-- function isCloseToBottom()- {- var scrollableHeight = contentHeight - paneHeight;- return (scrollableHeight > 20) && (scrollableHeight - contentPositionY() < 10);- }-- function isCloseToRight()- {- var scrollableWidth = contentWidth - paneWidth;- return (scrollableWidth > 20) && (scrollableWidth - contentPositionX() < 10);- }-- function initMousewheel()- {- container.unbind(mwEvent).bind(- mwEvent,- function (event, delta, deltaX, deltaY) {-- if (!horizontalDragPosition) horizontalDragPosition = 0;- if (!verticalDragPosition) verticalDragPosition = 0;-- var dX = horizontalDragPosition, dY = verticalDragPosition, factor = event.deltaFactor || settings.mouseWheelSpeed;- jsp.scrollBy(deltaX * factor, -deltaY * factor, false);- // return true if there was no movement so rest of screen can scroll- return dX == horizontalDragPosition && dY == verticalDragPosition;- }- );- }-- function removeMousewheel()- {- container.unbind(mwEvent);- }-- function nil()- {- return false;- }-- function initFocusHandler()- {- pane.find(':input,a').unbind('focus.jsp').bind(- 'focus.jsp',- function(e)- {- scrollToElement(e.target, false);- }- );- }-- function removeFocusHandler()- {- pane.find(':input,a').unbind('focus.jsp');- }-- function initKeyboardNav()- {- var keyDown, elementHasScrolled, validParents = [];- isScrollableH && validParents.push(horizontalBar[0]);- isScrollableV && validParents.push(verticalBar[0]);-- // IE also focuses elements that don't have tabindex set.- pane.bind(- 'focus.jsp',- function()- {- elem.focus();- }- );-- elem.attr('tabindex', 0)- .unbind('keydown.jsp keypress.jsp')- .bind(- 'keydown.jsp',- function(e)- {- if (e.target !== this && !(validParents.length && $(e.target).closest(validParents).length)){- return;- }- var dX = horizontalDragPosition, dY = verticalDragPosition;- switch(e.keyCode) {- case 40: // down- case 38: // up- case 34: // page down- case 32: // space- case 33: // page up- case 39: // right- case 37: // left- keyDown = e.keyCode;- keyDownHandler();- break;- case 35: // end- scrollToY(contentHeight - paneHeight);- keyDown = null;- break;- case 36: // home- scrollToY(0);- keyDown = null;- break;- }-- elementHasScrolled = e.keyCode == keyDown && dX != horizontalDragPosition || dY != verticalDragPosition;- return !elementHasScrolled;- }- ).bind(- 'keypress.jsp', // For FF/ OSX so that we can cancel the repeat key presses if the JSP scrolls...- function(e)- {- if (e.keyCode == keyDown) {- keyDownHandler();- }- // If the keypress is not related to the area, ignore it. Fixes problem with inputs inside scrolled area. Copied from line 955.- if (e.target !== this && !(validParents.length && $(e.target).closest(validParents).length)){- return;- }- return !elementHasScrolled;- }- );-- if (settings.hideFocus) {- elem.css('outline', 'none');- if ('hideFocus' in container[0]){- elem.attr('hideFocus', true);- }- } else {- elem.css('outline', '');- if ('hideFocus' in container[0]){- elem.attr('hideFocus', false);- }- }-- function keyDownHandler()- {- var dX = horizontalDragPosition, dY = verticalDragPosition;- switch(keyDown) {- case 40: // down- jsp.scrollByY(settings.keyboardSpeed, false);- break;- case 38: // up- jsp.scrollByY(-settings.keyboardSpeed, false);- break;- case 34: // page down- case 32: // space- jsp.scrollByY(paneHeight * settings.scrollPagePercent, false);- break;- case 33: // page up- jsp.scrollByY(-paneHeight * settings.scrollPagePercent, false);- break;- case 39: // right- jsp.scrollByX(settings.keyboardSpeed, false);- break;- case 37: // left- jsp.scrollByX(-settings.keyboardSpeed, false);- break;- }-- elementHasScrolled = dX != horizontalDragPosition || dY != verticalDragPosition;- return elementHasScrolled;- }- }-- function removeKeyboardNav()- {- elem.attr('tabindex', '-1')- .removeAttr('tabindex')- .unbind('keydown.jsp keypress.jsp');-- pane.unbind('.jsp');- }-- function observeHash()- {- if (location.hash && location.hash.length > 1) {- var e,- retryInt,- hash = escape(location.hash.substr(1)) // hash must be escaped to prevent XSS- ;- try {- e = $('#' + hash + ', a[name="' + hash + '"]');- } catch (err) {- return;- }-- if (e.length && pane.find(hash)) {- // nasty workaround but it appears to take a little while before the hash has done its thing- // to the rendered page so we just wait until the container's scrollTop has been messed up.- if (container.scrollTop() === 0) {- retryInt = setInterval(- function()- {- if (container.scrollTop() > 0) {- scrollToElement(e, true);- $(document).scrollTop(container.position().top);- clearInterval(retryInt);- }- },- 50- );- } else {- scrollToElement(e, true);- $(document).scrollTop(container.position().top);- }- }- }- }-- function hijackInternalLinks()- {- // only register the link handler once- if ($(document.body).data('jspHijack')) {- return;- }-- // remember that the handler was bound- $(document.body).data('jspHijack', true);-- // use live handler to also capture newly created links- $(document.body).delegate('a[href*=#]', 'click', function(event) {- // does the link point to the same page?- // this also takes care of cases with a <base>-Tag or Links not starting with the hash #- // e.g. <a href="index.html#test"> when the current url already is index.html- var href = this.href.substr(0, this.href.indexOf('#')),- locationHref = location.href,- hash,- element,- container,- jsp,- scrollTop,- elementTop;- if (location.href.indexOf('#') !== -1) {- locationHref = location.href.substr(0, location.href.indexOf('#'));- }- if (href !== locationHref) {- // the link points to another page- return;- }-- // check if jScrollPane should handle this click event- hash = escape(this.href.substr(this.href.indexOf('#') + 1));-- // find the element on the page- element;- try {- element = $('#' + hash + ', a[name="' + hash + '"]');- } catch (e) {- // hash is not a valid jQuery identifier- return;- }-- if (!element.length) {- // this link does not point to an element on this page- return;- }-- container = element.closest('.jspScrollable');- jsp = container.data('jsp');-- // jsp might be another jsp instance than the one, that bound this event- // remember: this event is only bound once for all instances.- jsp.scrollToElement(element, true);-- if (container[0].scrollIntoView) {- // also scroll to the top of the container (if it is not visible)- scrollTop = $(window).scrollTop();- elementTop = element.offset().top;- if (elementTop < scrollTop || elementTop > scrollTop + $(window).height()) {- container[0].scrollIntoView();- }- }-- // jsp handled this event, prevent the browser default (scrolling :P)- event.preventDefault();- });- }-- // Init touch on iPad, iPhone, iPod, Android- function initTouch()- {- var startX,- startY,- touchStartX,- touchStartY,- moved,- moving = false;-- container.unbind('touchstart.jsp touchmove.jsp touchend.jsp click.jsp-touchclick').bind(- 'touchstart.jsp',- function(e)- {- var touch = e.originalEvent.touches[0];- startX = contentPositionX();- startY = contentPositionY();- touchStartX = touch.pageX;- touchStartY = touch.pageY;- moved = false;- moving = true;- }- ).bind(- 'touchmove.jsp',- function(ev)- {- if(!moving) {- return;- }-- var touchPos = ev.originalEvent.touches[0],- dX = horizontalDragPosition, dY = verticalDragPosition;-- jsp.scrollTo(startX + touchStartX - touchPos.pageX, startY + touchStartY - touchPos.pageY);-- moved = moved || Math.abs(touchStartX - touchPos.pageX) > 5 || Math.abs(touchStartY - touchPos.pageY) > 5;-- // return true if there was no movement so rest of screen can scroll- return dX == horizontalDragPosition && dY == verticalDragPosition;- }- ).bind(- 'touchend.jsp',- function(e)- {- moving = false;- /*if(moved) {- return false;- }*/- }- ).bind(- 'click.jsp-touchclick',- function(e)- {- if(moved) {- moved = false;- return false;- }- }- );- }-- function destroy(){- var currentY = contentPositionY(),- currentX = contentPositionX();- elem.removeClass('jspScrollable').unbind('.jsp');- pane.unbind('.jsp');- elem.replaceWith(originalElement.append(pane.children()));- originalElement.scrollTop(currentY);- originalElement.scrollLeft(currentX);-- // clear reinitialize timer if active- if (reinitialiseInterval) {- clearInterval(reinitialiseInterval);- }- }-- // Public API- $.extend(- jsp,- {- // Reinitialises the scroll pane (if it's internal dimensions have changed since the last time it- // was initialised). The settings object which is passed in will override any settings from the- // previous time it was initialised - if you don't pass any settings then the ones from the previous- // initialisation will be used.- reinitialise: function(s)- {- s = $.extend({}, settings, s);- initialise(s);- },- // Scrolls the specified element (a jQuery object, DOM node or jQuery selector string) into view so- // that it can be seen within the viewport. If stickToTop is true then the element will appear at- // the top of the viewport, if it is false then the viewport will scroll as little as possible to- // show the element. You can also specify if you want animation to occur. If you don't provide this- // argument then the animateScroll value from the settings object is used instead.- scrollToElement: function(ele, stickToTop, animate)- {- scrollToElement(ele, stickToTop, animate);- },- // Scrolls the pane so that the specified co-ordinates within the content are at the top left- // of the viewport. animate is optional and if not passed then the value of animateScroll from- // the settings object this jScrollPane was initialised with is used.- scrollTo: function(destX, destY, animate)- {- scrollToX(destX, animate);- scrollToY(destY, animate);- },- // Scrolls the pane so that the specified co-ordinate within the content is at the left of the- // viewport. animate is optional and if not passed then the value of animateScroll from the settings- // object this jScrollPane was initialised with is used.- scrollToX: function(destX, animate)- {- scrollToX(destX, animate);- },- // Scrolls the pane so that the specified co-ordinate within the content is at the top of the- // viewport. animate is optional and if not passed then the value of animateScroll from the settings- // object this jScrollPane was initialised with is used.- scrollToY: function(destY, animate)- {- scrollToY(destY, animate);- },- // Scrolls the pane to the specified percentage of its maximum horizontal scroll position. animate- // is optional and if not passed then the value of animateScroll from the settings object this- // jScrollPane was initialised with is used.- scrollToPercentX: function(destPercentX, animate)- {- scrollToX(destPercentX * (contentWidth - paneWidth), animate);- },- // Scrolls the pane to the specified percentage of its maximum vertical scroll position. animate- // is optional and if not passed then the value of animateScroll from the settings object this- // jScrollPane was initialised with is used.- scrollToPercentY: function(destPercentY, animate)- {- scrollToY(destPercentY * (contentHeight - paneHeight), animate);- },- // Scrolls the pane by the specified amount of pixels. animate is optional and if not passed then- // the value of animateScroll from the settings object this jScrollPane was initialised with is used.- scrollBy: function(deltaX, deltaY, animate)- {- jsp.scrollByX(deltaX, animate);- jsp.scrollByY(deltaY, animate);- },- // Scrolls the pane by the specified amount of pixels. animate is optional and if not passed then- // the value of animateScroll from the settings object this jScrollPane was initialised with is used.- scrollByX: function(deltaX, animate)- {- var destX = contentPositionX() + Math[deltaX<0 ? 'floor' : 'ceil'](deltaX),- percentScrolled = destX / (contentWidth - paneWidth);- positionDragX(percentScrolled * dragMaxX, animate);- },- // Scrolls the pane by the specified amount of pixels. animate is optional and if not passed then- // the value of animateScroll from the settings object this jScrollPane was initialised with is used.- scrollByY: function(deltaY, animate)- {- var destY = contentPositionY() + Math[deltaY<0 ? 'floor' : 'ceil'](deltaY),- percentScrolled = destY / (contentHeight - paneHeight);- positionDragY(percentScrolled * dragMaxY, animate);- },- // Positions the horizontal drag at the specified x position (and updates the viewport to reflect- // this). animate is optional and if not passed then the value of animateScroll from the settings- // object this jScrollPane was initialised with is used.- positionDragX: function(x, animate)- {- positionDragX(x, animate);- },- // Positions the vertical drag at the specified y position (and updates the viewport to reflect- // this). animate is optional and if not passed then the value of animateScroll from the settings- // object this jScrollPane was initialised with is used.- positionDragY: function(y, animate)- {- positionDragY(y, animate);- },- // This method is called when jScrollPane is trying to animate to a new position. You can override- // it if you want to provide advanced animation functionality. It is passed the following arguments:- // * ele - the element whose position is being animated- // * prop - the property that is being animated- // * value - the value it's being animated to- // * stepCallback - a function that you must execute each time you update the value of the property- // You can use the default implementation (below) as a starting point for your own implementation.- animate: function(ele, prop, value, stepCallback)- {- var params = {};- params[prop] = value;- ele.animate(- params,- {- 'duration' : settings.animateDuration,- 'easing' : settings.animateEase,- 'queue' : false,- 'step' : stepCallback- }- );- },- // Returns the current x position of the viewport with regards to the content pane.- getContentPositionX: function()- {- return contentPositionX();- },- // Returns the current y position of the viewport with regards to the content pane.- getContentPositionY: function()- {- return contentPositionY();- },- // Returns the width of the content within the scroll pane.- getContentWidth: function()- {- return contentWidth;- },- // Returns the height of the content within the scroll pane.- getContentHeight: function()- {- return contentHeight;- },- // Returns the horizontal position of the viewport within the pane content.- getPercentScrolledX: function()- {- return contentPositionX() / (contentWidth - paneWidth);- },- // Returns the vertical position of the viewport within the pane content.- getPercentScrolledY: function()- {- return contentPositionY() / (contentHeight - paneHeight);- },- // Returns whether or not this scrollpane has a horizontal scrollbar.- getIsScrollableH: function()- {- return isScrollableH;- },- // Returns whether or not this scrollpane has a vertical scrollbar.- getIsScrollableV: function()- {- return isScrollableV;- },- // Gets a reference to the content pane. It is important that you use this method if you want to- // edit the content of your jScrollPane as if you access the element directly then you may have some- // problems (as your original element has had additional elements for the scrollbars etc added into- // it).- getContentPane: function()- {- return pane;- },- // Scrolls this jScrollPane down as far as it can currently scroll. If animate isn't passed then the- // animateScroll value from settings is used instead.- scrollToBottom: function(animate)- {- positionDragY(dragMaxY, animate);- },- // Hijacks the links on the page which link to content inside the scrollpane. If you have changed- // the content of your page (e.g. via AJAX) and want to make sure any new anchor links to the- // contents of your scroll pane will work then call this function.- hijackInternalLinks: $.noop,- // Removes the jScrollPane and returns the page to the state it was in before jScrollPane was- // initialised.- destroy: function()- {- destroy();- }- }- );-- initialise(s);- }-- // Pluginifying code...- settings = $.extend({}, $.fn.jScrollPane.defaults, settings);-- // Apply default speed- $.each(['arrowButtonSpeed', 'trackClickSpeed', 'keyboardSpeed'], function() {- settings[this] = settings[this] || settings.speed;- });-- return this.each(- function()- {- var elem = $(this), jspApi = elem.data('jsp');- if (jspApi) {- jspApi.reinitialise(settings);- } else {- $("script",elem).filter('[type="text/javascript"],:not([type])').remove();- jspApi = new JScrollPane(elem, settings);- elem.data('jsp', jspApi);- }- }- );- };-- $.fn.jScrollPane.defaults = {- showArrows : false,- maintainPosition : true,- stickToBottom : false,- stickToRight : false,- clickOnTrack : true,- autoReinitialise : false,- autoReinitialiseDelay : 500,- verticalDragMinHeight : 0,- verticalDragMaxHeight : 99999,- horizontalDragMinWidth : 0,- horizontalDragMaxWidth : 99999,- contentWidth : undefined,- animateScroll : false,- animateDuration : 300,- animateEase : 'linear',- hijackInternalLinks : false,- verticalGutter : 4,- horizontalGutter : 4,- mouseWheelSpeed : 3,- arrowButtonSpeed : 0,- arrowRepeatFreq : 50,- arrowScrollOnHover : false,- trackClickSpeed : 0,- trackClickRepeatFreq : 70,- verticalArrowPositions : 'split',- horizontalArrowPositions : 'split',- enableKeyboardNavigation : true,- hideFocus : false,- keyboardSpeed : 0,- initialDelay : 300, // Delay before starting repeating- speed : 30, // Default speed when others falsey- scrollPagePercent : .8 // Percent of visible area scrolled when pageUp/Down or track area pressed- };--}));diff --git a/web/ext/ui/jquery.jscrollpane-2.0.22/jquery.jscrollpane.min.css b/web/ext/ui/jquery.jscrollpane-2.0.22/jquery.jscrollpane.min.cssdeleted file mode 100644index 05754295a..000000000--- a/web/ext/ui/jquery.jscrollpane-2.0.22/jquery.jscrollpane.min.css+++ /dev/null@@ -1 +0,0 @@-.jspContainer{overflow:hidden;position:relative}.jspPane{position:absolute}.jspVerticalBar{position:absolute;top:0;right:0;width:16px;height:100%;background:red}.jspHorizontalBar{position:absolute;bottom:0;left:0;width:100%;height:16px;background:red}.jspHorizontalBar *,.jspVerticalBar *{margin:0;padding:0}.jspCap{display:none}.jspHorizontalBar .jspCap{float:left}.jspTrack{background:#dde;position:relative}.jspDrag{background:#bbd;position:relative;top:0;left:0;cursor:pointer}.jspHorizontalBar .jspDrag,.jspHorizontalBar .jspTrack{float:left;height:100%}.jspArrow{background:#50506d;text-indent:-20000px;display:block;cursor:pointer}.jspArrow.jspDisabled{cursor:default;background:#80808d}.jspVerticalBar .jspArrow{height:16px}.jspHorizontalBar .jspArrow{width:16px;float:left;height:100%}.jspVerticalBar .jspArrow:focus{outline:0}.jspCorner{background:#eeeef4;float:left;height:100%}* html .jspCorner{margin:0 -3px 0 0}\ No newline at end of filediff --git a/web/ext/ui/jquery.jscrollpane-2.0.22/jquery.jscrollpane.min.js b/web/ext/ui/jquery.jscrollpane-2.0.22/jquery.jscrollpane.min.jsdeleted file mode 100644index d90d105b2..000000000--- a/web/ext/ui/jquery.jscrollpane-2.0.22/jquery.jscrollpane.min.js+++ /dev/null@@ -1,8 +0,0 @@-/*!- * jScrollPane - v2.0.22 - 2015-04-25- * http://jscrollpane.kelvinluck.com/- *- * Copyright (c) 2014 Kelvin Luck- * Dual licensed under the MIT or GPL licenses.- */-!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){a.fn.jScrollPane=function(b){function c(b,c){function d(c){var f,h,j,k,l,o,p=!1,q=!1;if(N=c,void 0===O)l=b.scrollTop(),o=b.scrollLeft(),b.css({overflow:"hidden",padding:0}),P=b.innerWidth()+ra,Q=b.innerHeight(),b.width(P),O=a('<div class="jspPane" />').css("padding",qa).append(b.children()),R=a('<div class="jspContainer" />').css({width:P+"px",height:Q+"px"}).append(O).appendTo(b);else{if(b.css("width",""),p=N.stickToBottom&&A(),q=N.stickToRight&&B(),k=b.innerWidth()+ra!=P||b.outerHeight()!=Q,k&&(P=b.innerWidth()+ra,Q=b.innerHeight(),R.css({width:P+"px",height:Q+"px"})),!k&&sa==S&&O.outerHeight()==T)return void b.width(P);sa=S,O.css("width",""),b.width(P),R.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end()}O.css("overflow","auto"),S=c.contentWidth?c.contentWidth:O[0].scrollWidth,T=O[0].scrollHeight,O.css("overflow",""),U=S/P,V=T/Q,W=V>1,X=U>1,X||W?(b.addClass("jspScrollable"),f=N.maintainPosition&&($||ba),f&&(h=y(),j=z()),e(),g(),i(),f&&(w(q?S-P:h,!1),v(p?T-Q:j,!1)),F(),C(),L(),N.enableKeyboardNavigation&&H(),N.clickOnTrack&&m(),J(),N.hijackInternalLinks&&K()):(b.removeClass("jspScrollable"),O.css({top:0,left:0,width:R.width()-ra}),D(),G(),I(),n()),N.autoReinitialise&&!pa?pa=setInterval(function(){d(N)},N.autoReinitialiseDelay):!N.autoReinitialise&&pa&&clearInterval(pa),l&&b.scrollTop(0)&&v(l,!1),o&&b.scrollLeft(0)&&w(o,!1),b.trigger("jsp-initialised",[X||W])}function e(){W&&(R.append(a('<div class="jspVerticalBar" />').append(a('<div class="jspCap jspCapTop" />'),a('<div class="jspTrack" />').append(a('<div class="jspDrag" />').append(a('<div class="jspDragTop" />'),a('<div class="jspDragBottom" />'))),a('<div class="jspCap jspCapBottom" />'))),ca=R.find(">.jspVerticalBar"),da=ca.find(">.jspTrack"),Y=da.find(">.jspDrag"),N.showArrows&&(ha=a('<a class="jspArrow jspArrowUp" />').bind("mousedown.jsp",k(0,-1)).bind("click.jsp",E),ia=a('<a class="jspArrow jspArrowDown" />').bind("mousedown.jsp",k(0,1)).bind("click.jsp",E),N.arrowScrollOnHover&&(ha.bind("mouseover.jsp",k(0,-1,ha)),ia.bind("mouseover.jsp",k(0,1,ia))),j(da,N.verticalArrowPositions,ha,ia)),fa=Q,R.find(">.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow").each(function(){fa-=a(this).outerHeight()}),Y.hover(function(){Y.addClass("jspHover")},function(){Y.removeClass("jspHover")}).bind("mousedown.jsp",function(b){a("html").bind("dragstart.jsp selectstart.jsp",E),Y.addClass("jspActive");var c=b.pageY-Y.position().top;return a("html").bind("mousemove.jsp",function(a){p(a.pageY-c,!1)}).bind("mouseup.jsp mouseleave.jsp",o),!1}),f())}function f(){da.height(fa+"px"),$=0,ea=N.verticalGutter+da.outerWidth(),O.width(P-ea-ra);try{0===ca.position().left&&O.css("margin-left",ea+"px")}catch(a){}}function g(){X&&(R.append(a('<div class="jspHorizontalBar" />').append(a('<div class="jspCap jspCapLeft" />'),a('<div class="jspTrack" />').append(a('<div class="jspDrag" />').append(a('<div class="jspDragLeft" />'),a('<div class="jspDragRight" />'))),a('<div class="jspCap jspCapRight" />'))),ja=R.find(">.jspHorizontalBar"),ka=ja.find(">.jspTrack"),_=ka.find(">.jspDrag"),N.showArrows&&(na=a('<a class="jspArrow jspArrowLeft" />').bind("mousedown.jsp",k(-1,0)).bind("click.jsp",E),oa=a('<a class="jspArrow jspArrowRight" />').bind("mousedown.jsp",k(1,0)).bind("click.jsp",E),N.arrowScrollOnHover&&(na.bind("mouseover.jsp",k(-1,0,na)),oa.bind("mouseover.jsp",k(1,0,oa))),j(ka,N.horizontalArrowPositions,na,oa)),_.hover(function(){_.addClass("jspHover")},function(){_.removeClass("jspHover")}).bind("mousedown.jsp",function(b){a("html").bind("dragstart.jsp selectstart.jsp",E),_.addClass("jspActive");var c=b.pageX-_.position().left;return a("html").bind("mousemove.jsp",function(a){r(a.pageX-c,!1)}).bind("mouseup.jsp mouseleave.jsp",o),!1}),la=R.innerWidth(),h())}function h(){R.find(">.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow").each(function(){la-=a(this).outerWidth()}),ka.width(la+"px"),ba=0}function i(){if(X&&W){var b=ka.outerHeight(),c=da.outerWidth();fa-=b,a(ja).find(">.jspCap:visible,>.jspArrow").each(function(){la+=a(this).outerWidth()}),la-=c,Q-=c,P-=b,ka.parent().append(a('<div class="jspCorner" />').css("width",b+"px")),f(),h()}X&&O.width(R.outerWidth()-ra+"px"),T=O.outerHeight(),V=T/Q,X&&(ma=Math.ceil(1/U*la),ma>N.horizontalDragMaxWidth?ma=N.horizontalDragMaxWidth:ma<N.horizontalDragMinWidth&&(ma=N.horizontalDragMinWidth),_.width(ma+"px"),aa=la-ma,s(ba)),W&&(ga=Math.ceil(1/V*fa),ga>N.verticalDragMaxHeight?ga=N.verticalDragMaxHeight:ga<N.verticalDragMinHeight&&(ga=N.verticalDragMinHeight),Y.height(ga+"px"),Z=fa-ga,q($))}function j(a,b,c,d){var e,f="before",g="after";"os"==b&&(b=/Mac/.test(navigator.platform)?"after":"split"),b==f?g=b:b==g&&(f=b,e=c,c=d,d=e),a[f](c)[g](d)}function k(a,b,c){return function(){return l(a,b,this,c),this.blur(),!1}}function l(b,c,d,e){d=a(d).addClass("jspActive");var f,g,h=!0,i=function(){0!==b&&ta.scrollByX(b*N.arrowButtonSpeed),0!==c&&ta.scrollByY(c*N.arrowButtonSpeed),g=setTimeout(i,h?N.initialDelay:N.arrowRepeatFreq),h=!1};i(),f=e?"mouseout.jsp":"mouseup.jsp",e=e||a("html"),e.bind(f,function(){d.removeClass("jspActive"),g&&clearTimeout(g),g=null,e.unbind(f)})}function m(){n(),W&&da.bind("mousedown.jsp",function(b){if(void 0===b.originalTarget||b.originalTarget==b.currentTarget){var c,d=a(this),e=d.offset(),f=b.pageY-e.top-$,g=!0,h=function(){var a=d.offset(),e=b.pageY-a.top-ga/2,j=Q*N.scrollPagePercent,k=Z*j/(T-Q);if(0>f)$-k>e?ta.scrollByY(-j):p(e);else{if(!(f>0))return void i();e>$+k?ta.scrollByY(j):p(e)}c=setTimeout(h,g?N.initialDelay:N.trackClickRepeatFreq),g=!1},i=function(){c&&clearTimeout(c),c=null,a(document).unbind("mouseup.jsp",i)};return h(),a(document).bind("mouseup.jsp",i),!1}}),X&&ka.bind("mousedown.jsp",function(b){if(void 0===b.originalTarget||b.originalTarget==b.currentTarget){var c,d=a(this),e=d.offset(),f=b.pageX-e.left-ba,g=!0,h=function(){var a=d.offset(),e=b.pageX-a.left-ma/2,j=P*N.scrollPagePercent,k=aa*j/(S-P);if(0>f)ba-k>e?ta.scrollByX(-j):r(e);else{if(!(f>0))return void i();e>ba+k?ta.scrollByX(j):r(e)}c=setTimeout(h,g?N.initialDelay:N.trackClickRepeatFreq),g=!1},i=function(){c&&clearTimeout(c),c=null,a(document).unbind("mouseup.jsp",i)};return h(),a(document).bind("mouseup.jsp",i),!1}})}function n(){ka&&ka.unbind("mousedown.jsp"),da&&da.unbind("mousedown.jsp")}function o(){a("html").unbind("dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp"),Y&&Y.removeClass("jspActive"),_&&_.removeClass("jspActive")}function p(a,b){W&&(0>a?a=0:a>Z&&(a=Z),void 0===b&&(b=N.animateScroll),b?ta.animate(Y,"top",a,q):(Y.css("top",a),q(a)))}function q(a){void 0===a&&(a=Y.position().top),R.scrollTop(0),$=a||0;var c=0===$,d=$==Z,e=a/Z,f=-e*(T-Q);(ua!=c||wa!=d)&&(ua=c,wa=d,b.trigger("jsp-arrow-change",[ua,wa,va,xa])),t(c,d),O.css("top",f),b.trigger("jsp-scroll-y",[-f,c,d]).trigger("scroll")}function r(a,b){X&&(0>a?a=0:a>aa&&(a=aa),void 0===b&&(b=N.animateScroll),b?ta.animate(_,"left",a,s):(_.css("left",a),s(a)))}function s(a){void 0===a&&(a=_.position().left),R.scrollTop(0),ba=a||0;var c=0===ba,d=ba==aa,e=a/aa,f=-e*(S-P);(va!=c||xa!=d)&&(va=c,xa=d,b.trigger("jsp-arrow-change",[ua,wa,va,xa])),u(c,d),O.css("left",f),b.trigger("jsp-scroll-x",[-f,c,d]).trigger("scroll")}function t(a,b){N.showArrows&&(ha[a?"addClass":"removeClass"]("jspDisabled"),ia[b?"addClass":"removeClass"]("jspDisabled"))}function u(a,b){N.showArrows&&(na[a?"addClass":"removeClass"]("jspDisabled"),oa[b?"addClass":"removeClass"]("jspDisabled"))}function v(a,b){var c=a/(T-Q);p(c*Z,b)}function w(a,b){var c=a/(S-P);r(c*aa,b)}function x(b,c,d){var e,f,g,h,i,j,k,l,m,n=0,o=0;try{e=a(b)}catch(p){return}for(f=e.outerHeight(),g=e.outerWidth(),R.scrollTop(0),R.scrollLeft(0);!e.is(".jspPane");)if(n+=e.position().top,o+=e.position().left,e=e.offsetParent(),/^body|html$/i.test(e[0].nodeName))return;h=z(),j=h+Q,h>n||c?l=n-N.horizontalGutter:n+f>j&&(l=n-Q+f+N.horizontalGutter),isNaN(l)||v(l,d),i=y(),k=i+P,i>o||c?m=o-N.horizontalGutter:o+g>k&&(m=o-P+g+N.horizontalGutter),isNaN(m)||w(m,d)}function y(){return-O.position().left}function z(){return-O.position().top}function A(){var a=T-Q;return a>20&&a-z()<10}function B(){var a=S-P;return a>20&&a-y()<10}function C(){R.unbind(za).bind(za,function(a,b,c,d){ba||(ba=0),$||($=0);var e=ba,f=$,g=a.deltaFactor||N.mouseWheelSpeed;return ta.scrollBy(c*g,-d*g,!1),e==ba&&f==$})}function D(){R.unbind(za)}function E(){return!1}function F(){O.find(":input,a").unbind("focus.jsp").bind("focus.jsp",function(a){x(a.target,!1)})}function G(){O.find(":input,a").unbind("focus.jsp")}function H(){function c(){var a=ba,b=$;switch(d){case 40:ta.scrollByY(N.keyboardSpeed,!1);break;case 38:ta.scrollByY(-N.keyboardSpeed,!1);break;case 34:case 32:ta.scrollByY(Q*N.scrollPagePercent,!1);break;case 33:ta.scrollByY(-Q*N.scrollPagePercent,!1);break;case 39:ta.scrollByX(N.keyboardSpeed,!1);break;case 37:ta.scrollByX(-N.keyboardSpeed,!1)}return e=a!=ba||b!=$}var d,e,f=[];X&&f.push(ja[0]),W&&f.push(ca[0]),O.bind("focus.jsp",function(){b.focus()}),b.attr("tabindex",0).unbind("keydown.jsp keypress.jsp").bind("keydown.jsp",function(b){if(b.target===this||f.length&&a(b.target).closest(f).length){var g=ba,h=$;switch(b.keyCode){case 40:case 38:case 34:case 32:case 33:case 39:case 37:d=b.keyCode,c();break;case 35:v(T-Q),d=null;break;case 36:v(0),d=null}return e=b.keyCode==d&&g!=ba||h!=$,!e}}).bind("keypress.jsp",function(b){return b.keyCode==d&&c(),b.target===this||f.length&&a(b.target).closest(f).length?!e:void 0}),N.hideFocus?(b.css("outline","none"),"hideFocus"in R[0]&&b.attr("hideFocus",!0)):(b.css("outline",""),"hideFocus"in R[0]&&b.attr("hideFocus",!1))}function I(){b.attr("tabindex","-1").removeAttr("tabindex").unbind("keydown.jsp keypress.jsp"),O.unbind(".jsp")}function J(){if(location.hash&&location.hash.length>1){var b,c,d=escape(location.hash.substr(1));try{b=a("#"+d+', a[name="'+d+'"]')}catch(e){return}b.length&&O.find(d)&&(0===R.scrollTop()?c=setInterval(function(){R.scrollTop()>0&&(x(b,!0),a(document).scrollTop(R.position().top),clearInterval(c))},50):(x(b,!0),a(document).scrollTop(R.position().top)))}}function K(){a(document.body).data("jspHijack")||(a(document.body).data("jspHijack",!0),a(document.body).delegate("a[href*=#]","click",function(b){var c,d,e,f,g,h,i=this.href.substr(0,this.href.indexOf("#")),j=location.href;if(-1!==location.href.indexOf("#")&&(j=location.href.substr(0,location.href.indexOf("#"))),i===j){c=escape(this.href.substr(this.href.indexOf("#")+1));try{d=a("#"+c+', a[name="'+c+'"]')}catch(k){return}d.length&&(e=d.closest(".jspScrollable"),f=e.data("jsp"),f.scrollToElement(d,!0),e[0].scrollIntoView&&(g=a(window).scrollTop(),h=d.offset().top,(g>h||h>g+a(window).height())&&e[0].scrollIntoView()),b.preventDefault())}}))}function L(){var a,b,c,d,e,f=!1;R.unbind("touchstart.jsp touchmove.jsp touchend.jsp click.jsp-touchclick").bind("touchstart.jsp",function(g){var h=g.originalEvent.touches[0];a=y(),b=z(),c=h.pageX,d=h.pageY,e=!1,f=!0}).bind("touchmove.jsp",function(g){if(f){var h=g.originalEvent.touches[0],i=ba,j=$;return ta.scrollTo(a+c-h.pageX,b+d-h.pageY),e=e||Math.abs(c-h.pageX)>5||Math.abs(d-h.pageY)>5,i==ba&&j==$}}).bind("touchend.jsp",function(a){f=!1}).bind("click.jsp-touchclick",function(a){return e?(e=!1,!1):void 0})}function M(){var a=z(),c=y();b.removeClass("jspScrollable").unbind(".jsp"),O.unbind(".jsp"),b.replaceWith(ya.append(O.children())),ya.scrollTop(a),ya.scrollLeft(c),pa&&clearInterval(pa)}var N,O,P,Q,R,S,T,U,V,W,X,Y,Z,$,_,aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la,ma,na,oa,pa,qa,ra,sa,ta=this,ua=!0,va=!0,wa=!1,xa=!1,ya=b.clone(!1,!1).empty(),za=a.fn.mwheelIntent?"mwheelIntent.jsp":"mousewheel.jsp";"border-box"===b.css("box-sizing")?(qa=0,ra=0):(qa=b.css("paddingTop")+" "+b.css("paddingRight")+" "+b.css("paddingBottom")+" "+b.css("paddingLeft"),ra=(parseInt(b.css("paddingLeft"),10)||0)+(parseInt(b.css("paddingRight"),10)||0)),a.extend(ta,{reinitialise:function(b){b=a.extend({},N,b),d(b)},scrollToElement:function(a,b,c){x(a,b,c)},scrollTo:function(a,b,c){w(a,c),v(b,c)},scrollToX:function(a,b){w(a,b)},scrollToY:function(a,b){v(a,b)},scrollToPercentX:function(a,b){w(a*(S-P),b)},scrollToPercentY:function(a,b){v(a*(T-Q),b)},scrollBy:function(a,b,c){ta.scrollByX(a,c),ta.scrollByY(b,c)},scrollByX:function(a,b){var c=y()+Math[0>a?"floor":"ceil"](a),d=c/(S-P);r(d*aa,b)},scrollByY:function(a,b){var c=z()+Math[0>a?"floor":"ceil"](a),d=c/(T-Q);p(d*Z,b)},positionDragX:function(a,b){r(a,b)},positionDragY:function(a,b){p(a,b)},animate:function(a,b,c,d){var e={};e[b]=c,a.animate(e,{duration:N.animateDuration,easing:N.animateEase,queue:!1,step:d})},getContentPositionX:function(){return y()},getContentPositionY:function(){return z()},getContentWidth:function(){return S},getContentHeight:function(){return T},getPercentScrolledX:function(){return y()/(S-P)},getPercentScrolledY:function(){return z()/(T-Q)},getIsScrollableH:function(){return X},getIsScrollableV:function(){return W},getContentPane:function(){return O},scrollToBottom:function(a){p(Z,a)},hijackInternalLinks:a.noop,destroy:function(){M()}}),d(c)}return b=a.extend({},a.fn.jScrollPane.defaults,b),a.each(["arrowButtonSpeed","trackClickSpeed","keyboardSpeed"],function(){b[this]=b[this]||b.speed}),this.each(function(){var d=a(this),e=d.data("jsp");e?e.reinitialise(b):(a("script",d).filter('[type="text/javascript"],:not([type])').remove(),e=new c(d,b),d.data("jsp",e))})},a.fn.jScrollPane.defaults={showArrows:!1,maintainPosition:!0,stickToBottom:!1,stickToRight:!1,clickOnTrack:!0,autoReinitialise:!1,autoReinitialiseDelay:500,verticalDragMinHeight:0,verticalDragMaxHeight:99999,horizontalDragMinWidth:0,horizontalDragMaxWidth:99999,contentWidth:void 0,animateScroll:!1,animateDuration:300,animateEase:"linear",hijackInternalLinks:!1,verticalGutter:4,horizontalGutter:4,mouseWheelSpeed:3,arrowButtonSpeed:0,arrowRepeatFreq:50,arrowScrollOnHover:!1,trackClickSpeed:0,trackClickRepeatFreq:70,verticalArrowPositions:"split",horizontalArrowPositions:"split",enableKeyboardNavigation:!0,hideFocus:!1,keyboardSpeed:0,initialDelay:300,speed:30,scrollPagePercent:.8}});\ No newline at end of filediff --git a/web/ext/ui/noUiSlider-6.1.10/jquery.nouislider.css b/web/ext/ui/noUiSlider-6.1.10/jquery.nouislider.cssdeleted file mode 100644index 8bcf94cf8..000000000--- a/web/ext/ui/noUiSlider-6.1.10/jquery.nouislider.css+++ /dev/null@@ -1,165 +0,0 @@--/* Functional styling;- * These styles are required for noUiSlider to function.- * You don't need to change these rules to apply your design.- */-.noUi-target,-.noUi-target * {--webkit-touch-callout: none;--webkit-user-select: none;--ms-touch-action: none;--ms-user-select: none;--moz-user-select: none;--moz-box-sizing: border-box;- box-sizing: border-box;-}-.noUi-base {- width: 100%;- height: 100%;- position: relative;-}-.noUi-origin {- position: absolute;- right: 0;- top: 0;- left: 0;- bottom: 0;-}-.noUi-handle {- position: relative;- z-index: 1;-}-.noUi-stacking .noUi-handle {-/* This class is applied to the lower origin when- its values is > 50%. */- z-index: 10;-}-.noUi-stacking + .noUi-origin {-/* Fix stacking order in IE7, which incorrectly- creates a new context for the origins. */- *z-index: -1;-}-.noUi-state-tap .noUi-origin {--webkit-transition: left 0.3s, top 0.3s;- transition: left 0.3s, top 0.3s;-}-.noUi-state-drag * {- cursor: inherit !important;-}--/* Slider size and handle placement;- */-.noUi-horizontal {- height: 18px;-}-.noUi-horizontal .noUi-handle {- width: 34px;- height: 28px;- left: -17px;- top: -6px;-}-.noUi-horizontal.noUi-extended {- padding: 0 15px;-}-.noUi-horizontal.noUi-extended .noUi-origin {- right: -15px;-}-.noUi-vertical {- width: 18px;-}-.noUi-vertical .noUi-handle {- width: 28px;- height: 34px;- left: -6px;- top: -17px;-}-.noUi-vertical.noUi-extended {- padding: 15px 0;-}-.noUi-vertical.noUi-extended .noUi-origin {- bottom: -15px;-}--/* Styling;- */-.noUi-background {- background: #FAFAFA;- box-shadow: inset 0 1px 1px #f0f0f0;-}-.noUi-connect {- background: #3FB8AF;- box-shadow: inset 0 0 3px rgba(51,51,51,0.45);--webkit-transition: background 450ms;- transition: background 450ms;-}-.noUi-origin {- border-radius: 2px;-}-.noUi-target {- border-radius: 4px;- border: 1px solid #D3D3D3;- box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB;-}-.noUi-target.noUi-connect {- box-shadow: inset 0 0 3px rgba(51,51,51,0.45), 0 3px 6px -5px #BBB;-}--/* Handles and cursors;- */-.noUi-dragable {- cursor: w-resize;-}-.noUi-vertical .noUi-dragable {- cursor: n-resize;-}-.noUi-handle {- border: 1px solid #D9D9D9;- border-radius: 3px;- background: #FFF;- cursor: default;- box-shadow: inset 0 0 1px #FFF,- inset 0 1px 7px #EBEBEB,- 0 3px 6px -3px #BBB;-}-.noUi-active {- box-shadow: inset 0 0 1px #FFF,- inset 0 1px 7px #DDD,- 0 3px 6px -3px #BBB;-}--/* Handle stripes;- */-.noUi-handle:before,-.noUi-handle:after {- content: "";- display: block;- position: absolute;- height: 14px;- width: 1px;- background: #E8E7E6;- left: 14px;- top: 6px;-}-.noUi-handle:after {- left: 17px;-}-.noUi-vertical .noUi-handle:before,-.noUi-vertical .noUi-handle:after {- width: 14px;- height: 1px;- left: 6px;- top: 14px;-}-.noUi-vertical .noUi-handle:after {- top: 17px;-}--/* Disabled state;- */-[disabled].noUi-connect,-[disabled] .noUi-connect {- background: #B8B8B8;-}-[disabled] .noUi-handle {- cursor: not-allowed;-}diff --git a/web/ext/ui/noUiSlider-6.1.10/jquery.nouislider.min.js b/web/ext/ui/noUiSlider-6.1.10/jquery.nouislider.min.jsdeleted file mode 100644index bc3d187fe..000000000--- a/web/ext/ui/noUiSlider-6.1.10/jquery.nouislider.min.js+++ /dev/null@@ -1,34 +0,0 @@-/*--$.classVal - WTFPL - refreshless.com/classval/ */-(function(b){function h(a,e){var d=!1;b.each(a?q:g,function(a){if(b(e).hasClass(a))return d=a,!1});return d}var n=b.fn.val,g={},q={},u={};b.classVal=function(a,b,d,l){"string"===typeof a&&"boolean"===typeof l&&(b&&(g[a]=b),d&&(q[a]=d),u[a]=l)};b.fn.val=function(){var a=Array.prototype.slice.call(arguments,0),e,d;return a.length?this.each(function(){(e=h(!0,this))?(d=u[e]?b(this):this,d[q[e]].apply(this,a)):n.apply(b(this),a)}):(e=h(!1,this))?(d=u[e]?this:this[0],d[g[e]].apply(d)):n.apply(this)}})(window.jQuery||-window.Zepto);/*--$.Link (part of noUiSlider) - WTFPL */-(function(b){function h(a,b,d){if((a[b]||a[d])&&a[b]===a[d])throw Error("(Link) '"+b+"' can't match '"+d+"'.'");}function n(a){void 0===a&&(a={});if("object"!==typeof a)throw Error("(Format) 'format' option must be an object.");var e={};b(q).each(function(b,l){if(void 0===a[l])e[l]=u[b];else if(typeof a[l]===typeof u[b]){if("decimals"===l&&(0>a[l]||7<a[l]))throw Error("(Format) 'format.decimals' option must be between 0 and 7.");e[l]=a[l]}else throw Error("(Format) 'format."+l+"' must be a "+typeof u[b]+-".");});h(e,"mark","thousand");h(e,"prefix","negative");h(e,"prefix","negativeBefore");this.r=e}function g(a,e){"object"!==typeof a&&b.error("(Link) Initialize with an object.");return new g.prototype.p(a.target||function(){},a.method,a.format||{},e)}var q="decimals mark thousand prefix postfix encoder decoder negative negativeBefore to from".split(" "),u=[2,".","","","",function(a){return a},function(a){return a},"-","",function(a){return a},function(a){return a}];n.prototype.a=function(a){return this.r[a]};-n.prototype.L=function(a){function b(a){return a.split("").reverse().join("")}a=this.a("encoder")(a);var d=this.a("decimals"),l="",g="",h="",n="";0===parseFloat(a.toFixed(d))&&(a="0");0>a&&(l=this.a("negative"),g=this.a("negativeBefore"));a=Math.abs(a).toFixed(d).toString();a=a.split(".");this.a("thousand")?(h=b(a[0]).match(/.{1,3}/g),h=b(h.join(b(this.a("thousand"))))):h=a[0];this.a("mark")&&1<a.length&&(n=this.a("mark")+a[1]);return this.a("to")(g+this.a("prefix")+l+h+n+this.a("postfix"))};n.prototype.w=-function(a){function b(a){return a.replace(/[\-\/\\\^$*+?.()|\[\]{}]/g,"\\$&")}var d;if(null===a||void 0===a)return!1;a=this.a("from")(a);a=a.toString();d=a.replace(RegExp("^"+b(this.a("negativeBefore"))),"");a!==d?(a=d,d="-"):d="";a=a.replace(RegExp("^"+b(this.a("prefix"))),"");this.a("negative")&&(d="",a=a.replace(RegExp("^"+b(this.a("negative"))),"-"));a=a.replace(RegExp(b(this.a("postfix"))+"$"),"").replace(RegExp(b(this.a("thousand")),"g"),"").replace(this.a("mark"),".");a=this.a("decoder")(parseFloat(d+-a));return isNaN(a)?!1:a};g.prototype.K=function(a,e){this.method=e||"html";this.j=b(a.replace("-tooltip-","")||"<div/>")[0]};g.prototype.H=function(a){this.method="val";this.j=document.createElement("input");this.j.name=a;this.j.type="hidden"};g.prototype.G=function(a){function e(a,b){return[b?null:a,b?a:null]}var d=this;this.method="val";this.target=a.on("change",function(a){d.B.val(e(b(a.target).val(),d.t),{link:d,set:!0})})};g.prototype.p=function(a,e,d,g){this.g=d;this.update=!g;if("string"===-typeof a&&0===a.indexOf("-tooltip-"))this.K(a,e);else if("string"===typeof a&&0!==a.indexOf("-"))this.H(a);else if("function"===typeof a)this.target=!1,this.method=a;else{if(a instanceof b||b.zepto&&b.zepto.isZ(a)){if(!e){if(a.is("input, select, textarea")){this.G(a);return}e="html"}if("function"===typeof e||"string"===typeof e&&a[e]){this.method=e;this.target=a;return}}throw new RangeError("(Link) Invalid Link.");}};g.prototype.write=function(a,b,d,g){if(!this.update||!1!==g)if(this.u=a,this.F=a=-this.format(a),"function"===typeof this.method)this.method.call(this.target[0]||d[0],a,b,d);else this.target[this.method](a,b,d)};g.prototype.q=function(a){this.g=new n(b.extend({},a,this.g instanceof n?this.g.r:this.g))};g.prototype.J=function(a){this.B=a};g.prototype.I=function(a){this.t=a};g.prototype.format=function(a){return this.g.L(a)};g.prototype.A=function(a){return this.g.w(a)};g.prototype.p.prototype=g.prototype;b.Link=g})(window.jQuery||window.Zepto);/*--$.fn.noUiSlider - WTFPL - refreshless.com/nouislider/ */-(function(b){function h(a){return"number"===typeof a&&!isNaN(a)&&isFinite(a)}function n(a){return b.isArray(a)?a:[a]}function g(a,c){a.addClass(c);setTimeout(function(){a.removeClass(c)},300)}function q(a,c){return 100*c/(a[1]-a[0])}function u(a,c){if(c>=a.d.slice(-1)[0])return 100;for(var b=1,f,d,e;c>=a.d[b];)b++;f=a.d[b-1];d=a.d[b];e=a.c[b-1];f=[f,d];return e+q(f,0>f[0]?c+Math.abs(f[0]):c-f[0])/(100/(a.c[b]-e))}function a(a,c){if(100<=c)return a.d.slice(-1)[0];for(var b=1,f,d,e;c>=a.c[b];)b++;f=-a.d[b-1];d=a.d[b];e=a.c[b-1];f=[f,d];return 100/(a.c[b]-e)*(c-e)*(f[1]-f[0])/100+f[0]}function e(a,c){for(var b=1,f;c>=a.c[b];)b++;if(a.m)return f=a.c[b-1],b=a.c[b],c-f>(b-f)/2?b:f;a.h[b-1]?(f=a.h[b-1],b=a.c[b-1]+Math.round((c-a.c[b-1])/f)*f):b=c;return b}function d(a,c){if(!h(c))throw Error("noUiSlider: 'step' is not numeric.");a.h[0]=c}function l(a,c){if("object"!==typeof c||b.isArray(c))throw Error("noUiSlider: 'range' is not an object.");b.each(c,function(c,f){var d;"number"===typeof f&&(f=[f]);-if(!b.isArray(f))throw Error("noUiSlider: 'range' contains invalid value.");d="min"===c?0:"max"===c?100:parseFloat(c);if(!h(d)||!h(f[0]))throw Error("noUiSlider: 'range' value isn't numeric.");a.c.push(d);a.d.push(f[0]);d?a.h.push(isNaN(f[1])?!1:f[1]):isNaN(f[1])||(a.h[0]=f[1])});b.each(a.h,function(c,b){if(!b)return!0;a.h[c]=q([a.d[c],a.d[c+1]],b)/(100/(a.c[c+1]-a.c[c]))})}function z(a,c){"number"===typeof c&&(c=[c]);if(!b.isArray(c)||!c.length||2<c.length)throw Error("noUiSlider: 'start' option is incorrect.");-a.b=c.length;a.start=c}function A(a,c){a.m=c;if("boolean"!==typeof c)throw Error("noUiSlider: 'snap' option must be a boolean.");}function B(a,c){if("lower"===c&&1===a.b)a.i=1;else if("upper"===c&&1===a.b)a.i=2;else if(!0===c&&2===a.b)a.i=3;else if(!1===c)a.i=0;else throw Error("noUiSlider: 'connect' option doesn't match handle count.");}function y(a,c){switch(c){case "horizontal":a.k=0;break;case "vertical":a.k=1;break;default:throw Error("noUiSlider: 'orientation' option is invalid.");}}function I(a,-c){if(2<a.c.length)throw Error("noUiSlider: 'margin' option is only supported on linear sliders.");a.margin=q(a.d,c);if(!h(c))throw Error("noUiSlider: 'margin' option must be numeric.");}function J(a,c){switch(c){case "ltr":a.dir=0;break;case "rtl":a.dir=1;a.i=[0,2,1,3][a.i];break;default:throw Error("noUiSlider: 'direction' option was not recognized.");}}function K(a,c){if("string"!==typeof c)throw Error("noUiSlider: 'behaviour' must be a string containing options.");var b=0<=c.indexOf("snap");a.n=-{s:0<=c.indexOf("tap")||b,extend:0<=c.indexOf("extend"),v:0<=c.indexOf("drag"),fixed:0<=c.indexOf("fixed"),m:b}}function L(a,c,d){a.o=[c.lower,c.upper];a.g=c.format;b.each(a.o,function(a,e){if(!b.isArray(e))throw Error("noUiSlider: 'serialization."+(a?"upper":"lower")+"' must be an array.");b.each(e,function(){if(!(this instanceof b.Link))throw Error("noUiSlider: 'serialization."+(a?"upper":"lower")+"' can only contain Link instances.");this.I(a);this.J(d);this.q(c.format)})});a.dir&&1<a.b&&a.o.reverse()}-function M(a,c){var e={c:[],d:[],h:[!1],margin:0},f;f={step:{e:!1,f:d},range:{e:!0,f:l},start:{e:!0,f:z},snap:{e:!1,f:A},connect:{e:!0,f:B},orientation:{e:!1,f:y},margin:{e:!1,f:I},direction:{e:!0,f:J},behaviour:{e:!0,f:K},serialization:{e:!0,f:L}};a=b.extend({connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal"},a);a.serialization=b.extend({lower:[],upper:[],format:{}},a.serialization);b.each(f,function(b,d){if(void 0===a[b]){if(d.e)throw Error("noUiSlider: '"+b+"' is required.");-return!0}d.f(e,a[b],c)});e.style=e.k?"top":"left";return e}function N(a,c){var d=b("<div><div/></div>").addClass(k[2]),f=["-lower","-upper"];a.dir&&f.reverse();d.children().addClass(k[3]+" "+k[3]+f[c]);return d}function O(a,c){c.j&&(c=new b.Link({target:b(c.j).clone().appendTo(a),method:c.method,format:c.g},!0));return c}function P(a,c){var d,f=[];for(d=0;d<a.b;d++){var e=f,g=d,k=a.o[d],h=c[d].children(),l=a.g,n=void 0,q=[],n=new b.Link({},!0);n.q(l);q.push(n);for(n=0;n<k.length;n++)q.push(O(h,k[n]));-e[g]=q}return f}function Q(a,c,b){switch(a){case 1:c.addClass(k[7]);b[0].addClass(k[6]);break;case 3:b[1].addClass(k[6]);case 2:b[0].addClass(k[7]);case 0:c.addClass(k[6])}}function R(a,b){var d,f=[];for(d=0;d<a.b;d++)f.push(N(a,d).appendTo(b));return f}function S(a,c){c.addClass([k[0],k[8+a.dir],k[4+a.k]].join(" "));return b("<div/>").appendTo(c).addClass(k[1])}function T(d,c,h){function f(){return r[["width","height"][c.k]]()}function l(a){var b,c=[s.val()];for(b=0;b<a.length;b++)s.trigger(a[b],-c)}function q(d,p,f){var g=d[0]!==m[0][0]?1:0,H=v[0]+c.margin,l=v[1]-c.margin;f&&1<m.length&&(p=g?Math.max(p,H):Math.min(p,l));100>p&&(p=e(c,p));p=Math.max(Math.min(parseFloat(p.toFixed(7)),100),0);if(p===v[g])return 1===m.length?!1:p===H||p===l?0:!1;d.css(c.style,p+"%");d.is(":first-child")&&d.toggleClass(k[17],50<p);v[g]=p;c.dir&&(p=100-p);b(w[g]).each(function(){this.write(a(c,p),d.children(),s)});return!0}function G(a,b,c){c||g(s,k[14]);q(a,b,!1);l(["slide","set","change"])}function t(a,b,d,f){a=-a.replace(/\s/g,".nui ")+".nui";b.on(a,function(a){var b=s.attr("disabled");if(s.hasClass(k[14])||void 0!==b&&null!==b)return!1;a.preventDefault();var b=0===a.type.indexOf("touch"),p=0===a.type.indexOf("mouse"),e=0===a.type.indexOf("pointer"),D,g,l=a;0===a.type.indexOf("MSPointer")&&(e=!0);a.originalEvent&&(a=a.originalEvent);b&&(D=a.changedTouches[0].pageX,g=a.changedTouches[0].pageY);if(p||e)e||void 0!==window.pageXOffset||(window.pageXOffset=document.documentElement.scrollLeft,window.pageYOffset=-document.documentElement.scrollTop),D=a.clientX+window.pageXOffset,g=a.clientY+window.pageYOffset;l.C=[D,g];l.cursor=p;a=l;a.l=a.C[c.k];d(a,f)})}function y(a,b){var c=b.b||m,d,e=!1,e=100*(a.l-b.start)/f(),g=c[0][0]!==m[0][0]?1:0;var k=b.D;d=e+k[0];e+=k[1];1<c.length?(0>d&&(e+=Math.abs(d)),100<e&&(d-=e-100),d=[Math.max(Math.min(d,100),0),Math.max(Math.min(e,100),0)]):d=[d,e];e=q(c[0],d[g],1===c.length);1<c.length&&(e=q(c[1],d[g?0:1],!1)||e);e&&l(["slide"])}function z(a){b("."+k[15]).removeClass(k[15]);-a.cursor&&b("body").css("cursor","").off(".nui");E.off(".nui");s.removeClass(k[12]);l(["set","change"])}function C(a,c){1===c.b.length&&c.b[0].children().addClass(k[15]);a.stopPropagation();t(x.move,E,y,{start:a.l,b:c.b,D:[v[0],v[m.length-1]]});t(x.end,E,z,null);a.cursor&&(b("body").css("cursor",b(a.target).css("cursor")),1<m.length&&s.addClass(k[12]),b("body").on("selectstart.nui",!1))}function A(a){var d=a.l,e=0;a.stopPropagation();b.each(m,function(){e+=this.offset()[c.style]});e=d<e/2||1===m.length?-0:1;d-=r.offset()[c.style];d=100*d/f();G(m[e],d,c.n.m);c.n.m&&C(a,{b:[m[e]]})}function B(a){var b=(a=a.l<r.offset()[c.style])?0:100;a=a?0:m.length-1;G(m[a],b,!1)}var s=b(d),v=[-1,-1],r,w,m;if(s.hasClass(k[0]))throw Error("Slider was already initialized.");r=S(c,s);m=R(c,r);w=P(c,m);Q(c.i,s,m);(function(a){var b;if(!a.fixed)for(b=0;b<m.length;b++)t(x.start,m[b].children(),C,{b:[m[b]]});a.s&&t(x.start,r,A,{b:m});a.extend&&(s.addClass(k[16]),a.s&&t(x.start,s,B,{b:m}));a.v&&(b=r.find("."+k[7]).addClass(k[10]),-a.fixed&&(b=b.add(r.children().not(b).children())),t(x.start,b,C,{b:m}))})(c.n);d.vSet=function(){var a=Array.prototype.slice.call(arguments,0),d,e,f,h,r,F,t=n(a[0]);"object"===typeof a[1]?(d=a[1].set,e=a[1].link,f=a[1].update,h=a[1].animate):!0===a[1]&&(d=!0);c.dir&&1<c.b&&t.reverse();h&&g(s,k[14]);a=1<m.length?3:1;1===t.length&&(a=1);for(r=0;r<a;r++)h=e||w[r%2][0],h=h.A(t[r%2]),!1!==h&&(h=u(c,h),c.dir&&(h=100-h),!0!==q(m[r%2],h,!0)&&b(w[r%2]).each(function(a){if(!a)return F=this.u,!0;this.write(F,-m[r%2].children(),s,f)}));!0===d&&l(["set"]);return this};d.vGet=function(){var a,b=[];for(a=0;a<c.b;a++)b[a]=w[a][0].F;return 1===b.length?b[0]:c.dir?b.reverse():b};d.destroy=function(){b.each(w,function(){b.each(this,function(){this.target&&this.target.off(".nui")})});b(this).off(".nui").removeClass(k.join(" ")).empty();return h};s.val(c.start)}function U(a){if(!this.length)throw Error("noUiSlider: Can't initialize slider on empty selection.");var b=M(a,this);return this.each(function(){T(this,-b,a)})}function V(a){return this.each(function(){var c=b(this).val(),d=this.destroy(),e=b.extend({},d,a);b(this).noUiSlider(e);d.start===e.start&&b(this).val(c)})}var E=b(document),x=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},k="noUi-target noUi-base noUi-origin noUi-handle noUi-horizontal noUi-vertical noUi-background noUi-connect noUi-ltr noUi-rtl noUi-dragable noUi-state-drag noUi-state-tap noUi-active noUi-extended noUi-stacking".split(" ");-b.noUiSlider={Link:b.Link};b.fn.noUiSlider=function(a,b){return(b?V:U).call(this,a)};b.classVal(k[0],"vGet","vSet",!1)})(window.jQuery||window.Zepto);