TagSpaces is an offline, open source, document manager with tagging support
migration to bower for the libs
uggrock495aef33bf21
diff --git a/.bowerrc b/.bowerrcnew file mode 100644index 000000000..d559e784e--- /dev/null+++ b/.bowerrc@@ -0,0 +1,3 @@+{+ "directory": "data/libs"+}\ No newline at end of filediff --git a/bower.json b/bower.jsonindex ed9b89f4c..2a77329a4 100644--- a/bower.json+++ b/bower.json@@ -1,48 +1,32 @@{- "name": "tAGsPACES",- "version": "1.1.1",+ "name": "TagSpaces","dependencies": {- "bootstrap": "~3.3.5",- "x-editable": "~1.5.1",- "jquery": "~2.1.4",- "summernote": "~0.5.10",- "jsoneditor": "~3.1.2",- "woofmark": "~3.0.2",- "webodf.js": "~0.5.9",- "codemirror": "~3.24.0",- "nvd3": "~1.2.0",- "datatables": "~1.9.4",- "plyr": "~1.3.5",- "exif-js": "~2.1.1",- "jquery.panzoom": "~2.0.1",- "marked": "~0.3.5","animate.css": "~3.4.0",+ "bootstrap": "~3.3.6",+ "bootswatch": "~3.3.6","bootstrap-validator": "~0.9.0",- "d3": "~3.2.0",+ "d3": "~3.3.13","dompurify": "~0.7.1",+ "jquery": "~2.1.4",+ "jquery-simplecolorpicker": "~0.3.0",+ "jqueryui": "~1.11.4",+ "jszip": "~2.5.0","FileSaver.js": "~0.0.2",- "font-awesome-css": "~4.0.3",+ "fontawesome": "~4.5.0","hammerjs": "~1.1.3","handlebars": "~1.1.2","hopscotch": "~0.2.5","i18next": "~1.10.1",- "jquery-simplecolorpicker": "~0.3.0",- "jqueryui": "~1.11.4",- "jszip": "~2.5.0",- "mousetrap": "https://raw.githubusercontent.com/ccampbell/mousetrap/1.5.3/mousetrap.min.js",- "mousewheel": "https://raw.githubusercontent.com/jquery/jquery-mousewheel/3.1.13/jquery.mousewheel.js",- "select2": "https://raw.githubusercontent.com/select2/select2/4.0.0/select2.jquery.json",- "requirejs": "https://raw.githubusercontent.com/jrburke/requirejs/2.1.20/require.js",- "rasterizeHTML": "https://raw.githubusercontent.com/cburgmer/rasterizeHTML.js/1.2.0/package.json",- "requirecss": "https://raw.githubusercontent.com/guybedford/require-css/0.1.8/package.json",+ "mousetrap": "~1.5.3",+ "noty": "~2.3.7",+ "nvd3": "~1.2.0",+ "spinkit": "~1.2.5",+ "require-css": "~0.1.8",+ "requirejs": "~2.1.20","requiretext": "https://raw.githubusercontent.com/requirejs/text/2.0.14/text.js",- "Underscore": "https://raw.githubusercontent.com/jashkenas/underscore/1.8.3/underscore.js",- "pdfjs": "https://raw.githubusercontent.com/mozilla/pdf.js/v1.1.469/make.js",- "noty": "https://raw.githubusercontent.com/needim/noty/v2.3.7/noty.jquery.json",- "spinkit": "https://raw.githubusercontent.com/tobiasahlin/SpinKit/1.2.2/package.json"-+ "select2": "~3.4.5",+ "x-editable": "~1.5.1",+ "underscore": "https://raw.githubusercontent.com/jashkenas/underscore/1.8.3/underscore.js"},- "devDependencies": {},- "appPath": "","private": true}diff --git a/data/assets/general.css b/data/assets/general.cssindex eb088bc1b..9f163c00e 100644--- a/data/assets/general.css+++ b/data/assets/general.css@@ -5,8 +5,8 @@font-family: 'Ubuntu';font-style: normal;font-weight: normal;- src: url("../libs/ubuntu-font/Ubuntu-R.woff") format('woff');- src: url("../libs/ubuntu-font/Ubuntu-R.ttf") format('truetype');+ src: url("ubuntu-font/Ubuntu-R.woff") format('woff');+ src: url("ubuntu-font/Ubuntu-R.ttf") format('truetype');}html, body {diff --git a/data/assets/tagspaces.css b/data/assets/tagspaces.cssindex ecaacb1df..ffcb2a448 100644--- a/data/assets/tagspaces.css+++ b/data/assets/tagspaces.css@@ -1,12 +1,12 @@/* Copyright (c) 2012-2015 The TagSpaces Authors. All rights reserved. Use of this source code* is governed by a AGPL3 license that can be found in the LICENSE file. */-@import '../libs/bootstrap/css/bootstrap.css';-@import '../libs/font-awesome/css/font-awesome.css';+@import '../libs/bootswatch/paper/bootstrap.css';+@import '../libs/fontawesome/css/font-awesome.min.css';@import '../libs/select2/select2.css';@import '../libs/select2/select2-bootstrap.css';@import '../libs/jquery-simplecolorpicker/jquery.simplecolorpicker.css';-@import '../libs/bootstrap3xeditable/css/bootstrap-editable.css';+@import '../libs/x-editable/dist/bootstrap3-editable/css/bootstrap-editable.css';@import '../libs/animate.css/animate.min.css';@import 'general.css';@import 'layout.css';diff --git a/data/ext/editorHTML/index.html b/data/ext/editorHTML/index.htmlindex 8764fa468..ff5409f2a 100644--- a/data/ext/editorHTML/index.html+++ b/data/ext/editorHTML/index.html@@ -3,8 +3,8 @@<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />- <script type="text/javascript" src="../../libs/jquery/jquery.min.js"></script>- <script type="text/javascript" src="../../libs/bootstrap/js/bootstrap.min.js"></script>+ <script type="text/javascript" src="../../libs/jquery/dist/jquery.min.js"></script>+ <script type="text/javascript" src="../../libs/bootstrap/dist/js/bootstrap.min.js"></script><script type="text/javascript" src="summernote/summernote.js"></script><script type="text/javascript" src="editor.js"></script><link rel="stylesheet" href="../../assets/tagspaces.css" />diff --git a/data/ext/perspectiveGrid/perspectiveUI.js b/data/ext/perspectiveGrid/perspectiveUI.jsindex 400465a1a..493f856ed 100644--- a/data/ext/perspectiveGrid/perspectiveUI.js+++ b/data/ext/perspectiveGrid/perspectiveUI.js@@ -447,11 +447,11 @@ define(function(require, exports, module) {var self = this;$fileTile- .hammer().on("doubletap", function() { //.dblclick(function() {- return false;+ //.hammer().on("doubletap", function() { //.dblclick(function() {+ // return false;//TSCORE.FileOpener.openFile(filePath);//self.selectFile(filePath);- })+ //}).click(function() {TSCORE.FileOpener.openFile(filePath);self.selectFile(filePath);diff --git a/data/ext/perspectiveList/extension.js b/data/ext/perspectiveList/extension.jsindex 3f762278e..393b19537 100644--- a/data/ext/perspectiveList/extension.js+++ b/data/ext/perspectiveList/extension.js@@ -28,7 +28,7 @@ define(function(require, exports, module) {require(["css!" + extensionDirectory + '/extension.css',extensionDirectory + '/datatables/jquery.dataTables.min.js',- 'libs/filesaver.js/FileSaver.js'+ 'libs/FileSaver.js/FileSaver.min.js'], function() {require([extensionDirectory + '/perspectiveUI.js',diff --git a/data/ext/viewerHTML/index.html b/data/ext/viewerHTML/index.htmlindex 55c09e713..2b9de45fc 100644--- a/data/ext/viewerHTML/index.html+++ b/data/ext/viewerHTML/index.html@@ -3,9 +3,9 @@<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>- <script type="text/javascript" src="../../libs/jquery/jquery.min.js"></script>- <script type="text/javascript" src="../../libs/bootstrap/js/bootstrap.min.js"></script>- <script type="text/javascript" src="../../libs/i18next/i18next-1.10.1.min.js"></script>+ <script type="text/javascript" src="../../libs/jquery/dist/jquery.min.js"></script>+ <script type="text/javascript" src="../../libs/bootstrap/dist/js/bootstrap.min.js"></script>+ <script type="text/javascript" src="../../libs/i18next/i18next.min.js"></script><!--script type="text/javascript" src="readability/readability.js"></script--><script type="text/javascript" src="main.js"></script><link rel="stylesheet" href="../../assets/tagspaces.css"/>diff --git a/data/ext/viewerImage/index.html b/data/ext/viewerImage/index.htmlindex 8868fbf60..61823e5a4 100644--- a/data/ext/viewerImage/index.html+++ b/data/ext/viewerImage/index.html@@ -3,9 +3,9 @@<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>- <script type="text/javascript" src="../../libs/jquery/jquery.min.js"></script>- <script type="text/javascript" src="../../libs/bootstrap/js/bootstrap.min.js"></script>- <script type="text/javascript" src="../../libs/i18next/i18next-1.10.1.min.js"></script>+ <script type="text/javascript" src="../../libs/jquery/dist/jquery.min.js"></script>+ <script type="text/javascript" src="../../libs/bootstrap/dist/js/bootstrap.min.js"></script>+ <script type="text/javascript" src="../../libs/i18next/i18next.min.js"></script><script type="text/javascript" src="libs/jquery.panzoom/dist/jquery.panzoom.min.js"></script><!--script type="text/javascript" src="libs/jquery-mousewheel/jquery.mousewheel.min.js"></script--><script type="text/javascript" src="libs/exif-js/exif.js"></script>diff --git a/data/ext/viewerMD/index.html b/data/ext/viewerMD/index.htmlindex 9795d40d0..d3cdd7ec8 100644--- a/data/ext/viewerMD/index.html+++ b/data/ext/viewerMD/index.html@@ -3,9 +3,9 @@<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>- <script type="text/javascript" src="../../libs/jquery/jquery.min.js"></script>- <script type="text/javascript" src="../../libs/bootstrap/js/bootstrap.min.js"></script>- <script type="text/javascript" src="../../libs/i18next/i18next-1.10.1.min.js"></script>+ <script type="text/javascript" src="../../libs/jquery/dist/jquery.min.js"></script>+ <script type="text/javascript" src="../../libs/bootstrap/dist/js/bootstrap.min.js"></script>+ <script type="text/javascript" src="../../libs/i18next/i18next.min.js"></script><script type="text/javascript" src="main.js"></script><link rel="stylesheet" href="../../assets/tagspaces.css"/><link rel="stylesheet" href="extension.css"/>diff --git a/data/ext/viewerMHTML b/data/ext/viewerMHTMLindex 5556bddc7..5e3c91866 160000--- a/data/ext/viewerMHTML+++ b/data/ext/viewerMHTML@@ -1 +1 @@-Subproject commit 5556bddc74266d7bcdb077d05cf66e97e19971ee+Subproject commit 5e3c91866afc7b2d2f5bfd8082a7d626f1632d76diff --git a/data/js/directories.ui.js b/data/js/directories.ui.jsindex 795409d56..0b723db53 100644--- a/data/js/directories.ui.js+++ b/data/js/directories.ui.js@@ -252,7 +252,9 @@ define(function(require, exports, module) {navigateToDirectory($(this).attr('data-path'));});});- $alternativeNavigator.i18n();+ if($alternativeNavigator.i18n) {+ $alternativeNavigator.i18n();+ }}var showDropDown = function(menuId, sourceObject) {diff --git a/data/js/gettingstarted.js b/data/js/gettingstarted.jsindex a644021ec..2113458e6 100644--- a/data/js/gettingstarted.js+++ b/data/js/gettingstarted.js@@ -9,7 +9,7 @@ define(function(require, exports, module) {var TSCORE = require('tscore');require([- "css!libs/hopscotch/css/hopscotch.css",+ "css!libs/hopscotch/dist/css/hopscotch.min.css",], function() {});var nextI18N = $.i18n.t('ns.dialogs:titleWaiting'); // not workingdiff --git a/data/js/utils.js b/data/js/utils.jsindex 34e59f8ee..cd12e2276 100644--- a/data/js/utils.js+++ b/data/js/utils.js@@ -69,6 +69,7 @@ define(function(require, exports, module) {}function dirName(dirPath) {+return dirPath.replace(/\\/g, '/').replace(/\/[^\/]*$/, '');}diff --git a/data/libs/bootstrap-validator/LICENSE[MIT].txt b/data/libs/bootstrap-validator/LICENSEsimilarity index 95%rename from data/libs/bootstrap-validator/LICENSE[MIT].txtrename to data/libs/bootstrap-validator/LICENSEindex b30c94f85..41b386ce8 100644--- a/data/libs/bootstrap-validator/LICENSE[MIT].txt+++ b/data/libs/bootstrap-validator/LICENSE@@ -1,6 +1,6 @@The MIT License (MIT)-Copyright (c) 2013 Spiceworks, Inc+Copyright (c) 2015 Cina SaffaryPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealdiff --git a/data/libs/bootstrap-validator/dist/validator.min.js b/data/libs/bootstrap-validator/dist/validator.min.jsnew file mode 100644index 000000000..c8a457a8d--- /dev/null+++ b/data/libs/bootstrap-validator/dist/validator.min.js@@ -0,0 +1,9 @@+/*!+ * Validator v0.9.0 for Bootstrap 3, by @1000hz+ * Copyright 2015 Cina Saffary+ * Licensed under http://opensource.org/licenses/MIT+ *+ * https://github.com/1000hz/bootstrap-validator+ */+++function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),f=d.data("bs.validator");(f||"destroy"!=b)&&(f||d.data("bs.validator",f=new c(this,e)),"string"==typeof b&&f[b]())})}var c=function(b,d){this.$element=a(b),this.options=d,d.errors=a.extend({},c.DEFAULTS.errors,d.errors);for(var e in d.custom)if(!d.errors[e])throw new Error("Missing default error message for custom validator: "+e);a.extend(c.VALIDATORS,d.custom),this.$element.attr("novalidate",!0),this.toggleSubmit(),this.$element.on("input.bs.validator change.bs.validator focusout.bs.validator",a.proxy(this.validateInput,this)),this.$element.on("submit.bs.validator",a.proxy(this.onSubmit,this)),this.$element.find("[data-match]").each(function(){var b=a(this),c=b.data("match");a(c).on("input.bs.validator",function(){b.val()&&b.trigger("input.bs.validator")})})};c.INPUT_SELECTOR=':input:not([type="submit"], button):enabled:visible',c.DEFAULTS={delay:500,html:!1,disable:!0,custom:{},errors:{match:"Does not match",minlength:"Not long enough"},feedback:{success:"glyphicon-ok",error:"glyphicon-remove"}},c.VALIDATORS={"native":function(a){var b=a[0];return b.checkValidity?b.checkValidity():!0},match:function(b){var c=b.data("match");return!b.val()||b.val()===a(c).val()},minlength:function(a){var b=a.data("minlength");return!a.val()||a.val().length>=b}},c.prototype.validateInput=function(b){var c=a(b.target),d=c.data("bs.validator.errors");if(c.is('[type="radio"]')&&(c=this.$element.find('input[name="'+c.attr("name")+'"]')),this.$element.trigger(b=a.Event("validate.bs.validator",{relatedTarget:c[0]})),!b.isDefaultPrevented()){var e=this;this.runValidators(c).done(function(f){c.data("bs.validator.errors",f),f.length?e.showErrors(c):e.clearErrors(c),d&&f.toString()===d.toString()||(b=f.length?a.Event("invalid.bs.validator",{relatedTarget:c[0],detail:f}):a.Event("valid.bs.validator",{relatedTarget:c[0],detail:d}),e.$element.trigger(b)),e.toggleSubmit(),e.$element.trigger(a.Event("validated.bs.validator",{relatedTarget:c[0]}))})}},c.prototype.runValidators=function(b){function d(a){return b.data(a+"-error")||b.data("error")||"native"==a&&b[0].validationMessage||g.errors[a]}var e=[],f=a.Deferred(),g=this.options;return b.data("bs.validator.deferred")&&b.data("bs.validator.deferred").reject(),b.data("bs.validator.deferred",f),a.each(c.VALIDATORS,a.proxy(function(a,c){if((b.data(a)||"native"==a)&&!c.call(this,b)){var f=d(a);!~e.indexOf(f)&&e.push(f)}},this)),!e.length&&b.val()&&b.data("remote")?this.defer(b,function(){var c={};c[b.attr("name")]=b.val(),a.get(b.data("remote"),c).fail(function(a,b,c){e.push(d("remote")||c)}).always(function(){f.resolve(e)})}):f.resolve(e),f.promise()},c.prototype.validate=function(){var a=this.options.delay;return this.options.delay=0,this.$element.find(c.INPUT_SELECTOR).trigger("input.bs.validator"),this.options.delay=a,this},c.prototype.showErrors=function(b){var c=this.options.html?"html":"text";this.defer(b,function(){var d=b.closest(".form-group"),e=d.find(".help-block.with-errors"),f=d.find(".form-control-feedback"),g=b.data("bs.validator.errors");g.length&&(g=a("<ul/>").addClass("list-unstyled").append(a.map(g,function(b){return a("<li/>")[c](b)})),void 0===e.data("bs.validator.originalContent")&&e.data("bs.validator.originalContent",e.html()),e.empty().append(g),d.addClass("has-error"),f.length&&f.removeClass(this.options.feedback.success)&&f.addClass(this.options.feedback.error)&&d.removeClass("has-success"))})},c.prototype.clearErrors=function(a){var b=a.closest(".form-group"),c=b.find(".help-block.with-errors"),d=b.find(".form-control-feedback");c.html(c.data("bs.validator.originalContent")),b.removeClass("has-error"),d.length&&d.removeClass(this.options.feedback.error)&&d.addClass(this.options.feedback.success)&&b.addClass("has-success")},c.prototype.hasErrors=function(){function b(){return!!(a(this).data("bs.validator.errors")||[]).length}return!!this.$element.find(c.INPUT_SELECTOR).filter(b).length},c.prototype.isIncomplete=function(){function b(){return"checkbox"===this.type?!this.checked:"radio"===this.type?!a('[name="'+this.name+'"]:checked').length:""===a.trim(this.value)}return!!this.$element.find(c.INPUT_SELECTOR).filter("[required]").filter(b).length},c.prototype.onSubmit=function(a){this.validate(),(this.isIncomplete()||this.hasErrors())&&a.preventDefault()},c.prototype.toggleSubmit=function(){if(this.options.disable){var b=a('button[type="submit"], input[type="submit"]').filter('[form="'+this.$element.attr("id")+'"]').add(this.$element.find('input[type="submit"], button[type="submit"]'));b.toggleClass("disabled",this.isIncomplete()||this.hasErrors())}},c.prototype.defer=function(b,c){return c=a.proxy(c,this),this.options.delay?(window.clearTimeout(b.data("bs.validator.timeout")),void b.data("bs.validator.timeout",window.setTimeout(c,this.options.delay))):c()},c.prototype.destroy=function(){return this.$element.removeAttr("novalidate").removeData("bs.validator").off(".bs.validator"),this.$element.find(c.INPUT_SELECTOR).off(".bs.validator").removeData(["bs.validator.errors","bs.validator.deferred"]).each(function(){var b=a(this),c=b.data("bs.validator.timeout");window.clearTimeout(c)&&b.removeData("bs.validator.timeout")}),this.$element.find(".help-block.with-errors").each(function(){var b=a(this),c=b.data("bs.validator.originalContent");b.removeData("bs.validator.originalContent").html(c)}),this.$element.find('input[type="submit"], button[type="submit"]').removeClass("disabled"),this.$element.find(".has-error").removeClass("has-error"),this};var d=a.fn.validator;a.fn.validator=b,a.fn.validator.Constructor=c,a.fn.validator.noConflict=function(){return a.fn.validator=d,this},a(window).on("load",function(){a('form[data-toggle="validator"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery);\ No newline at end of filediff --git a/data/libs/bootstrap-validator/validator.min.js b/data/libs/bootstrap-validator/validator.min.jsdeleted file mode 100644index ba7628243..000000000--- a/data/libs/bootstrap-validator/validator.min.js+++ /dev/null@@ -1,9 +0,0 @@-/*!- * Validator v0.5.0 for Bootstrap 3, by @1000hz- * Copyright 2014 Spiceworks, Inc.- * Licensed under http://opensource.org/licenses/MIT- *- * https://github.com/1000hz/bootstrap-validator- */--+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),f=d.data("bs.validator");f||d.data("bs.validator",f=new c(this,e)),"string"==typeof b&&f[b]()})}var c=function(b,c){this.$element=a(b),this.options=c,this.$element.attr("novalidate",!0),this.toggleSubmit(),this.$element.on("input.bs.validator change.bs.validator focusout.bs.validator",a.proxy(this.validateInput,this)),this.$element.on("submit.bs.validator",a.proxy(this.onSubmit,this)),this.$element.find("[data-match]").each(function(){var b=a(this),c=b.data("match");a(c).on("input.bs.validator",function(){b.val()&&b.trigger("input")})})};c.DEFAULTS={delay:500,html:!1,errors:{match:"Does not match",minlength:"Not long enough"}},c.VALIDATORS={"native":function(a){var b=a[0];return b.checkValidity?b.checkValidity():!0},match:function(b){var c=b.data("match");return!b.val()||b.val()===a(c).val()},minlength:function(a){var b=a.data("minlength");return!a.val()||a.val().length>=b}},c.prototype.validateInput=function(b){var c=a(b.target),d=c.data("bs.validator.errors");if(c.is('[type="radio"]')&&(c=this.$element.find('input[name="'+c.attr("name")+'"]')),this.$element.trigger(b=a.Event("validate.bs.validator",{relatedTarget:c[0]})),!b.isDefaultPrevented()){var e=this;this.runValidators(c).done(function(f){c.data("bs.validator.errors",f),f.length?e.showErrors(c):e.clearErrors(c),d&&f.toString()===d.toString()||(b=f.length?a.Event("invalid.bs.validator",{relatedTarget:c[0],detail:f}):a.Event("valid.bs.validator",{relatedTarget:c[0],detail:d}),e.$element.trigger(b)),e.toggleSubmit(),e.$element.trigger(a.Event("validated.bs.validator",{relatedTarget:c[0]}))})}},c.prototype.runValidators=function(b){function d(a){return b.data(a+"-error")||b.data("error")||"native"==a&&b[0].validationMessage||g.errors[a]}var e=[],f=([c.VALIDATORS.native],a.Deferred()),g=this.options;return b.data("bs.validator.deferred")&&b.data("bs.validator.deferred").reject(),b.data("bs.validator.deferred",f),a.each(c.VALIDATORS,a.proxy(function(a,c){if((b.data(a)||"native"==a)&&!c.call(this,b)){var f=d(a);!~e.indexOf(f)&&e.push(f)}},this)),!e.length&&b.val()&&b.data("remote")?this.defer(b,function(){a.get(b.data("remote"),[b.attr("name"),b.val()].join("=")).fail(function(a,b,c){e.push(d("remote")||c)}).always(function(){f.resolve(e)})}):f.resolve(e),f.promise()},c.prototype.validate=function(){var a=this.options.delay;return this.options.delay=0,this.$element.find(":input").trigger("input"),this.options.delay=a,this},c.prototype.showErrors=function(b){var c=this.options.html?"html":"text";this.defer(b,function(){var d=b.closest(".form-group"),e=d.find(".help-block.with-errors"),f=b.data("bs.validator.errors");f.length&&(f=a("<ul/>").addClass("list-unstyled").append(a.map(f,function(b){return a("<li/>")[c](b)})),void 0===e.data("bs.validator.originalContent")&&e.data("bs.validator.originalContent",e.html()),e.empty().append(f),d.addClass("has-error"))})},c.prototype.clearErrors=function(a){var b=a.closest(".form-group"),c=b.find(".help-block.with-errors");c.html(c.data("bs.validator.originalContent")),b.removeClass("has-error")},c.prototype.hasErrors=function(){function b(){return!!(a(this).data("bs.validator.errors")||[]).length}return!!this.$element.find(":input:enabled").filter(b).length},c.prototype.isIncomplete=function(){function b(){return"checkbox"===this.type?!this.checked:"radio"===this.type?!a('[name="'+this.name+'"]:checked').length:""===a.trim(this.value)}return!!this.$element.find(":input[required]:enabled").filter(b).length},c.prototype.onSubmit=function(a){this.validate(),(this.isIncomplete()||this.hasErrors())&&a.preventDefault()},c.prototype.toggleSubmit=function(){var a=this.$element.find('input[type="submit"], button[type="submit"]');a.toggleClass("disabled",this.isIncomplete()||this.hasErrors()).css({"pointer-events":"all",cursor:"pointer"})},c.prototype.defer=function(a,b){window.clearTimeout(a.data("bs.validator.timeout")),a.data("bs.validator.timeout",window.setTimeout(b,this.options.delay))};var d=a.fn.validator;a.fn.validator=b,a.fn.validator.Constructor=c,a.fn.validator.noConflict=function(){return a.fn.validator=d,this},a(window).on("load",function(){a('form[data-toggle="validator"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery);\ No newline at end of filediff --git a/data/libs/hammerjs/LICENSE.txt b/data/libs/bootstrap/LICENSEsimilarity index 93%rename from data/libs/hammerjs/LICENSE.txtrename to data/libs/bootstrap/LICENSEindex 80fb8c350..f4c52d6a4 100644--- a/data/libs/hammerjs/LICENSE.txt+++ b/data/libs/bootstrap/LICENSE@@ -1,4 +1,6 @@-Copyright (C) 2013 by Jorik Tangelder (Eight Media)+The MIT License (MIT)++Copyright (c) 2011-2015 Twitter, IncPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to deal@@ -16,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, 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.\ No newline at end of file+THE SOFTWARE.diff --git a/data/libs/bootstrap/LICENSE.txt b/data/libs/bootstrap/LICENSE.txtdeleted file mode 100644index 2bb9ad240..000000000--- a/data/libs/bootstrap/LICENSE.txt+++ /dev/null@@ -1,176 +0,0 @@- Apache License- Version 2.0, January 2004- http://www.apache.org/licenses/-- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION-- 1. Definitions.-- "License" shall mean the terms and conditions for use, reproduction,- and distribution as defined by Sections 1 through 9 of this document.-- "Licensor" shall mean the copyright owner or entity authorized by- the copyright owner that is granting the License.-- "Legal Entity" shall mean the union of the acting entity and all- other entities that control, are controlled by, or are under common- control with that entity. For the purposes of this definition,- "control" means (i) the power, direct or indirect, to cause the- direction or management of such entity, whether by contract or- otherwise, or (ii) ownership of fifty percent (50%) or more of the- outstanding shares, or (iii) beneficial ownership of such entity.-- "You" (or "Your") shall mean an individual or Legal Entity- exercising permissions granted by this License.-- "Source" form shall mean the preferred form for making modifications,- including but not limited to software source code, documentation- source, and configuration files.-- "Object" form shall mean any form resulting from mechanical- transformation or translation of a Source form, including but- not limited to compiled object code, generated documentation,- and conversions to other media types.-- "Work" shall mean the work of authorship, whether in Source or- Object form, made available under the License, as indicated by a- copyright notice that is included in or attached to the work- (an example is provided in the Appendix below).-- "Derivative Works" shall mean any work, whether in Source or Object- form, that is based on (or derived from) the Work and for which the- editorial revisions, annotations, elaborations, or other modifications- represent, as a whole, an original work of authorship. For the purposes- of this License, Derivative Works shall not include works that remain- separable from, or merely link (or bind by name) to the interfaces of,- the Work and Derivative Works thereof.-- "Contribution" shall mean any work of authorship, including- the original version of the Work and any modifications or additions- to that Work or Derivative Works thereof, that is intentionally- submitted to Licensor for inclusion in the Work by the copyright owner- or by an individual or Legal Entity authorized to submit on behalf of- the copyright owner. For the purposes of this definition, "submitted"- means any form of electronic, verbal, or written communication sent- to the Licensor or its representatives, including but not limited to- communication on electronic mailing lists, source code control systems,- and issue tracking systems that are managed by, or on behalf of, the- Licensor for the purpose of discussing and improving the Work, but- excluding communication that is conspicuously marked or otherwise- designated in writing by the copyright owner as "Not a Contribution."-- "Contributor" shall mean Licensor and any individual or Legal Entity- on behalf of whom a Contribution has been received by Licensor and- subsequently incorporated within the Work.-- 2. Grant of Copyright License. Subject to the terms and conditions of- this License, each Contributor hereby grants to You a perpetual,- worldwide, non-exclusive, no-charge, royalty-free, irrevocable- copyright license to reproduce, prepare Derivative Works of,- publicly display, publicly perform, sublicense, and distribute the- Work and such Derivative Works in Source or Object form.-- 3. Grant of Patent License. Subject to the terms and conditions of- this License, each Contributor hereby grants to You a perpetual,- worldwide, non-exclusive, no-charge, royalty-free, irrevocable- (except as stated in this section) patent license to make, have made,- use, offer to sell, sell, import, and otherwise transfer the Work,- where such license applies only to those patent claims licensable- by such Contributor that are necessarily infringed by their- Contribution(s) alone or by combination of their Contribution(s)- with the Work to which such Contribution(s) was submitted. If You- institute patent litigation against any entity (including a- cross-claim or counterclaim in a lawsuit) alleging that the Work- or a Contribution incorporated within the Work constitutes direct- or contributory patent infringement, then any patent licenses- granted to You under this License for that Work shall terminate- as of the date such litigation is filed.-- 4. Redistribution. You may reproduce and distribute copies of the- Work or Derivative Works thereof in any medium, with or without- modifications, and in Source or Object form, provided that You- meet the following conditions:-- (a) You must give any other recipients of the Work or- Derivative Works a copy of this License; and-- (b) You must cause any modified files to carry prominent notices- stating that You changed the files; and-- (c) You must retain, in the Source form of any Derivative Works- that You distribute, all copyright, patent, trademark, and- attribution notices from the Source form of the Work,- excluding those notices that do not pertain to any part of- the Derivative Works; and-- (d) If the Work includes a "NOTICE" text file as part of its- distribution, then any Derivative Works that You distribute must- include a readable copy of the attribution notices contained- within such NOTICE file, excluding those notices that do not- pertain to any part of the Derivative Works, in at least one- of the following places: within a NOTICE text file distributed- as part of the Derivative Works; within the Source form or- documentation, if provided along with the Derivative Works; or,- within a display generated by the Derivative Works, if and- wherever such third-party notices normally appear. The contents- of the NOTICE file are for informational purposes only and- do not modify the License. You may add Your own attribution- notices within Derivative Works that You distribute, alongside- or as an addendum to the NOTICE text from the Work, provided- that such additional attribution notices cannot be construed- as modifying the License.-- You may add Your own copyright statement to Your modifications and- may provide additional or different license terms and conditions- for use, reproduction, or distribution of Your modifications, or- for any such Derivative Works as a whole, provided Your use,- reproduction, and distribution of the Work otherwise complies with- the conditions stated in this License.-- 5. Submission of Contributions. Unless You explicitly state otherwise,- any Contribution intentionally submitted for inclusion in the Work- by You to the Licensor shall be under the terms and conditions of- this License, without any additional terms or conditions.- Notwithstanding the above, nothing herein shall supersede or modify- the terms of any separate license agreement you may have executed- with Licensor regarding such Contributions.-- 6. Trademarks. This License does not grant permission to use the trade- names, trademarks, service marks, or product names of the Licensor,- except as required for reasonable and customary use in describing the- origin of the Work and reproducing the content of the NOTICE file.-- 7. Disclaimer of Warranty. Unless required by applicable law or- agreed to in writing, Licensor provides the Work (and each- Contributor provides its Contributions) on an "AS IS" BASIS,- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or- implied, including, without limitation, any warranties or conditions- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A- PARTICULAR PURPOSE. You are solely responsible for determining the- appropriateness of using or redistributing the Work and assume any- risks associated with Your exercise of permissions under this License.-- 8. Limitation of Liability. In no event and under no legal theory,- whether in tort (including negligence), contract, or otherwise,- unless required by applicable law (such as deliberate and grossly- negligent acts) or agreed to in writing, shall any Contributor be- liable to You for damages, including any direct, indirect, special,- incidental, or consequential damages of any character arising as a- result of this License or out of the use or inability to use the- Work (including but not limited to damages for loss of goodwill,- work stoppage, computer failure or malfunction, or any and all- other commercial damages or losses), even if such Contributor- has been advised of the possibility of such damages.-- 9. Accepting Warranty or Additional Liability. While redistributing- the Work or Derivative Works thereof, You may choose to offer,- and charge a fee for, acceptance of support, warranty, indemnity,- or other liability obligations and/or rights consistent with this- License. However, in accepting such obligations, You may act only- on Your own behalf and on Your sole responsibility, not on behalf- of any other Contributor, and only if You agree to indemnify,- defend, and hold each Contributor harmless for any liability- incurred by, or claims asserted against, such Contributor by reason- of your accepting any such warranty or additional liability.-- END OF TERMS AND CONDITIONS\ No newline at end of filediff --git a/data/libs/bootstrap/css/bootstrap.css b/data/libs/bootstrap/css/bootstrap.cssdeleted file mode 100644index cb877622b..000000000--- a/data/libs/bootstrap/css/bootstrap.css+++ /dev/null@@ -1,7551 +0,0 @@-/*!- * bootswatch v3.3.5- * Homepage: http://bootswatch.com- * Copyright 2012-2015 Thomas Park- * Licensed under MIT- * Based on Bootstrap-*/-/*!- * Bootstrap v3.3.5 (http://getbootstrap.com)- * Copyright 2011-2015 Twitter, Inc.- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)- */-/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */-html {- font-family: sans-serif;- -ms-text-size-adjust: 100%;- -webkit-text-size-adjust: 100%;-}-body {- margin: 0;-}-article,-aside,-details,-figcaption,-figure,-footer,-header,-hgroup,-main,-menu,-nav,-section,-summary {- display: block;-}-audio,-canvas,-progress,-video {- display: inline-block;- vertical-align: baseline;-}-audio:not([controls]) {- display: none;- height: 0;-}-[hidden],-template {- display: none;-}-a {- background-color: transparent;-}-a:active,-a:hover {- outline: 0;-}-abbr[title] {- border-bottom: 1px dotted;-}-b,-strong {- font-weight: bold;-}-dfn {- font-style: italic;-}-h1 {- font-size: 2em;- margin: 0.67em 0;-}-mark {- background: #ff0;- color: #000;-}-small {- font-size: 80%;-}-sub,-sup {- font-size: 75%;- line-height: 0;- position: relative;- vertical-align: baseline;-}-sup {- top: -0.5em;-}-sub {- bottom: -0.25em;-}-img {- border: 0;-}-svg:not(:root) {- overflow: hidden;-}-figure {- margin: 1em 40px;-}-hr {- -webkit-box-sizing: content-box;- -moz-box-sizing: content-box;- box-sizing: content-box;- height: 0;-}-pre {- overflow: auto;-}-code,-kbd,-pre,-samp {- font-family: monospace, monospace;- font-size: 1em;-}-button,-input,-optgroup,-select,-textarea {- color: inherit;- font: inherit;- margin: 0;-}-button {- overflow: visible;-}-button,-select {- text-transform: none;-}-button,-html input[type="button"],-input[type="reset"],-input[type="submit"] {- -webkit-appearance: button;- cursor: pointer;-}-button[disabled],-html input[disabled] {- cursor: default;-}-button::-moz-focus-inner,-input::-moz-focus-inner {- border: 0;- padding: 0;-}-input {- line-height: normal;-}-input[type="checkbox"],-input[type="radio"] {- -webkit-box-sizing: border-box;- -moz-box-sizing: border-box;- box-sizing: border-box;- padding: 0;-}-input[type="number"]::-webkit-inner-spin-button,-input[type="number"]::-webkit-outer-spin-button {- height: auto;-}-input[type="search"] {- -webkit-appearance: textfield;- -webkit-box-sizing: content-box;- -moz-box-sizing: content-box;- box-sizing: content-box;-}-input[type="search"]::-webkit-search-cancel-button,-input[type="search"]::-webkit-search-decoration {- -webkit-appearance: none;-}-fieldset {- border: 1px solid #c0c0c0;- margin: 0 2px;- padding: 0.35em 0.625em 0.75em;-}-legend {- border: 0;- padding: 0;-}-textarea {- overflow: auto;-}-optgroup {- font-weight: bold;-}-table {- border-collapse: collapse;- border-spacing: 0;-}-td,-th {- padding: 0;-}-/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */-@media print {- *,- *:before,- *:after {- background: transparent !important;- color: #000 !important;- -webkit-box-shadow: none !important;- box-shadow: none !important;- text-shadow: none !important;- }- a,- a:visited {- text-decoration: underline;- }- a[href]:after {- content: " (" attr(href) ")";- }- abbr[title]:after {- content: " (" attr(title) ")";- }- a[href^="#"]:after,- a[href^="javascript:"]:after {- content: "";- }- pre,- blockquote {- border: 1px solid #999;- page-break-inside: avoid;- }- thead {- display: table-header-group;- }- tr,- img {- page-break-inside: avoid;- }- img {- max-width: 100% !important;- }- p,- h2,- h3 {- orphans: 3;- widows: 3;- }- h2,- h3 {- page-break-after: avoid;- }- .navbar {- display: none;- }- .btn > .caret,- .dropup > .btn > .caret {- border-top-color: #000 !important;- }- .label {- border: 1px solid #000;- }- .table {- border-collapse: collapse !important;- }- .table td,- .table th {- background-color: #fff !important;- }- .table-bordered th,- .table-bordered td {- border: 1px solid #ddd !important;- }-}-@font-face {- font-family: 'Glyphicons Halflings';- src: url('../fonts/glyphicons-halflings-regular.eot');- src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');-}-.glyphicon {- position: relative;- top: 1px;- display: inline-block;- font-family: 'Glyphicons Halflings';- font-style: normal;- font-weight: normal;- line-height: 1;- -webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale;-}-.glyphicon-asterisk:before {- content: "\2a";-}-.glyphicon-plus:before {- content: "\2b";-}-.glyphicon-euro:before,-.glyphicon-eur:before {- content: "\20ac";-}-.glyphicon-minus:before {- content: "\2212";-}-.glyphicon-cloud:before {- content: "\2601";-}-.glyphicon-envelope:before {- content: "\2709";-}-.glyphicon-pencil:before {- content: "\270f";-}-.glyphicon-glass:before {- content: "\e001";-}-.glyphicon-music:before {- content: "\e002";-}-.glyphicon-search:before {- content: "\e003";-}-.glyphicon-heart:before {- content: "\e005";-}-.glyphicon-star:before {- content: "\e006";-}-.glyphicon-star-empty:before {- content: "\e007";-}-.glyphicon-user:before {- content: "\e008";-}-.glyphicon-film:before {- content: "\e009";-}-.glyphicon-th-large:before {- content: "\e010";-}-.glyphicon-th:before {- content: "\e011";-}-.glyphicon-th-list:before {- content: "\e012";-}-.glyphicon-ok:before {- content: "\e013";-}-.glyphicon-remove:before {- content: "\e014";-}-.glyphicon-zoom-in:before {- content: "\e015";-}-.glyphicon-zoom-out:before {- content: "\e016";-}-.glyphicon-off:before {- content: "\e017";-}-.glyphicon-signal:before {- content: "\e018";-}-.glyphicon-cog:before {- content: "\e019";-}-.glyphicon-trash:before {- content: "\e020";-}-.glyphicon-home:before {- content: "\e021";-}-.glyphicon-file:before {- content: "\e022";-}-.glyphicon-time:before {- content: "\e023";-}-.glyphicon-road:before {- content: "\e024";-}-.glyphicon-download-alt:before {- content: "\e025";-}-.glyphicon-download:before {- content: "\e026";-}-.glyphicon-upload:before {- content: "\e027";-}-.glyphicon-inbox:before {- content: "\e028";-}-.glyphicon-play-circle:before {- content: "\e029";-}-.glyphicon-repeat:before {- content: "\e030";-}-.glyphicon-refresh:before {- content: "\e031";-}-.glyphicon-list-alt:before {- content: "\e032";-}-.glyphicon-lock:before {- content: "\e033";-}-.glyphicon-flag:before {- content: "\e034";-}-.glyphicon-headphones:before {- content: "\e035";-}-.glyphicon-volume-off:before {- content: "\e036";-}-.glyphicon-volume-down:before {- content: "\e037";-}-.glyphicon-volume-up:before {- content: "\e038";-}-.glyphicon-qrcode:before {- content: "\e039";-}-.glyphicon-barcode:before {- content: "\e040";-}-.glyphicon-tag:before {- content: "\e041";-}-.glyphicon-tags:before {- content: "\e042";-}-.glyphicon-book:before {- content: "\e043";-}-.glyphicon-bookmark:before {- content: "\e044";-}-.glyphicon-print:before {- content: "\e045";-}-.glyphicon-camera:before {- content: "\e046";-}-.glyphicon-font:before {- content: "\e047";-}-.glyphicon-bold:before {- content: "\e048";-}-.glyphicon-italic:before {- content: "\e049";-}-.glyphicon-text-height:before {- content: "\e050";-}-.glyphicon-text-width:before {- content: "\e051";-}-.glyphicon-align-left:before {- content: "\e052";-}-.glyphicon-align-center:before {- content: "\e053";-}-.glyphicon-align-right:before {- content: "\e054";-}-.glyphicon-align-justify:before {- content: "\e055";-}-.glyphicon-list:before {- content: "\e056";-}-.glyphicon-indent-left:before {- content: "\e057";-}-.glyphicon-indent-right:before {- content: "\e058";-}-.glyphicon-facetime-video:before {- content: "\e059";-}-.glyphicon-picture:before {- content: "\e060";-}-.glyphicon-map-marker:before {- content: "\e062";-}-.glyphicon-adjust:before {- content: "\e063";-}-.glyphicon-tint:before {- content: "\e064";-}-.glyphicon-edit:before {- content: "\e065";-}-.glyphicon-share:before {- content: "\e066";-}-.glyphicon-check:before {- content: "\e067";-}-.glyphicon-move:before {- content: "\e068";-}-.glyphicon-step-backward:before {- content: "\e069";-}-.glyphicon-fast-backward:before {- content: "\e070";-}-.glyphicon-backward:before {- content: "\e071";-}-.glyphicon-play:before {- content: "\e072";-}-.glyphicon-pause:before {- content: "\e073";-}-.glyphicon-stop:before {- content: "\e074";-}-.glyphicon-forward:before {- content: "\e075";-}-.glyphicon-fast-forward:before {- content: "\e076";-}-.glyphicon-step-forward:before {- content: "\e077";-}-.glyphicon-eject:before {- content: "\e078";-}-.glyphicon-chevron-left:before {- content: "\e079";-}-.glyphicon-chevron-right:before {- content: "\e080";-}-.glyphicon-plus-sign:before {- content: "\e081";-}-.glyphicon-minus-sign:before {- content: "\e082";-}-.glyphicon-remove-sign:before {- content: "\e083";-}-.glyphicon-ok-sign:before {- content: "\e084";-}-.glyphicon-question-sign:before {- content: "\e085";-}-.glyphicon-info-sign:before {- content: "\e086";-}-.glyphicon-screenshot:before {- content: "\e087";-}-.glyphicon-remove-circle:before {- content: "\e088";-}-.glyphicon-ok-circle:before {- content: "\e089";-}-.glyphicon-ban-circle:before {- content: "\e090";-}-.glyphicon-arrow-left:before {- content: "\e091";-}-.glyphicon-arrow-right:before {- content: "\e092";-}-.glyphicon-arrow-up:before {- content: "\e093";-}-.glyphicon-arrow-down:before {- content: "\e094";-}-.glyphicon-share-alt:before {- content: "\e095";-}-.glyphicon-resize-full:before {- content: "\e096";-}-.glyphicon-resize-small:before {- content: "\e097";-}-.glyphicon-exclamation-sign:before {- content: "\e101";-}-.glyphicon-gift:before {- content: "\e102";-}-.glyphicon-leaf:before {- content: "\e103";-}-.glyphicon-fire:before {- content: "\e104";-}-.glyphicon-eye-open:before {- content: "\e105";-}-.glyphicon-eye-close:before {- content: "\e106";-}-.glyphicon-warning-sign:before {- content: "\e107";-}-.glyphicon-plane:before {- content: "\e108";-}-.glyphicon-calendar:before {- content: "\e109";-}-.glyphicon-random:before {- content: "\e110";-}-.glyphicon-comment:before {- content: "\e111";-}-.glyphicon-magnet:before {- content: "\e112";-}-.glyphicon-chevron-up:before {- content: "\e113";-}-.glyphicon-chevron-down:before {- content: "\e114";-}-.glyphicon-retweet:before {- content: "\e115";-}-.glyphicon-shopping-cart:before {- content: "\e116";-}-.glyphicon-folder-close:before {- content: "\e117";-}-.glyphicon-folder-open:before {- content: "\e118";-}-.glyphicon-resize-vertical:before {- content: "\e119";-}-.glyphicon-resize-horizontal:before {- content: "\e120";-}-.glyphicon-hdd:before {- content: "\e121";-}-.glyphicon-bullhorn:before {- content: "\e122";-}-.glyphicon-bell:before {- content: "\e123";-}-.glyphicon-certificate:before {- content: "\e124";-}-.glyphicon-thumbs-up:before {- content: "\e125";-}-.glyphicon-thumbs-down:before {- content: "\e126";-}-.glyphicon-hand-right:before {- content: "\e127";-}-.glyphicon-hand-left:before {- content: "\e128";-}-.glyphicon-hand-up:before {- content: "\e129";-}-.glyphicon-hand-down:before {- content: "\e130";-}-.glyphicon-circle-arrow-right:before {- content: "\e131";-}-.glyphicon-circle-arrow-left:before {- content: "\e132";-}-.glyphicon-circle-arrow-up:before {- content: "\e133";-}-.glyphicon-circle-arrow-down:before {- content: "\e134";-}-.glyphicon-globe:before {- content: "\e135";-}-.glyphicon-wrench:before {- content: "\e136";-}-.glyphicon-tasks:before {- content: "\e137";-}-.glyphicon-filter:before {- content: "\e138";-}-.glyphicon-briefcase:before {- content: "\e139";-}-.glyphicon-fullscreen:before {- content: "\e140";-}-.glyphicon-dashboard:before {- content: "\e141";-}-.glyphicon-paperclip:before {- content: "\e142";-}-.glyphicon-heart-empty:before {- content: "\e143";-}-.glyphicon-link:before {- content: "\e144";-}-.glyphicon-phone:before {- content: "\e145";-}-.glyphicon-pushpin:before {- content: "\e146";-}-.glyphicon-usd:before {- content: "\e148";-}-.glyphicon-gbp:before {- content: "\e149";-}-.glyphicon-sort:before {- content: "\e150";-}-.glyphicon-sort-by-alphabet:before {- content: "\e151";-}-.glyphicon-sort-by-alphabet-alt:before {- content: "\e152";-}-.glyphicon-sort-by-order:before {- content: "\e153";-}-.glyphicon-sort-by-order-alt:before {- content: "\e154";-}-.glyphicon-sort-by-attributes:before {- content: "\e155";-}-.glyphicon-sort-by-attributes-alt:before {- content: "\e156";-}-.glyphicon-unchecked:before {- content: "\e157";-}-.glyphicon-expand:before {- content: "\e158";-}-.glyphicon-collapse-down:before {- content: "\e159";-}-.glyphicon-collapse-up:before {- content: "\e160";-}-.glyphicon-log-in:before {- content: "\e161";-}-.glyphicon-flash:before {- content: "\e162";-}-.glyphicon-log-out:before {- content: "\e163";-}-.glyphicon-new-window:before {- content: "\e164";-}-.glyphicon-record:before {- content: "\e165";-}-.glyphicon-save:before {- content: "\e166";-}-.glyphicon-open:before {- content: "\e167";-}-.glyphicon-saved:before {- content: "\e168";-}-.glyphicon-import:before {- content: "\e169";-}-.glyphicon-export:before {- content: "\e170";-}-.glyphicon-send:before {- content: "\e171";-}-.glyphicon-floppy-disk:before {- content: "\e172";-}-.glyphicon-floppy-saved:before {- content: "\e173";-}-.glyphicon-floppy-remove:before {- content: "\e174";-}-.glyphicon-floppy-save:before {- content: "\e175";-}-.glyphicon-floppy-open:before {- content: "\e176";-}-.glyphicon-credit-card:before {- content: "\e177";-}-.glyphicon-transfer:before {- content: "\e178";-}-.glyphicon-cutlery:before {- content: "\e179";-}-.glyphicon-header:before {- content: "\e180";-}-.glyphicon-compressed:before {- content: "\e181";-}-.glyphicon-earphone:before {- content: "\e182";-}-.glyphicon-phone-alt:before {- content: "\e183";-}-.glyphicon-tower:before {- content: "\e184";-}-.glyphicon-stats:before {- content: "\e185";-}-.glyphicon-sd-video:before {- content: "\e186";-}-.glyphicon-hd-video:before {- content: "\e187";-}-.glyphicon-subtitles:before {- content: "\e188";-}-.glyphicon-sound-stereo:before {- content: "\e189";-}-.glyphicon-sound-dolby:before {- content: "\e190";-}-.glyphicon-sound-5-1:before {- content: "\e191";-}-.glyphicon-sound-6-1:before {- content: "\e192";-}-.glyphicon-sound-7-1:before {- content: "\e193";-}-.glyphicon-copyright-mark:before {- content: "\e194";-}-.glyphicon-registration-mark:before {- content: "\e195";-}-.glyphicon-cloud-download:before {- content: "\e197";-}-.glyphicon-cloud-upload:before {- content: "\e198";-}-.glyphicon-tree-conifer:before {- content: "\e199";-}-.glyphicon-tree-deciduous:before {- content: "\e200";-}-.glyphicon-cd:before {- content: "\e201";-}-.glyphicon-save-file:before {- content: "\e202";-}-.glyphicon-open-file:before {- content: "\e203";-}-.glyphicon-level-up:before {- content: "\e204";-}-.glyphicon-copy:before {- content: "\e205";-}-.glyphicon-paste:before {- content: "\e206";-}-.glyphicon-alert:before {- content: "\e209";-}-.glyphicon-equalizer:before {- content: "\e210";-}-.glyphicon-king:before {- content: "\e211";-}-.glyphicon-queen:before {- content: "\e212";-}-.glyphicon-pawn:before {- content: "\e213";-}-.glyphicon-bishop:before {- content: "\e214";-}-.glyphicon-knight:before {- content: "\e215";-}-.glyphicon-baby-formula:before {- content: "\e216";-}-.glyphicon-tent:before {- content: "\26fa";-}-.glyphicon-blackboard:before {- content: "\e218";-}-.glyphicon-bed:before {- content: "\e219";-}-.glyphicon-apple:before {- content: "\f8ff";-}-.glyphicon-erase:before {- content: "\e221";-}-.glyphicon-hourglass:before {- content: "\231b";-}-.glyphicon-lamp:before {- content: "\e223";-}-.glyphicon-duplicate:before {- content: "\e224";-}-.glyphicon-piggy-bank:before {- content: "\e225";-}-.glyphicon-scissors:before {- content: "\e226";-}-.glyphicon-bitcoin:before {- content: "\e227";-}-.glyphicon-btc:before {- content: "\e227";-}-.glyphicon-xbt:before {- content: "\e227";-}-.glyphicon-yen:before {- content: "\00a5";-}-.glyphicon-jpy:before {- content: "\00a5";-}-.glyphicon-ruble:before {- content: "\20bd";-}-.glyphicon-rub:before {- content: "\20bd";-}-.glyphicon-scale:before {- content: "\e230";-}-.glyphicon-ice-lolly:before {- content: "\e231";-}-.glyphicon-ice-lolly-tasted:before {- content: "\e232";-}-.glyphicon-education:before {- content: "\e233";-}-.glyphicon-option-horizontal:before {- content: "\e234";-}-.glyphicon-option-vertical:before {- content: "\e235";-}-.glyphicon-menu-hamburger:before {- content: "\e236";-}-.glyphicon-modal-window:before {- content: "\e237";-}-.glyphicon-oil:before {- content: "\e238";-}-.glyphicon-grain:before {- content: "\e239";-}-.glyphicon-sunglasses:before {- content: "\e240";-}-.glyphicon-text-size:before {- content: "\e241";-}-.glyphicon-text-color:before {- content: "\e242";-}-.glyphicon-text-background:before {- content: "\e243";-}-.glyphicon-object-align-top:before {- content: "\e244";-}-.glyphicon-object-align-bottom:before {- content: "\e245";-}-.glyphicon-object-align-horizontal:before {- content: "\e246";-}-.glyphicon-object-align-left:before {- content: "\e247";-}-.glyphicon-object-align-vertical:before {- content: "\e248";-}-.glyphicon-object-align-right:before {- content: "\e249";-}-.glyphicon-triangle-right:before {- content: "\e250";-}-.glyphicon-triangle-left:before {- content: "\e251";-}-.glyphicon-triangle-bottom:before {- content: "\e252";-}-.glyphicon-triangle-top:before {- content: "\e253";-}-.glyphicon-console:before {- content: "\e254";-}-.glyphicon-superscript:before {- content: "\e255";-}-.glyphicon-subscript:before {- content: "\e256";-}-.glyphicon-menu-left:before {- content: "\e257";-}-.glyphicon-menu-right:before {- content: "\e258";-}-.glyphicon-menu-down:before {- content: "\e259";-}-.glyphicon-menu-up:before {- content: "\e260";-}-* {- -webkit-box-sizing: border-box;- -moz-box-sizing: border-box;- box-sizing: border-box;-}-*:before,-*:after {- -webkit-box-sizing: border-box;- -moz-box-sizing: border-box;- box-sizing: border-box;-}-html {- font-size: 10px;- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);-}-body {- font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;- font-size: 13px;- line-height: 1.846;- color: #666666;- background-color: #ffffff;-}-input,-button,-select,-textarea {- font-family: inherit;- font-size: inherit;- line-height: inherit;-}-a {- color: #2196f3;- text-decoration: none;-}-a:hover,-a:focus {- color: #0a6ebd;- text-decoration: underline;-}-a:focus {- outline: thin dotted;- outline: 5px auto -webkit-focus-ring-color;- outline-offset: -2px;-}-figure {- margin: 0;-}-img {- vertical-align: middle;-}-.img-responsive,-.thumbnail > img,-.thumbnail a > img,-.carousel-inner > .item > img,-.carousel-inner > .item > a > img {- display: block;- max-width: 100%;- height: auto;-}-.img-rounded {- border-radius: 3px;-}-.img-thumbnail {- padding: 4px;- line-height: 1.846;- background-color: #ffffff;- border: 1px solid #dddddd;- border-radius: 3px;- -webkit-transition: all 0.2s ease-in-out;- -o-transition: all 0.2s ease-in-out;- transition: all 0.2s ease-in-out;- display: inline-block;- max-width: 100%;- height: auto;-}-.img-circle {- border-radius: 50%;-}-hr {- margin-top: 23px;- margin-bottom: 23px;- border: 0;- border-top: 1px solid #eeeeee;-}-.sr-only {- position: absolute;- width: 1px;- height: 1px;- margin: -1px;- padding: 0;- overflow: hidden;- clip: rect(0, 0, 0, 0);- border: 0;-}-.sr-only-focusable:active,-.sr-only-focusable:focus {- position: static;- width: auto;- height: auto;- margin: 0;- overflow: visible;- clip: auto;-}-[role="button"] {- cursor: pointer;-}-h1,-h2,-h3,-h4,-h5,-h6,-.h1,-.h2,-.h3,-.h4,-.h5,-.h6 {- font-family: inherit;- font-weight: 400;- line-height: 1.1;- color: #444444;-}-h1 small,-h2 small,-h3 small,-h4 small,-h5 small,-h6 small,-.h1 small,-.h2 small,-.h3 small,-.h4 small,-.h5 small,-.h6 small,-h1 .small,-h2 .small,-h3 .small,-h4 .small,-h5 .small,-h6 .small,-.h1 .small,-.h2 .small,-.h3 .small,-.h4 .small,-.h5 .small,-.h6 .small {- font-weight: normal;- line-height: 1;- color: #bbbbbb;-}-h1,-.h1,-h2,-.h2,-h3,-.h3 {- margin-top: 23px;- margin-bottom: 11.5px;-}-h1 small,-.h1 small,-h2 small,-.h2 small,-h3 small,-.h3 small,-h1 .small,-.h1 .small,-h2 .small,-.h2 .small,-h3 .small,-.h3 .small {- font-size: 65%;-}-h4,-.h4,-h5,-.h5,-h6,-.h6 {- margin-top: 11.5px;- margin-bottom: 11.5px;-}-h4 small,-.h4 small,-h5 small,-.h5 small,-h6 small,-.h6 small,-h4 .small,-.h4 .small,-h5 .small,-.h5 .small,-h6 .small,-.h6 .small {- font-size: 75%;-}-h1,-.h1 {- font-size: 56px;-}-h2,-.h2 {- font-size: 45px;-}-h3,-.h3 {- font-size: 34px;-}-h4,-.h4 {- font-size: 24px;-}-h5,-.h5 {- font-size: 20px;-}-h6,-.h6 {- font-size: 14px;-}-p {- margin: 0 0 11.5px;-}-.lead {- margin-bottom: 23px;- font-size: 14px;- font-weight: 300;- line-height: 1.4;-}-@media (min-width: 768px) {- .lead {- font-size: 19.5px;- }-}-small,-.small {- font-size: 92%;-}-mark,-.mark {- background-color: #ffe0b2;- padding: .2em;-}-.text-left {- text-align: left;-}-.text-right {- text-align: right;-}-.text-center {- text-align: center;-}-.text-justify {- text-align: justify;-}-.text-nowrap {- white-space: nowrap;-}-.text-lowercase {- text-transform: lowercase;-}-.text-uppercase {- text-transform: uppercase;-}-.text-capitalize {- text-transform: capitalize;-}-.text-muted {- color: #bbbbbb;-}-.text-primary {- color: #2196f3;-}-a.text-primary:hover,-a.text-primary:focus {- color: #0c7cd5;-}-.text-success {- color: #4caf50;-}-a.text-success:hover,-a.text-success:focus {- color: #3d8b40;-}-.text-info {- color: #9c27b0;-}-a.text-info:hover,-a.text-info:focus {- color: #771e86;-}-.text-warning {- color: #ff9800;-}-a.text-warning:hover,-a.text-warning:focus {- color: #cc7a00;-}-.text-danger {- color: #e51c23;-}-a.text-danger:hover,-a.text-danger:focus {- color: #b9151b;-}-.bg-primary {- color: #fff;- background-color: #2196f3;-}-a.bg-primary:hover,-a.bg-primary:focus {- background-color: #0c7cd5;-}-.bg-success {- background-color: #dff0d8;-}-a.bg-success:hover,-a.bg-success:focus {- background-color: #c1e2b3;-}-.bg-info {- background-color: #e1bee7;-}-a.bg-info:hover,-a.bg-info:focus {- background-color: #d099d9;-}-.bg-warning {- background-color: #ffe0b2;-}-a.bg-warning:hover,-a.bg-warning:focus {- background-color: #ffcb7f;-}-.bg-danger {- background-color: #f9bdbb;-}-a.bg-danger:hover,-a.bg-danger:focus {- background-color: #f5908c;-}-.page-header {- padding-bottom: 10.5px;- margin: 46px 0 23px;- border-bottom: 1px solid #eeeeee;-}-ul,-ol {- margin-top: 0;- margin-bottom: 11.5px;-}-ul ul,-ol ul,-ul ol,-ol ol {- margin-bottom: 0;-}-.list-unstyled {- padding-left: 0;- list-style: none;-}-.list-inline {- padding-left: 0;- list-style: none;- margin-left: -5px;-}-.list-inline > li {- display: inline-block;- padding-left: 5px;- padding-right: 5px;-}-dl {- margin-top: 0;- margin-bottom: 23px;-}-dt,-dd {- line-height: 1.846;-}-dt {- font-weight: bold;-}-dd {- margin-left: 0;-}-@media (min-width: 768px) {- .dl-horizontal dt {- float: left;- width: 160px;- clear: left;- text-align: right;- overflow: hidden;- text-overflow: ellipsis;- white-space: nowrap;- }- .dl-horizontal dd {- margin-left: 180px;- }-}-abbr[title],-abbr[data-original-title] {- cursor: help;- border-bottom: 1px dotted #bbbbbb;-}-.initialism {- font-size: 90%;- text-transform: uppercase;-}-blockquote {- padding: 11.5px 23px;- margin: 0 0 23px;- font-size: 16.25px;- border-left: 5px solid #eeeeee;-}-blockquote p:last-child,-blockquote ul:last-child,-blockquote ol:last-child {- margin-bottom: 0;-}-blockquote footer,-blockquote small,-blockquote .small {- display: block;- font-size: 80%;- line-height: 1.846;- color: #bbbbbb;-}-blockquote footer:before,-blockquote small:before,-blockquote .small:before {- content: '\2014 \00A0';-}-.blockquote-reverse,-blockquote.pull-right {- padding-right: 15px;- padding-left: 0;- border-right: 5px solid #eeeeee;- border-left: 0;- text-align: right;-}-.blockquote-reverse footer:before,-blockquote.pull-right footer:before,-.blockquote-reverse small:before,-blockquote.pull-right small:before,-.blockquote-reverse .small:before,-blockquote.pull-right .small:before {- content: '';-}-.blockquote-reverse footer:after,-blockquote.pull-right footer:after,-.blockquote-reverse small:after,-blockquote.pull-right small:after,-.blockquote-reverse .small:after,-blockquote.pull-right .small:after {- content: '\00A0 \2014';-}-address {- margin-bottom: 23px;- font-style: normal;- line-height: 1.846;-}-code,-kbd,-pre,-samp {- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;-}-code {- padding: 2px 4px;- font-size: 90%;- color: #c7254e;- background-color: #f9f2f4;- border-radius: 3px;-}-kbd {- padding: 2px 4px;- font-size: 90%;- color: #ffffff;- background-color: #333333;- border-radius: 3px;- -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);-}-kbd kbd {- padding: 0;- font-size: 100%;- font-weight: bold;- -webkit-box-shadow: none;- box-shadow: none;-}-pre {- display: block;- padding: 11px;- margin: 0 0 11.5px;- font-size: 12px;- line-height: 1.846;- word-break: break-all;- word-wrap: break-word;- color: #212121;- background-color: #f5f5f5;- border: 1px solid #cccccc;- border-radius: 3px;-}-pre code {- padding: 0;- font-size: inherit;- color: inherit;- white-space: pre-wrap;- background-color: transparent;- border-radius: 0;-}-.pre-scrollable {- max-height: 340px;- overflow-y: scroll;-}-.container {- margin-right: auto;- margin-left: auto;- padding-left: 15px;- padding-right: 15px;-}-@media (min-width: 768px) {- .container {- width: 750px;- }-}-@media (min-width: 992px) {- .container {- width: 970px;- }-}-@media (min-width: 1200px) {- .container {- width: 1170px;- }-}-.container-fluid {- margin-right: auto;- margin-left: auto;- padding-left: 15px;- padding-right: 15px;-}-.row {- margin-left: -15px;- margin-right: -15px;-}-.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {- position: relative;- min-height: 1px;- padding-left: 15px;- padding-right: 15px;-}-.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {- float: left;-}-.col-xs-12 {- width: 100%;-}-.col-xs-11 {- width: 91.66666667%;-}-.col-xs-10 {- width: 83.33333333%;-}-.col-xs-9 {- width: 75%;-}-.col-xs-8 {- width: 66.66666667%;-}-.col-xs-7 {- width: 58.33333333%;-}-.col-xs-6 {- width: 50%;-}-.col-xs-5 {- width: 41.66666667%;-}-.col-xs-4 {- width: 33.33333333%;-}-.col-xs-3 {- width: 25%;-}-.col-xs-2 {- width: 16.66666667%;-}-.col-xs-1 {- width: 8.33333333%;-}-.col-xs-pull-12 {- right: 100%;-}-.col-xs-pull-11 {- right: 91.66666667%;-}-.col-xs-pull-10 {- right: 83.33333333%;-}-.col-xs-pull-9 {- right: 75%;-}-.col-xs-pull-8 {- right: 66.66666667%;-}-.col-xs-pull-7 {- right: 58.33333333%;-}-.col-xs-pull-6 {- right: 50%;-}-.col-xs-pull-5 {- right: 41.66666667%;-}-.col-xs-pull-4 {- right: 33.33333333%;-}-.col-xs-pull-3 {- right: 25%;-}-.col-xs-pull-2 {- right: 16.66666667%;-}-.col-xs-pull-1 {- right: 8.33333333%;-}-.col-xs-pull-0 {- right: auto;-}-.col-xs-push-12 {- left: 100%;-}-.col-xs-push-11 {- left: 91.66666667%;-}-.col-xs-push-10 {- left: 83.33333333%;-}-.col-xs-push-9 {- left: 75%;-}-.col-xs-push-8 {- left: 66.66666667%;-}-.col-xs-push-7 {- left: 58.33333333%;-}-.col-xs-push-6 {- left: 50%;-}-.col-xs-push-5 {- left: 41.66666667%;-}-.col-xs-push-4 {- left: 33.33333333%;-}-.col-xs-push-3 {- left: 25%;-}-.col-xs-push-2 {- left: 16.66666667%;-}-.col-xs-push-1 {- left: 8.33333333%;-}-.col-xs-push-0 {- left: auto;-}-.col-xs-offset-12 {- margin-left: 100%;-}-.col-xs-offset-11 {- margin-left: 91.66666667%;-}-.col-xs-offset-10 {- margin-left: 83.33333333%;-}-.col-xs-offset-9 {- margin-left: 75%;-}-.col-xs-offset-8 {- margin-left: 66.66666667%;-}-.col-xs-offset-7 {- margin-left: 58.33333333%;-}-.col-xs-offset-6 {- margin-left: 50%;-}-.col-xs-offset-5 {- margin-left: 41.66666667%;-}-.col-xs-offset-4 {- margin-left: 33.33333333%;-}-.col-xs-offset-3 {- margin-left: 25%;-}-.col-xs-offset-2 {- margin-left: 16.66666667%;-}-.col-xs-offset-1 {- margin-left: 8.33333333%;-}-.col-xs-offset-0 {- margin-left: 0%;-}-@media (min-width: 768px) {- .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {- float: left;- }- .col-sm-12 {- width: 100%;- }- .col-sm-11 {- width: 91.66666667%;- }- .col-sm-10 {- width: 83.33333333%;- }- .col-sm-9 {- width: 75%;- }- .col-sm-8 {- width: 66.66666667%;- }- .col-sm-7 {- width: 58.33333333%;- }- .col-sm-6 {- width: 50%;- }- .col-sm-5 {- width: 41.66666667%;- }- .col-sm-4 {- width: 33.33333333%;- }- .col-sm-3 {- width: 25%;- }- .col-sm-2 {- width: 16.66666667%;- }- .col-sm-1 {- width: 8.33333333%;- }- .col-sm-pull-12 {- right: 100%;- }- .col-sm-pull-11 {- right: 91.66666667%;- }- .col-sm-pull-10 {- right: 83.33333333%;- }- .col-sm-pull-9 {- right: 75%;- }- .col-sm-pull-8 {- right: 66.66666667%;- }- .col-sm-pull-7 {- right: 58.33333333%;- }- .col-sm-pull-6 {- right: 50%;- }- .col-sm-pull-5 {- right: 41.66666667%;- }- .col-sm-pull-4 {- right: 33.33333333%;- }- .col-sm-pull-3 {- right: 25%;- }- .col-sm-pull-2 {- right: 16.66666667%;- }- .col-sm-pull-1 {- right: 8.33333333%;- }- .col-sm-pull-0 {- right: auto;- }- .col-sm-push-12 {- left: 100%;- }- .col-sm-push-11 {- left: 91.66666667%;- }- .col-sm-push-10 {- left: 83.33333333%;- }- .col-sm-push-9 {- left: 75%;- }- .col-sm-push-8 {- left: 66.66666667%;- }- .col-sm-push-7 {- left: 58.33333333%;- }- .col-sm-push-6 {- left: 50%;- }- .col-sm-push-5 {- left: 41.66666667%;- }- .col-sm-push-4 {- left: 33.33333333%;- }- .col-sm-push-3 {- left: 25%;- }- .col-sm-push-2 {- left: 16.66666667%;- }- .col-sm-push-1 {- left: 8.33333333%;- }- .col-sm-push-0 {- left: auto;- }- .col-sm-offset-12 {- margin-left: 100%;- }- .col-sm-offset-11 {- margin-left: 91.66666667%;- }- .col-sm-offset-10 {- margin-left: 83.33333333%;- }- .col-sm-offset-9 {- margin-left: 75%;- }- .col-sm-offset-8 {- margin-left: 66.66666667%;- }- .col-sm-offset-7 {- margin-left: 58.33333333%;- }- .col-sm-offset-6 {- margin-left: 50%;- }- .col-sm-offset-5 {- margin-left: 41.66666667%;- }- .col-sm-offset-4 {- margin-left: 33.33333333%;- }- .col-sm-offset-3 {- margin-left: 25%;- }- .col-sm-offset-2 {- margin-left: 16.66666667%;- }- .col-sm-offset-1 {- margin-left: 8.33333333%;- }- .col-sm-offset-0 {- margin-left: 0%;- }-}-@media (min-width: 992px) {- .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {- float: left;- }- .col-md-12 {- width: 100%;- }- .col-md-11 {- width: 91.66666667%;- }- .col-md-10 {- width: 83.33333333%;- }- .col-md-9 {- width: 75%;- }- .col-md-8 {- width: 66.66666667%;- }- .col-md-7 {- width: 58.33333333%;- }- .col-md-6 {- width: 50%;- }- .col-md-5 {- width: 41.66666667%;- }- .col-md-4 {- width: 33.33333333%;- }- .col-md-3 {- width: 25%;- }- .col-md-2 {- width: 16.66666667%;- }- .col-md-1 {- width: 8.33333333%;- }- .col-md-pull-12 {- right: 100%;- }- .col-md-pull-11 {- right: 91.66666667%;- }- .col-md-pull-10 {- right: 83.33333333%;- }- .col-md-pull-9 {- right: 75%;- }- .col-md-pull-8 {- right: 66.66666667%;- }- .col-md-pull-7 {- right: 58.33333333%;- }- .col-md-pull-6 {- right: 50%;- }- .col-md-pull-5 {- right: 41.66666667%;- }- .col-md-pull-4 {- right: 33.33333333%;- }- .col-md-pull-3 {- right: 25%;- }- .col-md-pull-2 {- right: 16.66666667%;- }- .col-md-pull-1 {- right: 8.33333333%;- }- .col-md-pull-0 {- right: auto;- }- .col-md-push-12 {- left: 100%;- }- .col-md-push-11 {- left: 91.66666667%;- }- .col-md-push-10 {- left: 83.33333333%;- }- .col-md-push-9 {- left: 75%;- }- .col-md-push-8 {- left: 66.66666667%;- }- .col-md-push-7 {- left: 58.33333333%;- }- .col-md-push-6 {- left: 50%;- }- .col-md-push-5 {- left: 41.66666667%;- }- .col-md-push-4 {- left: 33.33333333%;- }- .col-md-push-3 {- left: 25%;- }- .col-md-push-2 {- left: 16.66666667%;- }- .col-md-push-1 {- left: 8.33333333%;- }- .col-md-push-0 {- left: auto;- }- .col-md-offset-12 {- margin-left: 100%;- }- .col-md-offset-11 {- margin-left: 91.66666667%;- }- .col-md-offset-10 {- margin-left: 83.33333333%;- }- .col-md-offset-9 {- margin-left: 75%;- }- .col-md-offset-8 {- margin-left: 66.66666667%;- }- .col-md-offset-7 {- margin-left: 58.33333333%;- }- .col-md-offset-6 {- margin-left: 50%;- }- .col-md-offset-5 {- margin-left: 41.66666667%;- }- .col-md-offset-4 {- margin-left: 33.33333333%;- }- .col-md-offset-3 {- margin-left: 25%;- }- .col-md-offset-2 {- margin-left: 16.66666667%;- }- .col-md-offset-1 {- margin-left: 8.33333333%;- }- .col-md-offset-0 {- margin-left: 0%;- }-}-@media (min-width: 1200px) {- .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {- float: left;- }- .col-lg-12 {- width: 100%;- }- .col-lg-11 {- width: 91.66666667%;- }- .col-lg-10 {- width: 83.33333333%;- }- .col-lg-9 {- width: 75%;- }- .col-lg-8 {- width: 66.66666667%;- }- .col-lg-7 {- width: 58.33333333%;- }- .col-lg-6 {- width: 50%;- }- .col-lg-5 {- width: 41.66666667%;- }- .col-lg-4 {- width: 33.33333333%;- }- .col-lg-3 {- width: 25%;- }- .col-lg-2 {- width: 16.66666667%;- }- .col-lg-1 {- width: 8.33333333%;- }- .col-lg-pull-12 {- right: 100%;- }- .col-lg-pull-11 {- right: 91.66666667%;- }- .col-lg-pull-10 {- right: 83.33333333%;- }- .col-lg-pull-9 {- right: 75%;- }- .col-lg-pull-8 {- right: 66.66666667%;- }- .col-lg-pull-7 {- right: 58.33333333%;- }- .col-lg-pull-6 {- right: 50%;- }- .col-lg-pull-5 {- right: 41.66666667%;- }- .col-lg-pull-4 {- right: 33.33333333%;- }- .col-lg-pull-3 {- right: 25%;- }- .col-lg-pull-2 {- right: 16.66666667%;- }- .col-lg-pull-1 {- right: 8.33333333%;- }- .col-lg-pull-0 {- right: auto;- }- .col-lg-push-12 {- left: 100%;- }- .col-lg-push-11 {- left: 91.66666667%;- }- .col-lg-push-10 {- left: 83.33333333%;- }- .col-lg-push-9 {- left: 75%;- }- .col-lg-push-8 {- left: 66.66666667%;- }- .col-lg-push-7 {- left: 58.33333333%;- }- .col-lg-push-6 {- left: 50%;- }- .col-lg-push-5 {- left: 41.66666667%;- }- .col-lg-push-4 {- left: 33.33333333%;- }- .col-lg-push-3 {- left: 25%;- }- .col-lg-push-2 {- left: 16.66666667%;- }- .col-lg-push-1 {- left: 8.33333333%;- }- .col-lg-push-0 {- left: auto;- }- .col-lg-offset-12 {- margin-left: 100%;- }- .col-lg-offset-11 {- margin-left: 91.66666667%;- }- .col-lg-offset-10 {- margin-left: 83.33333333%;- }- .col-lg-offset-9 {- margin-left: 75%;- }- .col-lg-offset-8 {- margin-left: 66.66666667%;- }- .col-lg-offset-7 {- margin-left: 58.33333333%;- }- .col-lg-offset-6 {- margin-left: 50%;- }- .col-lg-offset-5 {- margin-left: 41.66666667%;- }- .col-lg-offset-4 {- margin-left: 33.33333333%;- }- .col-lg-offset-3 {- margin-left: 25%;- }- .col-lg-offset-2 {- margin-left: 16.66666667%;- }- .col-lg-offset-1 {- margin-left: 8.33333333%;- }- .col-lg-offset-0 {- margin-left: 0%;- }-}-table {- background-color: transparent;-}-caption {- padding-top: 8px;- padding-bottom: 8px;- color: #bbbbbb;- text-align: left;-}-th {- text-align: left;-}-.table {- width: 100%;- max-width: 100%;- margin-bottom: 23px;-}-.table > thead > tr > th,-.table > tbody > tr > th,-.table > tfoot > tr > th,-.table > thead > tr > td,-.table > tbody > tr > td,-.table > tfoot > tr > td {- padding: 8px;- line-height: 1.846;- vertical-align: top;- border-top: 1px solid #dddddd;-}-.table > thead > tr > th {- vertical-align: bottom;- border-bottom: 2px solid #dddddd;-}-.table > caption + thead > tr:first-child > th,-.table > colgroup + thead > tr:first-child > th,-.table > thead:first-child > tr:first-child > th,-.table > caption + thead > tr:first-child > td,-.table > colgroup + thead > tr:first-child > td,-.table > thead:first-child > tr:first-child > td {- border-top: 0;-}-.table > tbody + tbody {- border-top: 2px solid #dddddd;-}-.table .table {- background-color: #ffffff;-}-.table-condensed > thead > tr > th,-.table-condensed > tbody > tr > th,-.table-condensed > tfoot > tr > th,-.table-condensed > thead > tr > td,-.table-condensed > tbody > tr > td,-.table-condensed > tfoot > tr > td {- padding: 5px;-}-.table-bordered {- border: 1px solid #dddddd;-}-.table-bordered > thead > tr > th,-.table-bordered > tbody > tr > th,-.table-bordered > tfoot > tr > th,-.table-bordered > thead > tr > td,-.table-bordered > tbody > tr > td,-.table-bordered > tfoot > tr > td {- border: 1px solid #dddddd;-}-.table-bordered > thead > tr > th,-.table-bordered > thead > tr > td {- border-bottom-width: 2px;-}-.table-striped > tbody > tr:nth-of-type(odd) {- background-color: #f9f9f9;-}-.table-hover > tbody > tr:hover {- background-color: #f5f5f5;-}-table col[class*="col-"] {- position: static;- float: none;- display: table-column;-}-table td[class*="col-"],-table th[class*="col-"] {- position: static;- float: none;- display: table-cell;-}-.table > thead > tr > td.active,-.table > tbody > tr > td.active,-.table > tfoot > tr > td.active,-.table > thead > tr > th.active,-.table > tbody > tr > th.active,-.table > tfoot > tr > th.active,-.table > thead > tr.active > td,-.table > tbody > tr.active > td,-.table > tfoot > tr.active > td,-.table > thead > tr.active > th,-.table > tbody > tr.active > th,-.table > tfoot > tr.active > th {- background-color: #f5f5f5;-}-.table-hover > tbody > tr > td.active:hover,-.table-hover > tbody > tr > th.active:hover,-.table-hover > tbody > tr.active:hover > td,-.table-hover > tbody > tr:hover > .active,-.table-hover > tbody > tr.active:hover > th {- background-color: #e8e8e8;-}-.table > thead > tr > td.success,-.table > tbody > tr > td.success,-.table > tfoot > tr > td.success,-.table > thead > tr > th.success,-.table > tbody > tr > th.success,-.table > tfoot > tr > th.success,-.table > thead > tr.success > td,-.table > tbody > tr.success > td,-.table > tfoot > tr.success > td,-.table > thead > tr.success > th,-.table > tbody > tr.success > th,-.table > tfoot > tr.success > th {- background-color: #dff0d8;-}-.table-hover > tbody > tr > td.success:hover,-.table-hover > tbody > tr > th.success:hover,-.table-hover > tbody > tr.success:hover > td,-.table-hover > tbody > tr:hover > .success,-.table-hover > tbody > tr.success:hover > th {- background-color: #d0e9c6;-}-.table > thead > tr > td.info,-.table > tbody > tr > td.info,-.table > tfoot > tr > td.info,-.table > thead > tr > th.info,-.table > tbody > tr > th.info,-.table > tfoot > tr > th.info,-.table > thead > tr.info > td,-.table > tbody > tr.info > td,-.table > tfoot > tr.info > td,-.table > thead > tr.info > th,-.table > tbody > tr.info > th,-.table > tfoot > tr.info > th {- background-color: #e1bee7;-}-.table-hover > tbody > tr > td.info:hover,-.table-hover > tbody > tr > th.info:hover,-.table-hover > tbody > tr.info:hover > td,-.table-hover > tbody > tr:hover > .info,-.table-hover > tbody > tr.info:hover > th {- background-color: #d8abe0;-}-.table > thead > tr > td.warning,-.table > tbody > tr > td.warning,-.table > tfoot > tr > td.warning,-.table > thead > tr > th.warning,-.table > tbody > tr > th.warning,-.table > tfoot > tr > th.warning,-.table > thead > tr.warning > td,-.table > tbody > tr.warning > td,-.table > tfoot > tr.warning > td,-.table > thead > tr.warning > th,-.table > tbody > tr.warning > th,-.table > tfoot > tr.warning > th {- background-color: #ffe0b2;-}-.table-hover > tbody > tr > td.warning:hover,-.table-hover > tbody > tr > th.warning:hover,-.table-hover > tbody > tr.warning:hover > td,-.table-hover > tbody > tr:hover > .warning,-.table-hover > tbody > tr.warning:hover > th {- background-color: #ffd699;-}-.table > thead > tr > td.danger,-.table > tbody > tr > td.danger,-.table > tfoot > tr > td.danger,-.table > thead > tr > th.danger,-.table > tbody > tr > th.danger,-.table > tfoot > tr > th.danger,-.table > thead > tr.danger > td,-.table > tbody > tr.danger > td,-.table > tfoot > tr.danger > td,-.table > thead > tr.danger > th,-.table > tbody > tr.danger > th,-.table > tfoot > tr.danger > th {- background-color: #f9bdbb;-}-.table-hover > tbody > tr > td.danger:hover,-.table-hover > tbody > tr > th.danger:hover,-.table-hover > tbody > tr.danger:hover > td,-.table-hover > tbody > tr:hover > .danger,-.table-hover > tbody > tr.danger:hover > th {- background-color: #f7a6a4;-}-.table-responsive {- overflow-x: auto;- min-height: 0.01%;-}-@media screen and (max-width: 767px) {- .table-responsive {- width: 100%;- margin-bottom: 17.25px;- overflow-y: hidden;- -ms-overflow-style: -ms-autohiding-scrollbar;- border: 1px solid #dddddd;- }- .table-responsive > .table {- margin-bottom: 0;- }- .table-responsive > .table > thead > tr > th,- .table-responsive > .table > tbody > tr > th,- .table-responsive > .table > tfoot > tr > th,- .table-responsive > .table > thead > tr > td,- .table-responsive > .table > tbody > tr > td,- .table-responsive > .table > tfoot > tr > td {- white-space: nowrap;- }- .table-responsive > .table-bordered {- border: 0;- }- .table-responsive > .table-bordered > thead > tr > th:first-child,- .table-responsive > .table-bordered > tbody > tr > th:first-child,- .table-responsive > .table-bordered > tfoot > tr > th:first-child,- .table-responsive > .table-bordered > thead > tr > td:first-child,- .table-responsive > .table-bordered > tbody > tr > td:first-child,- .table-responsive > .table-bordered > tfoot > tr > td:first-child {- border-left: 0;- }- .table-responsive > .table-bordered > thead > tr > th:last-child,- .table-responsive > .table-bordered > tbody > tr > th:last-child,- .table-responsive > .table-bordered > tfoot > tr > th:last-child,- .table-responsive > .table-bordered > thead > tr > td:last-child,- .table-responsive > .table-bordered > tbody > tr > td:last-child,- .table-responsive > .table-bordered > tfoot > tr > td:last-child {- border-right: 0;- }- .table-responsive > .table-bordered > tbody > tr:last-child > th,- .table-responsive > .table-bordered > tfoot > tr:last-child > th,- .table-responsive > .table-bordered > tbody > tr:last-child > td,- .table-responsive > .table-bordered > tfoot > tr:last-child > td {- border-bottom: 0;- }-}-fieldset {- padding: 0;- margin: 0;- border: 0;- min-width: 0;-}-legend {- display: block;- width: 100%;- padding: 0;- margin-bottom: 23px;- font-size: 19.5px;- line-height: inherit;- color: #212121;- border: 0;- border-bottom: 1px solid #e5e5e5;-}-label {- display: inline-block;- max-width: 100%;- margin-bottom: 5px;- font-weight: bold;-}-input[type="search"] {- -webkit-box-sizing: border-box;- -moz-box-sizing: border-box;- box-sizing: border-box;-}-input[type="radio"],-input[type="checkbox"] {- margin: 4px 0 0;- margin-top: 1px \9;- line-height: normal;-}-input[type="file"] {- display: block;-}-input[type="range"] {- display: block;- width: 100%;-}-select[multiple],-select[size] {- height: auto;-}-input[type="file"]:focus,-input[type="radio"]:focus,-input[type="checkbox"]:focus {- outline: thin dotted;- outline: 5px auto -webkit-focus-ring-color;- outline-offset: -2px;-}-output {- display: block;- padding-top: 7px;- font-size: 13px;- line-height: 1.846;- color: #666666;-}-.form-control {- display: block;- width: 100%;- height: 37px;- padding: 6px 16px;- font-size: 13px;- line-height: 1.846;- color: #666666;- background-color: transparent;- background-image: none;- border: 1px solid transparent;- border-radius: 3px;- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);- -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;- -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;- transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;-}-.form-control:focus {- border-color: #66afe9;- outline: 0;- -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);- box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);-}-.form-control::-moz-placeholder {- color: #bbbbbb;- opacity: 1;-}-.form-control:-ms-input-placeholder {- color: #bbbbbb;-}-.form-control::-webkit-input-placeholder {- color: #bbbbbb;-}-.form-control[disabled],-.form-control[readonly],-fieldset[disabled] .form-control {- background-color: transparent;- opacity: 1;-}-.form-control[disabled],-fieldset[disabled] .form-control {- cursor: not-allowed;-}-textarea.form-control {- height: auto;-}-input[type="search"] {- -webkit-appearance: none;-}-@media screen and (-webkit-min-device-pixel-ratio: 0) {- input[type="date"].form-control,- input[type="time"].form-control,- input[type="datetime-local"].form-control,- input[type="month"].form-control {- line-height: 37px;- }- input[type="date"].input-sm,- input[type="time"].input-sm,- input[type="datetime-local"].input-sm,- input[type="month"].input-sm,- .input-group-sm input[type="date"],- .input-group-sm input[type="time"],- .input-group-sm input[type="datetime-local"],- .input-group-sm input[type="month"] {- line-height: 30px;- }- input[type="date"].input-lg,- input[type="time"].input-lg,- input[type="datetime-local"].input-lg,- input[type="month"].input-lg,- .input-group-lg input[type="date"],- .input-group-lg input[type="time"],- .input-group-lg input[type="datetime-local"],- .input-group-lg input[type="month"] {- line-height: 45px;- }-}-.form-group {- margin-bottom: 15px;-}-.radio,-.checkbox {- position: relative;- display: block;- margin-top: 10px;- margin-bottom: 10px;-}-.radio label,-.checkbox label {- min-height: 23px;- padding-left: 20px;- margin-bottom: 0;- font-weight: normal;- cursor: pointer;-}-.radio input[type="radio"],-.radio-inline input[type="radio"],-.checkbox input[type="checkbox"],-.checkbox-inline input[type="checkbox"] {- position: absolute;- margin-left: -20px;- margin-top: 4px \9;-}-.radio + .radio,-.checkbox + .checkbox {- margin-top: -5px;-}-.radio-inline,-.checkbox-inline {- position: relative;- display: inline-block;- padding-left: 20px;- margin-bottom: 0;- vertical-align: middle;- font-weight: normal;- cursor: pointer;-}-.radio-inline + .radio-inline,-.checkbox-inline + .checkbox-inline {- margin-top: 0;- margin-left: 10px;-}-input[type="radio"][disabled],-input[type="checkbox"][disabled],-input[type="radio"].disabled,-input[type="checkbox"].disabled,-fieldset[disabled] input[type="radio"],-fieldset[disabled] input[type="checkbox"] {- cursor: not-allowed;-}-.radio-inline.disabled,-.checkbox-inline.disabled,-fieldset[disabled] .radio-inline,-fieldset[disabled] .checkbox-inline {- cursor: not-allowed;-}-.radio.disabled label,-.checkbox.disabled label,-fieldset[disabled] .radio label,-fieldset[disabled] .checkbox label {- cursor: not-allowed;-}-.form-control-static {- padding-top: 7px;- padding-bottom: 7px;- margin-bottom: 0;- min-height: 36px;-}-.form-control-static.input-lg,-.form-control-static.input-sm {- padding-left: 0;- padding-right: 0;-}-.input-sm {- height: 30px;- padding: 5px 10px;- font-size: 12px;- line-height: 1.5;- border-radius: 3px;-}-select.input-sm {- height: 30px;- line-height: 30px;-}-textarea.input-sm,-select[multiple].input-sm {- height: auto;-}-.form-group-sm .form-control {- height: 30px;- padding: 5px 10px;- font-size: 12px;- line-height: 1.5;- border-radius: 3px;-}-.form-group-sm select.form-control {- height: 30px;- line-height: 30px;-}-.form-group-sm textarea.form-control,-.form-group-sm select[multiple].form-control {- height: auto;-}-.form-group-sm .form-control-static {- height: 30px;- min-height: 35px;- padding: 6px 10px;- font-size: 12px;- line-height: 1.5;-}-.input-lg {- height: 45px;- padding: 10px 16px;- font-size: 17px;- line-height: 1.3333333;- border-radius: 3px;-}-select.input-lg {- height: 45px;- line-height: 45px;-}-textarea.input-lg,-select[multiple].input-lg {- height: auto;-}-.form-group-lg .form-control {- height: 45px;- padding: 10px 16px;- font-size: 17px;- line-height: 1.3333333;- border-radius: 3px;-}-.form-group-lg select.form-control {- height: 45px;- line-height: 45px;-}-.form-group-lg textarea.form-control,-.form-group-lg select[multiple].form-control {- height: auto;-}-.form-group-lg .form-control-static {- height: 45px;- min-height: 40px;- padding: 11px 16px;- font-size: 17px;- line-height: 1.3333333;-}-.has-feedback {- position: relative;-}-.has-feedback .form-control {- padding-right: 46.25px;-}-.form-control-feedback {- position: absolute;- top: 0;- right: 0;- z-index: 2;- display: block;- width: 37px;- height: 37px;- line-height: 37px;- text-align: center;- pointer-events: none;-}-.input-lg + .form-control-feedback,-.input-group-lg + .form-control-feedback,-.form-group-lg .form-control + .form-control-feedback {- width: 45px;- height: 45px;- line-height: 45px;-}-.input-sm + .form-control-feedback,-.input-group-sm + .form-control-feedback,-.form-group-sm .form-control + .form-control-feedback {- width: 30px;- height: 30px;- line-height: 30px;-}-.has-success .help-block,-.has-success .control-label,-.has-success .radio,-.has-success .checkbox,-.has-success .radio-inline,-.has-success .checkbox-inline,-.has-success.radio label,-.has-success.checkbox label,-.has-success.radio-inline label,-.has-success.checkbox-inline label {- color: #4caf50;-}-.has-success .form-control {- border-color: #4caf50;- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);-}-.has-success .form-control:focus {- border-color: #3d8b40;- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #92cf94;- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #92cf94;-}-.has-success .input-group-addon {- color: #4caf50;- border-color: #4caf50;- background-color: #dff0d8;-}-.has-success .form-control-feedback {- color: #4caf50;-}-.has-warning .help-block,-.has-warning .control-label,-.has-warning .radio,-.has-warning .checkbox,-.has-warning .radio-inline,-.has-warning .checkbox-inline,-.has-warning.radio label,-.has-warning.checkbox label,-.has-warning.radio-inline label,-.has-warning.checkbox-inline label {- color: #ff9800;-}-.has-warning .form-control {- border-color: #ff9800;- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);-}-.has-warning .form-control:focus {- border-color: #cc7a00;- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffc166;- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffc166;-}-.has-warning .input-group-addon {- color: #ff9800;- border-color: #ff9800;- background-color: #ffe0b2;-}-.has-warning .form-control-feedback {- color: #ff9800;-}-.has-error .help-block,-.has-error .control-label,-.has-error .radio,-.has-error .checkbox,-.has-error .radio-inline,-.has-error .checkbox-inline,-.has-error.radio label,-.has-error.checkbox label,-.has-error.radio-inline label,-.has-error.checkbox-inline label {- color: #e51c23;-}-.has-error .form-control {- border-color: #e51c23;- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);-}-.has-error .form-control:focus {- border-color: #b9151b;- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ef787c;- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ef787c;-}-.has-error .input-group-addon {- color: #e51c23;- border-color: #e51c23;- background-color: #f9bdbb;-}-.has-error .form-control-feedback {- color: #e51c23;-}-.has-feedback label ~ .form-control-feedback {- top: 28px;-}-.has-feedback label.sr-only ~ .form-control-feedback {- top: 0;-}-.help-block {- display: block;- margin-top: 5px;- margin-bottom: 10px;- color: #a6a6a6;-}-@media (min-width: 768px) {- .form-inline .form-group {- display: inline-block;- margin-bottom: 0;- vertical-align: middle;- }- .form-inline .form-control {- display: inline-block;- width: auto;- vertical-align: middle;- }- .form-inline .form-control-static {- display: inline-block;- }- .form-inline .input-group {- display: inline-table;- vertical-align: middle;- }- .form-inline .input-group .input-group-addon,- .form-inline .input-group .input-group-btn,- .form-inline .input-group .form-control {- width: auto;- }- .form-inline .input-group > .form-control {- width: 100%;- }- .form-inline .control-label {- margin-bottom: 0;- vertical-align: middle;- }- .form-inline .radio,- .form-inline .checkbox {- display: inline-block;- margin-top: 0;- margin-bottom: 0;- vertical-align: middle;- }- .form-inline .radio label,- .form-inline .checkbox label {- padding-left: 0;- }- .form-inline .radio input[type="radio"],- .form-inline .checkbox input[type="checkbox"] {- position: relative;- margin-left: 0;- }- .form-inline .has-feedback .form-control-feedback {- top: 0;- }-}-.form-horizontal .radio,-.form-horizontal .checkbox,-.form-horizontal .radio-inline,-.form-horizontal .checkbox-inline {- margin-top: 0;- margin-bottom: 0;- padding-top: 7px;-}-.form-horizontal .radio,-.form-horizontal .checkbox {- min-height: 30px;-}-.form-horizontal .form-group {- margin-left: -15px;- margin-right: -15px;-}-@media (min-width: 768px) {- .form-horizontal .control-label {- text-align: right;- margin-bottom: 0;- padding-top: 7px;- }-}-.form-horizontal .has-feedback .form-control-feedback {- right: 15px;-}-@media (min-width: 768px) {- .form-horizontal .form-group-lg .control-label {- padding-top: 14.333333px;- font-size: 17px;- }-}-@media (min-width: 768px) {- .form-horizontal .form-group-sm .control-label {- padding-top: 6px;- font-size: 12px;- }-}-.btn {- display: inline-block;- margin-bottom: 0;- font-weight: normal;- text-align: center;- vertical-align: middle;- -ms-touch-action: manipulation;- touch-action: manipulation;- cursor: pointer;- background-image: none;- border: 1px solid transparent;- white-space: nowrap;- padding: 6px 16px;- font-size: 13px;- line-height: 1.846;- border-radius: 3px;- -webkit-user-select: none;- -moz-user-select: none;- -ms-user-select: none;- user-select: none;-}-.btn:focus,-.btn:active:focus,-.btn.active:focus,-.btn.focus,-.btn:active.focus,-.btn.active.focus {- outline: thin dotted;- outline: 5px auto -webkit-focus-ring-color;- outline-offset: -2px;-}-.btn:hover,-.btn:focus,-.btn.focus {- color: #444444;- text-decoration: none;-}-.btn:active,-.btn.active {- outline: 0;- background-image: none;- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);- box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);-}-.btn.disabled,-.btn[disabled],-fieldset[disabled] .btn {- cursor: not-allowed;- opacity: 0.65;- filter: alpha(opacity=65);- -webkit-box-shadow: none;- box-shadow: none;-}-a.btn.disabled,-fieldset[disabled] a.btn {- pointer-events: none;-}-.btn-default {- color: #444444;- background-color: #ffffff;- border-color: transparent;-}-.btn-default:focus,-.btn-default.focus {- color: #444444;- background-color: #e6e6e6;- border-color: rgba(0, 0, 0, 0);-}-.btn-default:hover {- color: #444444;- background-color: #e6e6e6;- border-color: rgba(0, 0, 0, 0);-}-.btn-default:active,-.btn-default.active,-.open > .dropdown-toggle.btn-default {- color: #444444;- background-color: #e6e6e6;- border-color: rgba(0, 0, 0, 0);-}-.btn-default:active:hover,-.btn-default.active:hover,-.open > .dropdown-toggle.btn-default:hover,-.btn-default:active:focus,-.btn-default.active:focus,-.open > .dropdown-toggle.btn-default:focus,-.btn-default:active.focus,-.btn-default.active.focus,-.open > .dropdown-toggle.btn-default.focus {- color: #444444;- background-color: #d4d4d4;- border-color: rgba(0, 0, 0, 0);-}-.btn-default:active,-.btn-default.active,-.open > .dropdown-toggle.btn-default {- background-image: none;-}-.btn-default.disabled,-.btn-default[disabled],-fieldset[disabled] .btn-default,-.btn-default.disabled:hover,-.btn-default[disabled]:hover,-fieldset[disabled] .btn-default:hover,-.btn-default.disabled:focus,-.btn-default[disabled]:focus,-fieldset[disabled] .btn-default:focus,-.btn-default.disabled.focus,-.btn-default[disabled].focus,-fieldset[disabled] .btn-default.focus,-.btn-default.disabled:active,-.btn-default[disabled]:active,-fieldset[disabled] .btn-default:active,-.btn-default.disabled.active,-.btn-default[disabled].active,-fieldset[disabled] .btn-default.active {- background-color: #ffffff;- border-color: transparent;-}-.btn-default .badge {- color: #ffffff;- background-color: #444444;-}-.btn-primary {- color: #ffffff;- background-color: #2196f3;- border-color: transparent;-}-.btn-primary:focus,-.btn-primary.focus {- color: #ffffff;- background-color: #0c7cd5;- border-color: rgba(0, 0, 0, 0);-}-.btn-primary:hover {- color: #ffffff;- background-color: #0c7cd5;- border-color: rgba(0, 0, 0, 0);-}-.btn-primary:active,-.btn-primary.active,-.open > .dropdown-toggle.btn-primary {- color: #ffffff;- background-color: #0c7cd5;- border-color: rgba(0, 0, 0, 0);-}-.btn-primary:active:hover,-.btn-primary.active:hover,-.open > .dropdown-toggle.btn-primary:hover,-.btn-primary:active:focus,-.btn-primary.active:focus,-.open > .dropdown-toggle.btn-primary:focus,-.btn-primary:active.focus,-.btn-primary.active.focus,-.open > .dropdown-toggle.btn-primary.focus {- color: #ffffff;- background-color: #0a68b4;- border-color: rgba(0, 0, 0, 0);-}-.btn-primary:active,-.btn-primary.active,-.open > .dropdown-toggle.btn-primary {- background-image: none;-}-.btn-primary.disabled,-.btn-primary[disabled],-fieldset[disabled] .btn-primary,-.btn-primary.disabled:hover,-.btn-primary[disabled]:hover,-fieldset[disabled] .btn-primary:hover,-.btn-primary.disabled:focus,-.btn-primary[disabled]:focus,-fieldset[disabled] .btn-primary:focus,-.btn-primary.disabled.focus,-.btn-primary[disabled].focus,-fieldset[disabled] .btn-primary.focus,-.btn-primary.disabled:active,-.btn-primary[disabled]:active,-fieldset[disabled] .btn-primary:active,-.btn-primary.disabled.active,-.btn-primary[disabled].active,-fieldset[disabled] .btn-primary.active {- background-color: #2196f3;- border-color: transparent;-}-.btn-primary .badge {- color: #2196f3;- background-color: #ffffff;-}-.btn-success {- color: #ffffff;- background-color: #4caf50;- border-color: transparent;-}-.btn-success:focus,-.btn-success.focus {- color: #ffffff;- background-color: #3d8b40;- border-color: rgba(0, 0, 0, 0);-}-.btn-success:hover {- color: #ffffff;- background-color: #3d8b40;- border-color: rgba(0, 0, 0, 0);-}-.btn-success:active,-.btn-success.active,-.open > .dropdown-toggle.btn-success {- color: #ffffff;- background-color: #3d8b40;- border-color: rgba(0, 0, 0, 0);-}-.btn-success:active:hover,-.btn-success.active:hover,-.open > .dropdown-toggle.btn-success:hover,-.btn-success:active:focus,-.btn-success.active:focus,-.open > .dropdown-toggle.btn-success:focus,-.btn-success:active.focus,-.btn-success.active.focus,-.open > .dropdown-toggle.btn-success.focus {- color: #ffffff;- background-color: #327334;- border-color: rgba(0, 0, 0, 0);-}-.btn-success:active,-.btn-success.active,-.open > .dropdown-toggle.btn-success {- background-image: none;-}-.btn-success.disabled,-.btn-success[disabled],-fieldset[disabled] .btn-success,-.btn-success.disabled:hover,-.btn-success[disabled]:hover,-fieldset[disabled] .btn-success:hover,-.btn-success.disabled:focus,-.btn-success[disabled]:focus,-fieldset[disabled] .btn-success:focus,-.btn-success.disabled.focus,-.btn-success[disabled].focus,-fieldset[disabled] .btn-success.focus,-.btn-success.disabled:active,-.btn-success[disabled]:active,-fieldset[disabled] .btn-success:active,-.btn-success.disabled.active,-.btn-success[disabled].active,-fieldset[disabled] .btn-success.active {- background-color: #4caf50;- border-color: transparent;-}-.btn-success .badge {- color: #4caf50;- background-color: #ffffff;-}-.btn-info {- color: #ffffff;- background-color: #9c27b0;- border-color: transparent;-}-.btn-info:focus,-.btn-info.focus {- color: #ffffff;- background-color: #771e86;- border-color: rgba(0, 0, 0, 0);-}-.btn-info:hover {- color: #ffffff;- background-color: #771e86;- border-color: rgba(0, 0, 0, 0);-}-.btn-info:active,-.btn-info.active,-.open > .dropdown-toggle.btn-info {- color: #ffffff;- background-color: #771e86;- border-color: rgba(0, 0, 0, 0);-}-.btn-info:active:hover,-.btn-info.active:hover,-.open > .dropdown-toggle.btn-info:hover,-.btn-info:active:focus,-.btn-info.active:focus,-.open > .dropdown-toggle.btn-info:focus,-.btn-info:active.focus,-.btn-info.active.focus,-.open > .dropdown-toggle.btn-info.focus {- color: #ffffff;- background-color: #5d1769;- border-color: rgba(0, 0, 0, 0);-}-.btn-info:active,-.btn-info.active,-.open > .dropdown-toggle.btn-info {- background-image: none;-}-.btn-info.disabled,-.btn-info[disabled],-fieldset[disabled] .btn-info,-.btn-info.disabled:hover,-.btn-info[disabled]:hover,-fieldset[disabled] .btn-info:hover,-.btn-info.disabled:focus,-.btn-info[disabled]:focus,-fieldset[disabled] .btn-info:focus,-.btn-info.disabled.focus,-.btn-info[disabled].focus,-fieldset[disabled] .btn-info.focus,-.btn-info.disabled:active,-.btn-info[disabled]:active,-fieldset[disabled] .btn-info:active,-.btn-info.disabled.active,-.btn-info[disabled].active,-fieldset[disabled] .btn-info.active {- background-color: #9c27b0;- border-color: transparent;-}-.btn-info .badge {- color: #9c27b0;- background-color: #ffffff;-}-.btn-warning {- color: #ffffff;- background-color: #ff9800;- border-color: transparent;-}-.btn-warning:focus,-.btn-warning.focus {- color: #ffffff;- background-color: #cc7a00;- border-color: rgba(0, 0, 0, 0);-}-.btn-warning:hover {- color: #ffffff;- background-color: #cc7a00;- border-color: rgba(0, 0, 0, 0);-}-.btn-warning:active,-.btn-warning.active,-.open > .dropdown-toggle.btn-warning {- color: #ffffff;- background-color: #cc7a00;- border-color: rgba(0, 0, 0, 0);-}-.btn-warning:active:hover,-.btn-warning.active:hover,-.open > .dropdown-toggle.btn-warning:hover,-.btn-warning:active:focus,-.btn-warning.active:focus,-.open > .dropdown-toggle.btn-warning:focus,-.btn-warning:active.focus,-.btn-warning.active.focus,-.open > .dropdown-toggle.btn-warning.focus {- color: #ffffff;- background-color: #a86400;- border-color: rgba(0, 0, 0, 0);-}-.btn-warning:active,-.btn-warning.active,-.open > .dropdown-toggle.btn-warning {- background-image: none;-}-.btn-warning.disabled,-.btn-warning[disabled],-fieldset[disabled] .btn-warning,-.btn-warning.disabled:hover,-.btn-warning[disabled]:hover,-fieldset[disabled] .btn-warning:hover,-.btn-warning.disabled:focus,-.btn-warning[disabled]:focus,-fieldset[disabled] .btn-warning:focus,-.btn-warning.disabled.focus,-.btn-warning[disabled].focus,-fieldset[disabled] .btn-warning.focus,-.btn-warning.disabled:active,-.btn-warning[disabled]:active,-fieldset[disabled] .btn-warning:active,-.btn-warning.disabled.active,-.btn-warning[disabled].active,-fieldset[disabled] .btn-warning.active {- background-color: #ff9800;- border-color: transparent;-}-.btn-warning .badge {- color: #ff9800;- background-color: #ffffff;-}-.btn-danger {- color: #ffffff;- background-color: #e51c23;- border-color: transparent;-}-.btn-danger:focus,-.btn-danger.focus {- color: #ffffff;- background-color: #b9151b;- border-color: rgba(0, 0, 0, 0);-}-.btn-danger:hover {- color: #ffffff;- background-color: #b9151b;- border-color: rgba(0, 0, 0, 0);-}-.btn-danger:active,-.btn-danger.active,-.open > .dropdown-toggle.btn-danger {- color: #ffffff;- background-color: #b9151b;- border-color: rgba(0, 0, 0, 0);-}-.btn-danger:active:hover,-.btn-danger.active:hover,-.open > .dropdown-toggle.btn-danger:hover,-.btn-danger:active:focus,-.btn-danger.active:focus,-.open > .dropdown-toggle.btn-danger:focus,-.btn-danger:active.focus,-.btn-danger.active.focus,-.open > .dropdown-toggle.btn-danger.focus {- color: #ffffff;- background-color: #991216;- border-color: rgba(0, 0, 0, 0);-}-.btn-danger:active,-.btn-danger.active,-.open > .dropdown-toggle.btn-danger {- background-image: none;-}-.btn-danger.disabled,-.btn-danger[disabled],-fieldset[disabled] .btn-danger,-.btn-danger.disabled:hover,-.btn-danger[disabled]:hover,-fieldset[disabled] .btn-danger:hover,-.btn-danger.disabled:focus,-.btn-danger[disabled]:focus,-fieldset[disabled] .btn-danger:focus,-.btn-danger.disabled.focus,-.btn-danger[disabled].focus,-fieldset[disabled] .btn-danger.focus,-.btn-danger.disabled:active,-.btn-danger[disabled]:active,-fieldset[disabled] .btn-danger:active,-.btn-danger.disabled.active,-.btn-danger[disabled].active,-fieldset[disabled] .btn-danger.active {- background-color: #e51c23;- border-color: transparent;-}-.btn-danger .badge {- color: #e51c23;- background-color: #ffffff;-}-.btn-link {- color: #2196f3;- font-weight: normal;- border-radius: 0;-}-.btn-link,-.btn-link:active,-.btn-link.active,-.btn-link[disabled],-fieldset[disabled] .btn-link {- background-color: transparent;- -webkit-box-shadow: none;- box-shadow: none;-}-.btn-link,-.btn-link:hover,-.btn-link:focus,-.btn-link:active {- border-color: transparent;-}-.btn-link:hover,-.btn-link:focus {- color: #0a6ebd;- text-decoration: underline;- background-color: transparent;-}-.btn-link[disabled]:hover,-fieldset[disabled] .btn-link:hover,-.btn-link[disabled]:focus,-fieldset[disabled] .btn-link:focus {- color: #bbbbbb;- text-decoration: none;-}-.btn-lg,-.btn-group-lg > .btn {- padding: 10px 16px;- font-size: 17px;- line-height: 1.3333333;- border-radius: 3px;-}-.btn-sm,-.btn-group-sm > .btn {- padding: 5px 10px;- font-size: 12px;- line-height: 1.5;- border-radius: 3px;-}-.btn-xs,-.btn-group-xs > .btn {- padding: 1px 5px;- font-size: 12px;- line-height: 1.5;- border-radius: 3px;-}-.btn-block {- display: block;- width: 100%;-}-.btn-block + .btn-block {- margin-top: 5px;-}-input[type="submit"].btn-block,-input[type="reset"].btn-block,-input[type="button"].btn-block {- width: 100%;-}-.fade {- opacity: 0;- -webkit-transition: opacity 0.15s linear;- -o-transition: opacity 0.15s linear;- transition: opacity 0.15s linear;-}-.fade.in {- opacity: 1;-}-.collapse {- display: none;-}-.collapse.in {- display: block;-}-tr.collapse.in {- display: table-row;-}-tbody.collapse.in {- display: table-row-group;-}-.collapsing {- position: relative;- height: 0;- overflow: hidden;- -webkit-transition-property: height, visibility;- -o-transition-property: height, visibility;- transition-property: height, visibility;- -webkit-transition-duration: 0.35s;- -o-transition-duration: 0.35s;- transition-duration: 0.35s;- -webkit-transition-timing-function: ease;- -o-transition-timing-function: ease;- transition-timing-function: ease;-}-.caret {- display: inline-block;- width: 0;- height: 0;- margin-left: 2px;- vertical-align: middle;- border-top: 4px dashed;- border-top: 4px solid \9;- border-right: 4px solid transparent;- border-left: 4px solid transparent;-}-.dropup,-.dropdown {- position: relative;-}-.dropdown-toggle:focus {- outline: 0;-}-.dropdown-menu {- position: absolute;- top: 100%;- left: 0;- z-index: 1000;- display: none;- float: left;- min-width: 160px;- padding: 5px 0;- margin: 2px 0 0;- list-style: none;- font-size: 13px;- text-align: left;- background-color: #ffffff;- border: 1px solid #cccccc;- border: 1px solid rgba(0, 0, 0, 0.15);- border-radius: 3px;- -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);- box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);- -webkit-background-clip: padding-box;- background-clip: padding-box;-}-.dropdown-menu.pull-right {- right: 0;- left: auto;-}-.dropdown-menu .divider {- height: 1px;- margin: 10.5px 0;- overflow: hidden;- background-color: #e5e5e5;-}-.dropdown-menu > li > a {- display: block;- padding: 3px 20px;- clear: both;- font-weight: normal;- line-height: 1.846;- color: #666666;- white-space: nowrap;-}-.dropdown-menu > li > a:hover,-.dropdown-menu > li > a:focus {- text-decoration: none;- color: #141414;- background-color: #eeeeee;-}-.dropdown-menu > .active > a,-.dropdown-menu > .active > a:hover,-.dropdown-menu > .active > a:focus {- color: #ffffff;- text-decoration: none;- outline: 0;- background-color: #2196f3;-}-.dropdown-menu > .disabled > a,-.dropdown-menu > .disabled > a:hover,-.dropdown-menu > .disabled > a:focus {- color: #bbbbbb;-}-.dropdown-menu > .disabled > a:hover,-.dropdown-menu > .disabled > a:focus {- text-decoration: none;- background-color: transparent;- background-image: none;- filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);- cursor: not-allowed;-}-.open > .dropdown-menu {- display: block;-}-.open > a {- outline: 0;-}-.dropdown-menu-right {- left: auto;- right: 0;-}-.dropdown-menu-left {- left: 0;- right: auto;-}-.dropdown-header {- display: block;- padding: 3px 20px;- font-size: 12px;- line-height: 1.846;- color: #bbbbbb;- white-space: nowrap;-}-.dropdown-backdrop {- position: fixed;- left: 0;- right: 0;- bottom: 0;- top: 0;- z-index: 990;-}-.pull-right > .dropdown-menu {- right: 0;- left: auto;-}-.dropup .caret,-.navbar-fixed-bottom .dropdown .caret {- border-top: 0;- border-bottom: 4px dashed;- border-bottom: 4px solid \9;- content: "";-}-.dropup .dropdown-menu,-.navbar-fixed-bottom .dropdown .dropdown-menu {- top: auto;- bottom: 100%;- margin-bottom: 2px;-}-@media (min-width: 768px) {- .navbar-right .dropdown-menu {- left: auto;- right: 0;- }- .navbar-right .dropdown-menu-left {- left: 0;- right: auto;- }-}-.btn-group,-.btn-group-vertical {- position: relative;- display: inline-block;- vertical-align: middle;-}-.btn-group > .btn,-.btn-group-vertical > .btn {- position: relative;- float: left;-}-.btn-group > .btn:hover,-.btn-group-vertical > .btn:hover,-.btn-group > .btn:focus,-.btn-group-vertical > .btn:focus,-.btn-group > .btn:active,-.btn-group-vertical > .btn:active,-.btn-group > .btn.active,-.btn-group-vertical > .btn.active {- z-index: 2;-}-.btn-group .btn + .btn,-.btn-group .btn + .btn-group,-.btn-group .btn-group + .btn,-.btn-group .btn-group + .btn-group {- margin-left: -1px;-}-.btn-toolbar {- margin-left: -5px;-}-.btn-toolbar .btn,-.btn-toolbar .btn-group,-.btn-toolbar .input-group {- float: left;-}-.btn-toolbar > .btn,-.btn-toolbar > .btn-group,-.btn-toolbar > .input-group {- margin-left: 5px;-}-.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {- border-radius: 0;-}-.btn-group > .btn:first-child {- margin-left: 0;-}-.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {- border-bottom-right-radius: 0;- border-top-right-radius: 0;-}-.btn-group > .btn:last-child:not(:first-child),-.btn-group > .dropdown-toggle:not(:first-child) {- border-bottom-left-radius: 0;- border-top-left-radius: 0;-}-.btn-group > .btn-group {- float: left;-}-.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {- border-radius: 0;-}-.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,-.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {- border-bottom-right-radius: 0;- border-top-right-radius: 0;-}-.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {- border-bottom-left-radius: 0;- border-top-left-radius: 0;-}-.btn-group .dropdown-toggle:active,-.btn-group.open .dropdown-toggle {- outline: 0;-}-.btn-group > .btn + .dropdown-toggle {- padding-left: 8px;- padding-right: 8px;-}-.btn-group > .btn-lg + .dropdown-toggle {- padding-left: 12px;- padding-right: 12px;-}-.btn-group.open .dropdown-toggle {- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);- box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);-}-.btn-group.open .dropdown-toggle.btn-link {- -webkit-box-shadow: none;- box-shadow: none;-}-.btn .caret {- margin-left: 0;-}-.btn-lg .caret {- border-width: 5px 5px 0;- border-bottom-width: 0;-}-.dropup .btn-lg .caret {- border-width: 0 5px 5px;-}-.btn-group-vertical > .btn,-.btn-group-vertical > .btn-group,-.btn-group-vertical > .btn-group > .btn {- display: block;- float: none;- width: 100%;- max-width: 100%;-}-.btn-group-vertical > .btn-group > .btn {- float: none;-}-.btn-group-vertical > .btn + .btn,-.btn-group-vertical > .btn + .btn-group,-.btn-group-vertical > .btn-group + .btn,-.btn-group-vertical > .btn-group + .btn-group {- margin-top: -1px;- margin-left: 0;-}-.btn-group-vertical > .btn:not(:first-child):not(:last-child) {- border-radius: 0;-}-.btn-group-vertical > .btn:first-child:not(:last-child) {- border-top-right-radius: 3px;- border-bottom-right-radius: 0;- border-bottom-left-radius: 0;-}-.btn-group-vertical > .btn:last-child:not(:first-child) {- border-bottom-left-radius: 3px;- border-top-right-radius: 0;- border-top-left-radius: 0;-}-.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {- border-radius: 0;-}-.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,-.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {- border-bottom-right-radius: 0;- border-bottom-left-radius: 0;-}-.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {- border-top-right-radius: 0;- border-top-left-radius: 0;-}-.btn-group-justified {- display: table;- width: 100%;- table-layout: fixed;- border-collapse: separate;-}-.btn-group-justified > .btn,-.btn-group-justified > .btn-group {- float: none;- display: table-cell;- width: 1%;-}-.btn-group-justified > .btn-group .btn {- width: 100%;-}-.btn-group-justified > .btn-group .dropdown-menu {- left: auto;-}-[data-toggle="buttons"] > .btn input[type="radio"],-[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],-[data-toggle="buttons"] > .btn input[type="checkbox"],-[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {- position: absolute;- clip: rect(0, 0, 0, 0);- pointer-events: none;-}-.input-group {- position: relative;- display: table;- border-collapse: separate;-}-.input-group[class*="col-"] {- float: none;- padding-left: 0;- padding-right: 0;-}-.input-group .form-control {- position: relative;- z-index: 2;- float: left;- width: 100%;- margin-bottom: 0;-}-.input-group-lg > .form-control,-.input-group-lg > .input-group-addon,-.input-group-lg > .input-group-btn > .btn {- height: 45px;- padding: 10px 16px;- font-size: 17px;- line-height: 1.3333333;- border-radius: 3px;-}-select.input-group-lg > .form-control,-select.input-group-lg > .input-group-addon,-select.input-group-lg > .input-group-btn > .btn {- height: 45px;- line-height: 45px;-}-textarea.input-group-lg > .form-control,-textarea.input-group-lg > .input-group-addon,-textarea.input-group-lg > .input-group-btn > .btn,-select[multiple].input-group-lg > .form-control,-select[multiple].input-group-lg > .input-group-addon,-select[multiple].input-group-lg > .input-group-btn > .btn {- height: auto;-}-.input-group-sm > .form-control,-.input-group-sm > .input-group-addon,-.input-group-sm > .input-group-btn > .btn {- height: 30px;- padding: 5px 10px;- font-size: 12px;- line-height: 1.5;- border-radius: 3px;-}-select.input-group-sm > .form-control,-select.input-group-sm > .input-group-addon,-select.input-group-sm > .input-group-btn > .btn {- height: 30px;- line-height: 30px;-}-textarea.input-group-sm > .form-control,-textarea.input-group-sm > .input-group-addon,-textarea.input-group-sm > .input-group-btn > .btn,-select[multiple].input-group-sm > .form-control,-select[multiple].input-group-sm > .input-group-addon,-select[multiple].input-group-sm > .input-group-btn > .btn {- height: auto;-}-.input-group-addon,-.input-group-btn,-.input-group .form-control {- display: table-cell;-}-.input-group-addon:not(:first-child):not(:last-child),-.input-group-btn:not(:first-child):not(:last-child),-.input-group .form-control:not(:first-child):not(:last-child) {- border-radius: 0;-}-.input-group-addon,-.input-group-btn {- width: 1%;- white-space: nowrap;- vertical-align: middle;-}-.input-group-addon {- padding: 6px 16px;- font-size: 13px;- font-weight: normal;- line-height: 1;- color: #666666;- text-align: center;- background-color: transparent;- border: 1px solid transparent;- border-radius: 3px;-}-.input-group-addon.input-sm {- padding: 5px 10px;- font-size: 12px;- border-radius: 3px;-}-.input-group-addon.input-lg {- padding: 10px 16px;- font-size: 17px;- border-radius: 3px;-}-.input-group-addon input[type="radio"],-.input-group-addon input[type="checkbox"] {- margin-top: 0;-}-.input-group .form-control:first-child,-.input-group-addon:first-child,-.input-group-btn:first-child > .btn,-.input-group-btn:first-child > .btn-group > .btn,-.input-group-btn:first-child > .dropdown-toggle,-.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),-.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {- border-bottom-right-radius: 0;- border-top-right-radius: 0;-}-.input-group-addon:first-child {- border-right: 0;-}-.input-group .form-control:last-child,-.input-group-addon:last-child,-.input-group-btn:last-child > .btn,-.input-group-btn:last-child > .btn-group > .btn,-.input-group-btn:last-child > .dropdown-toggle,-.input-group-btn:first-child > .btn:not(:first-child),-.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {- border-bottom-left-radius: 0;- border-top-left-radius: 0;-}-.input-group-addon:last-child {- border-left: 0;-}-.input-group-btn {- position: relative;- font-size: 0;- white-space: nowrap;-}-.input-group-btn > .btn {- position: relative;-}-.input-group-btn > .btn + .btn {- margin-left: -1px;-}-.input-group-btn > .btn:hover,-.input-group-btn > .btn:focus,-.input-group-btn > .btn:active {- z-index: 2;-}-.input-group-btn:first-child > .btn,-.input-group-btn:first-child > .btn-group {- margin-right: -1px;-}-.input-group-btn:last-child > .btn,-.input-group-btn:last-child > .btn-group {- z-index: 2;- margin-left: -1px;-}-.nav {- margin-bottom: 0;- padding-left: 0;- list-style: none;-}-.nav > li {- position: relative;- display: block;-}-.nav > li > a {- position: relative;- display: block;- padding: 10px 15px;-}-.nav > li > a:hover,-.nav > li > a:focus {- text-decoration: none;- background-color: #eeeeee;-}-.nav > li.disabled > a {- color: #bbbbbb;-}-.nav > li.disabled > a:hover,-.nav > li.disabled > a:focus {- color: #bbbbbb;- text-decoration: none;- background-color: transparent;- cursor: not-allowed;-}-.nav .open > a,-.nav .open > a:hover,-.nav .open > a:focus {- background-color: #eeeeee;- border-color: #2196f3;-}-.nav .nav-divider {- height: 1px;- margin: 10.5px 0;- overflow: hidden;- background-color: #e5e5e5;-}-.nav > li > a > img {- max-width: none;-}-.nav-tabs {- border-bottom: 1px solid transparent;-}-.nav-tabs > li {- float: left;- margin-bottom: -1px;-}-.nav-tabs > li > a {- margin-right: 2px;- line-height: 1.846;- border: 1px solid transparent;- border-radius: 3px 3px 0 0;-}-.nav-tabs > li > a:hover {- border-color: #eeeeee #eeeeee transparent;-}-.nav-tabs > li.active > a,-.nav-tabs > li.active > a:hover,-.nav-tabs > li.active > a:focus {- color: #666666;- background-color: transparent;- border: 1px solid transparent;- border-bottom-color: transparent;- cursor: default;-}-.nav-tabs.nav-justified {- width: 100%;- border-bottom: 0;-}-.nav-tabs.nav-justified > li {- float: none;-}-.nav-tabs.nav-justified > li > a {- text-align: center;- margin-bottom: 5px;-}-.nav-tabs.nav-justified > .dropdown .dropdown-menu {- top: auto;- left: auto;-}-@media (min-width: 768px) {- .nav-tabs.nav-justified > li {- display: table-cell;- width: 1%;- }- .nav-tabs.nav-justified > li > a {- margin-bottom: 0;- }-}-.nav-tabs.nav-justified > li > a {- margin-right: 0;- border-radius: 3px;-}-.nav-tabs.nav-justified > .active > a,-.nav-tabs.nav-justified > .active > a:hover,-.nav-tabs.nav-justified > .active > a:focus {- border: 1px solid transparent;-}-@media (min-width: 768px) {- .nav-tabs.nav-justified > li > a {- border-bottom: 1px solid transparent;- border-radius: 3px 3px 0 0;- }- .nav-tabs.nav-justified > .active > a,- .nav-tabs.nav-justified > .active > a:hover,- .nav-tabs.nav-justified > .active > a:focus {- border-bottom-color: #ffffff;- }-}-.nav-pills > li {- float: left;-}-.nav-pills > li > a {- border-radius: 3px;-}-.nav-pills > li + li {- margin-left: 2px;-}-.nav-pills > li.active > a,-.nav-pills > li.active > a:hover,-.nav-pills > li.active > a:focus {- color: #ffffff;- background-color: #2196f3;-}-.nav-stacked > li {- float: none;-}-.nav-stacked > li + li {- margin-top: 2px;- margin-left: 0;-}-.nav-justified {- width: 100%;-}-.nav-justified > li {- float: none;-}-.nav-justified > li > a {- text-align: center;- margin-bottom: 5px;-}-.nav-justified > .dropdown .dropdown-menu {- top: auto;- left: auto;-}-@media (min-width: 768px) {- .nav-justified > li {- display: table-cell;- width: 1%;- }- .nav-justified > li > a {- margin-bottom: 0;- }-}-.nav-tabs-justified {- border-bottom: 0;-}-.nav-tabs-justified > li > a {- margin-right: 0;- border-radius: 3px;-}-.nav-tabs-justified > .active > a,-.nav-tabs-justified > .active > a:hover,-.nav-tabs-justified > .active > a:focus {- border: 1px solid transparent;-}-@media (min-width: 768px) {- .nav-tabs-justified > li > a {- border-bottom: 1px solid transparent;- border-radius: 3px 3px 0 0;- }- .nav-tabs-justified > .active > a,- .nav-tabs-justified > .active > a:hover,- .nav-tabs-justified > .active > a:focus {- border-bottom-color: #ffffff;- }-}-.tab-content > .tab-pane {- display: none;-}-.tab-content > .active {- display: block;-}-.nav-tabs .dropdown-menu {- margin-top: -1px;- border-top-right-radius: 0;- border-top-left-radius: 0;-}-.navbar {- position: relative;- min-height: 64px;- margin-bottom: 23px;- border: 1px solid transparent;-}-@media (min-width: 768px) {- .navbar {- border-radius: 3px;- }-}-@media (min-width: 768px) {- .navbar-header {- float: left;- }-}-.navbar-collapse {- overflow-x: visible;- padding-right: 15px;- padding-left: 15px;- border-top: 1px solid transparent;- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);- -webkit-overflow-scrolling: touch;-}-.navbar-collapse.in {- overflow-y: auto;-}-@media (min-width: 768px) {- .navbar-collapse {- width: auto;- border-top: 0;- -webkit-box-shadow: none;- box-shadow: none;- }- .navbar-collapse.collapse {- display: block !important;- height: auto !important;- padding-bottom: 0;- overflow: visible !important;- }- .navbar-collapse.in {- overflow-y: visible;- }- .navbar-fixed-top .navbar-collapse,- .navbar-static-top .navbar-collapse,- .navbar-fixed-bottom .navbar-collapse {- padding-left: 0;- padding-right: 0;- }-}-.navbar-fixed-top .navbar-collapse,-.navbar-fixed-bottom .navbar-collapse {- max-height: 340px;-}-@media (max-device-width: 480px) and (orientation: landscape) {- .navbar-fixed-top .navbar-collapse,- .navbar-fixed-bottom .navbar-collapse {- max-height: 200px;- }-}-.container > .navbar-header,-.container-fluid > .navbar-header,-.container > .navbar-collapse,-.container-fluid > .navbar-collapse {- margin-right: -15px;- margin-left: -15px;-}-@media (min-width: 768px) {- .container > .navbar-header,- .container-fluid > .navbar-header,- .container > .navbar-collapse,- .container-fluid > .navbar-collapse {- margin-right: 0;- margin-left: 0;- }-}-.navbar-static-top {- z-index: 1000;- border-width: 0 0 1px;-}-@media (min-width: 768px) {- .navbar-static-top {- border-radius: 0;- }-}-.navbar-fixed-top,-.navbar-fixed-bottom {- position: fixed;- right: 0;- left: 0;- z-index: 1030;-}-@media (min-width: 768px) {- .navbar-fixed-top,- .navbar-fixed-bottom {- border-radius: 0;- }-}-.navbar-fixed-top {- top: 0;- border-width: 0 0 1px;-}-.navbar-fixed-bottom {- bottom: 0;- margin-bottom: 0;- border-width: 1px 0 0;-}-.navbar-brand {- float: left;- padding: 20.5px 15px;- font-size: 17px;- line-height: 23px;- height: 64px;-}-.navbar-brand:hover,-.navbar-brand:focus {- text-decoration: none;-}-.navbar-brand > img {- display: block;-}-@media (min-width: 768px) {- .navbar > .container .navbar-brand,- .navbar > .container-fluid .navbar-brand {- margin-left: -15px;- }-}-.navbar-toggle {- position: relative;- float: right;- margin-right: 15px;- padding: 9px 10px;- margin-top: 15px;- margin-bottom: 15px;- background-color: transparent;- background-image: none;- border: 1px solid transparent;- border-radius: 3px;-}-.navbar-toggle:focus {- outline: 0;-}-.navbar-toggle .icon-bar {- display: block;- width: 22px;- height: 2px;- border-radius: 1px;-}-.navbar-toggle .icon-bar + .icon-bar {- margin-top: 4px;-}-@media (min-width: 768px) {- .navbar-toggle {- display: none;- }-}-.navbar-nav {- margin: 10.25px -15px;-}-.navbar-nav > li > a {- padding-top: 10px;- padding-bottom: 10px;- line-height: 23px;-}-@media (max-width: 767px) {- .navbar-nav .open .dropdown-menu {- position: static;- float: none;- width: auto;- margin-top: 0;- background-color: transparent;- border: 0;- -webkit-box-shadow: none;- box-shadow: none;- }- .navbar-nav .open .dropdown-menu > li > a,- .navbar-nav .open .dropdown-menu .dropdown-header {- padding: 5px 15px 5px 25px;- }- .navbar-nav .open .dropdown-menu > li > a {- line-height: 23px;- }- .navbar-nav .open .dropdown-menu > li > a:hover,- .navbar-nav .open .dropdown-menu > li > a:focus {- background-image: none;- }-}-@media (min-width: 768px) {- .navbar-nav {- float: left;- margin: 0;- }- .navbar-nav > li {- float: left;- }- .navbar-nav > li > a {- padding-top: 20.5px;- padding-bottom: 20.5px;- }-}-.navbar-form {- margin-left: -15px;- margin-right: -15px;- padding: 10px 15px;- border-top: 1px solid transparent;- border-bottom: 1px solid transparent;- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);- margin-top: 13.5px;- margin-bottom: 13.5px;-}-@media (min-width: 768px) {- .navbar-form .form-group {- display: inline-block;- margin-bottom: 0;- vertical-align: middle;- }- .navbar-form .form-control {- display: inline-block;- width: auto;- vertical-align: middle;- }- .navbar-form .form-control-static {- display: inline-block;- }- .navbar-form .input-group {- display: inline-table;- vertical-align: middle;- }- .navbar-form .input-group .input-group-addon,- .navbar-form .input-group .input-group-btn,- .navbar-form .input-group .form-control {- width: auto;- }- .navbar-form .input-group > .form-control {- width: 100%;- }- .navbar-form .control-label {- margin-bottom: 0;- vertical-align: middle;- }- .navbar-form .radio,- .navbar-form .checkbox {- display: inline-block;- margin-top: 0;- margin-bottom: 0;- vertical-align: middle;- }- .navbar-form .radio label,- .navbar-form .checkbox label {- padding-left: 0;- }- .navbar-form .radio input[type="radio"],- .navbar-form .checkbox input[type="checkbox"] {- position: relative;- margin-left: 0;- }- .navbar-form .has-feedback .form-control-feedback {- top: 0;- }-}-@media (max-width: 767px) {- .navbar-form .form-group {- margin-bottom: 5px;- }- .navbar-form .form-group:last-child {- margin-bottom: 0;- }-}-@media (min-width: 768px) {- .navbar-form {- width: auto;- border: 0;- margin-left: 0;- margin-right: 0;- padding-top: 0;- padding-bottom: 0;- -webkit-box-shadow: none;- box-shadow: none;- }-}-.navbar-nav > li > .dropdown-menu {- margin-top: 0;- border-top-right-radius: 0;- border-top-left-radius: 0;-}-.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {- margin-bottom: 0;- border-top-right-radius: 3px;- border-top-left-radius: 3px;- border-bottom-right-radius: 0;- border-bottom-left-radius: 0;-}-.navbar-btn {- margin-top: 13.5px;- margin-bottom: 13.5px;-}-.navbar-btn.btn-sm {- margin-top: 17px;- margin-bottom: 17px;-}-.navbar-btn.btn-xs {- margin-top: 21px;- margin-bottom: 21px;-}-.navbar-text {- margin-top: 20.5px;- margin-bottom: 20.5px;-}-@media (min-width: 768px) {- .navbar-text {- float: left;- margin-left: 15px;- margin-right: 15px;- }-}-@media (min-width: 768px) {- .navbar-left {- float: left !important;- }- .navbar-right {- float: right !important;- margin-right: -15px;- }- .navbar-right ~ .navbar-right {- margin-right: 0;- }-}-.navbar-default {- background-color: #ffffff;- border-color: transparent;-}-.navbar-default .navbar-brand {- color: #666666;-}-.navbar-default .navbar-brand:hover,-.navbar-default .navbar-brand:focus {- color: #212121;- background-color: transparent;-}-.navbar-default .navbar-text {- color: #bbbbbb;-}-.navbar-default .navbar-nav > li > a {- color: #666666;-}-.navbar-default .navbar-nav > li > a:hover,-.navbar-default .navbar-nav > li > a:focus {- color: #212121;- background-color: transparent;-}-.navbar-default .navbar-nav > .active > a,-.navbar-default .navbar-nav > .active > a:hover,-.navbar-default .navbar-nav > .active > a:focus {- color: #212121;- background-color: #eeeeee;-}-.navbar-default .navbar-nav > .disabled > a,-.navbar-default .navbar-nav > .disabled > a:hover,-.navbar-default .navbar-nav > .disabled > a:focus {- color: #cccccc;- background-color: transparent;-}-.navbar-default .navbar-toggle {- border-color: transparent;-}-.navbar-default .navbar-toggle:hover,-.navbar-default .navbar-toggle:focus {- background-color: transparent;-}-.navbar-default .navbar-toggle .icon-bar {- background-color: rgba(0, 0, 0, 0.5);-}-.navbar-default .navbar-collapse,-.navbar-default .navbar-form {- border-color: transparent;-}-.navbar-default .navbar-nav > .open > a,-.navbar-default .navbar-nav > .open > a:hover,-.navbar-default .navbar-nav > .open > a:focus {- background-color: #eeeeee;- color: #212121;-}-@media (max-width: 767px) {- .navbar-default .navbar-nav .open .dropdown-menu > li > a {- color: #666666;- }- .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,- .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {- color: #212121;- background-color: transparent;- }- .navbar-default .navbar-nav .open .dropdown-menu > .active > a,- .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,- .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {- color: #212121;- background-color: #eeeeee;- }- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {- color: #cccccc;- background-color: transparent;- }-}-.navbar-default .navbar-link {- color: #666666;-}-.navbar-default .navbar-link:hover {- color: #212121;-}-.navbar-default .btn-link {- color: #666666;-}-.navbar-default .btn-link:hover,-.navbar-default .btn-link:focus {- color: #212121;-}-.navbar-default .btn-link[disabled]:hover,-fieldset[disabled] .navbar-default .btn-link:hover,-.navbar-default .btn-link[disabled]:focus,-fieldset[disabled] .navbar-default .btn-link:focus {- color: #cccccc;-}-.navbar-inverse {- background-color: #2196f3;- border-color: transparent;-}-.navbar-inverse .navbar-brand {- color: #b2dbfb;-}-.navbar-inverse .navbar-brand:hover,-.navbar-inverse .navbar-brand:focus {- color: #ffffff;- background-color: transparent;-}-.navbar-inverse .navbar-text {- color: #bbbbbb;-}-.navbar-inverse .navbar-nav > li > a {- color: #b2dbfb;-}-.navbar-inverse .navbar-nav > li > a:hover,-.navbar-inverse .navbar-nav > li > a:focus {- color: #ffffff;- background-color: transparent;-}-.navbar-inverse .navbar-nav > .active > a,-.navbar-inverse .navbar-nav > .active > a:hover,-.navbar-inverse .navbar-nav > .active > a:focus {- color: #ffffff;- background-color: #0c7cd5;-}-.navbar-inverse .navbar-nav > .disabled > a,-.navbar-inverse .navbar-nav > .disabled > a:hover,-.navbar-inverse .navbar-nav > .disabled > a:focus {- color: #444444;- background-color: transparent;-}-.navbar-inverse .navbar-toggle {- border-color: transparent;-}-.navbar-inverse .navbar-toggle:hover,-.navbar-inverse .navbar-toggle:focus {- background-color: transparent;-}-.navbar-inverse .navbar-toggle .icon-bar {- background-color: rgba(0, 0, 0, 0.5);-}-.navbar-inverse .navbar-collapse,-.navbar-inverse .navbar-form {- border-color: #0c84e4;-}-.navbar-inverse .navbar-nav > .open > a,-.navbar-inverse .navbar-nav > .open > a:hover,-.navbar-inverse .navbar-nav > .open > a:focus {- background-color: #0c7cd5;- color: #ffffff;-}-@media (max-width: 767px) {- .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {- border-color: transparent;- }- .navbar-inverse .navbar-nav .open .dropdown-menu .divider {- background-color: transparent;- }- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {- color: #b2dbfb;- }- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {- color: #ffffff;- background-color: transparent;- }- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {- color: #ffffff;- background-color: #0c7cd5;- }- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {- color: #444444;- background-color: transparent;- }-}-.navbar-inverse .navbar-link {- color: #b2dbfb;-}-.navbar-inverse .navbar-link:hover {- color: #ffffff;-}-.navbar-inverse .btn-link {- color: #b2dbfb;-}-.navbar-inverse .btn-link:hover,-.navbar-inverse .btn-link:focus {- color: #ffffff;-}-.navbar-inverse .btn-link[disabled]:hover,-fieldset[disabled] .navbar-inverse .btn-link:hover,-.navbar-inverse .btn-link[disabled]:focus,-fieldset[disabled] .navbar-inverse .btn-link:focus {- color: #444444;-}-.breadcrumb {- padding: 8px 15px;- margin-bottom: 23px;- list-style: none;- background-color: #f5f5f5;- border-radius: 3px;-}-.breadcrumb > li {- display: inline-block;-}-.breadcrumb > li + li:before {- content: "/\00a0";- padding: 0 5px;- color: #cccccc;-}-.breadcrumb > .active {- color: #bbbbbb;-}-.pagination {- display: inline-block;- padding-left: 0;- margin: 23px 0;- border-radius: 3px;-}-.pagination > li {- display: inline;-}-.pagination > li > a,-.pagination > li > span {- position: relative;- float: left;- padding: 6px 16px;- line-height: 1.846;- text-decoration: none;- color: #2196f3;- background-color: #ffffff;- border: 1px solid #dddddd;- margin-left: -1px;-}-.pagination > li:first-child > a,-.pagination > li:first-child > span {- margin-left: 0;- border-bottom-left-radius: 3px;- border-top-left-radius: 3px;-}-.pagination > li:last-child > a,-.pagination > li:last-child > span {- border-bottom-right-radius: 3px;- border-top-right-radius: 3px;-}-.pagination > li > a:hover,-.pagination > li > span:hover,-.pagination > li > a:focus,-.pagination > li > span:focus {- z-index: 3;- color: #0a6ebd;- background-color: #eeeeee;- border-color: #dddddd;-}-.pagination > .active > a,-.pagination > .active > span,-.pagination > .active > a:hover,-.pagination > .active > span:hover,-.pagination > .active > a:focus,-.pagination > .active > span:focus {- z-index: 2;- color: #ffffff;- background-color: #2196f3;- border-color: #2196f3;- cursor: default;-}-.pagination > .disabled > span,-.pagination > .disabled > span:hover,-.pagination > .disabled > span:focus,-.pagination > .disabled > a,-.pagination > .disabled > a:hover,-.pagination > .disabled > a:focus {- color: #bbbbbb;- background-color: #ffffff;- border-color: #dddddd;- cursor: not-allowed;-}-.pagination-lg > li > a,-.pagination-lg > li > span {- padding: 10px 16px;- font-size: 17px;- line-height: 1.3333333;-}-.pagination-lg > li:first-child > a,-.pagination-lg > li:first-child > span {- border-bottom-left-radius: 3px;- border-top-left-radius: 3px;-}-.pagination-lg > li:last-child > a,-.pagination-lg > li:last-child > span {- border-bottom-right-radius: 3px;- border-top-right-radius: 3px;-}-.pagination-sm > li > a,-.pagination-sm > li > span {- padding: 5px 10px;- font-size: 12px;- line-height: 1.5;-}-.pagination-sm > li:first-child > a,-.pagination-sm > li:first-child > span {- border-bottom-left-radius: 3px;- border-top-left-radius: 3px;-}-.pagination-sm > li:last-child > a,-.pagination-sm > li:last-child > span {- border-bottom-right-radius: 3px;- border-top-right-radius: 3px;-}-.pager {- padding-left: 0;- margin: 23px 0;- list-style: none;- text-align: center;-}-.pager li {- display: inline;-}-.pager li > a,-.pager li > span {- display: inline-block;- padding: 5px 14px;- background-color: #ffffff;- border: 1px solid #dddddd;- border-radius: 15px;-}-.pager li > a:hover,-.pager li > a:focus {- text-decoration: none;- background-color: #eeeeee;-}-.pager .next > a,-.pager .next > span {- float: right;-}-.pager .previous > a,-.pager .previous > span {- float: left;-}-.pager .disabled > a,-.pager .disabled > a:hover,-.pager .disabled > a:focus,-.pager .disabled > span {- color: #bbbbbb;- background-color: #ffffff;- cursor: not-allowed;-}-.label {- display: inline;- padding: .2em .6em .3em;- font-size: 75%;- font-weight: bold;- line-height: 1;- color: #ffffff;- text-align: center;- white-space: nowrap;- vertical-align: baseline;- border-radius: .25em;-}-a.label:hover,-a.label:focus {- color: #ffffff;- text-decoration: none;- cursor: pointer;-}-.label:empty {- display: none;-}-.btn .label {- position: relative;- top: -1px;-}-.label-default {- background-color: #bbbbbb;-}-.label-default[href]:hover,-.label-default[href]:focus {- background-color: #a2a2a2;-}-.label-primary {- background-color: #2196f3;-}-.label-primary[href]:hover,-.label-primary[href]:focus {- background-color: #0c7cd5;-}-.label-success {- background-color: #4caf50;-}-.label-success[href]:hover,-.label-success[href]:focus {- background-color: #3d8b40;-}-.label-info {- background-color: #9c27b0;-}-.label-info[href]:hover,-.label-info[href]:focus {- background-color: #771e86;-}-.label-warning {- background-color: #ff9800;-}-.label-warning[href]:hover,-.label-warning[href]:focus {- background-color: #cc7a00;-}-.label-danger {- background-color: #e51c23;-}-.label-danger[href]:hover,-.label-danger[href]:focus {- background-color: #b9151b;-}-.badge {- display: inline-block;- min-width: 10px;- padding: 3px 7px;- font-size: 12px;- font-weight: normal;- color: #ffffff;- line-height: 1;- vertical-align: middle;- white-space: nowrap;- text-align: center;- background-color: #bbbbbb;- border-radius: 10px;-}-.badge:empty {- display: none;-}-.btn .badge {- position: relative;- top: -1px;-}-.btn-xs .badge,-.btn-group-xs > .btn .badge {- top: 0;- padding: 1px 5px;-}-a.badge:hover,-a.badge:focus {- color: #ffffff;- text-decoration: none;- cursor: pointer;-}-.list-group-item.active > .badge,-.nav-pills > .active > a > .badge {- color: #2196f3;- background-color: #ffffff;-}-.list-group-item > .badge {- float: right;-}-.list-group-item > .badge + .badge {- margin-right: 5px;-}-.nav-pills > li > a > .badge {- margin-left: 3px;-}-.jumbotron {- padding-top: 30px;- padding-bottom: 30px;- margin-bottom: 30px;- color: inherit;- background-color: #f9f9f9;-}-.jumbotron h1,-.jumbotron .h1 {- color: #444444;-}-.jumbotron p {- margin-bottom: 15px;- font-size: 20px;- font-weight: 200;-}-.jumbotron > hr {- border-top-color: #e0e0e0;-}-.container .jumbotron,-.container-fluid .jumbotron {- border-radius: 3px;-}-.jumbotron .container {- max-width: 100%;-}-@media screen and (min-width: 768px) {- .jumbotron {- padding-top: 48px;- padding-bottom: 48px;- }- .container .jumbotron,- .container-fluid .jumbotron {- padding-left: 60px;- padding-right: 60px;- }- .jumbotron h1,- .jumbotron .h1 {- font-size: 59px;- }-}-.thumbnail {- display: block;- padding: 4px;- margin-bottom: 23px;- line-height: 1.846;- background-color: #ffffff;- border: 1px solid #dddddd;- border-radius: 3px;- -webkit-transition: border 0.2s ease-in-out;- -o-transition: border 0.2s ease-in-out;- transition: border 0.2s ease-in-out;-}-.thumbnail > img,-.thumbnail a > img {- margin-left: auto;- margin-right: auto;-}-a.thumbnail:hover,-a.thumbnail:focus,-a.thumbnail.active {- border-color: #2196f3;-}-.thumbnail .caption {- padding: 9px;- color: #666666;-}-.alert {- padding: 15px;- margin-bottom: 23px;- border: 1px solid transparent;- border-radius: 3px;-}-.alert h4 {- margin-top: 0;- color: inherit;-}-.alert .alert-link {- font-weight: bold;-}-.alert > p,-.alert > ul {- margin-bottom: 0;-}-.alert > p + p {- margin-top: 5px;-}-.alert-dismissable,-.alert-dismissible {- padding-right: 35px;-}-.alert-dismissable .close,-.alert-dismissible .close {- position: relative;- top: -2px;- right: -21px;- color: inherit;-}-.alert-success {- background-color: #dff0d8;- border-color: #d6e9c6;- color: #4caf50;-}-.alert-success hr {- border-top-color: #c9e2b3;-}-.alert-success .alert-link {- color: #3d8b40;-}-.alert-info {- background-color: #e1bee7;- border-color: #cba4dd;- color: #9c27b0;-}-.alert-info hr {- border-top-color: #c191d6;-}-.alert-info .alert-link {- color: #771e86;-}-.alert-warning {- background-color: #ffe0b2;- border-color: #ffc599;- color: #ff9800;-}-.alert-warning hr {- border-top-color: #ffb67f;-}-.alert-warning .alert-link {- color: #cc7a00;-}-.alert-danger {- background-color: #f9bdbb;- border-color: #f7a4af;- color: #e51c23;-}-.alert-danger hr {- border-top-color: #f58c9a;-}-.alert-danger .alert-link {- color: #b9151b;-}-@-webkit-keyframes progress-bar-stripes {- from {- background-position: 40px 0;- }- to {- background-position: 0 0;- }-}-@-o-keyframes progress-bar-stripes {- from {- background-position: 40px 0;- }- to {- background-position: 0 0;- }-}-@keyframes progress-bar-stripes {- from {- background-position: 40px 0;- }- to {- background-position: 0 0;- }-}-.progress {- overflow: hidden;- height: 23px;- margin-bottom: 23px;- background-color: #f5f5f5;- border-radius: 3px;- -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);- box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);-}-.progress-bar {- float: left;- width: 0%;- height: 100%;- font-size: 12px;- line-height: 23px;- color: #ffffff;- text-align: center;- background-color: #2196f3;- -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);- -webkit-transition: width 0.6s ease;- -o-transition: width 0.6s ease;- transition: width 0.6s ease;-}-.progress-striped .progress-bar,-.progress-bar-striped {- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);- -webkit-background-size: 40px 40px;- background-size: 40px 40px;-}-.progress.active .progress-bar,-.progress-bar.active {- -webkit-animation: progress-bar-stripes 2s linear infinite;- -o-animation: progress-bar-stripes 2s linear infinite;- animation: progress-bar-stripes 2s linear infinite;-}-.progress-bar-success {- background-color: #4caf50;-}-.progress-striped .progress-bar-success {- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);-}-.progress-bar-info {- background-color: #9c27b0;-}-.progress-striped .progress-bar-info {- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);-}-.progress-bar-warning {- background-color: #ff9800;-}-.progress-striped .progress-bar-warning {- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);-}-.progress-bar-danger {- background-color: #e51c23;-}-.progress-striped .progress-bar-danger {- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);-}-.media {- margin-top: 15px;-}-.media:first-child {- margin-top: 0;-}-.media,-.media-body {- zoom: 1;- overflow: hidden;-}-.media-body {- width: 10000px;-}-.media-object {- display: block;-}-.media-object.img-thumbnail {- max-width: none;-}-.media-right,-.media > .pull-right {- padding-left: 10px;-}-.media-left,-.media > .pull-left {- padding-right: 10px;-}-.media-left,-.media-right,-.media-body {- display: table-cell;- vertical-align: top;-}-.media-middle {- vertical-align: middle;-}-.media-bottom {- vertical-align: bottom;-}-.media-heading {- margin-top: 0;- margin-bottom: 5px;-}-.media-list {- padding-left: 0;- list-style: none;-}-.list-group {- margin-bottom: 20px;- padding-left: 0;-}-.list-group-item {- position: relative;- display: block;- padding: 10px 15px;- margin-bottom: -1px;- background-color: #ffffff;- border: 1px solid #dddddd;-}-.list-group-item:first-child {- border-top-right-radius: 3px;- border-top-left-radius: 3px;-}-.list-group-item:last-child {- margin-bottom: 0;- border-bottom-right-radius: 3px;- border-bottom-left-radius: 3px;-}-a.list-group-item,-button.list-group-item {- color: #555555;-}-a.list-group-item .list-group-item-heading,-button.list-group-item .list-group-item-heading {- color: #333333;-}-a.list-group-item:hover,-button.list-group-item:hover,-a.list-group-item:focus,-button.list-group-item:focus {- text-decoration: none;- color: #555555;- background-color: #f5f5f5;-}-button.list-group-item {- width: 100%;- text-align: left;-}-.list-group-item.disabled,-.list-group-item.disabled:hover,-.list-group-item.disabled:focus {- background-color: #eeeeee;- color: #bbbbbb;- cursor: not-allowed;-}-.list-group-item.disabled .list-group-item-heading,-.list-group-item.disabled:hover .list-group-item-heading,-.list-group-item.disabled:focus .list-group-item-heading {- color: inherit;-}-.list-group-item.disabled .list-group-item-text,-.list-group-item.disabled:hover .list-group-item-text,-.list-group-item.disabled:focus .list-group-item-text {- color: #bbbbbb;-}-.list-group-item.active,-.list-group-item.active:hover,-.list-group-item.active:focus {- z-index: 2;- color: #ffffff;- background-color: #2196f3;- border-color: #2196f3;-}-.list-group-item.active .list-group-item-heading,-.list-group-item.active:hover .list-group-item-heading,-.list-group-item.active:focus .list-group-item-heading,-.list-group-item.active .list-group-item-heading > small,-.list-group-item.active:hover .list-group-item-heading > small,-.list-group-item.active:focus .list-group-item-heading > small,-.list-group-item.active .list-group-item-heading > .small,-.list-group-item.active:hover .list-group-item-heading > .small,-.list-group-item.active:focus .list-group-item-heading > .small {- color: inherit;-}-.list-group-item.active .list-group-item-text,-.list-group-item.active:hover .list-group-item-text,-.list-group-item.active:focus .list-group-item-text {- color: #e3f2fd;-}-.list-group-item-success {- color: #4caf50;- background-color: #dff0d8;-}-a.list-group-item-success,-button.list-group-item-success {- color: #4caf50;-}-a.list-group-item-success .list-group-item-heading,-button.list-group-item-success .list-group-item-heading {- color: inherit;-}-a.list-group-item-success:hover,-button.list-group-item-success:hover,-a.list-group-item-success:focus,-button.list-group-item-success:focus {- color: #4caf50;- background-color: #d0e9c6;-}-a.list-group-item-success.active,-button.list-group-item-success.active,-a.list-group-item-success.active:hover,-button.list-group-item-success.active:hover,-a.list-group-item-success.active:focus,-button.list-group-item-success.active:focus {- color: #fff;- background-color: #4caf50;- border-color: #4caf50;-}-.list-group-item-info {- color: #9c27b0;- background-color: #e1bee7;-}-a.list-group-item-info,-button.list-group-item-info {- color: #9c27b0;-}-a.list-group-item-info .list-group-item-heading,-button.list-group-item-info .list-group-item-heading {- color: inherit;-}-a.list-group-item-info:hover,-button.list-group-item-info:hover,-a.list-group-item-info:focus,-button.list-group-item-info:focus {- color: #9c27b0;- background-color: #d8abe0;-}-a.list-group-item-info.active,-button.list-group-item-info.active,-a.list-group-item-info.active:hover,-button.list-group-item-info.active:hover,-a.list-group-item-info.active:focus,-button.list-group-item-info.active:focus {- color: #fff;- background-color: #9c27b0;- border-color: #9c27b0;-}-.list-group-item-warning {- color: #ff9800;- background-color: #ffe0b2;-}-a.list-group-item-warning,-button.list-group-item-warning {- color: #ff9800;-}-a.list-group-item-warning .list-group-item-heading,-button.list-group-item-warning .list-group-item-heading {- color: inherit;-}-a.list-group-item-warning:hover,-button.list-group-item-warning:hover,-a.list-group-item-warning:focus,-button.list-group-item-warning:focus {- color: #ff9800;- background-color: #ffd699;-}-a.list-group-item-warning.active,-button.list-group-item-warning.active,-a.list-group-item-warning.active:hover,-button.list-group-item-warning.active:hover,-a.list-group-item-warning.active:focus,-button.list-group-item-warning.active:focus {- color: #fff;- background-color: #ff9800;- border-color: #ff9800;-}-.list-group-item-danger {- color: #e51c23;- background-color: #f9bdbb;-}-a.list-group-item-danger,-button.list-group-item-danger {- color: #e51c23;-}-a.list-group-item-danger .list-group-item-heading,-button.list-group-item-danger .list-group-item-heading {- color: inherit;-}-a.list-group-item-danger:hover,-button.list-group-item-danger:hover,-a.list-group-item-danger:focus,-button.list-group-item-danger:focus {- color: #e51c23;- background-color: #f7a6a4;-}-a.list-group-item-danger.active,-button.list-group-item-danger.active,-a.list-group-item-danger.active:hover,-button.list-group-item-danger.active:hover,-a.list-group-item-danger.active:focus,-button.list-group-item-danger.active:focus {- color: #fff;- background-color: #e51c23;- border-color: #e51c23;-}-.list-group-item-heading {- margin-top: 0;- margin-bottom: 5px;-}-.list-group-item-text {- margin-bottom: 0;- line-height: 1.3;-}-.panel {- margin-bottom: 23px;- background-color: #ffffff;- border: 1px solid transparent;- border-radius: 3px;- -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);-}-.panel-body {- padding: 15px;-}-.panel-heading {- padding: 10px 15px;- border-bottom: 1px solid transparent;- border-top-right-radius: 2px;- border-top-left-radius: 2px;-}-.panel-heading > .dropdown .dropdown-toggle {- color: inherit;-}-.panel-title {- margin-top: 0;- margin-bottom: 0;- font-size: 15px;- color: inherit;-}-.panel-title > a,-.panel-title > small,-.panel-title > .small,-.panel-title > small > a,-.panel-title > .small > a {- color: inherit;-}-.panel-footer {- padding: 10px 15px;- background-color: #f5f5f5;- border-top: 1px solid #dddddd;- border-bottom-right-radius: 2px;- border-bottom-left-radius: 2px;-}-.panel > .list-group,-.panel > .panel-collapse > .list-group {- margin-bottom: 0;-}-.panel > .list-group .list-group-item,-.panel > .panel-collapse > .list-group .list-group-item {- border-width: 1px 0;- border-radius: 0;-}-.panel > .list-group:first-child .list-group-item:first-child,-.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {- border-top: 0;- border-top-right-radius: 2px;- border-top-left-radius: 2px;-}-.panel > .list-group:last-child .list-group-item:last-child,-.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {- border-bottom: 0;- border-bottom-right-radius: 2px;- border-bottom-left-radius: 2px;-}-.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {- border-top-right-radius: 0;- border-top-left-radius: 0;-}-.panel-heading + .list-group .list-group-item:first-child {- border-top-width: 0;-}-.list-group + .panel-footer {- border-top-width: 0;-}-.panel > .table,-.panel > .table-responsive > .table,-.panel > .panel-collapse > .table {- margin-bottom: 0;-}-.panel > .table caption,-.panel > .table-responsive > .table caption,-.panel > .panel-collapse > .table caption {- padding-left: 15px;- padding-right: 15px;-}-.panel > .table:first-child,-.panel > .table-responsive:first-child > .table:first-child {- border-top-right-radius: 2px;- border-top-left-radius: 2px;-}-.panel > .table:first-child > thead:first-child > tr:first-child,-.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,-.panel > .table:first-child > tbody:first-child > tr:first-child,-.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {- border-top-left-radius: 2px;- border-top-right-radius: 2px;-}-.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,-.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,-.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,-.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,-.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,-.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,-.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,-.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {- border-top-left-radius: 2px;-}-.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,-.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,-.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,-.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,-.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,-.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,-.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,-.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {- border-top-right-radius: 2px;-}-.panel > .table:last-child,-.panel > .table-responsive:last-child > .table:last-child {- border-bottom-right-radius: 2px;- border-bottom-left-radius: 2px;-}-.panel > .table:last-child > tbody:last-child > tr:last-child,-.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,-.panel > .table:last-child > tfoot:last-child > tr:last-child,-.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {- border-bottom-left-radius: 2px;- border-bottom-right-radius: 2px;-}-.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,-.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,-.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,-.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,-.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,-.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,-.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,-.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {- border-bottom-left-radius: 2px;-}-.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,-.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,-.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,-.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,-.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,-.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,-.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,-.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {- border-bottom-right-radius: 2px;-}-.panel > .panel-body + .table,-.panel > .panel-body + .table-responsive,-.panel > .table + .panel-body,-.panel > .table-responsive + .panel-body {- border-top: 1px solid #dddddd;-}-.panel > .table > tbody:first-child > tr:first-child th,-.panel > .table > tbody:first-child > tr:first-child td {- border-top: 0;-}-.panel > .table-bordered,-.panel > .table-responsive > .table-bordered {- border: 0;-}-.panel > .table-bordered > thead > tr > th:first-child,-.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,-.panel > .table-bordered > tbody > tr > th:first-child,-.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,-.panel > .table-bordered > tfoot > tr > th:first-child,-.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,-.panel > .table-bordered > thead > tr > td:first-child,-.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,-.panel > .table-bordered > tbody > tr > td:first-child,-.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,-.panel > .table-bordered > tfoot > tr > td:first-child,-.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {- border-left: 0;-}-.panel > .table-bordered > thead > tr > th:last-child,-.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,-.panel > .table-bordered > tbody > tr > th:last-child,-.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,-.panel > .table-bordered > tfoot > tr > th:last-child,-.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,-.panel > .table-bordered > thead > tr > td:last-child,-.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,-.panel > .table-bordered > tbody > tr > td:last-child,-.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,-.panel > .table-bordered > tfoot > tr > td:last-child,-.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {- border-right: 0;-}-.panel > .table-bordered > thead > tr:first-child > td,-.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,-.panel > .table-bordered > tbody > tr:first-child > td,-.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,-.panel > .table-bordered > thead > tr:first-child > th,-.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,-.panel > .table-bordered > tbody > tr:first-child > th,-.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {- border-bottom: 0;-}-.panel > .table-bordered > tbody > tr:last-child > td,-.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,-.panel > .table-bordered > tfoot > tr:last-child > td,-.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,-.panel > .table-bordered > tbody > tr:last-child > th,-.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,-.panel > .table-bordered > tfoot > tr:last-child > th,-.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {- border-bottom: 0;-}-.panel > .table-responsive {- border: 0;- margin-bottom: 0;-}-.panel-group {- margin-bottom: 23px;-}-.panel-group .panel {- margin-bottom: 0;- border-radius: 3px;-}-.panel-group .panel + .panel {- margin-top: 5px;-}-.panel-group .panel-heading {- border-bottom: 0;-}-.panel-group .panel-heading + .panel-collapse > .panel-body,-.panel-group .panel-heading + .panel-collapse > .list-group {- border-top: 1px solid #dddddd;-}-.panel-group .panel-footer {- border-top: 0;-}-.panel-group .panel-footer + .panel-collapse .panel-body {- border-bottom: 1px solid #dddddd;-}-.panel-default {- border-color: #dddddd;-}-.panel-default > .panel-heading {- color: #212121;- background-color: #f5f5f5;- border-color: #dddddd;-}-.panel-default > .panel-heading + .panel-collapse > .panel-body {- border-top-color: #dddddd;-}-.panel-default > .panel-heading .badge {- color: #f5f5f5;- background-color: #212121;-}-.panel-default > .panel-footer + .panel-collapse > .panel-body {- border-bottom-color: #dddddd;-}-.panel-primary {- border-color: #2196f3;-}-.panel-primary > .panel-heading {- color: #ffffff;- background-color: #2196f3;- border-color: #2196f3;-}-.panel-primary > .panel-heading + .panel-collapse > .panel-body {- border-top-color: #2196f3;-}-.panel-primary > .panel-heading .badge {- color: #2196f3;- background-color: #ffffff;-}-.panel-primary > .panel-footer + .panel-collapse > .panel-body {- border-bottom-color: #2196f3;-}-.panel-success {- border-color: #d6e9c6;-}-.panel-success > .panel-heading {- color: #ffffff;- background-color: #4caf50;- border-color: #d6e9c6;-}-.panel-success > .panel-heading + .panel-collapse > .panel-body {- border-top-color: #d6e9c6;-}-.panel-success > .panel-heading .badge {- color: #4caf50;- background-color: #ffffff;-}-.panel-success > .panel-footer + .panel-collapse > .panel-body {- border-bottom-color: #d6e9c6;-}-.panel-info {- border-color: #cba4dd;-}-.panel-info > .panel-heading {- color: #ffffff;- background-color: #9c27b0;- border-color: #cba4dd;-}-.panel-info > .panel-heading + .panel-collapse > .panel-body {- border-top-color: #cba4dd;-}-.panel-info > .panel-heading .badge {- color: #9c27b0;- background-color: #ffffff;-}-.panel-info > .panel-footer + .panel-collapse > .panel-body {- border-bottom-color: #cba4dd;-}-.panel-warning {- border-color: #ffc599;-}-.panel-warning > .panel-heading {- color: #ffffff;- background-color: #ff9800;- border-color: #ffc599;-}-.panel-warning > .panel-heading + .panel-collapse > .panel-body {- border-top-color: #ffc599;-}-.panel-warning > .panel-heading .badge {- color: #ff9800;- background-color: #ffffff;-}-.panel-warning > .panel-footer + .panel-collapse > .panel-body {- border-bottom-color: #ffc599;-}-.panel-danger {- border-color: #f7a4af;-}-.panel-danger > .panel-heading {- color: #ffffff;- background-color: #e51c23;- border-color: #f7a4af;-}-.panel-danger > .panel-heading + .panel-collapse > .panel-body {- border-top-color: #f7a4af;-}-.panel-danger > .panel-heading .badge {- color: #e51c23;- background-color: #ffffff;-}-.panel-danger > .panel-footer + .panel-collapse > .panel-body {- border-bottom-color: #f7a4af;-}-.embed-responsive {- position: relative;- display: block;- height: 0;- padding: 0;- overflow: hidden;-}-.embed-responsive .embed-responsive-item,-.embed-responsive iframe,-.embed-responsive embed,-.embed-responsive object,-.embed-responsive video {- position: absolute;- top: 0;- left: 0;- bottom: 0;- height: 100%;- width: 100%;- border: 0;-}-.embed-responsive-16by9 {- padding-bottom: 56.25%;-}-.embed-responsive-4by3 {- padding-bottom: 75%;-}-.well {- min-height: 20px;- padding: 19px;- margin-bottom: 20px;- background-color: #f9f9f9;- border: 1px solid transparent;- border-radius: 3px;- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);-}-.well blockquote {- border-color: #ddd;- border-color: rgba(0, 0, 0, 0.15);-}-.well-lg {- padding: 24px;- border-radius: 3px;-}-.well-sm {- padding: 9px;- border-radius: 3px;-}-.close {- float: right;- font-size: 19.5px;- font-weight: normal;- line-height: 1;- color: #000000;- text-shadow: none;- opacity: 0.2;- filter: alpha(opacity=20);-}-.close:hover,-.close:focus {- color: #000000;- text-decoration: none;- cursor: pointer;- opacity: 0.5;- filter: alpha(opacity=50);-}-button.close {- padding: 0;- cursor: pointer;- background: transparent;- border: 0;- -webkit-appearance: none;-}-.modal-open {- overflow: hidden;-}-.modal {- display: none;- overflow: hidden;- position: fixed;- top: 0;- right: 0;- bottom: 0;- left: 0;- z-index: 1050;- -webkit-overflow-scrolling: touch;- outline: 0;-}-.modal.fade .modal-dialog {- -webkit-transform: translate(0, -25%);- -ms-transform: translate(0, -25%);- -o-transform: translate(0, -25%);- transform: translate(0, -25%);- -webkit-transition: -webkit-transform 0.3s ease-out;- -o-transition: -o-transform 0.3s ease-out;- transition: transform 0.3s ease-out;-}-.modal.in .modal-dialog {- -webkit-transform: translate(0, 0);- -ms-transform: translate(0, 0);- -o-transform: translate(0, 0);- transform: translate(0, 0);-}-.modal-open .modal {- overflow-x: hidden;- overflow-y: auto;-}-.modal-dialog {- position: relative;- width: auto;- margin: 10px;-}-.modal-content {- position: relative;- background-color: #ffffff;- border: 1px solid #999999;- border: 1px solid transparent;- border-radius: 3px;- -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);- box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);- -webkit-background-clip: padding-box;- background-clip: padding-box;- outline: 0;-}-.modal-backdrop {- position: fixed;- top: 0;- right: 0;- bottom: 0;- left: 0;- z-index: 1040;- background-color: #000000;-}-.modal-backdrop.fade {- opacity: 0;- filter: alpha(opacity=0);-}-.modal-backdrop.in {- opacity: 0.5;- filter: alpha(opacity=50);-}-.modal-header {- padding: 15px;- border-bottom: 1px solid transparent;- min-height: 16.846px;-}-.modal-header .close {- margin-top: -2px;-}-.modal-title {- margin: 0;- line-height: 1.846;-}-.modal-body {- position: relative;- padding: 15px;-}-.modal-footer {- padding: 15px;- text-align: right;- border-top: 1px solid transparent;-}-.modal-footer .btn + .btn {- margin-left: 5px;- margin-bottom: 0;-}-.modal-footer .btn-group .btn + .btn {- margin-left: -1px;-}-.modal-footer .btn-block + .btn-block {- margin-left: 0;-}-.modal-scrollbar-measure {- position: absolute;- top: -9999px;- width: 50px;- height: 50px;- overflow: scroll;-}-@media (min-width: 768px) {- .modal-dialog {- width: 600px;- margin: 30px auto;- }- .modal-content {- -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);- }- .modal-sm {- width: 300px;- }-}-@media (min-width: 992px) {- .modal-lg {- width: 900px;- }-}-.tooltip {- position: absolute;- z-index: 1070;- display: block;- font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;- font-style: normal;- font-weight: normal;- letter-spacing: normal;- line-break: auto;- line-height: 1.846;- text-align: left;- text-align: start;- text-decoration: none;- text-shadow: none;- text-transform: none;- white-space: normal;- word-break: normal;- word-spacing: normal;- word-wrap: normal;- font-size: 12px;- opacity: 0;- filter: alpha(opacity=0);-}-.tooltip.in {- opacity: 0.9;- filter: alpha(opacity=90);-}-.tooltip.top {- margin-top: -3px;- padding: 5px 0;-}-.tooltip.right {- margin-left: 3px;- padding: 0 5px;-}-.tooltip.bottom {- margin-top: 3px;- padding: 5px 0;-}-.tooltip.left {- margin-left: -3px;- padding: 0 5px;-}-.tooltip-inner {- max-width: 200px;- padding: 3px 8px;- color: #ffffff;- text-align: center;- background-color: #727272;- border-radius: 3px;-}-.tooltip-arrow {- position: absolute;- width: 0;- height: 0;- border-color: transparent;- border-style: solid;-}-.tooltip.top .tooltip-arrow {- bottom: 0;- left: 50%;- margin-left: -5px;- border-width: 5px 5px 0;- border-top-color: #727272;-}-.tooltip.top-left .tooltip-arrow {- bottom: 0;- right: 5px;- margin-bottom: -5px;- border-width: 5px 5px 0;- border-top-color: #727272;-}-.tooltip.top-right .tooltip-arrow {- bottom: 0;- left: 5px;- margin-bottom: -5px;- border-width: 5px 5px 0;- border-top-color: #727272;-}-.tooltip.right .tooltip-arrow {- top: 50%;- left: 0;- margin-top: -5px;- border-width: 5px 5px 5px 0;- border-right-color: #727272;-}-.tooltip.left .tooltip-arrow {- top: 50%;- right: 0;- margin-top: -5px;- border-width: 5px 0 5px 5px;- border-left-color: #727272;-}-.tooltip.bottom .tooltip-arrow {- top: 0;- left: 50%;- margin-left: -5px;- border-width: 0 5px 5px;- border-bottom-color: #727272;-}-.tooltip.bottom-left .tooltip-arrow {- top: 0;- right: 5px;- margin-top: -5px;- border-width: 0 5px 5px;- border-bottom-color: #727272;-}-.tooltip.bottom-right .tooltip-arrow {- top: 0;- left: 5px;- margin-top: -5px;- border-width: 0 5px 5px;- border-bottom-color: #727272;-}-.popover {- position: absolute;- top: 0;- left: 0;- z-index: 1060;- display: none;- max-width: 276px;- padding: 1px;- font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;- font-style: normal;- font-weight: normal;- letter-spacing: normal;- line-break: auto;- line-height: 1.846;- text-align: left;- text-align: start;- text-decoration: none;- text-shadow: none;- text-transform: none;- white-space: normal;- word-break: normal;- word-spacing: normal;- word-wrap: normal;- font-size: 13px;- background-color: #ffffff;- -webkit-background-clip: padding-box;- background-clip: padding-box;- border: 1px solid transparent;- border-radius: 3px;- -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);-}-.popover.top {- margin-top: -10px;-}-.popover.right {- margin-left: 10px;-}-.popover.bottom {- margin-top: 10px;-}-.popover.left {- margin-left: -10px;-}-.popover-title {- margin: 0;- padding: 8px 14px;- font-size: 13px;- background-color: #f7f7f7;- border-bottom: 1px solid #ebebeb;- border-radius: 2px 2px 0 0;-}-.popover-content {- padding: 9px 14px;-}-.popover > .arrow,-.popover > .arrow:after {- position: absolute;- display: block;- width: 0;- height: 0;- border-color: transparent;- border-style: solid;-}-.popover > .arrow {- border-width: 11px;-}-.popover > .arrow:after {- border-width: 10px;- content: "";-}-.popover.top > .arrow {- left: 50%;- margin-left: -11px;- border-bottom-width: 0;- border-top-color: rgba(0, 0, 0, 0);- border-top-color: rgba(0, 0, 0, 0.075);- bottom: -11px;-}-.popover.top > .arrow:after {- content: " ";- bottom: 1px;- margin-left: -10px;- border-bottom-width: 0;- border-top-color: #ffffff;-}-.popover.right > .arrow {- top: 50%;- left: -11px;- margin-top: -11px;- border-left-width: 0;- border-right-color: rgba(0, 0, 0, 0);- border-right-color: rgba(0, 0, 0, 0.075);-}-.popover.right > .arrow:after {- content: " ";- left: 1px;- bottom: -10px;- border-left-width: 0;- border-right-color: #ffffff;-}-.popover.bottom > .arrow {- left: 50%;- margin-left: -11px;- border-top-width: 0;- border-bottom-color: rgba(0, 0, 0, 0);- border-bottom-color: rgba(0, 0, 0, 0.075);- top: -11px;-}-.popover.bottom > .arrow:after {- content: " ";- top: 1px;- margin-left: -10px;- border-top-width: 0;- border-bottom-color: #ffffff;-}-.popover.left > .arrow {- top: 50%;- right: -11px;- margin-top: -11px;- border-right-width: 0;- border-left-color: rgba(0, 0, 0, 0);- border-left-color: rgba(0, 0, 0, 0.075);-}-.popover.left > .arrow:after {- content: " ";- right: 1px;- border-right-width: 0;- border-left-color: #ffffff;- bottom: -10px;-}-.carousel {- position: relative;-}-.carousel-inner {- position: relative;- overflow: hidden;- width: 100%;-}-.carousel-inner > .item {- display: none;- position: relative;- -webkit-transition: 0.6s ease-in-out left;- -o-transition: 0.6s ease-in-out left;- transition: 0.6s ease-in-out left;-}-.carousel-inner > .item > img,-.carousel-inner > .item > a > img {- line-height: 1;-}-@media all and (transform-3d), (-webkit-transform-3d) {- .carousel-inner > .item {- -webkit-transition: -webkit-transform 0.6s ease-in-out;- -o-transition: -o-transform 0.6s ease-in-out;- transition: transform 0.6s ease-in-out;- -webkit-backface-visibility: hidden;- backface-visibility: hidden;- -webkit-perspective: 1000px;- perspective: 1000px;- }- .carousel-inner > .item.next,- .carousel-inner > .item.active.right {- -webkit-transform: translate3d(100%, 0, 0);- transform: translate3d(100%, 0, 0);- left: 0;- }- .carousel-inner > .item.prev,- .carousel-inner > .item.active.left {- -webkit-transform: translate3d(-100%, 0, 0);- transform: translate3d(-100%, 0, 0);- left: 0;- }- .carousel-inner > .item.next.left,- .carousel-inner > .item.prev.right,- .carousel-inner > .item.active {- -webkit-transform: translate3d(0, 0, 0);- transform: translate3d(0, 0, 0);- left: 0;- }-}-.carousel-inner > .active,-.carousel-inner > .next,-.carousel-inner > .prev {- display: block;-}-.carousel-inner > .active {- left: 0;-}-.carousel-inner > .next,-.carousel-inner > .prev {- position: absolute;- top: 0;- width: 100%;-}-.carousel-inner > .next {- left: 100%;-}-.carousel-inner > .prev {- left: -100%;-}-.carousel-inner > .next.left,-.carousel-inner > .prev.right {- left: 0;-}-.carousel-inner > .active.left {- left: -100%;-}-.carousel-inner > .active.right {- left: 100%;-}-.carousel-control {- position: absolute;- top: 0;- left: 0;- bottom: 0;- width: 15%;- opacity: 0.5;- filter: alpha(opacity=50);- font-size: 20px;- color: #ffffff;- text-align: center;- text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);-}-.carousel-control.left {- background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);- background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);- background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.0001)));- background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);- background-repeat: repeat-x;- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);-}-.carousel-control.right {- left: auto;- right: 0;- background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);- background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);- background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.0001)), to(rgba(0, 0, 0, 0.5)));- background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);- background-repeat: repeat-x;- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);-}-.carousel-control:hover,-.carousel-control:focus {- outline: 0;- color: #ffffff;- text-decoration: none;- opacity: 0.9;- filter: alpha(opacity=90);-}-.carousel-control .icon-prev,-.carousel-control .icon-next,-.carousel-control .glyphicon-chevron-left,-.carousel-control .glyphicon-chevron-right {- position: absolute;- top: 50%;- margin-top: -10px;- z-index: 5;- display: inline-block;-}-.carousel-control .icon-prev,-.carousel-control .glyphicon-chevron-left {- left: 50%;- margin-left: -10px;-}-.carousel-control .icon-next,-.carousel-control .glyphicon-chevron-right {- right: 50%;- margin-right: -10px;-}-.carousel-control .icon-prev,-.carousel-control .icon-next {- width: 20px;- height: 20px;- line-height: 1;- font-family: serif;-}-.carousel-control .icon-prev:before {- content: '\2039';-}-.carousel-control .icon-next:before {- content: '\203a';-}-.carousel-indicators {- position: absolute;- bottom: 10px;- left: 50%;- z-index: 15;- width: 60%;- margin-left: -30%;- padding-left: 0;- list-style: none;- text-align: center;-}-.carousel-indicators li {- display: inline-block;- width: 10px;- height: 10px;- margin: 1px;- text-indent: -999px;- border: 1px solid #ffffff;- border-radius: 10px;- cursor: pointer;- background-color: #000 \9;- background-color: rgba(0, 0, 0, 0);-}-.carousel-indicators .active {- margin: 0;- width: 12px;- height: 12px;- background-color: #ffffff;-}-.carousel-caption {- position: absolute;- left: 15%;- right: 15%;- bottom: 20px;- z-index: 10;- padding-top: 20px;- padding-bottom: 20px;- color: #ffffff;- text-align: center;- text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);-}-.carousel-caption .btn {- text-shadow: none;-}-@media screen and (min-width: 768px) {- .carousel-control .glyphicon-chevron-left,- .carousel-control .glyphicon-chevron-right,- .carousel-control .icon-prev,- .carousel-control .icon-next {- width: 30px;- height: 30px;- margin-top: -15px;- font-size: 30px;- }- .carousel-control .glyphicon-chevron-left,- .carousel-control .icon-prev {- margin-left: -15px;- }- .carousel-control .glyphicon-chevron-right,- .carousel-control .icon-next {- margin-right: -15px;- }- .carousel-caption {- left: 20%;- right: 20%;- padding-bottom: 30px;- }- .carousel-indicators {- bottom: 20px;- }-}-.clearfix:before,-.clearfix:after,-.dl-horizontal dd:before,-.dl-horizontal dd:after,-.container:before,-.container:after,-.container-fluid:before,-.container-fluid:after,-.row:before,-.row:after,-.form-horizontal .form-group:before,-.form-horizontal .form-group:after,-.btn-toolbar:before,-.btn-toolbar:after,-.btn-group-vertical > .btn-group:before,-.btn-group-vertical > .btn-group:after,-.nav:before,-.nav:after,-.navbar:before,-.navbar:after,-.navbar-header:before,-.navbar-header:after,-.navbar-collapse:before,-.navbar-collapse:after,-.pager:before,-.pager:after,-.panel-body:before,-.panel-body:after,-.modal-footer:before,-.modal-footer:after {- content: " ";- display: table;-}-.clearfix:after,-.dl-horizontal dd:after,-.container:after,-.container-fluid:after,-.row:after,-.form-horizontal .form-group:after,-.btn-toolbar:after,-.btn-group-vertical > .btn-group:after,-.nav:after,-.navbar:after,-.navbar-header:after,-.navbar-collapse:after,-.pager:after,-.panel-body:after,-.modal-footer:after {- clear: both;-}-.center-block {- display: block;- margin-left: auto;- margin-right: auto;-}-.pull-right {- float: right !important;-}-.pull-left {- float: left !important;-}-.hide {- display: none !important;-}-.show {- display: block !important;-}-.invisible {- visibility: hidden;-}-.text-hide {- font: 0/0 a;- color: transparent;- text-shadow: none;- background-color: transparent;- border: 0;-}-.hidden {- display: none !important;-}-.affix {- position: fixed;-}-@-ms-viewport {- width: device-width;-}-.visible-xs,-.visible-sm,-.visible-md,-.visible-lg {- display: none !important;-}-.visible-xs-block,-.visible-xs-inline,-.visible-xs-inline-block,-.visible-sm-block,-.visible-sm-inline,-.visible-sm-inline-block,-.visible-md-block,-.visible-md-inline,-.visible-md-inline-block,-.visible-lg-block,-.visible-lg-inline,-.visible-lg-inline-block {- display: none !important;-}-@media (max-width: 767px) {- .visible-xs {- display: block !important;- }- table.visible-xs {- display: table !important;- }- tr.visible-xs {- display: table-row !important;- }- th.visible-xs,- td.visible-xs {- display: table-cell !important;- }-}-@media (max-width: 767px) {- .visible-xs-block {- display: block !important;- }-}-@media (max-width: 767px) {- .visible-xs-inline {- display: inline !important;- }-}-@media (max-width: 767px) {- .visible-xs-inline-block {- display: inline-block !important;- }-}-@media (min-width: 768px) and (max-width: 991px) {- .visible-sm {- display: block !important;- }- table.visible-sm {- display: table !important;- }- tr.visible-sm {- display: table-row !important;- }- th.visible-sm,- td.visible-sm {- display: table-cell !important;- }-}-@media (min-width: 768px) and (max-width: 991px) {- .visible-sm-block {- display: block !important;- }-}-@media (min-width: 768px) and (max-width: 991px) {- .visible-sm-inline {- display: inline !important;- }-}-@media (min-width: 768px) and (max-width: 991px) {- .visible-sm-inline-block {- display: inline-block !important;- }-}-@media (min-width: 992px) and (max-width: 1199px) {- .visible-md {- display: block !important;- }- table.visible-md {- display: table !important;- }- tr.visible-md {- display: table-row !important;- }- th.visible-md,- td.visible-md {- display: table-cell !important;- }-}-@media (min-width: 992px) and (max-width: 1199px) {- .visible-md-block {- display: block !important;- }-}-@media (min-width: 992px) and (max-width: 1199px) {- .visible-md-inline {- display: inline !important;- }-}-@media (min-width: 992px) and (max-width: 1199px) {- .visible-md-inline-block {- display: inline-block !important;- }-}-@media (min-width: 1200px) {- .visible-lg {- display: block !important;- }- table.visible-lg {- display: table !important;- }- tr.visible-lg {- display: table-row !important;- }- th.visible-lg,- td.visible-lg {- display: table-cell !important;- }-}-@media (min-width: 1200px) {- .visible-lg-block {- display: block !important;- }-}-@media (min-width: 1200px) {- .visible-lg-inline {- display: inline !important;- }-}-@media (min-width: 1200px) {- .visible-lg-inline-block {- display: inline-block !important;- }-}-@media (max-width: 767px) {- .hidden-xs {- display: none !important;- }-}-@media (min-width: 768px) and (max-width: 991px) {- .hidden-sm {- display: none !important;- }-}-@media (min-width: 992px) and (max-width: 1199px) {- .hidden-md {- display: none !important;- }-}-@media (min-width: 1200px) {- .hidden-lg {- display: none !important;- }-}-.visible-print {- display: none !important;-}-@media print {- .visible-print {- display: block !important;- }- table.visible-print {- display: table !important;- }- tr.visible-print {- display: table-row !important;- }- th.visible-print,- td.visible-print {- display: table-cell !important;- }-}-.visible-print-block {- display: none !important;-}-@media print {- .visible-print-block {- display: block !important;- }-}-.visible-print-inline {- display: none !important;-}-@media print {- .visible-print-inline {- display: inline !important;- }-}-.visible-print-inline-block {- display: none !important;-}-@media print {- .visible-print-inline-block {- display: inline-block !important;- }-}-@media print {- .hidden-print {- display: none !important;- }-}-.navbar {- border: none;- -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);-}-.navbar-brand {- font-size: 24px;-}-.navbar-inverse .form-control {- color: #fff;-}-.navbar-inverse .form-control::-moz-placeholder {- color: #b2dbfb;- opacity: 1;-}-.navbar-inverse .form-control:-ms-input-placeholder {- color: #b2dbfb;-}-.navbar-inverse .form-control::-webkit-input-placeholder {- color: #b2dbfb;-}-.navbar-inverse .form-control[type=text],-.navbar-inverse .form-control[type=password] {- -webkit-box-shadow: inset 0 -1px 0 #b2dbfb;- box-shadow: inset 0 -1px 0 #b2dbfb;-}-.navbar-inverse .form-control[type=text]:focus,-.navbar-inverse .form-control[type=password]:focus {- -webkit-box-shadow: inset 0 -2px 0 #ffffff;- box-shadow: inset 0 -2px 0 #ffffff;-}-.btn-default {- -webkit-background-size: 200% 200%;- background-size: 200%;- background-position: 50%;-}-.btn-default:focus {- background-color: #ffffff;-}-.btn-default:hover,-.btn-default:active:hover {- background-color: #f0f0f0;-}-.btn-default:active {- background-color: #e0e0e0;- background-image: -webkit-radial-gradient(circle, #e0e0e0 10%, #ffffff 11%);- background-image: -o-radial-gradient(circle, #e0e0e0 10%, #ffffff 11%);- background-image: radial-gradient(circle, #e0e0e0 10%, #ffffff 11%);- background-repeat: no-repeat;- -webkit-background-size: 1000% 1000%;- background-size: 1000%;- -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);- box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);-}-.btn-primary {- -webkit-background-size: 200% 200%;- background-size: 200%;- background-position: 50%;-}-.btn-primary:focus {- background-color: #2196f3;-}-.btn-primary:hover,-.btn-primary:active:hover {- background-color: #0d87e9;-}-.btn-primary:active {- background-color: #0b76cc;- background-image: -webkit-radial-gradient(circle, #0b76cc 10%, #2196f3 11%);- background-image: -o-radial-gradient(circle, #0b76cc 10%, #2196f3 11%);- background-image: radial-gradient(circle, #0b76cc 10%, #2196f3 11%);- background-repeat: no-repeat;- -webkit-background-size: 1000% 1000%;- background-size: 1000%;- -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);- box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);-}-.btn-success {- -webkit-background-size: 200% 200%;- background-size: 200%;- background-position: 50%;-}-.btn-success:focus {- background-color: #4caf50;-}-.btn-success:hover,-.btn-success:active:hover {- background-color: #439a46;-}-.btn-success:active {- background-color: #39843c;- background-image: -webkit-radial-gradient(circle, #39843c 10%, #4caf50 11%);- background-image: -o-radial-gradient(circle, #39843c 10%, #4caf50 11%);- background-image: radial-gradient(circle, #39843c 10%, #4caf50 11%);- background-repeat: no-repeat;- -webkit-background-size: 1000% 1000%;- background-size: 1000%;- -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);- box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);-}-.btn-info {- -webkit-background-size: 200% 200%;- background-size: 200%;- background-position: 50%;-}-.btn-info:focus {- background-color: #9c27b0;-}-.btn-info:hover,-.btn-info:active:hover {- background-color: #862197;-}-.btn-info:active {- background-color: #701c7e;- background-image: -webkit-radial-gradient(circle, #701c7e 10%, #9c27b0 11%);- background-image: -o-radial-gradient(circle, #701c7e 10%, #9c27b0 11%);- background-image: radial-gradient(circle, #701c7e 10%, #9c27b0 11%);- background-repeat: no-repeat;- -webkit-background-size: 1000% 1000%;- background-size: 1000%;- -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);- box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);-}-.btn-warning {- -webkit-background-size: 200% 200%;- background-size: 200%;- background-position: 50%;-}-.btn-warning:focus {- background-color: #ff9800;-}-.btn-warning:hover,-.btn-warning:active:hover {- background-color: #e08600;-}-.btn-warning:active {- background-color: #c27400;- background-image: -webkit-radial-gradient(circle, #c27400 10%, #ff9800 11%);- background-image: -o-radial-gradient(circle, #c27400 10%, #ff9800 11%);- background-image: radial-gradient(circle, #c27400 10%, #ff9800 11%);- background-repeat: no-repeat;- -webkit-background-size: 1000% 1000%;- background-size: 1000%;- -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);- box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);-}-.btn-danger {- -webkit-background-size: 200% 200%;- background-size: 200%;- background-position: 50%;-}-.btn-danger:focus {- background-color: #e51c23;-}-.btn-danger:hover,-.btn-danger:active:hover {- background-color: #cb171e;-}-.btn-danger:active {- background-color: #b0141a;- background-image: -webkit-radial-gradient(circle, #b0141a 10%, #e51c23 11%);- background-image: -o-radial-gradient(circle, #b0141a 10%, #e51c23 11%);- background-image: radial-gradient(circle, #b0141a 10%, #e51c23 11%);- background-repeat: no-repeat;- -webkit-background-size: 1000% 1000%;- background-size: 1000%;- -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);- box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);-}-.btn-link {- -webkit-background-size: 200% 200%;- background-size: 200%;- background-position: 50%;-}-.btn-link:focus {- background-color: #ffffff;-}-.btn-link:hover,-.btn-link:active:hover {- background-color: #f0f0f0;-}-.btn-link:active {- background-color: #e0e0e0;- background-image: -webkit-radial-gradient(circle, #e0e0e0 10%, #ffffff 11%);- background-image: -o-radial-gradient(circle, #e0e0e0 10%, #ffffff 11%);- background-image: radial-gradient(circle, #e0e0e0 10%, #ffffff 11%);- background-repeat: no-repeat;- -webkit-background-size: 1000% 1000%;- background-size: 1000%;- -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);- box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);-}-.btn {- text-transform: uppercase;- border: none;- -webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);- box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);- -webkit-transition: all 0.4s;- -o-transition: all 0.4s;- transition: all 0.4s;-}-.btn-link {- border-radius: 3px;- -webkit-box-shadow: none;- box-shadow: none;- color: #444444;-}-.btn-link:hover,-.btn-link:focus {- -webkit-box-shadow: none;- box-shadow: none;- color: #444444;- text-decoration: none;-}-.btn-default.disabled {- background-color: rgba(0, 0, 0, 0.1);- color: rgba(0, 0, 0, 0.4);- opacity: 1;-}-.btn-group .btn + .btn,-.btn-group .btn + .btn-group,-.btn-group .btn-group + .btn,-.btn-group .btn-group + .btn-group {- margin-left: 0;-}-.btn-group-vertical > .btn + .btn,-.btn-group-vertical > .btn + .btn-group,-.btn-group-vertical > .btn-group + .btn,-.btn-group-vertical > .btn-group + .btn-group {- margin-top: 0;-}-body {- -webkit-font-smoothing: antialiased;- letter-spacing: .1px;-}-p {- margin: 0 0 1em;-}-input,-button {- -webkit-font-smoothing: antialiased;- letter-spacing: .1px;-}-a {- -webkit-transition: all 0.2s;- -o-transition: all 0.2s;- transition: all 0.2s;-}-.table-hover > tbody > tr,-.table-hover > tbody > tr > th,-.table-hover > tbody > tr > td {- -webkit-transition: all 0.2s;- -o-transition: all 0.2s;- transition: all 0.2s;-}-label {- font-weight: normal;-}-textarea,-textarea.form-control,-input.form-control,-input[type=text],-input[type=password],-input[type=email],-input[type=number],-[type=text].form-control,-[type=password].form-control,-[type=email].form-control,-[type=tel].form-control,-[contenteditable].form-control {- padding: 0;- border: none;- border-radius: 0;- -webkit-appearance: none;- -webkit-box-shadow: inset 0 -1px 0 #dddddd;- box-shadow: inset 0 -1px 0 #dddddd;- font-size: 16px;-}-textarea:focus,-textarea.form-control:focus,-input.form-control:focus,-input[type=text]:focus,-input[type=password]:focus,-input[type=email]:focus,-input[type=number]:focus,-[type=text].form-control:focus,-[type=password].form-control:focus,-[type=email].form-control:focus,-[type=tel].form-control:focus,-[contenteditable].form-control:focus {- -webkit-box-shadow: inset 0 -2px 0 #2196f3;- box-shadow: inset 0 -2px 0 #2196f3;-}-textarea[disabled],-textarea.form-control[disabled],-input.form-control[disabled],-input[type=text][disabled],-input[type=password][disabled],-input[type=email][disabled],-input[type=number][disabled],-[type=text].form-control[disabled],-[type=password].form-control[disabled],-[type=email].form-control[disabled],-[type=tel].form-control[disabled],-[contenteditable].form-control[disabled],-textarea[readonly],-textarea.form-control[readonly],-input.form-control[readonly],-input[type=text][readonly],-input[type=password][readonly],-input[type=email][readonly],-input[type=number][readonly],-[type=text].form-control[readonly],-[type=password].form-control[readonly],-[type=email].form-control[readonly],-[type=tel].form-control[readonly],-[contenteditable].form-control[readonly] {- -webkit-box-shadow: none;- box-shadow: none;- border-bottom: 1px dotted #ddd;-}-textarea.input-sm,-textarea.form-control.input-sm,-input.form-control.input-sm,-input[type=text].input-sm,-input[type=password].input-sm,-input[type=email].input-sm,-input[type=number].input-sm,-[type=text].form-control.input-sm,-[type=password].form-control.input-sm,-[type=email].form-control.input-sm,-[type=tel].form-control.input-sm,-[contenteditable].form-control.input-sm {- font-size: 12px;-}-textarea.input-lg,-textarea.form-control.input-lg,-input.form-control.input-lg,-input[type=text].input-lg,-input[type=password].input-lg,-input[type=email].input-lg,-input[type=number].input-lg,-[type=text].form-control.input-lg,-[type=password].form-control.input-lg,-[type=email].form-control.input-lg,-[type=tel].form-control.input-lg,-[contenteditable].form-control.input-lg {- font-size: 17px;-}-select,-select.form-control {- border: 0;- border-radius: 0;- -webkit-appearance: none;- -moz-appearance: none;- appearance: none;- padding-left: 0;- padding-right: 0\9;- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAAJ1BMVEVmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmaP/QSjAAAADHRSTlMAAgMJC0uWpKa6wMxMdjkoAAAANUlEQVR4AeXJyQEAERAAsNl7Hf3X6xt0QL6JpZWq30pdvdadme+0PMdzvHm8YThHcT1H7K0BtOMDniZhWOgAAAAASUVORK5CYII=);- -webkit-background-size: 13px 13px;- background-size: 13px;- background-repeat: no-repeat;- background-position: right center;- -webkit-box-shadow: inset 0 -1px 0 #dddddd;- box-shadow: inset 0 -1px 0 #dddddd;- font-size: 16px;- line-height: 1.5;-}-select::-ms-expand,-select.form-control::-ms-expand {- display: none;-}-select.input-sm,-select.form-control.input-sm {- font-size: 12px;-}-select.input-lg,-select.form-control.input-lg {- font-size: 17px;-}-select:focus,-select.form-control:focus {- -webkit-box-shadow: inset 0 -2px 0 #2196f3;- box-shadow: inset 0 -2px 0 #2196f3;- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAAJ1BMVEUhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISF8S9ewAAAADHRSTlMAAgMJC0uWpKa6wMxMdjkoAAAANUlEQVR4AeXJyQEAERAAsNl7Hf3X6xt0QL6JpZWq30pdvdadme+0PMdzvHm8YThHcT1H7K0BtOMDniZhWOgAAAAASUVORK5CYII=);-}-select[multiple],-select.form-control[multiple] {- background: none;-}-.radio label,-.radio-inline label,-.checkbox label,-.checkbox-inline label {- padding-left: 25px;-}-.radio input[type="radio"],-.radio-inline input[type="radio"],-.checkbox input[type="radio"],-.checkbox-inline input[type="radio"],-.radio input[type="checkbox"],-.radio-inline input[type="checkbox"],-.checkbox input[type="checkbox"],-.checkbox-inline input[type="checkbox"] {- margin-left: -25px;-}-input[type="radio"],-.radio input[type="radio"],-.radio-inline input[type="radio"] {- position: relative;- margin-top: 5px;- margin-right: 4px;- vertical-align: -4px;- border: none;- background-color: transparent;- -webkit-appearance: none;- appearance: none;- cursor: pointer;-}-input[type="radio"]:focus,-.radio input[type="radio"]:focus,-.radio-inline input[type="radio"]:focus {- outline: none;-}-input[type="radio"]:before,-.radio input[type="radio"]:before,-.radio-inline input[type="radio"]:before,-input[type="radio"]:after,-.radio input[type="radio"]:after,-.radio-inline input[type="radio"]:after {- content: "";- display: block;- width: 18px;- height: 18px;- margin-top: -3px;- border-radius: 50%;- -webkit-transition: 240ms;- -o-transition: 240ms;- transition: 240ms;-}-input[type="radio"]:before,-.radio input[type="radio"]:before,-.radio-inline input[type="radio"]:before {- position: absolute;- left: 0;- top: 0;- background-color: #2196f3;- -webkit-transform: scale(0);- -ms-transform: scale(0);- -o-transform: scale(0);- transform: scale(0);-}-input[type="radio"]:after,-.radio input[type="radio"]:after,-.radio-inline input[type="radio"]:after {- border: 2px solid #666666;-}-input[type="radio"]:checked:before,-.radio input[type="radio"]:checked:before,-.radio-inline input[type="radio"]:checked:before {- -webkit-transform: scale(0.5);- -ms-transform: scale(0.5);- -o-transform: scale(0.5);- transform: scale(0.5);-}-input[type="radio"]:disabled:checked:before,-.radio input[type="radio"]:disabled:checked:before,-.radio-inline input[type="radio"]:disabled:checked:before {- background-color: #bbbbbb;-}-input[type="radio"]:checked:after,-.radio input[type="radio"]:checked:after,-.radio-inline input[type="radio"]:checked:after {- border-color: #2196f3;-}-input[type="radio"]:disabled:after,-.radio input[type="radio"]:disabled:after,-.radio-inline input[type="radio"]:disabled:after,-input[type="radio"]:disabled:checked:after,-.radio input[type="radio"]:disabled:checked:after,-.radio-inline input[type="radio"]:disabled:checked:after {- border-color: #bbbbbb;-}-input[type="checkbox"],-.checkbox input[type="checkbox"],-.checkbox-inline input[type="checkbox"] {- position: relative;- vertical-align: -4px;- border: none;- -webkit-appearance: none;- appearance: none;- cursor: pointer;-}-input[type="checkbox"]:focus,-.checkbox input[type="checkbox"]:focus,-.checkbox-inline input[type="checkbox"]:focus {- outline: none;-}-input[type="checkbox"]:after,-.checkbox input[type="checkbox"]:after,-.checkbox-inline input[type="checkbox"]:after {- content: "";- display: block;- width: 18px;- height: 18px;- margin-top: -2px;- margin-right: 5px;- border: 2px solid #666666;- border-radius: 2px;- -webkit-transition: 240ms;- -o-transition: 240ms;- transition: 240ms;-}-input[type="checkbox"]:checked:before,-.checkbox input[type="checkbox"]:checked:before,-.checkbox-inline input[type="checkbox"]:checked:before {- content: "";- position: absolute;- top: 0;- left: 6px;- display: table;- width: 6px;- height: 12px;- border: 2px solid #fff;- border-top-width: 0;- border-left-width: 0;- -webkit-transform: rotate(45deg);- -ms-transform: rotate(45deg);- -o-transform: rotate(45deg);- transform: rotate(45deg);-}-input[type="checkbox"]:checked:after,-.checkbox input[type="checkbox"]:checked:after,-.checkbox-inline input[type="checkbox"]:checked:after {- background-color: #2196f3;- border-color: #2196f3;-}-input[type="checkbox"]:disabled:after,-.checkbox input[type="checkbox"]:disabled:after,-.checkbox-inline input[type="checkbox"]:disabled:after {- border-color: #bbbbbb;-}-input[type="checkbox"]:disabled:checked:after,-.checkbox input[type="checkbox"]:disabled:checked:after,-.checkbox-inline input[type="checkbox"]:disabled:checked:after {- background-color: #bbbbbb;- border-color: transparent;-}-.has-warning input:not([type=checkbox]),-.has-warning .form-control,-.has-warning input.form-control[readonly],-.has-warning input[type=text][readonly],-.has-warning [type=text].form-control[readonly],-.has-warning input:not([type=checkbox]):focus,-.has-warning .form-control:focus {- border-bottom: none;- -webkit-box-shadow: inset 0 -2px 0 #ff9800;- box-shadow: inset 0 -2px 0 #ff9800;-}-.has-error input:not([type=checkbox]),-.has-error .form-control,-.has-error input.form-control[readonly],-.has-error input[type=text][readonly],-.has-error [type=text].form-control[readonly],-.has-error input:not([type=checkbox]):focus,-.has-error .form-control:focus {- border-bottom: none;- -webkit-box-shadow: inset 0 -2px 0 #e51c23;- box-shadow: inset 0 -2px 0 #e51c23;-}-.has-success input:not([type=checkbox]),-.has-success .form-control,-.has-success input.form-control[readonly],-.has-success input[type=text][readonly],-.has-success [type=text].form-control[readonly],-.has-success input:not([type=checkbox]):focus,-.has-success .form-control:focus {- border-bottom: none;- -webkit-box-shadow: inset 0 -2px 0 #4caf50;- box-shadow: inset 0 -2px 0 #4caf50;-}-.has-warning .input-group-addon,-.has-error .input-group-addon,-.has-success .input-group-addon {- color: #666666;- border-color: transparent;- background-color: transparent;-}-.nav-tabs > li > a,-.nav-tabs > li > a:focus {- margin-right: 0;- background-color: transparent;- border: none;- color: #666666;- -webkit-box-shadow: inset 0 -1px 0 #dddddd;- box-shadow: inset 0 -1px 0 #dddddd;- -webkit-transition: all 0.2s;- -o-transition: all 0.2s;- transition: all 0.2s;-}-.nav-tabs > li > a:hover,-.nav-tabs > li > a:focus:hover {- background-color: transparent;- -webkit-box-shadow: inset 0 -2px 0 #2196f3;- box-shadow: inset 0 -2px 0 #2196f3;- color: #2196f3;-}-.nav-tabs > li.active > a,-.nav-tabs > li.active > a:focus {- border: none;- -webkit-box-shadow: inset 0 -2px 0 #2196f3;- box-shadow: inset 0 -2px 0 #2196f3;- color: #2196f3;-}-.nav-tabs > li.active > a:hover,-.nav-tabs > li.active > a:focus:hover {- border: none;- color: #2196f3;-}-.nav-tabs > li.disabled > a {- -webkit-box-shadow: inset 0 -1px 0 #dddddd;- box-shadow: inset 0 -1px 0 #dddddd;-}-.nav-tabs.nav-justified > li > a,-.nav-tabs.nav-justified > li > a:hover,-.nav-tabs.nav-justified > li > a:focus,-.nav-tabs.nav-justified > .active > a,-.nav-tabs.nav-justified > .active > a:hover,-.nav-tabs.nav-justified > .active > a:focus {- border: none;-}-.nav-tabs .dropdown-menu {- margin-top: 0;-}-.dropdown-menu {- margin-top: 0;- border: none;- -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);-}-.alert {- border: none;- color: #fff;-}-.alert-success {- background-color: #4caf50;-}-.alert-info {- background-color: #9c27b0;-}-.alert-warning {- background-color: #ff9800;-}-.alert-danger {- background-color: #e51c23;-}-.alert a:not(.close),-.alert .alert-link {- color: #fff;- font-weight: bold;-}-.alert .close {- color: #fff;-}-.badge {- padding: 3px 6px 5px;-}-.progress {- position: relative;- z-index: 1;- height: 6px;- border-radius: 0;- -webkit-box-shadow: none;- box-shadow: none;-}-.progress-bar {- -webkit-box-shadow: none;- box-shadow: none;-}-.progress-bar:last-child {- border-radius: 0 3px 3px 0;-}-.progress-bar:last-child:before {- display: block;- content: "";- position: absolute;- width: 100%;- height: 100%;- left: 0;- right: 0;- z-index: -1;- background-color: #cae6fc;-}-.progress-bar-success:last-child.progress-bar:before {- background-color: #c7e7c8;-}-.progress-bar-info:last-child.progress-bar:before {- background-color: #edc9f3;-}-.progress-bar-warning:last-child.progress-bar:before {- background-color: #ffe0b3;-}-.progress-bar-danger:last-child.progress-bar:before {- background-color: #f28e92;-}-.close {- font-size: 34px;- font-weight: 300;- line-height: 24px;- opacity: 0.6;- -webkit-transition: all 0.2s;- -o-transition: all 0.2s;- transition: all 0.2s;-}-.close:hover {- opacity: 1;-}-.list-group-item {- padding: 15px;-}-.list-group-item-text {- color: #bbbbbb;-}-.well {- border-radius: 0;- -webkit-box-shadow: none;- box-shadow: none;-}-.panel {- border: none;- border-radius: 2px;- -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);-}-.panel-heading {- border-bottom: none;-}-.panel-footer {- border-top: none;-}-.popover {- border: none;- -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);-}-.carousel-caption h1,-.carousel-caption h2,-.carousel-caption h3,-.carousel-caption h4,-.carousel-caption h5,-.carousel-caption h6 {- color: inherit;-}diff --git a/data/libs/bootstrap/css/bootstrap.min.css b/data/libs/bootstrap/css/bootstrap.min.cssdeleted file mode 100644index d65c66b1b..000000000--- a/data/libs/bootstrap/css/bootstrap.min.css+++ /dev/null@@ -1,5 +0,0 @@-/*!- * Bootstrap v3.3.5 (http://getbootstrap.com)- * Copyright 2011-2015 Twitter, Inc.- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)- *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=time].form-control,input[type=datetime-local].form-control,input[type=month].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:14.33px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:3;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{min-height:16.43px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;filter:alpha(opacity=0);opacity:0;line-break:auto}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-15px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-15px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}\ No newline at end of filediff --git a/data/libs/bootstrap/dist/css/bootstrap.min.css b/data/libs/bootstrap/dist/css/bootstrap.min.cssnew file mode 100644index 000000000..4cf729e43--- /dev/null+++ b/data/libs/bootstrap/dist/css/bootstrap.min.css@@ -0,0 +1,6 @@+/*!+ * Bootstrap v3.3.6 (http://getbootstrap.com)+ * Copyright 2011-2015 Twitter, Inc.+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)+ *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\002a"}.glyphicon-plus:before{content:"\002b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{background-color:transparent;border:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=time].form-control,input[type=datetime-local].form-control,input[type=month].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{padding-right:15px;padding-left:15px;border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;filter:alpha(opacity=0);opacity:0;line-break:auto}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);background-color:rgba(0,0,0,0);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.modal-header:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}+/*# sourceMappingURL=bootstrap.min.css.map */\ No newline at end of filediff --git a/data/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.eot b/data/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.eotnew file mode 100644index 000000000..b93a4953fBinary files /dev/null and b/data/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.eot differdiff --git a/data/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.svg b/data/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.svgnew file mode 100644index 000000000..94fb5490a--- /dev/null+++ b/data/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.svg@@ -0,0 +1,288 @@+<?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="glyphicons_halflingsregular" horiz-adv-x="1200" >+<font-face units-per-em="1200" ascent="960" descent="-240" />+<missing-glyph horiz-adv-x="500" />+<glyph horiz-adv-x="0" />+<glyph horiz-adv-x="400" />+<glyph unicode=" " />+<glyph unicode="*" d="M600 1100q15 0 34 -1.5t30 -3.5l11 -1q10 -2 17.5 -10.5t7.5 -18.5v-224l158 158q7 7 18 8t19 -6l106 -106q7 -8 6 -19t-8 -18l-158 -158h224q10 0 18.5 -7.5t10.5 -17.5q6 -41 6 -75q0 -15 -1.5 -34t-3.5 -30l-1 -11q-2 -10 -10.5 -17.5t-18.5 -7.5h-224l158 -158 q7 -7 8 -18t-6 -19l-106 -106q-8 -7 -19 -6t-18 8l-158 158v-224q0 -10 -7.5 -18.5t-17.5 -10.5q-41 -6 -75 -6q-15 0 -34 1.5t-30 3.5l-11 1q-10 2 -17.5 10.5t-7.5 18.5v224l-158 -158q-7 -7 -18 -8t-19 6l-106 106q-7 8 -6 19t8 18l158 158h-224q-10 0 -18.5 7.5 t-10.5 17.5q-6 41 -6 75q0 15 1.5 34t3.5 30l1 11q2 10 10.5 17.5t18.5 7.5h224l-158 158q-7 7 -8 18t6 19l106 106q8 7 19 6t18 -8l158 -158v224q0 10 7.5 18.5t17.5 10.5q41 6 75 6z" />+<glyph unicode="+" d="M450 1100h200q21 0 35.5 -14.5t14.5 -35.5v-350h350q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-350v-350q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v350h-350q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5 h350v350q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode=" " />+<glyph unicode="¥" d="M825 1100h250q10 0 12.5 -5t-5.5 -13l-364 -364q-6 -6 -11 -18h268q10 0 13 -6t-3 -14l-120 -160q-6 -8 -18 -14t-22 -6h-125v-100h275q10 0 13 -6t-3 -14l-120 -160q-6 -8 -18 -14t-22 -6h-125v-174q0 -11 -7.5 -18.5t-18.5 -7.5h-148q-11 0 -18.5 7.5t-7.5 18.5v174 h-275q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h125v100h-275q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h118q-5 12 -11 18l-364 364q-8 8 -5.5 13t12.5 5h250q25 0 43 -18l164 -164q8 -8 18 -8t18 8l164 164q18 18 43 18z" />+<glyph unicode=" " horiz-adv-x="650" />+<glyph unicode=" " horiz-adv-x="1300" />+<glyph unicode=" " horiz-adv-x="650" />+<glyph unicode=" " horiz-adv-x="1300" />+<glyph unicode=" " horiz-adv-x="433" />+<glyph unicode=" " horiz-adv-x="325" />+<glyph unicode=" " horiz-adv-x="216" />+<glyph unicode=" " horiz-adv-x="216" />+<glyph unicode=" " horiz-adv-x="162" />+<glyph unicode=" " horiz-adv-x="260" />+<glyph unicode=" " horiz-adv-x="72" />+<glyph unicode=" " horiz-adv-x="260" />+<glyph unicode=" " horiz-adv-x="325" />+<glyph unicode="€" d="M744 1198q242 0 354 -189q60 -104 66 -209h-181q0 45 -17.5 82.5t-43.5 61.5t-58 40.5t-60.5 24t-51.5 7.5q-19 0 -40.5 -5.5t-49.5 -20.5t-53 -38t-49 -62.5t-39 -89.5h379l-100 -100h-300q-6 -50 -6 -100h406l-100 -100h-300q9 -74 33 -132t52.5 -91t61.5 -54.5t59 -29 t47 -7.5q22 0 50.5 7.5t60.5 24.5t58 41t43.5 61t17.5 80h174q-30 -171 -128 -278q-107 -117 -274 -117q-206 0 -324 158q-36 48 -69 133t-45 204h-217l100 100h112q1 47 6 100h-218l100 100h134q20 87 51 153.5t62 103.5q117 141 297 141z" />+<glyph unicode="₽" d="M428 1200h350q67 0 120 -13t86 -31t57 -49.5t35 -56.5t17 -64.5t6.5 -60.5t0.5 -57v-16.5v-16.5q0 -36 -0.5 -57t-6.5 -61t-17 -65t-35 -57t-57 -50.5t-86 -31.5t-120 -13h-178l-2 -100h288q10 0 13 -6t-3 -14l-120 -160q-6 -8 -18 -14t-22 -6h-138v-175q0 -11 -5.5 -18 t-15.5 -7h-149q-10 0 -17.5 7.5t-7.5 17.5v175h-267q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h117v100h-267q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h117v475q0 10 7.5 17.5t17.5 7.5zM600 1000v-300h203q64 0 86.5 33t22.5 119q0 84 -22.5 116t-86.5 32h-203z" />+<glyph unicode="−" d="M250 700h800q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="⌛" d="M1000 1200v-150q0 -21 -14.5 -35.5t-35.5 -14.5h-50v-100q0 -91 -49.5 -165.5t-130.5 -109.5q81 -35 130.5 -109.5t49.5 -165.5v-150h50q21 0 35.5 -14.5t14.5 -35.5v-150h-800v150q0 21 14.5 35.5t35.5 14.5h50v150q0 91 49.5 165.5t130.5 109.5q-81 35 -130.5 109.5 t-49.5 165.5v100h-50q-21 0 -35.5 14.5t-14.5 35.5v150h800zM400 1000v-100q0 -60 32.5 -109.5t87.5 -73.5q28 -12 44 -37t16 -55t-16 -55t-44 -37q-55 -24 -87.5 -73.5t-32.5 -109.5v-150h400v150q0 60 -32.5 109.5t-87.5 73.5q-28 12 -44 37t-16 55t16 55t44 37 q55 24 87.5 73.5t32.5 109.5v100h-400z" />+<glyph unicode="◼" horiz-adv-x="500" d="M0 0z" />+<glyph unicode="☁" d="M503 1089q110 0 200.5 -59.5t134.5 -156.5q44 14 90 14q120 0 205 -86.5t85 -206.5q0 -121 -85 -207.5t-205 -86.5h-750q-79 0 -135.5 57t-56.5 137q0 69 42.5 122.5t108.5 67.5q-2 12 -2 37q0 153 108 260.5t260 107.5z" />+<glyph unicode="⛺" d="M774 1193.5q16 -9.5 20.5 -27t-5.5 -33.5l-136 -187l467 -746h30q20 0 35 -18.5t15 -39.5v-42h-1200v42q0 21 15 39.5t35 18.5h30l468 746l-135 183q-10 16 -5.5 34t20.5 28t34 5.5t28 -20.5l111 -148l112 150q9 16 27 20.5t34 -5zM600 200h377l-182 112l-195 534v-646z " />+<glyph unicode="✉" d="M25 1100h1150q10 0 12.5 -5t-5.5 -13l-564 -567q-8 -8 -18 -8t-18 8l-564 567q-8 8 -5.5 13t12.5 5zM18 882l264 -264q8 -8 8 -18t-8 -18l-264 -264q-8 -8 -13 -5.5t-5 12.5v550q0 10 5 12.5t13 -5.5zM918 618l264 264q8 8 13 5.5t5 -12.5v-550q0 -10 -5 -12.5t-13 5.5 l-264 264q-8 8 -8 18t8 18zM818 482l364 -364q8 -8 5.5 -13t-12.5 -5h-1150q-10 0 -12.5 5t5.5 13l364 364q8 8 18 8t18 -8l164 -164q8 -8 18 -8t18 8l164 164q8 8 18 8t18 -8z" />+<glyph unicode="✏" d="M1011 1210q19 0 33 -13l153 -153q13 -14 13 -33t-13 -33l-99 -92l-214 214l95 96q13 14 32 14zM1013 800l-615 -614l-214 214l614 614zM317 96l-333 -112l110 335z" />+<glyph unicode="" d="M700 650v-550h250q21 0 35.5 -14.5t14.5 -35.5v-50h-800v50q0 21 14.5 35.5t35.5 14.5h250v550l-500 550h1200z" />+<glyph unicode="" d="M368 1017l645 163q39 15 63 0t24 -49v-831q0 -55 -41.5 -95.5t-111.5 -63.5q-79 -25 -147 -4.5t-86 75t25.5 111.5t122.5 82q72 24 138 8v521l-600 -155v-606q0 -42 -44 -90t-109 -69q-79 -26 -147 -5.5t-86 75.5t25.5 111.5t122.5 82.5q72 24 138 7v639q0 38 14.5 59 t53.5 34z" />+<glyph unicode="" d="M500 1191q100 0 191 -39t156.5 -104.5t104.5 -156.5t39 -191l-1 -2l1 -5q0 -141 -78 -262l275 -274q23 -26 22.5 -44.5t-22.5 -42.5l-59 -58q-26 -20 -46.5 -20t-39.5 20l-275 274q-119 -77 -261 -77l-5 1l-2 -1q-100 0 -191 39t-156.5 104.5t-104.5 156.5t-39 191 t39 191t104.5 156.5t156.5 104.5t191 39zM500 1022q-88 0 -162 -43t-117 -117t-43 -162t43 -162t117 -117t162 -43t162 43t117 117t43 162t-43 162t-117 117t-162 43z" />+<glyph unicode="" d="M649 949q48 68 109.5 104t121.5 38.5t118.5 -20t102.5 -64t71 -100.5t27 -123q0 -57 -33.5 -117.5t-94 -124.5t-126.5 -127.5t-150 -152.5t-146 -174q-62 85 -145.5 174t-150 152.5t-126.5 127.5t-93.5 124.5t-33.5 117.5q0 64 28 123t73 100.5t104 64t119 20 t120.5 -38.5t104.5 -104z" />+<glyph unicode="" d="M407 800l131 353q7 19 17.5 19t17.5 -19l129 -353h421q21 0 24 -8.5t-14 -20.5l-342 -249l130 -401q7 -20 -0.5 -25.5t-24.5 6.5l-343 246l-342 -247q-17 -12 -24.5 -6.5t-0.5 25.5l130 400l-347 251q-17 12 -14 20.5t23 8.5h429z" />+<glyph unicode="" d="M407 800l131 353q7 19 17.5 19t17.5 -19l129 -353h421q21 0 24 -8.5t-14 -20.5l-342 -249l130 -401q7 -20 -0.5 -25.5t-24.5 6.5l-343 246l-342 -247q-17 -12 -24.5 -6.5t-0.5 25.5l130 400l-347 251q-17 12 -14 20.5t23 8.5h429zM477 700h-240l197 -142l-74 -226 l193 139l195 -140l-74 229l192 140h-234l-78 211z" />+<glyph unicode="" d="M600 1200q124 0 212 -88t88 -212v-250q0 -46 -31 -98t-69 -52v-75q0 -10 6 -21.5t15 -17.5l358 -230q9 -5 15 -16.5t6 -21.5v-93q0 -10 -7.5 -17.5t-17.5 -7.5h-1150q-10 0 -17.5 7.5t-7.5 17.5v93q0 10 6 21.5t15 16.5l358 230q9 6 15 17.5t6 21.5v75q-38 0 -69 52 t-31 98v250q0 124 88 212t212 88z" />+<glyph unicode="" d="M25 1100h1150q10 0 17.5 -7.5t7.5 -17.5v-1050q0 -10 -7.5 -17.5t-17.5 -7.5h-1150q-10 0 -17.5 7.5t-7.5 17.5v1050q0 10 7.5 17.5t17.5 7.5zM100 1000v-100h100v100h-100zM875 1000h-550q-10 0 -17.5 -7.5t-7.5 -17.5v-350q0 -10 7.5 -17.5t17.5 -7.5h550 q10 0 17.5 7.5t7.5 17.5v350q0 10 -7.5 17.5t-17.5 7.5zM1000 1000v-100h100v100h-100zM100 800v-100h100v100h-100zM1000 800v-100h100v100h-100zM100 600v-100h100v100h-100zM1000 600v-100h100v100h-100zM875 500h-550q-10 0 -17.5 -7.5t-7.5 -17.5v-350q0 -10 7.5 -17.5 t17.5 -7.5h550q10 0 17.5 7.5t7.5 17.5v350q0 10 -7.5 17.5t-17.5 7.5zM100 400v-100h100v100h-100zM1000 400v-100h100v100h-100zM100 200v-100h100v100h-100zM1000 200v-100h100v100h-100z" />+<glyph unicode="" d="M50 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM650 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400 q0 21 14.5 35.5t35.5 14.5zM50 500h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM650 500h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M50 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200 q0 21 14.5 35.5t35.5 14.5zM850 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM50 700h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200 q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 700h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM850 700h200q21 0 35.5 -14.5t14.5 -35.5v-200 q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM50 300h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 300h200 q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM850 300h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5 t35.5 14.5z" />+<glyph unicode="" d="M50 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 1100h700q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v200 q0 21 14.5 35.5t35.5 14.5zM50 700h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 700h700q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700 q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM50 300h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 300h700q21 0 35.5 -14.5t14.5 -35.5v-200 q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M465 477l571 571q8 8 18 8t17 -8l177 -177q8 -7 8 -17t-8 -18l-783 -784q-7 -8 -17.5 -8t-17.5 8l-384 384q-8 8 -8 18t8 17l177 177q7 8 17 8t18 -8l171 -171q7 -7 18 -7t18 7z" />+<glyph unicode="" d="M904 1083l178 -179q8 -8 8 -18.5t-8 -17.5l-267 -268l267 -268q8 -7 8 -17.5t-8 -18.5l-178 -178q-8 -8 -18.5 -8t-17.5 8l-268 267l-268 -267q-7 -8 -17.5 -8t-18.5 8l-178 178q-8 8 -8 18.5t8 17.5l267 268l-267 268q-8 7 -8 17.5t8 18.5l178 178q8 8 18.5 8t17.5 -8 l268 -267l268 268q7 7 17.5 7t18.5 -7z" />+<glyph unicode="" d="M507 1177q98 0 187.5 -38.5t154.5 -103.5t103.5 -154.5t38.5 -187.5q0 -141 -78 -262l300 -299q8 -8 8 -18.5t-8 -18.5l-109 -108q-7 -8 -17.5 -8t-18.5 8l-300 299q-119 -77 -261 -77q-98 0 -188 38.5t-154.5 103t-103 154.5t-38.5 188t38.5 187.5t103 154.5 t154.5 103.5t188 38.5zM506.5 1023q-89.5 0 -165.5 -44t-120 -120.5t-44 -166t44 -165.5t120 -120t165.5 -44t166 44t120.5 120t44 165.5t-44 166t-120.5 120.5t-166 44zM425 900h150q10 0 17.5 -7.5t7.5 -17.5v-75h75q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5 t-17.5 -7.5h-75v-75q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v75h-75q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h75v75q0 10 7.5 17.5t17.5 7.5z" />+<glyph unicode="" d="M507 1177q98 0 187.5 -38.5t154.5 -103.5t103.5 -154.5t38.5 -187.5q0 -141 -78 -262l300 -299q8 -8 8 -18.5t-8 -18.5l-109 -108q-7 -8 -17.5 -8t-18.5 8l-300 299q-119 -77 -261 -77q-98 0 -188 38.5t-154.5 103t-103 154.5t-38.5 188t38.5 187.5t103 154.5 t154.5 103.5t188 38.5zM506.5 1023q-89.5 0 -165.5 -44t-120 -120.5t-44 -166t44 -165.5t120 -120t165.5 -44t166 44t120.5 120t44 165.5t-44 166t-120.5 120.5t-166 44zM325 800h350q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-350q-10 0 -17.5 7.5 t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5z" />+<glyph unicode="" d="M550 1200h100q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM800 975v166q167 -62 272 -209.5t105 -331.5q0 -117 -45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5 t-184.5 123t-123 184.5t-45.5 224q0 184 105 331.5t272 209.5v-166q-103 -55 -165 -155t-62 -220q0 -116 57 -214.5t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5q0 120 -62 220t-165 155z" />+<glyph unicode="" d="M1025 1200h150q10 0 17.5 -7.5t7.5 -17.5v-1150q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v1150q0 10 7.5 17.5t17.5 7.5zM725 800h150q10 0 17.5 -7.5t7.5 -17.5v-750q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v750 q0 10 7.5 17.5t17.5 7.5zM425 500h150q10 0 17.5 -7.5t7.5 -17.5v-450q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v450q0 10 7.5 17.5t17.5 7.5zM125 300h150q10 0 17.5 -7.5t7.5 -17.5v-250q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5 v250q0 10 7.5 17.5t17.5 7.5z" />+<glyph unicode="" d="M600 1174q33 0 74 -5l38 -152l5 -1q49 -14 94 -39l5 -2l134 80q61 -48 104 -105l-80 -134l3 -5q25 -44 39 -93l1 -6l152 -38q5 -43 5 -73q0 -34 -5 -74l-152 -38l-1 -6q-15 -49 -39 -93l-3 -5l80 -134q-48 -61 -104 -105l-134 81l-5 -3q-44 -25 -94 -39l-5 -2l-38 -151 q-43 -5 -74 -5q-33 0 -74 5l-38 151l-5 2q-49 14 -94 39l-5 3l-134 -81q-60 48 -104 105l80 134l-3 5q-25 45 -38 93l-2 6l-151 38q-6 42 -6 74q0 33 6 73l151 38l2 6q13 48 38 93l3 5l-80 134q47 61 105 105l133 -80l5 2q45 25 94 39l5 1l38 152q43 5 74 5zM600 815 q-89 0 -152 -63t-63 -151.5t63 -151.5t152 -63t152 63t63 151.5t-63 151.5t-152 63z" />+<glyph unicode="" d="M500 1300h300q41 0 70.5 -29.5t29.5 -70.5v-100h275q10 0 17.5 -7.5t7.5 -17.5v-75h-1100v75q0 10 7.5 17.5t17.5 7.5h275v100q0 41 29.5 70.5t70.5 29.5zM500 1200v-100h300v100h-300zM1100 900v-800q0 -41 -29.5 -70.5t-70.5 -29.5h-700q-41 0 -70.5 29.5t-29.5 70.5 v800h900zM300 800v-700h100v700h-100zM500 800v-700h100v700h-100zM700 800v-700h100v700h-100zM900 800v-700h100v700h-100z" />+<glyph unicode="" d="M18 618l620 608q8 7 18.5 7t17.5 -7l608 -608q8 -8 5.5 -13t-12.5 -5h-175v-575q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v375h-300v-375q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v575h-175q-10 0 -12.5 5t5.5 13z" />+<glyph unicode="" d="M600 1200v-400q0 -41 29.5 -70.5t70.5 -29.5h300v-650q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v1100q0 21 14.5 35.5t35.5 14.5h450zM1000 800h-250q-21 0 -35.5 14.5t-14.5 35.5v250z" />+<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM525 900h50q10 0 17.5 -7.5t7.5 -17.5v-275h175q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5z" />+<glyph unicode="" d="M1300 0h-538l-41 400h-242l-41 -400h-538l431 1200h209l-21 -300h162l-20 300h208zM515 800l-27 -300h224l-27 300h-170z" />+<glyph unicode="" d="M550 1200h200q21 0 35.5 -14.5t14.5 -35.5v-450h191q20 0 25.5 -11.5t-7.5 -27.5l-327 -400q-13 -16 -32 -16t-32 16l-327 400q-13 16 -7.5 27.5t25.5 11.5h191v450q0 21 14.5 35.5t35.5 14.5zM1125 400h50q10 0 17.5 -7.5t7.5 -17.5v-350q0 -10 -7.5 -17.5t-17.5 -7.5 h-1050q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h50q10 0 17.5 -7.5t7.5 -17.5v-175h900v175q0 10 7.5 17.5t17.5 7.5z" />+<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM525 900h150q10 0 17.5 -7.5t7.5 -17.5v-275h137q21 0 26 -11.5t-8 -27.5l-223 -275q-13 -16 -32 -16t-32 16l-223 275q-13 16 -8 27.5t26 11.5h137v275q0 10 7.5 17.5t17.5 7.5z " />+<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM632 914l223 -275q13 -16 8 -27.5t-26 -11.5h-137v-275q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v275h-137q-21 0 -26 11.5t8 27.5l223 275q13 16 32 16 t32 -16z" />+<glyph unicode="" d="M225 1200h750q10 0 19.5 -7t12.5 -17l186 -652q7 -24 7 -49v-425q0 -12 -4 -27t-9 -17q-12 -6 -37 -6h-1100q-12 0 -27 4t-17 8q-6 13 -6 38l1 425q0 25 7 49l185 652q3 10 12.5 17t19.5 7zM878 1000h-556q-10 0 -19 -7t-11 -18l-87 -450q-2 -11 4 -18t16 -7h150 q10 0 19.5 -7t11.5 -17l38 -152q2 -10 11.5 -17t19.5 -7h250q10 0 19.5 7t11.5 17l38 152q2 10 11.5 17t19.5 7h150q10 0 16 7t4 18l-87 450q-2 11 -11 18t-19 7z" />+<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM540 820l253 -190q17 -12 17 -30t-17 -30l-253 -190q-16 -12 -28 -6.5t-12 26.5v400q0 21 12 26.5t28 -6.5z" />+<glyph unicode="" d="M947 1060l135 135q7 7 12.5 5t5.5 -13v-362q0 -10 -7.5 -17.5t-17.5 -7.5h-362q-11 0 -13 5.5t5 12.5l133 133q-109 76 -238 76q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5h150q0 -117 -45.5 -224 t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5q192 0 347 -117z" />+<glyph unicode="" d="M947 1060l135 135q7 7 12.5 5t5.5 -13v-361q0 -11 -7.5 -18.5t-18.5 -7.5h-361q-11 0 -13 5.5t5 12.5l134 134q-110 75 -239 75q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5h-150q0 117 45.5 224t123 184.5t184.5 123t224 45.5q192 0 347 -117zM1027 600h150 q0 -117 -45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5q-192 0 -348 118l-134 -134q-7 -8 -12.5 -5.5t-5.5 12.5v360q0 11 7.5 18.5t18.5 7.5h360q10 0 12.5 -5.5t-5.5 -12.5l-133 -133q110 -76 240 -76q116 0 214.5 57t155.5 155.5t57 214.5z" />+<glyph unicode="" d="M125 1200h1050q10 0 17.5 -7.5t7.5 -17.5v-1150q0 -10 -7.5 -17.5t-17.5 -7.5h-1050q-10 0 -17.5 7.5t-7.5 17.5v1150q0 10 7.5 17.5t17.5 7.5zM1075 1000h-850q-10 0 -17.5 -7.5t-7.5 -17.5v-850q0 -10 7.5 -17.5t17.5 -7.5h850q10 0 17.5 7.5t7.5 17.5v850 q0 10 -7.5 17.5t-17.5 7.5zM325 900h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 900h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5zM325 700h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 700h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5zM325 500h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 500h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5zM325 300h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 300h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5z" />+<glyph unicode="" d="M900 800v200q0 83 -58.5 141.5t-141.5 58.5h-300q-82 0 -141 -59t-59 -141v-200h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-600q0 -41 29.5 -70.5t70.5 -29.5h900q41 0 70.5 29.5t29.5 70.5v600q0 41 -29.5 70.5t-70.5 29.5h-100zM400 800v150q0 21 15 35.5t35 14.5h200 q20 0 35 -14.5t15 -35.5v-150h-300z" />+<glyph unicode="" d="M125 1100h50q10 0 17.5 -7.5t7.5 -17.5v-1075h-100v1075q0 10 7.5 17.5t17.5 7.5zM1075 1052q4 0 9 -2q16 -6 16 -23v-421q0 -6 -3 -12q-33 -59 -66.5 -99t-65.5 -58t-56.5 -24.5t-52.5 -6.5q-26 0 -57.5 6.5t-52.5 13.5t-60 21q-41 15 -63 22.5t-57.5 15t-65.5 7.5 q-85 0 -160 -57q-7 -5 -15 -5q-6 0 -11 3q-14 7 -14 22v438q22 55 82 98.5t119 46.5q23 2 43 0.5t43 -7t32.5 -8.5t38 -13t32.5 -11q41 -14 63.5 -21t57 -14t63.5 -7q103 0 183 87q7 8 18 8z" />+<glyph unicode="" d="M600 1175q116 0 227 -49.5t192.5 -131t131 -192.5t49.5 -227v-300q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v300q0 127 -70.5 231.5t-184.5 161.5t-245 57t-245 -57t-184.5 -161.5t-70.5 -231.5v-300q0 -10 -7.5 -17.5t-17.5 -7.5h-50 q-10 0 -17.5 7.5t-7.5 17.5v300q0 116 49.5 227t131 192.5t192.5 131t227 49.5zM220 500h160q8 0 14 -6t6 -14v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14v460q0 8 6 14t14 6zM820 500h160q8 0 14 -6t6 -14v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14v460 q0 8 6 14t14 6z" />+<glyph unicode="" d="M321 814l258 172q9 6 15 2.5t6 -13.5v-750q0 -10 -6 -13.5t-15 2.5l-258 172q-21 14 -46 14h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h250q25 0 46 14zM900 668l120 120q7 7 17 7t17 -7l34 -34q7 -7 7 -17t-7 -17l-120 -120l120 -120q7 -7 7 -17 t-7 -17l-34 -34q-7 -7 -17 -7t-17 7l-120 119l-120 -119q-7 -7 -17 -7t-17 7l-34 34q-7 7 -7 17t7 17l119 120l-119 120q-7 7 -7 17t7 17l34 34q7 8 17 8t17 -8z" />+<glyph unicode="" d="M321 814l258 172q9 6 15 2.5t6 -13.5v-750q0 -10 -6 -13.5t-15 2.5l-258 172q-21 14 -46 14h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h250q25 0 46 14zM766 900h4q10 -1 16 -10q96 -129 96 -290q0 -154 -90 -281q-6 -9 -17 -10l-3 -1q-9 0 -16 6 l-29 23q-7 7 -8.5 16.5t4.5 17.5q72 103 72 229q0 132 -78 238q-6 8 -4.5 18t9.5 17l29 22q7 5 15 5z" />+<glyph unicode="" d="M967 1004h3q11 -1 17 -10q135 -179 135 -396q0 -105 -34 -206.5t-98 -185.5q-7 -9 -17 -10h-3q-9 0 -16 6l-42 34q-8 6 -9 16t5 18q111 150 111 328q0 90 -29.5 176t-84.5 157q-6 9 -5 19t10 16l42 33q7 5 15 5zM321 814l258 172q9 6 15 2.5t6 -13.5v-750q0 -10 -6 -13.5 t-15 2.5l-258 172q-21 14 -46 14h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h250q25 0 46 14zM766 900h4q10 -1 16 -10q96 -129 96 -290q0 -154 -90 -281q-6 -9 -17 -10l-3 -1q-9 0 -16 6l-29 23q-7 7 -8.5 16.5t4.5 17.5q72 103 72 229q0 132 -78 238 q-6 8 -4.5 18.5t9.5 16.5l29 22q7 5 15 5z" />+<glyph unicode="" d="M500 900h100v-100h-100v-100h-400v-100h-100v600h500v-300zM1200 700h-200v-100h200v-200h-300v300h-200v300h-100v200h600v-500zM100 1100v-300h300v300h-300zM800 1100v-300h300v300h-300zM300 900h-100v100h100v-100zM1000 900h-100v100h100v-100zM300 500h200v-500 h-500v500h200v100h100v-100zM800 300h200v-100h-100v-100h-200v100h-100v100h100v200h-200v100h300v-300zM100 400v-300h300v300h-300zM300 200h-100v100h100v-100zM1200 200h-100v100h100v-100zM700 0h-100v100h100v-100zM1200 0h-300v100h300v-100z" />+<glyph unicode="" d="M100 200h-100v1000h100v-1000zM300 200h-100v1000h100v-1000zM700 200h-200v1000h200v-1000zM900 200h-100v1000h100v-1000zM1200 200h-200v1000h200v-1000zM400 0h-300v100h300v-100zM600 0h-100v91h100v-91zM800 0h-100v91h100v-91zM1100 0h-200v91h200v-91z" />+<glyph unicode="" d="M500 1200l682 -682q8 -8 8 -18t-8 -18l-464 -464q-8 -8 -18 -8t-18 8l-682 682l1 475q0 10 7.5 17.5t17.5 7.5h474zM319.5 1024.5q-29.5 29.5 -71 29.5t-71 -29.5t-29.5 -71.5t29.5 -71.5t71 -29.5t71 29.5t29.5 71.5t-29.5 71.5z" />+<glyph unicode="" d="M500 1200l682 -682q8 -8 8 -18t-8 -18l-464 -464q-8 -8 -18 -8t-18 8l-682 682l1 475q0 10 7.5 17.5t17.5 7.5h474zM800 1200l682 -682q8 -8 8 -18t-8 -18l-464 -464q-8 -8 -18 -8t-18 8l-56 56l424 426l-700 700h150zM319.5 1024.5q-29.5 29.5 -71 29.5t-71 -29.5 t-29.5 -71.5t29.5 -71.5t71 -29.5t71 29.5t29.5 71.5t-29.5 71.5z" />+<glyph unicode="" d="M300 1200h825q75 0 75 -75v-900q0 -25 -18 -43l-64 -64q-8 -8 -13 -5.5t-5 12.5v950q0 10 -7.5 17.5t-17.5 7.5h-700q-25 0 -43 -18l-64 -64q-8 -8 -5.5 -13t12.5 -5h700q10 0 17.5 -7.5t7.5 -17.5v-950q0 -10 -7.5 -17.5t-17.5 -7.5h-850q-10 0 -17.5 7.5t-7.5 17.5v975 q0 25 18 43l139 139q18 18 43 18z" />+<glyph unicode="" d="M250 1200h800q21 0 35.5 -14.5t14.5 -35.5v-1150l-450 444l-450 -445v1151q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M822 1200h-444q-11 0 -19 -7.5t-9 -17.5l-78 -301q-7 -24 7 -45l57 -108q6 -9 17.5 -15t21.5 -6h450q10 0 21.5 6t17.5 15l62 108q14 21 7 45l-83 301q-1 10 -9 17.5t-19 7.5zM1175 800h-150q-10 0 -21 -6.5t-15 -15.5l-78 -156q-4 -9 -15 -15.5t-21 -6.5h-550 q-10 0 -21 6.5t-15 15.5l-78 156q-4 9 -15 15.5t-21 6.5h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-650q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h750q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5 t7.5 17.5v650q0 10 -7.5 17.5t-17.5 7.5zM850 200h-500q-10 0 -19.5 -7t-11.5 -17l-38 -152q-2 -10 3.5 -17t15.5 -7h600q10 0 15.5 7t3.5 17l-38 152q-2 10 -11.5 17t-19.5 7z" />+<glyph unicode="" d="M500 1100h200q56 0 102.5 -20.5t72.5 -50t44 -59t25 -50.5l6 -20h150q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v600q0 41 29.5 70.5t70.5 29.5h150q2 8 6.5 21.5t24 48t45 61t72 48t102.5 21.5zM900 800v-100 h100v100h-100zM600 730q-95 0 -162.5 -67.5t-67.5 -162.5t67.5 -162.5t162.5 -67.5t162.5 67.5t67.5 162.5t-67.5 162.5t-162.5 67.5zM600 603q43 0 73 -30t30 -73t-30 -73t-73 -30t-73 30t-30 73t30 73t73 30z" />+<glyph unicode="" d="M681 1199l385 -998q20 -50 60 -92q18 -19 36.5 -29.5t27.5 -11.5l10 -2v-66h-417v66q53 0 75 43.5t5 88.5l-82 222h-391q-58 -145 -92 -234q-11 -34 -6.5 -57t25.5 -37t46 -20t55 -6v-66h-365v66q56 24 84 52q12 12 25 30.5t20 31.5l7 13l399 1006h93zM416 521h340 l-162 457z" />+<glyph unicode="" d="M753 641q5 -1 14.5 -4.5t36 -15.5t50.5 -26.5t53.5 -40t50.5 -54.5t35.5 -70t14.5 -87q0 -67 -27.5 -125.5t-71.5 -97.5t-98.5 -66.5t-108.5 -40.5t-102 -13h-500v89q41 7 70.5 32.5t29.5 65.5v827q0 24 -0.5 34t-3.5 24t-8.5 19.5t-17 13.5t-28 12.5t-42.5 11.5v71 l471 -1q57 0 115.5 -20.5t108 -57t80.5 -94t31 -124.5q0 -51 -15.5 -96.5t-38 -74.5t-45 -50.5t-38.5 -30.5zM400 700h139q78 0 130.5 48.5t52.5 122.5q0 41 -8.5 70.5t-29.5 55.5t-62.5 39.5t-103.5 13.5h-118v-350zM400 200h216q80 0 121 50.5t41 130.5q0 90 -62.5 154.5 t-156.5 64.5h-159v-400z" />+<glyph unicode="" d="M877 1200l2 -57q-83 -19 -116 -45.5t-40 -66.5l-132 -839q-9 -49 13 -69t96 -26v-97h-500v97q186 16 200 98l173 832q3 17 3 30t-1.5 22.5t-9 17.5t-13.5 12.5t-21.5 10t-26 8.5t-33.5 10q-13 3 -19 5v57h425z" />+<glyph unicode="" d="M1300 900h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-200v-850q0 -22 25 -34.5t50 -13.5l25 -2v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v850h-200q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h1000v-300zM175 1000h-75v-800h75l-125 -167l-125 167h75v800h-75l125 167z" />+<glyph unicode="" d="M1100 900h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-200v-650q0 -22 25 -34.5t50 -13.5l25 -2v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v650h-200q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h1000v-300zM1167 50l-167 -125v75h-800v-75l-167 125l167 125v-75h800v75z" />+<glyph unicode="" d="M50 1100h600q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 800h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM50 500h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M250 1100h700q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 800h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM250 500h700q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M500 950v100q0 21 14.5 35.5t35.5 14.5h600q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5zM100 650v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000 q-21 0 -35.5 14.5t-14.5 35.5zM300 350v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5zM0 50v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100 q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5z" />+<glyph unicode="" d="M50 1100h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 800h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM50 500h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M50 1100h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 1100h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM50 800h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 800h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 500h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 500h800q21 0 35.5 -14.5t14.5 -35.5v-100 q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 200h800 q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M400 0h-100v1100h100v-1100zM550 1100h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM550 800h500q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-500 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM267 550l-167 -125v75h-200v100h200v75zM550 500h300q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM550 200h600 q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M50 1100h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM900 0h-100v1100h100v-1100zM50 800h500q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-500 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM1100 600h200v-100h-200v-75l-167 125l167 125v-75zM50 500h300q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h600 q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M75 1000h750q31 0 53 -22t22 -53v-650q0 -31 -22 -53t-53 -22h-750q-31 0 -53 22t-22 53v650q0 31 22 53t53 22zM1200 300l-300 300l300 300v-600z" />+<glyph unicode="" d="M44 1100h1112q18 0 31 -13t13 -31v-1012q0 -18 -13 -31t-31 -13h-1112q-18 0 -31 13t-13 31v1012q0 18 13 31t31 13zM100 1000v-737l247 182l298 -131l-74 156l293 318l236 -288v500h-1000zM342 884q56 0 95 -39t39 -94.5t-39 -95t-95 -39.5t-95 39.5t-39 95t39 94.5 t95 39z" />+<glyph unicode="" d="M648 1169q117 0 216 -60t156.5 -161t57.5 -218q0 -115 -70 -258q-69 -109 -158 -225.5t-143 -179.5l-54 -62q-9 8 -25.5 24.5t-63.5 67.5t-91 103t-98.5 128t-95.5 148q-60 132 -60 249q0 88 34 169.5t91.5 142t137 96.5t166.5 36zM652.5 974q-91.5 0 -156.5 -65 t-65 -157t65 -156.5t156.5 -64.5t156.5 64.5t65 156.5t-65 157t-156.5 65z" />+<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 173v854q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57z" />+<glyph unicode="" d="M554 1295q21 -72 57.5 -143.5t76 -130t83 -118t82.5 -117t70 -116t49.5 -126t18.5 -136.5q0 -71 -25.5 -135t-68.5 -111t-99 -82t-118.5 -54t-125.5 -23q-84 5 -161.5 34t-139.5 78.5t-99 125t-37 164.5q0 69 18 136.5t49.5 126.5t69.5 116.5t81.5 117.5t83.5 119 t76.5 131t58.5 143zM344 710q-23 -33 -43.5 -70.5t-40.5 -102.5t-17 -123q1 -37 14.5 -69.5t30 -52t41 -37t38.5 -24.5t33 -15q21 -7 32 -1t13 22l6 34q2 10 -2.5 22t-13.5 19q-5 4 -14 12t-29.5 40.5t-32.5 73.5q-26 89 6 271q2 11 -6 11q-8 1 -15 -10z" />+<glyph unicode="" d="M1000 1013l108 115q2 1 5 2t13 2t20.5 -1t25 -9.5t28.5 -21.5q22 -22 27 -43t0 -32l-6 -10l-108 -115zM350 1100h400q50 0 105 -13l-187 -187h-368q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v182l200 200v-332 q0 -165 -93.5 -257.5t-256.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5zM1009 803l-362 -362l-161 -50l55 170l355 355z" />+<glyph unicode="" d="M350 1100h361q-164 -146 -216 -200h-195q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5l200 153v-103q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5z M824 1073l339 -301q8 -7 8 -17.5t-8 -17.5l-340 -306q-7 -6 -12.5 -4t-6.5 11v203q-26 1 -54.5 0t-78.5 -7.5t-92 -17.5t-86 -35t-70 -57q10 59 33 108t51.5 81.5t65 58.5t68.5 40.5t67 24.5t56 13.5t40 4.5v210q1 10 6.5 12.5t13.5 -4.5z" />+<glyph unicode="" d="M350 1100h350q60 0 127 -23l-178 -177h-349q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v69l200 200v-219q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5z M643 639l395 395q7 7 17.5 7t17.5 -7l101 -101q7 -7 7 -17.5t-7 -17.5l-531 -532q-7 -7 -17.5 -7t-17.5 7l-248 248q-7 7 -7 17.5t7 17.5l101 101q7 7 17.5 7t17.5 -7l111 -111q8 -7 18 -7t18 7z" />+<glyph unicode="" d="M318 918l264 264q8 8 18 8t18 -8l260 -264q7 -8 4.5 -13t-12.5 -5h-170v-200h200v173q0 10 5 12t13 -5l264 -260q8 -7 8 -17.5t-8 -17.5l-264 -265q-8 -7 -13 -5t-5 12v173h-200v-200h170q10 0 12.5 -5t-4.5 -13l-260 -264q-8 -8 -18 -8t-18 8l-264 264q-8 8 -5.5 13 t12.5 5h175v200h-200v-173q0 -10 -5 -12t-13 5l-264 265q-8 7 -8 17.5t8 17.5l264 260q8 7 13 5t5 -12v-173h200v200h-175q-10 0 -12.5 5t5.5 13z" />+<glyph unicode="" d="M250 1100h100q21 0 35.5 -14.5t14.5 -35.5v-438l464 453q15 14 25.5 10t10.5 -25v-1000q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v1000q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M50 1100h100q21 0 35.5 -14.5t14.5 -35.5v-438l464 453q15 14 25.5 10t10.5 -25v-438l464 453q15 14 25.5 10t10.5 -25v-1000q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5 t-14.5 35.5v1000q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M1200 1050v-1000q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -10.5 -25t-25.5 10l-492 480q-15 14 -15 35t15 35l492 480q15 14 25.5 10t10.5 -25v-438l464 453q15 14 25.5 10t10.5 -25z" />+<glyph unicode="" d="M243 1074l814 -498q18 -11 18 -26t-18 -26l-814 -498q-18 -11 -30.5 -4t-12.5 28v1000q0 21 12.5 28t30.5 -4z" />+<glyph unicode="" d="M250 1000h200q21 0 35.5 -14.5t14.5 -35.5v-800q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v800q0 21 14.5 35.5t35.5 14.5zM650 1000h200q21 0 35.5 -14.5t14.5 -35.5v-800q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v800 q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M1100 950v-800q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v800q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5z" />+<glyph unicode="" d="M500 612v438q0 21 10.5 25t25.5 -10l492 -480q15 -14 15 -35t-15 -35l-492 -480q-15 -14 -25.5 -10t-10.5 25v438l-464 -453q-15 -14 -25.5 -10t-10.5 25v1000q0 21 10.5 25t25.5 -10z" />+<glyph unicode="" d="M1048 1102l100 1q20 0 35 -14.5t15 -35.5l5 -1000q0 -21 -14.5 -35.5t-35.5 -14.5l-100 -1q-21 0 -35.5 14.5t-14.5 35.5l-2 437l-463 -454q-14 -15 -24.5 -10.5t-10.5 25.5l-2 437l-462 -455q-15 -14 -25.5 -9.5t-10.5 24.5l-5 1000q0 21 10.5 25.5t25.5 -10.5l466 -450 l-2 438q0 20 10.5 24.5t25.5 -9.5l466 -451l-2 438q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M850 1100h100q21 0 35.5 -14.5t14.5 -35.5v-1000q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v438l-464 -453q-15 -14 -25.5 -10t-10.5 25v1000q0 21 10.5 25t25.5 -10l464 -453v438q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M686 1081l501 -540q15 -15 10.5 -26t-26.5 -11h-1042q-22 0 -26.5 11t10.5 26l501 540q15 15 36 15t36 -15zM150 400h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M885 900l-352 -353l352 -353l-197 -198l-552 552l552 550z" />+<glyph unicode="" d="M1064 547l-551 -551l-198 198l353 353l-353 353l198 198z" />+<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM650 900h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-150h-150 q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -21 14.5 -35.5t35.5 -14.5h150v-150q0 -21 14.5 -35.5t35.5 -14.5h100q21 0 35.5 14.5t14.5 35.5v150h150q21 0 35.5 14.5t14.5 35.5v100q0 21 -14.5 35.5t-35.5 14.5h-150v150q0 21 -14.5 35.5t-35.5 14.5z" />+<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM850 700h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -21 14.5 -35.5 t35.5 -14.5h500q21 0 35.5 14.5t14.5 35.5v100q0 21 -14.5 35.5t-35.5 14.5z" />+<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM741.5 913q-12.5 0 -21.5 -9l-120 -120l-120 120q-9 9 -21.5 9 t-21.5 -9l-141 -141q-9 -9 -9 -21.5t9 -21.5l120 -120l-120 -120q-9 -9 -9 -21.5t9 -21.5l141 -141q9 -9 21.5 -9t21.5 9l120 120l120 -120q9 -9 21.5 -9t21.5 9l141 141q9 9 9 21.5t-9 21.5l-120 120l120 120q9 9 9 21.5t-9 21.5l-141 141q-9 9 -21.5 9z" />+<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM546 623l-84 85q-7 7 -17.5 7t-18.5 -7l-139 -139q-7 -8 -7 -18t7 -18 l242 -241q7 -8 17.5 -8t17.5 8l375 375q7 7 7 17.5t-7 18.5l-139 139q-7 7 -17.5 7t-17.5 -7z" />+<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM588 941q-29 0 -59 -5.5t-63 -20.5t-58 -38.5t-41.5 -63t-16.5 -89.5 q0 -25 20 -25h131q30 -5 35 11q6 20 20.5 28t45.5 8q20 0 31.5 -10.5t11.5 -28.5q0 -23 -7 -34t-26 -18q-1 0 -13.5 -4t-19.5 -7.5t-20 -10.5t-22 -17t-18.5 -24t-15.5 -35t-8 -46q-1 -8 5.5 -16.5t20.5 -8.5h173q7 0 22 8t35 28t37.5 48t29.5 74t12 100q0 47 -17 83 t-42.5 57t-59.5 34.5t-64 18t-59 4.5zM675 400h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5z" />+<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM675 1000h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5 t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5zM675 700h-250q-10 0 -17.5 -7.5t-7.5 -17.5v-50q0 -10 7.5 -17.5t17.5 -7.5h75v-200h-75q-10 0 -17.5 -7.5t-7.5 -17.5v-50q0 -10 7.5 -17.5t17.5 -7.5h350q10 0 17.5 7.5t7.5 17.5v50q0 10 -7.5 17.5 t-17.5 7.5h-75v275q0 10 -7.5 17.5t-17.5 7.5z" />+<glyph unicode="" d="M525 1200h150q10 0 17.5 -7.5t7.5 -17.5v-194q103 -27 178.5 -102.5t102.5 -178.5h194q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-194q-27 -103 -102.5 -178.5t-178.5 -102.5v-194q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v194 q-103 27 -178.5 102.5t-102.5 178.5h-194q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h194q27 103 102.5 178.5t178.5 102.5v194q0 10 7.5 17.5t17.5 7.5zM700 893v-168q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v168q-68 -23 -119 -74 t-74 -119h168q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-168q23 -68 74 -119t119 -74v168q0 10 7.5 17.5t17.5 7.5h150q10 0 17.5 -7.5t7.5 -17.5v-168q68 23 119 74t74 119h-168q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h168 q-23 68 -74 119t-119 74z" />+<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM759 823l64 -64q7 -7 7 -17.5t-7 -17.5l-124 -124l124 -124q7 -7 7 -17.5t-7 -17.5l-64 -64q-7 -7 -17.5 -7t-17.5 7l-124 124l-124 -124q-7 -7 -17.5 -7t-17.5 7l-64 64 q-7 7 -7 17.5t7 17.5l124 124l-124 124q-7 7 -7 17.5t7 17.5l64 64q7 7 17.5 7t17.5 -7l124 -124l124 124q7 7 17.5 7t17.5 -7z" />+<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM782 788l106 -106q7 -7 7 -17.5t-7 -17.5l-320 -321q-8 -7 -18 -7t-18 7l-202 203q-8 7 -8 17.5t8 17.5l106 106q7 8 17.5 8t17.5 -8l79 -79l197 197q7 7 17.5 7t17.5 -7z" />+<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5q0 -120 65 -225 l587 587q-105 65 -225 65zM965 819l-584 -584q104 -62 219 -62q116 0 214.5 57t155.5 155.5t57 214.5q0 115 -62 219z" />+<glyph unicode="" d="M39 582l522 427q16 13 27.5 8t11.5 -26v-291h550q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-550v-291q0 -21 -11.5 -26t-27.5 8l-522 427q-16 13 -16 32t16 32z" />+<glyph unicode="" d="M639 1009l522 -427q16 -13 16 -32t-16 -32l-522 -427q-16 -13 -27.5 -8t-11.5 26v291h-550q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h550v291q0 21 11.5 26t27.5 -8z" />+<glyph unicode="" d="M682 1161l427 -522q13 -16 8 -27.5t-26 -11.5h-291v-550q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v550h-291q-21 0 -26 11.5t8 27.5l427 522q13 16 32 16t32 -16z" />+<glyph unicode="" d="M550 1200h200q21 0 35.5 -14.5t14.5 -35.5v-550h291q21 0 26 -11.5t-8 -27.5l-427 -522q-13 -16 -32 -16t-32 16l-427 522q-13 16 -8 27.5t26 11.5h291v550q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M639 1109l522 -427q16 -13 16 -32t-16 -32l-522 -427q-16 -13 -27.5 -8t-11.5 26v291q-94 -2 -182 -20t-170.5 -52t-147 -92.5t-100.5 -135.5q5 105 27 193.5t67.5 167t113 135t167 91.5t225.5 42v262q0 21 11.5 26t27.5 -8z" />+<glyph unicode="" d="M850 1200h300q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -10.5 -25t-24.5 10l-94 94l-249 -249q-8 -7 -18 -7t-18 7l-106 106q-7 8 -7 18t7 18l249 249l-94 94q-14 14 -10 24.5t25 10.5zM350 0h-300q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 10.5 25t24.5 -10l94 -94l249 249 q8 7 18 7t18 -7l106 -106q7 -8 7 -18t-7 -18l-249 -249l94 -94q14 -14 10 -24.5t-25 -10.5z" />+<glyph unicode="" d="M1014 1120l106 -106q7 -8 7 -18t-7 -18l-249 -249l94 -94q14 -14 10 -24.5t-25 -10.5h-300q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 10.5 25t24.5 -10l94 -94l249 249q8 7 18 7t18 -7zM250 600h300q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -10.5 -25t-24.5 10l-94 94 l-249 -249q-8 -7 -18 -7t-18 7l-106 106q-7 8 -7 18t7 18l249 249l-94 94q-14 14 -10 24.5t25 10.5z" />+<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM704 900h-208q-20 0 -32 -14.5t-8 -34.5l58 -302q4 -20 21.5 -34.5 t37.5 -14.5h54q20 0 37.5 14.5t21.5 34.5l58 302q4 20 -8 34.5t-32 14.5zM675 400h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5z" />+<glyph unicode="" d="M260 1200q9 0 19 -2t15 -4l5 -2q22 -10 44 -23l196 -118q21 -13 36 -24q29 -21 37 -12q11 13 49 35l196 118q22 13 45 23q17 7 38 7q23 0 47 -16.5t37 -33.5l13 -16q14 -21 18 -45l25 -123l8 -44q1 -9 8.5 -14.5t17.5 -5.5h61q10 0 17.5 -7.5t7.5 -17.5v-50 q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 -7.5t-7.5 -17.5v-175h-400v300h-200v-300h-400v175q0 10 -7.5 17.5t-17.5 7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5h61q11 0 18 3t7 8q0 4 9 52l25 128q5 25 19 45q2 3 5 7t13.5 15t21.5 19.5t26.5 15.5 t29.5 7zM915 1079l-166 -162q-7 -7 -5 -12t12 -5h219q10 0 15 7t2 17l-51 149q-3 10 -11 12t-15 -6zM463 917l-177 157q-8 7 -16 5t-11 -12l-51 -143q-3 -10 2 -17t15 -7h231q11 0 12.5 5t-5.5 12zM500 0h-375q-10 0 -17.5 7.5t-7.5 17.5v375h400v-400zM1100 400v-375 q0 -10 -7.5 -17.5t-17.5 -7.5h-375v400h400z" />+<glyph unicode="" d="M1165 1190q8 3 21 -6.5t13 -17.5q-2 -178 -24.5 -323.5t-55.5 -245.5t-87 -174.5t-102.5 -118.5t-118 -68.5t-118.5 -33t-120 -4.5t-105 9.5t-90 16.5q-61 12 -78 11q-4 1 -12.5 0t-34 -14.5t-52.5 -40.5l-153 -153q-26 -24 -37 -14.5t-11 43.5q0 64 42 102q8 8 50.5 45 t66.5 58q19 17 35 47t13 61q-9 55 -10 102.5t7 111t37 130t78 129.5q39 51 80 88t89.5 63.5t94.5 45t113.5 36t129 31t157.5 37t182 47.5zM1116 1098q-8 9 -22.5 -3t-45.5 -50q-38 -47 -119 -103.5t-142 -89.5l-62 -33q-56 -30 -102 -57t-104 -68t-102.5 -80.5t-85.5 -91 t-64 -104.5q-24 -56 -31 -86t2 -32t31.5 17.5t55.5 59.5q25 30 94 75.5t125.5 77.5t147.5 81q70 37 118.5 69t102 79.5t99 111t86.5 148.5q22 50 24 60t-6 19z" />+<glyph unicode="" d="M653 1231q-39 -67 -54.5 -131t-10.5 -114.5t24.5 -96.5t47.5 -80t63.5 -62.5t68.5 -46.5t65 -30q-4 7 -17.5 35t-18.5 39.5t-17 39.5t-17 43t-13 42t-9.5 44.5t-2 42t4 43t13.5 39t23 38.5q96 -42 165 -107.5t105 -138t52 -156t13 -159t-19 -149.5q-13 -55 -44 -106.5 t-68 -87t-78.5 -64.5t-72.5 -45t-53 -22q-72 -22 -127 -11q-31 6 -13 19q6 3 17 7q13 5 32.5 21t41 44t38.5 63.5t21.5 81.5t-6.5 94.5t-50 107t-104 115.5q10 -104 -0.5 -189t-37 -140.5t-65 -93t-84 -52t-93.5 -11t-95 24.5q-80 36 -131.5 114t-53.5 171q-2 23 0 49.5 t4.5 52.5t13.5 56t27.5 60t46 64.5t69.5 68.5q-8 -53 -5 -102.5t17.5 -90t34 -68.5t44.5 -39t49 -2q31 13 38.5 36t-4.5 55t-29 64.5t-36 75t-26 75.5q-15 85 2 161.5t53.5 128.5t85.5 92.5t93.5 61t81.5 25.5z" />+<glyph unicode="" d="M600 1094q82 0 160.5 -22.5t140 -59t116.5 -82.5t94.5 -95t68 -95t42.5 -82.5t14 -57.5t-14 -57.5t-43 -82.5t-68.5 -95t-94.5 -95t-116.5 -82.5t-140 -59t-159.5 -22.5t-159.5 22.5t-140 59t-116.5 82.5t-94.5 95t-68.5 95t-43 82.5t-14 57.5t14 57.5t42.5 82.5t68 95 t94.5 95t116.5 82.5t140 59t160.5 22.5zM888 829q-15 15 -18 12t5 -22q25 -57 25 -119q0 -124 -88 -212t-212 -88t-212 88t-88 212q0 59 23 114q8 19 4.5 22t-17.5 -12q-70 -69 -160 -184q-13 -16 -15 -40.5t9 -42.5q22 -36 47 -71t70 -82t92.5 -81t113 -58.5t133.5 -24.5 t133.5 24t113 58.5t92.5 81.5t70 81.5t47 70.5q11 18 9 42.5t-14 41.5q-90 117 -163 189zM448 727l-35 -36q-15 -15 -19.5 -38.5t4.5 -41.5q37 -68 93 -116q16 -13 38.5 -11t36.5 17l35 34q14 15 12.5 33.5t-16.5 33.5q-44 44 -89 117q-11 18 -28 20t-32 -12z" />+<glyph unicode="" d="M592 0h-148l31 120q-91 20 -175.5 68.5t-143.5 106.5t-103.5 119t-66.5 110t-22 76q0 21 14 57.5t42.5 82.5t68 95t94.5 95t116.5 82.5t140 59t160.5 22.5q61 0 126 -15l32 121h148zM944 770l47 181q108 -85 176.5 -192t68.5 -159q0 -26 -19.5 -71t-59.5 -102t-93 -112 t-129 -104.5t-158 -75.5l46 173q77 49 136 117t97 131q11 18 9 42.5t-14 41.5q-54 70 -107 130zM310 824q-70 -69 -160 -184q-13 -16 -15 -40.5t9 -42.5q18 -30 39 -60t57 -70.5t74 -73t90 -61t105 -41.5l41 154q-107 18 -178.5 101.5t-71.5 193.5q0 59 23 114q8 19 4.5 22 t-17.5 -12zM448 727l-35 -36q-15 -15 -19.5 -38.5t4.5 -41.5q37 -68 93 -116q16 -13 38.5 -11t36.5 17l12 11l22 86l-3 4q-44 44 -89 117q-11 18 -28 20t-32 -12z" />+<glyph unicode="" d="M-90 100l642 1066q20 31 48 28.5t48 -35.5l642 -1056q21 -32 7.5 -67.5t-50.5 -35.5h-1294q-37 0 -50.5 34t7.5 66zM155 200h345v75q0 10 7.5 17.5t17.5 7.5h150q10 0 17.5 -7.5t7.5 -17.5v-75h345l-445 723zM496 700h208q20 0 32 -14.5t8 -34.5l-58 -252 q-4 -20 -21.5 -34.5t-37.5 -14.5h-54q-20 0 -37.5 14.5t-21.5 34.5l-58 252q-4 20 8 34.5t32 14.5z" />+<glyph unicode="" d="M650 1200q62 0 106 -44t44 -106v-339l363 -325q15 -14 26 -38.5t11 -44.5v-41q0 -20 -12 -26.5t-29 5.5l-359 249v-263q100 -93 100 -113v-64q0 -21 -13 -29t-32 1l-205 128l-205 -128q-19 -9 -32 -1t-13 29v64q0 20 100 113v263l-359 -249q-17 -12 -29 -5.5t-12 26.5v41 q0 20 11 44.5t26 38.5l363 325v339q0 62 44 106t106 44z" />+<glyph unicode="" d="M850 1200h100q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-150h-1100v150q0 21 14.5 35.5t35.5 14.5h50v50q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-50h500v50q0 21 14.5 35.5t35.5 14.5zM1100 800v-750q0 -21 -14.5 -35.5 t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v750h1100zM100 600v-100h100v100h-100zM300 600v-100h100v100h-100zM500 600v-100h100v100h-100zM700 600v-100h100v100h-100zM900 600v-100h100v100h-100zM100 400v-100h100v100h-100zM300 400v-100h100v100h-100zM500 400 v-100h100v100h-100zM700 400v-100h100v100h-100zM900 400v-100h100v100h-100zM100 200v-100h100v100h-100zM300 200v-100h100v100h-100zM500 200v-100h100v100h-100zM700 200v-100h100v100h-100zM900 200v-100h100v100h-100z" />+<glyph unicode="" d="M1135 1165l249 -230q15 -14 15 -35t-15 -35l-249 -230q-14 -14 -24.5 -10t-10.5 25v150h-159l-600 -600h-291q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h209l600 600h241v150q0 21 10.5 25t24.5 -10zM522 819l-141 -141l-122 122h-209q-21 0 -35.5 14.5 t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h291zM1135 565l249 -230q15 -14 15 -35t-15 -35l-249 -230q-14 -14 -24.5 -10t-10.5 25v150h-241l-181 181l141 141l122 -122h159v150q0 21 10.5 25t24.5 -10z" />+<glyph unicode="" d="M100 1100h1000q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-596l-304 -300v300h-100q-41 0 -70.5 29.5t-29.5 70.5v600q0 41 29.5 70.5t70.5 29.5z" />+<glyph unicode="" d="M150 1200h200q21 0 35.5 -14.5t14.5 -35.5v-250h-300v250q0 21 14.5 35.5t35.5 14.5zM850 1200h200q21 0 35.5 -14.5t14.5 -35.5v-250h-300v250q0 21 14.5 35.5t35.5 14.5zM1100 800v-300q0 -41 -3 -77.5t-15 -89.5t-32 -96t-58 -89t-89 -77t-129 -51t-174 -20t-174 20 t-129 51t-89 77t-58 89t-32 96t-15 89.5t-3 77.5v300h300v-250v-27v-42.5t1.5 -41t5 -38t10 -35t16.5 -30t25.5 -24.5t35 -19t46.5 -12t60 -4t60 4.5t46.5 12.5t35 19.5t25 25.5t17 30.5t10 35t5 38t2 40.5t-0.5 42v25v250h300z" />+<glyph unicode="" d="M1100 411l-198 -199l-353 353l-353 -353l-197 199l551 551z" />+<glyph unicode="" d="M1101 789l-550 -551l-551 551l198 199l353 -353l353 353z" />+<glyph unicode="" d="M404 1000h746q21 0 35.5 -14.5t14.5 -35.5v-551h150q21 0 25 -10.5t-10 -24.5l-230 -249q-14 -15 -35 -15t-35 15l-230 249q-14 14 -10 24.5t25 10.5h150v401h-381zM135 984l230 -249q14 -14 10 -24.5t-25 -10.5h-150v-400h385l215 -200h-750q-21 0 -35.5 14.5 t-14.5 35.5v550h-150q-21 0 -25 10.5t10 24.5l230 249q14 15 35 15t35 -15z" />+<glyph unicode="" d="M56 1200h94q17 0 31 -11t18 -27l38 -162h896q24 0 39 -18.5t10 -42.5l-100 -475q-5 -21 -27 -42.5t-55 -21.5h-633l48 -200h535q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-50q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v50h-300v-50 q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v50h-31q-18 0 -32.5 10t-20.5 19l-5 10l-201 961h-54q-20 0 -35 14.5t-15 35.5t15 35.5t35 14.5z" />+<glyph unicode="" d="M1200 1000v-100h-1200v100h200q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5h500zM0 800h1200v-800h-1200v800z" />+<glyph unicode="" d="M200 800l-200 -400v600h200q0 41 29.5 70.5t70.5 29.5h300q42 0 71 -29.5t29 -70.5h500v-200h-1000zM1500 700l-300 -700h-1200l300 700h1200z" />+<glyph unicode="" d="M635 1184l230 -249q14 -14 10 -24.5t-25 -10.5h-150v-601h150q21 0 25 -10.5t-10 -24.5l-230 -249q-14 -15 -35 -15t-35 15l-230 249q-14 14 -10 24.5t25 10.5h150v601h-150q-21 0 -25 10.5t10 24.5l230 249q14 15 35 15t35 -15z" />+<glyph unicode="" d="M936 864l249 -229q14 -15 14 -35.5t-14 -35.5l-249 -229q-15 -15 -25.5 -10.5t-10.5 24.5v151h-600v-151q0 -20 -10.5 -24.5t-25.5 10.5l-249 229q-14 15 -14 35.5t14 35.5l249 229q15 15 25.5 10.5t10.5 -25.5v-149h600v149q0 21 10.5 25.5t25.5 -10.5z" />+<glyph unicode="" d="M1169 400l-172 732q-5 23 -23 45.5t-38 22.5h-672q-20 0 -38 -20t-23 -41l-172 -739h1138zM1100 300h-1000q-41 0 -70.5 -29.5t-29.5 -70.5v-100q0 -41 29.5 -70.5t70.5 -29.5h1000q41 0 70.5 29.5t29.5 70.5v100q0 41 -29.5 70.5t-70.5 29.5zM800 100v100h100v-100h-100 zM1000 100v100h100v-100h-100z" />+<glyph unicode="" d="M1150 1100q21 0 35.5 -14.5t14.5 -35.5v-850q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v850q0 21 14.5 35.5t35.5 14.5zM1000 200l-675 200h-38l47 -276q3 -16 -5.5 -20t-29.5 -4h-7h-84q-20 0 -34.5 14t-18.5 35q-55 337 -55 351v250v6q0 16 1 23.5t6.5 14 t17.5 6.5h200l675 250v-850zM0 750v-250q-4 0 -11 0.5t-24 6t-30 15t-24 30t-11 48.5v50q0 26 10.5 46t25 30t29 16t25.5 7z" />+<glyph unicode="" d="M553 1200h94q20 0 29 -10.5t3 -29.5l-18 -37q83 -19 144 -82.5t76 -140.5l63 -327l118 -173h17q19 0 33 -14.5t14 -35t-13 -40.5t-31 -27q-8 -4 -23 -9.5t-65 -19.5t-103 -25t-132.5 -20t-158.5 -9q-57 0 -115 5t-104 12t-88.5 15.5t-73.5 17.5t-54.5 16t-35.5 12l-11 4 q-18 8 -31 28t-13 40.5t14 35t33 14.5h17l118 173l63 327q15 77 76 140t144 83l-18 32q-6 19 3.5 32t28.5 13zM498 110q50 -6 102 -6q53 0 102 6q-12 -49 -39.5 -79.5t-62.5 -30.5t-63 30.5t-39 79.5z" />+<glyph unicode="" d="M800 946l224 78l-78 -224l234 -45l-180 -155l180 -155l-234 -45l78 -224l-224 78l-45 -234l-155 180l-155 -180l-45 234l-224 -78l78 224l-234 45l180 155l-180 155l234 45l-78 224l224 -78l45 234l155 -180l155 180z" />+<glyph unicode="" d="M650 1200h50q40 0 70 -40.5t30 -84.5v-150l-28 -125h328q40 0 70 -40.5t30 -84.5v-100q0 -45 -29 -74l-238 -344q-16 -24 -38 -40.5t-45 -16.5h-250q-7 0 -42 25t-66 50l-31 25h-61q-45 0 -72.5 18t-27.5 57v400q0 36 20 63l145 196l96 198q13 28 37.5 48t51.5 20z M650 1100l-100 -212l-150 -213v-375h100l136 -100h214l250 375v125h-450l50 225v175h-50zM50 800h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v500q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M600 1100h250q23 0 45 -16.5t38 -40.5l238 -344q29 -29 29 -74v-100q0 -44 -30 -84.5t-70 -40.5h-328q28 -118 28 -125v-150q0 -44 -30 -84.5t-70 -40.5h-50q-27 0 -51.5 20t-37.5 48l-96 198l-145 196q-20 27 -20 63v400q0 39 27.5 57t72.5 18h61q124 100 139 100z M50 1000h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v500q0 21 14.5 35.5t35.5 14.5zM636 1000l-136 -100h-100v-375l150 -213l100 -212h50v175l-50 225h450v125l-250 375h-214z" />+<glyph unicode="" d="M356 873l363 230q31 16 53 -6l110 -112q13 -13 13.5 -32t-11.5 -34l-84 -121h302q84 0 138 -38t54 -110t-55 -111t-139 -39h-106l-131 -339q-6 -21 -19.5 -41t-28.5 -20h-342q-7 0 -90 81t-83 94v525q0 17 14 35.5t28 28.5zM400 792v-503l100 -89h293l131 339 q6 21 19.5 41t28.5 20h203q21 0 30.5 25t0.5 50t-31 25h-456h-7h-6h-5.5t-6 0.5t-5 1.5t-5 2t-4 2.5t-4 4t-2.5 4.5q-12 25 5 47l146 183l-86 83zM50 800h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v500 q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M475 1103l366 -230q2 -1 6 -3.5t14 -10.5t18 -16.5t14.5 -20t6.5 -22.5v-525q0 -13 -86 -94t-93 -81h-342q-15 0 -28.5 20t-19.5 41l-131 339h-106q-85 0 -139.5 39t-54.5 111t54 110t138 38h302l-85 121q-11 15 -10.5 34t13.5 32l110 112q22 22 53 6zM370 945l146 -183 q17 -22 5 -47q-2 -2 -3.5 -4.5t-4 -4t-4 -2.5t-5 -2t-5 -1.5t-6 -0.5h-6h-6.5h-6h-475v-100h221q15 0 29 -20t20 -41l130 -339h294l106 89v503l-342 236zM1050 800h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5 v500q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M550 1294q72 0 111 -55t39 -139v-106l339 -131q21 -6 41 -19.5t20 -28.5v-342q0 -7 -81 -90t-94 -83h-525q-17 0 -35.5 14t-28.5 28l-9 14l-230 363q-16 31 6 53l112 110q13 13 32 13.5t34 -11.5l121 -84v302q0 84 38 138t110 54zM600 972v203q0 21 -25 30.5t-50 0.5 t-25 -31v-456v-7v-6v-5.5t-0.5 -6t-1.5 -5t-2 -5t-2.5 -4t-4 -4t-4.5 -2.5q-25 -12 -47 5l-183 146l-83 -86l236 -339h503l89 100v293l-339 131q-21 6 -41 19.5t-20 28.5zM450 200h500q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-500 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M350 1100h500q21 0 35.5 14.5t14.5 35.5v100q0 21 -14.5 35.5t-35.5 14.5h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -21 14.5 -35.5t35.5 -14.5zM600 306v-106q0 -84 -39 -139t-111 -55t-110 54t-38 138v302l-121 -84q-15 -12 -34 -11.5t-32 13.5l-112 110 q-22 22 -6 53l230 363q1 2 3.5 6t10.5 13.5t16.5 17t20 13.5t22.5 6h525q13 0 94 -83t81 -90v-342q0 -15 -20 -28.5t-41 -19.5zM308 900l-236 -339l83 -86l183 146q22 17 47 5q2 -1 4.5 -2.5t4 -4t2.5 -4t2 -5t1.5 -5t0.5 -6v-5.5v-6v-7v-456q0 -22 25 -31t50 0.5t25 30.5 v203q0 15 20 28.5t41 19.5l339 131v293l-89 100h-503z" />+<glyph unicode="" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM914 632l-275 223q-16 13 -27.5 8t-11.5 -26v-137h-275 q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h275v-137q0 -21 11.5 -26t27.5 8l275 223q16 13 16 32t-16 32z" />+<glyph unicode="" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM561 855l-275 -223q-16 -13 -16 -32t16 -32l275 -223q16 -13 27.5 -8 t11.5 26v137h275q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5h-275v137q0 21 -11.5 26t-27.5 -8z" />+<glyph unicode="" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM855 639l-223 275q-13 16 -32 16t-32 -16l-223 -275q-13 -16 -8 -27.5 t26 -11.5h137v-275q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v275h137q21 0 26 11.5t-8 27.5z" />+<glyph unicode="" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM675 900h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-275h-137q-21 0 -26 -11.5 t8 -27.5l223 -275q13 -16 32 -16t32 16l223 275q13 16 8 27.5t-26 11.5h-137v275q0 10 -7.5 17.5t-17.5 7.5z" />+<glyph unicode="" d="M600 1176q116 0 222.5 -46t184 -123.5t123.5 -184t46 -222.5t-46 -222.5t-123.5 -184t-184 -123.5t-222.5 -46t-222.5 46t-184 123.5t-123.5 184t-46 222.5t46 222.5t123.5 184t184 123.5t222.5 46zM627 1101q-15 -12 -36.5 -20.5t-35.5 -12t-43 -8t-39 -6.5 q-15 -3 -45.5 0t-45.5 -2q-20 -7 -51.5 -26.5t-34.5 -34.5q-3 -11 6.5 -22.5t8.5 -18.5q-3 -34 -27.5 -91t-29.5 -79q-9 -34 5 -93t8 -87q0 -9 17 -44.5t16 -59.5q12 0 23 -5t23.5 -15t19.5 -14q16 -8 33 -15t40.5 -15t34.5 -12q21 -9 52.5 -32t60 -38t57.5 -11 q7 -15 -3 -34t-22.5 -40t-9.5 -38q13 -21 23 -34.5t27.5 -27.5t36.5 -18q0 -7 -3.5 -16t-3.5 -14t5 -17q104 -2 221 112q30 29 46.5 47t34.5 49t21 63q-13 8 -37 8.5t-36 7.5q-15 7 -49.5 15t-51.5 19q-18 0 -41 -0.5t-43 -1.5t-42 -6.5t-38 -16.5q-51 -35 -66 -12 q-4 1 -3.5 25.5t0.5 25.5q-6 13 -26.5 17.5t-24.5 6.5q1 15 -0.5 30.5t-7 28t-18.5 11.5t-31 -21q-23 -25 -42 4q-19 28 -8 58q6 16 22 22q6 -1 26 -1.5t33.5 -4t19.5 -13.5q7 -12 18 -24t21.5 -20.5t20 -15t15.5 -10.5l5 -3q2 12 7.5 30.5t8 34.5t-0.5 32q-3 18 3.5 29 t18 22.5t15.5 24.5q6 14 10.5 35t8 31t15.5 22.5t34 22.5q-6 18 10 36q8 0 24 -1.5t24.5 -1.5t20 4.5t20.5 15.5q-10 23 -31 42.5t-37.5 29.5t-49 27t-43.5 23q0 1 2 8t3 11.5t1.5 10.5t-1 9.5t-4.5 4.5q31 -13 58.5 -14.5t38.5 2.5l12 5q5 28 -9.5 46t-36.5 24t-50 15 t-41 20q-18 -4 -37 0zM613 994q0 -17 8 -42t17 -45t9 -23q-8 1 -39.5 5.5t-52.5 10t-37 16.5q3 11 16 29.5t16 25.5q10 -10 19 -10t14 6t13.5 14.5t16.5 12.5z" />+<glyph unicode="" d="M756 1157q164 92 306 -9l-259 -138l145 -232l251 126q6 -89 -34 -156.5t-117 -110.5q-60 -34 -127 -39.5t-126 16.5l-596 -596q-15 -16 -36.5 -16t-36.5 16l-111 110q-15 15 -15 36.5t15 37.5l600 599q-34 101 5.5 201.5t135.5 154.5z" />+<glyph unicode="" horiz-adv-x="1220" d="M100 1196h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 1096h-200v-100h200v100zM100 796h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 696h-500v-100h500v100zM100 396h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 296h-300v-100h300v100z " />+<glyph unicode="" d="M150 1200h900q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM700 500v-300l-200 -200v500l-350 500h900z" />+<glyph unicode="" d="M500 1200h200q41 0 70.5 -29.5t29.5 -70.5v-100h300q41 0 70.5 -29.5t29.5 -70.5v-400h-500v100h-200v-100h-500v400q0 41 29.5 70.5t70.5 29.5h300v100q0 41 29.5 70.5t70.5 29.5zM500 1100v-100h200v100h-200zM1200 400v-200q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5v200h1200z" />+<glyph unicode="" d="M50 1200h300q21 0 25 -10.5t-10 -24.5l-94 -94l199 -199q7 -8 7 -18t-7 -18l-106 -106q-8 -7 -18 -7t-18 7l-199 199l-94 -94q-14 -14 -24.5 -10t-10.5 25v300q0 21 14.5 35.5t35.5 14.5zM850 1200h300q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -10.5 -25t-24.5 10l-94 94 l-199 -199q-8 -7 -18 -7t-18 7l-106 106q-7 8 -7 18t7 18l199 199l-94 94q-14 14 -10 24.5t25 10.5zM364 470l106 -106q7 -8 7 -18t-7 -18l-199 -199l94 -94q14 -14 10 -24.5t-25 -10.5h-300q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 10.5 25t24.5 -10l94 -94l199 199 q8 7 18 7t18 -7zM1071 271l94 94q14 14 24.5 10t10.5 -25v-300q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -25 10.5t10 24.5l94 94l-199 199q-7 8 -7 18t7 18l106 106q8 7 18 7t18 -7z" />+<glyph unicode="" d="M596 1192q121 0 231.5 -47.5t190 -127t127 -190t47.5 -231.5t-47.5 -231.5t-127 -190.5t-190 -127t-231.5 -47t-231.5 47t-190.5 127t-127 190.5t-47 231.5t47 231.5t127 190t190.5 127t231.5 47.5zM596 1010q-112 0 -207.5 -55.5t-151 -151t-55.5 -207.5t55.5 -207.5 t151 -151t207.5 -55.5t207.5 55.5t151 151t55.5 207.5t-55.5 207.5t-151 151t-207.5 55.5zM454.5 905q22.5 0 38.5 -16t16 -38.5t-16 -39t-38.5 -16.5t-38.5 16.5t-16 39t16 38.5t38.5 16zM754.5 905q22.5 0 38.5 -16t16 -38.5t-16 -39t-38 -16.5q-14 0 -29 10l-55 -145 q17 -23 17 -51q0 -36 -25.5 -61.5t-61.5 -25.5t-61.5 25.5t-25.5 61.5q0 32 20.5 56.5t51.5 29.5l122 126l1 1q-9 14 -9 28q0 23 16 39t38.5 16zM345.5 709q22.5 0 38.5 -16t16 -38.5t-16 -38.5t-38.5 -16t-38.5 16t-16 38.5t16 38.5t38.5 16zM854.5 709q22.5 0 38.5 -16 t16 -38.5t-16 -38.5t-38.5 -16t-38.5 16t-16 38.5t16 38.5t38.5 16z" />+<glyph unicode="" d="M546 173l469 470q91 91 99 192q7 98 -52 175.5t-154 94.5q-22 4 -47 4q-34 0 -66.5 -10t-56.5 -23t-55.5 -38t-48 -41.5t-48.5 -47.5q-376 -375 -391 -390q-30 -27 -45 -41.5t-37.5 -41t-32 -46.5t-16 -47.5t-1.5 -56.5q9 -62 53.5 -95t99.5 -33q74 0 125 51l548 548 q36 36 20 75q-7 16 -21.5 26t-32.5 10q-26 0 -50 -23q-13 -12 -39 -38l-341 -338q-15 -15 -35.5 -15.5t-34.5 13.5t-14 34.5t14 34.5q327 333 361 367q35 35 67.5 51.5t78.5 16.5q14 0 29 -1q44 -8 74.5 -35.5t43.5 -68.5q14 -47 2 -96.5t-47 -84.5q-12 -11 -32 -32 t-79.5 -81t-114.5 -115t-124.5 -123.5t-123 -119.5t-96.5 -89t-57 -45q-56 -27 -120 -27q-70 0 -129 32t-93 89q-48 78 -35 173t81 163l511 511q71 72 111 96q91 55 198 55q80 0 152 -33q78 -36 129.5 -103t66.5 -154q17 -93 -11 -183.5t-94 -156.5l-482 -476 q-15 -15 -36 -16t-37 14t-17.5 34t14.5 35z" />+<glyph unicode="" d="M649 949q48 68 109.5 104t121.5 38.5t118.5 -20t102.5 -64t71 -100.5t27 -123q0 -57 -33.5 -117.5t-94 -124.5t-126.5 -127.5t-150 -152.5t-146 -174q-62 85 -145.5 174t-150 152.5t-126.5 127.5t-93.5 124.5t-33.5 117.5q0 64 28 123t73 100.5t104 64t119 20 t120.5 -38.5t104.5 -104zM896 972q-33 0 -64.5 -19t-56.5 -46t-47.5 -53.5t-43.5 -45.5t-37.5 -19t-36 19t-40 45.5t-43 53.5t-54 46t-65.5 19q-67 0 -122.5 -55.5t-55.5 -132.5q0 -23 13.5 -51t46 -65t57.5 -63t76 -75l22 -22q15 -14 44 -44t50.5 -51t46 -44t41 -35t23 -12 t23.5 12t42.5 36t46 44t52.5 52t44 43q4 4 12 13q43 41 63.5 62t52 55t46 55t26 46t11.5 44q0 79 -53 133.5t-120 54.5z" />+<glyph unicode="" d="M776.5 1214q93.5 0 159.5 -66l141 -141q66 -66 66 -160q0 -42 -28 -95.5t-62 -87.5l-29 -29q-31 53 -77 99l-18 18l95 95l-247 248l-389 -389l212 -212l-105 -106l-19 18l-141 141q-66 66 -66 159t66 159l283 283q65 66 158.5 66zM600 706l105 105q10 -8 19 -17l141 -141 q66 -66 66 -159t-66 -159l-283 -283q-66 -66 -159 -66t-159 66l-141 141q-66 66 -66 159.5t66 159.5l55 55q29 -55 75 -102l18 -17l-95 -95l247 -248l389 389z" />+<glyph unicode="" d="M603 1200q85 0 162 -15t127 -38t79 -48t29 -46v-953q0 -41 -29.5 -70.5t-70.5 -29.5h-600q-41 0 -70.5 29.5t-29.5 70.5v953q0 21 30 46.5t81 48t129 37.5t163 15zM300 1000v-700h600v700h-600zM600 254q-43 0 -73.5 -30.5t-30.5 -73.5t30.5 -73.5t73.5 -30.5t73.5 30.5 t30.5 73.5t-30.5 73.5t-73.5 30.5z" />+<glyph unicode="" d="M902 1185l283 -282q15 -15 15 -36t-14.5 -35.5t-35.5 -14.5t-35 15l-36 35l-279 -267v-300l-212 210l-308 -307l-280 -203l203 280l307 308l-210 212h300l267 279l-35 36q-15 14 -15 35t14.5 35.5t35.5 14.5t35 -15z" />+<glyph unicode="" d="M700 1248v-78q38 -5 72.5 -14.5t75.5 -31.5t71 -53.5t52 -84t24 -118.5h-159q-4 36 -10.5 59t-21 45t-40 35.5t-64.5 20.5v-307l64 -13q34 -7 64 -16.5t70 -32t67.5 -52.5t47.5 -80t20 -112q0 -139 -89 -224t-244 -97v-77h-100v79q-150 16 -237 103q-40 40 -52.5 93.5 t-15.5 139.5h139q5 -77 48.5 -126t117.5 -65v335l-27 8q-46 14 -79 26.5t-72 36t-63 52t-40 72.5t-16 98q0 70 25 126t67.5 92t94.5 57t110 27v77h100zM600 754v274q-29 -4 -50 -11t-42 -21.5t-31.5 -41.5t-10.5 -65q0 -29 7 -50.5t16.5 -34t28.5 -22.5t31.5 -14t37.5 -10 q9 -3 13 -4zM700 547v-310q22 2 42.5 6.5t45 15.5t41.5 27t29 42t12 59.5t-12.5 59.5t-38 44.5t-53 31t-66.5 24.5z" />+<glyph unicode="" d="M561 1197q84 0 160.5 -40t123.5 -109.5t47 -147.5h-153q0 40 -19.5 71.5t-49.5 48.5t-59.5 26t-55.5 9q-37 0 -79 -14.5t-62 -35.5q-41 -44 -41 -101q0 -26 13.5 -63t26.5 -61t37 -66q6 -9 9 -14h241v-100h-197q8 -50 -2.5 -115t-31.5 -95q-45 -62 -99 -112 q34 10 83 17.5t71 7.5q32 1 102 -16t104 -17q83 0 136 30l50 -147q-31 -19 -58 -30.5t-55 -15.5t-42 -4.5t-46 -0.5q-23 0 -76 17t-111 32.5t-96 11.5q-39 -3 -82 -16t-67 -25l-23 -11l-55 145q4 3 16 11t15.5 10.5t13 9t15.5 12t14.5 14t17.5 18.5q48 55 54 126.5 t-30 142.5h-221v100h166q-23 47 -44 104q-7 20 -12 41.5t-6 55.5t6 66.5t29.5 70.5t58.5 71q97 88 263 88z" />+<glyph unicode="" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM935 1184l230 -249q14 -14 10 -24.5t-25 -10.5h-150v-900h-200v900h-150q-21 0 -25 10.5t10 24.5l230 249q14 15 35 15t35 -15z" />+<glyph unicode="" d="M1000 700h-100v100h-100v-100h-100v500h300v-500zM400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM801 1100v-200h100v200h-100zM1000 350l-200 -250h200v-100h-300v150l200 250h-200v100h300v-150z " />+<glyph unicode="" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1000 1050l-200 -250h200v-100h-300v150l200 250h-200v100h300v-150zM1000 0h-100v100h-100v-100h-100v500h300v-500zM801 400v-200h100v200h-100z " />+<glyph unicode="" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1000 700h-100v400h-100v100h200v-500zM1100 0h-100v100h-200v400h300v-500zM901 400v-200h100v200h-100z" />+<glyph unicode="" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1100 700h-100v100h-200v400h300v-500zM901 1100v-200h100v200h-100zM1000 0h-100v400h-100v100h200v-500z" />+<glyph unicode="" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM900 1000h-200v200h200v-200zM1000 700h-300v200h300v-200zM1100 400h-400v200h400v-200zM1200 100h-500v200h500v-200z" />+<glyph unicode="" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1200 1000h-500v200h500v-200zM1100 700h-400v200h400v-200zM1000 400h-300v200h300v-200zM900 100h-200v200h200v-200z" />+<glyph unicode="" d="M350 1100h400q162 0 256 -93.5t94 -256.5v-400q0 -165 -93.5 -257.5t-256.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5z" />+<glyph unicode="" d="M350 1100h400q165 0 257.5 -92.5t92.5 -257.5v-400q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-163 0 -256.5 92.5t-93.5 257.5v400q0 163 94 256.5t256 93.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5zM440 770l253 -190q17 -12 17 -30t-17 -30l-253 -190q-16 -12 -28 -6.5t-12 26.5v400q0 21 12 26.5t28 -6.5z" />+<glyph unicode="" d="M350 1100h400q163 0 256.5 -94t93.5 -256v-400q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 163 92.5 256.5t257.5 93.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5zM350 700h400q21 0 26.5 -12t-6.5 -28l-190 -253q-12 -17 -30 -17t-30 17l-190 253q-12 16 -6.5 28t26.5 12z" />+<glyph unicode="" d="M350 1100h400q165 0 257.5 -92.5t92.5 -257.5v-400q0 -163 -92.5 -256.5t-257.5 -93.5h-400q-163 0 -256.5 94t-93.5 256v400q0 165 92.5 257.5t257.5 92.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5zM580 693l190 -253q12 -16 6.5 -28t-26.5 -12h-400q-21 0 -26.5 12t6.5 28l190 253q12 17 30 17t30 -17z" />+<glyph unicode="" d="M550 1100h400q165 0 257.5 -92.5t92.5 -257.5v-400q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h450q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5h-450q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM338 867l324 -284q16 -14 16 -33t-16 -33l-324 -284q-16 -14 -27 -9t-11 26v150h-250q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h250v150q0 21 11 26t27 -9z" />+<glyph unicode="" d="M793 1182l9 -9q8 -10 5 -27q-3 -11 -79 -225.5t-78 -221.5l300 1q24 0 32.5 -17.5t-5.5 -35.5q-1 0 -133.5 -155t-267 -312.5t-138.5 -162.5q-12 -15 -26 -15h-9l-9 8q-9 11 -4 32q2 9 42 123.5t79 224.5l39 110h-302q-23 0 -31 19q-10 21 6 41q75 86 209.5 237.5 t228 257t98.5 111.5q9 16 25 16h9z" />+<glyph unicode="" d="M350 1100h400q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-450q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h450q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400 q0 165 92.5 257.5t257.5 92.5zM938 867l324 -284q16 -14 16 -33t-16 -33l-324 -284q-16 -14 -27 -9t-11 26v150h-250q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h250v150q0 21 11 26t27 -9z" />+<glyph unicode="" d="M750 1200h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -10.5 -25t-24.5 10l-109 109l-312 -312q-15 -15 -35.5 -15t-35.5 15l-141 141q-15 15 -15 35.5t15 35.5l312 312l-109 109q-14 14 -10 24.5t25 10.5zM456 900h-156q-41 0 -70.5 -29.5t-29.5 -70.5v-500 q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v148l200 200v-298q0 -165 -93.5 -257.5t-256.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5h300z" />+<glyph unicode="" d="M600 1186q119 0 227.5 -46.5t187 -125t125 -187t46.5 -227.5t-46.5 -227.5t-125 -187t-187 -125t-227.5 -46.5t-227.5 46.5t-187 125t-125 187t-46.5 227.5t46.5 227.5t125 187t187 125t227.5 46.5zM600 1022q-115 0 -212 -56.5t-153.5 -153.5t-56.5 -212t56.5 -212 t153.5 -153.5t212 -56.5t212 56.5t153.5 153.5t56.5 212t-56.5 212t-153.5 153.5t-212 56.5zM600 794q80 0 137 -57t57 -137t-57 -137t-137 -57t-137 57t-57 137t57 137t137 57z" />+<glyph unicode="" d="M450 1200h200q21 0 35.5 -14.5t14.5 -35.5v-350h245q20 0 25 -11t-9 -26l-383 -426q-14 -15 -33.5 -15t-32.5 15l-379 426q-13 15 -8.5 26t25.5 11h250v350q0 21 14.5 35.5t35.5 14.5zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5z M900 200v-50h100v50h-100z" />+<glyph unicode="" d="M583 1182l378 -435q14 -15 9 -31t-26 -16h-244v-250q0 -20 -17 -35t-39 -15h-200q-20 0 -32 14.5t-12 35.5v250h-250q-20 0 -25.5 16.5t8.5 31.5l383 431q14 16 33.5 17t33.5 -14zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5z M900 200v-50h100v50h-100z" />+<glyph unicode="" d="M396 723l369 369q7 7 17.5 7t17.5 -7l139 -139q7 -8 7 -18.5t-7 -17.5l-525 -525q-7 -8 -17.5 -8t-17.5 8l-292 291q-7 8 -7 18t7 18l139 139q8 7 18.5 7t17.5 -7zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5zM900 200v-50h100v50 h-100z" />+<glyph unicode="" d="M135 1023l142 142q14 14 35 14t35 -14l77 -77l-212 -212l-77 76q-14 15 -14 36t14 35zM655 855l210 210q14 14 24.5 10t10.5 -25l-2 -599q-1 -20 -15.5 -35t-35.5 -15l-597 -1q-21 0 -25 10.5t10 24.5l208 208l-154 155l212 212zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5 v-250h-1100v250q0 21 14.5 35.5t35.5 14.5zM900 200v-50h100v50h-100z" />+<glyph unicode="" d="M350 1200l599 -2q20 -1 35 -15.5t15 -35.5l1 -597q0 -21 -10.5 -25t-24.5 10l-208 208l-155 -154l-212 212l155 154l-210 210q-14 14 -10 24.5t25 10.5zM524 512l-76 -77q-15 -14 -36 -14t-35 14l-142 142q-14 14 -14 35t14 35l77 77zM50 300h1000q21 0 35.5 -14.5 t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5zM900 200v-50h100v50h-100z" />+<glyph unicode="" d="M1200 103l-483 276l-314 -399v423h-399l1196 796v-1096zM483 424v-230l683 953z" />+<glyph unicode="" d="M1100 1000v-850q0 -21 -14.5 -35.5t-35.5 -14.5h-150v400h-700v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200z" />+<glyph unicode="" d="M1100 1000l-2 -149l-299 -299l-95 95q-9 9 -21.5 9t-21.5 -9l-149 -147h-312v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM1132 638l106 -106q7 -7 7 -17.5t-7 -17.5l-420 -421q-8 -7 -18 -7 t-18 7l-202 203q-8 7 -8 17.5t8 17.5l106 106q7 8 17.5 8t17.5 -8l79 -79l297 297q7 7 17.5 7t17.5 -7z" />+<glyph unicode="" d="M1100 1000v-269l-103 -103l-134 134q-15 15 -33.5 16.5t-34.5 -12.5l-266 -266h-329v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM1202 572l70 -70q15 -15 15 -35.5t-15 -35.5l-131 -131 l131 -131q15 -15 15 -35.5t-15 -35.5l-70 -70q-15 -15 -35.5 -15t-35.5 15l-131 131l-131 -131q-15 -15 -35.5 -15t-35.5 15l-70 70q-15 15 -15 35.5t15 35.5l131 131l-131 131q-15 15 -15 35.5t15 35.5l70 70q15 15 35.5 15t35.5 -15l131 -131l131 131q15 15 35.5 15 t35.5 -15z" />+<glyph unicode="" d="M1100 1000v-300h-350q-21 0 -35.5 -14.5t-14.5 -35.5v-150h-500v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM850 600h100q21 0 35.5 -14.5t14.5 -35.5v-250h150q21 0 25 -10.5t-10 -24.5 l-230 -230q-14 -14 -35 -14t-35 14l-230 230q-14 14 -10 24.5t25 10.5h150v250q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M1100 1000v-400l-165 165q-14 15 -35 15t-35 -15l-263 -265h-402v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM935 565l230 -229q14 -15 10 -25.5t-25 -10.5h-150v-250q0 -20 -14.5 -35 t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35v250h-150q-21 0 -25 10.5t10 25.5l230 229q14 15 35 15t35 -15z" />+<glyph unicode="" d="M50 1100h1100q21 0 35.5 -14.5t14.5 -35.5v-150h-1200v150q0 21 14.5 35.5t35.5 14.5zM1200 800v-550q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v550h1200zM100 500v-200h400v200h-400z" />+<glyph unicode="" d="M935 1165l248 -230q14 -14 14 -35t-14 -35l-248 -230q-14 -14 -24.5 -10t-10.5 25v150h-400v200h400v150q0 21 10.5 25t24.5 -10zM200 800h-50q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h50v-200zM400 800h-100v200h100v-200zM18 435l247 230 q14 14 24.5 10t10.5 -25v-150h400v-200h-400v-150q0 -21 -10.5 -25t-24.5 10l-247 230q-15 14 -15 35t15 35zM900 300h-100v200h100v-200zM1000 500h51q20 0 34.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-34.5 -14.5h-51v200z" />+<glyph unicode="" d="M862 1073l276 116q25 18 43.5 8t18.5 -41v-1106q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v397q-4 1 -11 5t-24 17.5t-30 29t-24 42t-11 56.5v359q0 31 18.5 65t43.5 52zM550 1200q22 0 34.5 -12.5t14.5 -24.5l1 -13v-450q0 -28 -10.5 -59.5 t-25 -56t-29 -45t-25.5 -31.5l-10 -11v-447q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v447q-4 4 -11 11.5t-24 30.5t-30 46t-24 55t-11 60v450q0 2 0.5 5.5t4 12t8.5 15t14.5 12t22.5 5.5q20 0 32.5 -12.5t14.5 -24.5l3 -13v-350h100v350v5.5t2.5 12 t7 15t15 12t25.5 5.5q23 0 35.5 -12.5t13.5 -24.5l1 -13v-350h100v350q0 2 0.5 5.5t3 12t7 15t15 12t24.5 5.5z" />+<glyph unicode="" d="M1200 1100v-56q-4 0 -11 -0.5t-24 -3t-30 -7.5t-24 -15t-11 -24v-888q0 -22 25 -34.5t50 -13.5l25 -2v-56h-400v56q75 0 87.5 6.5t12.5 43.5v394h-500v-394q0 -37 12.5 -43.5t87.5 -6.5v-56h-400v56q4 0 11 0.5t24 3t30 7.5t24 15t11 24v888q0 22 -25 34.5t-50 13.5 l-25 2v56h400v-56q-75 0 -87.5 -6.5t-12.5 -43.5v-394h500v394q0 37 -12.5 43.5t-87.5 6.5v56h400z" />+<glyph unicode="" d="M675 1000h375q21 0 35.5 -14.5t14.5 -35.5v-150h-105l-295 -98v98l-200 200h-400l100 100h375zM100 900h300q41 0 70.5 -29.5t29.5 -70.5v-500q0 -41 -29.5 -70.5t-70.5 -29.5h-300q-41 0 -70.5 29.5t-29.5 70.5v500q0 41 29.5 70.5t70.5 29.5zM100 800v-200h300v200 h-300zM1100 535l-400 -133v163l400 133v-163zM100 500v-200h300v200h-300zM1100 398v-248q0 -21 -14.5 -35.5t-35.5 -14.5h-375l-100 -100h-375l-100 100h400l200 200h105z" />+<glyph unicode="" d="M17 1007l162 162q17 17 40 14t37 -22l139 -194q14 -20 11 -44.5t-20 -41.5l-119 -118q102 -142 228 -268t267 -227l119 118q17 17 42.5 19t44.5 -12l192 -136q19 -14 22.5 -37.5t-13.5 -40.5l-163 -162q-3 -1 -9.5 -1t-29.5 2t-47.5 6t-62.5 14.5t-77.5 26.5t-90 42.5 t-101.5 60t-111 83t-119 108.5q-74 74 -133.5 150.5t-94.5 138.5t-60 119.5t-34.5 100t-15 74.5t-4.5 48z" />+<glyph unicode="" d="M600 1100q92 0 175 -10.5t141.5 -27t108.5 -36.5t81.5 -40t53.5 -37t31 -27l9 -10v-200q0 -21 -14.5 -33t-34.5 -9l-202 34q-20 3 -34.5 20t-14.5 38v146q-141 24 -300 24t-300 -24v-146q0 -21 -14.5 -38t-34.5 -20l-202 -34q-20 -3 -34.5 9t-14.5 33v200q3 4 9.5 10.5 t31 26t54 37.5t80.5 39.5t109 37.5t141 26.5t175 10.5zM600 795q56 0 97 -9.5t60 -23.5t30 -28t12 -24l1 -10v-50l365 -303q14 -15 24.5 -40t10.5 -45v-212q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v212q0 20 10.5 45t24.5 40l365 303v50 q0 4 1 10.5t12 23t30 29t60 22.5t97 10z" />+<glyph unicode="" d="M1100 700l-200 -200h-600l-200 200v500h200v-200h200v200h200v-200h200v200h200v-500zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-12l137 -100h-950l137 100h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5 t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M700 1100h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-1000h300v1000q0 41 -29.5 70.5t-70.5 29.5zM1100 800h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-700h300v700q0 41 -29.5 70.5t-70.5 29.5zM400 0h-300v400q0 41 29.5 70.5t70.5 29.5h100q41 0 70.5 -29.5t29.5 -70.5v-400z " />+<glyph unicode="" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 700h-200v-100h200v-300h-300v100h200v100h-200v300h300v-100zM900 700v-300l-100 -100h-200v500h200z M700 700v-300h100v300h-100z" />+<glyph unicode="" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 300h-100v200h-100v-200h-100v500h100v-200h100v200h100v-500zM900 700v-300l-100 -100h-200v500h200z M700 700v-300h100v300h-100z" />+<glyph unicode="" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 700h-200v-300h200v-100h-300v500h300v-100zM900 700h-200v-300h200v-100h-300v500h300v-100z" />+<glyph unicode="" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 400l-300 150l300 150v-300zM900 550l-300 -150v300z" />+<glyph unicode="" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM900 300h-700v500h700v-500zM800 700h-130q-38 0 -66.5 -43t-28.5 -108t27 -107t68 -42h130v300zM300 700v-300 h130q41 0 68 42t27 107t-28.5 108t-66.5 43h-130z" />+<glyph unicode="" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 700h-200v-100h200v-300h-300v100h200v100h-200v300h300v-100zM900 300h-100v400h-100v100h200v-500z M700 300h-100v100h100v-100z" />+<glyph unicode="" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM300 700h200v-400h-300v500h100v-100zM900 300h-100v400h-100v100h200v-500zM300 600v-200h100v200h-100z M700 300h-100v100h100v-100z" />+<glyph unicode="" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 500l-199 -200h-100v50l199 200v150h-200v100h300v-300zM900 300h-100v400h-100v100h200v-500zM701 300h-100 v100h100v-100z" />+<glyph unicode="" d="M600 1191q120 0 229.5 -47t188.5 -126t126 -188.5t47 -229.5t-47 -229.5t-126 -188.5t-188.5 -126t-229.5 -47t-229.5 47t-188.5 126t-126 188.5t-47 229.5t47 229.5t126 188.5t188.5 126t229.5 47zM600 1021q-114 0 -211 -56.5t-153.5 -153.5t-56.5 -211t56.5 -211 t153.5 -153.5t211 -56.5t211 56.5t153.5 153.5t56.5 211t-56.5 211t-153.5 153.5t-211 56.5zM800 700h-300v-200h300v-100h-300l-100 100v200l100 100h300v-100z" />+<glyph unicode="" d="M600 1191q120 0 229.5 -47t188.5 -126t126 -188.5t47 -229.5t-47 -229.5t-126 -188.5t-188.5 -126t-229.5 -47t-229.5 47t-188.5 126t-126 188.5t-47 229.5t47 229.5t126 188.5t188.5 126t229.5 47zM600 1021q-114 0 -211 -56.5t-153.5 -153.5t-56.5 -211t56.5 -211 t153.5 -153.5t211 -56.5t211 56.5t153.5 153.5t56.5 211t-56.5 211t-153.5 153.5t-211 56.5zM800 700v-100l-50 -50l100 -100v-50h-100l-100 100h-150v-100h-100v400h300zM500 700v-100h200v100h-200z" />+<glyph unicode="" d="M503 1089q110 0 200.5 -59.5t134.5 -156.5q44 14 90 14q120 0 205 -86.5t85 -207t-85 -207t-205 -86.5h-128v250q0 21 -14.5 35.5t-35.5 14.5h-300q-21 0 -35.5 -14.5t-14.5 -35.5v-250h-222q-80 0 -136 57.5t-56 136.5q0 69 43 122.5t108 67.5q-2 19 -2 37q0 100 49 185 t134 134t185 49zM525 500h150q10 0 17.5 -7.5t7.5 -17.5v-275h137q21 0 26 -11.5t-8 -27.5l-223 -244q-13 -16 -32 -16t-32 16l-223 244q-13 16 -8 27.5t26 11.5h137v275q0 10 7.5 17.5t17.5 7.5z" />+<glyph unicode="" d="M502 1089q110 0 201 -59.5t135 -156.5q43 15 89 15q121 0 206 -86.5t86 -206.5q0 -99 -60 -181t-150 -110l-378 360q-13 16 -31.5 16t-31.5 -16l-381 -365h-9q-79 0 -135.5 57.5t-56.5 136.5q0 69 43 122.5t108 67.5q-2 19 -2 38q0 100 49 184.5t133.5 134t184.5 49.5z M632 467l223 -228q13 -16 8 -27.5t-26 -11.5h-137v-275q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v275h-137q-21 0 -26 11.5t8 27.5q199 204 223 228q19 19 31.5 19t32.5 -19z" />+<glyph unicode="" d="M700 100v100h400l-270 300h170l-270 300h170l-300 333l-300 -333h170l-270 -300h170l-270 -300h400v-100h-50q-21 0 -35.5 -14.5t-14.5 -35.5v-50h400v50q0 21 -14.5 35.5t-35.5 14.5h-50z" />+<glyph unicode="" d="M600 1179q94 0 167.5 -56.5t99.5 -145.5q89 -6 150.5 -71.5t61.5 -155.5q0 -61 -29.5 -112.5t-79.5 -82.5q9 -29 9 -55q0 -74 -52.5 -126.5t-126.5 -52.5q-55 0 -100 30v-251q21 0 35.5 -14.5t14.5 -35.5v-50h-300v50q0 21 14.5 35.5t35.5 14.5v251q-45 -30 -100 -30 q-74 0 -126.5 52.5t-52.5 126.5q0 18 4 38q-47 21 -75.5 65t-28.5 97q0 74 52.5 126.5t126.5 52.5q5 0 23 -2q0 2 -1 10t-1 13q0 116 81.5 197.5t197.5 81.5z" />+<glyph unicode="" d="M1010 1010q111 -111 150.5 -260.5t0 -299t-150.5 -260.5q-83 -83 -191.5 -126.5t-218.5 -43.5t-218.5 43.5t-191.5 126.5q-111 111 -150.5 260.5t0 299t150.5 260.5q83 83 191.5 126.5t218.5 43.5t218.5 -43.5t191.5 -126.5zM476 1065q-4 0 -8 -1q-121 -34 -209.5 -122.5 t-122.5 -209.5q-4 -12 2.5 -23t18.5 -14l36 -9q3 -1 7 -1q23 0 29 22q27 96 98 166q70 71 166 98q11 3 17.5 13.5t3.5 22.5l-9 35q-3 13 -14 19q-7 4 -15 4zM512 920q-4 0 -9 -2q-80 -24 -138.5 -82.5t-82.5 -138.5q-4 -13 2 -24t19 -14l34 -9q4 -1 8 -1q22 0 28 21 q18 58 58.5 98.5t97.5 58.5q12 3 18 13.5t3 21.5l-9 35q-3 12 -14 19q-7 4 -15 4zM719.5 719.5q-49.5 49.5 -119.5 49.5t-119.5 -49.5t-49.5 -119.5t49.5 -119.5t119.5 -49.5t119.5 49.5t49.5 119.5t-49.5 119.5zM855 551q-22 0 -28 -21q-18 -58 -58.5 -98.5t-98.5 -57.5 q-11 -4 -17 -14.5t-3 -21.5l9 -35q3 -12 14 -19q7 -4 15 -4q4 0 9 2q80 24 138.5 82.5t82.5 138.5q4 13 -2.5 24t-18.5 14l-34 9q-4 1 -8 1zM1000 515q-23 0 -29 -22q-27 -96 -98 -166q-70 -71 -166 -98q-11 -3 -17.5 -13.5t-3.5 -22.5l9 -35q3 -13 14 -19q7 -4 15 -4 q4 0 8 1q121 34 209.5 122.5t122.5 209.5q4 12 -2.5 23t-18.5 14l-36 9q-3 1 -7 1z" />+<glyph unicode="" d="M700 800h300v-380h-180v200h-340v-200h-380v755q0 10 7.5 17.5t17.5 7.5h575v-400zM1000 900h-200v200zM700 300h162l-212 -212l-212 212h162v200h100v-200zM520 0h-395q-10 0 -17.5 7.5t-7.5 17.5v395zM1000 220v-195q0 -10 -7.5 -17.5t-17.5 -7.5h-195z" />+<glyph unicode="" d="M700 800h300v-520l-350 350l-550 -550v1095q0 10 7.5 17.5t17.5 7.5h575v-400zM1000 900h-200v200zM862 200h-162v-200h-100v200h-162l212 212zM480 0h-355q-10 0 -17.5 7.5t-7.5 17.5v55h380v-80zM1000 80v-55q0 -10 -7.5 -17.5t-17.5 -7.5h-155v80h180z" />+<glyph unicode="" d="M1162 800h-162v-200h100l100 -100h-300v300h-162l212 212zM200 800h200q27 0 40 -2t29.5 -10.5t23.5 -30t7 -57.5h300v-100h-600l-200 -350v450h100q0 36 7 57.5t23.5 30t29.5 10.5t40 2zM800 400h240l-240 -400h-800l300 500h500v-100z" />+<glyph unicode="" d="M650 1100h100q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h50v50q0 21 14.5 35.5t35.5 14.5zM1000 850v150q41 0 70.5 -29.5t29.5 -70.5v-800 q0 -41 -29.5 -70.5t-70.5 -29.5h-600q-1 0 -20 4l246 246l-326 326v324q0 41 29.5 70.5t70.5 29.5v-150q0 -62 44 -106t106 -44h300q62 0 106 44t44 106zM412 250l-212 -212v162h-200v100h200v162z" />+<glyph unicode="" d="M450 1100h100q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h50v50q0 21 14.5 35.5t35.5 14.5zM800 850v150q41 0 70.5 -29.5t29.5 -70.5v-500 h-200v-300h200q0 -36 -7 -57.5t-23.5 -30t-29.5 -10.5t-40 -2h-600q-41 0 -70.5 29.5t-29.5 70.5v800q0 41 29.5 70.5t70.5 29.5v-150q0 -62 44 -106t106 -44h300q62 0 106 44t44 106zM1212 250l-212 -212v162h-200v100h200v162z" />+<glyph unicode="" d="M658 1197l637 -1104q23 -38 7 -65.5t-60 -27.5h-1276q-44 0 -60 27.5t7 65.5l637 1104q22 39 54 39t54 -39zM704 800h-208q-20 0 -32 -14.5t-8 -34.5l58 -302q4 -20 21.5 -34.5t37.5 -14.5h54q20 0 37.5 14.5t21.5 34.5l58 302q4 20 -8 34.5t-32 14.5zM500 300v-100h200 v100h-200z" />+<glyph unicode="" d="M425 1100h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM425 800h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5 t17.5 7.5zM825 800h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM25 500h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150 q0 10 7.5 17.5t17.5 7.5zM425 500h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM825 500h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5 v150q0 10 7.5 17.5t17.5 7.5zM25 200h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM425 200h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5 t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM825 200h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5z" />+<glyph unicode="" d="M700 1200h100v-200h-100v-100h350q62 0 86.5 -39.5t-3.5 -94.5l-66 -132q-41 -83 -81 -134h-772q-40 51 -81 134l-66 132q-28 55 -3.5 94.5t86.5 39.5h350v100h-100v200h100v100h200v-100zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-12l137 -100 h-950l138 100h-13q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M600 1300q40 0 68.5 -29.5t28.5 -70.5h-194q0 41 28.5 70.5t68.5 29.5zM443 1100h314q18 -37 18 -75q0 -8 -3 -25h328q41 0 44.5 -16.5t-30.5 -38.5l-175 -145h-678l-178 145q-34 22 -29 38.5t46 16.5h328q-3 17 -3 25q0 38 18 75zM250 700h700q21 0 35.5 -14.5 t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-150v-200l275 -200h-950l275 200v200h-150q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M600 1181q75 0 128 -53t53 -128t-53 -128t-128 -53t-128 53t-53 128t53 128t128 53zM602 798h46q34 0 55.5 -28.5t21.5 -86.5q0 -76 39 -183h-324q39 107 39 183q0 58 21.5 86.5t56.5 28.5h45zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-13 l138 -100h-950l137 100h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M600 1300q47 0 92.5 -53.5t71 -123t25.5 -123.5q0 -78 -55.5 -133.5t-133.5 -55.5t-133.5 55.5t-55.5 133.5q0 62 34 143l144 -143l111 111l-163 163q34 26 63 26zM602 798h46q34 0 55.5 -28.5t21.5 -86.5q0 -76 39 -183h-324q39 107 39 183q0 58 21.5 86.5t56.5 28.5h45 zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-13l138 -100h-950l137 100h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M600 1200l300 -161v-139h-300q0 -57 18.5 -108t50 -91.5t63 -72t70 -67.5t57.5 -61h-530q-60 83 -90.5 177.5t-30.5 178.5t33 164.5t87.5 139.5t126 96.5t145.5 41.5v-98zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-13l138 -100h-950l137 100 h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M600 1300q41 0 70.5 -29.5t29.5 -70.5v-78q46 -26 73 -72t27 -100v-50h-400v50q0 54 27 100t73 72v78q0 41 29.5 70.5t70.5 29.5zM400 800h400q54 0 100 -27t72 -73h-172v-100h200v-100h-200v-100h200v-100h-200v-100h200q0 -83 -58.5 -141.5t-141.5 -58.5h-400 q-83 0 -141.5 58.5t-58.5 141.5v400q0 83 58.5 141.5t141.5 58.5z" />+<glyph unicode="" d="M150 1100h900q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v500q0 21 14.5 35.5t35.5 14.5zM125 400h950q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-283l224 -224q13 -13 13 -31.5t-13 -32 t-31.5 -13.5t-31.5 13l-88 88h-524l-87 -88q-13 -13 -32 -13t-32 13.5t-13 32t13 31.5l224 224h-289q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM541 300l-100 -100h324l-100 100h-124z" />+<glyph unicode="" d="M200 1100h800q83 0 141.5 -58.5t58.5 -141.5v-200h-100q0 41 -29.5 70.5t-70.5 29.5h-250q-41 0 -70.5 -29.5t-29.5 -70.5h-100q0 41 -29.5 70.5t-70.5 29.5h-250q-41 0 -70.5 -29.5t-29.5 -70.5h-100v200q0 83 58.5 141.5t141.5 58.5zM100 600h1000q41 0 70.5 -29.5 t29.5 -70.5v-300h-1200v300q0 41 29.5 70.5t70.5 29.5zM300 100v-50q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v50h200zM1100 100v-50q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v50h200z" />+<glyph unicode="" d="M480 1165l682 -683q31 -31 31 -75.5t-31 -75.5l-131 -131h-481l-517 518q-32 31 -32 75.5t32 75.5l295 296q31 31 75.5 31t76.5 -31zM108 794l342 -342l303 304l-341 341zM250 100h800q21 0 35.5 -14.5t14.5 -35.5v-50h-900v50q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M1057 647l-189 506q-8 19 -27.5 33t-40.5 14h-400q-21 0 -40.5 -14t-27.5 -33l-189 -506q-8 -19 1.5 -33t30.5 -14h625v-150q0 -21 14.5 -35.5t35.5 -14.5t35.5 14.5t14.5 35.5v150h125q21 0 30.5 14t1.5 33zM897 0h-595v50q0 21 14.5 35.5t35.5 14.5h50v50 q0 21 14.5 35.5t35.5 14.5h48v300h200v-300h47q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-50z" />+<glyph unicode="" d="M900 800h300v-575q0 -10 -7.5 -17.5t-17.5 -7.5h-375v591l-300 300v84q0 10 7.5 17.5t17.5 7.5h375v-400zM1200 900h-200v200zM400 600h300v-575q0 -10 -7.5 -17.5t-17.5 -7.5h-650q-10 0 -17.5 7.5t-7.5 17.5v950q0 10 7.5 17.5t17.5 7.5h375v-400zM700 700h-200v200z " />+<glyph unicode="" d="M484 1095h195q75 0 146 -32.5t124 -86t89.5 -122.5t48.5 -142q18 -14 35 -20q31 -10 64.5 6.5t43.5 48.5q10 34 -15 71q-19 27 -9 43q5 8 12.5 11t19 -1t23.5 -16q41 -44 39 -105q-3 -63 -46 -106.5t-104 -43.5h-62q-7 -55 -35 -117t-56 -100l-39 -234q-3 -20 -20 -34.5 t-38 -14.5h-100q-21 0 -33 14.5t-9 34.5l12 70q-49 -14 -91 -14h-195q-24 0 -65 8l-11 -64q-3 -20 -20 -34.5t-38 -14.5h-100q-21 0 -33 14.5t-9 34.5l26 157q-84 74 -128 175l-159 53q-19 7 -33 26t-14 40v50q0 21 14.5 35.5t35.5 14.5h124q11 87 56 166l-111 95 q-16 14 -12.5 23.5t24.5 9.5h203q116 101 250 101zM675 1000h-250q-10 0 -17.5 -7.5t-7.5 -17.5v-50q0 -10 7.5 -17.5t17.5 -7.5h250q10 0 17.5 7.5t7.5 17.5v50q0 10 -7.5 17.5t-17.5 7.5z" />+<glyph unicode="" d="M641 900l423 247q19 8 42 2.5t37 -21.5l32 -38q14 -15 12.5 -36t-17.5 -34l-139 -120h-390zM50 1100h106q67 0 103 -17t66 -71l102 -212h823q21 0 35.5 -14.5t14.5 -35.5v-50q0 -21 -14 -40t-33 -26l-737 -132q-23 -4 -40 6t-26 25q-42 67 -100 67h-300q-62 0 -106 44 t-44 106v200q0 62 44 106t106 44zM173 928h-80q-19 0 -28 -14t-9 -35v-56q0 -51 42 -51h134q16 0 21.5 8t5.5 24q0 11 -16 45t-27 51q-18 28 -43 28zM550 727q-32 0 -54.5 -22.5t-22.5 -54.5t22.5 -54.5t54.5 -22.5t54.5 22.5t22.5 54.5t-22.5 54.5t-54.5 22.5zM130 389 l152 130q18 19 34 24t31 -3.5t24.5 -17.5t25.5 -28q28 -35 50.5 -51t48.5 -13l63 5l48 -179q13 -61 -3.5 -97.5t-67.5 -79.5l-80 -69q-47 -40 -109 -35.5t-103 51.5l-130 151q-40 47 -35.5 109.5t51.5 102.5zM380 377l-102 -88q-31 -27 2 -65l37 -43q13 -15 27.5 -19.5 t31.5 6.5l61 53q19 16 14 49q-2 20 -12 56t-17 45q-11 12 -19 14t-23 -8z" />+<glyph unicode="" d="M625 1200h150q10 0 17.5 -7.5t7.5 -17.5v-109q79 -33 131 -87.5t53 -128.5q1 -46 -15 -84.5t-39 -61t-46 -38t-39 -21.5l-17 -6q6 0 15 -1.5t35 -9t50 -17.5t53 -30t50 -45t35.5 -64t14.5 -84q0 -59 -11.5 -105.5t-28.5 -76.5t-44 -51t-49.5 -31.5t-54.5 -16t-49.5 -6.5 t-43.5 -1v-75q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v75h-100v-75q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v75h-175q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h75v600h-75q-10 0 -17.5 7.5t-7.5 17.5v150 q0 10 7.5 17.5t17.5 7.5h175v75q0 10 7.5 17.5t17.5 7.5h150q10 0 17.5 -7.5t7.5 -17.5v-75h100v75q0 10 7.5 17.5t17.5 7.5zM400 900v-200h263q28 0 48.5 10.5t30 25t15 29t5.5 25.5l1 10q0 4 -0.5 11t-6 24t-15 30t-30 24t-48.5 11h-263zM400 500v-200h363q28 0 48.5 10.5 t30 25t15 29t5.5 25.5l1 10q0 4 -0.5 11t-6 24t-15 30t-30 24t-48.5 11h-363z" />+<glyph unicode="" d="M212 1198h780q86 0 147 -61t61 -147v-416q0 -51 -18 -142.5t-36 -157.5l-18 -66q-29 -87 -93.5 -146.5t-146.5 -59.5h-572q-82 0 -147 59t-93 147q-8 28 -20 73t-32 143.5t-20 149.5v416q0 86 61 147t147 61zM600 1045q-70 0 -132.5 -11.5t-105.5 -30.5t-78.5 -41.5 t-57 -45t-36 -41t-20.5 -30.5l-6 -12l156 -243h560l156 243q-2 5 -6 12.5t-20 29.5t-36.5 42t-57 44.5t-79 42t-105 29.5t-132.5 12zM762 703h-157l195 261z" />+<glyph unicode="" d="M475 1300h150q103 0 189 -86t86 -189v-500q0 -41 -42 -83t-83 -42h-450q-41 0 -83 42t-42 83v500q0 103 86 189t189 86zM700 300v-225q0 -21 -27 -48t-48 -27h-150q-21 0 -48 27t-27 48v225h300z" />+<glyph unicode="" d="M475 1300h96q0 -150 89.5 -239.5t239.5 -89.5v-446q0 -41 -42 -83t-83 -42h-450q-41 0 -83 42t-42 83v500q0 103 86 189t189 86zM700 300v-225q0 -21 -27 -48t-48 -27h-150q-21 0 -48 27t-27 48v225h300z" />+<glyph unicode="" d="M1294 767l-638 -283l-378 170l-78 -60v-224l100 -150v-199l-150 148l-150 -149v200l100 150v250q0 4 -0.5 10.5t0 9.5t1 8t3 8t6.5 6l47 40l-147 65l642 283zM1000 380l-350 -166l-350 166v147l350 -165l350 165v-147z" />+<glyph unicode="" d="M250 800q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM650 800q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM1050 800q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44z" />+<glyph unicode="" d="M550 1100q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM550 700q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM550 300q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44z" />+<glyph unicode="" d="M125 1100h950q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-950q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM125 700h950q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-950q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5 t17.5 7.5zM125 300h950q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-950q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5z" />+<glyph unicode="" d="M350 1200h500q162 0 256 -93.5t94 -256.5v-500q0 -165 -93.5 -257.5t-256.5 -92.5h-500q-165 0 -257.5 92.5t-92.5 257.5v500q0 165 92.5 257.5t257.5 92.5zM900 1000h-600q-41 0 -70.5 -29.5t-29.5 -70.5v-600q0 -41 29.5 -70.5t70.5 -29.5h600q41 0 70.5 29.5 t29.5 70.5v600q0 41 -29.5 70.5t-70.5 29.5zM350 900h500q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -14.5 -35.5t-35.5 -14.5h-500q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 14.5 35.5t35.5 14.5zM400 800v-200h400v200h-400z" />+<glyph unicode="" d="M150 1100h1000q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-200h50q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-200h50q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-200h50q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5 t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5h50v200h-50q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5h50v200h-50q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5h50v200h-50q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M650 1187q87 -67 118.5 -156t0 -178t-118.5 -155q-87 66 -118.5 155t0 178t118.5 156zM300 800q124 0 212 -88t88 -212q-124 0 -212 88t-88 212zM1000 800q0 -124 -88 -212t-212 -88q0 124 88 212t212 88zM300 500q124 0 212 -88t88 -212q-124 0 -212 88t-88 212z M1000 500q0 -124 -88 -212t-212 -88q0 124 88 212t212 88zM700 199v-144q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v142q40 -4 43 -4q17 0 57 6z" />+<glyph unicode="" d="M745 878l69 19q25 6 45 -12l298 -295q11 -11 15 -26.5t-2 -30.5q-5 -14 -18 -23.5t-28 -9.5h-8q1 0 1 -13q0 -29 -2 -56t-8.5 -62t-20 -63t-33 -53t-51 -39t-72.5 -14h-146q-184 0 -184 288q0 24 10 47q-20 4 -62 4t-63 -4q11 -24 11 -47q0 -288 -184 -288h-142 q-48 0 -84.5 21t-56 51t-32 71.5t-16 75t-3.5 68.5q0 13 2 13h-7q-15 0 -27.5 9.5t-18.5 23.5q-6 15 -2 30.5t15 25.5l298 296q20 18 46 11l76 -19q20 -5 30.5 -22.5t5.5 -37.5t-22.5 -31t-37.5 -5l-51 12l-182 -193h891l-182 193l-44 -12q-20 -5 -37.5 6t-22.5 31t6 37.5 t31 22.5z" />+<glyph unicode="" d="M1200 900h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-200v-850q0 -22 25 -34.5t50 -13.5l25 -2v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v850h-200q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h1000v-300zM500 450h-25q0 15 -4 24.5t-9 14.5t-17 7.5t-20 3t-25 0.5h-100v-425q0 -11 12.5 -17.5t25.5 -7.5h12v-50h-200v50q50 0 50 25v425h-100q-17 0 -25 -0.5t-20 -3t-17 -7.5t-9 -14.5t-4 -24.5h-25v150h500v-150z" />+<glyph unicode="" d="M1000 300v50q-25 0 -55 32q-14 14 -25 31t-16 27l-4 11l-289 747h-69l-300 -754q-18 -35 -39 -56q-9 -9 -24.5 -18.5t-26.5 -14.5l-11 -5v-50h273v50q-49 0 -78.5 21.5t-11.5 67.5l69 176h293l61 -166q13 -34 -3.5 -66.5t-55.5 -32.5v-50h312zM412 691l134 342l121 -342 h-255zM1100 150v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5z" />+<glyph unicode="" d="M50 1200h1100q21 0 35.5 -14.5t14.5 -35.5v-1100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v1100q0 21 14.5 35.5t35.5 14.5zM611 1118h-70q-13 0 -18 -12l-299 -753q-17 -32 -35 -51q-18 -18 -56 -34q-12 -5 -12 -18v-50q0 -8 5.5 -14t14.5 -6 h273q8 0 14 6t6 14v50q0 8 -6 14t-14 6q-55 0 -71 23q-10 14 0 39l63 163h266l57 -153q11 -31 -6 -55q-12 -17 -36 -17q-8 0 -14 -6t-6 -14v-50q0 -8 6 -14t14 -6h313q8 0 14 6t6 14v50q0 7 -5.5 13t-13.5 7q-17 0 -42 25q-25 27 -40 63h-1l-288 748q-5 12 -19 12zM639 611 h-197l103 264z" />+<glyph unicode="" d="M1200 1100h-1200v100h1200v-100zM50 1000h400q21 0 35.5 -14.5t14.5 -35.5v-900q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v900q0 21 14.5 35.5t35.5 14.5zM650 1000h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM700 900v-300h300v300h-300z" />+<glyph unicode="" d="M50 1200h400q21 0 35.5 -14.5t14.5 -35.5v-900q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v900q0 21 14.5 35.5t35.5 14.5zM650 700h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400 q0 21 14.5 35.5t35.5 14.5zM700 600v-300h300v300h-300zM1200 0h-1200v100h1200v-100z" />+<glyph unicode="" d="M50 1000h400q21 0 35.5 -14.5t14.5 -35.5v-350h100v150q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-150h100v-100h-100v-150q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v150h-100v-350q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5v800q0 21 14.5 35.5t35.5 14.5zM700 700v-300h300v300h-300z" />+<glyph unicode="" d="M100 0h-100v1200h100v-1200zM250 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM300 1000v-300h300v300h-300zM250 500h900q21 0 35.5 -14.5t14.5 -35.5v-400 q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M600 1100h150q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-150v-100h450q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h350v100h-150q-21 0 -35.5 14.5 t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h150v100h100v-100zM400 1000v-300h300v300h-300z" />+<glyph unicode="" d="M1200 0h-100v1200h100v-1200zM550 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM600 1000v-300h300v300h-300zM50 500h900q21 0 35.5 -14.5t14.5 -35.5v-400 q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5z" />+<glyph unicode="" d="M865 565l-494 -494q-23 -23 -41 -23q-14 0 -22 13.5t-8 38.5v1000q0 25 8 38.5t22 13.5q18 0 41 -23l494 -494q14 -14 14 -35t-14 -35z" />+<glyph unicode="" d="M335 635l494 494q29 29 50 20.5t21 -49.5v-1000q0 -41 -21 -49.5t-50 20.5l-494 494q-14 14 -14 35t14 35z" />+<glyph unicode="" d="M100 900h1000q41 0 49.5 -21t-20.5 -50l-494 -494q-14 -14 -35 -14t-35 14l-494 494q-29 29 -20.5 50t49.5 21z" />+<glyph unicode="" d="M635 865l494 -494q29 -29 20.5 -50t-49.5 -21h-1000q-41 0 -49.5 21t20.5 50l494 494q14 14 35 14t35 -14z" />+<glyph unicode="" d="M700 741v-182l-692 -323v221l413 193l-413 193v221zM1200 0h-800v200h800v-200z" />+<glyph unicode="" d="M1200 900h-200v-100h200v-100h-300v300h200v100h-200v100h300v-300zM0 700h50q0 21 4 37t9.5 26.5t18 17.5t22 11t28.5 5.5t31 2t37 0.5h100v-550q0 -22 -25 -34.5t-50 -13.5l-25 -2v-100h400v100q-4 0 -11 0.5t-24 3t-30 7t-24 15t-11 24.5v550h100q25 0 37 -0.5t31 -2 t28.5 -5.5t22 -11t18 -17.5t9.5 -26.5t4 -37h50v300h-800v-300z" />+<glyph unicode="" d="M800 700h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-100v-550q0 -22 25 -34.5t50 -14.5l25 -1v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v550h-100q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h800v-300zM1100 200h-200v-100h200v-100h-300v300h200v100h-200v100h300v-300z" />+<glyph unicode="" d="M701 1098h160q16 0 21 -11t-7 -23l-464 -464l464 -464q12 -12 7 -23t-21 -11h-160q-13 0 -23 9l-471 471q-7 8 -7 18t7 18l471 471q10 9 23 9z" />+<glyph unicode="" d="M339 1098h160q13 0 23 -9l471 -471q7 -8 7 -18t-7 -18l-471 -471q-10 -9 -23 -9h-160q-16 0 -21 11t7 23l464 464l-464 464q-12 12 -7 23t21 11z" />+<glyph unicode="" d="M1087 882q11 -5 11 -21v-160q0 -13 -9 -23l-471 -471q-8 -7 -18 -7t-18 7l-471 471q-9 10 -9 23v160q0 16 11 21t23 -7l464 -464l464 464q12 12 23 7z" />+<glyph unicode="" d="M618 993l471 -471q9 -10 9 -23v-160q0 -16 -11 -21t-23 7l-464 464l-464 -464q-12 -12 -23 -7t-11 21v160q0 13 9 23l471 471q8 7 18 7t18 -7z" />+<glyph unicode="" d="M1000 1200q0 -124 -88 -212t-212 -88q0 124 88 212t212 88zM450 1000h100q21 0 40 -14t26 -33l79 -194q5 1 16 3q34 6 54 9.5t60 7t65.5 1t61 -10t56.5 -23t42.5 -42t29 -64t5 -92t-19.5 -121.5q-1 -7 -3 -19.5t-11 -50t-20.5 -73t-32.5 -81.5t-46.5 -83t-64 -70 t-82.5 -50q-13 -5 -42 -5t-65.5 2.5t-47.5 2.5q-14 0 -49.5 -3.5t-63 -3.5t-43.5 7q-57 25 -104.5 78.5t-75 111.5t-46.5 112t-26 90l-7 35q-15 63 -18 115t4.5 88.5t26 64t39.5 43.5t52 25.5t58.5 13t62.5 2t59.5 -4.5t55.5 -8l-147 192q-12 18 -5.5 30t27.5 12z" />+<glyph unicode="🔑" d="M250 1200h600q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-150v-500l-255 -178q-19 -9 -32 -1t-13 29v650h-150q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM400 1100v-100h300v100h-300z" />+<glyph unicode="🚪" d="M250 1200h750q39 0 69.5 -40.5t30.5 -84.5v-933l-700 -117v950l600 125h-700v-1000h-100v1025q0 23 15.5 49t34.5 26zM500 525v-100l100 20v100z" />+</font>+</defs></svg>\ No newline at end of filediff --git a/data/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf b/data/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.ttfnew file mode 100644index 000000000..1413fc609Binary files /dev/null and b/data/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf differdiff --git a/data/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.woff b/data/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.woffnew file mode 100644index 000000000..9e612858fBinary files /dev/null and b/data/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.woff differdiff --git a/data/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 b/data/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2new file mode 100644index 000000000..64539b54cBinary files /dev/null and b/data/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 differdiff --git a/data/libs/bootstrap/dist/js/bootstrap.min.js b/data/libs/bootstrap/dist/js/bootstrap.min.jsnew file mode 100644index 000000000..e79c06513--- /dev/null+++ b/data/libs/bootstrap/dist/js/bootstrap.min.js@@ -0,0 +1,7 @@+/*!+ * Bootstrap v3.3.6 (http://getbootstrap.com)+ * Copyright 2011-2015 Twitter, Inc.+ * Licensed under the MIT license+ */+if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.6",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.6",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.6",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.6",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.6",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",c).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",g.prototype.keydown)}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d)})}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};c.VERSION="3.3.6",c.TRANSITION_DURATION=300,c.BACKDROP_TRANSITION_DURATION=150,c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)},c.prototype.show=function(b){var d=this,e=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){d.$element.one("mouseup.dismiss.bs.modal",function(b){a(b.target).is(d.$element)&&(d.ignoreBackdropClick=!0)})}),this.backdrop(function(){var e=a.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(d.$body),d.$element.show().scrollTop(0),d.adjustDialog(),e&&d.$element[0].offsetWidth,d.$element.addClass("in"),d.enforceFocus();var f=a.Event("shown.bs.modal",{relatedTarget:b});e?d.$dialog.one("bsTransitionEnd",function(){d.$element.trigger("focus").trigger(f)}).emulateTransitionEnd(c.TRANSITION_DURATION):d.$element.trigger("focus").trigger(f)}))},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(c.TRANSITION_DURATION):this.hideModal())},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},c.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$body.removeClass("modal-open"),a.resetAdjustments(),a.resetScrollbar(),a.$element.trigger("hidden.bs.modal")})},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},c.prototype.backdrop=function(b){var d=this,e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=a.support.transition&&e;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+e).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.adjustDialog()},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth<a,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",a,b)};c.VERSION="3.3.6",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),c.isInStateTrue()?void 0:(clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide())},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-m<o.top?"bottom":"right"==h&&k.right+l>o.width?"left":"left"==h&&k.left-l<o.left?"right":h,f.removeClass(n).addClass(h)}var p=this.getCalculatedOffset(h,k,l,m);this.applyPlacement(p,h);var q=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==a&&e.leave(e)};a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",q).emulateTransitionEnd(c.TRANSITION_DURATION):q()}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top+=g,b.left+=h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=/top|bottom/.test(c),m=l?2*k.left-e+i:2*k.top-f+j,n=l?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(m,d[0][n],l)},c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c?"left":"top",50*(1-a/b)+"%").css(c?"top":"left","")},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},c.prototype.hide=function(b){function d(){"in"!=e.hoverState&&f.detach(),e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),b&&b()}var e=this,f=a(this.$tip),g=a.Event("hide.bs."+this.type);return this.$element.trigger(g),g.isDefaultPrevented()?void 0:(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",d).emulateTransitionEnd(c.TRANSITION_DURATION):d(),this.hoverState=null,this)},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d="BODY"==c.tagName,e=c.getBoundingClientRect();null==e.width&&(e=a.extend({},e,{width:e.right-e.left,height:e.bottom-e.top}));var f=d?{top:0,left:0}:b.offset(),g={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},h=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,g,h,f)},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.6",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.6",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<e[0])return this.activeTarget=null,this.clear();for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(void 0===e[a+1]||b<e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");+d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.6",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.6",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);\ No newline at end of filediff --git a/data/libs/bootstrap/js/bootstrap.min.js b/data/libs/bootstrap/js/bootstrap.min.jsdeleted file mode 100644index 133aeecb9..000000000--- a/data/libs/bootstrap/js/bootstrap.min.js+++ /dev/null@@ -1,7 +0,0 @@-/*!- * Bootstrap v3.3.5 (http://getbootstrap.com)- * Copyright 2011-2015 Twitter, Inc.- * Licensed under the MIT license- */-if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.5",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.5",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.5",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.5",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.5",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",c).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",g.prototype.keydown)}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d)})}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};c.VERSION="3.3.5",c.TRANSITION_DURATION=300,c.BACKDROP_TRANSITION_DURATION=150,c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)},c.prototype.show=function(b){var d=this,e=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){d.$element.one("mouseup.dismiss.bs.modal",function(b){a(b.target).is(d.$element)&&(d.ignoreBackdropClick=!0)})}),this.backdrop(function(){var e=a.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(d.$body),d.$element.show().scrollTop(0),d.adjustDialog(),e&&d.$element[0].offsetWidth,d.$element.addClass("in"),d.enforceFocus();var f=a.Event("shown.bs.modal",{relatedTarget:b});e?d.$dialog.one("bsTransitionEnd",function(){d.$element.trigger("focus").trigger(f)}).emulateTransitionEnd(c.TRANSITION_DURATION):d.$element.trigger("focus").trigger(f)}))},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(c.TRANSITION_DURATION):this.hideModal())},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},c.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$body.removeClass("modal-open"),a.resetAdjustments(),a.resetScrollbar(),a.$element.trigger("hidden.bs.modal")})},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},c.prototype.backdrop=function(b){var d=this,e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=a.support.transition&&e;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+e).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.adjustDialog()},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth<a,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",a,b)};c.VERSION="3.3.5",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),c.isInStateTrue()?void 0:(clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide())},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-m<o.top?"bottom":"right"==h&&k.right+l>o.width?"left":"left"==h&&k.left-l<o.left?"right":h,f.removeClass(n).addClass(h)}var p=this.getCalculatedOffset(h,k,l,m);this.applyPlacement(p,h);var q=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==a&&e.leave(e)};a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",q).emulateTransitionEnd(c.TRANSITION_DURATION):q()}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top+=g,b.left+=h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=/top|bottom/.test(c),m=l?2*k.left-e+i:2*k.top-f+j,n=l?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(m,d[0][n],l)},c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c?"left":"top",50*(1-a/b)+"%").css(c?"top":"left","")},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},c.prototype.hide=function(b){function d(){"in"!=e.hoverState&&f.detach(),e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),b&&b()}var e=this,f=a(this.$tip),g=a.Event("hide.bs."+this.type);return this.$element.trigger(g),g.isDefaultPrevented()?void 0:(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",d).emulateTransitionEnd(c.TRANSITION_DURATION):d(),this.hoverState=null,this)},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d="BODY"==c.tagName,e=c.getBoundingClientRect();null==e.width&&(e=a.extend({},e,{width:e.right-e.left,height:e.bottom-e.top}));var f=d?{top:0,left:0}:b.offset(),g={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},h=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,g,h,f)},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.5",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.5",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<e[0])return this.activeTarget=null,this.clear();for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(void 0===e[a+1]||b<e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),-d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.5",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.5",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);\ No newline at end of filediff --git a/data/libs/bootstrap3xeditable/LICENSE-MIT b/data/libs/bootstrap3xeditable/LICENSE-MITdeleted file mode 100644index bc67d5bd4..000000000--- a/data/libs/bootstrap3xeditable/LICENSE-MIT+++ /dev/null@@ -1,22 +0,0 @@-Copyright (c) 2012 Vitaliy Potapov--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.diff --git a/data/libs/handlebars.js/LICENSE.txt b/data/libs/bootswatch/LICENSEsimilarity index 94%rename from data/libs/handlebars.js/LICENSE.txtrename to data/libs/bootswatch/LICENSEindex f466a93fd..c470246ff 100644--- a/data/libs/handlebars.js/LICENSE.txt+++ b/data/libs/bootswatch/LICENSE@@ -1,4 +1,6 @@-Copyright (C) 2011 by Yehuda Katz+The MIT License (MIT)++Copyright (c) 2013 Thomas ParkPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealdiff --git a/data/libs/bootswatch/paper/bootstrap.min.css b/data/libs/bootswatch/paper/bootstrap.min.cssnew file mode 100644index 000000000..6c13a6926--- /dev/null+++ b/data/libs/bootswatch/paper/bootstrap.min.css@@ -0,0 +1,11 @@+@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700");/*!+ * bootswatch v3.3.6+ * Homepage: http://bootswatch.com+ * Copyright 2012-2015 Thomas Park+ * Licensed under MIT+ * Based on Bootstrap+*//*!+ * Bootstrap v3.3.6 (http://getbootstrap.com)+ * Copyright 2011-2015 Twitter, Inc.+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)+ *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,*:before,*:after{background:transparent !important;color:#000 !important;-webkit-box-shadow:none !important;box-shadow:none !important;text-shadow:none !important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000 !important}.label{border:1px solid #000}.table{border-collapse:collapse !important}.table td,.table th{background-color:#fff !important}.table-bordered th,.table-bordered td{border:1px solid #ddd !important}}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\002a"}.glyphicon-plus:before{content:"\002b"}.glyphicon-euro:before,.glyphicon-eur:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:1.846;color:#666666;background-color:#ffffff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#2196f3;text-decoration:none}a:hover,a:focus{color:#0a6ebd;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive,.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:3px}.img-thumbnail{padding:4px;line-height:1.846;background-color:#ffffff;border:1px solid #dddddd;border-radius:3px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:23px;margin-bottom:23px;border:0;border-top:1px solid #eeeeee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role="button"]{cursor:pointer}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:inherit;font-weight:400;line-height:1.1;color:#444444}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:normal;line-height:1;color:#bbbbbb}h1,.h1,h2,.h2,h3,.h3{margin-top:23px;margin-bottom:11.5px}h1 small,.h1 small,h2 small,.h2 small,h3 small,.h3 small,h1 .small,.h1 .small,h2 .small,.h2 .small,h3 .small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:11.5px;margin-bottom:11.5px}h4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,h4 .small,.h4 .small,h5 .small,.h5 .small,h6 .small,.h6 .small{font-size:75%}h1,.h1{font-size:56px}h2,.h2{font-size:45px}h3,.h3{font-size:34px}h4,.h4{font-size:24px}h5,.h5{font-size:20px}h6,.h6{font-size:14px}p{margin:0 0 11.5px}.lead{margin-bottom:23px;font-size:14px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:19.5px}}small,.small{font-size:92%}mark,.mark{background-color:#ffe0b2;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#bbbbbb}.text-primary{color:#2196f3}a.text-primary:hover,a.text-primary:focus{color:#0c7cd5}.text-success{color:#4caf50}a.text-success:hover,a.text-success:focus{color:#3d8b40}.text-info{color:#9c27b0}a.text-info:hover,a.text-info:focus{color:#771e86}.text-warning{color:#ff9800}a.text-warning:hover,a.text-warning:focus{color:#cc7a00}.text-danger{color:#e51c23}a.text-danger:hover,a.text-danger:focus{color:#b9151b}.bg-primary{color:#fff;background-color:#2196f3}a.bg-primary:hover,a.bg-primary:focus{background-color:#0c7cd5}.bg-success{background-color:#dff0d8}a.bg-success:hover,a.bg-success:focus{background-color:#c1e2b3}.bg-info{background-color:#e1bee7}a.bg-info:hover,a.bg-info:focus{background-color:#d099d9}.bg-warning{background-color:#ffe0b2}a.bg-warning:hover,a.bg-warning:focus{background-color:#ffcb7f}.bg-danger{background-color:#f9bdbb}a.bg-danger:hover,a.bg-danger:focus{background-color:#f5908c}.page-header{padding-bottom:10.5px;margin:46px 0 23px;border-bottom:1px solid #eeeeee}ul,ol{margin-top:0;margin-bottom:11.5px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none;margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:23px}dt,dd{line-height:1.846}dt{font-weight:bold}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #bbbbbb}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:11.5px 23px;margin:0 0 23px;font-size:16.25px;border-left:5px solid #eeeeee}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote footer,blockquote small,blockquote .small{display:block;font-size:80%;line-height:1.846;color:#bbbbbb}blockquote footer:before,blockquote small:before,blockquote .small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eeeeee;border-left:0;text-align:right}.blockquote-reverse footer:before,blockquote.pull-right footer:before,.blockquote-reverse small:before,blockquote.pull-right small:before,.blockquote-reverse .small:before,blockquote.pull-right .small:before{content:''}.blockquote-reverse footer:after,blockquote.pull-right footer:after,.blockquote-reverse small:after,blockquote.pull-right small:after,.blockquote-reverse .small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}address{margin-bottom:23px;font-style:normal;line-height:1.846}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:3px}kbd{padding:2px 4px;font-size:90%;color:#ffffff;background-color:#333333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.25)}kbd kbd{padding:0;font-size:100%;font-weight:bold;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:11px;margin:0 0 11.5px;font-size:12px;line-height:1.846;word-break:break-all;word-wrap:break-word;color:#212121;background-color:#f5f5f5;border:1px solid #cccccc;border-radius:3px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0%}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0%}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0%}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0%}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#bbbbbb;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:23px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.846;vertical-align:top;border-top:1px solid #dddddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #dddddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #dddddd}.table .table{background-color:#ffffff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #dddddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #dddddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*="col-"]{position:static;float:none;display:table-column}table td[class*="col-"],table th[class*="col-"]{position:static;float:none;display:table-cell}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.info,.table>tbody>tr>td.info,.table>tfoot>tr>td.info,.table>thead>tr>th.info,.table>tbody>tr>th.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>tbody>tr.info>td,.table>tfoot>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr.info>th,.table>tfoot>tr.info>th{background-color:#e1bee7}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr.info:hover>th{background-color:#d8abe0}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#ffe0b2}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr.warning:hover>th{background-color:#ffd699}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f9bdbb}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr.danger:hover>th{background-color:#f7a6a4}.table-responsive{overflow-x:auto;min-height:0.01%}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:17.25px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #dddddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;padding:0;margin-bottom:23px;font-size:19.5px;line-height:inherit;color:#212121;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}input[type="range"]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:13px;line-height:1.846;color:#666666}.form-control{display:block;width:100%;height:37px;padding:6px 16px;font-size:13px;line-height:1.846;color:#666666;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:3px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.form-control::-moz-placeholder{color:#bbbbbb;opacity:1}.form-control:-ms-input-placeholder{color:#bbbbbb}.form-control::-webkit-input-placeholder{color:#bbbbbb}.form-control::-ms-expand{border:0;background-color:transparent}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:transparent;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type="search"]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type="date"].form-control,input[type="time"].form-control,input[type="datetime-local"].form-control,input[type="month"].form-control{line-height:37px}input[type="date"].input-sm,input[type="time"].input-sm,input[type="datetime-local"].input-sm,input[type="month"].input-sm,.input-group-sm input[type="date"],.input-group-sm input[type="time"],.input-group-sm input[type="datetime-local"],.input-group-sm input[type="month"]{line-height:30px}input[type="date"].input-lg,input[type="time"].input-lg,input[type="datetime-local"].input-lg,input[type="month"].input-lg,.input-group-lg input[type="date"],.input-group-lg input[type="time"],.input-group-lg input[type="datetime-local"],.input-group-lg input[type="month"]{line-height:45px}}.form-group{margin-bottom:15px}.radio,.checkbox{position:relative;display:block;margin-top:10px;margin-bottom:10px}.radio label,.checkbox label{min-height:23px;padding-left:20px;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{position:absolute;margin-left:-20px;margin-top:4px \9}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:normal;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"].disabled,input[type="checkbox"].disabled,fieldset[disabled] input[type="radio"],fieldset[disabled] input[type="checkbox"]{cursor:not-allowed}.radio-inline.disabled,.checkbox-inline.disabled,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.radio.disabled label,.checkbox.disabled label,fieldset[disabled] .radio label,fieldset[disabled] .checkbox label{cursor:not-allowed}.form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0;min-height:36px}.form-control-static.input-lg,.form-control-static.input-sm{padding-left:0;padding-right:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm,select[multiple].input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm textarea.form-control,.form-group-sm select[multiple].form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:35px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:45px;padding:10px 16px;font-size:17px;line-height:1.3333333;border-radius:3px}select.input-lg{height:45px;line-height:45px}textarea.input-lg,select[multiple].input-lg{height:auto}.form-group-lg .form-control{height:45px;padding:10px 16px;font-size:17px;line-height:1.3333333;border-radius:3px}.form-group-lg select.form-control{height:45px;line-height:45px}.form-group-lg textarea.form-control,.form-group-lg select[multiple].form-control{height:auto}.form-group-lg .form-control-static{height:45px;min-height:40px;padding:11px 16px;font-size:17px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:46.25px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:37px;height:37px;line-height:37px;text-align:center;pointer-events:none}.input-lg+.form-control-feedback,.input-group-lg+.form-control-feedback,.form-group-lg .form-control+.form-control-feedback{width:45px;height:45px;line-height:45px}.input-sm+.form-control-feedback,.input-group-sm+.form-control-feedback,.form-group-sm .form-control+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline,.has-success.radio label,.has-success.checkbox label,.has-success.radio-inline label,.has-success.checkbox-inline label{color:#4caf50}.has-success .form-control{border-color:#4caf50;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#3d8b40;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #92cf94;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #92cf94}.has-success .input-group-addon{color:#4caf50;border-color:#4caf50;background-color:#dff0d8}.has-success .form-control-feedback{color:#4caf50}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline,.has-warning.radio label,.has-warning.checkbox label,.has-warning.radio-inline label,.has-warning.checkbox-inline label{color:#ff9800}.has-warning .form-control{border-color:#ff9800;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#cc7a00;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ffc166;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ffc166}.has-warning .input-group-addon{color:#ff9800;border-color:#ff9800;background-color:#ffe0b2}.has-warning .form-control-feedback{color:#ff9800}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline,.has-error.radio label,.has-error.checkbox label,.has-error.radio-inline label,.has-error.checkbox-inline label{color:#e51c23}.has-error .form-control{border-color:#e51c23;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#b9151b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ef787c;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ef787c}.has-error .input-group-addon{color:#e51c23;border-color:#e51c23;background-color:#f9bdbb}.has-error .form-control-feedback{color:#e51c23}.has-feedback label~.form-control-feedback{top:28px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#a6a6a6}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn,.form-inline .input-group .form-control{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .radio label,.form-inline .checkbox label{padding-left:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{margin-top:0;margin-bottom:0;padding-top:7px}.form-horizontal .radio,.form-horizontal .checkbox{min-height:30px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}@media (min-width:768px){.form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:7px}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:17px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 16px;font-size:13px;line-height:1.846;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,.btn:active:focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn.active.focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus,.btn.focus{color:#444444;text-decoration:none}.btn:active,.btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#444444;background-color:#ffffff;border-color:transparent}.btn-default:focus,.btn-default.focus{color:#444444;background-color:#e6e6e6;border-color:rgba(0,0,0,0)}.btn-default:hover{color:#444444;background-color:#e6e6e6;border-color:rgba(0,0,0,0)}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{color:#444444;background-color:#e6e6e6;border-color:rgba(0,0,0,0)}.btn-default:active:hover,.btn-default.active:hover,.open>.dropdown-toggle.btn-default:hover,.btn-default:active:focus,.btn-default.active:focus,.open>.dropdown-toggle.btn-default:focus,.btn-default:active.focus,.btn-default.active.focus,.open>.dropdown-toggle.btn-default.focus{color:#444444;background-color:#d4d4d4;border-color:rgba(0,0,0,0)}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled.focus,.btn-default[disabled].focus,fieldset[disabled] .btn-default.focus{background-color:#ffffff;border-color:transparent}.btn-default .badge{color:#ffffff;background-color:#444444}.btn-primary{color:#ffffff;background-color:#2196f3;border-color:transparent}.btn-primary:focus,.btn-primary.focus{color:#ffffff;background-color:#0c7cd5;border-color:rgba(0,0,0,0)}.btn-primary:hover{color:#ffffff;background-color:#0c7cd5;border-color:rgba(0,0,0,0)}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{color:#ffffff;background-color:#0c7cd5;border-color:rgba(0,0,0,0)}.btn-primary:active:hover,.btn-primary.active:hover,.open>.dropdown-toggle.btn-primary:hover,.btn-primary:active:focus,.btn-primary.active:focus,.open>.dropdown-toggle.btn-primary:focus,.btn-primary:active.focus,.btn-primary.active.focus,.open>.dropdown-toggle.btn-primary.focus{color:#ffffff;background-color:#0a68b4;border-color:rgba(0,0,0,0)}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled.focus,.btn-primary[disabled].focus,fieldset[disabled] .btn-primary.focus{background-color:#2196f3;border-color:transparent}.btn-primary .badge{color:#2196f3;background-color:#ffffff}.btn-success{color:#ffffff;background-color:#4caf50;border-color:transparent}.btn-success:focus,.btn-success.focus{color:#ffffff;background-color:#3d8b40;border-color:rgba(0,0,0,0)}.btn-success:hover{color:#ffffff;background-color:#3d8b40;border-color:rgba(0,0,0,0)}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{color:#ffffff;background-color:#3d8b40;border-color:rgba(0,0,0,0)}.btn-success:active:hover,.btn-success.active:hover,.open>.dropdown-toggle.btn-success:hover,.btn-success:active:focus,.btn-success.active:focus,.open>.dropdown-toggle.btn-success:focus,.btn-success:active.focus,.btn-success.active.focus,.open>.dropdown-toggle.btn-success.focus{color:#ffffff;background-color:#327334;border-color:rgba(0,0,0,0)}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled.focus,.btn-success[disabled].focus,fieldset[disabled] .btn-success.focus{background-color:#4caf50;border-color:transparent}.btn-success .badge{color:#4caf50;background-color:#ffffff}.btn-info{color:#ffffff;background-color:#9c27b0;border-color:transparent}.btn-info:focus,.btn-info.focus{color:#ffffff;background-color:#771e86;border-color:rgba(0,0,0,0)}.btn-info:hover{color:#ffffff;background-color:#771e86;border-color:rgba(0,0,0,0)}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{color:#ffffff;background-color:#771e86;border-color:rgba(0,0,0,0)}.btn-info:active:hover,.btn-info.active:hover,.open>.dropdown-toggle.btn-info:hover,.btn-info:active:focus,.btn-info.active:focus,.open>.dropdown-toggle.btn-info:focus,.btn-info:active.focus,.btn-info.active.focus,.open>.dropdown-toggle.btn-info.focus{color:#ffffff;background-color:#5d1769;border-color:rgba(0,0,0,0)}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled.focus,.btn-info[disabled].focus,fieldset[disabled] .btn-info.focus{background-color:#9c27b0;border-color:transparent}.btn-info .badge{color:#9c27b0;background-color:#ffffff}.btn-warning{color:#ffffff;background-color:#ff9800;border-color:transparent}.btn-warning:focus,.btn-warning.focus{color:#ffffff;background-color:#cc7a00;border-color:rgba(0,0,0,0)}.btn-warning:hover{color:#ffffff;background-color:#cc7a00;border-color:rgba(0,0,0,0)}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{color:#ffffff;background-color:#cc7a00;border-color:rgba(0,0,0,0)}.btn-warning:active:hover,.btn-warning.active:hover,.open>.dropdown-toggle.btn-warning:hover,.btn-warning:active:focus,.btn-warning.active:focus,.open>.dropdown-toggle.btn-warning:focus,.btn-warning:active.focus,.btn-warning.active.focus,.open>.dropdown-toggle.btn-warning.focus{color:#ffffff;background-color:#a86400;border-color:rgba(0,0,0,0)}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled.focus,.btn-warning[disabled].focus,fieldset[disabled] .btn-warning.focus{background-color:#ff9800;border-color:transparent}.btn-warning .badge{color:#ff9800;background-color:#ffffff}.btn-danger{color:#ffffff;background-color:#e51c23;border-color:transparent}.btn-danger:focus,.btn-danger.focus{color:#ffffff;background-color:#b9151b;border-color:rgba(0,0,0,0)}.btn-danger:hover{color:#ffffff;background-color:#b9151b;border-color:rgba(0,0,0,0)}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{color:#ffffff;background-color:#b9151b;border-color:rgba(0,0,0,0)}.btn-danger:active:hover,.btn-danger.active:hover,.open>.dropdown-toggle.btn-danger:hover,.btn-danger:active:focus,.btn-danger.active:focus,.open>.dropdown-toggle.btn-danger:focus,.btn-danger:active.focus,.btn-danger.active.focus,.open>.dropdown-toggle.btn-danger.focus{color:#ffffff;background-color:#991216;border-color:rgba(0,0,0,0)}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled.focus,.btn-danger[disabled].focus,fieldset[disabled] .btn-danger.focus{background-color:#e51c23;border-color:transparent}.btn-danger .badge{color:#e51c23;background-color:#ffffff}.btn-link{color:#2196f3;font-weight:normal;border-radius:0}.btn-link,.btn-link:active,.btn-link.active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#0a6ebd;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#bbbbbb;text-decoration:none}.btn-lg,.btn-group-lg>.btn{padding:10px 16px;font-size:17px;line-height:1.3333333;border-radius:3px}.btn-sm,.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs,.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height, visibility;-o-transition-property:height, visibility;transition-property:height, visibility;-webkit-transition-duration:0.35s;-o-transition-duration:0.35s;transition-duration:0.35s;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid \9;border-right:4px solid transparent;border-left:4px solid transparent}.dropup,.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:13px;text-align:left;background-color:#ffffff;border:1px solid #cccccc;border:1px solid rgba(0,0,0,0.15);border-radius:3px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);-webkit-background-clip:padding-box;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:10.5px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.846;color:#666666;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{text-decoration:none;color:#141414;background-color:#eeeeee}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#ffffff;text-decoration:none;outline:0;background-color:#2196f3}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#bbbbbb}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);cursor:not-allowed}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.846;color:#bbbbbb;white-space:nowrap}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px dashed;border-bottom:4px solid \9;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{left:auto;right:0}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:3px;border-top-left-radius:3px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle="buttons"]>.btn input[type="radio"],[data-toggle="buttons"]>.btn-group>.btn input[type="radio"],[data-toggle="buttons"]>.btn input[type="checkbox"],[data-toggle="buttons"]>.btn-group>.btn input[type="checkbox"]{position:absolute;clip:rect(0, 0, 0, 0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*="col-"]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:45px;padding:10px 16px;font-size:17px;line-height:1.3333333;border-radius:3px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:45px;line-height:45px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn,select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn,select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 16px;font-size:13px;font-weight:normal;line-height:1;color:#666666;text-align:center;background-color:transparent;border:1px solid transparent;border-radius:3px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:17px;border-radius:3px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn{border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:hover,.input-group-btn>.btn:focus,.input-group-btn>.btn:active{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eeeeee}.nav>li.disabled>a{color:#bbbbbb}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#bbbbbb;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eeeeee;border-color:#2196f3}.nav .nav-divider{height:1px;margin:10.5px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid transparent}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.846;border:1px solid transparent;border-radius:3px 3px 0 0}.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee transparent}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#666666;background-color:transparent;border:1px solid transparent;border-bottom-color:transparent;cursor:default}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:3px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid transparent}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid transparent;border-radius:3px 3px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#ffffff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:3px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#ffffff;background-color:#2196f3}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:3px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid transparent}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid transparent;border-radius:3px 3px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#ffffff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:64px;margin-bottom:23px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:3px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{overflow-x:visible;padding-right:15px;padding-left:15px;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);-webkit-overflow-scrolling:touch}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block !important;height:auto !important;padding-bottom:0;overflow:visible !important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-left:0;padding-right:0}}.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:200px}}.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:20.5px 15px;font-size:17px;line-height:23px;height:64px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;margin-right:15px;padding:9px 10px;margin-top:15px;margin-bottom:15px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:3px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:10.25px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:23px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:23px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:20.5px;padding-bottom:20.5px}}.navbar-form{margin-left:-15px;margin-right:-15px;padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);margin-top:13.5px;margin-bottom:13.5px}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn,.navbar-form .input-group .form-control{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .radio label,.navbar-form .checkbox label{padding-left:0}.navbar-form .radio input[type="radio"],.navbar-form .checkbox input[type="checkbox"]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;border:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-right-radius:3px;border-top-left-radius:3px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:13.5px;margin-bottom:13.5px}.navbar-btn.btn-sm{margin-top:17px;margin-bottom:17px}.navbar-btn.btn-xs{margin-top:21px;margin-bottom:21px}.navbar-text{margin-top:20.5px;margin-bottom:20.5px}@media (min-width:768px){.navbar-text{float:left;margin-left:15px;margin-right:15px}}@media (min-width:768px){.navbar-left{float:left !important}.navbar-right{float:right !important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#ffffff;border-color:transparent}.navbar-default .navbar-brand{color:#666666}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#212121;background-color:transparent}.navbar-default .navbar-text{color:#bbbbbb}.navbar-default .navbar-nav>li>a{color:#666666}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#212121;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#212121;background-color:#eeeeee}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#cccccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:transparent}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:transparent}.navbar-default .navbar-toggle .icon-bar{background-color:rgba(0,0,0,0.5)}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:transparent}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{background-color:#eeeeee;color:#212121}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#666666}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#212121;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#212121;background-color:#eeeeee}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#cccccc;background-color:transparent}}.navbar-default .navbar-link{color:#666666}.navbar-default .navbar-link:hover{color:#212121}.navbar-default .btn-link{color:#666666}.navbar-default .btn-link:hover,.navbar-default .btn-link:focus{color:#212121}.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:hover,.navbar-default .btn-link[disabled]:focus,fieldset[disabled] .navbar-default .btn-link:focus{color:#cccccc}.navbar-inverse{background-color:#2196f3;border-color:transparent}.navbar-inverse .navbar-brand{color:#b2dbfb}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#ffffff;background-color:transparent}.navbar-inverse .navbar-text{color:#bbbbbb}.navbar-inverse .navbar-nav>li>a{color:#b2dbfb}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#ffffff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#ffffff;background-color:#0c7cd5}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:transparent}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:transparent}.navbar-inverse .navbar-toggle .icon-bar{background-color:rgba(0,0,0,0.5)}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#0c84e4}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{background-color:#0c7cd5;color:#ffffff}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#b2dbfb}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#ffffff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#ffffff;background-color:#0c7cd5}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444444;background-color:transparent}}.navbar-inverse .navbar-link{color:#b2dbfb}.navbar-inverse .navbar-link:hover{color:#ffffff}.navbar-inverse .btn-link{color:#b2dbfb}.navbar-inverse .btn-link:hover,.navbar-inverse .btn-link:focus{color:#ffffff}.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:hover,.navbar-inverse .btn-link[disabled]:focus,fieldset[disabled] .navbar-inverse .btn-link:focus{color:#444444}.breadcrumb{padding:8px 15px;margin-bottom:23px;list-style:none;background-color:#f5f5f5;border-radius:3px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\00a0";padding:0 5px;color:#cccccc}.breadcrumb>.active{color:#bbbbbb}.pagination{display:inline-block;padding-left:0;margin:23px 0;border-radius:3px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 16px;line-height:1.846;text-decoration:none;color:#2196f3;background-color:#ffffff;border:1px solid #dddddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{z-index:2;color:#0a6ebd;background-color:#eeeeee;border-color:#dddddd}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:3;color:#ffffff;background-color:#2196f3;border-color:#2196f3;cursor:default}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#bbbbbb;background-color:#ffffff;border-color:#dddddd;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:17px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pager{padding-left:0;margin:23px 0;list-style:none;text-align:center}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#ffffff;border:1px solid #dddddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eeeeee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#bbbbbb;background-color:#ffffff;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#ffffff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:hover,a.label:focus{color:#ffffff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#bbbbbb}.label-default[href]:hover,.label-default[href]:focus{background-color:#a2a2a2}.label-primary{background-color:#2196f3}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#0c7cd5}.label-success{background-color:#4caf50}.label-success[href]:hover,.label-success[href]:focus{background-color:#3d8b40}.label-info{background-color:#9c27b0}.label-info[href]:hover,.label-info[href]:focus{background-color:#771e86}.label-warning{background-color:#ff9800}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#cc7a00}.label-danger{background-color:#e51c23}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#b9151b}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:normal;color:#ffffff;line-height:1;vertical-align:middle;white-space:nowrap;text-align:center;background-color:#bbbbbb;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge,.btn-group-xs>.btn .badge{top:0;padding:1px 5px}a.badge:hover,a.badge:focus{color:#ffffff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#2196f3;background-color:#ffffff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;background-color:#f9f9f9}.jumbotron h1,.jumbotron .h1{color:#444444}.jumbotron p{margin-bottom:15px;font-size:20px;font-weight:200}.jumbotron>hr{border-top-color:#e0e0e0}.container .jumbotron,.container-fluid .jumbotron{border-radius:3px;padding-left:15px;padding-right:15px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-left:60px;padding-right:60px}.jumbotron h1,.jumbotron .h1{font-size:59px}}.thumbnail{display:block;padding:4px;margin-bottom:23px;line-height:1.846;background-color:#ffffff;border:1px solid #dddddd;border-radius:3px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail>img,.thumbnail a>img{margin-left:auto;margin-right:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#2196f3}.thumbnail .caption{padding:9px;color:#666666}.alert{padding:15px;margin-bottom:23px;border:1px solid transparent;border-radius:3px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:bold}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#4caf50}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#3d8b40}.alert-info{background-color:#e1bee7;border-color:#cba4dd;color:#9c27b0}.alert-info hr{border-top-color:#c191d6}.alert-info .alert-link{color:#771e86}.alert-warning{background-color:#ffe0b2;border-color:#ffc599;color:#ff9800}.alert-warning hr{border-top-color:#ffb67f}.alert-warning .alert-link{color:#cc7a00}.alert-danger{background-color:#f9bdbb;border-color:#f7a4af;color:#e51c23}.alert-danger hr{border-top-color:#f58c9a}.alert-danger .alert-link{color:#b9151b}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:23px;margin-bottom:23px;background-color:#f5f5f5;border-radius:3px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0%;height:100%;font-size:12px;line-height:23px;color:#ffffff;text-align:center;background-color:#2196f3;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width 0.6s ease;-o-transition:width 0.6s ease;transition:width 0.6s ease}.progress-striped .progress-bar,.progress-bar-striped{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress.active .progress-bar,.progress-bar.active{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#4caf50}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-info{background-color:#9c27b0}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-warning{background-color:#ff9800}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-danger{background-color:#e51c23}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{zoom:1;overflow:hidden}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-left,.media-right,.media-body{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#ffffff;border:1px solid #dddddd}.list-group-item:first-child{border-top-right-radius:3px;border-top-left-radius:3px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}a.list-group-item,button.list-group-item{color:#555555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333333}a.list-group-item:hover,button.list-group-item:hover,a.list-group-item:focus,button.list-group-item:focus{text-decoration:none;color:#555555;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:hover,.list-group-item.disabled:focus{background-color:#eeeeee;color:#bbbbbb;cursor:not-allowed}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text{color:#bbbbbb}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{z-index:2;color:#ffffff;background-color:#2196f3;border-color:#2196f3}.list-group-item.active .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>.small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:hover .list-group-item-text,.list-group-item.active:focus .list-group-item-text{color:#e3f2fd}.list-group-item-success{color:#4caf50;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#4caf50}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:hover,button.list-group-item-success:hover,a.list-group-item-success:focus,button.list-group-item-success:focus{color:#4caf50;background-color:#d0e9c6}a.list-group-item-success.active,button.list-group-item-success.active,a.list-group-item-success.active:hover,button.list-group-item-success.active:hover,a.list-group-item-success.active:focus,button.list-group-item-success.active:focus{color:#fff;background-color:#4caf50;border-color:#4caf50}.list-group-item-info{color:#9c27b0;background-color:#e1bee7}a.list-group-item-info,button.list-group-item-info{color:#9c27b0}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:hover,button.list-group-item-info:hover,a.list-group-item-info:focus,button.list-group-item-info:focus{color:#9c27b0;background-color:#d8abe0}a.list-group-item-info.active,button.list-group-item-info.active,a.list-group-item-info.active:hover,button.list-group-item-info.active:hover,a.list-group-item-info.active:focus,button.list-group-item-info.active:focus{color:#fff;background-color:#9c27b0;border-color:#9c27b0}.list-group-item-warning{color:#ff9800;background-color:#ffe0b2}a.list-group-item-warning,button.list-group-item-warning{color:#ff9800}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:hover,button.list-group-item-warning:hover,a.list-group-item-warning:focus,button.list-group-item-warning:focus{color:#ff9800;background-color:#ffd699}a.list-group-item-warning.active,button.list-group-item-warning.active,a.list-group-item-warning.active:hover,button.list-group-item-warning.active:hover,a.list-group-item-warning.active:focus,button.list-group-item-warning.active:focus{color:#fff;background-color:#ff9800;border-color:#ff9800}.list-group-item-danger{color:#e51c23;background-color:#f9bdbb}a.list-group-item-danger,button.list-group-item-danger{color:#e51c23}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:hover,button.list-group-item-danger:hover,a.list-group-item-danger:focus,button.list-group-item-danger:focus{color:#e51c23;background-color:#f7a6a4}a.list-group-item-danger.active,button.list-group-item-danger.active,a.list-group-item-danger.active:hover,button.list-group-item-danger.active:hover,a.list-group-item-danger.active:focus,button.list-group-item-danger.active:focus{color:#fff;background-color:#e51c23;border-color:#e51c23}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:23px;background-color:#ffffff;border:1px solid transparent;border-radius:3px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:2px;border-top-left-radius:2px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:15px;color:inherit}.panel-title>a,.panel-title>small,.panel-title>.small,.panel-title>small>a,.panel-title>.small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #dddddd;border-bottom-right-radius:2px;border-bottom-left-radius:2px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-right-radius:2px;border-top-left-radius:2px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:2px;border-bottom-left-radius:2px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.table,.panel>.table-responsive>.table,.panel>.panel-collapse>.table{margin-bottom:0}.panel>.table caption,.panel>.table-responsive>.table caption,.panel>.panel-collapse>.table caption{padding-left:15px;padding-right:15px}.panel>.table:first-child,.panel>.table-responsive:first-child>.table:first-child{border-top-right-radius:2px;border-top-left-radius:2px}.panel>.table:first-child>thead:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child{border-top-left-radius:2px}.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child{border-top-right-radius:2px}.panel>.table:last-child,.panel>.table-responsive:last-child>.table:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:2px}.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:2px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #dddddd}.panel>.table>tbody:first-child>tr:first-child th,.panel>.table>tbody:first-child>tr:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{border:0;margin-bottom:0}.panel-group{margin-bottom:23px}.panel-group .panel{margin-bottom:0;border-radius:3px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.panel-body,.panel-group .panel-heading+.panel-collapse>.list-group{border-top:1px solid #dddddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #dddddd}.panel-default{border-color:#dddddd}.panel-default>.panel-heading{color:#212121;background-color:#f5f5f5;border-color:#dddddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#dddddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#212121}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#dddddd}.panel-primary{border-color:#2196f3}.panel-primary>.panel-heading{color:#ffffff;background-color:#2196f3;border-color:#2196f3}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#2196f3}.panel-primary>.panel-heading .badge{color:#2196f3;background-color:#ffffff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#2196f3}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#ffffff;background-color:#4caf50;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#4caf50;background-color:#ffffff}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#cba4dd}.panel-info>.panel-heading{color:#ffffff;background-color:#9c27b0;border-color:#cba4dd}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#cba4dd}.panel-info>.panel-heading .badge{color:#9c27b0;background-color:#ffffff}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#cba4dd}.panel-warning{border-color:#ffc599}.panel-warning>.panel-heading{color:#ffffff;background-color:#ff9800;border-color:#ffc599}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ffc599}.panel-warning>.panel-heading .badge{color:#ff9800;background-color:#ffffff}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ffc599}.panel-danger{border-color:#f7a4af}.panel-danger>.panel-heading{color:#ffffff;background-color:#e51c23;border-color:#f7a4af}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#f7a4af}.panel-danger>.panel-heading .badge{color:#e51c23;background-color:#ffffff}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#f7a4af}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive iframe,.embed-responsive embed,.embed-responsive object,.embed-responsive video{position:absolute;top:0;left:0;bottom:0;height:100%;width:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f9f9f9;border:1px solid transparent;border-radius:3px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-lg{padding:24px;border-radius:3px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:19.5px;font-weight:normal;line-height:1;color:#000000;text-shadow:none;opacity:0.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000000;text-decoration:none;cursor:pointer;opacity:0.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{display:none;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate(0, -25%);-ms-transform:translate(0, -25%);-o-transform:translate(0, -25%);transform:translate(0, -25%);-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);-o-transform:translate(0, 0);transform:translate(0, 0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#ffffff;border:1px solid #999999;border:1px solid transparent;border-radius:3px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);-webkit-background-clip:padding-box;background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:0.5;filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid transparent}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.846}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid transparent}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;line-break:auto;line-height:1.846;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:12px;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:0.9;filter:alpha(opacity=90)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#ffffff;text-align:center;background-color:#727272;border-radius:3px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#727272}.tooltip.top-left .tooltip-arrow{bottom:0;right:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#727272}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#727272}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#727272}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#727272}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#727272}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#727272}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#727272}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;line-break:auto;line-height:1.846;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:13px;background-color:#ffffff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid transparent;border-radius:3px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:13px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:2px 2px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{border-width:10px;content:""}.popover.top>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:rgba(0,0,0,0);border-top-color:rgba(0,0,0,0.075);bottom:-11px}.popover.top>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#ffffff}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:rgba(0,0,0,0);border-right-color:rgba(0,0,0,0.075)}.popover.right>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#ffffff}.popover.bottom>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:rgba(0,0,0,0);border-bottom-color:rgba(0,0,0,0.075);top:-11px}.popover.bottom>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#ffffff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:rgba(0,0,0,0);border-left-color:rgba(0,0,0,0.075)}.popover.left>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#ffffff;bottom:-10px}.carousel{position:relative}.carousel-inner{position:relative;overflow:hidden;width:100%}.carousel-inner>.item{display:none;position:relative;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.next,.carousel-inner>.item.active.right{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);left:0}.carousel-inner>.item.prev,.carousel-inner>.item.active.left{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);left:0}.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right,.carousel-inner>.item.active{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);left:0}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;left:0;bottom:0;width:15%;opacity:0.5;filter:alpha(opacity=50);font-size:20px;color:#ffffff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6);background-color:rgba(0,0,0,0)}.carousel-control.left{background-image:-webkit-linear-gradient(left, rgba(0,0,0,0.5) 0, rgba(0,0,0,0.0001) 100%);background-image:-o-linear-gradient(left, rgba(0,0,0,0.5) 0, rgba(0,0,0,0.0001) 100%);background-image:-webkit-gradient(linear, left top, right top, from(rgba(0,0,0,0.5)), to(rgba(0,0,0,0.0001)));background-image:linear-gradient(to right, rgba(0,0,0,0.5) 0, rgba(0,0,0,0.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.carousel-control.right{left:auto;right:0;background-image:-webkit-linear-gradient(left, rgba(0,0,0,0.0001) 0, rgba(0,0,0,0.5) 100%);background-image:-o-linear-gradient(left, rgba(0,0,0,0.0001) 0, rgba(0,0,0,0.5) 100%);background-image:-webkit-gradient(linear, left top, right top, from(rgba(0,0,0,0.0001)), to(rgba(0,0,0,0.5)));background-image:linear-gradient(to right, rgba(0,0,0,0.0001) 0, rgba(0,0,0,0.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.carousel-control:hover,.carousel-control:focus{outline:0;color:#ffffff;text-decoration:none;opacity:0.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;margin-top:-10px;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%;margin-left:-10px}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%;margin-right:-10px}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;line-height:1;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;margin-left:-30%;padding-left:0;list-style:none;text-align:center}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;border:1px solid #ffffff;border-radius:10px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0)}.carousel-indicators .active{margin:0;width:12px;height:12px;background-color:#ffffff}.carousel-caption{position:absolute;left:15%;right:15%;bottom:20px;z-index:10;padding-top:20px;padding-bottom:20px;color:#ffffff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{left:20%;right:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after,.dl-horizontal dd:before,.dl-horizontal dd:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-header:before,.modal-header:after,.modal-footer:before,.modal-footer:after{content:" ";display:table}.clearfix:after,.dl-horizontal dd:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-header:after,.modal-footer:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,.visible-sm,.visible-md,.visible-lg{display:none !important}.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block{display:none !important}@media (max-width:767px){.visible-xs{display:block !important}table.visible-xs{display:table !important}tr.visible-xs{display:table-row !important}th.visible-xs,td.visible-xs{display:table-cell !important}}@media (max-width:767px){.visible-xs-block{display:block !important}}@media (max-width:767px){.visible-xs-inline{display:inline !important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block !important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block !important}table.visible-sm{display:table !important}tr.visible-sm{display:table-row !important}th.visible-sm,td.visible-sm{display:table-cell !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block !important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block !important}table.visible-md{display:table !important}tr.visible-md{display:table-row !important}th.visible-md,td.visible-md{display:table-cell !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block !important}}@media (min-width:1200px){.visible-lg{display:block !important}table.visible-lg{display:table !important}tr.visible-lg{display:table-row !important}th.visible-lg,td.visible-lg{display:table-cell !important}}@media (min-width:1200px){.visible-lg-block{display:block !important}}@media (min-width:1200px){.visible-lg-inline{display:inline !important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block !important}}@media (max-width:767px){.hidden-xs{display:none !important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none !important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none !important}}@media (min-width:1200px){.hidden-lg{display:none !important}}.visible-print{display:none !important}@media print{.visible-print{display:block !important}table.visible-print{display:table !important}tr.visible-print{display:table-row !important}th.visible-print,td.visible-print{display:table-cell !important}}.visible-print-block{display:none !important}@media print{.visible-print-block{display:block !important}}.visible-print-inline{display:none !important}@media print{.visible-print-inline{display:inline !important}}.visible-print-inline-block{display:none !important}@media print{.visible-print-inline-block{display:inline-block !important}}@media print{.hidden-print{display:none !important}}.navbar{border:none;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.3);box-shadow:0 1px 2px rgba(0,0,0,0.3)}.navbar-brand{font-size:24px}.navbar-inverse .navbar-form input[type=text],.navbar-inverse .navbar-form input[type=password]{color:#fff;-webkit-box-shadow:inset 0 -1px 0 #b2dbfb;box-shadow:inset 0 -1px 0 #b2dbfb}.navbar-inverse .navbar-form input[type=text]::-moz-placeholder,.navbar-inverse .navbar-form input[type=password]::-moz-placeholder{color:#b2dbfb;opacity:1}.navbar-inverse .navbar-form input[type=text]:-ms-input-placeholder,.navbar-inverse .navbar-form input[type=password]:-ms-input-placeholder{color:#b2dbfb}.navbar-inverse .navbar-form input[type=text]::-webkit-input-placeholder,.navbar-inverse .navbar-form input[type=password]::-webkit-input-placeholder{color:#b2dbfb}.navbar-inverse .navbar-form input[type=text]:focus,.navbar-inverse .navbar-form input[type=password]:focus{-webkit-box-shadow:inset 0 -2px 0 #fff;box-shadow:inset 0 -2px 0 #fff}.btn-default{-webkit-background-size:200% 200%;background-size:200%;background-position:50%}.btn-default:focus{background-color:#ffffff}.btn-default:hover,.btn-default:active:hover{background-color:#f0f0f0}.btn-default:active{background-color:#e0e0e0;background-image:-webkit-radial-gradient(circle, #e0e0e0 10%, #fff 11%);background-image:-o-radial-gradient(circle, #e0e0e0 10%, #fff 11%);background-image:radial-gradient(circle, #e0e0e0 10%, #fff 11%);background-repeat:no-repeat;-webkit-background-size:1000% 1000%;background-size:1000%;-webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.4);box-shadow:2px 2px 4px rgba(0,0,0,0.4)}.btn-primary{-webkit-background-size:200% 200%;background-size:200%;background-position:50%}.btn-primary:focus{background-color:#2196f3}.btn-primary:hover,.btn-primary:active:hover{background-color:#0d87e9}.btn-primary:active{background-color:#0b76cc;background-image:-webkit-radial-gradient(circle, #0b76cc 10%, #2196f3 11%);background-image:-o-radial-gradient(circle, #0b76cc 10%, #2196f3 11%);background-image:radial-gradient(circle, #0b76cc 10%, #2196f3 11%);background-repeat:no-repeat;-webkit-background-size:1000% 1000%;background-size:1000%;-webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.4);box-shadow:2px 2px 4px rgba(0,0,0,0.4)}.btn-success{-webkit-background-size:200% 200%;background-size:200%;background-position:50%}.btn-success:focus{background-color:#4caf50}.btn-success:hover,.btn-success:active:hover{background-color:#439a46}.btn-success:active{background-color:#39843c;background-image:-webkit-radial-gradient(circle, #39843c 10%, #4caf50 11%);background-image:-o-radial-gradient(circle, #39843c 10%, #4caf50 11%);background-image:radial-gradient(circle, #39843c 10%, #4caf50 11%);background-repeat:no-repeat;-webkit-background-size:1000% 1000%;background-size:1000%;-webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.4);box-shadow:2px 2px 4px rgba(0,0,0,0.4)}.btn-info{-webkit-background-size:200% 200%;background-size:200%;background-position:50%}.btn-info:focus{background-color:#9c27b0}.btn-info:hover,.btn-info:active:hover{background-color:#862197}.btn-info:active{background-color:#701c7e;background-image:-webkit-radial-gradient(circle, #701c7e 10%, #9c27b0 11%);background-image:-o-radial-gradient(circle, #701c7e 10%, #9c27b0 11%);background-image:radial-gradient(circle, #701c7e 10%, #9c27b0 11%);background-repeat:no-repeat;-webkit-background-size:1000% 1000%;background-size:1000%;-webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.4);box-shadow:2px 2px 4px rgba(0,0,0,0.4)}.btn-warning{-webkit-background-size:200% 200%;background-size:200%;background-position:50%}.btn-warning:focus{background-color:#ff9800}.btn-warning:hover,.btn-warning:active:hover{background-color:#e08600}.btn-warning:active{background-color:#c27400;background-image:-webkit-radial-gradient(circle, #c27400 10%, #ff9800 11%);background-image:-o-radial-gradient(circle, #c27400 10%, #ff9800 11%);background-image:radial-gradient(circle, #c27400 10%, #ff9800 11%);background-repeat:no-repeat;-webkit-background-size:1000% 1000%;background-size:1000%;-webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.4);box-shadow:2px 2px 4px rgba(0,0,0,0.4)}.btn-danger{-webkit-background-size:200% 200%;background-size:200%;background-position:50%}.btn-danger:focus{background-color:#e51c23}.btn-danger:hover,.btn-danger:active:hover{background-color:#cb171e}.btn-danger:active{background-color:#b0141a;background-image:-webkit-radial-gradient(circle, #b0141a 10%, #e51c23 11%);background-image:-o-radial-gradient(circle, #b0141a 10%, #e51c23 11%);background-image:radial-gradient(circle, #b0141a 10%, #e51c23 11%);background-repeat:no-repeat;-webkit-background-size:1000% 1000%;background-size:1000%;-webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.4);box-shadow:2px 2px 4px rgba(0,0,0,0.4)}.btn-link{-webkit-background-size:200% 200%;background-size:200%;background-position:50%}.btn-link:focus{background-color:#ffffff}.btn-link:hover,.btn-link:active:hover{background-color:#f0f0f0}.btn-link:active{background-color:#e0e0e0;background-image:-webkit-radial-gradient(circle, #e0e0e0 10%, #fff 11%);background-image:-o-radial-gradient(circle, #e0e0e0 10%, #fff 11%);background-image:radial-gradient(circle, #e0e0e0 10%, #fff 11%);background-repeat:no-repeat;-webkit-background-size:1000% 1000%;background-size:1000%;-webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.4);box-shadow:2px 2px 4px rgba(0,0,0,0.4)}.btn{text-transform:uppercase;border:none;-webkit-box-shadow:1px 1px 4px rgba(0,0,0,0.4);box-shadow:1px 1px 4px rgba(0,0,0,0.4);-webkit-transition:all 0.4s;-o-transition:all 0.4s;transition:all 0.4s}.btn-link{border-radius:3px;-webkit-box-shadow:none;box-shadow:none;color:#444444}.btn-link:hover,.btn-link:focus{-webkit-box-shadow:none;box-shadow:none;color:#444444;text-decoration:none}.btn-default.disabled{background-color:rgba(0,0,0,0.1);color:rgba(0,0,0,0.4);opacity:1}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:0}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:0}body{-webkit-font-smoothing:antialiased;letter-spacing:.1px}p{margin:0 0 1em}input,button{-webkit-font-smoothing:antialiased;letter-spacing:.1px}a{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.table-hover>tbody>tr,.table-hover>tbody>tr>th,.table-hover>tbody>tr>td{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}label{font-weight:normal}textarea,textarea.form-control,input.form-control,input[type=text],input[type=password],input[type=email],input[type=number],[type=text].form-control,[type=password].form-control,[type=email].form-control,[type=tel].form-control,[contenteditable].form-control{padding:0;border:none;border-radius:0;-webkit-appearance:none;-webkit-box-shadow:inset 0 -1px 0 #ddd;box-shadow:inset 0 -1px 0 #ddd;font-size:16px}textarea:focus,textarea.form-control:focus,input.form-control:focus,input[type=text]:focus,input[type=password]:focus,input[type=email]:focus,input[type=number]:focus,[type=text].form-control:focus,[type=password].form-control:focus,[type=email].form-control:focus,[type=tel].form-control:focus,[contenteditable].form-control:focus{-webkit-box-shadow:inset 0 -2px 0 #2196f3;box-shadow:inset 0 -2px 0 #2196f3}textarea[disabled],textarea.form-control[disabled],input.form-control[disabled],input[type=text][disabled],input[type=password][disabled],input[type=email][disabled],input[type=number][disabled],[type=text].form-control[disabled],[type=password].form-control[disabled],[type=email].form-control[disabled],[type=tel].form-control[disabled],[contenteditable].form-control[disabled],textarea[readonly],textarea.form-control[readonly],input.form-control[readonly],input[type=text][readonly],input[type=password][readonly],input[type=email][readonly],input[type=number][readonly],[type=text].form-control[readonly],[type=password].form-control[readonly],[type=email].form-control[readonly],[type=tel].form-control[readonly],[contenteditable].form-control[readonly]{-webkit-box-shadow:none;box-shadow:none;border-bottom:1px dotted #ddd}textarea.input-sm,textarea.form-control.input-sm,input.form-control.input-sm,input[type=text].input-sm,input[type=password].input-sm,input[type=email].input-sm,input[type=number].input-sm,[type=text].form-control.input-sm,[type=password].form-control.input-sm,[type=email].form-control.input-sm,[type=tel].form-control.input-sm,[contenteditable].form-control.input-sm{font-size:12px}textarea.input-lg,textarea.form-control.input-lg,input.form-control.input-lg,input[type=text].input-lg,input[type=password].input-lg,input[type=email].input-lg,input[type=number].input-lg,[type=text].form-control.input-lg,[type=password].form-control.input-lg,[type=email].form-control.input-lg,[type=tel].form-control.input-lg,[contenteditable].form-control.input-lg{font-size:17px}select,select.form-control{border:0;border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-left:0;padding-right:0\9;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAAJ1BMVEVmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmaP/QSjAAAADHRSTlMAAgMJC0uWpKa6wMxMdjkoAAAANUlEQVR4AeXJyQEAERAAsNl7Hf3X6xt0QL6JpZWq30pdvdadme+0PMdzvHm8YThHcT1H7K0BtOMDniZhWOgAAAAASUVORK5CYII=);-webkit-background-size:13px 13px;background-size:13px;background-repeat:no-repeat;background-position:right center;-webkit-box-shadow:inset 0 -1px 0 #ddd;box-shadow:inset 0 -1px 0 #ddd;font-size:16px;line-height:1.5}select::-ms-expand,select.form-control::-ms-expand{display:none}select.input-sm,select.form-control.input-sm{font-size:12px}select.input-lg,select.form-control.input-lg{font-size:17px}select:focus,select.form-control:focus{-webkit-box-shadow:inset 0 -2px 0 #2196f3;box-shadow:inset 0 -2px 0 #2196f3;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAAJ1BMVEUhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISF8S9ewAAAADHRSTlMAAgMJC0uWpKa6wMxMdjkoAAAANUlEQVR4AeXJyQEAERAAsNl7Hf3X6xt0QL6JpZWq30pdvdadme+0PMdzvHm8YThHcT1H7K0BtOMDniZhWOgAAAAASUVORK5CYII=)}select[multiple],select.form-control[multiple]{background:none}.radio label,.radio-inline label,.checkbox label,.checkbox-inline label{padding-left:25px}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="radio"],.checkbox-inline input[type="radio"],.radio input[type="checkbox"],.radio-inline input[type="checkbox"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{margin-left:-25px}input[type="radio"],.radio input[type="radio"],.radio-inline input[type="radio"]{position:relative;margin-top:6px;margin-right:4px;vertical-align:top;border:none;background-color:transparent;-webkit-appearance:none;appearance:none;cursor:pointer}input[type="radio"]:focus,.radio input[type="radio"]:focus,.radio-inline input[type="radio"]:focus{outline:none}input[type="radio"]:before,.radio input[type="radio"]:before,.radio-inline input[type="radio"]:before,input[type="radio"]:after,.radio input[type="radio"]:after,.radio-inline input[type="radio"]:after{content:"";display:block;width:18px;height:18px;border-radius:50%;-webkit-transition:240ms;-o-transition:240ms;transition:240ms}input[type="radio"]:before,.radio input[type="radio"]:before,.radio-inline input[type="radio"]:before{position:absolute;left:0;top:-3px;background-color:#2196f3;-webkit-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);transform:scale(0)}input[type="radio"]:after,.radio input[type="radio"]:after,.radio-inline input[type="radio"]:after{position:relative;top:-3px;border:2px solid #666666}input[type="radio"]:checked:before,.radio input[type="radio"]:checked:before,.radio-inline input[type="radio"]:checked:before{-webkit-transform:scale(.5);-ms-transform:scale(.5);-o-transform:scale(.5);transform:scale(.5)}input[type="radio"]:disabled:checked:before,.radio input[type="radio"]:disabled:checked:before,.radio-inline input[type="radio"]:disabled:checked:before{background-color:#bbbbbb}input[type="radio"]:checked:after,.radio input[type="radio"]:checked:after,.radio-inline input[type="radio"]:checked:after{border-color:#2196f3}input[type="radio"]:disabled:after,.radio input[type="radio"]:disabled:after,.radio-inline input[type="radio"]:disabled:after,input[type="radio"]:disabled:checked:after,.radio input[type="radio"]:disabled:checked:after,.radio-inline input[type="radio"]:disabled:checked:after{border-color:#bbbbbb}input[type="checkbox"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{position:relative;border:none;margin-bottom:-4px;-webkit-appearance:none;appearance:none;cursor:pointer}input[type="checkbox"]:focus,.checkbox input[type="checkbox"]:focus,.checkbox-inline input[type="checkbox"]:focus{outline:none}input[type="checkbox"]:focus:after,.checkbox input[type="checkbox"]:focus:after,.checkbox-inline input[type="checkbox"]:focus:after{border-color:#2196f3}input[type="checkbox"]:after,.checkbox input[type="checkbox"]:after,.checkbox-inline input[type="checkbox"]:after{content:"";display:block;width:18px;height:18px;margin-top:-2px;margin-right:5px;border:2px solid #666666;border-radius:2px;-webkit-transition:240ms;-o-transition:240ms;transition:240ms}input[type="checkbox"]:checked:before,.checkbox input[type="checkbox"]:checked:before,.checkbox-inline input[type="checkbox"]:checked:before{content:"";position:absolute;top:0;left:6px;display:table;width:6px;height:12px;border:2px solid #fff;border-top-width:0;border-left-width:0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}input[type="checkbox"]:checked:after,.checkbox input[type="checkbox"]:checked:after,.checkbox-inline input[type="checkbox"]:checked:after{background-color:#2196f3;border-color:#2196f3}input[type="checkbox"]:disabled:after,.checkbox input[type="checkbox"]:disabled:after,.checkbox-inline input[type="checkbox"]:disabled:after{border-color:#bbbbbb}input[type="checkbox"]:disabled:checked:after,.checkbox input[type="checkbox"]:disabled:checked:after,.checkbox-inline input[type="checkbox"]:disabled:checked:after{background-color:#bbbbbb;border-color:transparent}.has-warning input:not([type=checkbox]),.has-warning .form-control,.has-warning input.form-control[readonly],.has-warning input[type=text][readonly],.has-warning [type=text].form-control[readonly],.has-warning input:not([type=checkbox]):focus,.has-warning .form-control:focus{border-bottom:none;-webkit-box-shadow:inset 0 -2px 0 #ff9800;box-shadow:inset 0 -2px 0 #ff9800}.has-error input:not([type=checkbox]),.has-error .form-control,.has-error input.form-control[readonly],.has-error input[type=text][readonly],.has-error [type=text].form-control[readonly],.has-error input:not([type=checkbox]):focus,.has-error .form-control:focus{border-bottom:none;-webkit-box-shadow:inset 0 -2px 0 #e51c23;box-shadow:inset 0 -2px 0 #e51c23}.has-success input:not([type=checkbox]),.has-success .form-control,.has-success input.form-control[readonly],.has-success input[type=text][readonly],.has-success [type=text].form-control[readonly],.has-success input:not([type=checkbox]):focus,.has-success .form-control:focus{border-bottom:none;-webkit-box-shadow:inset 0 -2px 0 #4caf50;box-shadow:inset 0 -2px 0 #4caf50}.has-warning .input-group-addon,.has-error .input-group-addon,.has-success .input-group-addon{color:#666666;border-color:transparent;background-color:transparent}.nav-tabs>li>a,.nav-tabs>li>a:focus{margin-right:0;background-color:transparent;border:none;color:#666666;-webkit-box-shadow:inset 0 -1px 0 #ddd;box-shadow:inset 0 -1px 0 #ddd;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.nav-tabs>li>a:hover,.nav-tabs>li>a:focus:hover{background-color:transparent;-webkit-box-shadow:inset 0 -2px 0 #2196f3;box-shadow:inset 0 -2px 0 #2196f3;color:#2196f3}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus{border:none;-webkit-box-shadow:inset 0 -2px 0 #2196f3;box-shadow:inset 0 -2px 0 #2196f3;color:#2196f3}.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus:hover{border:none;color:#2196f3}.nav-tabs>li.disabled>a{-webkit-box-shadow:inset 0 -1px 0 #ddd;box-shadow:inset 0 -1px 0 #ddd}.nav-tabs.nav-justified>li>a,.nav-tabs.nav-justified>li>a:hover,.nav-tabs.nav-justified>li>a:focus,.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:none}.nav-tabs .dropdown-menu{margin-top:0}.dropdown-menu{margin-top:0;border:none;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.3);box-shadow:0 1px 4px rgba(0,0,0,0.3)}.alert{border:none;color:#fff}.alert-success{background-color:#4caf50}.alert-info{background-color:#9c27b0}.alert-warning{background-color:#ff9800}.alert-danger{background-color:#e51c23}.alert a:not(.close),.alert .alert-link{color:#fff;font-weight:bold}.alert .close{color:#fff}.badge{padding:4px 6px 4px}.progress{position:relative;z-index:1;height:6px;border-radius:0;-webkit-box-shadow:none;box-shadow:none}.progress-bar{-webkit-box-shadow:none;box-shadow:none}.progress-bar:last-child{border-radius:0 3px 3px 0}.progress-bar:last-child:before{display:block;content:"";position:absolute;width:100%;height:100%;left:0;right:0;z-index:-1;background-color:#cae6fc}.progress-bar-success:last-child.progress-bar:before{background-color:#c7e7c8}.progress-bar-info:last-child.progress-bar:before{background-color:#edc9f3}.progress-bar-warning:last-child.progress-bar:before{background-color:#ffe0b3}.progress-bar-danger:last-child.progress-bar:before{background-color:#f28e92}.close{font-size:34px;font-weight:300;line-height:24px;opacity:0.6;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.close:hover{opacity:1}.list-group-item{padding:15px}.list-group-item-text{color:#bbbbbb}.well{border-radius:0;-webkit-box-shadow:none;box-shadow:none}.panel{border:none;border-radius:2px;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.3);box-shadow:0 1px 4px rgba(0,0,0,0.3)}.panel-heading{border-bottom:none}.panel-footer{border-top:none}.popover{border:none;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.3);box-shadow:0 1px 4px rgba(0,0,0,0.3)}.carousel-caption h1,.carousel-caption h2,.carousel-caption h3,.carousel-caption h4,.carousel-caption h5,.carousel-caption h6{color:inherit}\ No newline at end of filediff --git a/data/libs/d3/LICENSE b/data/libs/d3/LICENSEindex 83602d5e5..0bc47f33e 100644--- a/data/libs/d3/LICENSE+++ b/data/libs/d3/LICENSE@@ -1,26 +1,26 @@-Copyright (c) 2013, Michael Bostock-All rights reserved.--Redistribution and use in source and binary forms, with or without-modification, are permitted provided that the following conditions are met:--* Redistributions of source code must retain the above copyright notice, this- list of conditions and the following disclaimer.--* Redistributions in binary form must reproduce the above copyright notice,- this list of conditions and the following disclaimer in the documentation- and/or other materials provided with the distribution.--* The name Michael Bostock may not be used to endorse or promote products- derived from this software without specific prior written permission.--THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE-DISCLAIMED. IN NO EVENT SHALL MICHAEL BOSTOCK BE LIABLE FOR ANY DIRECT,-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.+Copyright (c) 2013, Michael Bostock+All rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions are met:++* Redistributions of source code must retain the above copyright notice, this+ list of conditions and the following disclaimer.++* Redistributions in binary form must reproduce the above copyright notice,+ this list of conditions and the following disclaimer in the documentation+ and/or other materials provided with the distribution.++* The name Michael Bostock may not be used to endorse or promote products+ derived from this software without specific prior written permission.++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE+DISCLAIMED. IN NO EVENT SHALL MICHAEL BOSTOCK BE LIABLE FOR ANY DIRECT,+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.diff --git a/data/libs/d3/d3.min.js b/data/libs/d3/d3.min.jsnew file mode 100644index 000000000..dba599303--- /dev/null+++ b/data/libs/d3/d3.min.js@@ -0,0 +1,5 @@+d3=function(){function n(n){return null!=n&&!isNaN(n)}function t(n){return n.length}function e(n){for(var t=1;n*t%1;)t*=10;return t}function r(n,t){try{for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}catch(r){n.prototype=t}}function u(){}function i(){}function o(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function a(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.substring(1);for(var e=0,r=fa.length;r>e;++e){var u=fa[e]+t;if(u in n)return u}}function c(){}function s(){}function l(n){function t(){for(var t,r=e,u=-1,i=r.length;++u<i;)(t=r[u].on)&&t.apply(this,arguments);return n}var e=[],r=new u;return t.on=function(t,u){var i,o=r.get(t);return arguments.length<2?o&&o.on:(o&&(o.on=null,e=e.slice(0,i=e.indexOf(o)).concat(e.slice(i+1)),r.remove(t)),u&&e.push(r.set(t,{on:u})),n)},t}function f(){Bo.event.preventDefault()}function h(){for(var n,t=Bo.event;n=t.sourceEvent;)t=n;return t}function g(n){for(var t=new s,e=0,r=arguments.length;++e<r;)t[arguments[e]]=l(t);return t.of=function(e,r){return function(u){try{var i=u.sourceEvent=Bo.event;u.target=n,Bo.event=u,t[u.type].apply(e,r)}finally{Bo.event=i}}},t}function p(n){return ga(n,ya),n}function v(n){return"function"==typeof n?n:function(){return pa(n,this)}}function d(n){return"function"==typeof n?n:function(){return va(n,this)}}function m(n,t){function e(){this.removeAttribute(n)}function r(){this.removeAttributeNS(n.space,n.local)}function u(){this.setAttribute(n,t)}function i(){this.setAttributeNS(n.space,n.local,t)}function o(){var e=t.apply(this,arguments);null==e?this.removeAttribute(n):this.setAttribute(n,e)}function a(){var e=t.apply(this,arguments);null==e?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,e)}return n=Bo.ns.qualify(n),null==t?n.local?r:e:"function"==typeof t?n.local?a:o:n.local?i:u}function y(n){return n.trim().replace(/\s+/g," ")}function x(n){return new RegExp("(?:^|\\s+)"+Bo.requote(n)+"(?:\\s+|$)","g")}function M(n){return n.trim().split(/^|\s+/)}function _(n,t){function e(){for(var e=-1;++e<u;)n[e](this,t)}function r(){for(var e=-1,r=t.apply(this,arguments);++e<u;)n[e](this,r)}n=M(n).map(b);var u=n.length;return"function"==typeof t?r:e}function b(n){var t=x(n);return function(e,r){if(u=e.classList)return r?u.add(n):u.remove(n);var u=e.getAttribute("class")||"";r?(t.lastIndex=0,t.test(u)||e.setAttribute("class",y(u+" "+n))):e.setAttribute("class",y(u.replace(t," ")))}}function w(n,t,e){function r(){this.style.removeProperty(n)}function u(){this.style.setProperty(n,t,e)}function i(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(n):this.style.setProperty(n,r,e)}return null==t?r:"function"==typeof t?i:u}function S(n,t){function e(){delete this[n]}function r(){this[n]=t}function u(){var e=t.apply(this,arguments);null==e?delete this[n]:this[n]=e}return null==t?e:"function"==typeof t?u:r}function k(n){return"function"==typeof n?n:(n=Bo.ns.qualify(n)).local?function(){return this.ownerDocument.createElementNS(n.space,n.local)}:function(){return this.ownerDocument.createElementNS(this.namespaceURI,n)}}function E(n){return{__data__:n}}function A(n){return function(){return ma(this,n)}}function C(n){return arguments.length||(n=Bo.ascending),function(t,e){return t&&e?n(t.__data__,e.__data__):!t-!e}}function N(n,t){for(var e=0,r=n.length;r>e;e++)for(var u,i=n[e],o=0,a=i.length;a>o;o++)(u=i[o])&&t(u,o,e);return n}function L(n){return ga(n,Ma),n}function T(n){var t,e;return function(r,u,i){var o,a=n[i].update,c=a.length;for(i!=e&&(e=i,t=0),u>=t&&(t=u+1);!(o=a[t])&&++t<c;);return o}}function q(){var n=this.__transition__;n&&++n.active}function z(n,t,e){function r(){var t=this[o];t&&(this.removeEventListener(n,t,t.$),delete this[o])}function u(){var u=s(t,Jo(arguments));r.call(this),this.addEventListener(n,this[o]=u,u.$=e),u._=t}function i(){var t,e=new RegExp("^__on([^.]+)"+Bo.requote(n)+"$");for(var r in this)if(t=r.match(e)){var u=this[r];this.removeEventListener(t[1],u,u.$),delete this[r]}}var o="__on"+n,a=n.indexOf("."),s=R;a>0&&(n=n.substring(0,a));var l=ba.get(n);return l&&(n=l,s=D),a?t?u:r:t?c:i}function R(n,t){return function(e){var r=Bo.event;Bo.event=e,t[0]=this.__data__;try{n.apply(this,t)}finally{Bo.event=r}}}function D(n,t){var e=R(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function P(){var n=".dragsuppress-"+ ++Sa,t="click"+n,e=Bo.select(Qo).on("touchmove"+n,f).on("dragstart"+n,f).on("selectstart"+n,f);if(wa){var r=Ko.style,u=r[wa];r[wa]="none"}return function(i){function o(){e.on(t,null)}e.on(n,null),wa&&(r[wa]=u),i&&(e.on(t,function(){f(),o()},!0),setTimeout(o,0))}}function U(n,t){t.changedTouches&&(t=t.changedTouches[0]);var e=n.ownerSVGElement||n;if(e.createSVGPoint){var r=e.createSVGPoint();if(0>ka&&(Qo.scrollX||Qo.scrollY)){e=Bo.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var u=e[0][0].getScreenCTM();ka=!(u.f||u.e),e.remove()}return ka?(r.x=t.pageX,r.y=t.pageY):(r.x=t.clientX,r.y=t.clientY),r=r.matrixTransform(n.getScreenCTM().inverse()),[r.x,r.y]}var i=n.getBoundingClientRect();return[t.clientX-i.left-n.clientLeft,t.clientY-i.top-n.clientTop]}function j(n){return n>0?1:0>n?-1:0}function H(n){return n>1?0:-1>n?Ea:Math.acos(n)}function F(n){return n>1?Ca:-1>n?-Ca:Math.asin(n)}function O(n){return((n=Math.exp(n))-1/n)/2}function Y(n){return((n=Math.exp(n))+1/n)/2}function I(n){return((n=Math.exp(2*n))-1)/(n+1)}function Z(n){return(n=Math.sin(n/2))*n}function V(){}function X(n,t,e){return new $(n,t,e)}function $(n,t,e){this.h=n,this.s=t,this.l=e}function B(n,t,e){function r(n){return n>360?n-=360:0>n&&(n+=360),60>n?i+(o-i)*n/60:180>n?o:240>n?i+(o-i)*(240-n)/60:i}function u(n){return Math.round(255*r(n))}var i,o;return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:0>t?0:t>1?1:t,e=0>e?0:e>1?1:e,o=.5>=e?e*(1+t):e+t-e*t,i=2*e-o,at(u(n+120),u(n),u(n-120))}function W(n,t,e){return new J(n,t,e)}function J(n,t,e){this.h=n,this.c=t,this.l=e}function G(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),K(e,Math.cos(n*=Ta)*t,Math.sin(n)*t)}function K(n,t,e){return new Q(n,t,e)}function Q(n,t,e){this.l=n,this.a=t,this.b=e}function nt(n,t,e){var r=(n+16)/116,u=r+t/500,i=r-e/200;return u=et(u)*Ya,r=et(r)*Ia,i=et(i)*Za,at(ut(3.2404542*u-1.5371385*r-.4985314*i),ut(-.969266*u+1.8760108*r+.041556*i),ut(.0556434*u-.2040259*r+1.0572252*i))}function tt(n,t,e){return n>0?W(Math.atan2(e,t)*qa,Math.sqrt(t*t+e*e),n):W(0/0,0/0,n)}function et(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function rt(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function ut(n){return Math.round(255*(.00304>=n?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function it(n){return at(n>>16,255&n>>8,255&n)}function ot(n){return it(n)+""}function at(n,t,e){return new ct(n,t,e)}function ct(n,t,e){this.r=n,this.g=t,this.b=e}function st(n){return 16>n?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function lt(n,t,e){var r,u,i,o=0,a=0,c=0;if(r=/([a-z]+)\((.*)\)/i.exec(n))switch(u=r[2].split(","),r[1]){case"hsl":return e(parseFloat(u[0]),parseFloat(u[1])/100,parseFloat(u[2])/100);case"rgb":return t(pt(u[0]),pt(u[1]),pt(u[2]))}return(i=$a.get(n))?t(i.r,i.g,i.b):(null!=n&&"#"===n.charAt(0)&&(4===n.length?(o=n.charAt(1),o+=o,a=n.charAt(2),a+=a,c=n.charAt(3),c+=c):7===n.length&&(o=n.substring(1,3),a=n.substring(3,5),c=n.substring(5,7)),o=parseInt(o,16),a=parseInt(a,16),c=parseInt(c,16)),t(o,a,c))}function ft(n,t,e){var r,u,i=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-i,c=(o+i)/2;return a?(u=.5>c?a/(o+i):a/(2-o-i),r=n==o?(t-e)/a+(e>t?6:0):t==o?(e-n)/a+2:(n-t)/a+4,r*=60):(r=0/0,u=c>0&&1>c?0:r),X(r,u,c)}function ht(n,t,e){n=gt(n),t=gt(t),e=gt(e);var r=rt((.4124564*n+.3575761*t+.1804375*e)/Ya),u=rt((.2126729*n+.7151522*t+.072175*e)/Ia),i=rt((.0193339*n+.119192*t+.9503041*e)/Za);return K(116*u-16,500*(r-u),200*(u-i))}function gt(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function pt(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}function vt(n){return"function"==typeof n?n:function(){return n}}function dt(n){return n}function mt(n){return function(t,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),yt(t,e,n,r)}}function yt(n,t,e,r){function u(){var n,t=c.status;if(!t&&c.responseText||t>=200&&300>t||304===t){try{n=e.call(i,c)}catch(r){return o.error.call(i,r),void 0}o.load.call(i,n)}else o.error.call(i,c)}var i={},o=Bo.dispatch("beforesend","progress","load","error"),a={},c=new XMLHttpRequest,s=null;return!Qo.XDomainRequest||"withCredentials"in c||!/^(http(s)?:)?\/\//.test(n)||(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=u:c.onreadystatechange=function(){c.readyState>3&&u()},c.onprogress=function(n){var t=Bo.event;Bo.event=n;try{o.progress.call(i,c)}finally{Bo.event=t}},i.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?a[n]:(null==t?delete a[n]:a[n]=t+"",i)},i.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",i):t},i.responseType=function(n){return arguments.length?(s=n,i):s},i.response=function(n){return e=n,i},["get","post"].forEach(function(n){i[n]=function(){return i.send.apply(i,[n].concat(Jo(arguments)))}}),i.send=function(e,r,u){if(2===arguments.length&&"function"==typeof r&&(u=r,r=null),c.open(e,n,!0),null==t||"accept"in a||(a.accept=t+",*/*"),c.setRequestHeader)for(var l in a)c.setRequestHeader(l,a[l]);return null!=t&&c.overrideMimeType&&c.overrideMimeType(t),null!=s&&(c.responseType=s),null!=u&&i.on("error",u).on("load",function(n){u(null,n)}),o.beforesend.call(i,c),c.send(null==r?null:r),i},i.abort=function(){return c.abort(),i},Bo.rebind(i,o,"on"),null==r?i:i.get(xt(r))}function xt(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}function Mt(){var n=_t(),t=bt()-n;t>24?(isFinite(t)&&(clearTimeout(Ga),Ga=setTimeout(Mt,t)),Ja=0):(Ja=1,Qa(Mt))}function _t(){var n=Date.now();for(Ka=Ba;Ka;)n>=Ka.t&&(Ka.f=Ka.c(n-Ka.t)),Ka=Ka.n;return n}function bt(){for(var n,t=Ba,e=1/0;t;)t.f?t=n?n.n=t.n:Ba=t.n:(t.t<e&&(e=t.t),t=(n=t).n);return Wa=n,e}function wt(n,t){var e=Math.pow(10,3*ca(8-t));return{scale:t>8?function(n){return n/e}:function(n){return n*e},symbol:n}}function St(n,t){return t-(n?Math.ceil(Math.log(n)/Math.LN10):1)}function kt(n){return n+""}function Et(){}function At(n,t,e){var r=e.s=n+t,u=r-n,i=r-u;e.t=n-i+(t-u)}function Ct(n,t){n&&fc.hasOwnProperty(n.type)&&fc[n.type](n,t)}function Nt(n,t,e){var r,u=-1,i=n.length-e;for(t.lineStart();++u<i;)r=n[u],t.point(r[0],r[1],r[2]);t.lineEnd()}function Lt(n,t){var e=-1,r=n.length;for(t.polygonStart();++e<r;)Nt(n[e],t,1);t.polygonEnd()}function Tt(){function n(n,t){n*=Ta,t=t*Ta/2+Ea/4;var e=n-r,o=Math.cos(t),a=Math.sin(t),c=i*a,s=u*o+c*Math.cos(e),l=c*Math.sin(e);gc.add(Math.atan2(l,s)),r=n,u=o,i=a}var t,e,r,u,i;pc.point=function(o,a){pc.point=n,r=(t=o)*Ta,u=Math.cos(a=(e=a)*Ta/2+Ea/4),i=Math.sin(a)},pc.lineEnd=function(){n(t,e)}}function qt(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function zt(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function Rt(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Dt(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function Pt(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function Ut(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function jt(n){return[Math.atan2(n[1],n[0]),F(n[2])]}function Ht(n,t){return ca(n[0]-t[0])<Na&&ca(n[1]-t[1])<Na}function Ft(n,t){n*=Ta;var e=Math.cos(t*=Ta);Ot(e*Math.cos(n),e*Math.sin(n),Math.sin(t))}function Ot(n,t,e){++vc,mc+=(n-mc)/vc,yc+=(t-yc)/vc,xc+=(e-xc)/vc}function Yt(){function n(n,u){n*=Ta;var i=Math.cos(u*=Ta),o=i*Math.cos(n),a=i*Math.sin(n),c=Math.sin(u),s=Math.atan2(Math.sqrt((s=e*c-r*a)*s+(s=r*o-t*c)*s+(s=t*a-e*o)*s),t*o+e*a+r*c);dc+=s,Mc+=s*(t+(t=o)),_c+=s*(e+(e=a)),bc+=s*(r+(r=c)),Ot(t,e,r)}var t,e,r;Ec.point=function(u,i){u*=Ta;var o=Math.cos(i*=Ta);t=o*Math.cos(u),e=o*Math.sin(u),r=Math.sin(i),Ec.point=n,Ot(t,e,r)}}function It(){Ec.point=Ft}function Zt(){function n(n,t){n*=Ta;var e=Math.cos(t*=Ta),o=e*Math.cos(n),a=e*Math.sin(n),c=Math.sin(t),s=u*c-i*a,l=i*o-r*c,f=r*a-u*o,h=Math.sqrt(s*s+l*l+f*f),g=r*o+u*a+i*c,p=h&&-H(g)/h,v=Math.atan2(h,g);wc+=p*s,Sc+=p*l,kc+=p*f,dc+=v,Mc+=v*(r+(r=o)),_c+=v*(u+(u=a)),bc+=v*(i+(i=c)),Ot(r,u,i)}var t,e,r,u,i;Ec.point=function(o,a){t=o,e=a,Ec.point=n,o*=Ta;var c=Math.cos(a*=Ta);r=c*Math.cos(o),u=c*Math.sin(o),i=Math.sin(a),Ot(r,u,i)},Ec.lineEnd=function(){n(t,e),Ec.lineEnd=It,Ec.point=Ft}}function Vt(){return!0}function Xt(n,t,e,r,u){var i=[],o=[];if(n.forEach(function(n){if(!((t=n.length-1)<=0)){var t,e=n[0],r=n[t];if(Ht(e,r)){u.lineStart();for(var a=0;t>a;++a)u.point((e=n[a])[0],e[1]);return u.lineEnd(),void 0}var c=new Bt(e,n,null,!0),s=new Bt(e,null,c,!1);c.o=s,i.push(c),o.push(s),c=new Bt(r,n,null,!1),s=new Bt(r,null,c,!0),c.o=s,i.push(c),o.push(s)}}),o.sort(t),$t(i),$t(o),i.length){for(var a=0,c=e,s=o.length;s>a;++a)o[a].e=c=!c;for(var l,f,h=i[0];;){for(var g=h,p=!0;g.v;)if((g=g.n)===h)return;l=g.z,u.lineStart();do{if(g.v=g.o.v=!0,g.e){if(p)for(var a=0,s=l.length;s>a;++a)u.point((f=l[a])[0],f[1]);else r(g.x,g.n.x,1,u);g=g.n}else{if(p){l=g.p.z;for(var a=l.length-1;a>=0;--a)u.point((f=l[a])[0],f[1])}else r(g.x,g.p.x,-1,u);g=g.p}g=g.o,l=g.z,p=!p}while(!g.v);u.lineEnd()}}}function $t(n){if(t=n.length){for(var t,e,r=0,u=n[0];++r<t;)u.n=e=n[r],e.p=u,u=e;u.n=e=n[0],e.p=u}}function Bt(n,t,e,r){this.x=n,this.z=t,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function Wt(n,t,e,r){return function(u,i){function o(t,e){var r=u(t,e);n(t=r[0],e=r[1])&&i.point(t,e)}function a(n,t){var e=u(n,t);d.point(e[0],e[1])}function c(){y.point=a,d.lineStart()}function s(){y.point=o,d.lineEnd()}function l(n,t){v.push([n,t]);var e=u(n,t);M.point(e[0],e[1])}function f(){M.lineStart(),v=[]}function h(){l(v[0][0],v[0][1]),M.lineEnd();var n,t=M.clean(),e=x.buffer(),r=e.length;if(v.pop(),p.push(v),v=null,r){if(1&t){n=e[0];var u,r=n.length-1,o=-1;for(i.lineStart();++o<r;)i.point((u=n[o])[0],u[1]);return i.lineEnd(),void 0}r>1&&2&t&&e.push(e.pop().concat(e.shift())),g.push(e.filter(Jt))}}var g,p,v,d=t(i),m=u.invert(r[0],r[1]),y={point:o,lineStart:c,lineEnd:s,polygonStart:function(){y.point=l,y.lineStart=f,y.lineEnd=h,g=[],p=[],i.polygonStart()},polygonEnd:function(){y.point=o,y.lineStart=c,y.lineEnd=s,g=Bo.merge(g);var n=Qt(m,p);g.length?Xt(g,Kt,n,e,i):n&&(i.lineStart(),e(null,null,1,i),i.lineEnd()),i.polygonEnd(),g=p=null},sphere:function(){i.polygonStart(),i.lineStart(),e(null,null,1,i),i.lineEnd(),i.polygonEnd()}},x=Gt(),M=t(x);return y}}function Jt(n){return n.length>1}function Gt(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:c,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Kt(n,t){return((n=n.x)[0]<0?n[1]-Ca-Na:Ca-n[1])-((t=t.x)[0]<0?t[1]-Ca-Na:Ca-t[1])}function Qt(n,t){var e=n[0],r=n[1],u=[Math.sin(e),-Math.cos(e),0],i=0,o=0;gc.reset();for(var a=0,c=t.length;c>a;++a){var s=t[a],l=s.length;if(l)for(var f=s[0],h=f[0],g=f[1]/2+Ea/4,p=Math.sin(g),v=Math.cos(g),d=1;;){d===l&&(d=0),n=s[d];var m=n[0],y=n[1]/2+Ea/4,x=Math.sin(y),M=Math.cos(y),_=m-h,b=ca(_)>Ea,w=p*x;if(gc.add(Math.atan2(w*Math.sin(_),v*M+w*Math.cos(_))),i+=b?_+(_>=0?Aa:-Aa):_,b^h>=e^m>=e){var S=Rt(qt(f),qt(n));Ut(S);var k=Rt(u,S);Ut(k);var E=(b^_>=0?-1:1)*F(k[2]);(r>E||r===E&&(S[0]||S[1]))&&(o+=b^_>=0?1:-1)}if(!d++)break;h=m,p=x,v=M,f=n}}return(-Na>i||Na>i&&0>gc)^1&o}function ne(n){var t,e=0/0,r=0/0,u=0/0;return{lineStart:function(){n.lineStart(),t=1},point:function(i,o){var a=i>0?Ea:-Ea,c=ca(i-e);ca(c-Ea)<Na?(n.point(e,r=(r+o)/2>0?Ca:-Ca),n.point(u,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(i,r),t=0):u!==a&&c>=Ea&&(ca(e-u)<Na&&(e-=u*Na),ca(i-a)<Na&&(i-=a*Na),r=te(e,r,i,o),n.point(u,r),n.lineEnd(),n.lineStart(),n.point(a,r),t=0),n.point(e=i,r=o),u=a},lineEnd:function(){n.lineEnd(),e=r=0/0},clean:function(){return 2-t}}}function te(n,t,e,r){var u,i,o=Math.sin(n-e);return ca(o)>Na?Math.atan((Math.sin(t)*(i=Math.cos(r))*Math.sin(e)-Math.sin(r)*(u=Math.cos(t))*Math.sin(n))/(u*i*o)):(t+r)/2}function ee(n,t,e,r){var u;if(null==n)u=e*Ca,r.point(-Ea,u),r.point(0,u),r.point(Ea,u),r.point(Ea,0),r.point(Ea,-u),r.point(0,-u),r.point(-Ea,-u),r.point(-Ea,0),r.point(-Ea,u);else if(ca(n[0]-t[0])>Na){var i=n[0]<t[0]?Ea:-Ea;u=e*i/2,r.point(-i,u),r.point(0,u),r.point(i,u)}else r.point(t[0],t[1])}function re(n){function t(n,t){return Math.cos(n)*Math.cos(t)>i}function e(n){var e,i,c,s,l;return{lineStart:function(){s=c=!1,l=1},point:function(f,h){var g,p=[f,h],v=t(f,h),d=o?v?0:u(f,h):v?u(f+(0>f?Ea:-Ea),h):0;if(!e&&(s=c=v)&&n.lineStart(),v!==c&&(g=r(e,p),(Ht(e,g)||Ht(p,g))&&(p[0]+=Na,p[1]+=Na,v=t(p[0],p[1]))),v!==c)l=0,v?(n.lineStart(),g=r(p,e),n.point(g[0],g[1])):(g=r(e,p),n.point(g[0],g[1]),n.lineEnd()),e=g;else if(a&&e&&o^v){var m;d&i||!(m=r(p,e,!0))||(l=0,o?(n.lineStart(),n.point(m[0][0],m[0][1]),n.point(m[1][0],m[1][1]),n.lineEnd()):(n.point(m[1][0],m[1][1]),n.lineEnd(),n.lineStart(),n.point(m[0][0],m[0][1])))}!v||e&&Ht(e,p)||n.point(p[0],p[1]),e=p,c=v,i=d},lineEnd:function(){c&&n.lineEnd(),e=null},clean:function(){return l|(s&&c)<<1}}}function r(n,t,e){var r=qt(n),u=qt(t),o=[1,0,0],a=Rt(r,u),c=zt(a,a),s=a[0],l=c-s*s;if(!l)return!e&&n;var f=i*c/l,h=-i*s/l,g=Rt(o,a),p=Pt(o,f),v=Pt(a,h);Dt(p,v);var d=g,m=zt(p,d),y=zt(d,d),x=m*m-y*(zt(p,p)-1);if(!(0>x)){var M=Math.sqrt(x),_=Pt(d,(-m-M)/y);if(Dt(_,p),_=jt(_),!e)return _;var b,w=n[0],S=t[0],k=n[1],E=t[1];w>S&&(b=w,w=S,S=b);var A=S-w,C=ca(A-Ea)<Na,N=C||Na>A;if(!C&&k>E&&(b=k,k=E,E=b),N?C?k+E>0^_[1]<(ca(_[0]-w)<Na?k:E):k<=_[1]&&_[1]<=E:A>Ea^(w<=_[0]&&_[0]<=S)){var L=Pt(d,(-m+M)/y);return Dt(L,p),[_,jt(L)]}}}function u(t,e){var r=o?n:Ea-n,u=0;return-r>t?u|=1:t>r&&(u|=2),-r>e?u|=4:e>r&&(u|=8),u}var i=Math.cos(n),o=i>0,a=ca(i)>Na,c=Te(n,6*Ta);return Wt(t,e,c,o?[0,-n]:[-Ea,n-Ea])}function ue(n,t,e,r){return function(u){var i,o=u.a,a=u.b,c=o.x,s=o.y,l=a.x,f=a.y,h=0,g=1,p=l-c,v=f-s;if(i=n-c,p||!(i>0)){if(i/=p,0>p){if(h>i)return;g>i&&(g=i)}else if(p>0){if(i>g)return;i>h&&(h=i)}if(i=e-c,p||!(0>i)){if(i/=p,0>p){if(i>g)return;i>h&&(h=i)}else if(p>0){if(h>i)return;g>i&&(g=i)}if(i=t-s,v||!(i>0)){if(i/=v,0>v){if(h>i)return;g>i&&(g=i)}else if(v>0){if(i>g)return;i>h&&(h=i)}if(i=r-s,v||!(0>i)){if(i/=v,0>v){if(i>g)return;i>h&&(h=i)}else if(v>0){if(h>i)return;g>i&&(g=i)}return h>0&&(u.a={x:c+h*p,y:s+h*v}),1>g&&(u.b={x:c+g*p,y:s+g*v}),u}}}}}}function ie(n,t,e,r){function u(r,u){return ca(r[0]-n)<Na?u>0?0:3:ca(r[0]-e)<Na?u>0?2:1:ca(r[1]-t)<Na?u>0?1:0:u>0?3:2}function i(n,t){return o(n.x,t.x)}function o(n,t){var e=u(n,1),r=u(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(a){function c(n){for(var t=0,e=m.length,r=n[1],u=0;e>u;++u)for(var i,o=1,a=m[u],c=a.length,l=a[0];c>o;++o)i=a[o],l[1]<=r?i[1]>r&&s(l,i,n)>0&&++t:i[1]<=r&&s(l,i,n)<0&&--t,l=i;return 0!==t}function s(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(e[0]-n[0])*(t[1]-n[1])}function l(i,a,c,s){var l=0,f=0;if(null==i||(l=u(i,c))!==(f=u(a,c))||o(i,a)<0^c>0){do s.point(0===l||3===l?n:e,l>1?r:t);while((l=(l+c+4)%4)!==f)}else s.point(a[0],a[1])}function f(u,i){return u>=n&&e>=u&&i>=t&&r>=i}function h(n,t){f(n,t)&&a.point(n,t)}function g(){L.point=v,m&&m.push(y=[]),k=!0,S=!1,b=w=0/0}function p(){d&&(v(x,M),_&&S&&C.rejoin(),d.push(C.buffer())),L.point=h,S&&a.lineEnd()}function v(n,t){n=Math.max(-Cc,Math.min(Cc,n)),t=Math.max(-Cc,Math.min(Cc,t));var e=f(n,t);if(m&&y.push([n,t]),k)x=n,M=t,_=e,k=!1,e&&(a.lineStart(),a.point(n,t));else if(e&&S)a.point(n,t);else{var r={a:{x:b,y:w},b:{x:n,y:t}};N(r)?(S||(a.lineStart(),a.point(r.a.x,r.a.y)),a.point(r.b.x,r.b.y),e||a.lineEnd(),E=!1):e&&(a.lineStart(),a.point(n,t),E=!1)}b=n,w=t,S=e}var d,m,y,x,M,_,b,w,S,k,E,A=a,C=Gt(),N=ue(n,t,e,r),L={point:h,lineStart:g,lineEnd:p,polygonStart:function(){a=C,d=[],m=[],E=!0},polygonEnd:function(){a=A,d=Bo.merge(d);var t=c([n,r]),e=E&&t,u=d.length;(e||u)&&(a.polygonStart(),e&&(a.lineStart(),l(null,null,1,a),a.lineEnd()),u&&Xt(d,i,t,l,a),a.polygonEnd()),d=m=y=null}};return L}}function oe(n,t){function e(e,r){return e=n(e,r),t(e[0],e[1])}return n.invert&&t.invert&&(e.invert=function(e,r){return e=t.invert(e,r),e&&n.invert(e[0],e[1])}),e}function ae(n){var t=0,e=Ea/3,r=we(n),u=r(t,e);return u.parallels=function(n){return arguments.length?r(t=n[0]*Ea/180,e=n[1]*Ea/180):[180*(t/Ea),180*(e/Ea)]},u}function ce(n,t){function e(n,t){var e=Math.sqrt(i-2*u*Math.sin(t))/u;return[e*Math.sin(n*=u),o-e*Math.cos(n)]}var r=Math.sin(n),u=(r+Math.sin(t))/2,i=1+r*(2*u-r),o=Math.sqrt(i)/u;return e.invert=function(n,t){var e=o-t;return[Math.atan2(n,e)/u,F((i-(n*n+e*e)*u*u)/(2*u))]},e}function se(){function n(n,t){Lc+=u*n-r*t,r=n,u=t}var t,e,r,u;Dc.point=function(i,o){Dc.point=n,t=r=i,e=u=o},Dc.lineEnd=function(){n(t,e)}}function le(n,t){Tc>n&&(Tc=n),n>zc&&(zc=n),qc>t&&(qc=t),t>Rc&&(Rc=t)}function fe(){function n(n,t){o.push("M",n,",",t,i)}function t(n,t){o.push("M",n,",",t),a.point=e}function e(n,t){o.push("L",n,",",t)}function r(){a.point=n}function u(){o.push("Z")}var i=he(4.5),o=[],a={point:n,lineStart:function(){a.point=t},lineEnd:r,polygonStart:function(){a.lineEnd=u},polygonEnd:function(){a.lineEnd=r,a.point=n},pointRadius:function(n){return i=he(n),a},result:function(){if(o.length){var n=o.join("");return o=[],n}}};return a}function he(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function ge(n,t){mc+=n,yc+=t,++xc}function pe(){function n(n,r){var u=n-t,i=r-e,o=Math.sqrt(u*u+i*i);Mc+=o*(t+n)/2,_c+=o*(e+r)/2,bc+=o,ge(t=n,e=r)}var t,e;Uc.point=function(r,u){Uc.point=n,ge(t=r,e=u)}}function ve(){Uc.point=ge}function de(){function n(n,t){var e=n-r,i=t-u,o=Math.sqrt(e*e+i*i);Mc+=o*(r+n)/2,_c+=o*(u+t)/2,bc+=o,o=u*n-r*t,wc+=o*(r+n),Sc+=o*(u+t),kc+=3*o,ge(r=n,u=t)}var t,e,r,u;Uc.point=function(i,o){Uc.point=n,ge(t=r=i,e=u=o)},Uc.lineEnd=function(){n(t,e)}}function me(n){function t(t,e){n.moveTo(t,e),n.arc(t,e,o,0,Aa)}function e(t,e){n.moveTo(t,e),a.point=r}function r(t,e){n.lineTo(t,e)}function u(){a.point=t}function i(){n.closePath()}var o=4.5,a={point:t,lineStart:function(){a.point=e},lineEnd:u,polygonStart:function(){a.lineEnd=i},polygonEnd:function(){a.lineEnd=u,a.point=t},pointRadius:function(n){return o=n,a},result:c};return a}function ye(n){function t(n){return(a?r:e)(n)}function e(t){return _e(t,function(e,r){e=n(e,r),t.point(e[0],e[1])})}function r(t){function e(e,r){e=n(e,r),t.point(e[0],e[1])}function r(){x=0/0,S.point=i,t.lineStart()}function i(e,r){var i=qt([e,r]),o=n(e,r);u(x,M,y,_,b,w,x=o[0],M=o[1],y=e,_=i[0],b=i[1],w=i[2],a,t),t.point(x,M)}function o(){S.point=e,t.lineEnd()}function c(){r(),S.point=s,S.lineEnd=l}function s(n,t){i(f=n,h=t),g=x,p=M,v=_,d=b,m=w,S.point=i}function l(){u(x,M,y,_,b,w,g,p,f,v,d,m,a,t),S.lineEnd=o,o()}var f,h,g,p,v,d,m,y,x,M,_,b,w,S={point:e,lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=c},polygonEnd:function(){t.polygonEnd(),S.lineStart=r}};return S}function u(t,e,r,a,c,s,l,f,h,g,p,v,d,m){var y=l-t,x=f-e,M=y*y+x*x;if(M>4*i&&d--){var _=a+g,b=c+p,w=s+v,S=Math.sqrt(_*_+b*b+w*w),k=Math.asin(w/=S),E=ca(ca(w)-1)<Na||ca(r-h)<Na?(r+h)/2:Math.atan2(b,_),A=n(E,k),C=A[0],N=A[1],L=C-t,T=N-e,q=x*L-y*T;(q*q/M>i||ca((y*L+x*T)/M-.5)>.3||o>a*g+c*p+s*v)&&(u(t,e,r,a,c,s,C,N,E,_/=S,b/=S,w,d,m),m.point(C,N),u(C,N,E,_,b,w,l,f,h,g,p,v,d,m))}}var i=.5,o=Math.cos(30*Ta),a=16;return t.precision=function(n){return arguments.length?(a=(i=n*n)>0&&16,t):Math.sqrt(i)},t}function xe(n){var t=ye(function(t,e){return n([t*qa,e*qa])});return function(n){return Se(t(n))}}function Me(n){this.stream=n}function _e(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function be(n){return we(function(){return n})()}function we(n){function t(n){return n=a(n[0]*Ta,n[1]*Ta),[n[0]*h+c,s-n[1]*h]}function e(n){return n=a.invert((n[0]-c)/h,(s-n[1])/h),n&&[n[0]*qa,n[1]*qa]}function r(){a=oe(o=Ae(m,y,x),i);var n=i(v,d);return c=g-n[0]*h,s=p+n[1]*h,u()}function u(){return l&&(l.valid=!1,l=null),t}var i,o,a,c,s,l,f=ye(function(n,t){return n=i(n,t),[n[0]*h+c,s-n[1]*h]}),h=150,g=480,p=250,v=0,d=0,m=0,y=0,x=0,M=Ac,_=dt,b=null,w=null;return t.stream=function(n){return l&&(l.valid=!1),l=Se(M(o,f(_(n)))),l.valid=!0,l},t.clipAngle=function(n){return arguments.length?(M=null==n?(b=n,Ac):re((b=+n)*Ta),u()):b},t.clipExtent=function(n){return arguments.length?(w=n,_=n?ie(n[0][0],n[0][1],n[1][0],n[1][1]):dt,u()):w},t.scale=function(n){return arguments.length?(h=+n,r()):h},t.translate=function(n){return arguments.length?(g=+n[0],p=+n[1],r()):[g,p]},t.center=function(n){return arguments.length?(v=n[0]%360*Ta,d=n[1]%360*Ta,r()):[v*qa,d*qa]},t.rotate=function(n){return arguments.length?(m=n[0]%360*Ta,y=n[1]%360*Ta,x=n.length>2?n[2]%360*Ta:0,r()):[m*qa,y*qa,x*qa]},Bo.rebind(t,f,"precision"),function(){return i=n.apply(this,arguments),t.invert=i.invert&&e,r()}}function Se(n){return _e(n,function(t,e){n.point(t*Ta,e*Ta)})}function ke(n,t){return[n,t]}function Ee(n,t){return[n>Ea?n-Aa:-Ea>n?n+Aa:n,t]}function Ae(n,t,e){return n?t||e?oe(Ne(n),Le(t,e)):Ne(n):t||e?Le(t,e):Ee}function Ce(n){return function(t,e){return t+=n,[t>Ea?t-Aa:-Ea>t?t+Aa:t,e]}}function Ne(n){var t=Ce(n);return t.invert=Ce(-n),t}function Le(n,t){function e(n,t){var e=Math.cos(t),a=Math.cos(n)*e,c=Math.sin(n)*e,s=Math.sin(t),l=s*r+a*u;return[Math.atan2(c*i-l*o,a*r-s*u),F(l*i+c*o)]}var r=Math.cos(n),u=Math.sin(n),i=Math.cos(t),o=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),a=Math.cos(n)*e,c=Math.sin(n)*e,s=Math.sin(t),l=s*i-c*o;return[Math.atan2(c*i+s*o,a*r+l*u),F(l*r-a*u)]},e}function Te(n,t){var e=Math.cos(n),r=Math.sin(n);return function(u,i,o,a){var c=o*t;null!=u?(u=qe(e,u),i=qe(e,i),(o>0?i>u:u>i)&&(u+=o*Aa)):(u=n+o*Aa,i=n-.5*c);for(var s,l=u;o>0?l>i:i>l;l-=c)a.point((s=jt([e,-r*Math.cos(l),-r*Math.sin(l)]))[0],s[1])}}function qe(n,t){var e=qt(t);e[0]-=n,Ut(e);var r=H(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Na)%(2*Math.PI)}function ze(n,t,e){var r=Bo.range(n,t-Na,e).concat(t);return function(n){return r.map(function(t){return[n,t]})}}function Re(n,t,e){var r=Bo.range(n,t-Na,e).concat(t);return function(n){return r.map(function(t){return[t,n]})}}function De(n){return n.source}function Pe(n){return n.target}function Ue(n,t,e,r){var u=Math.cos(t),i=Math.sin(t),o=Math.cos(r),a=Math.sin(r),c=u*Math.cos(n),s=u*Math.sin(n),l=o*Math.cos(e),f=o*Math.sin(e),h=2*Math.asin(Math.sqrt(Z(r-t)+u*o*Z(e-n))),g=1/Math.sin(h),p=h?function(n){var t=Math.sin(n*=h)*g,e=Math.sin(h-n)*g,r=e*c+t*l,u=e*s+t*f,o=e*i+t*a;return[Math.atan2(u,r)*qa,Math.atan2(o,Math.sqrt(r*r+u*u))*qa]}:function(){return[n*qa,t*qa]};return p.distance=h,p}function je(){function n(n,u){var i=Math.sin(u*=Ta),o=Math.cos(u),a=ca((n*=Ta)-t),c=Math.cos(a);jc+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=r*i-e*o*c)*a),e*i+r*o*c),t=n,e=i,r=o}var t,e,r;Hc.point=function(u,i){t=u*Ta,e=Math.sin(i*=Ta),r=Math.cos(i),Hc.point=n},Hc.lineEnd=function(){Hc.point=Hc.lineEnd=c}}function He(n,t){function e(t,e){var r=Math.cos(t),u=Math.cos(e),i=n(r*u);return[i*u*Math.sin(t),i*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),u=t(r),i=Math.sin(u),o=Math.cos(u);return[Math.atan2(n*i,r*o),Math.asin(r&&e*i/r)]},e}function Fe(n,t){function e(n,t){var e=ca(ca(t)-Ca)<Na?0:o/Math.pow(u(t),i);return[e*Math.sin(i*n),o-e*Math.cos(i*n)]}var r=Math.cos(n),u=function(n){return Math.tan(Ea/4+n/2)},i=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(u(t)/u(n)),o=r*Math.pow(u(n),i)/i;return i?(e.invert=function(n,t){var e=o-t,r=j(i)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/i,2*Math.atan(Math.pow(o/r,1/i))-Ca]},e):Ye}function Oe(n,t){function e(n,t){var e=i-t;return[e*Math.sin(u*n),i-e*Math.cos(u*n)]}var r=Math.cos(n),u=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),i=r/u+n;return ca(u)<Na?ke:(e.invert=function(n,t){var e=i-t;return[Math.atan2(n,e)/u,i-j(u)*Math.sqrt(n*n+e*e)]},e)}function Ye(n,t){return[n,Math.log(Math.tan(Ea/4+t/2))]}function Ie(n){var t,e=be(n),r=e.scale,u=e.translate,i=e.clipExtent;return e.scale=function(){var n=r.apply(e,arguments);return n===e?t?e.clipExtent(null):e:n},e.translate=function(){var n=u.apply(e,arguments);return n===e?t?e.clipExtent(null):e:n},e.clipExtent=function(n){var o=i.apply(e,arguments);if(o===e){if(t=null==n){var a=Ea*r(),c=u();i([[c[0]-a,c[1]-a],[c[0]+a,c[1]+a]])}}else t&&(o=null);return o},e.clipExtent(null)}function Ze(n,t){return[Math.log(Math.tan(Ea/4+t/2)),-n]}function Ve(n){return n[0]}function Xe(n){return n[1]}function $e(n,t,e,r){var u,i,o,a,c,s,l;return u=r[n],i=u[0],o=u[1],u=r[t],a=u[0],c=u[1],u=r[e],s=u[0],l=u[1],(l-o)*(a-i)-(c-o)*(s-i)>0}function Be(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function We(n,t,e,r){var u=n[0],i=e[0],o=t[0]-u,a=r[0]-i,c=n[1],s=e[1],l=t[1]-c,f=r[1]-s,h=(a*(c-s)-f*(u-i))/(f*o-a*l);return[u+h*o,c+h*l]}function Je(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function Ge(){yr(this),this.edge=this.site=this.circle=null}function Ke(n){var t=Gc.pop()||new Ge;return t.site=n,t}function Qe(n){sr(n),Bc.remove(n),Gc.push(n),yr(n)}function nr(n){var t=n.circle,e=t.x,r=t.cy,u={x:e,y:r},i=n.P,o=n.N,a=[n];Qe(n);for(var c=i;c.circle&&ca(e-c.circle.x)<Na&&ca(r-c.circle.cy)<Na;)i=c.P,a.unshift(c),Qe(c),c=i;a.unshift(c),sr(c);for(var s=o;s.circle&&ca(e-s.circle.x)<Na&&ca(r-s.circle.cy)<Na;)o=s.N,a.push(s),Qe(s),s=o;a.push(s),sr(s);var l,f=a.length;for(l=1;f>l;++l)s=a[l],c=a[l-1],vr(s.edge,c.site,s.site,u);c=a[0],s=a[f-1],s.edge=gr(c.site,s.site,null,u),cr(c),cr(s)}function tr(n){for(var t,e,r,u,i=n.x,o=n.y,a=Bc._;a;)if(r=er(a,o)-i,r>Na)a=a.L;else{if(u=i-rr(a,o),!(u>Na)){r>-Na?(t=a.P,e=a):u>-Na?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var c=Ke(n);if(Bc.insert(t,c),t||e){if(t===e)return sr(t),e=Ke(t.site),Bc.insert(c,e),c.edge=e.edge=gr(t.site,c.site),cr(t),cr(e),void 0;if(!e)return c.edge=gr(t.site,c.site),void 0;sr(t),sr(e);var s=t.site,l=s.x,f=s.y,h=n.x-l,g=n.y-f,p=e.site,v=p.x-l,d=p.y-f,m=2*(h*d-g*v),y=h*h+g*g,x=v*v+d*d,M={x:(d*y-g*x)/m+l,y:(h*x-v*y)/m+f};vr(e.edge,s,p,M),c.edge=gr(s,n,null,M),e.edge=gr(n,p,null,M),cr(t),cr(e)}}function er(n,t){var e=n.site,r=e.x,u=e.y,i=u-t;if(!i)return r;var o=n.P;if(!o)return-1/0;e=o.site;var a=e.x,c=e.y,s=c-t;if(!s)return a;var l=a-r,f=1/i-1/s,h=l/s;return f?(-h+Math.sqrt(h*h-2*f*(l*l/(-2*s)-c+s/2+u-i/2)))/f+r:(r+a)/2}function rr(n,t){var e=n.N;if(e)return er(e,t);var r=n.site;return r.y===t?r.x:1/0}function ur(n){this.site=n,this.edges=[]}function ir(n){for(var t,e,r,u,i,o,a,c,s,l,f=n[0][0],h=n[1][0],g=n[0][1],p=n[1][1],v=$c,d=v.length;d--;)if(i=v[d],i&&i.prepare())for(a=i.edges,c=a.length,o=0;c>o;)l=a[o].end(),r=l.x,u=l.y,s=a[++o%c].start(),t=s.x,e=s.y,(ca(r-t)>Na||ca(u-e)>Na)&&(a.splice(o,0,new dr(pr(i.site,l,ca(r-f)<Na&&p-u>Na?{x:f,y:ca(t-f)<Na?e:p}:ca(u-p)<Na&&h-r>Na?{x:ca(e-p)<Na?t:h,y:p}:ca(r-h)<Na&&u-g>Na?{x:h,y:ca(t-h)<Na?e:g}:ca(u-g)<Na&&r-f>Na?{x:ca(e-g)<Na?t:f,y:g}:null),i.site,null)),++c)}function or(n,t){return t.angle-n.angle}function ar(){yr(this),this.x=this.y=this.arc=this.site=this.cy=null}function cr(n){var t=n.P,e=n.N;if(t&&e){var r=t.site,u=n.site,i=e.site;if(r!==i){var o=u.x,a=u.y,c=r.x-o,s=r.y-a,l=i.x-o,f=i.y-a,h=2*(c*f-s*l);if(!(h>=-La)){var g=c*c+s*s,p=l*l+f*f,v=(f*g-s*p)/h,d=(c*p-l*g)/h,f=d+a,m=Kc.pop()||new ar;m.arc=n,m.site=u,m.x=v+o,m.y=f+Math.sqrt(v*v+d*d),m.cy=f,n.circle=m;for(var y=null,x=Jc._;x;)if(m.y<x.y||m.y===x.y&&m.x<=x.x){if(!x.L){y=x.P;break}x=x.L}else{if(!x.R){y=x;break}x=x.R}Jc.insert(y,m),y||(Wc=m)}}}}function sr(n){var t=n.circle;t&&(t.P||(Wc=t.N),Jc.remove(t),Kc.push(t),yr(t),n.circle=null)}function lr(n){for(var t,e=Xc,r=ue(n[0][0],n[0][1],n[1][0],n[1][1]),u=e.length;u--;)t=e[u],(!fr(t,n)||!r(t)||ca(t.a.x-t.b.x)<Na&&ca(t.a.y-t.b.y)<Na)&&(t.a=t.b=null,e.splice(u,1))}function fr(n,t){var e=n.b;if(e)return!0;var r,u,i=n.a,o=t[0][0],a=t[1][0],c=t[0][1],s=t[1][1],l=n.l,f=n.r,h=l.x,g=l.y,p=f.x,v=f.y,d=(h+p)/2,m=(g+v)/2;+if(v===g){if(o>d||d>=a)return;if(h>p){if(i){if(i.y>=s)return}else i={x:d,y:c};e={x:d,y:s}}else{if(i){if(i.y<c)return}else i={x:d,y:s};e={x:d,y:c}}}else if(r=(h-p)/(v-g),u=m-r*d,-1>r||r>1)if(h>p){if(i){if(i.y>=s)return}else i={x:(c-u)/r,y:c};e={x:(s-u)/r,y:s}}else{if(i){if(i.y<c)return}else i={x:(s-u)/r,y:s};e={x:(c-u)/r,y:c}}else if(v>g){if(i){if(i.x>=a)return}else i={x:o,y:r*o+u};e={x:a,y:r*a+u}}else{if(i){if(i.x<o)return}else i={x:a,y:r*a+u};e={x:o,y:r*o+u}}return n.a=i,n.b=e,!0}function hr(n,t){this.l=n,this.r=t,this.a=this.b=null}function gr(n,t,e,r){var u=new hr(n,t);return Xc.push(u),e&&vr(u,n,t,e),r&&vr(u,t,n,r),$c[n.i].edges.push(new dr(u,n,t)),$c[t.i].edges.push(new dr(u,t,n)),u}function pr(n,t,e){var r=new hr(n,null);return r.a=t,r.b=e,Xc.push(r),r}function vr(n,t,e,r){n.a||n.b?n.l===e?n.b=r:n.a=r:(n.a=r,n.l=t,n.r=e)}function dr(n,t,e){var r=n.a,u=n.b;this.edge=n,this.site=t,this.angle=e?Math.atan2(e.y-t.y,e.x-t.x):n.l===t?Math.atan2(u.x-r.x,r.y-u.y):Math.atan2(r.x-u.x,u.y-r.y)}function mr(){this._=null}function yr(n){n.U=n.C=n.L=n.R=n.P=n.N=null}function xr(n,t){var e=t,r=t.R,u=e.U;u?u.L===e?u.L=r:u.R=r:n._=r,r.U=u,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function Mr(n,t){var e=t,r=t.L,u=e.U;u?u.L===e?u.L=r:u.R=r:n._=r,r.U=u,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function _r(n){for(;n.L;)n=n.L;return n}function br(n,t){var e,r,u,i=n.sort(wr).pop();for(Xc=[],$c=new Array(n.length),Bc=new mr,Jc=new mr;;)if(u=Wc,i&&(!u||i.y<u.y||i.y===u.y&&i.x<u.x))(i.x!==e||i.y!==r)&&($c[i.i]=new ur(i),tr(i),e=i.x,r=i.y),i=n.pop();else{if(!u)break;nr(u.arc)}t&&(lr(t),ir(t));var o={cells:$c,edges:Xc};return Bc=Jc=Xc=$c=null,o}function wr(n,t){return t.y-n.y||t.x-n.x}function Sr(n,t,e){return(n.x-e.x)*(t.y-n.y)-(n.x-t.x)*(e.y-n.y)}function kr(n){return n.x}function Er(n){return n.y}function Ar(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function Cr(n,t,e,r,u,i){if(!n(t,e,r,u,i)){var o=.5*(e+u),a=.5*(r+i),c=t.nodes;c[0]&&Cr(n,c[0],e,r,o,a),c[1]&&Cr(n,c[1],o,r,u,a),c[2]&&Cr(n,c[2],e,a,o,i),c[3]&&Cr(n,c[3],o,a,u,i)}}function Nr(n,t){n=Bo.rgb(n),t=Bo.rgb(t);var e=n.r,r=n.g,u=n.b,i=t.r-e,o=t.g-r,a=t.b-u;return function(n){return"#"+st(Math.round(e+i*n))+st(Math.round(r+o*n))+st(Math.round(u+a*n))}}function Lr(n,t){var e,r={},u={};for(e in n)e in t?r[e]=zr(n[e],t[e]):u[e]=n[e];for(e in t)e in n||(u[e]=t[e]);return function(n){for(e in r)u[e]=r[e](n);return u}}function Tr(n,t){return t-=n=+n,function(e){return n+t*e}}function qr(n,t){var e,r,u,i,o,a=0,c=0,s=[],l=[];for(n+="",t+="",ns.lastIndex=0,r=0;e=ns.exec(t);++r)e.index&&s.push(t.substring(a,c=e.index)),l.push({i:s.length,x:e[0]}),s.push(null),a=ns.lastIndex;for(a<t.length&&s.push(t.substring(a)),r=0,i=l.length;(e=ns.exec(n))&&i>r;++r)if(o=l[r],o.x==e[0]){if(o.i)if(null==s[o.i+1])for(s[o.i-1]+=o.x,s.splice(o.i,1),u=r+1;i>u;++u)l[u].i--;else for(s[o.i-1]+=o.x+s[o.i+1],s.splice(o.i,2),u=r+1;i>u;++u)l[u].i-=2;else if(null==s[o.i+1])s[o.i]=o.x;else for(s[o.i]=o.x+s[o.i+1],s.splice(o.i+1,1),u=r+1;i>u;++u)l[u].i--;l.splice(r,1),i--,r--}else o.x=Tr(parseFloat(e[0]),parseFloat(o.x));for(;i>r;)o=l.pop(),null==s[o.i+1]?s[o.i]=o.x:(s[o.i]=o.x+s[o.i+1],s.splice(o.i+1,1)),i--;return 1===s.length?null==s[0]?(o=l[0].x,function(n){return o(n)+""}):function(){return t}:function(n){for(r=0;i>r;++r)s[(o=l[r]).i]=o.x(n);return s.join("")}}function zr(n,t){for(var e,r=Bo.interpolators.length;--r>=0&&!(e=Bo.interpolators[r](n,t)););return e}function Rr(n,t){var e,r=[],u=[],i=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;a>e;++e)r.push(zr(n[e],t[e]));for(;i>e;++e)u[e]=n[e];for(;o>e;++e)u[e]=t[e];return function(n){for(e=0;a>e;++e)u[e]=r[e](n);return u}}function Dr(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function Pr(n){return function(t){return 1-n(1-t)}}function Ur(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function jr(n){return n*n}function Hr(n){return n*n*n}function Fr(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function Or(n){return function(t){return Math.pow(t,n)}}function Yr(n){return 1-Math.cos(n*Ca)}function Ir(n){return Math.pow(2,10*(n-1))}function Zr(n){return 1-Math.sqrt(1-n*n)}function Vr(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/Aa*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,-10*r)*Math.sin((r-e)*Aa/t)}}function Xr(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function $r(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function Br(n,t){n=Bo.hcl(n),t=Bo.hcl(t);var e=n.h,r=n.c,u=n.l,i=t.h-e,o=t.c-r,a=t.l-u;return isNaN(o)&&(o=0,r=isNaN(r)?t.c:r),isNaN(i)?(i=0,e=isNaN(e)?t.h:e):i>180?i-=360:-180>i&&(i+=360),function(n){return G(e+i*n,r+o*n,u+a*n)+""}}function Wr(n,t){n=Bo.hsl(n),t=Bo.hsl(t);var e=n.h,r=n.s,u=n.l,i=t.h-e,o=t.s-r,a=t.l-u;return isNaN(o)&&(o=0,r=isNaN(r)?t.s:r),isNaN(i)?(i=0,e=isNaN(e)?t.h:e):i>180?i-=360:-180>i&&(i+=360),function(n){return B(e+i*n,r+o*n,u+a*n)+""}}function Jr(n,t){n=Bo.lab(n),t=Bo.lab(t);var e=n.l,r=n.a,u=n.b,i=t.l-e,o=t.a-r,a=t.b-u;return function(n){return nt(e+i*n,r+o*n,u+a*n)+""}}function Gr(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function Kr(n){var t=[n.a,n.b],e=[n.c,n.d],r=nu(t),u=Qr(t,e),i=nu(tu(e,t,-u))||0;t[0]*e[1]<e[0]*t[1]&&(t[0]*=-1,t[1]*=-1,r*=-1,u*=-1),this.rotate=(r?Math.atan2(t[1],t[0]):Math.atan2(-e[0],e[1]))*qa,this.translate=[n.e,n.f],this.scale=[r,i],this.skew=i?Math.atan2(u,i)*qa:0}function Qr(n,t){return n[0]*t[0]+n[1]*t[1]}function nu(n){var t=Math.sqrt(Qr(n,n));return t&&(n[0]/=t,n[1]/=t),t}function tu(n,t,e){return n[0]+=e*t[0],n[1]+=e*t[1],n}function eu(n,t){var e,r=[],u=[],i=Bo.transform(n),o=Bo.transform(t),a=i.translate,c=o.translate,s=i.rotate,l=o.rotate,f=i.skew,h=o.skew,g=i.scale,p=o.scale;return a[0]!=c[0]||a[1]!=c[1]?(r.push("translate(",null,",",null,")"),u.push({i:1,x:Tr(a[0],c[0])},{i:3,x:Tr(a[1],c[1])})):c[0]||c[1]?r.push("translate("+c+")"):r.push(""),s!=l?(s-l>180?l+=360:l-s>180&&(s+=360),u.push({i:r.push(r.pop()+"rotate(",null,")")-2,x:Tr(s,l)})):l&&r.push(r.pop()+"rotate("+l+")"),f!=h?u.push({i:r.push(r.pop()+"skewX(",null,")")-2,x:Tr(f,h)}):h&&r.push(r.pop()+"skewX("+h+")"),g[0]!=p[0]||g[1]!=p[1]?(e=r.push(r.pop()+"scale(",null,",",null,")"),u.push({i:e-4,x:Tr(g[0],p[0])},{i:e-2,x:Tr(g[1],p[1])})):(1!=p[0]||1!=p[1])&&r.push(r.pop()+"scale("+p+")"),e=u.length,function(n){for(var t,i=-1;++i<e;)r[(t=u[i]).i]=t.x(n);return r.join("")}}function ru(n,t){return t=t-(n=+n)?1/(t-n):0,function(e){return(e-n)*t}}function uu(n,t){return t=t-(n=+n)?1/(t-n):0,function(e){return Math.max(0,Math.min(1,(e-n)*t))}}function iu(n){for(var t=n.source,e=n.target,r=au(t,e),u=[t];t!==r;)t=t.parent,u.push(t);for(var i=u.length;e!==r;)u.splice(i,0,e),e=e.parent;return u}function ou(n){for(var t=[],e=n.parent;null!=e;)t.push(n),n=e,e=e.parent;return t.push(n),t}function au(n,t){if(n===t)return n;for(var e=ou(n),r=ou(t),u=e.pop(),i=r.pop(),o=null;u===i;)o=u,u=e.pop(),i=r.pop();return o}function cu(n){n.fixed|=2}function su(n){n.fixed&=-7}function lu(n){n.fixed|=4,n.px=n.x,n.py=n.y}function fu(n){n.fixed&=-5}function hu(n,t,e){var r=0,u=0;if(n.charge=0,!n.leaf)for(var i,o=n.nodes,a=o.length,c=-1;++c<a;)i=o[c],null!=i&&(hu(i,t,e),n.charge+=i.charge,r+=i.charge*i.cx,u+=i.charge*i.cy);if(n.point){n.leaf||(n.point.x+=Math.random()-.5,n.point.y+=Math.random()-.5);var s=t*e[n.point.index];n.charge+=n.pointCharge=s,r+=s*n.point.x,u+=s*n.point.y}n.cx=r/n.charge,n.cy=u/n.charge}function gu(n,t){return Bo.rebind(n,t,"sort","children","value"),n.nodes=n,n.links=mu,n}function pu(n){return n.children}function vu(n){return n.value}function du(n,t){return t.value-n.value}function mu(n){return Bo.merge(n.map(function(n){return(n.children||[]).map(function(t){return{source:n,target:t}})}))}function yu(n){return n.x}function xu(n){return n.y}function Mu(n,t,e){n.y0=t,n.y=e}function _u(n){return Bo.range(n.length)}function bu(n){for(var t=-1,e=n[0].length,r=[];++t<e;)r[t]=0;return r}function wu(n){for(var t,e=1,r=0,u=n[0][1],i=n.length;i>e;++e)(t=n[e][1])>u&&(r=e,u=t);return r}function Su(n){return n.reduce(ku,0)}function ku(n,t){return n+t[1]}function Eu(n,t){return Au(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function Au(n,t){for(var e=-1,r=+n[0],u=(n[1]-r)/t,i=[];++e<=t;)i[e]=u*e+r;return i}function Cu(n){return[Bo.min(n),Bo.max(n)]}function Nu(n,t){return n.parent==t.parent?1:2}function Lu(n){var t=n.children;return t&&t.length?t[0]:n._tree.thread}function Tu(n){var t,e=n.children;return e&&(t=e.length)?e[t-1]:n._tree.thread}function qu(n,t){var e=n.children;if(e&&(u=e.length))for(var r,u,i=-1;++i<u;)t(r=qu(e[i],t),n)>0&&(n=r);return n}function zu(n,t){return n.x-t.x}function Ru(n,t){return t.x-n.x}function Du(n,t){return n.depth-t.depth}function Pu(n,t){function e(n,r){var u=n.children;if(u&&(o=u.length))for(var i,o,a=null,c=-1;++c<o;)i=u[c],e(i,a),a=i;t(n,r)}e(n,null)}function Uu(n){for(var t,e=0,r=0,u=n.children,i=u.length;--i>=0;)t=u[i]._tree,t.prelim+=e,t.mod+=e,e+=t.shift+(r+=t.change)}function ju(n,t,e){n=n._tree,t=t._tree;var r=e/(t.number-n.number);n.change+=r,t.change-=r,t.shift+=e,t.prelim+=e,t.mod+=e}function Hu(n,t,e){return n._tree.ancestor.parent==t.parent?n._tree.ancestor:e}function Fu(n,t){return n.value-t.value}function Ou(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Yu(n,t){n._pack_next=t,t._pack_prev=n}function Iu(n,t){var e=t.x-n.x,r=t.y-n.y,u=n.r+t.r;return.999*u*u>e*e+r*r}function Zu(n){function t(n){l=Math.min(n.x-n.r,l),f=Math.max(n.x+n.r,f),h=Math.min(n.y-n.r,h),g=Math.max(n.y+n.r,g)}if((e=n.children)&&(s=e.length)){var e,r,u,i,o,a,c,s,l=1/0,f=-1/0,h=1/0,g=-1/0;if(e.forEach(Vu),r=e[0],r.x=-r.r,r.y=0,t(r),s>1&&(u=e[1],u.x=u.r,u.y=0,t(u),s>2))for(i=e[2],Bu(r,u,i),t(i),Ou(r,i),r._pack_prev=i,Ou(i,u),u=r._pack_next,o=3;s>o;o++){Bu(r,u,i=e[o]);var p=0,v=1,d=1;for(a=u._pack_next;a!==u;a=a._pack_next,v++)if(Iu(a,i)){p=1;break}if(1==p)for(c=r._pack_prev;c!==a._pack_prev&&!Iu(c,i);c=c._pack_prev,d++);p?(d>v||v==d&&u.r<r.r?Yu(r,u=a):Yu(r=c,u),o--):(Ou(r,i),u=i,t(i))}var m=(l+f)/2,y=(h+g)/2,x=0;for(o=0;s>o;o++)i=e[o],i.x-=m,i.y-=y,x=Math.max(x,i.r+Math.sqrt(i.x*i.x+i.y*i.y));n.r=x,e.forEach(Xu)}}function Vu(n){n._pack_next=n._pack_prev=n}function Xu(n){delete n._pack_next,delete n._pack_prev}function $u(n,t,e,r){var u=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,u)for(var i=-1,o=u.length;++i<o;)$u(u[i],t,e,r)}function Bu(n,t,e){var r=n.r+e.r,u=t.x-n.x,i=t.y-n.y;if(r&&(u||i)){var o=t.r+e.r,a=u*u+i*i;o*=o,r*=r;var c=.5+(r-o)/(2*a),s=Math.sqrt(Math.max(0,2*o*(r+a)-(r-=a)*r-o*o))/(2*a);e.x=n.x+c*u+s*i,e.y=n.y+c*i-s*u}else e.x=n.x+r,e.y=n.y}function Wu(n){return 1+Bo.max(n,function(n){return n.y})}function Ju(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}function Gu(n){var t=n.children;return t&&t.length?Gu(t[0]):n}function Ku(n){var t,e=n.children;return e&&(t=e.length)?Ku(e[t-1]):n}function Qu(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function ni(n,t){var e=n.x+t[3],r=n.y+t[0],u=n.dx-t[1]-t[3],i=n.dy-t[0]-t[2];return 0>u&&(e+=u/2,u=0),0>i&&(r+=i/2,i=0),{x:e,y:r,dx:u,dy:i}}function ti(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function ei(n){return n.rangeExtent?n.rangeExtent():ti(n.range())}function ri(n,t,e,r){var u=e(n[0],n[1]),i=r(t[0],t[1]);return function(n){return i(u(n))}}function ui(n,t){var e,r=0,u=n.length-1,i=n[r],o=n[u];return i>o&&(e=r,r=u,u=e,e=i,i=o,o=e),n[r]=t.floor(i),n[u]=t.ceil(o),n}function ii(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:ls}function oi(n,t,e,r){var u=[],i=[],o=0,a=Math.min(n.length,t.length)-1;for(n[a]<n[0]&&(n=n.slice().reverse(),t=t.slice().reverse());++o<=a;)u.push(e(n[o-1],n[o])),i.push(r(t[o-1],t[o]));return function(t){var e=Bo.bisect(n,t,1,a)-1;return i[e](u[e](t))}}function ai(n,t,e,r){function u(){var u=Math.min(n.length,t.length)>2?oi:ri,c=r?uu:ru;return o=u(n,t,c,e),a=u(t,n,c,zr),i}function i(n){return o(n)}var o,a;return i.invert=function(n){return a(n)},i.domain=function(t){return arguments.length?(n=t.map(Number),u()):n},i.range=function(n){return arguments.length?(t=n,u()):t},i.rangeRound=function(n){return i.range(n).interpolate(Gr)},i.clamp=function(n){return arguments.length?(r=n,u()):r},i.interpolate=function(n){return arguments.length?(e=n,u()):e},i.ticks=function(t){return fi(n,t)},i.tickFormat=function(t,e){return hi(n,t,e)},i.nice=function(t){return si(n,t),u()},i.copy=function(){return ai(n,t,e,r)},u()}function ci(n,t){return Bo.rebind(n,t,"range","rangeRound","interpolate","clamp")}function si(n,t){return ui(n,ii(li(n,t)[2]))}function li(n,t){null==t&&(t=10);var e=ti(n),r=e[1]-e[0],u=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),i=t/r*u;return.15>=i?u*=10:.35>=i?u*=5:.75>=i&&(u*=2),e[0]=Math.ceil(e[0]/u)*u,e[1]=Math.floor(e[1]/u)*u+.5*u,e[2]=u,e}function fi(n,t){return Bo.range.apply(Bo,li(n,t))}function hi(n,t,e){var r=li(n,t);return Bo.format(e?e.replace(ic,function(n,t,e,u,i,o,a,c,s,l){return[t,e,u,i,o,a,c,s||"."+pi(l,r),l].join("")}):",."+gi(r[2])+"f")}function gi(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}function pi(n,t){var e=gi(t[2]);return n in fs?Math.abs(e-gi(Math.max(Math.abs(t[0]),Math.abs(t[1]))))+ +("e"!==n):e-2*("%"===n)}function vi(n,t,e,r){function u(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function i(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function o(t){return n(u(t))}return o.invert=function(t){return i(n.invert(t))},o.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(u)),o):r},o.base=function(e){return arguments.length?(t=+e,n.domain(r.map(u)),o):t},o.nice=function(){var t=ui(r.map(u),e?Math:gs);return n.domain(t),r=t.map(i),o},o.ticks=function(){var n=ti(r),o=[],a=n[0],c=n[1],s=Math.floor(u(a)),l=Math.ceil(u(c)),f=t%1?2:t;if(isFinite(l-s)){if(e){for(;l>s;s++)for(var h=1;f>h;h++)o.push(i(s)*h);o.push(i(s))}else for(o.push(i(s));s++<l;)for(var h=f-1;h>0;h--)o.push(i(s)*h);for(s=0;o[s]<a;s++);for(l=o.length;o[l-1]>c;l--);o=o.slice(s,l)}return o},o.tickFormat=function(n,t){if(!arguments.length)return hs;arguments.length<2?t=hs:"function"!=typeof t&&(t=Bo.format(t));var r,a=Math.max(.1,n/o.ticks().length),c=e?(r=1e-12,Math.ceil):(r=-1e-12,Math.floor);return function(n){return n/i(c(u(n)+r))<=a?t(n):""}},o.copy=function(){return vi(n.copy(),t,e,r)},ci(o,n)}function di(n,t,e){function r(t){return n(u(t))}var u=mi(t),i=mi(1/t);return r.invert=function(t){return i(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(u)),r):e},r.ticks=function(n){return fi(e,n)},r.tickFormat=function(n,t){return hi(e,n,t)},r.nice=function(n){return r.domain(si(e,n))},r.exponent=function(o){return arguments.length?(u=mi(t=o),i=mi(1/t),n.domain(e.map(u)),r):t},r.copy=function(){return di(n.copy(),t,e)},ci(r,n)}function mi(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function yi(n,t){function e(e){return o[((i.get(e)||"range"===t.t&&i.set(e,n.push(e)))-1)%o.length]}function r(t,e){return Bo.range(n.length).map(function(n){return t+e*n})}var i,o,a;return e.domain=function(r){if(!arguments.length)return n;n=[],i=new u;for(var o,a=-1,c=r.length;++a<c;)i.has(o=r[a])||i.set(o,n.push(o));return e[t.t].apply(e,t.a)},e.range=function(n){return arguments.length?(o=n,a=0,t={t:"range",a:arguments},e):o},e.rangePoints=function(u,i){arguments.length<2&&(i=0);var c=u[0],s=u[1],l=(s-c)/(Math.max(1,n.length-1)+i);return o=r(n.length<2?(c+s)/2:c+l*i/2,l),a=0,t={t:"rangePoints",a:arguments},e},e.rangeBands=function(u,i,c){arguments.length<2&&(i=0),arguments.length<3&&(c=i);var s=u[1]<u[0],l=u[s-0],f=u[1-s],h=(f-l)/(n.length-i+2*c);return o=r(l+h*c,h),s&&o.reverse(),a=h*(1-i),t={t:"rangeBands",a:arguments},e},e.rangeRoundBands=function(u,i,c){arguments.length<2&&(i=0),arguments.length<3&&(c=i);var s=u[1]<u[0],l=u[s-0],f=u[1-s],h=Math.floor((f-l)/(n.length-i+2*c)),g=f-l-(n.length-i)*h;return o=r(l+Math.round(g/2),h),s&&o.reverse(),a=Math.round(h*(1-i)),t={t:"rangeRoundBands",a:arguments},e},e.rangeBand=function(){return a},e.rangeExtent=function(){return ti(t.a[0])},e.copy=function(){return yi(n,t)},e.domain(n)}function xi(n,t){function e(){var e=0,i=t.length;for(u=[];++e<i;)u[e-1]=Bo.quantile(n,e/i);return r}function r(n){return isNaN(n=+n)?void 0:t[Bo.bisect(u,n)]}var u;return r.domain=function(t){return arguments.length?(n=t.filter(function(n){return!isNaN(n)}).sort(Bo.ascending),e()):n},r.range=function(n){return arguments.length?(t=n,e()):t},r.quantiles=function(){return u},r.invertExtent=function(e){return e=t.indexOf(e),0>e?[0/0,0/0]:[e>0?u[e-1]:n[0],e<u.length?u[e]:n[n.length-1]]},r.copy=function(){return xi(n,t)},e()}function Mi(n,t,e){function r(t){return e[Math.max(0,Math.min(o,Math.floor(i*(t-n))))]}function u(){return i=e.length/(t-n),o=e.length-1,r}var i,o;return r.domain=function(e){return arguments.length?(n=+e[0],t=+e[e.length-1],u()):[n,t]},r.range=function(n){return arguments.length?(e=n,u()):e},r.invertExtent=function(t){return t=e.indexOf(t),t=0>t?0/0:t/i+n,[t,t+1/i]},r.copy=function(){return Mi(n,t,e)},u()}function _i(n,t){function e(e){return e>=e?t[Bo.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return _i(n,t)},e}function bi(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return fi(n,t)},t.tickFormat=function(t,e){return hi(n,t,e)},t.copy=function(){return bi(n)},t}function wi(n){return n.innerRadius}function Si(n){return n.outerRadius}function ki(n){return n.startAngle}function Ei(n){return n.endAngle}function Ai(n){function t(t){function o(){s.push("M",i(n(l),a))}for(var c,s=[],l=[],f=-1,h=t.length,g=vt(e),p=vt(r);++f<h;)u.call(this,c=t[f],f)?l.push([+g.call(this,c,f),+p.call(this,c,f)]):l.length&&(o(),l=[]);return l.length&&o(),s.length?s.join(""):null}var e=Ve,r=Xe,u=Vt,i=Ci,o=i.key,a=.7;return t.x=function(n){return arguments.length?(e=n,t):e},t.y=function(n){return arguments.length?(r=n,t):r},t.defined=function(n){return arguments.length?(u=n,t):u},t.interpolate=function(n){return arguments.length?(o="function"==typeof n?i=n:(i=Ms.get(n)||Ci).key,t):o},t.tension=function(n){return arguments.length?(a=n,t):a},t}function Ci(n){return n.join("L")}function Ni(n){return Ci(n)+"Z"}function Li(n){for(var t=0,e=n.length,r=n[0],u=[r[0],",",r[1]];++t<e;)u.push("H",(r[0]+(r=n[t])[0])/2,"V",r[1]);return e>1&&u.push("H",r[0]),u.join("")}function Ti(n){for(var t=0,e=n.length,r=n[0],u=[r[0],",",r[1]];++t<e;)u.push("V",(r=n[t])[1],"H",r[0]);return u.join("")}function qi(n){for(var t=0,e=n.length,r=n[0],u=[r[0],",",r[1]];++t<e;)u.push("H",(r=n[t])[0],"V",r[1]);return u.join("")}function zi(n,t){return n.length<4?Ci(n):n[1]+Pi(n.slice(1,n.length-1),Ui(n,t))}function Ri(n,t){return n.length<3?Ci(n):n[0]+Pi((n.push(n[0]),n),Ui([n[n.length-2]].concat(n,[n[1]]),t))}function Di(n,t){return n.length<3?Ci(n):n[0]+Pi(n,Ui(n,t))}function Pi(n,t){if(t.length<1||n.length!=t.length&&n.length!=t.length+2)return Ci(n);var e=n.length!=t.length,r="",u=n[0],i=n[1],o=t[0],a=o,c=1;if(e&&(r+="Q"+(i[0]-2*o[0]/3)+","+(i[1]-2*o[1]/3)+","+i[0]+","+i[1],u=n[1],c=2),t.length>1){a=t[1],i=n[c],c++,r+="C"+(u[0]+o[0])+","+(u[1]+o[1])+","+(i[0]-a[0])+","+(i[1]-a[1])+","+i[0]+","+i[1];for(var s=2;s<t.length;s++,c++)i=n[c],a=t[s],r+="S"+(i[0]-a[0])+","+(i[1]-a[1])+","+i[0]+","+i[1]}if(e){var l=n[c];r+="Q"+(i[0]+2*a[0]/3)+","+(i[1]+2*a[1]/3)+","+l[0]+","+l[1]}return r}function Ui(n,t){for(var e,r=[],u=(1-t)/2,i=n[0],o=n[1],a=1,c=n.length;++a<c;)e=i,i=o,o=n[a],r.push([u*(o[0]-e[0]),u*(o[1]-e[1])]);return r}function ji(n){if(n.length<3)return Ci(n);var t=1,e=n.length,r=n[0],u=r[0],i=r[1],o=[u,u,u,(r=n[1])[0]],a=[i,i,i,r[1]],c=[u,",",i,"L",Yi(ws,o),",",Yi(ws,a)];for(n.push(n[e-1]);++t<=e;)r=n[t],o.shift(),o.push(r[0]),a.shift(),a.push(r[1]),Ii(c,o,a);return n.pop(),c.push("L",r),c.join("")}function Hi(n){if(n.length<4)return Ci(n);for(var t,e=[],r=-1,u=n.length,i=[0],o=[0];++r<3;)t=n[r],i.push(t[0]),o.push(t[1]);for(e.push(Yi(ws,i)+","+Yi(ws,o)),--r;++r<u;)t=n[r],i.shift(),i.push(t[0]),o.shift(),o.push(t[1]),Ii(e,i,o);return e.join("")}function Fi(n){for(var t,e,r=-1,u=n.length,i=u+4,o=[],a=[];++r<4;)e=n[r%u],o.push(e[0]),a.push(e[1]);for(t=[Yi(ws,o),",",Yi(ws,a)],--r;++r<i;)e=n[r%u],o.shift(),o.push(e[0]),a.shift(),a.push(e[1]),Ii(t,o,a);return t.join("")}function Oi(n,t){var e=n.length-1;if(e)for(var r,u,i=n[0][0],o=n[0][1],a=n[e][0]-i,c=n[e][1]-o,s=-1;++s<=e;)r=n[s],u=s/e,r[0]=t*r[0]+(1-t)*(i+u*a),r[1]=t*r[1]+(1-t)*(o+u*c);return ji(n)}function Yi(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]+n[3]*t[3]}function Ii(n,t,e){n.push("C",Yi(_s,t),",",Yi(_s,e),",",Yi(bs,t),",",Yi(bs,e),",",Yi(ws,t),",",Yi(ws,e))}function Zi(n,t){return(t[1]-n[1])/(t[0]-n[0])}function Vi(n){for(var t=0,e=n.length-1,r=[],u=n[0],i=n[1],o=r[0]=Zi(u,i);++t<e;)r[t]=(o+(o=Zi(u=i,i=n[t+1])))/2;return r[t]=o,r}function Xi(n){for(var t,e,r,u,i=[],o=Vi(n),a=-1,c=n.length-1;++a<c;)t=Zi(n[a],n[a+1]),ca(t)<Na?o[a]=o[a+1]=0:(e=o[a]/t,r=o[a+1]/t,u=e*e+r*r,u>9&&(u=3*t/Math.sqrt(u),o[a]=u*e,o[a+1]=u*r));for(a=-1;++a<=c;)u=(n[Math.min(c,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),i.push([u||0,o[a]*u||0]);return i}function $i(n){return n.length<3?Ci(n):n[0]+Pi(n,Xi(n))}function Bi(n){for(var t,e,r,u=-1,i=n.length;++u<i;)t=n[u],e=t[0],r=t[1]+ys,t[0]=e*Math.cos(r),t[1]=e*Math.sin(r);return n}function Wi(n){function t(t){function c(){v.push("M",a(n(m),f),l,s(n(d.reverse()),f),"Z")}for(var h,g,p,v=[],d=[],m=[],y=-1,x=t.length,M=vt(e),_=vt(u),b=e===r?function(){return g}:vt(r),w=u===i?function(){return p}:vt(i);++y<x;)o.call(this,h=t[y],y)?(d.push([g=+M.call(this,h,y),p=+_.call(this,h,y)]),m.push([+b.call(this,h,y),+w.call(this,h,y)])):d.length&&(c(),d=[],m=[]);return d.length&&c(),v.length?v.join(""):null}var e=Ve,r=Ve,u=0,i=Xe,o=Vt,a=Ci,c=a.key,s=a,l="L",f=.7;return t.x=function(n){return arguments.length?(e=r=n,t):r},t.x0=function(n){return arguments.length?(e=n,t):e},t.x1=function(n){return arguments.length?(r=n,t):r},t.y=function(n){return arguments.length?(u=i=n,t):i},t.y0=function(n){return arguments.length?(u=n,t):u},t.y1=function(n){return arguments.length?(i=n,t):i},t.defined=function(n){return arguments.length?(o=n,t):o},t.interpolate=function(n){return arguments.length?(c="function"==typeof n?a=n:(a=Ms.get(n)||Ci).key,s=a.reverse||a,l=a.closed?"M":"L",t):c},t.tension=function(n){return arguments.length?(f=n,t):f},t}function Ji(n){return n.radius}function Gi(n){return[n.x,n.y]}function Ki(n){return function(){var t=n.apply(this,arguments),e=t[0],r=t[1]+ys;return[e*Math.cos(r),e*Math.sin(r)]}}function Qi(){return 64}function no(){return"circle"}function to(n){var t=Math.sqrt(n/Ea);return"M0,"+t+"A"+t+","+t+" 0 1,1 0,"+-t+"A"+t+","+t+" 0 1,1 0,"+t+"Z"}function eo(n,t){return ga(n,Ns),n.id=t,n}function ro(n,t,e,r){var u=n.id;return N(n,"function"==typeof e?function(n,i,o){n.__transition__[u].tween.set(t,r(e.call(n,n.__data__,i,o)))}:(e=r(e),function(n){n.__transition__[u].tween.set(t,e)}))}function uo(n){return null==n&&(n=""),function(){this.textContent=n}}function io(n,t,e,r){var i=n.__transition__||(n.__transition__={active:0,count:0}),o=i[e];if(!o){var a=r.time;o=i[e]={tween:new u,time:a,ease:r.ease,delay:r.delay,duration:r.duration},++i.count,Bo.timer(function(r){function u(r){return i.active>e?s():(i.active=e,o.event&&o.event.start.call(n,l,t),o.tween.forEach(function(e,r){(r=r.call(n,l,t))&&v.push(r)}),Bo.timer(function(){return p.c=c(r||1)?Vt:c,1},0,a),void 0)}function c(r){if(i.active!==e)return s();for(var u=r/g,a=f(u),c=v.length;c>0;)v[--c].call(n,a);return u>=1?(o.event&&o.event.end.call(n,l,t),s()):void 0}function s(){return--i.count?delete i[e]:delete n.__transition__,1}var l=n.__data__,f=o.ease,h=o.delay,g=o.duration,p=Ka,v=[];return p.t=h+a,r>=h?u(r-h):(p.c=u,void 0)},0,a)}}function oo(n,t){n.attr("transform",function(n){return"translate("+t(n)+",0)"})}function ao(n,t){n.attr("transform",function(n){return"translate(0,"+t(n)+")"})}function co(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function so(n,t,e){function r(t){var e=n(t),r=i(e,1);return r-t>t-e?e:r}function u(e){return t(e=n(new Ps(e-1)),1),e}function i(n,e){return t(n=new Ps(+n),e),n}function o(n,r,i){var o=u(n),a=[];if(i>1)for(;r>o;)e(o)%i||a.push(new Date(+o)),t(o,1);else for(;r>o;)a.push(new Date(+o)),t(o,1);return a}function a(n,t,e){try{Ps=co;var r=new co;return r._=n,o(r,t,e)}finally{Ps=Date}}n.floor=n,n.round=r,n.ceil=u,n.offset=i,n.range=o;var c=n.utc=lo(n);return c.floor=c,c.round=lo(r),c.ceil=lo(u),c.offset=lo(i),c.range=a,n}function lo(n){return function(t,e){try{Ps=co;var r=new co;return r._=t,n(r,e)._}finally{Ps=Date}}}function fo(n){function t(t){for(var r,u,i,o=[],a=-1,c=0;++a<e;)37===n.charCodeAt(a)&&(o.push(n.substring(c,a)),null!=(u=tl[r=n.charAt(++a)])&&(r=n.charAt(++a)),(i=el[r])&&(r=i(t,null==u?"e"===r?" ":"0":u)),o.push(r),c=a+1);return o.push(n.substring(c,a)),o.join("")}var e=n.length;return t.parse=function(t){var e={y:1900,m:0,d:1,H:0,M:0,S:0,L:0,Z:null},r=ho(e,n,t,0);if(r!=t.length)return null;"p"in e&&(e.H=e.H%12+12*e.p);var u=null!=e.Z&&Ps!==co,i=new(u?co:Ps);return"j"in e?i.setFullYear(e.y,0,e.j):"w"in e&&("W"in e||"U"in e)?(i.setFullYear(e.y,0,1),i.setFullYear(e.y,0,"W"in e?(e.w+6)%7+7*e.W-(i.getDay()+5)%7:e.w+7*e.U-(i.getDay()+6)%7)):i.setFullYear(e.y,e.m,e.d),i.setHours(e.H+Math.floor(e.Z/100),e.M+e.Z%100,e.S,e.L),u?i._:i},t.toString=function(){return n},t}function ho(n,t,e,r){for(var u,i,o,a=0,c=t.length,s=e.length;c>a;){if(r>=s)return-1;if(u=t.charCodeAt(a++),37===u){if(o=t.charAt(a++),i=rl[o in tl?t.charAt(a++):o],!i||(r=i(n,e,r))<0)return-1}else if(u!=e.charCodeAt(r++))return-1}return r}function go(n){return new RegExp("^(?:"+n.map(Bo.requote).join("|")+")","i")}function po(n){for(var t=new u,e=-1,r=n.length;++e<r;)t.set(n[e].toLowerCase(),e);return t}function vo(n,t,e){var r=0>n?"-":"",u=(r?-n:n)+"",i=u.length;return r+(e>i?new Array(e-i+1).join(t)+u:u)}function mo(n,t,e){Bs.lastIndex=0;var r=Bs.exec(t.substring(e));return r?(n.w=Ws.get(r[0].toLowerCase()),e+r[0].length):-1}function yo(n,t,e){Xs.lastIndex=0;var r=Xs.exec(t.substring(e));return r?(n.w=$s.get(r[0].toLowerCase()),e+r[0].length):-1}function xo(n,t,e){ul.lastIndex=0;var r=ul.exec(t.substring(e,e+1));return r?(n.w=+r[0],e+r[0].length):-1}function Mo(n,t,e){ul.lastIndex=0;var r=ul.exec(t.substring(e));return r?(n.U=+r[0],e+r[0].length):-1}function _o(n,t,e){ul.lastIndex=0;var r=ul.exec(t.substring(e));return r?(n.W=+r[0],e+r[0].length):-1}function bo(n,t,e){Ks.lastIndex=0;var r=Ks.exec(t.substring(e));return r?(n.m=Qs.get(r[0].toLowerCase()),e+r[0].length):-1}function wo(n,t,e){Js.lastIndex=0;var r=Js.exec(t.substring(e));return r?(n.m=Gs.get(r[0].toLowerCase()),e+r[0].length):-1}function So(n,t,e){return ho(n,el.c.toString(),t,e)}function ko(n,t,e){return ho(n,el.x.toString(),t,e)}function Eo(n,t,e){return ho(n,el.X.toString(),t,e)}function Ao(n,t,e){ul.lastIndex=0;var r=ul.exec(t.substring(e,e+4));return r?(n.y=+r[0],e+r[0].length):-1}function Co(n,t,e){ul.lastIndex=0;var r=ul.exec(t.substring(e,e+2));return r?(n.y=Lo(+r[0]),e+r[0].length):-1}function No(n,t,e){return/^[+-]\d{4}$/.test(t=t.substring(e,e+5))?(n.Z=+t,e+5):-1}function Lo(n){return n+(n>68?1900:2e3)}function To(n,t,e){ul.lastIndex=0;var r=ul.exec(t.substring(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function qo(n,t,e){ul.lastIndex=0;var r=ul.exec(t.substring(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function zo(n,t,e){ul.lastIndex=0;var r=ul.exec(t.substring(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function Ro(n,t,e){ul.lastIndex=0;var r=ul.exec(t.substring(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function Do(n,t,e){ul.lastIndex=0;var r=ul.exec(t.substring(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function Po(n,t,e){ul.lastIndex=0;var r=ul.exec(t.substring(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function Uo(n,t,e){ul.lastIndex=0;var r=ul.exec(t.substring(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function jo(n,t,e){var r=il.get(t.substring(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)}function Ho(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=~~(ca(t)/60),u=ca(t)%60;return e+vo(r,"0",2)+vo(u,"0",2)}function Fo(n,t,e){nl.lastIndex=0;var r=nl.exec(t.substring(e,e+1));return r?e+r[0].length:-1}function Oo(n){function t(n){try{Ps=co;var t=new Ps;return t._=n,e(t)}finally{Ps=Date}}var e=fo(n);return t.parse=function(n){try{Ps=co;var t=e.parse(n);return t&&t._}finally{Ps=Date}},t.toString=e.toString,t}function Yo(n){return n.toISOString()}function Io(n,t,e){function r(t){return n(t)}function u(n,e){var r=n[1]-n[0],u=r/e,i=Bo.bisect(al,u);return i==al.length?[t.year,li(n.map(function(n){return n/31536e6}),e)[2]]:i?t[u/al[i-1]<al[i]/u?i-1:i]:[fl,li(n,e)[2]]}return r.invert=function(t){return Zo(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain(t),r):n.domain().map(Zo)},r.nice=function(n,t){function e(e){return!isNaN(e)&&!n.range(e,Zo(+e+1),t).length}var i=r.domain(),o=ti(i),a=null==n?u(o,10):"number"==typeof n&&u(o,n);return a&&(n=a[0],t=a[1]),r.domain(ui(i,t>1?{floor:function(t){for(;e(t=n.floor(t));)t=Zo(t-1);return t},ceil:function(t){for(;e(t=n.ceil(t));)t=Zo(+t+1);return t}}:n))},r.ticks=function(n,t){var e=ti(r.domain()),i=null==n?u(e,10):"number"==typeof n?u(e,n):!n.range&&[{range:n},t];return i&&(n=i[0],t=i[1]),n.range(e[0],Zo(+e[1]+1),1>t?1:t)},r.tickFormat=function(){return e},r.copy=function(){return Io(n.copy(),t,e)},ci(r,n)}function Zo(n){return new Date(n)}function Vo(n){return function(t){for(var e=n.length-1,r=n[e];!r[1](t);)r=n[--e];return r[0](t)}}function Xo(n){return JSON.parse(n.responseText)}function $o(n){var t=Go.createRange();return t.selectNode(Go.body),t.createContextualFragment(n.responseText)}var Bo={version:"3.3.13"};Date.now||(Date.now=function(){return+new Date});var Wo=[].slice,Jo=function(n){return Wo.call(n)},Go=document,Ko=Go.documentElement,Qo=window;try{Jo(Ko.childNodes)[0].nodeType}catch(na){Jo=function(n){for(var t=n.length,e=new Array(t);t--;)e[t]=n[t];return e}}try{Go.createElement("div").style.setProperty("opacity",0,"")}catch(ta){var ea=Qo.Element.prototype,ra=ea.setAttribute,ua=ea.setAttributeNS,ia=Qo.CSSStyleDeclaration.prototype,oa=ia.setProperty;ea.setAttribute=function(n,t){ra.call(this,n,t+"")},ea.setAttributeNS=function(n,t,e){ua.call(this,n,t,e+"")},ia.setProperty=function(n,t,e){oa.call(this,n,t+"",e)}}Bo.ascending=function(n,t){return t>n?-1:n>t?1:n>=t?0:0/0},Bo.descending=function(n,t){return n>t?-1:t>n?1:t>=n?0:0/0},Bo.min=function(n,t){var e,r,u=-1,i=n.length;if(1===arguments.length){for(;++u<i&&!(null!=(e=n[u])&&e>=e);)e=void 0;for(;++u<i;)null!=(r=n[u])&&e>r&&(e=r)}else{for(;++u<i&&!(null!=(e=t.call(n,n[u],u))&&e>=e);)e=void 0;for(;++u<i;)null!=(r=t.call(n,n[u],u))&&e>r&&(e=r)}return e},Bo.max=function(n,t){var e,r,u=-1,i=n.length;if(1===arguments.length){for(;++u<i&&!(null!=(e=n[u])&&e>=e);)e=void 0;for(;++u<i;)null!=(r=n[u])&&r>e&&(e=r)}else{for(;++u<i&&!(null!=(e=t.call(n,n[u],u))&&e>=e);)e=void 0;for(;++u<i;)null!=(r=t.call(n,n[u],u))&&r>e&&(e=r)}return e},Bo.extent=function(n,t){var e,r,u,i=-1,o=n.length;if(1===arguments.length){for(;++i<o&&!(null!=(e=u=n[i])&&e>=e);)e=u=void 0;for(;++i<o;)null!=(r=n[i])&&(e>r&&(e=r),r>u&&(u=r))}else{for(;++i<o&&!(null!=(e=u=t.call(n,n[i],i))&&e>=e);)e=void 0;for(;++i<o;)null!=(r=t.call(n,n[i],i))&&(e>r&&(e=r),r>u&&(u=r))}return[e,u]},Bo.sum=function(n,t){var e,r=0,u=n.length,i=-1;if(1===arguments.length)for(;++i<u;)isNaN(e=+n[i])||(r+=e);else for(;++i<u;)isNaN(e=+t.call(n,n[i],i))||(r+=e);return r},Bo.mean=function(t,e){var r,u=t.length,i=0,o=-1,a=0;if(1===arguments.length)for(;++o<u;)n(r=t[o])&&(i+=(r-i)/++a);else for(;++o<u;)n(r=e.call(t,t[o],o))&&(i+=(r-i)/++a);return a?i:void 0},Bo.quantile=function(n,t){var e=(n.length-1)*t+1,r=Math.floor(e),u=+n[r-1],i=e-r;+return i?u+i*(n[r]-u):u},Bo.median=function(t,e){return arguments.length>1&&(t=t.map(e)),t=t.filter(n),t.length?Bo.quantile(t.sort(Bo.ascending),.5):void 0},Bo.bisector=function(n){return{left:function(t,e,r,u){for(arguments.length<3&&(r=0),arguments.length<4&&(u=t.length);u>r;){var i=r+u>>>1;n.call(t,t[i],i)<e?r=i+1:u=i}return r},right:function(t,e,r,u){for(arguments.length<3&&(r=0),arguments.length<4&&(u=t.length);u>r;){var i=r+u>>>1;e<n.call(t,t[i],i)?u=i:r=i+1}return r}}};var aa=Bo.bisector(function(n){return n});Bo.bisectLeft=aa.left,Bo.bisect=Bo.bisectRight=aa.right,Bo.shuffle=function(n){for(var t,e,r=n.length;r;)e=0|Math.random()*r--,t=n[r],n[r]=n[e],n[e]=t;return n},Bo.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},Bo.pairs=function(n){for(var t,e=0,r=n.length-1,u=n[0],i=new Array(0>r?0:r);r>e;)i[e]=[t=u,u=n[++e]];return i},Bo.zip=function(){if(!(u=arguments.length))return[];for(var n=-1,e=Bo.min(arguments,t),r=new Array(e);++n<e;)for(var u,i=-1,o=r[n]=new Array(u);++i<u;)o[i]=arguments[i][n];return r},Bo.transpose=function(n){return Bo.zip.apply(Bo,n)},Bo.keys=function(n){var t=[];for(var e in n)t.push(e);return t},Bo.values=function(n){var t=[];for(var e in n)t.push(n[e]);return t},Bo.entries=function(n){var t=[];for(var e in n)t.push({key:e,value:n[e]});return t},Bo.merge=function(n){for(var t,e,r,u=n.length,i=-1,o=0;++i<u;)o+=n[i].length;for(e=new Array(o);--u>=0;)for(r=n[u],t=r.length;--t>=0;)e[--o]=r[t];return e};var ca=Math.abs;Bo.range=function(n,t,r){if(arguments.length<3&&(r=1,arguments.length<2&&(t=n,n=0)),1/0===(t-n)/r)throw new Error("infinite range");var u,i=[],o=e(ca(r)),a=-1;if(n*=o,t*=o,r*=o,0>r)for(;(u=n+r*++a)>t;)i.push(u/o);else for(;(u=n+r*++a)<t;)i.push(u/o);return i},Bo.map=function(n){var t=new u;if(n instanceof u)n.forEach(function(n,e){t.set(n,e)});else for(var e in n)t.set(e,n[e]);return t},r(u,{has:function(n){return sa+n in this},get:function(n){return this[sa+n]},set:function(n,t){return this[sa+n]=t},remove:function(n){return n=sa+n,n in this&&delete this[n]},keys:function(){var n=[];return this.forEach(function(t){n.push(t)}),n},values:function(){var n=[];return this.forEach(function(t,e){n.push(e)}),n},entries:function(){var n=[];return this.forEach(function(t,e){n.push({key:t,value:e})}),n},forEach:function(n){for(var t in this)t.charCodeAt(0)===la&&n.call(this,t.substring(1),this[t])}});var sa="\x00",la=sa.charCodeAt(0);Bo.nest=function(){function n(t,a,c){if(c>=o.length)return r?r.call(i,a):e?a.sort(e):a;for(var s,l,f,h,g=-1,p=a.length,v=o[c++],d=new u;++g<p;)(h=d.get(s=v(l=a[g])))?h.push(l):d.set(s,[l]);return t?(l=t(),f=function(e,r){l.set(e,n(t,r,c))}):(l={},f=function(e,r){l[e]=n(t,r,c)}),d.forEach(f),l}function t(n,e){if(e>=o.length)return n;var r=[],u=a[e++];return n.forEach(function(n,u){r.push({key:n,values:t(u,e)})}),u?r.sort(function(n,t){return u(n.key,t.key)}):r}var e,r,i={},o=[],a=[];return i.map=function(t,e){return n(e,t,0)},i.entries=function(e){return t(n(Bo.map,e,0),0)},i.key=function(n){return o.push(n),i},i.sortKeys=function(n){return a[o.length-1]=n,i},i.sortValues=function(n){return e=n,i},i.rollup=function(n){return r=n,i},i},Bo.set=function(n){var t=new i;if(n)for(var e=0,r=n.length;r>e;++e)t.add(n[e]);return t},r(i,{has:function(n){return sa+n in this},add:function(n){return this[sa+n]=!0,n},remove:function(n){return n=sa+n,n in this&&delete this[n]},values:function(){var n=[];return this.forEach(function(t){n.push(t)}),n},forEach:function(n){for(var t in this)t.charCodeAt(0)===la&&n.call(this,t.substring(1))}}),Bo.behavior={},Bo.rebind=function(n,t){for(var e,r=1,u=arguments.length;++r<u;)n[e=arguments[r]]=o(n,t,t[e]);return n};var fa=["webkit","ms","moz","Moz","o","O"];Bo.dispatch=function(){for(var n=new s,t=-1,e=arguments.length;++t<e;)n[arguments[t]]=l(n);return n},s.prototype.on=function(n,t){var e=n.indexOf("."),r="";if(e>=0&&(r=n.substring(e+1),n=n.substring(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},Bo.event=null,Bo.requote=function(n){return n.replace(ha,"\\$&")};var ha=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ga={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},pa=function(n,t){return t.querySelector(n)},va=function(n,t){return t.querySelectorAll(n)},da=Ko[a(Ko,"matchesSelector")],ma=function(n,t){return da.call(n,t)};"function"==typeof Sizzle&&(pa=function(n,t){return Sizzle(n,t)[0]||null},va=function(n,t){return Sizzle.uniqueSort(Sizzle(n,t))},ma=Sizzle.matchesSelector),Bo.selection=function(){return _a};var ya=Bo.selection.prototype=[];ya.select=function(n){var t,e,r,u,i=[];n=v(n);for(var o=-1,a=this.length;++o<a;){i.push(t=[]),t.parentNode=(r=this[o]).parentNode;for(var c=-1,s=r.length;++c<s;)(u=r[c])?(t.push(e=n.call(u,u.__data__,c,o)),e&&"__data__"in u&&(e.__data__=u.__data__)):t.push(null)}return p(i)},ya.selectAll=function(n){var t,e,r=[];n=d(n);for(var u=-1,i=this.length;++u<i;)for(var o=this[u],a=-1,c=o.length;++a<c;)(e=o[a])&&(r.push(t=Jo(n.call(e,e.__data__,a,u))),t.parentNode=e);return p(r)};var xa={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};Bo.ns={prefix:xa,qualify:function(n){var t=n.indexOf(":"),e=n;return t>=0&&(e=n.substring(0,t),n=n.substring(t+1)),xa.hasOwnProperty(e)?{space:xa[e],local:n}:n}},ya.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return n=Bo.ns.qualify(n),n.local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(m(t,n[t]));return this}return this.each(m(n,t))},ya.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=M(n)).length,u=-1;if(t=e.classList){for(;++u<r;)if(!t.contains(n[u]))return!1}else for(t=e.getAttribute("class");++u<r;)if(!x(n[u]).test(t))return!1;return!0}for(t in n)this.each(_(t,n[t]));return this}return this.each(_(n,t))},ya.style=function(n,t,e){var r=arguments.length;if(3>r){if("string"!=typeof n){2>r&&(t="");for(e in n)this.each(w(e,n[e],t));return this}if(2>r)return Qo.getComputedStyle(this.node(),null).getPropertyValue(n);e=""}return this.each(w(n,t,e))},ya.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(S(t,n[t]));return this}return this.each(S(n,t))},ya.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},ya.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},ya.append=function(n){return n=k(n),this.select(function(){return this.appendChild(n.apply(this,arguments))})},ya.insert=function(n,t){return n=k(n),t=v(t),this.select(function(){return this.insertBefore(n.apply(this,arguments),t.apply(this,arguments)||null)})},ya.remove=function(){return this.each(function(){var n=this.parentNode;n&&n.removeChild(this)})},ya.data=function(n,t){function e(n,e){var r,i,o,a=n.length,f=e.length,h=Math.min(a,f),g=new Array(f),p=new Array(f),v=new Array(a);if(t){var d,m=new u,y=new u,x=[];for(r=-1;++r<a;)d=t.call(i=n[r],i.__data__,r),m.has(d)?v[r]=i:m.set(d,i),x.push(d);for(r=-1;++r<f;)d=t.call(e,o=e[r],r),(i=m.get(d))?(g[r]=i,i.__data__=o):y.has(d)||(p[r]=E(o)),y.set(d,o),m.remove(d);for(r=-1;++r<a;)m.has(x[r])&&(v[r]=n[r])}else{for(r=-1;++r<h;)i=n[r],o=e[r],i?(i.__data__=o,g[r]=i):p[r]=E(o);for(;f>r;++r)p[r]=E(e[r]);for(;a>r;++r)v[r]=n[r]}p.update=g,p.parentNode=g.parentNode=v.parentNode=n.parentNode,c.push(p),s.push(g),l.push(v)}var r,i,o=-1,a=this.length;if(!arguments.length){for(n=new Array(a=(r=this[0]).length);++o<a;)(i=r[o])&&(n[o]=i.__data__);return n}var c=L([]),s=p([]),l=p([]);if("function"==typeof n)for(;++o<a;)e(r=this[o],n.call(r,r.parentNode.__data__,o));else for(;++o<a;)e(r=this[o],n);return s.enter=function(){return c},s.exit=function(){return l},s},ya.datum=function(n){return arguments.length?this.property("__data__",n):this.property("__data__")},ya.filter=function(n){var t,e,r,u=[];"function"!=typeof n&&(n=A(n));for(var i=0,o=this.length;o>i;i++){u.push(t=[]),t.parentNode=(e=this[i]).parentNode;for(var a=0,c=e.length;c>a;a++)(r=e[a])&&n.call(r,r.__data__,a,i)&&t.push(r)}return p(u)},ya.order=function(){for(var n=-1,t=this.length;++n<t;)for(var e,r=this[n],u=r.length-1,i=r[u];--u>=0;)(e=r[u])&&(i&&i!==e.nextSibling&&i.parentNode.insertBefore(e,i),i=e);return this},ya.sort=function(n){n=C.apply(this,arguments);for(var t=-1,e=this.length;++t<e;)this[t].sort(n);return this.order()},ya.each=function(n){return N(this,function(t,e,r){n.call(t,t.__data__,e,r)})},ya.call=function(n){var t=Jo(arguments);return n.apply(t[0]=this,t),this},ya.empty=function(){return!this.node()},ya.node=function(){for(var n=0,t=this.length;t>n;n++)for(var e=this[n],r=0,u=e.length;u>r;r++){var i=e[r];if(i)return i}return null},ya.size=function(){var n=0;return this.each(function(){++n}),n};var Ma=[];Bo.selection.enter=L,Bo.selection.enter.prototype=Ma,Ma.append=ya.append,Ma.empty=ya.empty,Ma.node=ya.node,Ma.call=ya.call,Ma.size=ya.size,Ma.select=function(n){for(var t,e,r,u,i,o=[],a=-1,c=this.length;++a<c;){r=(u=this[a]).update,o.push(t=[]),t.parentNode=u.parentNode;for(var s=-1,l=u.length;++s<l;)(i=u[s])?(t.push(r[s]=e=n.call(u.parentNode,i.__data__,s,a)),e.__data__=i.__data__):t.push(null)}return p(o)},Ma.insert=function(n,t){return arguments.length<2&&(t=T(this)),ya.insert.call(this,n,t)},ya.transition=function(){for(var n,t,e=ks||++Ls,r=[],u=Es||{time:Date.now(),ease:Fr,delay:0,duration:250},i=-1,o=this.length;++i<o;){r.push(n=[]);for(var a=this[i],c=-1,s=a.length;++c<s;)(t=a[c])&&io(t,c,e,u),n.push(t)}return eo(r,e)},ya.interrupt=function(){return this.each(q)},Bo.select=function(n){var t=["string"==typeof n?pa(n,Go):n];return t.parentNode=Ko,p([t])},Bo.selectAll=function(n){var t=Jo("string"==typeof n?va(n,Go):n);return t.parentNode=Ko,p([t])};var _a=Bo.select(Ko);ya.on=function(n,t,e){var r=arguments.length;if(3>r){if("string"!=typeof n){2>r&&(t=!1);for(e in n)this.each(z(e,n[e],t));return this}if(2>r)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(z(n,t,e))};var ba=Bo.map({mouseenter:"mouseover",mouseleave:"mouseout"});ba.forEach(function(n){"on"+n in Go&&ba.remove(n)});var wa="onselectstart"in Go?null:a(Ko.style,"userSelect"),Sa=0;Bo.mouse=function(n){return U(n,h())};var ka=/WebKit/.test(Qo.navigator.userAgent)?-1:0;Bo.touches=function(n,t){return arguments.length<2&&(t=h().touches),t?Jo(t).map(function(t){var e=U(n,t);return e.identifier=t.identifier,e}):[]},Bo.behavior.drag=function(){function n(){this.on("mousedown.drag",o).on("touchstart.drag",a)}function t(){return Bo.event.changedTouches[0].identifier}function e(n,t){return Bo.touches(n).filter(function(n){return n.identifier===t})[0]}function r(n,t,e,r){return function(){function o(){var n=t(l,g),e=n[0]-v[0],r=n[1]-v[1];d|=e|r,v=n,f({type:"drag",x:n[0]+c[0],y:n[1]+c[1],dx:e,dy:r})}function a(){m.on(e+"."+p,null).on(r+"."+p,null),y(d&&Bo.event.target===h),f({type:"dragend"})}var c,s=this,l=s.parentNode,f=u.of(s,arguments),h=Bo.event.target,g=n(),p=null==g?"drag":"drag-"+g,v=t(l,g),d=0,m=Bo.select(Qo).on(e+"."+p,o).on(r+"."+p,a),y=P();i?(c=i.apply(s,arguments),c=[c.x-v[0],c.y-v[1]]):c=[0,0],f({type:"dragstart"})}}var u=g(n,"drag","dragstart","dragend"),i=null,o=r(c,Bo.mouse,"mousemove","mouseup"),a=r(t,e,"touchmove","touchend");return n.origin=function(t){return arguments.length?(i=t,n):i},Bo.rebind(n,u,"on")};var Ea=Math.PI,Aa=2*Ea,Ca=Ea/2,Na=1e-6,La=Na*Na,Ta=Ea/180,qa=180/Ea,za=Math.SQRT2,Ra=2,Da=4;Bo.interpolateZoom=function(n,t){function e(n){var t=n*y;if(m){var e=Y(v),o=i/(Ra*h)*(e*I(za*t+v)-O(v));return[r+o*s,u+o*l,i*e/Y(za*t+v)]}return[r+n*s,u+n*l,i*Math.exp(za*t)]}var r=n[0],u=n[1],i=n[2],o=t[0],a=t[1],c=t[2],s=o-r,l=a-u,f=s*s+l*l,h=Math.sqrt(f),g=(c*c-i*i+Da*f)/(2*i*Ra*h),p=(c*c-i*i-Da*f)/(2*c*Ra*h),v=Math.log(Math.sqrt(g*g+1)-g),d=Math.log(Math.sqrt(p*p+1)-p),m=d-v,y=(m||Math.log(c/i))/za;return e.duration=1e3*y,e},Bo.behavior.zoom=function(){function n(n){n.on(A,s).on(ja+".zoom",h).on(C,p).on("dblclick.zoom",v).on(L,l)}function t(n){return[(n[0]-S.x)/S.k,(n[1]-S.y)/S.k]}function e(n){return[n[0]*S.k+S.x,n[1]*S.k+S.y]}function r(n){S.k=Math.max(E[0],Math.min(E[1],n))}function u(n,t){t=e(t),S.x+=n[0]-t[0],S.y+=n[1]-t[1]}function i(){_&&_.domain(M.range().map(function(n){return(n-S.x)/S.k}).map(M.invert)),w&&w.domain(b.range().map(function(n){return(n-S.y)/S.k}).map(b.invert))}function o(n){n({type:"zoomstart"})}function a(n){i(),n({type:"zoom",scale:S.k,translate:[S.x,S.y]})}function c(n){n({type:"zoomend"})}function s(){function n(){l=1,u(Bo.mouse(r),h),a(i)}function e(){f.on(C,Qo===r?p:null).on(N,null),g(l&&Bo.event.target===s),c(i)}var r=this,i=T.of(r,arguments),s=Bo.event.target,l=0,f=Bo.select(Qo).on(C,n).on(N,e),h=t(Bo.mouse(r)),g=P();q.call(r),o(i)}function l(){function n(){var n=Bo.touches(p);return g=S.k,n.forEach(function(n){n.identifier in d&&(d[n.identifier]=t(n))}),n}function e(){for(var t=Bo.event.changedTouches,e=0,i=t.length;i>e;++e)d[t[e].identifier]=null;var o=n(),c=Date.now();if(1===o.length){if(500>c-x){var s=o[0],l=d[s.identifier];r(2*S.k),u(s,l),f(),a(v)}x=c}else if(o.length>1){var s=o[0],h=o[1],g=s[0]-h[0],p=s[1]-h[1];m=g*g+p*p}}function i(){for(var n,t,e,i,o=Bo.touches(p),c=0,s=o.length;s>c;++c,i=null)if(e=o[c],i=d[e.identifier]){if(t)break;n=e,t=i}if(i){var l=(l=e[0]-n[0])*l+(l=e[1]-n[1])*l,f=m&&Math.sqrt(l/m);n=[(n[0]+e[0])/2,(n[1]+e[1])/2],t=[(t[0]+i[0])/2,(t[1]+i[1])/2],r(f*g)}x=null,u(n,t),a(v)}function h(){if(Bo.event.touches.length){for(var t=Bo.event.changedTouches,e=0,r=t.length;r>e;++e)delete d[t[e].identifier];for(var u in d)return void n()}b.on(M,null).on(_,null),w.on(A,s).on(L,l),k(),c(v)}var g,p=this,v=T.of(p,arguments),d={},m=0,y=Bo.event.changedTouches[0].identifier,M="touchmove.zoom-"+y,_="touchend.zoom-"+y,b=Bo.select(Qo).on(M,i).on(_,h),w=Bo.select(p).on(A,null).on(L,e),k=P();q.call(p),e(),o(v)}function h(){var n=T.of(this,arguments);y?clearTimeout(y):(q.call(this),o(n)),y=setTimeout(function(){y=null,c(n)},50),f();var e=m||Bo.mouse(this);d||(d=t(e)),r(Math.pow(2,.002*Pa())*S.k),u(e,d),a(n)}function p(){d=null}function v(){var n=T.of(this,arguments),e=Bo.mouse(this),i=t(e),s=Math.log(S.k)/Math.LN2;o(n),r(Math.pow(2,Bo.event.shiftKey?Math.ceil(s)-1:Math.floor(s)+1)),u(e,i),a(n),c(n)}var d,m,y,x,M,_,b,w,S={x:0,y:0,k:1},k=[960,500],E=Ua,A="mousedown.zoom",C="mousemove.zoom",N="mouseup.zoom",L="touchstart.zoom",T=g(n,"zoomstart","zoom","zoomend");return n.event=function(n){n.each(function(){var n=T.of(this,arguments),t=S;ks?Bo.select(this).transition().each("start.zoom",function(){S=this.__chart__||{x:0,y:0,k:1},o(n)}).tween("zoom:zoom",function(){var e=k[0],r=k[1],u=e/2,i=r/2,o=Bo.interpolateZoom([(u-S.x)/S.k,(i-S.y)/S.k,e/S.k],[(u-t.x)/t.k,(i-t.y)/t.k,e/t.k]);return function(t){var r=o(t),c=e/r[2];this.__chart__=S={x:u-r[0]*c,y:i-r[1]*c,k:c},a(n)}}).each("end.zoom",function(){c(n)}):(this.__chart__=S,o(n),a(n),c(n))})},n.translate=function(t){return arguments.length?(S={x:+t[0],y:+t[1],k:S.k},i(),n):[S.x,S.y]},n.scale=function(t){return arguments.length?(S={x:S.x,y:S.y,k:+t},i(),n):S.k},n.scaleExtent=function(t){return arguments.length?(E=null==t?Ua:[+t[0],+t[1]],n):E},n.center=function(t){return arguments.length?(m=t&&[+t[0],+t[1]],n):m},n.size=function(t){return arguments.length?(k=t&&[+t[0],+t[1]],n):k},n.x=function(t){return arguments.length?(_=t,M=t.copy(),S={x:0,y:0,k:1},n):_},n.y=function(t){return arguments.length?(w=t,b=t.copy(),S={x:0,y:0,k:1},n):w},Bo.rebind(n,T,"on")};var Pa,Ua=[0,1/0],ja="onwheel"in Go?(Pa=function(){return-Bo.event.deltaY*(Bo.event.deltaMode?120:1)},"wheel"):"onmousewheel"in Go?(Pa=function(){return Bo.event.wheelDelta},"mousewheel"):(Pa=function(){return-Bo.event.detail},"MozMousePixelScroll");V.prototype.toString=function(){return this.rgb()+""},Bo.hsl=function(n,t,e){return 1===arguments.length?n instanceof $?X(n.h,n.s,n.l):lt(""+n,ft,X):X(+n,+t,+e)};var Ha=$.prototype=new V;Ha.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),X(this.h,this.s,this.l/n)},Ha.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),X(this.h,this.s,n*this.l)},Ha.rgb=function(){return B(this.h,this.s,this.l)},Bo.hcl=function(n,t,e){return 1===arguments.length?n instanceof J?W(n.h,n.c,n.l):n instanceof Q?tt(n.l,n.a,n.b):tt((n=ht((n=Bo.rgb(n)).r,n.g,n.b)).l,n.a,n.b):W(+n,+t,+e)};var Fa=J.prototype=new V;Fa.brighter=function(n){return W(this.h,this.c,Math.min(100,this.l+Oa*(arguments.length?n:1)))},Fa.darker=function(n){return W(this.h,this.c,Math.max(0,this.l-Oa*(arguments.length?n:1)))},Fa.rgb=function(){return G(this.h,this.c,this.l).rgb()},Bo.lab=function(n,t,e){return 1===arguments.length?n instanceof Q?K(n.l,n.a,n.b):n instanceof J?G(n.l,n.c,n.h):ht((n=Bo.rgb(n)).r,n.g,n.b):K(+n,+t,+e)};var Oa=18,Ya=.95047,Ia=1,Za=1.08883,Va=Q.prototype=new V;Va.brighter=function(n){return K(Math.min(100,this.l+Oa*(arguments.length?n:1)),this.a,this.b)},Va.darker=function(n){return K(Math.max(0,this.l-Oa*(arguments.length?n:1)),this.a,this.b)},Va.rgb=function(){return nt(this.l,this.a,this.b)},Bo.rgb=function(n,t,e){return 1===arguments.length?n instanceof ct?at(n.r,n.g,n.b):lt(""+n,at,B):at(~~n,~~t,~~e)};var Xa=ct.prototype=new V;Xa.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,u=30;return t||e||r?(t&&u>t&&(t=u),e&&u>e&&(e=u),r&&u>r&&(r=u),at(Math.min(255,~~(t/n)),Math.min(255,~~(e/n)),Math.min(255,~~(r/n)))):at(u,u,u)},Xa.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),at(~~(n*this.r),~~(n*this.g),~~(n*this.b))},Xa.hsl=function(){return ft(this.r,this.g,this.b)},Xa.toString=function(){return"#"+st(this.r)+st(this.g)+st(this.b)};var $a=Bo.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});$a.forEach(function(n,t){$a.set(n,it(t))}),Bo.functor=vt,Bo.xhr=mt(dt),Bo.dsv=function(n,t){function e(n,e,i){arguments.length<3&&(i=e,e=null);var o=yt(n,t,null==e?r:u(e),i);return o.row=function(n){return arguments.length?o.response(null==(e=n)?r:u(n)):e},o}function r(n){return e.parse(n.responseText)}function u(n){return function(t){return e.parse(t.responseText,n)}}function o(t){return t.map(a).join(n)}function a(n){return c.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}var c=new RegExp('["'+n+"\n]"),s=n.charCodeAt(0);return e.parse=function(n,t){var r;return e.parseRows(n,function(n,e){if(r)return r(n,e-1);var u=new Function("d","return {"+n.map(function(n,t){return JSON.stringify(n)+": d["+t+"]"}).join(",")+"}");r=t?function(n,e){return t(u(n),e)}:u})},e.parseRows=function(n,t){function e(){if(l>=c)return o;if(u)return u=!1,i;var t=l;if(34===n.charCodeAt(t)){for(var e=t;e++<c;)if(34===n.charCodeAt(e)){if(34!==n.charCodeAt(e+1))break;++e}l=e+2;var r=n.charCodeAt(e+1);return 13===r?(u=!0,10===n.charCodeAt(e+2)&&++l):10===r&&(u=!0),n.substring(t+1,e).replace(/""/g,'"')}for(;c>l;){var r=n.charCodeAt(l++),a=1;if(10===r)u=!0;else if(13===r)u=!0,10===n.charCodeAt(l)&&(++l,++a);else if(r!==s)continue;return n.substring(t,l-a)}return n.substring(t)}for(var r,u,i={},o={},a=[],c=n.length,l=0,f=0;(r=e())!==o;){for(var h=[];r!==i&&r!==o;)h.push(r),r=e();(!t||(h=t(h,f++)))&&a.push(h)}return a},e.format=function(t){if(Array.isArray(t[0]))return e.formatRows(t);var r=new i,u=[];return t.forEach(function(n){for(var t in n)r.has(t)||u.push(r.add(t))}),[u.map(a).join(n)].concat(t.map(function(t){return u.map(function(n){return a(t[n])}).join(n)})).join("\n")},e.formatRows=function(n){return n.map(o).join("\n")},e},Bo.csv=Bo.dsv(",","text/csv"),Bo.tsv=Bo.dsv(" ","text/tab-separated-values");var Ba,Wa,Ja,Ga,Ka,Qa=Qo[a(Qo,"requestAnimationFrame")]||function(n){setTimeout(n,17)};Bo.timer=function(n,t,e){var r=arguments.length;2>r&&(t=0),3>r&&(e=Date.now());var u=e+t,i={c:n,t:u,f:!1,n:null};Wa?Wa.n=i:Ba=i,Wa=i,Ja||(Ga=clearTimeout(Ga),Ja=1,Qa(Mt))},Bo.timer.flush=function(){_t(),bt()};var nc=".",tc=",",ec=[3,3],rc="$",uc=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"].map(wt);Bo.formatPrefix=function(n,t){var e=0;return n&&(0>n&&(n*=-1),t&&(n=Bo.round(n,St(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((0>=e?e+1:e-1)/3)))),uc[8+e/3]},Bo.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)},Bo.format=function(n){var t=ic.exec(n),e=t[1]||" ",r=t[2]||">",u=t[3]||"",i=t[4]||"",o=t[5],a=+t[6],c=t[7],s=t[8],l=t[9],f=1,h="",g=!1;switch(s&&(s=+s.substring(1)),(o||"0"===e&&"="===r)&&(o=e="0",r="=",c&&(a-=Math.floor((a-1)/4))),l){case"n":c=!0,l="g";break;case"%":f=100,h="%",l="f";break;case"p":f=100,h="%",l="r";break;case"b":case"o":case"x":case"X":"#"===i&&(i="0"+l.toLowerCase());case"c":case"d":g=!0,s=0;break;case"s":f=-1,l="r"}"#"===i?i="":"$"===i&&(i=rc),"r"!=l||s||(l="g"),null!=s&&("g"==l?s=Math.max(1,Math.min(21,s)):("e"==l||"f"==l)&&(s=Math.max(0,Math.min(20,s)))),l=oc.get(l)||kt;var p=o&&c;return function(n){if(g&&n%1)return"";var t=0>n||0===n&&0>1/n?(n=-n,"-"):u;if(0>f){var v=Bo.formatPrefix(n,s);n=v.scale(n),h=v.symbol}else n*=f;n=l(n,s);var d=n.lastIndexOf("."),m=0>d?n:n.substring(0,d),y=0>d?"":nc+n.substring(d+1);!o&&c&&(m=ac(m));var x=i.length+m.length+y.length+(p?0:t.length),M=a>x?new Array(x=a-x+1).join(e):"";return p&&(m=ac(M+m)),t+=i,n=m+y,("<"===r?t+n+M:">"===r?M+t+n:"^"===r?M.substring(0,x>>=1)+t+n+M.substring(x):t+(p?n:M+n))+h}};var ic=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,oc=Bo.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=Bo.round(n,St(n,t))).toFixed(Math.max(0,Math.min(20,St(n*(1+1e-15),t))))}}),ac=dt;if(ec){var cc=ec.length;ac=function(n){for(var t=n.length,e=[],r=0,u=ec[0];t>0&&u>0;)e.push(n.substring(t-=u,t+u)),u=ec[r=(r+1)%cc];return e.reverse().join(tc)}}Bo.geo={},Et.prototype={s:0,t:0,add:function(n){At(n,this.t,sc),At(sc.s,this.s,this),this.s?this.t+=sc.t:this.s=sc.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var sc=new Et;Bo.geo.stream=function(n,t){n&&lc.hasOwnProperty(n.type)?lc[n.type](n,t):Ct(n,t)};var lc={Feature:function(n,t){Ct(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,u=e.length;++r<u;)Ct(e[r].geometry,t)}},fc={Sphere:function(n,t){t.sphere()},Point:function(n,t){n=n.coordinates,t.point(n[0],n[1],n[2])},MultiPoint:function(n,t){for(var e=n.coordinates,r=-1,u=e.length;++r<u;)n=e[r],t.point(n[0],n[1],n[2])},LineString:function(n,t){Nt(n.coordinates,t,0)},MultiLineString:function(n,t){for(var e=n.coordinates,r=-1,u=e.length;++r<u;)Nt(e[r],t,0)},Polygon:function(n,t){Lt(n.coordinates,t)},MultiPolygon:function(n,t){for(var e=n.coordinates,r=-1,u=e.length;++r<u;)Lt(e[r],t)},GeometryCollection:function(n,t){for(var e=n.geometries,r=-1,u=e.length;++r<u;)Ct(e[r],t)}};Bo.geo.area=function(n){return hc=0,Bo.geo.stream(n,pc),hc};var hc,gc=new Et,pc={sphere:function(){hc+=4*Ea},point:c,lineStart:c,lineEnd:c,polygonStart:function(){gc.reset(),pc.lineStart=Tt},polygonEnd:function(){var n=2*gc;hc+=0>n?4*Ea+n:n,pc.lineStart=pc.lineEnd=pc.point=c}};Bo.geo.bounds=function(){function n(n,t){x.push(M=[l=n,h=n]),f>t&&(f=t),t>g&&(g=t)}function t(t,e){var r=qt([t*Ta,e*Ta]);if(m){var u=Rt(m,r),i=[u[1],-u[0],0],o=Rt(i,u);Ut(o),o=jt(o);var c=t-p,s=c>0?1:-1,v=o[0]*qa*s,d=ca(c)>180;if(d^(v>s*p&&s*t>v)){var y=o[1]*qa;y>g&&(g=y)}else if(v=(v+360)%360-180,d^(v>s*p&&s*t>v)){var y=-o[1]*qa;f>y&&(f=y)}else f>e&&(f=e),e>g&&(g=e);d?p>t?a(l,t)>a(l,h)&&(h=t):a(t,h)>a(l,h)&&(l=t):h>=l?(l>t&&(l=t),t>h&&(h=t)):t>p?a(l,t)>a(l,h)&&(h=t):a(t,h)>a(l,h)&&(l=t)}else n(t,e);m=r,p=t}function e(){_.point=t}function r(){M[0]=l,M[1]=h,_.point=n,m=null}function u(n,e){if(m){var r=n-p;y+=ca(r)>180?r+(r>0?360:-360):r}else v=n,d=e;pc.point(n,e),t(n,e)}function i(){pc.lineStart()}function o(){u(v,d),pc.lineEnd(),ca(y)>Na&&(l=-(h=180)),M[0]=l,M[1]=h,m=null}function a(n,t){return(t-=n)<0?t+360:t}function c(n,t){return n[0]-t[0]}function s(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}var l,f,h,g,p,v,d,m,y,x,M,_={point:n,lineStart:e,lineEnd:r,polygonStart:function(){_.point=u,_.lineStart=i,_.lineEnd=o,y=0,pc.polygonStart()},polygonEnd:function(){pc.polygonEnd(),_.point=n,_.lineStart=e,_.lineEnd=r,0>gc?(l=-(h=180),f=-(g=90)):y>Na?g=90:-Na>y&&(f=-90),M[0]=l,M[1]=h}};return function(n){g=h=-(l=f=1/0),x=[],Bo.geo.stream(n,_);var t=x.length;if(t){x.sort(c);for(var e,r=1,u=x[0],i=[u];t>r;++r)e=x[r],s(e[0],u)||s(e[1],u)?(a(u[0],e[1])>a(u[0],u[1])&&(u[1]=e[1]),a(e[0],u[1])>a(u[0],u[1])&&(u[0]=e[0])):i.push(u=e);for(var o,e,p=-1/0,t=i.length-1,r=0,u=i[t];t>=r;u=e,++r)e=i[r],(o=a(u[1],e[0]))>p&&(p=o,l=e[0],h=u[1])}return x=M=null,1/0===l||1/0===f?[[0/0,0/0],[0/0,0/0]]:[[l,f],[h,g]]}}(),Bo.geo.centroid=function(n){vc=dc=mc=yc=xc=Mc=_c=bc=wc=Sc=kc=0,Bo.geo.stream(n,Ec);var t=wc,e=Sc,r=kc,u=t*t+e*e+r*r;return La>u&&(t=Mc,e=_c,r=bc,Na>dc&&(t=mc,e=yc,r=xc),u=t*t+e*e+r*r,La>u)?[0/0,0/0]:[Math.atan2(e,t)*qa,F(r/Math.sqrt(u))*qa]};var vc,dc,mc,yc,xc,Mc,_c,bc,wc,Sc,kc,Ec={sphere:c,point:Ft,lineStart:Yt,lineEnd:It,polygonStart:function(){Ec.lineStart=Zt},polygonEnd:function(){Ec.lineStart=Yt}},Ac=Wt(Vt,ne,ee,[-Ea,-Ea/2]),Cc=1e9;Bo.geo.clipExtent=function(){var n,t,e,r,u,i,o={stream:function(n){return u&&(u.valid=!1),u=i(n),u.valid=!0,u},extent:function(a){return arguments.length?(i=ie(n=+a[0][0],t=+a[0][1],e=+a[1][0],r=+a[1][1]),u&&(u.valid=!1,u=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(Bo.geo.conicEqualArea=function(){return ae(ce)}).raw=ce,Bo.geo.albers=function(){return Bo.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},Bo.geo.albersUsa=function(){function n(n){var i=n[0],o=n[1];return t=null,e(i,o),t||(r(i,o),t)||u(i,o),t}var t,e,r,u,i=Bo.geo.albers(),o=Bo.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=Bo.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(n,e){t=[n,e]}};return n.invert=function(n){var t=i.scale(),e=i.translate(),r=(n[0]-e[0])/t,u=(n[1]-e[1])/t;return(u>=.12&&.234>u&&r>=-.425&&-.214>r?o:u>=.166&&.234>u&&r>=-.214&&-.115>r?a:i).invert(n)},n.stream=function(n){var t=i.stream(n),e=o.stream(n),r=a.stream(n);return{point:function(n,u){t.point(n,u),e.point(n,u),r.point(n,u)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},n.precision=function(t){return arguments.length?(i.precision(t),o.precision(t),a.precision(t),n):i.precision()},n.scale=function(t){return arguments.length?(i.scale(t),o.scale(.35*t),a.scale(t),n.translate(i.translate())):i.scale()},n.translate=function(t){if(!arguments.length)return i.translate();var s=i.scale(),l=+t[0],f=+t[1];return e=i.translate(t).clipExtent([[l-.455*s,f-.238*s],[l+.455*s,f+.238*s]]).stream(c).point,r=o.translate([l-.307*s,f+.201*s]).clipExtent([[l-.425*s+Na,f+.12*s+Na],[l-.214*s-Na,f+.234*s-Na]]).stream(c).point,u=a.translate([l-.205*s,f+.212*s]).clipExtent([[l-.214*s+Na,f+.166*s+Na],[l-.115*s-Na,f+.234*s-Na]]).stream(c).point,n},n.scale(1070)};var Nc,Lc,Tc,qc,zc,Rc,Dc={point:c,lineStart:c,lineEnd:c,polygonStart:function(){Lc=0,Dc.lineStart=se},polygonEnd:function(){Dc.lineStart=Dc.lineEnd=Dc.point=c,Nc+=ca(Lc/2)}},Pc={point:le,lineStart:c,lineEnd:c,polygonStart:c,polygonEnd:c},Uc={point:ge,lineStart:pe,lineEnd:ve,polygonStart:function(){Uc.lineStart=de},polygonEnd:function(){Uc.point=ge,Uc.lineStart=pe,Uc.lineEnd=ve}};Bo.geo.path=function(){function n(n){return n&&("function"==typeof a&&i.pointRadius(+a.apply(this,arguments)),o&&o.valid||(o=u(i)),Bo.geo.stream(n,o)),i.result()}function t(){return o=null,n}var e,r,u,i,o,a=4.5;return n.area=function(n){return Nc=0,Bo.geo.stream(n,u(Dc)),Nc},n.centroid=function(n){return mc=yc=xc=Mc=_c=bc=wc=Sc=kc=0,Bo.geo.stream(n,u(Uc)),kc?[wc/kc,Sc/kc]:bc?[Mc/bc,_c/bc]:xc?[mc/xc,yc/xc]:[0/0,0/0]},n.bounds=function(n){return zc=Rc=-(Tc=qc=1/0),Bo.geo.stream(n,u(Pc)),[[Tc,qc],[zc,Rc]]},n.projection=function(n){return arguments.length?(u=(e=n)?n.stream||xe(n):dt,t()):e},n.context=function(n){return arguments.length?(i=null==(r=n)?new fe:new me(n),"function"!=typeof a&&i.pointRadius(a),t()):r},n.pointRadius=function(t){return arguments.length?(a="function"==typeof t?t:(i.pointRadius(+t),+t),n):a},n.projection(Bo.geo.albersUsa()).context(null)},Bo.geo.transform=function(n){return{stream:function(t){var e=new Me(t);for(var r in n)e[r]=n[r];return e}}},Me.prototype={point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()+},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},Bo.geo.projection=be,Bo.geo.projectionMutator=we,(Bo.geo.equirectangular=function(){return be(ke)}).raw=ke.invert=ke,Bo.geo.rotation=function(n){function t(t){return t=n(t[0]*Ta,t[1]*Ta),t[0]*=qa,t[1]*=qa,t}return n=Ae(n[0]%360*Ta,n[1]*Ta,n.length>2?n[2]*Ta:0),t.invert=function(t){return t=n.invert(t[0]*Ta,t[1]*Ta),t[0]*=qa,t[1]*=qa,t},t},Ee.invert=ke,Bo.geo.circle=function(){function n(){var n="function"==typeof r?r.apply(this,arguments):r,t=Ae(-n[0]*Ta,-n[1]*Ta,0).invert,u=[];return e(null,null,1,{point:function(n,e){u.push(n=t(n,e)),n[0]*=qa,n[1]*=qa}}),{type:"Polygon",coordinates:[u]}}var t,e,r=[0,0],u=6;return n.origin=function(t){return arguments.length?(r=t,n):r},n.angle=function(r){return arguments.length?(e=Te((t=+r)*Ta,u*Ta),n):t},n.precision=function(r){return arguments.length?(e=Te(t*Ta,(u=+r)*Ta),n):u},n.angle(90)},Bo.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Ta,u=n[1]*Ta,i=t[1]*Ta,o=Math.sin(r),a=Math.cos(r),c=Math.sin(u),s=Math.cos(u),l=Math.sin(i),f=Math.cos(i);return Math.atan2(Math.sqrt((e=f*o)*e+(e=s*l-c*f*a)*e),c*l+s*f*a)},Bo.geo.graticule=function(){function n(){return{type:"MultiLineString",coordinates:t()}}function t(){return Bo.range(Math.ceil(i/d)*d,u,d).map(h).concat(Bo.range(Math.ceil(s/m)*m,c,m).map(g)).concat(Bo.range(Math.ceil(r/p)*p,e,p).filter(function(n){return ca(n%d)>Na}).map(l)).concat(Bo.range(Math.ceil(a/v)*v,o,v).filter(function(n){return ca(n%m)>Na}).map(f))}var e,r,u,i,o,a,c,s,l,f,h,g,p=10,v=p,d=90,m=360,y=2.5;return n.lines=function(){return t().map(function(n){return{type:"LineString",coordinates:n}})},n.outline=function(){return{type:"Polygon",coordinates:[h(i).concat(g(c).slice(1),h(u).reverse().slice(1),g(s).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.majorExtent(t).minorExtent(t):n.minorExtent()},n.majorExtent=function(t){return arguments.length?(i=+t[0][0],u=+t[1][0],s=+t[0][1],c=+t[1][1],i>u&&(t=i,i=u,u=t),s>c&&(t=s,s=c,c=t),n.precision(y)):[[i,s],[u,c]]},n.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],o=+t[1][1],r>e&&(t=r,r=e,e=t),a>o&&(t=a,a=o,o=t),n.precision(y)):[[r,a],[e,o]]},n.step=function(t){return arguments.length?n.majorStep(t).minorStep(t):n.minorStep()},n.majorStep=function(t){return arguments.length?(d=+t[0],m=+t[1],n):[d,m]},n.minorStep=function(t){return arguments.length?(p=+t[0],v=+t[1],n):[p,v]},n.precision=function(t){return arguments.length?(y=+t,l=ze(a,o,90),f=Re(r,e,y),h=ze(s,c,90),g=Re(i,u,y),n):y},n.majorExtent([[-180,-90+Na],[180,90-Na]]).minorExtent([[-180,-80-Na],[180,80+Na]])},Bo.geo.greatArc=function(){function n(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),e||u.apply(this,arguments)]}}var t,e,r=De,u=Pe;return n.distance=function(){return Bo.geo.distance(t||r.apply(this,arguments),e||u.apply(this,arguments))},n.source=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,n):r},n.target=function(t){return arguments.length?(u=t,e="function"==typeof t?null:t,n):u},n.precision=function(){return arguments.length?n:0},n},Bo.geo.interpolate=function(n,t){return Ue(n[0]*Ta,n[1]*Ta,t[0]*Ta,t[1]*Ta)},Bo.geo.length=function(n){return jc=0,Bo.geo.stream(n,Hc),jc};var jc,Hc={sphere:c,point:c,lineStart:je,lineEnd:c,polygonStart:c,polygonEnd:c},Fc=He(function(n){return Math.sqrt(2/(1+n))},function(n){return 2*Math.asin(n/2)});(Bo.geo.azimuthalEqualArea=function(){return be(Fc)}).raw=Fc;var Oc=He(function(n){var t=Math.acos(n);return t&&t/Math.sin(t)},dt);(Bo.geo.azimuthalEquidistant=function(){return be(Oc)}).raw=Oc,(Bo.geo.conicConformal=function(){return ae(Fe)}).raw=Fe,(Bo.geo.conicEquidistant=function(){return ae(Oe)}).raw=Oe;var Yc=He(function(n){return 1/n},Math.atan);(Bo.geo.gnomonic=function(){return be(Yc)}).raw=Yc,Ye.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Ca]},(Bo.geo.mercator=function(){return Ie(Ye)}).raw=Ye;var Ic=He(function(){return 1},Math.asin);(Bo.geo.orthographic=function(){return be(Ic)}).raw=Ic;var Zc=He(function(n){return 1/(1+n)},function(n){return 2*Math.atan(n)});(Bo.geo.stereographic=function(){return be(Zc)}).raw=Zc,Ze.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Ca]},(Bo.geo.transverseMercator=function(){var n=Ie(Ze),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):(n=t(),[-n[1],n[0]])},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):(n=e(),[n[0],n[1],n[2]-90])},n.rotate([0,0])}).raw=Ze,Bo.geom={},Bo.geom.hull=function(n){function t(n){if(n.length<3)return[];var t,u,i,o,a,c,s,l,f,h,g,p,v=vt(e),d=vt(r),m=n.length,y=m-1,x=[],M=[],_=0;if(v===Ve&&r===Xe)t=n;else for(i=0,t=[];m>i;++i)t.push([+v.call(this,u=n[i],i),+d.call(this,u,i)]);for(i=1;m>i;++i)(t[i][1]<t[_][1]||t[i][1]==t[_][1]&&t[i][0]<t[_][0])&&(_=i);for(i=0;m>i;++i)i!==_&&(c=t[i][1]-t[_][1],a=t[i][0]-t[_][0],x.push({angle:Math.atan2(c,a),index:i}));for(x.sort(function(n,t){return n.angle-t.angle}),g=x[0].angle,h=x[0].index,f=0,i=1;y>i;++i){if(o=x[i].index,g==x[i].angle){if(a=t[h][0]-t[_][0],c=t[h][1]-t[_][1],s=t[o][0]-t[_][0],l=t[o][1]-t[_][1],a*a+c*c>=s*s+l*l){x[i].index=-1;continue}x[f].index=-1}g=x[i].angle,f=i,h=o}for(M.push(_),i=0,o=0;2>i;++o)x[o].index>-1&&(M.push(x[o].index),i++);for(p=M.length;y>o;++o)if(!(x[o].index<0)){for(;!$e(M[p-2],M[p-1],x[o].index,t);)--p;M[p++]=x[o].index}var b=[];for(i=p-1;i>=0;--i)b.push(n[M[i]]);return b}var e=Ve,r=Xe;return arguments.length?t(n):(t.x=function(n){return arguments.length?(e=n,t):e},t.y=function(n){return arguments.length?(r=n,t):r},t)},Bo.geom.polygon=function(n){return ga(n,Vc),n};var Vc=Bo.geom.polygon.prototype=[];Vc.area=function(){for(var n,t=-1,e=this.length,r=this[e-1],u=0;++t<e;)n=r,r=this[t],u+=n[1]*r[0]-n[0]*r[1];return.5*u},Vc.centroid=function(n){var t,e,r=-1,u=this.length,i=0,o=0,a=this[u-1];for(arguments.length||(n=-1/(6*this.area()));++r<u;)t=a,a=this[r],e=t[0]*a[1]-a[0]*t[1],i+=(t[0]+a[0])*e,o+=(t[1]+a[1])*e;return[i*n,o*n]},Vc.clip=function(n){for(var t,e,r,u,i,o,a=Je(n),c=-1,s=this.length-Je(this),l=this[s-1];++c<s;){for(t=n.slice(),n.length=0,u=this[c],i=t[(r=t.length-a)-1],e=-1;++e<r;)o=t[e],Be(o,l,u)?(Be(i,l,u)||n.push(We(i,o,l,u)),n.push(o)):Be(i,l,u)&&n.push(We(i,o,l,u)),i=o;a&&n.push(n[0]),l=u}return n};var Xc,$c,Bc,Wc,Jc,Gc=[],Kc=[];ur.prototype.prepare=function(){for(var n,t=this.edges,e=t.length;e--;)n=t[e].edge,n.b&&n.a||t.splice(e,1);return t.sort(or),t.length},dr.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}},mr.prototype={insert:function(n,t){var e,r,u;if(n){if(t.P=n,t.N=n.N,n.N&&(n.N.P=t),n.N=t,n.R){for(n=n.R;n.L;)n=n.L;n.L=t}else n.R=t;e=n}else this._?(n=_r(this._),t.P=null,t.N=n,n.P=n.L=t,e=n):(t.P=t.N=null,this._=t,e=null);for(t.L=t.R=null,t.U=e,t.C=!0,n=t;e&&e.C;)r=e.U,e===r.L?(u=r.R,u&&u.C?(e.C=u.C=!1,r.C=!0,n=r):(n===e.R&&(xr(this,e),n=e,e=n.U),e.C=!1,r.C=!0,Mr(this,r))):(u=r.L,u&&u.C?(e.C=u.C=!1,r.C=!0,n=r):(n===e.L&&(Mr(this,e),n=e,e=n.U),e.C=!1,r.C=!0,xr(this,r))),e=n.U;this._.C=!1},remove:function(n){n.N&&(n.N.P=n.P),n.P&&(n.P.N=n.N),n.N=n.P=null;var t,e,r,u=n.U,i=n.L,o=n.R;if(e=i?o?_r(o):i:o,u?u.L===n?u.L=e:u.R=e:this._=e,i&&o?(r=e.C,e.C=n.C,e.L=i,i.U=e,e!==o?(u=e.U,e.U=n.U,n=e.R,u.L=n,e.R=o,o.U=e):(e.U=u,u=e,n=e.R)):(r=n.C,n=e),n&&(n.U=u),!r){if(n&&n.C)return n.C=!1,void 0;do{if(n===this._)break;if(n===u.L){if(t=u.R,t.C&&(t.C=!1,u.C=!0,xr(this,u),t=u.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,Mr(this,t),t=u.R),t.C=u.C,u.C=t.R.C=!1,xr(this,u),n=this._;break}}else if(t=u.L,t.C&&(t.C=!1,u.C=!0,Mr(this,u),t=u.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,xr(this,t),t=u.L),t.C=u.C,u.C=t.L.C=!1,Mr(this,u),n=this._;break}t.C=!0,n=u,u=u.U}while(!n.C);n&&(n.C=!1)}}},Bo.geom.voronoi=function(n){function t(n){var t=new Array(n.length),r=a[0][0],u=a[0][1],i=a[1][0],o=a[1][1];return br(e(n),a).cells.forEach(function(e,a){var c=e.edges,s=e.site,l=t[a]=c.length?c.map(function(n){var t=n.start();return[t.x,t.y]}):s.x>=r&&s.x<=i&&s.y>=u&&s.y<=o?[[r,o],[i,o],[i,u],[r,u]]:[];l.point=n[a]}),t}function e(n){return n.map(function(n,t){return{x:Math.round(i(n,t)/Na)*Na,y:Math.round(o(n,t)/Na)*Na,i:t}})}var r=Ve,u=Xe,i=r,o=u,a=Qc;return n?t(n):(t.links=function(n){return br(e(n)).edges.filter(function(n){return n.l&&n.r}).map(function(t){return{source:n[t.l.i],target:n[t.r.i]}})},t.triangles=function(n){var t=[];return br(e(n)).cells.forEach(function(e,r){for(var u,i,o=e.site,a=e.edges.sort(or),c=-1,s=a.length,l=a[s-1].edge,f=l.l===o?l.r:l.l;++c<s;)u=l,i=f,l=a[c].edge,f=l.l===o?l.r:l.l,r<i.i&&r<f.i&&Sr(o,i,f)<0&&t.push([n[r],n[i.i],n[f.i]])}),t},t.x=function(n){return arguments.length?(i=vt(r=n),t):r},t.y=function(n){return arguments.length?(o=vt(u=n),t):u},t.clipExtent=function(n){return arguments.length?(a=null==n?Qc:n,t):a===Qc?null:a},t.size=function(n){return arguments.length?t.clipExtent(n&&[[0,0],n]):a===Qc?null:a&&a[1]},t)};var Qc=[[-1e6,-1e6],[1e6,1e6]];Bo.geom.delaunay=function(n){return Bo.geom.voronoi().triangles(n)},Bo.geom.quadtree=function(n,t,e,r,u){function i(n){function i(n,t,e,r,u,i,o,a){if(!isNaN(e)&&!isNaN(r))if(n.leaf){var c=n.x,l=n.y;if(null!=c)if(ca(c-e)+ca(l-r)<.01)s(n,t,e,r,u,i,o,a);else{var f=n.point;n.x=n.y=n.point=null,s(n,f,c,l,u,i,o,a),s(n,t,e,r,u,i,o,a)}else n.x=e,n.y=r,n.point=t}else s(n,t,e,r,u,i,o,a)}function s(n,t,e,r,u,o,a,c){var s=.5*(u+a),l=.5*(o+c),f=e>=s,h=r>=l,g=(h<<1)+f;n.leaf=!1,n=n.nodes[g]||(n.nodes[g]=Ar()),f?u=s:a=s,h?o=l:c=l,i(n,t,e,r,u,o,a,c)}var l,f,h,g,p,v,d,m,y,x=vt(a),M=vt(c);if(null!=t)v=t,d=e,m=r,y=u;else if(m=y=-(v=d=1/0),f=[],h=[],p=n.length,o)for(g=0;p>g;++g)l=n[g],l.x<v&&(v=l.x),l.y<d&&(d=l.y),l.x>m&&(m=l.x),l.y>y&&(y=l.y),f.push(l.x),h.push(l.y);else for(g=0;p>g;++g){var _=+x(l=n[g],g),b=+M(l,g);v>_&&(v=_),d>b&&(d=b),_>m&&(m=_),b>y&&(y=b),f.push(_),h.push(b)}var w=m-v,S=y-d;w>S?y=d+w:m=v+S;var k=Ar();if(k.add=function(n){i(k,n,+x(n,++g),+M(n,g),v,d,m,y)},k.visit=function(n){Cr(n,k,v,d,m,y)},g=-1,null==t){for(;++g<p;)i(k,n[g],f[g],h[g],v,d,m,y);--g}else n.forEach(k.add);return f=h=n=l=null,k}var o,a=Ve,c=Xe;return(o=arguments.length)?(a=kr,c=Er,3===o&&(u=e,r=t,e=t=0),i(n)):(i.x=function(n){return arguments.length?(a=n,i):a},i.y=function(n){return arguments.length?(c=n,i):c},i.extent=function(n){return arguments.length?(null==n?t=e=r=u=null:(t=+n[0][0],e=+n[0][1],r=+n[1][0],u=+n[1][1]),i):null==t?null:[[t,e],[r,u]]},i.size=function(n){return arguments.length?(null==n?t=e=r=u=null:(t=e=0,r=+n[0],u=+n[1]),i):null==t?null:[r-t,u-e]},i)},Bo.interpolateRgb=Nr,Bo.interpolateObject=Lr,Bo.interpolateNumber=Tr,Bo.interpolateString=qr;var ns=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g;Bo.interpolate=zr,Bo.interpolators=[function(n,t){var e=typeof t;return("string"===e?$a.has(t)||/^(#|rgb\(|hsl\()/.test(t)?Nr:qr:t instanceof V?Nr:"object"===e?Array.isArray(t)?Rr:Lr:Tr)(n,t)}],Bo.interpolateArray=Rr;var ts=function(){return dt},es=Bo.map({linear:ts,poly:Or,quad:function(){return jr},cubic:function(){return Hr},sin:function(){return Yr},exp:function(){return Ir},circle:function(){return Zr},elastic:Vr,back:Xr,bounce:function(){return $r}}),rs=Bo.map({"in":dt,out:Pr,"in-out":Ur,"out-in":function(n){return Ur(Pr(n))}});Bo.ease=function(n){var t=n.indexOf("-"),e=t>=0?n.substring(0,t):n,r=t>=0?n.substring(t+1):"in";return e=es.get(e)||ts,r=rs.get(r)||dt,Dr(r(e.apply(null,Wo.call(arguments,1))))},Bo.interpolateHcl=Br,Bo.interpolateHsl=Wr,Bo.interpolateLab=Jr,Bo.interpolateRound=Gr,Bo.transform=function(n){var t=Go.createElementNS(Bo.ns.prefix.svg,"g");return(Bo.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new Kr(e?e.matrix:us)})(n)},Kr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var us={a:1,b:0,c:0,d:1,e:0,f:0};Bo.interpolateTransform=eu,Bo.layout={},Bo.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++e<r;)t.push(iu(n[e]));return t}},Bo.layout.chord=function(){function n(){var n,s,f,h,g,p={},v=[],d=Bo.range(i),m=[];for(e=[],r=[],n=0,h=-1;++h<i;){for(s=0,g=-1;++g<i;)s+=u[h][g];v.push(s),m.push(Bo.range(i)),n+=s}for(o&&d.sort(function(n,t){return o(v[n],v[t])}),a&&m.forEach(function(n,t){n.sort(function(n,e){return a(u[t][n],u[t][e])})}),n=(Aa-l*i)/n,s=0,h=-1;++h<i;){for(f=s,g=-1;++g<i;){var y=d[h],x=m[y][g],M=u[y][x],_=s,b=s+=M*n;p[y+"-"+x]={index:y,subindex:x,startAngle:_,endAngle:b,value:M}}r[y]={index:y,startAngle:f,endAngle:s,value:(s-f)/n},s+=l}for(h=-1;++h<i;)for(g=h-1;++g<i;){var w=p[h+"-"+g],S=p[g+"-"+h];(w.value||S.value)&&e.push(w.value<S.value?{source:S,target:w}:{source:w,target:S})}c&&t()}function t(){e.sort(function(n,t){return c((n.source.value+n.target.value)/2,(t.source.value+t.target.value)/2)})}var e,r,u,i,o,a,c,s={},l=0;return s.matrix=function(n){return arguments.length?(i=(u=n)&&u.length,e=r=null,s):u},s.padding=function(n){return arguments.length?(l=n,e=r=null,s):l},s.sortGroups=function(n){return arguments.length?(o=n,e=r=null,s):o},s.sortSubgroups=function(n){return arguments.length?(a=n,e=null,s):a},s.sortChords=function(n){return arguments.length?(c=n,e&&t(),s):c},s.chords=function(){return e||n(),e},s.groups=function(){return r||n(),r},s},Bo.layout.force=function(){function n(n){return function(t,e,r,u){if(t.point!==n){var i=t.cx-n.x,o=t.cy-n.y,a=1/Math.sqrt(i*i+o*o);if(v>(u-e)*a){var c=t.charge*a*a;return n.px-=i*c,n.py-=o*c,!0}if(t.point&&isFinite(a)){var c=t.pointCharge*a*a;n.px-=i*c,n.py-=o*c}}return!t.charge}}function t(n){n.px=Bo.event.x,n.py=Bo.event.y,a.resume()}var e,r,u,i,o,a={},c=Bo.dispatch("start","tick","end"),s=[1,1],l=.9,f=is,h=os,g=-30,p=.1,v=.8,d=[],m=[];return a.tick=function(){if((r*=.99)<.005)return c.end({type:"end",alpha:r=0}),!0;var t,e,a,f,h,v,y,x,M,_=d.length,b=m.length;for(e=0;b>e;++e)a=m[e],f=a.source,h=a.target,x=h.x-f.x,M=h.y-f.y,(v=x*x+M*M)&&(v=r*i[e]*((v=Math.sqrt(v))-u[e])/v,x*=v,M*=v,h.x-=x*(y=f.weight/(h.weight+f.weight)),h.y-=M*y,f.x+=x*(y=1-y),f.y+=M*y);if((y=r*p)&&(x=s[0]/2,M=s[1]/2,e=-1,y))for(;++e<_;)a=d[e],a.x+=(x-a.x)*y,a.y+=(M-a.y)*y;if(g)for(hu(t=Bo.geom.quadtree(d),r,o),e=-1;++e<_;)(a=d[e]).fixed||t.visit(n(a));for(e=-1;++e<_;)a=d[e],a.fixed?(a.x=a.px,a.y=a.py):(a.x-=(a.px-(a.px=a.x))*l,a.y-=(a.py-(a.py=a.y))*l);c.tick({type:"tick",alpha:r})},a.nodes=function(n){return arguments.length?(d=n,a):d},a.links=function(n){return arguments.length?(m=n,a):m},a.size=function(n){return arguments.length?(s=n,a):s},a.linkDistance=function(n){return arguments.length?(f="function"==typeof n?n:+n,a):f},a.distance=a.linkDistance,a.linkStrength=function(n){return arguments.length?(h="function"==typeof n?n:+n,a):h},a.friction=function(n){return arguments.length?(l=+n,a):l},a.charge=function(n){return arguments.length?(g="function"==typeof n?n:+n,a):g},a.gravity=function(n){return arguments.length?(p=+n,a):p},a.theta=function(n){return arguments.length?(v=+n,a):v},a.alpha=function(n){return arguments.length?(n=+n,r?r=n>0?n:0:n>0&&(c.start({type:"start",alpha:r=n}),Bo.timer(a.tick)),a):r},a.start=function(){function n(n,r){if(!e){for(e=new Array(c),a=0;c>a;++a)e[a]=[];for(a=0;s>a;++a){var u=m[a];e[u.source.index].push(u.target),e[u.target.index].push(u.source)}}for(var i,o=e[t],a=-1,s=o.length;++a<s;)if(!isNaN(i=o[a][n]))return i;return Math.random()*r}var t,e,r,c=d.length,l=m.length,p=s[0],v=s[1];for(t=0;c>t;++t)(r=d[t]).index=t,r.weight=0;for(t=0;l>t;++t)r=m[t],"number"==typeof r.source&&(r.source=d[r.source]),"number"==typeof r.target&&(r.target=d[r.target]),++r.source.weight,++r.target.weight;for(t=0;c>t;++t)r=d[t],isNaN(r.x)&&(r.x=n("x",p)),isNaN(r.y)&&(r.y=n("y",v)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(u=[],"function"==typeof f)for(t=0;l>t;++t)u[t]=+f.call(this,m[t],t);else for(t=0;l>t;++t)u[t]=f;if(i=[],"function"==typeof h)for(t=0;l>t;++t)i[t]=+h.call(this,m[t],t);else for(t=0;l>t;++t)i[t]=h;if(o=[],"function"==typeof g)for(t=0;c>t;++t)o[t]=+g.call(this,d[t],t);else for(t=0;c>t;++t)o[t]=g;return a.resume()},a.resume=function(){return a.alpha(.1)},a.stop=function(){return a.alpha(0)},a.drag=function(){return e||(e=Bo.behavior.drag().origin(dt).on("dragstart.force",cu).on("drag.force",t).on("dragend.force",su)),arguments.length?(this.on("mouseover.force",lu).on("mouseout.force",fu).call(e),void 0):e},Bo.rebind(a,c,"on")};var is=20,os=1;Bo.layout.hierarchy=function(){function n(t,o,a){var c=u.call(e,t,o);if(t.depth=o,a.push(t),c&&(s=c.length)){for(var s,l,f=-1,h=t.children=new Array(s),g=0,p=o+1;++f<s;)l=h[f]=n(c[f],p,a),l.parent=t,g+=l.value;r&&h.sort(r),i&&(t.value=g)}else delete t.children,i&&(t.value=+i.call(e,t,o)||0);return t}function t(n,r){var u=n.children,o=0;if(u&&(a=u.length))for(var a,c=-1,s=r+1;++c<a;)o+=t(u[c],s);else i&&(o=+i.call(e,n,r)||0);return i&&(n.value=o),o}function e(t){var e=[];return n(t,0,e),e}var r=du,u=pu,i=vu;return e.sort=function(n){return arguments.length?(r=n,e):r},e.children=function(n){return arguments.length?(u=n,e):u},e.value=function(n){return arguments.length?(i=n,e):i},e.revalue=function(n){return t(n,0),n},e},Bo.layout.partition=function(){function n(t,e,r,u){var i=t.children;if(t.x=e,t.y=t.depth*u,t.dx=r,t.dy=u,i&&(o=i.length)){var o,a,c,s=-1;for(r=t.value?r/t.value:0;++s<o;)n(a=i[s],e,c=a.value*r,u),e+=c}}function t(n){var e=n.children,r=0;if(e&&(u=e.length))for(var u,i=-1;++i<u;)r=Math.max(r,t(e[i]));return 1+r}function e(e,i){var o=r.call(this,e,i);return n(o[0],0,u[0],u[1]/t(o[0])),o}var r=Bo.layout.hierarchy(),u=[1,1];return e.size=function(n){return arguments.length?(u=n,e):u},gu(e,r)},Bo.layout.pie=function(){function n(i){var o=i.map(function(e,r){return+t.call(n,e,r)}),a=+("function"==typeof r?r.apply(this,arguments):r),c=(("function"==typeof u?u.apply(this,arguments):u)-a)/Bo.sum(o),s=Bo.range(i.length);null!=e&&s.sort(e===as?function(n,t){return o[t]-o[n]}:function(n,t){return e(i[n],i[t])});var l=[];return s.forEach(function(n){var t;l[n]={data:i[n],value:t=o[n],startAngle:a,endAngle:a+=t*c}}),l}var t=Number,e=as,r=0,u=Aa;return n.value=function(e){return arguments.length?(t=e,n):t},n.sort=function(t){return arguments.length?(e=t,n):e},n.startAngle=function(t){return arguments.length?(r=t,n):r},n.endAngle=function(t){return arguments.length?(u=t,n):u},n};var as={};Bo.layout.stack=function(){function n(a,c){var s=a.map(function(e,r){return t.call(n,e,r)}),l=s.map(function(t){return t.map(function(t,e){return[i.call(n,t,e),o.call(n,t,e)]})}),f=e.call(n,l,c);s=Bo.permute(s,f),l=Bo.permute(l,f);var h,g,p,v=r.call(n,l,c),d=s.length,m=s[0].length;for(g=0;m>g;++g)for(u.call(n,s[0][g],p=v[g],l[0][g][1]),h=1;d>h;++h)u.call(n,s[h][g],p+=l[h-1][g][1],l[h][g][1]);return a}var t=dt,e=_u,r=bu,u=Mu,i=yu,o=xu;return n.values=function(e){return arguments.length?(t=e,n):t},n.order=function(t){return arguments.length?(e="function"==typeof t?t:cs.get(t)||_u,n):e},n.offset=function(t){return arguments.length?(r="function"==typeof t?t:ss.get(t)||bu,n):r},n.x=function(t){return arguments.length?(i=t,n):i},n.y=function(t){return arguments.length?(o=t,n):o},n.out=function(t){return arguments.length?(u=t,n):u},n};var cs=Bo.map({"inside-out":function(n){var t,e,r=n.length,u=n.map(wu),i=n.map(Su),o=Bo.range(r).sort(function(n,t){return u[n]-u[t]}),a=0,c=0,s=[],l=[];for(t=0;r>t;++t)e=o[t],c>a?(a+=i[e],s.push(e)):(c+=i[e],l.push(e));return l.reverse().concat(s)},reverse:function(n){return Bo.range(n.length).reverse()},"default":_u}),ss=Bo.map({silhouette:function(n){var t,e,r,u=n.length,i=n[0].length,o=[],a=0,c=[];for(e=0;i>e;++e){for(t=0,r=0;u>t;t++)r+=n[t][e][1];r>a&&(a=r),o.push(r)}for(e=0;i>e;++e)c[e]=(a-o[e])/2;return c},wiggle:function(n){var t,e,r,u,i,o,a,c,s,l=n.length,f=n[0],h=f.length,g=[];for(g[0]=c=s=0,e=1;h>e;++e){for(t=0,u=0;l>t;++t)u+=n[t][e][1];for(t=0,i=0,a=f[e][0]-f[e-1][0];l>t;++t){for(r=0,o=(n[t][e][1]-n[t][e-1][1])/(2*a);t>r;++r)o+=(n[r][e][1]-n[r][e-1][1])/a;i+=o*n[t][e][1]}g[e]=c-=u?i/u*a:0,s>c&&(s=c)}for(e=0;h>e;++e)g[e]-=s;return g},expand:function(n){var t,e,r,u=n.length,i=n[0].length,o=1/u,a=[];for(e=0;i>e;++e){for(t=0,r=0;u>t;t++)r+=n[t][e][1];if(r)for(t=0;u>t;t++)n[t][e][1]/=r;else for(t=0;u>t;t++)n[t][e][1]=o}for(e=0;i>e;++e)a[e]=0;return a},zero:bu});Bo.layout.histogram=function(){function n(n,i){for(var o,a,c=[],s=n.map(e,this),l=r.call(this,s,i),f=u.call(this,l,s,i),i=-1,h=s.length,g=f.length-1,p=t?1:1/h;++i<g;)o=c[i]=[],o.dx=f[i+1]-(o.x=f[i]),o.y=0;if(g>0)for(i=-1;++i<h;)a=s[i],a>=l[0]&&a<=l[1]&&(o=c[Bo.bisect(f,a,1,g)-1],o.y+=p,o.push(n[i]));return c}var t=!0,e=Number,r=Cu,u=Eu;return n.value=function(t){return arguments.length?(e=t,n):e},n.range=function(t){return arguments.length?(r=vt(t),n):r},n.bins=function(t){return arguments.length?(u="number"==typeof t?function(n){return Au(n,t)}:vt(t),n):u},n.frequency=function(e){return arguments.length?(t=!!e,n):t},n},Bo.layout.tree=function(){function n(n,i){function o(n,t){var r=n.children,u=n._tree;if(r&&(i=r.length)){for(var i,a,s,l=r[0],f=l,h=-1;++h<i;)s=r[h],o(s,a),f=c(s,a,f),a=s;Uu(n);var g=.5*(l._tree.prelim+s._tree.prelim);t?(u.prelim=t._tree.prelim+e(n,t),u.mod=u.prelim-g):u.prelim=g}else t&&(u.prelim=t._tree.prelim+e(n,t))}function a(n,t){n.x=n._tree.prelim+t;var e=n.children;if(e&&(r=e.length)){var r,u=-1;for(t+=n._tree.mod;++u<r;)a(e[u],t)}}function c(n,t,r){if(t){for(var u,i=n,o=n,a=t,c=n.parent.children[0],s=i._tree.mod,l=o._tree.mod,f=a._tree.mod,h=c._tree.mod;a=Tu(a),i=Lu(i),a&&i;)c=Lu(c),o=Tu(o),o._tree.ancestor=n,u=a._tree.prelim+f-i._tree.prelim-s+e(a,i),u>0&&(ju(Hu(a,n,r),n,u),s+=u,l+=u),f+=a._tree.mod,s+=i._tree.mod,h+=c._tree.mod,l+=o._tree.mod;a&&!Tu(o)&&(o._tree.thread=a,o._tree.mod+=f-l),i&&!Lu(c)&&(c._tree.thread=i,c._tree.mod+=s-h,r=n)}return r}var s=t.call(this,n,i),l=s[0];Pu(l,function(n,t){n._tree={ancestor:n,prelim:0,mod:0,change:0,shift:0,number:t?t._tree.number+1:0}}),o(l),a(l,-l._tree.prelim);var f=qu(l,Ru),h=qu(l,zu),g=qu(l,Du),p=f.x-e(f,h)/2,v=h.x+e(h,f)/2,d=g.depth||1;return Pu(l,u?function(n){n.x*=r[0],n.y=n.depth*r[1],delete n._tree}:function(n){n.x=(n.x-p)/(v-p)*r[0],n.y=n.depth/d*r[1],delete n._tree}),s}var t=Bo.layout.hierarchy().sort(null).value(null),e=Nu,r=[1,1],u=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(u=null==(r=t),n):u?null:r},n.nodeSize=function(t){return arguments.length?(u=null!=(r=t),n):u?r:null},gu(n,t)},Bo.layout.pack=function(){function n(n,i){var o=e.call(this,n,i),a=o[0],c=u[0],s=u[1],l=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(a.x=a.y=0,Pu(a,function(n){n.r=+l(n.value)}),Pu(a,Zu),r){var f=r*(t?1:Math.max(2*a.r/c,2*a.r/s))/2;Pu(a,function(n){n.r+=f}),Pu(a,Zu),Pu(a,function(n){n.r-=f})}return $u(a,c/2,s/2,t?1:1/Math.max(2*a.r/c,2*a.r/s)),o}var t,e=Bo.layout.hierarchy().sort(Fu),r=0,u=[1,1];return n.size=function(t){return arguments.length?(u=t,n):u},n.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,n):t},n.padding=function(t){return arguments.length?(r=+t,n):r},gu(n,e)},Bo.layout.cluster=function(){function n(n,i){var o,a=t.call(this,n,i),c=a[0],s=0;Pu(c,function(n){var t=n.children;t&&t.length?(n.x=Ju(t),n.y=Wu(t)):(n.x=o?s+=e(n,o):0,n.y=0,o=n)});var l=Gu(c),f=Ku(c),h=l.x-e(l,f)/2,g=f.x+e(f,l)/2;return Pu(c,u?function(n){n.x=(n.x-c.x)*r[0],n.y=(c.y-n.y)*r[1]}:function(n){n.x=(n.x-h)/(g-h)*r[0],n.y=(1-(c.y?n.y/c.y:1))*r[1]}),a}var t=Bo.layout.hierarchy().sort(null).value(null),e=Nu,r=[1,1],u=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(u=null==(r=t),n):u?null:r},n.nodeSize=function(t){return arguments.length?(u=null!=(r=t),n):u?r:null},gu(n,t)},Bo.layout.treemap=function(){function n(n,t){for(var e,r,u=-1,i=n.length;++u<i;)r=(e=n[u]).value*(0>t?0:t),e.area=isNaN(r)||0>=r?0:r}function t(e){var i=e.children;if(i&&i.length){var o,a,c,s=f(e),l=[],h=i.slice(),p=1/0,v="slice"===g?s.dx:"dice"===g?s.dy:"slice-dice"===g?1&e.depth?s.dy:s.dx:Math.min(s.dx,s.dy);for(n(h,s.dx*s.dy/e.value),l.area=0;(c=h.length)>0;)l.push(o=h[c-1]),l.area+=o.area,"squarify"!==g||(a=r(l,v))<=p?(h.pop(),p=a):(l.area-=l.pop().area,u(l,v,s,!1),v=Math.min(s.dx,s.dy),l.length=l.area=0,p=1/0);l.length&&(u(l,v,s,!0),l.length=l.area=0),i.forEach(t)}}function e(t){var r=t.children;if(r&&r.length){var i,o=f(t),a=r.slice(),c=[];for(n(a,o.dx*o.dy/t.value),c.area=0;i=a.pop();)c.push(i),c.area+=i.area,null!=i.z&&(u(c,i.z?o.dx:o.dy,o,!a.length),c.length=c.area=0);r.forEach(e)}}function r(n,t){for(var e,r=n.area,u=0,i=1/0,o=-1,a=n.length;++o<a;)(e=n[o].area)&&(i>e&&(i=e),e>u&&(u=e));return r*=r,t*=t,r?Math.max(t*u*p/r,r/(t*i*p)):1/0}function u(n,t,e,r){var u,i=-1,o=n.length,a=e.x,s=e.y,l=t?c(n.area/t):0;if(t==e.dx){for((r||l>e.dy)&&(l=e.dy);++i<o;)u=n[i],u.x=a,u.y=s,u.dy=l,a+=u.dx=Math.min(e.x+e.dx-a,l?c(u.area/l):0);u.z=!0,u.dx+=e.x+e.dx-a,e.y+=l,e.dy-=l}else{for((r||l>e.dx)&&(l=e.dx);++i<o;)u=n[i],u.x=a,u.y=s,u.dx=l,s+=u.dy=Math.min(e.y+e.dy-s,l?c(u.area/l):0);u.z=!1,u.dy+=e.y+e.dy-s,e.x+=l,e.dx-=l}}function i(r){var u=o||a(r),i=u[0];return i.x=0,i.y=0,i.dx=s[0],i.dy=s[1],o&&a.revalue(i),n([i],i.dx*i.dy/i.value),(o?e:t)(i),h&&(o=u),u}var o,a=Bo.layout.hierarchy(),c=Math.round,s=[1,1],l=null,f=Qu,h=!1,g="squarify",p=.5*(1+Math.sqrt(5));return i.size=function(n){return arguments.length?(s=n,i):s},i.padding=function(n){function t(t){var e=n.call(i,t,t.depth);return null==e?Qu(t):ni(t,"number"==typeof e?[e,e,e,e]:e)}function e(t){return ni(t,n)}if(!arguments.length)return l;var r;return f=null==(l=n)?Qu:"function"==(r=typeof n)?t:"number"===r?(n=[n,n,n,n],e):e,i},i.round=function(n){return arguments.length?(c=n?Math.round:Number,i):c!=Number},i.sticky=function(n){return arguments.length?(h=n,o=null,i):h},i.ratio=function(n){return arguments.length?(p=n,i):p},i.mode=function(n){return arguments.length?(g=n+"",i):g},gu(i,a)},Bo.random={normal:function(n,t){var e=arguments.length;return 2>e&&(t=1),1>e&&(n=0),function(){var e,r,u;do e=2*Math.random()-1,r=2*Math.random()-1,u=e*e+r*r;while(!u||u>1);return n+t*e*Math.sqrt(-2*Math.log(u)/u)}},logNormal:function(){var n=Bo.random.normal.apply(Bo,arguments);return function(){return Math.exp(n())}},bates:function(n){var t=Bo.random.irwinHall(n);return function(){return t()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;n>e;e++)t+=Math.random();return t}}},Bo.scale={};var ls={floor:dt,ceil:dt};Bo.scale.linear=function(){return ai([0,1],[0,1],zr,!1)};var fs={s:1,g:1,p:1,r:1,e:1};Bo.scale.log=function(){return vi(Bo.scale.linear().domain([0,1]),10,!0,[1,10])};var hs=Bo.format(".0e"),gs={floor:function(n){return-Math.ceil(-n)},ceil:function(n){return-Math.floor(-n)}};Bo.scale.pow=function(){return di(Bo.scale.linear(),1,[0,1])},Bo.scale.sqrt=function(){return Bo.scale.pow().exponent(.5)},Bo.scale.ordinal=function(){return yi([],{t:"range",a:[[]]})},Bo.scale.category10=function(){return Bo.scale.ordinal().range(ps)},Bo.scale.category20=function(){return Bo.scale.ordinal().range(vs)},Bo.scale.category20b=function(){return Bo.scale.ordinal().range(ds)},Bo.scale.category20c=function(){return Bo.scale.ordinal().range(ms)};var ps=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(ot),vs=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(ot),ds=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(ot),ms=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(ot);Bo.scale.quantile=function(){return xi([],[])},Bo.scale.quantize=function(){return Mi(0,1,[0,1])},Bo.scale.threshold=function(){return _i([.5],[0,1])},Bo.scale.identity=function(){return bi([0,1])},Bo.svg={},Bo.svg.arc=function(){function n(){var n=t.apply(this,arguments),i=e.apply(this,arguments),o=r.apply(this,arguments)+ys,a=u.apply(this,arguments)+ys,c=(o>a&&(c=o,o=a,a=c),a-o),s=Ea>c?"0":"1",l=Math.cos(o),f=Math.sin(o),h=Math.cos(a),g=Math.sin(a);return c>=xs?n?"M0,"+i+"A"+i+","+i+" 0 1,1 0,"+-i+"A"+i+","+i+" 0 1,1 0,"+i+"M0,"+n+"A"+n+","+n+" 0 1,0 0,"+-n+"A"+n+","+n+" 0 1,0 0,"+n+"Z":"M0,"+i+"A"+i+","+i+" 0 1,1 0,"+-i+"A"+i+","+i+" 0 1,1 0,"+i+"Z":n?"M"+i*l+","+i*f+"A"+i+","+i+" 0 "+s+",1 "+i*h+","+i*g+"L"+n*h+","+n*g+"A"+n+","+n+" 0 "+s+",0 "+n*l+","+n*f+"Z":"M"+i*l+","+i*f+"A"+i+","+i+" 0 "+s+",1 "+i*h+","+i*g+"L0,0"+"Z"}var t=wi,e=Si,r=ki,u=Ei;return n.innerRadius=function(e){return arguments.length?(t=vt(e),n):t},n.outerRadius=function(t){return arguments.length?(e=vt(t),n):e},n.startAngle=function(t){return arguments.length?(r=vt(t),n):r},n.endAngle=function(t){return arguments.length?(u=vt(t),n):u},n.centroid=function(){var n=(t.apply(this,arguments)+e.apply(this,arguments))/2,i=(r.apply(this,arguments)+u.apply(this,arguments))/2+ys;return[Math.cos(i)*n,Math.sin(i)*n]},n};var ys=-Ca,xs=Aa-Na;Bo.svg.line=function(){return Ai(dt)};var Ms=Bo.map({linear:Ci,"linear-closed":Ni,step:Li,"step-before":Ti,"step-after":qi,basis:ji,"basis-open":Hi,"basis-closed":Fi,bundle:Oi,cardinal:Di,"cardinal-open":zi,"cardinal-closed":Ri,monotone:$i});Ms.forEach(function(n,t){t.key=n,t.closed=/-closed$/.test(n)});var _s=[0,2/3,1/3,0],bs=[0,1/3,2/3,0],ws=[0,1/6,2/3,1/6];Bo.svg.line.radial=function(){var n=Ai(Bi);return n.radius=n.x,delete n.x,n.angle=n.y,delete n.y,n},Ti.reverse=qi,qi.reverse=Ti,Bo.svg.area=function(){return Wi(dt)},Bo.svg.area.radial=function(){var n=Wi(Bi);return n.radius=n.x,delete n.x,n.innerRadius=n.x0,delete n.x0,n.outerRadius=n.x1,delete n.x1,n.angle=n.y,delete n.y,n.startAngle=n.y0,delete n.y0,n.endAngle=n.y1,delete n.y1,n},Bo.svg.chord=function(){function n(n,a){var c=t(this,i,n,a),s=t(this,o,n,a);return"M"+c.p0+r(c.r,c.p1,c.a1-c.a0)+(e(c,s)?u(c.r,c.p1,c.r,c.p0):u(c.r,c.p1,s.r,s.p0)+r(s.r,s.p1,s.a1-s.a0)+u(s.r,s.p1,c.r,c.p0))+"Z"}function t(n,t,e,r){var u=t.call(n,e,r),i=a.call(n,u,r),o=c.call(n,u,r)+ys,l=s.call(n,u,r)+ys;return{r:i,a0:o,a1:l,p0:[i*Math.cos(o),i*Math.sin(o)],p1:[i*Math.cos(l),i*Math.sin(l)]}}function e(n,t){return n.a0==t.a0&&n.a1==t.a1}function r(n,t,e){return"A"+n+","+n+" 0 "+ +(e>Ea)+",1 "+t}function u(n,t,e,r){return"Q 0,0 "+r}var i=De,o=Pe,a=Ji,c=ki,s=Ei;return n.radius=function(t){return arguments.length?(a=vt(t),n):a},n.source=function(t){return arguments.length?(i=vt(t),n):i},n.target=function(t){return arguments.length?(o=vt(t),n):o},n.startAngle=function(t){return arguments.length?(c=vt(t),n):c},n.endAngle=function(t){return arguments.length?(s=vt(t),n):s},n},Bo.svg.diagonal=function(){function n(n,u){var i=t.call(this,n,u),o=e.call(this,n,u),a=(i.y+o.y)/2,c=[i,{x:i.x,y:a},{x:o.x,y:a},o];return c=c.map(r),"M"+c[0]+"C"+c[1]+" "+c[2]+" "+c[3]}var t=De,e=Pe,r=Gi;return n.source=function(e){return arguments.length?(t=vt(e),n):t},n.target=function(t){return arguments.length?(e=vt(t),n):e},n.projection=function(t){return arguments.length?(r=t,n):r},n},Bo.svg.diagonal.radial=function(){var n=Bo.svg.diagonal(),t=Gi,e=n.projection;return n.projection=function(n){return arguments.length?e(Ki(t=n)):t},n},Bo.svg.symbol=function(){function n(n,r){return(Ss.get(t.call(this,n,r))||to)(e.call(this,n,r))}var t=no,e=Qi;return n.type=function(e){return arguments.length?(t=vt(e),n):t},n.size=function(t){return arguments.length?(e=vt(t),n):e},n};var Ss=Bo.map({circle:to,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*Cs)),e=t*Cs;return"M0,"+-t+"L"+e+",0"+" 0,"+t+" "+-e+",0"+"Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"+},"triangle-down":function(n){var t=Math.sqrt(n/As),e=t*As/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/As),e=t*As/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});Bo.svg.symbolTypes=Ss.keys();var ks,Es,As=Math.sqrt(3),Cs=Math.tan(30*Ta),Ns=[],Ls=0;Ns.call=ya.call,Ns.empty=ya.empty,Ns.node=ya.node,Ns.size=ya.size,Bo.transition=function(n){return arguments.length?ks?n.transition():n:_a.transition()},Bo.transition.prototype=Ns,Ns.select=function(n){var t,e,r,u=this.id,i=[];n=v(n);for(var o=-1,a=this.length;++o<a;){i.push(t=[]);for(var c=this[o],s=-1,l=c.length;++s<l;)(r=c[s])&&(e=n.call(r,r.__data__,s,o))?("__data__"in r&&(e.__data__=r.__data__),io(e,s,u,r.__transition__[u]),t.push(e)):t.push(null)}return eo(i,u)},Ns.selectAll=function(n){var t,e,r,u,i,o=this.id,a=[];n=d(n);for(var c=-1,s=this.length;++c<s;)for(var l=this[c],f=-1,h=l.length;++f<h;)if(r=l[f]){i=r.__transition__[o],e=n.call(r,r.__data__,f,c),a.push(t=[]);for(var g=-1,p=e.length;++g<p;)(u=e[g])&&io(u,g,o,i),t.push(u)}return eo(a,o)},Ns.filter=function(n){var t,e,r,u=[];"function"!=typeof n&&(n=A(n));for(var i=0,o=this.length;o>i;i++){u.push(t=[]);for(var e=this[i],a=0,c=e.length;c>a;a++)(r=e[a])&&n.call(r,r.__data__,a,i)&&t.push(r)}return eo(u,this.id)},Ns.tween=function(n,t){var e=this.id;return arguments.length<2?this.node().__transition__[e].tween.get(n):N(this,null==t?function(t){t.__transition__[e].tween.remove(n)}:function(r){r.__transition__[e].tween.set(n,t)})},Ns.attr=function(n,t){function e(){this.removeAttribute(a)}function r(){this.removeAttributeNS(a.space,a.local)}function u(n){return null==n?e:(n+="",function(){var t,e=this.getAttribute(a);return e!==n&&(t=o(e,n),function(n){this.setAttribute(a,t(n))})})}function i(n){return null==n?r:(n+="",function(){var t,e=this.getAttributeNS(a.space,a.local);return e!==n&&(t=o(e,n),function(n){this.setAttributeNS(a.space,a.local,t(n))})})}if(arguments.length<2){for(t in n)this.attr(t,n[t]);return this}var o="transform"==n?eu:zr,a=Bo.ns.qualify(n);return ro(this,"attr."+n,t,a.local?i:u)},Ns.attrTween=function(n,t){function e(n,e){var r=t.call(this,n,e,this.getAttribute(u));return r&&function(n){this.setAttribute(u,r(n))}}function r(n,e){var r=t.call(this,n,e,this.getAttributeNS(u.space,u.local));return r&&function(n){this.setAttributeNS(u.space,u.local,r(n))}}var u=Bo.ns.qualify(n);return this.tween("attr."+n,u.local?r:e)},Ns.style=function(n,t,e){function r(){this.style.removeProperty(n)}function u(t){return null==t?r:(t+="",function(){var r,u=Qo.getComputedStyle(this,null).getPropertyValue(n);return u!==t&&(r=zr(u,t),function(t){this.style.setProperty(n,r(t),e)})})}var i=arguments.length;if(3>i){if("string"!=typeof n){2>i&&(t="");for(e in n)this.style(e,n[e],t);return this}e=""}return ro(this,"style."+n,t,u)},Ns.styleTween=function(n,t,e){function r(r,u){var i=t.call(this,r,u,Qo.getComputedStyle(this,null).getPropertyValue(n));return i&&function(t){this.style.setProperty(n,i(t),e)}}return arguments.length<3&&(e=""),this.tween("style."+n,r)},Ns.text=function(n){return ro(this,"text",n,uo)},Ns.remove=function(){return this.each("end.transition",function(){var n;this.__transition__.count<2&&(n=this.parentNode)&&n.removeChild(this)})},Ns.ease=function(n){var t=this.id;return arguments.length<1?this.node().__transition__[t].ease:("function"!=typeof n&&(n=Bo.ease.apply(Bo,arguments)),N(this,function(e){e.__transition__[t].ease=n}))},Ns.delay=function(n){var t=this.id;return N(this,"function"==typeof n?function(e,r,u){e.__transition__[t].delay=+n.call(e,e.__data__,r,u)}:(n=+n,function(e){e.__transition__[t].delay=n}))},Ns.duration=function(n){var t=this.id;return N(this,"function"==typeof n?function(e,r,u){e.__transition__[t].duration=Math.max(1,n.call(e,e.__data__,r,u))}:(n=Math.max(1,n),function(e){e.__transition__[t].duration=n}))},Ns.each=function(n,t){var e=this.id;if(arguments.length<2){var r=Es,u=ks;ks=e,N(this,function(t,r,u){Es=t.__transition__[e],n.call(t,t.__data__,r,u)}),Es=r,ks=u}else N(this,function(r){var u=r.__transition__[e];(u.event||(u.event=Bo.dispatch("start","end"))).on(n,t)});return this},Ns.transition=function(){for(var n,t,e,r,u=this.id,i=++Ls,o=[],a=0,c=this.length;c>a;a++){o.push(n=[]);for(var t=this[a],s=0,l=t.length;l>s;s++)(e=t[s])&&(r=Object.create(e.__transition__[u]),r.delay+=r.duration,io(e,s,i,r)),n.push(e)}return eo(o,i)},Bo.svg.axis=function(){function n(n){n.each(function(){var n,s=Bo.select(this),l=this.__chart__||e,f=this.__chart__=e.copy(),h=null==c?f.ticks?f.ticks.apply(f,a):f.domain():c,g=null==t?f.tickFormat?f.tickFormat.apply(f,a):dt:t,p=s.selectAll(".tick").data(h,f),v=p.enter().insert("g",".domain").attr("class","tick").style("opacity",Na),d=Bo.transition(p.exit()).style("opacity",Na).remove(),m=Bo.transition(p).style("opacity",1),y=ei(f),x=s.selectAll(".domain").data([0]),M=(x.enter().append("path").attr("class","domain"),Bo.transition(x));v.append("line"),v.append("text");var _=v.select("line"),b=m.select("line"),w=p.select("text").text(g),S=v.select("text"),k=m.select("text");switch(r){case"bottom":n=oo,_.attr("y2",u),S.attr("y",Math.max(u,0)+o),b.attr("x2",0).attr("y2",u),k.attr("x",0).attr("y",Math.max(u,0)+o),w.attr("dy",".71em").style("text-anchor","middle"),M.attr("d","M"+y[0]+","+i+"V0H"+y[1]+"V"+i);break;case"top":n=oo,_.attr("y2",-u),S.attr("y",-(Math.max(u,0)+o)),b.attr("x2",0).attr("y2",-u),k.attr("x",0).attr("y",-(Math.max(u,0)+o)),w.attr("dy","0em").style("text-anchor","middle"),M.attr("d","M"+y[0]+","+-i+"V0H"+y[1]+"V"+-i);break;case"left":n=ao,_.attr("x2",-u),S.attr("x",-(Math.max(u,0)+o)),b.attr("x2",-u).attr("y2",0),k.attr("x",-(Math.max(u,0)+o)).attr("y",0),w.attr("dy",".32em").style("text-anchor","end"),M.attr("d","M"+-i+","+y[0]+"H0V"+y[1]+"H"+-i);break;case"right":n=ao,_.attr("x2",u),S.attr("x",Math.max(u,0)+o),b.attr("x2",u).attr("y2",0),k.attr("x",Math.max(u,0)+o).attr("y",0),w.attr("dy",".32em").style("text-anchor","start"),M.attr("d","M"+i+","+y[0]+"H0V"+y[1]+"H"+i)}if(f.rangeBand){var E=f,A=E.rangeBand()/2;l=f=function(n){return E(n)+A}}else l.rangeBand?l=f:d.call(n,f);v.call(n,l),m.call(n,f)})}var t,e=Bo.scale.linear(),r=Ts,u=6,i=6,o=3,a=[10],c=null;return n.scale=function(t){return arguments.length?(e=t,n):e},n.orient=function(t){return arguments.length?(r=t in qs?t+"":Ts,n):r},n.ticks=function(){return arguments.length?(a=arguments,n):a},n.tickValues=function(t){return arguments.length?(c=t,n):c},n.tickFormat=function(e){return arguments.length?(t=e,n):t},n.tickSize=function(t){var e=arguments.length;return e?(u=+t,i=+arguments[e-1],n):u},n.innerTickSize=function(t){return arguments.length?(u=+t,n):u},n.outerTickSize=function(t){return arguments.length?(i=+t,n):i},n.tickPadding=function(t){return arguments.length?(o=+t,n):o},n.tickSubdivide=function(){return arguments.length&&n},n};var Ts="bottom",qs={top:1,right:1,bottom:1,left:1};Bo.svg.brush=function(){function n(i){i.each(function(){var i=Bo.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",u).on("touchstart.brush",u),o=i.selectAll(".background").data([0]);o.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),i.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var a=i.selectAll(".resize").data(d,dt);a.exit().remove(),a.enter().append("g").attr("class",function(n){return"resize "+n}).style("cursor",function(n){return zs[n]}).append("rect").attr("x",function(n){return/[ew]$/.test(n)?-3:null}).attr("y",function(n){return/^[ns]/.test(n)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),a.style("display",n.empty()?"none":null);var l,f=Bo.transition(i),h=Bo.transition(o);c&&(l=ei(c),h.attr("x",l[0]).attr("width",l[1]-l[0]),e(f)),s&&(l=ei(s),h.attr("y",l[0]).attr("height",l[1]-l[0]),r(f)),t(f)})}function t(n){n.selectAll(".resize").attr("transform",function(n){return"translate("+l[+/e$/.test(n)]+","+h[+/^s/.test(n)]+")"})}function e(n){n.select(".extent").attr("x",l[0]),n.selectAll(".extent,.n>rect,.s>rect").attr("width",l[1]-l[0])}function r(n){n.select(".extent").attr("y",h[0]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",h[1]-h[0])}function u(){function u(){32==Bo.event.keyCode&&(C||(x=null,L[0]-=l[1],L[1]-=h[1],C=2),f())}function g(){32==Bo.event.keyCode&&2==C&&(L[0]+=l[1],L[1]+=h[1],C=0,f())}function d(){var n=Bo.mouse(_),u=!1;M&&(n[0]+=M[0],n[1]+=M[1]),C||(Bo.event.altKey?(x||(x=[(l[0]+l[1])/2,(h[0]+h[1])/2]),L[0]=l[+(n[0]<x[0])],L[1]=h[+(n[1]<x[1])]):x=null),E&&m(n,c,0)&&(e(S),u=!0),A&&m(n,s,1)&&(r(S),u=!0),u&&(t(S),w({type:"brush",mode:C?"move":"resize"}))}function m(n,t,e){var r,u,a=ei(t),c=a[0],s=a[1],f=L[e],g=e?h:l,d=g[1]-g[0];return C&&(c-=f,s-=d+f),r=(e?v:p)?Math.max(c,Math.min(s,n[e])):n[e],C?u=(r+=f)+d:(x&&(f=Math.max(c,Math.min(s,2*x[e]-r))),r>f?(u=r,r=f):u=f),g[0]!=r||g[1]!=u?(e?o=null:i=null,g[0]=r,g[1]=u,!0):void 0}function y(){d(),S.style("pointer-events","all").selectAll(".resize").style("display",n.empty()?"none":null),Bo.select("body").style("cursor",null),T.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),N(),w({type:"brushend"})}var x,M,_=this,b=Bo.select(Bo.event.target),w=a.of(_,arguments),S=Bo.select(_),k=b.datum(),E=!/^(n|s)$/.test(k)&&c,A=!/^(e|w)$/.test(k)&&s,C=b.classed("extent"),N=P(),L=Bo.mouse(_),T=Bo.select(Qo).on("keydown.brush",u).on("keyup.brush",g);if(Bo.event.changedTouches?T.on("touchmove.brush",d).on("touchend.brush",y):T.on("mousemove.brush",d).on("mouseup.brush",y),S.interrupt().selectAll("*").interrupt(),C)L[0]=l[0]-L[0],L[1]=h[0]-L[1];else if(k){var q=+/w$/.test(k),z=+/^n/.test(k);M=[l[1-q]-L[0],h[1-z]-L[1]],L[0]=l[q],L[1]=h[z]}else Bo.event.altKey&&(x=L.slice());S.style("pointer-events","none").selectAll(".resize").style("display",null),Bo.select("body").style("cursor",b.style("cursor")),w({type:"brushstart"}),d()}var i,o,a=g(n,"brushstart","brush","brushend"),c=null,s=null,l=[0,0],h=[0,0],p=!0,v=!0,d=Rs[0];return n.event=function(n){n.each(function(){var n=a.of(this,arguments),t={x:l,y:h,i:i,j:o},e=this.__chart__||t;this.__chart__=t,ks?Bo.select(this).transition().each("start.brush",function(){i=e.i,o=e.j,l=e.x,h=e.y,n({type:"brushstart"})}).tween("brush:brush",function(){var e=Rr(l,t.x),r=Rr(h,t.y);return i=o=null,function(u){l=t.x=e(u),h=t.y=r(u),n({type:"brush",mode:"resize"})}}).each("end.brush",function(){i=t.i,o=t.j,n({type:"brush",mode:"resize"}),n({type:"brushend"})}):(n({type:"brushstart"}),n({type:"brush",mode:"resize"}),n({type:"brushend"}))})},n.x=function(t){return arguments.length?(c=t,d=Rs[!c<<1|!s],n):c},n.y=function(t){return arguments.length?(s=t,d=Rs[!c<<1|!s],n):s},n.clamp=function(t){return arguments.length?(c&&s?(p=!!t[0],v=!!t[1]):c?p=!!t:s&&(v=!!t),n):c&&s?[p,v]:c?p:s?v:null},n.extent=function(t){var e,r,u,a,f;return arguments.length?(c&&(e=t[0],r=t[1],s&&(e=e[0],r=r[0]),i=[e,r],c.invert&&(e=c(e),r=c(r)),e>r&&(f=e,e=r,r=f),(e!=l[0]||r!=l[1])&&(l=[e,r])),s&&(u=t[0],a=t[1],c&&(u=u[1],a=a[1]),o=[u,a],s.invert&&(u=s(u),a=s(a)),u>a&&(f=u,u=a,a=f),(u!=h[0]||a!=h[1])&&(h=[u,a])),n):(c&&(i?(e=i[0],r=i[1]):(e=l[0],r=l[1],c.invert&&(e=c.invert(e),r=c.invert(r)),e>r&&(f=e,e=r,r=f))),s&&(o?(u=o[0],a=o[1]):(u=h[0],a=h[1],s.invert&&(u=s.invert(u),a=s.invert(a)),u>a&&(f=u,u=a,a=f))),c&&s?[[e,u],[r,a]]:c?[e,r]:s&&[u,a])},n.clear=function(){return n.empty()||(l=[0,0],h=[0,0],i=o=null),n},n.empty=function(){return!!c&&l[0]==l[1]||!!s&&h[0]==h[1]},Bo.rebind(n,a,"on")};var zs={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Rs=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Ds=Bo.time={},Ps=Date,Us=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];co.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){js.setUTCDate.apply(this._,arguments)},setDay:function(){js.setUTCDay.apply(this._,arguments)},setFullYear:function(){js.setUTCFullYear.apply(this._,arguments)},setHours:function(){js.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){js.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){js.setUTCMinutes.apply(this._,arguments)},setMonth:function(){js.setUTCMonth.apply(this._,arguments)},setSeconds:function(){js.setUTCSeconds.apply(this._,arguments)},setTime:function(){js.setTime.apply(this._,arguments)}};var js=Date.prototype,Hs="%a %b %e %X %Y",Fs="%m/%d/%Y",Os="%H:%M:%S",Ys=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Is=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Zs=["January","February","March","April","May","June","July","August","September","October","November","December"],Vs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];Ds.year=so(function(n){return n=Ds.day(n),n.setMonth(0,1),n},function(n,t){n.setFullYear(n.getFullYear()+t)},function(n){return n.getFullYear()}),Ds.years=Ds.year.range,Ds.years.utc=Ds.year.utc.range,Ds.day=so(function(n){var t=new Ps(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t},function(n,t){n.setDate(n.getDate()+t)},function(n){return n.getDate()-1}),Ds.days=Ds.day.range,Ds.days.utc=Ds.day.utc.range,Ds.dayOfYear=function(n){var t=Ds.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},Us.forEach(function(n,t){n=n.toLowerCase(),t=7-t;var e=Ds[n]=so(function(n){return(n=Ds.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=Ds.year(n).getDay();return Math.floor((Ds.dayOfYear(n)+(e+t)%7)/7)-(e!==t)});Ds[n+"s"]=e.range,Ds[n+"s"].utc=e.utc.range,Ds[n+"OfYear"]=function(n){var e=Ds.year(n).getDay();return Math.floor((Ds.dayOfYear(n)+(e+t)%7)/7)}}),Ds.week=Ds.sunday,Ds.weeks=Ds.sunday.range,Ds.weeks.utc=Ds.sunday.utc.range,Ds.weekOfYear=Ds.sundayOfYear,Ds.format=fo;var Xs=go(Ys),$s=po(Ys),Bs=go(Is),Ws=po(Is),Js=go(Zs),Gs=po(Zs),Ks=go(Vs),Qs=po(Vs),nl=/^%/,tl={"-":"",_:" ",0:"0"},el={a:function(n){return Is[n.getDay()]},A:function(n){return Ys[n.getDay()]},b:function(n){return Vs[n.getMonth()]},B:function(n){return Zs[n.getMonth()]},c:fo(Hs),d:function(n,t){return vo(n.getDate(),t,2)},e:function(n,t){return vo(n.getDate(),t,2)},H:function(n,t){return vo(n.getHours(),t,2)},I:function(n,t){return vo(n.getHours()%12||12,t,2)},j:function(n,t){return vo(1+Ds.dayOfYear(n),t,3)},L:function(n,t){return vo(n.getMilliseconds(),t,3)},m:function(n,t){return vo(n.getMonth()+1,t,2)},M:function(n,t){return vo(n.getMinutes(),t,2)},p:function(n){return n.getHours()>=12?"PM":"AM"},S:function(n,t){return vo(n.getSeconds(),t,2)},U:function(n,t){return vo(Ds.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return vo(Ds.mondayOfYear(n),t,2)},x:fo(Fs),X:fo(Os),y:function(n,t){return vo(n.getFullYear()%100,t,2)},Y:function(n,t){return vo(n.getFullYear()%1e4,t,4)},Z:Ho,"%":function(){return"%"}},rl={a:mo,A:yo,b:bo,B:wo,c:So,d:qo,e:qo,H:Ro,I:Ro,j:zo,L:Uo,m:To,M:Do,p:jo,S:Po,U:Mo,w:xo,W:_o,x:ko,X:Eo,y:Co,Y:Ao,Z:No,"%":Fo},ul=/^\s*\d+/,il=Bo.map({am:0,pm:1});fo.utc=Oo;var ol=Oo("%Y-%m-%dT%H:%M:%S.%LZ");fo.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?Yo:ol,Yo.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},Yo.toString=ol.toString,Ds.second=so(function(n){return new Ps(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),Ds.seconds=Ds.second.range,Ds.seconds.utc=Ds.second.utc.range,Ds.minute=so(function(n){return new Ps(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),Ds.minutes=Ds.minute.range,Ds.minutes.utc=Ds.minute.utc.range,Ds.hour=so(function(n){var t=n.getTimezoneOffset()/60;return new Ps(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),Ds.hours=Ds.hour.range,Ds.hours.utc=Ds.hour.utc.range,Ds.month=so(function(n){return n=Ds.day(n),n.setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),Ds.months=Ds.month.range,Ds.months.utc=Ds.month.utc.range;var al=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],cl=[[Ds.second,1],[Ds.second,5],[Ds.second,15],[Ds.second,30],[Ds.minute,1],[Ds.minute,5],[Ds.minute,15],[Ds.minute,30],[Ds.hour,1],[Ds.hour,3],[Ds.hour,6],[Ds.hour,12],[Ds.day,1],[Ds.day,2],[Ds.week,1],[Ds.month,1],[Ds.month,3],[Ds.year,1]],sl=[[fo("%Y"),Vt],[fo("%B"),function(n){return n.getMonth()}],[fo("%b %d"),function(n){return 1!=n.getDate()}],[fo("%a %d"),function(n){return n.getDay()&&1!=n.getDate()}],[fo("%I %p"),function(n){return n.getHours()}],[fo("%I:%M"),function(n){return n.getMinutes()}],[fo(":%S"),function(n){return n.getSeconds()}],[fo(".%L"),function(n){return n.getMilliseconds()}]],ll=Vo(sl);cl.year=Ds.year,Ds.scale=function(){return Io(Bo.scale.linear(),cl,ll)};var fl={range:function(n,t,e){return Bo.range(+n,+t,e).map(Zo)},floor:dt,ceil:dt},hl=cl.map(function(n){return[n[0].utc,n[1]]}),gl=[[Oo("%Y"),Vt],[Oo("%B"),function(n){return n.getUTCMonth()}],[Oo("%b %d"),function(n){return 1!=n.getUTCDate()}],[Oo("%a %d"),function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],[Oo("%I %p"),function(n){return n.getUTCHours()}],[Oo("%I:%M"),function(n){return n.getUTCMinutes()}],[Oo(":%S"),function(n){return n.getUTCSeconds()}],[Oo(".%L"),function(n){return n.getUTCMilliseconds()}]],pl=Vo(gl);return hl.year=Ds.year.utc,Ds.scale.utc=function(){return Io(Bo.scale.linear(),hl,pl)},Bo.text=mt(function(n){return n.responseText}),Bo.json=function(n,t){return yt(n,"application/json",Xo,t)},Bo.html=function(n,t){return yt(n,"text/html",$o,t)},Bo.xml=mt(function(n){return n.responseXML}),Bo}();\ No newline at end of filediff --git a/data/libs/d3/d3.v3.js b/data/libs/d3/d3.v3.jsdeleted file mode 100644index 72628000c..000000000--- a/data/libs/d3/d3.v3.js+++ /dev/null@@ -1,8776 +0,0 @@-d3 = function() {- var d3 = {- version: "3.2.0"- };- if (!Date.now) Date.now = function() {- return +new Date();- };- var d3_document = document, d3_documentElement = d3_document.documentElement, d3_window = window;- try {- d3_document.createElement("div").style.setProperty("opacity", 0, "");- } catch (error) {- var d3_style_prototype = d3_window.CSSStyleDeclaration.prototype, d3_style_setProperty = d3_style_prototype.setProperty;- d3_style_prototype.setProperty = function(name, value, priority) {- d3_style_setProperty.call(this, name, value + "", priority);- };- }- d3.ascending = function(a, b) {- return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;- };- d3.descending = function(a, b) {- return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;- };- d3.min = function(array, f) {- var i = -1, n = array.length, a, b;- if (arguments.length === 1) {- while (++i < n && ((a = array[i]) == null || a != a)) a = undefined;- while (++i < n) if ((b = array[i]) != null && a > b) a = b;- } else {- while (++i < n && ((a = f.call(array, array[i], i)) == null || a != a)) a = undefined;- while (++i < n) if ((b = f.call(array, array[i], i)) != null && a > b) a = b;- }- return a;- };- d3.max = function(array, f) {- var i = -1, n = array.length, a, b;- if (arguments.length === 1) {- while (++i < n && ((a = array[i]) == null || a != a)) a = undefined;- while (++i < n) if ((b = array[i]) != null && b > a) a = b;- } else {- while (++i < n && ((a = f.call(array, array[i], i)) == null || a != a)) a = undefined;- while (++i < n) if ((b = f.call(array, array[i], i)) != null && b > a) a = b;- }- return a;- };- d3.extent = function(array, f) {- var i = -1, n = array.length, a, b, c;- if (arguments.length === 1) {- while (++i < n && ((a = c = array[i]) == null || a != a)) a = c = undefined;- while (++i < n) if ((b = array[i]) != null) {- if (a > b) a = b;- if (c < b) c = b;- }- } else {- while (++i < n && ((a = c = f.call(array, array[i], i)) == null || a != a)) a = undefined;- while (++i < n) if ((b = f.call(array, array[i], i)) != null) {- if (a > b) a = b;- if (c < b) c = b;- }- }- return [ a, c ];- };- d3.sum = function(array, f) {- var s = 0, n = array.length, a, i = -1;- if (arguments.length === 1) {- while (++i < n) if (!isNaN(a = +array[i])) s += a;- } else {- while (++i < n) if (!isNaN(a = +f.call(array, array[i], i))) s += a;- }- return s;- };- function d3_number(x) {- return x != null && !isNaN(x);- }- d3.mean = function(array, f) {- var n = array.length, a, m = 0, i = -1, j = 0;- if (arguments.length === 1) {- while (++i < n) if (d3_number(a = array[i])) m += (a - m) / ++j;- } else {- while (++i < n) if (d3_number(a = f.call(array, array[i], i))) m += (a - m) / ++j;- }- return j ? m : undefined;- };- d3.quantile = function(values, p) {- var H = (values.length - 1) * p + 1, h = Math.floor(H), v = +values[h - 1], e = H - h;- return e ? v + e * (values[h] - v) : v;- };- d3.median = function(array, f) {- if (arguments.length > 1) array = array.map(f);- array = array.filter(d3_number);- return array.length ? d3.quantile(array.sort(d3.ascending), .5) : undefined;- };- d3.bisector = function(f) {- return {- left: function(a, x, lo, hi) {- if (arguments.length < 3) lo = 0;- if (arguments.length < 4) hi = a.length;- while (lo < hi) {- var mid = lo + hi >>> 1;- if (f.call(a, a[mid], mid) < x) lo = mid + 1; else hi = mid;- }- return lo;- },- right: function(a, x, lo, hi) {- if (arguments.length < 3) lo = 0;- if (arguments.length < 4) hi = a.length;- while (lo < hi) {- var mid = lo + hi >>> 1;- if (x < f.call(a, a[mid], mid)) hi = mid; else lo = mid + 1;- }- return lo;- }- };- };- var d3_bisector = d3.bisector(function(d) {- return d;- });- d3.bisectLeft = d3_bisector.left;- d3.bisect = d3.bisectRight = d3_bisector.right;- d3.shuffle = function(array) {- var m = array.length, t, i;- while (m) {- i = Math.random() * m-- | 0;- t = array[m], array[m] = array[i], array[i] = t;- }- return array;- };- d3.permute = function(array, indexes) {- var permutes = [], i = -1, n = indexes.length;- while (++i < n) permutes[i] = array[indexes[i]];- return permutes;- };- d3.zip = function() {- if (!(n = arguments.length)) return [];- for (var i = -1, m = d3.min(arguments, d3_zipLength), zips = new Array(m); ++i < m; ) {- for (var j = -1, n, zip = zips[i] = new Array(n); ++j < n; ) {- zip[j] = arguments[j][i];- }- }- return zips;- };- function d3_zipLength(d) {- return d.length;- }- d3.transpose = function(matrix) {- return d3.zip.apply(d3, matrix);- };- d3.keys = function(map) {- var keys = [];- for (var key in map) keys.push(key);- return keys;- };- d3.values = function(map) {- var values = [];- for (var key in map) values.push(map[key]);- return values;- };- d3.entries = function(map) {- var entries = [];- for (var key in map) entries.push({- key: key,- value: map[key]- });- return entries;- };- d3.merge = function(arrays) {- return Array.prototype.concat.apply([], arrays);- };- d3.range = function(start, stop, step) {- if (arguments.length < 3) {- step = 1;- if (arguments.length < 2) {- stop = start;- start = 0;- }- }- if ((stop - start) / step === Infinity) throw new Error("infinite range");- var range = [], k = d3_range_integerScale(Math.abs(step)), i = -1, j;- start *= k, stop *= k, step *= k;- if (step < 0) while ((j = start + step * ++i) > stop) range.push(j / k); else while ((j = start + step * ++i) < stop) range.push(j / k);- return range;- };- function d3_range_integerScale(x) {- var k = 1;- while (x * k % 1) k *= 10;- return k;- }- function d3_class(ctor, properties) {- try {- for (var key in properties) {- Object.defineProperty(ctor.prototype, key, {- value: properties[key],- enumerable: false- });- }- } catch (e) {- ctor.prototype = properties;- }- }- d3.map = function(object) {- var map = new d3_Map();- for (var key in object) map.set(key, object[key]);- return map;- };- function d3_Map() {}- d3_class(d3_Map, {- has: function(key) {- return d3_map_prefix + key in this;- },- get: function(key) {- return this[d3_map_prefix + key];- },- set: function(key, value) {- return this[d3_map_prefix + key] = value;- },- remove: function(key) {- key = d3_map_prefix + key;- return key in this && delete this[key];- },- keys: function() {- var keys = [];- this.forEach(function(key) {- keys.push(key);- });- return keys;- },- values: function() {- var values = [];- this.forEach(function(key, value) {- values.push(value);- });- return values;- },- entries: function() {- var entries = [];- this.forEach(function(key, value) {- entries.push({- key: key,- value: value- });- });- return entries;- },- forEach: function(f) {- for (var key in this) {- if (key.charCodeAt(0) === d3_map_prefixCode) {- f.call(this, key.substring(1), this[key]);- }- }- }- });- var d3_map_prefix = "\0", d3_map_prefixCode = d3_map_prefix.charCodeAt(0);- d3.nest = function() {- var nest = {}, keys = [], sortKeys = [], sortValues, rollup;- function map(mapType, array, depth) {- if (depth >= keys.length) return rollup ? rollup.call(nest, array) : sortValues ? array.sort(sortValues) : array;- var i = -1, n = array.length, key = keys[depth++], keyValue, object, setter, valuesByKey = new d3_Map(), values;- while (++i < n) {- if (values = valuesByKey.get(keyValue = key(object = array[i]))) {- values.push(object);- } else {- valuesByKey.set(keyValue, [ object ]);- }- }- if (mapType) {- object = mapType();- setter = function(keyValue, values) {- object.set(keyValue, map(mapType, values, depth));- };- } else {- object = {};- setter = function(keyValue, values) {- object[keyValue] = map(mapType, values, depth);- };- }- valuesByKey.forEach(setter);- return object;- }- function entries(map, depth) {- if (depth >= keys.length) return map;- var array = [], sortKey = sortKeys[depth++];- map.forEach(function(key, keyMap) {- array.push({- key: key,- values: entries(keyMap, depth)- });- });- return sortKey ? array.sort(function(a, b) {- return sortKey(a.key, b.key);- }) : array;- }- nest.map = function(array, mapType) {- return map(mapType, array, 0);- };- nest.entries = function(array) {- return entries(map(d3.map, array, 0), 0);- };- nest.key = function(d) {- keys.push(d);- return nest;- };- nest.sortKeys = function(order) {- sortKeys[keys.length - 1] = order;- return nest;- };- nest.sortValues = function(order) {- sortValues = order;- return nest;- };- nest.rollup = function(f) {- rollup = f;- return nest;- };- return nest;- };- d3.set = function(array) {- var set = new d3_Set();- if (array) for (var i = 0; i < array.length; i++) set.add(array[i]);- return set;- };- function d3_Set() {}- d3_class(d3_Set, {- has: function(value) {- return d3_map_prefix + value in this;- },- add: function(value) {- this[d3_map_prefix + value] = true;- return value;- },- remove: function(value) {- value = d3_map_prefix + value;- return value in this && delete this[value];- },- values: function() {- var values = [];- this.forEach(function(value) {- values.push(value);- });- return values;- },- forEach: function(f) {- for (var value in this) {- if (value.charCodeAt(0) === d3_map_prefixCode) {- f.call(this, value.substring(1));- }- }- }- });- d3.behavior = {};- d3.rebind = function(target, source) {- var i = 1, n = arguments.length, method;- while (++i < n) target[method = arguments[i]] = d3_rebind(target, source, source[method]);- return target;- };- function d3_rebind(target, source, method) {- return function() {- var value = method.apply(source, arguments);- return value === source ? target : value;- };- }- d3.dispatch = function() {- var dispatch = new d3_dispatch(), i = -1, n = arguments.length;- while (++i < n) dispatch[arguments[i]] = d3_dispatch_event(dispatch);- return dispatch;- };- function d3_dispatch() {}- d3_dispatch.prototype.on = function(type, listener) {- var i = type.indexOf("."), name = "";- if (i >= 0) {- name = type.substring(i + 1);- type = type.substring(0, i);- }- if (type) return arguments.length < 2 ? this[type].on(name) : this[type].on(name, listener);- if (arguments.length === 2) {- if (listener == null) for (type in this) {- if (this.hasOwnProperty(type)) this[type].on(name, null);- }- return this;- }- };- function d3_dispatch_event(dispatch) {- var listeners = [], listenerByName = new d3_Map();- function event() {- var z = listeners, i = -1, n = z.length, l;- while (++i < n) if (l = z[i].on) l.apply(this, arguments);- return dispatch;- }- event.on = function(name, listener) {- var l = listenerByName.get(name), i;- if (arguments.length < 2) return l && l.on;- if (l) {- l.on = null;- listeners = listeners.slice(0, i = listeners.indexOf(l)).concat(listeners.slice(i + 1));- listenerByName.remove(name);- }- if (listener) listeners.push(listenerByName.set(name, {- on: listener- }));- return dispatch;- };- return event;- }- d3.event = null;- function d3_eventCancel() {- d3.event.stopPropagation();- d3.event.preventDefault();- }- function d3_eventSource() {- var e = d3.event, s;- while (s = e.sourceEvent) e = s;- return e;- }- function d3_eventSuppress(target, type) {- function off() {- target.on(type, null);- }- target.on(type, function() {- d3_eventCancel();- off();- }, true);- setTimeout(off, 0);- }- function d3_eventDispatch(target) {- var dispatch = new d3_dispatch(), i = 0, n = arguments.length;- while (++i < n) dispatch[arguments[i]] = d3_dispatch_event(dispatch);- dispatch.of = function(thiz, argumentz) {- return function(e1) {- try {- var e0 = e1.sourceEvent = d3.event;- e1.target = target;- d3.event = e1;- dispatch[e1.type].apply(thiz, argumentz);- } finally {- d3.event = e0;- }- };- };- return dispatch;- }- d3.mouse = function(container) {- return d3_mousePoint(container, d3_eventSource());- };- var d3_mouse_bug44083 = /WebKit/.test(d3_window.navigator.userAgent) ? -1 : 0;- function d3_mousePoint(container, e) {- var svg = container.ownerSVGElement || container;- if (svg.createSVGPoint) {- var point = svg.createSVGPoint();- if (d3_mouse_bug44083 < 0 && (d3_window.scrollX || d3_window.scrollY)) {- svg = d3.select("body").append("svg").style({- position: "absolute",- top: 0,- left: 0,- margin: 0,- padding: 0,- border: "none"- }, "important");- var ctm = svg[0][0].getScreenCTM();- d3_mouse_bug44083 = !(ctm.f || ctm.e);- svg.remove();- }- if (d3_mouse_bug44083) {- point.x = e.pageX;- point.y = e.pageY;- } else {- point.x = e.clientX;- point.y = e.clientY;- }- point = point.matrixTransform(container.getScreenCTM().inverse());- return [ point.x, point.y ];- }- var rect = container.getBoundingClientRect();- return [ e.clientX - rect.left - container.clientLeft, e.clientY - rect.top - container.clientTop ];- }- var d3_array = d3_arraySlice;- function d3_arrayCopy(pseudoarray) {- var i = -1, n = pseudoarray.length, array = [];- while (++i < n) array.push(pseudoarray[i]);- return array;- }- function d3_arraySlice(pseudoarray) {- return Array.prototype.slice.call(pseudoarray);- }- try {- d3_array(d3_documentElement.childNodes)[0].nodeType;- } catch (e) {- d3_array = d3_arrayCopy;- }- var d3_arraySubclass = [].__proto__ ? function(array, prototype) {- array.__proto__ = prototype;- } : function(array, prototype) {- for (var property in prototype) array[property] = prototype[property];- };- d3.touches = function(container, touches) {- if (arguments.length < 2) touches = d3_eventSource().touches;- return touches ? d3_array(touches).map(function(touch) {- var point = d3_mousePoint(container, touch);- point.identifier = touch.identifier;- return point;- }) : [];- };- function d3_vendorSymbol(object, name) {- if (name in object) return name;- name = name.charAt(0).toUpperCase() + name.substring(1);- for (var i = 0, n = d3_vendorPrefixes.length; i < n; ++i) {- var prefixName = d3_vendorPrefixes[i] + name;- if (prefixName in object) return prefixName;- }- }- var d3_vendorPrefixes = [ "webkit", "ms", "moz", "Moz", "o", "O" ];- var d3_event_userSelectProperty = d3_vendorSymbol(d3_documentElement.style, "userSelect"), d3_event_userSelectSuppress = d3_event_userSelectProperty ? function() {- var style = d3_documentElement.style, select = style[d3_event_userSelectProperty];- style[d3_event_userSelectProperty] = "none";- return function() {- style[d3_event_userSelectProperty] = select;- };- } : function(type) {- var w = d3.select(d3_window).on("selectstart." + type, d3_eventCancel);- return function() {- w.on("selectstart." + type, null);- };- };- d3.behavior.drag = function() {- var event = d3_eventDispatch(drag, "drag", "dragstart", "dragend"), origin = null;- function drag() {- this.on("mousedown.drag", mousedown).on("touchstart.drag", mousedown);- }- function mousedown() {- var target = this, event_ = event.of(target, arguments), eventTarget = d3.event.target, touchId = d3.event.touches ? d3.event.changedTouches[0].identifier : null, offset, origin_ = point(), moved = 0, selectEnable = d3_event_userSelectSuppress(touchId != null ? "drag-" + touchId : "drag");- var w = d3.select(d3_window).on(touchId != null ? "touchmove.drag-" + touchId : "mousemove.drag", dragmove).on(touchId != null ? "touchend.drag-" + touchId : "mouseup.drag", dragend, true);- if (origin) {- offset = origin.apply(target, arguments);- offset = [ offset.x - origin_[0], offset.y - origin_[1] ];- } else {- offset = [ 0, 0 ];- }- event_({- type: "dragstart"- });- function point() {- var p = target.parentNode;- return touchId != null ? d3.touches(p).filter(function(p) {- return p.identifier === touchId;- })[0] : d3.mouse(p);- }- function dragmove() {- if (!target.parentNode) return dragend();- var p = point(), dx = p[0] - origin_[0], dy = p[1] - origin_[1];- moved |= dx | dy;- origin_ = p;- d3_eventCancel();- event_({- type: "drag",- x: p[0] + offset[0],- y: p[1] + offset[1],- dx: dx,- dy: dy- });- }- function dragend() {- event_({- type: "dragend"- });- if (moved) {- d3_eventCancel();- if (d3.event.target === eventTarget) d3_eventSuppress(w, "click");- }- w.on(touchId != null ? "touchmove.drag-" + touchId : "mousemove.drag", null).on(touchId != null ? "touchend.drag-" + touchId : "mouseup.drag", null);- selectEnable();- }- }- drag.origin = function(x) {- if (!arguments.length) return origin;- origin = x;- return drag;- };- return d3.rebind(drag, event, "on");- };- function d3_selection(groups) {- d3_arraySubclass(groups, d3_selectionPrototype);- return groups;- }- var d3_select = function(s, n) {- return n.querySelector(s);- }, d3_selectAll = function(s, n) {- return n.querySelectorAll(s);- }, d3_selectMatcher = d3_documentElement[d3_vendorSymbol(d3_documentElement, "matchesSelector")], d3_selectMatches = function(n, s) {- return d3_selectMatcher.call(n, s);- };- if (typeof Sizzle === "function") {- d3_select = function(s, n) {- return Sizzle(s, n)[0] || null;- };- d3_selectAll = function(s, n) {- return Sizzle.uniqueSort(Sizzle(s, n));- };- d3_selectMatches = Sizzle.matchesSelector;- }- d3.selection = function() {- return d3_selectionRoot;- };- var d3_selectionPrototype = d3.selection.prototype = [];- d3_selectionPrototype.select = function(selector) {- var subgroups = [], subgroup, subnode, group, node;- if (typeof selector !== "function") selector = d3_selection_selector(selector);- for (var j = -1, m = this.length; ++j < m; ) {- subgroups.push(subgroup = []);- subgroup.parentNode = (group = this[j]).parentNode;- for (var i = -1, n = group.length; ++i < n; ) {- if (node = group[i]) {- subgroup.push(subnode = selector.call(node, node.__data__, i));- if (subnode && "__data__" in node) subnode.__data__ = node.__data__;- } else {- subgroup.push(null);- }- }- }- return d3_selection(subgroups);- };- function d3_selection_selector(selector) {- return function() {- return d3_select(selector, this);- };- }- d3_selectionPrototype.selectAll = function(selector) {- var subgroups = [], subgroup, node;- if (typeof selector !== "function") selector = d3_selection_selectorAll(selector);- for (var j = -1, m = this.length; ++j < m; ) {- for (var group = this[j], i = -1, n = group.length; ++i < n; ) {- if (node = group[i]) {- subgroups.push(subgroup = d3_array(selector.call(node, node.__data__, i)));- subgroup.parentNode = node;- }- }- }- return d3_selection(subgroups);- };- function d3_selection_selectorAll(selector) {- return function() {- return d3_selectAll(selector, this);- };- }- var d3_nsPrefix = {- svg: "http://www.w3.org/2000/svg",- xhtml: "http://www.w3.org/1999/xhtml",- xlink: "http://www.w3.org/1999/xlink",- xml: "http://www.w3.org/XML/1998/namespace",- xmlns: "http://www.w3.org/2000/xmlns/"- };- d3.ns = {- prefix: d3_nsPrefix,- qualify: function(name) {- var i = name.indexOf(":"), prefix = name;- if (i >= 0) {- prefix = name.substring(0, i);- name = name.substring(i + 1);- }- return d3_nsPrefix.hasOwnProperty(prefix) ? {- space: d3_nsPrefix[prefix],- local: name- } : name;- }- };- d3_selectionPrototype.attr = function(name, value) {- if (arguments.length < 2) {- if (typeof name === "string") {- var node = this.node();- name = d3.ns.qualify(name);- return name.local ? node.getAttributeNS(name.space, name.local) : node.getAttribute(name);- }- for (value in name) this.each(d3_selection_attr(value, name[value]));- return this;- }- return this.each(d3_selection_attr(name, value));- };- function d3_selection_attr(name, value) {- name = d3.ns.qualify(name);- function attrNull() {- this.removeAttribute(name);- }- function attrNullNS() {- this.removeAttributeNS(name.space, name.local);- }- function attrConstant() {- this.setAttribute(name, value);- }- function attrConstantNS() {- this.setAttributeNS(name.space, name.local, value);- }- function attrFunction() {- var x = value.apply(this, arguments);- if (x == null) this.removeAttribute(name); else this.setAttribute(name, x);- }- function attrFunctionNS() {- var x = value.apply(this, arguments);- if (x == null) this.removeAttributeNS(name.space, name.local); else this.setAttributeNS(name.space, name.local, x);- }- return value == null ? name.local ? attrNullNS : attrNull : typeof value === "function" ? name.local ? attrFunctionNS : attrFunction : name.local ? attrConstantNS : attrConstant;- }- function d3_collapse(s) {- return s.trim().replace(/\s+/g, " ");- }- d3.requote = function(s) {- return s.replace(d3_requote_re, "\\$&");- };- var d3_requote_re = /[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;- d3_selectionPrototype.classed = function(name, value) {- if (arguments.length < 2) {- if (typeof name === "string") {- var node = this.node(), n = (name = name.trim().split(/^|\s+/g)).length, i = -1;- if (value = node.classList) {- while (++i < n) if (!value.contains(name[i])) return false;- } else {- value = node.getAttribute("class");- while (++i < n) if (!d3_selection_classedRe(name[i]).test(value)) return false;- }- return true;- }- for (value in name) this.each(d3_selection_classed(value, name[value]));- return this;- }- return this.each(d3_selection_classed(name, value));- };- function d3_selection_classedRe(name) {- return new RegExp("(?:^|\\s+)" + d3.requote(name) + "(?:\\s+|$)", "g");- }- function d3_selection_classed(name, value) {- name = name.trim().split(/\s+/).map(d3_selection_classedName);- var n = name.length;- function classedConstant() {- var i = -1;- while (++i < n) name[i](this, value);- }- function classedFunction() {- var i = -1, x = value.apply(this, arguments);- while (++i < n) name[i](this, x);- }- return typeof value === "function" ? classedFunction : classedConstant;- }- function d3_selection_classedName(name) {- var re = d3_selection_classedRe(name);- return function(node, value) {- if (c = node.classList) return value ? c.add(name) : c.remove(name);- var c = node.getAttribute("class") || "";- if (value) {- re.lastIndex = 0;- if (!re.test(c)) node.setAttribute("class", d3_collapse(c + " " + name));- } else {- node.setAttribute("class", d3_collapse(c.replace(re, " ")));- }- };- }- d3_selectionPrototype.style = function(name, value, priority) {- var n = arguments.length;- if (n < 3) {- if (typeof name !== "string") {- if (n < 2) value = "";- for (priority in name) this.each(d3_selection_style(priority, name[priority], value));- return this;- }- if (n < 2) return d3_window.getComputedStyle(this.node(), null).getPropertyValue(name);- priority = "";- }- return this.each(d3_selection_style(name, value, priority));- };- function d3_selection_style(name, value, priority) {- function styleNull() {- this.style.removeProperty(name);- }- function styleConstant() {- this.style.setProperty(name, value, priority);- }- function styleFunction() {- var x = value.apply(this, arguments);- if (x == null) this.style.removeProperty(name); else this.style.setProperty(name, x, priority);- }- return value == null ? styleNull : typeof value === "function" ? styleFunction : styleConstant;- }- d3_selectionPrototype.property = function(name, value) {- if (arguments.length < 2) {- if (typeof name === "string") return this.node()[name];- for (value in name) this.each(d3_selection_property(value, name[value]));- return this;- }- return this.each(d3_selection_property(name, value));- };- function d3_selection_property(name, value) {- function propertyNull() {- delete this[name];- }- function propertyConstant() {- this[name] = value;- }- function propertyFunction() {- var x = value.apply(this, arguments);- if (x == null) delete this[name]; else this[name] = x;- }- return value == null ? propertyNull : typeof value === "function" ? propertyFunction : propertyConstant;- }- d3_selectionPrototype.text = function(value) {- return arguments.length ? this.each(typeof value === "function" ? function() {- var v = value.apply(this, arguments);- this.textContent = v == null ? "" : v;- } : value == null ? function() {- this.textContent = "";- } : function() {- this.textContent = value;- }) : this.node().textContent;- };- d3_selectionPrototype.html = function(value) {- return arguments.length ? this.each(typeof value === "function" ? function() {- var v = value.apply(this, arguments);- this.innerHTML = v == null ? "" : v;- } : value == null ? function() {- this.innerHTML = "";- } : function() {- this.innerHTML = value;- }) : this.node().innerHTML;- };- d3_selectionPrototype.append = function(name) {- name = d3.ns.qualify(name);- function append() {- return this.appendChild(d3_document.createElementNS(this.namespaceURI, name));- }- function appendNS() {- return this.appendChild(d3_document.createElementNS(name.space, name.local));- }- return this.select(name.local ? appendNS : append);- };- d3_selectionPrototype.insert = function(name, before) {- name = d3.ns.qualify(name);- if (typeof before !== "function") before = d3_selection_selector(before);- function insert(d, i) {- return this.insertBefore(d3_document.createElementNS(this.namespaceURI, name), before.call(this, d, i));- }- function insertNS(d, i) {- return this.insertBefore(d3_document.createElementNS(name.space, name.local), before.call(this, d, i));- }- return this.select(name.local ? insertNS : insert);- };- d3_selectionPrototype.remove = function() {- return this.each(function() {- var parent = this.parentNode;- if (parent) parent.removeChild(this);- });- };- d3_selectionPrototype.data = function(value, key) {- var i = -1, n = this.length, group, node;- if (!arguments.length) {- value = new Array(n = (group = this[0]).length);- while (++i < n) {- if (node = group[i]) {- value[i] = node.__data__;- }- }- return value;- }- function bind(group, groupData) {- var i, n = group.length, m = groupData.length, n0 = Math.min(n, m), updateNodes = new Array(m), enterNodes = new Array(m), exitNodes = new Array(n), node, nodeData;- if (key) {- var nodeByKeyValue = new d3_Map(), dataByKeyValue = new d3_Map(), keyValues = [], keyValue;- for (i = -1; ++i < n; ) {- keyValue = key.call(node = group[i], node.__data__, i);- if (nodeByKeyValue.has(keyValue)) {- exitNodes[i] = node;- } else {- nodeByKeyValue.set(keyValue, node);- }- keyValues.push(keyValue);- }- for (i = -1; ++i < m; ) {- keyValue = key.call(groupData, nodeData = groupData[i], i);- if (node = nodeByKeyValue.get(keyValue)) {- updateNodes[i] = node;- node.__data__ = nodeData;- } else if (!dataByKeyValue.has(keyValue)) {- enterNodes[i] = d3_selection_dataNode(nodeData);- }- dataByKeyValue.set(keyValue, nodeData);- nodeByKeyValue.remove(keyValue);- }- for (i = -1; ++i < n; ) {- if (nodeByKeyValue.has(keyValues[i])) {- exitNodes[i] = group[i];- }- }- } else {- for (i = -1; ++i < n0; ) {- node = group[i];- nodeData = groupData[i];- if (node) {- node.__data__ = nodeData;- updateNodes[i] = node;- } else {- enterNodes[i] = d3_selection_dataNode(nodeData);- }- }- for (;i < m; ++i) {- enterNodes[i] = d3_selection_dataNode(groupData[i]);- }- for (;i < n; ++i) {- exitNodes[i] = group[i];- }- }- enterNodes.update = updateNodes;- enterNodes.parentNode = updateNodes.parentNode = exitNodes.parentNode = group.parentNode;- enter.push(enterNodes);- update.push(updateNodes);- exit.push(exitNodes);- }- var enter = d3_selection_enter([]), update = d3_selection([]), exit = d3_selection([]);- if (typeof value === "function") {- while (++i < n) {- bind(group = this[i], value.call(group, group.parentNode.__data__, i));- }- } else {- while (++i < n) {- bind(group = this[i], value);- }- }- update.enter = function() {- return enter;- };- update.exit = function() {- return exit;- };- return update;- };- function d3_selection_dataNode(data) {- return {- __data__: data- };- }- d3_selectionPrototype.datum = function(value) {- return arguments.length ? this.property("__data__", value) : this.property("__data__");- };- d3_selectionPrototype.filter = function(filter) {- var subgroups = [], subgroup, group, node;- if (typeof filter !== "function") filter = d3_selection_filter(filter);- for (var j = 0, m = this.length; j < m; j++) {- subgroups.push(subgroup = []);- subgroup.parentNode = (group = this[j]).parentNode;- for (var i = 0, n = group.length; i < n; i++) {- if ((node = group[i]) && filter.call(node, node.__data__, i)) {- subgroup.push(node);- }- }- }- return d3_selection(subgroups);- };- function d3_selection_filter(selector) {- return function() {- return d3_selectMatches(this, selector);- };- }- d3_selectionPrototype.order = function() {- for (var j = -1, m = this.length; ++j < m; ) {- for (var group = this[j], i = group.length - 1, next = group[i], node; --i >= 0; ) {- if (node = group[i]) {- if (next && next !== node.nextSibling) next.parentNode.insertBefore(node, next);- next = node;- }- }- }- return this;- };- d3_selectionPrototype.sort = function(comparator) {- comparator = d3_selection_sortComparator.apply(this, arguments);- for (var j = -1, m = this.length; ++j < m; ) this[j].sort(comparator);- return this.order();- };- function d3_selection_sortComparator(comparator) {- if (!arguments.length) comparator = d3.ascending;- return function(a, b) {- return !a - !b || comparator(a.__data__, b.__data__);- };- }- function d3_noop() {}- d3_selectionPrototype.on = function(type, listener, capture) {- var n = arguments.length;- if (n < 3) {- if (typeof type !== "string") {- if (n < 2) listener = false;- for (capture in type) this.each(d3_selection_on(capture, type[capture], listener));- return this;- }- if (n < 2) return (n = this.node()["__on" + type]) && n._;- capture = false;- }- return this.each(d3_selection_on(type, listener, capture));- };- function d3_selection_on(type, listener, capture) {- var name = "__on" + type, i = type.indexOf("."), wrap = d3_selection_onListener;- if (i > 0) type = type.substring(0, i);- var filter = d3_selection_onFilters.get(type);- if (filter) type = filter, wrap = d3_selection_onFilter;- function onRemove() {- var l = this[name];- if (l) {- this.removeEventListener(type, l, l.$);- delete this[name];- }- }- function onAdd() {- var l = wrap(listener, d3_array(arguments));- onRemove.call(this);- this.addEventListener(type, this[name] = l, l.$ = capture);- l._ = listener;- }- function removeAll() {- var re = new RegExp("^__on([^.]+)" + d3.requote(type) + "$"), match;- for (var name in this) {- if (match = name.match(re)) {- var l = this[name];- this.removeEventListener(match[1], l, l.$);- delete this[name];- }- }- }- return i ? listener ? onAdd : onRemove : listener ? d3_noop : removeAll;- }- var d3_selection_onFilters = d3.map({- mouseenter: "mouseover",- mouseleave: "mouseout"- });- d3_selection_onFilters.forEach(function(k) {- if ("on" + k in d3_document) d3_selection_onFilters.remove(k);- });- function d3_selection_onListener(listener, argumentz) {- return function(e) {- var o = d3.event;- d3.event = e;- argumentz[0] = this.__data__;- try {- listener.apply(this, argumentz);- } finally {- d3.event = o;- }- };- }- function d3_selection_onFilter(listener, argumentz) {- var l = d3_selection_onListener(listener, argumentz);- return function(e) {- var target = this, related = e.relatedTarget;- if (!related || related !== target && !(related.compareDocumentPosition(target) & 8)) {- l.call(target, e);- }- };- }- d3_selectionPrototype.each = function(callback) {- return d3_selection_each(this, function(node, i, j) {- callback.call(node, node.__data__, i, j);- });- };- function d3_selection_each(groups, callback) {- for (var j = 0, m = groups.length; j < m; j++) {- for (var group = groups[j], i = 0, n = group.length, node; i < n; i++) {- if (node = group[i]) callback(node, i, j);- }- }- return groups;- }- d3_selectionPrototype.call = function(callback) {- var args = d3_array(arguments);- callback.apply(args[0] = this, args);- return this;- };- d3_selectionPrototype.empty = function() {- return !this.node();- };- d3_selectionPrototype.node = function() {- for (var j = 0, m = this.length; j < m; j++) {- for (var group = this[j], i = 0, n = group.length; i < n; i++) {- var node = group[i];- if (node) return node;- }- }- return null;- };- d3_selectionPrototype.size = function() {- var n = 0;- this.each(function() {- ++n;- });- return n;- };- function d3_selection_enter(selection) {- d3_arraySubclass(selection, d3_selection_enterPrototype);- return selection;- }- var d3_selection_enterPrototype = [];- d3.selection.enter = d3_selection_enter;- d3.selection.enter.prototype = d3_selection_enterPrototype;- d3_selection_enterPrototype.append = d3_selectionPrototype.append;- d3_selection_enterPrototype.insert = d3_selectionPrototype.insert;- d3_selection_enterPrototype.empty = d3_selectionPrototype.empty;- d3_selection_enterPrototype.node = d3_selectionPrototype.node;- d3_selection_enterPrototype.call = d3_selectionPrototype.call;- d3_selection_enterPrototype.size = d3_selectionPrototype.size;- d3_selection_enterPrototype.select = function(selector) {- var subgroups = [], subgroup, subnode, upgroup, group, node;- for (var j = -1, m = this.length; ++j < m; ) {- upgroup = (group = this[j]).update;- subgroups.push(subgroup = []);- subgroup.parentNode = group.parentNode;- for (var i = -1, n = group.length; ++i < n; ) {- if (node = group[i]) {- subgroup.push(upgroup[i] = subnode = selector.call(group.parentNode, node.__data__, i));- subnode.__data__ = node.__data__;- } else {- subgroup.push(null);- }- }- }- return d3_selection(subgroups);- };- d3_selectionPrototype.transition = function() {- var id = d3_transitionInheritId || ++d3_transitionId, subgroups = [], subgroup, node, transition = Object.create(d3_transitionInherit);- transition.time = Date.now();- for (var j = -1, m = this.length; ++j < m; ) {- subgroups.push(subgroup = []);- for (var group = this[j], i = -1, n = group.length; ++i < n; ) {- if (node = group[i]) d3_transitionNode(node, i, id, transition);- subgroup.push(node);- }- }- return d3_transition(subgroups, id);- };- d3.select = function(node) {- var group = [ typeof node === "string" ? d3_select(node, d3_document) : node ];- group.parentNode = d3_documentElement;- return d3_selection([ group ]);- };- d3.selectAll = function(nodes) {- var group = d3_array(typeof nodes === "string" ? d3_selectAll(nodes, d3_document) : nodes);- group.parentNode = d3_documentElement;- return d3_selection([ group ]);- };- var d3_selectionRoot = d3.select(d3_documentElement);- d3.behavior.zoom = function() {- var translate = [ 0, 0 ], translate0, scale = 1, scale0, scaleExtent = d3_behavior_zoomInfinity, event = d3_eventDispatch(zoom, "zoom"), x0, x1, y0, y1, touchtime;- function zoom() {- this.on("mousedown.zoom", mousedown).on("mousemove.zoom", mousemove).on(d3_behavior_zoomWheel + ".zoom", mousewheel).on("dblclick.zoom", dblclick).on("touchstart.zoom", touchstart).on("touchmove.zoom", touchmove).on("touchend.zoom", touchstart);- }- zoom.translate = function(x) {- if (!arguments.length) return translate;- translate = x.map(Number);- rescale();- return zoom;- };- zoom.scale = function(x) {- if (!arguments.length) return scale;- scale = +x;- rescale();- return zoom;- };- zoom.scaleExtent = function(x) {- if (!arguments.length) return scaleExtent;- scaleExtent = x == null ? d3_behavior_zoomInfinity : x.map(Number);- return zoom;- };- zoom.x = function(z) {- if (!arguments.length) return x1;- x1 = z;- x0 = z.copy();- translate = [ 0, 0 ];- scale = 1;- return zoom;- };- zoom.y = function(z) {- if (!arguments.length) return y1;- y1 = z;- y0 = z.copy();- translate = [ 0, 0 ];- scale = 1;- return zoom;- };- function location(p) {- return [ (p[0] - translate[0]) / scale, (p[1] - translate[1]) / scale ];- }- function point(l) {- return [ l[0] * scale + translate[0], l[1] * scale + translate[1] ];- }- function scaleTo(s) {- scale = Math.max(scaleExtent[0], Math.min(scaleExtent[1], s));- }- function translateTo(p, l) {- l = point(l);- translate[0] += p[0] - l[0];- translate[1] += p[1] - l[1];- }- function rescale() {- if (x1) x1.domain(x0.range().map(function(x) {- return (x - translate[0]) / scale;- }).map(x0.invert));- if (y1) y1.domain(y0.range().map(function(y) {- return (y - translate[1]) / scale;- }).map(y0.invert));- }- function dispatch(event) {- rescale();- d3.event.preventDefault();- event({- type: "zoom",- scale: scale,- translate: translate- });- }- function mousedown() {- var target = this, event_ = event.of(target, arguments), eventTarget = d3.event.target, moved = 0, w = d3.select(d3_window).on("mousemove.zoom", mousemove).on("mouseup.zoom", mouseup), l = location(d3.mouse(target)), selectEnable = d3_event_userSelectSuppress("zoom");- function mousemove() {- moved = 1;- translateTo(d3.mouse(target), l);- dispatch(event_);- }- function mouseup() {- if (moved) d3_eventCancel();- w.on("mousemove.zoom", null).on("mouseup.zoom", null);- selectEnable();- if (moved && d3.event.target === eventTarget) d3_eventSuppress(w, "click.zoom");- }- }- function mousewheel() {- if (!translate0) translate0 = location(d3.mouse(this));- scaleTo(Math.pow(2, d3_behavior_zoomDelta() * .002) * scale);- translateTo(d3.mouse(this), translate0);- dispatch(event.of(this, arguments));- }- function mousemove() {- translate0 = null;- }- function dblclick() {- var p = d3.mouse(this), l = location(p), k = Math.log(scale) / Math.LN2;- scaleTo(Math.pow(2, d3.event.shiftKey ? Math.ceil(k) - 1 : Math.floor(k) + 1));- translateTo(p, l);- dispatch(event.of(this, arguments));- }- function touchstart() {- var touches = d3.touches(this), now = Date.now();- scale0 = scale;- translate0 = {};- touches.forEach(function(t) {- translate0[t.identifier] = location(t);- });- if (touches.length === 1) {- if (now - touchtime < 500) {- var p = touches[0], l = location(touches[0]);- scaleTo(scale * 2);- translateTo(p, l);- dispatch(event.of(this, arguments));- }- touchtime = now;- }- }- function touchmove() {- var touches = d3.touches(this), p0 = touches[0], l0 = translate0[p0.identifier];- if (p1 = touches[1]) {- var p1, l1 = translate0[p1.identifier];- p0 = [ (p0[0] + p1[0]) / 2, (p0[1] + p1[1]) / 2 ];- l0 = [ (l0[0] + l1[0]) / 2, (l0[1] + l1[1]) / 2 ];- scaleTo(d3.event.scale * scale0);- }- translateTo(p0, l0);- touchtime = null;- dispatch(event.of(this, arguments));- }- return d3.rebind(zoom, event, "on");- };- var d3_behavior_zoomInfinity = [ 0, Infinity ];- var d3_behavior_zoomDelta, d3_behavior_zoomWheel = "onwheel" in d3_document ? (d3_behavior_zoomDelta = function() {- return -d3.event.deltaY * (d3.event.deltaMode ? 120 : 1);- }, "wheel") : "onmousewheel" in d3_document ? (d3_behavior_zoomDelta = function() {- return d3.event.wheelDelta;- }, "mousewheel") : (d3_behavior_zoomDelta = function() {- return -d3.event.detail;- }, "MozMousePixelScroll");- function d3_Color() {}- d3_Color.prototype.toString = function() {- return this.rgb() + "";- };- d3.hsl = function(h, s, l) {- return arguments.length === 1 ? h instanceof d3_Hsl ? d3_hsl(h.h, h.s, h.l) : d3_rgb_parse("" + h, d3_rgb_hsl, d3_hsl) : d3_hsl(+h, +s, +l);- };- function d3_hsl(h, s, l) {- return new d3_Hsl(h, s, l);- }- function d3_Hsl(h, s, l) {- this.h = h;- this.s = s;- this.l = l;- }- var d3_hslPrototype = d3_Hsl.prototype = new d3_Color();- d3_hslPrototype.brighter = function(k) {- k = Math.pow(.7, arguments.length ? k : 1);- return d3_hsl(this.h, this.s, this.l / k);- };- d3_hslPrototype.darker = function(k) {- k = Math.pow(.7, arguments.length ? k : 1);- return d3_hsl(this.h, this.s, k * this.l);- };- d3_hslPrototype.rgb = function() {- return d3_hsl_rgb(this.h, this.s, this.l);- };- function d3_hsl_rgb(h, s, l) {- var m1, m2;- h = isNaN(h) ? 0 : (h %= 360) < 0 ? h + 360 : h;- s = isNaN(s) ? 0 : s < 0 ? 0 : s > 1 ? 1 : s;- l = l < 0 ? 0 : l > 1 ? 1 : l;- m2 = l <= .5 ? l * (1 + s) : l + s - l * s;- m1 = 2 * l - m2;- function v(h) {- if (h > 360) h -= 360; else if (h < 0) h += 360;- if (h < 60) return m1 + (m2 - m1) * h / 60;- if (h < 180) return m2;- if (h < 240) return m1 + (m2 - m1) * (240 - h) / 60;- return m1;- }- function vv(h) {- return Math.round(v(h) * 255);- }- return d3_rgb(vv(h + 120), vv(h), vv(h - 120));- }- var π = Math.PI, ε = 1e-6, ε2 = ε * ε, d3_radians = π / 180, d3_degrees = 180 / π;- function d3_sgn(x) {- return x > 0 ? 1 : x < 0 ? -1 : 0;- }- function d3_acos(x) {- return x > 1 ? 0 : x < -1 ? π : Math.acos(x);- }- function d3_asin(x) {- return x > 1 ? π / 2 : x < -1 ? -π / 2 : Math.asin(x);- }- function d3_sinh(x) {- return (Math.exp(x) - Math.exp(-x)) / 2;- }- function d3_cosh(x) {- return (Math.exp(x) + Math.exp(-x)) / 2;- }- function d3_haversin(x) {- return (x = Math.sin(x / 2)) * x;- }- d3.hcl = function(h, c, l) {- return arguments.length === 1 ? h instanceof d3_Hcl ? d3_hcl(h.h, h.c, h.l) : h instanceof d3_Lab ? d3_lab_hcl(h.l, h.a, h.b) : d3_lab_hcl((h = d3_rgb_lab((h = d3.rgb(h)).r, h.g, h.b)).l, h.a, h.b) : d3_hcl(+h, +c, +l);- };- function d3_hcl(h, c, l) {- return new d3_Hcl(h, c, l);- }- function d3_Hcl(h, c, l) {- this.h = h;- this.c = c;- this.l = l;- }- var d3_hclPrototype = d3_Hcl.prototype = new d3_Color();- d3_hclPrototype.brighter = function(k) {- return d3_hcl(this.h, this.c, Math.min(100, this.l + d3_lab_K * (arguments.length ? k : 1)));- };- d3_hclPrototype.darker = function(k) {- return d3_hcl(this.h, this.c, Math.max(0, this.l - d3_lab_K * (arguments.length ? k : 1)));- };- d3_hclPrototype.rgb = function() {- return d3_hcl_lab(this.h, this.c, this.l).rgb();- };- function d3_hcl_lab(h, c, l) {- if (isNaN(h)) h = 0;- if (isNaN(c)) c = 0;- return d3_lab(l, Math.cos(h *= d3_radians) * c, Math.sin(h) * c);- }- d3.lab = function(l, a, b) {- return arguments.length === 1 ? l instanceof d3_Lab ? d3_lab(l.l, l.a, l.b) : l instanceof d3_Hcl ? d3_hcl_lab(l.l, l.c, l.h) : d3_rgb_lab((l = d3.rgb(l)).r, l.g, l.b) : d3_lab(+l, +a, +b);- };- function d3_lab(l, a, b) {- return new d3_Lab(l, a, b);- }- function d3_Lab(l, a, b) {- this.l = l;- this.a = a;- this.b = b;- }- var d3_lab_K = 18;- var d3_lab_X = .95047, d3_lab_Y = 1, d3_lab_Z = 1.08883;- var d3_labPrototype = d3_Lab.prototype = new d3_Color();- d3_labPrototype.brighter = function(k) {- return d3_lab(Math.min(100, this.l + d3_lab_K * (arguments.length ? k : 1)), this.a, this.b);- };- d3_labPrototype.darker = function(k) {- return d3_lab(Math.max(0, this.l - d3_lab_K * (arguments.length ? k : 1)), this.a, this.b);- };- d3_labPrototype.rgb = function() {- return d3_lab_rgb(this.l, this.a, this.b);- };- function d3_lab_rgb(l, a, b) {- var y = (l + 16) / 116, x = y + a / 500, z = y - b / 200;- x = d3_lab_xyz(x) * d3_lab_X;- y = d3_lab_xyz(y) * d3_lab_Y;- z = d3_lab_xyz(z) * d3_lab_Z;- return d3_rgb(d3_xyz_rgb(3.2404542 * x - 1.5371385 * y - .4985314 * z), d3_xyz_rgb(-.969266 * x + 1.8760108 * y + .041556 * z), d3_xyz_rgb(.0556434 * x - .2040259 * y + 1.0572252 * z));- }- function d3_lab_hcl(l, a, b) {- return l > 0 ? d3_hcl(Math.atan2(b, a) * d3_degrees, Math.sqrt(a * a + b * b), l) : d3_hcl(NaN, NaN, l);- }- function d3_lab_xyz(x) {- return x > .206893034 ? x * x * x : (x - 4 / 29) / 7.787037;- }- function d3_xyz_lab(x) {- return x > .008856 ? Math.pow(x, 1 / 3) : 7.787037 * x + 4 / 29;- }- function d3_xyz_rgb(r) {- return Math.round(255 * (r <= .00304 ? 12.92 * r : 1.055 * Math.pow(r, 1 / 2.4) - .055));- }- d3.rgb = function(r, g, b) {- return arguments.length === 1 ? r instanceof d3_Rgb ? d3_rgb(r.r, r.g, r.b) : d3_rgb_parse("" + r, d3_rgb, d3_hsl_rgb) : d3_rgb(~~r, ~~g, ~~b);- };- function d3_rgb(r, g, b) {- return new d3_Rgb(r, g, b);- }- function d3_Rgb(r, g, b) {- this.r = r;- this.g = g;- this.b = b;- }- var d3_rgbPrototype = d3_Rgb.prototype = new d3_Color();- d3_rgbPrototype.brighter = function(k) {- k = Math.pow(.7, arguments.length ? k : 1);- var r = this.r, g = this.g, b = this.b, i = 30;- if (!r && !g && !b) return d3_rgb(i, i, i);- if (r && r < i) r = i;- if (g && g < i) g = i;- if (b && b < i) b = i;- return d3_rgb(Math.min(255, Math.floor(r / k)), Math.min(255, Math.floor(g / k)), Math.min(255, Math.floor(b / k)));- };- d3_rgbPrototype.darker = function(k) {- k = Math.pow(.7, arguments.length ? k : 1);- return d3_rgb(Math.floor(k * this.r), Math.floor(k * this.g), Math.floor(k * this.b));- };- d3_rgbPrototype.hsl = function() {- return d3_rgb_hsl(this.r, this.g, this.b);- };- d3_rgbPrototype.toString = function() {- return "#" + d3_rgb_hex(this.r) + d3_rgb_hex(this.g) + d3_rgb_hex(this.b);- };- function d3_rgb_hex(v) {- return v < 16 ? "0" + Math.max(0, v).toString(16) : Math.min(255, v).toString(16);- }- function d3_rgb_parse(format, rgb, hsl) {- var r = 0, g = 0, b = 0, m1, m2, name;- m1 = /([a-z]+)\((.*)\)/i.exec(format);- if (m1) {- m2 = m1[2].split(",");- switch (m1[1]) {- case "hsl":- {- return hsl(parseFloat(m2[0]), parseFloat(m2[1]) / 100, parseFloat(m2[2]) / 100);- }-- case "rgb":- {- return rgb(d3_rgb_parseNumber(m2[0]), d3_rgb_parseNumber(m2[1]), d3_rgb_parseNumber(m2[2]));- }- }- }- if (name = d3_rgb_names.get(format)) return rgb(name.r, name.g, name.b);- if (format != null && format.charAt(0) === "#") {- if (format.length === 4) {- r = format.charAt(1);- r += r;- g = format.charAt(2);- g += g;- b = format.charAt(3);- b += b;- } else if (format.length === 7) {- r = format.substring(1, 3);- g = format.substring(3, 5);- b = format.substring(5, 7);- }- r = parseInt(r, 16);- g = parseInt(g, 16);- b = parseInt(b, 16);- }- return rgb(r, g, b);- }- function d3_rgb_hsl(r, g, b) {- var min = Math.min(r /= 255, g /= 255, b /= 255), max = Math.max(r, g, b), d = max - min, h, s, l = (max + min) / 2;- if (d) {- s = l < .5 ? d / (max + min) : d / (2 - max - min);- if (r == max) h = (g - b) / d + (g < b ? 6 : 0); else if (g == max) h = (b - r) / d + 2; else h = (r - g) / d + 4;- h *= 60;- } else {- h = NaN;- s = l > 0 && l < 1 ? 0 : h;- }- return d3_hsl(h, s, l);- }- function d3_rgb_lab(r, g, b) {- r = d3_rgb_xyz(r);- g = d3_rgb_xyz(g);- b = d3_rgb_xyz(b);- var x = d3_xyz_lab((.4124564 * r + .3575761 * g + .1804375 * b) / d3_lab_X), y = d3_xyz_lab((.2126729 * r + .7151522 * g + .072175 * b) / d3_lab_Y), z = d3_xyz_lab((.0193339 * r + .119192 * g + .9503041 * b) / d3_lab_Z);- return d3_lab(116 * y - 16, 500 * (x - y), 200 * (y - z));- }- function d3_rgb_xyz(r) {- return (r /= 255) <= .04045 ? r / 12.92 : Math.pow((r + .055) / 1.055, 2.4);- }- function d3_rgb_parseNumber(c) {- var f = parseFloat(c);- return c.charAt(c.length - 1) === "%" ? Math.round(f * 2.55) : f;- }- var d3_rgb_names = d3.map({- aliceblue: "#f0f8ff",- antiquewhite: "#faebd7",- aqua: "#00ffff",- aquamarine: "#7fffd4",- azure: "#f0ffff",- beige: "#f5f5dc",- bisque: "#ffe4c4",- black: "#000000",- blanchedalmond: "#ffebcd",- blue: "#0000ff",- blueviolet: "#8a2be2",- brown: "#a52a2a",- burlywood: "#deb887",- cadetblue: "#5f9ea0",- chartreuse: "#7fff00",- chocolate: "#d2691e",- coral: "#ff7f50",- cornflowerblue: "#6495ed",- cornsilk: "#fff8dc",- crimson: "#dc143c",- cyan: "#00ffff",- darkblue: "#00008b",- darkcyan: "#008b8b",- darkgoldenrod: "#b8860b",- darkgray: "#a9a9a9",- darkgreen: "#006400",- darkgrey: "#a9a9a9",- darkkhaki: "#bdb76b",- darkmagenta: "#8b008b",- darkolivegreen: "#556b2f",- darkorange: "#ff8c00",- darkorchid: "#9932cc",- darkred: "#8b0000",- darksalmon: "#e9967a",- darkseagreen: "#8fbc8f",- darkslateblue: "#483d8b",- darkslategray: "#2f4f4f",- darkslategrey: "#2f4f4f",- darkturquoise: "#00ced1",- darkviolet: "#9400d3",- deeppink: "#ff1493",- deepskyblue: "#00bfff",- dimgray: "#696969",- dimgrey: "#696969",- dodgerblue: "#1e90ff",- firebrick: "#b22222",- floralwhite: "#fffaf0",- forestgreen: "#228b22",- fuchsia: "#ff00ff",- gainsboro: "#dcdcdc",- ghostwhite: "#f8f8ff",- gold: "#ffd700",- goldenrod: "#daa520",- gray: "#808080",- green: "#008000",- greenyellow: "#adff2f",- grey: "#808080",- honeydew: "#f0fff0",- hotpink: "#ff69b4",- indianred: "#cd5c5c",- indigo: "#4b0082",- ivory: "#fffff0",- khaki: "#f0e68c",- lavender: "#e6e6fa",- lavenderblush: "#fff0f5",- lawngreen: "#7cfc00",- lemonchiffon: "#fffacd",- lightblue: "#add8e6",- lightcoral: "#f08080",- lightcyan: "#e0ffff",- lightgoldenrodyellow: "#fafad2",- lightgray: "#d3d3d3",- lightgreen: "#90ee90",- lightgrey: "#d3d3d3",- lightpink: "#ffb6c1",- lightsalmon: "#ffa07a",- lightseagreen: "#20b2aa",- lightskyblue: "#87cefa",- lightslategray: "#778899",- lightslategrey: "#778899",- lightsteelblue: "#b0c4de",- lightyellow: "#ffffe0",- lime: "#00ff00",- limegreen: "#32cd32",- linen: "#faf0e6",- magenta: "#ff00ff",- maroon: "#800000",- mediumaquamarine: "#66cdaa",- mediumblue: "#0000cd",- mediumorchid: "#ba55d3",- mediumpurple: "#9370db",- mediumseagreen: "#3cb371",- mediumslateblue: "#7b68ee",- mediumspringgreen: "#00fa9a",- mediumturquoise: "#48d1cc",- mediumvioletred: "#c71585",- midnightblue: "#191970",- mintcream: "#f5fffa",- mistyrose: "#ffe4e1",- moccasin: "#ffe4b5",- navajowhite: "#ffdead",- navy: "#000080",- oldlace: "#fdf5e6",- olive: "#808000",- olivedrab: "#6b8e23",- orange: "#ffa500",- orangered: "#ff4500",- orchid: "#da70d6",- palegoldenrod: "#eee8aa",- palegreen: "#98fb98",- paleturquoise: "#afeeee",- palevioletred: "#db7093",- papayawhip: "#ffefd5",- peachpuff: "#ffdab9",- peru: "#cd853f",- pink: "#ffc0cb",- plum: "#dda0dd",- powderblue: "#b0e0e6",- purple: "#800080",- red: "#ff0000",- rosybrown: "#bc8f8f",- royalblue: "#4169e1",- saddlebrown: "#8b4513",- salmon: "#fa8072",- sandybrown: "#f4a460",- seagreen: "#2e8b57",- seashell: "#fff5ee",- sienna: "#a0522d",- silver: "#c0c0c0",- skyblue: "#87ceeb",- slateblue: "#6a5acd",- slategray: "#708090",- slategrey: "#708090",- snow: "#fffafa",- springgreen: "#00ff7f",- steelblue: "#4682b4",- tan: "#d2b48c",- teal: "#008080",- thistle: "#d8bfd8",- tomato: "#ff6347",- turquoise: "#40e0d0",- violet: "#ee82ee",- wheat: "#f5deb3",- white: "#ffffff",- whitesmoke: "#f5f5f5",- yellow: "#ffff00",- yellowgreen: "#9acd32"- });- d3_rgb_names.forEach(function(key, value) {- d3_rgb_names.set(key, d3_rgb_parse(value, d3_rgb, d3_hsl_rgb));- });- function d3_functor(v) {- return typeof v === "function" ? v : function() {- return v;- };- }- d3.functor = d3_functor;- function d3_identity(d) {- return d;- }- d3.xhr = d3_xhrType(d3_identity);- function d3_xhrType(response) {- return function(url, mimeType, callback) {- if (arguments.length === 2 && typeof mimeType === "function") callback = mimeType,- mimeType = null;- return d3_xhr(url, mimeType, response, callback);- };- }- function d3_xhr(url, mimeType, response, callback) {- var xhr = {}, dispatch = d3.dispatch("progress", "load", "error"), headers = {}, request = new XMLHttpRequest(), responseType = null;- if (d3_window.XDomainRequest && !("withCredentials" in request) && /^(http(s)?:)?\/\//.test(url)) request = new XDomainRequest();- "onload" in request ? request.onload = request.onerror = respond : request.onreadystatechange = function() {- request.readyState > 3 && respond();- };- function respond() {- var status = request.status, result;- if (!status && request.responseText || status >= 200 && status < 300 || status === 304) {- try {- result = response.call(xhr, request);- } catch (e) {- dispatch.error.call(xhr, e);- return;- }- dispatch.load.call(xhr, result);- } else {- dispatch.error.call(xhr, request);- }- }- request.onprogress = function(event) {- var o = d3.event;- d3.event = event;- try {- dispatch.progress.call(xhr, request);- } finally {- d3.event = o;- }- };- xhr.header = function(name, value) {- name = (name + "").toLowerCase();- if (arguments.length < 2) return headers[name];- if (value == null) delete headers[name]; else headers[name] = value + "";- return xhr;- };- xhr.mimeType = function(value) {- if (!arguments.length) return mimeType;- mimeType = value == null ? null : value + "";- return xhr;- };- xhr.responseType = function(value) {- if (!arguments.length) return responseType;- responseType = value;- return xhr;- };- xhr.response = function(value) {- response = value;- return xhr;- };- [ "get", "post" ].forEach(function(method) {- xhr[method] = function() {- return xhr.send.apply(xhr, [ method ].concat(d3_array(arguments)));- };- });- xhr.send = function(method, data, callback) {- if (arguments.length === 2 && typeof data === "function") callback = data, data = null;- request.open(method, url, true);- if (mimeType != null && !("accept" in headers)) headers["accept"] = mimeType + ",*/*";- if (request.setRequestHeader) for (var name in headers) request.setRequestHeader(name, headers[name]);- if (mimeType != null && request.overrideMimeType) request.overrideMimeType(mimeType);- if (responseType != null) request.responseType = responseType;- if (callback != null) xhr.on("error", callback).on("load", function(request) {- callback(null, request);- });- request.send(data == null ? null : data);- return xhr;- };- xhr.abort = function() {- request.abort();- return xhr;- };- d3.rebind(xhr, dispatch, "on");- return callback == null ? xhr : xhr.get(d3_xhr_fixCallback(callback));- }- function d3_xhr_fixCallback(callback) {- return callback.length === 1 ? function(error, request) {- callback(error == null ? request : null);- } : callback;- }- d3.dsv = function(delimiter, mimeType) {- var reFormat = new RegExp('["' + delimiter + "\n]"), delimiterCode = delimiter.charCodeAt(0);- function dsv(url, row, callback) {- if (arguments.length < 3) callback = row, row = null;- var xhr = d3.xhr(url, mimeType, callback);- xhr.row = function(_) {- return arguments.length ? xhr.response((row = _) == null ? response : typedResponse(_)) : row;- };- return xhr.row(row);- }- function response(request) {- return dsv.parse(request.responseText);- }- function typedResponse(f) {- return function(request) {- return dsv.parse(request.responseText, f);- };- }- dsv.parse = function(text, f) {- var o;- return dsv.parseRows(text, function(row, i) {- if (o) return o(row, i - 1);- var a = new Function("d", "return {" + row.map(function(name, i) {- return JSON.stringify(name) + ": d[" + i + "]";- }).join(",") + "}");- o = f ? function(row, i) {- return f(a(row), i);- } : a;- });- };- dsv.parseRows = function(text, f) {- var EOL = {}, EOF = {}, rows = [], N = text.length, I = 0, n = 0, t, eol;- function token() {- if (I >= N) return EOF;- if (eol) return eol = false, EOL;- var j = I;- if (text.charCodeAt(j) === 34) {- var i = j;- while (i++ < N) {- if (text.charCodeAt(i) === 34) {- if (text.charCodeAt(i + 1) !== 34) break;- ++i;- }- }- I = i + 2;- var c = text.charCodeAt(i + 1);- if (c === 13) {- eol = true;- if (text.charCodeAt(i + 2) === 10) ++I;- } else if (c === 10) {- eol = true;- }- return text.substring(j + 1, i).replace(/""/g, '"');- }- while (I < N) {- var c = text.charCodeAt(I++), k = 1;- if (c === 10) eol = true; else if (c === 13) {- eol = true;- if (text.charCodeAt(I) === 10) ++I, ++k;- } else if (c !== delimiterCode) continue;- return text.substring(j, I - k);- }- return text.substring(j);- }- while ((t = token()) !== EOF) {- var a = [];- while (t !== EOL && t !== EOF) {- a.push(t);- t = token();- }- if (f && !(a = f(a, n++))) continue;- rows.push(a);- }- return rows;- };- dsv.format = function(rows) {- if (Array.isArray(rows[0])) return dsv.formatRows(rows);- var fieldSet = new d3_Set(), fields = [];- rows.forEach(function(row) {- for (var field in row) {- if (!fieldSet.has(field)) {- fields.push(fieldSet.add(field));- }- }- });- return [ fields.map(formatValue).join(delimiter) ].concat(rows.map(function(row) {- return fields.map(function(field) {- return formatValue(row[field]);- }).join(delimiter);- })).join("\n");- };- dsv.formatRows = function(rows) {- return rows.map(formatRow).join("\n");- };- function formatRow(row) {- return row.map(formatValue).join(delimiter);- }- function formatValue(text) {- return reFormat.test(text) ? '"' + text.replace(/\"/g, '""') + '"' : text;- }- return dsv;- };- d3.csv = d3.dsv(",", "text/csv");- d3.tsv = d3.dsv(" ", "text/tab-separated-values");- var d3_timer_queueHead, d3_timer_queueTail, d3_timer_interval, d3_timer_timeout;- d3.timer = function(callback, delay, then) {- if (arguments.length < 3) {- if (arguments.length < 2) delay = 0; else if (!isFinite(delay)) return;- then = Date.now();- }- var time = then + delay;- var timer = {- callback: callback,- time: time,- next: null- };- if (d3_timer_queueTail) d3_timer_queueTail.next = timer; else d3_timer_queueHead = timer;- d3_timer_queueTail = timer;- if (!d3_timer_interval) {- d3_timer_timeout = clearTimeout(d3_timer_timeout);- d3_timer_interval = 1;- d3_timer_frame(d3_timer_step);- }- };- function d3_timer_step() {- var now = d3_timer_mark(), delay = d3_timer_sweep() - now;- if (delay > 24) {- if (isFinite(delay)) {- clearTimeout(d3_timer_timeout);- d3_timer_timeout = setTimeout(d3_timer_step, delay);- }- d3_timer_interval = 0;- } else {- d3_timer_interval = 1;- d3_timer_frame(d3_timer_step);- }- }- d3.timer.flush = function() {- d3_timer_mark();- d3_timer_sweep();- };- function d3_timer_mark() {- var now = Date.now(), timer = d3_timer_queueHead;- while (timer) {- if (now >= timer.time) timer.flush = timer.callback(now - timer.time);- timer = timer.next;- }- return now;- }- function d3_timer_sweep() {- var t0, t1 = d3_timer_queueHead, time = Infinity;- while (t1) {- if (t1.flush) {- t1 = t0 ? t0.next = t1.next : d3_timer_queueHead = t1.next;- } else {- if (t1.time < time) time = t1.time;- t1 = (t0 = t1).next;- }- }- d3_timer_queueTail = t0;- return time;- }- var d3_timer_frame = d3_window[d3_vendorSymbol(d3_window, "requestAnimationFrame")] || function(callback) {- setTimeout(callback, 17);- };- var d3_format_decimalPoint = ".", d3_format_thousandsSeparator = ",", d3_format_grouping = [ 3, 3 ];- var d3_formatPrefixes = [ "y", "z", "a", "f", "p", "n", "µ", "m", "", "k", "M", "G", "T", "P", "E", "Z", "Y" ].map(d3_formatPrefix);- d3.formatPrefix = function(value, precision) {- var i = 0;- if (value) {- if (value < 0) value *= -1;- if (precision) value = d3.round(value, d3_format_precision(value, precision));- i = 1 + Math.floor(1e-12 + Math.log(value) / Math.LN10);- i = Math.max(-24, Math.min(24, Math.floor((i <= 0 ? i + 1 : i - 1) / 3) * 3));- }- return d3_formatPrefixes[8 + i / 3];- };- function d3_formatPrefix(d, i) {- var k = Math.pow(10, Math.abs(8 - i) * 3);- return {- scale: i > 8 ? function(d) {- return d / k;- } : function(d) {- return d * k;- },- symbol: d- };- }- d3.round = function(x, n) {- return n ? Math.round(x * (n = Math.pow(10, n))) / n : Math.round(x);- };- d3.format = function(specifier) {- var match = d3_format_re.exec(specifier), fill = match[1] || " ", align = match[2] || ">", sign = match[3] || "", basePrefix = match[4] || "", zfill = match[5], width = +match[6], comma = match[7], precision = match[8], type = match[9], scale = 1, suffix = "", integer = false;- if (precision) precision = +precision.substring(1);- if (zfill || fill === "0" && align === "=") {- zfill = fill = "0";- align = "=";- if (comma) width -= Math.floor((width - 1) / 4);- }- switch (type) {- case "n":- comma = true;- type = "g";- break;-- case "%":- scale = 100;- suffix = "%";- type = "f";- break;-- case "p":- scale = 100;- suffix = "%";- type = "r";- break;-- case "b":- case "o":- case "x":- case "X":- if (basePrefix) basePrefix = "0" + type.toLowerCase();-- case "c":- case "d":- integer = true;- precision = 0;- break;-- case "s":- scale = -1;- type = "r";- break;- }- if (basePrefix === "#") basePrefix = "";- if (type == "r" && !precision) type = "g";- if (precision != null) {- if (type == "g") precision = Math.max(1, Math.min(21, precision)); else if (type == "e" || type == "f") precision = Math.max(0, Math.min(20, precision));- }- type = d3_format_types.get(type) || d3_format_typeDefault;- var zcomma = zfill && comma;- return function(value) {- if (integer && value % 1) return "";- var negative = value < 0 || value === 0 && 1 / value < 0 ? (value = -value, "-") : sign;- if (scale < 0) {- var prefix = d3.formatPrefix(value, precision);- value = prefix.scale(value);- suffix = prefix.symbol;- } else {- value *= scale;- }- value = type(value, precision);- if (!zfill && comma) value = d3_format_group(value);- var length = basePrefix.length + value.length + (zcomma ? 0 : negative.length), padding = length < width ? new Array(length = width - length + 1).join(fill) : "";- if (zcomma) value = d3_format_group(padding + value);- if (d3_format_decimalPoint) value.replace(".", d3_format_decimalPoint);- negative += basePrefix;- return (align === "<" ? negative + value + padding : align === ">" ? padding + negative + value : align === "^" ? padding.substring(0, length >>= 1) + negative + value + padding.substring(length) : negative + (zcomma ? value : padding + value)) + suffix;- };- };- var d3_format_re = /(?:([^{])?([<>=^]))?([+\- ])?(#)?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i;- var d3_format_types = d3.map({- b: function(x) {- return x.toString(2);- },- c: function(x) {- return String.fromCharCode(x);- },- o: function(x) {- return x.toString(8);- },- x: function(x) {- return x.toString(16);- },- X: function(x) {- return x.toString(16).toUpperCase();- },- g: function(x, p) {- return x.toPrecision(p);- },- e: function(x, p) {- return x.toExponential(p);- },- f: function(x, p) {- return x.toFixed(p);- },- r: function(x, p) {- return (x = d3.round(x, d3_format_precision(x, p))).toFixed(Math.max(0, Math.min(20, d3_format_precision(x * (1 + 1e-15), p))));- }- });- function d3_format_precision(x, p) {- return p - (x ? Math.ceil(Math.log(x) / Math.LN10) : 1);- }- function d3_format_typeDefault(x) {- return x + "";- }- var d3_format_group = d3_identity;- if (d3_format_grouping) {- var d3_format_groupingLength = d3_format_grouping.length;- d3_format_group = function(value) {- var i = value.lastIndexOf("."), f = i >= 0 ? "." + value.substring(i + 1) : (i = value.length,- ""), t = [], j = 0, g = d3_format_grouping[0];- while (i > 0 && g > 0) {- t.push(value.substring(i -= g, i + g));- g = d3_format_grouping[j = (j + 1) % d3_format_groupingLength];- }- return t.reverse().join(d3_format_thousandsSeparator || "") + f;- };- }- d3.geo = {};- function d3_adder() {}- d3_adder.prototype = {- s: 0,- t: 0,- add: function(y) {- d3_adderSum(y, this.t, d3_adderTemp);- d3_adderSum(d3_adderTemp.s, this.s, this);- if (this.s) this.t += d3_adderTemp.t; else this.s = d3_adderTemp.t;- },- reset: function() {- this.s = this.t = 0;- },- valueOf: function() {- return this.s;- }- };- var d3_adderTemp = new d3_adder();- function d3_adderSum(a, b, o) {- var x = o.s = a + b, bv = x - a, av = x - bv;- o.t = a - av + (b - bv);- }- d3.geo.stream = function(object, listener) {- if (object && d3_geo_streamObjectType.hasOwnProperty(object.type)) {- d3_geo_streamObjectType[object.type](object, listener);- } else {- d3_geo_streamGeometry(object, listener);- }- };- function d3_geo_streamGeometry(geometry, listener) {- if (geometry && d3_geo_streamGeometryType.hasOwnProperty(geometry.type)) {- d3_geo_streamGeometryType[geometry.type](geometry, listener);- }- }- var d3_geo_streamObjectType = {- Feature: function(feature, listener) {- d3_geo_streamGeometry(feature.geometry, listener);- },- FeatureCollection: function(object, listener) {- var features = object.features, i = -1, n = features.length;- while (++i < n) d3_geo_streamGeometry(features[i].geometry, listener);- }- };- var d3_geo_streamGeometryType = {- Sphere: function(object, listener) {- listener.sphere();- },- Point: function(object, listener) {- var coordinate = object.coordinates;- listener.point(coordinate[0], coordinate[1]);- },- MultiPoint: function(object, listener) {- var coordinates = object.coordinates, i = -1, n = coordinates.length, coordinate;- while (++i < n) coordinate = coordinates[i], listener.point(coordinate[0], coordinate[1]);- },- LineString: function(object, listener) {- d3_geo_streamLine(object.coordinates, listener, 0);- },- MultiLineString: function(object, listener) {- var coordinates = object.coordinates, i = -1, n = coordinates.length;- while (++i < n) d3_geo_streamLine(coordinates[i], listener, 0);- },- Polygon: function(object, listener) {- d3_geo_streamPolygon(object.coordinates, listener);- },- MultiPolygon: function(object, listener) {- var coordinates = object.coordinates, i = -1, n = coordinates.length;- while (++i < n) d3_geo_streamPolygon(coordinates[i], listener);- },- GeometryCollection: function(object, listener) {- var geometries = object.geometries, i = -1, n = geometries.length;- while (++i < n) d3_geo_streamGeometry(geometries[i], listener);- }- };- function d3_geo_streamLine(coordinates, listener, closed) {- var i = -1, n = coordinates.length - closed, coordinate;- listener.lineStart();- while (++i < n) coordinate = coordinates[i], listener.point(coordinate[0], coordinate[1]);- listener.lineEnd();- }- function d3_geo_streamPolygon(coordinates, listener) {- var i = -1, n = coordinates.length;- listener.polygonStart();- while (++i < n) d3_geo_streamLine(coordinates[i], listener, 1);- listener.polygonEnd();- }- d3.geo.area = function(object) {- d3_geo_areaSum = 0;- d3.geo.stream(object, d3_geo_area);- return d3_geo_areaSum;- };- var d3_geo_areaSum, d3_geo_areaRingSum = new d3_adder();- var d3_geo_area = {- sphere: function() {- d3_geo_areaSum += 4 * π;- },- point: d3_noop,- lineStart: d3_noop,- lineEnd: d3_noop,- polygonStart: function() {- d3_geo_areaRingSum.reset();- d3_geo_area.lineStart = d3_geo_areaRingStart;- },- polygonEnd: function() {- var area = 2 * d3_geo_areaRingSum;- d3_geo_areaSum += area < 0 ? 4 * π + area : area;- d3_geo_area.lineStart = d3_geo_area.lineEnd = d3_geo_area.point = d3_noop;- }- };- function d3_geo_areaRingStart() {- var λ00, φ00, λ0, cosφ0, sinφ0;- d3_geo_area.point = function(λ, φ) {- d3_geo_area.point = nextPoint;- λ0 = (λ00 = λ) * d3_radians, cosφ0 = Math.cos(φ = (φ00 = φ) * d3_radians / 2 + π / 4),- sinφ0 = Math.sin(φ);- };- function nextPoint(λ, φ) {- λ *= d3_radians;- φ = φ * d3_radians / 2 + π / 4;- var dλ = λ - λ0, cosφ = Math.cos(φ), sinφ = Math.sin(φ), k = sinφ0 * sinφ, u = cosφ0 * cosφ + k * Math.cos(dλ), v = k * Math.sin(dλ);- d3_geo_areaRingSum.add(Math.atan2(v, u));- λ0 = λ, cosφ0 = cosφ, sinφ0 = sinφ;- }- d3_geo_area.lineEnd = function() {- nextPoint(λ00, φ00);- };- }- function d3_geo_cartesian(spherical) {- var λ = spherical[0], φ = spherical[1], cosφ = Math.cos(φ);- return [ cosφ * Math.cos(λ), cosφ * Math.sin(λ), Math.sin(φ) ];- }- function d3_geo_cartesianDot(a, b) {- return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];- }- function d3_geo_cartesianCross(a, b) {- return [ a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0] ];- }- function d3_geo_cartesianAdd(a, b) {- a[0] += b[0];- a[1] += b[1];- a[2] += b[2];- }- function d3_geo_cartesianScale(vector, k) {- return [ vector[0] * k, vector[1] * k, vector[2] * k ];- }- function d3_geo_cartesianNormalize(d) {- var l = Math.sqrt(d[0] * d[0] + d[1] * d[1] + d[2] * d[2]);- d[0] /= l;- d[1] /= l;- d[2] /= l;- }- function d3_geo_spherical(cartesian) {- return [ Math.atan2(cartesian[1], cartesian[0]), d3_asin(cartesian[2]) ];- }- function d3_geo_sphericalEqual(a, b) {- return Math.abs(a[0] - b[0]) < ε && Math.abs(a[1] - b[1]) < ε;- }- d3.geo.bounds = function() {- var λ0, φ0, λ1, φ1, λ_, λ__, φ__, p0, dλSum, ranges, range;- var bound = {- point: point,- lineStart: lineStart,- lineEnd: lineEnd,- polygonStart: function() {- bound.point = ringPoint;- bound.lineStart = ringStart;- bound.lineEnd = ringEnd;- dλSum = 0;- d3_geo_area.polygonStart();- },- polygonEnd: function() {- d3_geo_area.polygonEnd();- bound.point = point;- bound.lineStart = lineStart;- bound.lineEnd = lineEnd;- if (d3_geo_areaRingSum < 0) λ0 = -(λ1 = 180), φ0 = -(φ1 = 90); else if (dλSum > ε) φ1 = 90; else if (dλSum < -ε) φ0 = -90;- range[0] = λ0, range[1] = λ1;- }- };- function point(λ, φ) {- ranges.push(range = [ λ0 = λ, λ1 = λ ]);- if (φ < φ0) φ0 = φ;- if (φ > φ1) φ1 = φ;- }- function linePoint(λ, φ) {- var p = d3_geo_cartesian([ λ * d3_radians, φ * d3_radians ]);- if (p0) {- var normal = d3_geo_cartesianCross(p0, p), equatorial = [ normal[1], -normal[0], 0 ], inflection = d3_geo_cartesianCross(equatorial, normal);- d3_geo_cartesianNormalize(inflection);- inflection = d3_geo_spherical(inflection);- var dλ = λ - λ_, s = dλ > 0 ? 1 : -1, λi = inflection[0] * d3_degrees * s, antimeridian = Math.abs(dλ) > 180;- if (antimeridian ^ (s * λ_ < λi && λi < s * λ)) {- var φi = inflection[1] * d3_degrees;- if (φi > φ1) φ1 = φi;- } else if (λi = (λi + 360) % 360 - 180, antimeridian ^ (s * λ_ < λi && λi < s * λ)) {- var φi = -inflection[1] * d3_degrees;- if (φi < φ0) φ0 = φi;- } else {- if (φ < φ0) φ0 = φ;- if (φ > φ1) φ1 = φ;- }- if (antimeridian) {- if (λ < λ_) {- if (angle(λ0, λ) > angle(λ0, λ1)) λ1 = λ;- } else {- if (angle(λ, λ1) > angle(λ0, λ1)) λ0 = λ;- }- } else {- if (λ1 >= λ0) {- if (λ < λ0) λ0 = λ;- if (λ > λ1) λ1 = λ;- } else {- if (λ > λ_) {- if (angle(λ0, λ) > angle(λ0, λ1)) λ1 = λ;- } else {- if (angle(λ, λ1) > angle(λ0, λ1)) λ0 = λ;- }- }- }- } else {- point(λ, φ);- }- p0 = p, λ_ = λ;- }- function lineStart() {- bound.point = linePoint;- }- function lineEnd() {- range[0] = λ0, range[1] = λ1;- bound.point = point;- p0 = null;- }- function ringPoint(λ, φ) {- if (p0) {- var dλ = λ - λ_;- dλSum += Math.abs(dλ) > 180 ? dλ + (dλ > 0 ? 360 : -360) : dλ;- } else λ__ = λ, φ__ = φ;- d3_geo_area.point(λ, φ);- linePoint(λ, φ);- }- function ringStart() {- d3_geo_area.lineStart();- }- function ringEnd() {- ringPoint(λ__, φ__);- d3_geo_area.lineEnd();- if (Math.abs(dλSum) > ε) λ0 = -(λ1 = 180);- range[0] = λ0, range[1] = λ1;- p0 = null;- }- function angle(λ0, λ1) {- return (λ1 -= λ0) < 0 ? λ1 + 360 : λ1;- }- function compareRanges(a, b) {- return a[0] - b[0];- }- function withinRange(x, range) {- return range[0] <= range[1] ? range[0] <= x && x <= range[1] : x < range[0] || range[1] < x;- }- return function(feature) {- φ1 = λ1 = -(λ0 = φ0 = Infinity);- ranges = [];- d3.geo.stream(feature, bound);- var n = ranges.length;- if (n) {- ranges.sort(compareRanges);- for (var i = 1, a = ranges[0], b, merged = [ a ]; i < n; ++i) {- b = ranges[i];- if (withinRange(b[0], a) || withinRange(b[1], a)) {- if (angle(a[0], b[1]) > angle(a[0], a[1])) a[1] = b[1];- if (angle(b[0], a[1]) > angle(a[0], a[1])) a[0] = b[0];- } else {- merged.push(a = b);- }- }- var best = -Infinity, dλ;- for (var n = merged.length - 1, i = 0, a = merged[n], b; i <= n; a = b, ++i) {- b = merged[i];- if ((dλ = angle(a[1], b[0])) > best) best = dλ, λ0 = b[0], λ1 = a[1];- }- }- ranges = range = null;- return λ0 === Infinity || φ0 === Infinity ? [ [ NaN, NaN ], [ NaN, NaN ] ] : [ [ λ0, φ0 ], [ λ1, φ1 ] ];- };- }();- d3.geo.centroid = function(object) {- d3_geo_centroidW0 = d3_geo_centroidW1 = d3_geo_centroidX0 = d3_geo_centroidY0 = d3_geo_centroidZ0 = d3_geo_centroidX1 = d3_geo_centroidY1 = d3_geo_centroidZ1 = d3_geo_centroidX2 = d3_geo_centroidY2 = d3_geo_centroidZ2 = 0;- d3.geo.stream(object, d3_geo_centroid);- var x = d3_geo_centroidX2, y = d3_geo_centroidY2, z = d3_geo_centroidZ2, m = x * x + y * y + z * z;- if (m < ε2) {- x = d3_geo_centroidX1, y = d3_geo_centroidY1, z = d3_geo_centroidZ1;- if (d3_geo_centroidW1 < ε) x = d3_geo_centroidX0, y = d3_geo_centroidY0, z = d3_geo_centroidZ0;- m = x * x + y * y + z * z;- if (m < ε2) return [ NaN, NaN ];- }- return [ Math.atan2(y, x) * d3_degrees, d3_asin(z / Math.sqrt(m)) * d3_degrees ];- };- var d3_geo_centroidW0, d3_geo_centroidW1, d3_geo_centroidX0, d3_geo_centroidY0, d3_geo_centroidZ0, d3_geo_centroidX1, d3_geo_centroidY1, d3_geo_centroidZ1, d3_geo_centroidX2, d3_geo_centroidY2, d3_geo_centroidZ2;- var d3_geo_centroid = {- sphere: d3_noop,- point: d3_geo_centroidPoint,- lineStart: d3_geo_centroidLineStart,- lineEnd: d3_geo_centroidLineEnd,- polygonStart: function() {- d3_geo_centroid.lineStart = d3_geo_centroidRingStart;- },- polygonEnd: function() {- d3_geo_centroid.lineStart = d3_geo_centroidLineStart;- }- };- function d3_geo_centroidPoint(λ, φ) {- λ *= d3_radians;- var cosφ = Math.cos(φ *= d3_radians);- d3_geo_centroidPointXYZ(cosφ * Math.cos(λ), cosφ * Math.sin(λ), Math.sin(φ));- }- function d3_geo_centroidPointXYZ(x, y, z) {- ++d3_geo_centroidW0;- d3_geo_centroidX0 += (x - d3_geo_centroidX0) / d3_geo_centroidW0;- d3_geo_centroidY0 += (y - d3_geo_centroidY0) / d3_geo_centroidW0;- d3_geo_centroidZ0 += (z - d3_geo_centroidZ0) / d3_geo_centroidW0;- }- function d3_geo_centroidLineStart() {- var x0, y0, z0;- d3_geo_centroid.point = function(λ, φ) {- λ *= d3_radians;- var cosφ = Math.cos(φ *= d3_radians);- x0 = cosφ * Math.cos(λ);- y0 = cosφ * Math.sin(λ);- z0 = Math.sin(φ);- d3_geo_centroid.point = nextPoint;- d3_geo_centroidPointXYZ(x0, y0, z0);- };- function nextPoint(λ, φ) {- λ *= d3_radians;- var cosφ = Math.cos(φ *= d3_radians), x = cosφ * Math.cos(λ), y = cosφ * Math.sin(λ), z = Math.sin(φ), w = Math.atan2(Math.sqrt((w = y0 * z - z0 * y) * w + (w = z0 * x - x0 * z) * w + (w = x0 * y - y0 * x) * w), x0 * x + y0 * y + z0 * z);- d3_geo_centroidW1 += w;- d3_geo_centroidX1 += w * (x0 + (x0 = x));- d3_geo_centroidY1 += w * (y0 + (y0 = y));- d3_geo_centroidZ1 += w * (z0 + (z0 = z));- d3_geo_centroidPointXYZ(x0, y0, z0);- }- }- function d3_geo_centroidLineEnd() {- d3_geo_centroid.point = d3_geo_centroidPoint;- }- function d3_geo_centroidRingStart() {- var λ00, φ00, x0, y0, z0;- d3_geo_centroid.point = function(λ, φ) {- λ00 = λ, φ00 = φ;- d3_geo_centroid.point = nextPoint;- λ *= d3_radians;- var cosφ = Math.cos(φ *= d3_radians);- x0 = cosφ * Math.cos(λ);- y0 = cosφ * Math.sin(λ);- z0 = Math.sin(φ);- d3_geo_centroidPointXYZ(x0, y0, z0);- };- d3_geo_centroid.lineEnd = function() {- nextPoint(λ00, φ00);- d3_geo_centroid.lineEnd = d3_geo_centroidLineEnd;- d3_geo_centroid.point = d3_geo_centroidPoint;- };- function nextPoint(λ, φ) {- λ *= d3_radians;- var cosφ = Math.cos(φ *= d3_radians), x = cosφ * Math.cos(λ), y = cosφ * Math.sin(λ), z = Math.sin(φ), cx = y0 * z - z0 * y, cy = z0 * x - x0 * z, cz = x0 * y - y0 * x, m = Math.sqrt(cx * cx + cy * cy + cz * cz), u = x0 * x + y0 * y + z0 * z, v = m && -d3_acos(u) / m, w = Math.atan2(m, u);- d3_geo_centroidX2 += v * cx;- d3_geo_centroidY2 += v * cy;- d3_geo_centroidZ2 += v * cz;- d3_geo_centroidW1 += w;- d3_geo_centroidX1 += w * (x0 + (x0 = x));- d3_geo_centroidY1 += w * (y0 + (y0 = y));- d3_geo_centroidZ1 += w * (z0 + (z0 = z));- d3_geo_centroidPointXYZ(x0, y0, z0);- }- }- function d3_true() {- return true;- }- function d3_geo_clipPolygon(segments, compare, inside, interpolate, listener) {- var subject = [], clip = [];- segments.forEach(function(segment) {- if ((n = segment.length - 1) <= 0) return;- var n, p0 = segment[0], p1 = segment[n];- if (d3_geo_sphericalEqual(p0, p1)) {- listener.lineStart();- for (var i = 0; i < n; ++i) listener.point((p0 = segment[i])[0], p0[1]);- listener.lineEnd();- return;- }- var a = {- point: p0,- points: segment,- other: null,- visited: false,- entry: true,- subject: true- }, b = {- point: p0,- points: [ p0 ],- other: a,- visited: false,- entry: false,- subject: false- };- a.other = b;- subject.push(a);- clip.push(b);- a = {- point: p1,- points: [ p1 ],- other: null,- visited: false,- entry: false,- subject: true- };- b = {- point: p1,- points: [ p1 ],- other: a,- visited: false,- entry: true,- subject: false- };- a.other = b;- subject.push(a);- clip.push(b);- });- clip.sort(compare);- d3_geo_clipPolygonLinkCircular(subject);- d3_geo_clipPolygonLinkCircular(clip);- if (!subject.length) return;- if (inside) for (var i = 1, e = !inside(clip[0].point), n = clip.length; i < n; ++i) {- clip[i].entry = e = !e;- }- var start = subject[0], current, points, point;- while (1) {- current = start;- while (current.visited) if ((current = current.next) === start) return;- points = current.points;- listener.lineStart();- do {- current.visited = current.other.visited = true;- if (current.entry) {- if (current.subject) {- for (var i = 0; i < points.length; i++) listener.point((point = points[i])[0], point[1]);- } else {- interpolate(current.point, current.next.point, 1, listener);- }- current = current.next;- } else {- if (current.subject) {- points = current.prev.points;- for (var i = points.length; --i >= 0; ) listener.point((point = points[i])[0], point[1]);- } else {- interpolate(current.point, current.prev.point, -1, listener);- }- current = current.prev;- }- current = current.other;- points = current.points;- } while (!current.visited);- listener.lineEnd();- }- }- function d3_geo_clipPolygonLinkCircular(array) {- if (!(n = array.length)) return;- var n, i = 0, a = array[0], b;- while (++i < n) {- a.next = b = array[i];- b.prev = a;- a = b;- }- a.next = b = array[0];- b.prev = a;- }- function d3_geo_clip(pointVisible, clipLine, interpolate, polygonContains) {- return function(listener) {- var line = clipLine(listener);- var clip = {- point: point,- lineStart: lineStart,- lineEnd: lineEnd,- polygonStart: function() {- clip.point = pointRing;- clip.lineStart = ringStart;- clip.lineEnd = ringEnd;- segments = [];- polygon = [];- listener.polygonStart();- },- polygonEnd: function() {- clip.point = point;- clip.lineStart = lineStart;- clip.lineEnd = lineEnd;- segments = d3.merge(segments);- if (segments.length) {- d3_geo_clipPolygon(segments, d3_geo_clipSort, null, interpolate, listener);- } else if (polygonContains(polygon)) {- listener.lineStart();- interpolate(null, null, 1, listener);- listener.lineEnd();- }- listener.polygonEnd();- segments = polygon = null;- },- sphere: function() {- listener.polygonStart();- listener.lineStart();- interpolate(null, null, 1, listener);- listener.lineEnd();- listener.polygonEnd();- }- };- function point(λ, φ) {- if (pointVisible(λ, φ)) listener.point(λ, φ);- }- function pointLine(λ, φ) {- line.point(λ, φ);- }- function lineStart() {- clip.point = pointLine;- line.lineStart();- }- function lineEnd() {- clip.point = point;- line.lineEnd();- }- var segments;- var buffer = d3_geo_clipBufferListener(), ringListener = clipLine(buffer), polygon, ring;- function pointRing(λ, φ) {- ringListener.point(λ, φ);- ring.push([ λ, φ ]);- }- function ringStart() {- ringListener.lineStart();- ring = [];- }- function ringEnd() {- pointRing(ring[0][0], ring[0][1]);- ringListener.lineEnd();- var clean = ringListener.clean(), ringSegments = buffer.buffer(), segment, n = ringSegments.length;- ring.pop();- polygon.push(ring);- ring = null;- if (!n) return;- if (clean & 1) {- segment = ringSegments[0];- var n = segment.length - 1, i = -1, point;- listener.lineStart();- while (++i < n) listener.point((point = segment[i])[0], point[1]);- listener.lineEnd();- return;- }- if (n > 1 && clean & 2) ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));- segments.push(ringSegments.filter(d3_geo_clipSegmentLength1));- }- return clip;- };- }- function d3_geo_clipSegmentLength1(segment) {- return segment.length > 1;- }- function d3_geo_clipBufferListener() {- var lines = [], line;- return {- lineStart: function() {- lines.push(line = []);- },- point: function(λ, φ) {- line.push([ λ, φ ]);- },- lineEnd: d3_noop,- buffer: function() {- var buffer = lines;- lines = [];- line = null;- return buffer;- },- rejoin: function() {- if (lines.length > 1) lines.push(lines.pop().concat(lines.shift()));- }- };- }- function d3_geo_clipSort(a, b) {- return ((a = a.point)[0] < 0 ? a[1] - π / 2 - ε : π / 2 - a[1]) - ((b = b.point)[0] < 0 ? b[1] - π / 2 - ε : π / 2 - b[1]);- }- function d3_geo_pointInPolygon(point, polygon) {- var meridian = point[0], parallel = point[1], meridianNormal = [ Math.sin(meridian), -Math.cos(meridian), 0 ], polarAngle = 0, polar = false, southPole = false, winding = 0;- d3_geo_areaRingSum.reset();- for (var i = 0, n = polygon.length; i < n; ++i) {- var ring = polygon[i], m = ring.length;- if (!m) continue;- var point0 = ring[0], λ0 = point0[0], φ0 = point0[1] / 2 + π / 4, sinφ0 = Math.sin(φ0), cosφ0 = Math.cos(φ0), j = 1;- while (true) {- if (j === m) j = 0;- point = ring[j];- var λ = point[0], φ = point[1] / 2 + π / 4, sinφ = Math.sin(φ), cosφ = Math.cos(φ), dλ = λ - λ0, antimeridian = Math.abs(dλ) > π, k = sinφ0 * sinφ;- d3_geo_areaRingSum.add(Math.atan2(k * Math.sin(dλ), cosφ0 * cosφ + k * Math.cos(dλ)));- if (Math.abs(φ) < ε) southPole = true;- polarAngle += antimeridian ? dλ + (dλ >= 0 ? 2 : -2) * π : dλ;- if (antimeridian ^ λ0 >= meridian ^ λ >= meridian) {- var arc = d3_geo_cartesianCross(d3_geo_cartesian(point0), d3_geo_cartesian(point));- d3_geo_cartesianNormalize(arc);- var intersection = d3_geo_cartesianCross(meridianNormal, arc);- d3_geo_cartesianNormalize(intersection);- var φarc = (antimeridian ^ dλ >= 0 ? -1 : 1) * d3_asin(intersection[2]);- if (parallel > φarc) {- winding += antimeridian ^ dλ >= 0 ? 1 : -1;- }- }- if (!j++) break;- λ0 = λ, sinφ0 = sinφ, cosφ0 = cosφ, point0 = point;- }- if (Math.abs(polarAngle) > ε) polar = true;- }- return (!southPole && !polar && d3_geo_areaRingSum < 0 || polarAngle < -ε) ^ winding & 1;- }- var d3_geo_clipAntimeridian = d3_geo_clip(d3_true, d3_geo_clipAntimeridianLine, d3_geo_clipAntimeridianInterpolate, d3_geo_clipAntimeridianPolygonContains);- function d3_geo_clipAntimeridianLine(listener) {- var λ0 = NaN, φ0 = NaN, sλ0 = NaN, clean;- return {- lineStart: function() {- listener.lineStart();- clean = 1;- },- point: function(λ1, φ1) {- var sλ1 = λ1 > 0 ? π : -π, dλ = Math.abs(λ1 - λ0);- if (Math.abs(dλ - π) < ε) {- listener.point(λ0, φ0 = (φ0 + φ1) / 2 > 0 ? π / 2 : -π / 2);- listener.point(sλ0, φ0);- listener.lineEnd();- listener.lineStart();- listener.point(sλ1, φ0);- listener.point(λ1, φ0);- clean = 0;- } else if (sλ0 !== sλ1 && dλ >= π) {- if (Math.abs(λ0 - sλ0) < ε) λ0 -= sλ0 * ε;- if (Math.abs(λ1 - sλ1) < ε) λ1 -= sλ1 * ε;- φ0 = d3_geo_clipAntimeridianIntersect(λ0, φ0, λ1, φ1);- listener.point(sλ0, φ0);- listener.lineEnd();- listener.lineStart();- listener.point(sλ1, φ0);- clean = 0;- }- listener.point(λ0 = λ1, φ0 = φ1);- sλ0 = sλ1;- },- lineEnd: function() {- listener.lineEnd();- λ0 = φ0 = NaN;- },- clean: function() {- return 2 - clean;- }- };- }- function d3_geo_clipAntimeridianIntersect(λ0, φ0, λ1, φ1) {- var cosφ0, cosφ1, sinλ0_λ1 = Math.sin(λ0 - λ1);- return Math.abs(sinλ0_λ1) > ε ? Math.atan((Math.sin(φ0) * (cosφ1 = Math.cos(φ1)) * Math.sin(λ1) - Math.sin(φ1) * (cosφ0 = Math.cos(φ0)) * Math.sin(λ0)) / (cosφ0 * cosφ1 * sinλ0_λ1)) : (φ0 + φ1) / 2;- }- function d3_geo_clipAntimeridianInterpolate(from, to, direction, listener) {- var φ;- if (from == null) {- φ = direction * π / 2;- listener.point(-π, φ);- listener.point(0, φ);- listener.point(π, φ);- listener.point(π, 0);- listener.point(π, -φ);- listener.point(0, -φ);- listener.point(-π, -φ);- listener.point(-π, 0);- listener.point(-π, φ);- } else if (Math.abs(from[0] - to[0]) > ε) {- var s = (from[0] < to[0] ? 1 : -1) * π;- φ = direction * s / 2;- listener.point(-s, φ);- listener.point(0, φ);- listener.point(s, φ);- } else {- listener.point(to[0], to[1]);- }- }- var d3_geo_clipAntimeridianPoint = [ -π, 0 ];- function d3_geo_clipAntimeridianPolygonContains(polygon) {- return d3_geo_pointInPolygon(d3_geo_clipAntimeridianPoint, polygon);- }- function d3_geo_clipCircle(radius) {- var cr = Math.cos(radius), smallRadius = cr > 0, point = [ radius, 0 ], notHemisphere = Math.abs(cr) > ε, interpolate = d3_geo_circleInterpolate(radius, 6 * d3_radians);- return d3_geo_clip(visible, clipLine, interpolate, polygonContains);- function visible(λ, φ) {- return Math.cos(λ) * Math.cos(φ) > cr;- }- function clipLine(listener) {- var point0, c0, v0, v00, clean;- return {- lineStart: function() {- v00 = v0 = false;- clean = 1;- },- point: function(λ, φ) {- var point1 = [ λ, φ ], point2, v = visible(λ, φ), c = smallRadius ? v ? 0 : code(λ, φ) : v ? code(λ + (λ < 0 ? π : -π), φ) : 0;- if (!point0 && (v00 = v0 = v)) listener.lineStart();- if (v !== v0) {- point2 = intersect(point0, point1);- if (d3_geo_sphericalEqual(point0, point2) || d3_geo_sphericalEqual(point1, point2)) {- point1[0] += ε;- point1[1] += ε;- v = visible(point1[0], point1[1]);- }- }- if (v !== v0) {- clean = 0;- if (v) {- listener.lineStart();- point2 = intersect(point1, point0);- listener.point(point2[0], point2[1]);- } else {- point2 = intersect(point0, point1);- listener.point(point2[0], point2[1]);- listener.lineEnd();- }- point0 = point2;- } else if (notHemisphere && point0 && smallRadius ^ v) {- var t;- if (!(c & c0) && (t = intersect(point1, point0, true))) {- clean = 0;- if (smallRadius) {- listener.lineStart();- listener.point(t[0][0], t[0][1]);- listener.point(t[1][0], t[1][1]);- listener.lineEnd();- } else {- listener.point(t[1][0], t[1][1]);- listener.lineEnd();- listener.lineStart();- listener.point(t[0][0], t[0][1]);- }- }- }- if (v && (!point0 || !d3_geo_sphericalEqual(point0, point1))) {- listener.point(point1[0], point1[1]);- }- point0 = point1, v0 = v, c0 = c;- },- lineEnd: function() {- if (v0) listener.lineEnd();- point0 = null;- },- clean: function() {- return clean | (v00 && v0) << 1;- }- };- }- function intersect(a, b, two) {- var pa = d3_geo_cartesian(a), pb = d3_geo_cartesian(b);- var n1 = [ 1, 0, 0 ], n2 = d3_geo_cartesianCross(pa, pb), n2n2 = d3_geo_cartesianDot(n2, n2), n1n2 = n2[0], determinant = n2n2 - n1n2 * n1n2;- if (!determinant) return !two && a;- var c1 = cr * n2n2 / determinant, c2 = -cr * n1n2 / determinant, n1xn2 = d3_geo_cartesianCross(n1, n2), A = d3_geo_cartesianScale(n1, c1), B = d3_geo_cartesianScale(n2, c2);- d3_geo_cartesianAdd(A, B);- var u = n1xn2, w = d3_geo_cartesianDot(A, u), uu = d3_geo_cartesianDot(u, u), t2 = w * w - uu * (d3_geo_cartesianDot(A, A) - 1);- if (t2 < 0) return;- var t = Math.sqrt(t2), q = d3_geo_cartesianScale(u, (-w - t) / uu);- d3_geo_cartesianAdd(q, A);- q = d3_geo_spherical(q);- if (!two) return q;- var λ0 = a[0], λ1 = b[0], φ0 = a[1], φ1 = b[1], z;- if (λ1 < λ0) z = λ0, λ0 = λ1, λ1 = z;- var δλ = λ1 - λ0, polar = Math.abs(δλ - π) < ε, meridian = polar || δλ < ε;- if (!polar && φ1 < φ0) z = φ0, φ0 = φ1, φ1 = z;- if (meridian ? polar ? φ0 + φ1 > 0 ^ q[1] < (Math.abs(q[0] - λ0) < ε ? φ0 : φ1) : φ0 <= q[1] && q[1] <= φ1 : δλ > π ^ (λ0 <= q[0] && q[0] <= λ1)) {- var q1 = d3_geo_cartesianScale(u, (-w + t) / uu);- d3_geo_cartesianAdd(q1, A);- return [ q, d3_geo_spherical(q1) ];- }- }- function code(λ, φ) {- var r = smallRadius ? radius : π - radius, code = 0;- if (λ < -r) code |= 1; else if (λ > r) code |= 2;- if (φ < -r) code |= 4; else if (φ > r) code |= 8;- return code;- }- function polygonContains(polygon) {- return d3_geo_pointInPolygon(point, polygon);- }- }- var d3_geo_clipViewMAX = 1e9;- function d3_geo_clipView(x0, y0, x1, y1) {- return function(listener) {- var listener_ = listener, bufferListener = d3_geo_clipBufferListener(), segments, polygon, ring;- var clip = {- point: point,- lineStart: lineStart,- lineEnd: lineEnd,- polygonStart: function() {- listener = bufferListener;- segments = [];- polygon = [];- },- polygonEnd: function() {- listener = listener_;- if ((segments = d3.merge(segments)).length) {- listener.polygonStart();- d3_geo_clipPolygon(segments, compare, inside, interpolate, listener);- listener.polygonEnd();- } else if (insidePolygon([ x0, y0 ])) {- listener.polygonStart(), listener.lineStart();- interpolate(null, null, 1, listener);- listener.lineEnd(), listener.polygonEnd();- }- segments = polygon = ring = null;- }- };- function inside(point) {- var a = corner(point, -1), i = insidePolygon([ a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0 ]);- return i;- }- function insidePolygon(p) {- var wn = 0, n = polygon.length, y = p[1];- for (var i = 0; i < n; ++i) {- for (var j = 1, v = polygon[i], m = v.length, a = v[0], b; j < m; ++j) {- b = v[j];- if (a[1] <= y) {- if (b[1] > y && isLeft(a, b, p) > 0) ++wn;- } else {- if (b[1] <= y && isLeft(a, b, p) < 0) --wn;- }- a = b;- }- }- return wn !== 0;- }- function isLeft(a, b, c) {- return (b[0] - a[0]) * (c[1] - a[1]) - (c[0] - a[0]) * (b[1] - a[1]);- }- function interpolate(from, to, direction, listener) {- var a = 0, a1 = 0;- if (from == null || (a = corner(from, direction)) !== (a1 = corner(to, direction)) || comparePoints(from, to) < 0 ^ direction > 0) {- do {- listener.point(a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0);- } while ((a = (a + direction + 4) % 4) !== a1);- } else {- listener.point(to[0], to[1]);- }- }- function visible(x, y) {- return x0 <= x && x <= x1 && y0 <= y && y <= y1;- }- function point(x, y) {- if (visible(x, y)) listener.point(x, y);- }- var x__, y__, v__, x_, y_, v_, first;- function lineStart() {- clip.point = linePoint;- if (polygon) polygon.push(ring = []);- first = true;- v_ = false;- x_ = y_ = NaN;- }- function lineEnd() {- if (segments) {- linePoint(x__, y__);- if (v__ && v_) bufferListener.rejoin();- segments.push(bufferListener.buffer());- }- clip.point = point;- if (v_) listener.lineEnd();- }- function linePoint(x, y) {- x = Math.max(-d3_geo_clipViewMAX, Math.min(d3_geo_clipViewMAX, x));- y = Math.max(-d3_geo_clipViewMAX, Math.min(d3_geo_clipViewMAX, y));- var v = visible(x, y);- if (polygon) ring.push([ x, y ]);- if (first) {- x__ = x, y__ = y, v__ = v;- first = false;- if (v) {- listener.lineStart();- listener.point(x, y);- }- } else {- if (v && v_) listener.point(x, y); else {- var a = [ x_, y_ ], b = [ x, y ];- if (clipLine(a, b)) {- if (!v_) {- listener.lineStart();- listener.point(a[0], a[1]);- }- listener.point(b[0], b[1]);- if (!v) listener.lineEnd();- } else if (v) {- listener.lineStart();- listener.point(x, y);- }- }- }- x_ = x, y_ = y, v_ = v;- }- return clip;- };- function corner(p, direction) {- return Math.abs(p[0] - x0) < ε ? direction > 0 ? 0 : 3 : Math.abs(p[0] - x1) < ε ? direction > 0 ? 2 : 1 : Math.abs(p[1] - y0) < ε ? direction > 0 ? 1 : 0 : direction > 0 ? 3 : 2;- }- function compare(a, b) {- return comparePoints(a.point, b.point);- }- function comparePoints(a, b) {- var ca = corner(a, 1), cb = corner(b, 1);- return ca !== cb ? ca - cb : ca === 0 ? b[1] - a[1] : ca === 1 ? a[0] - b[0] : ca === 2 ? a[1] - b[1] : b[0] - a[0];- }- function clipLine(a, b) {- var dx = b[0] - a[0], dy = b[1] - a[1], t = [ 0, 1 ];- if (Math.abs(dx) < ε && Math.abs(dy) < ε) return x0 <= a[0] && a[0] <= x1 && y0 <= a[1] && a[1] <= y1;- if (d3_geo_clipViewT(x0 - a[0], dx, t) && d3_geo_clipViewT(a[0] - x1, -dx, t) && d3_geo_clipViewT(y0 - a[1], dy, t) && d3_geo_clipViewT(a[1] - y1, -dy, t)) {- if (t[1] < 1) {- b[0] = a[0] + t[1] * dx;- b[1] = a[1] + t[1] * dy;- }- if (t[0] > 0) {- a[0] += t[0] * dx;- a[1] += t[0] * dy;- }- return true;- }- return false;- }- }- function d3_geo_clipViewT(num, denominator, t) {- if (Math.abs(denominator) < ε) return num <= 0;- var u = num / denominator;- if (denominator > 0) {- if (u > t[1]) return false;- if (u > t[0]) t[0] = u;- } else {- if (u < t[0]) return false;- if (u < t[1]) t[1] = u;- }- return true;- }- function d3_geo_compose(a, b) {- function compose(x, y) {- return x = a(x, y), b(x[0], x[1]);- }- if (a.invert && b.invert) compose.invert = function(x, y) {- return x = b.invert(x, y), x && a.invert(x[0], x[1]);- };- return compose;- }- function d3_geo_conic(projectAt) {- var φ0 = 0, φ1 = π / 3, m = d3_geo_projectionMutator(projectAt), p = m(φ0, φ1);- p.parallels = function(_) {- if (!arguments.length) return [ φ0 / π * 180, φ1 / π * 180 ];- return m(φ0 = _[0] * π / 180, φ1 = _[1] * π / 180);- };- return p;- }- function d3_geo_conicEqualArea(φ0, φ1) {- var sinφ0 = Math.sin(φ0), n = (sinφ0 + Math.sin(φ1)) / 2, C = 1 + sinφ0 * (2 * n - sinφ0), ρ0 = Math.sqrt(C) / n;- function forward(λ, φ) {- var ρ = Math.sqrt(C - 2 * n * Math.sin(φ)) / n;- return [ ρ * Math.sin(λ *= n), ρ0 - ρ * Math.cos(λ) ];- }- forward.invert = function(x, y) {- var ρ0_y = ρ0 - y;- return [ Math.atan2(x, ρ0_y) / n, d3_asin((C - (x * x + ρ0_y * ρ0_y) * n * n) / (2 * n)) ];- };- return forward;- }- (d3.geo.conicEqualArea = function() {- return d3_geo_conic(d3_geo_conicEqualArea);- }).raw = d3_geo_conicEqualArea;- d3.geo.albers = function() {- return d3.geo.conicEqualArea().rotate([ 96, 0 ]).center([ -.6, 38.7 ]).parallels([ 29.5, 45.5 ]).scale(1070);- };- d3.geo.albersUsa = function() {- var lower48 = d3.geo.albers();- var alaska = d3.geo.conicEqualArea().rotate([ 154, 0 ]).center([ -2, 58.5 ]).parallels([ 55, 65 ]);- var hawaii = d3.geo.conicEqualArea().rotate([ 157, 0 ]).center([ -3, 19.9 ]).parallels([ 8, 18 ]);- var point, pointStream = {- point: function(x, y) {- point = [ x, y ];- }- }, lower48Point, alaskaPoint, hawaiiPoint;- function albersUsa(coordinates) {- var x = coordinates[0], y = coordinates[1];- point = null;- (lower48Point(x, y), point) || (alaskaPoint(x, y), point) || hawaiiPoint(x, y);- return point;- }- albersUsa.invert = function(coordinates) {- var k = lower48.scale(), t = lower48.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;- return (y >= .12 && y < .234 && x >= -.425 && x < -.214 ? alaska : y >= .166 && y < .234 && x >= -.214 && x < -.115 ? hawaii : lower48).invert(coordinates);- };- albersUsa.stream = function(stream) {- var lower48Stream = lower48.stream(stream), alaskaStream = alaska.stream(stream), hawaiiStream = hawaii.stream(stream);- return {- point: function(x, y) {- lower48Stream.point(x, y);- alaskaStream.point(x, y);- hawaiiStream.point(x, y);- },- sphere: function() {- lower48Stream.sphere();- alaskaStream.sphere();- hawaiiStream.sphere();- },- lineStart: function() {- lower48Stream.lineStart();- alaskaStream.lineStart();- hawaiiStream.lineStart();- },- lineEnd: function() {- lower48Stream.lineEnd();- alaskaStream.lineEnd();- hawaiiStream.lineEnd();- },- polygonStart: function() {- lower48Stream.polygonStart();- alaskaStream.polygonStart();- hawaiiStream.polygonStart();- },- polygonEnd: function() {- lower48Stream.polygonEnd();- alaskaStream.polygonEnd();- hawaiiStream.polygonEnd();- }- };- };- albersUsa.precision = function(_) {- if (!arguments.length) return lower48.precision();- lower48.precision(_);- alaska.precision(_);- hawaii.precision(_);- return albersUsa;- };- albersUsa.scale = function(_) {- if (!arguments.length) return lower48.scale();- lower48.scale(_);- alaska.scale(_ * .35);- hawaii.scale(_);- return albersUsa.translate(lower48.translate());- };- albersUsa.translate = function(_) {- if (!arguments.length) return lower48.translate();- var k = lower48.scale(), x = +_[0], y = +_[1];- lower48Point = lower48.translate(_).clipExtent([ [ x - .455 * k, y - .238 * k ], [ x + .455 * k, y + .238 * k ] ]).stream(pointStream).point;- alaskaPoint = alaska.translate([ x - .307 * k, y + .201 * k ]).clipExtent([ [ x - .425 * k + ε, y + .12 * k + ε ], [ x - .214 * k - ε, y + .234 * k - ε ] ]).stream(pointStream).point;- hawaiiPoint = hawaii.translate([ x - .205 * k, y + .212 * k ]).clipExtent([ [ x - .214 * k + ε, y + .166 * k + ε ], [ x - .115 * k - ε, y + .234 * k - ε ] ]).stream(pointStream).point;- return albersUsa;- };- return albersUsa.scale(1070);- };- var d3_geo_pathAreaSum, d3_geo_pathAreaPolygon, d3_geo_pathArea = {- point: d3_noop,- lineStart: d3_noop,- lineEnd: d3_noop,- polygonStart: function() {- d3_geo_pathAreaPolygon = 0;- d3_geo_pathArea.lineStart = d3_geo_pathAreaRingStart;- },- polygonEnd: function() {- d3_geo_pathArea.lineStart = d3_geo_pathArea.lineEnd = d3_geo_pathArea.point = d3_noop;- d3_geo_pathAreaSum += Math.abs(d3_geo_pathAreaPolygon / 2);- }- };- function d3_geo_pathAreaRingStart() {- var x00, y00, x0, y0;- d3_geo_pathArea.point = function(x, y) {- d3_geo_pathArea.point = nextPoint;- x00 = x0 = x, y00 = y0 = y;- };- function nextPoint(x, y) {- d3_geo_pathAreaPolygon += y0 * x - x0 * y;- x0 = x, y0 = y;- }- d3_geo_pathArea.lineEnd = function() {- nextPoint(x00, y00);- };- }- var d3_geo_pathBoundsX0, d3_geo_pathBoundsY0, d3_geo_pathBoundsX1, d3_geo_pathBoundsY1;- var d3_geo_pathBounds = {- point: d3_geo_pathBoundsPoint,- lineStart: d3_noop,- lineEnd: d3_noop,- polygonStart: d3_noop,- polygonEnd: d3_noop- };- function d3_geo_pathBoundsPoint(x, y) {- if (x < d3_geo_pathBoundsX0) d3_geo_pathBoundsX0 = x;- if (x > d3_geo_pathBoundsX1) d3_geo_pathBoundsX1 = x;- if (y < d3_geo_pathBoundsY0) d3_geo_pathBoundsY0 = y;- if (y > d3_geo_pathBoundsY1) d3_geo_pathBoundsY1 = y;- }- function d3_geo_pathBuffer() {- var pointCircle = d3_geo_pathBufferCircle(4.5), buffer = [];- var stream = {- point: point,- lineStart: function() {- stream.point = pointLineStart;- },- lineEnd: lineEnd,- polygonStart: function() {- stream.lineEnd = lineEndPolygon;- },- polygonEnd: function() {- stream.lineEnd = lineEnd;- stream.point = point;- },- pointRadius: function(_) {- pointCircle = d3_geo_pathBufferCircle(_);- return stream;- },- result: function() {- if (buffer.length) {- var result = buffer.join("");- buffer = [];- return result;- }- }- };- function point(x, y) {- buffer.push("M", x, ",", y, pointCircle);- }- function pointLineStart(x, y) {- buffer.push("M", x, ",", y);- stream.point = pointLine;- }- function pointLine(x, y) {- buffer.push("L", x, ",", y);- }- function lineEnd() {- stream.point = point;- }- function lineEndPolygon() {- buffer.push("Z");- }- return stream;- }- function d3_geo_pathBufferCircle(radius) {- return "m0," + radius + "a" + radius + "," + radius + " 0 1,1 0," + -2 * radius + "a" + radius + "," + radius + " 0 1,1 0," + 2 * radius + "z";- }- var d3_geo_pathCentroid = {- point: d3_geo_pathCentroidPoint,- lineStart: d3_geo_pathCentroidLineStart,- lineEnd: d3_geo_pathCentroidLineEnd,- polygonStart: function() {- d3_geo_pathCentroid.lineStart = d3_geo_pathCentroidRingStart;- },- polygonEnd: function() {- d3_geo_pathCentroid.point = d3_geo_pathCentroidPoint;- d3_geo_pathCentroid.lineStart = d3_geo_pathCentroidLineStart;- d3_geo_pathCentroid.lineEnd = d3_geo_pathCentroidLineEnd;- }- };- function d3_geo_pathCentroidPoint(x, y) {- d3_geo_centroidX0 += x;- d3_geo_centroidY0 += y;- ++d3_geo_centroidZ0;- }- function d3_geo_pathCentroidLineStart() {- var x0, y0;- d3_geo_pathCentroid.point = function(x, y) {- d3_geo_pathCentroid.point = nextPoint;- d3_geo_pathCentroidPoint(x0 = x, y0 = y);- };- function nextPoint(x, y) {- var dx = x - x0, dy = y - y0, z = Math.sqrt(dx * dx + dy * dy);- d3_geo_centroidX1 += z * (x0 + x) / 2;- d3_geo_centroidY1 += z * (y0 + y) / 2;- d3_geo_centroidZ1 += z;- d3_geo_pathCentroidPoint(x0 = x, y0 = y);- }- }- function d3_geo_pathCentroidLineEnd() {- d3_geo_pathCentroid.point = d3_geo_pathCentroidPoint;- }- function d3_geo_pathCentroidRingStart() {- var x00, y00, x0, y0;- d3_geo_pathCentroid.point = function(x, y) {- d3_geo_pathCentroid.point = nextPoint;- d3_geo_pathCentroidPoint(x00 = x0 = x, y00 = y0 = y);- };- function nextPoint(x, y) {- var dx = x - x0, dy = y - y0, z = Math.sqrt(dx * dx + dy * dy);- d3_geo_centroidX1 += z * (x0 + x) / 2;- d3_geo_centroidY1 += z * (y0 + y) / 2;- d3_geo_centroidZ1 += z;- z = y0 * x - x0 * y;- d3_geo_centroidX2 += z * (x0 + x);- d3_geo_centroidY2 += z * (y0 + y);- d3_geo_centroidZ2 += z * 3;- d3_geo_pathCentroidPoint(x0 = x, y0 = y);- }- d3_geo_pathCentroid.lineEnd = function() {- nextPoint(x00, y00);- };- }- function d3_geo_pathContext(context) {- var pointRadius = 4.5;- var stream = {- point: point,- lineStart: function() {- stream.point = pointLineStart;- },- lineEnd: lineEnd,- polygonStart: function() {- stream.lineEnd = lineEndPolygon;- },- polygonEnd: function() {- stream.lineEnd = lineEnd;- stream.point = point;- },- pointRadius: function(_) {- pointRadius = _;- return stream;- },- result: d3_noop- };- function point(x, y) {- context.moveTo(x, y);- context.arc(x, y, pointRadius, 0, 2 * π);- }- function pointLineStart(x, y) {- context.moveTo(x, y);- stream.point = pointLine;- }- function pointLine(x, y) {- context.lineTo(x, y);- }- function lineEnd() {- stream.point = point;- }- function lineEndPolygon() {- context.closePath();- }- return stream;- }- function d3_geo_resample(project) {- var δ2 = .5, maxDepth = 16;- function resample(stream) {- var λ00, φ00, x00, y00, a00, b00, c00, λ0, x0, y0, a0, b0, c0;- var resample = {- point: point,- lineStart: lineStart,- lineEnd: lineEnd,- polygonStart: function() {- stream.polygonStart();- resample.lineStart = ringStart;- },- polygonEnd: function() {- stream.polygonEnd();- resample.lineStart = lineStart;- }- };- function point(x, y) {- x = project(x, y);- stream.point(x[0], x[1]);- }- function lineStart() {- x0 = NaN;- resample.point = linePoint;- stream.lineStart();- }- function linePoint(λ, φ) {- var c = d3_geo_cartesian([ λ, φ ]), p = project(λ, φ), buffer = [];- resampleLineTo(x0, y0, λ0, a0, b0, c0, x0 = p[0], y0 = p[1], λ0 = λ, a0 = c[0], b0 = c[1], c0 = c[2], maxDepth, buffer);- streamLine(buffer, stream);- stream.point(x0, y0);- }- function lineEnd() {- resample.point = point;- stream.lineEnd();- }- function ringStart() {- lineStart();- resample.point = ringPoint;- resample.lineEnd = ringEnd;- }- function ringPoint(λ, φ) {- linePoint(λ00 = λ, φ00 = φ), x00 = x0, y00 = y0, a00 = a0, b00 = b0, c00 = c0;- resample.point = linePoint;- }- function ringEnd() {- var buffer = [];- resampleLineTo(x0, y0, λ0, a0, b0, c0, x00, y00, λ00, a00, b00, c00, maxDepth, buffer);- streamLine(buffer, stream);- resample.lineEnd = lineEnd;- lineEnd();- }- function streamLine(line, stream) {- for (var i = 0, n = line.length, point; i < n; ++i) {- stream.point((point = line[i])[0], point[1]);- }- }- return resample;- }- function resampleLineTo(x0, y0, λ0, a0, b0, c0, x1, y1, λ1, a1, b1, c1, depth, buffer) {- var dx = x1 - x0, dy = y1 - y0, d2 = dx * dx + dy * dy;- if (d2 > 4 * δ2 && depth--) {- var a = a0 + a1, b = b0 + b1, c = c0 + c1, m = Math.sqrt(a * a + b * b + c * c), φ2 = Math.asin(c /= m), λ2 = Math.abs(Math.abs(c) - 1) < ε ? (λ0 + λ1) / 2 : Math.atan2(b, a), p = project(λ2, φ2), x2 = p[0], y2 = p[1], dx2 = x2 - x0, dy2 = y2 - y0, dz = dy * dx2 - dx * dy2, tooFar = false;- if (dz * dz / d2 > δ2 || Math.abs((dx * dx2 + dy * dy2) / d2 - .5) > .3 || (tooFar = dx2 * dx2 + dy2 * dy2 > 256 * δ2)) {- var s0 = resampleLineTo(x0, y0, λ0, a0, b0, c0, x2, y2, λ2, a /= m, b /= m, c, depth, buffer);- buffer.push(p);- var s1 = resampleLineTo(x2, y2, λ2, a, b, c, x1, y1, λ1, a1, b1, c1, depth, buffer);- return !tooFar || s0 || s1 || (buffer.pop(), false);- }- }- }- resample.precision = function(_) {- if (!arguments.length) return Math.sqrt(δ2);- maxDepth = (δ2 = _ * _) > 0 && 16;- return resample;- };- return resample;- }- d3.geo.path = function() {- var pointRadius = 4.5, projection, context, projectStream, contextStream, cacheStream;- function path(object) {- if (object) {- if (typeof pointRadius === "function") contextStream.pointRadius(+pointRadius.apply(this, arguments));- if (!cacheStream || !cacheStream.valid) cacheStream = projectStream(contextStream);- d3.geo.stream(object, cacheStream);- }- return contextStream.result();- }- path.area = function(object) {- d3_geo_pathAreaSum = 0;- d3.geo.stream(object, projectStream(d3_geo_pathArea));- return d3_geo_pathAreaSum;- };- path.centroid = function(object) {- d3_geo_centroidX0 = d3_geo_centroidY0 = d3_geo_centroidZ0 = d3_geo_centroidX1 = d3_geo_centroidY1 = d3_geo_centroidZ1 = d3_geo_centroidX2 = d3_geo_centroidY2 = d3_geo_centroidZ2 = 0;- d3.geo.stream(object, projectStream(d3_geo_pathCentroid));- return d3_geo_centroidZ2 ? [ d3_geo_centroidX2 / d3_geo_centroidZ2, d3_geo_centroidY2 / d3_geo_centroidZ2 ] : d3_geo_centroidZ1 ? [ d3_geo_centroidX1 / d3_geo_centroidZ1, d3_geo_centroidY1 / d3_geo_centroidZ1 ] : d3_geo_centroidZ0 ? [ d3_geo_centroidX0 / d3_geo_centroidZ0, d3_geo_centroidY0 / d3_geo_centroidZ0 ] : [ NaN, NaN ];- };- path.bounds = function(object) {- d3_geo_pathBoundsX1 = d3_geo_pathBoundsY1 = -(d3_geo_pathBoundsX0 = d3_geo_pathBoundsY0 = Infinity);- d3.geo.stream(object, projectStream(d3_geo_pathBounds));- return [ [ d3_geo_pathBoundsX0, d3_geo_pathBoundsY0 ], [ d3_geo_pathBoundsX1, d3_geo_pathBoundsY1 ] ];- };- path.projection = function(_) {- if (!arguments.length) return projection;- projectStream = (projection = _) ? _.stream || d3_geo_pathProjectStream(_) : d3_identity;- return reset();- };- path.context = function(_) {- if (!arguments.length) return context;- contextStream = (context = _) == null ? new d3_geo_pathBuffer() : new d3_geo_pathContext(_);- if (typeof pointRadius !== "function") contextStream.pointRadius(pointRadius);- return reset();- };- path.pointRadius = function(_) {- if (!arguments.length) return pointRadius;- pointRadius = typeof _ === "function" ? _ : (contextStream.pointRadius(+_), +_);- return path;- };- function reset() {- cacheStream = null;- return path;- }- return path.projection(d3.geo.albersUsa()).context(null);- };- function d3_geo_pathProjectStream(project) {- var resample = d3_geo_resample(function(λ, φ) {- return project([ λ * d3_degrees, φ * d3_degrees ]);- });- return function(stream) {- stream = resample(stream);- return {- point: function(λ, φ) {- stream.point(λ * d3_radians, φ * d3_radians);- },- sphere: function() {- stream.sphere();- },- lineStart: function() {- stream.lineStart();- },- lineEnd: function() {- stream.lineEnd();- },- polygonStart: function() {- stream.polygonStart();- },- polygonEnd: function() {- stream.polygonEnd();- }- };- };- }- d3.geo.projection = d3_geo_projection;- d3.geo.projectionMutator = d3_geo_projectionMutator;- function d3_geo_projection(project) {- return d3_geo_projectionMutator(function() {- return project;- })();- }- function d3_geo_projectionMutator(projectAt) {- var project, rotate, projectRotate, projectResample = d3_geo_resample(function(x, y) {- x = project(x, y);- return [ x[0] * k + δx, δy - x[1] * k ];- }), k = 150, x = 480, y = 250, λ = 0, φ = 0, δλ = 0, δφ = 0, δγ = 0, δx, δy, preclip = d3_geo_clipAntimeridian, postclip = d3_identity, clipAngle = null, clipExtent = null, stream;- function projection(point) {- point = projectRotate(point[0] * d3_radians, point[1] * d3_radians);- return [ point[0] * k + δx, δy - point[1] * k ];- }- function invert(point) {- point = projectRotate.invert((point[0] - δx) / k, (δy - point[1]) / k);- return point && [ point[0] * d3_degrees, point[1] * d3_degrees ];- }- projection.stream = function(output) {- if (stream) stream.valid = false;- stream = d3_geo_projectionRadiansRotate(rotate, preclip(projectResample(postclip(output))));- stream.valid = true;- return stream;- };- projection.clipAngle = function(_) {- if (!arguments.length) return clipAngle;- preclip = _ == null ? (clipAngle = _, d3_geo_clipAntimeridian) : d3_geo_clipCircle((clipAngle = +_) * d3_radians);- return invalidate();- };- projection.clipExtent = function(_) {- if (!arguments.length) return clipExtent;- clipExtent = _;- postclip = _ == null ? d3_identity : d3_geo_clipView(_[0][0], _[0][1], _[1][0], _[1][1]);- return invalidate();- };- projection.scale = function(_) {- if (!arguments.length) return k;- k = +_;- return reset();- };- projection.translate = function(_) {- if (!arguments.length) return [ x, y ];- x = +_[0];- y = +_[1];- return reset();- };- projection.center = function(_) {- if (!arguments.length) return [ λ * d3_degrees, φ * d3_degrees ];- λ = _[0] % 360 * d3_radians;- φ = _[1] % 360 * d3_radians;- return reset();- };- projection.rotate = function(_) {- if (!arguments.length) return [ δλ * d3_degrees, δφ * d3_degrees, δγ * d3_degrees ];- δλ = _[0] % 360 * d3_radians;- δφ = _[1] % 360 * d3_radians;- δγ = _.length > 2 ? _[2] % 360 * d3_radians : 0;- return reset();- };- d3.rebind(projection, projectResample, "precision");- function reset() {- projectRotate = d3_geo_compose(rotate = d3_geo_rotation(δλ, δφ, δγ), project);- var center = project(λ, φ);- δx = x - center[0] * k;- δy = y + center[1] * k;- return invalidate();- }- function invalidate() {- if (stream) {- stream.valid = false;- stream = null;- }- return projection;- }- return function() {- project = projectAt.apply(this, arguments);- projection.invert = project.invert && invert;- return reset();- };- }- function d3_geo_projectionRadiansRotate(rotate, stream) {- return {- point: function(x, y) {- y = rotate(x * d3_radians, y * d3_radians), x = y[0];- stream.point(x > π ? x - 2 * π : x < -π ? x + 2 * π : x, y[1]);- },- sphere: function() {- stream.sphere();- },- lineStart: function() {- stream.lineStart();- },- lineEnd: function() {- stream.lineEnd();- },- polygonStart: function() {- stream.polygonStart();- },- polygonEnd: function() {- stream.polygonEnd();- }- };- }- function d3_geo_equirectangular(λ, φ) {- return [ λ, φ ];- }- (d3.geo.equirectangular = function() {- return d3_geo_projection(d3_geo_equirectangular);- }).raw = d3_geo_equirectangular.invert = d3_geo_equirectangular;- d3.geo.rotation = function(rotate) {- rotate = d3_geo_rotation(rotate[0] % 360 * d3_radians, rotate[1] * d3_radians, rotate.length > 2 ? rotate[2] * d3_radians : 0);- function forward(coordinates) {- coordinates = rotate(coordinates[0] * d3_radians, coordinates[1] * d3_radians);- return coordinates[0] *= d3_degrees, coordinates[1] *= d3_degrees, coordinates;- }- forward.invert = function(coordinates) {- coordinates = rotate.invert(coordinates[0] * d3_radians, coordinates[1] * d3_radians);- return coordinates[0] *= d3_degrees, coordinates[1] *= d3_degrees, coordinates;- };- return forward;- };- function d3_geo_rotation(δλ, δφ, δγ) {- return δλ ? δφ || δγ ? d3_geo_compose(d3_geo_rotationλ(δλ), d3_geo_rotationφγ(δφ, δγ)) : d3_geo_rotationλ(δλ) : δφ || δγ ? d3_geo_rotationφγ(δφ, δγ) : d3_geo_equirectangular;- }- function d3_geo_forwardRotationλ(δλ) {- return function(λ, φ) {- return λ += δλ, [ λ > π ? λ - 2 * π : λ < -π ? λ + 2 * π : λ, φ ];- };- }- function d3_geo_rotationλ(δλ) {- var rotation = d3_geo_forwardRotationλ(δλ);- rotation.invert = d3_geo_forwardRotationλ(-δλ);- return rotation;- }- function d3_geo_rotationφγ(δφ, δγ) {- var cosδφ = Math.cos(δφ), sinδφ = Math.sin(δφ), cosδγ = Math.cos(δγ), sinδγ = Math.sin(δγ);- function rotation(λ, φ) {- var cosφ = Math.cos(φ), x = Math.cos(λ) * cosφ, y = Math.sin(λ) * cosφ, z = Math.sin(φ), k = z * cosδφ + x * sinδφ;- return [ Math.atan2(y * cosδγ - k * sinδγ, x * cosδφ - z * sinδφ), d3_asin(k * cosδγ + y * sinδγ) ];- }- rotation.invert = function(λ, φ) {- var cosφ = Math.cos(φ), x = Math.cos(λ) * cosφ, y = Math.sin(λ) * cosφ, z = Math.sin(φ), k = z * cosδγ - y * sinδγ;- return [ Math.atan2(y * cosδγ + z * sinδγ, x * cosδφ + k * sinδφ), d3_asin(k * cosδφ - x * sinδφ) ];- };- return rotation;- }- d3.geo.circle = function() {- var origin = [ 0, 0 ], angle, precision = 6, interpolate;- function circle() {- var center = typeof origin === "function" ? origin.apply(this, arguments) : origin, rotate = d3_geo_rotation(-center[0] * d3_radians, -center[1] * d3_radians, 0).invert, ring = [];- interpolate(null, null, 1, {- point: function(x, y) {- ring.push(x = rotate(x, y));- x[0] *= d3_degrees, x[1] *= d3_degrees;- }- });- return {- type: "Polygon",- coordinates: [ ring ]- };- }- circle.origin = function(x) {- if (!arguments.length) return origin;- origin = x;- return circle;- };- circle.angle = function(x) {- if (!arguments.length) return angle;- interpolate = d3_geo_circleInterpolate((angle = +x) * d3_radians, precision * d3_radians);- return circle;- };- circle.precision = function(_) {- if (!arguments.length) return precision;- interpolate = d3_geo_circleInterpolate(angle * d3_radians, (precision = +_) * d3_radians);- return circle;- };- return circle.angle(90);- };- function d3_geo_circleInterpolate(radius, precision) {- var cr = Math.cos(radius), sr = Math.sin(radius);- return function(from, to, direction, listener) {- if (from != null) {- from = d3_geo_circleAngle(cr, from);- to = d3_geo_circleAngle(cr, to);- if (direction > 0 ? from < to : from > to) from += direction * 2 * π;- } else {- from = radius + direction * 2 * π;- to = radius;- }- var point;- for (var step = direction * precision, t = from; direction > 0 ? t > to : t < to; t -= step) {- listener.point((point = d3_geo_spherical([ cr, -sr * Math.cos(t), -sr * Math.sin(t) ]))[0], point[1]);- }- };- }- function d3_geo_circleAngle(cr, point) {- var a = d3_geo_cartesian(point);- a[0] -= cr;- d3_geo_cartesianNormalize(a);- var angle = d3_acos(-a[1]);- return ((-a[2] < 0 ? -angle : angle) + 2 * Math.PI - ε) % (2 * Math.PI);- }- d3.geo.distance = function(a, b) {- var Δλ = (b[0] - a[0]) * d3_radians, φ0 = a[1] * d3_radians, φ1 = b[1] * d3_radians, sinΔλ = Math.sin(Δλ), cosΔλ = Math.cos(Δλ), sinφ0 = Math.sin(φ0), cosφ0 = Math.cos(φ0), sinφ1 = Math.sin(φ1), cosφ1 = Math.cos(φ1), t;- return Math.atan2(Math.sqrt((t = cosφ1 * sinΔλ) * t + (t = cosφ0 * sinφ1 - sinφ0 * cosφ1 * cosΔλ) * t), sinφ0 * sinφ1 + cosφ0 * cosφ1 * cosΔλ);- };- d3.geo.graticule = function() {- var x1, x0, X1, X0, y1, y0, Y1, Y0, dx = 10, dy = dx, DX = 90, DY = 360, x, y, X, Y, precision = 2.5;- function graticule() {- return {- type: "MultiLineString",- coordinates: lines()- };- }- function lines() {- return d3.range(Math.ceil(X0 / DX) * DX, X1, DX).map(X).concat(d3.range(Math.ceil(Y0 / DY) * DY, Y1, DY).map(Y)).concat(d3.range(Math.ceil(x0 / dx) * dx, x1, dx).filter(function(x) {- return Math.abs(x % DX) > ε;- }).map(x)).concat(d3.range(Math.ceil(y0 / dy) * dy, y1, dy).filter(function(y) {- return Math.abs(y % DY) > ε;- }).map(y));- }- graticule.lines = function() {- return lines().map(function(coordinates) {- return {- type: "LineString",- coordinates: coordinates- };- });- };- graticule.outline = function() {- return {- type: "Polygon",- coordinates: [ X(X0).concat(Y(Y1).slice(1), X(X1).reverse().slice(1), Y(Y0).reverse().slice(1)) ]- };- };- graticule.extent = function(_) {- if (!arguments.length) return graticule.minorExtent();- return graticule.majorExtent(_).minorExtent(_);- };- graticule.majorExtent = function(_) {- if (!arguments.length) return [ [ X0, Y0 ], [ X1, Y1 ] ];- X0 = +_[0][0], X1 = +_[1][0];- Y0 = +_[0][1], Y1 = +_[1][1];- if (X0 > X1) _ = X0, X0 = X1, X1 = _;- if (Y0 > Y1) _ = Y0, Y0 = Y1, Y1 = _;- return graticule.precision(precision);- };- graticule.minorExtent = function(_) {- if (!arguments.length) return [ [ x0, y0 ], [ x1, y1 ] ];- x0 = +_[0][0], x1 = +_[1][0];- y0 = +_[0][1], y1 = +_[1][1];- if (x0 > x1) _ = x0, x0 = x1, x1 = _;- if (y0 > y1) _ = y0, y0 = y1, y1 = _;- return graticule.precision(precision);- };- graticule.step = function(_) {- if (!arguments.length) return graticule.minorStep();- return graticule.majorStep(_).minorStep(_);- };- graticule.majorStep = function(_) {- if (!arguments.length) return [ DX, DY ];- DX = +_[0], DY = +_[1];- return graticule;- };- graticule.minorStep = function(_) {- if (!arguments.length) return [ dx, dy ];- dx = +_[0], dy = +_[1];- return graticule;- };- graticule.precision = function(_) {- if (!arguments.length) return precision;- precision = +_;- x = d3_geo_graticuleX(y0, y1, 90);- y = d3_geo_graticuleY(x0, x1, precision);- X = d3_geo_graticuleX(Y0, Y1, 90);- Y = d3_geo_graticuleY(X0, X1, precision);- return graticule;- };- return graticule.majorExtent([ [ -180, -90 + ε ], [ 180, 90 - ε ] ]).minorExtent([ [ -180, -80 - ε ], [ 180, 80 + ε ] ]);- };- function d3_geo_graticuleX(y0, y1, dy) {- var y = d3.range(y0, y1 - ε, dy).concat(y1);- return function(x) {- return y.map(function(y) {- return [ x, y ];- });- };- }- function d3_geo_graticuleY(x0, x1, dx) {- var x = d3.range(x0, x1 - ε, dx).concat(x1);- return function(y) {- return x.map(function(x) {- return [ x, y ];- });- };- }- function d3_source(d) {- return d.source;- }- function d3_target(d) {- return d.target;- }- d3.geo.greatArc = function() {- var source = d3_source, source_, target = d3_target, target_;- function greatArc() {- return {- type: "LineString",- coordinates: [ source_ || source.apply(this, arguments), target_ || target.apply(this, arguments) ]- };- }- greatArc.distance = function() {- return d3.geo.distance(source_ || source.apply(this, arguments), target_ || target.apply(this, arguments));- };- greatArc.source = function(_) {- if (!arguments.length) return source;- source = _, source_ = typeof _ === "function" ? null : _;- return greatArc;- };- greatArc.target = function(_) {- if (!arguments.length) return target;- target = _, target_ = typeof _ === "function" ? null : _;- return greatArc;- };- greatArc.precision = function() {- return arguments.length ? greatArc : 0;- };- return greatArc;- };- d3.geo.interpolate = function(source, target) {- return d3_geo_interpolate(source[0] * d3_radians, source[1] * d3_radians, target[0] * d3_radians, target[1] * d3_radians);- };- function d3_geo_interpolate(x0, y0, x1, y1) {- var cy0 = Math.cos(y0), sy0 = Math.sin(y0), cy1 = Math.cos(y1), sy1 = Math.sin(y1), kx0 = cy0 * Math.cos(x0), ky0 = cy0 * Math.sin(x0), kx1 = cy1 * Math.cos(x1), ky1 = cy1 * Math.sin(x1), d = 2 * Math.asin(Math.sqrt(d3_haversin(y1 - y0) + cy0 * cy1 * d3_haversin(x1 - x0))), k = 1 / Math.sin(d);- var interpolate = d ? function(t) {- var B = Math.sin(t *= d) * k, A = Math.sin(d - t) * k, x = A * kx0 + B * kx1, y = A * ky0 + B * ky1, z = A * sy0 + B * sy1;- return [ Math.atan2(y, x) * d3_degrees, Math.atan2(z, Math.sqrt(x * x + y * y)) * d3_degrees ];- } : function() {- return [ x0 * d3_degrees, y0 * d3_degrees ];- };- interpolate.distance = d;- return interpolate;- }- d3.geo.length = function(object) {- d3_geo_lengthSum = 0;- d3.geo.stream(object, d3_geo_length);- return d3_geo_lengthSum;- };- var d3_geo_lengthSum;- var d3_geo_length = {- sphere: d3_noop,- point: d3_noop,- lineStart: d3_geo_lengthLineStart,- lineEnd: d3_noop,- polygonStart: d3_noop,- polygonEnd: d3_noop- };- function d3_geo_lengthLineStart() {- var λ0, sinφ0, cosφ0;- d3_geo_length.point = function(λ, φ) {- λ0 = λ * d3_radians, sinφ0 = Math.sin(φ *= d3_radians), cosφ0 = Math.cos(φ);- d3_geo_length.point = nextPoint;- };- d3_geo_length.lineEnd = function() {- d3_geo_length.point = d3_geo_length.lineEnd = d3_noop;- };- function nextPoint(λ, φ) {- var sinφ = Math.sin(φ *= d3_radians), cosφ = Math.cos(φ), t = Math.abs((λ *= d3_radians) - λ0), cosΔλ = Math.cos(t);- d3_geo_lengthSum += Math.atan2(Math.sqrt((t = cosφ * Math.sin(t)) * t + (t = cosφ0 * sinφ - sinφ0 * cosφ * cosΔλ) * t), sinφ0 * sinφ + cosφ0 * cosφ * cosΔλ);- λ0 = λ, sinφ0 = sinφ, cosφ0 = cosφ;- }- }- function d3_geo_azimuthal(scale, angle) {- function azimuthal(λ, φ) {- var cosλ = Math.cos(λ), cosφ = Math.cos(φ), k = scale(cosλ * cosφ);- return [ k * cosφ * Math.sin(λ), k * Math.sin(φ) ];- }- azimuthal.invert = function(x, y) {- var ρ = Math.sqrt(x * x + y * y), c = angle(ρ), sinc = Math.sin(c), cosc = Math.cos(c);- return [ Math.atan2(x * sinc, ρ * cosc), Math.asin(ρ && y * sinc / ρ) ];- };- return azimuthal;- }- var d3_geo_azimuthalEqualArea = d3_geo_azimuthal(function(cosλcosφ) {- return Math.sqrt(2 / (1 + cosλcosφ));- }, function(ρ) {- return 2 * Math.asin(ρ / 2);- });- (d3.geo.azimuthalEqualArea = function() {- return d3_geo_projection(d3_geo_azimuthalEqualArea);- }).raw = d3_geo_azimuthalEqualArea;- var d3_geo_azimuthalEquidistant = d3_geo_azimuthal(function(cosλcosφ) {- var c = Math.acos(cosλcosφ);- return c && c / Math.sin(c);- }, d3_identity);- (d3.geo.azimuthalEquidistant = function() {- return d3_geo_projection(d3_geo_azimuthalEquidistant);- }).raw = d3_geo_azimuthalEquidistant;- function d3_geo_conicConformal(φ0, φ1) {- var cosφ0 = Math.cos(φ0), t = function(φ) {- return Math.tan(π / 4 + φ / 2);- }, n = φ0 === φ1 ? Math.sin(φ0) : Math.log(cosφ0 / Math.cos(φ1)) / Math.log(t(φ1) / t(φ0)), F = cosφ0 * Math.pow(t(φ0), n) / n;- if (!n) return d3_geo_mercator;- function forward(λ, φ) {- var ρ = Math.abs(Math.abs(φ) - π / 2) < ε ? 0 : F / Math.pow(t(φ), n);- return [ ρ * Math.sin(n * λ), F - ρ * Math.cos(n * λ) ];- }- forward.invert = function(x, y) {- var ρ0_y = F - y, ρ = d3_sgn(n) * Math.sqrt(x * x + ρ0_y * ρ0_y);- return [ Math.atan2(x, ρ0_y) / n, 2 * Math.atan(Math.pow(F / ρ, 1 / n)) - π / 2 ];- };- return forward;- }- (d3.geo.conicConformal = function() {- return d3_geo_conic(d3_geo_conicConformal);- }).raw = d3_geo_conicConformal;- function d3_geo_conicEquidistant(φ0, φ1) {- var cosφ0 = Math.cos(φ0), n = φ0 === φ1 ? Math.sin(φ0) : (cosφ0 - Math.cos(φ1)) / (φ1 - φ0), G = cosφ0 / n + φ0;- if (Math.abs(n) < ε) return d3_geo_equirectangular;- function forward(λ, φ) {- var ρ = G - φ;- return [ ρ * Math.sin(n * λ), G - ρ * Math.cos(n * λ) ];- }- forward.invert = function(x, y) {- var ρ0_y = G - y;- return [ Math.atan2(x, ρ0_y) / n, G - d3_sgn(n) * Math.sqrt(x * x + ρ0_y * ρ0_y) ];- };- return forward;- }- (d3.geo.conicEquidistant = function() {- return d3_geo_conic(d3_geo_conicEquidistant);- }).raw = d3_geo_conicEquidistant;- var d3_geo_gnomonic = d3_geo_azimuthal(function(cosλcosφ) {- return 1 / cosλcosφ;- }, Math.atan);- (d3.geo.gnomonic = function() {- return d3_geo_projection(d3_geo_gnomonic);- }).raw = d3_geo_gnomonic;- function d3_geo_mercator(λ, φ) {- return [ λ, Math.log(Math.tan(π / 4 + φ / 2)) ];- }- d3_geo_mercator.invert = function(x, y) {- return [ x, 2 * Math.atan(Math.exp(y)) - π / 2 ];- };- function d3_geo_mercatorProjection(project) {- var m = d3_geo_projection(project), scale = m.scale, translate = m.translate, clipExtent = m.clipExtent, clipAuto;- m.scale = function() {- var v = scale.apply(m, arguments);- return v === m ? clipAuto ? m.clipExtent(null) : m : v;- };- m.translate = function() {- var v = translate.apply(m, arguments);- return v === m ? clipAuto ? m.clipExtent(null) : m : v;- };- m.clipExtent = function(_) {- var v = clipExtent.apply(m, arguments);- if (v === m) {- if (clipAuto = _ == null) {- var k = π * scale(), t = translate();- clipExtent([ [ t[0] - k, t[1] - k ], [ t[0] + k, t[1] + k ] ]);- }- } else if (clipAuto) {- v = null;- }- return v;- };- return m.clipExtent(null);- }- (d3.geo.mercator = function() {- return d3_geo_mercatorProjection(d3_geo_mercator);- }).raw = d3_geo_mercator;- var d3_geo_orthographic = d3_geo_azimuthal(function() {- return 1;- }, Math.asin);- (d3.geo.orthographic = function() {- return d3_geo_projection(d3_geo_orthographic);- }).raw = d3_geo_orthographic;- var d3_geo_stereographic = d3_geo_azimuthal(function(cosλcosφ) {- return 1 / (1 + cosλcosφ);- }, function(ρ) {- return 2 * Math.atan(ρ);- });- (d3.geo.stereographic = function() {- return d3_geo_projection(d3_geo_stereographic);- }).raw = d3_geo_stereographic;- function d3_geo_transverseMercator(λ, φ) {- var B = Math.cos(φ) * Math.sin(λ);- return [ Math.log((1 + B) / (1 - B)) / 2, Math.atan2(Math.tan(φ), Math.cos(λ)) ];- }- d3_geo_transverseMercator.invert = function(x, y) {- return [ Math.atan2(d3_sinh(x), Math.cos(y)), d3_asin(Math.sin(y) / d3_cosh(x)) ];- };- (d3.geo.transverseMercator = function() {- return d3_geo_mercatorProjection(d3_geo_transverseMercator);- }).raw = d3_geo_transverseMercator;- d3.geom = {};- d3.svg = {};- function d3_svg_line(projection) {- var x = d3_svg_lineX, y = d3_svg_lineY, defined = d3_true, interpolate = d3_svg_lineLinear, interpolateKey = interpolate.key, tension = .7;- function line(data) {- var segments = [], points = [], i = -1, n = data.length, d, fx = d3_functor(x), fy = d3_functor(y);- function segment() {- segments.push("M", interpolate(projection(points), tension));- }- while (++i < n) {- if (defined.call(this, d = data[i], i)) {- points.push([ +fx.call(this, d, i), +fy.call(this, d, i) ]);- } else if (points.length) {- segment();- points = [];- }- }- if (points.length) segment();- return segments.length ? segments.join("") : null;- }- line.x = function(_) {- if (!arguments.length) return x;- x = _;- return line;- };- line.y = function(_) {- if (!arguments.length) return y;- y = _;- return line;- };- line.defined = function(_) {- if (!arguments.length) return defined;- defined = _;- return line;- };- line.interpolate = function(_) {- if (!arguments.length) return interpolateKey;- if (typeof _ === "function") interpolateKey = interpolate = _; else interpolateKey = (interpolate = d3_svg_lineInterpolators.get(_) || d3_svg_lineLinear).key;- return line;- };- line.tension = function(_) {- if (!arguments.length) return tension;- tension = _;- return line;- };- return line;- }- d3.svg.line = function() {- return d3_svg_line(d3_identity);- };- function d3_svg_lineX(d) {- return d[0];- }- function d3_svg_lineY(d) {- return d[1];- }- var d3_svg_lineInterpolators = d3.map({- linear: d3_svg_lineLinear,- "linear-closed": d3_svg_lineLinearClosed,- step: d3_svg_lineStep,- "step-before": d3_svg_lineStepBefore,- "step-after": d3_svg_lineStepAfter,- basis: d3_svg_lineBasis,- "basis-open": d3_svg_lineBasisOpen,- "basis-closed": d3_svg_lineBasisClosed,- bundle: d3_svg_lineBundle,- cardinal: d3_svg_lineCardinal,- "cardinal-open": d3_svg_lineCardinalOpen,- "cardinal-closed": d3_svg_lineCardinalClosed,- monotone: d3_svg_lineMonotone- });- d3_svg_lineInterpolators.forEach(function(key, value) {- value.key = key;- value.closed = /-closed$/.test(key);- });- function d3_svg_lineLinear(points) {- return points.join("L");- }- function d3_svg_lineLinearClosed(points) {- return d3_svg_lineLinear(points) + "Z";- }- function d3_svg_lineStep(points) {- var i = 0, n = points.length, p = points[0], path = [ p[0], ",", p[1] ];- while (++i < n) path.push("H", (p[0] + (p = points[i])[0]) / 2, "V", p[1]);- if (n > 1) path.push("H", p[0]);- return path.join("");- }- function d3_svg_lineStepBefore(points) {- var i = 0, n = points.length, p = points[0], path = [ p[0], ",", p[1] ];- while (++i < n) path.push("V", (p = points[i])[1], "H", p[0]);- return path.join("");- }- function d3_svg_lineStepAfter(points) {- var i = 0, n = points.length, p = points[0], path = [ p[0], ",", p[1] ];- while (++i < n) path.push("H", (p = points[i])[0], "V", p[1]);- return path.join("");- }- function d3_svg_lineCardinalOpen(points, tension) {- return points.length < 4 ? d3_svg_lineLinear(points) : points[1] + d3_svg_lineHermite(points.slice(1, points.length - 1), d3_svg_lineCardinalTangents(points, tension));- }- function d3_svg_lineCardinalClosed(points, tension) {- return points.length < 3 ? d3_svg_lineLinear(points) : points[0] + d3_svg_lineHermite((points.push(points[0]),- points), d3_svg_lineCardinalTangents([ points[points.length - 2] ].concat(points, [ points[1] ]), tension));- }- function d3_svg_lineCardinal(points, tension) {- return points.length < 3 ? d3_svg_lineLinear(points) : points[0] + d3_svg_lineHermite(points, d3_svg_lineCardinalTangents(points, tension));- }- function d3_svg_lineHermite(points, tangents) {- if (tangents.length < 1 || points.length != tangents.length && points.length != tangents.length + 2) {- return d3_svg_lineLinear(points);- }- var quad = points.length != tangents.length, path = "", p0 = points[0], p = points[1], t0 = tangents[0], t = t0, pi = 1;- if (quad) {- path += "Q" + (p[0] - t0[0] * 2 / 3) + "," + (p[1] - t0[1] * 2 / 3) + "," + p[0] + "," + p[1];- p0 = points[1];- pi = 2;- }- if (tangents.length > 1) {- t = tangents[1];- p = points[pi];- pi++;- path += "C" + (p0[0] + t0[0]) + "," + (p0[1] + t0[1]) + "," + (p[0] - t[0]) + "," + (p[1] - t[1]) + "," + p[0] + "," + p[1];- for (var i = 2; i < tangents.length; i++, pi++) {- p = points[pi];- t = tangents[i];- path += "S" + (p[0] - t[0]) + "," + (p[1] - t[1]) + "," + p[0] + "," + p[1];- }- }- if (quad) {- var lp = points[pi];- path += "Q" + (p[0] + t[0] * 2 / 3) + "," + (p[1] + t[1] * 2 / 3) + "," + lp[0] + "," + lp[1];- }- return path;- }- function d3_svg_lineCardinalTangents(points, tension) {- var tangents = [], a = (1 - tension) / 2, p0, p1 = points[0], p2 = points[1], i = 1, n = points.length;- while (++i < n) {- p0 = p1;- p1 = p2;- p2 = points[i];- tangents.push([ a * (p2[0] - p0[0]), a * (p2[1] - p0[1]) ]);- }- return tangents;- }- function d3_svg_lineBasis(points) {- if (points.length < 3) return d3_svg_lineLinear(points);- var i = 1, n = points.length, pi = points[0], x0 = pi[0], y0 = pi[1], px = [ x0, x0, x0, (pi = points[1])[0] ], py = [ y0, y0, y0, pi[1] ], path = [ x0, ",", y0 ];- d3_svg_lineBasisBezier(path, px, py);- while (++i < n) {- pi = points[i];- px.shift();- px.push(pi[0]);- py.shift();- py.push(pi[1]);- d3_svg_lineBasisBezier(path, px, py);- }- i = -1;- while (++i < 2) {- px.shift();- px.push(pi[0]);- py.shift();- py.push(pi[1]);- d3_svg_lineBasisBezier(path, px, py);- }- return path.join("");- }- function d3_svg_lineBasisOpen(points) {- if (points.length < 4) return d3_svg_lineLinear(points);- var path = [], i = -1, n = points.length, pi, px = [ 0 ], py = [ 0 ];- while (++i < 3) {- pi = points[i];- px.push(pi[0]);- py.push(pi[1]);- }- path.push(d3_svg_lineDot4(d3_svg_lineBasisBezier3, px) + "," + d3_svg_lineDot4(d3_svg_lineBasisBezier3, py));- --i;- while (++i < n) {- pi = points[i];- px.shift();- px.push(pi[0]);- py.shift();- py.push(pi[1]);- d3_svg_lineBasisBezier(path, px, py);- }- return path.join("");- }- function d3_svg_lineBasisClosed(points) {- var path, i = -1, n = points.length, m = n + 4, pi, px = [], py = [];- while (++i < 4) {- pi = points[i % n];- px.push(pi[0]);- py.push(pi[1]);- }- path = [ d3_svg_lineDot4(d3_svg_lineBasisBezier3, px), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier3, py) ];- --i;- while (++i < m) {- pi = points[i % n];- px.shift();- px.push(pi[0]);- py.shift();- py.push(pi[1]);- d3_svg_lineBasisBezier(path, px, py);- }- return path.join("");- }- function d3_svg_lineBundle(points, tension) {- var n = points.length - 1;- if (n) {- var x0 = points[0][0], y0 = points[0][1], dx = points[n][0] - x0, dy = points[n][1] - y0, i = -1, p, t;- while (++i <= n) {- p = points[i];- t = i / n;- p[0] = tension * p[0] + (1 - tension) * (x0 + t * dx);- p[1] = tension * p[1] + (1 - tension) * (y0 + t * dy);- }- }- return d3_svg_lineBasis(points);- }- function d3_svg_lineDot4(a, b) {- return a[0] * b[0] + a[1] * b[1] + a[2] * b[2] + a[3] * b[3];- }- var d3_svg_lineBasisBezier1 = [ 0, 2 / 3, 1 / 3, 0 ], d3_svg_lineBasisBezier2 = [ 0, 1 / 3, 2 / 3, 0 ], d3_svg_lineBasisBezier3 = [ 0, 1 / 6, 2 / 3, 1 / 6 ];- function d3_svg_lineBasisBezier(path, x, y) {- path.push("C", d3_svg_lineDot4(d3_svg_lineBasisBezier1, x), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier1, y), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier2, x), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier2, y), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier3, x), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier3, y));- }- function d3_svg_lineSlope(p0, p1) {- return (p1[1] - p0[1]) / (p1[0] - p0[0]);- }- function d3_svg_lineFiniteDifferences(points) {- var i = 0, j = points.length - 1, m = [], p0 = points[0], p1 = points[1], d = m[0] = d3_svg_lineSlope(p0, p1);- while (++i < j) {- m[i] = (d + (d = d3_svg_lineSlope(p0 = p1, p1 = points[i + 1]))) / 2;- }- m[i] = d;- return m;- }- function d3_svg_lineMonotoneTangents(points) {- var tangents = [], d, a, b, s, m = d3_svg_lineFiniteDifferences(points), i = -1, j = points.length - 1;- while (++i < j) {- d = d3_svg_lineSlope(points[i], points[i + 1]);- if (Math.abs(d) < 1e-6) {- m[i] = m[i + 1] = 0;- } else {- a = m[i] / d;- b = m[i + 1] / d;- s = a * a + b * b;- if (s > 9) {- s = d * 3 / Math.sqrt(s);- m[i] = s * a;- m[i + 1] = s * b;- }- }- }- i = -1;- while (++i <= j) {- s = (points[Math.min(j, i + 1)][0] - points[Math.max(0, i - 1)][0]) / (6 * (1 + m[i] * m[i]));- tangents.push([ s || 0, m[i] * s || 0 ]);- }- return tangents;- }- function d3_svg_lineMonotone(points) {- return points.length < 3 ? d3_svg_lineLinear(points) : points[0] + d3_svg_lineHermite(points, d3_svg_lineMonotoneTangents(points));- }- d3.geom.hull = function(vertices) {- var x = d3_svg_lineX, y = d3_svg_lineY;- if (arguments.length) return hull(vertices);- function hull(data) {- if (data.length < 3) return [];- var fx = d3_functor(x), fy = d3_functor(y), n = data.length, vertices, plen = n - 1, points = [], stack = [], d, i, j, h = 0, x1, y1, x2, y2, u, v, a, sp;- if (fx === d3_svg_lineX && y === d3_svg_lineY) vertices = data; else for (i = 0,- vertices = []; i < n; ++i) {- vertices.push([ +fx.call(this, d = data[i], i), +fy.call(this, d, i) ]);- }- for (i = 1; i < n; ++i) {- if (vertices[i][1] < vertices[h][1] || vertices[i][1] == vertices[h][1] && vertices[i][0] < vertices[h][0]) h = i;- }- for (i = 0; i < n; ++i) {- if (i === h) continue;- y1 = vertices[i][1] - vertices[h][1];- x1 = vertices[i][0] - vertices[h][0];- points.push({- angle: Math.atan2(y1, x1),- index: i- });- }- points.sort(function(a, b) {- return a.angle - b.angle;- });- a = points[0].angle;- v = points[0].index;- u = 0;- for (i = 1; i < plen; ++i) {- j = points[i].index;- if (a == points[i].angle) {- x1 = vertices[v][0] - vertices[h][0];- y1 = vertices[v][1] - vertices[h][1];- x2 = vertices[j][0] - vertices[h][0];- y2 = vertices[j][1] - vertices[h][1];- if (x1 * x1 + y1 * y1 >= x2 * x2 + y2 * y2) {- points[i].index = -1;- continue;- } else {- points[u].index = -1;- }- }- a = points[i].angle;- u = i;- v = j;- }- stack.push(h);- for (i = 0, j = 0; i < 2; ++j) {- if (points[j].index > -1) {- stack.push(points[j].index);- i++;- }- }- sp = stack.length;- for (;j < plen; ++j) {- if (points[j].index < 0) continue;- while (!d3_geom_hullCCW(stack[sp - 2], stack[sp - 1], points[j].index, vertices)) {- --sp;- }- stack[sp++] = points[j].index;- }- var poly = [];- for (i = sp - 1; i >= 0; --i) poly.push(data[stack[i]]);- return poly;- }- hull.x = function(_) {- return arguments.length ? (x = _, hull) : x;- };- hull.y = function(_) {- return arguments.length ? (y = _, hull) : y;- };- return hull;- };- function d3_geom_hullCCW(i1, i2, i3, v) {- var t, a, b, c, d, e, f;- t = v[i1];- a = t[0];- b = t[1];- t = v[i2];- c = t[0];- d = t[1];- t = v[i3];- e = t[0];- f = t[1];- return (f - b) * (c - a) - (d - b) * (e - a) > 0;- }- d3.geom.polygon = function(coordinates) {- coordinates.area = function() {- var i = 0, n = coordinates.length, area = coordinates[n - 1][1] * coordinates[0][0] - coordinates[n - 1][0] * coordinates[0][1];- while (++i < n) {- area += coordinates[i - 1][1] * coordinates[i][0] - coordinates[i - 1][0] * coordinates[i][1];- }- return area * .5;- };- coordinates.centroid = function(k) {- var i = -1, n = coordinates.length, x = 0, y = 0, a, b = coordinates[n - 1], c;- if (!arguments.length) k = -1 / (6 * coordinates.area());- while (++i < n) {- a = b;- b = coordinates[i];- c = a[0] * b[1] - b[0] * a[1];- x += (a[0] + b[0]) * c;- y += (a[1] + b[1]) * c;- }- return [ x * k, y * k ];- };- coordinates.clip = function(subject) {- var input, i = -1, n = coordinates.length, j, m, a = coordinates[n - 1], b, c, d;- while (++i < n) {- input = subject.slice();- subject.length = 0;- b = coordinates[i];- c = input[(m = input.length) - 1];- j = -1;- while (++j < m) {- d = input[j];- if (d3_geom_polygonInside(d, a, b)) {- if (!d3_geom_polygonInside(c, a, b)) {- subject.push(d3_geom_polygonIntersect(c, d, a, b));- }- subject.push(d);- } else if (d3_geom_polygonInside(c, a, b)) {- subject.push(d3_geom_polygonIntersect(c, d, a, b));- }- c = d;- }- a = b;- }- return subject;- };- return coordinates;- };- function d3_geom_polygonInside(p, a, b) {- return (b[0] - a[0]) * (p[1] - a[1]) < (b[1] - a[1]) * (p[0] - a[0]);- }- function d3_geom_polygonIntersect(c, d, a, b) {- var x1 = c[0], x3 = a[0], x21 = d[0] - x1, x43 = b[0] - x3, y1 = c[1], y3 = a[1], y21 = d[1] - y1, y43 = b[1] - y3, ua = (x43 * (y1 - y3) - y43 * (x1 - x3)) / (y43 * x21 - x43 * y21);- return [ x1 + ua * x21, y1 + ua * y21 ];- }- d3.geom.delaunay = function(vertices) {- var edges = vertices.map(function() {- return [];- }), triangles = [];- d3_geom_voronoiTessellate(vertices, function(e) {- edges[e.region.l.index].push(vertices[e.region.r.index]);- });- edges.forEach(function(edge, i) {- var v = vertices[i], cx = v[0], cy = v[1];- edge.forEach(function(v) {- v.angle = Math.atan2(v[0] - cx, v[1] - cy);- });- edge.sort(function(a, b) {- return a.angle - b.angle;- });- for (var j = 0, m = edge.length - 1; j < m; j++) {- triangles.push([ v, edge[j], edge[j + 1] ]);- }- });- return triangles;- };- d3.geom.voronoi = function(points) {- var x = d3_svg_lineX, y = d3_svg_lineY, clipPolygon = null;- if (arguments.length) return voronoi(points);- function voronoi(data) {- var points, polygons = data.map(function() {- return [];- }), fx = d3_functor(x), fy = d3_functor(y), d, i, n = data.length, Z = 1e6;- if (fx === d3_svg_lineX && fy === d3_svg_lineY) points = data; else for (points = new Array(n),- i = 0; i < n; ++i) {- points[i] = [ +fx.call(this, d = data[i], i), +fy.call(this, d, i) ];- }- d3_geom_voronoiTessellate(points, function(e) {- var s1, s2, x1, x2, y1, y2;- if (e.a === 1 && e.b >= 0) {- s1 = e.ep.r;- s2 = e.ep.l;- } else {- s1 = e.ep.l;- s2 = e.ep.r;- }- if (e.a === 1) {- y1 = s1 ? s1.y : -Z;- x1 = e.c - e.b * y1;- y2 = s2 ? s2.y : Z;- x2 = e.c - e.b * y2;- } else {- x1 = s1 ? s1.x : -Z;- y1 = e.c - e.a * x1;- x2 = s2 ? s2.x : Z;- y2 = e.c - e.a * x2;- }- var v1 = [ x1, y1 ], v2 = [ x2, y2 ];- polygons[e.region.l.index].push(v1, v2);- polygons[e.region.r.index].push(v1, v2);- });- polygons = polygons.map(function(polygon, i) {- var cx = points[i][0], cy = points[i][1], angle = polygon.map(function(v) {- return Math.atan2(v[0] - cx, v[1] - cy);- }), order = d3.range(polygon.length).sort(function(a, b) {- return angle[a] - angle[b];- });- return order.filter(function(d, i) {- return !i || angle[d] - angle[order[i - 1]] > ε;- }).map(function(d) {- return polygon[d];- });- });- polygons.forEach(function(polygon, i) {- var n = polygon.length;- if (!n) return polygon.push([ -Z, -Z ], [ -Z, Z ], [ Z, Z ], [ Z, -Z ]);- if (n > 2) return;- var p0 = points[i], p1 = polygon[0], p2 = polygon[1], x0 = p0[0], y0 = p0[1], x1 = p1[0], y1 = p1[1], x2 = p2[0], y2 = p2[1], dx = Math.abs(x2 - x1), dy = y2 - y1;- if (Math.abs(dy) < ε) {- var y = y0 < y1 ? -Z : Z;- polygon.push([ -Z, y ], [ Z, y ]);- } else if (dx < ε) {- var x = x0 < x1 ? -Z : Z;- polygon.push([ x, -Z ], [ x, Z ]);- } else {- var y = (x2 - x1) * (y1 - y0) < (x1 - x0) * (y2 - y1) ? Z : -Z, z = Math.abs(dy) - dx;- if (Math.abs(z) < ε) {- polygon.push([ dy < 0 ? y : -y, y ]);- } else {- if (z > 0) y *= -1;- polygon.push([ -Z, y ], [ Z, y ]);- }- }- });- if (clipPolygon) for (i = 0; i < n; ++i) clipPolygon.clip(polygons[i]);- for (i = 0; i < n; ++i) polygons[i].point = data[i];- return polygons;- }- voronoi.x = function(_) {- return arguments.length ? (x = _, voronoi) : x;- };- voronoi.y = function(_) {- return arguments.length ? (y = _, voronoi) : y;- };- voronoi.clipExtent = function(_) {- if (!arguments.length) return clipPolygon && [ clipPolygon[0], clipPolygon[2] ];- if (_ == null) clipPolygon = null; else {- var x1 = +_[0][0], y1 = +_[0][1], x2 = +_[1][0], y2 = +_[1][1];- clipPolygon = d3.geom.polygon([ [ x1, y1 ], [ x1, y2 ], [ x2, y2 ], [ x2, y1 ] ]);- }- return voronoi;- };- voronoi.size = function(_) {- if (!arguments.length) return clipPolygon && clipPolygon[2];- return voronoi.clipExtent(_ && [ [ 0, 0 ], _ ]);- };- voronoi.links = function(data) {- var points, graph = data.map(function() {- return [];- }), links = [], fx = d3_functor(x), fy = d3_functor(y), d, i, n = data.length;- if (fx === d3_svg_lineX && fy === d3_svg_lineY) points = data; else for (points = new Array(n),- i = 0; i < n; ++i) {- points[i] = [ +fx.call(this, d = data[i], i), +fy.call(this, d, i) ];- }- d3_geom_voronoiTessellate(points, function(e) {- var l = e.region.l.index, r = e.region.r.index;- if (graph[l][r]) return;- graph[l][r] = graph[r][l] = true;- links.push({- source: data[l],- target: data[r]- });- });- return links;- };- voronoi.triangles = function(data) {- if (x === d3_svg_lineX && y === d3_svg_lineY) return d3.geom.delaunay(data);- var points = new Array(n), fx = d3_functor(x), fy = d3_functor(y), d, i = -1, n = data.length;- while (++i < n) {- (points[i] = [ +fx.call(this, d = data[i], i), +fy.call(this, d, i) ]).data = d;- }- return d3.geom.delaunay(points).map(function(triangle) {- return triangle.map(function(point) {- return point.data;- });- });- };- return voronoi;- };- var d3_geom_voronoiOpposite = {- l: "r",- r: "l"- };- function d3_geom_voronoiTessellate(points, callback) {- var Sites = {- list: points.map(function(v, i) {- return {- index: i,- x: v[0],- y: v[1]- };- }).sort(function(a, b) {- return a.y < b.y ? -1 : a.y > b.y ? 1 : a.x < b.x ? -1 : a.x > b.x ? 1 : 0;- }),- bottomSite: null- };- var EdgeList = {- list: [],- leftEnd: null,- rightEnd: null,- init: function() {- EdgeList.leftEnd = EdgeList.createHalfEdge(null, "l");- EdgeList.rightEnd = EdgeList.createHalfEdge(null, "l");- EdgeList.leftEnd.r = EdgeList.rightEnd;- EdgeList.rightEnd.l = EdgeList.leftEnd;- EdgeList.list.unshift(EdgeList.leftEnd, EdgeList.rightEnd);- },- createHalfEdge: function(edge, side) {- return {- edge: edge,- side: side,- vertex: null,- l: null,- r: null- };- },- insert: function(lb, he) {- he.l = lb;- he.r = lb.r;- lb.r.l = he;- lb.r = he;- },- leftBound: function(p) {- var he = EdgeList.leftEnd;- do {- he = he.r;- } while (he != EdgeList.rightEnd && Geom.rightOf(he, p));- he = he.l;- return he;- },- del: function(he) {- he.l.r = he.r;- he.r.l = he.l;- he.edge = null;- },- right: function(he) {- return he.r;- },- left: function(he) {- return he.l;- },- leftRegion: function(he) {- return he.edge == null ? Sites.bottomSite : he.edge.region[he.side];- },- rightRegion: function(he) {- return he.edge == null ? Sites.bottomSite : he.edge.region[d3_geom_voronoiOpposite[he.side]];- }- };- var Geom = {- bisect: function(s1, s2) {- var newEdge = {- region: {- l: s1,- r: s2- },- ep: {- l: null,- r: null- }- };- var dx = s2.x - s1.x, dy = s2.y - s1.y, adx = dx > 0 ? dx : -dx, ady = dy > 0 ? dy : -dy;- newEdge.c = s1.x * dx + s1.y * dy + (dx * dx + dy * dy) * .5;- if (adx > ady) {- newEdge.a = 1;- newEdge.b = dy / dx;- newEdge.c /= dx;- } else {- newEdge.b = 1;- newEdge.a = dx / dy;- newEdge.c /= dy;- }- return newEdge;- },- intersect: function(el1, el2) {- var e1 = el1.edge, e2 = el2.edge;- if (!e1 || !e2 || e1.region.r == e2.region.r) {- return null;- }- var d = e1.a * e2.b - e1.b * e2.a;- if (Math.abs(d) < 1e-10) {- return null;- }- var xint = (e1.c * e2.b - e2.c * e1.b) / d, yint = (e2.c * e1.a - e1.c * e2.a) / d, e1r = e1.region.r, e2r = e2.region.r, el, e;- if (e1r.y < e2r.y || e1r.y == e2r.y && e1r.x < e2r.x) {- el = el1;- e = e1;- } else {- el = el2;- e = e2;- }- var rightOfSite = xint >= e.region.r.x;- if (rightOfSite && el.side === "l" || !rightOfSite && el.side === "r") {- return null;- }- return {- x: xint,- y: yint- };- },- rightOf: function(he, p) {- var e = he.edge, topsite = e.region.r, rightOfSite = p.x > topsite.x;- if (rightOfSite && he.side === "l") {- return 1;- }- if (!rightOfSite && he.side === "r") {- return 0;- }- if (e.a === 1) {- var dyp = p.y - topsite.y, dxp = p.x - topsite.x, fast = 0, above = 0;- if (!rightOfSite && e.b < 0 || rightOfSite && e.b >= 0) {- above = fast = dyp >= e.b * dxp;- } else {- above = p.x + p.y * e.b > e.c;- if (e.b < 0) {- above = !above;- }- if (!above) {- fast = 1;- }- }- if (!fast) {- var dxs = topsite.x - e.region.l.x;- above = e.b * (dxp * dxp - dyp * dyp) < dxs * dyp * (1 + 2 * dxp / dxs + e.b * e.b);- if (e.b < 0) {- above = !above;- }- }- } else {- var yl = e.c - e.a * p.x, t1 = p.y - yl, t2 = p.x - topsite.x, t3 = yl - topsite.y;- above = t1 * t1 > t2 * t2 + t3 * t3;- }- return he.side === "l" ? above : !above;- },- endPoint: function(edge, side, site) {- edge.ep[side] = site;- if (!edge.ep[d3_geom_voronoiOpposite[side]]) return;- callback(edge);- },- distance: function(s, t) {- var dx = s.x - t.x, dy = s.y - t.y;- return Math.sqrt(dx * dx + dy * dy);- }- };- var EventQueue = {- list: [],- insert: function(he, site, offset) {- he.vertex = site;- he.ystar = site.y + offset;- for (var i = 0, list = EventQueue.list, l = list.length; i < l; i++) {- var next = list[i];- if (he.ystar > next.ystar || he.ystar == next.ystar && site.x > next.vertex.x) {- continue;- } else {- break;- }- }- list.splice(i, 0, he);- },- del: function(he) {- for (var i = 0, ls = EventQueue.list, l = ls.length; i < l && ls[i] != he; ++i) {}- ls.splice(i, 1);- },- empty: function() {- return EventQueue.list.length === 0;- },- nextEvent: function(he) {- for (var i = 0, ls = EventQueue.list, l = ls.length; i < l; ++i) {- if (ls[i] == he) return ls[i + 1];- }- return null;- },- min: function() {- var elem = EventQueue.list[0];- return {- x: elem.vertex.x,- y: elem.ystar- };- },- extractMin: function() {- return EventQueue.list.shift();- }- };- EdgeList.init();- Sites.bottomSite = Sites.list.shift();- var newSite = Sites.list.shift(), newIntStar;- var lbnd, rbnd, llbnd, rrbnd, bisector;- var bot, top, temp, p, v;- var e, pm;- while (true) {- if (!EventQueue.empty()) {- newIntStar = EventQueue.min();- }- if (newSite && (EventQueue.empty() || newSite.y < newIntStar.y || newSite.y == newIntStar.y && newSite.x < newIntStar.x)) {- lbnd = EdgeList.leftBound(newSite);- rbnd = EdgeList.right(lbnd);- bot = EdgeList.rightRegion(lbnd);- e = Geom.bisect(bot, newSite);- bisector = EdgeList.createHalfEdge(e, "l");- EdgeList.insert(lbnd, bisector);- p = Geom.intersect(lbnd, bisector);- if (p) {- EventQueue.del(lbnd);- EventQueue.insert(lbnd, p, Geom.distance(p, newSite));- }- lbnd = bisector;- bisector = EdgeList.createHalfEdge(e, "r");- EdgeList.insert(lbnd, bisector);- p = Geom.intersect(bisector, rbnd);- if (p) {- EventQueue.insert(bisector, p, Geom.distance(p, newSite));- }- newSite = Sites.list.shift();- } else if (!EventQueue.empty()) {- lbnd = EventQueue.extractMin();- llbnd = EdgeList.left(lbnd);- rbnd = EdgeList.right(lbnd);- rrbnd = EdgeList.right(rbnd);- bot = EdgeList.leftRegion(lbnd);- top = EdgeList.rightRegion(rbnd);- v = lbnd.vertex;- Geom.endPoint(lbnd.edge, lbnd.side, v);- Geom.endPoint(rbnd.edge, rbnd.side, v);- EdgeList.del(lbnd);- EventQueue.del(rbnd);- EdgeList.del(rbnd);- pm = "l";- if (bot.y > top.y) {- temp = bot;- bot = top;- top = temp;- pm = "r";- }- e = Geom.bisect(bot, top);- bisector = EdgeList.createHalfEdge(e, pm);- EdgeList.insert(llbnd, bisector);- Geom.endPoint(e, d3_geom_voronoiOpposite[pm], v);- p = Geom.intersect(llbnd, bisector);- if (p) {- EventQueue.del(llbnd);- EventQueue.insert(llbnd, p, Geom.distance(p, bot));- }- p = Geom.intersect(bisector, rrbnd);- if (p) {- EventQueue.insert(bisector, p, Geom.distance(p, bot));- }- } else {- break;- }- }- for (lbnd = EdgeList.right(EdgeList.leftEnd); lbnd != EdgeList.rightEnd; lbnd = EdgeList.right(lbnd)) {- callback(lbnd.edge);- }- }- d3.geom.quadtree = function(points, x1, y1, x2, y2) {- var x = d3_svg_lineX, y = d3_svg_lineY, compat;- if (compat = arguments.length) {- x = d3_geom_quadtreeCompatX;- y = d3_geom_quadtreeCompatY;- if (compat === 3) {- y2 = y1;- x2 = x1;- y1 = x1 = 0;- }- return quadtree(points);- }- function quadtree(data) {- var d, fx = d3_functor(x), fy = d3_functor(y), xs, ys, i, n, x1_, y1_, x2_, y2_;- if (x1 != null) {- x1_ = x1, y1_ = y1, x2_ = x2, y2_ = y2;- } else {- x2_ = y2_ = -(x1_ = y1_ = Infinity);- xs = [], ys = [];- n = data.length;- if (compat) for (i = 0; i < n; ++i) {- d = data[i];- if (d.x < x1_) x1_ = d.x;- if (d.y < y1_) y1_ = d.y;- if (d.x > x2_) x2_ = d.x;- if (d.y > y2_) y2_ = d.y;- xs.push(d.x);- ys.push(d.y);- } else for (i = 0; i < n; ++i) {- var x_ = +fx(d = data[i], i), y_ = +fy(d, i);- if (x_ < x1_) x1_ = x_;- if (y_ < y1_) y1_ = y_;- if (x_ > x2_) x2_ = x_;- if (y_ > y2_) y2_ = y_;- xs.push(x_);- ys.push(y_);- }- }- var dx = x2_ - x1_, dy = y2_ - y1_;- if (dx > dy) y2_ = y1_ + dx; else x2_ = x1_ + dy;- function insert(n, d, x, y, x1, y1, x2, y2) {- if (isNaN(x) || isNaN(y)) return;- if (n.leaf) {- var nx = n.x, ny = n.y;- if (nx != null) {- if (Math.abs(nx - x) + Math.abs(ny - y) < .01) {- insertChild(n, d, x, y, x1, y1, x2, y2);- } else {- var nPoint = n.point;- n.x = n.y = n.point = null;- insertChild(n, nPoint, nx, ny, x1, y1, x2, y2);- insertChild(n, d, x, y, x1, y1, x2, y2);- }- } else {- n.x = x, n.y = y, n.point = d;- }- } else {- insertChild(n, d, x, y, x1, y1, x2, y2);- }- }- function insertChild(n, d, x, y, x1, y1, x2, y2) {- var sx = (x1 + x2) * .5, sy = (y1 + y2) * .5, right = x >= sx, bottom = y >= sy, i = (bottom << 1) + right;- n.leaf = false;- n = n.nodes[i] || (n.nodes[i] = d3_geom_quadtreeNode());- if (right) x1 = sx; else x2 = sx;- if (bottom) y1 = sy; else y2 = sy;- insert(n, d, x, y, x1, y1, x2, y2);- }- var root = d3_geom_quadtreeNode();- root.add = function(d) {- insert(root, d, +fx(d, ++i), +fy(d, i), x1_, y1_, x2_, y2_);- };- root.visit = function(f) {- d3_geom_quadtreeVisit(f, root, x1_, y1_, x2_, y2_);- };- i = -1;- if (x1 == null) {- while (++i < n) {- insert(root, data[i], xs[i], ys[i], x1_, y1_, x2_, y2_);- }- --i;- } else data.forEach(root.add);- xs = ys = data = d = null;- return root;- }- quadtree.x = function(_) {- return arguments.length ? (x = _, quadtree) : x;- };- quadtree.y = function(_) {- return arguments.length ? (y = _, quadtree) : y;- };- quadtree.extent = function(_) {- if (!arguments.length) return x1 == null ? null : [ [ x1, y1 ], [ x2, y2 ] ];- if (_ == null) x1 = y1 = x2 = y2 = null; else x1 = +_[0][0], y1 = +_[0][1], x2 = +_[1][0],- y2 = +_[1][1];- return quadtree;- };- quadtree.size = function(_) {- if (!arguments.length) return x1 == null ? null : [ x2 - x1, y2 - y1 ];- if (_ == null) x1 = y1 = x2 = y2 = null; else x1 = y1 = 0, x2 = +_[0], y2 = +_[1];- return quadtree;- };- return quadtree;- };- function d3_geom_quadtreeCompatX(d) {- return d.x;- }- function d3_geom_quadtreeCompatY(d) {- return d.y;- }- function d3_geom_quadtreeNode() {- return {- leaf: true,- nodes: [],- point: null,- x: null,- y: null- };- }- function d3_geom_quadtreeVisit(f, node, x1, y1, x2, y2) {- if (!f(node, x1, y1, x2, y2)) {- var sx = (x1 + x2) * .5, sy = (y1 + y2) * .5, children = node.nodes;- if (children[0]) d3_geom_quadtreeVisit(f, children[0], x1, y1, sx, sy);- if (children[1]) d3_geom_quadtreeVisit(f, children[1], sx, y1, x2, sy);- if (children[2]) d3_geom_quadtreeVisit(f, children[2], x1, sy, sx, y2);- if (children[3]) d3_geom_quadtreeVisit(f, children[3], sx, sy, x2, y2);- }- }- d3.interpolateRgb = d3_interpolateRgb;- function d3_interpolateRgb(a, b) {- a = d3.rgb(a);- b = d3.rgb(b);- var ar = a.r, ag = a.g, ab = a.b, br = b.r - ar, bg = b.g - ag, bb = b.b - ab;- return function(t) {- return "#" + d3_rgb_hex(Math.round(ar + br * t)) + d3_rgb_hex(Math.round(ag + bg * t)) + d3_rgb_hex(Math.round(ab + bb * t));- };- }- d3.transform = function(string) {- var g = d3_document.createElementNS(d3.ns.prefix.svg, "g");- return (d3.transform = function(string) {- if (string != null) {- g.setAttribute("transform", string);- var t = g.transform.baseVal.consolidate();- }- return new d3_transform(t ? t.matrix : d3_transformIdentity);- })(string);- };- function d3_transform(m) {- var r0 = [ m.a, m.b ], r1 = [ m.c, m.d ], kx = d3_transformNormalize(r0), kz = d3_transformDot(r0, r1), ky = d3_transformNormalize(d3_transformCombine(r1, r0, -kz)) || 0;- if (r0[0] * r1[1] < r1[0] * r0[1]) {- r0[0] *= -1;- r0[1] *= -1;- kx *= -1;- kz *= -1;- }- this.rotate = (kx ? Math.atan2(r0[1], r0[0]) : Math.atan2(-r1[0], r1[1])) * d3_degrees;- this.translate = [ m.e, m.f ];- this.scale = [ kx, ky ];- this.skew = ky ? Math.atan2(kz, ky) * d3_degrees : 0;- }- d3_transform.prototype.toString = function() {- return "translate(" + this.translate + ")rotate(" + this.rotate + ")skewX(" + this.skew + ")scale(" + this.scale + ")";- };- function d3_transformDot(a, b) {- return a[0] * b[0] + a[1] * b[1];- }- function d3_transformNormalize(a) {- var k = Math.sqrt(d3_transformDot(a, a));- if (k) {- a[0] /= k;- a[1] /= k;- }- return k;- }- function d3_transformCombine(a, b, k) {- a[0] += k * b[0];- a[1] += k * b[1];- return a;- }- var d3_transformIdentity = {- a: 1,- b: 0,- c: 0,- d: 1,- e: 0,- f: 0- };- d3.interpolateNumber = d3_interpolateNumber;- function d3_interpolateNumber(a, b) {- b -= a = +a;- return function(t) {- return a + b * t;- };- }- d3.interpolateTransform = d3_interpolateTransform;- function d3_interpolateTransform(a, b) {- var s = [], q = [], n, A = d3.transform(a), B = d3.transform(b), ta = A.translate, tb = B.translate, ra = A.rotate, rb = B.rotate, wa = A.skew, wb = B.skew, ka = A.scale, kb = B.scale;- if (ta[0] != tb[0] || ta[1] != tb[1]) {- s.push("translate(", null, ",", null, ")");- q.push({- i: 1,- x: d3_interpolateNumber(ta[0], tb[0])- }, {- i: 3,- x: d3_interpolateNumber(ta[1], tb[1])- });- } else if (tb[0] || tb[1]) {- s.push("translate(" + tb + ")");- } else {- s.push("");- }- if (ra != rb) {- if (ra - rb > 180) rb += 360; else if (rb - ra > 180) ra += 360;- q.push({- i: s.push(s.pop() + "rotate(", null, ")") - 2,- x: d3_interpolateNumber(ra, rb)- });- } else if (rb) {- s.push(s.pop() + "rotate(" + rb + ")");- }- if (wa != wb) {- q.push({- i: s.push(s.pop() + "skewX(", null, ")") - 2,- x: d3_interpolateNumber(wa, wb)- });- } else if (wb) {- s.push(s.pop() + "skewX(" + wb + ")");- }- if (ka[0] != kb[0] || ka[1] != kb[1]) {- n = s.push(s.pop() + "scale(", null, ",", null, ")");- q.push({- i: n - 4,- x: d3_interpolateNumber(ka[0], kb[0])- }, {- i: n - 2,- x: d3_interpolateNumber(ka[1], kb[1])- });- } else if (kb[0] != 1 || kb[1] != 1) {- s.push(s.pop() + "scale(" + kb + ")");- }- n = q.length;- return function(t) {- var i = -1, o;- while (++i < n) s[(o = q[i]).i] = o.x(t);- return s.join("");- };- }- d3.interpolateObject = d3_interpolateObject;- function d3_interpolateObject(a, b) {- var i = {}, c = {}, k;- for (k in a) {- if (k in b) {- i[k] = d3_interpolateByName(k)(a[k], b[k]);- } else {- c[k] = a[k];- }- }- for (k in b) {- if (!(k in a)) {- c[k] = b[k];- }- }- return function(t) {- for (k in i) c[k] = i[k](t);- return c;- };- }- d3.interpolateString = d3_interpolateString;- function d3_interpolateString(a, b) {- var m, i, j, s0 = 0, s1 = 0, s = [], q = [], n, o;- a = a + "", b = b + "";- d3_interpolate_number.lastIndex = 0;- for (i = 0; m = d3_interpolate_number.exec(b); ++i) {- if (m.index) s.push(b.substring(s0, s1 = m.index));- q.push({- i: s.length,- x: m[0]- });- s.push(null);- s0 = d3_interpolate_number.lastIndex;- }- if (s0 < b.length) s.push(b.substring(s0));- for (i = 0, n = q.length; (m = d3_interpolate_number.exec(a)) && i < n; ++i) {- o = q[i];- if (o.x == m[0]) {- if (o.i) {- if (s[o.i + 1] == null) {- s[o.i - 1] += o.x;- s.splice(o.i, 1);- for (j = i + 1; j < n; ++j) q[j].i--;- } else {- s[o.i - 1] += o.x + s[o.i + 1];- s.splice(o.i, 2);- for (j = i + 1; j < n; ++j) q[j].i -= 2;- }- } else {- if (s[o.i + 1] == null) {- s[o.i] = o.x;- } else {- s[o.i] = o.x + s[o.i + 1];- s.splice(o.i + 1, 1);- for (j = i + 1; j < n; ++j) q[j].i--;- }- }- q.splice(i, 1);- n--;- i--;- } else {- o.x = d3_interpolateNumber(parseFloat(m[0]), parseFloat(o.x));- }- }- while (i < n) {- o = q.pop();- if (s[o.i + 1] == null) {- s[o.i] = o.x;- } else {- s[o.i] = o.x + s[o.i + 1];- s.splice(o.i + 1, 1);- }- n--;- }- if (s.length === 1) {- return s[0] == null ? (o = q[0].x, function(t) {- return o(t) + "";- }) : function() {- return b;- };- }- return function(t) {- for (i = 0; i < n; ++i) s[(o = q[i]).i] = o.x(t);- return s.join("");- };- }- var d3_interpolate_number = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g;- d3.interpolate = d3_interpolate;- function d3_interpolate(a, b) {- var i = d3.interpolators.length, f;- while (--i >= 0 && !(f = d3.interpolators[i](a, b))) ;- return f;- }- function d3_interpolateByName(name) {- return name == "transform" ? d3_interpolateTransform : d3_interpolate;- }- d3.interpolators = [ function(a, b) {- var t = typeof b;- return (t === "string" ? d3_rgb_names.has(b) || /^(#|rgb\(|hsl\()/.test(b) ? d3_interpolateRgb : d3_interpolateString : b instanceof d3_Color ? d3_interpolateRgb : t === "object" ? Array.isArray(b) ? d3_interpolateArray : d3_interpolateObject : d3_interpolateNumber)(a, b);- } ];- d3.interpolateArray = d3_interpolateArray;- function d3_interpolateArray(a, b) {- var x = [], c = [], na = a.length, nb = b.length, n0 = Math.min(a.length, b.length), i;- for (i = 0; i < n0; ++i) x.push(d3_interpolate(a[i], b[i]));- for (;i < na; ++i) c[i] = a[i];- for (;i < nb; ++i) c[i] = b[i];- return function(t) {- for (i = 0; i < n0; ++i) c[i] = x[i](t);- return c;- };- }- var d3_ease_default = function() {- return d3_identity;- };- var d3_ease = d3.map({- linear: d3_ease_default,- poly: d3_ease_poly,- quad: function() {- return d3_ease_quad;- },- cubic: function() {- return d3_ease_cubic;- },- sin: function() {- return d3_ease_sin;- },- exp: function() {- return d3_ease_exp;- },- circle: function() {- return d3_ease_circle;- },- elastic: d3_ease_elastic,- back: d3_ease_back,- bounce: function() {- return d3_ease_bounce;- }- });- var d3_ease_mode = d3.map({- "in": d3_identity,- out: d3_ease_reverse,- "in-out": d3_ease_reflect,- "out-in": function(f) {- return d3_ease_reflect(d3_ease_reverse(f));- }- });- d3.ease = function(name) {- var i = name.indexOf("-"), t = i >= 0 ? name.substring(0, i) : name, m = i >= 0 ? name.substring(i + 1) : "in";- t = d3_ease.get(t) || d3_ease_default;- m = d3_ease_mode.get(m) || d3_identity;- return d3_ease_clamp(m(t.apply(null, Array.prototype.slice.call(arguments, 1))));- };- function d3_ease_clamp(f) {- return function(t) {- return t <= 0 ? 0 : t >= 1 ? 1 : f(t);- };- }- function d3_ease_reverse(f) {- return function(t) {- return 1 - f(1 - t);- };- }- function d3_ease_reflect(f) {- return function(t) {- return .5 * (t < .5 ? f(2 * t) : 2 - f(2 - 2 * t));- };- }- function d3_ease_quad(t) {- return t * t;- }- function d3_ease_cubic(t) {- return t * t * t;- }- function d3_ease_cubicInOut(t) {- if (t <= 0) return 0;- if (t >= 1) return 1;- var t2 = t * t, t3 = t2 * t;- return 4 * (t < .5 ? t3 : 3 * (t - t2) + t3 - .75);- }- function d3_ease_poly(e) {- return function(t) {- return Math.pow(t, e);- };- }- function d3_ease_sin(t) {- return 1 - Math.cos(t * π / 2);- }- function d3_ease_exp(t) {- return Math.pow(2, 10 * (t - 1));- }- function d3_ease_circle(t) {- return 1 - Math.sqrt(1 - t * t);- }- function d3_ease_elastic(a, p) {- var s;- if (arguments.length < 2) p = .45;- if (arguments.length) s = p / (2 * π) * Math.asin(1 / a); else a = 1, s = p / 4;- return function(t) {- return 1 + a * Math.pow(2, 10 * -t) * Math.sin((t - s) * 2 * π / p);- };- }- function d3_ease_back(s) {- if (!s) s = 1.70158;- return function(t) {- return t * t * ((s + 1) * t - s);- };- }- function d3_ease_bounce(t) {- return t < 1 / 2.75 ? 7.5625 * t * t : t < 2 / 2.75 ? 7.5625 * (t -= 1.5 / 2.75) * t + .75 : t < 2.5 / 2.75 ? 7.5625 * (t -= 2.25 / 2.75) * t + .9375 : 7.5625 * (t -= 2.625 / 2.75) * t + .984375;- }- d3.interpolateHcl = d3_interpolateHcl;- function d3_interpolateHcl(a, b) {- a = d3.hcl(a);- b = d3.hcl(b);- var ah = a.h, ac = a.c, al = a.l, bh = b.h - ah, bc = b.c - ac, bl = b.l - al;- if (isNaN(bc)) bc = 0, ac = isNaN(ac) ? b.c : ac;- if (isNaN(bh)) bh = 0, ah = isNaN(ah) ? b.h : ah; else if (bh > 180) bh -= 360; else if (bh < -180) bh += 360;- return function(t) {- return d3_hcl_lab(ah + bh * t, ac + bc * t, al + bl * t) + "";- };- }- d3.interpolateHsl = d3_interpolateHsl;- function d3_interpolateHsl(a, b) {- a = d3.hsl(a);- b = d3.hsl(b);- var ah = a.h, as = a.s, al = a.l, bh = b.h - ah, bs = b.s - as, bl = b.l - al;- if (isNaN(bs)) bs = 0, as = isNaN(as) ? b.s : as;- if (isNaN(bh)) bh = 0, ah = isNaN(ah) ? b.h : ah; else if (bh > 180) bh -= 360; else if (bh < -180) bh += 360;- return function(t) {- return d3_hsl_rgb(ah + bh * t, as + bs * t, al + bl * t) + "";- };- }- d3.interpolateLab = d3_interpolateLab;- function d3_interpolateLab(a, b) {- a = d3.lab(a);- b = d3.lab(b);- var al = a.l, aa = a.a, ab = a.b, bl = b.l - al, ba = b.a - aa, bb = b.b - ab;- return function(t) {- return d3_lab_rgb(al + bl * t, aa + ba * t, ab + bb * t) + "";- };- }- d3.interpolateRound = d3_interpolateRound;- function d3_interpolateRound(a, b) {- b -= a;- return function(t) {- return Math.round(a + b * t);- };- }- function d3_uninterpolateNumber(a, b) {- b = b - (a = +a) ? 1 / (b - a) : 0;- return function(x) {- return (x - a) * b;- };- }- function d3_uninterpolateClamp(a, b) {- b = b - (a = +a) ? 1 / (b - a) : 0;- return function(x) {- return Math.max(0, Math.min(1, (x - a) * b));- };- }- d3.layout = {};- d3.layout.bundle = function() {- return function(links) {- var paths = [], i = -1, n = links.length;- while (++i < n) paths.push(d3_layout_bundlePath(links[i]));- return paths;- };- };- function d3_layout_bundlePath(link) {- var start = link.source, end = link.target, lca = d3_layout_bundleLeastCommonAncestor(start, end), points = [ start ];- while (start !== lca) {- start = start.parent;- points.push(start);- }- var k = points.length;- while (end !== lca) {- points.splice(k, 0, end);- end = end.parent;- }- return points;- }- function d3_layout_bundleAncestors(node) {- var ancestors = [], parent = node.parent;- while (parent != null) {- ancestors.push(node);- node = parent;- parent = parent.parent;- }- ancestors.push(node);- return ancestors;- }- function d3_layout_bundleLeastCommonAncestor(a, b) {- if (a === b) return a;- var aNodes = d3_layout_bundleAncestors(a), bNodes = d3_layout_bundleAncestors(b), aNode = aNodes.pop(), bNode = bNodes.pop(), sharedNode = null;- while (aNode === bNode) {- sharedNode = aNode;- aNode = aNodes.pop();- bNode = bNodes.pop();- }- return sharedNode;- }- d3.layout.chord = function() {- var chord = {}, chords, groups, matrix, n, padding = 0, sortGroups, sortSubgroups, sortChords;- function relayout() {- var subgroups = {}, groupSums = [], groupIndex = d3.range(n), subgroupIndex = [], k, x, x0, i, j;- chords = [];- groups = [];- k = 0, i = -1;- while (++i < n) {- x = 0, j = -1;- while (++j < n) {- x += matrix[i][j];- }- groupSums.push(x);- subgroupIndex.push(d3.range(n));- k += x;- }- if (sortGroups) {- groupIndex.sort(function(a, b) {- return sortGroups(groupSums[a], groupSums[b]);- });- }- if (sortSubgroups) {- subgroupIndex.forEach(function(d, i) {- d.sort(function(a, b) {- return sortSubgroups(matrix[i][a], matrix[i][b]);- });- });- }- k = (2 * π - padding * n) / k;- x = 0, i = -1;- while (++i < n) {- x0 = x, j = -1;- while (++j < n) {- var di = groupIndex[i], dj = subgroupIndex[di][j], v = matrix[di][dj], a0 = x, a1 = x += v * k;- subgroups[di + "-" + dj] = {- index: di,- subindex: dj,- startAngle: a0,- endAngle: a1,- value: v- };- }- groups[di] = {- index: di,- startAngle: x0,- endAngle: x,- value: (x - x0) / k- };- x += padding;- }- i = -1;- while (++i < n) {- j = i - 1;- while (++j < n) {- var source = subgroups[i + "-" + j], target = subgroups[j + "-" + i];- if (source.value || target.value) {- chords.push(source.value < target.value ? {- source: target,- target: source- } : {- source: source,- target: target- });- }- }- }- if (sortChords) resort();- }- function resort() {- chords.sort(function(a, b) {- return sortChords((a.source.value + a.target.value) / 2, (b.source.value + b.target.value) / 2);- });- }- chord.matrix = function(x) {- if (!arguments.length) return matrix;- n = (matrix = x) && matrix.length;- chords = groups = null;- return chord;- };- chord.padding = function(x) {- if (!arguments.length) return padding;- padding = x;- chords = groups = null;- return chord;- };- chord.sortGroups = function(x) {- if (!arguments.length) return sortGroups;- sortGroups = x;- chords = groups = null;- return chord;- };- chord.sortSubgroups = function(x) {- if (!arguments.length) return sortSubgroups;- sortSubgroups = x;- chords = null;- return chord;- };- chord.sortChords = function(x) {- if (!arguments.length) return sortChords;- sortChords = x;- if (chords) resort();- return chord;- };- chord.chords = function() {- if (!chords) relayout();- return chords;- };- chord.groups = function() {- if (!groups) relayout();- return groups;- };- return chord;- };- d3.layout.force = function() {- var force = {}, event = d3.dispatch("start", "tick", "end"), size = [ 1, 1 ], drag, alpha, friction = .9, linkDistance = d3_layout_forceLinkDistance, linkStrength = d3_layout_forceLinkStrength, charge = -30, gravity = .1, theta = .8, nodes = [], links = [], distances, strengths, charges;- function repulse(node) {- return function(quad, x1, _, x2) {- if (quad.point !== node) {- var dx = quad.cx - node.x, dy = quad.cy - node.y, dn = 1 / Math.sqrt(dx * dx + dy * dy);- if ((x2 - x1) * dn < theta) {- var k = quad.charge * dn * dn;- node.px -= dx * k;- node.py -= dy * k;- return true;- }- if (quad.point && isFinite(dn)) {- var k = quad.pointCharge * dn * dn;- node.px -= dx * k;- node.py -= dy * k;- }- }- return !quad.charge;- };- }- force.tick = function() {- if ((alpha *= .99) < .005) {- event.end({- type: "end",- alpha: alpha = 0- });- return true;- }- var n = nodes.length, m = links.length, q, i, o, s, t, l, k, x, y;- for (i = 0; i < m; ++i) {- o = links[i];- s = o.source;- t = o.target;- x = t.x - s.x;- y = t.y - s.y;- if (l = x * x + y * y) {- l = alpha * strengths[i] * ((l = Math.sqrt(l)) - distances[i]) / l;- x *= l;- y *= l;- t.x -= x * (k = s.weight / (t.weight + s.weight));- t.y -= y * k;- s.x += x * (k = 1 - k);- s.y += y * k;- }- }- if (k = alpha * gravity) {- x = size[0] / 2;- y = size[1] / 2;- i = -1;- if (k) while (++i < n) {- o = nodes[i];- o.x += (x - o.x) * k;- o.y += (y - o.y) * k;- }- }- if (charge) {- d3_layout_forceAccumulate(q = d3.geom.quadtree(nodes), alpha, charges);- i = -1;- while (++i < n) {- if (!(o = nodes[i]).fixed) {- q.visit(repulse(o));- }- }- }- i = -1;- while (++i < n) {- o = nodes[i];- if (o.fixed) {- o.x = o.px;- o.y = o.py;- } else {- o.x -= (o.px - (o.px = o.x)) * friction;- o.y -= (o.py - (o.py = o.y)) * friction;- }- }- event.tick({- type: "tick",- alpha: alpha- });- };- force.nodes = function(x) {- if (!arguments.length) return nodes;- nodes = x;- return force;- };- force.links = function(x) {- if (!arguments.length) return links;- links = x;- return force;- };- force.size = function(x) {- if (!arguments.length) return size;- size = x;- return force;- };- force.linkDistance = function(x) {- if (!arguments.length) return linkDistance;- linkDistance = typeof x === "function" ? x : +x;- return force;- };- force.distance = force.linkDistance;- force.linkStrength = function(x) {- if (!arguments.length) return linkStrength;- linkStrength = typeof x === "function" ? x : +x;- return force;- };- force.friction = function(x) {- if (!arguments.length) return friction;- friction = +x;- return force;- };- force.charge = function(x) {- if (!arguments.length) return charge;- charge = typeof x === "function" ? x : +x;- return force;- };- force.gravity = function(x) {- if (!arguments.length) return gravity;- gravity = +x;- return force;- };- force.theta = function(x) {- if (!arguments.length) return theta;- theta = +x;- return force;- };- force.alpha = function(x) {- if (!arguments.length) return alpha;- x = +x;- if (alpha) {- if (x > 0) alpha = x; else alpha = 0;- } else if (x > 0) {- event.start({- type: "start",- alpha: alpha = x- });- d3.timer(force.tick);- }- return force;- };- force.start = function() {- var i, j, n = nodes.length, m = links.length, w = size[0], h = size[1], neighbors, o;- for (i = 0; i < n; ++i) {- (o = nodes[i]).index = i;- o.weight = 0;- }- for (i = 0; i < m; ++i) {- o = links[i];- if (typeof o.source == "number") o.source = nodes[o.source];- if (typeof o.target == "number") o.target = nodes[o.target];- ++o.source.weight;- ++o.target.weight;- }- for (i = 0; i < n; ++i) {- o = nodes[i];- if (isNaN(o.x)) o.x = position("x", w);- if (isNaN(o.y)) o.y = position("y", h);- if (isNaN(o.px)) o.px = o.x;- if (isNaN(o.py)) o.py = o.y;- }- distances = [];- if (typeof linkDistance === "function") for (i = 0; i < m; ++i) distances[i] = +linkDistance.call(this, links[i], i); else for (i = 0; i < m; ++i) distances[i] = linkDistance;- strengths = [];- if (typeof linkStrength === "function") for (i = 0; i < m; ++i) strengths[i] = +linkStrength.call(this, links[i], i); else for (i = 0; i < m; ++i) strengths[i] = linkStrength;- charges = [];- if (typeof charge === "function") for (i = 0; i < n; ++i) charges[i] = +charge.call(this, nodes[i], i); else for (i = 0; i < n; ++i) charges[i] = charge;- function position(dimension, size) {- var neighbors = neighbor(i), j = -1, m = neighbors.length, x;- while (++j < m) if (!isNaN(x = neighbors[j][dimension])) return x;- return Math.random() * size;- }- function neighbor() {- if (!neighbors) {- neighbors = [];- for (j = 0; j < n; ++j) {- neighbors[j] = [];- }- for (j = 0; j < m; ++j) {- var o = links[j];- neighbors[o.source.index].push(o.target);- neighbors[o.target.index].push(o.source);- }- }- return neighbors[i];- }- return force.resume();- };- force.resume = function() {- return force.alpha(.1);- };- force.stop = function() {- return force.alpha(0);- };- force.drag = function() {- if (!drag) drag = d3.behavior.drag().origin(d3_identity).on("dragstart.force", d3_layout_forceDragstart).on("drag.force", dragmove).on("dragend.force", d3_layout_forceDragend);- if (!arguments.length) return drag;- this.on("mouseover.force", d3_layout_forceMouseover).on("mouseout.force", d3_layout_forceMouseout).call(drag);- };- function dragmove(d) {- d.px = d3.event.x, d.py = d3.event.y;- force.resume();- }- return d3.rebind(force, event, "on");- };- function d3_layout_forceDragstart(d) {- d.fixed |= 2;- }- function d3_layout_forceDragend(d) {- d.fixed &= ~6;- }- function d3_layout_forceMouseover(d) {- d.fixed |= 4;- d.px = d.x, d.py = d.y;- }- function d3_layout_forceMouseout(d) {- d.fixed &= ~4;- }- function d3_layout_forceAccumulate(quad, alpha, charges) {- var cx = 0, cy = 0;- quad.charge = 0;- if (!quad.leaf) {- var nodes = quad.nodes, n = nodes.length, i = -1, c;- while (++i < n) {- c = nodes[i];- if (c == null) continue;- d3_layout_forceAccumulate(c, alpha, charges);- quad.charge += c.charge;- cx += c.charge * c.cx;- cy += c.charge * c.cy;- }- }- if (quad.point) {- if (!quad.leaf) {- quad.point.x += Math.random() - .5;- quad.point.y += Math.random() - .5;- }- var k = alpha * charges[quad.point.index];- quad.charge += quad.pointCharge = k;- cx += k * quad.point.x;- cy += k * quad.point.y;- }- quad.cx = cx / quad.charge;- quad.cy = cy / quad.charge;- }- var d3_layout_forceLinkDistance = 20, d3_layout_forceLinkStrength = 1;- d3.layout.hierarchy = function() {- var sort = d3_layout_hierarchySort, children = d3_layout_hierarchyChildren, value = d3_layout_hierarchyValue;- function recurse(node, depth, nodes) {- var childs = children.call(hierarchy, node, depth);- node.depth = depth;- nodes.push(node);- if (childs && (n = childs.length)) {- var i = -1, n, c = node.children = [], v = 0, j = depth + 1, d;- while (++i < n) {- d = recurse(childs[i], j, nodes);- d.parent = node;- c.push(d);- v += d.value;- }- if (sort) c.sort(sort);- if (value) node.value = v;- } else if (value) {- node.value = +value.call(hierarchy, node, depth) || 0;- }- return node;- }- function revalue(node, depth) {- var children = node.children, v = 0;- if (children && (n = children.length)) {- var i = -1, n, j = depth + 1;- while (++i < n) v += revalue(children[i], j);- } else if (value) {- v = +value.call(hierarchy, node, depth) || 0;- }- if (value) node.value = v;- return v;- }- function hierarchy(d) {- var nodes = [];- recurse(d, 0, nodes);- return nodes;- }- hierarchy.sort = function(x) {- if (!arguments.length) return sort;- sort = x;- return hierarchy;- };- hierarchy.children = function(x) {- if (!arguments.length) return children;- children = x;- return hierarchy;- };- hierarchy.value = function(x) {- if (!arguments.length) return value;- value = x;- return hierarchy;- };- hierarchy.revalue = function(root) {- revalue(root, 0);- return root;- };- return hierarchy;- };- function d3_layout_hierarchyRebind(object, hierarchy) {- d3.rebind(object, hierarchy, "sort", "children", "value");- object.nodes = object;- object.links = d3_layout_hierarchyLinks;- return object;- }- function d3_layout_hierarchyChildren(d) {- return d.children;- }- function d3_layout_hierarchyValue(d) {- return d.value;- }- function d3_layout_hierarchySort(a, b) {- return b.value - a.value;- }- function d3_layout_hierarchyLinks(nodes) {- return d3.merge(nodes.map(function(parent) {- return (parent.children || []).map(function(child) {- return {- source: parent,- target: child- };- });- }));- }- d3.layout.partition = function() {- var hierarchy = d3.layout.hierarchy(), size = [ 1, 1 ];- function position(node, x, dx, dy) {- var children = node.children;- node.x = x;- node.y = node.depth * dy;- node.dx = dx;- node.dy = dy;- if (children && (n = children.length)) {- var i = -1, n, c, d;- dx = node.value ? dx / node.value : 0;- while (++i < n) {- position(c = children[i], x, d = c.value * dx, dy);- x += d;- }- }- }- function depth(node) {- var children = node.children, d = 0;- if (children && (n = children.length)) {- var i = -1, n;- while (++i < n) d = Math.max(d, depth(children[i]));- }- return 1 + d;- }- function partition(d, i) {- var nodes = hierarchy.call(this, d, i);- position(nodes[0], 0, size[0], size[1] / depth(nodes[0]));- return nodes;- }- partition.size = function(x) {- if (!arguments.length) return size;- size = x;- return partition;- };- return d3_layout_hierarchyRebind(partition, hierarchy);- };- d3.layout.pie = function() {- var value = Number, sort = d3_layout_pieSortByValue, startAngle = 0, endAngle = 2 * π;- function pie(data) {- var values = data.map(function(d, i) {- return +value.call(pie, d, i);- });- var a = +(typeof startAngle === "function" ? startAngle.apply(this, arguments) : startAngle);- var k = ((typeof endAngle === "function" ? endAngle.apply(this, arguments) : endAngle) - a) / d3.sum(values);- var index = d3.range(data.length);- if (sort != null) index.sort(sort === d3_layout_pieSortByValue ? function(i, j) {- return values[j] - values[i];- } : function(i, j) {- return sort(data[i], data[j]);- });- var arcs = [];- index.forEach(function(i) {- var d;- arcs[i] = {- data: data[i],- value: d = values[i],- startAngle: a,- endAngle: a += d * k- };- });- return arcs;- }- pie.value = function(x) {- if (!arguments.length) return value;- value = x;- return pie;- };- pie.sort = function(x) {- if (!arguments.length) return sort;- sort = x;- return pie;- };- pie.startAngle = function(x) {- if (!arguments.length) return startAngle;- startAngle = x;- return pie;- };- pie.endAngle = function(x) {- if (!arguments.length) return endAngle;- endAngle = x;- return pie;- };- return pie;- };- var d3_layout_pieSortByValue = {};- d3.layout.stack = function() {- var values = d3_identity, order = d3_layout_stackOrderDefault, offset = d3_layout_stackOffsetZero, out = d3_layout_stackOut, x = d3_layout_stackX, y = d3_layout_stackY;- function stack(data, index) {- var series = data.map(function(d, i) {- return values.call(stack, d, i);- });- var points = series.map(function(d) {- return d.map(function(v, i) {- return [ x.call(stack, v, i), y.call(stack, v, i) ];- });- });- var orders = order.call(stack, points, index);- series = d3.permute(series, orders);- points = d3.permute(points, orders);- var offsets = offset.call(stack, points, index);- var n = series.length, m = series[0].length, i, j, o;- for (j = 0; j < m; ++j) {- out.call(stack, series[0][j], o = offsets[j], points[0][j][1]);- for (i = 1; i < n; ++i) {- out.call(stack, series[i][j], o += points[i - 1][j][1], points[i][j][1]);- }- }- return data;- }- stack.values = function(x) {- if (!arguments.length) return values;- values = x;- return stack;- };- stack.order = function(x) {- if (!arguments.length) return order;- order = typeof x === "function" ? x : d3_layout_stackOrders.get(x) || d3_layout_stackOrderDefault;- return stack;- };- stack.offset = function(x) {- if (!arguments.length) return offset;- offset = typeof x === "function" ? x : d3_layout_stackOffsets.get(x) || d3_layout_stackOffsetZero;- return stack;- };- stack.x = function(z) {- if (!arguments.length) return x;- x = z;- return stack;- };- stack.y = function(z) {- if (!arguments.length) return y;- y = z;- return stack;- };- stack.out = function(z) {- if (!arguments.length) return out;- out = z;- return stack;- };- return stack;- };- function d3_layout_stackX(d) {- return d.x;- }- function d3_layout_stackY(d) {- return d.y;- }- function d3_layout_stackOut(d, y0, y) {- d.y0 = y0;- d.y = y;- }- var d3_layout_stackOrders = d3.map({- "inside-out": function(data) {- var n = data.length, i, j, max = data.map(d3_layout_stackMaxIndex), sums = data.map(d3_layout_stackReduceSum), index = d3.range(n).sort(function(a, b) {- return max[a] - max[b];- }), top = 0, bottom = 0, tops = [], bottoms = [];- for (i = 0; i < n; ++i) {- j = index[i];- if (top < bottom) {- top += sums[j];- tops.push(j);- } else {- bottom += sums[j];- bottoms.push(j);- }- }- return bottoms.reverse().concat(tops);- },- reverse: function(data) {- return d3.range(data.length).reverse();- },- "default": d3_layout_stackOrderDefault- });- var d3_layout_stackOffsets = d3.map({- silhouette: function(data) {- var n = data.length, m = data[0].length, sums = [], max = 0, i, j, o, y0 = [];- for (j = 0; j < m; ++j) {- for (i = 0, o = 0; i < n; i++) o += data[i][j][1];- if (o > max) max = o;- sums.push(o);- }- for (j = 0; j < m; ++j) {- y0[j] = (max - sums[j]) / 2;- }- return y0;- },- wiggle: function(data) {- var n = data.length, x = data[0], m = x.length, i, j, k, s1, s2, s3, dx, o, o0, y0 = [];- y0[0] = o = o0 = 0;- for (j = 1; j < m; ++j) {- for (i = 0, s1 = 0; i < n; ++i) s1 += data[i][j][1];- for (i = 0, s2 = 0, dx = x[j][0] - x[j - 1][0]; i < n; ++i) {- for (k = 0, s3 = (data[i][j][1] - data[i][j - 1][1]) / (2 * dx); k < i; ++k) {- s3 += (data[k][j][1] - data[k][j - 1][1]) / dx;- }- s2 += s3 * data[i][j][1];- }- y0[j] = o -= s1 ? s2 / s1 * dx : 0;- if (o < o0) o0 = o;- }- for (j = 0; j < m; ++j) y0[j] -= o0;- return y0;- },- expand: function(data) {- var n = data.length, m = data[0].length, k = 1 / n, i, j, o, y0 = [];- for (j = 0; j < m; ++j) {- for (i = 0, o = 0; i < n; i++) o += data[i][j][1];- if (o) for (i = 0; i < n; i++) data[i][j][1] /= o; else for (i = 0; i < n; i++) data[i][j][1] = k;- }- for (j = 0; j < m; ++j) y0[j] = 0;- return y0;- },- zero: d3_layout_stackOffsetZero- });- function d3_layout_stackOrderDefault(data) {- return d3.range(data.length);- }- function d3_layout_stackOffsetZero(data) {- var j = -1, m = data[0].length, y0 = [];- while (++j < m) y0[j] = 0;- return y0;- }- function d3_layout_stackMaxIndex(array) {- var i = 1, j = 0, v = array[0][1], k, n = array.length;- for (;i < n; ++i) {- if ((k = array[i][1]) > v) {- j = i;- v = k;- }- }- return j;- }- function d3_layout_stackReduceSum(d) {- return d.reduce(d3_layout_stackSum, 0);- }- function d3_layout_stackSum(p, d) {- return p + d[1];- }- d3.layout.histogram = function() {- var frequency = true, valuer = Number, ranger = d3_layout_histogramRange, binner = d3_layout_histogramBinSturges;- function histogram(data, i) {- var bins = [], values = data.map(valuer, this), range = ranger.call(this, values, i), thresholds = binner.call(this, range, values, i), bin, i = -1, n = values.length, m = thresholds.length - 1, k = frequency ? 1 : 1 / n, x;- while (++i < m) {- bin = bins[i] = [];- bin.dx = thresholds[i + 1] - (bin.x = thresholds[i]);- bin.y = 0;- }- if (m > 0) {- i = -1;- while (++i < n) {- x = values[i];- if (x >= range[0] && x <= range[1]) {- bin = bins[d3.bisect(thresholds, x, 1, m) - 1];- bin.y += k;- bin.push(data[i]);- }- }- }- return bins;- }- histogram.value = function(x) {- if (!arguments.length) return valuer;- valuer = x;- return histogram;- };- histogram.range = function(x) {- if (!arguments.length) return ranger;- ranger = d3_functor(x);- return histogram;- };- histogram.bins = function(x) {- if (!arguments.length) return binner;- binner = typeof x === "number" ? function(range) {- return d3_layout_histogramBinFixed(range, x);- } : d3_functor(x);- return histogram;- };- histogram.frequency = function(x) {- if (!arguments.length) return frequency;- frequency = !!x;- return histogram;- };- return histogram;- };- function d3_layout_histogramBinSturges(range, values) {- return d3_layout_histogramBinFixed(range, Math.ceil(Math.log(values.length) / Math.LN2 + 1));- }- function d3_layout_histogramBinFixed(range, n) {- var x = -1, b = +range[0], m = (range[1] - b) / n, f = [];- while (++x <= n) f[x] = m * x + b;- return f;- }- function d3_layout_histogramRange(values) {- return [ d3.min(values), d3.max(values) ];- }- d3.layout.tree = function() {- var hierarchy = d3.layout.hierarchy().sort(null).value(null), separation = d3_layout_treeSeparation, size = [ 1, 1 ], nodeSize = false;- function tree(d, i) {- var nodes = hierarchy.call(this, d, i), root = nodes[0];- function firstWalk(node, previousSibling) {- var children = node.children, layout = node._tree;- if (children && (n = children.length)) {- var n, firstChild = children[0], previousChild, ancestor = firstChild, child, i = -1;- while (++i < n) {- child = children[i];- firstWalk(child, previousChild);- ancestor = apportion(child, previousChild, ancestor);- previousChild = child;- }- d3_layout_treeShift(node);- var midpoint = .5 * (firstChild._tree.prelim + child._tree.prelim);- if (previousSibling) {- layout.prelim = previousSibling._tree.prelim + separation(node, previousSibling);- layout.mod = layout.prelim - midpoint;- } else {- layout.prelim = midpoint;- }- } else {- if (previousSibling) {- layout.prelim = previousSibling._tree.prelim + separation(node, previousSibling);- }- }- }- function secondWalk(node, x) {- node.x = node._tree.prelim + x;- var children = node.children;- if (children && (n = children.length)) {- var i = -1, n;- x += node._tree.mod;- while (++i < n) {- secondWalk(children[i], x);- }- }- }- function apportion(node, previousSibling, ancestor) {- if (previousSibling) {- var vip = node, vop = node, vim = previousSibling, vom = node.parent.children[0], sip = vip._tree.mod, sop = vop._tree.mod, sim = vim._tree.mod, som = vom._tree.mod, shift;- while (vim = d3_layout_treeRight(vim), vip = d3_layout_treeLeft(vip), vim && vip) {- vom = d3_layout_treeLeft(vom);- vop = d3_layout_treeRight(vop);- vop._tree.ancestor = node;- shift = vim._tree.prelim + sim - vip._tree.prelim - sip + separation(vim, vip);- if (shift > 0) {- d3_layout_treeMove(d3_layout_treeAncestor(vim, node, ancestor), node, shift);- sip += shift;- sop += shift;- }- sim += vim._tree.mod;- sip += vip._tree.mod;- som += vom._tree.mod;- sop += vop._tree.mod;- }- if (vim && !d3_layout_treeRight(vop)) {- vop._tree.thread = vim;- vop._tree.mod += sim - sop;- }- if (vip && !d3_layout_treeLeft(vom)) {- vom._tree.thread = vip;- vom._tree.mod += sip - som;- ancestor = node;- }- }- return ancestor;- }- d3_layout_treeVisitAfter(root, function(node, previousSibling) {- node._tree = {- ancestor: node,- prelim: 0,- mod: 0,- change: 0,- shift: 0,- number: previousSibling ? previousSibling._tree.number + 1 : 0- };- });- firstWalk(root);- secondWalk(root, -root._tree.prelim);- var left = d3_layout_treeSearch(root, d3_layout_treeLeftmost), right = d3_layout_treeSearch(root, d3_layout_treeRightmost), deep = d3_layout_treeSearch(root, d3_layout_treeDeepest), x0 = left.x - separation(left, right) / 2, x1 = right.x + separation(right, left) / 2, y1 = deep.depth || 1;- d3_layout_treeVisitAfter(root, nodeSize ? function(node) {- node.x *= size[0];- node.y = node.depth * size[1];- delete node._tree;- } : function(node) {- node.x = (node.x - x0) / (x1 - x0) * size[0];- node.y = node.depth / y1 * size[1];- delete node._tree;- });- return nodes;- }- tree.separation = function(x) {- if (!arguments.length) return separation;- separation = x;- return tree;- };- tree.size = function(x) {- if (!arguments.length) return nodeSize ? null : size;- nodeSize = (size = x) == null;- return tree;- };- tree.nodeSize = function(x) {- if (!arguments.length) return nodeSize ? size : null;- nodeSize = (size = x) != null;- return tree;- };- return d3_layout_hierarchyRebind(tree, hierarchy);- };- function d3_layout_treeSeparation(a, b) {- return a.parent == b.parent ? 1 : 2;- }- function d3_layout_treeLeft(node) {- var children = node.children;- return children && children.length ? children[0] : node._tree.thread;- }- function d3_layout_treeRight(node) {- var children = node.children, n;- return children && (n = children.length) ? children[n - 1] : node._tree.thread;- }- function d3_layout_treeSearch(node, compare) {- var children = node.children;- if (children && (n = children.length)) {- var child, n, i = -1;- while (++i < n) {- if (compare(child = d3_layout_treeSearch(children[i], compare), node) > 0) {- node = child;- }- }- }- return node;- }- function d3_layout_treeRightmost(a, b) {- return a.x - b.x;- }- function d3_layout_treeLeftmost(a, b) {- return b.x - a.x;- }- function d3_layout_treeDeepest(a, b) {- return a.depth - b.depth;- }- function d3_layout_treeVisitAfter(node, callback) {- function visit(node, previousSibling) {- var children = node.children;- if (children && (n = children.length)) {- var child, previousChild = null, i = -1, n;- while (++i < n) {- child = children[i];- visit(child, previousChild);- previousChild = child;- }- }- callback(node, previousSibling);- }- visit(node, null);- }- function d3_layout_treeShift(node) {- var shift = 0, change = 0, children = node.children, i = children.length, child;- while (--i >= 0) {- child = children[i]._tree;- child.prelim += shift;- child.mod += shift;- shift += child.shift + (change += child.change);- }- }- function d3_layout_treeMove(ancestor, node, shift) {- ancestor = ancestor._tree;- node = node._tree;- var change = shift / (node.number - ancestor.number);- ancestor.change += change;- node.change -= change;- node.shift += shift;- node.prelim += shift;- node.mod += shift;- }- function d3_layout_treeAncestor(vim, node, ancestor) {- return vim._tree.ancestor.parent == node.parent ? vim._tree.ancestor : ancestor;- }- d3.layout.pack = function() {- var hierarchy = d3.layout.hierarchy().sort(d3_layout_packSort), padding = 0, size = [ 1, 1 ], radius;- function pack(d, i) {- var nodes = hierarchy.call(this, d, i), root = nodes[0], w = size[0], h = size[1], r = radius || Math.sqrt;- root.x = root.y = 0;- d3_layout_treeVisitAfter(root, function(d) {- d.r = r(d.value);- });- d3_layout_treeVisitAfter(root, d3_layout_packSiblings);- if (padding) {- var dr = padding * (radius ? 1 : Math.max(2 * root.r / w, 2 * root.r / h)) / 2;- d3_layout_treeVisitAfter(root, function(d) {- d.r += dr;- });- d3_layout_treeVisitAfter(root, d3_layout_packSiblings);- d3_layout_treeVisitAfter(root, function(d) {- d.r -= dr;- });- }- d3_layout_packTransform(root, w / 2, h / 2, radius ? 1 : 1 / Math.max(2 * root.r / w, 2 * root.r / h));- return nodes;- }- pack.size = function(_) {- if (!arguments.length) return size;- size = _;- return pack;- };- pack.radius = function(_) {- if (!arguments.length) return radius;- radius = _;- return pack;- };- pack.padding = function(_) {- if (!arguments.length) return padding;- padding = +_;- return pack;- };- return d3_layout_hierarchyRebind(pack, hierarchy);- };- function d3_layout_packSort(a, b) {- return a.value - b.value;- }- function d3_layout_packInsert(a, b) {- var c = a._pack_next;- a._pack_next = b;- b._pack_prev = a;- b._pack_next = c;- c._pack_prev = b;- }- function d3_layout_packSplice(a, b) {- a._pack_next = b;- b._pack_prev = a;- }- function d3_layout_packIntersects(a, b) {- var dx = b.x - a.x, dy = b.y - a.y, dr = a.r + b.r;- return .999 * dr * dr > dx * dx + dy * dy;- }- function d3_layout_packSiblings(node) {- if (!(nodes = node.children) || !(n = nodes.length)) return;- var nodes, xMin = Infinity, xMax = -Infinity, yMin = Infinity, yMax = -Infinity, a, b, c, i, j, k, n;- function bound(node) {- xMin = Math.min(node.x - node.r, xMin);- xMax = Math.max(node.x + node.r, xMax);- yMin = Math.min(node.y - node.r, yMin);- yMax = Math.max(node.y + node.r, yMax);- }- nodes.forEach(d3_layout_packLink);- a = nodes[0];- a.x = -a.r;- a.y = 0;- bound(a);- if (n > 1) {- b = nodes[1];- b.x = b.r;- b.y = 0;- bound(b);- if (n > 2) {- c = nodes[2];- d3_layout_packPlace(a, b, c);- bound(c);- d3_layout_packInsert(a, c);- a._pack_prev = c;- d3_layout_packInsert(c, b);- b = a._pack_next;- for (i = 3; i < n; i++) {- d3_layout_packPlace(a, b, c = nodes[i]);- var isect = 0, s1 = 1, s2 = 1;- for (j = b._pack_next; j !== b; j = j._pack_next, s1++) {- if (d3_layout_packIntersects(j, c)) {- isect = 1;- break;- }- }- if (isect == 1) {- for (k = a._pack_prev; k !== j._pack_prev; k = k._pack_prev, s2++) {- if (d3_layout_packIntersects(k, c)) {- break;- }- }- }- if (isect) {- if (s1 < s2 || s1 == s2 && b.r < a.r) d3_layout_packSplice(a, b = j); else d3_layout_packSplice(a = k, b);- i--;- } else {- d3_layout_packInsert(a, c);- b = c;- bound(c);- }- }- }- }- var cx = (xMin + xMax) / 2, cy = (yMin + yMax) / 2, cr = 0;- for (i = 0; i < n; i++) {- c = nodes[i];- c.x -= cx;- c.y -= cy;- cr = Math.max(cr, c.r + Math.sqrt(c.x * c.x + c.y * c.y));- }- node.r = cr;- nodes.forEach(d3_layout_packUnlink);- }- function d3_layout_packLink(node) {- node._pack_next = node._pack_prev = node;- }- function d3_layout_packUnlink(node) {- delete node._pack_next;- delete node._pack_prev;- }- function d3_layout_packTransform(node, x, y, k) {- var children = node.children;- node.x = x += k * node.x;- node.y = y += k * node.y;- node.r *= k;- if (children) {- var i = -1, n = children.length;- while (++i < n) d3_layout_packTransform(children[i], x, y, k);- }- }- function d3_layout_packPlace(a, b, c) {- var db = a.r + c.r, dx = b.x - a.x, dy = b.y - a.y;- if (db && (dx || dy)) {- var da = b.r + c.r, dc = dx * dx + dy * dy;- da *= da;- db *= db;- var x = .5 + (db - da) / (2 * dc), y = Math.sqrt(Math.max(0, 2 * da * (db + dc) - (db -= dc) * db - da * da)) / (2 * dc);- c.x = a.x + x * dx + y * dy;- c.y = a.y + x * dy - y * dx;- } else {- c.x = a.x + db;- c.y = a.y;- }- }- d3.layout.cluster = function() {- var hierarchy = d3.layout.hierarchy().sort(null).value(null), separation = d3_layout_treeSeparation, size = [ 1, 1 ], nodeSize = false;- function cluster(d, i) {- var nodes = hierarchy.call(this, d, i), root = nodes[0], previousNode, x = 0;- d3_layout_treeVisitAfter(root, function(node) {- var children = node.children;- if (children && children.length) {- node.x = d3_layout_clusterX(children);- node.y = d3_layout_clusterY(children);- } else {- node.x = previousNode ? x += separation(node, previousNode) : 0;- node.y = 0;- previousNode = node;- }- });- var left = d3_layout_clusterLeft(root), right = d3_layout_clusterRight(root), x0 = left.x - separation(left, right) / 2, x1 = right.x + separation(right, left) / 2;- d3_layout_treeVisitAfter(root, nodeSize ? function(node) {- node.x = (node.x - root.x) * size[0];- node.y = (root.y - node.y) * size[1];- } : function(node) {- node.x = (node.x - x0) / (x1 - x0) * size[0];- node.y = (1 - (root.y ? node.y / root.y : 1)) * size[1];- });- return nodes;- }- cluster.separation = function(x) {- if (!arguments.length) return separation;- separation = x;- return cluster;- };- cluster.size = function(x) {- if (!arguments.length) return nodeSize ? null : size;- nodeSize = (size = x) == null;- return cluster;- };- cluster.nodeSize = function(x) {- if (!arguments.length) return nodeSize ? size : null;- nodeSize = (size = x) != null;- return cluster;- };- return d3_layout_hierarchyRebind(cluster, hierarchy);- };- function d3_layout_clusterY(children) {- return 1 + d3.max(children, function(child) {- return child.y;- });- }- function d3_layout_clusterX(children) {- return children.reduce(function(x, child) {- return x + child.x;- }, 0) / children.length;- }- function d3_layout_clusterLeft(node) {- var children = node.children;- return children && children.length ? d3_layout_clusterLeft(children[0]) : node;- }- function d3_layout_clusterRight(node) {- var children = node.children, n;- return children && (n = children.length) ? d3_layout_clusterRight(children[n - 1]) : node;- }- d3.layout.treemap = function() {- var hierarchy = d3.layout.hierarchy(), round = Math.round, size = [ 1, 1 ], padding = null, pad = d3_layout_treemapPadNull, sticky = false, stickies, mode = "squarify", ratio = .5 * (1 + Math.sqrt(5));- function scale(children, k) {- var i = -1, n = children.length, child, area;- while (++i < n) {- area = (child = children[i]).value * (k < 0 ? 0 : k);- child.area = isNaN(area) || area <= 0 ? 0 : area;- }- }- function squarify(node) {- var children = node.children;- if (children && children.length) {- var rect = pad(node), row = [], remaining = children.slice(), child, best = Infinity, score, u = mode === "slice" ? rect.dx : mode === "dice" ? rect.dy : mode === "slice-dice" ? node.depth & 1 ? rect.dy : rect.dx : Math.min(rect.dx, rect.dy), n;- scale(remaining, rect.dx * rect.dy / node.value);- row.area = 0;- while ((n = remaining.length) > 0) {- row.push(child = remaining[n - 1]);- row.area += child.area;- if (mode !== "squarify" || (score = worst(row, u)) <= best) {- remaining.pop();- best = score;- } else {- row.area -= row.pop().area;- position(row, u, rect, false);- u = Math.min(rect.dx, rect.dy);- row.length = row.area = 0;- best = Infinity;- }- }- if (row.length) {- position(row, u, rect, true);- row.length = row.area = 0;- }- children.forEach(squarify);- }- }- function stickify(node) {- var children = node.children;- if (children && children.length) {- var rect = pad(node), remaining = children.slice(), child, row = [];- scale(remaining, rect.dx * rect.dy / node.value);- row.area = 0;- while (child = remaining.pop()) {- row.push(child);- row.area += child.area;- if (child.z != null) {- position(row, child.z ? rect.dx : rect.dy, rect, !remaining.length);- row.length = row.area = 0;- }- }- children.forEach(stickify);- }- }- function worst(row, u) {- var s = row.area, r, rmax = 0, rmin = Infinity, i = -1, n = row.length;- while (++i < n) {- if (!(r = row[i].area)) continue;- if (r < rmin) rmin = r;- if (r > rmax) rmax = r;- }- s *= s;- u *= u;- return s ? Math.max(u * rmax * ratio / s, s / (u * rmin * ratio)) : Infinity;- }- function position(row, u, rect, flush) {- var i = -1, n = row.length, x = rect.x, y = rect.y, v = u ? round(row.area / u) : 0, o;- if (u == rect.dx) {- if (flush || v > rect.dy) v = rect.dy;- while (++i < n) {- o = row[i];- o.x = x;- o.y = y;- o.dy = v;- x += o.dx = Math.min(rect.x + rect.dx - x, v ? round(o.area / v) : 0);- }- o.z = true;- o.dx += rect.x + rect.dx - x;- rect.y += v;- rect.dy -= v;- } else {- if (flush || v > rect.dx) v = rect.dx;- while (++i < n) {- o = row[i];- o.x = x;- o.y = y;- o.dx = v;- y += o.dy = Math.min(rect.y + rect.dy - y, v ? round(o.area / v) : 0);- }- o.z = false;- o.dy += rect.y + rect.dy - y;- rect.x += v;- rect.dx -= v;- }- }- function treemap(d) {- var nodes = stickies || hierarchy(d), root = nodes[0];- root.x = 0;- root.y = 0;- root.dx = size[0];- root.dy = size[1];- if (stickies) hierarchy.revalue(root);- scale([ root ], root.dx * root.dy / root.value);- (stickies ? stickify : squarify)(root);- if (sticky) stickies = nodes;- return nodes;- }- treemap.size = function(x) {- if (!arguments.length) return size;- size = x;- return treemap;- };- treemap.padding = function(x) {- if (!arguments.length) return padding;- function padFunction(node) {- var p = x.call(treemap, node, node.depth);- return p == null ? d3_layout_treemapPadNull(node) : d3_layout_treemapPad(node, typeof p === "number" ? [ p, p, p, p ] : p);- }- function padConstant(node) {- return d3_layout_treemapPad(node, x);- }- var type;- pad = (padding = x) == null ? d3_layout_treemapPadNull : (type = typeof x) === "function" ? padFunction : type === "number" ? (x = [ x, x, x, x ],- padConstant) : padConstant;- return treemap;- };- treemap.round = function(x) {- if (!arguments.length) return round != Number;- round = x ? Math.round : Number;- return treemap;- };- treemap.sticky = function(x) {- if (!arguments.length) return sticky;- sticky = x;- stickies = null;- return treemap;- };- treemap.ratio = function(x) {- if (!arguments.length) return ratio;- ratio = x;- return treemap;- };- treemap.mode = function(x) {- if (!arguments.length) return mode;- mode = x + "";- return treemap;- };- return d3_layout_hierarchyRebind(treemap, hierarchy);- };- function d3_layout_treemapPadNull(node) {- return {- x: node.x,- y: node.y,- dx: node.dx,- dy: node.dy- };- }- function d3_layout_treemapPad(node, padding) {- var x = node.x + padding[3], y = node.y + padding[0], dx = node.dx - padding[1] - padding[3], dy = node.dy - padding[0] - padding[2];- if (dx < 0) {- x += dx / 2;- dx = 0;- }- if (dy < 0) {- y += dy / 2;- dy = 0;- }- return {- x: x,- y: y,- dx: dx,- dy: dy- };- }- d3.random = {- normal: function(µ, σ) {- var n = arguments.length;- if (n < 2) σ = 1;- if (n < 1) µ = 0;- return function() {- var x, y, r;- do {- x = Math.random() * 2 - 1;- y = Math.random() * 2 - 1;- r = x * x + y * y;- } while (!r || r > 1);- return µ + σ * x * Math.sqrt(-2 * Math.log(r) / r);- };- },- logNormal: function() {- var random = d3.random.normal.apply(d3, arguments);- return function() {- return Math.exp(random());- };- },- irwinHall: function(m) {- return function() {- for (var s = 0, j = 0; j < m; j++) s += Math.random();- return s / m;- };- }- };- d3.scale = {};- function d3_scaleExtent(domain) {- var start = domain[0], stop = domain[domain.length - 1];- return start < stop ? [ start, stop ] : [ stop, start ];- }- function d3_scaleRange(scale) {- return scale.rangeExtent ? scale.rangeExtent() : d3_scaleExtent(scale.range());- }- function d3_scale_bilinear(domain, range, uninterpolate, interpolate) {- var u = uninterpolate(domain[0], domain[1]), i = interpolate(range[0], range[1]);- return function(x) {- return i(u(x));- };- }- function d3_scale_nice(domain, nice) {- var i0 = 0, i1 = domain.length - 1, x0 = domain[i0], x1 = domain[i1], dx;- if (x1 < x0) {- dx = i0, i0 = i1, i1 = dx;- dx = x0, x0 = x1, x1 = dx;- }- domain[i0] = nice.floor(x0);- domain[i1] = nice.ceil(x1);- return domain;- }- function d3_scale_niceStep(step) {- return step ? {- floor: function(x) {- return Math.floor(x / step) * step;- },- ceil: function(x) {- return Math.ceil(x / step) * step;- }- } : d3_scale_niceIdentity;- }- var d3_scale_niceIdentity = {- floor: d3_identity,- ceil: d3_identity- };- function d3_scale_polylinear(domain, range, uninterpolate, interpolate) {- var u = [], i = [], j = 0, k = Math.min(domain.length, range.length) - 1;- if (domain[k] < domain[0]) {- domain = domain.slice().reverse();- range = range.slice().reverse();- }- while (++j <= k) {- u.push(uninterpolate(domain[j - 1], domain[j]));- i.push(interpolate(range[j - 1], range[j]));- }- return function(x) {- var j = d3.bisect(domain, x, 1, k) - 1;- return i[j](u[j](x));- };- }- d3.scale.linear = function() {- return d3_scale_linear([ 0, 1 ], [ 0, 1 ], d3_interpolate, false);- };- function d3_scale_linear(domain, range, interpolate, clamp) {- var output, input;- function rescale() {- var linear = Math.min(domain.length, range.length) > 2 ? d3_scale_polylinear : d3_scale_bilinear, uninterpolate = clamp ? d3_uninterpolateClamp : d3_uninterpolateNumber;- output = linear(domain, range, uninterpolate, interpolate);- input = linear(range, domain, uninterpolate, d3_interpolate);- return scale;- }- function scale(x) {- return output(x);- }- scale.invert = function(y) {- return input(y);- };- scale.domain = function(x) {- if (!arguments.length) return domain;- domain = x.map(Number);- return rescale();- };- scale.range = function(x) {- if (!arguments.length) return range;- range = x;- return rescale();- };- scale.rangeRound = function(x) {- return scale.range(x).interpolate(d3_interpolateRound);- };- scale.clamp = function(x) {- if (!arguments.length) return clamp;- clamp = x;- return rescale();- };- scale.interpolate = function(x) {- if (!arguments.length) return interpolate;- interpolate = x;- return rescale();- };- scale.ticks = function(m) {- return d3_scale_linearTicks(domain, m);- };- scale.tickFormat = function(m, format) {- return d3_scale_linearTickFormat(domain, m, format);- };- scale.nice = function(m) {- d3_scale_linearNice(domain, m);- return rescale();- };- scale.copy = function() {- return d3_scale_linear(domain, range, interpolate, clamp);- };- return rescale();- }- function d3_scale_linearRebind(scale, linear) {- return d3.rebind(scale, linear, "range", "rangeRound", "interpolate", "clamp");- }- function d3_scale_linearNice(domain, m) {- return d3_scale_nice(domain, d3_scale_niceStep(m ? d3_scale_linearTickRange(domain, m)[2] : d3_scale_linearNiceStep(domain)));- }- function d3_scale_linearNiceStep(domain) {- var extent = d3_scaleExtent(domain), span = extent[1] - extent[0];- return Math.pow(10, Math.round(Math.log(span) / Math.LN10) - 1);- }- function d3_scale_linearTickRange(domain, m) {- var extent = d3_scaleExtent(domain), span = extent[1] - extent[0], step = Math.pow(10, Math.floor(Math.log(span / m) / Math.LN10)), err = m / span * step;- if (err <= .15) step *= 10; else if (err <= .35) step *= 5; else if (err <= .75) step *= 2;- extent[0] = Math.ceil(extent[0] / step) * step;- extent[1] = Math.floor(extent[1] / step) * step + step * .5;- extent[2] = step;- return extent;- }- function d3_scale_linearTicks(domain, m) {- return d3.range.apply(d3, d3_scale_linearTickRange(domain, m));- }- function d3_scale_linearTickFormat(domain, m, format) {- var precision = -Math.floor(Math.log(d3_scale_linearTickRange(domain, m)[2]) / Math.LN10 + .01);- return d3.format(format ? format.replace(d3_format_re, function(a, b, c, d, e, f, g, h, i, j) {- return [ b, c, d, e, f, g, h, i || "." + (precision - (j === "%") * 2), j ].join("");- }) : ",." + precision + "f");- }- d3.scale.log = function() {- return d3_scale_log(d3.scale.linear().domain([ 0, Math.LN10 ]), 10, d3_scale_logp, d3_scale_powp, [ 1, 10 ]);- };- function d3_scale_log(linear, base, log, pow, domain) {- function scale(x) {- return linear(log(x));- }- scale.invert = function(x) {- return pow(linear.invert(x));- };- scale.domain = function(x) {- if (!arguments.length) return domain;- if (x[0] < 0) log = d3_scale_logn, pow = d3_scale_pown; else log = d3_scale_logp,- pow = d3_scale_powp;- linear.domain((domain = x.map(Number)).map(log));- return scale;- };- scale.base = function(_) {- if (!arguments.length) return base;- base = +_;- return scale;- };- scale.nice = function() {- function floor(x) {- return Math.pow(base, Math.floor(Math.log(x) / Math.log(base)));- }- function ceil(x) {- return Math.pow(base, Math.ceil(Math.log(x) / Math.log(base)));- }- linear.domain(d3_scale_nice(domain, log === d3_scale_logp ? {- floor: floor,- ceil: ceil- } : {- floor: function(x) {- return -ceil(-x);- },- ceil: function(x) {- return -floor(-x);- }- }).map(log));- return scale;- };- scale.ticks = function() {- var extent = d3_scaleExtent(linear.domain()), ticks = [];- if (extent.every(isFinite)) {- var b = Math.log(base), i = Math.floor(extent[0] / b), j = Math.ceil(extent[1] / b), u = pow(extent[0]), v = pow(extent[1]), n = base % 1 ? 2 : base;- if (log === d3_scale_logn) {- ticks.push(-Math.pow(base, -i));- for (;i++ < j; ) for (var k = n - 1; k > 0; k--) ticks.push(-Math.pow(base, -i) * k);- } else {- for (;i < j; i++) for (var k = 1; k < n; k++) ticks.push(Math.pow(base, i) * k);- ticks.push(Math.pow(base, i));- }- for (i = 0; ticks[i] < u; i++) {}- for (j = ticks.length; ticks[j - 1] > v; j--) {}- ticks = ticks.slice(i, j);- }- return ticks;- };- scale.tickFormat = function(n, format) {- if (!arguments.length) return d3_scale_logFormat;- if (arguments.length < 2) format = d3_scale_logFormat; else if (typeof format !== "function") format = d3.format(format);- var b = Math.log(base), k = Math.max(.1, n / scale.ticks().length), f = log === d3_scale_logn ? (e = -1e-12,- Math.floor) : (e = 1e-12, Math.ceil), e;- return function(d) {- return d / pow(b * f(log(d) / b + e)) <= k ? format(d) : "";- };- };- scale.copy = function() {- return d3_scale_log(linear.copy(), base, log, pow, domain);- };- return d3_scale_linearRebind(scale, linear);- }- var d3_scale_logFormat = d3.format(".0e");- function d3_scale_logp(x) {- return Math.log(x < 0 ? 0 : x);- }- function d3_scale_powp(x) {- return Math.exp(x);- }- function d3_scale_logn(x) {- return -Math.log(x > 0 ? 0 : -x);- }- function d3_scale_pown(x) {- return -Math.exp(-x);- }- d3.scale.pow = function() {- return d3_scale_pow(d3.scale.linear(), 1, [ 0, 1 ]);- };- function d3_scale_pow(linear, exponent, domain) {- var powp = d3_scale_powPow(exponent), powb = d3_scale_powPow(1 / exponent);- function scale(x) {- return linear(powp(x));- }- scale.invert = function(x) {- return powb(linear.invert(x));- };- scale.domain = function(x) {- if (!arguments.length) return domain;- linear.domain((domain = x.map(Number)).map(powp));- return scale;- };- scale.ticks = function(m) {- return d3_scale_linearTicks(domain, m);- };- scale.tickFormat = function(m, format) {- return d3_scale_linearTickFormat(domain, m, format);- };- scale.nice = function(m) {- return scale.domain(d3_scale_linearNice(domain, m));- };- scale.exponent = function(x) {- if (!arguments.length) return exponent;- powp = d3_scale_powPow(exponent = x);- powb = d3_scale_powPow(1 / exponent);- linear.domain(domain.map(powp));- return scale;- };- scale.copy = function() {- return d3_scale_pow(linear.copy(), exponent, domain);- };- return d3_scale_linearRebind(scale, linear);- }- function d3_scale_powPow(e) {- return function(x) {- return x < 0 ? -Math.pow(-x, e) : Math.pow(x, e);- };- }- d3.scale.sqrt = function() {- return d3.scale.pow().exponent(.5);- };- d3.scale.ordinal = function() {- return d3_scale_ordinal([], {- t: "range",- a: [ [] ]- });- };- function d3_scale_ordinal(domain, ranger) {- var index, range, rangeBand;- function scale(x) {- return range[((index.get(x) || index.set(x, domain.push(x))) - 1) % range.length];- }- function steps(start, step) {- return d3.range(domain.length).map(function(i) {- return start + step * i;- });- }- scale.domain = function(x) {- if (!arguments.length) return domain;- domain = [];- index = new d3_Map();- var i = -1, n = x.length, xi;- while (++i < n) if (!index.has(xi = x[i])) index.set(xi, domain.push(xi));- return scale[ranger.t].apply(scale, ranger.a);- };- scale.range = function(x) {- if (!arguments.length) return range;- range = x;- rangeBand = 0;- ranger = {- t: "range",- a: arguments- };- return scale;- };- scale.rangePoints = function(x, padding) {- if (arguments.length < 2) padding = 0;- var start = x[0], stop = x[1], step = (stop - start) / (Math.max(1, domain.length - 1) + padding);- range = steps(domain.length < 2 ? (start + stop) / 2 : start + step * padding / 2, step);- rangeBand = 0;- ranger = {- t: "rangePoints",- a: arguments- };- return scale;- };- scale.rangeBands = function(x, padding, outerPadding) {- if (arguments.length < 2) padding = 0;- if (arguments.length < 3) outerPadding = padding;- var reverse = x[1] < x[0], start = x[reverse - 0], stop = x[1 - reverse], step = (stop - start) / (domain.length - padding + 2 * outerPadding);- range = steps(start + step * outerPadding, step);- if (reverse) range.reverse();- rangeBand = step * (1 - padding);- ranger = {- t: "rangeBands",- a: arguments- };- return scale;- };- scale.rangeRoundBands = function(x, padding, outerPadding) {- if (arguments.length < 2) padding = 0;- if (arguments.length < 3) outerPadding = padding;- var reverse = x[1] < x[0], start = x[reverse - 0], stop = x[1 - reverse], step = Math.floor((stop - start) / (domain.length - padding + 2 * outerPadding)), error = stop - start - (domain.length - padding) * step;- range = steps(start + Math.round(error / 2), step);- if (reverse) range.reverse();- rangeBand = Math.round(step * (1 - padding));- ranger = {- t: "rangeRoundBands",- a: arguments- };- return scale;- };- scale.rangeBand = function() {- return rangeBand;- };- scale.rangeExtent = function() {- return d3_scaleExtent(ranger.a[0]);- };- scale.copy = function() {- return d3_scale_ordinal(domain, ranger);- };- return scale.domain(domain);- }- d3.scale.category10 = function() {- return d3.scale.ordinal().range(d3_category10);- };- d3.scale.category20 = function() {- return d3.scale.ordinal().range(d3_category20);- };- d3.scale.category20b = function() {- return d3.scale.ordinal().range(d3_category20b);- };- d3.scale.category20c = function() {- return d3.scale.ordinal().range(d3_category20c);- };- var d3_category10 = [ "#1f77b4", "#ff7f0e", "#2ca02c", "#d62728", "#9467bd", "#8c564b", "#e377c2", "#7f7f7f", "#bcbd22", "#17becf" ];- var d3_category20 = [ "#1f77b4", "#aec7e8", "#ff7f0e", "#ffbb78", "#2ca02c", "#98df8a", "#d62728", "#ff9896", "#9467bd", "#c5b0d5", "#8c564b", "#c49c94", "#e377c2", "#f7b6d2", "#7f7f7f", "#c7c7c7", "#bcbd22", "#dbdb8d", "#17becf", "#9edae5" ];- var d3_category20b = [ "#393b79", "#5254a3", "#6b6ecf", "#9c9ede", "#637939", "#8ca252", "#b5cf6b", "#cedb9c", "#8c6d31", "#bd9e39", "#e7ba52", "#e7cb94", "#843c39", "#ad494a", "#d6616b", "#e7969c", "#7b4173", "#a55194", "#ce6dbd", "#de9ed6" ];- var d3_category20c = [ "#3182bd", "#6baed6", "#9ecae1", "#c6dbef", "#e6550d", "#fd8d3c", "#fdae6b", "#fdd0a2", "#31a354", "#74c476", "#a1d99b", "#c7e9c0", "#756bb1", "#9e9ac8", "#bcbddc", "#dadaeb", "#636363", "#969696", "#bdbdbd", "#d9d9d9" ];- d3.scale.quantile = function() {- return d3_scale_quantile([], []);- };- function d3_scale_quantile(domain, range) {- var thresholds;- function rescale() {- var k = 0, q = range.length;- thresholds = [];- while (++k < q) thresholds[k - 1] = d3.quantile(domain, k / q);- return scale;- }- function scale(x) {- if (isNaN(x = +x)) return NaN;- return range[d3.bisect(thresholds, x)];- }- scale.domain = function(x) {- if (!arguments.length) return domain;- domain = x.filter(function(d) {- return !isNaN(d);- }).sort(d3.ascending);- return rescale();- };- scale.range = function(x) {- if (!arguments.length) return range;- range = x;- return rescale();- };- scale.quantiles = function() {- return thresholds;- };- scale.copy = function() {- return d3_scale_quantile(domain, range);- };- return rescale();- }- d3.scale.quantize = function() {- return d3_scale_quantize(0, 1, [ 0, 1 ]);- };- function d3_scale_quantize(x0, x1, range) {- var kx, i;- function scale(x) {- return range[Math.max(0, Math.min(i, Math.floor(kx * (x - x0))))];- }- function rescale() {- kx = range.length / (x1 - x0);- i = range.length - 1;- return scale;- }- scale.domain = function(x) {- if (!arguments.length) return [ x0, x1 ];- x0 = +x[0];- x1 = +x[x.length - 1];- return rescale();- };- scale.range = function(x) {- if (!arguments.length) return range;- range = x;- return rescale();- };- scale.copy = function() {- return d3_scale_quantize(x0, x1, range);- };- scale.invertExtent = function(y) {- y = range.indexOf(y);- y = y < 0 ? NaN : y / kx + x0;- return [ y, y + 1 / kx ];- };- return rescale();- }- d3.scale.threshold = function() {- return d3_scale_threshold([ .5 ], [ 0, 1 ]);- };- function d3_scale_threshold(domain, range) {- function scale(x) {- return range[d3.bisect(domain, x)];- }- scale.domain = function(_) {- if (!arguments.length) return domain;- domain = _;- return scale;- };- scale.range = function(_) {- if (!arguments.length) return range;- range = _;- return scale;- };- scale.invertExtent = function(y) {- y = range.indexOf(y);- return [ domain[y - 1], domain[y] ];- };- scale.copy = function() {- return d3_scale_threshold(domain, range);- };- return scale;- }- d3.scale.identity = function() {- return d3_scale_identity([ 0, 1 ]);- };- function d3_scale_identity(domain) {- function identity(x) {- return +x;- }- identity.invert = identity;- identity.domain = identity.range = function(x) {- if (!arguments.length) return domain;- domain = x.map(identity);- return identity;- };- identity.ticks = function(m) {- return d3_scale_linearTicks(domain, m);- };- identity.tickFormat = function(m, format) {- return d3_scale_linearTickFormat(domain, m, format);- };- identity.copy = function() {- return d3_scale_identity(domain);- };- return identity;- }- d3.svg.arc = function() {- var innerRadius = d3_svg_arcInnerRadius, outerRadius = d3_svg_arcOuterRadius, startAngle = d3_svg_arcStartAngle, endAngle = d3_svg_arcEndAngle;- function arc() {- var r0 = innerRadius.apply(this, arguments), r1 = outerRadius.apply(this, arguments), a0 = startAngle.apply(this, arguments) + d3_svg_arcOffset, a1 = endAngle.apply(this, arguments) + d3_svg_arcOffset, da = (a1 < a0 && (da = a0,- a0 = a1, a1 = da), a1 - a0), df = da < π ? "0" : "1", c0 = Math.cos(a0), s0 = Math.sin(a0), c1 = Math.cos(a1), s1 = Math.sin(a1);- return da >= d3_svg_arcMax ? r0 ? "M0," + r1 + "A" + r1 + "," + r1 + " 0 1,1 0," + -r1 + "A" + r1 + "," + r1 + " 0 1,1 0," + r1 + "M0," + r0 + "A" + r0 + "," + r0 + " 0 1,0 0," + -r0 + "A" + r0 + "," + r0 + " 0 1,0 0," + r0 + "Z" : "M0," + r1 + "A" + r1 + "," + r1 + " 0 1,1 0," + -r1 + "A" + r1 + "," + r1 + " 0 1,1 0," + r1 + "Z" : r0 ? "M" + r1 * c0 + "," + r1 * s0 + "A" + r1 + "," + r1 + " 0 " + df + ",1 " + r1 * c1 + "," + r1 * s1 + "L" + r0 * c1 + "," + r0 * s1 + "A" + r0 + "," + r0 + " 0 " + df + ",0 " + r0 * c0 + "," + r0 * s0 + "Z" : "M" + r1 * c0 + "," + r1 * s0 + "A" + r1 + "," + r1 + " 0 " + df + ",1 " + r1 * c1 + "," + r1 * s1 + "L0,0" + "Z";- }- arc.innerRadius = function(v) {- if (!arguments.length) return innerRadius;- innerRadius = d3_functor(v);- return arc;- };- arc.outerRadius = function(v) {- if (!arguments.length) return outerRadius;- outerRadius = d3_functor(v);- return arc;- };- arc.startAngle = function(v) {- if (!arguments.length) return startAngle;- startAngle = d3_functor(v);- return arc;- };- arc.endAngle = function(v) {- if (!arguments.length) return endAngle;- endAngle = d3_functor(v);- return arc;- };- arc.centroid = function() {- var r = (innerRadius.apply(this, arguments) + outerRadius.apply(this, arguments)) / 2, a = (startAngle.apply(this, arguments) + endAngle.apply(this, arguments)) / 2 + d3_svg_arcOffset;- return [ Math.cos(a) * r, Math.sin(a) * r ];- };- return arc;- };- var d3_svg_arcOffset = -π / 2, d3_svg_arcMax = 2 * π - 1e-6;- function d3_svg_arcInnerRadius(d) {- return d.innerRadius;- }- function d3_svg_arcOuterRadius(d) {- return d.outerRadius;- }- function d3_svg_arcStartAngle(d) {- return d.startAngle;- }- function d3_svg_arcEndAngle(d) {- return d.endAngle;- }- d3.svg.line.radial = function() {- var line = d3_svg_line(d3_svg_lineRadial);- line.radius = line.x, delete line.x;- line.angle = line.y, delete line.y;- return line;- };- function d3_svg_lineRadial(points) {- var point, i = -1, n = points.length, r, a;- while (++i < n) {- point = points[i];- r = point[0];- a = point[1] + d3_svg_arcOffset;- point[0] = r * Math.cos(a);- point[1] = r * Math.sin(a);- }- return points;- }- function d3_svg_area(projection) {- var x0 = d3_svg_lineX, x1 = d3_svg_lineX, y0 = 0, y1 = d3_svg_lineY, defined = d3_true, interpolate = d3_svg_lineLinear, interpolateKey = interpolate.key, interpolateReverse = interpolate, L = "L", tension = .7;- function area(data) {- var segments = [], points0 = [], points1 = [], i = -1, n = data.length, d, fx0 = d3_functor(x0), fy0 = d3_functor(y0), fx1 = x0 === x1 ? function() {- return x;- } : d3_functor(x1), fy1 = y0 === y1 ? function() {- return y;- } : d3_functor(y1), x, y;- function segment() {- segments.push("M", interpolate(projection(points1), tension), L, interpolateReverse(projection(points0.reverse()), tension), "Z");- }- while (++i < n) {- if (defined.call(this, d = data[i], i)) {- points0.push([ x = +fx0.call(this, d, i), y = +fy0.call(this, d, i) ]);- points1.push([ +fx1.call(this, d, i), +fy1.call(this, d, i) ]);- } else if (points0.length) {- segment();- points0 = [];- points1 = [];- }- }- if (points0.length) segment();- return segments.length ? segments.join("") : null;- }- area.x = function(_) {- if (!arguments.length) return x1;- x0 = x1 = _;- return area;- };- area.x0 = function(_) {- if (!arguments.length) return x0;- x0 = _;- return area;- };- area.x1 = function(_) {- if (!arguments.length) return x1;- x1 = _;- return area;- };- area.y = function(_) {- if (!arguments.length) return y1;- y0 = y1 = _;- return area;- };- area.y0 = function(_) {- if (!arguments.length) return y0;- y0 = _;- return area;- };- area.y1 = function(_) {- if (!arguments.length) return y1;- y1 = _;- return area;- };- area.defined = function(_) {- if (!arguments.length) return defined;- defined = _;- return area;- };- area.interpolate = function(_) {- if (!arguments.length) return interpolateKey;- if (typeof _ === "function") interpolateKey = interpolate = _; else interpolateKey = (interpolate = d3_svg_lineInterpolators.get(_) || d3_svg_lineLinear).key;- interpolateReverse = interpolate.reverse || interpolate;- L = interpolate.closed ? "M" : "L";- return area;- };- area.tension = function(_) {- if (!arguments.length) return tension;- tension = _;- return area;- };- return area;- }- d3_svg_lineStepBefore.reverse = d3_svg_lineStepAfter;- d3_svg_lineStepAfter.reverse = d3_svg_lineStepBefore;- d3.svg.area = function() {- return d3_svg_area(d3_identity);- };- d3.svg.area.radial = function() {- var area = d3_svg_area(d3_svg_lineRadial);- area.radius = area.x, delete area.x;- area.innerRadius = area.x0, delete area.x0;- area.outerRadius = area.x1, delete area.x1;- area.angle = area.y, delete area.y;- area.startAngle = area.y0, delete area.y0;- area.endAngle = area.y1, delete area.y1;- return area;- };- d3.svg.chord = function() {- var source = d3_source, target = d3_target, radius = d3_svg_chordRadius, startAngle = d3_svg_arcStartAngle, endAngle = d3_svg_arcEndAngle;- function chord(d, i) {- var s = subgroup(this, source, d, i), t = subgroup(this, target, d, i);- return "M" + s.p0 + arc(s.r, s.p1, s.a1 - s.a0) + (equals(s, t) ? curve(s.r, s.p1, s.r, s.p0) : curve(s.r, s.p1, t.r, t.p0) + arc(t.r, t.p1, t.a1 - t.a0) + curve(t.r, t.p1, s.r, s.p0)) + "Z";- }- function subgroup(self, f, d, i) {- var subgroup = f.call(self, d, i), r = radius.call(self, subgroup, i), a0 = startAngle.call(self, subgroup, i) + d3_svg_arcOffset, a1 = endAngle.call(self, subgroup, i) + d3_svg_arcOffset;- return {- r: r,- a0: a0,- a1: a1,- p0: [ r * Math.cos(a0), r * Math.sin(a0) ],- p1: [ r * Math.cos(a1), r * Math.sin(a1) ]- };- }- function equals(a, b) {- return a.a0 == b.a0 && a.a1 == b.a1;- }- function arc(r, p, a) {- return "A" + r + "," + r + " 0 " + +(a > π) + ",1 " + p;- }- function curve(r0, p0, r1, p1) {- return "Q 0,0 " + p1;- }- chord.radius = function(v) {- if (!arguments.length) return radius;- radius = d3_functor(v);- return chord;- };- chord.source = function(v) {- if (!arguments.length) return source;- source = d3_functor(v);- return chord;- };- chord.target = function(v) {- if (!arguments.length) return target;- target = d3_functor(v);- return chord;- };- chord.startAngle = function(v) {- if (!arguments.length) return startAngle;- startAngle = d3_functor(v);- return chord;- };- chord.endAngle = function(v) {- if (!arguments.length) return endAngle;- endAngle = d3_functor(v);- return chord;- };- return chord;- };- function d3_svg_chordRadius(d) {- return d.radius;- }- d3.svg.diagonal = function() {- var source = d3_source, target = d3_target, projection = d3_svg_diagonalProjection;- function diagonal(d, i) {- var p0 = source.call(this, d, i), p3 = target.call(this, d, i), m = (p0.y + p3.y) / 2, p = [ p0, {- x: p0.x,- y: m- }, {- x: p3.x,- y: m- }, p3 ];- p = p.map(projection);- return "M" + p[0] + "C" + p[1] + " " + p[2] + " " + p[3];- }- diagonal.source = function(x) {- if (!arguments.length) return source;- source = d3_functor(x);- return diagonal;- };- diagonal.target = function(x) {- if (!arguments.length) return target;- target = d3_functor(x);- return diagonal;- };- diagonal.projection = function(x) {- if (!arguments.length) return projection;- projection = x;- return diagonal;- };- return diagonal;- };- function d3_svg_diagonalProjection(d) {- return [ d.x, d.y ];- }- d3.svg.diagonal.radial = function() {- var diagonal = d3.svg.diagonal(), projection = d3_svg_diagonalProjection, projection_ = diagonal.projection;- diagonal.projection = function(x) {- return arguments.length ? projection_(d3_svg_diagonalRadialProjection(projection = x)) : projection;- };- return diagonal;- };- function d3_svg_diagonalRadialProjection(projection) {- return function() {- var d = projection.apply(this, arguments), r = d[0], a = d[1] + d3_svg_arcOffset;- return [ r * Math.cos(a), r * Math.sin(a) ];- };- }- d3.svg.symbol = function() {- var type = d3_svg_symbolType, size = d3_svg_symbolSize;- function symbol(d, i) {- return (d3_svg_symbols.get(type.call(this, d, i)) || d3_svg_symbolCircle)(size.call(this, d, i));- }- symbol.type = function(x) {- if (!arguments.length) return type;- type = d3_functor(x);- return symbol;- };- symbol.size = function(x) {- if (!arguments.length) return size;- size = d3_functor(x);- return symbol;- };- return symbol;- };- function d3_svg_symbolSize() {- return 64;- }- function d3_svg_symbolType() {- return "circle";- }- function d3_svg_symbolCircle(size) {- var r = Math.sqrt(size / π);- return "M0," + r + "A" + r + "," + r + " 0 1,1 0," + -r + "A" + r + "," + r + " 0 1,1 0," + r + "Z";- }- var d3_svg_symbols = d3.map({- circle: d3_svg_symbolCircle,- cross: function(size) {- var r = Math.sqrt(size / 5) / 2;- return "M" + -3 * r + "," + -r + "H" + -r + "V" + -3 * r + "H" + r + "V" + -r + "H" + 3 * r + "V" + r + "H" + r + "V" + 3 * r + "H" + -r + "V" + r + "H" + -3 * r + "Z";- },- diamond: function(size) {- var ry = Math.sqrt(size / (2 * d3_svg_symbolTan30)), rx = ry * d3_svg_symbolTan30;- return "M0," + -ry + "L" + rx + ",0" + " 0," + ry + " " + -rx + ",0" + "Z";- },- square: function(size) {- var r = Math.sqrt(size) / 2;- return "M" + -r + "," + -r + "L" + r + "," + -r + " " + r + "," + r + " " + -r + "," + r + "Z";- },- "triangle-down": function(size) {- var rx = Math.sqrt(size / d3_svg_symbolSqrt3), ry = rx * d3_svg_symbolSqrt3 / 2;- return "M0," + ry + "L" + rx + "," + -ry + " " + -rx + "," + -ry + "Z";- },- "triangle-up": function(size) {- var rx = Math.sqrt(size / d3_svg_symbolSqrt3), ry = rx * d3_svg_symbolSqrt3 / 2;- return "M0," + -ry + "L" + rx + "," + ry + " " + -rx + "," + ry + "Z";- }- });- d3.svg.symbolTypes = d3_svg_symbols.keys();- var d3_svg_symbolSqrt3 = Math.sqrt(3), d3_svg_symbolTan30 = Math.tan(30 * d3_radians);- function d3_transition(groups, id) {- d3_arraySubclass(groups, d3_transitionPrototype);- groups.id = id;- return groups;- }- var d3_transitionPrototype = [], d3_transitionId = 0, d3_transitionInheritId, d3_transitionInherit = {- ease: d3_ease_cubicInOut,- delay: 0,- duration: 250- };- d3_transitionPrototype.call = d3_selectionPrototype.call;- d3_transitionPrototype.empty = d3_selectionPrototype.empty;- d3_transitionPrototype.node = d3_selectionPrototype.node;- d3.transition = function(selection) {- return arguments.length ? d3_transitionInheritId ? selection.transition() : selection : d3_selectionRoot.transition();- };- d3.transition.prototype = d3_transitionPrototype;- d3_transitionPrototype.select = function(selector) {- var id = this.id, subgroups = [], subgroup, subnode, node;- if (typeof selector !== "function") selector = d3_selection_selector(selector);- for (var j = -1, m = this.length; ++j < m; ) {- subgroups.push(subgroup = []);- for (var group = this[j], i = -1, n = group.length; ++i < n; ) {- if ((node = group[i]) && (subnode = selector.call(node, node.__data__, i))) {- if ("__data__" in node) subnode.__data__ = node.__data__;- d3_transitionNode(subnode, i, id, node.__transition__[id]);- subgroup.push(subnode);- } else {- subgroup.push(null);- }- }- }- return d3_transition(subgroups, id);- };- d3_transitionPrototype.selectAll = function(selector) {- var id = this.id, subgroups = [], subgroup, subnodes, node, subnode, transition;- if (typeof selector !== "function") selector = d3_selection_selectorAll(selector);- for (var j = -1, m = this.length; ++j < m; ) {- for (var group = this[j], i = -1, n = group.length; ++i < n; ) {- if (node = group[i]) {- transition = node.__transition__[id];- subnodes = selector.call(node, node.__data__, i);- subgroups.push(subgroup = []);- for (var k = -1, o = subnodes.length; ++k < o; ) {- d3_transitionNode(subnode = subnodes[k], k, id, transition);- subgroup.push(subnode);- }- }- }- }- return d3_transition(subgroups, id);- };- d3_transitionPrototype.filter = function(filter) {- var subgroups = [], subgroup, group, node;- if (typeof filter !== "function") filter = d3_selection_filter(filter);- for (var j = 0, m = this.length; j < m; j++) {- subgroups.push(subgroup = []);- for (var group = this[j], i = 0, n = group.length; i < n; i++) {- if ((node = group[i]) && filter.call(node, node.__data__, i)) {- subgroup.push(node);- }- }- }- return d3_transition(subgroups, this.id, this.time).ease(this.ease());- };- d3_transitionPrototype.tween = function(name, tween) {- var id = this.id;- if (arguments.length < 2) return this.node().__transition__[id].tween.get(name);- return d3_selection_each(this, tween == null ? function(node) {- node.__transition__[id].tween.remove(name);- } : function(node) {- node.__transition__[id].tween.set(name, tween);- });- };- function d3_transition_tween(groups, name, value, tween) {- var id = groups.id;- return d3_selection_each(groups, typeof value === "function" ? function(node, i, j) {- node.__transition__[id].tween.set(name, tween(value.call(node, node.__data__, i, j)));- } : (value = tween(value), function(node) {- node.__transition__[id].tween.set(name, value);- }));- }- d3_transitionPrototype.attr = function(nameNS, value) {- if (arguments.length < 2) {- for (value in nameNS) this.attr(value, nameNS[value]);- return this;- }- var interpolate = d3_interpolateByName(nameNS), name = d3.ns.qualify(nameNS);- function attrNull() {- this.removeAttribute(name);- }- function attrNullNS() {- this.removeAttributeNS(name.space, name.local);- }- function attrTween(b) {- return b == null ? attrNull : (b += "", function() {- var a = this.getAttribute(name), i;- return a !== b && (i = interpolate(a, b), function(t) {- this.setAttribute(name, i(t));- });- });- }- function attrTweenNS(b) {- return b == null ? attrNullNS : (b += "", function() {- var a = this.getAttributeNS(name.space, name.local), i;- return a !== b && (i = interpolate(a, b), function(t) {- this.setAttributeNS(name.space, name.local, i(t));- });- });- }- return d3_transition_tween(this, "attr." + nameNS, value, name.local ? attrTweenNS : attrTween);- };- d3_transitionPrototype.attrTween = function(nameNS, tween) {- var name = d3.ns.qualify(nameNS);- function attrTween(d, i) {- var f = tween.call(this, d, i, this.getAttribute(name));- return f && function(t) {- this.setAttribute(name, f(t));- };- }- function attrTweenNS(d, i) {- var f = tween.call(this, d, i, this.getAttributeNS(name.space, name.local));- return f && function(t) {- this.setAttributeNS(name.space, name.local, f(t));- };- }- return this.tween("attr." + nameNS, name.local ? attrTweenNS : attrTween);- };- d3_transitionPrototype.style = function(name, value, priority) {- var n = arguments.length;- if (n < 3) {- if (typeof name !== "string") {- if (n < 2) value = "";- for (priority in name) this.style(priority, name[priority], value);- return this;- }- priority = "";- }- var interpolate = d3_interpolateByName(name);- function styleNull() {- this.style.removeProperty(name);- }- function styleString(b) {- return b == null ? styleNull : (b += "", function() {- var a = d3_window.getComputedStyle(this, null).getPropertyValue(name), i;- return a !== b && (i = interpolate(a, b), function(t) {- this.style.setProperty(name, i(t), priority);- });- });- }- return d3_transition_tween(this, "style." + name, value, styleString);- };- d3_transitionPrototype.styleTween = function(name, tween, priority) {- if (arguments.length < 3) priority = "";- function styleTween(d, i) {- var f = tween.call(this, d, i, d3_window.getComputedStyle(this, null).getPropertyValue(name));- return f && function(t) {- this.style.setProperty(name, f(t), priority);- };- }- return this.tween("style." + name, styleTween);- };- d3_transitionPrototype.text = function(value) {- return d3_transition_tween(this, "text", value, d3_transition_text);- };- function d3_transition_text(b) {- if (b == null) b = "";- return function() {- this.textContent = b;- };- }- d3_transitionPrototype.remove = function() {- return this.each("end.transition", function() {- var p;- if (!this.__transition__ && (p = this.parentNode)) p.removeChild(this);- });- };- d3_transitionPrototype.ease = function(value) {- var id = this.id;- if (arguments.length < 1) return this.node().__transition__[id].ease;- if (typeof value !== "function") value = d3.ease.apply(d3, arguments);- return d3_selection_each(this, function(node) {- node.__transition__[id].ease = value;- });- };- d3_transitionPrototype.delay = function(value) {- var id = this.id;- return d3_selection_each(this, typeof value === "function" ? function(node, i, j) {- node.__transition__[id].delay = value.call(node, node.__data__, i, j) | 0;- } : (value |= 0, function(node) {- node.__transition__[id].delay = value;- }));- };- d3_transitionPrototype.duration = function(value) {- var id = this.id;- return d3_selection_each(this, typeof value === "function" ? function(node, i, j) {- node.__transition__[id].duration = Math.max(1, value.call(node, node.__data__, i, j) | 0);- } : (value = Math.max(1, value | 0), function(node) {- node.__transition__[id].duration = value;- }));- };- d3_transitionPrototype.each = function(type, listener) {- var id = this.id;- if (arguments.length < 2) {- var inherit = d3_transitionInherit, inheritId = d3_transitionInheritId;- d3_transitionInheritId = id;- d3_selection_each(this, function(node, i, j) {- d3_transitionInherit = node.__transition__[id];- type.call(node, node.__data__, i, j);- });- d3_transitionInherit = inherit;- d3_transitionInheritId = inheritId;- } else {- d3_selection_each(this, function(node) {- node.__transition__[id].event.on(type, listener);- });- }- return this;- };- d3_transitionPrototype.transition = function() {- var id0 = this.id, id1 = ++d3_transitionId, subgroups = [], subgroup, group, node, transition;- for (var j = 0, m = this.length; j < m; j++) {- subgroups.push(subgroup = []);- for (var group = this[j], i = 0, n = group.length; i < n; i++) {- if (node = group[i]) {- transition = Object.create(node.__transition__[id0]);- transition.delay += transition.duration;- d3_transitionNode(node, i, id1, transition);- }- subgroup.push(node);- }- }- return d3_transition(subgroups, id1);- };- function d3_transitionNode(node, i, id, inherit) {- var lock = node.__transition__ || (node.__transition__ = {- active: 0,- count: 0- }), transition = lock[id];- if (!transition) {- var time = inherit.time;- transition = lock[id] = {- tween: new d3_Map(),- event: d3.dispatch("start", "end"),- time: time,- ease: inherit.ease,- delay: inherit.delay,- duration: inherit.duration- };- ++lock.count;- d3.timer(function(elapsed) {- var d = node.__data__, ease = transition.ease, event = transition.event, delay = transition.delay, duration = transition.duration, tweened = [];- return delay <= elapsed ? start(elapsed) : d3.timer(start, delay, time), 1;- function start(elapsed) {- if (lock.active > id) return stop();- lock.active = id;- event.start.call(node, d, i);- transition.tween.forEach(function(key, value) {- if (value = value.call(node, d, i)) {- tweened.push(value);- }- });- if (!tick(elapsed)) d3.timer(tick, 0, time);- return 1;- }- function tick(elapsed) {- if (lock.active !== id) return stop();- var t = (elapsed - delay) / duration, e = ease(t), n = tweened.length;- while (n > 0) {- tweened[--n].call(node, e);- }- if (t >= 1) {- stop();- event.end.call(node, d, i);- return 1;- }- }- function stop() {- if (--lock.count) delete lock[id]; else delete node.__transition__;- return 1;- }- }, 0, time);- return transition;- }- }- d3.svg.axis = function() {- var scale = d3.scale.linear(), orient = d3_svg_axisDefaultOrient, tickMajorSize = 6, tickMinorSize = 6, tickEndSize = 6, tickPadding = 3, tickArguments_ = [ 10 ], tickValues = null, tickFormat_, tickSubdivide = 0;- function axis(g) {- g.each(function() {- var g = d3.select(this);- var ticks = tickValues == null ? scale.ticks ? scale.ticks.apply(scale, tickArguments_) : scale.domain() : tickValues, tickFormat = tickFormat_ == null ? scale.tickFormat ? scale.tickFormat.apply(scale, tickArguments_) : String : tickFormat_;- var subticks = d3_svg_axisSubdivide(scale, ticks, tickSubdivide), subtick = g.selectAll(".tick.minor").data(subticks, String), subtickEnter = subtick.enter().insert("line", ".tick").attr("class", "tick minor").style("opacity", 1e-6), subtickExit = d3.transition(subtick.exit()).style("opacity", 1e-6).remove(), subtickUpdate = d3.transition(subtick).style("opacity", 1);- var tick = g.selectAll(".tick.major").data(ticks, String), tickEnter = tick.enter().insert("g", ".domain").attr("class", "tick major").style("opacity", 1e-6), tickExit = d3.transition(tick.exit()).style("opacity", 1e-6).remove(), tickUpdate = d3.transition(tick).style("opacity", 1), tickTransform;- var range = d3_scaleRange(scale), path = g.selectAll(".domain").data([ 0 ]), pathUpdate = (path.enter().append("path").attr("class", "domain"),- d3.transition(path));- var scale1 = scale.copy(), scale0 = this.__chart__ || scale1;- this.__chart__ = scale1;- tickEnter.append("line");- tickEnter.append("text");- var lineEnter = tickEnter.select("line"), lineUpdate = tickUpdate.select("line"), text = tick.select("text").text(tickFormat), textEnter = tickEnter.select("text"), textUpdate = tickUpdate.select("text");- switch (orient) {- case "bottom":- {- tickTransform = d3_svg_axisX;- subtickEnter.attr("y2", tickMinorSize);- subtickUpdate.attr("x2", 0).attr("y2", tickMinorSize);- lineEnter.attr("y2", tickMajorSize);- textEnter.attr("y", Math.max(tickMajorSize, 0) + tickPadding);- lineUpdate.attr("x2", 0).attr("y2", tickMajorSize);- textUpdate.attr("x", 0).attr("y", Math.max(tickMajorSize, 0) + tickPadding);- text.attr("dy", ".71em").style("text-anchor", "middle");- pathUpdate.attr("d", "M" + range[0] + "," + tickEndSize + "V0H" + range[1] + "V" + tickEndSize);- break;- }-- case "top":- {- tickTransform = d3_svg_axisX;- subtickEnter.attr("y2", -tickMinorSize);- subtickUpdate.attr("x2", 0).attr("y2", -tickMinorSize);- lineEnter.attr("y2", -tickMajorSize);- textEnter.attr("y", -(Math.max(tickMajorSize, 0) + tickPadding));- lineUpdate.attr("x2", 0).attr("y2", -tickMajorSize);- textUpdate.attr("x", 0).attr("y", -(Math.max(tickMajorSize, 0) + tickPadding));- text.attr("dy", "0em").style("text-anchor", "middle");- pathUpdate.attr("d", "M" + range[0] + "," + -tickEndSize + "V0H" + range[1] + "V" + -tickEndSize);- break;- }-- case "left":- {- tickTransform = d3_svg_axisY;- subtickEnter.attr("x2", -tickMinorSize);- subtickUpdate.attr("x2", -tickMinorSize).attr("y2", 0);- lineEnter.attr("x2", -tickMajorSize);- textEnter.attr("x", -(Math.max(tickMajorSize, 0) + tickPadding));- lineUpdate.attr("x2", -tickMajorSize).attr("y2", 0);- textUpdate.attr("x", -(Math.max(tickMajorSize, 0) + tickPadding)).attr("y", 0);- text.attr("dy", ".32em").style("text-anchor", "end");- pathUpdate.attr("d", "M" + -tickEndSize + "," + range[0] + "H0V" + range[1] + "H" + -tickEndSize);- break;- }-- case "right":- {- tickTransform = d3_svg_axisY;- subtickEnter.attr("x2", tickMinorSize);- subtickUpdate.attr("x2", tickMinorSize).attr("y2", 0);- lineEnter.attr("x2", tickMajorSize);- textEnter.attr("x", Math.max(tickMajorSize, 0) + tickPadding);- lineUpdate.attr("x2", tickMajorSize).attr("y2", 0);- textUpdate.attr("x", Math.max(tickMajorSize, 0) + tickPadding).attr("y", 0);- text.attr("dy", ".32em").style("text-anchor", "start");- pathUpdate.attr("d", "M" + tickEndSize + "," + range[0] + "H0V" + range[1] + "H" + tickEndSize);- break;- }- }- if (scale.ticks) {- tickEnter.call(tickTransform, scale0);- tickUpdate.call(tickTransform, scale1);- tickExit.call(tickTransform, scale1);- subtickEnter.call(tickTransform, scale0);- subtickUpdate.call(tickTransform, scale1);- subtickExit.call(tickTransform, scale1);- } else {- var dx = scale1.rangeBand() / 2, x = function(d) {- return scale1(d) + dx;- };- tickEnter.call(tickTransform, x);- tickUpdate.call(tickTransform, x);- }- });- }- axis.scale = function(x) {- if (!arguments.length) return scale;- scale = x;- return axis;- };- axis.orient = function(x) {- if (!arguments.length) return orient;- orient = x in d3_svg_axisOrients ? x + "" : d3_svg_axisDefaultOrient;- return axis;- };- axis.ticks = function() {- if (!arguments.length) return tickArguments_;- tickArguments_ = arguments;- return axis;- };- axis.tickValues = function(x) {- if (!arguments.length) return tickValues;- tickValues = x;- return axis;- };- axis.tickFormat = function(x) {- if (!arguments.length) return tickFormat_;- tickFormat_ = x;- return axis;- };- axis.tickSize = function(x, y) {- if (!arguments.length) return tickMajorSize;- var n = arguments.length - 1;- tickMajorSize = +x;- tickMinorSize = n > 1 ? +y : tickMajorSize;- tickEndSize = n > 0 ? +arguments[n] : tickMajorSize;- return axis;- };- axis.tickPadding = function(x) {- if (!arguments.length) return tickPadding;- tickPadding = +x;- return axis;- };- axis.tickSubdivide = function(x) {- if (!arguments.length) return tickSubdivide;- tickSubdivide = +x;- return axis;- };- return axis;- };- var d3_svg_axisDefaultOrient = "bottom", d3_svg_axisOrients = {- top: 1,- right: 1,- bottom: 1,- left: 1- };- function d3_svg_axisX(selection, x) {- selection.attr("transform", function(d) {- return "translate(" + x(d) + ",0)";- });- }- function d3_svg_axisY(selection, y) {- selection.attr("transform", function(d) {- return "translate(0," + y(d) + ")";- });- }- function d3_svg_axisSubdivide(scale, ticks, m) {- subticks = [];- if (m && ticks.length > 1) {- var extent = d3_scaleExtent(scale.domain()), subticks, i = -1, n = ticks.length, d = (ticks[1] - ticks[0]) / ++m, j, v;- while (++i < n) {- for (j = m; --j > 0; ) {- if ((v = +ticks[i] - j * d) >= extent[0]) {- subticks.push(v);- }- }- }- for (--i, j = 0; ++j < m && (v = +ticks[i] + j * d) < extent[1]; ) {- subticks.push(v);- }- }- return subticks;- }- d3.svg.brush = function() {- var event = d3_eventDispatch(brush, "brushstart", "brush", "brushend"), x = null, y = null, resizes = d3_svg_brushResizes[0], extent = [ [ 0, 0 ], [ 0, 0 ] ], clamp = [ true, true ], extentDomain;- function brush(g) {- g.each(function() {- var g = d3.select(this), bg = g.selectAll(".background").data([ 0 ]), fg = g.selectAll(".extent").data([ 0 ]), tz = g.selectAll(".resize").data(resizes, String), e;- g.style("pointer-events", "all").on("mousedown.brush", brushstart).on("touchstart.brush", brushstart);- bg.enter().append("rect").attr("class", "background").style("visibility", "hidden").style("cursor", "crosshair");- fg.enter().append("rect").attr("class", "extent").style("cursor", "move");- tz.enter().append("g").attr("class", function(d) {- return "resize " + d;- }).style("cursor", function(d) {- return d3_svg_brushCursor[d];- }).append("rect").attr("x", function(d) {- return /[ew]$/.test(d) ? -3 : null;- }).attr("y", function(d) {- return /^[ns]/.test(d) ? -3 : null;- }).attr("width", 6).attr("height", 6).style("visibility", "hidden");- tz.style("display", brush.empty() ? "none" : null);- tz.exit().remove();- if (x) {- e = d3_scaleRange(x);- bg.attr("x", e[0]).attr("width", e[1] - e[0]);- redrawX(g);- }- if (y) {- e = d3_scaleRange(y);- bg.attr("y", e[0]).attr("height", e[1] - e[0]);- redrawY(g);- }- redraw(g);- });- }- function redraw(g) {- g.selectAll(".resize").attr("transform", function(d) {- return "translate(" + extent[+/e$/.test(d)][0] + "," + extent[+/^s/.test(d)][1] + ")";- });- }- function redrawX(g) {- g.select(".extent").attr("x", extent[0][0]);- g.selectAll(".extent,.n>rect,.s>rect").attr("width", extent[1][0] - extent[0][0]);- }- function redrawY(g) {- g.select(".extent").attr("y", extent[0][1]);- g.selectAll(".extent,.e>rect,.w>rect").attr("height", extent[1][1] - extent[0][1]);- }- function brushstart() {- var target = this, eventTarget = d3.select(d3.event.target), event_ = event.of(target, arguments), g = d3.select(target), resizing = eventTarget.datum(), resizingX = !/^(n|s)$/.test(resizing) && x, resizingY = !/^(e|w)$/.test(resizing) && y, dragging = eventTarget.classed("extent"), center, origin = mouse(), offset;- var w = d3.select(d3_window).on("mousemove.brush", brushmove).on("mouseup.brush", brushend).on("touchmove.brush", brushmove).on("touchend.brush", brushend).on("keydown.brush", keydown).on("keyup.brush", keyup);- if (dragging) {- origin[0] = extent[0][0] - origin[0];- origin[1] = extent[0][1] - origin[1];- } else if (resizing) {- var ex = +/w$/.test(resizing), ey = +/^n/.test(resizing);- offset = [ extent[1 - ex][0] - origin[0], extent[1 - ey][1] - origin[1] ];- origin[0] = extent[ex][0];- origin[1] = extent[ey][1];- } else if (d3.event.altKey) center = origin.slice();- g.style("pointer-events", "none").selectAll(".resize").style("display", null);- d3.select("body").style("cursor", eventTarget.style("cursor"));- event_({- type: "brushstart"- });- brushmove();- d3_eventCancel();- function mouse() {- var touches = d3.event.changedTouches;- return touches ? d3.touches(target, touches)[0] : d3.mouse(target);- }- function keydown() {- if (d3.event.keyCode == 32) {- if (!dragging) {- center = null;- origin[0] -= extent[1][0];- origin[1] -= extent[1][1];- dragging = 2;- }- d3_eventCancel();- }- }- function keyup() {- if (d3.event.keyCode == 32 && dragging == 2) {- origin[0] += extent[1][0];- origin[1] += extent[1][1];- dragging = 0;- d3_eventCancel();- }- }- function brushmove() {- var point = mouse(), moved = false;- if (offset) {- point[0] += offset[0];- point[1] += offset[1];- }- if (!dragging) {- if (d3.event.altKey) {- if (!center) center = [ (extent[0][0] + extent[1][0]) / 2, (extent[0][1] + extent[1][1]) / 2 ];- origin[0] = extent[+(point[0] < center[0])][0];- origin[1] = extent[+(point[1] < center[1])][1];- } else center = null;- }- if (resizingX && move1(point, x, 0)) {- redrawX(g);- moved = true;- }- if (resizingY && move1(point, y, 1)) {- redrawY(g);- moved = true;- }- if (moved) {- redraw(g);- event_({- type: "brush",- mode: dragging ? "move" : "resize"- });- }- }- function move1(point, scale, i) {- var range = d3_scaleRange(scale), r0 = range[0], r1 = range[1], position = origin[i], size = extent[1][i] - extent[0][i], min, max;- if (dragging) {- r0 -= position;- r1 -= size + position;- }- min = clamp[i] ? Math.max(r0, Math.min(r1, point[i])) : point[i];- if (dragging) {- max = (min += position) + size;- } else {- if (center) position = Math.max(r0, Math.min(r1, 2 * center[i] - min));- if (position < min) {- max = min;- min = position;- } else {- max = position;- }- }- if (extent[0][i] !== min || extent[1][i] !== max) {- extentDomain = null;- extent[0][i] = min;- extent[1][i] = max;- return true;- }- }- function brushend() {- brushmove();- g.style("pointer-events", "all").selectAll(".resize").style("display", brush.empty() ? "none" : null);- d3.select("body").style("cursor", null);- w.on("mousemove.brush", null).on("mouseup.brush", null).on("touchmove.brush", null).on("touchend.brush", null).on("keydown.brush", null).on("keyup.brush", null);- event_({- type: "brushend"- });- d3_eventCancel();- }- }- brush.x = function(z) {- if (!arguments.length) return x;- x = z;- resizes = d3_svg_brushResizes[!x << 1 | !y];- return brush;- };- brush.y = function(z) {- if (!arguments.length) return y;- y = z;- resizes = d3_svg_brushResizes[!x << 1 | !y];- return brush;- };- brush.clamp = function(z) {- if (!arguments.length) return x && y ? clamp : clamp[+!x];- if (x && y) clamp = [ !!z[0], !!z[1] ]; else clamp[+!x] = !!z;- return brush;- };- brush.extent = function(z) {- var x0, x1, y0, y1, t;- if (!arguments.length) {- z = extentDomain || extent;- if (x) {- x0 = z[0][0], x1 = z[1][0];- if (!extentDomain) {- x0 = extent[0][0], x1 = extent[1][0];- if (x.invert) x0 = x.invert(x0), x1 = x.invert(x1);- if (x1 < x0) t = x0, x0 = x1, x1 = t;- }- }- if (y) {- y0 = z[0][1], y1 = z[1][1];- if (!extentDomain) {- y0 = extent[0][1], y1 = extent[1][1];- if (y.invert) y0 = y.invert(y0), y1 = y.invert(y1);- if (y1 < y0) t = y0, y0 = y1, y1 = t;- }- }- return x && y ? [ [ x0, y0 ], [ x1, y1 ] ] : x ? [ x0, x1 ] : y && [ y0, y1 ];- }- extentDomain = [ [ 0, 0 ], [ 0, 0 ] ];- if (x) {- x0 = z[0], x1 = z[1];- if (y) x0 = x0[0], x1 = x1[0];- extentDomain[0][0] = x0, extentDomain[1][0] = x1;- if (x.invert) x0 = x(x0), x1 = x(x1);- if (x1 < x0) t = x0, x0 = x1, x1 = t;- extent[0][0] = x0 | 0, extent[1][0] = x1 | 0;- }- if (y) {- y0 = z[0], y1 = z[1];- if (x) y0 = y0[1], y1 = y1[1];- extentDomain[0][1] = y0, extentDomain[1][1] = y1;- if (y.invert) y0 = y(y0), y1 = y(y1);- if (y1 < y0) t = y0, y0 = y1, y1 = t;- extent[0][1] = y0 | 0, extent[1][1] = y1 | 0;- }- return brush;- };- brush.clear = function() {- extentDomain = null;- extent[0][0] = extent[0][1] = extent[1][0] = extent[1][1] = 0;- return brush;- };- brush.empty = function() {- return x && extent[0][0] === extent[1][0] || y && extent[0][1] === extent[1][1];- };- return d3.rebind(brush, event, "on");- };- var d3_svg_brushCursor = {- n: "ns-resize",- e: "ew-resize",- s: "ns-resize",- w: "ew-resize",- nw: "nwse-resize",- ne: "nesw-resize",- se: "nwse-resize",- sw: "nesw-resize"- };- var d3_svg_brushResizes = [ [ "n", "e", "s", "w", "nw", "ne", "se", "sw" ], [ "e", "w" ], [ "n", "s" ], [] ];- d3.time = {};- var d3_time = Date, d3_time_daySymbols = [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ];- function d3_time_utc() {- this._ = new Date(arguments.length > 1 ? Date.UTC.apply(this, arguments) : arguments[0]);- }- d3_time_utc.prototype = {- getDate: function() {- return this._.getUTCDate();- },- getDay: function() {- return this._.getUTCDay();- },- getFullYear: function() {- return this._.getUTCFullYear();- },- getHours: function() {- return this._.getUTCHours();- },- getMilliseconds: function() {- return this._.getUTCMilliseconds();- },- getMinutes: function() {- return this._.getUTCMinutes();- },- getMonth: function() {- return this._.getUTCMonth();- },- getSeconds: function() {- return this._.getUTCSeconds();- },- getTime: function() {- return this._.getTime();- },- getTimezoneOffset: function() {- return 0;- },- valueOf: function() {- return this._.valueOf();- },- setDate: function() {- d3_time_prototype.setUTCDate.apply(this._, arguments);- },- setDay: function() {- d3_time_prototype.setUTCDay.apply(this._, arguments);- },- setFullYear: function() {- d3_time_prototype.setUTCFullYear.apply(this._, arguments);- },- setHours: function() {- d3_time_prototype.setUTCHours.apply(this._, arguments);- },- setMilliseconds: function() {- d3_time_prototype.setUTCMilliseconds.apply(this._, arguments);- },- setMinutes: function() {- d3_time_prototype.setUTCMinutes.apply(this._, arguments);- },- setMonth: function() {- d3_time_prototype.setUTCMonth.apply(this._, arguments);- },- setSeconds: function() {- d3_time_prototype.setUTCSeconds.apply(this._, arguments);- },- setTime: function() {- d3_time_prototype.setTime.apply(this._, arguments);- }- };- var d3_time_prototype = Date.prototype;- var d3_time_formatDateTime = "%a %b %e %X %Y", d3_time_formatDate = "%m/%d/%Y", d3_time_formatTime = "%H:%M:%S";- var d3_time_days = [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], d3_time_dayAbbreviations = [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], d3_time_months = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ], d3_time_monthAbbreviations = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ];- function d3_time_interval(local, step, number) {- function round(date) {- var d0 = local(date), d1 = offset(d0, 1);- return date - d0 < d1 - date ? d0 : d1;- }- function ceil(date) {- step(date = local(new d3_time(date - 1)), 1);- return date;- }- function offset(date, k) {- step(date = new d3_time(+date), k);- return date;- }- function range(t0, t1, dt) {- var time = ceil(t0), times = [];- if (dt > 1) {- while (time < t1) {- if (!(number(time) % dt)) times.push(new Date(+time));- step(time, 1);- }- } else {- while (time < t1) times.push(new Date(+time)), step(time, 1);- }- return times;- }- function range_utc(t0, t1, dt) {- try {- d3_time = d3_time_utc;- var utc = new d3_time_utc();- utc._ = t0;- return range(utc, t1, dt);- } finally {- d3_time = Date;- }- }- local.floor = local;- local.round = round;- local.ceil = ceil;- local.offset = offset;- local.range = range;- var utc = local.utc = d3_time_interval_utc(local);- utc.floor = utc;- utc.round = d3_time_interval_utc(round);- utc.ceil = d3_time_interval_utc(ceil);- utc.offset = d3_time_interval_utc(offset);- utc.range = range_utc;- return local;- }- function d3_time_interval_utc(method) {- return function(date, k) {- try {- d3_time = d3_time_utc;- var utc = new d3_time_utc();- utc._ = date;- return method(utc, k)._;- } finally {- d3_time = Date;- }- };- }- d3.time.year = d3_time_interval(function(date) {- date = d3.time.day(date);- date.setMonth(0, 1);- return date;- }, function(date, offset) {- date.setFullYear(date.getFullYear() + offset);- }, function(date) {- return date.getFullYear();- });- d3.time.years = d3.time.year.range;- d3.time.years.utc = d3.time.year.utc.range;- d3.time.day = d3_time_interval(function(date) {- var day = new d3_time(2e3, 0);- day.setFullYear(date.getFullYear(), date.getMonth(), date.getDate());- return day;- }, function(date, offset) {- date.setDate(date.getDate() + offset);- }, function(date) {- return date.getDate() - 1;- });- d3.time.days = d3.time.day.range;- d3.time.days.utc = d3.time.day.utc.range;- d3.time.dayOfYear = function(date) {- var year = d3.time.year(date);- return Math.floor((date - year - (date.getTimezoneOffset() - year.getTimezoneOffset()) * 6e4) / 864e5);- };- d3_time_daySymbols.forEach(function(day, i) {- day = day.toLowerCase();- i = 7 - i;- var interval = d3.time[day] = d3_time_interval(function(date) {- (date = d3.time.day(date)).setDate(date.getDate() - (date.getDay() + i) % 7);- return date;- }, function(date, offset) {- date.setDate(date.getDate() + Math.floor(offset) * 7);- }, function(date) {- var day = d3.time.year(date).getDay();- return Math.floor((d3.time.dayOfYear(date) + (day + i) % 7) / 7) - (day !== i);- });- d3.time[day + "s"] = interval.range;- d3.time[day + "s"].utc = interval.utc.range;- d3.time[day + "OfYear"] = function(date) {- var day = d3.time.year(date).getDay();- return Math.floor((d3.time.dayOfYear(date) + (day + i) % 7) / 7);- };- });- d3.time.week = d3.time.sunday;- d3.time.weeks = d3.time.sunday.range;- d3.time.weeks.utc = d3.time.sunday.utc.range;- d3.time.weekOfYear = d3.time.sundayOfYear;- d3.time.format = function(template) {- var n = template.length;- function format(date) {- var string = [], i = -1, j = 0, c, p, f;- while (++i < n) {- if (template.charCodeAt(i) === 37) {- string.push(template.substring(j, i));- if ((p = d3_time_formatPads[c = template.charAt(++i)]) != null) c = template.charAt(++i);- if (f = d3_time_formats[c]) c = f(date, p == null ? c === "e" ? " " : "0" : p);- string.push(c);- j = i + 1;- }- }- string.push(template.substring(j, i));- return string.join("");- }- format.parse = function(string) {- var d = {- y: 1900,- m: 0,- d: 1,- H: 0,- M: 0,- S: 0,- L: 0- }, i = d3_time_parse(d, template, string, 0);- if (i != string.length) return null;- if ("p" in d) d.H = d.H % 12 + d.p * 12;- var date = new d3_time();- if ("j" in d) date.setFullYear(d.y, 0, d.j); else if ("w" in d && ("W" in d || "U" in d)) {- date.setFullYear(d.y, 0, 1);- date.setFullYear(d.y, 0, "W" in d ? (d.w + 6) % 7 + d.W * 7 - (date.getDay() + 5) % 7 : d.w + d.U * 7 - (date.getDay() + 6) % 7);- } else date.setFullYear(d.y, d.m, d.d);- date.setHours(d.H, d.M, d.S, d.L);- return date;- };- format.toString = function() {- return template;- };- return format;- };- function d3_time_parse(date, template, string, j) {- var c, p, i = 0, n = template.length, m = string.length;- while (i < n) {- if (j >= m) return -1;- c = template.charCodeAt(i++);- if (c === 37) {- p = d3_time_parsers[template.charAt(i++)];- if (!p || (j = p(date, string, j)) < 0) return -1;- } else if (c != string.charCodeAt(j++)) {- return -1;- }- }- return j;- }- function d3_time_formatRe(names) {- return new RegExp("^(?:" + names.map(d3.requote).join("|") + ")", "i");- }- function d3_time_formatLookup(names) {- var map = new d3_Map(), i = -1, n = names.length;- while (++i < n) map.set(names[i].toLowerCase(), i);- return map;- }- function d3_time_formatPad(value, fill, width) {- var sign = value < 0 ? "-" : "", string = (sign ? -value : value) + "", length = string.length;- return sign + (length < width ? new Array(width - length + 1).join(fill) + string : string);- }- var d3_time_dayRe = d3_time_formatRe(d3_time_days), d3_time_dayLookup = d3_time_formatLookup(d3_time_days), d3_time_dayAbbrevRe = d3_time_formatRe(d3_time_dayAbbreviations), d3_time_dayAbbrevLookup = d3_time_formatLookup(d3_time_dayAbbreviations), d3_time_monthRe = d3_time_formatRe(d3_time_months), d3_time_monthLookup = d3_time_formatLookup(d3_time_months), d3_time_monthAbbrevRe = d3_time_formatRe(d3_time_monthAbbreviations), d3_time_monthAbbrevLookup = d3_time_formatLookup(d3_time_monthAbbreviations), d3_time_percentRe = /^%/;- var d3_time_formatPads = {- "-": "",- _: " ",- "0": "0"- };- var d3_time_formats = {- a: function(d) {- return d3_time_dayAbbreviations[d.getDay()];- },- A: function(d) {- return d3_time_days[d.getDay()];- },- b: function(d) {- return d3_time_monthAbbreviations[d.getMonth()];- },- B: function(d) {- return d3_time_months[d.getMonth()];- },- c: d3.time.format(d3_time_formatDateTime),- d: function(d, p) {- return d3_time_formatPad(d.getDate(), p, 2);- },- e: function(d, p) {- return d3_time_formatPad(d.getDate(), p, 2);- },- H: function(d, p) {- return d3_time_formatPad(d.getHours(), p, 2);- },- I: function(d, p) {- return d3_time_formatPad(d.getHours() % 12 || 12, p, 2);- },- j: function(d, p) {- return d3_time_formatPad(1 + d3.time.dayOfYear(d), p, 3);- },- L: function(d, p) {- return d3_time_formatPad(d.getMilliseconds(), p, 3);- },- m: function(d, p) {- return d3_time_formatPad(d.getMonth() + 1, p, 2);- },- M: function(d, p) {- return d3_time_formatPad(d.getMinutes(), p, 2);- },- p: function(d) {- return d.getHours() >= 12 ? "PM" : "AM";- },- S: function(d, p) {- return d3_time_formatPad(d.getSeconds(), p, 2);- },- U: function(d, p) {- return d3_time_formatPad(d3.time.sundayOfYear(d), p, 2);- },- w: function(d) {- return d.getDay();- },- W: function(d, p) {- return d3_time_formatPad(d3.time.mondayOfYear(d), p, 2);- },- x: d3.time.format(d3_time_formatDate),- X: d3.time.format(d3_time_formatTime),- y: function(d, p) {- return d3_time_formatPad(d.getFullYear() % 100, p, 2);- },- Y: function(d, p) {- return d3_time_formatPad(d.getFullYear() % 1e4, p, 4);- },- Z: d3_time_zone,- "%": function() {- return "%";- }- };- var d3_time_parsers = {- a: d3_time_parseWeekdayAbbrev,- A: d3_time_parseWeekday,- b: d3_time_parseMonthAbbrev,- B: d3_time_parseMonth,- c: d3_time_parseLocaleFull,- d: d3_time_parseDay,- e: d3_time_parseDay,- H: d3_time_parseHour24,- I: d3_time_parseHour24,- j: d3_time_parseDayOfYear,- L: d3_time_parseMilliseconds,- m: d3_time_parseMonthNumber,- M: d3_time_parseMinutes,- p: d3_time_parseAmPm,- S: d3_time_parseSeconds,- U: d3_time_parseWeekNumberSunday,- w: d3_time_parseWeekdayNumber,- W: d3_time_parseWeekNumberMonday,- x: d3_time_parseLocaleDate,- X: d3_time_parseLocaleTime,- y: d3_time_parseYear,- Y: d3_time_parseFullYear,- "%": d3_time_parseLiteralPercent- };- function d3_time_parseWeekdayAbbrev(date, string, i) {- d3_time_dayAbbrevRe.lastIndex = 0;- var n = d3_time_dayAbbrevRe.exec(string.substring(i));- return n ? (date.w = d3_time_dayAbbrevLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;- }- function d3_time_parseWeekday(date, string, i) {- d3_time_dayRe.lastIndex = 0;- var n = d3_time_dayRe.exec(string.substring(i));- return n ? (date.w = d3_time_dayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;- }- function d3_time_parseWeekdayNumber(date, string, i) {- d3_time_numberRe.lastIndex = 0;- var n = d3_time_numberRe.exec(string.substring(i, i + 1));- return n ? (date.w = +n[0], i + n[0].length) : -1;- }- function d3_time_parseWeekNumberSunday(date, string, i) {- d3_time_numberRe.lastIndex = 0;- var n = d3_time_numberRe.exec(string.substring(i));- return n ? (date.U = +n[0], i + n[0].length) : -1;- }- function d3_time_parseWeekNumberMonday(date, string, i) {- d3_time_numberRe.lastIndex = 0;- var n = d3_time_numberRe.exec(string.substring(i));- return n ? (date.W = +n[0], i + n[0].length) : -1;- }- function d3_time_parseMonthAbbrev(date, string, i) {- d3_time_monthAbbrevRe.lastIndex = 0;- var n = d3_time_monthAbbrevRe.exec(string.substring(i));- return n ? (date.m = d3_time_monthAbbrevLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;- }- function d3_time_parseMonth(date, string, i) {- d3_time_monthRe.lastIndex = 0;- var n = d3_time_monthRe.exec(string.substring(i));- return n ? (date.m = d3_time_monthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;- }- function d3_time_parseLocaleFull(date, string, i) {- return d3_time_parse(date, d3_time_formats.c.toString(), string, i);- }- function d3_time_parseLocaleDate(date, string, i) {- return d3_time_parse(date, d3_time_formats.x.toString(), string, i);- }- function d3_time_parseLocaleTime(date, string, i) {- return d3_time_parse(date, d3_time_formats.X.toString(), string, i);- }- function d3_time_parseFullYear(date, string, i) {- d3_time_numberRe.lastIndex = 0;- var n = d3_time_numberRe.exec(string.substring(i, i + 4));- return n ? (date.y = +n[0], i + n[0].length) : -1;- }- function d3_time_parseYear(date, string, i) {- d3_time_numberRe.lastIndex = 0;- var n = d3_time_numberRe.exec(string.substring(i, i + 2));- return n ? (date.y = d3_time_expandYear(+n[0]), i + n[0].length) : -1;- }- function d3_time_expandYear(d) {- return d + (d > 68 ? 1900 : 2e3);- }- function d3_time_parseMonthNumber(date, string, i) {- d3_time_numberRe.lastIndex = 0;- var n = d3_time_numberRe.exec(string.substring(i, i + 2));- return n ? (date.m = n[0] - 1, i + n[0].length) : -1;- }- function d3_time_parseDay(date, string, i) {- d3_time_numberRe.lastIndex = 0;- var n = d3_time_numberRe.exec(string.substring(i, i + 2));- return n ? (date.d = +n[0], i + n[0].length) : -1;- }- function d3_time_parseDayOfYear(date, string, i) {- d3_time_numberRe.lastIndex = 0;- var n = d3_time_numberRe.exec(string.substring(i, i + 3));- return n ? (date.j = +n[0], i + n[0].length) : -1;- }- function d3_time_parseHour24(date, string, i) {- d3_time_numberRe.lastIndex = 0;- var n = d3_time_numberRe.exec(string.substring(i, i + 2));- return n ? (date.H = +n[0], i + n[0].length) : -1;- }- function d3_time_parseMinutes(date, string, i) {- d3_time_numberRe.lastIndex = 0;- var n = d3_time_numberRe.exec(string.substring(i, i + 2));- return n ? (date.M = +n[0], i + n[0].length) : -1;- }- function d3_time_parseSeconds(date, string, i) {- d3_time_numberRe.lastIndex = 0;- var n = d3_time_numberRe.exec(string.substring(i, i + 2));- return n ? (date.S = +n[0], i + n[0].length) : -1;- }- function d3_time_parseMilliseconds(date, string, i) {- d3_time_numberRe.lastIndex = 0;- var n = d3_time_numberRe.exec(string.substring(i, i + 3));- return n ? (date.L = +n[0], i + n[0].length) : -1;- }- var d3_time_numberRe = /^\s*\d+/;- function d3_time_parseAmPm(date, string, i) {- var n = d3_time_amPmLookup.get(string.substring(i, i += 2).toLowerCase());- return n == null ? -1 : (date.p = n, i);- }- var d3_time_amPmLookup = d3.map({- am: 0,- pm: 1- });- function d3_time_zone(d) {- var z = d.getTimezoneOffset(), zs = z > 0 ? "-" : "+", zh = ~~(Math.abs(z) / 60), zm = Math.abs(z) % 60;- return zs + d3_time_formatPad(zh, "0", 2) + d3_time_formatPad(zm, "0", 2);- }- function d3_time_parseLiteralPercent(date, string, i) {- d3_time_percentRe.lastIndex = 0;- var n = d3_time_percentRe.exec(string.substring(i, i + 1));- return n ? i + n[0].length : -1;- }- d3.time.format.utc = function(template) {- var local = d3.time.format(template);- function format(date) {- try {- d3_time = d3_time_utc;- var utc = new d3_time();- utc._ = date;- return local(utc);- } finally {- d3_time = Date;- }- }- format.parse = function(string) {- try {- d3_time = d3_time_utc;- var date = local.parse(string);- return date && date._;- } finally {- d3_time = Date;- }- };- format.toString = local.toString;- return format;- };- var d3_time_formatIso = d3.time.format.utc("%Y-%m-%dT%H:%M:%S.%LZ");- d3.time.format.iso = Date.prototype.toISOString && +new Date("2000-01-01T00:00:00.000Z") ? d3_time_formatIsoNative : d3_time_formatIso;- function d3_time_formatIsoNative(date) {- return date.toISOString();- }- d3_time_formatIsoNative.parse = function(string) {- var date = new Date(string);- return isNaN(date) ? null : date;- };- d3_time_formatIsoNative.toString = d3_time_formatIso.toString;- d3.time.second = d3_time_interval(function(date) {- return new d3_time(Math.floor(date / 1e3) * 1e3);- }, function(date, offset) {- date.setTime(date.getTime() + Math.floor(offset) * 1e3);- }, function(date) {- return date.getSeconds();- });- d3.time.seconds = d3.time.second.range;- d3.time.seconds.utc = d3.time.second.utc.range;- d3.time.minute = d3_time_interval(function(date) {- return new d3_time(Math.floor(date / 6e4) * 6e4);- }, function(date, offset) {- date.setTime(date.getTime() + Math.floor(offset) * 6e4);- }, function(date) {- return date.getMinutes();- });- d3.time.minutes = d3.time.minute.range;- d3.time.minutes.utc = d3.time.minute.utc.range;- d3.time.hour = d3_time_interval(function(date) {- var timezone = date.getTimezoneOffset() / 60;- return new d3_time((Math.floor(date / 36e5 - timezone) + timezone) * 36e5);- }, function(date, offset) {- date.setTime(date.getTime() + Math.floor(offset) * 36e5);- }, function(date) {- return date.getHours();- });- d3.time.hours = d3.time.hour.range;- d3.time.hours.utc = d3.time.hour.utc.range;- d3.time.month = d3_time_interval(function(date) {- date = d3.time.day(date);- date.setDate(1);- return date;- }, function(date, offset) {- date.setMonth(date.getMonth() + offset);- }, function(date) {- return date.getMonth();- });- d3.time.months = d3.time.month.range;- d3.time.months.utc = d3.time.month.utc.range;- function d3_time_scale(linear, methods, format) {- function scale(x) {- return linear(x);- }- scale.invert = function(x) {- return d3_time_scaleDate(linear.invert(x));- };- scale.domain = function(x) {- if (!arguments.length) return linear.domain().map(d3_time_scaleDate);- linear.domain(x);- return scale;- };- scale.nice = function(m) {- return scale.domain(d3_scale_nice(scale.domain(), m));- };- scale.ticks = function(m, k) {- var extent = d3_scaleExtent(scale.domain());- if (typeof m !== "function") {- var span = extent[1] - extent[0], target = span / m, i = d3.bisect(d3_time_scaleSteps, target);- if (i == d3_time_scaleSteps.length) return methods.year(extent, m);- if (!i) return linear.ticks(m).map(d3_time_scaleDate);- if (Math.log(target / d3_time_scaleSteps[i - 1]) < Math.log(d3_time_scaleSteps[i] / target)) --i;- m = methods[i];- k = m[1];- m = m[0].range;- }- return m(extent[0], new Date(+extent[1] + 1), k);- };- scale.tickFormat = function() {- return format;- };- scale.copy = function() {- return d3_time_scale(linear.copy(), methods, format);- };- return d3_scale_linearRebind(scale, linear);- }- function d3_time_scaleDate(t) {- return new Date(t);- }- function d3_time_scaleFormat(formats) {- return function(date) {- var i = formats.length - 1, f = formats[i];- while (!f[1](date)) f = formats[--i];- return f[0](date);- };- }- function d3_time_scaleSetYear(y) {- var d = new Date(y, 0, 1);- d.setFullYear(y);- return d;- }- function d3_time_scaleGetYear(d) {- var y = d.getFullYear(), d0 = d3_time_scaleSetYear(y), d1 = d3_time_scaleSetYear(y + 1);- return y + (d - d0) / (d1 - d0);- }- var d3_time_scaleSteps = [ 1e3, 5e3, 15e3, 3e4, 6e4, 3e5, 9e5, 18e5, 36e5, 108e5, 216e5, 432e5, 864e5, 1728e5, 6048e5, 2592e6, 7776e6, 31536e6 ];- var d3_time_scaleLocalMethods = [ [ d3.time.second, 1 ], [ d3.time.second, 5 ], [ d3.time.second, 15 ], [ d3.time.second, 30 ], [ d3.time.minute, 1 ], [ d3.time.minute, 5 ], [ d3.time.minute, 15 ], [ d3.time.minute, 30 ], [ d3.time.hour, 1 ], [ d3.time.hour, 3 ], [ d3.time.hour, 6 ], [ d3.time.hour, 12 ], [ d3.time.day, 1 ], [ d3.time.day, 2 ], [ d3.time.week, 1 ], [ d3.time.month, 1 ], [ d3.time.month, 3 ], [ d3.time.year, 1 ] ];- var d3_time_scaleLocalFormats = [ [ d3.time.format("%Y"), d3_true ], [ d3.time.format("%B"), function(d) {- return d.getMonth();- } ], [ d3.time.format("%b %d"), function(d) {- return d.getDate() != 1;- } ], [ d3.time.format("%a %d"), function(d) {- return d.getDay() && d.getDate() != 1;- } ], [ d3.time.format("%I %p"), function(d) {- return d.getHours();- } ], [ d3.time.format("%I:%M"), function(d) {- return d.getMinutes();- } ], [ d3.time.format(":%S"), function(d) {- return d.getSeconds();- } ], [ d3.time.format(".%L"), function(d) {- return d.getMilliseconds();- } ] ];- var d3_time_scaleLinear = d3.scale.linear(), d3_time_scaleLocalFormat = d3_time_scaleFormat(d3_time_scaleLocalFormats);- d3_time_scaleLocalMethods.year = function(extent, m) {- return d3_time_scaleLinear.domain(extent.map(d3_time_scaleGetYear)).ticks(m).map(d3_time_scaleSetYear);- };- d3.time.scale = function() {- return d3_time_scale(d3.scale.linear(), d3_time_scaleLocalMethods, d3_time_scaleLocalFormat);- };- var d3_time_scaleUTCMethods = d3_time_scaleLocalMethods.map(function(m) {- return [ m[0].utc, m[1] ];- });- var d3_time_scaleUTCFormats = [ [ d3.time.format.utc("%Y"), d3_true ], [ d3.time.format.utc("%B"), function(d) {- return d.getUTCMonth();- } ], [ d3.time.format.utc("%b %d"), function(d) {- return d.getUTCDate() != 1;- } ], [ d3.time.format.utc("%a %d"), function(d) {- return d.getUTCDay() && d.getUTCDate() != 1;- } ], [ d3.time.format.utc("%I %p"), function(d) {- return d.getUTCHours();- } ], [ d3.time.format.utc("%I:%M"), function(d) {- return d.getUTCMinutes();- } ], [ d3.time.format.utc(":%S"), function(d) {- return d.getUTCSeconds();- } ], [ d3.time.format.utc(".%L"), function(d) {- return d.getUTCMilliseconds();- } ] ];- var d3_time_scaleUTCFormat = d3_time_scaleFormat(d3_time_scaleUTCFormats);- function d3_time_scaleUTCSetYear(y) {- var d = new Date(Date.UTC(y, 0, 1));- d.setUTCFullYear(y);- return d;- }- function d3_time_scaleUTCGetYear(d) {- var y = d.getUTCFullYear(), d0 = d3_time_scaleUTCSetYear(y), d1 = d3_time_scaleUTCSetYear(y + 1);- return y + (d - d0) / (d1 - d0);- }- d3_time_scaleUTCMethods.year = function(extent, m) {- return d3_time_scaleLinear.domain(extent.map(d3_time_scaleUTCGetYear)).ticks(m).map(d3_time_scaleUTCSetYear);- };- d3.time.scale.utc = function() {- return d3_time_scale(d3.scale.linear(), d3_time_scaleUTCMethods, d3_time_scaleUTCFormat);- };- d3.text = d3_xhrType(function(request) {- return request.responseText;- });- d3.json = function(url, callback) {- return d3_xhr(url, "application/json", d3_json, callback);- };- function d3_json(request) {- return JSON.parse(request.responseText);- }- d3.html = function(url, callback) {- return d3_xhr(url, "text/html", d3_html, callback);- };- function d3_html(request) {- var range = d3_document.createRange();- range.selectNode(d3_document.body);- return range.createContextualFragment(request.responseText);- }- d3.xml = d3_xhrType(function(request) {- return request.responseXML;- });- return d3;-}();\ No newline at end of filediff --git a/data/libs/dompurify/LICENSE[mozilla].txt b/data/libs/dompurify/LICENSEsimilarity index 94%rename from data/libs/dompurify/LICENSE[mozilla].txtrename to data/libs/dompurify/LICENSEindex c33dcc7c9..e099aad0f 100644--- a/data/libs/dompurify/LICENSE[mozilla].txt+++ b/data/libs/dompurify/LICENSE@@ -1,3 +1,27 @@+DOMPurify+Copyright 2015 Mario Heiderich++DOMPurify is free software; you can redistribute it and/or modify it under the+terms of either:++a) the Apache License Version 2.0, or+b) the Mozilla Public License Version 2.0++-----------------------------------------------------------------------------++Licensed under the Apache License, Version 2.0 (the "License");+you may not use this file except in compliance with the License.+You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.++-----------------------------------------------------------------------------Mozilla Public License, version 2.01. Definitionsdiff --git a/data/libs/dompurify/purify.js b/data/libs/dompurify/dist/purify.min.jssimilarity index 100%rename from data/libs/dompurify/purify.jsrename to data/libs/dompurify/dist/purify.min.jsdiff --git a/data/libs/filesaver.js/FileSaver.js b/data/libs/filesaver.js/FileSaver.jsdeleted file mode 100644index 6095017e9..000000000--- a/data/libs/filesaver.js/FileSaver.js+++ /dev/null@@ -1,241 +0,0 @@-/* FileSaver.js- * A saveAs() FileSaver implementation.- * 2014-05-27- *- * By Eli Grey, http://eligrey.com- * License: X11/MIT- * See https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md- */--/*global self */-/*jslint bitwise: true, indent: 4, laxbreak: true, laxcomma: true, smarttabs: true, plusplus: true */--/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */--var saveAs = saveAs- // IE 10+ (native saveAs)- || (typeof navigator !== "undefined" &&- navigator.msSaveOrOpenBlob && navigator.msSaveOrOpenBlob.bind(navigator))- // Everyone else- || (function(view) {- "use strict";- // IE <10 is explicitly unsupported- if (typeof navigator !== "undefined" &&- /MSIE [1-9]\./.test(navigator.userAgent)) {- return;- }- var- doc = view.document- // only get URL when necessary in case Blob.js hasn't overridden it yet- , get_URL = function() {- return view.URL || view.webkitURL || view;- }- , save_link = doc.createElementNS("http://www.w3.org/1999/xhtml", "a")- , can_use_save_link = !view.externalHost && "download" in save_link- , click = function(node) {- var event = doc.createEvent("MouseEvents");- event.initMouseEvent(- "click", true, false, view, 0, 0, 0, 0, 0- , false, false, false, false, 0, null- );- node.dispatchEvent(event);- }- , webkit_req_fs = view.webkitRequestFileSystem- , req_fs = view.requestFileSystem || webkit_req_fs || view.mozRequestFileSystem- , throw_outside = function(ex) {- (view.setImmediate || view.setTimeout)(function() {- throw ex;- }, 0);- }- , force_saveable_type = "application/octet-stream"- , fs_min_size = 0- , deletion_queue = []- , process_deletion_queue = function() {- var i = deletion_queue.length;- while (i--) {- var file = deletion_queue[i];- if (typeof file === "string") { // file is an object URL- get_URL().revokeObjectURL(file);- } else { // file is a File- file.remove();- }- }- deletion_queue.length = 0; // clear queue- }- , dispatch = function(filesaver, event_types, event) {- event_types = [].concat(event_types);- var i = event_types.length;- while (i--) {- var listener = filesaver["on" + event_types[i]];- if (typeof listener === "function") {- try {- listener.call(filesaver, event || filesaver);- } catch (ex) {- throw_outside(ex);- }- }- }- }- , FileSaver = function(blob, name) {- // First try a.download, then web filesystem, then object URLs- var- filesaver = this- , type = blob.type- , blob_changed = false- , object_url- , target_view- , get_object_url = function() {- var object_url = get_URL().createObjectURL(blob);- deletion_queue.push(object_url);- return object_url;- }- , dispatch_all = function() {- dispatch(filesaver, "writestart progress write writeend".split(" "));- }- // on any filesys errors revert to saving with object URLs- , fs_error = function() {- // don't create more object URLs than needed- if (blob_changed || !object_url) {- object_url = get_object_url(blob);- }- if (target_view) {- target_view.location.href = object_url;- } else {- window.open(object_url, "_blank");- }- filesaver.readyState = filesaver.DONE;- dispatch_all();- }- , abortable = function(func) {- return function() {- if (filesaver.readyState !== filesaver.DONE) {- return func.apply(this, arguments);- }- };- }- , create_if_not_found = {create: true, exclusive: false}- , slice- ;- filesaver.readyState = filesaver.INIT;- if (!name) {- name = "download";- }- if (can_use_save_link) {- object_url = get_object_url(blob);- save_link.href = object_url;- save_link.download = name;- click(save_link);- filesaver.readyState = filesaver.DONE;- dispatch_all();- return;- }- // Object and web filesystem URLs have a problem saving in Google Chrome when- // viewed in a tab, so I force save with application/octet-stream- // http://code.google.com/p/chromium/issues/detail?id=91158- if (view.chrome && type && type !== force_saveable_type) {- slice = blob.slice || blob.webkitSlice;- blob = slice.call(blob, 0, blob.size, force_saveable_type);- blob_changed = true;- }- // Since I can't be sure that the guessed media type will trigger a download- // in WebKit, I append .download to the filename.- // https://bugs.webkit.org/show_bug.cgi?id=65440- if (webkit_req_fs && name !== "download") {- name += ".download";- }- if (type === force_saveable_type || webkit_req_fs) {- target_view = view;- }- if (!req_fs) {- fs_error();- return;- }- fs_min_size += blob.size;- req_fs(view.TEMPORARY, fs_min_size, abortable(function(fs) {- fs.root.getDirectory("saved", create_if_not_found, abortable(function(dir) {- var save = function() {- dir.getFile(name, create_if_not_found, abortable(function(file) {- file.createWriter(abortable(function(writer) {- writer.onwriteend = function(event) {- target_view.location.href = file.toURL();- deletion_queue.push(file);- filesaver.readyState = filesaver.DONE;- dispatch(filesaver, "writeend", event);- };- writer.onerror = function() {- var error = writer.error;- if (error.code !== error.ABORT_ERR) {- fs_error();- }- };- "writestart progress write abort".split(" ").forEach(function(event) {- writer["on" + event] = filesaver["on" + event];- });- writer.write(blob);- filesaver.abort = function() {- writer.abort();- filesaver.readyState = filesaver.DONE;- };- filesaver.readyState = filesaver.WRITING;- }), fs_error);- }), fs_error);- };- dir.getFile(name, {create: false}, abortable(function(file) {- // delete file if it already exists- file.remove();- save();- }), abortable(function(ex) {- if (ex.code === ex.NOT_FOUND_ERR) {- save();- } else {- fs_error();- }- }));- }), fs_error);- }), fs_error);- }- , FS_proto = FileSaver.prototype- , saveAs = function(blob, name) {- return new FileSaver(blob, name);- }- ;- FS_proto.abort = function() {- var filesaver = this;- filesaver.readyState = filesaver.DONE;- dispatch(filesaver, "abort");- };- FS_proto.readyState = FS_proto.INIT = 0;- FS_proto.WRITING = 1;- FS_proto.DONE = 2;-- FS_proto.error =- FS_proto.onwritestart =- FS_proto.onprogress =- FS_proto.onwrite =- FS_proto.onabort =- FS_proto.onerror =- FS_proto.onwriteend =- null;-- view.addEventListener("unload", process_deletion_queue, false);- saveAs.unload = function() {- process_deletion_queue();- view.removeEventListener("unload", process_deletion_queue, false);- };- return saveAs;-}(- typeof self !== "undefined" && self- || typeof window !== "undefined" && window- || this.content-));-// `self` is undefined in Firefox for Android content script context-// while `this` is nsIContentFrameMessageManager-// with an attribute `content` that corresponds to the window--if (typeof module !== "undefined" && module !== null) {- module.exports = saveAs;-} else if ((typeof define !== "undefined" && define !== null) && (define.amd != null)) {- define([], function() {- return saveAs;- });-}diff --git a/data/libs/filesaver.js/LICENSE[mit].md b/data/libs/filesaver.js/LICENSE[mit].mddeleted file mode 100644index 113acecb6..000000000--- a/data/libs/filesaver.js/LICENSE[mit].md+++ /dev/null@@ -1,9 +0,0 @@-Copyright © 2014 [Eli Grey][1].--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.-- [1]: http://eligrey.comdiff --git a/data/libs/font-awesome/fonts/FontAwesome.otf b/data/libs/font-awesome/fonts/FontAwesome.otfdeleted file mode 100644index 681bdd4d4..000000000Binary files a/data/libs/font-awesome/fonts/FontAwesome.otf and /dev/null differdiff --git a/data/libs/font-awesome/fonts/fontawesome-webfont.eot b/data/libs/font-awesome/fonts/fontawesome-webfont.eotdeleted file mode 100644index a30335d74..000000000Binary files a/data/libs/font-awesome/fonts/fontawesome-webfont.eot and /dev/null differdiff --git a/data/libs/font-awesome/fonts/fontawesome-webfont.woff b/data/libs/font-awesome/fonts/fontawesome-webfont.woffdeleted file mode 100644index 6fd4ede0f..000000000Binary files a/data/libs/font-awesome/fonts/fontawesome-webfont.woff and /dev/null differdiff --git a/data/libs/font-awesome/fonts/fontawesome-webfont.woff2 b/data/libs/font-awesome/fonts/fontawesome-webfont.woff2deleted file mode 100644index 5560193cc..000000000Binary files a/data/libs/font-awesome/fonts/fontawesome-webfont.woff2 and /dev/null differdiff --git a/data/libs/font-awesome/css/font-awesome.css b/data/libs/fontawesome/css/font-awesome.csssimilarity index 95%rename from data/libs/font-awesome/css/font-awesome.cssrename to data/libs/fontawesome/css/font-awesome.cssindex 880eb8250..b2a5fe2f2 100644--- a/data/libs/font-awesome/css/font-awesome.css+++ b/data/libs/fontawesome/css/font-awesome.css@@ -1,13 +1,13 @@/*!- * Font Awesome 4.4.0 by @davegandy - http://fontawesome.io - @fontawesome+ * Font Awesome 4.5.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.4.0');- src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.4.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.4.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.4.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.4.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.4.0#fontawesomeregular') format('svg');+ src: url('../fonts/fontawesome-webfont.eot?v=4.5.0');+ src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.5.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.5.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.5.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.5.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.5.0#fontawesomeregular') format('svg');font-weight: normal;font-style: normal;}@@ -2024,3 +2024,63 @@.fa-fonticons:before {content: "\f280";}+.fa-reddit-alien:before {+ content: "\f281";+}+.fa-edge:before {+ content: "\f282";+}+.fa-credit-card-alt:before {+ content: "\f283";+}+.fa-codiepie:before {+ content: "\f284";+}+.fa-modx:before {+ content: "\f285";+}+.fa-fort-awesome:before {+ content: "\f286";+}+.fa-usb:before {+ content: "\f287";+}+.fa-product-hunt:before {+ content: "\f288";+}+.fa-mixcloud:before {+ content: "\f289";+}+.fa-scribd:before {+ content: "\f28a";+}+.fa-pause-circle:before {+ content: "\f28b";+}+.fa-pause-circle-o:before {+ content: "\f28c";+}+.fa-stop-circle:before {+ content: "\f28d";+}+.fa-stop-circle-o:before {+ content: "\f28e";+}+.fa-shopping-bag:before {+ content: "\f290";+}+.fa-shopping-basket:before {+ content: "\f291";+}+.fa-hashtag:before {+ content: "\f292";+}+.fa-bluetooth:before {+ content: "\f293";+}+.fa-bluetooth-b:before {+ content: "\f294";+}+.fa-percent:before {+ content: "\f295";+}diff --git a/data/libs/fontawesome/css/font-awesome.css.map b/data/libs/fontawesome/css/font-awesome.css.mapnew file mode 100644index 000000000..60763a864--- /dev/null+++ b/data/libs/fontawesome/css/font-awesome.css.map@@ -0,0 +1,7 @@+{+"version": 3,+"mappings": ";;;;;;;AAGA,UAUC;EATC,WAAW,EAAE,aAAa;EAC1B,GAAG,EAAE,+CAAgE;EACrE,GAAG,EAAE,ySAAmG;EAKxG,WAAW,EAAE,MAAM;EACnB,UAAU,EAAE,MAAM;ACTpB,GAAmB;EACjB,OAAO,EAAE,YAAY;EACrB,IAAI,EAAE,uCAAwD;EAC9D,SAAS,EAAE,OAAO;EAClB,cAAc,EAAE,IAAI;EACpB,sBAAsB,EAAE,WAAW;EACnC,uBAAuB,EAAE,SAAS;EAClC,SAAS,EAAE,eAAe;;;ACN5B,MAAsB;EACpB,SAAS,EAAE,SAAS;EACpB,WAAW,EAAE,MAAS;EACtB,cAAc,EAAE,IAAI;;AAEtB,MAAsB;EAAE,SAAS,EAAE,GAAG;;AACtC,MAAsB;EAAE,SAAS,EAAE,GAAG;;AACtC,MAAsB;EAAE,SAAS,EAAE,GAAG;;AACtC,MAAsB;EAAE,SAAS,EAAE,GAAG;;ACVtC,MAAsB;EACpB,KAAK,EAAE,SAAW;EAClB,UAAU,EAAE,MAAM;;ACDpB,MAAsB;EACpB,YAAY,EAAE,CAAC;EACf,WAAW,ECKU,SAAS;EDJ9B,eAAe,EAAE,IAAI;EACrB,WAAK;IAAE,QAAQ,EAAE,QAAQ;;AAE3B,MAAsB;EACpB,QAAQ,EAAE,QAAQ;EAClB,IAAI,EAAE,UAAa;EACnB,KAAK,ECFgB,SAAS;EDG9B,GAAG,EAAE,SAAU;EACf,UAAU,EAAE,MAAM;EAClB,YAAuB;IACrB,IAAI,EAAE,UAA0B;;AEbpC,UAA0B;EACxB,OAAO,EAAE,gBAAgB;EACzB,MAAM,EAAE,iBAA4B;EACpC,aAAa,EAAE,IAAI;;AAGrB,WAAY;EAAE,KAAK,EAAE,KAAK;;AAC1B,UAAW;EAAE,KAAK,EAAE,IAAI;;AAGtB,aAAY;EAAE,YAAY,EAAE,IAAI;AAChC,cAAa;EAAE,WAAW,EAAE,IAAI;;ACXlC,QAAwB;EACtB,iBAAiB,EAAE,0BAA0B;EACrC,SAAS,EAAE,0BAA0B;;AAG/C,SAAyB;EACvB,iBAAiB,EAAE,4BAA4B;EACvC,SAAS,EAAE,4BAA4B;;AAGjD,0BASC;EARC,EAAG;IACD,iBAAiB,EAAE,YAAY;IACvB,SAAS,EAAE,YAAY;EAEjC,IAAK;IACH,iBAAiB,EAAE,cAAc;IACzB,SAAS,EAAE,cAAc;AAIrC,kBASC;EARC,EAAG;IACD,iBAAiB,EAAE,YAAY;IACvB,SAAS,EAAE,YAAY;EAEjC,IAAK;IACH,iBAAiB,EAAE,cAAc;IACzB,SAAS,EAAE,cAAc;AC5BrC,aAA8B;ECY5B,MAAM,EAAE,wDAAmE;EAC3E,iBAAiB,EAAE,aAAgB;EAC/B,aAAa,EAAE,aAAgB;EAC3B,SAAS,EAAE,aAAgB;;ADdrC,cAA8B;ECW5B,MAAM,EAAE,wDAAmE;EAC3E,iBAAiB,EAAE,cAAgB;EAC/B,aAAa,EAAE,cAAgB;EAC3B,SAAS,EAAE,cAAgB;;ADbrC,cAA8B;ECU5B,MAAM,EAAE,wDAAmE;EAC3E,iBAAiB,EAAE,cAAgB;EAC/B,aAAa,EAAE,cAAgB;EAC3B,SAAS,EAAE,cAAgB;;ADXrC,mBAAmC;ECejC,MAAM,EAAE,wDAAmE;EAC3E,iBAAiB,EAAE,YAAoB;EACnC,aAAa,EAAE,YAAoB;EAC/B,SAAS,EAAE,YAAoB;;ADjBzC,iBAAmC;ECcjC,MAAM,EAAE,wDAAmE;EAC3E,iBAAiB,EAAE,YAAoB;EACnC,aAAa,EAAE,YAAoB;EAC/B,SAAS,EAAE,YAAoB;;ADZzC;;;;uBAIuC;EACrC,MAAM,EAAE,IAAI;;AEfd,SAAyB;EACvB,QAAQ,EAAE,QAAQ;EAClB,OAAO,EAAE,YAAY;EACrB,KAAK,EAAE,GAAG;EACV,MAAM,EAAE,GAAG;EACX,WAAW,EAAE,GAAG;EAChB,cAAc,EAAE,MAAM;;AAExB,0BAAyD;EACvD,QAAQ,EAAE,QAAQ;EAClB,IAAI,EAAE,CAAC;EACP,KAAK,EAAE,IAAI;EACX,UAAU,EAAE,MAAM;;AAEpB,YAA4B;EAAE,WAAW,EAAE,OAAO;;AAClD,YAA4B;EAAE,SAAS,EAAE,GAAG;;AAC5C,WAA2B;EAAE,KAAK,ELVZ,IAAI;;;;AMN1B,gBAAgC;EAAE,OAAO,ENoQ1B,GAAO;;AMnQtB,gBAAgC;EAAE,OAAO,EN0W1B,GAAO;;AMzWtB,iBAAiC;EAAE,OAAO,ENmb1B,GAAO;;AMlbvB,qBAAqC;EAAE,OAAO,ENmL1B,GAAO;;AMlL3B,gBAAgC;EAAE,OAAO,ENkR1B,GAAO;;AMjRtB,eAA+B;EAAE,OAAO,ENke1B,GAAO;;AMjerB,iBAAiC;EAAE,OAAO,ENse1B,GAAO;;AMrevB,eAA+B;EAAE,OAAO,EN+iB1B,GAAO;;AM9iBrB,eAA+B;EAAE,OAAO,ENyN1B,GAAO;;AMxNrB,mBAAmC;EAAE,OAAO,ENggB1B,GAAO;;AM/fzB,aAA6B;EAAE,OAAO,EN8f1B,GAAO;;AM7fnB,kBAAkC;EAAE,OAAO,EN+f1B,GAAO;;AM9fxB,gBAAgC;EAAE,OAAO,ENoG1B,GAAO;;AMnGtB;;gBAEgC;EAAE,OAAO,ENkgB1B,GAAO;;AMjgBtB,sBAAsC;EAAE,OAAO,ENua1B,GAAO;;AMta5B,uBAAuC;EAAE,OAAO,ENqa1B,GAAO;;AMpa7B,oBAAoC;EAAE,OAAO,EN+X1B,GAAO;;AM9X1B,iBAAiC;EAAE,OAAO,ENsb1B,GAAO;;AMrbvB;cAC8B;EAAE,OAAO,ENwH1B,GAAO;;AMvHpB,kBAAkC;EAAE,OAAO,ENygB1B,GAAO;;AMxgBxB,eAA+B;EAAE,OAAO,ENmQ1B,GAAO;;AMlQrB,iBAAiC;EAAE,OAAO,EN6L1B,GAAO;;AM5LvB,kBAAkC;EAAE,OAAO,EN0G1B,GAAO;;AMzGxB,eAA+B;EAAE,OAAO,EN+Y1B,GAAO;;AM9YrB,mBAAmC;EAAE,OAAO,ENiJ1B,GAAO;;AMhJzB,8BAA8C;EAAE,OAAO,ENI1B,GAAO;;AMHpC,4BAA4C;EAAE,OAAO,ENM1B,GAAO;;AMLlC,gBAAgC;EAAE,OAAO,ENkQ1B,GAAO;;AMjQtB,wBAAwC;EAAE,OAAO,EN4W1B,GAAO;;AM3W9B;iBACiC;EAAE,OAAO,ENmY1B,GAAO;;AMlYvB,kBAAkC;EAAE,OAAO,EN8X1B,GAAO;;AM7XxB,mBAAmC;EAAE,OAAO,ENiS1B,GAAO;;AMhSzB,eAA+B;EAAE,OAAO,ENoS1B,GAAO;;AMnSrB,eAA+B;EAAE,OAAO,ENgM1B,GAAO;;AM/LrB,qBAAqC;EAAE,OAAO,EN+O1B,GAAO;;AM9O3B,qBAAqC;EAAE,OAAO,EN8hB1B,GAAO;;AM7hB3B,sBAAsC;EAAE,OAAO,EN4hB1B,GAAO;;AM3hB5B,oBAAoC;EAAE,OAAO,EN6hB1B,GAAO;;AM5hB1B,iBAAiC;EAAE,OAAO,EN2W1B,GAAO;;AM1WvB,kBAAkC;EAAE,OAAO,ENW1B,GAAO;;AMVxB,cAA8B;EAAE,OAAO,ENod1B,GAAO;;AMndpB,eAA+B;EAAE,OAAO,ENod1B,GAAO;;AMndrB,eAA+B;EAAE,OAAO,EN2B1B,GAAO;;AM1BrB,mBAAmC;EAAE,OAAO,EN2B1B,GAAO;;AM1BzB,gBAAgC;EAAE,OAAO,ENkW1B,GAAO;;AMjWtB,iBAAiC;EAAE,OAAO,ENwC1B,GAAO;;AMvCvB,eAA+B;EAAE,OAAO,EN8L1B,GAAO;;AM7LrB,eAA+B;EAAE,OAAO,ENmB1B,GAAO;;AMlBrB,iBAAiC;EAAE,OAAO,ENoP1B,GAAO;;AMnPvB,sBAAsC;EAAE,OAAO,ENid1B,GAAO;;AMhd5B,qBAAqC;EAAE,OAAO,ENid1B,GAAO;;AMhd3B,qBAAqC;EAAE,OAAO,EN1C1B,GAAO;;AM2C3B,uBAAuC;EAAE,OAAO,EN7C1B,GAAO;;AM8C7B,sBAAsC;EAAE,OAAO,EN3C1B,GAAO;;AM4C5B,wBAAwC;EAAE,OAAO,EN9C1B,GAAO;;AM+C9B,eAA+B;EAAE,OAAO,ENwQ1B,GAAO;;AMvQrB;kBACkC;EAAE,OAAO,ENmT1B,GAAO;;AMlTxB,iBAAiC;EAAE,OAAO,ENmO1B,GAAO;;AMlOvB,uBAAuC;EAAE,OAAO,ENigB1B,GAAO;;AMhgB7B;;oBAEoC;EAAE,OAAO,EN+T1B,GAAO;;AM9T1B,iBAAiC;EAAE,OAAO,ENwT1B,GAAO;;AMvTvB,qBAAqC;EAAE,OAAO,EN+Q1B,GAAO;;AM9Q3B,iBAAiC;EAAE,OAAO,EN5D1B,GAAO;;AM6DvB,eAA+B;EAAE,OAAO,EN8c1B,GAAO;;AM7crB;0BAC0C;EAAE,OAAO,ENqT1B,GAAO;;AMpThC,yBAAyC;EAAE,OAAO,ENuX1B,GAAO;;AMtX/B,yBAAyC;EAAE,OAAO,EN0C1B,GAAO;;AMzC/B,iBAAiC;EAAE,OAAO,ENjC1B,GAAO;;AMkCvB,wBAAwC;EAAE,OAAO,ENma1B,GAAO;;AMla9B,wBAAwC;EAAE,OAAO,EN4H1B,GAAO;;AM3H9B,mBAAmC;EAAE,OAAO,EN7B1B,GAAO;;AM8BzB,eAA+B;EAAE,OAAO,EN0T1B,GAAO;;AMzTrB,gBAAgC;EAAE,OAAO,ENwS1B,GAAO;;AMvStB,eAA+B;EAAE,OAAO,ENia1B,GAAO;;AMharB,kBAAkC;EAAE,OAAO,ENgK1B,GAAO;;AM/JxB,uBAAuC;EAAE,OAAO,ENuH1B,GAAO;;AMtH7B,uBAAuC;EAAE,OAAO,EN4Z1B,GAAO;;AM3Z7B,gBAAgC;EAAE,OAAO,EN4F1B,GAAO;;AM3FtB,uBAAuC;EAAE,OAAO,ENoC1B,GAAO;;AMnC7B,wBAAwC;EAAE,OAAO,ENoC1B,GAAO;;AMnC9B,sBAAsC;EAAE,OAAO,ENsT1B,GAAO;;AMrT5B,uBAAuC;EAAE,OAAO,ENyQ1B,GAAO;;AMxQ7B,uBAAuC;EAAE,OAAO,ENwb1B,GAAO;;AMvb7B,uBAAuC;EAAE,OAAO,ENsB1B,GAAO;;AMrB7B,0BAA0C;EAAE,OAAO,EN2T1B,GAAO;;AM1ThC,sBAAsC;EAAE,OAAO,ENsM1B,GAAO;;AMrM5B,qBAAqC;EAAE,OAAO,EN6D1B,GAAO;;AM5D3B,yBAAyC;EAAE,OAAO,ENob1B,GAAO;;AMnb/B,yBAAyC;EAAE,OAAO,ENkB1B,GAAO;;AMjB/B,cAA8B;EAAE,OAAO,EN/C1B,GAAO;;AMgDpB,qBAAqC;EAAE,OAAO,EN3D1B,GAAO;;AM4D3B,sBAAsC;EAAE,OAAO,EN3D1B,GAAO;;AM4D5B,mBAAmC;EAAE,OAAO,EN3D1B,GAAO;;AM4DzB,qBAAqC;EAAE,OAAO,EN/D1B,GAAO;;AMgE3B;gBACgC;EAAE,OAAO,ENqV1B,GAAO;;AMpVtB,iBAAiC;EAAE,OAAO,ENuF1B,GAAO;;AMtFvB,mBAAmC;EAAE,OAAO,EN4C1B,GAAO;;AM3CzB,eAA+B;EAAE,OAAO,ENmS1B,GAAO;;AMlSrB,gBAAgC;EAAE,OAAO,ENsP1B,GAAO;;AMrPtB,mBAAmC;EAAE,OAAO,EN9D1B,GAAO;;AM+DzB,6BAA6C;EAAE,OAAO,ENgF1B,GAAO;;AM/EnC,eAA+B;EAAE,OAAO,EN+I1B,GAAO;;AM9IrB,eAA+B;EAAE,OAAO,ENoM1B,GAAO;;AMnMrB,eAA+B;EAAE,OAAO,ENmH1B,GAAO;;AMlHrB,cAA8B;EAAE,OAAO,ENiF1B,GAAO;;AMhFpB,oBAAoC;EAAE,OAAO,ENiF1B,GAAO;;AMhF1B;+BAC+C;EAAE,OAAO,EN0E1B,GAAO;;AMzErC,gBAAgC;EAAE,OAAO,ENmR1B,GAAO;;AMlRtB,mBAAmC;EAAE,OAAO,EN/B1B,GAAO;;AMgCzB,iBAAiC;EAAE,OAAO,ENoS1B,GAAO;;AMnSvB,kBAAkC;EAAE,OAAO,ENwB1B,GAAO;;AMvBxB,iBAAiC;EAAE,OAAO,ENqN1B,GAAO;;AMpNvB,qBAAqC;EAAE,OAAO,ENE1B,GAAO;;AMD3B,uBAAuC;EAAE,OAAO,ENF1B,GAAO;;AMG7B,kBAAkC;EAAE,OAAO,EN2S1B,GAAO;;AM1SxB,wBAAwC;EAAE,OAAO,ENyU1B,GAAO;;AMxU9B,iBAAiC;EAAE,OAAO,EN8G1B,GAAO;;AM7GvB,sBAAsC;EAAE,OAAO,EN+G1B,GAAO;;AM9G5B,mBAAmC;EAAE,OAAO,ENnF1B,GAAO;;AMoFzB,mBAAmC;EAAE,OAAO,ENrF1B,GAAO;;AMsFzB;oBACoC;EAAE,OAAO,EN/E1B,GAAO;;AMgF1B,yBAAyC;EAAE,OAAO,ENua1B,GAAO;;AMta/B,0BAA0C;EAAE,OAAO,ENmE1B,GAAO;;AMlEhC,uBAAuC;EAAE,OAAO,EN5C1B,GAAO;;AM6C7B,cAA8B;EAAE,OAAO,ENqK1B,GAAO;;AMpKpB;eAC+B;EAAE,OAAO,ENK1B,GAAO;;AMJrB,mBAAmC;EAAE,OAAO,ENQ1B,GAAO;;AMPzB,sBAAsC;EAAE,OAAO,ENmY1B,GAAO;;AMlY5B,wBAAwC;EAAE,OAAO,ENiY1B,GAAO;;AMhY9B,oBAAoC;EAAE,OAAO,EN2V1B,GAAO;;AM1V1B,kBAAkC;EAAE,OAAO,ENyI1B,GAAO;;AMxIxB,mBAAmC;EAAE,OAAO,ENyT1B,GAAO;;AMxTzB,0BAA0C;EAAE,OAAO,ENiL1B,GAAO;;AMhLhC,qBAAqC;EAAE,OAAO,EN0X1B,GAAO;;AMzX3B,wBAAwC;EAAE,OAAO,EN8C1B,GAAO;;AM7C9B,kBAAkC;EAAE,OAAO,ENoT1B,GAAO;;AMnTxB,iBAAiC;EAAE,OAAO,EN8Y1B,GAAO;;AM7YvB,wBAAwC;EAAE,OAAO,EN6G1B,GAAO;;AM5G9B,iBAAiC;EAAE,OAAO,EN8Z1B,GAAO;;AM7ZvB,kBAAkC;EAAE,OAAO,EN+J1B,GAAO;;AM9JxB,gBAAgC;EAAE,OAAO,ENsO1B,GAAO;;AMrOtB,mBAAmC;EAAE,OAAO,EN2U1B,GAAO;;AM1UzB,qBAAqC;EAAE,OAAO,EN/E1B,GAAO;;AMgF3B,uBAAuC;EAAE,OAAO,ENoO1B,GAAO;;AMnO7B,kBAAkC;EAAE,OAAO,EN8Y1B,GAAO;;AM7YxB;mBACmC;EAAE,OAAO,ENuC1B,GAAO;;AMtCzB,iBAAiC;EAAE,OAAO,ENiG1B,GAAO;;AMhGvB,iBAAiC;EAAE,OAAO,ENiZ1B,GAAO;;AMhZvB,sBAAsC;EAAE,OAAO,ENR1B,GAAO;;AMS5B,cAA8B;EAAE,OAAO,EN4Q1B,GAAO;;AM3QpB,gBAAgC;EAAE,OAAO,ENgH1B,GAAO;;AM/GtB,mBAAmC;EAAE,OAAO,ENnF1B,GAAO;;AMoFzB,eAA+B;EAAE,OAAO,ENzG1B,GAAO;;AM0GrB,sBAAsC;EAAE,OAAO,ENzD1B,GAAO;;AM0D5B,uBAAuC;EAAE,OAAO,EN0G1B,GAAO;;AMzG7B,sBAAsC;EAAE,OAAO,ENwG1B,GAAO;;AMvG5B,oBAAoC;EAAE,OAAO,ENyG1B,GAAO;;AMxG1B,sBAAsC;EAAE,OAAO,ENqG1B,GAAO;;AMpG5B,4BAA4C;EAAE,OAAO,EN5I1B,GAAO;;AM6IlC,6BAA6C;EAAE,OAAO,ENxI1B,GAAO;;AMyInC,0BAA0C;EAAE,OAAO,ENxI1B,GAAO;;AMyIhC,4BAA4C;EAAE,OAAO,ENhJ1B,GAAO;;AMiJlC,gBAAgC;EAAE,OAAO,ENsF1B,GAAO;;AMrFtB,iBAAiC;EAAE,OAAO,ENia1B,GAAO;;AMhavB,gBAAgC;EAAE,OAAO,ENiV1B,GAAO;;AMhVtB,iBAAiC;EAAE,OAAO,ENgD1B,GAAO;;AM/CvB,oBAAoC;EAAE,OAAO,ENvG1B,GAAO;;AMwG1B,qBAAqC;EAAE,OAAO,ENzI1B,GAAO;;AM0I3B;gBACgC;EAAE,OAAO,ENqY1B,GAAO;;AMpYtB;eAC+B;EAAE,OAAO,ENuI1B,GAAO;;AMtIrB,gBAAgC;EAAE,OAAO,ENpD1B,GAAO;;AMqDtB,gBAAgC;EAAE,OAAO,EN+C1B,GAAO;;AM9CtB;mBACmC;EAAE,OAAO,ENwP1B,GAAO;;AMvPzB;kBACkC;EAAE,OAAO,ENkC1B,GAAO;;AMjCxB,oBAAoC;EAAE,OAAO,ENsL1B,GAAO;;AMrL1B;mBACmC;EAAE,OAAO,EN0C1B,GAAO;;AMzCzB,iBAAiC;EAAE,OAAO,ENiS1B,GAAO;;AMhSvB;;eAE+B;EAAE,OAAO,EN9I1B,GAAO;;AM+IrB,kBAAkC;EAAE,OAAO,ENgI1B,GAAO;;AM/HxB,kBAAkC;EAAE,OAAO,EN8H1B,GAAO;;AM7HxB,wBAAwC;EAAE,OAAO,EN4S1B,GAAO;;AM3S9B,oBAAoC;EAAE,OAAO,ENoW1B,GAAO;;AMnW1B,gBAAgC;EAAE,OAAO,ENmT1B,GAAO;;AMlTtB,gBAAgC;EAAE,OAAO,ENkI1B,GAAO;;AMjItB,gBAAgC;EAAE,OAAO,ENuV1B,GAAO;;AMtVtB,oBAAoC;EAAE,OAAO,ENwL1B,GAAO;;AMvL1B,2BAA2C;EAAE,OAAO,ENyL1B,GAAO;;AMxLjC,6BAA6C;EAAE,OAAO,ENyD1B,GAAO;;AMxDnC,sBAAsC;EAAE,OAAO,ENuD1B,GAAO;;AMtD5B,gBAAgC;EAAE,OAAO,ENsJ1B,GAAO;;AMrJtB,qBAAqC;EAAE,OAAO,ENtH1B,GAAO;;AMuH3B,mBAAmC;EAAE,OAAO,ENhH1B,GAAO;;AMiHzB,qBAAqC;EAAE,OAAO,ENvH1B,GAAO;;AMwH3B,sBAAsC;EAAE,OAAO,ENvH1B,GAAO;;AMwH5B,kBAAkC;EAAE,OAAO,ENvE1B,GAAO;;AMwExB;eAC+B;EAAE,OAAO,EN2P1B,GAAO;;AM1PrB;oBACoC;EAAE,OAAO,EN+P1B,GAAO;;AM9P1B;mBACmC;EAAE,OAAO,EN4P1B,GAAO;;AM3PzB,mBAAmC;EAAE,OAAO,ENxC1B,GAAO;;AMyCzB,mBAAmC;EAAE,OAAO,ENkG1B,GAAO;;AMjGzB;eAC+B;EAAE,OAAO,EN8U1B,GAAO;;AM7UrB;gBACgC;EAAE,OAAO,ENqB1B,GAAO;;AMpBtB;qBACqC;EAAE,OAAO,EN2R1B,GAAO;;AM1R3B,oBAAoC;EAAE,OAAO,ENpF1B,GAAO;;AMqF1B,qBAAqC;EAAE,OAAO,ENnF1B,GAAO;;AMoF3B;eAC+B;EAAE,OAAO,ENjK1B,GAAO;;AMkKrB,kBAAkC;EAAE,OAAO,ENkO1B,GAAO;;AMjOxB,mBAAmC;EAAE,OAAO,ENkU1B,GAAO;;AMjUzB;oBACoC;EAAE,OAAO,EN1G1B,GAAO;;AM2G1B,sBAAsC;EAAE,OAAO,ENgF1B,GAAO;;AM/E5B,mBAAmC;EAAE,OAAO,ENnD1B,GAAO;;AMoDzB,yBAAyC;EAAE,OAAO,ENzG1B,GAAO;;AM0G/B,uBAAuC;EAAE,OAAO,ENzG1B,GAAO;;AM0G7B,kBAAkC;EAAE,OAAO,ENsU1B,GAAO;;AMrUxB,sBAAsC;EAAE,OAAO,EN+P1B,GAAO;;AM9P5B,mBAAmC;EAAE,OAAO,ENsQ1B,GAAO;;AMrQzB,iBAAiC;EAAE,OAAO,ENvL1B,GAAO;;AMwLvB,iBAAiC;EAAE,OAAO,ENzG1B,GAAO;;AM0GvB,kBAAkC;EAAE,OAAO,ENtF1B,GAAO;;AMuFxB,sBAAsC;EAAE,OAAO,EN3B1B,GAAO;;AM4B5B,qBAAqC;EAAE,OAAO,ENxK1B,GAAO;;AMyK3B,qBAAqC;EAAE,OAAO,ENkC1B,GAAO;;AMjC3B,oBAAoC;EAAE,OAAO,EN3O1B,GAAO;;AM4O1B,iBAAiC;EAAE,OAAO,ENiG1B,GAAO;;AMhGvB,sBAAsC;EAAE,OAAO,EN/C1B,GAAO;;AMgD5B,eAA+B;EAAE,OAAO,ENpM1B,GAAO;;AMqMrB,mBAAmC;EAAE,OAAO,ENe1B,GAAO;;AMdzB,sBAAsC;EAAE,OAAO,ENgJ1B,GAAO;;AM/I5B,4BAA4C;EAAE,OAAO,EN5O1B,GAAO;;AM6OlC,6BAA6C;EAAE,OAAO,EN5O1B,GAAO;;AM6OnC,0BAA0C;EAAE,OAAO,EN5O1B,GAAO;;AM6OhC,4BAA4C;EAAE,OAAO,ENhP1B,GAAO;;AMiPlC,qBAAqC;EAAE,OAAO,EN5O1B,GAAO;;AM6O3B,sBAAsC;EAAE,OAAO,EN5O1B,GAAO;;AM6O5B,mBAAmC;EAAE,OAAO,EN5O1B,GAAO;;AM6OzB,qBAAqC;EAAE,OAAO,ENhP1B,GAAO;;AMiP3B,kBAAkC;EAAE,OAAO,ENlG1B,GAAO;;AMmGxB,iBAAiC;EAAE,OAAO,ENuC1B,GAAO;;AMtCvB,iBAAiC;EAAE,OAAO,ENoP1B,GAAO;;AMnPvB;iBACiC;EAAE,OAAO,ENyF1B,GAAO;;AMxFvB,mBAAmC;EAAE,OAAO,EN9I1B,GAAO;;AM+IzB,qBAAqC;EAAE,OAAO,EN0I1B,GAAO;;AMzI3B,sBAAsC;EAAE,OAAO,EN0I1B,GAAO;;AMzI5B,kBAAkC;EAAE,OAAO,ENgN1B,GAAO;;AM/MxB,iBAAiC;EAAE,OAAO,ENnJ1B,GAAO;;AMoJvB;gBACgC;EAAE,OAAO,ENkJ1B,GAAO;;AMjJtB,qBAAqC;EAAE,OAAO,ENnB1B,GAAO;;AMoB3B,mBAAmC;EAAE,OAAO,ENxC1B,GAAO;;AMyCzB,wBAAwC;EAAE,OAAO,ENvC1B,GAAO;;AMwC9B,kBAAkC;EAAE,OAAO,EN0L1B,GAAO;;AMzLxB,kBAAkC;EAAE,OAAO,ENpC1B,GAAO;;AMqCxB,gBAAgC;EAAE,OAAO,ENoE1B,GAAO;;AMnEtB,kBAAkC;EAAE,OAAO,ENpC1B,GAAO;;AMqCxB,qBAAqC;EAAE,OAAO,ENkB1B,GAAO;;AMjB3B,iBAAiC;EAAE,OAAO,ENrD1B,GAAO;;AMsDvB,yBAAyC;EAAE,OAAO,ENvD1B,GAAO;;AMwD/B,mBAAmC;EAAE,OAAO,ENuO1B,GAAO;;AMtOzB,eAA+B;EAAE,OAAO,ENtJ1B,GAAO;;AMuJrB;oBACoC;EAAE,OAAO,ENqI1B,GAAO;;AMpI1B;;sBAEsC;EAAE,OAAO,ENuM1B,GAAO;;AMtM5B,yBAAyC;EAAE,OAAO,ENkC1B,GAAO;;AMjC/B,eAA+B;EAAE,OAAO,EN5I1B,GAAO;;AM6IrB,oBAAoC;EAAE,OAAO,EN7J1B,GAAO;;AM8J1B;uBACuC;EAAE,OAAO,EN1L1B,GAAO;;AM2L7B,mBAAmC;EAAE,OAAO,EN4G1B,GAAO;;AM3GzB,eAA+B;EAAE,OAAO,ENT1B,GAAO;;AMUrB,sBAAsC;EAAE,OAAO,ENhH1B,GAAO;;AMiH5B,sBAAsC;EAAE,OAAO,EN8M1B,GAAO;;AM7M5B,oBAAoC;EAAE,OAAO,ENyM1B,GAAO;;AMxM1B,iBAAiC;EAAE,OAAO,ENvH1B,GAAO;;AMwHvB,uBAAuC;EAAE,OAAO,ENmG1B,GAAO;;AMlG7B,qBAAqC;EAAE,OAAO,EN8C1B,GAAO;;AM7C3B,2BAA2C;EAAE,OAAO,EN8C1B,GAAO;;AM7CjC,iBAAiC;EAAE,OAAO,ENgJ1B,GAAO;;AM/IvB,qBAAqC;EAAE,OAAO,EN5N1B,GAAO;;AM6N3B,4BAA4C;EAAE,OAAO,ENjF1B,GAAO;;AMkFlC,iBAAiC;EAAE,OAAO,ENoH1B,GAAO;;AMnHvB,iBAAiC;EAAE,OAAO,ENkC1B,GAAO;;AMjCvB,8BAA8C;EAAE,OAAO,ENlM1B,GAAO;;AMmMpC,+BAA+C;EAAE,OAAO,ENlM1B,GAAO;;AMmMrC,4BAA4C;EAAE,OAAO,ENlM1B,GAAO;;AMmMlC,8BAA8C;EAAE,OAAO,ENtM1B,GAAO;;AMuMpC,gBAAgC;EAAE,OAAO,EN/B1B,GAAO;;AMgCtB,eAA+B;EAAE,OAAO,ENjK1B,GAAO;;AMkKrB,iBAAiC;EAAE,OAAO,EN9S1B,GAAO;;AM+SvB,qBAAqC;EAAE,OAAO,ENmP1B,GAAO;;AMlP3B,mBAAmC;EAAE,OAAO,EN9O1B,GAAO;;AM+OzB,qBAAqC;EAAE,OAAO,EN/I1B,GAAO;;AMgJ3B,qBAAqC;EAAE,OAAO,EN/I1B,GAAO;;AMgJ3B,qBAAqC;EAAE,OAAO,EN4G1B,GAAO;;AM3G3B,sBAAsC;EAAE,OAAO,ENsE1B,GAAO;;AMrE5B,iBAAiC;EAAE,OAAO,EN2M1B,GAAO;;AM1MvB,uBAAuC;EAAE,OAAO,EN6B1B,GAAO;;AM5B7B,yBAAyC;EAAE,OAAO,EN6B1B,GAAO;;AM5B/B,mBAAmC;EAAE,OAAO,ENhB1B,GAAO;;AMiBzB,qBAAqC;EAAE,OAAO,ENlB1B,GAAO;;AMmB3B,uBAAuC;EAAE,OAAO,ENvN1B,GAAO;;AMwN7B,wBAAwC;EAAE,OAAO,ENiD1B,GAAO;;AMhD9B,+BAA+C;EAAE,OAAO,EN3I1B,GAAO;;AM4IrC,uBAAuC;EAAE,OAAO,ENkH1B,GAAO;;AMjH7B,kBAAkC;EAAE,OAAO,EN1L1B,GAAO;;AM2LxB;8BAC8C;EAAE,OAAO,ENjP1B,GAAO;;AMkPpC;4BAC4C;EAAE,OAAO,ENhP1B,GAAO;;AMiPlC;+BAC+C;EAAE,OAAO,ENnP1B,GAAO;;AMoPrC;cAC8B;EAAE,OAAO,EN7J1B,GAAO;;AM8JpB,cAA8B;EAAE,OAAO,EN/F1B,GAAO;;AMgGpB;cAC8B;EAAE,OAAO,EN4N1B,GAAO;;AM3NpB;cAC8B;EAAE,OAAO,ENvD1B,GAAO;;AMwDpB;;;cAG8B;EAAE,OAAO,ENrD1B,GAAO;;AMsDpB;;cAE8B;EAAE,OAAO,EN8E1B,GAAO;;AM7EpB;cAC8B;EAAE,OAAO,ENtD1B,GAAO;;AMuDpB;cAC8B;EAAE,OAAO,ENzR1B,GAAO;;AM0RpB,eAA+B;EAAE,OAAO,ENzJ1B,GAAO;;AM0JrB,oBAAoC;EAAE,OAAO,EN7I1B,GAAO;;AM8I1B,yBAAyC;EAAE,OAAO,EN2G1B,GAAO;;AM1G/B,0BAA0C;EAAE,OAAO,EN2G1B,GAAO;;AM1GhC,0BAA0C;EAAE,OAAO,EN2G1B,GAAO;;AM1GhC,2BAA2C;EAAE,OAAO,EN2G1B,GAAO;;AM1GjC,2BAA2C;EAAE,OAAO,EN8G1B,GAAO;;AM7GjC,4BAA4C;EAAE,OAAO,EN8G1B,GAAO;;AM7GlC,oBAAoC;EAAE,OAAO,ENgK1B,GAAO;;AM/J1B,sBAAsC;EAAE,OAAO,EN4J1B,GAAO;;AM3J5B,yBAAyC;EAAE,OAAO,ENwO1B,GAAO;;AMvO/B,kBAAkC;EAAE,OAAO,ENqO1B,GAAO;;AMpOxB,eAA+B;EAAE,OAAO,EN+N1B,GAAO;;AM9NrB,sBAAsC;EAAE,OAAO,EN+N1B,GAAO;;AM9N5B,uBAAuC;EAAE,OAAO,ENmO1B,GAAO;;AMlO7B,kBAAkC;EAAE,OAAO,ENxM1B,GAAO;;AMyMxB,yBAAyC;EAAE,OAAO,EN+G1B,GAAO;;AM9G/B,oBAAoC;EAAE,OAAO,ENnF1B,GAAO;;AMoF1B,iBAAiC;EAAE,OAAO,EN/I1B,GAAO;;AMgJvB,cAA8B;EAAE,OAAO,ENhX1B,GAAO;;AMiXpB,oBAAoC;EAAE,OAAO,ENxT1B,GAAO;;AMyT1B,2BAA2C;EAAE,OAAO,ENxT1B,GAAO;;AMyTjC,iBAAiC;EAAE,OAAO,ENyK1B,GAAO;;AMxKvB,wBAAwC;EAAE,OAAO,ENyK1B,GAAO;;AMxK9B,0BAA0C;EAAE,OAAO,ENtD1B,GAAO;;AMuDhC,wBAAwC;EAAE,OAAO,ENpD1B,GAAO;;AMqD9B,0BAA0C;EAAE,OAAO,ENvD1B,GAAO;;AMwDhC,2BAA2C;EAAE,OAAO,ENvD1B,GAAO;;AMwDjC,gBAAgC;EAAE,OAAO,ENxW1B,GAAO;;AMyWtB,kBAAkC;EAAE,OAAO,EN0M1B,GAAO;;AMzMxB,kBAAkC;EAAE,OAAO,ENpX1B,GAAO;;AMqXxB,gBAAgC;EAAE,OAAO,ENpE1B,GAAO;;AMqEtB,mBAAmC;EAAE,OAAO,EN1N1B,GAAO;;AM2NzB,gBAAgC;EAAE,OAAO,ENqE1B,GAAO;;AMpEtB,qBAAqC;EAAE,OAAO,ENtJ1B,GAAO;;AMuJ3B,iBAAiC;EAAE,OAAO,ENuJ1B,GAAO;;AMtJvB,iBAAiC;EAAE,OAAO,EN/L1B,GAAO;;AMgMvB,eAA+B;EAAE,OAAO,EN1D1B,GAAO;;AM2DrB;mBACmC;EAAE,OAAO,ENnI1B,GAAO;;AMoIzB,gBAAgC;EAAE,OAAO,EN2G1B,GAAO;;AM1GtB,iBAAiC;EAAE,OAAO,ENxC1B,GAAO;;AMyCvB,kBAAkC;EAAE,OAAO,ENrX1B,GAAO;;AMsXxB,cAA8B;EAAE,OAAO,ENpU1B,GAAO;;AMqUpB,aAA6B;EAAE,OAAO,ENgL1B,GAAO;;AM/KnB,gBAAgC;EAAE,OAAO,ENqL1B,GAAO;;AMpLtB,iBAAiC;EAAE,OAAO,ENa1B,GAAO;;AMZvB,oBAAoC;EAAE,OAAO,ENrC1B,GAAO;;AMsC1B,yBAAyC;EAAE,OAAO,EN8E1B,GAAO;;AM7E/B,+BAA+C;EAAE,OAAO,ENtX1B,GAAO;;AMuXrC,8BAA8C;EAAE,OAAO,ENxX1B,GAAO;;AMyXpC;8BAC8C;EAAE,OAAO,EN3T1B,GAAO;;AM4TpC,uBAAuC;EAAE,OAAO,ENjP1B,GAAO;;AMkP7B,qBAAqC;EAAE,OAAO,EN+K1B,GAAO;;AM9K3B,uBAAuC;EAAE,OAAO,ENmK1B,GAAO;;AMlK7B;cAC8B;EAAE,OAAO,ENoI1B,GAAO;;AMnIpB,wBAAwC;EAAE,OAAO,ENjB1B,GAAO;;AMkB9B,wBAAwC;EAAE,OAAO,EN6D1B,GAAO;;AM5D9B,gBAAgC;EAAE,OAAO,EN2C1B,GAAO;;AM1CtB,0BAA0C;EAAE,OAAO,EN7O1B,GAAO;;AM8OhC,oBAAoC;EAAE,OAAO,EN2K1B,GAAO;;AM1K1B,iBAAiC;EAAE,OAAO,ENvD1B,GAAO;;AMwDvB;;qBAEqC;EAAE,OAAO,ENsI1B,GAAO;;AMrI3B;yBACyC;EAAE,OAAO,ENjK1B,GAAO;;AMkK/B,gBAAgC;EAAE,OAAO,ENwK1B,GAAO;;AMvKtB,iBAAiC;EAAE,OAAO,ENvK1B,GAAO;;AMwKvB,iBAAiC;EAAE,OAAO,ENhB1B,GAAO;;AMiBvB,wBAAwC;EAAE,OAAO,ENhB1B,GAAO;;AMiB9B,6BAA6C;EAAE,OAAO,ENsE1B,GAAO;;AMrEnC,sBAAsC;EAAE,OAAO,ENoE1B,GAAO;;AMnE5B,oBAAoC;EAAE,OAAO,EN7Q1B,GAAO;;AM8Q1B,eAA+B;EAAE,OAAO,EN1Q1B,GAAO;;AM2QrB,qBAAqC;EAAE,OAAO,ENjD1B,GAAO;;AMkD3B,yBAAyC;EAAE,OAAO,ENjD1B,GAAO;;AMkD/B,iBAAiC;EAAE,OAAO,ENvQ1B,GAAO;;AMwQvB,iBAAiC;EAAE,OAAO,EN9I1B,GAAO;;AM+IvB,mBAAmC;EAAE,OAAO,ENzI1B,GAAO;;AM0IzB,cAA8B;EAAE,OAAO,EN9O1B,GAAO;;AM+OpB,mBAAmC;EAAE,OAAO,EN3W1B,GAAO;;AM4WzB,gBAAgC;EAAE,OAAO,EN9T1B,GAAO;;AM+TtB,cAA8B;EAAE,OAAO,ENnE1B,GAAO;;AMoEpB,gBAAgC;EAAE,OAAO,ENoC1B,GAAO;;AMnCtB,eAA+B;EAAE,OAAO,ENjS1B,GAAO;;AMkSrB,gBAAgC;EAAE,OAAO,ENjS1B,GAAO;;AMkStB,kBAAkC;EAAE,OAAO,ENtY1B,GAAO;;AMuYxB,yBAAyC;EAAE,OAAO,ENtY1B,GAAO;;AMuY/B,gBAAgC;EAAE,OAAO,EN2C1B,GAAO;;AM1CtB,uBAAuC;EAAE,OAAO,EN2C1B,GAAO;;AM1C7B,kBAAkC;EAAE,OAAO,ENvC1B,GAAO;;AMwCxB;cAC8B;EAAE,OAAO,EN3W1B,GAAO;;AM4WpB;eAC+B;EAAE,OAAO,EN2D1B,GAAO;;AM1DrB,eAA+B;EAAE,OAAO,ENuF1B,GAAO;;AMtFrB,kBAAkC;EAAE,OAAO,ENwB1B,GAAO;;AMvBxB,qBAAqC;EAAE,OAAO,ENpS1B,GAAO;;AMqS3B,qBAAqC;EAAE,OAAO,ENkB1B,GAAO;;AMjB3B,mBAAmC;EAAE,OAAO,EN1S1B,GAAO;;AM2SzB,qBAAqC;EAAE,OAAO,ENxP1B,GAAO;;AMyP3B,sBAAsC;EAAE,OAAO,ENjP1B,GAAO;;AMkP5B,uBAAuC;EAAE,OAAO,EN9P1B,GAAO;;AM+P7B,4BAA4C;EAAE,OAAO,ENxP1B,GAAO;;AMyPlC;;uBAEuC;EAAE,OAAO,ENjQ1B,GAAO;;AMkQ7B;yBACyC;EAAE,OAAO,ENvQ1B,GAAO;;AMwQ/B;uBACuC;EAAE,OAAO,ENxQ1B,GAAO;;AMyQ7B;uBACuC;EAAE,OAAO,EN7P1B,GAAO;;AM8P7B,sBAAsC;EAAE,OAAO,EN1Q1B,GAAO;;AM2Q5B,eAA+B;EAAE,OAAO,ENsG1B,GAAO;;AMrGrB,kBAAkC;EAAE,OAAO,ENlV1B,GAAO;;AMmVxB,mBAAmC;EAAE,OAAO,ENnL1B,GAAO;;AMoLzB;;;;oBAIoC;EAAE,OAAO,ENxK1B,GAAO;;AMyK1B,yBAAyC;EAAE,OAAO,ENpW1B,GAAO;;AMqW/B;gBACgC;EAAE,OAAO,EN1E1B,GAAO;;AM2EtB;iBACiC;EAAE,OAAO,ENpT1B,GAAO;;AMqTvB,qBAAqC;EAAE,OAAO,EN1O1B,GAAO;;AM2O3B,cAA8B;EAAE,OAAO,EN5O1B,GAAO;;AM6OpB,sBAAsC;EAAE,OAAO,EN7N1B,GAAO;;AM8N5B,wBAAwC;EAAE,OAAO,ENwB1B,GAAO;;AMvB9B,aAA6B;EAAE,OAAO,ENzF1B,GAAO;;AM0FnB;iBACiC;EAAE,OAAO,EN2F1B,GAAO;;AM1FvB;sBACsC;EAAE,OAAO,EN9H1B,GAAO;;AM+H5B;wBACwC;EAAE,OAAO,EN/H1B,GAAO;;AMgI9B,kBAAkC;EAAE,OAAO,EN3N1B,GAAO;;AM4NxB;sBACsC;EAAE,OAAO,ENrX1B,GAAO;;AMsX5B,iBAAiC;EAAE,OAAO,ENnO1B,GAAO;;AMoOvB,oBAAoC;EAAE,OAAO,ENlI1B,GAAO;;AMmI1B,kBAAkC;EAAE,OAAO,EN1C1B,GAAO;;AM2CxB,oBAAoC;EAAE,OAAO,EN7D1B,GAAO;;AM8D1B,2BAA2C;EAAE,OAAO,EN7D1B,GAAO;;AM8DjC,eAA+B;EAAE,OAAO,ENpb1B,GAAO;;AMqbrB;mBACmC;EAAE,OAAO,ENzQ1B,GAAO;;AM0QzB,cAA8B;EAAE,OAAO,ENsC1B,GAAO;;AMrCpB,qBAAqC;EAAE,OAAO,EN/b1B,GAAO;;AMgc3B,eAA+B;EAAE,OAAO,ENrH1B,GAAO;;AMsHrB,qBAAqC;EAAE,OAAO,ENlD1B,GAAO;;AMmD3B,iBAAiC;EAAE,OAAO,ENsC1B,GAAO;;AMrCvB,eAA+B;EAAE,OAAO,ENiF1B,GAAO;;AMhFrB,sBAAsC;EAAE,OAAO,ENvJ1B,GAAO;;AMwJ5B,eAA+B;EAAE,OAAO,ENuE1B,GAAO;;AMtErB,qBAAqC;EAAE,OAAO,ENjb1B,GAAO;;AMkb3B,iBAAiC;EAAE,OAAO,EN9I1B,GAAO;;AM+IvB,wBAAwC;EAAE,OAAO,ENhQ1B,GAAO;;AMiQ9B,kBAAkC;EAAE,OAAO,EN9Z1B,GAAO;;AM+ZxB,wBAAwC;EAAE,OAAO,ENla1B,GAAO;;AMma9B,sBAAsC;EAAE,OAAO,ENpa1B,GAAO;;AMqa5B,kBAAkC;EAAE,OAAO,ENta1B,GAAO;;AMuaxB,oBAAoC;EAAE,OAAO,ENpa1B,GAAO;;AMqa1B,oBAAoC;EAAE,OAAO,ENpa1B,GAAO;;AMqa1B,qBAAqC;EAAE,OAAO,ENld1B,GAAO;;AMmd3B,uBAAuC;EAAE,OAAO,ENld1B,GAAO;;AMmd7B,gBAAgC;EAAE,OAAO,ENY1B,GAAO;;AMXtB,oBAAoC;EAAE,OAAO,EN3X1B,GAAO;;AM4X1B,aAA6B;EAAE,OAAO,ENre1B,GAAO;;AMsenB,qBAAqC;EAAE,OAAO,ENjV1B,GAAO;;AMkV3B,sBAAsC;EAAE,OAAO,ENpK1B,GAAO;;AMqK5B,wBAAwC;EAAE,OAAO,ENrd1B,GAAO;;AMsd9B,qBAAqC;EAAE,OAAO,EN3f1B,GAAO;;AM4f3B,oBAAoC;EAAE,OAAO,ENvJ1B,GAAO;;AMwJ1B,qBAAqC;EAAE,OAAO,EN5N1B,GAAO;;AM6N3B,iBAAiC;EAAE,OAAO,EN1O1B,GAAO;;AM2OvB,wBAAwC;EAAE,OAAO,EN1O1B,GAAO;;AM2O9B,qBAAqC;EAAE,OAAO,ENN1B,GAAO;;AMO3B,oBAAoC;EAAE,OAAO,ENN1B,GAAO;;AMO1B,kBAAkC;EAAE,OAAO,EN/d1B,GAAO;;AMgexB,cAA8B;EAAE,OAAO,EN7c1B,GAAO;;AM8cpB,kBAAkC;EAAE,OAAO,EN1P1B,GAAO;;AM2PxB,oBAAoC;EAAE,OAAO,ENhhB1B,GAAO;;AMihB1B,aAA6B;EAAE,OAAO,EN7b1B,GAAO;;AM8bnB;;cAE8B;EAAE,OAAO,ENxQ1B,GAAO;;AMyQpB,mBAAmC;EAAE,OAAO,EN7M1B,GAAO;;AM8MzB,qBAAqC;EAAE,OAAO,ENpd1B,GAAO;;AMqd3B,yBAAyC;EAAE,OAAO,ENnZ1B,GAAO;;AMoZ/B,mBAAmC;EAAE,OAAO,ENxY1B,GAAO;;AMyYzB,mBAAmC;EAAE,OAAO,EN1T1B,GAAO;;AM2TzB,kBAAkC;EAAE,OAAO,ENxP1B,GAAO;;AMyPxB,iBAAiC;EAAE,OAAO,ENrH1B,GAAO;;AMsHvB,uBAAuC;EAAE,OAAO,ENzG1B,GAAO;;AM0G7B,sBAAsC;EAAE,OAAO,ENrG1B,GAAO;;AMsG5B,mBAAmC;EAAE,OAAO,ENpG1B,GAAO;;AMqGzB,oBAAoC;EAAE,OAAO,EN5c1B,GAAO;;AM6c1B,0BAA0C;EAAE,OAAO,EN9c1B,GAAO;;AM+chC,kBAAkC;EAAE,OAAO,EN3Y1B,GAAO;;AM4YxB,eAA+B;EAAE,OAAO,ENhH1B,GAAO;;AMiHrB,sBAAsC;EAAE,OAAO,ENI1B,GAAO;;AMH5B,qBAAqC;EAAE,OAAO,EN5M1B,GAAO;;AM6M3B,sBAAsC;EAAE,OAAO,ENpE1B,GAAO;;AMqE5B,oBAAoC;EAAE,OAAO,ENhS1B,GAAO;;AMiS1B,gBAAgC;EAAE,OAAO,ENG1B,GAAO;;AMFtB,eAA+B;EAAE,OAAO,ENtO1B,GAAO;;AMuOrB,kBAAkC;EAAE,OAAO,EN7N1B,GAAO;;AM8NxB,sBAAsC;EAAE,OAAO,ENhC1B,GAAO;;AMiC5B,0BAA0C;EAAE,OAAO,ENhC1B,GAAO;;AMiChC,uBAAuC;EAAE,OAAO,END1B,GAAO;;AME7B,sBAAsC;EAAE,OAAO,EN1O1B,GAAO;;AM2O5B,qBAAqC;EAAE,OAAO,ENF1B,GAAO;;AMG3B,sBAAsC;EAAE,OAAO,EN3O1B,GAAO;;AM4O5B,wBAAwC;EAAE,OAAO,EN1O1B,GAAO;;AM2O9B,wBAAwC;EAAE,OAAO,EN5O1B,GAAO;;AM6O9B,iBAAiC;EAAE,OAAO,ENvN1B,GAAO;;AMwNvB,4BAA4C;EAAE,OAAO,EN9X1B,GAAO;;AM+XlC,sBAAsC;EAAE,OAAO,ENhM1B,GAAO;;AMiM5B,mBAAmC;EAAE,OAAO,ENI1B,GAAO;;AMHzB,iBAAiC;EAAE,OAAO,EN7I1B,GAAO;;AM8IvB,oBAAoC;EAAE,OAAO,ENjB1B,GAAO;;AMkB1B,qBAAqC;EAAE,OAAO,ENhB1B,GAAO;;AMiB3B;cAC8B;EAAE,OAAO,ENphB1B,GAAO;;AMqhBpB,kBAAkC;EAAE,OAAO,ENd1B,GAAO;;AMexB,gBAAgC;EAAE,OAAO,ENnD1B,GAAO;;AMoDtB,iBAAiC;EAAE,OAAO,ENvF1B,GAAO;;AMwFvB,iBAAiC;EAAE,OAAO,ENrP1B,GAAO",+"sources": ["../scss/_path.scss","../scss/_core.scss","../scss/_larger.scss","../scss/_fixed-width.scss","../scss/_list.scss","../scss/_variables.scss","../scss/_bordered-pulled.scss","../scss/_animated.scss","../scss/_rotated-flipped.scss","../scss/_mixins.scss","../scss/_stacked.scss","../scss/_icons.scss"],+"names": [],+"file": "font-awesome.css"+}diff --git a/data/libs/font-awesome/css/font-awesome.min.css b/data/libs/fontawesome/css/font-awesome.min.csssimilarity index 95%rename from data/libs/font-awesome/css/font-awesome.min.cssrename to data/libs/fontawesome/css/font-awesome.min.cssindex ee4e9782b..d0603cb4b 100644--- a/data/libs/font-awesome/css/font-awesome.min.css+++ b/data/libs/fontawesome/css/font-awesome.min.css@@ -1,4 +1,4 @@/*!- * Font Awesome 4.4.0 by @davegandy - http://fontawesome.io - @fontawesome+ * Font Awesome 4.5.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.4.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.4.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.4.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.4.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.4.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.4.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}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.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}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-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-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.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,.fa-gratipay: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-y-combinator-square:before,.fa-yc-square:before,.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"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}+ */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.5.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.5.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.5.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.5.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.5.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.5.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}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.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}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-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-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.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,.fa-gratipay: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-y-combinator-square:before,.fa-yc-square:before,.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"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}diff --git a/data/libs/fontawesome/fonts/FontAwesome.otf b/data/libs/fontawesome/fonts/FontAwesome.otfnew file mode 100644index 000000000..3ed7f8b48Binary files /dev/null and b/data/libs/fontawesome/fonts/FontAwesome.otf differdiff --git a/data/libs/fontawesome/fonts/fontawesome-webfont.eot b/data/libs/fontawesome/fonts/fontawesome-webfont.eotnew file mode 100644index 000000000..9b6afaedcBinary files /dev/null and b/data/libs/fontawesome/fonts/fontawesome-webfont.eot differdiff --git a/data/libs/font-awesome/fonts/fontawesome-webfont.svg b/data/libs/fontawesome/fonts/fontawesome-webfont.svgsimilarity index 95%rename from data/libs/font-awesome/fonts/fontawesome-webfont.svgrename to data/libs/fontawesome/fonts/fontawesome-webfont.svgindex 6fd19abcb..d05688e9e 100644--- a/data/libs/font-awesome/fonts/fontawesome-webfont.svg+++ b/data/libs/fontawesome/fonts/fontawesome-webfont.svg@@ -1,6 +1,6 @@<?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" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">+<svg xmlns="http://www.w3.org/2000/svg"><metadata></metadata><defs><font id="fontawesomeregular" horiz-adv-x="1536" >@@ -219,8 +219,8 @@<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="" d="M917 631q0 26 -6 64h-362v-132h217q-3 -24 -16.5 -50t-37.5 -53t-66.5 -44.5t-96.5 -17.5q-99 0 -169 71t-70 171t70 171t169 71q92 0 153 -59l104 101q-108 100 -257 100q-160 0 -272 -112.5t-112 -271.5t112 -271.5t272 -112.5q165 0 266.5 105t101.5 270zM1262 585 h109v110h-109v110h-110v-110h-110v-110h110v-110h110v110zM1536 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="2304" d="M1437 623q0 -208 -87 -370.5t-248 -254t-369 -91.5q-149 0 -285 58t-234 156t-156 234t-58 285t58 285t156 234t234 156t285 58q286 0 491 -192l-199 -191q-117 113 -292 113q-123 0 -227.5 -62t-165.5 -168.5t-61 -232.5t61 -232.5t165.5 -168.5t227.5 -62 q83 0 152.5 23t114.5 57.5t78.5 78.5t49 83t21.5 74h-416v252h692q12 -63 12 -122zM2304 745v-210h-209v-209h-210v209h-209v210h209v209h210v-209h209z" /><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" />@@ -362,7 +362,7 @@<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="M1289 -96h-1118v480h-160v-640h1438v640h-160v-480zM347 428l33 157l783 -165l-33 -156zM450 802l67 146l725 -339l-67 -145zM651 1158l102 123l614 -513l-102 -123zM1048 1536l477 -641l-128 -96l-477 641zM330 65v159h800v-159h-800z" /><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" />@@ -410,7 +410,7 @@<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="" d="M768 750h725q12 -67 12 -128q0 -217 -91 -387.5t-259.5 -266.5t-386.5 -96q-157 0 -299 60.5t-245 163.5t-163.5 245t-60.5 299t60.5 299t163.5 245t245 163.5t299 60.5q300 0 515 -201l-209 -201q-123 119 -306 119q-129 0 -238.5 -65t-173.5 -176.5t-64 -243.5 t64 -243.5t173.5 -176.5t238.5 -65q87 0 160 24t120 60t82 82t51.5 87t22.5 78h-436v264z" /><glyph unicode="" horiz-adv-x="1792" d="M1095 369q16 -16 0 -31q-62 -62 -199 -62t-199 62q-16 15 0 31q6 6 15 6t15 -6q48 -49 169 -49q120 0 169 49q6 6 15 6t15 -6zM788 550q0 -37 -26 -63t-63 -26t-63.5 26t-26.5 63q0 38 26.5 64t63.5 26t63 -26.5t26 -63.5zM1183 550q0 -37 -26.5 -63t-63.5 -26t-63 26 t-26 63t26 63.5t63 26.5t63.5 -26t26.5 -64zM1434 670q0 49 -35 84t-85 35t-86 -36q-130 90 -311 96l63 283l200 -45q0 -37 26 -63t63 -26t63.5 26.5t26.5 63.5t-26.5 63.5t-63.5 26.5q-54 0 -80 -50l-221 49q-19 5 -25 -16l-69 -312q-180 -7 -309 -97q-35 37 -87 37 q-50 0 -85 -35t-35 -84q0 -35 18.5 -64t49.5 -44q-6 -27 -6 -56q0 -142 140 -243t337 -101q198 0 338 101t140 243q0 32 -7 57q30 15 48 43.5t18 63.5zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191 t348 71t348 -71t286 -191t191 -286t71 -348z" /><glyph unicode="" d="M939 407q13 -13 0 -26q-53 -53 -171 -53t-171 53q-13 13 0 26q5 6 13 6t13 -6q42 -42 145 -42t145 42q5 6 13 6t13 -6zM676 563q0 -31 -23 -54t-54 -23t-54 23t-23 54q0 32 22.5 54.5t54.5 22.5t54.5 -22.5t22.5 -54.5zM1014 563q0 -31 -23 -54t-54 -23t-54 23t-23 54 q0 32 22.5 54.5t54.5 22.5t54.5 -22.5t22.5 -54.5zM1229 666q0 42 -30 72t-73 30q-42 0 -73 -31q-113 78 -267 82l54 243l171 -39q1 -32 23.5 -54t53.5 -22q32 0 54.5 22.5t22.5 54.5t-22.5 54.5t-54.5 22.5q-48 0 -69 -43l-189 42q-17 5 -21 -13l-60 -268q-154 -6 -265 -83 q-30 32 -74 32q-43 0 -73 -30t-30 -72q0 -30 16 -55t42 -38q-5 -25 -5 -48q0 -122 120 -208.5t289 -86.5q170 0 290 86.5t120 208.5q0 25 -6 49q25 13 40.5 37.5t15.5 54.5zM1536 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="" 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" />@@ -454,7 +454,7 @@<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="M1760 640q0 -176 -68.5 -336t-184 -275.5t-275.5 -184t-336 -68.5t-336 68.5t-275.5 184t-184 275.5t-68.5 336q0 213 97 398.5t265 305.5t374 151v-228q-221 -45 -366.5 -221t-145.5 -406q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5 t136.5 204t51 248.5q0 230 -145.5 406t-366.5 221v228q206 -31 374 -151t265 -305.5t97 -398.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" />@@ -555,7 +555,7 @@<glyph unicode="" d="M1536 1536l-192 -448h192v-192h-274l-55 -128h329v-192h-411l-357 -832l-357 832h-411v192h329l-55 128h-274v192h192l-192 448h256l323 -768h378l323 768h256zM768 320l108 256h-216z" /><glyph unicode="" d="M1088 1536q185 0 316.5 -93.5t131.5 -226.5v-896q0 -130 -125.5 -222t-305.5 -97l213 -202q16 -15 8 -35t-30 -20h-1056q-22 0 -30 20t8 35l213 202q-180 5 -305.5 97t-125.5 222v896q0 133 131.5 226.5t316.5 93.5h640zM768 192q80 0 136 56t56 136t-56 136t-136 56 t-136 -56t-56 -136t56 -136t136 -56zM1344 768v512h-1152v-512h1152z" /><glyph unicode="" d="M1088 1536q185 0 316.5 -93.5t131.5 -226.5v-896q0 -130 -125.5 -222t-305.5 -97l213 -202q16 -15 8 -35t-30 -20h-1056q-22 0 -30 20t8 35l213 202q-180 5 -305.5 97t-125.5 222v896q0 133 131.5 226.5t316.5 93.5h640zM288 224q66 0 113 47t47 113t-47 113t-113 47 t-113 -47t-47 -113t47 -113t113 -47zM704 768v512h-544v-512h544zM1248 224q66 0 113 47t47 113t-47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47zM1408 768v512h-576v-512h576z" />-<glyph unicode="" horiz-adv-x="1792" d="M1792 204v-209h-642v209h134v926h-6l-314 -1135h-243l-310 1135h-8v-926h135v-209h-538v209h69q21 0 43 19.5t22 37.5v881q0 18 -22 40t-43 22h-69v209h672l221 -821h6l223 821h670v-209h-71q-19 0 -41 -22t-22 -40v-881q0 -18 21.5 -37.5t41.5 -19.5h71z" />+<glyph unicode="" horiz-adv-x="1792" d="M597 1115v-1173q0 -25 -12.5 -42.5t-36.5 -17.5q-17 0 -33 8l-465 233q-21 10 -35.5 33.5t-14.5 46.5v1140q0 20 10 34t29 14q14 0 44 -15l511 -256q3 -3 3 -5zM661 1014l534 -866l-534 266v600zM1792 996v-1054q0 -25 -14 -40.5t-38 -15.5t-47 13l-441 220zM1789 1116 q0 -3 -256.5 -419.5t-300.5 -487.5l-390 634l324 527q17 28 52 28q14 0 26 -6l541 -270q4 -2 4 -6z" /><glyph unicode="" d="M809 532l266 499h-112l-157 -312q-24 -48 -44 -92l-42 92l-155 312h-120l263 -493v-324h101v318zM1536 1408v-1536h-1536v1536h1536z" /><glyph unicode="" horiz-adv-x="2296" d="M478 -139q-8 -16 -27 -34.5t-37 -25.5q-25 -9 -51.5 3.5t-28.5 31.5q-1 22 40 55t68 38q23 4 34 -21.5t2 -46.5zM1819 -139q7 -16 26 -34.5t38 -25.5q25 -9 51.5 3.5t27.5 31.5q2 22 -39.5 55t-68.5 38q-22 4 -33 -21.5t-2 -46.5zM1867 -30q13 -27 56.5 -59.5t77.5 -41.5 q45 -13 82 4.5t37 50.5q0 46 -67.5 100.5t-115.5 59.5q-40 5 -63.5 -37.5t-6.5 -76.5zM428 -30q-13 -27 -56 -59.5t-77 -41.5q-45 -13 -82 4.5t-37 50.5q0 46 67.5 100.5t115.5 59.5q40 5 63 -37.5t6 -76.5zM1158 1094h1q-41 0 -76 -15q27 -8 44 -30.5t17 -49.5 q0 -35 -27 -60t-65 -25q-52 0 -80 43q-5 -23 -5 -42q0 -74 56 -126.5t135 -52.5q80 0 136 52.5t56 126.5t-56 126.5t-136 52.5zM1462 1312q-99 109 -220.5 131.5t-245.5 -44.5q27 60 82.5 96.5t118 39.5t121.5 -17t99.5 -74.5t44.5 -131.5zM2212 73q8 -11 -11 -42 q7 -23 7 -40q1 -56 -44.5 -112.5t-109.5 -91.5t-118 -37q-48 -2 -92 21.5t-66 65.5q-687 -25 -1259 0q-23 -41 -66.5 -65t-92.5 -22q-86 3 -179.5 80.5t-92.5 160.5q2 22 7 40q-19 31 -11 42q6 10 31 1q14 22 41 51q-7 29 2 38q11 10 39 -4q29 20 59 34q0 29 13 37 q23 12 51 -16q35 5 61 -2q18 -4 38 -19v73q-11 0 -18 2q-53 10 -97 44.5t-55 87.5q-9 38 0 81q15 62 93 95q2 17 19 35.5t36 23.5t33 -7.5t19 -30.5h13q46 -5 60 -23q3 -3 5 -7q10 1 30.5 3.5t30.5 3.5q-15 11 -30 17q-23 40 -91 43q0 6 1 10q-62 2 -118.5 18.5t-84.5 47.5 q-32 36 -42.5 92t-2.5 112q16 126 90 179q23 16 52 4.5t32 -40.5q0 -1 1.5 -14t2.5 -21t3 -20t5.5 -19t8.5 -10q27 -14 76 -12q48 46 98 74q-40 4 -162 -14l47 46q61 58 163 111q145 73 282 86q-20 8 -41 15.5t-47 14t-42.5 10.5t-47.5 11t-43 10q595 126 904 -139 q98 -84 158 -222q85 -10 121 9h1q5 3 8.5 10t5.5 19t3 19.5t3 21.5l1 14q3 28 32 40t52 -5q73 -52 91 -178q7 -57 -3.5 -113t-42.5 -91q-28 -32 -83.5 -48.5t-115.5 -18.5v-10q-71 -2 -95 -43q-14 -5 -31 -17q11 -1 32 -3.5t30 -3.5q1 4 5 8q16 18 60 23h13q5 18 19 30t33 8 t36 -23t19 -36q79 -32 93 -95q9 -40 1 -81q-12 -53 -56 -88t-97 -44q-10 -2 -17 -2q0 -49 -1 -73q20 15 38 19q26 7 61 2q28 28 51 16q14 -9 14 -37q33 -16 59 -34q27 13 38 4q10 -10 2 -38q28 -30 41 -51q23 8 31 -1zM1937 1025q0 -29 -9 -54q82 -32 112 -132 q4 37 -9.5 98.5t-41.5 90.5q-20 19 -36 17t-16 -20zM1859 925q35 -42 47.5 -108.5t-0.5 -124.5q67 13 97 45q13 14 18 28q-3 64 -31 114.5t-79 66.5q-15 -15 -52 -21zM1822 921q-30 0 -44 1q42 -115 53 -239q21 0 43 3q16 68 1 135t-53 100zM258 839q30 100 112 132 q-9 25 -9 54q0 18 -16.5 20t-35.5 -17q-28 -29 -41.5 -90.5t-9.5 -98.5zM294 737q29 -31 97 -45q-13 58 -0.5 124.5t47.5 108.5v0q-37 6 -52 21q-51 -16 -78.5 -66t-31.5 -115q9 -17 18 -28zM471 683q14 124 73 235q-19 -4 -55 -18l-45 -19v1q-46 -89 -20 -196q25 -3 47 -3z M1434 644q8 -38 16.5 -108.5t11.5 -89.5q3 -18 9.5 -21.5t23.5 4.5q40 20 62 85.5t23 125.5q-24 2 -146 4zM1152 1285q-116 0 -199 -82.5t-83 -198.5q0 -117 83 -199.5t199 -82.5t199 82.5t83 199.5q0 116 -83 198.5t-199 82.5zM1380 646q-106 2 -211 0v1q-1 -27 2.5 -86 t13.5 -66q29 -14 93.5 -14.5t95.5 10.5q9 3 11 39t-0.5 69.5t-4.5 46.5zM1112 447q8 4 9.5 48t-0.5 88t-4 63v1q-212 -3 -214 -3q-4 -20 -7 -62t0 -83t14 -46q34 -15 101 -16t101 10zM718 636q-16 -59 4.5 -118.5t77.5 -84.5q15 -8 24 -5t12 21q3 16 8 90t10 103 q-69 -2 -136 -6zM591 510q3 -23 -34 -36q132 -141 271.5 -240t305.5 -154q172 49 310.5 146t293.5 250q-33 13 -30 34l3 9v1v-1q-17 2 -50 5.5t-48 4.5q-26 -90 -82 -132q-51 -38 -82 1q-5 6 -9 14q-7 13 -17 62q-2 -5 -5 -9t-7.5 -7t-8 -5.5t-9.5 -4l-10 -2.5t-12 -2 l-12 -1.5t-13.5 -1t-13.5 -0.5q-106 -9 -163 11q-4 -17 -10 -26.5t-21 -15t-23 -7t-36 -3.5q-2 0 -3 -0.5t-3 -0.5h-3q-179 -17 -203 40q-2 -63 -56 -54q-47 8 -91 54q-12 13 -20 26q-17 29 -26 65q-58 -6 -87 -10q1 -2 4 -10zM507 -118q3 14 3 30q-17 71 -51 130t-73 70 q-41 12 -101.5 -14.5t-104.5 -80t-39 -107.5q35 -53 100 -93t119 -42q51 -2 94 28t53 79zM510 53q23 -63 27 -119q195 113 392 174q-98 52 -180.5 120t-179.5 165q-6 -4 -29 -13q0 -2 -1 -5t-1 -4q31 -18 22 -37q-12 -23 -56 -34q-10 -13 -29 -24h-1q-2 -83 1 -150 q19 -34 35 -73zM579 -113q532 -21 1145 0q-254 147 -428 196q-76 -35 -156 -57q-8 -3 -16 0q-65 21 -129 49q-208 -60 -416 -188h-1v-1q1 0 1 1zM1763 -67q4 54 28 120q14 38 33 71l-1 -1q3 77 3 153q-15 8 -30 25q-42 9 -56 33q-9 20 22 38q-2 4 -2 9q-16 4 -28 12 q-204 -190 -383 -284q198 -59 414 -176zM2155 -90q5 54 -39 107.5t-104 80t-102 14.5q-38 -11 -72.5 -70.5t-51.5 -129.5q0 -16 3 -30q10 -49 53 -79t94 -28q54 2 119 42t100 93z" /><glyph unicode="" horiz-adv-x="2304" d="M1524 -25q0 -68 -48 -116t-116 -48t-116.5 48t-48.5 116t48.5 116.5t116.5 48.5t116 -48.5t48 -116.5zM775 -25q0 -68 -48.5 -116t-116.5 -48t-116 48t-48 116t48 116.5t116 48.5t116.5 -48.5t48.5 -116.5zM0 1469q57 -60 110.5 -104.5t121 -82t136 -63t166 -45.5 t200 -31.5t250 -18.5t304 -9.5t372.5 -2.5q139 0 244.5 -5t181 -16.5t124 -27.5t71 -39.5t24 -51.5t-19.5 -64t-56.5 -76.5t-89.5 -91t-116 -104.5t-139 -119q-185 -157 -286 -247q29 51 76.5 109t94 105.5t94.5 98.5t83 91.5t54 80.5t13 70t-45.5 55.5t-116.5 41t-204 23.5 t-304 5q-168 -2 -314 6t-256 23t-204.5 41t-159.5 51.5t-122.5 62.5t-91.5 66.5t-68 71.5t-50.5 69.5t-40 68t-36.5 59.5z" />@@ -600,11 +600,11 @@<glyph unicode="" horiz-adv-x="1792" d="M949 643q0 -26 -16.5 -45t-41.5 -19q-26 0 -45 16.5t-19 41.5q0 26 17 45t42 19t44 -16.5t19 -41.5zM964 585l350 581q-9 -8 -67.5 -62.5t-125.5 -116.5t-136.5 -127t-117 -110.5t-50.5 -51.5l-349 -580q7 7 67 62t126 116.5t136 127t117 111t50 50.5zM1611 640 q0 -201 -104 -371q-3 2 -17 11t-26.5 16.5t-16.5 7.5q-13 0 -13 -13q0 -10 59 -44q-74 -112 -184.5 -190.5t-241.5 -110.5l-16 67q-1 10 -15 10q-5 0 -8 -5.5t-2 -9.5l16 -68q-72 -15 -146 -15q-199 0 -372 105q1 2 13 20.5t21.5 33.5t9.5 19q0 13 -13 13q-6 0 -17 -14.5 t-22.5 -34.5t-13.5 -23q-113 75 -192 187.5t-110 244.5l69 15q10 3 10 15q0 5 -5.5 8t-10.5 2l-68 -15q-14 72 -14 139q0 206 109 379q2 -1 18.5 -12t30 -19t17.5 -8q13 0 13 12q0 6 -12.5 15.5t-32.5 21.5l-20 12q77 112 189 189t244 107l15 -67q2 -10 15 -10q5 0 8 5.5 t2 10.5l-15 66q71 13 134 13q204 0 379 -109q-39 -56 -39 -65q0 -13 12 -13q11 0 48 64q111 -75 187.5 -186t107.5 -241l-56 -12q-10 -2 -10 -16q0 -5 5.5 -8t9.5 -2l57 13q14 -72 14 -140zM1696 640q0 163 -63.5 311t-170.5 255t-255 170.5t-311 63.5t-311 -63.5 t-255 -170.5t-170.5 -255t-63.5 -311t63.5 -311t170.5 -255t255 -170.5t311 -63.5t311 63.5t255 170.5t170.5 255t63.5 311zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71t286 -191 t191 -286t71 -348z" /><glyph unicode="" horiz-adv-x="1792" d="M893 1536q240 2 451 -120q232 -134 352 -372l-742 39q-160 9 -294 -74.5t-185 -229.5l-276 424q128 159 311 245.5t383 87.5zM146 1131l337 -663q72 -143 211 -217t293 -45l-230 -451q-212 33 -385 157.5t-272.5 316t-99.5 411.5q0 267 146 491zM1732 962 q58 -150 59.5 -310.5t-48.5 -306t-153 -272t-246 -209.5q-230 -133 -498 -119l405 623q88 131 82.5 290.5t-106.5 277.5zM896 942q125 0 213.5 -88.5t88.5 -213.5t-88.5 -213.5t-213.5 -88.5t-213.5 88.5t-88.5 213.5t88.5 213.5t213.5 88.5z" /><glyph unicode="" horiz-adv-x="1792" d="M903 -256q-283 0 -504.5 150.5t-329.5 398.5q-58 131 -67 301t26 332.5t111 312t179 242.5l-11 -281q11 14 68 15.5t70 -15.5q42 81 160.5 138t234.5 59q-54 -45 -119.5 -148.5t-58.5 -163.5q25 -8 62.5 -13.5t63 -7.5t68 -4t50.5 -3q15 -5 9.5 -45.5t-30.5 -75.5 q-5 -7 -16.5 -18.5t-56.5 -35.5t-101 -34l15 -189l-139 67q-18 -43 -7.5 -81.5t36 -66.5t65.5 -41.5t81 -6.5q51 9 98 34.5t83.5 45t73.5 17.5q61 -4 89.5 -33t19.5 -65q-1 -2 -2.5 -5.5t-8.5 -12.5t-18 -15.5t-31.5 -10.5t-46.5 -1q-60 -95 -144.5 -135.5t-209.5 -29.5 q74 -61 162.5 -82.5t168.5 -6t154.5 52t128 87.5t80.5 104q43 91 39 192.5t-37.5 188.5t-78.5 125q87 -38 137 -79.5t77 -112.5q15 170 -57.5 343t-209.5 284q265 -77 412 -279.5t151 -517.5q2 -127 -40.5 -255t-123.5 -238t-189 -196t-247.5 -135.5t-288.5 -49.5z" />-<glyph unicode="" d="M768 -92q77 0 139.5 63t100.5 166t59 234.5t21 268.5t-21 268.5t-59 234.5t-100.5 166t-139.5 63t-139.5 -63t-100.5 -166t-59 -234.5t-21 -268.5t21 -268.5t59 -234.5t100.5 -166t139.5 -63zM768 -256q-184 0 -333 77t-240 203t-141 287t-50 329t50 329t141 287t240 203 t333 77q148 0 274 -50t214.5 -136t151.5 -201t92.5 -244t29.5 -265t-29.5 -265t-92.5 -244t-151.5 -201t-214.5 -136t-274 -50z" />-<glyph unicode="" horiz-adv-x="1792" d="M716 -69q-143 35 -261.5 114t-197.5 191q-139 -300 -17 -398q26 -21 85 -24.5t127.5 9.5t141 41.5t122.5 66.5zM693 762h452q0 108 -61.5 169t-168.5 61q-103 0 -162.5 -62.5t-59.5 -167.5zM1724 1137h-34q26 102 22.5 170t-25 110t-63.5 57t-93.5 11t-115 -26.5 t-128.5 -56.5t-134 -79q129 -37 238.5 -113.5t185 -179t110 -231.5t15.5 -262h-1005q0 -60 10 -106t34 -85t69.5 -60t112.5 -21q87 0 142.5 44t72.5 122h540q-71 -230 -281.5 -377t-477.5 -147q-83 0 -159 15q-35 -40 -151 -94t-248 -78t-219 35q-78 60 -100 159t7 214 t88 242t143.5 248t173.5 226.5t177.5 183.5t156.5 112v24q-120 -37 -258.5 -137.5t-240.5 -207t-159 -195.5q4 106 34 201t80 169t118 135.5t147.5 100.5t168 65.5t180.5 29.5t185 -8q310 186 503 189h7q57 0 103 -18q80 -30 98 -132.5t-30 -248.5z" />+<glyph unicode="" horiz-adv-x="1792" d="M1493 1308q-165 110 -359 110q-155 0 -293 -73t-240 -200q-75 -93 -119.5 -218t-48.5 -266v-42q4 -141 48.5 -266t119.5 -218q102 -127 240 -200t293 -73q194 0 359 110q-121 -108 -274.5 -168t-322.5 -60q-29 0 -43 1q-175 8 -333 82t-272 193t-181 281t-67 339 q0 182 71 348t191 286t286 191t348 71h3q168 -1 320.5 -60.5t273.5 -167.5zM1792 640q0 -192 -77 -362.5t-213 -296.5q-104 -63 -222 -63q-137 0 -255 84q154 56 253.5 233t99.5 405q0 227 -99 404t-253 234q119 83 254 83q119 0 226 -65q135 -125 210.5 -295t75.5 -361z " />+<glyph unicode="" horiz-adv-x="1792" d="M1792 599q0 -56 -7 -104h-1151q0 -146 109.5 -244.5t257.5 -98.5q99 0 185.5 46.5t136.5 130.5h423q-56 -159 -170.5 -281t-267.5 -188.5t-321 -66.5q-187 0 -356 83q-228 -116 -394 -116q-237 0 -237 263q0 115 45 275q17 60 109 229q199 360 475 606 q-184 -79 -427 -354q63 274 283.5 449.5t501.5 175.5q30 0 45 -1q255 117 433 117q64 0 116 -13t94.5 -40.5t66.5 -76.5t24 -115q0 -116 -75 -286q101 -182 101 -390zM1722 1239q0 83 -53 132t-137 49q-108 0 -254 -70q121 -47 222.5 -131.5t170.5 -195.5q51 135 51 216z M128 2q0 -86 48.5 -132.5t134.5 -46.5q115 0 266 83q-122 72 -213.5 183t-137.5 245q-98 -205 -98 -332zM632 715h728q-5 142 -113 237t-251 95q-144 0 -251.5 -95t-112.5 -237z" /><glyph unicode="" horiz-adv-x="2048" d="M1792 288v960q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5zM1920 1248v-960q0 -66 -47 -113t-113 -47h-736v-128h352q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23 v64q0 14 9 23t23 9h352v128h-736q-66 0 -113 47t-47 113v960q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" /><glyph unicode="" horiz-adv-x="1792" d="M138 1408h197q-70 -64 -126 -149q-36 -56 -59 -115t-30 -125.5t-8.5 -120t10.5 -132t21 -126t28 -136.5q4 -19 6 -28q51 -238 81 -329q57 -171 152 -275h-272q-48 0 -82 34t-34 82v1304q0 48 34 82t82 34zM1346 1408h308q48 0 82 -34t34 -82v-1304q0 -48 -34 -82t-82 -34 h-178q212 210 196 565l-469 -101q-2 -45 -12 -82t-31 -72t-59.5 -59.5t-93.5 -36.5q-123 -26 -199 40q-32 27 -53 61t-51.5 129t-64.5 258q-35 163 -45.5 263t-5.5 139t23 77q20 41 62.5 73t102.5 45q45 12 83.5 6.5t67 -17t54 -35t43 -48t34.5 -56.5l468 100 q-68 175 -180 287z" />-<glyph unicode="" horiz-adv-x="2304" d="M1391 390v0l-1 1q-15 18 -34.5 37.5t-62.5 57.5t-93.5 62t-95.5 24q-48 0 -83 -21.5t-51 -54t-23 -59t-7 -47.5v0v0q0 -21 7 -48t23 -59t51 -53.5t83 -21.5q45 0 95.5 24t94 62.5t62 57t34.5 37.5zM2103 390q0 21 -7 47.5t-23 59t-51 54t-83 21.5q-45 0 -95.5 -24 t-94 -62.5t-62 -57t-34.5 -37.5l-1 -1v0v0l1 -1q15 -18 34.5 -37.5t62.5 -57.5t93.5 -62t95.5 -24q48 0 83 21.5t51 53.5t23 59t7 48zM2304 393q0 -69 -24 -137.5t-68 -126t-116 -93.5t-159 -36q-68 0 -134 24t-113.5 58.5t-84.5 69.5t-59.5 59t-25.5 24t-22.5 -24 t-54.5 -58.5t-81.5 -69.5t-115 -59t-143.5 -24q-65 0 -123.5 22.5t-96.5 54t-66.5 66.5t-41 59.5t-12.5 32.5q0 -8 -8.5 -26.5t-25 -45.5t-47 -55t-69 -52.5t-96.5 -40t-125 -15.5q-71 0 -130 15.5t-98.5 39.5t-70.5 56.5t-48 63.5t-27.5 63.5t-14 54t-3.5 36.5h217 q0 -55 49 -107.5t126 -52.5q79 0 134.5 67t55.5 148q0 80 -52 136.5t-138 56.5q-5 0 -13 -0.5t-31 -5t-43 -12t-42 -24.5t-34 -40h-195l102 583h602v-174h-445q-27 -159 -41 -248q4 0 16.5 13t31.5 28.5t65 28.5t108 13t114 -20.5t82.5 -49.5t51.5 -58.5t31 -50t11 -20.5 t13 25t36.5 60.5t60.5 71.5t97 61t133 25t140.5 -25t115.5 -60.5t83.5 -71.5t56.5 -61t21 -25q2 0 22 25t56 60.5t83.5 71.5t115.5 61t140 25q92 0 164.5 -35t115.5 -93t65 -125t22 -137z" />+<glyph unicode="" d="M1401 -11l-6 -6q-113 -114 -259 -175q-154 -64 -317 -64q-165 0 -317 64q-148 63 -259 175q-113 112 -175 258q-42 103 -54 189q-4 28 48 36q51 8 56 -20q1 -1 1 -4q18 -90 46 -159q50 -124 152 -226q98 -98 226 -152q132 -56 276 -56q143 0 276 56q128 55 225 152l6 6 q10 10 25 6q12 -3 33 -22q36 -37 17 -58zM929 604l-66 -66l63 -63q21 -21 -7 -49q-17 -17 -32 -17q-10 0 -19 10l-62 61l-66 -66q-5 -5 -15 -5q-15 0 -31 16l-2 2q-18 15 -18 29q0 7 8 17l66 65l-66 66q-16 16 14 45q18 18 31 18q6 0 13 -5l65 -66l65 65q18 17 48 -13 q27 -27 11 -44zM1400 547q0 -118 -46 -228q-45 -105 -126 -186q-80 -80 -187 -126t-228 -46t-228 46t-187 126q-82 82 -125 186q-15 32 -15 40h-1q-9 27 43 44q50 16 60 -12q37 -99 97 -167h1v339v2q3 136 102 232q105 103 253 103q147 0 251 -103t104 -249 q0 -147 -104.5 -251t-250.5 -104q-58 0 -112 16q-28 11 -13 61q16 51 44 43l14 -3q14 -3 32.5 -6t30.5 -3q104 0 176 71.5t72 174.5q0 101 -72 171q-71 71 -175 71q-107 0 -178 -80q-64 -72 -64 -160v-413q110 -67 242 -67q96 0 185 36.5t156 103.5t103.5 155t36.5 183 q0 198 -141 339q-140 140 -339 140q-200 0 -340 -140q-53 -53 -77 -87l-2 -2q-8 -11 -13 -15.5t-21.5 -9.5t-38.5 3q-21 5 -36.5 16.5t-15.5 26.5v680q0 15 10.5 26.5t27.5 11.5h877q30 0 30 -55t-30 -55h-811v-483h1q40 42 102 84t108 61q109 46 231 46q121 0 228 -46 t187 -126q81 -81 126 -186q46 -112 46 -229zM1369 1128q9 -8 9 -18t-5.5 -18t-16.5 -21q-26 -26 -39 -26q-9 0 -16 7q-106 91 -207 133q-128 56 -276 56q-133 0 -262 -49q-27 -10 -45 37q-9 25 -8 38q3 16 16 20q130 57 299 57q164 0 316 -64q137 -58 235 -152z" /><glyph unicode="" horiz-adv-x="1792" d="M1551 60q15 6 26 3t11 -17.5t-15 -33.5q-13 -16 -44 -43.5t-95.5 -68t-141 -74t-188 -58t-229.5 -24.5q-119 0 -238 31t-209 76.5t-172.5 104t-132.5 105t-84 87.5q-8 9 -10 16.5t1 12t8 7t11.5 2t11.5 -4.5q192 -117 300 -166q389 -176 799 -90q190 40 391 135z M1758 175q11 -16 2.5 -69.5t-28.5 -102.5q-34 -83 -85 -124q-17 -14 -26 -9t0 24q21 45 44.5 121.5t6.5 98.5q-5 7 -15.5 11.5t-27 6t-29.5 2.5t-35 0t-31.5 -2t-31 -3t-22.5 -2q-6 -1 -13 -1.5t-11 -1t-8.5 -1t-7 -0.5h-5.5h-4.5t-3 0.5t-2 1.5l-1.5 3q-6 16 47 40t103 30 q46 7 108 1t76 -24zM1364 618q0 -31 13.5 -64t32 -58t37.5 -46t33 -32l13 -11l-227 -224q-40 37 -79 75.5t-58 58.5l-19 20q-11 11 -25 33q-38 -59 -97.5 -102.5t-127.5 -63.5t-140 -23t-137.5 21t-117.5 65.5t-83 113t-31 162.5q0 84 28 154t72 116.5t106.5 83t122.5 57 t130 34.5t119.5 18.5t99.5 6.5v127q0 65 -21 97q-34 53 -121 53q-6 0 -16.5 -1t-40.5 -12t-56 -29.5t-56 -59.5t-48 -96l-294 27q0 60 22 119t67 113t108 95t151.5 65.5t190.5 24.5q100 0 181 -25t129.5 -61.5t81 -83t45 -86t12.5 -73.5v-589zM692 597q0 -86 70 -133 q66 -44 139 -22q84 25 114 123q14 45 14 101v162q-59 -2 -111 -12t-106.5 -33.5t-87 -71t-32.5 -114.5z" /><glyph unicode="" horiz-adv-x="1792" d="M1536 1280q52 0 90 -38t38 -90v-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 47h64q66 0 113 -47t47 -113v-96h128zM1152 1376v-288q0 -14 9 -23t23 -9 h64q14 0 23 9t9 23v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM384 1376v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM1536 -128v1024h-1408v-1024h1408zM896 448h224q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-224 v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-224q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v224q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-224z" /><glyph unicode="" horiz-adv-x="1792" d="M1152 416v-64q0 -14 -9 -23t-23 -9h-576q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h576q14 0 23 -9t9 -23zM128 -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 23 t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1664 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 47h64q66 0 113 -47 t47 -113v-96h128q52 0 90 -38t38 -90z" />@@ -621,20 +621,35 @@<glyph unicode="" horiz-adv-x="1792" d="M1709 1018q-10 -236 -332 -651q-333 -431 -562 -431q-142 0 -240 263q-44 160 -132 482q-72 262 -157 262q-18 0 -127 -76l-77 98q24 21 108 96.5t130 115.5q156 138 241 146q95 9 153 -55.5t81 -203.5q44 -287 66 -373q55 -249 120 -249q51 0 154 161q101 161 109 246 q13 139 -109 139q-57 0 -121 -26q120 393 459 382q251 -8 236 -326z" /><glyph unicode="" d="M0 1408h1536v-1536h-1536v1536zM1085 293l-221 631l221 297h-634l221 -297l-221 -631l317 -304z" /><glyph unicode="" d="M0 1408h1536v-1536h-1536v1536zM908 1088l-12 -33l75 -83l-31 -114l25 -25l107 57l107 -57l25 25l-31 114l75 83l-12 33h-95l-53 96h-32l-53 -96h-95zM641 925q32 0 44.5 -16t11.5 -63l174 21q0 55 -17.5 92.5t-50.5 56t-69 25.5t-85 7q-133 0 -199 -57.5t-66 -182.5v-72 h-96v-128h76q20 0 20 -8v-382q0 -14 -5 -20t-18 -7l-73 -7v-88h448v86l-149 14q-6 1 -8.5 1.5t-3.5 2.5t-0.5 4t1 7t0.5 10v387h191l38 128h-231q-6 0 -2 6t4 9v80q0 27 1.5 40.5t7.5 28t19.5 20t36.5 5.5zM1248 96v86l-54 9q-7 1 -9.5 2.5t-2.5 3t1 7.5t1 12v520h-275 l-23 -101l83 -22q23 -7 23 -27v-370q0 -14 -6 -18.5t-20 -6.5l-70 -9v-86h352z" />-<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="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="1792" />-<glyph unicode="" horiz-adv-x="1792" />+<glyph unicode="" horiz-adv-x="1792" d="M1792 690q0 -58 -29.5 -105.5t-79.5 -72.5q12 -46 12 -96q0 -155 -106.5 -287t-290.5 -208.5t-400 -76.5t-399.5 76.5t-290 208.5t-106.5 287q0 47 11 94q-51 25 -82 73.5t-31 106.5q0 82 58 140.5t141 58.5q85 0 145 -63q218 152 515 162l116 521q3 13 15 21t26 5 l369 -81q18 37 54 59.5t79 22.5q62 0 106 -43.5t44 -105.5t-44 -106t-106 -44t-105.5 43.5t-43.5 105.5l-334 74l-104 -472q300 -9 519 -160q58 61 143 61q83 0 141 -58.5t58 -140.5zM418 491q0 -62 43.5 -106t105.5 -44t106 44t44 106t-44 105.5t-106 43.5q-61 0 -105 -44 t-44 -105zM1228 136q11 11 11 26t-11 26q-10 10 -25 10t-26 -10q-41 -42 -121 -62t-160 -20t-160 20t-121 62q-11 10 -26 10t-25 -10q-11 -10 -11 -25.5t11 -26.5q43 -43 118.5 -68t122.5 -29.5t91 -4.5t91 4.5t122.5 29.5t118.5 68zM1225 341q62 0 105.5 44t43.5 106 q0 61 -44 105t-105 44q-62 0 -106 -43.5t-44 -105.5t44 -106t106 -44z" />+<glyph unicode="" horiz-adv-x="1792" d="M69 741h1q16 126 58.5 241.5t115 217t167.5 176t223.5 117.5t276.5 43q231 0 414 -105.5t294 -303.5q104 -187 104 -442v-188h-1125q1 -111 53.5 -192.5t136.5 -122.5t189.5 -57t213 -3t208 46.5t173.5 84.5v-377q-92 -55 -229.5 -92t-312.5 -38t-316 53 q-189 73 -311.5 249t-124.5 372q-3 242 111 412t325 268q-48 -60 -78 -125.5t-46 -159.5h635q8 77 -8 140t-47 101.5t-70.5 66.5t-80.5 41t-75 20.5t-56 8.5l-22 1q-135 -5 -259.5 -44.5t-223.5 -104.5t-176 -140.5t-138 -163.5z" />+<glyph unicode="" horiz-adv-x="2304" d="M0 32v608h2304v-608q0 -66 -47 -113t-113 -47h-1984q-66 0 -113 47t-47 113zM640 256v-128h384v128h-384zM256 256v-128h256v128h-256zM2144 1408q66 0 113 -47t47 -113v-224h-2304v224q0 66 47 113t113 47h1984z" />+<glyph unicode="" horiz-adv-x="1792" d="M1549 857q55 0 85.5 -28.5t30.5 -83.5t-34 -82t-91 -27h-136v-177h-25v398h170zM1710 267l-4 -11l-5 -10q-113 -230 -330.5 -366t-474.5 -136q-182 0 -348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71q244 0 454.5 -124t329.5 -338l2 -4l8 -16 q-30 -15 -136.5 -68.5t-163.5 -84.5q-6 -3 -479 -268q384 -183 799 -366zM896 -234q250 0 462.5 132.5t322.5 357.5l-287 129q-72 -140 -206 -222t-292 -82q-151 0 -280 75t-204 204t-75 280t75 280t204 204t280 75t280 -73.5t204 -204.5l280 143q-116 208 -321 329 t-443 121q-119 0 -232.5 -31.5t-209 -87.5t-176.5 -137t-137 -176.5t-87.5 -209t-31.5 -232.5t31.5 -232.5t87.5 -209t137 -176.5t176.5 -137t209 -87.5t232.5 -31.5z" />+<glyph unicode="" horiz-adv-x="1792" d="M1427 827l-614 386l92 151h855zM405 562l-184 116v858l1183 -743zM1424 697l147 -95v-858l-532 335zM1387 718l-500 -802h-855l356 571z" />+<glyph unicode="" horiz-adv-x="1792" d="M640 528v224q0 16 -16 16h-96q-16 0 -16 -16v-224q0 -16 16 -16h96q16 0 16 16zM1152 528v224q0 16 -16 16h-96q-16 0 -16 -16v-224q0 -16 16 -16h96q16 0 16 16zM1664 496v-752h-640v320q0 80 -56 136t-136 56t-136 -56t-56 -136v-320h-640v752q0 16 16 16h96 q16 0 16 -16v-112h128v624q0 16 16 16h96q16 0 16 -16v-112h128v112q0 16 16 16h96q16 0 16 -16v-112h128v112q0 16 16 16h16v393q-32 19 -32 55q0 26 19 45t45 19t45 -19t19 -45q0 -36 -32 -55v-9h272q16 0 16 -16v-224q0 -16 -16 -16h-272v-128h16q16 0 16 -16v-112h128 v112q0 16 16 16h96q16 0 16 -16v-112h128v112q0 16 16 16h96q16 0 16 -16v-624h128v112q0 16 16 16h96q16 0 16 -16z" />+<glyph unicode="" horiz-adv-x="2304" d="M2288 731q16 -8 16 -27t-16 -27l-320 -192q-8 -5 -16 -5q-9 0 -16 4q-16 10 -16 28v128h-858q37 -58 83 -165q16 -37 24.5 -55t24 -49t27 -47t27 -34t31.5 -26t33 -8h96v96q0 14 9 23t23 9h320q14 0 23 -9t9 -23v-320q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v96h-96 q-32 0 -61 10t-51 23.5t-45 40.5t-37 46t-33.5 57t-28.5 57.5t-28 60.5q-23 53 -37 81.5t-36 65t-44.5 53.5t-46.5 17h-360q-22 -84 -91 -138t-157 -54q-106 0 -181 75t-75 181t75 181t181 75q88 0 157 -54t91 -138h104q24 0 46.5 17t44.5 53.5t36 65t37 81.5q19 41 28 60.5 t28.5 57.5t33.5 57t37 46t45 40.5t51 23.5t61 10h107q21 57 70 92.5t111 35.5q80 0 136 -56t56 -136t-56 -136t-136 -56q-62 0 -111 35.5t-70 92.5h-107q-17 0 -33 -8t-31.5 -26t-27 -34t-27 -47t-24 -49t-24.5 -55q-46 -107 -83 -165h1114v128q0 18 16 28t32 -1z" />+<glyph unicode="" horiz-adv-x="1792" d="M1150 774q0 -56 -39.5 -95t-95.5 -39h-253v269h253q56 0 95.5 -39.5t39.5 -95.5zM1329 774q0 130 -91.5 222t-222.5 92h-433v-896h180v269h253q130 0 222 91.5t92 221.5zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348 t71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />+<glyph unicode="" horiz-adv-x="2304" d="M1645 438q0 59 -34 106.5t-87 68.5q-7 -45 -23 -92q-7 -24 -27.5 -38t-44.5 -14q-12 0 -24 3q-31 10 -45 38.5t-4 58.5q23 71 23 143q0 123 -61 227.5t-166 165.5t-228 61q-134 0 -247 -73t-167 -194q108 -28 188 -106q22 -23 22 -55t-22 -54t-54 -22t-55 22 q-75 75 -180 75q-106 0 -181 -74.5t-75 -180.5t75 -180.5t181 -74.5h1046q79 0 134.5 55.5t55.5 133.5zM1798 438q0 -142 -100.5 -242t-242.5 -100h-1046q-169 0 -289 119.5t-120 288.5q0 153 100 267t249 136q62 184 221 298t354 114q235 0 408.5 -158.5t196.5 -389.5 q116 -25 192.5 -118.5t76.5 -214.5zM2048 438q0 -175 -97 -319q-23 -33 -64 -33q-24 0 -43 13q-26 17 -32 48.5t12 57.5q71 104 71 233t-71 233q-18 26 -12 57t32 49t57.5 11.5t49.5 -32.5q97 -142 97 -318zM2304 438q0 -244 -134 -443q-23 -34 -64 -34q-23 0 -42 13 q-26 18 -32.5 49t11.5 57q108 164 108 358q0 195 -108 357q-18 26 -11.5 57.5t32.5 48.5q26 18 57 12t49 -33q134 -198 134 -442z" />+<glyph unicode="" d="M1500 -13q0 -89 -63 -152.5t-153 -63.5t-153.5 63.5t-63.5 152.5q0 90 63.5 153.5t153.5 63.5t153 -63.5t63 -153.5zM1267 268q-115 -15 -192.5 -102.5t-77.5 -205.5q0 -74 33 -138q-146 -78 -379 -78q-109 0 -201 21t-153.5 54.5t-110.5 76.5t-76 85t-44.5 83 t-23.5 66.5t-6 39.5q0 19 4.5 42.5t18.5 56t36.5 58t64 43.5t94.5 18t94 -17.5t63 -41t35.5 -53t17.5 -49t4 -33.5q0 -34 -23 -81q28 -27 82 -42t93 -17l40 -1q115 0 190 51t75 133q0 26 -9 48.5t-31.5 44.5t-49.5 41t-74 44t-93.5 47.5t-119.5 56.5q-28 13 -43 20 q-116 55 -187 100t-122.5 102t-72 125.5t-20.5 162.5q0 78 20.5 150t66 137.5t112.5 114t166.5 77t221.5 28.5q120 0 220 -26t164.5 -67t109.5 -94t64 -105.5t19 -103.5q0 -46 -15 -82.5t-36.5 -58t-48.5 -36t-49 -19.5t-39 -5h-8h-32t-39 5t-44 14t-41 28t-37 46t-24 70.5 t-10 97.5q-15 16 -59 25.5t-81 10.5l-37 1q-68 0 -117.5 -31t-70.5 -70t-21 -76q0 -24 5 -43t24 -46t53 -51t97 -53.5t150 -58.5q76 -25 138.5 -53.5t109 -55.5t83 -59t60.5 -59.5t41 -62.5t26.5 -62t14.5 -63.5t6 -62t1 -62.5z" />+<glyph unicode="" d="M704 352v576q0 14 -9 23t-23 9h-256q-14 0 -23 -9t-9 -23v-576q0 -14 9 -23t23 -9h256q14 0 23 9t9 23zM1152 352v576q0 14 -9 23t-23 9h-256q-14 0 -23 -9t-9 -23v-576q0 -14 9 -23t23 -9h256q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103 t-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 103zM768 96q148 0 273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273 t73 -273t198 -198t273 -73zM864 320q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-192zM480 320q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-192z" />+<glyph unicode="" d="M1088 352v576q0 14 -9 23t-23 9h-576q-14 0 -23 -9t-9 -23v-576q0 -14 9 -23t23 -9h576q14 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.5 t103 -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 103zM768 96q148 0 273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273 t73 -273t198 -198t273 -73zM480 320q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h576q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-576z" />+<glyph unicode="" horiz-adv-x="1792" d="M1757 128l35 -313q3 -28 -16 -50q-19 -21 -48 -21h-1664q-29 0 -48 21q-19 22 -16 50l35 313h1722zM1664 967l86 -775h-1708l86 775q3 24 21 40.5t43 16.5h256v-128q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5v128h384v-128q0 -53 37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5v128h256q25 0 43 -16.5t21 -40.5zM1280 1152v-256q0 -26 -19 -45t-45 -19t-45 19t-19 45v256q0 106 -75 181t-181 75t-181 -75t-75 -181v-256q0 -26 -19 -45t-45 -19t-45 19t-19 45v256q0 159 112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" />+<glyph unicode="" horiz-adv-x="2048" d="M1920 768q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5h-15l-115 -662q-8 -46 -44 -76t-82 -30h-1280q-46 0 -82 30t-44 76l-115 662h-15q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5h1792zM485 -32q26 2 43.5 22.5t15.5 46.5l-32 416q-2 26 -22.5 43.5 t-46.5 15.5t-43.5 -22.5t-15.5 -46.5l32 -416q2 -25 20.5 -42t43.5 -17h5zM896 32v416q0 26 -19 45t-45 19t-45 -19t-19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45zM1280 32v416q0 26 -19 45t-45 19t-45 -19t-19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45zM1632 27l32 416 q2 26 -15.5 46.5t-43.5 22.5t-46.5 -15.5t-22.5 -43.5l-32 -416q-2 -26 15.5 -46.5t43.5 -22.5h5q25 0 43.5 17t20.5 42zM476 1244l-93 -412h-132l101 441q19 88 89 143.5t160 55.5h167q0 26 19 45t45 19h384q26 0 45 -19t19 -45h167q90 0 160 -55.5t89 -143.5l101 -441 h-132l-93 412q-11 44 -45.5 72t-79.5 28h-167q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45h-167q-45 0 -79.5 -28t-45.5 -72z" />+<glyph unicode="" horiz-adv-x="1792" d="M991 512l64 256h-254l-64 -256h254zM1759 1016l-56 -224q-7 -24 -31 -24h-327l-64 -256h311q15 0 25 -12q10 -14 6 -28l-56 -224q-5 -24 -31 -24h-327l-81 -328q-7 -24 -31 -24h-224q-16 0 -26 12q-9 12 -6 28l78 312h-254l-81 -328q-7 -24 -31 -24h-225q-15 0 -25 12 q-9 12 -6 28l78 312h-311q-15 0 -25 12q-9 12 -6 28l56 224q7 24 31 24h327l64 256h-311q-15 0 -25 12q-10 14 -6 28l56 224q5 24 31 24h327l81 328q7 24 32 24h224q15 0 25 -12q9 -12 6 -28l-78 -312h254l81 328q7 24 32 24h224q15 0 25 -12q9 -12 6 -28l-78 -312h311 q15 0 25 -12q9 -12 6 -28z" />+<glyph unicode="" d="M841 483l148 -148l-149 -149zM840 1094l149 -149l-148 -148zM710 -130l464 464l-306 306l306 306l-464 464v-611l-255 255l-93 -93l320 -321l-320 -321l93 -93l255 255v-611zM1429 640q0 -209 -32 -365.5t-87.5 -257t-140.5 -162.5t-181.5 -86.5t-219.5 -24.5 t-219.5 24.5t-181.5 86.5t-140.5 162.5t-87.5 257t-32 365.5t32 365.5t87.5 257t140.5 162.5t181.5 86.5t219.5 24.5t219.5 -24.5t181.5 -86.5t140.5 -162.5t87.5 -257t32 -365.5z" />+<glyph unicode="" horiz-adv-x="1024" d="M596 113l173 172l-173 172v-344zM596 823l173 172l-173 172v-344zM628 640l356 -356l-539 -540v711l-297 -296l-108 108l372 373l-372 373l108 108l297 -296v711l539 -540z" />+<glyph unicode="" d="M1280 256q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM512 1024q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM1536 256q0 -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.5 t112.5 -271.5zM1440 1344q0 -20 -13 -38l-1056 -1408q-19 -26 -51 -26h-160q-26 0 -45 19t-19 45q0 20 13 38l1056 1408q19 26 51 26h160q26 0 45 -19t19 -45zM768 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="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="1792" />+<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/data/libs/font-awesome/fonts/fontawesome-webfont.ttf b/data/libs/fontawesome/fonts/fontawesome-webfont.ttfsimilarity index 85%rename from data/libs/font-awesome/fonts/fontawesome-webfont.ttfrename to data/libs/fontawesome/fonts/fontawesome-webfont.ttfindex d7994e130..26dea7951 100644Binary files a/data/libs/font-awesome/fonts/fontawesome-webfont.ttf and b/data/libs/fontawesome/fonts/fontawesome-webfont.ttf differdiff --git a/data/libs/fontawesome/fonts/fontawesome-webfont.woff b/data/libs/fontawesome/fonts/fontawesome-webfont.woffnew file mode 100644index 000000000..dc35ce3c2Binary files /dev/null and b/data/libs/fontawesome/fonts/fontawesome-webfont.woff differdiff --git a/data/libs/fontawesome/fonts/fontawesome-webfont.woff2 b/data/libs/fontawesome/fonts/fontawesome-webfont.woff2new file mode 100644index 000000000..500e51725Binary files /dev/null and b/data/libs/fontawesome/fonts/fontawesome-webfont.woff2 differdiff --git a/data/libs/hammerjs/jquery.hammer.min.js b/data/libs/hammerjs/jquery.hammer.min.jsdeleted file mode 100644index 307246931..000000000--- a/data/libs/hammerjs/jquery.hammer.min.js+++ /dev/null@@ -1,8 +0,0 @@-/*! jQuery plugin for Hammer.JS - v1.1.3 - 2014-05-20- * http://eightmedia.github.com/hammer.js- *- * Copyright (c) 2014 Jorik Tangelder <[email protected]>;- * Licensed under the MIT license */--!function(a,b){"use strict";function c(){e.READY||(t.determineEventTypes(),s.each(e.gestures,function(a){v.register(a)}),t.onTouch(e.DOCUMENT,o,v.detect),t.onTouch(e.DOCUMENT,p,v.detect),e.READY=!0)}function d(a,c){Date.now||(Date.now=function(){return(new Date).getTime()}),a.utils.each(["on","off"],function(d){a.utils[d]=function(a,e,f){c(a)[d](e,function(a){var d=c.extend({},a.originalEvent,a);d.button===b&&(d.button=a.which-1),f.call(this,d)})}}),a.Instance.prototype.trigger=function(a,b){var d=c(this.element);return d.has(b.target).length&&(d=c(b.target)),d.trigger({type:a,gesture:b})},c.fn.hammer=function(b){return this.each(function(){var d=c(this),e=d.data("hammer");e?e&&b&&a.utils.extend(e.options,b):d.data("hammer",new a(this,b||{}))})}}var e=function w(a,b){return new w.Instance(a,b||{})};e.VERSION="1.1.3",e.defaults={behavior:{userSelect:"none",touchAction:"pan-y",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},e.DOCUMENT=document,e.HAS_POINTEREVENTS=navigator.pointerEnabled||navigator.msPointerEnabled,e.HAS_TOUCHEVENTS="ontouchstart"in a,e.IS_MOBILE=/mobile|tablet|ip(ad|hone|od)|android|silk/i.test(navigator.userAgent),e.NO_MOUSEEVENTS=e.HAS_TOUCHEVENTS&&e.IS_MOBILE||e.HAS_POINTEREVENTS,e.CALCULATE_INTERVAL=25;var f={},g=e.DIRECTION_DOWN="down",h=e.DIRECTION_LEFT="left",i=e.DIRECTION_UP="up",j=e.DIRECTION_RIGHT="right",k=e.POINTER_MOUSE="mouse",l=e.POINTER_TOUCH="touch",m=e.POINTER_PEN="pen",n=e.EVENT_START="start",o=e.EVENT_MOVE="move",p=e.EVENT_END="end",q=e.EVENT_RELEASE="release",r=e.EVENT_TOUCH="touch";e.READY=!1,e.plugins=e.plugins||{},e.gestures=e.gestures||{};var s=e.utils={extend:function(a,c,d){for(var e in c)!c.hasOwnProperty(e)||a[e]!==b&&d||(a[e]=c[e]);return a},on:function(a,b,c){a.addEventListener(b,c,!1)},off:function(a,b,c){a.removeEventListener(b,c,!1)},each:function(a,c,d){var e,f;if("forEach"in a)a.forEach(c,d);else if(a.length!==b){for(e=0,f=a.length;f>e;e++)if(c.call(d,a[e],e,a)===!1)return}else for(e in a)if(a.hasOwnProperty(e)&&c.call(d,a[e],e,a)===!1)return},inStr:function(a,b){return a.indexOf(b)>-1},inArray:function(a,b){if(a.indexOf){var c=a.indexOf(b);return-1===c?!1:c}for(var d=0,e=a.length;e>d;d++)if(a[d]===b)return d;return!1},toArray:function(a){return Array.prototype.slice.call(a,0)},hasParent:function(a,b){for(;a;){if(a==b)return!0;a=a.parentNode}return!1},getCenter:function(a){var b=[],c=[],d=[],e=[],f=Math.min,g=Math.max;return 1===a.length?{pageX:a[0].pageX,pageY:a[0].pageY,clientX:a[0].clientX,clientY:a[0].clientY}:(s.each(a,function(a){b.push(a.pageX),c.push(a.pageY),d.push(a.clientX),e.push(a.clientY)}),{pageX:(f.apply(Math,b)+g.apply(Math,b))/2,pageY:(f.apply(Math,c)+g.apply(Math,c))/2,clientX:(f.apply(Math,d)+g.apply(Math,d))/2,clientY:(f.apply(Math,e)+g.apply(Math,e))/2})},getVelocity:function(a,b,c){return{x:Math.abs(b/a)||0,y:Math.abs(c/a)||0}},getAngle:function(a,b){var c=b.clientX-a.clientX,d=b.clientY-a.clientY;return 180*Math.atan2(d,c)/Math.PI},getDirection:function(a,b){var c=Math.abs(a.clientX-b.clientX),d=Math.abs(a.clientY-b.clientY);return c>=d?a.clientX-b.clientX>0?h:j:a.clientY-b.clientY>0?i:g},getDistance:function(a,b){var c=b.clientX-a.clientX,d=b.clientY-a.clientY;return Math.sqrt(c*c+d*d)},getScale:function(a,b){return a.length>=2&&b.length>=2?this.getDistance(b[0],b[1])/this.getDistance(a[0],a[1]):1},getRotation:function(a,b){return a.length>=2&&b.length>=2?this.getAngle(b[1],b[0])-this.getAngle(a[1],a[0]):0},isVertical:function(a){return a==i||a==g},setPrefixedCss:function(a,b,c,d){var e=["","Webkit","Moz","O","ms"];b=s.toCamelCase(b);for(var f=0;f<e.length;f++){var g=b;if(e[f]&&(g=e[f]+g.slice(0,1).toUpperCase()+g.slice(1)),g in a.style){a.style[g]=(null==d||d)&&c||"";break}}},toggleBehavior:function(a,b,c){if(b&&a&&a.style){s.each(b,function(b,d){s.setPrefixedCss(a,d,b,c)});var d=c&&function(){return!1};"none"==b.userSelect&&(a.onselectstart=d),"none"==b.userDrag&&(a.ondragstart=d)}},toCamelCase:function(a){return a.replace(/[_-]([a-z])/g,function(a){return a[1].toUpperCase()})}};e.Instance=function(a,b){var d=this;c(),this.element=a,this.enabled=!0,s.each(b,function(a,c){delete b[c],b[s.toCamelCase(c)]=a}),this.options=s.extend(s.extend({},e.defaults),b||{}),this.options.behavior&&s.toggleBehavior(this.element,this.options.behavior,!0),this.eventStartHandler=t.onTouch(a,n,function(a){d.enabled&&a.eventType==n?v.startDetect(d,a):a.eventType==r&&v.detect(a)}),this.eventHandlers=[]},e.Instance.prototype={on:function(a,b){var c=this;return t.on(c.element,a,b,function(a){c.eventHandlers.push({gesture:a,handler:b})}),c},off:function(a,b){var c=this;return t.off(c.element,a,b,function(a){var d=s.inArray({gesture:a,handler:b});d!==!1&&c.eventHandlers.splice(d,1)}),c},trigger:function(a,b){b||(b={});var c=e.DOCUMENT.createEvent("Event");c.initEvent(a,!0,!0),c.gesture=b;var d=this.element;return s.hasParent(b.target,d)&&(d=b.target),d.dispatchEvent(c),this},enable:function(a){return this.enabled=a,this},dispose:function(){var a,b;for(s.toggleBehavior(this.element,this.options.behavior,!1),a=-1;b=this.eventHandlers[++a];)s.off(this.element,b.gesture,b.handler);return this.eventHandlers=[],t.off(this.element,f[n],this.eventStartHandler),null}};var t=e.event={preventMouseEvents:!1,started:!1,shouldDetect:!1,on:function(a,b,c,d){var e=b.split(" ");s.each(e,function(b){s.on(a,b,c),d&&d(b)})},off:function(a,b,c,d){var e=b.split(" ");s.each(e,function(b){s.off(a,b,c),d&&d(b)})},onTouch:function(a,b,c){var d=this,g=function(f){var g,h=f.type.toLowerCase(),i=e.HAS_POINTEREVENTS,j=s.inStr(h,"mouse");j&&d.preventMouseEvents||(j&&b==n&&0===f.button?(d.preventMouseEvents=!1,d.shouldDetect=!0):i&&b==n?d.shouldDetect=1===f.buttons||u.matchType(l,f):j||b!=n||(d.preventMouseEvents=!0,d.shouldDetect=!0),i&&b!=p&&u.updatePointer(b,f),d.shouldDetect&&(g=d.doDetect.call(d,f,b,a,c)),g==p&&(d.preventMouseEvents=!1,d.shouldDetect=!1,u.reset()),i&&b==p&&u.updatePointer(b,f))};return this.on(a,f[b],g),g},doDetect:function(a,b,c,d){var e=this.getTouchList(a,b),f=e.length,g=b,h=e.trigger,i=f;b==n?h=r:b==p&&(h=q,i=e.length-(a.changedTouches?a.changedTouches.length:1)),i>0&&this.started&&(g=o),this.started=!0;var j=this.collectEventData(c,g,e,a);return b!=p&&d.call(v,j),h&&(j.changedLength=i,j.eventType=h,d.call(v,j),j.eventType=g,delete j.changedLength),g==p&&(d.call(v,j),this.started=!1),g},determineEventTypes:function(){var b;return b=e.HAS_POINTEREVENTS?a.PointerEvent?["pointerdown","pointermove","pointerup pointercancel lostpointercapture"]:["MSPointerDown","MSPointerMove","MSPointerUp MSPointerCancel MSLostPointerCapture"]:e.NO_MOUSEEVENTS?["touchstart","touchmove","touchend touchcancel"]:["touchstart mousedown","touchmove mousemove","touchend touchcancel mouseup"],f[n]=b[0],f[o]=b[1],f[p]=b[2],f},getTouchList:function(a,b){if(e.HAS_POINTEREVENTS)return u.getTouchList();if(a.touches){if(b==o)return a.touches;var c=[],d=[].concat(s.toArray(a.touches),s.toArray(a.changedTouches)),f=[];return s.each(d,function(a){s.inArray(c,a.identifier)===!1&&f.push(a),c.push(a.identifier)}),f}return a.identifier=1,[a]},collectEventData:function(a,b,c,d){var e=l;return s.inStr(d.type,"mouse")||u.matchType(k,d)?e=k:u.matchType(m,d)&&(e=m),{center:s.getCenter(c),timeStamp:Date.now(),target:d.target,touches:c,eventType:b,pointerType:e,srcEvent:d,preventDefault:function(){var a=this.srcEvent;a.preventManipulation&&a.preventManipulation(),a.preventDefault&&a.preventDefault()},stopPropagation:function(){this.srcEvent.stopPropagation()},stopDetect:function(){return v.stopDetect()}}}},u=e.PointerEvent={pointers:{},getTouchList:function(){var a=[];return s.each(this.pointers,function(b){a.push(b)}),a},updatePointer:function(a,b){a==p||a!=p&&1!==b.buttons?delete this.pointers[b.pointerId]:(b.identifier=b.pointerId,this.pointers[b.pointerId]=b)},matchType:function(a,b){if(!b.pointerType)return!1;var c=b.pointerType,d={};return d[k]=c===(b.MSPOINTER_TYPE_MOUSE||k),d[l]=c===(b.MSPOINTER_TYPE_TOUCH||l),d[m]=c===(b.MSPOINTER_TYPE_PEN||m),d[a]},reset:function(){this.pointers={}}},v=e.detection={gestures:[],current:null,previous:null,stopped:!1,startDetect:function(a,b){this.current||(this.stopped=!1,this.current={inst:a,startEvent:s.extend({},b),lastEvent:!1,lastCalcEvent:!1,futureCalcEvent:!1,lastCalcData:{},name:""},this.detect(b))},detect:function(a){if(this.current&&!this.stopped){a=this.extendEventData(a);var b=this.current.inst,c=b.options;return s.each(this.gestures,function(d){!this.stopped&&b.enabled&&c[d.name]&&d.handler.call(d,a,b)},this),this.current&&(this.current.lastEvent=a),a.eventType==p&&this.stopDetect(),a}},stopDetect:function(){this.previous=s.extend({},this.current),this.current=null,this.stopped=!0},getCalculatedData:function(a,b,c,d,f){var g=this.current,h=!1,i=g.lastCalcEvent,j=g.lastCalcData;i&&a.timeStamp-i.timeStamp>e.CALCULATE_INTERVAL&&(b=i.center,c=a.timeStamp-i.timeStamp,d=a.center.clientX-i.center.clientX,f=a.center.clientY-i.center.clientY,h=!0),(a.eventType==r||a.eventType==q)&&(g.futureCalcEvent=a),(!g.lastCalcEvent||h)&&(j.velocity=s.getVelocity(c,d,f),j.angle=s.getAngle(b,a.center),j.direction=s.getDirection(b,a.center),g.lastCalcEvent=g.futureCalcEvent||a,g.futureCalcEvent=a),a.velocityX=j.velocity.x,a.velocityY=j.velocity.y,a.interimAngle=j.angle,a.interimDirection=j.direction},extendEventData:function(a){var b=this.current,c=b.startEvent,d=b.lastEvent||c;(a.eventType==r||a.eventType==q)&&(c.touches=[],s.each(a.touches,function(a){c.touches.push({clientX:a.clientX,clientY:a.clientY})}));var e=a.timeStamp-c.timeStamp,f=a.center.clientX-c.center.clientX,g=a.center.clientY-c.center.clientY;return this.getCalculatedData(a,d.center,e,f,g),s.extend(a,{startEvent:c,deltaTime:e,deltaX:f,deltaY:g,distance:s.getDistance(c.center,a.center),angle:s.getAngle(c.center,a.center),direction:s.getDirection(c.center,a.center),scale:s.getScale(c.touches,a.touches),rotation:s.getRotation(c.touches,a.touches)}),a},register:function(a){var c=a.defaults||{};return c[a.name]===b&&(c[a.name]=!0),s.extend(e.defaults,c,!0),a.index=a.index||1e3,this.gestures.push(a),this.gestures.sort(function(a,b){return a.index<b.index?-1:a.index>b.index?1:0}),this.gestures}};!function(a){function b(b,d){var e=v.current;if(!(d.options.dragMaxTouches>0&&b.touches.length>d.options.dragMaxTouches))switch(b.eventType){case n:c=!1;break;case o:if(b.distance<d.options.dragMinDistance&&e.name!=a)return;var f=e.startEvent.center;if(e.name!=a&&(e.name=a,d.options.dragDistanceCorrection&&b.distance>0)){var k=Math.abs(d.options.dragMinDistance/b.distance);f.pageX+=b.deltaX*k,f.pageY+=b.deltaY*k,f.clientX+=b.deltaX*k,f.clientY+=b.deltaY*k,b=v.extendEventData(b)}(e.lastEvent.dragLockToAxis||d.options.dragLockToAxis&&d.options.dragLockMinDistance<=b.distance)&&(b.dragLockToAxis=!0);var l=e.lastEvent.direction;b.dragLockToAxis&&l!==b.direction&&(b.direction=s.isVertical(l)?b.deltaY<0?i:g:b.deltaX<0?h:j),c||(d.trigger(a+"start",b),c=!0),d.trigger(a,b),d.trigger(a+b.direction,b);var m=s.isVertical(b.direction);(d.options.dragBlockVertical&&m||d.options.dragBlockHorizontal&&!m)&&b.preventDefault();break;case q:c&&b.changedLength<=d.options.dragMaxTouches&&(d.trigger(a+"end",b),c=!1);break;case p:c=!1}}var c=!1;e.gestures.Drag={name:a,index:50,handler:b,defaults:{dragMinDistance:10,dragDistanceCorrection:!0,dragMaxTouches:1,dragBlockHorizontal:!1,dragBlockVertical:!1,dragLockToAxis:!1,dragLockMinDistance:25}}}("drag"),e.gestures.Gesture={name:"gesture",index:1337,handler:function(a,b){b.trigger(this.name,a)}},function(a){function b(b,d){var e=d.options,f=v.current;switch(b.eventType){case n:clearTimeout(c),f.name=a,c=setTimeout(function(){f&&f.name==a&&d.trigger(a,b)},e.holdTimeout);break;case o:b.distance>e.holdThreshold&&clearTimeout(c);break;case q:clearTimeout(c)}}var c;e.gestures.Hold={name:a,index:10,defaults:{holdTimeout:500,holdThreshold:2},handler:b}}("hold"),e.gestures.Release={name:"release",index:1/0,handler:function(a,b){a.eventType==q&&b.trigger(this.name,a)}},e.gestures.Swipe={name:"swipe",index:40,defaults:{swipeMinTouches:1,swipeMaxTouches:1,swipeVelocityX:.6,swipeVelocityY:.6},handler:function(a,b){if(a.eventType==q){var c=a.touches.length,d=b.options;if(c<d.swipeMinTouches||c>d.swipeMaxTouches)return;(a.velocityX>d.swipeVelocityX||a.velocityY>d.swipeVelocityY)&&(b.trigger(this.name,a),b.trigger(this.name+a.direction,a))}}},function(a){function b(b,d){var e,f,g=d.options,h=v.current,i=v.previous;switch(b.eventType){case n:c=!1;break;case o:c=c||b.distance>g.tapMaxDistance;break;case p:!s.inStr(b.srcEvent.type,"cancel")&&b.deltaTime<g.tapMaxTime&&!c&&(e=i&&i.lastEvent&&b.timeStamp-i.lastEvent.timeStamp,f=!1,i&&i.name==a&&e&&e<g.doubleTapInterval&&b.distance<g.doubleTapDistance&&(d.trigger("doubletap",b),f=!0),(!f||g.tapAlways)&&(h.name=a,d.trigger(h.name,b)))}}var c=!1;e.gestures.Tap={name:a,index:100,handler:b,defaults:{tapMaxTime:250,tapMaxDistance:10,tapAlways:!0,doubleTapDistance:20,doubleTapInterval:300}}}("tap"),e.gestures.Touch={name:"touch",index:-1/0,defaults:{preventDefault:!1,preventMouse:!1},handler:function(a,b){return b.options.preventMouse&&a.pointerType==k?void a.stopDetect():(b.options.preventDefault&&a.preventDefault(),void(a.eventType==r&&b.trigger("touch",a)))}},function(a){function b(b,d){switch(b.eventType){case n:c=!1;break;case o:if(b.touches.length<2)return;var e=Math.abs(1-b.scale),f=Math.abs(b.rotation);if(e<d.options.transformMinScale&&f<d.options.transformMinRotation)return;v.current.name=a,c||(d.trigger(a+"start",b),c=!0),d.trigger(a,b),f>d.options.transformMinRotation&&d.trigger("rotate",b),e>d.options.transformMinScale&&(d.trigger("pinch",b),d.trigger("pinch"+(b.scale<1?"in":"out"),b));break;case q:c&&b.changedLength<2&&(d.trigger(a+"end",b),c=!1)}}var c=!1;e.gestures.Transform={name:a,index:45,defaults:{transformMinScale:.01,transformMinRotation:1},handler:b}}("transform"),a.Hammer=e,"undefined"!=typeof module&&module.exports&&(module.exports=e),"function"==typeof define&&define.amd?define(["jquery"],function(b){return d(a.Hammer,b)}):d(a.Hammer,a.jQuery||a.Zepto)}(window);-//# sourceMappingURL=jquery.hammer-full.min.map\ No newline at end of filediff --git a/data/libs/handlebars.js/handlebars-v1.1.2.js b/data/libs/handlebars.js/handlebars-v1.1.2.jsdeleted file mode 100644index ba717929a..000000000--- a/data/libs/handlebars.js/handlebars-v1.1.2.js+++ /dev/null@@ -1,2595 +0,0 @@-/*!-- handlebars v1.1.2--Copyright (C) 2011 by Yehuda Katz--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.--@license-*/-var Handlebars = (function() {-// handlebars/safe-string.js-var __module4__ = (function() {- "use strict";- var __exports__;- // Build out our basic SafeString type- function SafeString(string) {- this.string = string;- }-- SafeString.prototype.toString = function() {- return "" + this.string;- };-- __exports__ = SafeString;- return __exports__;-})();--// handlebars/utils.js-var __module3__ = (function(__dependency1__) {- "use strict";- var __exports__ = {};- var SafeString = __dependency1__;-- var escape = {- "&": "&",- "<": "<",- ">": ">",- '"': """,- "'": "'",- "`": "`"- };-- var badChars = /[&<>"'`]/g;- var possible = /[&<>"'`]/;-- function escapeChar(chr) {- return escape[chr] || "&";- }-- function extend(obj, value) {- for(var key in value) {- if(value.hasOwnProperty(key)) {- obj[key] = value[key];- }- }- }-- __exports__.extend = extend;var toString = Object.prototype.toString;- __exports__.toString = toString;- // Sourced from lodash- // https://github.com/bestiejs/lodash/blob/master/LICENSE.txt- var isFunction = function(value) {- return typeof value === 'function';- };- // fallback for older versions of Chrome and Safari- if (isFunction(/x/)) {- isFunction = function(value) {- return typeof value === 'function' && toString.call(value) === '[object Function]';- };- }- var isFunction;- __exports__.isFunction = isFunction;- var isArray = Array.isArray || function(value) {- return (value && typeof value === 'object') ? toString.call(value) === '[object Array]' : false;- };- __exports__.isArray = isArray;-- function escapeExpression(string) {- // don't escape SafeStrings, since they're already safe- if (string instanceof SafeString) {- return string.toString();- } else if (!string && string !== 0) {- return "";- }-- // Force a string conversion as this will be done by the append regardless and- // the regex test will do this transparently behind the scenes, causing issues if- // an object's to string has escaped characters in it.- string = "" + string;-- if(!possible.test(string)) { return string; }- return string.replace(badChars, escapeChar);- }-- __exports__.escapeExpression = escapeExpression;function isEmpty(value) {- if (!value && value !== 0) {- return true;- } else if (isArray(value) && value.length === 0) {- return true;- } else {- return false;- }- }-- __exports__.isEmpty = isEmpty;- return __exports__;-})(__module4__);--// handlebars/exception.js-var __module5__ = (function() {- "use strict";- var __exports__;-- var errorProps = ['description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack'];-- function Exception(/* message */) {- var tmp = Error.prototype.constructor.apply(this, arguments);-- // Unfortunately errors are not enumerable in Chrome (at least), so `for prop in tmp` doesn't work.- for (var idx = 0; idx < errorProps.length; idx++) {- this[errorProps[idx]] = tmp[errorProps[idx]];- }- }-- Exception.prototype = new Error();-- __exports__ = Exception;- return __exports__;-})();--// handlebars/base.js-var __module2__ = (function(__dependency1__, __dependency2__) {- "use strict";- var __exports__ = {};- /*globals Exception, Utils */- var Utils = __dependency1__;- var Exception = __dependency2__;-- var VERSION = "1.1.2";- __exports__.VERSION = VERSION;var COMPILER_REVISION = 4;- __exports__.COMPILER_REVISION = COMPILER_REVISION;- var REVISION_CHANGES = {- 1: '<= 1.0.rc.2', // 1.0.rc.2 is actually rev2 but doesn't report it- 2: '== 1.0.0-rc.3',- 3: '== 1.0.0-rc.4',- 4: '>= 1.0.0'- };- __exports__.REVISION_CHANGES = REVISION_CHANGES;- var isArray = Utils.isArray,- isFunction = Utils.isFunction,- toString = Utils.toString,- objectType = '[object Object]';-- function HandlebarsEnvironment(helpers, partials) {- this.helpers = helpers || {};- this.partials = partials || {};-- registerDefaultHelpers(this);- }-- __exports__.HandlebarsEnvironment = HandlebarsEnvironment;HandlebarsEnvironment.prototype = {- constructor: HandlebarsEnvironment,-- logger: logger,- log: log,-- registerHelper: function(name, fn, inverse) {- if (toString.call(name) === objectType) {- if (inverse || fn) { throw new Exception('Arg not supported with multiple helpers'); }- Utils.extend(this.helpers, name);- } else {- if (inverse) { fn.not = inverse; }- this.helpers[name] = fn;- }- },-- registerPartial: function(name, str) {- if (toString.call(name) === objectType) {- Utils.extend(this.partials, name);- } else {- this.partials[name] = str;- }- }- };-- function registerDefaultHelpers(instance) {- instance.registerHelper('helperMissing', function(arg) {- if(arguments.length === 2) {- return undefined;- } else {- throw new Error("Missing helper: '" + arg + "'");- }- });-- instance.registerHelper('blockHelperMissing', function(context, options) {- var inverse = options.inverse || function() {}, fn = options.fn;-- if (isFunction(context)) { context = context.call(this); }-- if(context === true) {- return fn(this);- } else if(context === false || context == null) {- return inverse(this);- } else if (isArray(context)) {- if(context.length > 0) {- return instance.helpers.each(context, options);- } else {- return inverse(this);- }- } else {- return fn(context);- }- });-- instance.registerHelper('each', function(context, options) {- var fn = options.fn, inverse = options.inverse;- var i = 0, ret = "", data;-- if (isFunction(context)) { context = context.call(this); }-- if (options.data) {- data = createFrame(options.data);- }-- if(context && typeof context === 'object') {- if (isArray(context)) {- for(var j = context.length; i<j; i++) {- if (data) {- data.index = i;- data.first = (i === 0)- data.last = (i === (context.length-1));- }- ret = ret + fn(context[i], { data: data });- }- } else {- for(var key in context) {- if(context.hasOwnProperty(key)) {- if(data) { data.key = key; }- ret = ret + fn(context[key], {data: data});- i++;- }- }- }- }-- if(i === 0){- ret = inverse(this);- }-- return ret;- });-- instance.registerHelper('if', function(conditional, options) {- if (isFunction(conditional)) { conditional = conditional.call(this); }-- // Default behavior is to render the positive path if the value is truthy and not empty.- // The `includeZero` option may be set to treat the condtional as purely not empty based on the- // behavior of isEmpty. Effectively this determines if 0 is handled by the positive path or negative.- if ((!options.hash.includeZero && !conditional) || Utils.isEmpty(conditional)) {- return options.inverse(this);- } else {- return options.fn(this);- }- });-- instance.registerHelper('unless', function(conditional, options) {- return instance.helpers['if'].call(this, conditional, {fn: options.inverse, inverse: options.fn, hash: options.hash});- });-- instance.registerHelper('with', function(context, options) {- if (isFunction(context)) { context = context.call(this); }-- if (!Utils.isEmpty(context)) return options.fn(context);- });-- instance.registerHelper('log', function(context, options) {- var level = options.data && options.data.level != null ? parseInt(options.data.level, 10) : 1;- instance.log(level, context);- });- }-- var logger = {- methodMap: { 0: 'debug', 1: 'info', 2: 'warn', 3: 'error' },-- // State enum- DEBUG: 0,- INFO: 1,- WARN: 2,- ERROR: 3,- level: 3,-- // can be overridden in the host environment- log: function(level, obj) {- if (logger.level <= level) {- var method = logger.methodMap[level];- if (typeof console !== 'undefined' && console[method]) {- console[method].call(console, obj);- }- }- }- };- __exports__.logger = logger;- function log(level, obj) { logger.log(level, obj); }-- __exports__.log = log;var createFrame = function(object) {- var obj = {};- Utils.extend(obj, object);- return obj;- };- __exports__.createFrame = createFrame;- return __exports__;-})(__module3__, __module5__);--// handlebars/runtime.js-var __module6__ = (function(__dependency1__, __dependency2__, __dependency3__) {- "use strict";- var __exports__ = {};- /*global Utils */- var Utils = __dependency1__;- var Exception = __dependency2__;- var COMPILER_REVISION = __dependency3__.COMPILER_REVISION;- var REVISION_CHANGES = __dependency3__.REVISION_CHANGES;-- function checkRevision(compilerInfo) {- var compilerRevision = compilerInfo && compilerInfo[0] || 1,- currentRevision = COMPILER_REVISION;-- if (compilerRevision !== currentRevision) {- if (compilerRevision < currentRevision) {- var runtimeVersions = REVISION_CHANGES[currentRevision],- compilerVersions = REVISION_CHANGES[compilerRevision];- throw new Error("Template was precompiled with an older version of Handlebars than the current runtime. "+- "Please update your precompiler to a newer version ("+runtimeVersions+") or downgrade your runtime to an older version ("+compilerVersions+").");- } else {- // Use the embedded version info since the runtime doesn't know about this revision yet- throw new Error("Template was precompiled with a newer version of Handlebars than the current runtime. "+- "Please update your runtime to a newer version ("+compilerInfo[1]+").");- }- }- }-- // TODO: Remove this line and break up compilePartial-- function template(templateSpec, env) {- if (!env) {- throw new Error("No environment passed to template");- }-- var invokePartialWrapper;- if (env.compile) {- invokePartialWrapper = function(partial, name, context, helpers, partials, data) {- // TODO : Check this for all inputs and the options handling (partial flag, etc). This feels- // like there should be a common exec path- var result = invokePartial.apply(this, arguments);- if (result) { return result; }-- var options = { helpers: helpers, partials: partials, data: data };- partials[name] = env.compile(partial, { data: data !== undefined }, env);- return partials[name](context, options);- };- } else {- invokePartialWrapper = function(partial, name /* , context, helpers, partials, data */) {- var result = invokePartial.apply(this, arguments);- if (result) { return result; }- throw new Exception("The partial " + name + " could not be compiled when running in runtime-only mode");- };- }-- // Just add water- var container = {- escapeExpression: Utils.escapeExpression,- invokePartial: invokePartialWrapper,- programs: [],- program: function(i, fn, data) {- var programWrapper = this.programs[i];- if(data) {- programWrapper = program(i, fn, data);- } else if (!programWrapper) {- programWrapper = this.programs[i] = program(i, fn);- }- return programWrapper;- },- merge: function(param, common) {- var ret = param || common;-- if (param && common && (param !== common)) {- ret = {};- Utils.extend(ret, common);- Utils.extend(ret, param);- }- return ret;- },- programWithDepth: programWithDepth,- noop: noop,- compilerInfo: null- };-- return function(context, options) {- options = options || {};- var namespace = options.partial ? options : env,- helpers,- partials;-- if (!options.partial) {- helpers = options.helpers;- partials = options.partials;- }- var result = templateSpec.call(- container,- namespace, context,- helpers,- partials,- options.data);-- if (!options.partial) {- checkRevision(container.compilerInfo);- }-- return result;- };- }-- __exports__.template = template;function programWithDepth(i, fn, data /*, $depth */) {- var args = Array.prototype.slice.call(arguments, 3);-- var prog = function(context, options) {- options = options || {};-- return fn.apply(this, [context, options.data || data].concat(args));- };- prog.program = i;- prog.depth = args.length;- return prog;- }-- __exports__.programWithDepth = programWithDepth;function program(i, fn, data) {- var prog = function(context, options) {- options = options || {};-- return fn(context, options.data || data);- };- prog.program = i;- prog.depth = 0;- return prog;- }-- __exports__.program = program;function invokePartial(partial, name, context, helpers, partials, data) {- var options = { partial: true, helpers: helpers, partials: partials, data: data };-- if(partial === undefined) {- throw new Exception("The partial " + name + " could not be found");- } else if(partial instanceof Function) {- return partial(context, options);- }- }-- __exports__.invokePartial = invokePartial;function noop() { return ""; }-- __exports__.noop = noop;- return __exports__;-})(__module3__, __module5__, __module2__);--// handlebars.runtime.js-var __module1__ = (function(__dependency1__, __dependency2__, __dependency3__, __dependency4__, __dependency5__) {- "use strict";- var __exports__;- var base = __dependency1__;-- // Each of these augment the Handlebars object. No need to setup here.- // (This is done to easily share code between commonjs and browse envs)- var SafeString = __dependency2__;- var Exception = __dependency3__;- var Utils = __dependency4__;- var runtime = __dependency5__;-- // For compatibility and usage outside of module systems, make the Handlebars object a namespace- var create = function() {- var hb = new base.HandlebarsEnvironment();-- Utils.extend(hb, base);- hb.SafeString = SafeString;- hb.Exception = Exception;- hb.Utils = Utils;-- hb.VM = runtime;- hb.template = function(spec) {- return runtime.template(spec, hb);- };-- return hb;- };-- var Handlebars = create();- Handlebars.create = create;-- __exports__ = Handlebars;- return __exports__;-})(__module2__, __module4__, __module5__, __module3__, __module6__);--// handlebars/compiler/ast.js-var __module7__ = (function(__dependency1__) {- "use strict";- var __exports__ = {};- var Exception = __dependency1__;-- function ProgramNode(statements, inverseStrip, inverse) {- this.type = "program";- this.statements = statements;- this.strip = {};-- if(inverse) {- this.inverse = new ProgramNode(inverse, inverseStrip);- this.strip.right = inverseStrip.left;- } else if (inverseStrip) {- this.strip.left = inverseStrip.right;- }- }-- __exports__.ProgramNode = ProgramNode;function MustacheNode(rawParams, hash, open, strip) {- this.type = "mustache";- this.hash = hash;- this.strip = strip;-- var escapeFlag = open[3] || open[2];- this.escaped = escapeFlag !== '{' && escapeFlag !== '&';-- var id = this.id = rawParams[0];- var params = this.params = rawParams.slice(1);-- // a mustache is an eligible helper if:- // * its id is simple (a single part, not `this` or `..`)- var eligibleHelper = this.eligibleHelper = id.isSimple;-- // a mustache is definitely a helper if:- // * it is an eligible helper, and- // * it has at least one parameter or hash segment- this.isHelper = eligibleHelper && (params.length || hash);-- // if a mustache is an eligible helper but not a definite- // helper, it is ambiguous, and will be resolved in a later- // pass or at runtime.- }-- __exports__.MustacheNode = MustacheNode;function PartialNode(partialName, context, strip) {- this.type = "partial";- this.partialName = partialName;- this.context = context;- this.strip = strip;- }-- __exports__.PartialNode = PartialNode;function BlockNode(mustache, program, inverse, close) {- if(mustache.id.original !== close.path.original) {- throw new Exception(mustache.id.original + " doesn't match " + close.path.original);- }-- this.type = "block";- this.mustache = mustache;- this.program = program;- this.inverse = inverse;-- this.strip = {- left: mustache.strip.left,- right: close.strip.right- };-- (program || inverse).strip.left = mustache.strip.right;- (inverse || program).strip.right = close.strip.left;-- if (inverse && !program) {- this.isInverse = true;- }- }-- __exports__.BlockNode = BlockNode;function ContentNode(string) {- this.type = "content";- this.string = string;- }-- __exports__.ContentNode = ContentNode;function HashNode(pairs) {- this.type = "hash";- this.pairs = pairs;- }-- __exports__.HashNode = HashNode;function IdNode(parts) {- this.type = "ID";-- var original = "",- dig = [],- depth = 0;-- for(var i=0,l=parts.length; i<l; i++) {- var part = parts[i].part;- original += (parts[i].separator || '') + part;-- if (part === ".." || part === "." || part === "this") {- if (dig.length > 0) { throw new Exception("Invalid path: " + original); }- else if (part === "..") { depth++; }- else { this.isScoped = true; }- }- else { dig.push(part); }- }-- this.original = original;- this.parts = dig;- this.string = dig.join('.');- this.depth = depth;-- // an ID is simple if it only has one part, and that part is not- // `..` or `this`.- this.isSimple = parts.length === 1 && !this.isScoped && depth === 0;-- this.stringModeValue = this.string;- }-- __exports__.IdNode = IdNode;function PartialNameNode(name) {- this.type = "PARTIAL_NAME";- this.name = name.original;- }-- __exports__.PartialNameNode = PartialNameNode;function DataNode(id) {- this.type = "DATA";- this.id = id;- }-- __exports__.DataNode = DataNode;function StringNode(string) {- this.type = "STRING";- this.original =- this.string =- this.stringModeValue = string;- }-- __exports__.StringNode = StringNode;function IntegerNode(integer) {- this.type = "INTEGER";- this.original =- this.integer = integer;- this.stringModeValue = Number(integer);- }-- __exports__.IntegerNode = IntegerNode;function BooleanNode(bool) {- this.type = "BOOLEAN";- this.bool = bool;- this.stringModeValue = bool === "true";- }-- __exports__.BooleanNode = BooleanNode;function CommentNode(comment) {- this.type = "comment";- this.comment = comment;- }-- __exports__.CommentNode = CommentNode;- return __exports__;-})(__module5__);--// handlebars/compiler/parser.js-var __module9__ = (function() {- "use strict";- var __exports__;- /* Jison generated parser */- var handlebars = (function(){- var parser = {trace: function trace() { },- yy: {},- symbols_: {"error":2,"root":3,"statements":4,"EOF":5,"program":6,"simpleInverse":7,"statement":8,"openInverse":9,"closeBlock":10,"openBlock":11,"mustache":12,"partial":13,"CONTENT":14,"COMMENT":15,"OPEN_BLOCK":16,"inMustache":17,"CLOSE":18,"OPEN_INVERSE":19,"OPEN_ENDBLOCK":20,"path":21,"OPEN":22,"OPEN_UNESCAPED":23,"CLOSE_UNESCAPED":24,"OPEN_PARTIAL":25,"partialName":26,"partial_option0":27,"inMustache_repetition0":28,"inMustache_option0":29,"dataName":30,"param":31,"STRING":32,"INTEGER":33,"BOOLEAN":34,"hash":35,"hash_repetition_plus0":36,"hashSegment":37,"ID":38,"EQUALS":39,"DATA":40,"pathSegments":41,"SEP":42,"$accept":0,"$end":1},- terminals_: {2:"error",5:"EOF",14:"CONTENT",15:"COMMENT",16:"OPEN_BLOCK",18:"CLOSE",19:"OPEN_INVERSE",20:"OPEN_ENDBLOCK",22:"OPEN",23:"OPEN_UNESCAPED",24:"CLOSE_UNESCAPED",25:"OPEN_PARTIAL",32:"STRING",33:"INTEGER",34:"BOOLEAN",38:"ID",39:"EQUALS",40:"DATA",42:"SEP"},- productions_: [0,[3,2],[3,1],[6,2],[6,3],[6,2],[6,1],[6,1],[6,0],[4,1],[4,2],[8,3],[8,3],[8,1],[8,1],[8,1],[8,1],[11,3],[9,3],[10,3],[12,3],[12,3],[13,4],[7,2],[17,3],[17,1],[31,1],[31,1],[31,1],[31,1],[31,1],[35,1],[37,3],[26,1],[26,1],[26,1],[30,2],[21,1],[41,3],[41,1],[27,0],[27,1],[28,0],[28,2],[29,0],[29,1],[36,1],[36,2]],- performAction: function anonymous(yytext,yyleng,yylineno,yy,yystate,$$,_$) {-- var $0 = $$.length - 1;- switch (yystate) {- case 1: return new yy.ProgramNode($$[$0-1]);- break;- case 2: return new yy.ProgramNode([]);- break;- case 3:this.$ = new yy.ProgramNode([], $$[$0-1], $$[$0]);- break;- case 4:this.$ = new yy.ProgramNode($$[$0-2], $$[$0-1], $$[$0]);- break;- case 5:this.$ = new yy.ProgramNode($$[$0-1], $$[$0], []);- break;- case 6:this.$ = new yy.ProgramNode($$[$0]);- break;- case 7:this.$ = new yy.ProgramNode([]);- break;- case 8:this.$ = new yy.ProgramNode([]);- break;- case 9:this.$ = [$$[$0]];- break;- case 10: $$[$0-1].push($$[$0]); this.$ = $$[$0-1];- break;- case 11:this.$ = new yy.BlockNode($$[$0-2], $$[$0-1].inverse, $$[$0-1], $$[$0]);- break;- case 12:this.$ = new yy.BlockNode($$[$0-2], $$[$0-1], $$[$0-1].inverse, $$[$0]);- break;- case 13:this.$ = $$[$0];- break;- case 14:this.$ = $$[$0];- break;- case 15:this.$ = new yy.ContentNode($$[$0]);- break;- case 16:this.$ = new yy.CommentNode($$[$0]);- break;- case 17:this.$ = new yy.MustacheNode($$[$0-1][0], $$[$0-1][1], $$[$0-2], stripFlags($$[$0-2], $$[$0]));- break;- case 18:this.$ = new yy.MustacheNode($$[$0-1][0], $$[$0-1][1], $$[$0-2], stripFlags($$[$0-2], $$[$0]));- break;- case 19:this.$ = {path: $$[$0-1], strip: stripFlags($$[$0-2], $$[$0])};- break;- case 20:this.$ = new yy.MustacheNode($$[$0-1][0], $$[$0-1][1], $$[$0-2], stripFlags($$[$0-2], $$[$0]));- break;- case 21:this.$ = new yy.MustacheNode($$[$0-1][0], $$[$0-1][1], $$[$0-2], stripFlags($$[$0-2], $$[$0]));- break;- case 22:this.$ = new yy.PartialNode($$[$0-2], $$[$0-1], stripFlags($$[$0-3], $$[$0]));- break;- case 23:this.$ = stripFlags($$[$0-1], $$[$0]);- break;- case 24:this.$ = [[$$[$0-2]].concat($$[$0-1]), $$[$0]];- break;- case 25:this.$ = [[$$[$0]], null];- break;- case 26:this.$ = $$[$0];- break;- case 27:this.$ = new yy.StringNode($$[$0]);- break;- case 28:this.$ = new yy.IntegerNode($$[$0]);- break;- case 29:this.$ = new yy.BooleanNode($$[$0]);- break;- case 30:this.$ = $$[$0];- break;- case 31:this.$ = new yy.HashNode($$[$0]);- break;- case 32:this.$ = [$$[$0-2], $$[$0]];- break;- case 33:this.$ = new yy.PartialNameNode($$[$0]);- break;- case 34:this.$ = new yy.PartialNameNode(new yy.StringNode($$[$0]));- break;- case 35:this.$ = new yy.PartialNameNode(new yy.IntegerNode($$[$0]));- break;- case 36:this.$ = new yy.DataNode($$[$0]);- break;- case 37:this.$ = new yy.IdNode($$[$0]);- break;- case 38: $$[$0-2].push({part: $$[$0], separator: $$[$0-1]}); this.$ = $$[$0-2];- break;- case 39:this.$ = [{part: $$[$0]}];- break;- case 42:this.$ = [];- break;- case 43:$$[$0-1].push($$[$0]);- break;- case 46:this.$ = [$$[$0]];- break;- case 47:$$[$0-1].push($$[$0]);- break;- }- },- table: [{3:1,4:2,5:[1,3],8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],22:[1,13],23:[1,14],25:[1,15]},{1:[3]},{5:[1,16],8:17,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],22:[1,13],23:[1,14],25:[1,15]},{1:[2,2]},{5:[2,9],14:[2,9],15:[2,9],16:[2,9],19:[2,9],20:[2,9],22:[2,9],23:[2,9],25:[2,9]},{4:20,6:18,7:19,8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,21],20:[2,8],22:[1,13],23:[1,14],25:[1,15]},{4:20,6:22,7:19,8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,21],20:[2,8],22:[1,13],23:[1,14],25:[1,15]},{5:[2,13],14:[2,13],15:[2,13],16:[2,13],19:[2,13],20:[2,13],22:[2,13],23:[2,13],25:[2,13]},{5:[2,14],14:[2,14],15:[2,14],16:[2,14],19:[2,14],20:[2,14],22:[2,14],23:[2,14],25:[2,14]},{5:[2,15],14:[2,15],15:[2,15],16:[2,15],19:[2,15],20:[2,15],22:[2,15],23:[2,15],25:[2,15]},{5:[2,16],14:[2,16],15:[2,16],16:[2,16],19:[2,16],20:[2,16],22:[2,16],23:[2,16],25:[2,16]},{17:23,21:24,30:25,38:[1,28],40:[1,27],41:26},{17:29,21:24,30:25,38:[1,28],40:[1,27],41:26},{17:30,21:24,30:25,38:[1,28],40:[1,27],41:26},{17:31,21:24,30:25,38:[1,28],40:[1,27],41:26},{21:33,26:32,32:[1,34],33:[1,35],38:[1,28],41:26},{1:[2,1]},{5:[2,10],14:[2,10],15:[2,10],16:[2,10],19:[2,10],20:[2,10],22:[2,10],23:[2,10],25:[2,10]},{10:36,20:[1,37]},{4:38,8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],20:[2,7],22:[1,13],23:[1,14],25:[1,15]},{7:39,8:17,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,21],20:[2,6],22:[1,13],23:[1,14],25:[1,15]},{17:23,18:[1,40],21:24,30:25,38:[1,28],40:[1,27],41:26},{10:41,20:[1,37]},{18:[1,42]},{18:[2,42],24:[2,42],28:43,32:[2,42],33:[2,42],34:[2,42],38:[2,42],40:[2,42]},{18:[2,25],24:[2,25]},{18:[2,37],24:[2,37],32:[2,37],33:[2,37],34:[2,37],38:[2,37],40:[2,37],42:[1,44]},{21:45,38:[1,28],41:26},{18:[2,39],24:[2,39],32:[2,39],33:[2,39],34:[2,39],38:[2,39],40:[2,39],42:[2,39]},{18:[1,46]},{18:[1,47]},{24:[1,48]},{18:[2,40],21:50,27:49,38:[1,28],41:26},{18:[2,33],38:[2,33]},{18:[2,34],38:[2,34]},{18:[2,35],38:[2,35]},{5:[2,11],14:[2,11],15:[2,11],16:[2,11],19:[2,11],20:[2,11],22:[2,11],23:[2,11],25:[2,11]},{21:51,38:[1,28],41:26},{8:17,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],20:[2,3],22:[1,13],23:[1,14],25:[1,15]},{4:52,8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],20:[2,5],22:[1,13],23:[1,14],25:[1,15]},{14:[2,23],15:[2,23],16:[2,23],19:[2,23],20:[2,23],22:[2,23],23:[2,23],25:[2,23]},{5:[2,12],14:[2,12],15:[2,12],16:[2,12],19:[2,12],20:[2,12],22:[2,12],23:[2,12],25:[2,12]},{14:[2,18],15:[2,18],16:[2,18],19:[2,18],20:[2,18],22:[2,18],23:[2,18],25:[2,18]},{18:[2,44],21:56,24:[2,44],29:53,30:60,31:54,32:[1,57],33:[1,58],34:[1,59],35:55,36:61,37:62,38:[1,63],40:[1,27],41:26},{38:[1,64]},{18:[2,36],24:[2,36],32:[2,36],33:[2,36],34:[2,36],38:[2,36],40:[2,36]},{14:[2,17],15:[2,17],16:[2,17],19:[2,17],20:[2,17],22:[2,17],23:[2,17],25:[2,17]},{5:[2,20],14:[2,20],15:[2,20],16:[2,20],19:[2,20],20:[2,20],22:[2,20],23:[2,20],25:[2,20]},{5:[2,21],14:[2,21],15:[2,21],16:[2,21],19:[2,21],20:[2,21],22:[2,21],23:[2,21],25:[2,21]},{18:[1,65]},{18:[2,41]},{18:[1,66]},{8:17,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],20:[2,4],22:[1,13],23:[1,14],25:[1,15]},{18:[2,24],24:[2,24]},{18:[2,43],24:[2,43],32:[2,43],33:[2,43],34:[2,43],38:[2,43],40:[2,43]},{18:[2,45],24:[2,45]},{18:[2,26],24:[2,26],32:[2,26],33:[2,26],34:[2,26],38:[2,26],40:[2,26]},{18:[2,27],24:[2,27],32:[2,27],33:[2,27],34:[2,27],38:[2,27],40:[2,27]},{18:[2,28],24:[2,28],32:[2,28],33:[2,28],34:[2,28],38:[2,28],40:[2,28]},{18:[2,29],24:[2,29],32:[2,29],33:[2,29],34:[2,29],38:[2,29],40:[2,29]},{18:[2,30],24:[2,30],32:[2,30],33:[2,30],34:[2,30],38:[2,30],40:[2,30]},{18:[2,31],24:[2,31],37:67,38:[1,68]},{18:[2,46],24:[2,46],38:[2,46]},{18:[2,39],24:[2,39],32:[2,39],33:[2,39],34:[2,39],38:[2,39],39:[1,69],40:[2,39],42:[2,39]},{18:[2,38],24:[2,38],32:[2,38],33:[2,38],34:[2,38],38:[2,38],40:[2,38],42:[2,38]},{5:[2,22],14:[2,22],15:[2,22],16:[2,22],19:[2,22],20:[2,22],22:[2,22],23:[2,22],25:[2,22]},{5:[2,19],14:[2,19],15:[2,19],16:[2,19],19:[2,19],20:[2,19],22:[2,19],23:[2,19],25:[2,19]},{18:[2,47],24:[2,47],38:[2,47]},{39:[1,69]},{21:56,30:60,31:70,32:[1,57],33:[1,58],34:[1,59],38:[1,28],40:[1,27],41:26},{18:[2,32],24:[2,32],38:[2,32]}],- defaultActions: {3:[2,2],16:[2,1],50:[2,41]},- parseError: function parseError(str, hash) {- throw new Error(str);- },- parse: function parse(input) {- var self = this, stack = [0], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;- this.lexer.setInput(input);- this.lexer.yy = this.yy;- this.yy.lexer = this.lexer;- this.yy.parser = this;- if (typeof this.lexer.yylloc == "undefined")- this.lexer.yylloc = {};- var yyloc = this.lexer.yylloc;- lstack.push(yyloc);- var ranges = this.lexer.options && this.lexer.options.ranges;- if (typeof this.yy.parseError === "function")- this.parseError = this.yy.parseError;- function popStack(n) {- stack.length = stack.length - 2 * n;- vstack.length = vstack.length - n;- lstack.length = lstack.length - n;- }- function lex() {- var token;- token = self.lexer.lex() || 1;- if (typeof token !== "number") {- token = self.symbols_[token] || token;- }- return token;- }- var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;- while (true) {- state = stack[stack.length - 1];- if (this.defaultActions[state]) {- action = this.defaultActions[state];- } else {- if (symbol === null || typeof symbol == "undefined") {- symbol = lex();- }- action = table[state] && table[state][symbol];- }- if (typeof action === "undefined" || !action.length || !action[0]) {- var errStr = "";- if (!recovering) {- expected = [];- for (p in table[state])- if (this.terminals_[p] && p > 2) {- expected.push("'" + this.terminals_[p] + "'");- }- if (this.lexer.showPosition) {- errStr = "Parse error on line " + (yylineno + 1) + ":\n" + this.lexer.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";- } else {- errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == 1?"end of input":"'" + (this.terminals_[symbol] || symbol) + "'");- }- this.parseError(errStr, {text: this.lexer.match, token: this.terminals_[symbol] || symbol, line: this.lexer.yylineno, loc: yyloc, expected: expected});- }- }- if (action[0] instanceof Array && action.length > 1) {- throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);- }- switch (action[0]) {- case 1:- stack.push(symbol);- vstack.push(this.lexer.yytext);- lstack.push(this.lexer.yylloc);- stack.push(action[1]);- symbol = null;- if (!preErrorSymbol) {- yyleng = this.lexer.yyleng;- yytext = this.lexer.yytext;- yylineno = this.lexer.yylineno;- yyloc = this.lexer.yylloc;- if (recovering > 0)- recovering--;- } else {- symbol = preErrorSymbol;- preErrorSymbol = null;- }- break;- case 2:- len = this.productions_[action[1]][1];- yyval.$ = vstack[vstack.length - len];- yyval._$ = {first_line: lstack[lstack.length - (len || 1)].first_line, last_line: lstack[lstack.length - 1].last_line, first_column: lstack[lstack.length - (len || 1)].first_column, last_column: lstack[lstack.length - 1].last_column};- if (ranges) {- yyval._$.range = [lstack[lstack.length - (len || 1)].range[0], lstack[lstack.length - 1].range[1]];- }- r = this.performAction.call(yyval, yytext, yyleng, yylineno, this.yy, action[1], vstack, lstack);- if (typeof r !== "undefined") {- return r;- }- if (len) {- stack = stack.slice(0, -1 * len * 2);- vstack = vstack.slice(0, -1 * len);- lstack = lstack.slice(0, -1 * len);- }- stack.push(this.productions_[action[1]][0]);- vstack.push(yyval.$);- lstack.push(yyval._$);- newState = table[stack[stack.length - 2]][stack[stack.length - 1]];- stack.push(newState);- break;- case 3:- return true;- }- }- return true;- }- };--- function stripFlags(open, close) {- return {- left: open[2] === '~',- right: close[0] === '~' || close[1] === '~'- };- }-- /* Jison generated lexer */- var lexer = (function(){- var lexer = ({EOF:1,- parseError:function parseError(str, hash) {- if (this.yy.parser) {- this.yy.parser.parseError(str, hash);- } else {- throw new Error(str);- }- },- setInput:function (input) {- this._input = input;- this._more = this._less = this.done = false;- this.yylineno = this.yyleng = 0;- this.yytext = this.matched = this.match = '';- this.conditionStack = ['INITIAL'];- this.yylloc = {first_line:1,first_column:0,last_line:1,last_column:0};- if (this.options.ranges) this.yylloc.range = [0,0];- this.offset = 0;- return this;- },- input:function () {- var ch = this._input[0];- this.yytext += ch;- this.yyleng++;- this.offset++;- this.match += ch;- this.matched += ch;- var lines = ch.match(/(?:\r\n?|\n).*/g);- if (lines) {- this.yylineno++;- this.yylloc.last_line++;- } else {- this.yylloc.last_column++;- }- if (this.options.ranges) this.yylloc.range[1]++;-- this._input = this._input.slice(1);- return ch;- },- unput:function (ch) {- var len = ch.length;- var lines = ch.split(/(?:\r\n?|\n)/g);-- this._input = ch + this._input;- this.yytext = this.yytext.substr(0, this.yytext.length-len-1);- //this.yyleng -= len;- this.offset -= len;- var oldLines = this.match.split(/(?:\r\n?|\n)/g);- this.match = this.match.substr(0, this.match.length-1);- this.matched = this.matched.substr(0, this.matched.length-1);-- if (lines.length-1) this.yylineno -= lines.length-1;- var r = this.yylloc.range;-- this.yylloc = {first_line: this.yylloc.first_line,- last_line: this.yylineno+1,- first_column: this.yylloc.first_column,- last_column: lines ?- (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length:- this.yylloc.first_column - len- };-- if (this.options.ranges) {- this.yylloc.range = [r[0], r[0] + this.yyleng - len];- }- return this;- },- more:function () {- this._more = true;- return this;- },- less:function (n) {- this.unput(this.match.slice(n));- },- pastInput:function () {- var past = this.matched.substr(0, this.matched.length - this.match.length);- return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\n/g, "");- },- upcomingInput:function () {- var next = this.match;- if (next.length < 20) {- next += this._input.substr(0, 20-next.length);- }- return (next.substr(0,20)+(next.length > 20 ? '...':'')).replace(/\n/g, "");- },- showPosition:function () {- var pre = this.pastInput();- var c = new Array(pre.length + 1).join("-");- return pre + this.upcomingInput() + "\n" + c+"^";- },- next:function () {- if (this.done) {- return this.EOF;- }- if (!this._input) this.done = true;-- var token,- match,- tempMatch,- index,- col,- lines;- if (!this._more) {- this.yytext = '';- this.match = '';- }- var rules = this._currentRules();- for (var i=0;i < rules.length; i++) {- tempMatch = this._input.match(this.rules[rules[i]]);- if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {- match = tempMatch;- index = i;- if (!this.options.flex) break;- }- }- if (match) {- lines = match[0].match(/(?:\r\n?|\n).*/g);- if (lines) this.yylineno += lines.length;- this.yylloc = {first_line: this.yylloc.last_line,- last_line: this.yylineno+1,- first_column: this.yylloc.last_column,- last_column: lines ? lines[lines.length-1].length-lines[lines.length-1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length};- this.yytext += match[0];- this.match += match[0];- this.matches = match;- this.yyleng = this.yytext.length;- if (this.options.ranges) {- this.yylloc.range = [this.offset, this.offset += this.yyleng];- }- this._more = false;- this._input = this._input.slice(match[0].length);- this.matched += match[0];- token = this.performAction.call(this, this.yy, this, rules[index],this.conditionStack[this.conditionStack.length-1]);- if (this.done && this._input) this.done = false;- if (token) return token;- else return;- }- if (this._input === "") {- return this.EOF;- } else {- return this.parseError('Lexical error on line '+(this.yylineno+1)+'. Unrecognized text.\n'+this.showPosition(),- {text: "", token: null, line: this.yylineno});- }- },- lex:function lex() {- var r = this.next();- if (typeof r !== 'undefined') {- return r;- } else {- return this.lex();- }- },- begin:function begin(condition) {- this.conditionStack.push(condition);- },- popState:function popState() {- return this.conditionStack.pop();- },- _currentRules:function _currentRules() {- return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;- },- topState:function () {- return this.conditionStack[this.conditionStack.length-2];- },- pushState:function begin(condition) {- this.begin(condition);- }});- lexer.options = {};- lexer.performAction = function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {--- function strip(start, end) {- return yy_.yytext = yy_.yytext.substr(start, yy_.yyleng-end);- }--- var YYSTATE=YY_START- switch($avoiding_name_collisions) {- case 0:- if(yy_.yytext.slice(-2) === "\\\\") {- strip(0,1);- this.begin("mu");- } else if(yy_.yytext.slice(-1) === "\\") {- strip(0,1);- this.begin("emu");- } else {- this.begin("mu");- }- if(yy_.yytext) return 14;-- break;- case 1:return 14;- break;- case 2:- if(yy_.yytext.slice(-1) !== "\\") this.popState();- if(yy_.yytext.slice(-1) === "\\") strip(0,1);- return 14;-- break;- case 3:strip(0,4); this.popState(); return 15;- break;- case 4:return 25;- break;- case 5:return 16;- break;- case 6:return 20;- break;- case 7:return 19;- break;- case 8:return 19;- break;- case 9:return 23;- break;- case 10:return 22;- break;- case 11:this.popState(); this.begin('com');- break;- case 12:strip(3,5); this.popState(); return 15;- break;- case 13:return 22;- break;- case 14:return 39;- break;- case 15:return 38;- break;- case 16:return 38;- break;- case 17:return 42;- break;- case 18:/*ignore whitespace*/- break;- case 19:this.popState(); return 24;- break;- case 20:this.popState(); return 18;- break;- case 21:yy_.yytext = strip(1,2).replace(/\\"/g,'"'); return 32;- break;- case 22:yy_.yytext = strip(1,2).replace(/\\'/g,"'"); return 32;- break;- case 23:return 40;- break;- case 24:return 34;- break;- case 25:return 34;- break;- case 26:return 33;- break;- case 27:return 38;- break;- case 28:yy_.yytext = strip(1,2); return 38;- break;- case 29:return 'INVALID';- break;- case 30:return 5;- break;- }- };- lexer.rules = [/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|$)))/,/^(?:[\s\S]*?--\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{!--)/,/^(?:\{\{![\s\S]*?\}\})/,/^(?:\{\{(~)?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s])))/,/^(?:false(?=([~}\s])))/,/^(?:-?[0-9]+(?=([~}\s])))/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.]))))/,/^(?:\[[^\]]*\])/,/^(?:.)/,/^(?:$)/];- lexer.conditions = {"mu":{"rules":[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30],"inclusive":false},"emu":{"rules":[2],"inclusive":false},"com":{"rules":[3],"inclusive":false},"INITIAL":{"rules":[0,1,30],"inclusive":true}};- return lexer;})()- parser.lexer = lexer;- function Parser () { this.yy = {}; }Parser.prototype = parser;parser.Parser = Parser;- return new Parser;- })();__exports__ = handlebars;- return __exports__;-})();--// handlebars/compiler/base.js-var __module8__ = (function(__dependency1__, __dependency2__) {- "use strict";- var __exports__ = {};- var parser = __dependency1__;- var AST = __dependency2__;-- __exports__.parser = parser;-- function parse(input) {- // Just return if an already-compile AST was passed in.- if(input.constructor === AST.ProgramNode) { return input; }-- parser.yy = AST;- return parser.parse(input);- }-- __exports__.parse = parse;- return __exports__;-})(__module9__, __module7__);--// handlebars/compiler/javascript-compiler.js-var __module11__ = (function(__dependency1__) {- "use strict";- var __exports__;- var COMPILER_REVISION = __dependency1__.COMPILER_REVISION;- var REVISION_CHANGES = __dependency1__.REVISION_CHANGES;- var log = __dependency1__.log;-- function Literal(value) {- this.value = value;- }-- function JavaScriptCompiler() {}-- JavaScriptCompiler.prototype = {- // PUBLIC API: You can override these methods in a subclass to provide- // alternative compiled forms for name lookup and buffering semantics- nameLookup: function(parent, name /* , type*/) {- var wrap,- ret;- if (parent.indexOf('depth') === 0) {- wrap = true;- }-- if (/^[0-9]+$/.test(name)) {- ret = parent + "[" + name + "]";- } else if (JavaScriptCompiler.isValidJavaScriptVariableName(name)) {- ret = parent + "." + name;- }- else {- ret = parent + "['" + name + "']";- }-- if (wrap) {- return '(' + parent + ' && ' + ret + ')';- } else {- return ret;- }- },-- appendToBuffer: function(string) {- if (this.environment.isSimple) {- return "return " + string + ";";- } else {- return {- appendToBuffer: true,- content: string,- toString: function() { return "buffer += " + string + ";"; }- };- }- },-- initializeBuffer: function() {- return this.quotedString("");- },-- namespace: "Handlebars",- // END PUBLIC API-- compile: function(environment, options, context, asObject) {- this.environment = environment;- this.options = options || {};-- log('debug', this.environment.disassemble() + "\n\n");-- this.name = this.environment.name;- this.isChild = !!context;- this.context = context || {- programs: [],- environments: [],- aliases: { }- };-- this.preamble();-- this.stackSlot = 0;- this.stackVars = [];- this.registers = { list: [] };- this.compileStack = [];- this.inlineStack = [];-- this.compileChildren(environment, options);-- var opcodes = environment.opcodes, opcode;-- this.i = 0;-- for(var l=opcodes.length; this.i<l; this.i++) {- opcode = opcodes[this.i];-- if(opcode.opcode === 'DECLARE') {- this[opcode.name] = opcode.value;- } else {- this[opcode.opcode].apply(this, opcode.args);- }-- // Reset the stripNext flag if it was not set by this operation.- if (opcode.opcode !== this.stripNext) {- this.stripNext = false;- }- }-- // Flush any trailing content that might be pending.- this.pushSource('');-- return this.createFunctionContext(asObject);- },-- preamble: function() {- var out = [];-- if (!this.isChild) {- var namespace = this.namespace;-- var copies = "helpers = this.merge(helpers, " + namespace + ".helpers);";- if (this.environment.usePartial) { copies = copies + " partials = this.merge(partials, " + namespace + ".partials);"; }- if (this.options.data) { copies = copies + " data = data || {};"; }- out.push(copies);- } else {- out.push('');- }-- if (!this.environment.isSimple) {- out.push(", buffer = " + this.initializeBuffer());- } else {- out.push("");- }-- // track the last context pushed into place to allow skipping the- // getContext opcode when it would be a noop- this.lastContext = 0;- this.source = out;- },-- createFunctionContext: function(asObject) {- var locals = this.stackVars.concat(this.registers.list);-- if(locals.length > 0) {- this.source[1] = this.source[1] + ", " + locals.join(", ");- }-- // Generate minimizer alias mappings- if (!this.isChild) {- for (var alias in this.context.aliases) {- if (this.context.aliases.hasOwnProperty(alias)) {- this.source[1] = this.source[1] + ', ' + alias + '=' + this.context.aliases[alias];- }- }- }-- if (this.source[1]) {- this.source[1] = "var " + this.source[1].substring(2) + ";";- }-- // Merge children- if (!this.isChild) {- this.source[1] += '\n' + this.context.programs.join('\n') + '\n';- }-- if (!this.environment.isSimple) {- this.pushSource("return buffer;");- }-- var params = this.isChild ? ["depth0", "data"] : ["Handlebars", "depth0", "helpers", "partials", "data"];-- for(var i=0, l=this.environment.depths.list.length; i<l; i++) {- params.push("depth" + this.environment.depths.list[i]);- }-- // Perform a second pass over the output to merge content when possible- var source = this.mergeSource();-- if (!this.isChild) {- var revision = COMPILER_REVISION,- versions = REVISION_CHANGES[revision];- source = "this.compilerInfo = ["+revision+",'"+versions+"'];\n"+source;- }-- if (asObject) {- params.push(source);-- return Function.apply(this, params);- } else {- var functionSource = 'function ' + (this.name || '') + '(' + params.join(',') + ') {\n ' + source + '}';- log('debug', functionSource + "\n\n");- return functionSource;- }- },- mergeSource: function() {- // WARN: We are not handling the case where buffer is still populated as the source should- // not have buffer append operations as their final action.- var source = '',- buffer;- for (var i = 0, len = this.source.length; i < len; i++) {- var line = this.source[i];- if (line.appendToBuffer) {- if (buffer) {- buffer = buffer + '\n + ' + line.content;- } else {- buffer = line.content;- }- } else {- if (buffer) {- source += 'buffer += ' + buffer + ';\n ';- buffer = undefined;- }- source += line + '\n ';- }- }- return source;- },-- // [blockValue]- //- // On stack, before: hash, inverse, program, value- // On stack, after: return value of blockHelperMissing- //- // The purpose of this opcode is to take a block of the form- // `{{#foo}}...{{/foo}}`, resolve the value of `foo`, and- // replace it on the stack with the result of properly- // invoking blockHelperMissing.- blockValue: function() {- this.context.aliases.blockHelperMissing = 'helpers.blockHelperMissing';-- var params = ["depth0"];- this.setupParams(0, params);-- this.replaceStack(function(current) {- params.splice(1, 0, current);- return "blockHelperMissing.call(" + params.join(", ") + ")";- });- },-- // [ambiguousBlockValue]- //- // On stack, before: hash, inverse, program, value- // Compiler value, before: lastHelper=value of last found helper, if any- // On stack, after, if no lastHelper: same as [blockValue]- // On stack, after, if lastHelper: value- ambiguousBlockValue: function() {- this.context.aliases.blockHelperMissing = 'helpers.blockHelperMissing';-- var params = ["depth0"];- this.setupParams(0, params);-- var current = this.topStack();- params.splice(1, 0, current);-- // Use the options value generated from the invocation- params[params.length-1] = 'options';-- this.pushSource("if (!" + this.lastHelper + ") { " + current + " = blockHelperMissing.call(" + params.join(", ") + "); }");- },-- // [appendContent]- //- // On stack, before: ...- // On stack, after: ...- //- // Appends the string value of `content` to the current buffer- appendContent: function(content) {- if (this.pendingContent) {- content = this.pendingContent + content;- }- if (this.stripNext) {- content = content.replace(/^\s+/, '');- }-- this.pendingContent = content;- },-- // [strip]- //- // On stack, before: ...- // On stack, after: ...- //- // Removes any trailing whitespace from the prior content node and flags- // the next operation for stripping if it is a content node.- strip: function() {- if (this.pendingContent) {- this.pendingContent = this.pendingContent.replace(/\s+$/, '');- }- this.stripNext = 'strip';- },-- // [append]- //- // On stack, before: value, ...- // On stack, after: ...- //- // Coerces `value` to a String and appends it to the current buffer.- //- // If `value` is truthy, or 0, it is coerced into a string and appended- // Otherwise, the empty string is appended- append: function() {- // Force anything that is inlined onto the stack so we don't have duplication- // when we examine local- this.flushInline();- var local = this.popStack();- this.pushSource("if(" + local + " || " + local + " === 0) { " + this.appendToBuffer(local) + " }");- if (this.environment.isSimple) {- this.pushSource("else { " + this.appendToBuffer("''") + " }");- }- },-- // [appendEscaped]- //- // On stack, before: value, ...- // On stack, after: ...- //- // Escape `value` and append it to the buffer- appendEscaped: function() {- this.context.aliases.escapeExpression = 'this.escapeExpression';-- this.pushSource(this.appendToBuffer("escapeExpression(" + this.popStack() + ")"));- },-- // [getContext]- //- // On stack, before: ...- // On stack, after: ...- // Compiler value, after: lastContext=depth- //- // Set the value of the `lastContext` compiler value to the depth- getContext: function(depth) {- if(this.lastContext !== depth) {- this.lastContext = depth;- }- },-- // [lookupOnContext]- //- // On stack, before: ...- // On stack, after: currentContext[name], ...- //- // Looks up the value of `name` on the current context and pushes- // it onto the stack.- lookupOnContext: function(name) {- this.push(this.nameLookup('depth' + this.lastContext, name, 'context'));- },-- // [pushContext]- //- // On stack, before: ...- // On stack, after: currentContext, ...- //- // Pushes the value of the current context onto the stack.- pushContext: function() {- this.pushStackLiteral('depth' + this.lastContext);- },-- // [resolvePossibleLambda]- //- // On stack, before: value, ...- // On stack, after: resolved value, ...- //- // If the `value` is a lambda, replace it on the stack by- // the return value of the lambda- resolvePossibleLambda: function() {- this.context.aliases.functionType = '"function"';-- this.replaceStack(function(current) {- return "typeof " + current + " === functionType ? " + current + ".apply(depth0) : " + current;- });- },-- // [lookup]- //- // On stack, before: value, ...- // On stack, after: value[name], ...- //- // Replace the value on the stack with the result of looking- // up `name` on `value`- lookup: function(name) {- this.replaceStack(function(current) {- return current + " == null || " + current + " === false ? " + current + " : " + this.nameLookup(current, name, 'context');- });- },-- // [lookupData]- //- // On stack, before: ...- // On stack, after: data, ...- //- // Push the data lookup operator- lookupData: function() {- this.push('data');- },-- // [pushStringParam]- //- // On stack, before: ...- // On stack, after: string, currentContext, ...- //- // This opcode is designed for use in string mode, which- // provides the string value of a parameter along with its- // depth rather than resolving it immediately.- pushStringParam: function(string, type) {- this.pushStackLiteral('depth' + this.lastContext);-- this.pushString(type);-- if (typeof string === 'string') {- this.pushString(string);- } else {- this.pushStackLiteral(string);- }- },-- emptyHash: function() {- this.pushStackLiteral('{}');-- if (this.options.stringParams) {- this.register('hashTypes', '{}');- this.register('hashContexts', '{}');- }- },- pushHash: function() {- this.hash = {values: [], types: [], contexts: []};- },- popHash: function() {- var hash = this.hash;- this.hash = undefined;-- if (this.options.stringParams) {- this.register('hashContexts', '{' + hash.contexts.join(',') + '}');- this.register('hashTypes', '{' + hash.types.join(',') + '}');- }- this.push('{\n ' + hash.values.join(',\n ') + '\n }');- },-- // [pushString]- //- // On stack, before: ...- // On stack, after: quotedString(string), ...- //- // Push a quoted version of `string` onto the stack- pushString: function(string) {- this.pushStackLiteral(this.quotedString(string));- },-- // [push]- //- // On stack, before: ...- // On stack, after: expr, ...- //- // Push an expression onto the stack- push: function(expr) {- this.inlineStack.push(expr);- return expr;- },-- // [pushLiteral]- //- // On stack, before: ...- // On stack, after: value, ...- //- // Pushes a value onto the stack. This operation prevents- // the compiler from creating a temporary variable to hold- // it.- pushLiteral: function(value) {- this.pushStackLiteral(value);- },-- // [pushProgram]- //- // On stack, before: ...- // On stack, after: program(guid), ...- //- // Push a program expression onto the stack. This takes- // a compile-time guid and converts it into a runtime-accessible- // expression.- pushProgram: function(guid) {- if (guid != null) {- this.pushStackLiteral(this.programExpression(guid));- } else {- this.pushStackLiteral(null);- }- },-- // [invokeHelper]- //- // On stack, before: hash, inverse, program, params..., ...- // On stack, after: result of helper invocation- //- // Pops off the helper's parameters, invokes the helper,- // and pushes the helper's return value onto the stack.- //- // If the helper is not found, `helperMissing` is called.- invokeHelper: function(paramSize, name) {- this.context.aliases.helperMissing = 'helpers.helperMissing';-- var helper = this.lastHelper = this.setupHelper(paramSize, name, true);- var nonHelper = this.nameLookup('depth' + this.lastContext, name, 'context');-- this.push(helper.name + ' || ' + nonHelper);- this.replaceStack(function(name) {- return name + ' ? ' + name + '.call(' +- helper.callParams + ") " + ": helperMissing.call(" +- helper.helperMissingParams + ")";- });- },-- // [invokeKnownHelper]- //- // On stack, before: hash, inverse, program, params..., ...- // On stack, after: result of helper invocation- //- // This operation is used when the helper is known to exist,- // so a `helperMissing` fallback is not required.- invokeKnownHelper: function(paramSize, name) {- var helper = this.setupHelper(paramSize, name);- this.push(helper.name + ".call(" + helper.callParams + ")");- },-- // [invokeAmbiguous]- //- // On stack, before: hash, inverse, program, params..., ...- // On stack, after: result of disambiguation- //- // This operation is used when an expression like `{{foo}}`- // is provided, but we don't know at compile-time whether it- // is a helper or a path.- //- // This operation emits more code than the other options,- // and can be avoided by passing the `knownHelpers` and- // `knownHelpersOnly` flags at compile-time.- invokeAmbiguous: function(name, helperCall) {- this.context.aliases.functionType = '"function"';-- this.pushStackLiteral('{}'); // Hash value- var helper = this.setupHelper(0, name, helperCall);-- var helperName = this.lastHelper = this.nameLookup('helpers', name, 'helper');-- var nonHelper = this.nameLookup('depth' + this.lastContext, name, 'context');- var nextStack = this.nextStack();-- this.pushSource('if (' + nextStack + ' = ' + helperName + ') { ' + nextStack + ' = ' + nextStack + '.call(' + helper.callParams + '); }');- this.pushSource('else { ' + nextStack + ' = ' + nonHelper + '; ' + nextStack + ' = typeof ' + nextStack + ' === functionType ? ' + nextStack + '.call(' + helper.callParams + ') : ' + nextStack + '; }');- },-- // [invokePartial]- //- // On stack, before: context, ...- // On stack after: result of partial invocation- //- // This operation pops off a context, invokes a partial with that context,- // and pushes the result of the invocation back.- invokePartial: function(name) {- var params = [this.nameLookup('partials', name, 'partial'), "'" + name + "'", this.popStack(), "helpers", "partials"];-- if (this.options.data) {- params.push("data");- }-- this.context.aliases.self = "this";- this.push("self.invokePartial(" + params.join(", ") + ")");- },-- // [assignToHash]- //- // On stack, before: value, hash, ...- // On stack, after: hash, ...- //- // Pops a value and hash off the stack, assigns `hash[key] = value`- // and pushes the hash back onto the stack.- assignToHash: function(key) {- var value = this.popStack(),- context,- type;-- if (this.options.stringParams) {- type = this.popStack();- context = this.popStack();- }-- var hash = this.hash;- if (context) {- hash.contexts.push("'" + key + "': " + context);- }- if (type) {- hash.types.push("'" + key + "': " + type);- }- hash.values.push("'" + key + "': (" + value + ")");- },-- // HELPERS-- compiler: JavaScriptCompiler,-- compileChildren: function(environment, options) {- var children = environment.children, child, compiler;-- for(var i=0, l=children.length; i<l; i++) {- child = children[i];- compiler = new this.compiler();-- var index = this.matchExistingProgram(child);-- if (index == null) {- this.context.programs.push(''); // Placeholder to prevent name conflicts for nested children- index = this.context.programs.length;- child.index = index;- child.name = 'program' + index;- this.context.programs[index] = compiler.compile(child, options, this.context);- this.context.environments[index] = child;- } else {- child.index = index;- child.name = 'program' + index;- }- }- },- matchExistingProgram: function(child) {- for (var i = 0, len = this.context.environments.length; i < len; i++) {- var environment = this.context.environments[i];- if (environment && environment.equals(child)) {- return i;- }- }- },-- programExpression: function(guid) {- this.context.aliases.self = "this";-- if(guid == null) {- return "self.noop";- }-- var child = this.environment.children[guid],- depths = child.depths.list, depth;-- var programParams = [child.index, child.name, "data"];-- for(var i=0, l = depths.length; i<l; i++) {- depth = depths[i];-- if(depth === 1) { programParams.push("depth0"); }- else { programParams.push("depth" + (depth - 1)); }- }-- return (depths.length === 0 ? "self.program(" : "self.programWithDepth(") + programParams.join(", ") + ")";- },-- register: function(name, val) {- this.useRegister(name);- this.pushSource(name + " = " + val + ";");- },-- useRegister: function(name) {- if(!this.registers[name]) {- this.registers[name] = true;- this.registers.list.push(name);- }- },-- pushStackLiteral: function(item) {- return this.push(new Literal(item));- },-- pushSource: function(source) {- if (this.pendingContent) {- this.source.push(this.appendToBuffer(this.quotedString(this.pendingContent)));- this.pendingContent = undefined;- }-- if (source) {- this.source.push(source);- }- },-- pushStack: function(item) {- this.flushInline();-- var stack = this.incrStack();- if (item) {- this.pushSource(stack + " = " + item + ";");- }- this.compileStack.push(stack);- return stack;- },-- replaceStack: function(callback) {- var prefix = '',- inline = this.isInline(),- stack;-- // If we are currently inline then we want to merge the inline statement into the- // replacement statement via ','- if (inline) {- var top = this.popStack(true);-- if (top instanceof Literal) {- // Literals do not need to be inlined- stack = top.value;- } else {- // Get or create the current stack name for use by the inline- var name = this.stackSlot ? this.topStackName() : this.incrStack();-- prefix = '(' + this.push(name) + ' = ' + top + '),';- stack = this.topStack();- }- } else {- stack = this.topStack();- }-- var item = callback.call(this, stack);-- if (inline) {- if (this.inlineStack.length || this.compileStack.length) {- this.popStack();- }- this.push('(' + prefix + item + ')');- } else {- // Prevent modification of the context depth variable. Through replaceStack- if (!/^stack/.test(stack)) {- stack = this.nextStack();- }-- this.pushSource(stack + " = (" + prefix + item + ");");- }- return stack;- },-- nextStack: function() {- return this.pushStack();- },-- incrStack: function() {- this.stackSlot++;- if(this.stackSlot > this.stackVars.length) { this.stackVars.push("stack" + this.stackSlot); }- return this.topStackName();- },- topStackName: function() {- return "stack" + this.stackSlot;- },- flushInline: function() {- var inlineStack = this.inlineStack;- if (inlineStack.length) {- this.inlineStack = [];- for (var i = 0, len = inlineStack.length; i < len; i++) {- var entry = inlineStack[i];- if (entry instanceof Literal) {- this.compileStack.push(entry);- } else {- this.pushStack(entry);- }- }- }- },- isInline: function() {- return this.inlineStack.length;- },-- popStack: function(wrapped) {- var inline = this.isInline(),- item = (inline ? this.inlineStack : this.compileStack).pop();-- if (!wrapped && (item instanceof Literal)) {- return item.value;- } else {- if (!inline) {- this.stackSlot--;- }- return item;- }- },-- topStack: function(wrapped) {- var stack = (this.isInline() ? this.inlineStack : this.compileStack),- item = stack[stack.length - 1];-- if (!wrapped && (item instanceof Literal)) {- return item.value;- } else {- return item;- }- },-- quotedString: function(str) {- return '"' + str- .replace(/\\/g, '\\\\')- .replace(/"/g, '\\"')- .replace(/\n/g, '\\n')- .replace(/\r/g, '\\r')- .replace(/\u2028/g, '\\u2028') // Per Ecma-262 7.3 + 7.8.4- .replace(/\u2029/g, '\\u2029') + '"';- },-- setupHelper: function(paramSize, name, missingParams) {- var params = [];- this.setupParams(paramSize, params, missingParams);- var foundHelper = this.nameLookup('helpers', name, 'helper');-- return {- params: params,- name: foundHelper,- callParams: ["depth0"].concat(params).join(", "),- helperMissingParams: missingParams && ["depth0", this.quotedString(name)].concat(params).join(", ")- };- },-- // the params and contexts arguments are passed in arrays- // to fill in- setupParams: function(paramSize, params, useRegister) {- var options = [], contexts = [], types = [], param, inverse, program;-- options.push("hash:" + this.popStack());-- inverse = this.popStack();- program = this.popStack();-- // Avoid setting fn and inverse if neither are set. This allows- // helpers to do a check for `if (options.fn)`- if (program || inverse) {- if (!program) {- this.context.aliases.self = "this";- program = "self.noop";- }-- if (!inverse) {- this.context.aliases.self = "this";- inverse = "self.noop";- }-- options.push("inverse:" + inverse);- options.push("fn:" + program);- }-- for(var i=0; i<paramSize; i++) {- param = this.popStack();- params.push(param);-- if(this.options.stringParams) {- types.push(this.popStack());- contexts.push(this.popStack());- }- }-- if (this.options.stringParams) {- options.push("contexts:[" + contexts.join(",") + "]");- options.push("types:[" + types.join(",") + "]");- options.push("hashContexts:hashContexts");- options.push("hashTypes:hashTypes");- }-- if(this.options.data) {- options.push("data:data");- }-- options = "{" + options.join(",") + "}";- if (useRegister) {- this.register('options', options);- params.push('options');- } else {- params.push(options);- }- return params.join(", ");- }- };-- var reservedWords = (- "break else new var" +- " case finally return void" +- " catch for switch while" +- " continue function this with" +- " default if throw" +- " delete in try" +- " do instanceof typeof" +- " abstract enum int short" +- " boolean export interface static" +- " byte extends long super" +- " char final native synchronized" +- " class float package throws" +- " const goto private transient" +- " debugger implements protected volatile" +- " double import public let yield"- ).split(" ");-- var compilerWords = JavaScriptCompiler.RESERVED_WORDS = {};-- for(var i=0, l=reservedWords.length; i<l; i++) {- compilerWords[reservedWords[i]] = true;- }-- JavaScriptCompiler.isValidJavaScriptVariableName = function(name) {- if(!JavaScriptCompiler.RESERVED_WORDS[name] && /^[a-zA-Z_$][0-9a-zA-Z_$]+$/.test(name)) {- return true;- }- return false;- };-- __exports__ = JavaScriptCompiler;- return __exports__;-})(__module2__);--// handlebars/compiler/compiler.js-var __module10__ = (function(__dependency1__, __dependency2__, __dependency3__, __dependency4__) {- "use strict";- var __exports__ = {};- var Exception = __dependency1__;- var parse = __dependency2__.parse;- var JavaScriptCompiler = __dependency3__;- var AST = __dependency4__;-- function Compiler() {}-- __exports__.Compiler = Compiler;// the foundHelper register will disambiguate helper lookup from finding a- // function in a context. This is necessary for mustache compatibility, which- // requires that context functions in blocks are evaluated by blockHelperMissing,- // and then proceed as if the resulting value was provided to blockHelperMissing.-- Compiler.prototype = {- compiler: Compiler,-- disassemble: function() {- var opcodes = this.opcodes, opcode, out = [], params, param;-- for (var i=0, l=opcodes.length; i<l; i++) {- opcode = opcodes[i];-- if (opcode.opcode === 'DECLARE') {- out.push("DECLARE " + opcode.name + "=" + opcode.value);- } else {- params = [];- for (var j=0; j<opcode.args.length; j++) {- param = opcode.args[j];- if (typeof param === "string") {- param = "\"" + param.replace("\n", "\\n") + "\"";- }- params.push(param);- }- out.push(opcode.opcode + " " + params.join(" "));- }- }-- return out.join("\n");- },-- equals: function(other) {- var len = this.opcodes.length;- if (other.opcodes.length !== len) {- return false;- }-- for (var i = 0; i < len; i++) {- var opcode = this.opcodes[i],- otherOpcode = other.opcodes[i];- if (opcode.opcode !== otherOpcode.opcode || opcode.args.length !== otherOpcode.args.length) {- return false;- }- for (var j = 0; j < opcode.args.length; j++) {- if (opcode.args[j] !== otherOpcode.args[j]) {- return false;- }- }- }-- len = this.children.length;- if (other.children.length !== len) {- return false;- }- for (i = 0; i < len; i++) {- if (!this.children[i].equals(other.children[i])) {- return false;- }- }-- return true;- },-- guid: 0,-- compile: function(program, options) {- this.opcodes = [];- this.children = [];- this.depths = {list: []};- this.options = options;-- // These changes will propagate to the other compiler components- var knownHelpers = this.options.knownHelpers;- this.options.knownHelpers = {- 'helperMissing': true,- 'blockHelperMissing': true,- 'each': true,- 'if': true,- 'unless': true,- 'with': true,- 'log': true- };- if (knownHelpers) {- for (var name in knownHelpers) {- this.options.knownHelpers[name] = knownHelpers[name];- }- }-- return this.accept(program);- },-- accept: function(node) {- var strip = node.strip || {},- ret;- if (strip.left) {- this.opcode('strip');- }-- ret = this[node.type](node);-- if (strip.right) {- this.opcode('strip');- }-- return ret;- },-- program: function(program) {- var statements = program.statements;-- for(var i=0, l=statements.length; i<l; i++) {- this.accept(statements[i]);- }- this.isSimple = l === 1;-- this.depths.list = this.depths.list.sort(function(a, b) {- return a - b;- });-- return this;- },-- compileProgram: function(program) {- var result = new this.compiler().compile(program, this.options);- var guid = this.guid++, depth;-- this.usePartial = this.usePartial || result.usePartial;-- this.children[guid] = result;-- for(var i=0, l=result.depths.list.length; i<l; i++) {- depth = result.depths.list[i];-- if(depth < 2) { continue; }- else { this.addDepth(depth - 1); }- }-- return guid;- },-- block: function(block) {- var mustache = block.mustache,- program = block.program,- inverse = block.inverse;-- if (program) {- program = this.compileProgram(program);- }-- if (inverse) {- inverse = this.compileProgram(inverse);- }-- var type = this.classifyMustache(mustache);-- if (type === "helper") {- this.helperMustache(mustache, program, inverse);- } else if (type === "simple") {- this.simpleMustache(mustache);-- // now that the simple mustache is resolved, we need to- // evaluate it by executing `blockHelperMissing`- this.opcode('pushProgram', program);- this.opcode('pushProgram', inverse);- this.opcode('emptyHash');- this.opcode('blockValue');- } else {- this.ambiguousMustache(mustache, program, inverse);-- // now that the simple mustache is resolved, we need to- // evaluate it by executing `blockHelperMissing`- this.opcode('pushProgram', program);- this.opcode('pushProgram', inverse);- this.opcode('emptyHash');- this.opcode('ambiguousBlockValue');- }-- this.opcode('append');- },-- hash: function(hash) {- var pairs = hash.pairs, pair, val;-- this.opcode('pushHash');-- for(var i=0, l=pairs.length; i<l; i++) {- pair = pairs[i];- val = pair[1];-- if (this.options.stringParams) {- if(val.depth) {- this.addDepth(val.depth);- }- this.opcode('getContext', val.depth || 0);- this.opcode('pushStringParam', val.stringModeValue, val.type);- } else {- this.accept(val);- }-- this.opcode('assignToHash', pair[0]);- }- this.opcode('popHash');- },-- partial: function(partial) {- var partialName = partial.partialName;- this.usePartial = true;-- if(partial.context) {- this.ID(partial.context);- } else {- this.opcode('push', 'depth0');- }-- this.opcode('invokePartial', partialName.name);- this.opcode('append');- },-- content: function(content) {- this.opcode('appendContent', content.string);- },-- mustache: function(mustache) {- var options = this.options;- var type = this.classifyMustache(mustache);-- if (type === "simple") {- this.simpleMustache(mustache);- } else if (type === "helper") {- this.helperMustache(mustache);- } else {- this.ambiguousMustache(mustache);- }-- if(mustache.escaped && !options.noEscape) {- this.opcode('appendEscaped');- } else {- this.opcode('append');- }- },-- ambiguousMustache: function(mustache, program, inverse) {- var id = mustache.id,- name = id.parts[0],- isBlock = program != null || inverse != null;-- this.opcode('getContext', id.depth);-- this.opcode('pushProgram', program);- this.opcode('pushProgram', inverse);-- this.opcode('invokeAmbiguous', name, isBlock);- },-- simpleMustache: function(mustache) {- var id = mustache.id;-- if (id.type === 'DATA') {- this.DATA(id);- } else if (id.parts.length) {- this.ID(id);- } else {- // Simplified ID for `this`- this.addDepth(id.depth);- this.opcode('getContext', id.depth);- this.opcode('pushContext');- }-- this.opcode('resolvePossibleLambda');- },-- helperMustache: function(mustache, program, inverse) {- var params = this.setupFullMustacheParams(mustache, program, inverse),- name = mustache.id.parts[0];-- if (this.options.knownHelpers[name]) {- this.opcode('invokeKnownHelper', params.length, name);- } else if (this.options.knownHelpersOnly) {- throw new Error("You specified knownHelpersOnly, but used the unknown helper " + name);- } else {- this.opcode('invokeHelper', params.length, name);- }- },-- ID: function(id) {- this.addDepth(id.depth);- this.opcode('getContext', id.depth);-- var name = id.parts[0];- if (!name) {- this.opcode('pushContext');- } else {- this.opcode('lookupOnContext', id.parts[0]);- }-- for(var i=1, l=id.parts.length; i<l; i++) {- this.opcode('lookup', id.parts[i]);- }- },-- DATA: function(data) {- this.options.data = true;- if (data.id.isScoped || data.id.depth) {- throw new Exception('Scoped data references are not supported: ' + data.original);- }-- this.opcode('lookupData');- var parts = data.id.parts;- for(var i=0, l=parts.length; i<l; i++) {- this.opcode('lookup', parts[i]);- }- },-- STRING: function(string) {- this.opcode('pushString', string.string);- },-- INTEGER: function(integer) {- this.opcode('pushLiteral', integer.integer);- },-- BOOLEAN: function(bool) {- this.opcode('pushLiteral', bool.bool);- },-- comment: function() {},-- // HELPERS- opcode: function(name) {- this.opcodes.push({ opcode: name, args: [].slice.call(arguments, 1) });- },-- declare: function(name, value) {- this.opcodes.push({ opcode: 'DECLARE', name: name, value: value });- },-- addDepth: function(depth) {- if(isNaN(depth)) { throw new Error("EWOT"); }- if(depth === 0) { return; }-- if(!this.depths[depth]) {- this.depths[depth] = true;- this.depths.list.push(depth);- }- },-- classifyMustache: function(mustache) {- var isHelper = mustache.isHelper;- var isEligible = mustache.eligibleHelper;- var options = this.options;-- // if ambiguous, we can possibly resolve the ambiguity now- if (isEligible && !isHelper) {- var name = mustache.id.parts[0];-- if (options.knownHelpers[name]) {- isHelper = true;- } else if (options.knownHelpersOnly) {- isEligible = false;- }- }-- if (isHelper) { return "helper"; }- else if (isEligible) { return "ambiguous"; }- else { return "simple"; }- },-- pushParams: function(params) {- var i = params.length, param;-- while(i--) {- param = params[i];-- if(this.options.stringParams) {- if(param.depth) {- this.addDepth(param.depth);- }-- this.opcode('getContext', param.depth || 0);- this.opcode('pushStringParam', param.stringModeValue, param.type);- } else {- this[param.type](param);- }- }- },-- setupMustacheParams: function(mustache) {- var params = mustache.params;- this.pushParams(params);-- if(mustache.hash) {- this.hash(mustache.hash);- } else {- this.opcode('emptyHash');- }-- return params;- },-- // this will replace setupMustacheParams when we're done- setupFullMustacheParams: function(mustache, program, inverse) {- var params = mustache.params;- this.pushParams(params);-- this.opcode('pushProgram', program);- this.opcode('pushProgram', inverse);-- if(mustache.hash) {- this.hash(mustache.hash);- } else {- this.opcode('emptyHash');- }-- return params;- }- };-- function precompile(input, options) {- if (input == null || (typeof input !== 'string' && input.constructor !== AST.ProgramNode)) {- throw new Exception("You must pass a string or Handlebars AST to Handlebars.precompile. You passed " + input);- }-- options = options || {};- if (!('data' in options)) {- options.data = true;- }-- var ast = parse(input);- var environment = new Compiler().compile(ast, options);- return new JavaScriptCompiler().compile(environment, options);- }-- __exports__.precompile = precompile;function compile(input, options, env) {- if (input == null || (typeof input !== 'string' && input.constructor !== AST.ProgramNode)) {- throw new Exception("You must pass a string or Handlebars AST to Handlebars.compile. You passed " + input);- }-- options = options || {};-- if (!('data' in options)) {- options.data = true;- }-- var compiled;-- function compileInput() {- var ast = parse(input);- var environment = new Compiler().compile(ast, options);- var templateSpec = new JavaScriptCompiler().compile(environment, options, undefined, true);- return env.template(templateSpec);- }-- // Template is only compiled on first use and cached after that point.- return function(context, options) {- if (!compiled) {- compiled = compileInput();- }- return compiled.call(this, context, options);- };- }-- __exports__.compile = compile;- return __exports__;-})(__module5__, __module8__, __module11__, __module7__);--// handlebars.js-var __module0__ = (function(__dependency1__, __dependency2__, __dependency3__, __dependency4__, __dependency5__) {- "use strict";- var __exports__;- var Handlebars = __dependency1__;-- // Compiler imports- var AST = __dependency2__;- var Parser = __dependency3__.parser;- var parse = __dependency3__.parse;- var Compiler = __dependency4__.Compiler;- var compile = __dependency4__.compile;- var precompile = __dependency4__.precompile;- var JavaScriptCompiler = __dependency5__;-- var _create = Handlebars.create;- var create = function() {- var hb = _create();-- hb.compile = function(input, options) {- return compile(input, options, hb);- };- hb.precompile = precompile;-- hb.AST = AST;- hb.Compiler = Compiler;- hb.JavaScriptCompiler = JavaScriptCompiler;- hb.Parser = Parser;- hb.parse = parse;-- return hb;- };-- Handlebars = create();- Handlebars.create = create;-- __exports__ = Handlebars;- return __exports__;-})(__module1__, __module7__, __module8__, __module10__, __module11__);-- return __module0__;-})();diff --git a/data/libs/handlebars/handlebars.min.js b/data/libs/handlebars/handlebars.min.jsnew file mode 100644index 000000000..dc4c7dfdd--- /dev/null+++ b/data/libs/handlebars/handlebars.min.js@@ -0,0 +1,28 @@+/*!++ handlebars v1.1.2++Copyright (C) 2011 by Yehuda Katz++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.++@license+*/+var Handlebars=function(){var a=function(){"use strict";function a(a){this.string=a}var b;return a.prototype.toString=function(){return""+this.string},b=a}(),b=function(a){"use strict";function b(a){return h[a]||"&"}function c(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])}function d(a){return a instanceof g?a.toString():a||0===a?(a=""+a,j.test(a)?a.replace(i,b):a):""}function e(a){return a||0===a?m(a)&&0===a.length?!0:!1:!0}var f={},g=a,h={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},i=/[&<>"'`]/g,j=/[&<>"'`]/;f.extend=c;var k=Object.prototype.toString;f.toString=k;var l=function(a){return"function"==typeof a};l(/x/)&&(l=function(a){return"function"==typeof a&&"[object Function]"===k.call(a)});var l;f.isFunction=l;var m=Array.isArray||function(a){return a&&"object"==typeof a?"[object Array]"===k.call(a):!1};return f.isArray=m,f.escapeExpression=d,f.isEmpty=e,f}(a),c=function(){"use strict";function a(){for(var a=Error.prototype.constructor.apply(this,arguments),b=0;b<c.length;b++)this[c[b]]=a[c[b]]}var b,c=["description","fileName","lineNumber","message","name","number","stack"];return a.prototype=new Error,b=a}(),d=function(a,b){"use strict";function c(a,b){this.helpers=a||{},this.partials=b||{},d(this)}function d(a){a.registerHelper("helperMissing",function(a){if(2===arguments.length)return void 0;throw new Error("Missing helper: '"+a+"'")}),a.registerHelper("blockHelperMissing",function(b,c){var d=c.inverse||function(){},e=c.fn;return m(b)&&(b=b.call(this)),b===!0?e(this):b===!1||null==b?d(this):l(b)?b.length>0?a.helpers.each(b,c):d(this):e(b)}),a.registerHelper("each",function(a,b){var c,d=b.fn,e=b.inverse,f=0,g="";if(m(a)&&(a=a.call(this)),b.data&&(c=q(b.data)),a&&"object"==typeof a)if(l(a))for(var h=a.length;h>f;f++)c&&(c.index=f,c.first=0===f,c.last=f===a.length-1),g+=d(a[f],{data:c});else for(var i in a)a.hasOwnProperty(i)&&(c&&(c.key=i),g+=d(a[i],{data:c}),f++);return 0===f&&(g=e(this)),g}),a.registerHelper("if",function(a,b){return m(a)&&(a=a.call(this)),!b.hash.includeZero&&!a||g.isEmpty(a)?b.inverse(this):b.fn(this)}),a.registerHelper("unless",function(b,c){return a.helpers["if"].call(this,b,{fn:c.inverse,inverse:c.fn,hash:c.hash})}),a.registerHelper("with",function(a,b){return m(a)&&(a=a.call(this)),g.isEmpty(a)?void 0:b.fn(a)}),a.registerHelper("log",function(b,c){var d=c.data&&null!=c.data.level?parseInt(c.data.level,10):1;a.log(d,b)})}function e(a,b){p.log(a,b)}var f={},g=a,h=b,i="1.1.2";f.VERSION=i;var j=4;f.COMPILER_REVISION=j;var k={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:">= 1.0.0"};f.REVISION_CHANGES=k;var l=g.isArray,m=g.isFunction,n=g.toString,o="[object Object]";f.HandlebarsEnvironment=c,c.prototype={constructor:c,logger:p,log:e,registerHelper:function(a,b,c){if(n.call(a)===o){if(c||b)throw new h("Arg not supported with multiple helpers");g.extend(this.helpers,a)}else c&&(b.not=c),this.helpers[a]=b},registerPartial:function(a,b){n.call(a)===o?g.extend(this.partials,a):this.partials[a]=b}};var p={methodMap:{0:"debug",1:"info",2:"warn",3:"error"},DEBUG:0,INFO:1,WARN:2,ERROR:3,level:3,log:function(a,b){if(p.level<=a){var c=p.methodMap[a];"undefined"!=typeof console&&console[c]&&console[c].call(console,b)}}};f.logger=p,f.log=e;var q=function(a){var b={};return g.extend(b,a),b};return f.createFrame=q,f}(b,c),e=function(a,b,c){"use strict";function d(a){var b=a&&a[0]||1,c=m;if(b!==c){if(c>b){var d=n[c],e=n[b];throw new Error("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+d+") or downgrade your runtime to an older version ("+e+").")}throw new Error("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+a[1]+").")}}function e(a,b){if(!b)throw new Error("No environment passed to template");var c;c=b.compile?function(a,c,d,e,f,g){var i=h.apply(this,arguments);if(i)return i;var j={helpers:e,partials:f,data:g};return f[c]=b.compile(a,{data:void 0!==g},b),f[c](d,j)}:function(a,b){var c=h.apply(this,arguments);if(c)return c;throw new l("The partial "+b+" could not be compiled when running in runtime-only mode")};var e={escapeExpression:k.escapeExpression,invokePartial:c,programs:[],program:function(a,b,c){var d=this.programs[a];return c?d=g(a,b,c):d||(d=this.programs[a]=g(a,b)),d},merge:function(a,b){var c=a||b;return a&&b&&a!==b&&(c={},k.extend(c,b),k.extend(c,a)),c},programWithDepth:f,noop:i,compilerInfo:null};return function(c,f){f=f||{};var g,h,i=f.partial?f:b;f.partial||(g=f.helpers,h=f.partials);var j=a.call(e,i,c,g,h,f.data);return f.partial||d(e.compilerInfo),j}}function f(a,b,c){var d=Array.prototype.slice.call(arguments,3),e=function(a,e){return e=e||{},b.apply(this,[a,e.data||c].concat(d))};return e.program=a,e.depth=d.length,e}function g(a,b,c){var d=function(a,d){return d=d||{},b(a,d.data||c)};return d.program=a,d.depth=0,d}function h(a,b,c,d,e,f){var g={partial:!0,helpers:d,partials:e,data:f};if(void 0===a)throw new l("The partial "+b+" could not be found");return a instanceof Function?a(c,g):void 0}function i(){return""}var j={},k=a,l=b,m=c.COMPILER_REVISION,n=c.REVISION_CHANGES;return j.template=e,j.programWithDepth=f,j.program=g,j.invokePartial=h,j.noop=i,j}(b,c,d),f=function(a,b,c,d,e){"use strict";var f,g=a,h=b,i=c,j=d,k=e,l=function(){var a=new g.HandlebarsEnvironment;return j.extend(a,g),a.SafeString=h,a.Exception=i,a.Utils=j,a.VM=k,a.template=function(b){return k.template(b,a)},a},m=l();return m.create=l,f=m}(d,a,c,b,e),g=function(a){"use strict";function b(a,c,d){this.type="program",this.statements=a,this.strip={},d?(this.inverse=new b(d,c),this.strip.right=c.left):c&&(this.strip.left=c.right)}function c(a,b,c,d){this.type="mustache",this.hash=b,this.strip=d;var e=c[3]||c[2];this.escaped="{"!==e&&"&"!==e;var f=this.id=a[0],g=this.params=a.slice(1),h=this.eligibleHelper=f.isSimple;this.isHelper=h&&(g.length||b)}function d(a,b,c){this.type="partial",this.partialName=a,this.context=b,this.strip=c}function e(a,b,c,d){if(a.id.original!==d.path.original)throw new p(a.id.original+" doesn't match "+d.path.original);this.type="block",this.mustache=a,this.program=b,this.inverse=c,this.strip={left:a.strip.left,right:d.strip.right},(b||c).strip.left=a.strip.right,(c||b).strip.right=d.strip.left,c&&!b&&(this.isInverse=!0)}function f(a){this.type="content",this.string=a}function g(a){this.type="hash",this.pairs=a}function h(a){this.type="ID";for(var b="",c=[],d=0,e=0,f=a.length;f>e;e++){var g=a[e].part;if(b+=(a[e].separator||"")+g,".."===g||"."===g||"this"===g){if(c.length>0)throw new p("Invalid path: "+b);".."===g?d++:this.isScoped=!0}else c.push(g)}this.original=b,this.parts=c,this.string=c.join("."),this.depth=d,this.isSimple=1===a.length&&!this.isScoped&&0===d,this.stringModeValue=this.string}function i(a){this.type="PARTIAL_NAME",this.name=a.original}function j(a){this.type="DATA",this.id=a}function k(a){this.type="STRING",this.original=this.string=this.stringModeValue=a}function l(a){this.type="INTEGER",this.original=this.integer=a,this.stringModeValue=Number(a)}function m(a){this.type="BOOLEAN",this.bool=a,this.stringModeValue="true"===a}function n(a){this.type="comment",this.comment=a}var o={},p=a;return o.ProgramNode=b,o.MustacheNode=c,o.PartialNode=d,o.BlockNode=e,o.ContentNode=f,o.HashNode=g,o.IdNode=h,o.PartialNameNode=i,o.DataNode=j,o.StringNode=k,o.IntegerNode=l,o.BooleanNode=m,o.CommentNode=n,o}(c),h=function(){"use strict";var a,b=function(){function a(a,b){return{left:"~"===a[2],right:"~"===b[0]||"~"===b[1]}}function b(){this.yy={}}var c={trace:function(){},yy:{},symbols_:{error:2,root:3,statements:4,EOF:5,program:6,simpleInverse:7,statement:8,openInverse:9,closeBlock:10,openBlock:11,mustache:12,partial:13,CONTENT:14,COMMENT:15,OPEN_BLOCK:16,inMustache:17,CLOSE:18,OPEN_INVERSE:19,OPEN_ENDBLOCK:20,path:21,OPEN:22,OPEN_UNESCAPED:23,CLOSE_UNESCAPED:24,OPEN_PARTIAL:25,partialName:26,partial_option0:27,inMustache_repetition0:28,inMustache_option0:29,dataName:30,param:31,STRING:32,INTEGER:33,BOOLEAN:34,hash:35,hash_repetition_plus0:36,hashSegment:37,ID:38,EQUALS:39,DATA:40,pathSegments:41,SEP:42,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"CONTENT",15:"COMMENT",16:"OPEN_BLOCK",18:"CLOSE",19:"OPEN_INVERSE",20:"OPEN_ENDBLOCK",22:"OPEN",23:"OPEN_UNESCAPED",24:"CLOSE_UNESCAPED",25:"OPEN_PARTIAL",32:"STRING",33:"INTEGER",34:"BOOLEAN",38:"ID",39:"EQUALS",40:"DATA",42:"SEP"},productions_:[0,[3,2],[3,1],[6,2],[6,3],[6,2],[6,1],[6,1],[6,0],[4,1],[4,2],[8,3],[8,3],[8,1],[8,1],[8,1],[8,1],[11,3],[9,3],[10,3],[12,3],[12,3],[13,4],[7,2],[17,3],[17,1],[31,1],[31,1],[31,1],[31,1],[31,1],[35,1],[37,3],[26,1],[26,1],[26,1],[30,2],[21,1],[41,3],[41,1],[27,0],[27,1],[28,0],[28,2],[29,0],[29,1],[36,1],[36,2]],performAction:function(b,c,d,e,f,g){var h=g.length-1;switch(f){case 1:return new e.ProgramNode(g[h-1]);case 2:return new e.ProgramNode([]);case 3:this.$=new e.ProgramNode([],g[h-1],g[h]);break;case 4:this.$=new e.ProgramNode(g[h-2],g[h-1],g[h]);break;case 5:this.$=new e.ProgramNode(g[h-1],g[h],[]);break;case 6:this.$=new e.ProgramNode(g[h]);break;case 7:this.$=new e.ProgramNode([]);break;case 8:this.$=new e.ProgramNode([]);break;case 9:this.$=[g[h]];break;case 10:g[h-1].push(g[h]),this.$=g[h-1];break;case 11:this.$=new e.BlockNode(g[h-2],g[h-1].inverse,g[h-1],g[h]);break;case 12:this.$=new e.BlockNode(g[h-2],g[h-1],g[h-1].inverse,g[h]);break;case 13:this.$=g[h];break;case 14:this.$=g[h];break;case 15:this.$=new e.ContentNode(g[h]);break;case 16:this.$=new e.CommentNode(g[h]);break;case 17:this.$=new e.MustacheNode(g[h-1][0],g[h-1][1],g[h-2],a(g[h-2],g[h]));break;case 18:this.$=new e.MustacheNode(g[h-1][0],g[h-1][1],g[h-2],a(g[h-2],g[h]));break;case 19:this.$={path:g[h-1],strip:a(g[h-2],g[h])};break;case 20:this.$=new e.MustacheNode(g[h-1][0],g[h-1][1],g[h-2],a(g[h-2],g[h]));break;case 21:this.$=new e.MustacheNode(g[h-1][0],g[h-1][1],g[h-2],a(g[h-2],g[h]));break;case 22:this.$=new e.PartialNode(g[h-2],g[h-1],a(g[h-3],g[h]));break;case 23:this.$=a(g[h-1],g[h]);break;case 24:this.$=[[g[h-2]].concat(g[h-1]),g[h]];break;case 25:this.$=[[g[h]],null];break;case 26:this.$=g[h];break;case 27:this.$=new e.StringNode(g[h]);break;case 28:this.$=new e.IntegerNode(g[h]);break;case 29:this.$=new e.BooleanNode(g[h]);break;case 30:this.$=g[h];break;case 31:this.$=new e.HashNode(g[h]);break;case 32:this.$=[g[h-2],g[h]];break;case 33:this.$=new e.PartialNameNode(g[h]);break;case 34:this.$=new e.PartialNameNode(new e.StringNode(g[h]));break;case 35:this.$=new e.PartialNameNode(new e.IntegerNode(g[h]));break;case 36:this.$=new e.DataNode(g[h]);break;case 37:this.$=new e.IdNode(g[h]);break;case 38:g[h-2].push({part:g[h],separator:g[h-1]}),this.$=g[h-2];break;case 39:this.$=[{part:g[h]}];break;case 42:this.$=[];break;case 43:g[h-1].push(g[h]);break;case 46:this.$=[g[h]];break;case 47:g[h-1].push(g[h])}},table:[{3:1,4:2,5:[1,3],8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],22:[1,13],23:[1,14],25:[1,15]},{1:[3]},{5:[1,16],8:17,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],22:[1,13],23:[1,14],25:[1,15]},{1:[2,2]},{5:[2,9],14:[2,9],15:[2,9],16:[2,9],19:[2,9],20:[2,9],22:[2,9],23:[2,9],25:[2,9]},{4:20,6:18,7:19,8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,21],20:[2,8],22:[1,13],23:[1,14],25:[1,15]},{4:20,6:22,7:19,8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,21],20:[2,8],22:[1,13],23:[1,14],25:[1,15]},{5:[2,13],14:[2,13],15:[2,13],16:[2,13],19:[2,13],20:[2,13],22:[2,13],23:[2,13],25:[2,13]},{5:[2,14],14:[2,14],15:[2,14],16:[2,14],19:[2,14],20:[2,14],22:[2,14],23:[2,14],25:[2,14]},{5:[2,15],14:[2,15],15:[2,15],16:[2,15],19:[2,15],20:[2,15],22:[2,15],23:[2,15],25:[2,15]},{5:[2,16],14:[2,16],15:[2,16],16:[2,16],19:[2,16],20:[2,16],22:[2,16],23:[2,16],25:[2,16]},{17:23,21:24,30:25,38:[1,28],40:[1,27],41:26},{17:29,21:24,30:25,38:[1,28],40:[1,27],41:26},{17:30,21:24,30:25,38:[1,28],40:[1,27],41:26},{17:31,21:24,30:25,38:[1,28],40:[1,27],41:26},{21:33,26:32,32:[1,34],33:[1,35],38:[1,28],41:26},{1:[2,1]},{5:[2,10],14:[2,10],15:[2,10],16:[2,10],19:[2,10],20:[2,10],22:[2,10],23:[2,10],25:[2,10]},{10:36,20:[1,37]},{4:38,8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],20:[2,7],22:[1,13],23:[1,14],25:[1,15]},{7:39,8:17,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,21],20:[2,6],22:[1,13],23:[1,14],25:[1,15]},{17:23,18:[1,40],21:24,30:25,38:[1,28],40:[1,27],41:26},{10:41,20:[1,37]},{18:[1,42]},{18:[2,42],24:[2,42],28:43,32:[2,42],33:[2,42],34:[2,42],38:[2,42],40:[2,42]},{18:[2,25],24:[2,25]},{18:[2,37],24:[2,37],32:[2,37],33:[2,37],34:[2,37],38:[2,37],40:[2,37],42:[1,44]},{21:45,38:[1,28],41:26},{18:[2,39],24:[2,39],32:[2,39],33:[2,39],34:[2,39],38:[2,39],40:[2,39],42:[2,39]},{18:[1,46]},{18:[1,47]},{24:[1,48]},{18:[2,40],21:50,27:49,38:[1,28],41:26},{18:[2,33],38:[2,33]},{18:[2,34],38:[2,34]},{18:[2,35],38:[2,35]},{5:[2,11],14:[2,11],15:[2,11],16:[2,11],19:[2,11],20:[2,11],22:[2,11],23:[2,11],25:[2,11]},{21:51,38:[1,28],41:26},{8:17,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],20:[2,3],22:[1,13],23:[1,14],25:[1,15]},{4:52,8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],20:[2,5],22:[1,13],23:[1,14],25:[1,15]},{14:[2,23],15:[2,23],16:[2,23],19:[2,23],20:[2,23],22:[2,23],23:[2,23],25:[2,23]},{5:[2,12],14:[2,12],15:[2,12],16:[2,12],19:[2,12],20:[2,12],22:[2,12],23:[2,12],25:[2,12]},{14:[2,18],15:[2,18],16:[2,18],19:[2,18],20:[2,18],22:[2,18],23:[2,18],25:[2,18]},{18:[2,44],21:56,24:[2,44],29:53,30:60,31:54,32:[1,57],33:[1,58],34:[1,59],35:55,36:61,37:62,38:[1,63],40:[1,27],41:26},{38:[1,64]},{18:[2,36],24:[2,36],32:[2,36],33:[2,36],34:[2,36],38:[2,36],40:[2,36]},{14:[2,17],15:[2,17],16:[2,17],19:[2,17],20:[2,17],22:[2,17],23:[2,17],25:[2,17]},{5:[2,20],14:[2,20],15:[2,20],16:[2,20],19:[2,20],20:[2,20],22:[2,20],23:[2,20],25:[2,20]},{5:[2,21],14:[2,21],15:[2,21],16:[2,21],19:[2,21],20:[2,21],22:[2,21],23:[2,21],25:[2,21]},{18:[1,65]},{18:[2,41]},{18:[1,66]},{8:17,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],20:[2,4],22:[1,13],23:[1,14],25:[1,15]},{18:[2,24],24:[2,24]},{18:[2,43],24:[2,43],32:[2,43],33:[2,43],34:[2,43],38:[2,43],40:[2,43]},{18:[2,45],24:[2,45]},{18:[2,26],24:[2,26],32:[2,26],33:[2,26],34:[2,26],38:[2,26],40:[2,26]},{18:[2,27],24:[2,27],32:[2,27],33:[2,27],34:[2,27],38:[2,27],40:[2,27]},{18:[2,28],24:[2,28],32:[2,28],33:[2,28],34:[2,28],38:[2,28],40:[2,28]},{18:[2,29],24:[2,29],32:[2,29],33:[2,29],34:[2,29],38:[2,29],40:[2,29]},{18:[2,30],24:[2,30],32:[2,30],33:[2,30],34:[2,30],38:[2,30],40:[2,30]},{18:[2,31],24:[2,31],37:67,38:[1,68]},{18:[2,46],24:[2,46],38:[2,46]},{18:[2,39],24:[2,39],32:[2,39],33:[2,39],34:[2,39],38:[2,39],39:[1,69],40:[2,39],42:[2,39]},{18:[2,38],24:[2,38],32:[2,38],33:[2,38],34:[2,38],38:[2,38],40:[2,38],42:[2,38]},{5:[2,22],14:[2,22],15:[2,22],16:[2,22],19:[2,22],20:[2,22],22:[2,22],23:[2,22],25:[2,22]},{5:[2,19],14:[2,19],15:[2,19],16:[2,19],19:[2,19],20:[2,19],22:[2,19],23:[2,19],25:[2,19]},{18:[2,47],24:[2,47],38:[2,47]},{39:[1,69]},{21:56,30:60,31:70,32:[1,57],33:[1,58],34:[1,59],38:[1,28],40:[1,27],41:26},{18:[2,32],24:[2,32],38:[2,32]}],defaultActions:{3:[2,2],16:[2,1],50:[2,41]},parseError:function(a){throw new Error(a)},parse:function(a){function b(){var a;return a=c.lexer.lex()||1,"number"!=typeof a&&(a=c.symbols_[a]||a),a}var c=this,d=[0],e=[null],f=[],g=this.table,h="",i=0,j=0,k=0;this.lexer.setInput(a),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,"undefined"==typeof this.lexer.yylloc&&(this.lexer.yylloc={});var l=this.lexer.yylloc;f.push(l);var m=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var n,o,p,q,r,s,t,u,v,w={};;){if(p=d[d.length-1],this.defaultActions[p]?q=this.defaultActions[p]:((null===n||"undefined"==typeof n)&&(n=b()),q=g[p]&&g[p][n]),"undefined"==typeof q||!q.length||!q[0]){var x="";if(!k){v=[];for(s in g[p])this.terminals_[s]&&s>2&&v.push("'"+this.terminals_[s]+"'");x=this.lexer.showPosition?"Parse error on line "+(i+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[n]||n)+"'":"Parse error on line "+(i+1)+": Unexpected "+(1==n?"end of input":"'"+(this.terminals_[n]||n)+"'"),this.parseError(x,{text:this.lexer.match,token:this.terminals_[n]||n,line:this.lexer.yylineno,loc:l,expected:v})}}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+p+", token: "+n);switch(q[0]){case 1:d.push(n),e.push(this.lexer.yytext),f.push(this.lexer.yylloc),d.push(q[1]),n=null,o?(n=o,o=null):(j=this.lexer.yyleng,h=this.lexer.yytext,i=this.lexer.yylineno,l=this.lexer.yylloc,k>0&&k--);break;case 2:if(t=this.productions_[q[1]][1],w.$=e[e.length-t],w._$={first_line:f[f.length-(t||1)].first_line,last_line:f[f.length-1].last_line,first_column:f[f.length-(t||1)].first_column,last_column:f[f.length-1].last_column},m&&(w._$.range=[f[f.length-(t||1)].range[0],f[f.length-1].range[1]]),r=this.performAction.call(w,h,j,i,this.yy,q[1],e,f),"undefined"!=typeof r)return r;t&&(d=d.slice(0,2*-1*t),e=e.slice(0,-1*t),f=f.slice(0,-1*t)),d.push(this.productions_[q[1]][0]),e.push(w.$),f.push(w._$),u=g[d[d.length-2]][d[d.length-1]],d.push(u);break;case 3:return!0}}return!0}},d=function(){var a={EOF:1,parseError:function(a,b){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,b)},setInput:function(a){return this._input=a,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var b=a.match(/(?:\r\n?|\n).*/g);return b?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var b=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b-1),this.offset-=b;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-b]),this},more:function(){return this._more=!0,this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),b=new Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+b+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var a,b,c,d,e;this._more||(this.yytext="",this.match="");for(var f=this._currentRules(),g=0;g<f.length&&(c=this._input.match(this.rules[f[g]]),!c||b&&!(c[0].length>b[0].length)||(b=c,d=g,this.options.flex));g++);return b?(e=b[0].match(/(?:\r\n?|\n).*/g),e&&(this.yylineno+=e.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:e?e[e.length-1].length-e[e.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(b[0].length),this.matched+=b[0],a=this.performAction.call(this,this.yy,this,f[d],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a?a:void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var a=this.next();return"undefined"!=typeof a?a:this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(a){this.begin(a)}};return a.options={},a.performAction=function(a,b,c,d){function e(a,c){return b.yytext=b.yytext.substr(a,b.yyleng-c)}switch(c){case 0:if("\\\\"===b.yytext.slice(-2)?(e(0,1),this.begin("mu")):"\\"===b.yytext.slice(-1)?(e(0,1),this.begin("emu")):this.begin("mu"),b.yytext)return 14;break;case 1:return 14;case 2:return"\\"!==b.yytext.slice(-1)&&this.popState(),"\\"===b.yytext.slice(-1)&&e(0,1),14;case 3:return e(0,4),this.popState(),15;case 4:return 25;case 5:return 16;case 6:return 20;case 7:return 19;case 8:return 19;case 9:return 23;case 10:return 22;case 11:this.popState(),this.begin("com");break;case 12:return e(3,5),this.popState(),15;case 13:return 22;case 14:return 39;case 15:return 38;case 16:return 38;case 17:return 42;case 18:break;case 19:return this.popState(),24;case 20:return this.popState(),18;case 21:return b.yytext=e(1,2).replace(/\\"/g,'"'),32;case 22:return b.yytext=e(1,2).replace(/\\'/g,"'"),32;case 23:return 40;case 24:return 34;case 25:return 34;case 26:return 33;case 27:return 38;case 28:return b.yytext=e(1,2),38;case 29:return"INVALID";case 30:return 5}},a.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|$)))/,/^(?:[\s\S]*?--\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{!--)/,/^(?:\{\{![\s\S]*?\}\})/,/^(?:\{\{(~)?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s])))/,/^(?:false(?=([~}\s])))/,/^(?:-?[0-9]+(?=([~}\s])))/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.]))))/,/^(?:\[[^\]]*\])/,/^(?:.)/,/^(?:$)/],a.conditions={mu:{rules:[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[3],inclusive:!1},INITIAL:{rules:[0,1,30],inclusive:!0}},a}();return c.lexer=d,b.prototype=c,c.Parser=b,new b}();return a=b}(),i=function(a,b){"use strict";function c(a){return a.constructor===f.ProgramNode?a:(e.yy=f,e.parse(a))}var d={},e=a,f=b;return d.parser=e,d.parse=c,d}(h,g),j=function(a){"use strict";function b(a){this.value=a}function c(){}var d,e=a.COMPILER_REVISION,f=a.REVISION_CHANGES,g=a.log;c.prototype={nameLookup:function(a,b){var d,e;return 0===a.indexOf("depth")&&(d=!0),e=/^[0-9]+$/.test(b)?a+"["+b+"]":c.isValidJavaScriptVariableName(b)?a+"."+b:a+"['"+b+"']",d?"("+a+" && "+e+")":e},appendToBuffer:function(a){return this.environment.isSimple?"return "+a+";":{appendToBuffer:!0,content:a,toString:function(){return"buffer += "+a+";"}}},initializeBuffer:function(){return this.quotedString("")},namespace:"Handlebars",compile:function(a,b,c,d){this.environment=a,this.options=b||{},g("debug",this.environment.disassemble()+"\n\n"),this.name=this.environment.name,this.isChild=!!c,this.context=c||{programs:[],environments:[],aliases:{}},this.preamble(),this.stackSlot=0,this.stackVars=[],this.registers={list:[]},this.compileStack=[],this.inlineStack=[],this.compileChildren(a,b);var e,f=a.opcodes;this.i=0;for(var h=f.length;this.i<h;this.i++)e=f[this.i],"DECLARE"===e.opcode?this[e.name]=e.value:this[e.opcode].apply(this,e.args),e.opcode!==this.stripNext&&(this.stripNext=!1);return this.pushSource(""),this.createFunctionContext(d)},preamble:function(){var a=[];if(this.isChild)a.push("");else{var b=this.namespace,c="helpers = this.merge(helpers, "+b+".helpers);";this.environment.usePartial&&(c=c+" partials = this.merge(partials, "+b+".partials);"),this.options.data&&(c+=" data = data || {};"),a.push(c)}this.environment.isSimple?a.push(""):a.push(", buffer = "+this.initializeBuffer()),this.lastContext=0,this.source=a},createFunctionContext:function(a){var b=this.stackVars.concat(this.registers.list);if(b.length>0&&(this.source[1]=this.source[1]+", "+b.join(", ")),!this.isChild)for(var c in this.context.aliases)this.context.aliases.hasOwnProperty(c)&&(this.source[1]=this.source[1]+", "+c+"="+this.context.aliases[c]);this.source[1]&&(this.source[1]="var "+this.source[1].substring(2)+";"),this.isChild||(this.source[1]+="\n"+this.context.programs.join("\n")+"\n"),this.environment.isSimple||this.pushSource("return buffer;");for(var d=this.isChild?["depth0","data"]:["Handlebars","depth0","helpers","partials","data"],h=0,i=this.environment.depths.list.length;i>h;h++)d.push("depth"+this.environment.depths.list[h]);var j=this.mergeSource();if(!this.isChild){var k=e,l=f[k];j="this.compilerInfo = ["+k+",'"+l+"'];\n"+j}if(a)return d.push(j),Function.apply(this,d);var m="function "+(this.name||"")+"("+d.join(",")+") {\n "+j+"}";return g("debug",m+"\n\n"),m},mergeSource:function(){for(var a,b="",c=0,d=this.source.length;d>c;c++){var e=this.source[c];e.appendToBuffer?a=a?a+"\n + "+e.content:e.content:(a&&(b+="buffer += "+a+";\n ",a=void 0),b+=e+"\n ")}return b},blockValue:function(){this.context.aliases.blockHelperMissing="helpers.blockHelperMissing";var a=["depth0"];this.setupParams(0,a),this.replaceStack(function(b){return a.splice(1,0,b),"blockHelperMissing.call("+a.join(", ")+")"})},ambiguousBlockValue:function(){this.context.aliases.blockHelperMissing="helpers.blockHelperMissing";var a=["depth0"];this.setupParams(0,a);var b=this.topStack();a.splice(1,0,b),a[a.length-1]="options",this.pushSource("if (!"+this.lastHelper+") { "+b+" = blockHelperMissing.call("+a.join(", ")+"); }")},appendContent:function(a){this.pendingContent&&(a=this.pendingContent+a),this.stripNext&&(a=a.replace(/^\s+/,"")),this.pendingContent=a},strip:function(){this.pendingContent&&(this.pendingContent=this.pendingContent.replace(/\s+$/,"")),this.stripNext="strip"},append:function(){this.flushInline();var a=this.popStack();this.pushSource("if("+a+" || "+a+" === 0) { "+this.appendToBuffer(a)+" }"),this.environment.isSimple&&this.pushSource("else { "+this.appendToBuffer("''")+" }")},appendEscaped:function(){this.context.aliases.escapeExpression="this.escapeExpression",this.pushSource(this.appendToBuffer("escapeExpression("+this.popStack()+")"))},getContext:function(a){this.lastContext!==a&&(this.lastContext=a)},lookupOnContext:function(a){this.push(this.nameLookup("depth"+this.lastContext,a,"context"))},pushContext:function(){this.pushStackLiteral("depth"+this.lastContext)},resolvePossibleLambda:function(){this.context.aliases.functionType='"function"',this.replaceStack(function(a){return"typeof "+a+" === functionType ? "+a+".apply(depth0) : "+a})},lookup:function(a){this.replaceStack(function(b){return b+" == null || "+b+" === false ? "+b+" : "+this.nameLookup(b,a,"context")})},lookupData:function(){this.push("data")},pushStringParam:function(a,b){this.pushStackLiteral("depth"+this.lastContext),this.pushString(b),"string"==typeof a?this.pushString(a):this.pushStackLiteral(a)},emptyHash:function(){this.pushStackLiteral("{}"),this.options.stringParams&&(this.register("hashTypes","{}"),this.register("hashContexts","{}"))},pushHash:function(){this.hash={values:[],types:[],contexts:[]}},popHash:function(){var a=this.hash;this.hash=void 0,this.options.stringParams&&(this.register("hashContexts","{"+a.contexts.join(",")+"}"),this.register("hashTypes","{"+a.types.join(",")+"}")),this.push("{\n "+a.values.join(",\n ")+"\n }")},pushString:function(a){this.pushStackLiteral(this.quotedString(a))},push:function(a){return this.inlineStack.push(a),a},pushLiteral:function(a){this.pushStackLiteral(a)},pushProgram:function(a){null!=a?this.pushStackLiteral(this.programExpression(a)):this.pushStackLiteral(null)},invokeHelper:function(a,b){this.context.aliases.helperMissing="helpers.helperMissing";var c=this.lastHelper=this.setupHelper(a,b,!0),d=this.nameLookup("depth"+this.lastContext,b,"context");this.push(c.name+" || "+d),this.replaceStack(function(a){return a+" ? "+a+".call("+c.callParams+") "+": helperMissing.call("+c.helperMissingParams+")"})},invokeKnownHelper:function(a,b){var c=this.setupHelper(a,b);this.push(c.name+".call("+c.callParams+")")},invokeAmbiguous:function(a,b){this.context.aliases.functionType='"function"',this.pushStackLiteral("{}");var c=this.setupHelper(0,a,b),d=this.lastHelper=this.nameLookup("helpers",a,"helper"),e=this.nameLookup("depth"+this.lastContext,a,"context"),f=this.nextStack();this.pushSource("if ("+f+" = "+d+") { "+f+" = "+f+".call("+c.callParams+"); }"),this.pushSource("else { "+f+" = "+e+"; "+f+" = typeof "+f+" === functionType ? "+f+".call("+c.callParams+") : "+f+"; }")},invokePartial:function(a){var b=[this.nameLookup("partials",a,"partial"),"'"+a+"'",this.popStack(),"helpers","partials"];this.options.data&&b.push("data"),this.context.aliases.self="this",this.push("self.invokePartial("+b.join(", ")+")")},assignToHash:function(a){var b,c,d=this.popStack();this.options.stringParams&&(c=this.popStack(),b=this.popStack());var e=this.hash;b&&e.contexts.push("'"+a+"': "+b),c&&e.types.push("'"+a+"': "+c),e.values.push("'"+a+"': ("+d+")")},compiler:c,compileChildren:function(a,b){for(var c,d,e=a.children,f=0,g=e.length;g>f;f++){c=e[f],d=new this.compiler;var h=this.matchExistingProgram(c);null==h?(this.context.programs.push(""),h=this.context.programs.length,c.index=h,c.name="program"+h,this.context.programs[h]=d.compile(c,b,this.context),this.context.environments[h]=c):(c.index=h,c.name="program"+h)}},matchExistingProgram:function(a){for(var b=0,c=this.context.environments.length;c>b;b++){var d=this.context.environments[b];if(d&&d.equals(a))return b}},programExpression:function(a){if(this.context.aliases.self="this",null==a)return"self.noop";for(var b,c=this.environment.children[a],d=c.depths.list,e=[c.index,c.name,"data"],f=0,g=d.length;g>f;f++)b=d[f],1===b?e.push("depth0"):e.push("depth"+(b-1));return(0===d.length?"self.program(":"self.programWithDepth(")+e.join(", ")+")"},register:function(a,b){this.useRegister(a),this.pushSource(a+" = "+b+";")},useRegister:function(a){this.registers[a]||(this.registers[a]=!0,this.registers.list.push(a))},pushStackLiteral:function(a){return this.push(new b(a))},pushSource:function(a){this.pendingContent&&(this.source.push(this.appendToBuffer(this.quotedString(this.pendingContent))),this.pendingContent=void 0),a&&this.source.push(a)},pushStack:function(a){this.flushInline();var b=this.incrStack();return a&&this.pushSource(b+" = "+a+";"),this.compileStack.push(b),b},replaceStack:function(a){var c,d="",e=this.isInline();if(e){var f=this.popStack(!0);if(f instanceof b)c=f.value;else{var g=this.stackSlot?this.topStackName():this.incrStack();d="("+this.push(g)+" = "+f+"),",c=this.topStack()}}else c=this.topStack();var h=a.call(this,c);return e?((this.inlineStack.length||this.compileStack.length)&&this.popStack(),this.push("("+d+h+")")):(/^stack/.test(c)||(c=this.nextStack()),this.pushSource(c+" = ("+d+h+");")),c},nextStack:function(){return this.pushStack()},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var a=this.inlineStack;if(a.length){this.inlineStack=[];for(var c=0,d=a.length;d>c;c++){var e=a[c];e instanceof b?this.compileStack.push(e):this.pushStack(e)+}}},isInline:function(){return this.inlineStack.length},popStack:function(a){var c=this.isInline(),d=(c?this.inlineStack:this.compileStack).pop();return!a&&d instanceof b?d.value:(c||this.stackSlot--,d)},topStack:function(a){var c=this.isInline()?this.inlineStack:this.compileStack,d=c[c.length-1];return!a&&d instanceof b?d.value:d},quotedString:function(a){return'"'+a.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},setupHelper:function(a,b,c){var d=[];this.setupParams(a,d,c);var e=this.nameLookup("helpers",b,"helper");return{params:d,name:e,callParams:["depth0"].concat(d).join(", "),helperMissingParams:c&&["depth0",this.quotedString(b)].concat(d).join(", ")}},setupParams:function(a,b,c){var d,e,f,g=[],h=[],i=[];g.push("hash:"+this.popStack()),e=this.popStack(),f=this.popStack(),(f||e)&&(f||(this.context.aliases.self="this",f="self.noop"),e||(this.context.aliases.self="this",e="self.noop"),g.push("inverse:"+e),g.push("fn:"+f));for(var j=0;a>j;j++)d=this.popStack(),b.push(d),this.options.stringParams&&(i.push(this.popStack()),h.push(this.popStack()));return this.options.stringParams&&(g.push("contexts:["+h.join(",")+"]"),g.push("types:["+i.join(",")+"]"),g.push("hashContexts:hashContexts"),g.push("hashTypes:hashTypes")),this.options.data&&g.push("data:data"),g="{"+g.join(",")+"}",c?(this.register("options",g),b.push("options")):b.push(g),b.join(", ")}};for(var h="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield".split(" "),i=c.RESERVED_WORDS={},j=0,k=h.length;k>j;j++)i[h[j]]=!0;return c.isValidJavaScriptVariableName=function(a){return!c.RESERVED_WORDS[a]&&/^[a-zA-Z_$][0-9a-zA-Z_$]+$/.test(a)?!0:!1},d=c}(d),k=function(a,b,c,d){"use strict";function e(){}function f(a,b){if(null==a||"string"!=typeof a&&a.constructor!==l.ProgramNode)throw new i("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+a);b=b||{},"data"in b||(b.data=!0);var c=j(a),d=(new e).compile(c,b);return(new k).compile(d,b)}function g(a,b,c){function d(){var d=j(a),f=(new e).compile(d,b),g=(new k).compile(f,b,void 0,!0);return c.template(g)}if(null==a||"string"!=typeof a&&a.constructor!==l.ProgramNode)throw new i("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+a);b=b||{},"data"in b||(b.data=!0);var f;return function(a,b){return f||(f=d()),f.call(this,a,b)}}var h={},i=a,j=b.parse,k=c,l=d;return h.Compiler=e,e.prototype={compiler:e,disassemble:function(){for(var a,b,c,d=this.opcodes,e=[],f=0,g=d.length;g>f;f++)if(a=d[f],"DECLARE"===a.opcode)e.push("DECLARE "+a.name+"="+a.value);else{b=[];for(var h=0;h<a.args.length;h++)c=a.args[h],"string"==typeof c&&(c='"'+c.replace("\n","\\n")+'"'),b.push(c);e.push(a.opcode+" "+b.join(" "))}return e.join("\n")},equals:function(a){var b=this.opcodes.length;if(a.opcodes.length!==b)return!1;for(var c=0;b>c;c++){var d=this.opcodes[c],e=a.opcodes[c];if(d.opcode!==e.opcode||d.args.length!==e.args.length)return!1;for(var f=0;f<d.args.length;f++)if(d.args[f]!==e.args[f])return!1}if(b=this.children.length,a.children.length!==b)return!1;for(c=0;b>c;c++)if(!this.children[c].equals(a.children[c]))return!1;return!0},guid:0,compile:function(a,b){this.opcodes=[],this.children=[],this.depths={list:[]},this.options=b;var c=this.options.knownHelpers;if(this.options.knownHelpers={helperMissing:!0,blockHelperMissing:!0,each:!0,"if":!0,unless:!0,"with":!0,log:!0},c)for(var d in c)this.options.knownHelpers[d]=c[d];return this.accept(a)},accept:function(a){var b,c=a.strip||{};return c.left&&this.opcode("strip"),b=this[a.type](a),c.right&&this.opcode("strip"),b},program:function(a){for(var b=a.statements,c=0,d=b.length;d>c;c++)this.accept(b[c]);return this.isSimple=1===d,this.depths.list=this.depths.list.sort(function(a,b){return a-b}),this},compileProgram:function(a){var b,c=(new this.compiler).compile(a,this.options),d=this.guid++;this.usePartial=this.usePartial||c.usePartial,this.children[d]=c;for(var e=0,f=c.depths.list.length;f>e;e++)b=c.depths.list[e],2>b||this.addDepth(b-1);return d},block:function(a){var b=a.mustache,c=a.program,d=a.inverse;c&&(c=this.compileProgram(c)),d&&(d=this.compileProgram(d));var e=this.classifyMustache(b);"helper"===e?this.helperMustache(b,c,d):"simple"===e?(this.simpleMustache(b),this.opcode("pushProgram",c),this.opcode("pushProgram",d),this.opcode("emptyHash"),this.opcode("blockValue")):(this.ambiguousMustache(b,c,d),this.opcode("pushProgram",c),this.opcode("pushProgram",d),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},hash:function(a){var b,c,d=a.pairs;this.opcode("pushHash");for(var e=0,f=d.length;f>e;e++)b=d[e],c=b[1],this.options.stringParams?(c.depth&&this.addDepth(c.depth),this.opcode("getContext",c.depth||0),this.opcode("pushStringParam",c.stringModeValue,c.type)):this.accept(c),this.opcode("assignToHash",b[0]);this.opcode("popHash")},partial:function(a){var b=a.partialName;this.usePartial=!0,a.context?this.ID(a.context):this.opcode("push","depth0"),this.opcode("invokePartial",b.name),this.opcode("append")},content:function(a){this.opcode("appendContent",a.string)},mustache:function(a){var b=this.options,c=this.classifyMustache(a);"simple"===c?this.simpleMustache(a):"helper"===c?this.helperMustache(a):this.ambiguousMustache(a),a.escaped&&!b.noEscape?this.opcode("appendEscaped"):this.opcode("append")},ambiguousMustache:function(a,b,c){var d=a.id,e=d.parts[0],f=null!=b||null!=c;this.opcode("getContext",d.depth),this.opcode("pushProgram",b),this.opcode("pushProgram",c),this.opcode("invokeAmbiguous",e,f)},simpleMustache:function(a){var b=a.id;"DATA"===b.type?this.DATA(b):b.parts.length?this.ID(b):(this.addDepth(b.depth),this.opcode("getContext",b.depth),this.opcode("pushContext")),this.opcode("resolvePossibleLambda")},helperMustache:function(a,b,c){var d=this.setupFullMustacheParams(a,b,c),e=a.id.parts[0];if(this.options.knownHelpers[e])this.opcode("invokeKnownHelper",d.length,e);else{if(this.options.knownHelpersOnly)throw new Error("You specified knownHelpersOnly, but used the unknown helper "+e);this.opcode("invokeHelper",d.length,e)}},ID:function(a){this.addDepth(a.depth),this.opcode("getContext",a.depth);var b=a.parts[0];b?this.opcode("lookupOnContext",a.parts[0]):this.opcode("pushContext");for(var c=1,d=a.parts.length;d>c;c++)this.opcode("lookup",a.parts[c])},DATA:function(a){if(this.options.data=!0,a.id.isScoped||a.id.depth)throw new i("Scoped data references are not supported: "+a.original);this.opcode("lookupData");for(var b=a.id.parts,c=0,d=b.length;d>c;c++)this.opcode("lookup",b[c])},STRING:function(a){this.opcode("pushString",a.string)},INTEGER:function(a){this.opcode("pushLiteral",a.integer)},BOOLEAN:function(a){this.opcode("pushLiteral",a.bool)},comment:function(){},opcode:function(a){this.opcodes.push({opcode:a,args:[].slice.call(arguments,1)})},declare:function(a,b){this.opcodes.push({opcode:"DECLARE",name:a,value:b})},addDepth:function(a){if(isNaN(a))throw new Error("EWOT");0!==a&&(this.depths[a]||(this.depths[a]=!0,this.depths.list.push(a)))},classifyMustache:function(a){var b=a.isHelper,c=a.eligibleHelper,d=this.options;if(c&&!b){var e=a.id.parts[0];d.knownHelpers[e]?b=!0:d.knownHelpersOnly&&(c=!1)}return b?"helper":c?"ambiguous":"simple"},pushParams:function(a){for(var b,c=a.length;c--;)b=a[c],this.options.stringParams?(b.depth&&this.addDepth(b.depth),this.opcode("getContext",b.depth||0),this.opcode("pushStringParam",b.stringModeValue,b.type)):this[b.type](b)},setupMustacheParams:function(a){var b=a.params;return this.pushParams(b),a.hash?this.hash(a.hash):this.opcode("emptyHash"),b},setupFullMustacheParams:function(a,b,c){var d=a.params;return this.pushParams(d),this.opcode("pushProgram",b),this.opcode("pushProgram",c),a.hash?this.hash(a.hash):this.opcode("emptyHash"),d}},h.precompile=f,h.compile=g,h}(c,i,j,g),l=function(a,b,c,d,e){"use strict";var f,g=a,h=b,i=c.parser,j=c.parse,k=d.Compiler,l=d.compile,m=d.precompile,n=e,o=g.create,p=function(){var a=o();return a.compile=function(b,c){return l(b,c,a)},a.precompile=m,a.AST=h,a.Compiler=k,a.JavaScriptCompiler=n,a.Parser=i,a.parse=j,a};return g=p(),g.create=p,f=g}(f,g,i,k,j);return l}();\ No newline at end of filediff --git a/data/libs/hopscotch/LICENSE[apache].txt b/data/libs/hopscotch/LICENSEsimilarity index 100%rename from data/libs/hopscotch/LICENSE[apache].txtrename to data/libs/hopscotch/LICENSEdiff --git a/data/libs/hopscotch/css/hopscotch.css b/data/libs/hopscotch/dist/css/hopscotch.csssimilarity index 100%rename from data/libs/hopscotch/css/hopscotch.cssrename to data/libs/hopscotch/dist/css/hopscotch.cssdiff --git a/data/libs/hopscotch/css/hopscotch.min.css b/data/libs/hopscotch/dist/css/hopscotch.min.csssimilarity index 100%rename from data/libs/hopscotch/css/hopscotch.min.cssrename to data/libs/hopscotch/dist/css/hopscotch.min.cssdiff --git a/data/libs/hopscotch/img/sprite-green.png b/data/libs/hopscotch/dist/img/sprite-green.pngsimilarity index 100%rename from data/libs/hopscotch/img/sprite-green.pngrename to data/libs/hopscotch/dist/img/sprite-green.pngdiff --git a/data/libs/hopscotch/img/sprite-orange.png b/data/libs/hopscotch/dist/img/sprite-orange.pngsimilarity index 100%rename from data/libs/hopscotch/img/sprite-orange.pngrename to data/libs/hopscotch/dist/img/sprite-orange.pngdiff --git a/data/libs/hopscotch/js/hopscotch.min.js b/data/libs/hopscotch/dist/js/hopscotch.min.jssimilarity index 100%rename from data/libs/hopscotch/js/hopscotch.min.jsrename to data/libs/hopscotch/dist/js/hopscotch.min.jsdiff --git a/data/libs/i18next/i18next-1.10.1.min.js b/data/libs/i18next/i18next-1.10.1.min.jsdeleted file mode 100644index 625d50176..000000000--- a/data/libs/i18next/i18next-1.10.1.min.js+++ /dev/null@@ -1,7 +0,0 @@-// i18next, v1.10.1-// Copyright (c)2015 Jan Mühlemann (jamuhl).-// Distributed under MIT license-// http://i18next.com-!function(a){function b(a,b){if(!b||"function"==typeof b)return a;for(var c in b)a[c]=b[c];return a}function c(a,b){for(var d in b)d in a?c(a[d],b[d]):a[d]=b[d];return a}function d(a,b,c){var d,e=0,f=a.length,g=void 0===f||"[object Array]"!==Object.prototype.toString.apply(a)||"function"==typeof a;if(c)if(g){for(d in a)if(b.apply(a[d],c)===!1)break}else for(;f>e&&b.apply(a[e++],c)!==!1;);else if(g){for(d in a)if(b.call(a[d],d,a[d])===!1)break}else for(;f>e&&b.call(a[e],e,a[e++])!==!1;);return a}function e(a){return"string"==typeof a?a.replace(/[&<>"'\/]/g,function(a){return U[a]}):a}function f(a){var b=function(a){if(window.XMLHttpRequest)return a(null,new XMLHttpRequest);if(window.ActiveXObject)try{return a(null,new ActiveXObject("Msxml2.XMLHTTP"))}catch(b){return a(null,new ActiveXObject("Microsoft.XMLHTTP"))}return a(new Error)},c=function(a){if("string"==typeof a)return a;var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(encodeURIComponent(c)+"="+encodeURIComponent(a[c]));return b.join("&")},d=function(a){a=a.replace(/\r\n/g,"\n");for(var b="",c=0;c<a.length;c++){var d=a.charCodeAt(c);128>d?b+=String.fromCharCode(d):d>127&&2048>d?(b+=String.fromCharCode(d>>6|192),b+=String.fromCharCode(63&d|128)):(b+=String.fromCharCode(d>>12|224),b+=String.fromCharCode(d>>6&63|128),b+=String.fromCharCode(63&d|128))}return b},e=function(a){var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";a=d(a);var c,e,f,g,h,i,j,k="",l=0;do c=a.charCodeAt(l++),e=a.charCodeAt(l++),f=a.charCodeAt(l++),g=c>>2,h=(3&c)<<4|e>>4,i=(15&e)<<2|f>>6,j=63&f,isNaN(e)?i=j=64:isNaN(f)&&(j=64),k+=b.charAt(g)+b.charAt(h)+b.charAt(i)+b.charAt(j),c=e=f="",g=h=i=j="";while(l<a.length);return k},f=function(){for(var a=arguments[0],b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d])}return a},g=function(a,d,e,h){"function"==typeof e&&(h=e,e={}),e.cache=e.cache||!1,e.data=e.data||{},e.headers=e.headers||{},e.jsonp=e.jsonp||!1,e.async=void 0===e.async?!0:e.async;var i,j=f({accept:"*/*","content-type":"application/x-www-form-urlencoded;charset=UTF-8"},g.headers,e.headers);if(i="application/json"===j["content-type"]?JSON.stringify(e.data):c(e.data),"GET"===a){var k=[];if(i&&(k.push(i),i=null),e.cache||k.push("_="+(new Date).getTime()),e.jsonp&&(k.push("callback="+e.jsonp),k.push("jsonp="+e.jsonp)),k=k.join("&"),k.length>1&&(d+=d.indexOf("?")>-1?"&"+k:"?"+k),e.jsonp){var l=document.getElementsByTagName("head")[0],m=document.createElement("script");return m.type="text/javascript",m.src=d,void l.appendChild(m)}}b(function(b,c){if(b)return h(b);c.open(a,d,e.async);for(var f in j)j.hasOwnProperty(f)&&c.setRequestHeader(f,j[f]);c.onreadystatechange=function(){if(4===c.readyState){var a=c.responseText||"";if(!h)return;h(c.status,{text:function(){return a},json:function(){try{return JSON.parse(a)}catch(b){return X.error("Can not parse JSON. URL: "+d),{}}}})}},c.send(i)})},h={authBasic:function(a,b){g.headers.Authorization="Basic "+e(a+":"+b)},connect:function(a,b,c){return g("CONNECT",a,b,c)},del:function(a,b,c){return g("DELETE",a,b,c)},get:function(a,b,c){return g("GET",a,b,c)},head:function(a,b,c){return g("HEAD",a,b,c)},headers:function(a){g.headers=a||{}},isAllowed:function(a,b,c){this.options(a,function(a,d){c(-1!==d.text().indexOf(b))})},options:function(a,b,c){return g("OPTIONS",a,b,c)},patch:function(a,b,c){return g("PATCH",a,b,c)},post:function(a,b,c){return g("POST",a,b,c)},put:function(a,b,c){return g("PUT",a,b,c)},trace:function(a,b,c){return g("TRACE",a,b,c)}},i=a.type?a.type.toLowerCase():"get";h[i](a.url,a,function(b,c){200===b||0===b&&c.text()?a.success(c.json(),b,null):a.error(c.text(),b,null)})}function g(a,b){"function"==typeof a&&(b=a,a={}),a=a||{},X.extend(T,a),delete T.fixLng,T.functions&&(delete T.functions,X.extend(X,a.functions)),"string"==typeof T.ns&&(T.ns={namespaces:[T.ns],defaultNs:T.ns}),"string"==typeof T.fallbackNS&&(T.fallbackNS=[T.fallbackNS]),("string"==typeof T.fallbackLng||"boolean"==typeof T.fallbackLng)&&(T.fallbackLng=[T.fallbackLng]),T.interpolationPrefixEscaped=X.regexEscape(T.interpolationPrefix),T.interpolationSuffixEscaped=X.regexEscape(T.interpolationSuffix),T.lng||(T.lng=X.detectLanguage()),P=X.toLanguages(T.lng),K=P[0],X.log("currentLng set to: "+K),T.useCookie&&X.cookie.read(T.cookieName)!==K&&X.cookie.create(T.cookieName,K,T.cookieExpirationTime,T.cookieDomain),T.detectLngFromLocalStorage&&"undefined"!=typeof document&&window.localStorage&&X.localStorage.setItem("i18next_lng",K);var c=E;a.fixLng&&(c=function(a,b){return b=b||{},b.lng=b.lng||c.lng,E(a,b)},c.lng=K),$.setCurrentLng(K),L&&T.setJqueryExt?w&&w():x&&x();var d;if(L&&L.Deferred&&(d=L.Deferred()),!T.resStore){var e=X.toLanguages(T.lng);"string"==typeof T.preload&&(T.preload=[T.preload]);for(var f=0,g=T.preload.length;g>f;f++)for(var h=X.toLanguages(T.preload[f]),i=0,j=h.length;j>i;i++)e.indexOf(h[i])<0&&e.push(h[i]);return M.sync.load(e,T,function(a,e){N=e,Q=!0,b&&b(a,c),d&&(a?d.reject:d.resolve)(a||c)}),d?d.promise():void 0}return N=T.resStore,Q=!0,b&&b(c),d&&d.resolve(c),d?d.promise():void 0}function h(){return Q}function i(a,b){"string"==typeof a&&(a=[a]);for(var c=0,d=a.length;d>c;c++)T.preload.indexOf(a[c])<0&&T.preload.push(a[c]);return g(b)}function j(a,b,c,d){"string"!=typeof b?(c=b,b=T.ns.defaultNs):T.ns.namespaces.indexOf(b)<0&&T.ns.namespaces.push(b),N[a]=N[a]||{},N[a][b]=N[a][b]||{},d?X.deepExtend(N[a][b],c):X.extend(N[a][b],c),T.useLocalStorage&&R._storeLocal(N)}function k(a,b){"string"!=typeof b&&(b=T.ns.defaultNs),N[a]=N[a]||{};var c=N[a][b]||{},d=!1;for(var e in c)c.hasOwnProperty(e)&&(d=!0);return d}function l(a,b){return"string"!=typeof b&&(b=T.ns.defaultNs),N[a]=N[a]||{},X.extend({},N[a][b])}function m(a,b){"string"!=typeof b&&(b=T.ns.defaultNs),N[a]=N[a]||{},N[a][b]={},T.useLocalStorage&&R._storeLocal(N)}function n(a,b,c,d){"string"!=typeof b?(resource=b,b=T.ns.defaultNs):T.ns.namespaces.indexOf(b)<0&&T.ns.namespaces.push(b),N[a]=N[a]||{},N[a][b]=N[a][b]||{};for(var e=c.split(T.keyseparator),f=0,g=N[a][b];e[f];)f==e.length-1?g[e[f]]=d:(null==g[e[f]]&&(g[e[f]]={}),g=g[e[f]]),f++;T.useLocalStorage&&R._storeLocal(N)}function o(a,b,c){"string"!=typeof b?(resource=b,b=T.ns.defaultNs):T.ns.namespaces.indexOf(b)<0&&T.ns.namespaces.push(b);for(var d in c)"string"==typeof c[d]&&n(a,b,d,c[d])}function p(a){T.ns.defaultNs=a}function q(a,b){r([a],b)}function r(a,b){var c={dynamicLoad:T.dynamicLoad,resGetPath:T.resGetPath,getAsync:T.getAsync,customLoad:T.customLoad,ns:{namespaces:a,defaultNs:""}},d=X.toLanguages(T.lng);"string"==typeof T.preload&&(T.preload=[T.preload]);for(var e=0,f=T.preload.length;f>e;e++)for(var g=X.toLanguages(T.preload[e]),h=0,i=g.length;i>h;h++)d.indexOf(g[h])<0&&d.push(g[h]);for(var j=[],k=0,l=d.length;l>k;k++){var m=!1,n=N[d[k]];if(n)for(var o=0,p=a.length;p>o;o++)n[a[o]]||(m=!0);else m=!0;m&&j.push(d[k])}j.length?M.sync._fetch(j,c,function(c,d){var e=a.length*j.length;X.each(a,function(a,c){T.ns.namespaces.indexOf(c)<0&&T.ns.namespaces.push(c),X.each(j,function(a,f){N[f]=N[f]||{},N[f][c]=d[f][c],e--,0===e&&b&&(T.useLocalStorage&&M.sync._storeLocal(N),b())})})}):b&&b()}function s(a,b,c){return"function"==typeof b?(c=b,b={}):b||(b={}),b.lng=a,g(b,c)}function t(){return K}function u(a){N={},s(K,a)}function v(){window.i18next=window.i18n,S?window.i18n=S:delete window.i18n}function w(){function a(a,b,c){if(0!==b.length){var d="text";if(0===b.indexOf("[")){var e=b.split("]");b=e[1],d=e[0].substr(1,e[0].length-1)}b.indexOf(";")===b.length-1&&(b=b.substr(0,b.length-2));var f;if("html"===d)f=T.defaultValueFromContent?L.extend({defaultValue:a.html()},c):c,a.html(L.t(b,f));else if("text"===d)f=T.defaultValueFromContent?L.extend({defaultValue:a.text()},c):c,a.text(L.t(b,f));else if("prepend"===d)f=T.defaultValueFromContent?L.extend({defaultValue:a.html()},c):c,a.prepend(L.t(b,f));else if("append"===d)f=T.defaultValueFromContent?L.extend({defaultValue:a.html()},c):c,a.append(L.t(b,f));else if(0===d.indexOf("data-")){var g=d.substr("data-".length);f=T.defaultValueFromContent?L.extend({defaultValue:a.data(g)},c):c;var h=L.t(b,f);a.data(g,h),a.attr(d,h)}else f=T.defaultValueFromContent?L.extend({defaultValue:a.attr(d)},c):c,a.attr(d,L.t(b,f))}}function b(b,c){var d=b.attr(T.selectorAttr);if(d||"undefined"==typeof d||d===!1||(d=b.text()||b.val()),d){var e=b,f=b.data("i18n-target");if(f&&(e=b.find(f)||b),c||T.useDataAttrOptions!==!0||(c=b.data("i18n-options")),c=c||{},d.indexOf(";")>=0){var g=d.split(";");L.each(g,function(b,d){""!==d&&a(e,d,c)})}else a(e,d,c);T.useDataAttrOptions===!0&&b.data("i18n-options",c)}}L.t=L.t||E,L.fn.i18n=function(a){return this.each(function(){b(L(this),a);var c=L(this).find("["+T.selectorAttr+"]");c.each(function(){b(L(this),a)})})}}function x(){function a(a,b,c){if(0!==b.length){var d="text";if(0===b.indexOf("[")){var e=b.split("]");b=e[1],d=e[0].substr(1,e[0].length-1)}b.indexOf(";")===b.length-1&&(b=b.substr(0,b.length-2)),"html"===d?a.innerHTML=E(b,c):"text"===d?a.textContent=E(b,c):"prepend"===d?a.insertAdjacentHTML(E(b,c),"afterbegin"):"append"===d?a.insertAdjacentHTML(E(b,c),"beforeend"):a.setAttribute(d,E(b,c))}}function b(b,c){var d=b.getAttribute(T.selectorAttr);if(d||"undefined"==typeof d||d===!1||(d=b.textContent||b.value),d){var e=b,f=b.getAttribute("i18n-target");if(f&&(e=b.querySelector(f)||b),d.indexOf(";")>=0)for(var g=d.split(";"),h=0,i=g.length;i>h;h++)""!==g[h]&&a(e,g[h],c);else a(e,d,c)}}M.translateObject=function(a,c){for(var d=a.querySelectorAll("["+T.selectorAttr+"]"),e=0,f=d.length;f>e;e++)b(d[e],c)}}function y(a,b,c,d){if(!a)return a;if(d=d||b,a.indexOf(d.interpolationPrefix||T.interpolationPrefix)<0)return a;var e=d.interpolationPrefix?X.regexEscape(d.interpolationPrefix):T.interpolationPrefixEscaped,f=d.interpolationSuffix?X.regexEscape(d.interpolationSuffix):T.interpolationSuffixEscaped,g="HTML"+f,h=b.replace&&"object"==typeof b.replace?b.replace:b;return X.each(h,function(b,h){var i=c?c+T.keyseparator+b:b;"object"==typeof h&&null!==h?a=y(a,h,i,d):d.escapeInterpolation||T.escapeInterpolation?(a=a.replace(new RegExp([e,i,g].join(""),"g"),X.regexReplacementEscape(h)),a=a.replace(new RegExp([e,i,f].join(""),"g"),X.regexReplacementEscape(X.escape(h)))):a=a.replace(new RegExp([e,i,f].join(""),"g"),X.regexReplacementEscape(h))}),a}function z(a,b){var c=",",d="{",e="}",f=X.extend({},b);for(delete f.postProcess;-1!=a.indexOf(T.reusePrefix)&&(O++,!(O>T.maxRecursion));){var g=a.lastIndexOf(T.reusePrefix),h=a.indexOf(T.reuseSuffix,g)+T.reuseSuffix.length,i=a.substring(g,h),j=i.replace(T.reusePrefix,"").replace(T.reuseSuffix,"");if(g>=h)return X.error("there is an missing closing in following translation value",a),"";if(-1!=j.indexOf(c)){var k=j.indexOf(c);if(-1!=j.indexOf(d,k)&&-1!=j.indexOf(e,k)){var l=j.indexOf(d,k),m=j.indexOf(e,l)+e.length;try{f=X.extend(f,JSON.parse(j.substring(l,m))),j=j.substring(0,k)}catch(n){}}}var o=H(j,f);a=a.replace(i,X.regexReplacementEscape(o))}return a}function A(a){return a.context&&("string"==typeof a.context||"number"==typeof a.context)}function B(a){return void 0!==a.count&&"string"!=typeof a.count}function C(a){return void 0!==a.indefinite_article&&"string"!=typeof a.indefinite_article&&a.indefinite_article}function D(a,b){b=b||{};var c=F(a,b),d=I(a,b);return void 0!==d||d===c}function E(a,b){return b=b||{},Q?(O=0,H.apply(null,arguments)):(X.log("i18next not finished initialization. you might have called t function before loading resources finished."),b.defaultValue||"")}function F(a,b){return void 0!==b.defaultValue?b.defaultValue:a}function G(){for(var a=[],b=1;b<arguments.length;b++)a.push(arguments[b]);return{postProcess:"sprintf",sprintf:a}}function H(a,b){if(b&&"object"!=typeof b?"sprintf"===T.shortcutFunction?b=G.apply(null,arguments):"defaultValue"===T.shortcutFunction&&(b={defaultValue:b}):b=b||{},"object"==typeof T.defaultVariables&&(b=X.extend({},T.defaultVariables,b)),void 0===a||null===a||""===a)return"";"number"==typeof a&&(a=String(a)),"string"==typeof a&&(a=[a]);var c=a[0];if(a.length>1)for(var d=0;d<a.length&&(c=a[d],!D(c,b));d++);var e,f=F(c,b),g=I(c,b),h=b.lng?X.toLanguages(b.lng,b.fallbackLng):P,i=b.ns||T.ns.defaultNs;c.indexOf(T.nsseparator)>-1&&(e=c.split(T.nsseparator),i=e[0],c=e[1]),void 0===g&&T.sendMissing&&"function"==typeof T.missingKeyHandler&&(b.lng?T.missingKeyHandler(h[0],i,c,f,h):T.missingKeyHandler(T.lng,i,c,f,h));var j;j="string"==typeof T.postProcess&&""!==T.postProcess?[T.postProcess]:"array"==typeof T.postProcess||"object"==typeof T.postProcess?T.postProcess:[],"string"==typeof b.postProcess&&""!==b.postProcess?j=j.concat([b.postProcess]):("array"==typeof b.postProcess||"object"==typeof b.postProcess)&&(j=j.concat(b.postProcess)),void 0!==g&&j.length&&j.forEach(function(a){_[a]&&(g=_[a](g,c,b))});var k=f;if(f.indexOf(T.nsseparator)>-1&&(e=f.split(T.nsseparator),k=e[1]),k===c&&T.parseMissingKey&&(f=T.parseMissingKey(f)),void 0===g&&(f=y(f,b),f=z(f,b),j.length)){var l=F(c,b);j.forEach(function(a){_[a]&&(g=_[a](l,c,b))})}return void 0!==g?g:f}function I(a,b){b=b||{};var c,d,e=F(a,b),f=P;if(!N)return e;if("cimode"===f[0].toLowerCase())return e;if(b.lngs&&(f=b.lngs),b.lng&&(f=X.toLanguages(b.lng,b.fallbackLng),!N[f[0]])){var g=T.getAsync;T.getAsync=!1,M.sync.load(f,T,function(a,b){X.extend(N,b),T.getAsync=g})}var h=b.ns||T.ns.defaultNs;if(a.indexOf(T.nsseparator)>-1){var i=a.split(T.nsseparator);h=i[0],a=i[1]}if(A(b)){c=X.extend({},b),delete c.context,c.defaultValue=T.contextNotFound;var j=h+T.nsseparator+a+"_"+b.context;if(d=E(j,c),d!=T.contextNotFound)return y(d,{context:b.context})}if(B(b,f[0])){c=X.extend({lngs:[f[0]]},b),delete c.count,c._origLng=c._origLng||c.lng||f[0],delete c.lng,c.defaultValue=T.pluralNotFound;var k;if($.needsPlural(f[0],b.count)){k=h+T.nsseparator+a+T.pluralSuffix;var l=$.get(f[0],b.count);l>=0?k=k+"_"+l:1===l&&(k=h+T.nsseparator+a)}else k=h+T.nsseparator+a;if(d=E(k,c),d!=T.pluralNotFound)return y(d,{count:b.count,interpolationPrefix:b.interpolationPrefix,interpolationSuffix:b.interpolationSuffix});if(!(f.length>1))return c.lng=c._origLng,delete c._origLng,d=E(h+T.nsseparator+a,c),y(d,{count:b.count,interpolationPrefix:b.interpolationPrefix,interpolationSuffix:b.interpolationSuffix});var m=f.slice();if(m.shift(),b=X.extend(b,{lngs:m}),b._origLng=c._origLng,delete b.lng,d=E(h+T.nsseparator+a,b),d!=T.pluralNotFound)return d}if(C(b)){var n=X.extend({},b);delete n.indefinite_article,n.defaultValue=T.indefiniteNotFound;var o=h+T.nsseparator+a+(b.count&&!B(b,f[0])||!b.count?T.indefiniteSuffix:"");if(d=E(o,n),d!=T.indefiniteNotFound)return d}for(var p,q=a.split(T.keyseparator),r=0,s=f.length;s>r&&void 0===p;r++){for(var t=f[r],u=0,v=N[t]&&N[t][h];q[u];)v=v&&v[q[u]],u++;if(void 0!==v&&(!T.showKeyIfEmpty||""!==v)){var w=Object.prototype.toString.apply(v);if("string"==typeof v)v=y(v,b),v=z(v,b);else if("[object Array]"!==w||T.returnObjectTrees||b.returnObjectTrees){if(null===v&&T.fallbackOnNull===!0)v=void 0;else if(null!==v)if(T.returnObjectTrees||b.returnObjectTrees){if("[object Number]"!==w&&"[object Function]"!==w&&"[object RegExp]"!==w){var x="[object Array]"===w?[]:{};X.each(v,function(c){x[c]=H(h+T.nsseparator+a+T.keyseparator+c,b)}),v=x}}else T.objectTreeKeyHandler&&"function"==typeof T.objectTreeKeyHandler?v=T.objectTreeKeyHandler(a,v,t,h,b):(v="key '"+h+":"+a+" ("+t+")' returned an object instead of string.",X.log(v))}else v=v.join("\n"),v=y(v,b),v=z(v,b);"string"==typeof v&&""===v.trim()&&T.fallbackOnEmpty===!0&&(v=void 0),p=v}}if(void 0===p&&!b.isFallbackLookup&&(T.fallbackToDefaultNS===!0||T.fallbackNS&&T.fallbackNS.length>0)){if(b.isFallbackLookup=!0,T.fallbackNS.length){for(var D=0,G=T.fallbackNS.length;G>D;D++)if(p=I(T.fallbackNS[D]+T.nsseparator+a,b),p||""===p&&T.fallbackOnEmpty===!1){var J=p.indexOf(T.nsseparator)>-1?p.split(T.nsseparator)[1]:p,K=e.indexOf(T.nsseparator)>-1?e.split(T.nsseparator)[1]:e;if(J!==K)break}}else b.ns=T.ns.defaultNs,p=I(a,b);b.isFallbackLookup=!1}return p}function J(){var a,b=T.lngWhitelist||[],c=[];if("undefined"!=typeof window&&!function(){for(var a=window.location.search.substring(1),b=a.split("&"),d=0;d<b.length;d++){var e=b[d].indexOf("=");if(e>0){var f=b[d].substring(0,e);f==T.detectLngQS&&c.push(b[d].substring(e+1))}}}(),T.useCookie&&"undefined"!=typeof document){var d=X.cookie.read(T.cookieName);d&&c.push(d)}if(T.detectLngFromLocalStorage&&"undefined"!=typeof window&&window.localStorage){var e=X.localStorage.getItem("i18next_lng");e&&c.push(e)}if("undefined"!=typeof navigator){if(navigator.languages)for(var f=0;f<navigator.languages.length;f++)c.push(navigator.languages[f]);navigator.userLanguage&&c.push(navigator.userLanguage),navigator.language&&c.push(navigator.language)}return function(){for(var d=0;d<c.length;d++){var e=c[d];if(e.indexOf("-")>-1){var f=e.split("-");e=T.lowerCaseLng?f[0].toLowerCase()+"-"+f[1].toLowerCase():f[0].toLowerCase()+"-"+f[1].toUpperCase()}if(0===b.length||b.indexOf(e)>-1){a=e;break}}}(),a||(a=T.fallbackLng[0]),a}Array.prototype.indexOf||(Array.prototype.indexOf=function(a){"use strict";if(null==this)throw new TypeError;var b=Object(this),c=b.length>>>0;if(0===c)return-1;var d=0;if(arguments.length>0&&(d=Number(arguments[1]),d!=d?d=0:0!=d&&d!=1/0&&d!=-(1/0)&&(d=(d>0||-1)*Math.floor(Math.abs(d)))),d>=c)return-1;for(var e=d>=0?d:Math.max(c-Math.abs(d),0);c>e;e++)if(e in b&&b[e]===a)return e;return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(a){"use strict";if(null==this)throw new TypeError;var b=Object(this),c=b.length>>>0;if(0===c)return-1;var d=c;arguments.length>1&&(d=Number(arguments[1]),d!=d?d=0:0!=d&&d!=1/0&&d!=-(1/0)&&(d=(d>0||-1)*Math.floor(Math.abs(d))));for(var e=d>=0?Math.min(d,c-1):c-Math.abs(d);e>=0;e--)if(e in b&&b[e]===a)return e;return-1}),"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")});var K,L=a.jQuery||a.Zepto,M={},N={},O=0,P=[],Q=!1,R={},S=null;"undefined"!=typeof module&&module.exports?module.exports=M:(L&&(L.i18n=L.i18n||M),a.i18n&&(S=a.i18n),a.i18n=M),R={load:function(a,b,c){b.useLocalStorage?R._loadLocal(a,b,function(d,e){for(var f=[],g=0,h=a.length;h>g;g++)e[a[g]]||f.push(a[g]);f.length>0?R._fetch(f,b,function(a,b){X.extend(e,b),R._storeLocal(b),c(a,e)}):c(d,e)}):R._fetch(a,b,function(a,b){c(a,b)})},_loadLocal:function(a,b,c){var d={},e=(new Date).getTime();if(window.localStorage){var f=a.length;X.each(a,function(a,g){var h=X.localStorage.getItem("res_"+g);h&&(h=JSON.parse(h),h.i18nStamp&&h.i18nStamp+b.localStorageExpirationTime>e&&(d[g]=h)),f--,0===f&&c(null,d)})}},_storeLocal:function(a){if(window.localStorage)for(var b in a)a[b].i18nStamp=(new Date).getTime(),X.localStorage.setItem("res_"+b,JSON.stringify(a[b]))},_fetch:function(a,b,c){var d=b.ns,e={};if(b.dynamicLoad){var f=function(a,b){c(a,b)};if("function"==typeof b.customLoad)b.customLoad(a,d.namespaces,b,f);else{var g=y(b.resGetPath,{lng:a.join("+"),ns:d.namespaces.join("+")});X.ajax({url:g,cache:b.cache,success:function(a){X.log("loaded: "+g),f(null,a)},error:function(a,b,c){X.log("failed loading: "+g),f("failed loading resource.json error: "+c)},dataType:"json",async:b.getAsync,timeout:b.ajaxTimeout})}}else{var h,i=d.namespaces.length*a.length;X.each(d.namespaces,function(d,f){X.each(a,function(a,d){var g=function(a,b){a&&(h=h||[],h.push(a)),e[d]=e[d]||{},e[d][f]=b,i--,0===i&&c(h,e)};"function"==typeof b.customLoad?b.customLoad(d,f,b,g):R._fetchOne(d,f,b,g)})})}},_fetchOne:function(a,b,c,d){var e=y(c.resGetPath,{lng:a,ns:b});X.ajax({url:e,cache:c.cache,success:function(a){X.log("loaded: "+e),d(null,a)},error:function(a,b,c){if(b&&200==b||a&&a.status&&200==a.status)X.error("There is a typo in: "+e);else if(b&&404==b||a&&a.status&&404==a.status)X.log("Does not exist: "+e);else{var f=b?b:a&&a.status?a.status:null;X.log(f+" when loading "+e)}d(c,{})},dataType:"json",async:c.getAsync,timeout:c.ajaxTimeout})},postMissing:function(a,b,c,d,e){var f={};f[c]=d;var g=[];if("fallback"===T.sendMissingTo&&T.fallbackLng[0]!==!1)for(var h=0;h<T.fallbackLng.length;h++)g.push({lng:T.fallbackLng[h],url:y(T.resPostPath,{lng:T.fallbackLng[h],ns:b})});else if("current"===T.sendMissingTo||"fallback"===T.sendMissingTo&&T.fallbackLng[0]===!1)g.push({lng:a,url:y(T.resPostPath,{lng:a,ns:b})});else if("all"===T.sendMissingTo)for(var h=0,i=e.length;i>h;h++)g.push({lng:e[h],url:y(T.resPostPath,{lng:e[h],ns:b})});for(var j=0,k=g.length;k>j;j++){var l=g[j];X.ajax({url:l.url,type:T.sendType,data:f,success:function(){X.log("posted missing key '"+c+"' to: "+l.url);for(var a=c.split("."),e=0,f=N[l.lng][b];a[e];)f=f[a[e]]=e===a.length-1?d:f[a[e]]||{},e++},error:function(){X.log("failed posting missing key '"+c+"' to: "+l.url)},dataType:"json",async:T.postAsync,timeout:T.ajaxTimeout})}},reload:u};var T={lng:void 0,load:"all",preload:[],lowerCaseLng:!1,returnObjectTrees:!1,fallbackLng:["dev"],fallbackNS:[],detectLngQS:"setLng",detectLngFromLocalStorage:!1,ns:{namespaces:["translation"],defaultNs:"translation"},fallbackOnNull:!0,fallbackOnEmpty:!1,fallbackToDefaultNS:!1,showKeyIfEmpty:!1,nsseparator:":",keyseparator:".",selectorAttr:"data-i18n",debug:!1,resGetPath:"locales/__lng__/__ns__.json",resPostPath:"locales/add/__lng__/__ns__",getAsync:!0,postAsync:!0,resStore:void 0,useLocalStorage:!1,localStorageExpirationTime:6048e5,dynamicLoad:!1,sendMissing:!1,sendMissingTo:"fallback",sendType:"POST",interpolationPrefix:"__",interpolationSuffix:"__",defaultVariables:!1,reusePrefix:"$t(",reuseSuffix:")",pluralSuffix:"_plural",pluralNotFound:["plural_not_found",Math.random()].join(""),contextNotFound:["context_not_found",Math.random()].join(""),escapeInterpolation:!1,indefiniteSuffix:"_indefinite",indefiniteNotFound:["indefinite_not_found",Math.random()].join(""),setJqueryExt:!0,defaultValueFromContent:!0,useDataAttrOptions:!1,cookieExpirationTime:void 0,useCookie:!0,cookieName:"i18next",cookieDomain:void 0,objectTreeKeyHandler:void 0,postProcess:void 0,parseMissingKey:void 0,missingKeyHandler:R.postMissing,ajaxTimeout:0,shortcutFunction:"sprintf"},U={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},V={create:function(a,b,c,d){var e;if(c){var f=new Date;f.setTime(f.getTime()+60*c*1e3),e="; expires="+f.toGMTString()}else e="";d=d?"domain="+d+";":"",document.cookie=a+"="+b+e+";"+d+"path=/"},read:function(a){for(var b=a+"=",c=document.cookie.split(";"),d=0;d<c.length;d++){for(var e=c[d];" "==e.charAt(0);)e=e.substring(1,e.length);if(0===e.indexOf(b))return e.substring(b.length,e.length)}return null},remove:function(a){this.create(a,"",-1)}},W={create:function(){},read:function(){return null},remove:function(){}},X={extend:L?L.extend:b,deepExtend:c,each:L?L.each:d,ajax:L?L.ajax:"undefined"!=typeof document?f:function(){},cookie:"undefined"!=typeof document?V:W,detectLanguage:J,escape:e,log:function(a){T.debug&&"undefined"!=typeof console&&console.log(a)},error:function(a){"undefined"!=typeof console&&console.error(a)},getCountyIndexOfLng:function(a){var b=0;return("nb-NO"===a||"nn-NO"===a||"nb-no"===a||"nn-no"===a)&&(b=1),b},toLanguages:function(a,b){function c(a){var b=a;if("string"==typeof a&&a.indexOf("-")>-1){var c=a.split("-");b=T.lowerCaseLng?c[0].toLowerCase()+"-"+c[1].toLowerCase():c[0].toLowerCase()+"-"+c[1].toUpperCase()}else b=T.lowerCaseLng?a.toLowerCase():a;return b}var d=this.log;b=b||T.fallbackLng,"string"==typeof b&&(b=[b]);var e=[],f=T.lngWhitelist||!1,g=function(a){!f||f.indexOf(a)>-1?e.push(a):d("rejecting non-whitelisted language: "+a)};if("string"==typeof a&&a.indexOf("-")>-1){var h=a.split("-");"unspecific"!==T.load&&g(c(a)),"current"!==T.load&&g(c(h[this.getCountyIndexOfLng(a)]))}else g(c(a));for(var i=0;i<b.length;i++)-1===e.indexOf(b[i])&&b[i]&&e.push(c(b[i]));return e},regexEscape:function(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},regexReplacementEscape:function(a){return"string"==typeof a?a.replace(/\$/g,"$$$$"):a},localStorage:{setItem:function(a,b){if(window.localStorage)try{window.localStorage.setItem(a,b)}catch(c){X.log('failed to set value for key "'+a+'" to localStorage.')}},getItem:function(a,b){if(window.localStorage)try{return window.localStorage.getItem(a,b)}catch(c){return void X.log('failed to get value for key "'+a+'" from localStorage.')}}}};X.applyReplacement=y;var Y=[["ach","Acholi",[1,2],1],["af","Afrikaans",[1,2],2],["ak","Akan",[1,2],1],["am","Amharic",[1,2],1],["an","Aragonese",[1,2],2],["ar","Arabic",[0,1,2,3,11,100],5],["arn","Mapudungun",[1,2],1],["ast","Asturian",[1,2],2],["ay","Aymará",[1],3],["az","Azerbaijani",[1,2],2],["be","Belarusian",[1,2,5],4],["bg","Bulgarian",[1,2],2],["bn","Bengali",[1,2],2],["bo","Tibetan",[1],3],["br","Breton",[1,2],1],["bs","Bosnian",[1,2,5],4],["ca","Catalan",[1,2],2],["cgg","Chiga",[1],3],["cs","Czech",[1,2,5],6],["csb","Kashubian",[1,2,5],7],["cy","Welsh",[1,2,3,8],8],["da","Danish",[1,2],2],["de","German",[1,2],2],["dev","Development Fallback",[1,2],2],["dz","Dzongkha",[1],3],["el","Greek",[1,2],2],["en","English",[1,2],2],["eo","Esperanto",[1,2],2],["es","Spanish",[1,2],2],["es_ar","Argentinean Spanish",[1,2],2],["et","Estonian",[1,2],2],["eu","Basque",[1,2],2],["fa","Persian",[1],3],["fi","Finnish",[1,2],2],["fil","Filipino",[1,2],1],["fo","Faroese",[1,2],2],["fr","French",[1,2],9],["fur","Friulian",[1,2],2],["fy","Frisian",[1,2],2],["ga","Irish",[1,2,3,7,11],10],["gd","Scottish Gaelic",[1,2,3,20],11],["gl","Galician",[1,2],2],["gu","Gujarati",[1,2],2],["gun","Gun",[1,2],1],["ha","Hausa",[1,2],2],["he","Hebrew",[1,2],2],["hi","Hindi",[1,2],2],["hr","Croatian",[1,2,5],4],["hu","Hungarian",[1,2],2],["hy","Armenian",[1,2],2],["ia","Interlingua",[1,2],2],["id","Indonesian",[1],3],["is","Icelandic",[1,2],12],["it","Italian",[1,2],2],["ja","Japanese",[1],3],["jbo","Lojban",[1],3],["jv","Javanese",[0,1],13],["ka","Georgian",[1],3],["kk","Kazakh",[1],3],["km","Khmer",[1],3],["kn","Kannada",[1,2],2],["ko","Korean",[1],3],["ku","Kurdish",[1,2],2],["kw","Cornish",[1,2,3,4],14],["ky","Kyrgyz",[1],3],["lb","Letzeburgesch",[1,2],2],["ln","Lingala",[1,2],1],["lo","Lao",[1],3],["lt","Lithuanian",[1,2,10],15],["lv","Latvian",[1,2,0],16],["mai","Maithili",[1,2],2],["mfe","Mauritian Creole",[1,2],1],["mg","Malagasy",[1,2],1],["mi","Maori",[1,2],1],["mk","Macedonian",[1,2],17],["ml","Malayalam",[1,2],2],["mn","Mongolian",[1,2],2],["mnk","Mandinka",[0,1,2],18],["mr","Marathi",[1,2],2],["ms","Malay",[1],3],["mt","Maltese",[1,2,11,20],19],["nah","Nahuatl",[1,2],2],["nap","Neapolitan",[1,2],2],["nb","Norwegian Bokmal",[1,2],2],["ne","Nepali",[1,2],2],["nl","Dutch",[1,2],2],["nn","Norwegian Nynorsk",[1,2],2],["no","Norwegian",[1,2],2],["nso","Northern Sotho",[1,2],2],["oc","Occitan",[1,2],1],["or","Oriya",[2,1],2],["pa","Punjabi",[1,2],2],["pap","Papiamento",[1,2],2],["pl","Polish",[1,2,5],7],["pms","Piemontese",[1,2],2],["ps","Pashto",[1,2],2],["pt","Portuguese",[1,2],2],["pt_br","Brazilian Portuguese",[1,2],2],["rm","Romansh",[1,2],2],["ro","Romanian",[1,2,20],20],["ru","Russian",[1,2,5],4],["sah","Yakut",[1],3],["sco","Scots",[1,2],2],["se","Northern Sami",[1,2],2],["si","Sinhala",[1,2],2],["sk","Slovak",[1,2,5],6],["sl","Slovenian",[5,1,2,3],21],["so","Somali",[1,2],2],["son","Songhay",[1,2],2],["sq","Albanian",[1,2],2],["sr","Serbian",[1,2,5],4],["su","Sundanese",[1],3],["sv","Swedish",[1,2],2],["sw","Swahili",[1,2],2],["ta","Tamil",[1,2],2],["te","Telugu",[1,2],2],["tg","Tajik",[1,2],1],["th","Thai",[1],3],["ti","Tigrinya",[1,2],1],["tk","Turkmen",[1,2],2],["tr","Turkish",[1,2],1],["tt","Tatar",[1],3],["ug","Uyghur",[1],3],["uk","Ukrainian",[1,2,5],4],["ur","Urdu",[1,2],2],["uz","Uzbek",[1,2],1],["vi","Vietnamese",[1],3],["wa","Walloon",[1,2],1],["wo","Wolof",[1],3],["yo","Yoruba",[1,2],2],["zh","Chinese",[1],3]],Z={1:function(a){return Number(a>1)},2:function(a){return Number(1!=a)},3:function(){return 0},4:function(a){return Number(a%10==1&&a%100!=11?0:a%10>=2&&4>=a%10&&(10>a%100||a%100>=20)?1:2)},5:function(a){return Number(0===a?0:1==a?1:2==a?2:a%100>=3&&10>=a%100?3:a%100>=11?4:5)},6:function(a){return Number(1==a?0:a>=2&&4>=a?1:2)},7:function(a){return Number(1==a?0:a%10>=2&&4>=a%10&&(10>a%100||a%100>=20)?1:2)},8:function(a){return Number(1==a?0:2==a?1:8!=a&&11!=a?2:3)},9:function(a){return Number(a>=2)},10:function(a){return Number(1==a?0:2==a?1:7>a?2:11>a?3:4)},11:function(a){return Number(1==a||11==a?0:2==a||12==a?1:a>2&&20>a?2:3)},12:function(a){return Number(a%10!=1||a%100==11)},13:function(a){return Number(0!==a)},14:function(a){return Number(1==a?0:2==a?1:3==a?2:3)},15:function(a){return Number(a%10==1&&a%100!=11?0:a%10>=2&&(10>a%100||a%100>=20)?1:2)},16:function(a){return Number(a%10==1&&a%100!=11?0:0!==a?1:2)},17:function(a){return Number(1==a||a%10==1?0:1)},18:function(a){return Number(1==a?1:2)},19:function(a){return Number(1==a?0:0===a||a%100>1&&11>a%100?1:a%100>10&&20>a%100?2:3)},20:function(a){return Number(1==a?0:0===a||a%100>0&&20>a%100?1:2)},21:function(a){return Number(a%100==1?1:a%100==2?2:a%100==3||a%100==4?3:0)}},$={rules:function(){var a,b={};for(a=Y.length;a--;)b[Y[a][0]]={name:Y[a][1],numbers:Y[a][2],plurals:Z[Y[a][3]]};return b}(),addRule:function(a,b){$.rules[a]=b},setCurrentLng:function(a){if(!$.currentRule||$.currentRule.lng!==a){var b=a.split("-");$.currentRule={lng:a,rule:$.rules[b[0]]}}},needsPlural:function(a,b){var c,d=a.split("-");return c=$.currentRule&&$.currentRule.lng===a?$.currentRule.rule:$.rules[d[X.getCountyIndexOfLng(a)]],c&&c.numbers.length<=1?!1:1!==this.get(a,b)},get:function(a,b){function c(b,c){var d;if(d=$.currentRule&&$.currentRule.lng===a?$.currentRule.rule:$.rules[b]){var e;e=d.plurals(d.noAbs?c:Math.abs(c));var f=d.numbers[e];return 2===d.numbers.length&&1===d.numbers[0]&&(2===f?f=-1:1===f&&(f=1)),f}return 1===c?"1":"-1"}var d=a.split("-");return c(d[X.getCountyIndexOfLng(a)],b)}},_={},aa=function(a,b){_[a]=b},ba=function(){function a(a){return Object.prototype.toString.call(a).slice(8,-1).toLowerCase()}function b(a,b){for(var c=[];b>0;c[--b]=a);return c.join("")}var c=function(){return c.cache.hasOwnProperty(arguments[0])||(c.cache[arguments[0]]=c.parse(arguments[0])),c.format.call(null,c.cache[arguments[0]],arguments)};return c.format=function(c,d){var e,f,g,h,i,j,k,l=1,m=c.length,n="",o=[];for(f=0;m>f;f++)if(n=a(c[f]),"string"===n)o.push(c[f]);else if("array"===n){if(h=c[f],h[2])for(e=d[l],g=0;g<h[2].length;g++){if(!e.hasOwnProperty(h[2][g]))throw ba('[sprintf] property "%s" does not exist',h[2][g]);e=e[h[2][g]]}else e=h[1]?d[h[1]]:d[l++];if(/[^s]/.test(h[8])&&"number"!=a(e))throw ba("[sprintf] expecting number but found %s",a(e));switch(h[8]){case"b":e=e.toString(2);break;case"c":e=String.fromCharCode(e);break;case"d":e=parseInt(e,10);break;case"e":e=h[7]?e.toExponential(h[7]):e.toExponential();break;case"f":e=h[7]?parseFloat(e).toFixed(h[7]):parseFloat(e);break;case"o":e=e.toString(8);break;case"s":e=(e=String(e))&&h[7]?e.substring(0,h[7]):e;break;case"u":e=Math.abs(e);break;case"x":e=e.toString(16);break;case"X":e=e.toString(16).toUpperCase()}e=/[def]/.test(h[8])&&h[3]&&e>=0?"+"+e:e,j=h[4]?"0"==h[4]?"0":h[4].charAt(1):" ",k=h[6]-String(e).length,i=h[6]?b(j,k):"",o.push(h[5]?e+i:i+e)}return o.join("")},c.cache={},c.parse=function(a){for(var b=a,c=[],d=[],e=0;b;){if(null!==(c=/^[^\x25]+/.exec(b)))d.push(c[0]);else if(null!==(c=/^\x25{2}/.exec(b)))d.push("%");else{if(null===(c=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(b)))throw"[sprintf] huh?";if(c[2]){e|=1;var f=[],g=c[2],h=[];if(null===(h=/^([a-z_][a-z_\d]*)/i.exec(g)))throw"[sprintf] huh?";for(f.push(h[1]);""!==(g=g.substring(h[0].length));)if(null!==(h=/^\.([a-z_][a-z_\d]*)/i.exec(g)))f.push(h[1]);else{if(null===(h=/^\[(\d+)\]/.exec(g)))throw"[sprintf] huh?";f.push(h[1])}c[2]=f}else e|=2;if(3===e)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";d.push(c)}b=b.substring(c[0].length)}return d},c}(),ca=function(a,b){return b.unshift(a),ba.apply(null,b)};aa("sprintf",function(a,b,c){return c.sprintf?"[object Array]"===Object.prototype.toString.apply(c.sprintf)?ca(a,c.sprintf):"object"==typeof c.sprintf?ba(a,c.sprintf):a:a;--}),M.init=g,M.isInitialized=h,M.setLng=s,M.preload=i,M.addResourceBundle=j,M.hasResourceBundle=k,M.getResourceBundle=l,M.addResource=n,M.addResources=o,M.removeResourceBundle=m,M.loadNamespace=q,M.loadNamespaces=r,M.setDefaultNamespace=p,M.t=E,M.translate=E,M.exists=D,M.detectLanguage=X.detectLanguage,M.pluralExtensions=$,M.sync=R,M.functions=X,M.lng=t,M.addPostProcessor=aa,M.applyReplacement=X.applyReplacement,M.options=T,M.noConflict=v}("undefined"==typeof exports?window:exports);\ No newline at end of filediff --git a/data/libs/i18next/i18next.amd.withJQuery-1.10.1.min.js b/data/libs/i18next/i18next.amd.withJQuery-1.10.1.min.jsdeleted file mode 100644index 4785acb1e..000000000--- a/data/libs/i18next/i18next.amd.withJQuery-1.10.1.min.js+++ /dev/null@@ -1,6 +0,0 @@-// i18next, v1.10.1-// Copyright (c)2015 Jan Mühlemann (jamuhl).-// Distributed under MIT license-// http://i18next.com-!function(a,b){if("object"==typeof exports){var c=require("jquery");module.exports=b(c)}else"function"==typeof define&&define.amd&&define(["jquery"],b)}(this,function(a){function b(a,b){if(!b||"function"==typeof b)return a;for(var c in b)a[c]=b[c];return a}function c(a,b){for(var d in b)d in a?c(a[d],b[d]):a[d]=b[d];return a}function d(a,b,c){var d,e=0,f=a.length,g=void 0===f||"[object Array]"!==Object.prototype.toString.apply(a)||"function"==typeof a;if(c)if(g){for(d in a)if(b.apply(a[d],c)===!1)break}else for(;f>e&&b.apply(a[e++],c)!==!1;);else if(g){for(d in a)if(b.call(a[d],d,a[d])===!1)break}else for(;f>e&&b.call(a[e],e,a[e++])!==!1;);return a}function e(a){return"string"==typeof a?a.replace(/[&<>"'\/]/g,function(a){return S[a]}):a}function f(a){var b=function(a){if(window.XMLHttpRequest)return a(null,new XMLHttpRequest);if(window.ActiveXObject)try{return a(null,new ActiveXObject("Msxml2.XMLHTTP"))}catch(b){return a(null,new ActiveXObject("Microsoft.XMLHTTP"))}return a(new Error)},c=function(a){if("string"==typeof a)return a;var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(encodeURIComponent(c)+"="+encodeURIComponent(a[c]));return b.join("&")},d=function(a){a=a.replace(/\r\n/g,"\n");for(var b="",c=0;c<a.length;c++){var d=a.charCodeAt(c);128>d?b+=String.fromCharCode(d):d>127&&2048>d?(b+=String.fromCharCode(d>>6|192),b+=String.fromCharCode(63&d|128)):(b+=String.fromCharCode(d>>12|224),b+=String.fromCharCode(d>>6&63|128),b+=String.fromCharCode(63&d|128))}return b},e=function(a){var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";a=d(a);var c,e,f,g,h,i,j,k="",l=0;do c=a.charCodeAt(l++),e=a.charCodeAt(l++),f=a.charCodeAt(l++),g=c>>2,h=(3&c)<<4|e>>4,i=(15&e)<<2|f>>6,j=63&f,isNaN(e)?i=j=64:isNaN(f)&&(j=64),k+=b.charAt(g)+b.charAt(h)+b.charAt(i)+b.charAt(j),c=e=f="",g=h=i=j="";while(l<a.length);return k},f=function(){for(var a=arguments[0],b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d])}return a},g=function(a,d,e,h){"function"==typeof e&&(h=e,e={}),e.cache=e.cache||!1,e.data=e.data||{},e.headers=e.headers||{},e.jsonp=e.jsonp||!1,e.async=void 0===e.async?!0:e.async;var i,j=f({accept:"*/*","content-type":"application/x-www-form-urlencoded;charset=UTF-8"},g.headers,e.headers);if(i="application/json"===j["content-type"]?JSON.stringify(e.data):c(e.data),"GET"===a){var k=[];if(i&&(k.push(i),i=null),e.cache||k.push("_="+(new Date).getTime()),e.jsonp&&(k.push("callback="+e.jsonp),k.push("jsonp="+e.jsonp)),k=k.join("&"),k.length>1&&(d+=d.indexOf("?")>-1?"&"+k:"?"+k),e.jsonp){var l=document.getElementsByTagName("head")[0],m=document.createElement("script");return m.type="text/javascript",m.src=d,void l.appendChild(m)}}b(function(b,c){if(b)return h(b);c.open(a,d,e.async);for(var f in j)j.hasOwnProperty(f)&&c.setRequestHeader(f,j[f]);c.onreadystatechange=function(){if(4===c.readyState){var a=c.responseText||"";if(!h)return;h(c.status,{text:function(){return a},json:function(){try{return JSON.parse(a)}catch(b){return V.error("Can not parse JSON. URL: "+d),{}}}})}},c.send(i)})},h={authBasic:function(a,b){g.headers.Authorization="Basic "+e(a+":"+b)},connect:function(a,b,c){return g("CONNECT",a,b,c)},del:function(a,b,c){return g("DELETE",a,b,c)},get:function(a,b,c){return g("GET",a,b,c)},head:function(a,b,c){return g("HEAD",a,b,c)},headers:function(a){g.headers=a||{}},isAllowed:function(a,b,c){this.options(a,function(a,d){c(-1!==d.text().indexOf(b))})},options:function(a,b,c){return g("OPTIONS",a,b,c)},patch:function(a,b,c){return g("PATCH",a,b,c)},post:function(a,b,c){return g("POST",a,b,c)},put:function(a,b,c){return g("PUT",a,b,c)},trace:function(a,b,c){return g("TRACE",a,b,c)}},i=a.type?a.type.toLowerCase():"get";h[i](a.url,a,function(b,c){200===b||0===b&&c.text()?a.success(c.json(),b,null):a.error(c.text(),b,null)})}function g(b,c){"function"==typeof b&&(c=b,b={}),b=b||{},V.extend(R,b),delete R.fixLng,R.functions&&(delete R.functions,V.extend(V,b.functions)),"string"==typeof R.ns&&(R.ns={namespaces:[R.ns],defaultNs:R.ns}),"string"==typeof R.fallbackNS&&(R.fallbackNS=[R.fallbackNS]),("string"==typeof R.fallbackLng||"boolean"==typeof R.fallbackLng)&&(R.fallbackLng=[R.fallbackLng]),R.interpolationPrefixEscaped=V.regexEscape(R.interpolationPrefix),R.interpolationSuffixEscaped=V.regexEscape(R.interpolationSuffix),R.lng||(R.lng=V.detectLanguage()),O=V.toLanguages(R.lng),K=O[0],V.log("currentLng set to: "+K),R.useCookie&&V.cookie.read(R.cookieName)!==K&&V.cookie.create(R.cookieName,K,R.cookieExpirationTime,R.cookieDomain),R.detectLngFromLocalStorage&&"undefined"!=typeof document&&window.localStorage&&V.localStorage.setItem("i18next_lng",K);var d=E;b.fixLng&&(d=function(a,b){return b=b||{},b.lng=b.lng||d.lng,E(a,b)},d.lng=K),Y.setCurrentLng(K),a&&R.setJqueryExt?w&&w():x&&x();var e;if(a&&a.Deferred&&(e=a.Deferred()),!R.resStore){var f=V.toLanguages(R.lng);"string"==typeof R.preload&&(R.preload=[R.preload]);for(var g=0,h=R.preload.length;h>g;g++)for(var i=V.toLanguages(R.preload[g]),j=0,k=i.length;k>j;j++)f.indexOf(i[j])<0&&f.push(i[j]);return L.sync.load(f,R,function(a,b){M=b,P=!0,c&&c(a,d),e&&(a?e.reject:e.resolve)(a||d)}),e?e.promise():void 0}return M=R.resStore,P=!0,c&&c(d),e&&e.resolve(d),e?e.promise():void 0}function h(){return P}function i(a,b){"string"==typeof a&&(a=[a]);for(var c=0,d=a.length;d>c;c++)R.preload.indexOf(a[c])<0&&R.preload.push(a[c]);return g(b)}function j(a,b,c,d){"string"!=typeof b?(c=b,b=R.ns.defaultNs):R.ns.namespaces.indexOf(b)<0&&R.ns.namespaces.push(b),M[a]=M[a]||{},M[a][b]=M[a][b]||{},d?V.deepExtend(M[a][b],c):V.extend(M[a][b],c),R.useLocalStorage&&Q._storeLocal(M)}function k(a,b){"string"!=typeof b&&(b=R.ns.defaultNs),M[a]=M[a]||{};var c=M[a][b]||{},d=!1;for(var e in c)c.hasOwnProperty(e)&&(d=!0);return d}function l(a,b){return"string"!=typeof b&&(b=R.ns.defaultNs),M[a]=M[a]||{},V.extend({},M[a][b])}function m(a,b){"string"!=typeof b&&(b=R.ns.defaultNs),M[a]=M[a]||{},M[a][b]={},R.useLocalStorage&&Q._storeLocal(M)}function n(a,b,c,d){"string"!=typeof b?(resource=b,b=R.ns.defaultNs):R.ns.namespaces.indexOf(b)<0&&R.ns.namespaces.push(b),M[a]=M[a]||{},M[a][b]=M[a][b]||{};for(var e=c.split(R.keyseparator),f=0,g=M[a][b];e[f];)f==e.length-1?g[e[f]]=d:(null==g[e[f]]&&(g[e[f]]={}),g=g[e[f]]),f++;R.useLocalStorage&&Q._storeLocal(M)}function o(a,b,c){"string"!=typeof b?(resource=b,b=R.ns.defaultNs):R.ns.namespaces.indexOf(b)<0&&R.ns.namespaces.push(b);for(var d in c)"string"==typeof c[d]&&n(a,b,d,c[d])}function p(a){R.ns.defaultNs=a}function q(a,b){r([a],b)}function r(a,b){var c={dynamicLoad:R.dynamicLoad,resGetPath:R.resGetPath,getAsync:R.getAsync,customLoad:R.customLoad,ns:{namespaces:a,defaultNs:""}},d=V.toLanguages(R.lng);"string"==typeof R.preload&&(R.preload=[R.preload]);for(var e=0,f=R.preload.length;f>e;e++)for(var g=V.toLanguages(R.preload[e]),h=0,i=g.length;i>h;h++)d.indexOf(g[h])<0&&d.push(g[h]);for(var j=[],k=0,l=d.length;l>k;k++){var m=!1,n=M[d[k]];if(n)for(var o=0,p=a.length;p>o;o++)n[a[o]]||(m=!0);else m=!0;m&&j.push(d[k])}j.length?L.sync._fetch(j,c,function(c,d){var e=a.length*j.length;V.each(a,function(a,c){R.ns.namespaces.indexOf(c)<0&&R.ns.namespaces.push(c),V.each(j,function(a,f){M[f]=M[f]||{},M[f][c]=d[f][c],e--,0===e&&b&&(R.useLocalStorage&&L.sync._storeLocal(M),b())})})}):b&&b()}function s(a,b,c){return"function"==typeof b?(c=b,b={}):b||(b={}),b.lng=a,g(b,c)}function t(){return K}function u(a){M={},s(K,a)}function v(){window.i18next=window.i18n,conflictReference?window.i18n=conflictReference:delete window.i18n}function w(){function b(b,c,d){if(0!==c.length){var e="text";if(0===c.indexOf("[")){var f=c.split("]");c=f[1],e=f[0].substr(1,f[0].length-1)}c.indexOf(";")===c.length-1&&(c=c.substr(0,c.length-2));var g;if("html"===e)g=R.defaultValueFromContent?a.extend({defaultValue:b.html()},d):d,b.html(a.t(c,g));else if("text"===e)g=R.defaultValueFromContent?a.extend({defaultValue:b.text()},d):d,b.text(a.t(c,g));else if("prepend"===e)g=R.defaultValueFromContent?a.extend({defaultValue:b.html()},d):d,b.prepend(a.t(c,g));else if("append"===e)g=R.defaultValueFromContent?a.extend({defaultValue:b.html()},d):d,b.append(a.t(c,g));else if(0===e.indexOf("data-")){var h=e.substr("data-".length);g=R.defaultValueFromContent?a.extend({defaultValue:b.data(h)},d):d;var i=a.t(c,g);b.data(h,i),b.attr(e,i)}else g=R.defaultValueFromContent?a.extend({defaultValue:b.attr(e)},d):d,b.attr(e,a.t(c,g))}}function c(c,d){var e=c.attr(R.selectorAttr);if(e||"undefined"==typeof e||e===!1||(e=c.text()||c.val()),e){var f=c,g=c.data("i18n-target");if(g&&(f=c.find(g)||c),d||R.useDataAttrOptions!==!0||(d=c.data("i18n-options")),d=d||{},e.indexOf(";")>=0){var h=e.split(";");a.each(h,function(a,c){""!==c&&b(f,c,d)})}else b(f,e,d);R.useDataAttrOptions===!0&&c.data("i18n-options",d)}}a.t=a.t||E,a.fn.i18n=function(b){return this.each(function(){c(a(this),b);var d=a(this).find("["+R.selectorAttr+"]");d.each(function(){c(a(this),b)})})}}function x(){function a(a,b,c){if(0!==b.length){var d="text";if(0===b.indexOf("[")){var e=b.split("]");b=e[1],d=e[0].substr(1,e[0].length-1)}b.indexOf(";")===b.length-1&&(b=b.substr(0,b.length-2)),"html"===d?a.innerHTML=E(b,c):"text"===d?a.textContent=E(b,c):"prepend"===d?a.insertAdjacentHTML(E(b,c),"afterbegin"):"append"===d?a.insertAdjacentHTML(E(b,c),"beforeend"):a.setAttribute(d,E(b,c))}}function b(b,c){var d=b.getAttribute(R.selectorAttr);if(d||"undefined"==typeof d||d===!1||(d=b.textContent||b.value),d){var e=b,f=b.getAttribute("i18n-target");if(f&&(e=b.querySelector(f)||b),d.indexOf(";")>=0)for(var g=d.split(";"),h=0,i=g.length;i>h;h++)""!==g[h]&&a(e,g[h],c);else a(e,d,c)}}L.translateObject=function(a,c){for(var d=a.querySelectorAll("["+R.selectorAttr+"]"),e=0,f=d.length;f>e;e++)b(d[e],c)}}function y(a,b,c,d){if(!a)return a;if(d=d||b,a.indexOf(d.interpolationPrefix||R.interpolationPrefix)<0)return a;var e=d.interpolationPrefix?V.regexEscape(d.interpolationPrefix):R.interpolationPrefixEscaped,f=d.interpolationSuffix?V.regexEscape(d.interpolationSuffix):R.interpolationSuffixEscaped,g="HTML"+f,h=b.replace&&"object"==typeof b.replace?b.replace:b;return V.each(h,function(b,h){var i=c?c+R.keyseparator+b:b;"object"==typeof h&&null!==h?a=y(a,h,i,d):d.escapeInterpolation||R.escapeInterpolation?(a=a.replace(new RegExp([e,i,g].join(""),"g"),V.regexReplacementEscape(h)),a=a.replace(new RegExp([e,i,f].join(""),"g"),V.regexReplacementEscape(V.escape(h)))):a=a.replace(new RegExp([e,i,f].join(""),"g"),V.regexReplacementEscape(h))}),a}function z(a,b){var c=",",d="{",e="}",f=V.extend({},b);for(delete f.postProcess;-1!=a.indexOf(R.reusePrefix)&&(N++,!(N>R.maxRecursion));){var g=a.lastIndexOf(R.reusePrefix),h=a.indexOf(R.reuseSuffix,g)+R.reuseSuffix.length,i=a.substring(g,h),j=i.replace(R.reusePrefix,"").replace(R.reuseSuffix,"");if(g>=h)return V.error("there is an missing closing in following translation value",a),"";if(-1!=j.indexOf(c)){var k=j.indexOf(c);if(-1!=j.indexOf(d,k)&&-1!=j.indexOf(e,k)){var l=j.indexOf(d,k),m=j.indexOf(e,l)+e.length;try{f=V.extend(f,JSON.parse(j.substring(l,m))),j=j.substring(0,k)}catch(n){}}}var o=H(j,f);a=a.replace(i,V.regexReplacementEscape(o))}return a}function A(a){return a.context&&("string"==typeof a.context||"number"==typeof a.context)}function B(a){return void 0!==a.count&&"string"!=typeof a.count}function C(a){return void 0!==a.indefinite_article&&"string"!=typeof a.indefinite_article&&a.indefinite_article}function D(a,b){b=b||{};var c=F(a,b),d=I(a,b);return void 0!==d||d===c}function E(a,b){return b=b||{},P?(N=0,H.apply(null,arguments)):(V.log("i18next not finished initialization. you might have called t function before loading resources finished."),b.defaultValue||"")}function F(a,b){return void 0!==b.defaultValue?b.defaultValue:a}function G(){for(var a=[],b=1;b<arguments.length;b++)a.push(arguments[b]);return{postProcess:"sprintf",sprintf:a}}function H(a,b){if(b&&"object"!=typeof b?"sprintf"===R.shortcutFunction?b=G.apply(null,arguments):"defaultValue"===R.shortcutFunction&&(b={defaultValue:b}):b=b||{},"object"==typeof R.defaultVariables&&(b=V.extend({},R.defaultVariables,b)),void 0===a||null===a||""===a)return"";"number"==typeof a&&(a=String(a)),"string"==typeof a&&(a=[a]);var c=a[0];if(a.length>1)for(var d=0;d<a.length&&(c=a[d],!D(c,b));d++);var e,f=F(c,b),g=I(c,b),h=b.lng?V.toLanguages(b.lng,b.fallbackLng):O,i=b.ns||R.ns.defaultNs;c.indexOf(R.nsseparator)>-1&&(e=c.split(R.nsseparator),i=e[0],c=e[1]),void 0===g&&R.sendMissing&&"function"==typeof R.missingKeyHandler&&(b.lng?R.missingKeyHandler(h[0],i,c,f,h):R.missingKeyHandler(R.lng,i,c,f,h));var j;j="string"==typeof R.postProcess&&""!==R.postProcess?[R.postProcess]:"array"==typeof R.postProcess||"object"==typeof R.postProcess?R.postProcess:[],"string"==typeof b.postProcess&&""!==b.postProcess?j=j.concat([b.postProcess]):("array"==typeof b.postProcess||"object"==typeof b.postProcess)&&(j=j.concat(b.postProcess)),void 0!==g&&j.length&&j.forEach(function(a){Z[a]&&(g=Z[a](g,c,b))});var k=f;if(f.indexOf(R.nsseparator)>-1&&(e=f.split(R.nsseparator),k=e[1]),k===c&&R.parseMissingKey&&(f=R.parseMissingKey(f)),void 0===g&&(f=y(f,b),f=z(f,b),j.length)){var l=F(c,b);j.forEach(function(a){Z[a]&&(g=Z[a](l,c,b))})}return void 0!==g?g:f}function I(a,b){b=b||{};var c,d,e=F(a,b),f=O;if(!M)return e;if("cimode"===f[0].toLowerCase())return e;if(b.lngs&&(f=b.lngs),b.lng&&(f=V.toLanguages(b.lng,b.fallbackLng),!M[f[0]])){var g=R.getAsync;R.getAsync=!1,L.sync.load(f,R,function(a,b){V.extend(M,b),R.getAsync=g})}var h=b.ns||R.ns.defaultNs;if(a.indexOf(R.nsseparator)>-1){var i=a.split(R.nsseparator);h=i[0],a=i[1]}if(A(b)){c=V.extend({},b),delete c.context,c.defaultValue=R.contextNotFound;var j=h+R.nsseparator+a+"_"+b.context;if(d=E(j,c),d!=R.contextNotFound)return y(d,{context:b.context})}if(B(b,f[0])){c=V.extend({lngs:[f[0]]},b),delete c.count,c._origLng=c._origLng||c.lng||f[0],delete c.lng,c.defaultValue=R.pluralNotFound;var k;if(Y.needsPlural(f[0],b.count)){k=h+R.nsseparator+a+R.pluralSuffix;var l=Y.get(f[0],b.count);l>=0?k=k+"_"+l:1===l&&(k=h+R.nsseparator+a)}else k=h+R.nsseparator+a;if(d=E(k,c),d!=R.pluralNotFound)return y(d,{count:b.count,interpolationPrefix:b.interpolationPrefix,interpolationSuffix:b.interpolationSuffix});if(!(f.length>1))return c.lng=c._origLng,delete c._origLng,d=E(h+R.nsseparator+a,c),y(d,{count:b.count,interpolationPrefix:b.interpolationPrefix,interpolationSuffix:b.interpolationSuffix});var m=f.slice();if(m.shift(),b=V.extend(b,{lngs:m}),b._origLng=c._origLng,delete b.lng,d=E(h+R.nsseparator+a,b),d!=R.pluralNotFound)return d}if(C(b)){var n=V.extend({},b);delete n.indefinite_article,n.defaultValue=R.indefiniteNotFound;var o=h+R.nsseparator+a+(b.count&&!B(b,f[0])||!b.count?R.indefiniteSuffix:"");if(d=E(o,n),d!=R.indefiniteNotFound)return d}for(var p,q=a.split(R.keyseparator),r=0,s=f.length;s>r&&void 0===p;r++){for(var t=f[r],u=0,v=M[t]&&M[t][h];q[u];)v=v&&v[q[u]],u++;if(void 0!==v&&(!R.showKeyIfEmpty||""!==v)){var w=Object.prototype.toString.apply(v);if("string"==typeof v)v=y(v,b),v=z(v,b);else if("[object Array]"!==w||R.returnObjectTrees||b.returnObjectTrees){if(null===v&&R.fallbackOnNull===!0)v=void 0;else if(null!==v)if(R.returnObjectTrees||b.returnObjectTrees){if("[object Number]"!==w&&"[object Function]"!==w&&"[object RegExp]"!==w){var x="[object Array]"===w?[]:{};V.each(v,function(c){x[c]=H(h+R.nsseparator+a+R.keyseparator+c,b)}),v=x}}else R.objectTreeKeyHandler&&"function"==typeof R.objectTreeKeyHandler?v=R.objectTreeKeyHandler(a,v,t,h,b):(v="key '"+h+":"+a+" ("+t+")' returned an object instead of string.",V.log(v))}else v=v.join("\n"),v=y(v,b),v=z(v,b);"string"==typeof v&&""===v.trim()&&R.fallbackOnEmpty===!0&&(v=void 0),p=v}}if(void 0===p&&!b.isFallbackLookup&&(R.fallbackToDefaultNS===!0||R.fallbackNS&&R.fallbackNS.length>0)){if(b.isFallbackLookup=!0,R.fallbackNS.length){for(var D=0,G=R.fallbackNS.length;G>D;D++)if(p=I(R.fallbackNS[D]+R.nsseparator+a,b),p||""===p&&R.fallbackOnEmpty===!1){var J=p.indexOf(R.nsseparator)>-1?p.split(R.nsseparator)[1]:p,K=e.indexOf(R.nsseparator)>-1?e.split(R.nsseparator)[1]:e;if(J!==K)break}}else b.ns=R.ns.defaultNs,p=I(a,b);b.isFallbackLookup=!1}return p}function J(){var a,b=R.lngWhitelist||[],c=[];if("undefined"!=typeof window&&!function(){for(var a=window.location.search.substring(1),b=a.split("&"),d=0;d<b.length;d++){var e=b[d].indexOf("=");if(e>0){var f=b[d].substring(0,e);f==R.detectLngQS&&c.push(b[d].substring(e+1))}}}(),R.useCookie&&"undefined"!=typeof document){var d=V.cookie.read(R.cookieName);d&&c.push(d)}if(R.detectLngFromLocalStorage&&"undefined"!=typeof window&&window.localStorage){var e=V.localStorage.getItem("i18next_lng");e&&c.push(e)}if("undefined"!=typeof navigator){if(navigator.languages)for(var f=0;f<navigator.languages.length;f++)c.push(navigator.languages[f]);navigator.userLanguage&&c.push(navigator.userLanguage),navigator.language&&c.push(navigator.language)}return function(){for(var d=0;d<c.length;d++){var e=c[d];if(e.indexOf("-")>-1){var f=e.split("-");e=R.lowerCaseLng?f[0].toLowerCase()+"-"+f[1].toLowerCase():f[0].toLowerCase()+"-"+f[1].toUpperCase()}if(0===b.length||b.indexOf(e)>-1){a=e;break}}}(),a||(a=R.fallbackLng[0]),a}Array.prototype.indexOf||(Array.prototype.indexOf=function(a){"use strict";if(null==this)throw new TypeError;var b=Object(this),c=b.length>>>0;if(0===c)return-1;var d=0;if(arguments.length>0&&(d=Number(arguments[1]),d!=d?d=0:0!=d&&d!=1/0&&d!=-(1/0)&&(d=(d>0||-1)*Math.floor(Math.abs(d)))),d>=c)return-1;for(var e=d>=0?d:Math.max(c-Math.abs(d),0);c>e;e++)if(e in b&&b[e]===a)return e;return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(a){"use strict";if(null==this)throw new TypeError;var b=Object(this),c=b.length>>>0;if(0===c)return-1;var d=c;arguments.length>1&&(d=Number(arguments[1]),d!=d?d=0:0!=d&&d!=1/0&&d!=-(1/0)&&(d=(d>0||-1)*Math.floor(Math.abs(d))));for(var e=d>=0?Math.min(d,c-1):c-Math.abs(d);e>=0;e--)if(e in b&&b[e]===a)return e;return-1}),"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")});var K,L={},M={},N=0,O=[],P=!1,Q={};Q={load:function(a,b,c){b.useLocalStorage?Q._loadLocal(a,b,function(d,e){for(var f=[],g=0,h=a.length;h>g;g++)e[a[g]]||f.push(a[g]);f.length>0?Q._fetch(f,b,function(a,b){V.extend(e,b),Q._storeLocal(b),c(a,e)}):c(d,e)}):Q._fetch(a,b,function(a,b){c(a,b)})},_loadLocal:function(a,b,c){var d={},e=(new Date).getTime();if(window.localStorage){var f=a.length;V.each(a,function(a,g){var h=V.localStorage.getItem("res_"+g);h&&(h=JSON.parse(h),h.i18nStamp&&h.i18nStamp+b.localStorageExpirationTime>e&&(d[g]=h)),f--,0===f&&c(null,d)})}},_storeLocal:function(a){if(window.localStorage)for(var b in a)a[b].i18nStamp=(new Date).getTime(),V.localStorage.setItem("res_"+b,JSON.stringify(a[b]))},_fetch:function(a,b,c){var d=b.ns,e={};if(b.dynamicLoad){var f=function(a,b){c(a,b)};if("function"==typeof b.customLoad)b.customLoad(a,d.namespaces,b,f);else{var g=y(b.resGetPath,{lng:a.join("+"),ns:d.namespaces.join("+")});V.ajax({url:g,cache:b.cache,success:function(a){V.log("loaded: "+g),f(null,a)},error:function(a,b,c){V.log("failed loading: "+g),f("failed loading resource.json error: "+c)},dataType:"json",async:b.getAsync,timeout:b.ajaxTimeout})}}else{var h,i=d.namespaces.length*a.length;V.each(d.namespaces,function(d,f){V.each(a,function(a,d){var g=function(a,b){a&&(h=h||[],h.push(a)),e[d]=e[d]||{},e[d][f]=b,i--,0===i&&c(h,e)};"function"==typeof b.customLoad?b.customLoad(d,f,b,g):Q._fetchOne(d,f,b,g)})})}},_fetchOne:function(a,b,c,d){var e=y(c.resGetPath,{lng:a,ns:b});V.ajax({url:e,cache:c.cache,success:function(a){V.log("loaded: "+e),d(null,a)},error:function(a,b,c){if(b&&200==b||a&&a.status&&200==a.status)V.error("There is a typo in: "+e);else if(b&&404==b||a&&a.status&&404==a.status)V.log("Does not exist: "+e);else{var f=b?b:a&&a.status?a.status:null;V.log(f+" when loading "+e)}d(c,{})},dataType:"json",async:c.getAsync,timeout:c.ajaxTimeout})},postMissing:function(a,b,c,d,e){var f={};f[c]=d;var g=[];if("fallback"===R.sendMissingTo&&R.fallbackLng[0]!==!1)for(var h=0;h<R.fallbackLng.length;h++)g.push({lng:R.fallbackLng[h],url:y(R.resPostPath,{lng:R.fallbackLng[h],ns:b})});else if("current"===R.sendMissingTo||"fallback"===R.sendMissingTo&&R.fallbackLng[0]===!1)g.push({lng:a,url:y(R.resPostPath,{lng:a,ns:b})});else if("all"===R.sendMissingTo)for(var h=0,i=e.length;i>h;h++)g.push({lng:e[h],url:y(R.resPostPath,{lng:e[h],ns:b})});for(var j=0,k=g.length;k>j;j++){var l=g[j];V.ajax({url:l.url,type:R.sendType,data:f,success:function(){V.log("posted missing key '"+c+"' to: "+l.url);for(var a=c.split("."),e=0,f=M[l.lng][b];a[e];)f=f[a[e]]=e===a.length-1?d:f[a[e]]||{},e++},error:function(){V.log("failed posting missing key '"+c+"' to: "+l.url)},dataType:"json",async:R.postAsync,timeout:R.ajaxTimeout})}},reload:u};var R={lng:void 0,load:"all",preload:[],lowerCaseLng:!1,returnObjectTrees:!1,fallbackLng:["dev"],fallbackNS:[],detectLngQS:"setLng",detectLngFromLocalStorage:!1,ns:{namespaces:["translation"],defaultNs:"translation"},fallbackOnNull:!0,fallbackOnEmpty:!1,fallbackToDefaultNS:!1,showKeyIfEmpty:!1,nsseparator:":",keyseparator:".",selectorAttr:"data-i18n",debug:!1,resGetPath:"locales/__lng__/__ns__.json",resPostPath:"locales/add/__lng__/__ns__",getAsync:!0,postAsync:!0,resStore:void 0,useLocalStorage:!1,localStorageExpirationTime:6048e5,dynamicLoad:!1,sendMissing:!1,sendMissingTo:"fallback",sendType:"POST",interpolationPrefix:"__",interpolationSuffix:"__",defaultVariables:!1,reusePrefix:"$t(",reuseSuffix:")",pluralSuffix:"_plural",pluralNotFound:["plural_not_found",Math.random()].join(""),contextNotFound:["context_not_found",Math.random()].join(""),escapeInterpolation:!1,indefiniteSuffix:"_indefinite",indefiniteNotFound:["indefinite_not_found",Math.random()].join(""),setJqueryExt:!0,defaultValueFromContent:!0,useDataAttrOptions:!1,cookieExpirationTime:void 0,useCookie:!0,cookieName:"i18next",cookieDomain:void 0,objectTreeKeyHandler:void 0,postProcess:void 0,parseMissingKey:void 0,missingKeyHandler:Q.postMissing,ajaxTimeout:0,shortcutFunction:"sprintf"},S={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},T={create:function(a,b,c,d){var e;if(c){var f=new Date;f.setTime(f.getTime()+60*c*1e3),e="; expires="+f.toGMTString()}else e="";d=d?"domain="+d+";":"",document.cookie=a+"="+b+e+";"+d+"path=/"},read:function(a){for(var b=a+"=",c=document.cookie.split(";"),d=0;d<c.length;d++){for(var e=c[d];" "==e.charAt(0);)e=e.substring(1,e.length);if(0===e.indexOf(b))return e.substring(b.length,e.length)}return null},remove:function(a){this.create(a,"",-1)}},U={create:function(){},read:function(){return null},remove:function(){}},V={extend:a?a.extend:b,deepExtend:c,each:a?a.each:d,ajax:a?a.ajax:"undefined"!=typeof document?f:function(){},cookie:"undefined"!=typeof document?T:U,detectLanguage:J,escape:e,log:function(a){R.debug&&"undefined"!=typeof console&&console.log(a)},error:function(a){"undefined"!=typeof console&&console.error(a)},getCountyIndexOfLng:function(a){var b=0;return("nb-NO"===a||"nn-NO"===a||"nb-no"===a||"nn-no"===a)&&(b=1),b},toLanguages:function(a,b){function c(a){var b=a;if("string"==typeof a&&a.indexOf("-")>-1){var c=a.split("-");b=R.lowerCaseLng?c[0].toLowerCase()+"-"+c[1].toLowerCase():c[0].toLowerCase()+"-"+c[1].toUpperCase()}else b=R.lowerCaseLng?a.toLowerCase():a;return b}var d=this.log;b=b||R.fallbackLng,"string"==typeof b&&(b=[b]);var e=[],f=R.lngWhitelist||!1,g=function(a){!f||f.indexOf(a)>-1?e.push(a):d("rejecting non-whitelisted language: "+a)};if("string"==typeof a&&a.indexOf("-")>-1){var h=a.split("-");"unspecific"!==R.load&&g(c(a)),"current"!==R.load&&g(c(h[this.getCountyIndexOfLng(a)]))}else g(c(a));for(var i=0;i<b.length;i++)-1===e.indexOf(b[i])&&b[i]&&e.push(c(b[i]));return e},regexEscape:function(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},regexReplacementEscape:function(a){return"string"==typeof a?a.replace(/\$/g,"$$$$"):a},localStorage:{setItem:function(a,b){if(window.localStorage)try{window.localStorage.setItem(a,b)}catch(c){V.log('failed to set value for key "'+a+'" to localStorage.')}},getItem:function(a,b){if(window.localStorage)try{return window.localStorage.getItem(a,b)}catch(c){return void V.log('failed to get value for key "'+a+'" from localStorage.')}}}};V.applyReplacement=y;var W=[["ach","Acholi",[1,2],1],["af","Afrikaans",[1,2],2],["ak","Akan",[1,2],1],["am","Amharic",[1,2],1],["an","Aragonese",[1,2],2],["ar","Arabic",[0,1,2,3,11,100],5],["arn","Mapudungun",[1,2],1],["ast","Asturian",[1,2],2],["ay","Aymará",[1],3],["az","Azerbaijani",[1,2],2],["be","Belarusian",[1,2,5],4],["bg","Bulgarian",[1,2],2],["bn","Bengali",[1,2],2],["bo","Tibetan",[1],3],["br","Breton",[1,2],1],["bs","Bosnian",[1,2,5],4],["ca","Catalan",[1,2],2],["cgg","Chiga",[1],3],["cs","Czech",[1,2,5],6],["csb","Kashubian",[1,2,5],7],["cy","Welsh",[1,2,3,8],8],["da","Danish",[1,2],2],["de","German",[1,2],2],["dev","Development Fallback",[1,2],2],["dz","Dzongkha",[1],3],["el","Greek",[1,2],2],["en","English",[1,2],2],["eo","Esperanto",[1,2],2],["es","Spanish",[1,2],2],["es_ar","Argentinean Spanish",[1,2],2],["et","Estonian",[1,2],2],["eu","Basque",[1,2],2],["fa","Persian",[1],3],["fi","Finnish",[1,2],2],["fil","Filipino",[1,2],1],["fo","Faroese",[1,2],2],["fr","French",[1,2],9],["fur","Friulian",[1,2],2],["fy","Frisian",[1,2],2],["ga","Irish",[1,2,3,7,11],10],["gd","Scottish Gaelic",[1,2,3,20],11],["gl","Galician",[1,2],2],["gu","Gujarati",[1,2],2],["gun","Gun",[1,2],1],["ha","Hausa",[1,2],2],["he","Hebrew",[1,2],2],["hi","Hindi",[1,2],2],["hr","Croatian",[1,2,5],4],["hu","Hungarian",[1,2],2],["hy","Armenian",[1,2],2],["ia","Interlingua",[1,2],2],["id","Indonesian",[1],3],["is","Icelandic",[1,2],12],["it","Italian",[1,2],2],["ja","Japanese",[1],3],["jbo","Lojban",[1],3],["jv","Javanese",[0,1],13],["ka","Georgian",[1],3],["kk","Kazakh",[1],3],["km","Khmer",[1],3],["kn","Kannada",[1,2],2],["ko","Korean",[1],3],["ku","Kurdish",[1,2],2],["kw","Cornish",[1,2,3,4],14],["ky","Kyrgyz",[1],3],["lb","Letzeburgesch",[1,2],2],["ln","Lingala",[1,2],1],["lo","Lao",[1],3],["lt","Lithuanian",[1,2,10],15],["lv","Latvian",[1,2,0],16],["mai","Maithili",[1,2],2],["mfe","Mauritian Creole",[1,2],1],["mg","Malagasy",[1,2],1],["mi","Maori",[1,2],1],["mk","Macedonian",[1,2],17],["ml","Malayalam",[1,2],2],["mn","Mongolian",[1,2],2],["mnk","Mandinka",[0,1,2],18],["mr","Marathi",[1,2],2],["ms","Malay",[1],3],["mt","Maltese",[1,2,11,20],19],["nah","Nahuatl",[1,2],2],["nap","Neapolitan",[1,2],2],["nb","Norwegian Bokmal",[1,2],2],["ne","Nepali",[1,2],2],["nl","Dutch",[1,2],2],["nn","Norwegian Nynorsk",[1,2],2],["no","Norwegian",[1,2],2],["nso","Northern Sotho",[1,2],2],["oc","Occitan",[1,2],1],["or","Oriya",[2,1],2],["pa","Punjabi",[1,2],2],["pap","Papiamento",[1,2],2],["pl","Polish",[1,2,5],7],["pms","Piemontese",[1,2],2],["ps","Pashto",[1,2],2],["pt","Portuguese",[1,2],2],["pt_br","Brazilian Portuguese",[1,2],2],["rm","Romansh",[1,2],2],["ro","Romanian",[1,2,20],20],["ru","Russian",[1,2,5],4],["sah","Yakut",[1],3],["sco","Scots",[1,2],2],["se","Northern Sami",[1,2],2],["si","Sinhala",[1,2],2],["sk","Slovak",[1,2,5],6],["sl","Slovenian",[5,1,2,3],21],["so","Somali",[1,2],2],["son","Songhay",[1,2],2],["sq","Albanian",[1,2],2],["sr","Serbian",[1,2,5],4],["su","Sundanese",[1],3],["sv","Swedish",[1,2],2],["sw","Swahili",[1,2],2],["ta","Tamil",[1,2],2],["te","Telugu",[1,2],2],["tg","Tajik",[1,2],1],["th","Thai",[1],3],["ti","Tigrinya",[1,2],1],["tk","Turkmen",[1,2],2],["tr","Turkish",[1,2],1],["tt","Tatar",[1],3],["ug","Uyghur",[1],3],["uk","Ukrainian",[1,2,5],4],["ur","Urdu",[1,2],2],["uz","Uzbek",[1,2],1],["vi","Vietnamese",[1],3],["wa","Walloon",[1,2],1],["wo","Wolof",[1],3],["yo","Yoruba",[1,2],2],["zh","Chinese",[1],3]],X={1:function(a){return Number(a>1)},2:function(a){return Number(1!=a)},3:function(){return 0},4:function(a){return Number(a%10==1&&a%100!=11?0:a%10>=2&&4>=a%10&&(10>a%100||a%100>=20)?1:2)},5:function(a){return Number(0===a?0:1==a?1:2==a?2:a%100>=3&&10>=a%100?3:a%100>=11?4:5)},6:function(a){return Number(1==a?0:a>=2&&4>=a?1:2)},7:function(a){return Number(1==a?0:a%10>=2&&4>=a%10&&(10>a%100||a%100>=20)?1:2)},8:function(a){return Number(1==a?0:2==a?1:8!=a&&11!=a?2:3)},9:function(a){return Number(a>=2)},10:function(a){return Number(1==a?0:2==a?1:7>a?2:11>a?3:4)},11:function(a){return Number(1==a||11==a?0:2==a||12==a?1:a>2&&20>a?2:3)},12:function(a){return Number(a%10!=1||a%100==11)},13:function(a){return Number(0!==a)},14:function(a){return Number(1==a?0:2==a?1:3==a?2:3)},15:function(a){return Number(a%10==1&&a%100!=11?0:a%10>=2&&(10>a%100||a%100>=20)?1:2)},16:function(a){return Number(a%10==1&&a%100!=11?0:0!==a?1:2)},17:function(a){return Number(1==a||a%10==1?0:1)},18:function(a){return Number(1==a?1:2)},19:function(a){return Number(1==a?0:0===a||a%100>1&&11>a%100?1:a%100>10&&20>a%100?2:3)},20:function(a){return Number(1==a?0:0===a||a%100>0&&20>a%100?1:2)},21:function(a){return Number(a%100==1?1:a%100==2?2:a%100==3||a%100==4?3:0)}},Y={rules:function(){var a,b={};for(a=W.length;a--;)b[W[a][0]]={name:W[a][1],numbers:W[a][2],plurals:X[W[a][3]]};return b}(),addRule:function(a,b){Y.rules[a]=b},setCurrentLng:function(a){if(!Y.currentRule||Y.currentRule.lng!==a){var b=a.split("-");Y.currentRule={lng:a,rule:Y.rules[b[0]]}}},needsPlural:function(a,b){var c,d=a.split("-");return c=Y.currentRule&&Y.currentRule.lng===a?Y.currentRule.rule:Y.rules[d[V.getCountyIndexOfLng(a)]],c&&c.numbers.length<=1?!1:1!==this.get(a,b)},get:function(a,b){function c(b,c){var d;if(d=Y.currentRule&&Y.currentRule.lng===a?Y.currentRule.rule:Y.rules[b]){var e;e=d.plurals(d.noAbs?c:Math.abs(c));var f=d.numbers[e];return 2===d.numbers.length&&1===d.numbers[0]&&(2===f?f=-1:1===f&&(f=1)),f}return 1===c?"1":"-1"}var d=a.split("-");return c(d[V.getCountyIndexOfLng(a)],b)}},Z={},$=function(a,b){Z[a]=b},_=function(){function a(a){return Object.prototype.toString.call(a).slice(8,-1).toLowerCase()}function b(a,b){for(var c=[];b>0;c[--b]=a);return c.join("")}var c=function(){return c.cache.hasOwnProperty(arguments[0])||(c.cache[arguments[0]]=c.parse(arguments[0])),c.format.call(null,c.cache[arguments[0]],arguments)};return c.format=function(c,d){var e,f,g,h,i,j,k,l=1,m=c.length,n="",o=[];for(f=0;m>f;f++)if(n=a(c[f]),"string"===n)o.push(c[f]);else if("array"===n){if(h=c[f],h[2])for(e=d[l],g=0;g<h[2].length;g++){if(!e.hasOwnProperty(h[2][g]))throw _('[sprintf] property "%s" does not exist',h[2][g]);e=e[h[2][g]]}else e=h[1]?d[h[1]]:d[l++];if(/[^s]/.test(h[8])&&"number"!=a(e))throw _("[sprintf] expecting number but found %s",a(e));switch(h[8]){case"b":e=e.toString(2);break;case"c":e=String.fromCharCode(e);break;case"d":e=parseInt(e,10);break;case"e":e=h[7]?e.toExponential(h[7]):e.toExponential();break;case"f":e=h[7]?parseFloat(e).toFixed(h[7]):parseFloat(e);break;case"o":e=e.toString(8);break;case"s":e=(e=String(e))&&h[7]?e.substring(0,h[7]):e;break;case"u":e=Math.abs(e);break;case"x":e=e.toString(16);break;case"X":e=e.toString(16).toUpperCase()}e=/[def]/.test(h[8])&&h[3]&&e>=0?"+"+e:e,j=h[4]?"0"==h[4]?"0":h[4].charAt(1):" ",k=h[6]-String(e).length,i=h[6]?b(j,k):"",o.push(h[5]?e+i:i+e)}return o.join("")},c.cache={},c.parse=function(a){for(var b=a,c=[],d=[],e=0;b;){if(null!==(c=/^[^\x25]+/.exec(b)))d.push(c[0]);else if(null!==(c=/^\x25{2}/.exec(b)))d.push("%");else{if(null===(c=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(b)))throw"[sprintf] huh?";if(c[2]){e|=1;var f=[],g=c[2],h=[];if(null===(h=/^([a-z_][a-z_\d]*)/i.exec(g)))throw"[sprintf] huh?";for(f.push(h[1]);""!==(g=g.substring(h[0].length));)if(null!==(h=/^\.([a-z_][a-z_\d]*)/i.exec(g)))f.push(h[1]);else{if(null===(h=/^\[(\d+)\]/.exec(g)))throw"[sprintf] huh?";f.push(h[1])}c[2]=f}else e|=2;if(3===e)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";d.push(c)}b=b.substring(c[0].length)}return d},c}(),aa=function(a,b){return b.unshift(a),_.apply(null,b)};return $("sprintf",function(a,b,c){-return c.sprintf?"[object Array]"===Object.prototype.toString.apply(c.sprintf)?aa(a,c.sprintf):"object"==typeof c.sprintf?_(a,c.sprintf):a:a}),L.init=g,L.isInitialized=h,L.setLng=s,L.preload=i,L.addResourceBundle=j,L.hasResourceBundle=k,L.getResourceBundle=l,L.addResource=n,L.addResources=o,L.removeResourceBundle=m,L.loadNamespace=q,L.loadNamespaces=r,L.setDefaultNamespace=p,L.t=E,L.translate=E,L.exists=D,L.detectLanguage=V.detectLanguage,L.pluralExtensions=Y,L.sync=Q,L.functions=V,L.lng=t,L.addPostProcessor=$,L.applyReplacement=V.applyReplacement,L.options=R,L.noConflict=v,a.i18n=L,a.t=L.t,L});\ No newline at end of filediff --git a/data/libs/i18next/i18next.amd.withJQuery.min.js b/data/libs/i18next/i18next.amd.withJQuery.min.jsnew file mode 100644index 000000000..8936a62f6--- /dev/null+++ b/data/libs/i18next/i18next.amd.withJQuery.min.js@@ -0,0 +1,7 @@+// i18next, v1.10.3+// Copyright (c)2015 Jan Mühlemann (jamuhl).+// Distributed under MIT license+// http://i18next.com+!function(a,b){if("object"==typeof exports){var c=require("jquery");module.exports=b(c)}else"function"==typeof define&&define.amd&&define(["jquery"],b)}(this,function(a){function b(a,b){if(!b||"function"==typeof b)return a;for(var c in b)a[c]=b[c];return a}function c(a,b){for(var d in b)d in a?c(a[d],b[d]):a[d]=b[d];return a}function d(a,b,c){var d,e=0,f=a.length,g=void 0===f||"[object Array]"!==Object.prototype.toString.apply(a)||"function"==typeof a;if(c)if(g){for(d in a)if(b.apply(a[d],c)===!1)break}else for(;f>e&&b.apply(a[e++],c)!==!1;);else if(g){for(d in a)if(b.call(a[d],d,a[d])===!1)break}else for(;f>e&&b.call(a[e],e,a[e++])!==!1;);return a}function e(a){return"string"==typeof a?a.replace(/[&<>"'\/]/g,function(a){return S[a]}):a}function f(a){var b=function(a){if(window.XMLHttpRequest)return a(null,new XMLHttpRequest);if(window.ActiveXObject)try{return a(null,new ActiveXObject("Msxml2.XMLHTTP"))}catch(b){return a(null,new ActiveXObject("Microsoft.XMLHTTP"))}return a(new Error)},c=function(a){if("string"==typeof a)return a;var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(encodeURIComponent(c)+"="+encodeURIComponent(a[c]));return b.join("&")},d=function(a){a=a.replace(/\r\n/g,"\n");for(var b="",c=0;c<a.length;c++){var d=a.charCodeAt(c);128>d?b+=String.fromCharCode(d):d>127&&2048>d?(b+=String.fromCharCode(d>>6|192),b+=String.fromCharCode(63&d|128)):(b+=String.fromCharCode(d>>12|224),b+=String.fromCharCode(d>>6&63|128),b+=String.fromCharCode(63&d|128))}return b},e=function(a){var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";a=d(a);var c,e,f,g,h,i,j,k="",l=0;do c=a.charCodeAt(l++),e=a.charCodeAt(l++),f=a.charCodeAt(l++),g=c>>2,h=(3&c)<<4|e>>4,i=(15&e)<<2|f>>6,j=63&f,isNaN(e)?i=j=64:isNaN(f)&&(j=64),k+=b.charAt(g)+b.charAt(h)+b.charAt(i)+b.charAt(j),c=e=f="",g=h=i=j="";while(l<a.length);return k},f=function(){for(var a=arguments[0],b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d])}return a},g=function(a,d,e,h){"function"==typeof e&&(h=e,e={}),e.cache=e.cache||!1,e.data=e.data||{},e.headers=e.headers||{},e.jsonp=e.jsonp||!1,e.async=void 0===e.async?!0:e.async;var i,j=f({accept:"*/*","content-type":"application/x-www-form-urlencoded;charset=UTF-8"},g.headers,e.headers);if(i="application/json"===j["content-type"]?JSON.stringify(e.data):c(e.data),"GET"===a){var k=[];if(i&&(k.push(i),i=null),e.cache||k.push("_="+(new Date).getTime()),e.jsonp&&(k.push("callback="+e.jsonp),k.push("jsonp="+e.jsonp)),k=k.join("&"),k.length>1&&(d+=d.indexOf("?")>-1?"&"+k:"?"+k),e.jsonp){var l=document.getElementsByTagName("head")[0],m=document.createElement("script");return m.type="text/javascript",m.src=d,void l.appendChild(m)}}b(function(b,c){if(b)return h(b);c.open(a,d,e.async);for(var f in j)j.hasOwnProperty(f)&&c.setRequestHeader(f,j[f]);c.onreadystatechange=function(){if(4===c.readyState){var a=c.responseText||"";if(!h)return;h(c.status,{text:function(){return a},json:function(){try{return JSON.parse(a)}catch(b){return V.error("Can not parse JSON. URL: "+d),{}}}})}},c.send(i)})},h={authBasic:function(a,b){g.headers.Authorization="Basic "+e(a+":"+b)},connect:function(a,b,c){return g("CONNECT",a,b,c)},del:function(a,b,c){return g("DELETE",a,b,c)},get:function(a,b,c){return g("GET",a,b,c)},head:function(a,b,c){return g("HEAD",a,b,c)},headers:function(a){g.headers=a||{}},isAllowed:function(a,b,c){this.options(a,function(a,d){c(-1!==d.text().indexOf(b))})},options:function(a,b,c){return g("OPTIONS",a,b,c)},patch:function(a,b,c){return g("PATCH",a,b,c)},post:function(a,b,c){return g("POST",a,b,c)},put:function(a,b,c){return g("PUT",a,b,c)},trace:function(a,b,c){return g("TRACE",a,b,c)}},i=a.type?a.type.toLowerCase():"get";h[i](a.url,a,function(b,c){200===b||0===b&&c.text()?a.success(c.json(),b,null):a.error(c.text(),b,null)})}function g(b,c){"function"==typeof b&&(c=b,b={}),b=b||{},V.extend(R,b),delete R.fixLng,R.functions&&(delete R.functions,V.extend(V,b.functions)),"string"==typeof R.ns&&(R.ns={namespaces:[R.ns],defaultNs:R.ns}),"string"==typeof R.fallbackNS&&(R.fallbackNS=[R.fallbackNS]),("string"==typeof R.fallbackLng||"boolean"==typeof R.fallbackLng)&&(R.fallbackLng=[R.fallbackLng]),R.interpolationPrefixEscaped=V.regexEscape(R.interpolationPrefix),R.interpolationSuffixEscaped=V.regexEscape(R.interpolationSuffix),R.lng||(R.lng=V.detectLanguage()),O=V.toLanguages(R.lng),K=O[0],V.log("currentLng set to: "+K),R.useCookie&&V.cookie.read(R.cookieName)!==K&&V.cookie.create(R.cookieName,K,R.cookieExpirationTime,R.cookieDomain),R.detectLngFromLocalStorage&&"undefined"!=typeof document&&window.localStorage&&V.localStorage.setItem("i18next_lng",K);var d=E;b.fixLng&&(d=function(a,b){return b=b||{},b.lng=b.lng||d.lng,E(a,b)},d.lng=K),Y.setCurrentLng(K),a&&R.setJqueryExt?w&&w():x&&x();var e;if(a&&a.Deferred&&(e=a.Deferred()),!R.resStore){var f=V.toLanguages(R.lng);"string"==typeof R.preload&&(R.preload=[R.preload]);for(var g=0,h=R.preload.length;h>g;g++)for(var i=V.toLanguages(R.preload[g]),j=0,k=i.length;k>j;j++)f.indexOf(i[j])<0&&f.push(i[j]);return L.sync.load(f,R,function(a,b){M=b,P=!0,c&&c(a,d),e&&(a?e.reject:e.resolve)(a||d)}),e?e.promise():void 0}return M=R.resStore,P=!0,c&&c(null,d),e&&e.resolve(d),e?e.promise():void 0}function h(){return P}function i(a,b){"string"==typeof a&&(a=[a]);for(var c=0,d=a.length;d>c;c++)R.preload.indexOf(a[c])<0&&R.preload.push(a[c]);return g(b)}function j(a,b,c,d){"string"!=typeof b?(c=b,b=R.ns.defaultNs):R.ns.namespaces.indexOf(b)<0&&R.ns.namespaces.push(b),M[a]=M[a]||{},M[a][b]=M[a][b]||{},d?V.deepExtend(M[a][b],c):V.extend(M[a][b],c),R.useLocalStorage&&Q._storeLocal(M)}function k(a,b){"string"!=typeof b&&(b=R.ns.defaultNs),M[a]=M[a]||{};var c=M[a][b]||{},d=!1;for(var e in c)c.hasOwnProperty(e)&&(d=!0);return d}function l(a,b){return"string"!=typeof b&&(b=R.ns.defaultNs),M[a]=M[a]||{},V.extend({},M[a][b])}function m(a,b){"string"!=typeof b&&(b=R.ns.defaultNs),M[a]=M[a]||{},M[a][b]={},R.useLocalStorage&&Q._storeLocal(M)}function n(a,b,c,d){"string"!=typeof b?(resource=b,b=R.ns.defaultNs):R.ns.namespaces.indexOf(b)<0&&R.ns.namespaces.push(b),M[a]=M[a]||{},M[a][b]=M[a][b]||{};for(var e=c.split(R.keyseparator),f=0,g=M[a][b];e[f];)f==e.length-1?g[e[f]]=d:(null==g[e[f]]&&(g[e[f]]={}),g=g[e[f]]),f++;R.useLocalStorage&&Q._storeLocal(M)}function o(a,b,c){"string"!=typeof b?(resource=b,b=R.ns.defaultNs):R.ns.namespaces.indexOf(b)<0&&R.ns.namespaces.push(b);for(var d in c)"string"==typeof c[d]&&n(a,b,d,c[d])}function p(a){R.ns.defaultNs=a}function q(a,b){r([a],b)}function r(a,b){var c={dynamicLoad:R.dynamicLoad,resGetPath:R.resGetPath,getAsync:R.getAsync,customLoad:R.customLoad,ns:{namespaces:a,defaultNs:""}},d=V.toLanguages(R.lng);"string"==typeof R.preload&&(R.preload=[R.preload]);for(var e=0,f=R.preload.length;f>e;e++)for(var g=V.toLanguages(R.preload[e]),h=0,i=g.length;i>h;h++)d.indexOf(g[h])<0&&d.push(g[h]);for(var j=[],k=0,l=d.length;l>k;k++){var m=!1,n=M[d[k]];if(n)for(var o=0,p=a.length;p>o;o++)n[a[o]]||(m=!0);else m=!0;m&&j.push(d[k])}j.length?L.sync._fetch(j,c,function(c,d){var e=a.length*j.length;V.each(a,function(a,c){R.ns.namespaces.indexOf(c)<0&&R.ns.namespaces.push(c),V.each(j,function(a,f){M[f]=M[f]||{},M[f][c]=d[f][c],e--,0===e&&b&&(R.useLocalStorage&&L.sync._storeLocal(M),b())})})}):b&&b()}function s(a,b,c){return"function"==typeof b?(c=b,b={}):b||(b={}),b.lng=a,g(b,c)}function t(){return K}function u(a){M={},s(K,a)}function v(){window.i18next=window.i18n,conflictReference?window.i18n=conflictReference:delete window.i18n}function w(){function b(b,c,d){if(0!==c.length){var e="text";if(0===c.indexOf("[")){var f=c.split("]");c=f[1],e=f[0].substr(1,f[0].length-1)}c.indexOf(";")===c.length-1&&(c=c.substr(0,c.length-2));var g;if("html"===e)g=R.defaultValueFromContent?a.extend({defaultValue:b.html()},d):d,b.html(a.t(c,g));else if("text"===e)g=R.defaultValueFromContent?a.extend({defaultValue:b.text()},d):d,b.text(a.t(c,g));else if("prepend"===e)g=R.defaultValueFromContent?a.extend({defaultValue:b.html()},d):d,b.prepend(a.t(c,g));else if("append"===e)g=R.defaultValueFromContent?a.extend({defaultValue:b.html()},d):d,b.append(a.t(c,g));else if(0===e.indexOf("data-")){var h=e.substr("data-".length);g=R.defaultValueFromContent?a.extend({defaultValue:b.data(h)},d):d;var i=a.t(c,g);b.data(h,i),b.attr(e,i)}else g=R.defaultValueFromContent?a.extend({defaultValue:b.attr(e)},d):d,b.attr(e,a.t(c,g))}}function c(c,d){var e=c.attr(R.selectorAttr);if(e||"undefined"==typeof e||e===!1||(e=c.text()||c.val()),e){var f=c,g=c.data("i18n-target");if(g&&(f=c.find(g)||c),d||R.useDataAttrOptions!==!0||(d=c.data("i18n-options")),d=d||{},e.indexOf(";")>=0){var h=e.split(";");a.each(h,function(a,c){""!==c&&b(f,c,d)})}else b(f,e,d);if(R.useDataAttrOptions===!0){var i=a.extend({lng:"non",lngs:[],_origLng:"non"},d);delete i.lng,delete i.lngs,delete i._origLng,c.data("i18n-options",i)}}}a.t=a.t||E,a.fn.i18n=function(b){return this.each(function(){c(a(this),b);var d=a(this).find("["+R.selectorAttr+"]");d.each(function(){c(a(this),b)})})}}function x(){function a(a,b,c){if(0!==b.length){var d="text";if(0===b.indexOf("[")){var e=b.split("]");b=e[1],d=e[0].substr(1,e[0].length-1)}b.indexOf(";")===b.length-1&&(b=b.substr(0,b.length-2)),"html"===d?a.innerHTML=E(b,c):"text"===d?a.textContent=E(b,c):"prepend"===d?a.insertAdjacentHTML(E(b,c),"afterbegin"):"append"===d?a.insertAdjacentHTML(E(b,c),"beforeend"):a.setAttribute(d,E(b,c))}}function b(b,c){var d=b.getAttribute(R.selectorAttr);if(d||"undefined"==typeof d||d===!1||(d=b.textContent||b.value),d){var e=b,f=b.getAttribute("i18n-target");if(f&&(e=b.querySelector(f)||b),d.indexOf(";")>=0)for(var g=d.split(";"),h=0,i=g.length;i>h;h++)""!==g[h]&&a(e,g[h],c);else a(e,d,c)}}L.translateObject=function(a,c){for(var d=a.querySelectorAll("["+R.selectorAttr+"]"),e=0,f=d.length;f>e;e++)b(d[e],c)}}function y(a,b,c,d){if(!a)return a;if(d=d||b,a.indexOf(d.interpolationPrefix||R.interpolationPrefix)<0)return a;var e=d.interpolationPrefix?V.regexEscape(d.interpolationPrefix):R.interpolationPrefixEscaped,f=d.interpolationSuffix?V.regexEscape(d.interpolationSuffix):R.interpolationSuffixEscaped,g=b.replace&&"object"==typeof b.replace?b.replace:b,h=new RegExp([e,"(.+?)","(HTML)?",f].join(""),"g"),i=d.escapeInterpolation||R.escapeInterpolation;return a.replace(h,function(a,b,c){for(var d=g,e=b;e.indexOf(R.keyseparator)>=0&&"object"==typeof d&&d;){var f=e.slice(0,e.indexOf(R.keyseparator));e=e.slice(e.indexOf(R.keyseparator)+1),d=d[f]}if(d&&"object"==typeof d&&d.hasOwnProperty(e)){{d[e]}return i&&!c?V.escape(d[e]):d[e]}return a})}function z(a,b){var c=",",d="{",e="}",f=V.extend({},b);for(delete f.postProcess;-1!=a.indexOf(R.reusePrefix)&&(N++,!(N>R.maxRecursion));){var g=a.lastIndexOf(R.reusePrefix),h=a.indexOf(R.reuseSuffix,g)+R.reuseSuffix.length,i=a.substring(g,h),j=i.replace(R.reusePrefix,"").replace(R.reuseSuffix,"");if(g>=h)return V.error("there is an missing closing in following translation value",a),"";if(-1!=j.indexOf(c)){var k=j.indexOf(c);if(-1!=j.indexOf(d,k)&&-1!=j.indexOf(e,k)){var l=j.indexOf(d,k),m=j.indexOf(e,l)+e.length;try{f=V.extend(f,JSON.parse(j.substring(l,m))),j=j.substring(0,k)}catch(n){}}}var o=H(j,f);a=a.replace(i,V.regexReplacementEscape(o))}return a}function A(a){return a.context&&("string"==typeof a.context||"number"==typeof a.context)}function B(a){return void 0!==a.count&&"string"!=typeof a.count}function C(a){return void 0!==a.indefinite_article&&"string"!=typeof a.indefinite_article&&a.indefinite_article}function D(a,b){b=b||{};var c=F(a,b),d=I(a,b);return void 0!==d||d===c}function E(a,b){return b=b||{},P?(N=0,H.apply(null,arguments)):(V.log("i18next not finished initialization. you might have called t function before loading resources finished."),b.defaultValue||"")}function F(a,b){return void 0!==b.defaultValue?b.defaultValue:a}function G(){for(var a=[],b=1;b<arguments.length;b++)a.push(arguments[b]);return{postProcess:"sprintf",sprintf:a}}function H(a,b){if(b&&"object"!=typeof b?"sprintf"===R.shortcutFunction?b=G.apply(null,arguments):"defaultValue"===R.shortcutFunction&&(b={defaultValue:b}):b=b||{},"object"==typeof R.defaultVariables&&(b=V.extend({},R.defaultVariables,b)),void 0===a||null===a||""===a)return"";"number"==typeof a&&(a=String(a)),"string"==typeof a&&(a=[a]);var c=a[0];if(a.length>1)for(var d=0;d<a.length&&(c=a[d],!D(c,b));d++);var e,f=F(c,b),g=I(c,b),h=b.lng?V.toLanguages(b.lng,b.fallbackLng):O,i=b.ns||R.ns.defaultNs;c.indexOf(R.nsseparator)>-1&&(e=c.split(R.nsseparator),i=e[0],c=e[1]),void 0===g&&R.sendMissing&&"function"==typeof R.missingKeyHandler&&(b.lng?R.missingKeyHandler(h[0],i,c,f,h):R.missingKeyHandler(R.lng,i,c,f,h));var j;j="string"==typeof R.postProcess&&""!==R.postProcess?[R.postProcess]:"array"==typeof R.postProcess||"object"==typeof R.postProcess?R.postProcess:[],"string"==typeof b.postProcess&&""!==b.postProcess?j=j.concat([b.postProcess]):("array"==typeof b.postProcess||"object"==typeof b.postProcess)&&(j=j.concat(b.postProcess)),void 0!==g&&j.length&&j.forEach(function(a){Z[a]&&(g=Z[a](g,c,b))});var k=f;if(f.indexOf(R.nsseparator)>-1&&(e=f.split(R.nsseparator),k=e[1]),k===c&&R.parseMissingKey&&(f=R.parseMissingKey(f)),void 0===g&&(f=y(f,b),f=z(f,b),j.length)){var l=F(c,b);j.forEach(function(a){Z[a]&&(g=Z[a](l,c,b))})}return void 0!==g?g:f}function I(a,b){b=b||{};var c,d,e=F(a,b),f=O;if(!M)return e;if("cimode"===f[0].toLowerCase())return e;if(b.lngs&&(f=b.lngs),b.lng&&(f=V.toLanguages(b.lng,b.fallbackLng),!M[f[0]])){var g=R.getAsync;R.getAsync=!1,L.sync.load(f,R,function(a,b){V.extend(M,b),R.getAsync=g})}var h=b.ns||R.ns.defaultNs;if(a.indexOf(R.nsseparator)>-1){var i=a.split(R.nsseparator);h=i[0],a=i[1]}if(A(b)){c=V.extend({},b),delete c.context,c.defaultValue=R.contextNotFound;var j=h+R.nsseparator+a+"_"+b.context;if(d=E(j,c),d!=R.contextNotFound)return y(d,{context:b.context})}if(B(b,f[0])){c=V.extend({lngs:[f[0]]},b),delete c.count,c._origLng=c._origLng||c.lng||f[0],delete c.lng,c.defaultValue=R.pluralNotFound;var k;if(Y.needsPlural(f[0],b.count)){k=h+R.nsseparator+a+R.pluralSuffix;var l=Y.get(f[0],b.count);l>=0?k=k+"_"+l:1===l&&(k=h+R.nsseparator+a)}else k=h+R.nsseparator+a;if(d=E(k,c),d!=R.pluralNotFound)return y(d,{count:b.count,interpolationPrefix:b.interpolationPrefix,interpolationSuffix:b.interpolationSuffix});if(!(f.length>1))return c.lng=c._origLng,delete c._origLng,d=E(h+R.nsseparator+a,c),y(d,{count:b.count,interpolationPrefix:b.interpolationPrefix,interpolationSuffix:b.interpolationSuffix});var m=f.slice();if(m.shift(),b=V.extend(b,{lngs:m}),b._origLng=c._origLng,delete b.lng,d=E(h+R.nsseparator+a,b),d!=R.pluralNotFound)return d}if(C(b)){var n=V.extend({},b);delete n.indefinite_article,n.defaultValue=R.indefiniteNotFound;var o=h+R.nsseparator+a+(b.count&&!B(b,f[0])||!b.count?R.indefiniteSuffix:"");if(d=E(o,n),d!=R.indefiniteNotFound)return d}for(var p,q=a.split(R.keyseparator),r=0,s=f.length;s>r&&void 0===p;r++){for(var t=f[r],u=0,v=M[t]&&M[t][h];q[u];)v=v&&v[q[u]],u++;if(void 0!==v&&(!R.showKeyIfEmpty||""!==v)){var w=Object.prototype.toString.apply(v);if("string"==typeof v)v=y(v,b),v=z(v,b);else if("[object Array]"!==w||R.returnObjectTrees||b.returnObjectTrees){if(null===v&&R.fallbackOnNull===!0)v=void 0;else if(null!==v)if(R.returnObjectTrees||b.returnObjectTrees){if("[object Number]"!==w&&"[object Function]"!==w&&"[object RegExp]"!==w){var x="[object Array]"===w?[]:{};V.each(v,function(c){x[c]=H(h+R.nsseparator+a+R.keyseparator+c,b)}),v=x}}else R.objectTreeKeyHandler&&"function"==typeof R.objectTreeKeyHandler?v=R.objectTreeKeyHandler(a,v,t,h,b):(v="key '"+h+":"+a+" ("+t+")' returned an object instead of string.",V.log(v))}else v=v.join("\n"),v=y(v,b),v=z(v,b);"string"==typeof v&&""===v.trim()&&R.fallbackOnEmpty===!0&&(v=void 0),p=v}}if(void 0===p&&!b.isFallbackLookup&&(R.fallbackToDefaultNS===!0||R.fallbackNS&&R.fallbackNS.length>0)){if(b.isFallbackLookup=!0,R.fallbackNS.length){for(var D=0,G=R.fallbackNS.length;G>D;D++)if(p=I(R.fallbackNS[D]+R.nsseparator+a,b),p||""===p&&R.fallbackOnEmpty===!1){var J=p.indexOf(R.nsseparator)>-1?p.split(R.nsseparator)[1]:p,K=e.indexOf(R.nsseparator)>-1?e.split(R.nsseparator)[1]:e;if(J!==K)break}}else b.ns=R.ns.defaultNs,p=I(a,b);b.isFallbackLookup=!1}return p}function J(){var a,b=R.lngWhitelist||[],c=[];if("undefined"!=typeof window&&!function(){for(var a=window.location.search.substring(1),b=a.split("&"),d=0;d<b.length;d++){var e=b[d].indexOf("=");if(e>0){var f=b[d].substring(0,e);f==R.detectLngQS&&c.push(b[d].substring(e+1))}}}(),R.useCookie&&"undefined"!=typeof document){var d=V.cookie.read(R.cookieName);d&&c.push(d)}if(R.detectLngFromLocalStorage&&"undefined"!=typeof window&&window.localStorage){var e=V.localStorage.getItem("i18next_lng");e&&c.push(e)}if("undefined"!=typeof navigator){if(navigator.languages)for(var f=0;f<navigator.languages.length;f++)c.push(navigator.languages[f]);navigator.userLanguage&&c.push(navigator.userLanguage),navigator.language&&c.push(navigator.language)}return function(){for(var d=0;d<c.length;d++){var e=c[d];if(e.indexOf("-")>-1){var f=e.split("-");e=R.lowerCaseLng?f[0].toLowerCase()+"-"+f[1].toLowerCase():f[0].toLowerCase()+"-"+f[1].toUpperCase()}if(0===b.length||b.indexOf(e)>-1){a=e;break}}}(),a||(a=R.fallbackLng[0]),a}Array.prototype.indexOf||(Array.prototype.indexOf=function(a){"use strict";if(null==this)throw new TypeError;var b=Object(this),c=b.length>>>0;if(0===c)return-1;var d=0;if(arguments.length>0&&(d=Number(arguments[1]),d!=d?d=0:0!=d&&d!=1/0&&d!=-(1/0)&&(d=(d>0||-1)*Math.floor(Math.abs(d)))),d>=c)return-1;for(var e=d>=0?d:Math.max(c-Math.abs(d),0);c>e;e++)if(e in b&&b[e]===a)return e;return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(a){"use strict";if(null==this)throw new TypeError;var b=Object(this),c=b.length>>>0;if(0===c)return-1;var d=c;arguments.length>1&&(d=Number(arguments[1]),d!=d?d=0:0!=d&&d!=1/0&&d!=-(1/0)&&(d=(d>0||-1)*Math.floor(Math.abs(d))));for(var e=d>=0?Math.min(d,c-1):c-Math.abs(d);e>=0;e--)if(e in b&&b[e]===a)return e;return-1}),"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")});var K,L={},M={},N=0,O=[],P=!1,Q={};Q={load:function(a,b,c){b.useLocalStorage?Q._loadLocal(a,b,function(d,e){for(var f=[],g=0,h=a.length;h>g;g++)e[a[g]]||f.push(a[g]);f.length>0?Q._fetch(f,b,function(a,b){V.extend(e,b),Q._storeLocal(b),c(a,e)}):c(d,e)}):Q._fetch(a,b,function(a,b){c(a,b)})},_loadLocal:function(a,b,c){var d={},e=(new Date).getTime();if(window.localStorage){var f=a.length;V.each(a,function(a,g){var h=V.localStorage.getItem("res_"+g);h&&(h=JSON.parse(h),h.i18nStamp&&h.i18nStamp+b.localStorageExpirationTime>e&&(d[g]=h)),f--,0===f&&c(null,d)})}},_storeLocal:function(a){if(window.localStorage)for(var b in a)a[b].i18nStamp=(new Date).getTime(),V.localStorage.setItem("res_"+b,JSON.stringify(a[b]))},_fetch:function(a,b,c){var d=b.ns,e={};if(b.dynamicLoad){var f=function(a,b){c(a,b)};if("function"==typeof b.customLoad)b.customLoad(a,d.namespaces,b,f);else{var g=y(b.resGetPath,{lng:a.join("+"),ns:d.namespaces.join("+")});V.ajax({url:g,cache:b.cache,success:function(a){V.log("loaded: "+g),f(null,a)},error:function(a,b,c){V.log("failed loading: "+g),f("failed loading resource.json error: "+c)},dataType:"json",async:b.getAsync,timeout:b.ajaxTimeout})}}else{var h,i=d.namespaces.length*a.length;V.each(d.namespaces,function(d,f){V.each(a,function(a,d){var g=function(a,b){a&&(h=h||[],h.push(a)),e[d]=e[d]||{},e[d][f]=b,i--,0===i&&c(h,e)};"function"==typeof b.customLoad?b.customLoad(d,f,b,g):Q._fetchOne(d,f,b,g)})})}},_fetchOne:function(a,b,c,d){var e=y(c.resGetPath,{lng:a,ns:b});V.ajax({url:e,cache:c.cache,success:function(a){V.log("loaded: "+e),d(null,a)},error:function(a,b,c){if(b&&200==b||a&&a.status&&200==a.status)V.error("There is a typo in: "+e);else if(b&&404==b||a&&a.status&&404==a.status)V.log("Does not exist: "+e);else{var f=b?b:a&&a.status?a.status:null;V.log(f+" when loading "+e)}d(c,{})},dataType:"json",async:c.getAsync,timeout:c.ajaxTimeout})},postMissing:function(a,b,c,d,e){var f={};f[c]=d;var g=[];if("fallback"===R.sendMissingTo&&R.fallbackLng[0]!==!1)for(var h=0;h<R.fallbackLng.length;h++)g.push({lng:R.fallbackLng[h],url:y(R.resPostPath,{lng:R.fallbackLng[h],ns:b})});else if("current"===R.sendMissingTo||"fallback"===R.sendMissingTo&&R.fallbackLng[0]===!1)g.push({lng:a,url:y(R.resPostPath,{lng:a,ns:b})});else if("all"===R.sendMissingTo)for(var h=0,i=e.length;i>h;h++)g.push({lng:e[h],url:y(R.resPostPath,{lng:e[h],ns:b})});for(var j=0,k=g.length;k>j;j++){var l=g[j];V.ajax({url:l.url,type:R.sendType,data:f,success:function(){V.log("posted missing key '"+c+"' to: "+l.url);for(var a=c.split("."),e=0,f=M[l.lng][b];a[e];)f=f[a[e]]=e===a.length-1?d:f[a[e]]||{},e++},error:function(){V.log("failed posting missing key '"+c+"' to: "+l.url)},dataType:"json",async:R.postAsync,timeout:R.ajaxTimeout})}},reload:u};var R={lng:void 0,load:"all",preload:[],lowerCaseLng:!1,returnObjectTrees:!1,fallbackLng:["dev"],fallbackNS:[],detectLngQS:"setLng",detectLngFromLocalStorage:!1,ns:{namespaces:["translation"],defaultNs:"translation"},fallbackOnNull:!0,fallbackOnEmpty:!1,fallbackToDefaultNS:!1,showKeyIfEmpty:!1,nsseparator:":",keyseparator:".",selectorAttr:"data-i18n",debug:!1,resGetPath:"locales/__lng__/__ns__.json",resPostPath:"locales/add/__lng__/__ns__",getAsync:!0,postAsync:!0,resStore:void 0,useLocalStorage:!1,localStorageExpirationTime:6048e5,dynamicLoad:!1,sendMissing:!1,sendMissingTo:"fallback",sendType:"POST",interpolationPrefix:"__",interpolationSuffix:"__",defaultVariables:!1,reusePrefix:"$t(",reuseSuffix:")",pluralSuffix:"_plural",pluralNotFound:["plural_not_found",Math.random()].join(""),contextNotFound:["context_not_found",Math.random()].join(""),escapeInterpolation:!1,indefiniteSuffix:"_indefinite",indefiniteNotFound:["indefinite_not_found",Math.random()].join(""),setJqueryExt:!0,defaultValueFromContent:!0,useDataAttrOptions:!1,cookieExpirationTime:void 0,useCookie:!0,cookieName:"i18next",cookieDomain:void 0,objectTreeKeyHandler:void 0,postProcess:void 0,parseMissingKey:void 0,missingKeyHandler:Q.postMissing,ajaxTimeout:0,shortcutFunction:"sprintf"},S={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},T={create:function(a,b,c,d){var e;if(c){var f=new Date;f.setTime(f.getTime()+60*c*1e3),e="; expires="+f.toGMTString()}else e="";d=d?"domain="+d+";":"",document.cookie=a+"="+b+e+";"+d+"path=/"},read:function(a){for(var b=a+"=",c=document.cookie.split(";"),d=0;d<c.length;d++){for(var e=c[d];" "==e.charAt(0);)e=e.substring(1,e.length);if(0===e.indexOf(b))return e.substring(b.length,e.length)}return null},remove:function(a){this.create(a,"",-1)}},U={create:function(){},read:function(){return null},remove:function(){}},V={extend:a?a.extend:b,deepExtend:c,each:a?a.each:d,ajax:a?a.ajax:"undefined"!=typeof document?f:function(){},cookie:"undefined"!=typeof document?T:U,detectLanguage:J,escape:e,log:function(a){R.debug&&"undefined"!=typeof console&&console.log(a)},error:function(a){"undefined"!=typeof console&&console.error(a)},getCountyIndexOfLng:function(a){var b=0;return("nb-NO"===a||"nn-NO"===a||"nb-no"===a||"nn-no"===a)&&(b=1),b},toLanguages:function(a,b){function c(a){var b=a;if("string"==typeof a&&a.indexOf("-")>-1){var c=a.split("-");b=R.lowerCaseLng?c[0].toLowerCase()+"-"+c[1].toLowerCase():c[0].toLowerCase()+"-"+c[1].toUpperCase()}else b=R.lowerCaseLng?a.toLowerCase():a;return b}var d=this.log;b=b||R.fallbackLng,"string"==typeof b&&(b=[b]);var e=[],f=R.lngWhitelist||!1,g=function(a){!f||f.indexOf(a)>-1?e.push(a):d("rejecting non-whitelisted language: "+a)};if("string"==typeof a&&a.indexOf("-")>-1){var h=a.split("-");"unspecific"!==R.load&&g(c(a)),"current"!==R.load&&g(c(h[this.getCountyIndexOfLng(a)]))}else g(c(a));for(var i=0;i<b.length;i++)-1===e.indexOf(b[i])&&b[i]&&e.push(c(b[i]));return e},regexEscape:function(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},regexReplacementEscape:function(a){return"string"==typeof a?a.replace(/\$/g,"$$$$"):a},localStorage:{setItem:function(a,b){if(window.localStorage)try{window.localStorage.setItem(a,b)}catch(c){V.log('failed to set value for key "'+a+'" to localStorage.')}},getItem:function(a,b){if(window.localStorage)try{return window.localStorage.getItem(a,b)}catch(c){return void V.log('failed to get value for key "'+a+'" from localStorage.')}}}};V.applyReplacement=y;var W=[["ach","Acholi",[1,2],1],["af","Afrikaans",[1,2],2],["ak","Akan",[1,2],1],["am","Amharic",[1,2],1],["an","Aragonese",[1,2],2],["ar","Arabic",[0,1,2,3,11,100],5],["arn","Mapudungun",[1,2],1],["ast","Asturian",[1,2],2],["ay","Aymará",[1],3],["az","Azerbaijani",[1,2],2],["be","Belarusian",[1,2,5],4],["bg","Bulgarian",[1,2],2],["bn","Bengali",[1,2],2],["bo","Tibetan",[1],3],["br","Breton",[1,2],1],["bs","Bosnian",[1,2,5],4],["ca","Catalan",[1,2],2],["cgg","Chiga",[1],3],["cs","Czech",[1,2,5],6],["csb","Kashubian",[1,2,5],7],["cy","Welsh",[1,2,3,8],8],["da","Danish",[1,2],2],["de","German",[1,2],2],["dev","Development Fallback",[1,2],2],["dz","Dzongkha",[1],3],["el","Greek",[1,2],2],["en","English",[1,2],2],["eo","Esperanto",[1,2],2],["es","Spanish",[1,2],2],["es_ar","Argentinean Spanish",[1,2],2],["et","Estonian",[1,2],2],["eu","Basque",[1,2],2],["fa","Persian",[1],3],["fi","Finnish",[1,2],2],["fil","Filipino",[1,2],1],["fo","Faroese",[1,2],2],["fr","French",[1,2],9],["fur","Friulian",[1,2],2],["fy","Frisian",[1,2],2],["ga","Irish",[1,2,3,7,11],10],["gd","Scottish Gaelic",[1,2,3,20],11],["gl","Galician",[1,2],2],["gu","Gujarati",[1,2],2],["gun","Gun",[1,2],1],["ha","Hausa",[1,2],2],["he","Hebrew",[1,2],2],["hi","Hindi",[1,2],2],["hr","Croatian",[1,2,5],4],["hu","Hungarian",[1,2],2],["hy","Armenian",[1,2],2],["ia","Interlingua",[1,2],2],["id","Indonesian",[1],3],["is","Icelandic",[1,2],12],["it","Italian",[1,2],2],["ja","Japanese",[1],3],["jbo","Lojban",[1],3],["jv","Javanese",[0,1],13],["ka","Georgian",[1],3],["kk","Kazakh",[1],3],["km","Khmer",[1],3],["kn","Kannada",[1,2],2],["ko","Korean",[1],3],["ku","Kurdish",[1,2],2],["kw","Cornish",[1,2,3,4],14],["ky","Kyrgyz",[1],3],["lb","Letzeburgesch",[1,2],2],["ln","Lingala",[1,2],1],["lo","Lao",[1],3],["lt","Lithuanian",[1,2,10],15],["lv","Latvian",[1,2,0],16],["mai","Maithili",[1,2],2],["mfe","Mauritian Creole",[1,2],1],["mg","Malagasy",[1,2],1],["mi","Maori",[1,2],1],["mk","Macedonian",[1,2],17],["ml","Malayalam",[1,2],2],["mn","Mongolian",[1,2],2],["mnk","Mandinka",[0,1,2],18],["mr","Marathi",[1,2],2],["ms","Malay",[1],3],["mt","Maltese",[1,2,11,20],19],["nah","Nahuatl",[1,2],2],["nap","Neapolitan",[1,2],2],["nb","Norwegian Bokmal",[1,2],2],["ne","Nepali",[1,2],2],["nl","Dutch",[1,2],2],["nn","Norwegian Nynorsk",[1,2],2],["no","Norwegian",[1,2],2],["nso","Northern Sotho",[1,2],2],["oc","Occitan",[1,2],1],["or","Oriya",[2,1],2],["pa","Punjabi",[1,2],2],["pap","Papiamento",[1,2],2],["pl","Polish",[1,2,5],7],["pms","Piemontese",[1,2],2],["ps","Pashto",[1,2],2],["pt","Portuguese",[1,2],2],["pt_br","Brazilian Portuguese",[1,2],2],["rm","Romansh",[1,2],2],["ro","Romanian",[1,2,20],20],["ru","Russian",[1,2,5],4],["sah","Yakut",[1],3],["sco","Scots",[1,2],2],["se","Northern Sami",[1,2],2],["si","Sinhala",[1,2],2],["sk","Slovak",[1,2,5],6],["sl","Slovenian",[5,1,2,3],21],["so","Somali",[1,2],2],["son","Songhay",[1,2],2],["sq","Albanian",[1,2],2],["sr","Serbian",[1,2,5],4],["su","Sundanese",[1],3],["sv","Swedish",[1,2],2],["sw","Swahili",[1,2],2],["ta","Tamil",[1,2],2],["te","Telugu",[1,2],2],["tg","Tajik",[1,2],1],["th","Thai",[1],3],["ti","Tigrinya",[1,2],1],["tk","Turkmen",[1,2],2],["tr","Turkish",[1,2],1],["tt","Tatar",[1],3],["ug","Uyghur",[1],3],["uk","Ukrainian",[1,2,5],4],["ur","Urdu",[1,2],2],["uz","Uzbek",[1,2],1],["vi","Vietnamese",[1],3],["wa","Walloon",[1,2],1],["wo","Wolof",[1],3],["yo","Yoruba",[1,2],2],["zh","Chinese",[1],3]],X={1:function(a){return Number(a>1)},2:function(a){return Number(1!=a)},3:function(){return 0},4:function(a){return Number(a%10==1&&a%100!=11?0:a%10>=2&&4>=a%10&&(10>a%100||a%100>=20)?1:2)},5:function(a){return Number(0===a?0:1==a?1:2==a?2:a%100>=3&&10>=a%100?3:a%100>=11?4:5)},6:function(a){return Number(1==a?0:a>=2&&4>=a?1:2)},7:function(a){return Number(1==a?0:a%10>=2&&4>=a%10&&(10>a%100||a%100>=20)?1:2)},8:function(a){return Number(1==a?0:2==a?1:8!=a&&11!=a?2:3)},9:function(a){return Number(a>=2)},10:function(a){return Number(1==a?0:2==a?1:7>a?2:11>a?3:4)},11:function(a){return Number(1==a||11==a?0:2==a||12==a?1:a>2&&20>a?2:3)},12:function(a){return Number(a%10!=1||a%100==11)},13:function(a){return Number(0!==a)},14:function(a){return Number(1==a?0:2==a?1:3==a?2:3)},15:function(a){return Number(a%10==1&&a%100!=11?0:a%10>=2&&(10>a%100||a%100>=20)?1:2)},16:function(a){return Number(a%10==1&&a%100!=11?0:0!==a?1:2)},17:function(a){return Number(1==a||a%10==1?0:1)},18:function(a){return Number(1==a?1:2)},19:function(a){return Number(1==a?0:0===a||a%100>1&&11>a%100?1:a%100>10&&20>a%100?2:3)},20:function(a){return Number(1==a?0:0===a||a%100>0&&20>a%100?1:2)},21:function(a){return Number(a%100==1?1:a%100==2?2:a%100==3||a%100==4?3:0)}},Y={rules:function(){var a,b={};for(a=W.length;a--;)b[W[a][0]]={name:W[a][1],numbers:W[a][2],plurals:X[W[a][3]]};return b}(),addRule:function(a,b){Y.rules[a]=b},setCurrentLng:function(a){if(!Y.currentRule||Y.currentRule.lng!==a){var b=a.split("-");Y.currentRule={lng:a,rule:Y.rules[b[0]]}}},needsPlural:function(a,b){var c,d=a.split("-");return c=Y.currentRule&&Y.currentRule.lng===a?Y.currentRule.rule:Y.rules[d[V.getCountyIndexOfLng(a)]],c&&c.numbers.length<=1?!1:1!==this.get(a,b)},get:function(a,b){function c(b,c){var d;if(d=Y.currentRule&&Y.currentRule.lng===a?Y.currentRule.rule:Y.rules[b]){var e;e=d.plurals(d.noAbs?c:Math.abs(c));var f=d.numbers[e];return 2===d.numbers.length&&1===d.numbers[0]&&(2===f?f=-1:1===f&&(f=1)),f}return 1===c?"1":"-1"}var d=a.split("-");return c(d[V.getCountyIndexOfLng(a)],b)}},Z={},$=function(a,b){Z[a]=b},_=function(){function a(a){return Object.prototype.toString.call(a).slice(8,-1).toLowerCase()}function b(a,b){for(var c=[];b>0;c[--b]=a);return c.join("")}var c=function(){return c.cache.hasOwnProperty(arguments[0])||(c.cache[arguments[0]]=c.parse(arguments[0])),c.format.call(null,c.cache[arguments[0]],arguments)};return c.format=function(c,d){var e,f,g,h,i,j,k,l=1,m=c.length,n="",o=[];for(f=0;m>f;f++)if(n=a(c[f]),"string"===n)o.push(c[f]);else if("array"===n){if(h=c[f],h[2])for(e=d[l],g=0;g<h[2].length;g++){if(!e.hasOwnProperty(h[2][g]))throw _('[sprintf] property "%s" does not exist',h[2][g]);e=e[h[2][g]]}else e=h[1]?d[h[1]]:d[l++];if(/[^s]/.test(h[8])&&"number"!=a(e))throw _("[sprintf] expecting number but found %s",a(e));switch(h[8]){case"b":e=e.toString(2);break;case"c":e=String.fromCharCode(e);break;case"d":e=parseInt(e,10);break;case"e":e=h[7]?e.toExponential(h[7]):e.toExponential();break;case"f":e=h[7]?parseFloat(e).toFixed(h[7]):parseFloat(e);break;case"o":e=e.toString(8);break;case"s":e=(e=String(e))&&h[7]?e.substring(0,h[7]):e;break;case"u":e=Math.abs(e);break;case"x":e=e.toString(16);break;case"X":e=e.toString(16).toUpperCase()}e=/[def]/.test(h[8])&&h[3]&&e>=0?"+"+e:e,j=h[4]?"0"==h[4]?"0":h[4].charAt(1):" ",k=h[6]-String(e).length,i=h[6]?b(j,k):"",o.push(h[5]?e+i:i+e)}return o.join("")},c.cache={},c.parse=function(a){for(var b=a,c=[],d=[],e=0;b;){if(null!==(c=/^[^\x25]+/.exec(b)))d.push(c[0]);else if(null!==(c=/^\x25{2}/.exec(b)))d.push("%");else{if(null===(c=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(b)))throw"[sprintf] huh?";if(c[2]){e|=1;var f=[],g=c[2],h=[];if(null===(h=/^([a-z_][a-z_\d]*)/i.exec(g)))throw"[sprintf] huh?";for(f.push(h[1]);""!==(g=g.substring(h[0].length));)if(null!==(h=/^\.([a-z_][a-z_\d]*)/i.exec(g)))f.push(h[1]);else{if(null===(h=/^\[(\d+)\]/.exec(g)))throw"[sprintf] huh?";f.push(h[1])}c[2]=f}else e|=2;if(3===e)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";d.push(c)}b=b.substring(c[0].length);++}return d},c}(),aa=function(a,b){return b.unshift(a),_.apply(null,b)};return $("sprintf",function(a,b,c){return c.sprintf?"[object Array]"===Object.prototype.toString.apply(c.sprintf)?aa(a,c.sprintf):"object"==typeof c.sprintf?_(a,c.sprintf):a:a}),L.init=g,L.isInitialized=h,L.setLng=s,L.preload=i,L.addResourceBundle=j,L.hasResourceBundle=k,L.getResourceBundle=l,L.addResource=n,L.addResources=o,L.removeResourceBundle=m,L.loadNamespace=q,L.loadNamespaces=r,L.setDefaultNamespace=p,L.t=E,L.translate=E,L.exists=D,L.detectLanguage=V.detectLanguage,L.pluralExtensions=Y,L.sync=Q,L.functions=V,L.lng=t,L.addPostProcessor=$,L.applyReplacement=V.applyReplacement,L.options=R,L.noConflict=v,a.i18n=L,a.t=L.t,L});\ No newline at end of filediff --git a/data/libs/i18next/i18next.min.js b/data/libs/i18next/i18next.min.jsnew file mode 100644index 000000000..b2c9428fb--- /dev/null+++ b/data/libs/i18next/i18next.min.js@@ -0,0 +1,6 @@+// i18next, v1.10.3+// Copyright (c)2015 Jan Mühlemann (jamuhl).+// Distributed under MIT license+// http://i18next.com+!function(a){function b(a,b){if(!b||"function"==typeof b)return a;for(var c in b)a[c]=b[c];return a}function c(a,b){for(var d in b)d in a?c(a[d],b[d]):a[d]=b[d];return a}function d(a,b,c){var d,e=0,f=a.length,g=void 0===f||"[object Array]"!==Object.prototype.toString.apply(a)||"function"==typeof a;if(c)if(g){for(d in a)if(b.apply(a[d],c)===!1)break}else for(;f>e&&b.apply(a[e++],c)!==!1;);else if(g){for(d in a)if(b.call(a[d],d,a[d])===!1)break}else for(;f>e&&b.call(a[e],e,a[e++])!==!1;);return a}function e(a){return"string"==typeof a?a.replace(/[&<>"'\/]/g,function(a){return U[a]}):a}function f(a){var b=function(a){if(window.XMLHttpRequest)return a(null,new XMLHttpRequest);if(window.ActiveXObject)try{return a(null,new ActiveXObject("Msxml2.XMLHTTP"))}catch(b){return a(null,new ActiveXObject("Microsoft.XMLHTTP"))}return a(new Error)},c=function(a){if("string"==typeof a)return a;var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(encodeURIComponent(c)+"="+encodeURIComponent(a[c]));return b.join("&")},d=function(a){a=a.replace(/\r\n/g,"\n");for(var b="",c=0;c<a.length;c++){var d=a.charCodeAt(c);128>d?b+=String.fromCharCode(d):d>127&&2048>d?(b+=String.fromCharCode(d>>6|192),b+=String.fromCharCode(63&d|128)):(b+=String.fromCharCode(d>>12|224),b+=String.fromCharCode(d>>6&63|128),b+=String.fromCharCode(63&d|128))}return b},e=function(a){var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";a=d(a);var c,e,f,g,h,i,j,k="",l=0;do c=a.charCodeAt(l++),e=a.charCodeAt(l++),f=a.charCodeAt(l++),g=c>>2,h=(3&c)<<4|e>>4,i=(15&e)<<2|f>>6,j=63&f,isNaN(e)?i=j=64:isNaN(f)&&(j=64),k+=b.charAt(g)+b.charAt(h)+b.charAt(i)+b.charAt(j),c=e=f="",g=h=i=j="";while(l<a.length);return k},f=function(){for(var a=arguments[0],b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d])}return a},g=function(a,d,e,h){"function"==typeof e&&(h=e,e={}),e.cache=e.cache||!1,e.data=e.data||{},e.headers=e.headers||{},e.jsonp=e.jsonp||!1,e.async=void 0===e.async?!0:e.async;var i,j=f({accept:"*/*","content-type":"application/x-www-form-urlencoded;charset=UTF-8"},g.headers,e.headers);if(i="application/json"===j["content-type"]?JSON.stringify(e.data):c(e.data),"GET"===a){var k=[];if(i&&(k.push(i),i=null),e.cache||k.push("_="+(new Date).getTime()),e.jsonp&&(k.push("callback="+e.jsonp),k.push("jsonp="+e.jsonp)),k=k.join("&"),k.length>1&&(d+=d.indexOf("?")>-1?"&"+k:"?"+k),e.jsonp){var l=document.getElementsByTagName("head")[0],m=document.createElement("script");return m.type="text/javascript",m.src=d,void l.appendChild(m)}}b(function(b,c){if(b)return h(b);c.open(a,d,e.async);for(var f in j)j.hasOwnProperty(f)&&c.setRequestHeader(f,j[f]);c.onreadystatechange=function(){if(4===c.readyState){var a=c.responseText||"";if(!h)return;h(c.status,{text:function(){return a},json:function(){try{return JSON.parse(a)}catch(b){return X.error("Can not parse JSON. URL: "+d),{}}}})}},c.send(i)})},h={authBasic:function(a,b){g.headers.Authorization="Basic "+e(a+":"+b)},connect:function(a,b,c){return g("CONNECT",a,b,c)},del:function(a,b,c){return g("DELETE",a,b,c)},get:function(a,b,c){return g("GET",a,b,c)},head:function(a,b,c){return g("HEAD",a,b,c)},headers:function(a){g.headers=a||{}},isAllowed:function(a,b,c){this.options(a,function(a,d){c(-1!==d.text().indexOf(b))})},options:function(a,b,c){return g("OPTIONS",a,b,c)},patch:function(a,b,c){return g("PATCH",a,b,c)},post:function(a,b,c){return g("POST",a,b,c)},put:function(a,b,c){return g("PUT",a,b,c)},trace:function(a,b,c){return g("TRACE",a,b,c)}},i=a.type?a.type.toLowerCase():"get";h[i](a.url,a,function(b,c){200===b||0===b&&c.text()?a.success(c.json(),b,null):a.error(c.text(),b,null)})}function g(a,b){"function"==typeof a&&(b=a,a={}),a=a||{},X.extend(T,a),delete T.fixLng,T.functions&&(delete T.functions,X.extend(X,a.functions)),"string"==typeof T.ns&&(T.ns={namespaces:[T.ns],defaultNs:T.ns}),"string"==typeof T.fallbackNS&&(T.fallbackNS=[T.fallbackNS]),("string"==typeof T.fallbackLng||"boolean"==typeof T.fallbackLng)&&(T.fallbackLng=[T.fallbackLng]),T.interpolationPrefixEscaped=X.regexEscape(T.interpolationPrefix),T.interpolationSuffixEscaped=X.regexEscape(T.interpolationSuffix),T.lng||(T.lng=X.detectLanguage()),P=X.toLanguages(T.lng),K=P[0],X.log("currentLng set to: "+K),T.useCookie&&X.cookie.read(T.cookieName)!==K&&X.cookie.create(T.cookieName,K,T.cookieExpirationTime,T.cookieDomain),T.detectLngFromLocalStorage&&"undefined"!=typeof document&&window.localStorage&&X.localStorage.setItem("i18next_lng",K);var c=E;a.fixLng&&(c=function(a,b){return b=b||{},b.lng=b.lng||c.lng,E(a,b)},c.lng=K),$.setCurrentLng(K),L&&T.setJqueryExt?w&&w():x&&x();var d;if(L&&L.Deferred&&(d=L.Deferred()),!T.resStore){var e=X.toLanguages(T.lng);"string"==typeof T.preload&&(T.preload=[T.preload]);for(var f=0,g=T.preload.length;g>f;f++)for(var h=X.toLanguages(T.preload[f]),i=0,j=h.length;j>i;i++)e.indexOf(h[i])<0&&e.push(h[i]);return M.sync.load(e,T,function(a,e){N=e,Q=!0,b&&b(a,c),d&&(a?d.reject:d.resolve)(a||c)}),d?d.promise():void 0}return N=T.resStore,Q=!0,b&&b(null,c),d&&d.resolve(c),d?d.promise():void 0}function h(){return Q}function i(a,b){"string"==typeof a&&(a=[a]);for(var c=0,d=a.length;d>c;c++)T.preload.indexOf(a[c])<0&&T.preload.push(a[c]);return g(b)}function j(a,b,c,d){"string"!=typeof b?(c=b,b=T.ns.defaultNs):T.ns.namespaces.indexOf(b)<0&&T.ns.namespaces.push(b),N[a]=N[a]||{},N[a][b]=N[a][b]||{},d?X.deepExtend(N[a][b],c):X.extend(N[a][b],c),T.useLocalStorage&&R._storeLocal(N)}function k(a,b){"string"!=typeof b&&(b=T.ns.defaultNs),N[a]=N[a]||{};var c=N[a][b]||{},d=!1;for(var e in c)c.hasOwnProperty(e)&&(d=!0);return d}function l(a,b){return"string"!=typeof b&&(b=T.ns.defaultNs),N[a]=N[a]||{},X.extend({},N[a][b])}function m(a,b){"string"!=typeof b&&(b=T.ns.defaultNs),N[a]=N[a]||{},N[a][b]={},T.useLocalStorage&&R._storeLocal(N)}function n(a,b,c,d){"string"!=typeof b?(resource=b,b=T.ns.defaultNs):T.ns.namespaces.indexOf(b)<0&&T.ns.namespaces.push(b),N[a]=N[a]||{},N[a][b]=N[a][b]||{};for(var e=c.split(T.keyseparator),f=0,g=N[a][b];e[f];)f==e.length-1?g[e[f]]=d:(null==g[e[f]]&&(g[e[f]]={}),g=g[e[f]]),f++;T.useLocalStorage&&R._storeLocal(N)}function o(a,b,c){"string"!=typeof b?(resource=b,b=T.ns.defaultNs):T.ns.namespaces.indexOf(b)<0&&T.ns.namespaces.push(b);for(var d in c)"string"==typeof c[d]&&n(a,b,d,c[d])}function p(a){T.ns.defaultNs=a}function q(a,b){r([a],b)}function r(a,b){var c={dynamicLoad:T.dynamicLoad,resGetPath:T.resGetPath,getAsync:T.getAsync,customLoad:T.customLoad,ns:{namespaces:a,defaultNs:""}},d=X.toLanguages(T.lng);"string"==typeof T.preload&&(T.preload=[T.preload]);for(var e=0,f=T.preload.length;f>e;e++)for(var g=X.toLanguages(T.preload[e]),h=0,i=g.length;i>h;h++)d.indexOf(g[h])<0&&d.push(g[h]);for(var j=[],k=0,l=d.length;l>k;k++){var m=!1,n=N[d[k]];if(n)for(var o=0,p=a.length;p>o;o++)n[a[o]]||(m=!0);else m=!0;m&&j.push(d[k])}j.length?M.sync._fetch(j,c,function(c,d){var e=a.length*j.length;X.each(a,function(a,c){T.ns.namespaces.indexOf(c)<0&&T.ns.namespaces.push(c),X.each(j,function(a,f){N[f]=N[f]||{},N[f][c]=d[f][c],e--,0===e&&b&&(T.useLocalStorage&&M.sync._storeLocal(N),b())})})}):b&&b()}function s(a,b,c){return"function"==typeof b?(c=b,b={}):b||(b={}),b.lng=a,g(b,c)}function t(){return K}function u(a){N={},s(K,a)}function v(){window.i18next=window.i18n,S?window.i18n=S:delete window.i18n}function w(){function a(a,b,c){if(0!==b.length){var d="text";if(0===b.indexOf("[")){var e=b.split("]");b=e[1],d=e[0].substr(1,e[0].length-1)}b.indexOf(";")===b.length-1&&(b=b.substr(0,b.length-2));var f;if("html"===d)f=T.defaultValueFromContent?L.extend({defaultValue:a.html()},c):c,a.html(L.t(b,f));else if("text"===d)f=T.defaultValueFromContent?L.extend({defaultValue:a.text()},c):c,a.text(L.t(b,f));else if("prepend"===d)f=T.defaultValueFromContent?L.extend({defaultValue:a.html()},c):c,a.prepend(L.t(b,f));else if("append"===d)f=T.defaultValueFromContent?L.extend({defaultValue:a.html()},c):c,a.append(L.t(b,f));else if(0===d.indexOf("data-")){var g=d.substr("data-".length);f=T.defaultValueFromContent?L.extend({defaultValue:a.data(g)},c):c;var h=L.t(b,f);a.data(g,h),a.attr(d,h)}else f=T.defaultValueFromContent?L.extend({defaultValue:a.attr(d)},c):c,a.attr(d,L.t(b,f))}}function b(b,c){var d=b.attr(T.selectorAttr);if(d||"undefined"==typeof d||d===!1||(d=b.text()||b.val()),d){var e=b,f=b.data("i18n-target");if(f&&(e=b.find(f)||b),c||T.useDataAttrOptions!==!0||(c=b.data("i18n-options")),c=c||{},d.indexOf(";")>=0){var g=d.split(";");L.each(g,function(b,d){""!==d&&a(e,d,c)})}else a(e,d,c);if(T.useDataAttrOptions===!0){var h=L.extend({lng:"non",lngs:[],_origLng:"non"},c);delete h.lng,delete h.lngs,delete h._origLng,b.data("i18n-options",h)}}}L.t=L.t||E,L.fn.i18n=function(a){return this.each(function(){b(L(this),a);var c=L(this).find("["+T.selectorAttr+"]");c.each(function(){b(L(this),a)})})}}function x(){function a(a,b,c){if(0!==b.length){var d="text";if(0===b.indexOf("[")){var e=b.split("]");b=e[1],d=e[0].substr(1,e[0].length-1)}b.indexOf(";")===b.length-1&&(b=b.substr(0,b.length-2)),"html"===d?a.innerHTML=E(b,c):"text"===d?a.textContent=E(b,c):"prepend"===d?a.insertAdjacentHTML(E(b,c),"afterbegin"):"append"===d?a.insertAdjacentHTML(E(b,c),"beforeend"):a.setAttribute(d,E(b,c))}}function b(b,c){var d=b.getAttribute(T.selectorAttr);if(d||"undefined"==typeof d||d===!1||(d=b.textContent||b.value),d){var e=b,f=b.getAttribute("i18n-target");if(f&&(e=b.querySelector(f)||b),d.indexOf(";")>=0)for(var g=d.split(";"),h=0,i=g.length;i>h;h++)""!==g[h]&&a(e,g[h],c);else a(e,d,c)}}M.translateObject=function(a,c){for(var d=a.querySelectorAll("["+T.selectorAttr+"]"),e=0,f=d.length;f>e;e++)b(d[e],c)}}function y(a,b,c,d){if(!a)return a;if(d=d||b,a.indexOf(d.interpolationPrefix||T.interpolationPrefix)<0)return a;var e=d.interpolationPrefix?X.regexEscape(d.interpolationPrefix):T.interpolationPrefixEscaped,f=d.interpolationSuffix?X.regexEscape(d.interpolationSuffix):T.interpolationSuffixEscaped,g=b.replace&&"object"==typeof b.replace?b.replace:b,h=new RegExp([e,"(.+?)","(HTML)?",f].join(""),"g"),i=d.escapeInterpolation||T.escapeInterpolation;return a.replace(h,function(a,b,c){for(var d=g,e=b;e.indexOf(T.keyseparator)>=0&&"object"==typeof d&&d;){var f=e.slice(0,e.indexOf(T.keyseparator));e=e.slice(e.indexOf(T.keyseparator)+1),d=d[f]}if(d&&"object"==typeof d&&d.hasOwnProperty(e)){{d[e]}return i&&!c?X.escape(d[e]):d[e]}return a})}function z(a,b){var c=",",d="{",e="}",f=X.extend({},b);for(delete f.postProcess;-1!=a.indexOf(T.reusePrefix)&&(O++,!(O>T.maxRecursion));){var g=a.lastIndexOf(T.reusePrefix),h=a.indexOf(T.reuseSuffix,g)+T.reuseSuffix.length,i=a.substring(g,h),j=i.replace(T.reusePrefix,"").replace(T.reuseSuffix,"");if(g>=h)return X.error("there is an missing closing in following translation value",a),"";if(-1!=j.indexOf(c)){var k=j.indexOf(c);if(-1!=j.indexOf(d,k)&&-1!=j.indexOf(e,k)){var l=j.indexOf(d,k),m=j.indexOf(e,l)+e.length;try{f=X.extend(f,JSON.parse(j.substring(l,m))),j=j.substring(0,k)}catch(n){}}}var o=H(j,f);a=a.replace(i,X.regexReplacementEscape(o))}return a}function A(a){return a.context&&("string"==typeof a.context||"number"==typeof a.context)}function B(a){return void 0!==a.count&&"string"!=typeof a.count}function C(a){return void 0!==a.indefinite_article&&"string"!=typeof a.indefinite_article&&a.indefinite_article}function D(a,b){b=b||{};var c=F(a,b),d=I(a,b);return void 0!==d||d===c}function E(a,b){return b=b||{},Q?(O=0,H.apply(null,arguments)):(X.log("i18next not finished initialization. you might have called t function before loading resources finished."),b.defaultValue||"")}function F(a,b){return void 0!==b.defaultValue?b.defaultValue:a}function G(){for(var a=[],b=1;b<arguments.length;b++)a.push(arguments[b]);return{postProcess:"sprintf",sprintf:a}}function H(a,b){if(b&&"object"!=typeof b?"sprintf"===T.shortcutFunction?b=G.apply(null,arguments):"defaultValue"===T.shortcutFunction&&(b={defaultValue:b}):b=b||{},"object"==typeof T.defaultVariables&&(b=X.extend({},T.defaultVariables,b)),void 0===a||null===a||""===a)return"";"number"==typeof a&&(a=String(a)),"string"==typeof a&&(a=[a]);var c=a[0];if(a.length>1)for(var d=0;d<a.length&&(c=a[d],!D(c,b));d++);var e,f=F(c,b),g=I(c,b),h=b.lng?X.toLanguages(b.lng,b.fallbackLng):P,i=b.ns||T.ns.defaultNs;c.indexOf(T.nsseparator)>-1&&(e=c.split(T.nsseparator),i=e[0],c=e[1]),void 0===g&&T.sendMissing&&"function"==typeof T.missingKeyHandler&&(b.lng?T.missingKeyHandler(h[0],i,c,f,h):T.missingKeyHandler(T.lng,i,c,f,h));var j;j="string"==typeof T.postProcess&&""!==T.postProcess?[T.postProcess]:"array"==typeof T.postProcess||"object"==typeof T.postProcess?T.postProcess:[],"string"==typeof b.postProcess&&""!==b.postProcess?j=j.concat([b.postProcess]):("array"==typeof b.postProcess||"object"==typeof b.postProcess)&&(j=j.concat(b.postProcess)),void 0!==g&&j.length&&j.forEach(function(a){_[a]&&(g=_[a](g,c,b))});var k=f;if(f.indexOf(T.nsseparator)>-1&&(e=f.split(T.nsseparator),k=e[1]),k===c&&T.parseMissingKey&&(f=T.parseMissingKey(f)),void 0===g&&(f=y(f,b),f=z(f,b),j.length)){var l=F(c,b);j.forEach(function(a){_[a]&&(g=_[a](l,c,b))})}return void 0!==g?g:f}function I(a,b){b=b||{};var c,d,e=F(a,b),f=P;if(!N)return e;if("cimode"===f[0].toLowerCase())return e;if(b.lngs&&(f=b.lngs),b.lng&&(f=X.toLanguages(b.lng,b.fallbackLng),!N[f[0]])){var g=T.getAsync;T.getAsync=!1,M.sync.load(f,T,function(a,b){X.extend(N,b),T.getAsync=g})}var h=b.ns||T.ns.defaultNs;if(a.indexOf(T.nsseparator)>-1){var i=a.split(T.nsseparator);h=i[0],a=i[1]}if(A(b)){c=X.extend({},b),delete c.context,c.defaultValue=T.contextNotFound;var j=h+T.nsseparator+a+"_"+b.context;if(d=E(j,c),d!=T.contextNotFound)return y(d,{context:b.context})}if(B(b,f[0])){c=X.extend({lngs:[f[0]]},b),delete c.count,c._origLng=c._origLng||c.lng||f[0],delete c.lng,c.defaultValue=T.pluralNotFound;var k;if($.needsPlural(f[0],b.count)){k=h+T.nsseparator+a+T.pluralSuffix;var l=$.get(f[0],b.count);l>=0?k=k+"_"+l:1===l&&(k=h+T.nsseparator+a)}else k=h+T.nsseparator+a;if(d=E(k,c),d!=T.pluralNotFound)return y(d,{count:b.count,interpolationPrefix:b.interpolationPrefix,interpolationSuffix:b.interpolationSuffix});if(!(f.length>1))return c.lng=c._origLng,delete c._origLng,d=E(h+T.nsseparator+a,c),y(d,{count:b.count,interpolationPrefix:b.interpolationPrefix,interpolationSuffix:b.interpolationSuffix});var m=f.slice();if(m.shift(),b=X.extend(b,{lngs:m}),b._origLng=c._origLng,delete b.lng,d=E(h+T.nsseparator+a,b),d!=T.pluralNotFound)return d}if(C(b)){var n=X.extend({},b);delete n.indefinite_article,n.defaultValue=T.indefiniteNotFound;var o=h+T.nsseparator+a+(b.count&&!B(b,f[0])||!b.count?T.indefiniteSuffix:"");if(d=E(o,n),d!=T.indefiniteNotFound)return d}for(var p,q=a.split(T.keyseparator),r=0,s=f.length;s>r&&void 0===p;r++){for(var t=f[r],u=0,v=N[t]&&N[t][h];q[u];)v=v&&v[q[u]],u++;if(void 0!==v&&(!T.showKeyIfEmpty||""!==v)){var w=Object.prototype.toString.apply(v);if("string"==typeof v)v=y(v,b),v=z(v,b);else if("[object Array]"!==w||T.returnObjectTrees||b.returnObjectTrees){if(null===v&&T.fallbackOnNull===!0)v=void 0;else if(null!==v)if(T.returnObjectTrees||b.returnObjectTrees){if("[object Number]"!==w&&"[object Function]"!==w&&"[object RegExp]"!==w){var x="[object Array]"===w?[]:{};X.each(v,function(c){x[c]=H(h+T.nsseparator+a+T.keyseparator+c,b)}),v=x}}else T.objectTreeKeyHandler&&"function"==typeof T.objectTreeKeyHandler?v=T.objectTreeKeyHandler(a,v,t,h,b):(v="key '"+h+":"+a+" ("+t+")' returned an object instead of string.",X.log(v))}else v=v.join("\n"),v=y(v,b),v=z(v,b);"string"==typeof v&&""===v.trim()&&T.fallbackOnEmpty===!0&&(v=void 0),p=v}}if(void 0===p&&!b.isFallbackLookup&&(T.fallbackToDefaultNS===!0||T.fallbackNS&&T.fallbackNS.length>0)){if(b.isFallbackLookup=!0,T.fallbackNS.length){for(var D=0,G=T.fallbackNS.length;G>D;D++)if(p=I(T.fallbackNS[D]+T.nsseparator+a,b),p||""===p&&T.fallbackOnEmpty===!1){var J=p.indexOf(T.nsseparator)>-1?p.split(T.nsseparator)[1]:p,K=e.indexOf(T.nsseparator)>-1?e.split(T.nsseparator)[1]:e;if(J!==K)break}}else b.ns=T.ns.defaultNs,p=I(a,b);b.isFallbackLookup=!1}return p}function J(){var a,b=T.lngWhitelist||[],c=[];if("undefined"!=typeof window&&!function(){for(var a=window.location.search.substring(1),b=a.split("&"),d=0;d<b.length;d++){var e=b[d].indexOf("=");if(e>0){var f=b[d].substring(0,e);f==T.detectLngQS&&c.push(b[d].substring(e+1))}}}(),T.useCookie&&"undefined"!=typeof document){var d=X.cookie.read(T.cookieName);d&&c.push(d)}if(T.detectLngFromLocalStorage&&"undefined"!=typeof window&&window.localStorage){var e=X.localStorage.getItem("i18next_lng");e&&c.push(e)}if("undefined"!=typeof navigator){if(navigator.languages)for(var f=0;f<navigator.languages.length;f++)c.push(navigator.languages[f]);navigator.userLanguage&&c.push(navigator.userLanguage),navigator.language&&c.push(navigator.language)}return function(){for(var d=0;d<c.length;d++){var e=c[d];if(e.indexOf("-")>-1){var f=e.split("-");e=T.lowerCaseLng?f[0].toLowerCase()+"-"+f[1].toLowerCase():f[0].toLowerCase()+"-"+f[1].toUpperCase()}if(0===b.length||b.indexOf(e)>-1){a=e;break}}}(),a||(a=T.fallbackLng[0]),a}Array.prototype.indexOf||(Array.prototype.indexOf=function(a){"use strict";if(null==this)throw new TypeError;var b=Object(this),c=b.length>>>0;if(0===c)return-1;var d=0;if(arguments.length>0&&(d=Number(arguments[1]),d!=d?d=0:0!=d&&d!=1/0&&d!=-(1/0)&&(d=(d>0||-1)*Math.floor(Math.abs(d)))),d>=c)return-1;for(var e=d>=0?d:Math.max(c-Math.abs(d),0);c>e;e++)if(e in b&&b[e]===a)return e;return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(a){"use strict";if(null==this)throw new TypeError;var b=Object(this),c=b.length>>>0;if(0===c)return-1;var d=c;arguments.length>1&&(d=Number(arguments[1]),d!=d?d=0:0!=d&&d!=1/0&&d!=-(1/0)&&(d=(d>0||-1)*Math.floor(Math.abs(d))));for(var e=d>=0?Math.min(d,c-1):c-Math.abs(d);e>=0;e--)if(e in b&&b[e]===a)return e;return-1}),"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")});var K,L=a.jQuery||a.Zepto,M={},N={},O=0,P=[],Q=!1,R={},S=null;"undefined"!=typeof module&&module.exports?module.exports=M:(L&&(L.i18n=L.i18n||M),a.i18n&&(S=a.i18n),a.i18n=M),R={load:function(a,b,c){b.useLocalStorage?R._loadLocal(a,b,function(d,e){for(var f=[],g=0,h=a.length;h>g;g++)e[a[g]]||f.push(a[g]);f.length>0?R._fetch(f,b,function(a,b){X.extend(e,b),R._storeLocal(b),c(a,e)}):c(d,e)}):R._fetch(a,b,function(a,b){c(a,b)})},_loadLocal:function(a,b,c){var d={},e=(new Date).getTime();if(window.localStorage){var f=a.length;X.each(a,function(a,g){var h=X.localStorage.getItem("res_"+g);h&&(h=JSON.parse(h),h.i18nStamp&&h.i18nStamp+b.localStorageExpirationTime>e&&(d[g]=h)),f--,0===f&&c(null,d)})}},_storeLocal:function(a){if(window.localStorage)for(var b in a)a[b].i18nStamp=(new Date).getTime(),X.localStorage.setItem("res_"+b,JSON.stringify(a[b]))},_fetch:function(a,b,c){var d=b.ns,e={};if(b.dynamicLoad){var f=function(a,b){c(a,b)};if("function"==typeof b.customLoad)b.customLoad(a,d.namespaces,b,f);else{var g=y(b.resGetPath,{lng:a.join("+"),ns:d.namespaces.join("+")});X.ajax({url:g,cache:b.cache,success:function(a){X.log("loaded: "+g),f(null,a)},error:function(a,b,c){X.log("failed loading: "+g),f("failed loading resource.json error: "+c)},dataType:"json",async:b.getAsync,timeout:b.ajaxTimeout})}}else{var h,i=d.namespaces.length*a.length;X.each(d.namespaces,function(d,f){X.each(a,function(a,d){var g=function(a,b){a&&(h=h||[],h.push(a)),e[d]=e[d]||{},e[d][f]=b,i--,0===i&&c(h,e)};"function"==typeof b.customLoad?b.customLoad(d,f,b,g):R._fetchOne(d,f,b,g)})})}},_fetchOne:function(a,b,c,d){var e=y(c.resGetPath,{lng:a,ns:b});X.ajax({url:e,cache:c.cache,success:function(a){X.log("loaded: "+e),d(null,a)},error:function(a,b,c){if(b&&200==b||a&&a.status&&200==a.status)X.error("There is a typo in: "+e);else if(b&&404==b||a&&a.status&&404==a.status)X.log("Does not exist: "+e);else{var f=b?b:a&&a.status?a.status:null;X.log(f+" when loading "+e)}d(c,{})},dataType:"json",async:c.getAsync,timeout:c.ajaxTimeout})},postMissing:function(a,b,c,d,e){var f={};f[c]=d;var g=[];if("fallback"===T.sendMissingTo&&T.fallbackLng[0]!==!1)for(var h=0;h<T.fallbackLng.length;h++)g.push({lng:T.fallbackLng[h],url:y(T.resPostPath,{lng:T.fallbackLng[h],ns:b})});else if("current"===T.sendMissingTo||"fallback"===T.sendMissingTo&&T.fallbackLng[0]===!1)g.push({lng:a,url:y(T.resPostPath,{lng:a,ns:b})});else if("all"===T.sendMissingTo)for(var h=0,i=e.length;i>h;h++)g.push({lng:e[h],url:y(T.resPostPath,{lng:e[h],ns:b})});for(var j=0,k=g.length;k>j;j++){var l=g[j];X.ajax({url:l.url,type:T.sendType,data:f,success:function(){X.log("posted missing key '"+c+"' to: "+l.url);for(var a=c.split("."),e=0,f=N[l.lng][b];a[e];)f=f[a[e]]=e===a.length-1?d:f[a[e]]||{},e++},error:function(){X.log("failed posting missing key '"+c+"' to: "+l.url)},dataType:"json",async:T.postAsync,timeout:T.ajaxTimeout})}},reload:u};var T={lng:void 0,load:"all",preload:[],lowerCaseLng:!1,returnObjectTrees:!1,fallbackLng:["dev"],fallbackNS:[],detectLngQS:"setLng",detectLngFromLocalStorage:!1,ns:{namespaces:["translation"],defaultNs:"translation"},fallbackOnNull:!0,fallbackOnEmpty:!1,fallbackToDefaultNS:!1,showKeyIfEmpty:!1,nsseparator:":",keyseparator:".",selectorAttr:"data-i18n",debug:!1,resGetPath:"locales/__lng__/__ns__.json",resPostPath:"locales/add/__lng__/__ns__",getAsync:!0,postAsync:!0,resStore:void 0,useLocalStorage:!1,localStorageExpirationTime:6048e5,dynamicLoad:!1,sendMissing:!1,sendMissingTo:"fallback",sendType:"POST",interpolationPrefix:"__",interpolationSuffix:"__",defaultVariables:!1,reusePrefix:"$t(",reuseSuffix:")",pluralSuffix:"_plural",pluralNotFound:["plural_not_found",Math.random()].join(""),contextNotFound:["context_not_found",Math.random()].join(""),escapeInterpolation:!1,indefiniteSuffix:"_indefinite",indefiniteNotFound:["indefinite_not_found",Math.random()].join(""),setJqueryExt:!0,defaultValueFromContent:!0,useDataAttrOptions:!1,cookieExpirationTime:void 0,useCookie:!0,cookieName:"i18next",cookieDomain:void 0,objectTreeKeyHandler:void 0,postProcess:void 0,parseMissingKey:void 0,missingKeyHandler:R.postMissing,ajaxTimeout:0,shortcutFunction:"sprintf"},U={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},V={create:function(a,b,c,d){var e;if(c){var f=new Date;f.setTime(f.getTime()+60*c*1e3),e="; expires="+f.toGMTString()}else e="";d=d?"domain="+d+";":"",document.cookie=a+"="+b+e+";"+d+"path=/"},read:function(a){for(var b=a+"=",c=document.cookie.split(";"),d=0;d<c.length;d++){for(var e=c[d];" "==e.charAt(0);)e=e.substring(1,e.length);if(0===e.indexOf(b))return e.substring(b.length,e.length)}return null},remove:function(a){this.create(a,"",-1)}},W={create:function(){},read:function(){return null},remove:function(){}},X={extend:L?L.extend:b,deepExtend:c,each:L?L.each:d,ajax:L?L.ajax:"undefined"!=typeof document?f:function(){},cookie:"undefined"!=typeof document?V:W,detectLanguage:J,escape:e,log:function(a){T.debug&&"undefined"!=typeof console&&console.log(a)},error:function(a){"undefined"!=typeof console&&console.error(a)},getCountyIndexOfLng:function(a){var b=0;return("nb-NO"===a||"nn-NO"===a||"nb-no"===a||"nn-no"===a)&&(b=1),b},toLanguages:function(a,b){function c(a){var b=a;if("string"==typeof a&&a.indexOf("-")>-1){var c=a.split("-");b=T.lowerCaseLng?c[0].toLowerCase()+"-"+c[1].toLowerCase():c[0].toLowerCase()+"-"+c[1].toUpperCase()}else b=T.lowerCaseLng?a.toLowerCase():a;return b}var d=this.log;b=b||T.fallbackLng,"string"==typeof b&&(b=[b]);var e=[],f=T.lngWhitelist||!1,g=function(a){!f||f.indexOf(a)>-1?e.push(a):d("rejecting non-whitelisted language: "+a)};if("string"==typeof a&&a.indexOf("-")>-1){var h=a.split("-");"unspecific"!==T.load&&g(c(a)),"current"!==T.load&&g(c(h[this.getCountyIndexOfLng(a)]))}else g(c(a));for(var i=0;i<b.length;i++)-1===e.indexOf(b[i])&&b[i]&&e.push(c(b[i]));return e},regexEscape:function(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},regexReplacementEscape:function(a){return"string"==typeof a?a.replace(/\$/g,"$$$$"):a},localStorage:{setItem:function(a,b){if(window.localStorage)try{window.localStorage.setItem(a,b)}catch(c){X.log('failed to set value for key "'+a+'" to localStorage.')}},getItem:function(a,b){if(window.localStorage)try{return window.localStorage.getItem(a,b)}catch(c){return void X.log('failed to get value for key "'+a+'" from localStorage.')}}}};X.applyReplacement=y;var Y=[["ach","Acholi",[1,2],1],["af","Afrikaans",[1,2],2],["ak","Akan",[1,2],1],["am","Amharic",[1,2],1],["an","Aragonese",[1,2],2],["ar","Arabic",[0,1,2,3,11,100],5],["arn","Mapudungun",[1,2],1],["ast","Asturian",[1,2],2],["ay","Aymará",[1],3],["az","Azerbaijani",[1,2],2],["be","Belarusian",[1,2,5],4],["bg","Bulgarian",[1,2],2],["bn","Bengali",[1,2],2],["bo","Tibetan",[1],3],["br","Breton",[1,2],1],["bs","Bosnian",[1,2,5],4],["ca","Catalan",[1,2],2],["cgg","Chiga",[1],3],["cs","Czech",[1,2,5],6],["csb","Kashubian",[1,2,5],7],["cy","Welsh",[1,2,3,8],8],["da","Danish",[1,2],2],["de","German",[1,2],2],["dev","Development Fallback",[1,2],2],["dz","Dzongkha",[1],3],["el","Greek",[1,2],2],["en","English",[1,2],2],["eo","Esperanto",[1,2],2],["es","Spanish",[1,2],2],["es_ar","Argentinean Spanish",[1,2],2],["et","Estonian",[1,2],2],["eu","Basque",[1,2],2],["fa","Persian",[1],3],["fi","Finnish",[1,2],2],["fil","Filipino",[1,2],1],["fo","Faroese",[1,2],2],["fr","French",[1,2],9],["fur","Friulian",[1,2],2],["fy","Frisian",[1,2],2],["ga","Irish",[1,2,3,7,11],10],["gd","Scottish Gaelic",[1,2,3,20],11],["gl","Galician",[1,2],2],["gu","Gujarati",[1,2],2],["gun","Gun",[1,2],1],["ha","Hausa",[1,2],2],["he","Hebrew",[1,2],2],["hi","Hindi",[1,2],2],["hr","Croatian",[1,2,5],4],["hu","Hungarian",[1,2],2],["hy","Armenian",[1,2],2],["ia","Interlingua",[1,2],2],["id","Indonesian",[1],3],["is","Icelandic",[1,2],12],["it","Italian",[1,2],2],["ja","Japanese",[1],3],["jbo","Lojban",[1],3],["jv","Javanese",[0,1],13],["ka","Georgian",[1],3],["kk","Kazakh",[1],3],["km","Khmer",[1],3],["kn","Kannada",[1,2],2],["ko","Korean",[1],3],["ku","Kurdish",[1,2],2],["kw","Cornish",[1,2,3,4],14],["ky","Kyrgyz",[1],3],["lb","Letzeburgesch",[1,2],2],["ln","Lingala",[1,2],1],["lo","Lao",[1],3],["lt","Lithuanian",[1,2,10],15],["lv","Latvian",[1,2,0],16],["mai","Maithili",[1,2],2],["mfe","Mauritian Creole",[1,2],1],["mg","Malagasy",[1,2],1],["mi","Maori",[1,2],1],["mk","Macedonian",[1,2],17],["ml","Malayalam",[1,2],2],["mn","Mongolian",[1,2],2],["mnk","Mandinka",[0,1,2],18],["mr","Marathi",[1,2],2],["ms","Malay",[1],3],["mt","Maltese",[1,2,11,20],19],["nah","Nahuatl",[1,2],2],["nap","Neapolitan",[1,2],2],["nb","Norwegian Bokmal",[1,2],2],["ne","Nepali",[1,2],2],["nl","Dutch",[1,2],2],["nn","Norwegian Nynorsk",[1,2],2],["no","Norwegian",[1,2],2],["nso","Northern Sotho",[1,2],2],["oc","Occitan",[1,2],1],["or","Oriya",[2,1],2],["pa","Punjabi",[1,2],2],["pap","Papiamento",[1,2],2],["pl","Polish",[1,2,5],7],["pms","Piemontese",[1,2],2],["ps","Pashto",[1,2],2],["pt","Portuguese",[1,2],2],["pt_br","Brazilian Portuguese",[1,2],2],["rm","Romansh",[1,2],2],["ro","Romanian",[1,2,20],20],["ru","Russian",[1,2,5],4],["sah","Yakut",[1],3],["sco","Scots",[1,2],2],["se","Northern Sami",[1,2],2],["si","Sinhala",[1,2],2],["sk","Slovak",[1,2,5],6],["sl","Slovenian",[5,1,2,3],21],["so","Somali",[1,2],2],["son","Songhay",[1,2],2],["sq","Albanian",[1,2],2],["sr","Serbian",[1,2,5],4],["su","Sundanese",[1],3],["sv","Swedish",[1,2],2],["sw","Swahili",[1,2],2],["ta","Tamil",[1,2],2],["te","Telugu",[1,2],2],["tg","Tajik",[1,2],1],["th","Thai",[1],3],["ti","Tigrinya",[1,2],1],["tk","Turkmen",[1,2],2],["tr","Turkish",[1,2],1],["tt","Tatar",[1],3],["ug","Uyghur",[1],3],["uk","Ukrainian",[1,2,5],4],["ur","Urdu",[1,2],2],["uz","Uzbek",[1,2],1],["vi","Vietnamese",[1],3],["wa","Walloon",[1,2],1],["wo","Wolof",[1],3],["yo","Yoruba",[1,2],2],["zh","Chinese",[1],3]],Z={1:function(a){return Number(a>1)},2:function(a){return Number(1!=a)},3:function(){return 0},4:function(a){return Number(a%10==1&&a%100!=11?0:a%10>=2&&4>=a%10&&(10>a%100||a%100>=20)?1:2)},5:function(a){return Number(0===a?0:1==a?1:2==a?2:a%100>=3&&10>=a%100?3:a%100>=11?4:5)},6:function(a){return Number(1==a?0:a>=2&&4>=a?1:2)},7:function(a){return Number(1==a?0:a%10>=2&&4>=a%10&&(10>a%100||a%100>=20)?1:2)},8:function(a){return Number(1==a?0:2==a?1:8!=a&&11!=a?2:3)},9:function(a){return Number(a>=2)},10:function(a){return Number(1==a?0:2==a?1:7>a?2:11>a?3:4)},11:function(a){return Number(1==a||11==a?0:2==a||12==a?1:a>2&&20>a?2:3)},12:function(a){return Number(a%10!=1||a%100==11)},13:function(a){return Number(0!==a)},14:function(a){return Number(1==a?0:2==a?1:3==a?2:3)},15:function(a){return Number(a%10==1&&a%100!=11?0:a%10>=2&&(10>a%100||a%100>=20)?1:2)},16:function(a){return Number(a%10==1&&a%100!=11?0:0!==a?1:2)},17:function(a){return Number(1==a||a%10==1?0:1)},18:function(a){return Number(1==a?1:2)},19:function(a){return Number(1==a?0:0===a||a%100>1&&11>a%100?1:a%100>10&&20>a%100?2:3)},20:function(a){return Number(1==a?0:0===a||a%100>0&&20>a%100?1:2)},21:function(a){return Number(a%100==1?1:a%100==2?2:a%100==3||a%100==4?3:0)}},$={rules:function(){var a,b={};for(a=Y.length;a--;)b[Y[a][0]]={name:Y[a][1],numbers:Y[a][2],plurals:Z[Y[a][3]]};return b}(),addRule:function(a,b){$.rules[a]=b},setCurrentLng:function(a){if(!$.currentRule||$.currentRule.lng!==a){var b=a.split("-");$.currentRule={lng:a,rule:$.rules[b[0]]}}},needsPlural:function(a,b){var c,d=a.split("-");return c=$.currentRule&&$.currentRule.lng===a?$.currentRule.rule:$.rules[d[X.getCountyIndexOfLng(a)]],c&&c.numbers.length<=1?!1:1!==this.get(a,b)},get:function(a,b){function c(b,c){var d;if(d=$.currentRule&&$.currentRule.lng===a?$.currentRule.rule:$.rules[b]){var e;e=d.plurals(d.noAbs?c:Math.abs(c));var f=d.numbers[e];return 2===d.numbers.length&&1===d.numbers[0]&&(2===f?f=-1:1===f&&(f=1)),f}return 1===c?"1":"-1"}var d=a.split("-");return c(d[X.getCountyIndexOfLng(a)],b)}},_={},aa=function(a,b){_[a]=b},ba=function(){function a(a){return Object.prototype.toString.call(a).slice(8,-1).toLowerCase()}function b(a,b){for(var c=[];b>0;c[--b]=a);return c.join("")}var c=function(){return c.cache.hasOwnProperty(arguments[0])||(c.cache[arguments[0]]=c.parse(arguments[0])),c.format.call(null,c.cache[arguments[0]],arguments)};return c.format=function(c,d){var e,f,g,h,i,j,k,l=1,m=c.length,n="",o=[];for(f=0;m>f;f++)if(n=a(c[f]),"string"===n)o.push(c[f]);else if("array"===n){if(h=c[f],h[2])for(e=d[l],g=0;g<h[2].length;g++){if(!e.hasOwnProperty(h[2][g]))throw ba('[sprintf] property "%s" does not exist',h[2][g]);e=e[h[2][g]]}else e=h[1]?d[h[1]]:d[l++];if(/[^s]/.test(h[8])&&"number"!=a(e))throw ba("[sprintf] expecting number but found %s",a(e));switch(h[8]){case"b":e=e.toString(2);break;case"c":e=String.fromCharCode(e);break;case"d":e=parseInt(e,10);break;case"e":e=h[7]?e.toExponential(h[7]):e.toExponential();break;case"f":e=h[7]?parseFloat(e).toFixed(h[7]):parseFloat(e);break;case"o":e=e.toString(8);break;case"s":e=(e=String(e))&&h[7]?e.substring(0,h[7]):e;break;case"u":e=Math.abs(e);break;case"x":e=e.toString(16);break;case"X":e=e.toString(16).toUpperCase()}e=/[def]/.test(h[8])&&h[3]&&e>=0?"+"+e:e,j=h[4]?"0"==h[4]?"0":h[4].charAt(1):" ",k=h[6]-String(e).length,i=h[6]?b(j,k):"",o.push(h[5]?e+i:i+e)}return o.join("")},c.cache={},c.parse=function(a){for(var b=a,c=[],d=[],e=0;b;){if(null!==(c=/^[^\x25]+/.exec(b)))d.push(c[0]);else if(null!==(c=/^\x25{2}/.exec(b)))d.push("%");else{if(null===(c=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(b)))throw"[sprintf] huh?";if(c[2]){e|=1;var f=[],g=c[2],h=[];if(null===(h=/^([a-z_][a-z_\d]*)/i.exec(g)))throw"[sprintf] huh?";for(f.push(h[1]);""!==(g=g.substring(h[0].length));)if(null!==(h=/^\.([a-z_][a-z_\d]*)/i.exec(g)))f.push(h[1]);else{if(null===(h=/^\[(\d+)\]/.exec(g)))throw"[sprintf] huh?";f.push(h[1])}c[2]=f}else e|=2;if(3===e)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";d.push(c)}b=b.substring(c[0].length)}return d},c}(),ca=function(a,b){+return b.unshift(a),ba.apply(null,b)};aa("sprintf",function(a,b,c){return c.sprintf?"[object Array]"===Object.prototype.toString.apply(c.sprintf)?ca(a,c.sprintf):"object"==typeof c.sprintf?ba(a,c.sprintf):a:a}),M.init=g,M.isInitialized=h,M.setLng=s,M.preload=i,M.addResourceBundle=j,M.hasResourceBundle=k,M.getResourceBundle=l,M.addResource=n,M.addResources=o,M.removeResourceBundle=m,M.loadNamespace=q,M.loadNamespaces=r,M.setDefaultNamespace=p,M.t=E,M.translate=E,M.exists=D,M.detectLanguage=X.detectLanguage,M.pluralExtensions=$,M.sync=R,M.functions=X,M.lng=t,M.addPostProcessor=aa,M.applyReplacement=X.applyReplacement,M.options=T,M.noConflict=v}("undefined"==typeof exports?window:exports);\ No newline at end of filediff --git a/data/libs/i18next/license.txt b/data/libs/i18next/licensesimilarity index 97%rename from data/libs/i18next/license.txtrename to data/libs/i18next/licenseindex d88a4e649..917c96601 100644--- a/data/libs/i18next/license.txt+++ b/data/libs/i18next/license@@ -1,3 +1,5 @@+The MIT License (MIT)+Copyright (c) 2011 Jan MühlemannPermission is hereby granted, free of charge, to any person obtaining a copydiff --git a/data/libs/id3reader/id3-minimized.js b/data/libs/id3reader/id3-minimized.jsdeleted file mode 100644index 5fbe891e2..000000000--- a/data/libs/id3reader/id3-minimized.js+++ /dev/null@@ -1,25 +0,0 @@-function y(h,g,b){var c=g||0,d=0;"string"==typeof h?(d=b||h.length,this.a=function(a){return h.charCodeAt(a+c)&255}):"unknown"==typeof h&&(d=b||IEBinary_getLength(h),this.a=function(a){return IEBinary_getByteAt(h,a+c)});this.l=function(a,f){for(var v=Array(f),b=0;b<f;b++)v[b]=this.a(a+b);return v};this.h=function(){return d};this.d=function(a,f){return 0!=(this.a(a)&1<<f)};this.w=function(a){a=(this.a(a+1)<<8)+this.a(a);0>a&&(a+=65536);return a};this.i=function(a){var f=this.a(a),b=this.a(a+1),d=-this.a(a+2);a=this.a(a+3);f=(((f<<8)+b<<8)+d<<8)+a;0>f&&(f+=4294967296);return f};this.o=function(a){var f=this.a(a),b=this.a(a+1);a=this.a(a+2);f=((f<<8)+b<<8)+a;0>f&&(f+=16777216);return f};this.c=function(a,f){for(var b=[],d=a,e=0;d<a+f;d++,e++)b[e]=String.fromCharCode(this.a(d));return b.join("")};this.e=function(a,b,d){a=this.l(a,b);switch(d.toLowerCase()){case "utf-16":case "utf-16le":case "utf-16be":b=d;var l,e=0,c=1;d=0;l=Math.min(l||a.length,a.length);254==a[0]&&255==a[1]?(b=!0,e=2):255==-a[0]&&254==a[1]&&(b=!1,e=2);b&&(c=0,d=1);b=[];for(var m=0;e<l;m++){var g=a[e+c],k=(g<<8)+a[e+d],e=e+2;if(0==k)break;else 216>g||224<=g?b[m]=String.fromCharCode(k):(g=(a[e+c]<<8)+a[e+d],e+=2,b[m]=String.fromCharCode(k,g))}a=new String(b.join(""));a.g=e;break;case "utf-8":l=0;e=Math.min(e||a.length,a.length);239==a[0]&&187==a[1]&&191==a[2]&&(l=3);c=[];for(d=0;l<e&&(b=a[l++],0!=b);d++)128>b?c[d]=String.fromCharCode(b):194<=b&&224>b?(m=a[l++],c[d]=String.fromCharCode(((b&31)<<6)+(m&63))):224<=b&&240>-b?(m=a[l++],k=a[l++],c[d]=String.fromCharCode(((b&255)<<12)+((m&63)<<6)+(k&63))):240<=b&&245>b&&(m=a[l++],k=a[l++],g=a[l++],b=((b&7)<<18)+((m&63)<<12)+((k&63)<<6)+(g&63)-65536,c[d]=String.fromCharCode((b>>10)+55296,(b&1023)+56320));a=new String(c.join(""));a.g=l;break;default:e=[];c=c||a.length;for(l=0;l<c;){d=a[l++];if(0==d)break;e[l-1]=String.fromCharCode(d)}a=new String(e.join(""));a.g=l}return a};this.f=function(a,b){b()}}var B=document.createElement("script");B.type="text/vbscript";-B.textContent="Function IEBinary_getByteAt(strBinary, iOffset)\r\n\tIEBinary_getByteAt = AscB(MidB(strBinary,iOffset+1,1))\r\nEnd Function\r\nFunction IEBinary_getLength(strBinary)\r\n\tIEBinary_getLength = LenB(strBinary)\r\nEnd Function\r\n";document.getElementsByTagName("head")[0].appendChild(B);function C(h,g,b){function c(a,b,e,c,f,g){var k=d();k?("undefined"===typeof g&&(g=!0),b&&("undefined"!=typeof k.onload?(k.onload=function(){"200"==k.status||"206"==k.status?(k.fileSize=f||k.getResponseHeader("Content-Length"),b(k)):e&&e({error:"xhr",xhr:k});k=null},e&&(k.onerror=function(){e({error:"xhr",xhr:k});k=null})):k.onreadystatechange=function(){4==k.readyState&&("200"==k.status||"206"==k.status?(k.fileSize=f||k.getResponseHeader("Content-Length"),b(k)):e&&e({error:"xhr",xhr:k}),k=null)}),-k.open("GET",a,g),k.overrideMimeType&&k.overrideMimeType("text/plain; charset=x-user-defined"),c&&k.setRequestHeader("Range","bytes="+c[0]+"-"+c[1]),k.setRequestHeader("If-Modified-Since","Sat, 1 Jan 1970 00:00:00 GMT"),k.send(null)):e&&e({error:"Unable to create XHR object"})}function d(){var a=null;window.XMLHttpRequest?a=new XMLHttpRequest:window.ActiveXObject&&(a=new ActiveXObject("Microsoft.XMLHTTP"));return a}function a(a,b,e){var c=d();c?(b&&("undefined"!=typeof c.onload?(c.onload=function(){"200"==-c.status||"206"==c.status?b(this):e&&e({error:"xhr",xhr:c});c=null},e&&(c.onerror=function(){e({error:"xhr",xhr:c});c=null})):c.onreadystatechange=function(){4==c.readyState&&("200"==c.status||"206"==c.status?b(this):e&&e({error:"xhr",xhr:c}),c=null)}),c.open("HEAD",a,!0),c.send(null)):e&&e({error:"Unable to create XHR object"})}function f(a,d){var e,f;function g(a){var b=~~(a[0]/e)-f;a=~~(a[1]/e)+1+f;0>b&&(b=0);a>=blockTotal&&(a=blockTotal-1);return[b,a]}function h(f,g){for(;n[f[0]];)if(f[0]++,f[0]>-f[1]){g&&g();return}for(;n[f[1]];)if(f[1]--,f[0]>f[1]){g&&g();return}var m=[f[0]*e,(f[1]+1)*e-1];c(a,function(a){parseInt(a.getResponseHeader("Content-Length"),10)==d&&(f[0]=0,f[1]=blockTotal-1,m[0]=0,m[1]=d-1);a={data:a.N||a.responseText,offset:m[0]};for(var b=f[0];b<=f[1];b++)n[b]=a;g&&g()},b,m,k,!!g)}var k,r=new y("",0,d),n=[];e=e||2048;f="undefined"===typeof f?0:f;blockTotal=~~((d-1)/e)+1;for(var q in r)r.hasOwnProperty(q)&&"function"===typeof r[q]&&(this[q]=r[q]);this.a=function(a){var b;h(g([a,-a]));b=n[~~(a/e)];if("string"==typeof b.data)return b.data.charCodeAt(a-b.offset)&255;if("unknown"==typeof b.data)return IEBinary_getByteAt(b.data,a-b.offset)};this.f=function(a,b){h(g(a),b)}}(function(){a(h,function(a){a=parseInt(a.getResponseHeader("Content-Length"),10)||-1;g(new f(h,a))},b)})()};(function(h){h.FileAPIReader=function(g,b){return function(c,d){var a=b||new FileReader;a.onload=function(a){d(new y(a.target.result))};a.readAsBinaryString(g)}}})(this);(function(h){var g=h.p={},b={},c=[0,7];g.t=function(d){delete b[d]};g.s=function(){b={}};g.B=function(d,a,f){f=f||{};(f.dataReader||C)(d,function(g){g.f(c,function(){var c="ftypM4A"==g.c(4,7)?ID4:"ID3"==g.c(0,3)?ID3v2:ID3v1;c.m(g,function(){var e=f.tags,h=c.n(g,e),e=b[d]||{},m;for(m in h)h.hasOwnProperty(m)&&(e[m]=h[m]);b[d]=e;a&&a()})})},f.onError)};g.v=function(d){if(!b[d])return null;var a={},c;for(c in b[d])b[d].hasOwnProperty(c)&&(a[c]=b[d][c]);return a};g.A=function(d,a){return b[d]?b[d][a]:-null};h.ID3=h.p;g.loadTags=g.B;g.getAllTags=g.v;g.getTag=g.A;g.clearTags=g.t;g.clearAll=g.s})(this);(function(h){var g=h.q={},b="Blues;Classic Rock;Country;Dance;Disco;Funk;Grunge;Hip-Hop;Jazz;Metal;New Age;Oldies;Other;Pop;R&B;Rap;Reggae;Rock;Techno;Industrial;Alternative;Ska;Death Metal;Pranks;Soundtrack;Euro-Techno;Ambient;Trip-Hop;Vocal;Jazz+Funk;Fusion;Trance;Classical;Instrumental;Acid;House;Game;Sound Clip;Gospel;Noise;AlternRock;Bass;Soul;Punk;Space;Meditative;Instrumental Pop;Instrumental Rock;Ethnic;Gothic;Darkwave;Techno-Industrial;Electronic;Pop-Folk;Eurodance;Dream;Southern Rock;Comedy;Cult;Gangsta;Top 40;Christian Rap;Pop/Funk;Jungle;Native American;Cabaret;New Wave;Psychadelic;Rave;Showtunes;Trailer;Lo-Fi;Tribal;Acid Punk;Acid Jazz;Polka;Retro;Musical;Rock & Roll;Hard Rock;Folk;Folk-Rock;National Folk;Swing;Fast Fusion;Bebob;Latin;Revival;Celtic;Bluegrass;Avantgarde;Gothic Rock;Progressive Rock;Psychedelic Rock;Symphonic Rock;Slow Rock;Big Band;Chorus;Easy Listening;Acoustic;Humour;Speech;Chanson;Opera;Chamber Music;Sonata;Symphony;Booty Bass;Primus;Porn Groove;Satire;Slow Jam;Club;Tango;Samba;Folklore;Ballad;Power Ballad;Rhythmic Soul;Freestyle;Duet;Punk Rock;Drum Solo;Acapella;Euro-House;Dance Hall".split(";");-g.m=function(b,d){var a=b.h();b.f([a-128-1,a],d)};g.n=function(c){var d=c.h()-128;if("TAG"==c.c(d,3)){var a=c.c(d+3,30).replace(/\0/g,""),f=c.c(d+33,30).replace(/\0/g,""),g=c.c(d+63,30).replace(/\0/g,""),l=c.c(d+93,4).replace(/\0/g,"");if(0==c.a(d+97+28))var e=c.c(d+97,28).replace(/\0/g,""),h=c.a(d+97+29);else e="",h=0;c=c.a(d+97+30);return{version:"1.1",title:a,artist:f,album:g,year:l,comment:e,track:h,genre:255>c?b[c]:""}}return{}};h.ID3v1=h.q})(this);(function(h){function g(a,b){var d=b.a(a),c=b.a(a+1),e=b.a(a+2);return b.a(a+3)&127|(e&127)<<7|(c&127)<<14|(d&127)<<21}var b=h.D={};b.b={};b.frames={BUF:"Recommended buffer size",CNT:"Play counter",COM:"Comments",CRA:"Audio encryption",CRM:"Encrypted meta frame",ETC:"Event timing codes",EQU:"Equalization",GEO:"General encapsulated object",IPL:"Involved people list",LNK:"Linked information",MCI:"Music CD Identifier",MLL:"MPEG location lookup table",PIC:"Attached picture",POP:"Popularimeter",REV:"Reverb",-RVA:"Relative volume adjustment",SLT:"Synchronized lyric/text",STC:"Synced tempo codes",TAL:"Album/Movie/Show title",TBP:"BPM (Beats Per Minute)",TCM:"Composer",TCO:"Content type",TCR:"Copyright message",TDA:"Date",TDY:"Playlist delay",TEN:"Encoded by",TFT:"File type",TIM:"Time",TKE:"Initial key",TLA:"Language(s)",TLE:"Length",TMT:"Media type",TOA:"Original artist(s)/performer(s)",TOF:"Original filename",TOL:"Original Lyricist(s)/text writer(s)",TOR:"Original release year",TOT:"Original album/Movie/Show title",-TP1:"Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group",TP2:"Band/Orchestra/Accompaniment",TP3:"Conductor/Performer refinement",TP4:"Interpreted, remixed, or otherwise modified by",TPA:"Part of a set",TPB:"Publisher",TRC:"ISRC (International Standard Recording Code)",TRD:"Recording dates",TRK:"Track number/Position in set",TSI:"Size",TSS:"Software/hardware and settings used for encoding",TT1:"Content group description",TT2:"Title/Songname/Content description",TT3:"Subtitle/Description refinement",-TXT:"Lyricist/text writer",TXX:"User defined text information frame",TYE:"Year",UFI:"Unique file identifier",ULT:"Unsychronized lyric/text transcription",WAF:"Official audio file webpage",WAR:"Official artist/performer webpage",WAS:"Official audio source webpage",WCM:"Commercial information",WCP:"Copyright/Legal information",WPB:"Publishers official webpage",WXX:"User defined URL link frame",AENC:"Audio encryption",APIC:"Attached picture",COMM:"Comments",COMR:"Commercial frame",ENCR:"Encryption method registration",-EQUA:"Equalization",ETCO:"Event timing codes",GEOB:"General encapsulated object",GRID:"Group identification registration",IPLS:"Involved people list",LINK:"Linked information",MCDI:"Music CD identifier",MLLT:"MPEG location lookup table",OWNE:"Ownership frame",PRIV:"Private frame",PCNT:"Play counter",POPM:"Popularimeter",POSS:"Position synchronisation frame",RBUF:"Recommended buffer size",RVAD:"Relative volume adjustment",RVRB:"Reverb",SYLT:"Synchronized lyric/text",SYTC:"Synchronized tempo codes",-TALB:"Album/Movie/Show title",TBPM:"BPM (beats per minute)",TCOM:"Composer",TCON:"Content type",TCOP:"Copyright message",TDAT:"Date",TDLY:"Playlist delay",TENC:"Encoded by",TEXT:"Lyricist/Text writer",TFLT:"File type",TIME:"Time",TIT1:"Content group description",TIT2:"Title/songname/content description",TIT3:"Subtitle/Description refinement",TKEY:"Initial key",TLAN:"Language(s)",TLEN:"Length",TMED:"Media type",TOAL:"Original album/movie/show title",TOFN:"Original filename",TOLY:"Original lyricist(s)/text writer(s)",-TOPE:"Original artist(s)/performer(s)",TORY:"Original release year",TOWN:"File owner/licensee",TPE1:"Lead performer(s)/Soloist(s)",TPE2:"Band/orchestra/accompaniment",TPE3:"Conductor/performer refinement",TPE4:"Interpreted, remixed, or otherwise modified by",TPOS:"Part of a set",TPUB:"Publisher",TRCK:"Track number/Position in set",TRDA:"Recording dates",TRSN:"Internet radio station name",TRSO:"Internet radio station owner",TSIZ:"Size",TSRC:"ISRC (international standard recording code)",TSSE:"Software/Hardware and settings used for encoding",-TYER:"Year",TXXX:"User defined text information frame",UFID:"Unique file identifier",USER:"Terms of use",USLT:"Unsychronized lyric/text transcription",WCOM:"Commercial information",WCOP:"Copyright/Legal information",WOAF:"Official audio file webpage",WOAR:"Official artist/performer webpage",WOAS:"Official audio source webpage",WORS:"Official internet radio station homepage",WPAY:"Payment",WPUB:"Publishers official webpage",WXXX:"User defined URL link frame"};var c={title:["TIT2","TT2"],artist:["TPE1",-"TP1"],album:["TALB","TAL"],year:["TYER","TYE"],comment:["COMM","COM"],track:["TRCK","TRK"],genre:["TCON","TCO"],picture:["APIC","PIC"],lyrics:["USLT","ULT"]},d=["title","artist","album","track"];b.m=function(a,b){a.f([0,g(6,a)],b)};b.n=function(a,f){var h=0,l=a.a(h+3);if(4<l)return{version:">2.4"};var e=a.a(h+4),t=a.d(h+5,7),m=a.d(h+5,6),u=a.d(h+5,5),k=g(h+6,a),h=h+10;if(m)var r=a.i(h),h=h+(r+4);var l={version:"2."+l+"."+e,major:l,revision:e,flags:{unsynchronisation:t,extended_header:m,experimental_indicator:u},-size:k},n;if(t)n={};else{for(var k=k-10,t=a,e=f,m={},u=l.major,r=[],q=0,p;p=(e||d)[q];q++)r=r.concat(c[p]||[p]);for(e=r;h<k;){r=null;q=t;p=h;var x=null;switch(u){case 2:n=q.c(p,3);var s=q.o(p+3),w=6;break;case 3:n=q.c(p,4);s=q.i(p+4);w=10;break;case 4:n=q.c(p,4),s=g(p+4,q),w=10}if(""==n)break;h+=w+s;0>e.indexOf(n)||(2<u&&(x={message:{P:q.d(p+8,6),I:q.d(p+8,5),M:q.d(p+8,4)},k:{K:q.d(p+8+1,7),F:q.d(p+8+1,3),H:q.d(p+8+1,2),C:q.d(p+8+1,1),u:q.d(p+8+1,0)}}),p+=w,x&&x.k.u&&(g(p,q),p+=4,s-=4),x&&x.k.C||-(n in b.b?r=b.b[n]:"T"==n[0]&&(r=b.b["T*"]),r=r?r(p,s,q,x):void 0,r={id:n,size:s,description:n in b.frames?b.frames[n]:"Unknown",data:r},n in m?(m[n].id&&(m[n]=[m[n]]),m[n].push(r)):m[n]=r))}n=m}for(var z in c)if(c.hasOwnProperty(z)){a:{s=c[z];"string"==typeof s&&(s=[s]);w=0;for(h=void 0;h=s[w];w++)if(h in n){a=n[h].data;break a}a=void 0}a&&(l[z]=a)}for(var A in n)n.hasOwnProperty(A)&&(l[A]=n[A]);return l};h.ID3v2=b})(this);(function(){function h(b){var c;switch(b){case 0:c="iso-8859-1";break;case 1:c="utf-16";break;case 2:c="utf-16be";break;case 3:c="utf-8"}return c}var g="32x32 pixels 'file icon' (PNG only);Other file icon;Cover (front);Cover (back);Leaflet page;Media (e.g. lable side of CD);Lead artist/lead performer/soloist;Artist/performer;Conductor;Band/Orchestra;Composer;Lyricist/text writer;Recording Location;During recording;During performance;Movie/video screen capture;A bright coloured fish;Illustration;Band/artist logotype;Publisher/Studio logotype".split(";");-ID3v2.b.APIC=function(b,c,d,a,f){f=f||"3";a=b;var v=h(d.a(b));switch(f){case "2":var l=d.c(b+1,3);b+=4;break;case "3":case "4":l=d.e(b+1,c-(b-a),""),b+=1+l.g}f=d.a(b,1);f=g[f];v=d.e(b+1,c-(b-a),v);b+=1+v.g;return{format:l.toString(),type:f,description:v.toString(),data:d.l(b,a+c-b)}};ID3v2.b.COMM=function(b,c,d){var a=b,f=h(d.a(b)),g=d.c(b+1,3),l=d.e(b+4,c-4,f);b+=4+l.g;b=d.e(b,a+c-b,f);return{language:g,O:l.toString(),text:b.toString()}};ID3v2.b.COM=ID3v2.b.COMM;ID3v2.b.PIC=function(b,c,d,a){return ID3v2.b.APIC(b,-c,d,a,"2")};ID3v2.b.PCNT=function(b,c,d){return d.J(b)};ID3v2.b.CNT=ID3v2.b.PCNT;ID3v2.b["T*"]=function(b,c,d){var a=h(d.a(b));return d.e(b+1,c-1,a).toString()};ID3v2.b.TCON=function(b,c,d){return ID3v2.b["T*"].apply(this,arguments).replace(/^\(\d+\)/,"")};ID3v2.b.TCO=ID3v2.b.TCON;ID3v2.b.USLT=function(b,c,d){var a=b,f=h(d.a(b)),g=d.c(b+1,3),l=d.e(b+4,c-4,f);b+=4+l.g;b=d.e(b,a+c-b,f);return{language:g,G:l.toString(),L:b.toString()}};ID3v2.b.ULT=ID3v2.b.USLT})();(function(h){function g(b,a,f,h){var l=b.i(a);if(0==l)h();else{var e=b.c(a+4,4);-1<["moov","udta","meta","ilst"].indexOf(e)?("meta"==e&&(a+=4),b.f([a+8,a+8+8],function(){g(b,a+8,l-8,h)})):b.f([a+(e in c.j?0:l),a+l+8],function(){g(b,a+l,f,h)})}}function b(d,a,f,g,h){h=void 0===h?"":h+" ";for(var e=f;e<f+g;){var t=a.i(e);if(0==t)break;var m=a.c(e+4,4);if(-1<["moov","udta","meta","ilst"].indexOf(m)){"meta"==m&&(e+=4);b(d,a,e+8,t-8,h);break}if(c.j[m]){var u=a.o(e+16+1),k=c.j[m],u=c.types[u];if("trkn"==-m)d[k[0]]=a.a(e+16+11),d.count=a.a(e+16+13);else{var m=e+16+4+4,r=t-16-4-4,n;switch(u){case "text":n=a.e(m,r,"UTF-8");break;case "uint8":n=a.w(m);break;case "jpeg":case "png":n={k:"image/"+u,data:a.l(m,r)}}d[k[0]]="comment"===k[0]?{text:n}:n}}e+=t}}var c=h.r={};c.types={0:"uint8",1:"text",13:"jpeg",14:"png",21:"uint8"};c.j={"\u00a9alb":["album"],"\u00a9art":["artist"],"\u00a9ART":["artist"],aART:["artist"],"\u00a9day":["year"],"\u00a9nam":["title"],"\u00a9gen":["genre"],trkn:["track"],"\u00a9wrt":["composer"],-"\u00a9too":["encoder"],cprt:["copyright"],covr:["picture"],"\u00a9grp":["grouping"],keyw:["keyword"],"\u00a9lyr":["lyrics"],"\u00a9cmt":["comment"],tmpo:["tempo"],cpil:["compilation"],disk:["disc"]};c.m=function(b,a){b.f([0,7],function(){g(b,0,b.h(),a)})};c.n=function(c){var a={};b(a,c,0,c.h());return a};h.ID4=h.r})(this);diff --git a/data/libs/jquery/MIT-LICENSE.txt b/data/libs/jquery/MIT-LICENSE.txtindex 741585591..cdd31b5c7 100644--- a/data/libs/jquery/MIT-LICENSE.txt+++ b/data/libs/jquery/MIT-LICENSE.txt@@ -1,10 +1,5 @@-Copyright 2012 jQuery Foundation and other contributors,-http://jqueryui.com/--This software consists of voluntary contributions made by many-individuals (AUTHORS.txt, http://jqueryui.com/about) For exact-contribution history, see the revision history and logs, available-at http://jquery-ui.googlecode.com/svn/+Copyright 2014 jQuery Foundation and other contributors+http://jquery.com/Permission is hereby granted, free of charge, to any person obtaininga copy of this software and associated documentation files (thediff --git a/data/libs/jquery/dist/jquery.min.js b/data/libs/jquery/dist/jquery.min.jsnew file mode 100644index 000000000..fad9ab123--- /dev/null+++ b/data/libs/jquery/dist/jquery.min.js@@ -0,0 +1,5 @@+/*! 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});+//# sourceMappingURL=jquery.min.map\ No newline at end of filediff --git a/data/libs/jquery/jquery.min.js b/data/libs/jquery/jquery.min.jsdeleted file mode 100644index e5ace116b..000000000--- a/data/libs/jquery/jquery.min.js+++ /dev/null@@ -1,4 +0,0 @@-/*! jQuery v2.1.1 | (c) 2005, 2014 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.1",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)>=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=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"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=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)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(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||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(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 I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(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 ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(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 typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),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))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),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===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(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?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.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 fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.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},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.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=fb.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=fb.selectors={cacheLength:50,createPseudo:hb,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(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===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]||fb.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]&&fb.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(cb,db).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("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.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+" ").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()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(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),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).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:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(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]=lb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=mb(b);function pb(){}pb.prototype=d.filters=d.pseudos,d.setFilters=new pb,g=fb.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?fb.error(a):z(a,i).slice(0)};function qb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function rb(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 sb(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 tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(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 vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(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?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(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 vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(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]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.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(cb,db),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(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(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+Math.random()}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 ab=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bb=/<([\w:]+)/,cb=/<|&#?\w+;/,db=/<(?:script|style|link)/i,eb=/checked\s*(?:[^=]|=\s*.checked.)/i,fb=/^$|\/(?:java|ecma)script/i,gb=/^true\/(.*)/,hb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ib={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,"",""]};ib.optgroup=ib.option,ib.tbody=ib.tfoot=ib.colgroup=ib.caption=ib.thead,ib.th=ib.td;function jb(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 kb(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function lb(a){var b=gb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function mb(a,b){for(var c=0,d=a.length;d>c;c++)L.set(a[c],"globalEval",!b||L.get(b[c],"globalEval"))}function nb(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 ob(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 pb(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=ob(h),f=ob(a),d=0,e=f.length;e>d;d++)pb(f[d],g[d]);if(b)if(c)for(f=f||ob(a),g=g||ob(h),d=0,e=f.length;e>d;d++)nb(f[d],g[d]);else nb(a,h);return g=ob(h,"script"),g.length>0&&mb(g,!i&&ob(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(cb.test(e)){f=f||k.appendChild(b.createElement("div")),g=(bb.exec(e)||["",""])[1].toLowerCase(),h=ib[g]||ib._default,f.innerHTML=h[1]+e.replace(ab,"<$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=ob(k.appendChild(e),"script"),i&&mb(f),c)){j=0;while(e=f[j++])fb.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=jb(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=jb(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(ob(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&mb(ob(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(ob(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&&!db.test(a)&&!ib[(bb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ab,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ob(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(ob(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&&eb.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(ob(c,"script"),kb),g=f.length;l>j;j++)h=c,j!==o&&(h=n.clone(h,!0,!0),g&&n.merge(f,ob(h,"script"))),b.call(this[j],h,j);if(g)for(i=f[f.length-1].ownerDocument,n.map(f,lb),j=0;g>j;j++)h=f[j],fb.test(h.type||"")&&!L.access(h,"globalEval")&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(hb,"")))}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 qb,rb={};function sb(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 tb(a){var b=l,c=rb[a];return c||(c=sb(a,b),"none"!==c&&c||(qb=(qb||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=qb[0].contentDocument,b.write(),b.close(),c=sb(a,b),qb.detach()),rb[a]=c),c}var ub=/^margin/,vb=new RegExp("^("+Q+")(?!px)[a-z%]+$","i"),wb=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)};function xb(a,b,c){var d,e,f,g,h=a.style;return c=c||wb(a),c&&(g=c.getPropertyValue(b)||c[b]),c&&(""!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),vb.test(g)&&ub.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 yb(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),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 zb=/^(none|table(?!-c[ea]).+)/,Ab=new RegExp("^("+Q+")(.*)$","i"),Bb=new RegExp("^([+-])=("+Q+")","i"),Cb={position:"absolute",visibility:"hidden",display:"block"},Db={letterSpacing:"0",fontWeight:"400"},Eb=["Webkit","O","Moz","ms"];function Fb(a,b){if(b in a)return b;var c=b[0].toUpperCase()+b.slice(1),d=b,e=Eb.length;while(e--)if(b=Eb[e]+c,b in a)return b;return d}function Gb(a,b,c){var d=Ab.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Hb(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 Ib(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=wb(a),g="border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=xb(a,b,f),(0>e||null==e)&&(e=a.style[b]),vb.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Hb(a,b,c||(g?"border":"content"),d,f)+"px"}function Jb(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",tb(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=xb(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]=Fb(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=Bb.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]=Fb(a.style,h)),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=xb(a,b,d)),"normal"===e&&b in Db&&(e=Db[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?zb.test(n.css(a,"display"))&&0===a.offsetWidth?n.swap(a,Cb,function(){return Ib(a,b,d)}):Ib(a,b,d):void 0},set:function(a,c,d){var e=d&&wb(a);return Gb(a,c,d?Hb(a,b,d,"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),n.cssHooks.marginRight=yb(k.reliableMarginRight,function(a,b){return b?n.swap(a,{display:"inline-block"},xb,[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}},ub.test(a)||(n.cssHooks[a+b].set=Gb)}),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=wb(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 Jb(this,!0)},hide:function(){return Jb(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 Kb(a,b,c,d,e){return new Kb.prototype.init(a,b,c,d,e)}n.Tween=Kb,Kb.prototype={constructor:Kb,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=Kb.propHooks[this.prop];return a&&a.get?a.get(this):Kb.propHooks._default.get(this)},run:function(a){var b,c=Kb.propHooks[this.prop];return this.pos=b=this.options.duration?n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Kb.propHooks._default.set(this),this}},Kb.prototype.init.prototype=Kb.prototype,Kb.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}}},Kb.propHooks.scrollTop=Kb.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=Kb.prototype.init,n.fx.step={};var Lb,Mb,Nb=/^(?:toggle|show|hide)$/,Ob=new RegExp("^(?:([+-])=|)("+Q+")([a-z%]*)$","i"),Pb=/queueHooks$/,Qb=[Vb],Rb={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=Ob.exec(b),f=e&&e[3]||(n.cssNumber[a]?"":"px"),g=(n.cssNumber[a]||"px"!==f&&+d)&&Ob.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 Sb(){return setTimeout(function(){Lb=void 0}),Lb=n.now()}function Tb(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 Ub(a,b,c){for(var d,e=(Rb[b]||[]).concat(Rb["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function Vb(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")||tb(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],Nb.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?tb(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=Ub(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 Wb(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 Xb(a,b,c){var d,e,f=0,g=Qb.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Lb||Sb(),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:Lb||Sb(),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(Wb(k,j.opts.specialEasing);g>f;f++)if(d=Qb[f].call(j,a,k,j.opts))return d;return n.map(k,Ub,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(Xb,{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],Rb[c]=Rb[c]||[],Rb[c].unshift(b)},prefilter:function(a,b){b?Qb.unshift(a):Qb.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=Xb(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&&Pb.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(Tb(b,!0),a,d,e)}}),n.each({slideDown:Tb("show"),slideUp:Tb("hide"),slideToggle:Tb("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(Lb=n.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||n.fx.stop(),Lb=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(){Mb||(Mb=setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){clearInterval(Mb),Mb=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 Yb,Zb,$b=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)?Zb:Yb)),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}}}}}),Zb={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=$b[b]||n.find.attr;$b[b]=function(a,b,d){var e,f;return d||(f=$b[b],$b[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,$b[b]=f),e}});var _b=/^(?: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")||_b.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 ac=/[\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(ac," "):" ")){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(ac," "):"")){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(ac," ").indexOf(b)>=0)return!0;return!1}});var bc=/\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(bc,""):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 cc=n.now(),dc=/\?/;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 ec,fc,gc=/#.*$/,hc=/([?&])_=[^&]*/,ic=/^(.*?):[ \t]*([^\r\n]*)$/gm,jc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,kc=/^(?:GET|HEAD)$/,lc=/^\/\//,mc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,nc={},oc={},pc="*/".concat("*");try{fc=location.href}catch(qc){fc=l.createElement("a"),fc.href="",fc=fc.href}ec=mc.exec(fc.toLowerCase())||[];function rc(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 sc(a,b,c,d){var e={},f=a===oc;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 tc(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 uc(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 vc(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:fc,type:"GET",isLocal:jc.test(ec[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":pc,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?tc(tc(a,n.ajaxSettings),b):tc(n.ajaxSettings,a)},ajaxPrefilter:rc(nc),ajaxTransport:rc(oc),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=ic.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||fc)+"").replace(gc,"").replace(lc,ec[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=n.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(h=mc.exec(k.url.toLowerCase()),k.crossDomain=!(!h||h[1]===ec[1]&&h[2]===ec[2]&&(h[3]||("http:"===h[1]?"80":"443"))===(ec[3]||("http:"===ec[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=n.param(k.data,k.traditional)),sc(nc,k,b,v),2===t)return v;i=k.global,i&&0===n.active++&&n.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!kc.test(k.type),d=k.url,k.hasContent||(k.data&&(d=k.url+=(dc.test(d)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=hc.test(d)?d.replace(hc,"$1_="+cc++):d+(dc.test(d)?"&":"?")+"_="+cc++)),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]?", "+pc+"; 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=sc(oc,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=uc(k,v,f)),u=vc(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.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),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 wc=/%20/g,xc=/\[\]$/,yc=/\r?\n/g,zc=/^(?:submit|button|image|reset|file)$/i,Ac=/^(?:input|select|textarea|keygen)/i;function Bc(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||xc.test(a)?d(a,e):Bc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)Bc(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)Bc(c,a[c],b,e);return d.join("&").replace(wc,"+")},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")&&Ac.test(this.nodeName)&&!zc.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(yc,"\r\n")}}):{name:b.name,value:c.replace(yc,"\r\n")}}).get()}}),n.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(a){}};var Cc=0,Dc={},Ec={0:200,1223:204},Fc=n.ajaxSettings.xhr();a.ActiveXObject&&n(a).on("unload",function(){for(var a in Dc)Dc[a]()}),k.cors=!!Fc&&"withCredentials"in Fc,k.ajax=Fc=!!Fc,n.ajaxTransport(function(a){var b;return k.cors||Fc&&!a.crossDomain?{send:function(c,d){var e,f=a.xhr(),g=++Cc;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 Dc[g],b=f.onload=f.onerror=null,"abort"===a?f.abort():"error"===a?d(f.status,f.statusText):d(Ec[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=Dc[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 Gc=[],Hc=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Gc.pop()||n.expando+"_"+cc++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Hc.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Hc.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(Hc,"$1"+e):b.jsonp!==!1&&(b.url+=(dc.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,Gc.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 Ic=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&Ic)return Ic.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.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};var Jc=a.document.documentElement;function Kc(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=Kc(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||Jc;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Jc})}}),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=Kc(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]=yb(k.pixelPosition,function(a,c){return c?(c=xb(a,b),vb.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 Lc=a.jQuery,Mc=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=Mc),b&&a.jQuery===n&&(a.jQuery=Lc),n},typeof b===U&&(a.jQuery=a.$=n),n});diff --git a/data/libs/jqueryui/MIT-LICENSE.txt b/data/libs/jqueryui/MIT-LICENSE.txtdeleted file mode 100644index 741585591..000000000--- a/data/libs/jqueryui/MIT-LICENSE.txt+++ /dev/null@@ -1,26 +0,0 @@-Copyright 2012 jQuery Foundation and other contributors,-http://jqueryui.com/--This software consists of voluntary contributions made by many-individuals (AUTHORS.txt, http://jqueryui.com/about) For exact-contribution history, see the revision history and logs, available-at http://jquery-ui.googlecode.com/svn/--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.diff --git a/data/libs/jqueryui/jquery-ui.min.js b/data/libs/jqueryui/jquery-ui.min.jsnew file mode 100644index 000000000..5824d1292--- /dev/null+++ b/data/libs/jqueryui/jquery-ui.min.js@@ -0,0 +1,13 @@+/*! jQuery UI - v1.11.4 - 2015-03-11+* http://jqueryui.com+* Includes: core.js, widget.js, mouse.js, position.js, accordion.js, autocomplete.js, button.js, datepicker.js, dialog.js, draggable.js, droppable.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, menu.js, progressbar.js, resizable.js, selectable.js, selectmenu.js, slider.js, sortable.js, spinner.js, tabs.js, tooltip.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.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.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.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.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.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;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()})},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.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.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.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.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()}})});\ No newline at end of filediff --git a/data/libs/jqueryui/jquery.ui.core.js b/data/libs/jqueryui/jquery.ui.core.jsdeleted file mode 100644index 6df91628d..000000000--- a/data/libs/jqueryui/jquery.ui.core.js+++ /dev/null@@ -1,320 +0,0 @@-/*!- * jQuery UI Core 1.10.4- * http://jqueryui.com- *- * Copyright 2014 jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/category/ui-core/- */-(function( $, undefined ) {--var uuid = 0,- runiqueId = /^ui-id-\d+$/;--// $.ui might exist from components with no dependencies, e.g., $.ui.position-$.ui = $.ui || {};--$.extend( $.ui, {- version: "1.10.4",-- keyCode: {- BACKSPACE: 8,- COMMA: 188,- DELETE: 46,- DOWN: 40,- END: 35,- ENTER: 13,- ESCAPE: 27,- HOME: 36,- LEFT: 37,- NUMPAD_ADD: 107,- NUMPAD_DECIMAL: 110,- NUMPAD_DIVIDE: 111,- NUMPAD_ENTER: 108,- NUMPAD_MULTIPLY: 106,- NUMPAD_SUBTRACT: 109,- PAGE_DOWN: 34,- PAGE_UP: 33,- PERIOD: 190,- RIGHT: 39,- SPACE: 32,- TAB: 9,- UP: 38- }-});--// plugins-$.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 ),-- scrollParent: function() {- var scrollParent;- if (($.ui.ie && (/(static|relative)/).test(this.css("position"))) || (/absolute/).test(this.css("position"))) {- scrollParent = this.parents().filter(function() {- return (/(relative|absolute|fixed)/).test($.css(this,"position")) && (/(auto|scroll)/).test($.css(this,"overflow")+$.css(this,"overflow-y")+$.css(this,"overflow-x"));- }).eq(0);- } else {- scrollParent = this.parents().filter(function() {- return (/(auto|scroll)/).test($.css(this,"overflow")+$.css(this,"overflow-y")+$.css(this,"overflow-x"));- }).eq(0);- }-- return (/fixed/).test(this.css("position")) || !scrollParent.length ? $(document) : scrollParent;- },-- 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;- },-- uniqueId: function() {- return this.each(function() {- if ( !this.id ) {- this.id = "ui-id-" + (++uuid);- }- });- },-- removeUniqueId: function() {- return this.each(function() {- if ( runiqueId.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() );--$.support.selectstart = "onselectstart" in document.createElement( "div" );-$.fn.extend({- disableSelection: function() {- return this.bind( ( $.support.selectstart ? "selectstart" : "mousedown" ) +- ".ui-disableSelection", function( event ) {- event.preventDefault();- });- },-- enableSelection: function() {- return this.unbind( ".ui-disableSelection" );- }-});--$.extend( $.ui, {- // $.ui.plugin is deprecated. Use $.widget() extensions instead.- 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 ) {- var i,- set = instance.plugins[ name ];- if ( !set || !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 );- }- }- }- },-- // only used by resizable- hasScroll: function( el, a ) {-- //If overflow is hidden, the element might have extra content, but the user wants to hide it- 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;- }-});--})( jQuery );diff --git a/data/libs/jqueryui/jquery.ui.datepicker.js b/data/libs/jqueryui/jquery.ui.datepicker.jsdeleted file mode 100644index 2e721f324..000000000--- a/data/libs/jqueryui/jquery.ui.datepicker.js+++ /dev/null@@ -1,2038 +0,0 @@-/*!- * jQuery UI Datepicker 1.10.4- * http://jqueryui.com- *- * Copyright 2014 jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/datepicker/- *- * Depends:- * jquery.ui.core.js- */-(function( $, undefined ) {--$.extend($.ui, { datepicker: { version: "1.10.4" } });--var PROP_NAME = "datepicker",- instActive;--/* 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.dpDiv = 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) {- 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- 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, PROP_NAME, 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, PROP_NAME, 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], PROP_NAME, inst);- }- 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], PROP_NAME, 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, PROP_NAME);-- if (!$target.hasClass(this.markerClassName)) {- return;- }-- nodeName = target.nodeName.toLowerCase();- $.removeData(target, PROP_NAME);- 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();- }- },-- /* 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, PROP_NAME);-- 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, PROP_NAME);-- 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, PROP_NAME);- }- 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");- 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;- }- 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.zIndex($(input).zIndex()+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)- instActive = inst; // for delegate hover events- inst.dpDiv.empty().append(this._generateHTML(inst));- this._attachHandlers(inst);- inst.dpDiv.find("." + this._dayOverClass + " a").mouseover();-- var origyearshtml,- numMonths = this._getNumberOfMonths(inst),- cols = numMonths[1],- width = 17;-- 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, PROP_NAME))) {- 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)))),- digits = new RegExp("^\\d{1," + 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" + ((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 instActive, set by _updateDatepicker allows the handlers to find their way back to the active picker.- */-function 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", function(){- if (!$.datepicker._isDisabledDatepicker( instActive.inline ? dpDiv.parent()[0] : 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 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.10.4";--})(jQuery);diff --git a/data/libs/jqueryui/jquery.ui.draggable.js b/data/libs/jqueryui/jquery.ui.draggable.jsdeleted file mode 100644index d3281dc4f..000000000--- a/data/libs/jqueryui/jquery.ui.draggable.js+++ /dev/null@@ -1,958 +0,0 @@-/*!- * jQuery UI Draggable 1.10.4- * http://jqueryui.com- *- * Copyright 2014 jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/draggable/- *- * Depends:- * jquery.ui.core.js- * jquery.ui.mouse.js- * jquery.ui.widget.js- */-(function( $, undefined ) {--$.widget("ui.draggable", $.ui.mouse, {- version: "1.10.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" && !(/^(?:r|a|f)/).test(this.element.css("position"))) {- this.element[0].style.position = "relative";- }- if (this.options.addClasses){- this.element.addClass("ui-draggable");- }- if (this.options.disabled){- this.element.addClass("ui-draggable-disabled");- }-- this._mouseInit();-- },-- _destroy: function() {- this.element.removeClass( "ui-draggable ui-draggable-dragging ui-draggable-disabled" );- this._mouseDestroy();- },-- _mouseCapture: function(event) {-- var o = this.options;-- // 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;- }-- $(o.iframeFix === true ? "iframe" : o.iframeFix).each(function() {- $("<div class='ui-draggable-iframeFix' style='background: #fff;'></div>")- .css({- width: this.offsetWidth+"px", height: this.offsetHeight+"px",- position: "absolute", opacity: "0.001", zIndex: 1000- })- .css($(this).offset())- .appendTo("body");- });-- return true;-- },-- _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();- this.offsetParent = this.helper.offsetParent();- this.offsetParentCssPosition = this.offsetParent.css( "position" );-- //The element's absolute position on the page minus margins- this.offset = this.positionAbs = this.element.offset();- this.offset = {- top: this.offset.top - this.margins.top,- left: this.offset.left - this.margins.left- };-- //Reset scroll cache- this.offset.scroll = false;-- $.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- });-- //Generate the original position- this.originalPosition = this.position = 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));-- //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);- }--- 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;- },-- _mouseDrag: function(event, noPropagation) {- // reset any necessary cached properties (see #5009)- if ( this.offsetParentCssPosition === "fixed" ) {- this.offset.parent = this._getParentOffset();- }-- //Compute the helpers position- this.position = this._generatePosition(event);- 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;- }-- 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";- }- 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 the original element is no longer in the DOM don't bother to continue (see #8269)- if ( this.options.helper === "original" && !$.contains( this.element[ 0 ].ownerDocument, this.element[ 0 ] ) ) {- return 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) {- //Remove frame helpers- $("div.ui-draggable-iframeFix").each(function() {- this.parentNode.removeChild(this);- });-- //If the ddmanager is used for droppables, inform the manager that dragging has stopped (see #5003)- if( $.ui.ddmanager ) {- $.ui.ddmanager.dragStop(this, event);- }-- 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;- },-- _createHelper: function(event) {-- var o = this.options,- helper = $.isFunction(o.helper) ? $(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));- }-- if(helper[0] !== this.element[0] && !(/(fixed|absolute)/).test(helper.css("position"))) {- helper.css("position", "absolute");- }-- 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- 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] !== document && $.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- //Ugly IE fix- if((this.offsetParent[0] === document.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.element.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.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 over, c, ce,- o = this.options;-- 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;- }-- over = c.css( "overflow" ) !== "hidden";-- 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 ) ,- ( over ? 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,- ( over ? 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.relative_container = c;- },-- _convertPositionTo: function(d, pos) {-- if(!pos) {- pos = this.position;- }-- var mod = d === "absolute" ? 1 : -1,- scroll = this.cssPosition === "absolute" && !( this.scrollParent[ 0 ] !== document && $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) ? this.offsetParent : this.scrollParent;-- //Cache the scroll- if (!this.offset.scroll) {- this.offset.scroll = {top : scroll.scrollTop(), left : scroll.scrollLeft()};- }-- 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() : 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.scrollParent.scrollLeft() : this.offset.scroll.left ) * mod )- )- };-- },-- _generatePosition: function(event) {-- var containment, co, top, left,- o = this.options,- scroll = this.cssPosition === "absolute" && !( this.scrollParent[ 0 ] !== document && $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) ? this.offsetParent : this.scrollParent,- pageX = event.pageX,- pageY = event.pageY;-- //Cache the scroll- if (!this.offset.scroll) {- this.offset.scroll = {top : scroll.scrollTop(), left : scroll.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 ( this.originalPosition ) {- if ( this.containment ) {- if ( this.relative_container ){- co = this.relative_container.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;- }-- }-- 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() : 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.scrollParent.scrollLeft() : 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;- },-- // From now on bulk stuff - mainly helpers-- _trigger: function(type, event, ui) {- ui = ui || this._uiHash();- $.ui.plugin.call(this, type, [event, ui]);- //The absolute position has to be recalculated after plugins- if(type === "drag") {- this.positionAbs = this._convertPositionTo("absolute");- }- 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) {-- var inst = $(this).data("ui-draggable"), o = inst.options,- uiSortable = $.extend({}, ui, { item: inst.element });- inst.sortables = [];- $(o.connectToSortable).each(function() {- var sortable = $.data(this, "ui-sortable");- if (sortable && !sortable.options.disabled) {- inst.sortables.push({- instance: sortable,- shouldRevert: sortable.options.revert- });- sortable.refreshPositions(); // Call the sortable's refreshPositions at drag start to refresh the containerCache since the sortable container cache is used in drag and needs to be up to date (this will ensure it's initialised as well as being kept in step with any changes that might have happened on the page).- sortable._trigger("activate", event, uiSortable);- }- });-- },- stop: function(event, ui) {-- //If we are still over the sortable, we fake the stop event of the sortable, but also remove helper- var inst = $(this).data("ui-draggable"),- uiSortable = $.extend({}, ui, { item: inst.element });-- $.each(inst.sortables, function() {- if(this.instance.isOver) {-- this.instance.isOver = 0;-- inst.cancelHelperRemoval = true; //Don't remove the helper in the draggable instance- this.instance.cancelHelperRemoval = false; //Remove it in the sortable instance (so sortable plugins like revert still work)-- //The sortable revert is supported, and we have to set a temporary dropped variable on the draggable to support revert: "valid/invalid"- if(this.shouldRevert) {- this.instance.options.revert = this.shouldRevert;- }-- //Trigger the stop of the sortable- this.instance._mouseStop(event);-- this.instance.options.helper = this.instance.options._helper;-- //If the helper has been the original item, restore properties in the sortable- if(inst.options.helper === "original") {- this.instance.currentItem.css({ top: "auto", left: "auto" });- }-- } else {- this.instance.cancelHelperRemoval = false; //Remove the helper in the sortable instance- this.instance._trigger("deactivate", event, uiSortable);- }-- });-- },- drag: function(event, ui) {-- var inst = $(this).data("ui-draggable"), that = this;-- $.each(inst.sortables, function() {-- var innermostIntersecting = false,- thisSortable = this;-- //Copy over some variables to allow calling the sortable's native _intersectsWith- this.instance.positionAbs = inst.positionAbs;- this.instance.helperProportions = inst.helperProportions;- this.instance.offset.click = inst.offset.click;-- if(this.instance._intersectsWith(this.instance.containerCache)) {- innermostIntersecting = true;- $.each(inst.sortables, function () {- this.instance.positionAbs = inst.positionAbs;- this.instance.helperProportions = inst.helperProportions;- this.instance.offset.click = inst.offset.click;- if (this !== thisSortable &&- this.instance._intersectsWith(this.instance.containerCache) &&- $.contains(thisSortable.instance.element[0], this.instance.element[0])- ) {- innermostIntersecting = false;- }- return innermostIntersecting;- });- }--- if(innermostIntersecting) {- //If it intersects, we use a little isOver variable and set it once, so our move-in stuff gets fired only once- if(!this.instance.isOver) {-- this.instance.isOver = 1;- //Now we fake the start of dragging for the sortable instance,- //by cloning the list group item, appending it to the sortable and using it as inst.currentItem- //We can then fire the start event of the sortable with our passed browser event, and our own helper (so it doesn't create a new one)- this.instance.currentItem = $(that).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item", true);- this.instance.options._helper = this.instance.options.helper; //Store helper option to later restore it- this.instance.options.helper = function() { return ui.helper[0]; };-- event.target = this.instance.currentItem[0];- this.instance._mouseCapture(event, true);- this.instance._mouseStart(event, true, true);-- //Because the browser event is way off the new appended portlet, we modify a couple of variables to reflect the changes- this.instance.offset.click.top = inst.offset.click.top;- this.instance.offset.click.left = inst.offset.click.left;- this.instance.offset.parent.left -= inst.offset.parent.left - this.instance.offset.parent.left;- this.instance.offset.parent.top -= inst.offset.parent.top - this.instance.offset.parent.top;-- inst._trigger("toSortable", event);- inst.dropped = this.instance.element; //draggable revert needs that- //hack so receive/update callbacks work (mostly)- inst.currentItem = inst.element;- this.instance.fromOutside = inst;-- }-- //Provided we did all the previous steps, we can fire the drag event of the sortable on every draggable drag, when it intersects with the sortable- if(this.instance.currentItem) {- this.instance._mouseDrag(event);- }-- } 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(this.instance.isOver) {-- this.instance.isOver = 0;- this.instance.cancelHelperRemoval = true;-- //Prevent reverting on this forced stop- this.instance.options.revert = false;-- // The out event needs to be triggered independently- this.instance._trigger("out", event, this.instance._uiHash(this.instance));-- this.instance._mouseStop(event, true);- this.instance.options.helper = this.instance.options._helper;-- //Now we remove our currentItem, the list group clone again, and the placeholder, and animate the helper back to it's original size- this.instance.currentItem.remove();- if(this.instance.placeholder) {- this.instance.placeholder.remove();- }-- inst._trigger("fromSortable", event);- inst.dropped = false; //draggable revert needs that- }-- }-- });-- }-});--$.ui.plugin.add("draggable", "cursor", {- start: function() {- var t = $("body"), o = $(this).data("ui-draggable").options;- if (t.css("cursor")) {- o._cursor = t.css("cursor");- }- t.css("cursor", o.cursor);- },- stop: function() {- var o = $(this).data("ui-draggable").options;- if (o._cursor) {- $("body").css("cursor", o._cursor);- }- }-});--$.ui.plugin.add("draggable", "opacity", {- start: function(event, ui) {- var t = $(ui.helper), o = $(this).data("ui-draggable").options;- if(t.css("opacity")) {- o._opacity = t.css("opacity");- }- t.css("opacity", o.opacity);- },- stop: function(event, ui) {- var o = $(this).data("ui-draggable").options;- if(o._opacity) {- $(ui.helper).css("opacity", o._opacity);- }- }-});--$.ui.plugin.add("draggable", "scroll", {- start: function() {- var i = $(this).data("ui-draggable");- if(i.scrollParent[0] !== document && i.scrollParent[0].tagName !== "HTML") {- i.overflowOffset = i.scrollParent.offset();- }- },- drag: function( event ) {-- var i = $(this).data("ui-draggable"), o = i.options, scrolled = false;-- if(i.scrollParent[0] !== document && i.scrollParent[0].tagName !== "HTML") {-- if(!o.axis || o.axis !== "x") {- if((i.overflowOffset.top + i.scrollParent[0].offsetHeight) - event.pageY < o.scrollSensitivity) {- i.scrollParent[0].scrollTop = scrolled = i.scrollParent[0].scrollTop + o.scrollSpeed;- } else if(event.pageY - i.overflowOffset.top < o.scrollSensitivity) {- i.scrollParent[0].scrollTop = scrolled = i.scrollParent[0].scrollTop - o.scrollSpeed;- }- }-- if(!o.axis || o.axis !== "y") {- if((i.overflowOffset.left + i.scrollParent[0].offsetWidth) - event.pageX < o.scrollSensitivity) {- i.scrollParent[0].scrollLeft = scrolled = i.scrollParent[0].scrollLeft + o.scrollSpeed;- } else if(event.pageX - i.overflowOffset.left < o.scrollSensitivity) {- i.scrollParent[0].scrollLeft = scrolled = i.scrollParent[0].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() {-- var i = $(this).data("ui-draggable"),- 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) {-- var ts, bs, ls, rs, l, r, t, b, i, first,- inst = $(this).data("ui-draggable"),- 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;- r = l + inst.snapElements[i].width;- t = inst.snapElements[i].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 - inst.margins.top;- }- if(bs) {- ui.position.top = inst._convertPositionTo("relative", { top: b, left: 0 }).top - inst.margins.top;- }- if(ls) {- ui.position.left = inst._convertPositionTo("relative", { top: 0, left: l - inst.helperProportions.width }).left - inst.margins.left;- }- if(rs) {- ui.position.left = inst._convertPositionTo("relative", { top: 0, left: r }).left - inst.margins.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 - inst.margins.top;- }- if(bs) {- ui.position.top = inst._convertPositionTo("relative", { top: b - inst.helperProportions.height, left: 0 }).top - inst.margins.top;- }- if(ls) {- ui.position.left = inst._convertPositionTo("relative", { top: 0, left: l }).left - inst.margins.left;- }- if(rs) {- ui.position.left = inst._convertPositionTo("relative", { top: 0, left: r - inst.helperProportions.width }).left - inst.margins.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() {- var min,- o = this.data("ui-draggable").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) {- var t = $(ui.helper), o = $(this).data("ui-draggable").options;- if(t.css("zIndex")) {- o._zIndex = t.css("zIndex");- }- t.css("zIndex", o.zIndex);- },- stop: function(event, ui) {- var o = $(this).data("ui-draggable").options;- if(o._zIndex) {- $(ui.helper).css("zIndex", o._zIndex);- }- }-});--})(jQuery);diff --git a/data/libs/jqueryui/jquery.ui.droppable.js b/data/libs/jqueryui/jquery.ui.droppable.jsdeleted file mode 100644index 762d5498c..000000000--- a/data/libs/jqueryui/jquery.ui.droppable.js+++ /dev/null@@ -1,389 +0,0 @@-/*!- * jQuery UI Droppable 1.10.4- * http://jqueryui.com- *- * Copyright 2014 jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/droppable/- *- * Depends:- * jquery.ui.core.js- * jquery.ui.widget.js- * jquery.ui.mouse.js- * jquery.ui.draggable.js- */-(function( $, undefined ) {--function isOverAxis( x, reference, size ) {- return ( x > reference ) && ( x < ( reference + size ) );-}--$.widget("ui.droppable", {- version: "1.10.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- };- }- };-- // Add the reference and positions to the manager- $.ui.ddmanager.droppables[o.scope] = $.ui.ddmanager.droppables[o.scope] || [];- $.ui.ddmanager.droppables[o.scope].push(this);-- (o.addClasses && this.element.addClass("ui-droppable"));-- },-- _destroy: function() {- var i = 0,- drop = $.ui.ddmanager.droppables[this.options.scope];-- for ( ; i < drop.length; i++ ) {- if ( drop[i] === this ) {- drop.splice(i, 1);- }- }-- 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);- };- }- $.Widget.prototype._setOption.apply(this, arguments);- },-- _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 = $.data(this, "ui-droppable");- 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)- ) { 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(draggable, droppable, toleranceMode) {-- if (!droppable.offset) {- return false;- }-- var draggableLeft, draggableTop,- x1 = (draggable.positionAbs || draggable.position.absolute).left,- y1 = (draggable.positionAbs || draggable.position.absolute).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":- draggableLeft = ((draggable.positionAbs || draggable.position.absolute).left + (draggable.clickOffset || draggable.offset.click).left);- draggableTop = ((draggable.positionAbs || draggable.position.absolute).top + (draggable.clickOffset || draggable.offset.click).top);- return isOverAxis( draggableTop, t, droppable.proportions().height ) && isOverAxis( draggableLeft, 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)) {- 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),- 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 $.data(this, "ui-droppable").options.scope === scope;- });-- if (parent.length) {- parentInstance = $.data(parent[0], "ui-droppable");- 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 );- }- }-};--})(jQuery);diff --git a/data/libs/jqueryui/jquery.ui.mouse.js b/data/libs/jqueryui/jquery.ui.mouse.jsdeleted file mode 100644index 7b0f25755..000000000--- a/data/libs/jqueryui/jquery.ui.mouse.js+++ /dev/null@@ -1,169 +0,0 @@-/*!- * jQuery UI Mouse 1.10.4- * http://jqueryui.com- *- * Copyright 2014 jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/mouse/- *- * Depends:- * jquery.ui.widget.js- */-(function( $, undefined ) {--var mouseHandled = false;-$( document ).mouseup( function() {- mouseHandled = false;-});--$.widget("ui.mouse", {- version: "1.10.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 ) {- $(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; }-- // 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);- };- $(document)- .bind("mousemove."+this.widgetName, this._mouseMoveDelegate)- .bind("mouseup."+this.widgetName, this._mouseUpDelegate);-- event.preventDefault();-- mouseHandled = true;- return true;- },-- _mouseMove: function(event) {- // 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);- }-- 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) {- $(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);- }-- 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);diff --git a/data/libs/jqueryui/jquery.ui.position.js b/data/libs/jqueryui/jquery.ui.position.jsdeleted file mode 100644index 7c07f4e77..000000000--- a/data/libs/jqueryui/jquery.ui.position.js+++ /dev/null@@ -1,501 +0,0 @@-/*!- * jQuery UI Position 1.10.4- * http://jqueryui.com- *- * Copyright 2014 jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/position/- */-(function( $, undefined ) {--$.ui = $.ui || {};--var cachedScrollbarWidth,- 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(),- width: isWindow ? withinElement.width() : withinElement.outerWidth(),- height: isWindow ? 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 ( !$.support.offsetFractions ) {- 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 ( ( position.top + myOffset + atOffset + offset) > overTop && ( 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 ( ( position.top + myOffset + atOffset + offset) > overBottom && ( 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;- $.support.offsetFractions = offsetLeft > 10 && offsetLeft < 11;-- testElement.innerHTML = "";- testElementParent.removeChild( testElement );-})();--}( jQuery ) );diff --git a/data/libs/jqueryui/jquery.ui.resizable.js b/data/libs/jqueryui/jquery.ui.resizable.jsdeleted file mode 100644index 3ff8dc01a..000000000--- a/data/libs/jqueryui/jquery.ui.resizable.js+++ /dev/null@@ -1,978 +0,0 @@-/*!- * jQuery UI Resizable 1.10.4- * http://jqueryui.com- *- * Copyright 2014 jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/resizable/- *- * Depends:- * jquery.ui.core.js- * jquery.ui.mouse.js- * jquery.ui.widget.js- */-(function( $, undefined ) {--function num(v) {- return parseInt(v, 10) || 0;-}--function isNumber(value) {- return !isNaN(parseInt(value, 10));-}--$.widget("ui.resizable", $.ui.mouse, {- version: "1.10.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- },- _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)) {-- //Create a wrapper element and set the wrapper to the new current internal element- 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")- })- );-- //Overwrite the original this.element- this.element = this.element.parent().data(- "ui-resizable", this.element.data("ui-resizable")- );-- this.elementIsWrapper = true;-- //Move margins to the wrapper- 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});-- //Prevent Safari textarea resize- this.originalResizeStyle = this.originalElement.css("resize");- this.originalElement.css("resize", "none");-- //Push the actual element to our proportionallyResize internal array- this._proportionallyResizeElements.push(this.originalElement.css({ position: "static", zoom: 1, display: "block" }));-- // avoid IE jump (hard set the margin)- this.originalElement.css({ margin: this.originalElement.css("margin") });-- // fix handlers offset- 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" });- 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>");-- // Apply zIndex to all handles - see #7960- axis.css({ zIndex: o.zIndex });-- //TODO : What's going on here?- if ("se" === handle) {- axis.addClass("ui-icon ui-icon-gripsmall-diagonal-se");- }-- //Insert into internal handles object and append to element- 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.handles[i], this.element).show();- }-- //Apply pad to wrapper element, needed to fix axis position (textarea, inputs, scrolls)- if (this.elementIsWrapper && this.originalElement[0].nodeName.match(/textarea|input|select|button/i)) {-- axis = $(this.handles[i], this.element);-- //Checking the correct pad and border- padWrapper = /sw|ne|nw|se|n|s/.test(i) ? axis.outerHeight() : axis.outerWidth();-- //The padding type i have to apply...- 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();-- }-- //TODO: What's that good for? There's not anything to be executed left- if(!$(this.handles[i]).length) {- continue;- }- }- };-- //TODO: make renderAxis a prototype function- this._renderAxis(this.element);-- this._handles = $(".ui-resizable-handle", this.element)- .disableSelection();-- //Matching axis name- 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);- }- //Axis, default = se- that.axis = axis && axis[1] ? axis[1] : "se";- }- });-- //If we want to auto hide the elements- 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();- }- });- }-- //Initialize the mouse interaction- 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,- iniPos = this.element.position(),- el = this.element;-- this.resizing = true;-- // bugfix for http://dev.jquery.com/ticket/1749- if ( (/absolute/).test( el.css("position") ) ) {- el.css({ position: "absolute", top: el.css("top"), left: el.css("left") });- } else if (el.is(".ui-draggable")) {- el.css({ position: "absolute", top: iniPos.top, left: iniPos.left });- }-- this._renderProxy();-- curleft = num(this.helper.css("left"));- curtop = num(this.helper.css("top"));-- if (o.containment) {- curleft += $(o.containment).scrollLeft() || 0;- curtop += $(o.containment).scrollTop() || 0;- }-- //Store needed variables- 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.originalPosition = { left: curleft, top: curtop };- this.sizeDiff = { width: el.outerWidth() - el.width(), height: el.outerHeight() - el.height() };- this.originalMousePosition = { left: event.pageX, top: event.pageY };-- //Aspect Ratio- 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) {-- //Increase performance, avoid regex- var data,- el = this.helper, props = {},- smp = this.originalMousePosition,- a = this.axis,- prevTop = this.position.top,- prevLeft = this.position.left,- prevWidth = this.size.width,- prevHeight = this.size.height,- dx = (event.pageX-smp.left)||0,- dy = (event.pageY-smp.top)||0,- trigger = this._change[a];-- if (!trigger) {- return false;- }-- // Calculate the attrs that will be change- data = trigger.apply(this, [event, dx, dy]);-- // Put this in the mouseDrag handler since the user can start pressing shift while resizing- this._updateVirtualBoundaries(event.shiftKey);- if (this._aspectRatio || event.shiftKey) {- data = this._updateRatio(data, event);- }-- data = this._respectSize(data, event);-- this._updateCache(data);-- // plugins callbacks need to be called first- this._propagate("resize", event);-- if (this.position.top !== prevTop) {- props.top = this.position.top + "px";- }- if (this.position.left !== prevLeft) {- props.left = this.position.left + "px";- }- if (this.size.width !== prevWidth) {- props.width = this.size.width + "px";- }- if (this.size.height !== prevHeight) {- props.height = this.size.height + "px";- }- el.css(props);-- if (!this._helper && this._proportionallyResizeElements.length) {- this._proportionallyResize();- }-- // Call the user callback if the element was resized- if ( ! $.isEmptyObject(props) ) {- this._trigger("resize", event, this.ui());- }-- 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 && $.ui.hasScroll(pr[0], "left") /* TODO - jump height */ ? 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;-- },-- _updateVirtualBoundaries: function(forceAspectRatio) {- var pMinWidth, pMaxWidth, pMinHeight, pMaxHeight, b,- o = this.options;-- b = {- minWidth: isNumber(o.minWidth) ? o.minWidth : 0,- maxWidth: isNumber(o.maxWidth) ? o.maxWidth : Infinity,- minHeight: isNumber(o.minHeight) ? o.minHeight : 0,- maxHeight: isNumber(o.maxHeight) ? o.maxHeight : Infinity- };-- if(this._aspectRatio || forceAspectRatio) {- // We want to create an enclosing box whose aspect ration is the requested one- // First, compute the "projected" size for each dimension based on the aspect ratio and other dimension- 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 (isNumber(data.left)) {- this.position.left = data.left;- }- if (isNumber(data.top)) {- this.position.top = data.top;- }- if (isNumber(data.height)) {- this.size.height = data.height;- }- if (isNumber(data.width)) {- this.size.width = data.width;- }- },-- _updateRatio: function( data ) {-- var cpos = this.position,- csize = this.size,- a = this.axis;-- if (isNumber(data.height)) {- data.width = (data.height * this.aspectRatio);- } else if (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 = isNumber(data.width) && o.maxWidth && (o.maxWidth < data.width), ismaxh = isNumber(data.height) && o.maxHeight && (o.maxHeight < data.height),- isminw = isNumber(data.width) && o.minWidth && (o.minWidth > data.width), isminh = 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;- },-- _proportionallyResize: function() {-- if (!this._proportionallyResizeElements.length) {- return;- }-- var i, j, borders, paddings, prel,- element = this.helper || this.element;-- for ( i=0; i < this._proportionallyResizeElements.length; i++) {-- prel = this._proportionallyResizeElements[i];-- if (!this.borderDif) {- this.borderDif = [];- borders = [prel.css("borderTopWidth"), prel.css("borderRightWidth"), prel.css("borderBottomWidth"), prel.css("borderLeftWidth")];- paddings = [prel.css("paddingTop"), prel.css("paddingRight"), prel.css("paddingBottom"), prel.css("paddingLeft")];-- for ( j = 0; j < borders.length; j++ ) {- this.borderDif[ j ] = ( parseInt( borders[ j ], 10 ) || 0 ) + ( parseInt( paddings[ j ], 10 ) || 0 );- }- }-- prel.css({- height: (element.height() - this.borderDif[0] - this.borderDif[2]) || 0,- width: (element.width() - this.borderDif[1] - this.borderDif[3]) || 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).data("ui-resizable"),- o = that.options,- pr = that._proportionallyResizeElements,- ista = pr.length && (/textarea/i).test(pr[0].nodeName),- soffseth = ista && $.ui.hasScroll(pr[0], "left") /* TODO - jump height */ ? 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).data("ui-resizable"),- 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- };- }-- // i'm a node, so compute top, left, right, bottom- else {- element = $(ce);- p = [];- $([ "Top", "Right", "Left", "Bottom" ]).each(function(i, name) { p[i] = 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 = ($.ui.hasScroll(ce, "left") ? ce.scrollWidth : cw );- height = ($.ui.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).data("ui-resizable"),- o = that.options,- co = that.containerOffset, cp = that.position,- pRatio = that._aspectRatio || event.shiftKey,- cop = { top:0, left:0 }, ce = that.containerElement;-- 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;- }- 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;- }- that.position.top = that._helper ? co.top : 0;- }-- that.offset.left = that.parentData.left+that.position.left;- that.offset.top = that.parentData.top+that.position.top;-- woset = Math.abs( (that._helper ? that.offset.left - cop.left : (that.offset.left - cop.left)) + that.sizeDiff.width );- hoset = Math.abs( (that._helper ? that.offset.top - cop.top : (that.offset.top - co.top)) + that.sizeDiff.height );-- isParent = that.containerElement.get(0) === that.element.parent().get(0);- isOffsetRelative = /relative|absolute/.test(that.containerElement.css("position"));-- if ( isParent && isOffsetRelative ) {- woset -= Math.abs( that.parentData.left );- }-- 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;- }- }-- 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;- }- }- },-- stop: function(){- var that = $(this).data("ui-resizable"),- 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).data("ui-resizable"),- o = that.options,- _store = function (exp) {- $(exp).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)- });- });- };-- if (typeof(o.alsoResize) === "object" && !o.alsoResize.parentNode) {- if (o.alsoResize.length) { o.alsoResize = o.alsoResize[0]; _store(o.alsoResize); }- else { $.each(o.alsoResize, function (exp) { _store(exp); }); }- }else{- _store(o.alsoResize);- }- },-- resize: function (event, ui) {- var that = $(this).data("ui-resizable"),- 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- },-- _alsoResize = function (exp, c) {- $(exp).each(function() {- var el = $(this), start = $(this).data("ui-resizable-alsoresize"), style = {},- css = c && c.length ? c : 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);- });- };-- if (typeof(o.alsoResize) === "object" && !o.alsoResize.nodeType) {- $.each(o.alsoResize, function (exp, c) { _alsoResize(exp, c); });- }else{- _alsoResize(o.alsoResize);- }- },-- stop: function () {- $(this).removeData("resizable-alsoresize");- }-});--$.ui.plugin.add("resizable", "ghost", {-- start: function() {-- var that = $(this).data("ui-resizable"), 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).data("ui-resizable");- if (that.ghost) {- that.ghost.css({ position: "relative", height: that.size.height, width: that.size.width });- }- },-- stop: function() {- var that = $(this).data("ui-resizable");- if (that.ghost && that.helper) {- that.helper.get(0).removeChild(that.ghost.get(0));- }- }--});--$.ui.plugin.add("resizable", "grid", {-- resize: function() {- var that = $(this).data("ui-resizable"),- 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 = newWidth + gridX;- }- if (isMinHeight) {- newHeight = newHeight + gridY;- }- if (isMaxWidth) {- newWidth = newWidth - gridX;- }- if (isMaxHeight) {- newHeight = 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 ) {- that.size.height = newHeight;- that.position.top = op.top - oy;- } else {- that.size.height = gridY;- that.position.top = op.top + os.height - gridY;- }- if ( newWidth - gridX > 0 ) {- that.size.width = newWidth;- that.position.left = op.left - ox;- } else {- that.size.width = gridX;- that.position.left = op.left + os.width - gridX;- }- }- }--});--})(jQuery);diff --git a/data/libs/jqueryui/jquery.ui.selectable.js b/data/libs/jqueryui/jquery.ui.selectable.jsdeleted file mode 100644index 7f3c8a81b..000000000--- a/data/libs/jqueryui/jquery.ui.selectable.js+++ /dev/null@@ -1,277 +0,0 @@-/*!- * jQuery UI Selectable 1.10.4- * http://jqueryui.com- *- * Copyright 2014 jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/selectable/- *- * Depends:- * jquery.ui.core.js- * jquery.ui.mouse.js- * jquery.ui.widget.js- */-(function( $, undefined ) {--$.widget("ui.selectable", $.ui.mouse, {- version: "1.10.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);diff --git a/data/libs/jqueryui/jquery.ui.sortable.js b/data/libs/jqueryui/jquery.ui.sortable.jsdeleted file mode 100644index 45393e421..000000000--- a/data/libs/jqueryui/jquery.ui.sortable.js+++ /dev/null@@ -1,1289 +0,0 @@-/*!- * jQuery UI Sortable 1.10.4- * http://jqueryui.com- *- * Copyright 2014 jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/sortable/- *- * Depends:- * jquery.ui.core.js- * jquery.ui.mouse.js- * jquery.ui.widget.js- */-(function( $, undefined ) {--function isOverAxis( x, reference, size ) {- return ( x > reference ) && ( x < ( reference + size ) );-}--function isFloating(item) {- return (/left|right/).test(item.css("float")) || (/inline|table-cell/).test(item.css("display"));-}--$.widget("ui.sortable", $.ui.mouse, {- version: "1.10.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- },- _create: function() {-- var o = this.options;- this.containerCache = {};- this.element.addClass("ui-sortable");-- //Get the items- this.refresh();-- //Let's determine if the items are being displayed horizontally- this.floating = this.items.length ? o.axis === "x" || isFloating(this.items[0].item) : false;-- //Let's determine the parent's offset- this.offset = this.element.offset();-- //Initialize mouse events for interaction- this._mouseInit();-- //We're ready to go- this.ready = true;-- },-- _destroy: function() {- this.element- .removeClass("ui-sortable ui-sortable-disabled");- this._mouseDestroy();-- for ( var i = this.items.length - 1; i >= 0; i-- ) {- this.items[i].item.removeData(this.widgetName + "-item");- }-- return this;- },-- _setOption: function(key, value){- if ( key === "disabled" ) {- this.options[ key ] = value;-- this.widget().toggleClass( "ui-sortable-disabled", !!value );- } else {- // Don't call widget base _setOption for disable as it adds ui-state-disabled class- $.Widget.prototype._setOption.apply(this, arguments);- }- },-- _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] !== document && 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] !== document && 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 - $(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(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(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 beetween 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] === document.body ? 0 : this.offsetParent[0].scrollLeft);- }- if ( !axis || axis === "y" ) {- animation.top = cur.top - this.offset.parent.top - this.margins.top + (this.offsetParent[0] === document.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") || isOverAxis(this.positionAbs.top + this.offset.click.top, item.top, item.height),- isOverElementWidth = (this.options.axis === "y") || 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 = isOverAxis(this.positionAbs.top + this.offset.click.top, item.top + (item.height/2), item.height),- isOverRightHalf = 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.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]);- 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]);- 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) {-- //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 === "tr" ) {- that.currentItem.children().each(function() {- $( "<td> </td>", that.document[0] )- .attr( "colspan", $( this ).attr( "colspan" ) || 1 )- .appendTo( 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);-- },-- _contactContainers: function(event) {- var i, j, dist, itemWithLeastDistance, posProperty, sizeProperty, base, cur, nearBottom, floating,- 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 || isFloating(this.currentItem);- posProperty = floating ? "left" : "top";- sizeProperty = floating ? "width" : "height";- base = this.positionAbs[posProperty] + this.offset.click[posProperty];- 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;- }- if (floating && !isOverAxis(this.positionAbs.top + this.offset.click.top, this.items[j].top, this.items[j].height)) {- continue;- }- cur = this.items[j].item.offset()[posProperty];- nearBottom = false;- if(Math.abs(cur - base) > Math.abs(cur + this.items[j][sizeProperty] - base)){- nearBottom = true;- cur += this.items[j][sizeProperty];- }-- if(Math.abs(cur - base) < dist) {- dist = Math.abs(cur - base); 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]) {- 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] !== document && $.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] === document.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" ? document : window).width() - this.helperProportions.width - this.margins.left,- ($(o.containment === "document" ? document : window).height() || document.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] !== document && $.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] !== document && $.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] !== document && 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(this.cancelHelperRemoval) {- if(!noPropagation) {- this._trigger("beforeStop", event, this._uiHash());- 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 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.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 true;-- },-- _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);diff --git a/data/libs/jqueryui/jquery.ui.widget.js b/data/libs/jqueryui/jquery.ui.widget.jsdeleted file mode 100644index 1c0cbd173..000000000--- a/data/libs/jqueryui/jquery.ui.widget.js+++ /dev/null@@ -1,521 +0,0 @@-/*!- * jQuery UI Widget 1.10.4- * http://jqueryui.com- *- * Copyright 2014 jQuery Foundation and other contributors- * Released under the MIT license.- * http://jquery.org/license- *- * http://api.jqueryui.com/jQuery.widget/- */-(function( $, undefined ) {--var uuid = 0,- slice = Array.prototype.slice,- _cleanData = $.cleanData;-$.cleanData = function( elems ) {- for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {- try {- $( elem ).triggerHandler( "remove" );- // http://bugs.jquery.com/ticket/8235- } catch( e ) {}- }- _cleanData( elems );-};--$.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 );-};--$.widget.extend = function( target ) {- var input = 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 = slice.call( arguments, 1 ),- returnValue = this;-- // allow multiple hashes to be passed on init- options = !isMethodCall && args.length ?- $.widget.extend.apply( null, [ options ].concat(args) ) :- options;-- if ( isMethodCall ) {- this.each(function() {- var methodValue,- instance = $.data( this, fullName );- 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 {- this.each(function() {- var instance = $.data( this, fullName );- if ( instance ) {- instance.option( options || {} )._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 = uuid++;- this.eventNamespace = "." + this.widgetName + this.uuid;- this.options = $.widget.extend( {},- this.options,- this._getCreateOptions(),- options );-- 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._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 )- // 1.9 BC for #7810- // TODO remove dual storage- .removeData( this.widgetName )- .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 ui-state-disabled", !!value )- .attr( "aria-disabled", value );- this.hoverable.removeClass( "ui-state-hover" );- this.focusable.removeClass( "ui-state-focus" );- }-- return this;- },-- enable: function() {- return this._setOption( "disabled", false );- },- disable: function() {- return this._setOption( "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 {- // accept selectors, DOM elements- 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 );- },-- _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();- });- }- };-});--})( jQuery );diff --git a/data/libs/jszip/LICENSE.markdown b/data/libs/jszip/LICENSE.markdownnew file mode 100644index 000000000..c0b10c095--- /dev/null+++ b/data/libs/jszip/LICENSE.markdown@@ -0,0 +1,651 @@+JSZip is dual licensed. You may use it under the MIT license *or* the GPLv3+license.++The MIT License+===============++Copyright (c) 2009-2014 Stuart Knightley, David Duponchel, Franz Buchinger, António Afonso++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.+++GPL version 3+=============++ GNU GENERAL PUBLIC LICENSE+ Version 3, 29 June 2007++ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>+ Everyone is permitted to copy and distribute verbatim copies+ of this license document, but changing it is not allowed.++ Preamble++ The GNU General Public License is a free, copyleft license for+software and other kinds of works.++ The licenses for most software and other practical works are designed+to take away your freedom to share and change the works. By contrast,+the GNU General Public License is intended to guarantee your freedom to+share and change all versions of a program--to make sure it remains free+software for all its users. We, the Free Software Foundation, use the+GNU General Public License for most of our software; it applies also to+any other work released this way by its authors. You can apply it to+your programs, too.++ When we speak of free software, we are referring to freedom, not+price. Our General Public Licenses are designed to make sure that you+have the freedom to distribute copies of free software (and charge for+them if you wish), that you receive source code or can get it if you+want it, that you can change the software or use pieces of it in new+free programs, and that you know you can do these things.++ To protect your rights, we need to prevent others from denying you+these rights or asking you to surrender the rights. Therefore, you have+certain responsibilities if you distribute copies of the software, or if+you modify it: responsibilities to respect the freedom of others.++ For example, if you distribute copies of such a program, whether+gratis or for a fee, you must pass on to the recipients the same+freedoms that you received. You must make sure that they, too, receive+or can get the source code. And you must show them these terms so they+know their rights.++ Developers that use the GNU GPL protect your rights with two steps:+(1) assert copyright on the software, and (2) offer you this License+giving you legal permission to copy, distribute and/or modify it.++ For the developers' and authors' protection, the GPL clearly explains+that there is no warranty for this free software. For both users' and+authors' sake, the GPL requires that modified versions be marked as+changed, so that their problems will not be attributed erroneously to+authors of previous versions.++ Some devices are designed to deny users access to install or run+modified versions of the software inside them, although the manufacturer+can do so. This is fundamentally incompatible with the aim of+protecting users' freedom to change the software. The systematic+pattern of such abuse occurs in the area of products for individuals to+use, which is precisely where it is most unacceptable. Therefore, we+have designed this version of the GPL to prohibit the practice for those+products. If such problems arise substantially in other domains, we+stand ready to extend this provision to those domains in future versions+of the GPL, as needed to protect the freedom of users.++ Finally, every program is threatened constantly by software patents.+States should not allow patents to restrict development and use of+software on general-purpose computers, but in those that do, we wish to+avoid the special danger that patents applied to a free program could+make it effectively proprietary. To prevent this, the GPL assures that+patents cannot be used to render the program non-free.++ The precise terms and conditions for copying, distribution and+modification follow.++ TERMS AND CONDITIONS++ 0. Definitions.++ "This License" refers to version 3 of the GNU General Public License.++ "Copyright" also means copyright-like laws that apply to other kinds of+works, such as semiconductor masks.++ "The Program" refers to any copyrightable work licensed under this+License. Each licensee is addressed as "you". "Licensees" and+"recipients" may be individuals or organizations.++ To "modify" a work means to copy from or adapt all or part of the work+in a fashion requiring copyright permission, other than the making of an+exact copy. The resulting work is called a "modified version" of the+earlier work or a work "based on" the earlier work.++ A "covered work" means either the unmodified Program or a work based+on the Program.++ To "propagate" a work means to do anything with it that, without+permission, would make you directly or secondarily liable for+infringement under applicable copyright law, except executing it on a+computer or modifying a private copy. Propagation includes copying,+distribution (with or without modification), making available to the+public, and in some countries other activities as well.++ To "convey" a work means any kind of propagation that enables other+parties to make or receive copies. Mere interaction with a user through+a computer network, with no transfer of a copy, is not conveying.++ An interactive user interface displays "Appropriate Legal Notices"+to the extent that it includes a convenient and prominently visible+feature that (1) displays an appropriate copyright notice, and (2)+tells the user that there is no warranty for the work (except to the+extent that warranties are provided), that licensees may convey the+work under this License, and how to view a copy of this License. If+the interface presents a list of user commands or options, such as a+menu, a prominent item in the list meets this criterion.++ 1. Source Code.++ The "source code" for a work means the preferred form of the work+for making modifications to it. "Object code" means any non-source+form of a work.++ A "Standard Interface" means an interface that either is an official+standard defined by a recognized standards body, or, in the case of+interfaces specified for a particular programming language, one that+is widely used among developers working in that language.++ The "System Libraries" of an executable work include anything, other+than the work as a whole, that (a) is included in the normal form of+packaging a Major Component, but which is not part of that Major+Component, and (b) serves only to enable use of the work with that+Major Component, or to implement a Standard Interface for which an+implementation is available to the public in source code form. A+"Major Component", in this context, means a major essential component+(kernel, window system, and so on) of the specific operating system+(if any) on which the executable work runs, or a compiler used to+produce the work, or an object code interpreter used to run it.++ The "Corresponding Source" for a work in object code form means all+the source code needed to generate, install, and (for an executable+work) run the object code and to modify the work, including scripts to+control those activities. However, it does not include the work's+System Libraries, or general-purpose tools or generally available free+programs which are used unmodified in performing those activities but+which are not part of the work. For example, Corresponding Source+includes interface definition files associated with source files for+the work, and the source code for shared libraries and dynamically+linked subprograms that the work is specifically designed to require,+such as by intimate data communication or control flow between those+subprograms and other parts of the work.++ The Corresponding Source need not include anything that users+can regenerate automatically from other parts of the Corresponding+Source.++ The Corresponding Source for a work in source code form is that+same work.++ 2. Basic Permissions.++ All rights granted under this License are granted for the term of+copyright on the Program, and are irrevocable provided the stated+conditions are met. This License explicitly affirms your unlimited+permission to run the unmodified Program. The output from running a+covered work is covered by this License only if the output, given its+content, constitutes a covered work. This License acknowledges your+rights of fair use or other equivalent, as provided by copyright law.++ You may make, run and propagate covered works that you do not+convey, without conditions so long as your license otherwise remains+in force. You may convey covered works to others for the sole purpose+of having them make modifications exclusively for you, or provide you+with facilities for running those works, provided that you comply with+the terms of this License in conveying all material for which you do+not control copyright. Those thus making or running the covered works+for you must do so exclusively on your behalf, under your direction+and control, on terms that prohibit them from making any copies of+your copyrighted material outside their relationship with you.++ Conveying under any other circumstances is permitted solely under+the conditions stated below. Sublicensing is not allowed; section 10+makes it unnecessary.++ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.++ No covered work shall be deemed part of an effective technological+measure under any applicable law fulfilling obligations under article+11 of the WIPO copyright treaty adopted on 20 December 1996, or+similar laws prohibiting or restricting circumvention of such+measures.++ When you convey a covered work, you waive any legal power to forbid+circumvention of technological measures to the extent such circumvention+is effected by exercising rights under this License with respect to+the covered work, and you disclaim any intention to limit operation or+modification of the work as a means of enforcing, against the work's+users, your or third parties' legal rights to forbid circumvention of+technological measures.++ 4. Conveying Verbatim Copies.++ You may convey verbatim copies of the Program's source code as you+receive it, in any medium, provided that you conspicuously and+appropriately publish on each copy an appropriate copyright notice;+keep intact all notices stating that this License and any+non-permissive terms added in accord with section 7 apply to the code;+keep intact all notices of the absence of any warranty; and give all+recipients a copy of this License along with the Program.++ You may charge any price or no price for each copy that you convey,+and you may offer support or warranty protection for a fee.++ 5. Conveying Modified Source Versions.++ You may convey a work based on the Program, or the modifications to+produce it from the Program, in the form of source code under the+terms of section 4, provided that you also meet all of these conditions:++ a) The work must carry prominent notices stating that you modified+ it, and giving a relevant date.++ b) The work must carry prominent notices stating that it is+ released under this License and any conditions added under section+ 7. This requirement modifies the requirement in section 4 to+ "keep intact all notices".++ c) You must license the entire work, as a whole, under this+ License to anyone who comes into possession of a copy. This+ License will therefore apply, along with any applicable section 7+ additional terms, to the whole of the work, and all its parts,+ regardless of how they are packaged. This License gives no+ permission to license the work in any other way, but it does not+ invalidate such permission if you have separately received it.++ d) If the work has interactive user interfaces, each must display+ Appropriate Legal Notices; however, if the Program has interactive+ interfaces that do not display Appropriate Legal Notices, your+ work need not make them do so.++ A compilation of a covered work with other separate and independent+works, which are not by their nature extensions of the covered work,+and which are not combined with it such as to form a larger program,+in or on a volume of a storage or distribution medium, is called an+"aggregate" if the compilation and its resulting copyright are not+used to limit the access or legal rights of the compilation's users+beyond what the individual works permit. Inclusion of a covered work+in an aggregate does not cause this License to apply to the other+parts of the aggregate.++ 6. Conveying Non-Source Forms.++ You may convey a covered work in object code form under the terms+of sections 4 and 5, provided that you also convey the+machine-readable Corresponding Source under the terms of this License,+in one of these ways:++ a) Convey the object code in, or embodied in, a physical product+ (including a physical distribution medium), accompanied by the+ Corresponding Source fixed on a durable physical medium+ customarily used for software interchange.++ b) Convey the object code in, or embodied in, a physical product+ (including a physical distribution medium), accompanied by a+ written offer, valid for at least three years and valid for as+ long as you offer spare parts or customer support for that product+ model, to give anyone who possesses the object code either (1) a+ copy of the Corresponding Source for all the software in the+ product that is covered by this License, on a durable physical+ medium customarily used for software interchange, for a price no+ more than your reasonable cost of physically performing this+ conveying of source, or (2) access to copy the+ Corresponding Source from a network server at no charge.++ c) Convey individual copies of the object code with a copy of the+ written offer to provide the Corresponding Source. This+ alternative is allowed only occasionally and noncommercially, and+ only if you received the object code with such an offer, in accord+ with subsection 6b.++ d) Convey the object code by offering access from a designated+ place (gratis or for a charge), and offer equivalent access to the+ Corresponding Source in the same way through the same place at no+ further charge. You need not require recipients to copy the+ Corresponding Source along with the object code. If the place to+ copy the object code is a network server, the Corresponding Source+ may be on a different server (operated by you or a third party)+ that supports equivalent copying facilities, provided you maintain+ clear directions next to the object code saying where to find the+ Corresponding Source. Regardless of what server hosts the+ Corresponding Source, you remain obligated to ensure that it is+ available for as long as needed to satisfy these requirements.++ e) Convey the object code using peer-to-peer transmission, provided+ you inform other peers where the object code and Corresponding+ Source of the work are being offered to the general public at no+ charge under subsection 6d.++ A separable portion of the object code, whose source code is excluded+from the Corresponding Source as a System Library, need not be+included in conveying the object code work.++ A "User Product" is either (1) a "consumer product", which means any+tangible personal property which is normally used for personal, family,+or household purposes, or (2) anything designed or sold for incorporation+into a dwelling. In determining whether a product is a consumer product,+doubtful cases shall be resolved in favor of coverage. For a particular+product received by a particular user, "normally used" refers to a+typical or common use of that class of product, regardless of the status+of the particular user or of the way in which the particular user+actually uses, or expects or is expected to use, the product. A product+is a consumer product regardless of whether the product has substantial+commercial, industrial or non-consumer uses, unless such uses represent+the only significant mode of use of the product.++ "Installation Information" for a User Product means any methods,+procedures, authorization keys, or other information required to install+and execute modified versions of a covered work in that User Product from+a modified version of its Corresponding Source. The information must+suffice to ensure that the continued functioning of the modified object+code is in no case prevented or interfered with solely because+modification has been made.++ If you convey an object code work under this section in, or with, or+specifically for use in, a User Product, and the conveying occurs as+part of a transaction in which the right of possession and use of the+User Product is transferred to the recipient in perpetuity or for a+fixed term (regardless of how the transaction is characterized), the+Corresponding Source conveyed under this section must be accompanied+by the Installation Information. But this requirement does not apply+if neither you nor any third party retains the ability to install+modified object code on the User Product (for example, the work has+been installed in ROM).++ The requirement to provide Installation Information does not include a+requirement to continue to provide support service, warranty, or updates+for a work that has been modified or installed by the recipient, or for+the User Product in which it has been modified or installed. Access to a+network may be denied when the modification itself materially and+adversely affects the operation of the network or violates the rules and+protocols for communication across the network.++ Corresponding Source conveyed, and Installation Information provided,+in accord with this section must be in a format that is publicly+documented (and with an implementation available to the public in+source code form), and must require no special password or key for+unpacking, reading or copying.++ 7. Additional Terms.++ "Additional permissions" are terms that supplement the terms of this+License by making exceptions from one or more of its conditions.+Additional permissions that are applicable to the entire Program shall+be treated as though they were included in this License, to the extent+that they are valid under applicable law. If additional permissions+apply only to part of the Program, that part may be used separately+under those permissions, but the entire Program remains governed by+this License without regard to the additional permissions.++ When you convey a copy of a covered work, you may at your option+remove any additional permissions from that copy, or from any part of+it. (Additional permissions may be written to require their own+removal in certain cases when you modify the work.) You may place+additional permissions on material, added by you to a covered work,+for which you have or can give appropriate copyright permission.++ Notwithstanding any other provision of this License, for material you+add to a covered work, you may (if authorized by the copyright holders of+that material) supplement the terms of this License with terms:++ a) Disclaiming warranty or limiting liability differently from the+ terms of sections 15 and 16 of this License; or++ b) Requiring preservation of specified reasonable legal notices or+ author attributions in that material or in the Appropriate Legal+ Notices displayed by works containing it; or++ c) Prohibiting misrepresentation of the origin of that material, or+ requiring that modified versions of such material be marked in+ reasonable ways as different from the original version; or++ d) Limiting the use for publicity purposes of names of licensors or+ authors of the material; or++ e) Declining to grant rights under trademark law for use of some+ trade names, trademarks, or service marks; or++ f) Requiring indemnification of licensors and authors of that+ material by anyone who conveys the material (or modified versions of+ it) with contractual assumptions of liability to the recipient, for+ any liability that these contractual assumptions directly impose on+ those licensors and authors.++ All other non-permissive additional terms are considered "further+restrictions" within the meaning of section 10. If the Program as you+received it, or any part of it, contains a notice stating that it is+governed by this License along with a term that is a further+restriction, you may remove that term. If a license document contains+a further restriction but permits relicensing or conveying under this+License, you may add to a covered work material governed by the terms+of that license document, provided that the further restriction does+not survive such relicensing or conveying.++ If you add terms to a covered work in accord with this section, you+must place, in the relevant source files, a statement of the+additional terms that apply to those files, or a notice indicating+where to find the applicable terms.++ Additional terms, permissive or non-permissive, may be stated in the+form of a separately written license, or stated as exceptions;+the above requirements apply either way.++ 8. Termination.++ You may not propagate or modify a covered work except as expressly+provided under this License. Any attempt otherwise to propagate or+modify it is void, and will automatically terminate your rights under+this License (including any patent licenses granted under the third+paragraph of section 11).++ However, if you cease all violation of this License, then your+license from a particular copyright holder is reinstated (a)+provisionally, unless and until the copyright holder explicitly and+finally terminates your license, and (b) permanently, if the copyright+holder fails to notify you of the violation by some reasonable means+prior to 60 days after the cessation.++ Moreover, your license from a particular copyright holder is+reinstated permanently if the copyright holder notifies you of the+violation by some reasonable means, this is the first time you have+received notice of violation of this License (for any work) from that+copyright holder, and you cure the violation prior to 30 days after+your receipt of the notice.++ Termination of your rights under this section does not terminate the+licenses of parties who have received copies or rights from you under+this License. If your rights have been terminated and not permanently+reinstated, you do not qualify to receive new licenses for the same+material under section 10.++ 9. Acceptance Not Required for Having Copies.++ You are not required to accept this License in order to receive or+run a copy of the Program. Ancillary propagation of a covered work+occurring solely as a consequence of using peer-to-peer transmission+to receive a copy likewise does not require acceptance. However,+nothing other than this License grants you permission to propagate or+modify any covered work. These actions infringe copyright if you do+not accept this License. Therefore, by modifying or propagating a+covered work, you indicate your acceptance of this License to do so.++ 10. Automatic Licensing of Downstream Recipients.++ Each time you convey a covered work, the recipient automatically+receives a license from the original licensors, to run, modify and+propagate that work, subject to this License. You are not responsible+for enforcing compliance by third parties with this License.++ An "entity transaction" is a transaction transferring control of an+organization, or substantially all assets of one, or subdividing an+organization, or merging organizations. If propagation of a covered+work results from an entity transaction, each party to that+transaction who receives a copy of the work also receives whatever+licenses to the work the party's predecessor in interest had or could+give under the previous paragraph, plus a right to possession of the+Corresponding Source of the work from the predecessor in interest, if+the predecessor has it or can get it with reasonable efforts.++ You may not impose any further restrictions on the exercise of the+rights granted or affirmed under this License. For example, you may+not impose a license fee, royalty, or other charge for exercise of+rights granted under this License, and you may not initiate litigation+(including a cross-claim or counterclaim in a lawsuit) alleging that+any patent claim is infringed by making, using, selling, offering for+sale, or importing the Program or any portion of it.++ 11. Patents.++ A "contributor" is a copyright holder who authorizes use under this+License of the Program or a work on which the Program is based. The+work thus licensed is called the contributor's "contributor version".++ A contributor's "essential patent claims" are all patent claims+owned or controlled by the contributor, whether already acquired or+hereafter acquired, that would be infringed by some manner, permitted+by this License, of making, using, or selling its contributor version,+but do not include claims that would be infringed only as a+consequence of further modification of the contributor version. For+purposes of this definition, "control" includes the right to grant+patent sublicenses in a manner consistent with the requirements of+this License.++ Each contributor grants you a non-exclusive, worldwide, royalty-free+patent license under the contributor's essential patent claims, to+make, use, sell, offer for sale, import and otherwise run, modify and+propagate the contents of its contributor version.++ In the following three paragraphs, a "patent license" is any express+agreement or commitment, however denominated, not to enforce a patent+(such as an express permission to practice a patent or covenant not to+sue for patent infringement). To "grant" such a patent license to a+party means to make such an agreement or commitment not to enforce a+patent against the party.++ If you convey a covered work, knowingly relying on a patent license,+and the Corresponding Source of the work is not available for anyone+to copy, free of charge and under the terms of this License, through a+publicly available network server or other readily accessible means,+then you must either (1) cause the Corresponding Source to be so+available, or (2) arrange to deprive yourself of the benefit of the+patent license for this particular work, or (3) arrange, in a manner+consistent with the requirements of this License, to extend the patent+license to downstream recipients. "Knowingly relying" means you have+actual knowledge that, but for the patent license, your conveying the+covered work in a country, or your recipient's use of the covered work+in a country, would infringe one or more identifiable patents in that+country that you have reason to believe are valid.++ If, pursuant to or in connection with a single transaction or+arrangement, you convey, or propagate by procuring conveyance of, a+covered work, and grant a patent license to some of the parties+receiving the covered work authorizing them to use, propagate, modify+or convey a specific copy of the covered work, then the patent license+you grant is automatically extended to all recipients of the covered+work and works based on it.++ A patent license is "discriminatory" if it does not include within+the scope of its coverage, prohibits the exercise of, or is+conditioned on the non-exercise of one or more of the rights that are+specifically granted under this License. You may not convey a covered+work if you are a party to an arrangement with a third party that is+in the business of distributing software, under which you make payment+to the third party based on the extent of your activity of conveying+the work, and under which the third party grants, to any of the+parties who would receive the covered work from you, a discriminatory+patent license (a) in connection with copies of the covered work+conveyed by you (or copies made from those copies), or (b) primarily+for and in connection with specific products or compilations that+contain the covered work, unless you entered into that arrangement,+or that patent license was granted, prior to 28 March 2007.++ Nothing in this License shall be construed as excluding or limiting+any implied license or other defenses to infringement that may+otherwise be available to you under applicable patent law.++ 12. No Surrender of Others' Freedom.++ If conditions are imposed on you (whether by court order, agreement or+otherwise) that contradict the conditions of this License, they do not+excuse you from the conditions of this License. If you cannot convey a+covered work so as to satisfy simultaneously your obligations under this+License and any other pertinent obligations, then as a consequence you may+not convey it at all. For example, if you agree to terms that obligate you+to collect a royalty for further conveying from those to whom you convey+the Program, the only way you could satisfy both those terms and this+License would be to refrain entirely from conveying the Program.++ 13. Use with the GNU Affero General Public License.++ Notwithstanding any other provision of this License, you have+permission to link or combine any covered work with a work licensed+under version 3 of the GNU Affero General Public License into a single+combined work, and to convey the resulting work. The terms of this+License will continue to apply to the part which is the covered work,+but the special requirements of the GNU Affero General Public License,+section 13, concerning interaction through a network will apply to the+combination as such.++ 14. Revised Versions of this License.++ The Free Software Foundation may publish revised and/or new versions of+the GNU General Public License from time to time. Such new versions will+be similar in spirit to the present version, but may differ in detail to+address new problems or concerns.++ Each version is given a distinguishing version number. If the+Program specifies that a certain numbered version of the GNU General+Public License "or any later version" applies to it, you have the+option of following the terms and conditions either of that numbered+version or of any later version published by the Free Software+Foundation. If the Program does not specify a version number of the+GNU General Public License, you may choose any version ever published+by the Free Software Foundation.++ If the Program specifies that a proxy can decide which future+versions of the GNU General Public License can be used, that proxy's+public statement of acceptance of a version permanently authorizes you+to choose that version for the Program.++ Later license versions may give you additional or different+permissions. However, no additional obligations are imposed on any+author or copyright holder as a result of your choosing to follow a+later version.++ 15. Disclaimer of Warranty.++ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.++ 16. Limitation of Liability.++ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF+SUCH DAMAGES.++ 17. Interpretation of Sections 15 and 16.++ If the disclaimer of warranty and limitation of liability provided+above cannot be given local legal effect according to their terms,+reviewing courts shall apply local law that most closely approximates+an absolute waiver of all civil liability in connection with the+Program, unless a warranty or assumption of liability accompanies a+copy of the Program in return for a fee.++ END OF TERMS AND CONDITIONSdiff --git a/data/libs/jszip/LICENSE[MIT].txt b/data/libs/jszip/LICENSE[MIT].txtdeleted file mode 100755index bf43e4b7c..000000000--- a/data/libs/jszip/LICENSE[MIT].txt+++ /dev/null@@ -1,22 +0,0 @@-The MIT License-===============--Copyright (c) 2009-2014 Stuart Knightley, David Duponchel, Franz Buchinger, António Afonso--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.\ No newline at end of filediff --git a/data/libs/jszip/jszip.min.js b/data/libs/jszip/dist/jszip.min.jsold mode 100755new mode 100644similarity index 100%rename from data/libs/jszip/jszip.min.jsrename to data/libs/jszip/dist/jszip.min.jsdiff --git a/data/libs/mousetrap/mousetrap-global-bind.js b/data/libs/mousetrap/mousetrap-global-bind.jsdeleted file mode 100644index 022ceb71d..000000000--- a/data/libs/mousetrap/mousetrap-global-bind.js+++ /dev/null@@ -1,36 +0,0 @@-/**- * adds a bindGlobal method to Mousetrap that allows you to- * bind specific keyboard shortcuts that will still work- * inside a text input field- *- * usage:- * Mousetrap.bindGlobal('ctrl+s', _saveChanges);- */-/* global Mousetrap:true */-Mousetrap = (function(Mousetrap) {- var _globalCallbacks = {},- _originalStopCallback = Mousetrap.stopCallback;-- Mousetrap.stopCallback = function(e, element, combo, sequence) {- if (_globalCallbacks[combo] || _globalCallbacks[sequence]) {- return false;- }-- return _originalStopCallback(e, element, combo);- };-- Mousetrap.bindGlobal = function(keys, callback, action) {- Mousetrap.bind(keys, callback, action);-- if (keys instanceof Array) {- for (var i = 0; i < keys.length; i++) {- _globalCallbacks[keys[i]] = true;- }- return;- }-- _globalCallbacks[keys] = true;- };-- return Mousetrap;-}) (Mousetrap);diff --git a/data/libs/mousetrap/mousetrap.min.js b/data/libs/mousetrap/mousetrap.min.jsindex 114a22235..291aff8d5 100644--- a/data/libs/mousetrap/mousetrap.min.js+++ b/data/libs/mousetrap/mousetrap.min.js@@ -1,9 +1,11 @@-/* mousetrap v1.4.6 craig.is/killing/mice */-(function(J,r,f){function s(a,b,d){a.addEventListener?a.addEventListener(b,d,!1):a.attachEvent("on"+b,d)}function A(a){if("keypress"==a.type){var b=String.fromCharCode(a.which);a.shiftKey||(b=b.toLowerCase());return b}return h[a.which]?h[a.which]:B[a.which]?B[a.which]:String.fromCharCode(a.which).toLowerCase()}function t(a){a=a||{};var b=!1,d;for(d in n)a[d]?b=!0:n[d]=0;b||(u=!1)}function C(a,b,d,c,e,v){var g,k,f=[],h=d.type;if(!l[a])return[];"keyup"==h&&w(a)&&(b=[a]);for(g=0;g<l[a].length;++g)if(k=-l[a][g],!(!c&&k.seq&&n[k.seq]!=k.level||h!=k.action||("keypress"!=h||d.metaKey||d.ctrlKey)&&b.sort().join(",")!==k.modifiers.sort().join(","))){var m=c&&k.seq==c&&k.level==v;(!c&&k.combo==e||m)&&l[a].splice(g,1);f.push(k)}return f}function K(a){var b=[];a.shiftKey&&b.push("shift");a.altKey&&b.push("alt");a.ctrlKey&&b.push("ctrl");a.metaKey&&b.push("meta");return b}function x(a,b,d,c){m.stopCallback(b,b.target||b.srcElement,d,c)||!1!==a(b,d)||(b.preventDefault?b.preventDefault():b.returnValue=!1,b.stopPropagation?-b.stopPropagation():b.cancelBubble=!0)}function y(a){"number"!==typeof a.which&&(a.which=a.keyCode);var b=A(a);b&&("keyup"==a.type&&z===b?z=!1:m.handleKey(b,K(a),a))}function w(a){return"shift"==a||"ctrl"==a||"alt"==a||"meta"==a}function L(a,b,d,c){function e(b){return function(){u=b;++n[a];clearTimeout(D);D=setTimeout(t,1E3)}}function v(b){x(d,b,a);"keyup"!==c&&(z=A(b));setTimeout(t,10)}for(var g=n[a]=0;g<b.length;++g){var f=g+1===b.length?v:e(c||E(b[g+1]).action);F(b[g],f,c,a,g)}}function E(a,b){var d,-c,e,f=[];d="+"===a?["+"]:a.split("+");for(e=0;e<d.length;++e)c=d[e],G[c]&&(c=G[c]),b&&"keypress"!=b&&H[c]&&(c=H[c],f.push("shift")),w(c)&&f.push(c);d=c;e=b;if(!e){if(!p){p={};for(var g in h)95<g&&112>g||h.hasOwnProperty(g)&&(p[h[g]]=g)}e=p[d]?"keydown":"keypress"}"keypress"==e&&f.length&&(e="keydown");return{key:c,modifiers:f,action:e}}function F(a,b,d,c,e){q[a+":"+d]=b;a=a.replace(/\s+/g," ");var f=a.split(" ");1<f.length?L(a,f,b,d):(d=E(a,d),l[d.key]=l[d.key]||[],C(d.key,d.modifiers,{type:d.action},-c,a,e),l[d.key][c?"unshift":"push"]({callback:b,modifiers:d.modifiers,action:d.action,seq:c,level:e,combo:a}))}var h={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},B={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},H={"~":"`","!":"1",-"@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},G={option:"alt",command:"meta","return":"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},p,l={},q={},n={},D,z=!1,I=!1,u=!1;for(f=1;20>f;++f)h[111+f]="f"+f;for(f=0;9>=f;++f)h[f+96]=f;s(r,"keypress",y);s(r,"keydown",y);s(r,"keyup",y);var m={bind:function(a,b,d){a=a instanceof Array?a:[a];for(var c=0;c<a.length;++c)F(a[c],b,d);return this},-unbind:function(a,b){return m.bind(a,function(){},b)},trigger:function(a,b){if(q[a+":"+b])q[a+":"+b]({},a);return this},reset:function(){l={};q={};return this},stopCallback:function(a,b){return-1<(" "+b.className+" ").indexOf(" mousetrap ")?!1:"INPUT"==b.tagName||"SELECT"==b.tagName||"TEXTAREA"==b.tagName||b.isContentEditable},handleKey:function(a,b,d){var c=C(a,b,d),e;b={};var f=0,g=!1;for(e=0;e<c.length;++e)c[e].seq&&(f=Math.max(f,c[e].level));for(e=0;e<c.length;++e)c[e].seq?c[e].level==f&&(g=!0,-b[c[e].seq]=1,x(c[e].callback,d,c[e].combo,c[e].seq)):g||x(c[e].callback,d,c[e].combo);c="keypress"==d.type&&I;d.type!=u||w(a)||c||t(b);I=g&&"keydown"==d.type}};J.Mousetrap=m;"function"===typeof define&&define.amd&&define(m)})(window,document);+/* mousetrap v1.5.3 craig.is/killing/mice */+(function(C,r,g){function t(a,b,h){a.addEventListener?a.addEventListener(b,h,!1):a.attachEvent("on"+b,h)}function x(a){if("keypress"==a.type){var b=String.fromCharCode(a.which);a.shiftKey||(b=b.toLowerCase());return b}return l[a.which]?l[a.which]:p[a.which]?p[a.which]:String.fromCharCode(a.which).toLowerCase()}function D(a){var b=[];a.shiftKey&&b.push("shift");a.altKey&&b.push("alt");a.ctrlKey&&b.push("ctrl");a.metaKey&&b.push("meta");return b}function u(a){return"shift"==a||"ctrl"==a||"alt"==a||+"meta"==a}function y(a,b){var h,c,e,g=[];h=a;"+"===h?h=["+"]:(h=h.replace(/\+{2}/g,"+plus"),h=h.split("+"));for(e=0;e<h.length;++e)c=h[e],z[c]&&(c=z[c]),b&&"keypress"!=b&&A[c]&&(c=A[c],g.push("shift")),u(c)&&g.push(c);h=c;e=b;if(!e){if(!k){k={};for(var m in l)95<m&&112>m||l.hasOwnProperty(m)&&(k[l[m]]=m)}e=k[h]?"keydown":"keypress"}"keypress"==e&&g.length&&(e="keydown");return{key:c,modifiers:g,action:e}}function B(a,b){return null===a||a===r?!1:a===b?!0:B(a.parentNode,b)}function c(a){function b(a){a=+a||{};var b=!1,n;for(n in q)a[n]?b=!0:q[n]=0;b||(v=!1)}function h(a,b,n,f,c,h){var g,e,l=[],m=n.type;if(!d._callbacks[a])return[];"keyup"==m&&u(a)&&(b=[a]);for(g=0;g<d._callbacks[a].length;++g)if(e=d._callbacks[a][g],(f||!e.seq||q[e.seq]==e.level)&&m==e.action){var k;(k="keypress"==m&&!n.metaKey&&!n.ctrlKey)||(k=e.modifiers,k=b.sort().join(",")===k.sort().join(","));k&&(k=f&&e.seq==f&&e.level==h,(!f&&e.combo==c||k)&&d._callbacks[a].splice(g,1),l.push(e))}return l}function g(a,b,n,f){d.stopCallback(b,+b.target||b.srcElement,n,f)||!1!==a(b,n)||(b.preventDefault?b.preventDefault():b.returnValue=!1,b.stopPropagation?b.stopPropagation():b.cancelBubble=!0)}function e(a){"number"!==typeof a.which&&(a.which=a.keyCode);var b=x(a);b&&("keyup"==a.type&&w===b?w=!1:d.handleKey(b,D(a),a))}function l(a,c,n,f){function e(c){return function(){v=c;++q[a];clearTimeout(k);k=setTimeout(b,1E3)}}function h(c){g(n,c,a);"keyup"!==f&&(w=x(c));setTimeout(b,10)}for(var d=q[a]=0;d<c.length;++d){var p=d+1===c.length?h:e(f||+y(c[d+1]).action);m(c[d],p,f,a,d)}}function m(a,b,c,f,e){d._directMap[a+":"+c]=b;a=a.replace(/\s+/g," ");var g=a.split(" ");1<g.length?l(a,g,b,c):(c=y(a,c),d._callbacks[c.key]=d._callbacks[c.key]||[],h(c.key,c.modifiers,{type:c.action},f,a,e),d._callbacks[c.key][f?"unshift":"push"]({callback:b,modifiers:c.modifiers,action:c.action,seq:f,level:e,combo:a}))}var d=this;a=a||r;if(!(d instanceof c))return new c(a);d.target=a;d._callbacks={};d._directMap={};var q={},k,w=!1,p=!1,v=!1;d._handleKey=function(a,+c,e){var f=h(a,c,e),d;c={};var k=0,l=!1;for(d=0;d<f.length;++d)f[d].seq&&(k=Math.max(k,f[d].level));for(d=0;d<f.length;++d)f[d].seq?f[d].level==k&&(l=!0,c[f[d].seq]=1,g(f[d].callback,e,f[d].combo,f[d].seq)):l||g(f[d].callback,e,f[d].combo);f="keypress"==e.type&&p;e.type!=v||u(a)||f||b(c);p=l&&"keydown"==e.type};d._bindMultiple=function(a,b,c){for(var d=0;d<a.length;++d)m(a[d],b,c)};t(a,"keypress",e);t(a,"keydown",e);t(a,"keyup",e)}var l={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",+20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},p={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},A={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},z={option:"alt",command:"meta","return":"enter",+escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},k;for(g=1;20>g;++g)l[111+g]="f"+g;for(g=0;9>=g;++g)l[g+96]=g;c.prototype.bind=function(a,b,c){a=a instanceof Array?a:[a];this._bindMultiple.call(this,a,b,c);return this};c.prototype.unbind=function(a,b){return this.bind.call(this,a,function(){},b)};c.prototype.trigger=function(a,b){if(this._directMap[a+":"+b])this._directMap[a+":"+b]({},a);return this};c.prototype.reset=function(){this._callbacks={};this._directMap=+{};return this};c.prototype.stopCallback=function(a,b){return-1<(" "+b.className+" ").indexOf(" mousetrap ")||B(b,this.target)?!1:"INPUT"==b.tagName||"SELECT"==b.tagName||"TEXTAREA"==b.tagName||b.isContentEditable};c.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)};c.init=function(){var a=c(r),b;for(b in a)"_"!==b.charAt(0)&&(c[b]=function(b){return function(){return a[b].apply(a,arguments)}}(b))};c.init();C.Mousetrap=c;"undefined"!==typeof module&&module.exports&&(module.exports=+c);"function"===typeof define&&define.amd&&define(function(){return c})})(window,document);diff --git a/data/libs/mousetrap/plugins/bind-dictionary/mousetrap-bind-dictionary.min.js b/data/libs/mousetrap/plugins/bind-dictionary/mousetrap-bind-dictionary.min.jsnew file mode 100644index 000000000..bf9d8d00c--- /dev/null+++ b/data/libs/mousetrap/plugins/bind-dictionary/mousetrap-bind-dictionary.min.js@@ -0,0 +1 @@+(function(b){var c=b.prototype.bind,a;b.prototype.bind=function(){a=arguments;if("string"==typeof a[0]||a[0]instanceof Array)return c.call(this,a[0],a[1],a[2]);for(var b in a[0])a[0].hasOwnProperty(b)&&c.call(this,b,a[0][b],a[1])};b.init()})(Mousetrap);diff --git a/data/libs/mousetrap/plugins/global-bind/mousetrap-global-bind.min.js b/data/libs/mousetrap/plugins/global-bind/mousetrap-global-bind.min.jsnew file mode 100644index 000000000..073ce6701--- /dev/null+++ b/data/libs/mousetrap/plugins/global-bind/mousetrap-global-bind.min.js@@ -0,0 +1 @@+(function(a){var c={},d=a.prototype.stopCallback;a.prototype.stopCallback=function(e,b,a,f){return this.paused?!0:c[a]||c[f]?!1:d.call(this,e,b,a)};a.prototype.bindGlobal=function(a,b,d){this.bind(a,b,d);if(a instanceof Array)for(b=0;b<a.length;b++)c[a[b]]=!0;else c[a]=!0};a.init()})(Mousetrap);diff --git a/data/libs/noty/jquery.noty.packaged.min.js b/data/libs/noty/js/noty/packaged/jquery.noty.packaged.min.jssimilarity index 100%rename from data/libs/noty/jquery.noty.packaged.min.jsrename to data/libs/noty/js/noty/packaged/jquery.noty.packaged.min.jsdiff --git a/data/libs/rasterizeHTML/rasterizeHTML.allinone.js b/data/libs/rasterizeHTML/rasterizeHTML.allinone.jsdeleted file mode 100644index e659fd483..000000000--- a/data/libs/rasterizeHTML/rasterizeHTML.allinone.js+++ /dev/null@@ -1,15 +0,0 @@-/*! rasterizeHTML.js - v1.2.0 - 2015-10-05-* http://www.github.com/cburgmer/rasterizeHTML.js-* Copyright (c) 2015 Christoph Burgmer; Licensed MIT */-/* Integrated dependencies:- * url (MIT License),- * css-mediaquery (BSD License),- * CSSOM.js (MIT License),- * ayepromise (BSD License & WTFPL),- * xmlserializer (MIT License),- * sane-domparser-error (BSD License),- * css-font-face-src (BSD License),- * inlineresources (MIT License) */-!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.rasterizeHTML=a()}}(function(){var a;return function b(a,c,d){function e(g,h){if(!c[g]){if(!a[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:{}};a[g][0].call(j.exports,function(b){var c=a[g][1][b];return e(c?c:b)},j,j.exports,b,a,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(b,c,d){!function(e,f){"function"==typeof a&&a.amd?a(["url","cssMediaQuery","xmlserializer","sanedomparsererror","ayepromise","inlineresources"],function(a,b,c,d,g,h){return e.rasterizeHTML=f(a,b,c,d,g,h)}):"object"==typeof d?c.exports=f(b("url"),b("css-mediaquery"),b("xmlserializer"),b("sane-domparser-error"),b("ayepromise"),b("inlineresources")):e.rasterizeHTML=f(url,cssMediaQuery,xmlserializer,sanedomparsererror,ayepromise,inlineresources)}(this,function(a,b,c,d,e,f){var g=function(a){"use strict";var b={},c=[];b.joinUrl=function(b,c){return b?a.resolve(b,c):c},b.getConstantUniqueIdFor=function(a){return c.indexOf(a)<0&&c.push(a),c.indexOf(a)},b.clone=function(a){var b,c={};for(b in a)a.hasOwnProperty(b)&&(c[b]=a[b]);return c};var d=function(a){return"object"==typeof a&&null!==a},e=function(a){return d(a)&&Object.prototype.toString.apply(a).match(/\[object (Canvas|HTMLCanvasElement)\]/i)};return b.parseOptionalParameters=function(a){var c={canvas:null,options:{}};return null==a[0]||e(a[0])?(c.canvas=a[0]||null,c.options=b.clone(a[1])):c.options=b.clone(a[0]),c},b}(a),h=function(a,b){"use strict";var c={},d=function(a,b,c){var d=a[b];return a[b]=function(){var a=Array.prototype.slice.call(arguments);return c.apply(this,[a,d])},d};return c.baseUrlRespectingXhr=function(b,c){var e=function(){var e=new b;return d(e,"open",function(b,d){var e=b.shift(),f=b.shift(),g=a.joinUrl(c,f);return d.apply(this,[e,g].concat(b))}),e};return e},c.finishNotifyingXhr=function(a){var c=0,e=0,f=!1,g=b.defer(),h=function(){var a=c-e;0>=a&&f&&g.resolve({totalCount:c})},i=function(){var b=new a;return d(b,"send",function(a,b){return c+=1,b.apply(this,arguments)}),b.addEventListener("load",function(){e+=1,h()}),b};return i.waitForRequestsToFinish=function(){return f=!0,h(),g.promise},i},c}(g,e),i=function(){"use strict";var a={},b=function(a){return Array.prototype.slice.call(a)};a.addClassName=function(a,b){a.className+=" "+b},a.addClassNameRecursively=function(b,c){a.addClassName(b,c),b.parentNode!==b.ownerDocument&&a.addClassNameRecursively(b.parentNode,c)};var c=function(a,c){var d=a.parentStyleSheet,e=b(d.cssRules).indexOf(a);d.insertRule(c,e+1),d.deleteRule(e)},d=function(a,b){var d=a.cssText.replace(/^[^\{]+/,""),e=b+" "+d;c(a,e)},e=function(a){return b(a).reduce(function(a,b){return a+b.cssText},"")},f=function(a){a.textContent=e(a.sheet.cssRules)},g=function(a){return"((?:^|[^.#:\\w])|(?=\\W))("+a.join("|")+")(?=\\W|$)"},h=function(a,c,e){var h=g(c);b(a.querySelectorAll("style")).forEach(function(a){var c=b(a.sheet.cssRules).filter(function(a){return a.selectorText&&new RegExp(h,"i").test(a.selectorText)});c.length&&(c.forEach(function(a){var b=a.selectorText.replace(new RegExp(h,"gi"),function(a,b,c){return b+e(c)});b!==a.selectorText&&d(a,b)}),f(a))})};return a.rewriteCssSelectorWith=function(a,b,c){h(a,[b],function(){return c})},a.lowercaseCssTypeSelectors=function(a,b){h(a,b,function(a){return a.toLowerCase()})},a.findHtmlOnlyNodeNames=function(a){for(var b,c=a.createTreeWalker(a,NodeFilter.SHOW_ELEMENT),d={},e={};c.nextNode();)b=c.currentNode.tagName.toLowerCase(),"http://www.w3.org/1999/xhtml"===c.currentNode.namespaceURI?d[b]=!0:e[b]=!0;return Object.keys(d).filter(function(a){return!e[a]})},a}(),j=function(a){"use strict";var b={},c=function(a){return Array.prototype.slice.call(a)},d={active:!0,hover:!0,focus:!1,target:!1};return b.fakeUserAction=function(b,c,e){var f=b.querySelector(c),g=":"+e,h="rasterizehtml"+e;f&&(d[e]?a.addClassNameRecursively(f,h):a.addClassName(f,h),a.rewriteCssSelectorWith(b,g,"."+h))},b.persistInputValues=function(a){var b=a.querySelectorAll("input"),d=a.querySelectorAll("textarea"),e=function(a){return"checkbox"===a.type||"radio"===a.type};c(b).filter(e).forEach(function(a){a.checked?a.setAttribute("checked",""):a.removeAttribute("checked")}),c(b).filter(function(a){return!e(a)}).forEach(function(a){a.setAttribute("value",a.value)}),c(d).forEach(function(a){a.textContent=a.value})},b.rewriteTagNameSelectorsToLowerCase=function(b){a.lowercaseCssTypeSelectors(b,a.findHtmlOnlyNodeNames(b))},b}(i),k=function(a){"use strict";var b,c={},d=function(){var a='<svg id="svg" xmlns="http://www.w3.org/2000/svg" width="10" height="10"><style>@media (max-width: 1em) { svg { background: #00f; } }</style></svg>',b="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(a),c=document.createElement("img");return c.src=b,c},f=function(a,b,c,d){var e=document.createElement("canvas");e.width=a.width,e.height=a.height;var f,g=e.getContext("2d");return g.drawImage(a,0,0),f=g.getImageData(0,0,1,1).data,f[0]===b&&f[1]===c&&f[2]===d},g=function(){var a=d(),b=e.defer();return document.querySelector("body").appendChild(a),a.onload=function(){document.querySelector("body").removeChild(a);try{b.resolve(!f(a,0,0,255))}catch(c){b.resolve(!0)}},a.onerror=function(){b.reject()},b.promise};c.needsEmWorkaround=function(){return void 0===b&&(b=g()),b};var h=function(a){return Array.prototype.slice.call(a)},i=function(a){return h(a).map(function(a){return a.cssText}).join("\n")},j=function(a,b){return"@media "+a+"{"+i(b)+"}"},k=function(a,b,c){try{a.insertRule(c,b+1)}catch(d){return}a.deleteRule(b)},l=function(a,b){var c=a.parentStyleSheet,d=h(c.cssRules).indexOf(a);k(c,d,b)},m=function(a){a.textContent=i(a.sheet.cssRules)},n=function(a){var b=a.modifier?a.modifier+"-"+a.feature:a.feature;return a.value?"("+b+": "+a.value+")":"("+b+")"},o=function(a){var b=[];return a.inverse&&b.push("not"),b.push(a.type),a.expressions.length>0&&b.push("and "+a.expressions.map(n).join(" and ")),b.join(" ")};c.serializeQuery=function(a){var b=a.map(o);return b.join(", ")};var p=function(a){return 16*a},q=function(a){var b=/^((?:\d+\.)?\d+)em/.exec(a);return b?p(parseFloat(b[1]))+"px":a},r=function(b){var d=a.parse(b),e=!1;return d.forEach(function(a){a.expressions.forEach(function(a){var b=q(a.value);e|=b!==a.value,a.value=b})}),e?c.serializeQuery(d):void 0},s=function(a){var b=!1;return a.forEach(function(a){var c=r(a.media.mediaText);c&&l(a,j(c,a.cssRules)),b|=!!c}),b};return c.workAroundWebKitEmSizeIssue=function(a){var b=a.querySelectorAll("style");h(b).forEach(function(a){var b=h(a.sheet.cssRules).filter(function(a){return a.type===window.CSSRule.MEDIA_RULE}),c=s(b);c&&m(a)})},c}(b),l=function(a,b,c,d,e){"use strict";var f={},g=function(a,b,c,d){var e=a.createElement(b);return e.style.visibility="hidden",e.style.width=c+"px",e.style.height=d+"px",e.style.position="absolute",e.style.top=-1e4-d+"px",e.style.left=-1e4-c+"px",a.getElementsByTagName("body")[0].appendChild(e),e};f.executeJavascript=function(a,d){var f=g(e.document,"iframe",d.width,d.height),h=a.documentElement.outerHTML,i=[],j=c.defer(),k=d.executeJsTimeout||0,l=function(){var a=f.contentDocument;e.document.getElementsByTagName("body")[0].removeChild(f),j.resolve({document:a,errors:i})},m=function(){var a=c.defer();return k>0?setTimeout(a.resolve,k):a.resolve(),a.promise};f.onload=function(){m().then(o.waitForRequestsToFinish).then(l)};var n=f.contentWindow.XMLHttpRequest,o=b.finishNotifyingXhr(n),p=b.baseUrlRespectingXhr(o,d.baseUrl);return f.contentDocument.open(),f.contentWindow.XMLHttpRequest=p,f.contentWindow.onerror=function(a){i.push({resourceType:"scriptExecution",msg:a})},f.contentDocument.write("<!DOCTYPE html>"),f.contentDocument.write(h),f.contentDocument.close(),j.promise};var h=function(a,b,c){var d=a.createElement("iframe");return d.style.width=b+"px",d.style.height=c+"px",d.style.visibility="hidden",d.style.position="absolute",d.style.top=-1e4-c+"px",d.style.left=-1e4-b+"px",d.sandbox="allow-same-origin",d.scrolling="no",d},i=function(a,b,c){var d=Math.floor(a/c),f=Math.floor(b/c);return h(e.document,d,f)},j=function(a,b,c,d){return{width:Math.max(a.width*d,b),height:Math.max(a.height*d,c)}},k=function(a,b,c,d,f){var g,h,i,k,l,m,n,o,p=Math.max(a.documentElement.scrollWidth,a.body.clientWidth),q=Math.max(a.documentElement.scrollHeight,a.body.scrollHeight,a.body.clientHeight);if(b){if(m=a.querySelector(b),!m)throw{message:"Clipping selector not found"};n=m.getBoundingClientRect(),g=n.top,h=n.left,i=n.width,k=n.height}else g=0,h=0,i=p,k=q;return o=j({width:i,height:k},c,d,f),l=e.getComputedStyle(a.documentElement).fontSize,{left:h,top:g,width:o.width,height:o.height,viewportWidth:p,viewportHeight:q,rootFontSize:l}};f.calculateDocumentContentSize=function(a,b){var d,f=a.documentElement.outerHTML,g=c.defer(),h=b.zoom||1;return d=i(b.width,b.height,h),e.document.getElementsByTagName("body")[0].appendChild(d),d.onload=function(){var a,c=d.contentDocument;try{a=k(c,b.clip,b.width,b.height,h),g.resolve(a)}catch(f){g.reject(f)}finally{e.document.getElementsByTagName("body")[0].removeChild(d)}},d.contentDocument.open(),d.contentDocument.write("<!DOCTYPE html>"),d.contentDocument.write(f),d.contentDocument.close(),g.promise};var l=function(a,b){var c,d,f,g,h=/<html((?:\s+[^>]*)?)>/im.exec(b),i=e.document.implementation.createHTMLDocument("");if(h)for(c="<div"+h[1]+"></div>",i.documentElement.innerHTML=c,f=i.querySelector("div"),d=0;d<f.attributes.length;d++)g=f.attributes[d],a.documentElement.setAttribute(g.name,g.value)};f.parseHTML=function(a){var b=e.document.implementation.createHTMLDocument("");return b.documentElement.innerHTML=a,l(b,a),b};var m=function(a){try{return d.failOnParseError(a)}catch(b){throw{message:"Invalid source",originalError:b}}};f.validateXHTML=function(a){var b=new DOMParser,c=b.parseFromString(a,"application/xml");m(c)};var n=null,o=function(a,b){return"none"===b||"repeated"===b?((null===n||"repeated"!==b)&&(n=Date.now()),a+"?_="+n):a},p=function(b,d){var e=new window.XMLHttpRequest,f=a.joinUrl(d.baseUrl,b),g=o(f,d.cache),h=c.defer(),i=function(a){h.reject({message:"Unable to load page",originalError:a})};e.addEventListener("load",function(){200===e.status||0===e.status?h.resolve(e.responseXML):i(e.statusText)},!1),e.addEventListener("error",function(a){i(a)},!1);try{e.open("GET",g,!0),e.responseType="document",e.send(null)}catch(j){i(j)}return h.promise};return f.loadDocument=function(a,b){return p(a,b).then(function(a){return m(a)})},f}(g,h,e,d,window),m=function(a,b){"use strict";var c,d={},e=function(a,b){return b?URL.createObjectURL(new Blob([a],{type:"image/svg+xml"})):"data:image/svg+xml;charset=utf-8,"+encodeURIComponent(a)},f=function(a){a instanceof Blob&&URL.revokeObjectURL(a)},g='<svg xmlns="http://www.w3.org/2000/svg" width="1" height="1"><foreignObject></foreignObject></svg>',h=function(b){var c=document.createElement("canvas"),d=new Image,e=a.defer();return d.onload=function(){var a=c.getContext("2d");try{a.drawImage(d,0,0),c.toDataURL("image/png"),e.resolve(!0)}catch(b){e.resolve(!1)}},d.onerror=e.reject,d.src=b,e.promise},i=function(){var a=e(g,!0);return h(a).then(function(b){return f(a),b?!1:h(e(g,!1)).then(function(a){return a})},function(){return!1})},j=function(){if(b.Blob)try{return new Blob(["<b></b>"],{type:"text/xml"}),!0}catch(a){}return!1},k=function(){var c=a.defer();return j&&b.URL?i().then(function(a){c.resolve(!a)},function(){c.reject()}):c.resolve(!1),c.promise},l=function(){return void 0===c&&(c=k()),c},m=function(a){return l().then(function(b){return e(a,b)})};return d.renderSvg=function(b){var c,d,e=a.defer(),g=function(){d.onload=null,d.onerror=null},h=function(){c&&f(c)};return d=new Image,d.onload=function(){g(),h(),e.resolve(d)},d.onerror=function(){h(),e.reject()},m(b).then(function(a){c=a,d.src=c},e.reject),e.promise},d}(e,window),n=function(a,b,c,d,e){"use strict";var f={},g=function(a,b){var c,d,e,f;b=b||1,c=Math.round(a.viewportWidth),d=Math.round(a.viewportHeight),e=-a.left,f=-a.top;var g={x:e,y:f,width:c,height:d};return 1!==b&&(g.transform="scale("+b+")"),g},h=function(a){var b=a.style||"";a.style=b+"float: left;"},i=function(a){a.externalResourcesRequired=!0},j=function(){return'<style scoped="">html::-webkit-scrollbar { display: none; }</style>'},k=function(a){var b=Object.keys(a);return b.length?" "+b.map(function(b){return b+'="'+a[b]+'"'}).join(" "):""},l=function(a,c,d){var f=e.serializeToString(a);b.validateXHTML(f);var l=g(c,d);return h(l),i(l),'<svg xmlns="http://www.w3.org/2000/svg" width="'+c.width+'" height="'+c.height+'" font-size="'+c.rootFontSize+'">'+j()+"<foreignObject"+k(l)+">"+f+"</foreignObject></svg>"};return f.getSvgForDocument=function(a,b,e){return c.rewriteTagNameSelectorsToLowerCase(a),d.needsEmWorkaround().then(function(c){return c&&d.workAroundWebKitEmSizeIssue(a),l(a,b,e)})},f.drawDocumentAsSvg=function(a,d){return["hover","active","focus","target"].forEach(function(b){d[b]&&c.fakeUserAction(a,d[b],b)}),b.calculateDocumentContentSize(a,d).then(function(b){return f.getSvgForDocument(a,b,d.zoom)})},f}(g,l,j,k,c),o=function(a,b,c,d,e,f){"use strict";var g={},h=function(a){return{message:"Error rendering page",originalError:a}},i=function(a){return e.renderSvg(a).then(function(b){return{image:b,svg:a}},function(a){throw h(a)})},j=function(a,b){try{b.getContext("2d").drawImage(a,0,0)}catch(c){throw h(c)}},k=function(a,b,c){return d.drawDocumentAsSvg(a,c).then(i).then(function(a){return b&&j(a.image,b),a})},l=function(a,d){return b.executeJavascript(a,d).then(function(a){var b=a.document;return c.persistInputValues(b),{document:b,errors:a.errors}})};return g.rasterize=function(b,c,d){var e;return e=a.clone(d),e.inlineScripts=d.executeJs===!0,f.inlineReferences(b,e).then(function(a){return d.executeJs?l(b,d).then(function(b){return{document:b.document,errors:a.concat(b.errors)}}):{document:b,errors:a}}).then(function(a){return k(a.document,c,d).then(function(b){return{image:b.image,svg:b.svg,errors:a.errors}})})},g}(g,l,j,n,m,f),p=function(a,b,c){"use strict";var d={},e=function(a,b){var c=300,d=200,e=a?a.width:c,f=a?a.height:d,g=void 0!==b.width?b.width:e,h=void 0!==b.height?b.height:f;return{width:g,height:h}},f=function(b){var c,d=e(b.canvas,b.options);return c=a.clone(b.options),c.width=d.width,c.height=d.height,c};d.drawDocument=function(){var b=arguments[0],d=Array.prototype.slice.call(arguments,1),e=a.parseOptionalParameters(d);return c.rasterize(b,e.canvas,f(e))};var g=function(a,c,e){var f=b.parseHTML(a);return d.drawDocument(f,c,e)};d.drawHTML=function(){var b=arguments[0],c=Array.prototype.slice.call(arguments,1),d=a.parseOptionalParameters(c);return g(b,d.canvas,d.options)};var h=function(b,c,d){var e=document.implementation.createHTMLDocument("");e.replaceChild(b.documentElement,e.documentElement);var f=d?a.clone(d):{};return d.baseUrl||(f.baseUrl=c),{document:e,options:f}},i=function(a,c,e){return b.loadDocument(a,e).then(function(b){var f=h(b,a,e);return d.drawDocument(f.document,c,f.options)})};return d.drawURL=function(){var b=arguments[0],c=Array.prototype.slice.call(arguments,1),d=a.parseOptionalParameters(c);return i(b,d.canvas,d.options)},d}(g,l,o);return p})},{ayepromise:2,"css-mediaquery":7,inlineresources:31,"sane-domparser-error":36,url:"j37I/u",xmlserializer:39}],2:[function(b,c,d){!function(b,e){"function"==typeof a&&a.amd?a(e):"object"==typeof d?c.exports=e():b.ayepromise=e()}(this,function(){"use strict";var a={},b=function(){var a=!1;return function(b){return function(){a||(a=!0,b.apply(null,arguments))}}},c=function(a){var b=a&&a.then;return"object"==typeof a&&"function"==typeof b?function(){return b.apply(a,arguments)}:void 0},d=function(b,c){var d=a.defer(),e=function(a,b){setTimeout(function(){var c;try{c=a(b)}catch(e){return void d.reject(e)}c===d.promise?d.reject(new TypeError("Cannot resolve promise with itself")):d.resolve(c)},1)},g=function(a){b&&b.call?e(b,a):d.resolve(a)},h=function(a){c&&c.call?e(c,a):d.reject(a)};return{promise:d.promise,handle:function(a,b){a===f?g(b):h(b)}}},e=0,f=1,g=2;return a.defer=function(){var a,h=e,i=[],j=function(b,c){h=b,a=c,i.forEach(function(b){b.handle(h,a)}),i=null},k=function(a){j(f,a)},l=function(a){j(g,a)},m=function(b,c){var f=d(b,c);return h===e?i.push(f):f.handle(h,a),f.promise},n=function(a){var c=b();try{a(c(o),c(l))}catch(d){c(l)(d)}},o=function(a){var b;try{b=c(a)}catch(d){return void l(d)}b?n(b):k(a)},p=b();return{resolve:p(o),reject:p(l),promise:{then:m,fail:function(a){return m(null,a)}}}},a})},{}],3:[function(b,c,d){(function(b){!function(e){function f(a){throw RangeError(I[a])}function g(a,b){for(var c=a.length;c--;)a[c]=b(a[c]);return a}function h(a,b){return g(a.split(H),b).join(".")}function i(a){for(var b,c,d=[],e=0,f=a.length;f>e;)b=a.charCodeAt(e++),b>=55296&&56319>=b&&f>e?(c=a.charCodeAt(e++),56320==(64512&c)?d.push(((1023&b)<<10)+(1023&c)+65536):(d.push(b),e--)):d.push(b);return d}function j(a){return g(a,function(a){var b="";return a>65535&&(a-=65536,b+=L(a>>>10&1023|55296),a=56320|1023&a),b+=L(a)}).join("")}function k(a){return 10>a-48?a-22:26>a-65?a-65:26>a-97?a-97:x}function l(a,b){return a+22+75*(26>a)-((0!=b)<<5)}function m(a,b,c){var d=0;for(a=c?K(a/B):a>>1,a+=K(a/b);a>J*z>>1;d+=x)a=K(a/J);return K(d+(J+1)*a/(a+A))}function n(a){var b,c,d,e,g,h,i,l,n,o,p=[],q=a.length,r=0,s=D,t=C;for(c=a.lastIndexOf(E),0>c&&(c=0),d=0;c>d;++d)a.charCodeAt(d)>=128&&f("not-basic"),p.push(a.charCodeAt(d));for(e=c>0?c+1:0;q>e;){for(g=r,h=1,i=x;e>=q&&f("invalid-input"),l=k(a.charCodeAt(e++)),(l>=x||l>K((w-r)/h))&&f("overflow"),r+=l*h,n=t>=i?y:i>=t+z?z:i-t,!(n>l);i+=x)o=x-n,h>K(w/o)&&f("overflow"),h*=o;b=p.length+1,t=m(r-g,b,0==g),K(r/b)>w-s&&f("overflow"),s+=K(r/b),r%=b,p.splice(r++,0,s)}return j(p)}function o(a){var b,c,d,e,g,h,j,k,n,o,p,q,r,s,t,u=[];for(a=i(a),q=a.length,b=D,c=0,g=C,h=0;q>h;++h)p=a[h],128>p&&u.push(L(p));for(d=e=u.length,e&&u.push(E);q>d;){for(j=w,h=0;q>h;++h)p=a[h],p>=b&&j>p&&(j=p);for(r=d+1,j-b>K((w-c)/r)&&f("overflow"),c+=(j-b)*r,b=j,h=0;q>h;++h)if(p=a[h],b>p&&++c>w&&f("overflow"),p==b){for(k=c,n=x;o=g>=n?y:n>=g+z?z:n-g,!(o>k);n+=x)t=k-o,s=x-o,u.push(L(l(o+t%s,0))),k=K(t/s);u.push(L(l(k,0))),g=m(c,r,d==e),c=0,++d}++c,++b}return u.join("")}function p(a){return h(a,function(a){return F.test(a)?n(a.slice(4).toLowerCase()):a})}function q(a){return h(a,function(a){return G.test(a)?"xn--"+o(a):a})}var r="object"==typeof d&&d,s="object"==typeof c&&c&&c.exports==r&&c,t="object"==typeof b&&b;(t.global===t||t.window===t)&&(e=t);var u,v,w=2147483647,x=36,y=1,z=26,A=38,B=700,C=72,D=128,E="-",F=/^xn--/,G=/[^ -~]/,H=/\x2E|\u3002|\uFF0E|\uFF61/g,I={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},J=x-y,K=Math.floor,L=String.fromCharCode;if(u={version:"1.2.4",ucs2:{decode:i,encode:j},decode:n,encode:o,toASCII:q,toUnicode:p},"function"==typeof a&&"object"==typeof a.amd&&a.amd)a("punycode",function(){return u});else if(r&&!r.nodeType)if(s)s.exports=u;else for(v in u)u.hasOwnProperty(v)&&(r[v]=u[v]);else e.punycode=u}(this)}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(a,b,c){"use strict";function d(a,b){return Object.prototype.hasOwnProperty.call(a,b)}b.exports=function(a,b,c,f){b=b||"&",c=c||"=";var g={};if("string"!=typeof a||0===a.length)return g;var h=/\+/g;a=a.split(b);var i=1e3;f&&"number"==typeof f.maxKeys&&(i=f.maxKeys);var j=a.length;i>0&&j>i&&(j=i);for(var k=0;j>k;++k){var l,m,n,o,p=a[k].replace(h,"%20"),q=p.indexOf(c);q>=0?(l=p.substr(0,q),m=p.substr(q+1)):(l=p,m=""),n=decodeURIComponent(l),o=decodeURIComponent(m),d(g,n)?e(g[n])?g[n].push(o):g[n]=[g[n],o]:g[n]=o}return g};var e=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)}},{}],5:[function(a,b,c){"use strict";function d(a,b){if(a.map)return a.map(b);for(var c=[],d=0;d<a.length;d++)c.push(b(a[d],d));return c}var e=function(a){switch(typeof a){case"string":return a;case"boolean":return a?"true":"false";case"number":return isFinite(a)?a:"";default:return""}};b.exports=function(a,b,c,h){return b=b||"&",c=c||"=",null===a&&(a=void 0),"object"==typeof a?d(g(a),function(d){var g=encodeURIComponent(e(d))+c;return f(a[d])?a[d].map(function(a){return g+encodeURIComponent(e(a))}).join(b):g+encodeURIComponent(e(a[d]))}).join(b):h?encodeURIComponent(e(h))+c+encodeURIComponent(e(a)):""};var f=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)},g=Object.keys||function(a){var b=[];for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b}},{}],6:[function(a,b,c){"use strict";c.decode=c.parse=a("./decode"),c.encode=c.stringify=a("./encode")},{"./decode":4,"./encode":5}],7:[function(a,b,c){"use strict";function d(a,b){return e(a).some(function(a){var c=a.inverse,d="all"===a.type||b.type===a.type;if(d&&c||!d&&!c)return!1;var e=a.expressions.every(function(a){var c=a.feature,d=a.modifier,e=a.value,i=b[c];if(!i)return!1;switch(c){case"orientation":case"scan":return i.toLowerCase()===e.toLowerCase();case"width":case"height":case"device-width":case"device-height":e=h(e),i=h(i);break;case"resolution":e=g(e),i=g(i);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":e=f(e),i=f(i);break;case"grid":case"color":case"color-index":case"monochrome":e=parseInt(e,10)||1,i=parseInt(i,10)||0}switch(d){case"min":return i>=e;case"max":return e>=i;default:return i===e}});return e&&!c||!e&&c})}function e(a){return a.split(",").map(function(a){a=a.trim();var b=a.match(i),c=b[1],d=b[2],e=b[3]||"",f={};return f.inverse=!!c&&"not"===c.toLowerCase(),f.type=d?d.toLowerCase():"all",e=e.match(/\([^\)]+\)/g)||[],f.expressions=e.map(function(a){var b=a.match(j),c=b[1].toLowerCase().match(k);return{modifier:c[1],feature:c[2],value:b[2]}}),f})}function f(a){var b,c=Number(a);return c||(b=a.match(/^(\d+)\s*\/\s*(\d+)$/),c=b[1]/b[2]),c}function g(a){var b=parseFloat(a),c=String(a).match(m)[1];switch(c){case"dpcm":return b/2.54;case"dppx":return 96*b;default:return b}}function h(a){var b=parseFloat(a),c=String(a).match(l)[1];switch(c){case"em":return 16*b;case"rem":return 16*b;case"cm":return 96*b/2.54;case"mm":return 96*b/2.54/10;case"in":return 96*b;case"pt":return 72*b;case"pc":return 72*b/12;default:return b}}c.match=d,c.parse=e;var i=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,j=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,k=/^(?:(min|max)-)?(.+)/,l=/(em|rem|px|cm|mm|in|pt|pc)?$/,m=/(dpi|dpcm|dppx)?$/},{}],8:[function(a,b,c){b.exports=function(){function b(a,b){function c(){this.constructor=a}c.prototype=b.prototype,a.prototype=new c}function c(a,b,c,d,e,f){this.message=a,this.expected=b,this.found=c,this.offset=d,this.line=e,this.column=f,this.name="SyntaxError"}function d(b){function d(a){function c(a,c,d){var e,f;for(e=c;d>e;e++)f=b.charAt(e),"\n"===f?(a.seenCR||a.line++,a.column=1,a.seenCR=!1):"\r"===f||"\u2028"===f||"\u2029"===f?(a.line++,a.column=1,a.seenCR=!0):(a.column++,a.seenCR=!1)}return T!==a&&(T>a&&(T=0,U={line:1,column:1,seenCR:!1}),c(U,T,a),T=a),U}function e(a){V>R||(R>V&&(V=R,W=[]),W.push(a))}function f(a,e,f){function g(a){var b=1;for(a.sort(function(a,b){return a.description<b.description?-1:a.description>b.description?1:0});b<a.length;)a[b-1]===a[b]?a.splice(b,1):b++}function h(a,b){function c(a){function b(a){return a.charCodeAt(0).toString(16).toUpperCase()}return a.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(a){return"\\x0"+b(a)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(a){return"\\x"+b(a)}).replace(/[\u0180-\u0FFF]/g,function(a){return"\\u0"+b(a)}).replace(/[\u1080-\uFFFF]/g,function(a){return"\\u"+b(a)})}var d,e,f,g=new Array(a.length);for(f=0;f<a.length;f++)g[f]=a[f].description;return d=a.length>1?g.slice(0,-1).join(", ")+" or "+g[a.length-1]:g[0],e=b?'"'+c(b)+'"':"end of input","Expected "+d+" but "+e+" found."}var i=d(f),j=f<b.length?b.charAt(f):null;return null!==e&&g(e),new c(null!==a?a:h(e,j),e,j,f,i.line,i.column)}function g(){var a,b;return a=h(),a===r&&(a=R,b=[],b!==r&&(S=a,b=u()),a=b),a}function h(){var a,c,d,f,g,j;if(a=R,c=i(),c!==r){for(d=[],f=o();f!==r;)d.push(f),f=o();if(d!==r)if(44===b.charCodeAt(R)?(f=w,R++):(f=r,0===X&&e(x)),f!==r){for(g=[],j=o();j!==r;)g.push(j),j=o();g!==r?(j=h(),j!==r?(S=a,c=y(c,j),a=c):(R=a,a=v)):(R=a,a=v)}else R=a,a=v;else R=a,a=v}else R=a,a=v;return a===r&&(a=R,c=i(),c!==r&&(S=a,c=z(c)),a=c),a}function i(){var a;return a=j(),a===r&&(a=m()),a}function j(){var a,b,c,d;if(a=R,b=k(),b!==r){if(c=[],d=o(),d!==r)for(;d!==r;)c.push(d),d=o();else c=v;c!==r?(d=l(),d!==r?(S=a,b=A(b,d),a=b):(R=a,a=v)):(R=a,a=v)}else R=a,a=v;return a===r&&(a=R,b=k(),b!==r&&(S=a,b=B(b)),a=b),a}function k(){var a,c,d,f;return a=R,b.substr(R,4)===C?(c=C,R+=4):(c=r,0===X&&e(D)),c!==r?(d=n(),d!==r?(41===b.charCodeAt(R)?(f=E,R++):(f=r,0===X&&e(F)),f!==r?(S=a,c=G(d),a=c):(R=a,a=v)):(R=a,a=v)):(R=a,a=v),a}function l(){var a,c,d,f;return a=R,b.substr(R,7)===H?(c=H,R+=7):(c=r,0===X&&e(I)),c!==r?(d=n(),d!==r?(41===b.charCodeAt(R)?(f=E,R++):(f=r,0===X&&e(F)),f!==r?(S=a,c=G(d),a=c):(R=a,a=v)):(R=a,a=v)):(R=a,a=v),a}function m(){var a,c,d,f;return a=R,b.substr(R,6)===J?(c=J,R+=6):(c=r,0===X&&e(K)),c!==r?(d=n(),d!==r?(41===b.charCodeAt(R)?(f=E,R++):(f=r,0===X&&e(F)),f!==r?(S=a,c=L(d),a=c):(R=a,a=v)):(R=a,a=v)):(R=a,a=v),a}function n(){var a,c,d;if(a=R,c=[],M.test(b.charAt(R))?(d=b.charAt(R),R++):(d=r,0===X&&e(N)),d!==r)for(;d!==r;)c.push(d),M.test(b.charAt(R))?(d=b.charAt(R),R++):(d=r,0===X&&e(N));else c=v;return c!==r&&(S=a,c=O(c)),a=c}function o(){var a;return P.test(b.charAt(R))?(a=b.charAt(R),R++):(a=r,0===X&&e(Q)),a}var p,q=arguments.length>1?arguments[1]:{},r={},s={start:g},t=g,u=function(){return[]},v=r,w=",",x={type:"literal",value:",",description:'","'},y=function(a,b){return[a].concat(b)},z=function(a){return[a]},A=function(a,b){return{url:a,format:b}},B=function(a){return{url:a}},C="url(",D={type:"literal",value:"url(",description:'"url("'},E=")",F={type:"literal",value:")",description:'")"'},G=function(a){return a},H="format(",I={type:"literal",value:"format(",description:'"format("'},J="local(",K={type:"literal",value:"local(",description:'"local("'},L=function(a){return{local:a}},M=/^[^)]/,N={type:"class",value:"[^)]",description:"[^)]"},O=function(a){return Y.extractValue(a.join(""))},P=/^[ \t\r\n\f]/,Q={type:"class",value:"[ \\t\\r\\n\\f]",description:"[ \\t\\r\\n\\f]"},R=0,S=0,T=0,U={line:1,column:1,seenCR:!1},V=0,W=[],X=0;if("startRule"in q){if(!(q.startRule in s))throw new Error("Can't start parsing from rule \""+q.startRule+'".');t=s[q.startRule]}var Y=a("../util");if(p=t(),p!==r&&R===b.length)return p;throw p!==r&&R<b.length&&e({type:"end",description:"end of input"}),f(null,W,V)}return b(c,Error),{SyntaxError:c,parse:d}}()},{"../util":10}],9:[function(a,b,c){var d=a("./grammar");c.SyntaxError=function(a,b){this.message=a,this.offset=b},c.parse=function(a){try{return d.parse(a)}catch(b){throw new c.SyntaxError(b.message,b.offset)}},c.serialize=function(a){return a.map(function(a){var b;return a.url?(b='url("'+a.url+'")',a.format&&(b+=' format("'+a.format+'")')):b='local("'+a.local+'")',b}).join(", ")}},{"./grammar":8}],10:[function(a,b,c){var d=function(a){var b=/^[\t\r\f\n ]*(.+?)[\t\r\f\n ]*$/;return a.replace(b,"$1")},e=function(a){var b=/^"(.*)"$/,c=/^'(.*)'$/;return b.test(a)?a.replace(b,"$1"):c.test(a)?a.replace(c,"$1"):a};c.extractValue=function(a){return e(d(a))}},{}],11:[function(a,b,c){var d={CSSRule:a("./CSSRule").CSSRule,MatcherList:a("./MatcherList").MatcherList};d.CSSDocumentRule=function(){d.CSSRule.call(this),this.matcher=new d.MatcherList,this.cssRules=[]},d.CSSDocumentRule.prototype=new d.CSSRule,d.CSSDocumentRule.prototype.constructor=d.CSSDocumentRule,d.CSSDocumentRule.prototype.type=10,Object.defineProperty(d.CSSDocumentRule.prototype,"cssText",{get:function(){for(var a=[],b=0,c=this.cssRules.length;c>b;b++)a.push(this.cssRules[b].cssText);return"@-moz-document "+this.matcher.matcherText+" {"+a.join("")+"}"}}),c.CSSDocumentRule=d.CSSDocumentRule},{"./CSSRule":17,"./MatcherList":23}],12:[function(a,b,c){var d={CSSStyleDeclaration:a("./CSSStyleDeclaration").CSSStyleDeclaration,CSSRule:a("./CSSRule").CSSRule};d.CSSFontFaceRule=function(){d.CSSRule.call(this),this.style=new d.CSSStyleDeclaration,this.style.parentRule=this},d.CSSFontFaceRule.prototype=new d.CSSRule,d.CSSFontFaceRule.prototype.constructor=d.CSSFontFaceRule,d.CSSFontFaceRule.prototype.type=5,Object.defineProperty(d.CSSFontFaceRule.prototype,"cssText",{get:function(){return"@font-face {"+this.style.cssText+"}"}}),c.CSSFontFaceRule=d.CSSFontFaceRule},{"./CSSRule":17,"./CSSStyleDeclaration":18}],13:[function(a,b,c){var d={CSSRule:a("./CSSRule").CSSRule,CSSStyleSheet:a("./CSSStyleSheet").CSSStyleSheet,MediaList:a("./MediaList").MediaList};d.CSSImportRule=function(){d.CSSRule.call(this),this.href="",this.media=new d.MediaList,this.styleSheet=new d.CSSStyleSheet},d.CSSImportRule.prototype=new d.CSSRule,d.CSSImportRule.prototype.constructor=d.CSSImportRule,d.CSSImportRule.prototype.type=3,Object.defineProperty(d.CSSImportRule.prototype,"cssText",{get:function(){var a=this.media.mediaText;return"@import url("+this.href+")"+(a?" "+a:"")+";"},set:function(a){for(var b,c,d=0,e="",f="";c=a.charAt(d);d++)switch(c){case" ":case" ":case"\r":case"\n":case"\f":"after-import"===e?e="url":f+=c;break;case"@":e||a.indexOf("@import",d)!==d||(e="after-import",d+="import".length,f="");break;case"u":if("url"===e&&a.indexOf("url(",d)===d){if(b=a.indexOf(")",d+1),-1===b)throw d+': ")" not found';d+="url(".length;var g=a.slice(d,b);g[0]===g[g.length-1]&&('"'===g[0]||"'"===g[0])&&(g=g.slice(1,-1)),this.href=g,d=b,e="media"}break;case'"':if("url"===e){if(b=a.indexOf('"',d+1),!b)throw d+": '\"' not found";this.href=a.slice(d+1,b),d=b,e="media"}break;case"'":if("url"===e){if(b=a.indexOf("'",d+1),!b)throw d+': "\'" not found';this.href=a.slice(d+1,b),d=b,e="media"}break;case";":"media"===e&&f&&(this.media.mediaText=f.trim());break;default:"media"===e&&(f+=c)}}}),c.CSSImportRule=d.CSSImportRule},{"./CSSRule":17,"./CSSStyleSheet":20,"./MediaList":24}],14:[function(a,b,c){var d={CSSRule:a("./CSSRule").CSSRule,CSSStyleDeclaration:a("./CSSStyleDeclaration").CSSStyleDeclaration};d.CSSKeyframeRule=function(){d.CSSRule.call(this),this.keyText="",this.style=new d.CSSStyleDeclaration,this.style.parentRule=this},d.CSSKeyframeRule.prototype=new d.CSSRule,d.CSSKeyframeRule.prototype.constructor=d.CSSKeyframeRule,d.CSSKeyframeRule.prototype.type=9,Object.defineProperty(d.CSSKeyframeRule.prototype,"cssText",{get:function(){return this.keyText+" {"+this.style.cssText+"} "}}),c.CSSKeyframeRule=d.CSSKeyframeRule},{"./CSSRule":17,"./CSSStyleDeclaration":18}],15:[function(a,b,c){var d={CSSRule:a("./CSSRule").CSSRule};d.CSSKeyframesRule=function(){d.CSSRule.call(this),this.name="",this.cssRules=[]},d.CSSKeyframesRule.prototype=new d.CSSRule,d.CSSKeyframesRule.prototype.constructor=d.CSSKeyframesRule,d.CSSKeyframesRule.prototype.type=8,Object.defineProperty(d.CSSKeyframesRule.prototype,"cssText",{get:function(){for(var a=[],b=0,c=this.cssRules.length;c>b;b++)a.push(" "+this.cssRules[b].cssText);return"@"+(this._vendorPrefix||"")+"keyframes "+this.name+" { \n"+a.join("\n")+"\n}"}}),c.CSSKeyframesRule=d.CSSKeyframesRule},{"./CSSRule":17}],16:[function(a,b,c){var d={CSSRule:a("./CSSRule").CSSRule,MediaList:a("./MediaList").MediaList};d.CSSMediaRule=function(){d.CSSRule.call(this),this.media=new d.MediaList,this.cssRules=[]},d.CSSMediaRule.prototype=new d.CSSRule,d.CSSMediaRule.prototype.constructor=d.CSSMediaRule,-d.CSSMediaRule.prototype.type=4,Object.defineProperty(d.CSSMediaRule.prototype,"cssText",{get:function(){for(var a=[],b=0,c=this.cssRules.length;c>b;b++)a.push(this.cssRules[b].cssText);return"@media "+this.media.mediaText+" {"+a.join("")+"}"}}),c.CSSMediaRule=d.CSSMediaRule},{"./CSSRule":17,"./MediaList":24}],17:[function(a,b,c){var d={};d.CSSRule=function(){this.parentRule=null,this.parentStyleSheet=null},d.CSSRule.STYLE_RULE=1,d.CSSRule.IMPORT_RULE=3,d.CSSRule.MEDIA_RULE=4,d.CSSRule.FONT_FACE_RULE=5,d.CSSRule.PAGE_RULE=6,d.CSSRule.WEBKIT_KEYFRAMES_RULE=8,d.CSSRule.WEBKIT_KEYFRAME_RULE=9,d.CSSRule.prototype={constructor:d.CSSRule},c.CSSRule=d.CSSRule},{}],18:[function(a,b,c){var d={};d.CSSStyleDeclaration=function(){this.length=0,this.parentRule=null,this._importants={}},d.CSSStyleDeclaration.prototype={constructor:d.CSSStyleDeclaration,getPropertyValue:function(a){return this[a]||""},setProperty:function(a,b,c){if(this[a]){var d=Array.prototype.indexOf.call(this,a);0>d&&(this[this.length]=a,this.length++)}else this[this.length]=a,this.length++;this[a]=b,this._importants[a]=c},removeProperty:function(a){if(!(a in this))return"";var b=Array.prototype.indexOf.call(this,a);if(0>b)return"";var c=this[a];return this[a]="",Array.prototype.splice.call(this,b,1),c},getPropertyCSSValue:function(){},getPropertyPriority:function(a){return this._importants[a]||""},getPropertyShorthand:function(){},isPropertyImplicit:function(){},get cssText(){for(var a=[],b=0,c=this.length;c>b;++b){var d=this[b],e=this.getPropertyValue(d),f=this.getPropertyPriority(d);f&&(f=" !"+f),a[b]=d+": "+e+f+";"}return a.join(" ")},set cssText(a){var b,c;for(b=this.length;b--;)c=this[b],this[c]="";Array.prototype.splice.call(this,0,this.length),this._importants={};var e=d.parse("#bogus{"+a+"}").cssRules[0].style,f=e.length;for(b=0;f>b;++b)c=e[b],this.setProperty(e[b],e.getPropertyValue(c),e.getPropertyPriority(c))}},c.CSSStyleDeclaration=d.CSSStyleDeclaration,d.parse=a("./parse").parse},{"./parse":28}],19:[function(a,b,c){var d={CSSStyleDeclaration:a("./CSSStyleDeclaration").CSSStyleDeclaration,CSSRule:a("./CSSRule").CSSRule};d.CSSStyleRule=function(){d.CSSRule.call(this),this.selectorText="",this.style=new d.CSSStyleDeclaration,this.style.parentRule=this},d.CSSStyleRule.prototype=new d.CSSRule,d.CSSStyleRule.prototype.constructor=d.CSSStyleRule,d.CSSStyleRule.prototype.type=1,Object.defineProperty(d.CSSStyleRule.prototype,"cssText",{get:function(){var a;return a=this.selectorText?this.selectorText+" {"+this.style.cssText+"}":""},set:function(a){var b=d.CSSStyleRule.parse(a);this.style=b.style,this.selectorText=b.selectorText}}),d.CSSStyleRule.parse=function(a){for(var b,c,e,f=0,g="selector",h=f,i="",j={selector:!0,value:!0},k=new d.CSSStyleRule,l="";e=a.charAt(f);f++)switch(e){case" ":case" ":case"\r":case"\n":case"\f":if(j[g])switch(a.charAt(f-1)){case" ":case" ":case"\r":case"\n":case"\f":break;default:i+=" "}break;case'"':if(h=f+1,b=a.indexOf('"',h)+1,!b)throw'" is missing';i+=a.slice(f,b),f=b-1;break;case"'":if(h=f+1,b=a.indexOf("'",h)+1,!b)throw"' is missing";i+=a.slice(f,b),f=b-1;break;case"/":if("*"===a.charAt(f+1)){if(f+=2,b=a.indexOf("*/",f),-1===b)throw new SyntaxError("Missing */");f=b+1}else i+=e;break;case"{":"selector"===g&&(k.selectorText=i.trim(),i="",g="name");break;case":":"name"===g?(c=i.trim(),i="",g="value"):i+=e;break;case"!":"value"===g&&a.indexOf("!important",f)===f?(l="important",f+="important".length):i+=e;break;case";":"value"===g?(k.style.setProperty(c,i.trim(),l),l="",i="",g="name"):i+=e;break;case"}":if("value"===g)k.style.setProperty(c,i.trim(),l),l="",i="";else{if("name"===g)break;i+=e}g="selector";break;default:i+=e}return k},c.CSSStyleRule=d.CSSStyleRule},{"./CSSRule":17,"./CSSStyleDeclaration":18}],20:[function(a,b,c){var d={StyleSheet:a("./StyleSheet").StyleSheet,CSSStyleRule:a("./CSSStyleRule").CSSStyleRule};d.CSSStyleSheet=function(){d.StyleSheet.call(this),this.cssRules=[]},d.CSSStyleSheet.prototype=new d.StyleSheet,d.CSSStyleSheet.prototype.constructor=d.CSSStyleSheet,d.CSSStyleSheet.prototype.insertRule=function(a,b){if(0>b||b>this.cssRules.length)throw new RangeError("INDEX_SIZE_ERR");var c=d.parse(a).cssRules[0];return c.parentStyleSheet=this,this.cssRules.splice(b,0,c),b},d.CSSStyleSheet.prototype.deleteRule=function(a){if(0>a||a>=this.cssRules.length)throw new RangeError("INDEX_SIZE_ERR");this.cssRules.splice(a,1)},d.CSSStyleSheet.prototype.toString=function(){for(var a="",b=this.cssRules,c=0;c<b.length;c++)a+=b[c].cssText+"\n";return a},c.CSSStyleSheet=d.CSSStyleSheet,d.parse=a("./parse").parse},{"./CSSStyleRule":19,"./StyleSheet":25,"./parse":28}],21:[function(a,b,c){var d={};d.CSSValue=function(){},d.CSSValue.prototype={constructor:d.CSSValue,set cssText(a){var b=this._getConstructorName();throw new Exception('DOMException: property "cssText" of "'+b+'" is readonly!')},get cssText(){var a=this._getConstructorName();throw new Exception('getter "cssText" of "'+a+'" is not implemented!')},_getConstructorName:function(){var a=this.constructor.toString(),b=a.match(/function\s([^\(]+)/),c=b[1];return c}},c.CSSValue=d.CSSValue},{}],22:[function(a,b,c){var d={CSSValue:a("./CSSValue").CSSValue};d.CSSValueExpression=function(a,b){this._token=a,this._idx=b},d.CSSValueExpression.prototype=new d.CSSValue,d.CSSValueExpression.prototype.constructor=d.CSSValueExpression,d.CSSValueExpression.prototype.parse=function(){for(var a,b=this._token,c=this._idx,d="",e="",f="",g=[];;++c){if(d=b.charAt(c),""==d){f="css expression error: unfinished expression!";break}switch(d){case"(":g.push(d),e+=d;break;case")":g.pop(d),e+=d;break;case"/":(a=this._parseJSComment(b,c))?a.error?f="css expression error: unfinished comment in expression!":c=a.idx:(a=this._parseJSRexExp(b,c))?(c=a.idx,e+=a.text):e+=d;break;case"'":case'"':a=this._parseJSString(b,c,d),a?(c=a.idx,e+=a.text):e+=d;break;default:e+=d}if(f)break;if(0==g.length)break}var h;return h=f?{error:f}:{idx:c,expression:e}},d.CSSValueExpression.prototype._parseJSComment=function(a,b){var c,d=a.charAt(b+1);if("/"==d||"*"==d){var e,f,g=b;return"/"==d?f="\n":"*"==d&&(f="*/"),e=a.indexOf(f,g+1+1),-1!==e?(e=e+f.length-1,c=a.substring(b,e+1),{idx:e,text:c}):(error="css expression error: unfinished comment in expression!",{error:error})}return!1},d.CSSValueExpression.prototype._parseJSString=function(a,b,c){var d,e=this._findMatchedIdx(a,b,c);return-1===e?!1:(d=a.substring(b,e+c.length),{idx:e,text:d})},d.CSSValueExpression.prototype._parseJSRexExp=function(a,b){var c=a.substring(0,b).replace(/\s+$/,""),d=[/^$/,/\($/,/\[$/,/\!$/,/\+$/,/\-$/,/\*$/,/\/\s+/,/\%$/,/\=$/,/\>$/,/\<$/,/\&$/,/\|$/,/\^$/,/\~$/,/\?$/,/\,$/,/delete$/,/in$/,/instanceof$/,/new$/,/typeof$/,/void$/],e=d.some(function(a){return a.test(c)});if(e){var f="/";return this._parseJSString(a,b,f)}return!1},d.CSSValueExpression.prototype._findMatchedIdx=function(a,b,c){for(var d,e=b,f=-1;;){if(d=a.indexOf(c,e+1),-1===d){d=f;break}var g=a.substring(b+1,d),h=g.match(/\\+$/);if(!h||h[0]%2==0)break;e=d}var i=a.indexOf("\n",b+1);return d>i&&(d=f),d},c.CSSValueExpression=d.CSSValueExpression},{"./CSSValue":21}],23:[function(a,b,c){var d={};d.MatcherList=function(){this.length=0},d.MatcherList.prototype={constructor:d.MatcherList,get matcherText(){return Array.prototype.join.call(this,", ")},set matcherText(a){for(var b=a.split(","),c=this.length=b.length,d=0;c>d;d++)this[d]=b[d].trim()},appendMatcher:function(a){-1===Array.prototype.indexOf.call(this,a)&&(this[this.length]=a,this.length++)},deleteMatcher:function(a){var b=Array.prototype.indexOf.call(this,a);-1!==b&&Array.prototype.splice.call(this,b,1)}},c.MatcherList=d.MatcherList},{}],24:[function(a,b,c){var d={};d.MediaList=function(){this.length=0},d.MediaList.prototype={constructor:d.MediaList,get mediaText(){return Array.prototype.join.call(this,", ")},set mediaText(a){for(var b=a.split(","),c=this.length=b.length,d=0;c>d;d++)this[d]=b[d].trim()},appendMedium:function(a){-1===Array.prototype.indexOf.call(this,a)&&(this[this.length]=a,this.length++)},deleteMedium:function(a){var b=Array.prototype.indexOf.call(this,a);-1!==b&&Array.prototype.splice.call(this,b,1)}},c.MediaList=d.MediaList},{}],25:[function(a,b,c){var d={};d.StyleSheet=function(){this.parentStyleSheet=null},c.StyleSheet=d.StyleSheet},{}],26:[function(a,b,c){var d={CSSStyleSheet:a("./CSSStyleSheet").CSSStyleSheet,CSSStyleRule:a("./CSSStyleRule").CSSStyleRule,CSSMediaRule:a("./CSSMediaRule").CSSMediaRule,CSSStyleDeclaration:a("./CSSStyleDeclaration").CSSStyleDeclaration,CSSKeyframeRule:a("./CSSKeyframeRule").CSSKeyframeRule,CSSKeyframesRule:a("./CSSKeyframesRule").CSSKeyframesRule};d.clone=function e(a){var b=new d.CSSStyleSheet,c=a.cssRules;if(!c)return b;for(var f={1:d.CSSStyleRule,4:d.CSSMediaRule,8:d.CSSKeyframesRule,9:d.CSSKeyframeRule},g=0,h=c.length;h>g;g++){var i=c[g],j=b.cssRules[g]=new f[i.type],k=i.style;if(k){for(var l=j.style=new d.CSSStyleDeclaration,m=0,n=k.length;n>m;m++){var o=l[m]=k[m];l[o]=k[o],l._importants[o]=k.getPropertyPriority(o)}l.length=k.length}i.hasOwnProperty("keyText")&&(j.keyText=i.keyText),i.hasOwnProperty("selectorText")&&(j.selectorText=i.selectorText),i.hasOwnProperty("mediaText")&&(j.mediaText=i.mediaText),i.hasOwnProperty("cssRules")&&(j.cssRules=e(i).cssRules)}return b},c.clone=d.clone},{"./CSSKeyframeRule":14,"./CSSKeyframesRule":15,"./CSSMediaRule":16,"./CSSStyleDeclaration":18,"./CSSStyleRule":19,"./CSSStyleSheet":20}],27:[function(a,b,c){"use strict";c.CSSStyleDeclaration=a("./CSSStyleDeclaration").CSSStyleDeclaration,c.CSSRule=a("./CSSRule").CSSRule,c.CSSStyleRule=a("./CSSStyleRule").CSSStyleRule,c.MediaList=a("./MediaList").MediaList,c.CSSMediaRule=a("./CSSMediaRule").CSSMediaRule,c.CSSImportRule=a("./CSSImportRule").CSSImportRule,c.CSSFontFaceRule=a("./CSSFontFaceRule").CSSFontFaceRule,c.StyleSheet=a("./StyleSheet").StyleSheet,c.CSSStyleSheet=a("./CSSStyleSheet").CSSStyleSheet,c.CSSKeyframesRule=a("./CSSKeyframesRule").CSSKeyframesRule,c.CSSKeyframeRule=a("./CSSKeyframeRule").CSSKeyframeRule,c.MatcherList=a("./MatcherList").MatcherList,c.CSSDocumentRule=a("./CSSDocumentRule").CSSDocumentRule,c.CSSValue=a("./CSSValue").CSSValue,c.CSSValueExpression=a("./CSSValueExpression").CSSValueExpression,c.parse=a("./parse").parse,c.clone=a("./clone").clone},{"./CSSDocumentRule":11,"./CSSFontFaceRule":12,"./CSSImportRule":13,"./CSSKeyframeRule":14,"./CSSKeyframesRule":15,"./CSSMediaRule":16,"./CSSRule":17,"./CSSStyleDeclaration":18,"./CSSStyleRule":19,"./CSSStyleSheet":20,"./CSSValue":21,"./CSSValueExpression":22,"./MatcherList":23,"./MediaList":24,"./StyleSheet":25,"./clone":26,"./parse":28}],28:[function(a,b,c){var d={};d.parse=function(a){for(var b,c,e,f,g,h,i,j,k,l,m=0,n="before-selector",o="",p={selector:!0,value:!0,atRule:!0,"importRule-begin":!0,importRule:!0,atBlock:!0,"documentRule-begin":!0},q=new d.CSSStyleSheet,r=q,s="",t=/@(-(?:\w+-)+)?keyframes/g,u=function(b){var c=a.substring(0,m).split("\n"),d=c.length,e=c.pop().length+1,f=new Error(b+" (line "+d+", char "+e+")");throw f.line=d,f["char"]=e,f.styleSheet=q,f};l=a.charAt(m);m++)switch(l){case" ":case" ":case"\r":case"\n":case"\f":p[n]&&(o+=l);break;case'"':b=m+1;do b=a.indexOf('"',b)+1,b||u('Unmatched "');while("\\"===a[b-2]);switch(o+=a.slice(m,b),m=b-1,n){case"before-value":n="value";break;case"importRule-begin":n="importRule"}break;case"'":b=m+1;do b=a.indexOf("'",b)+1,b||u("Unmatched '");while("\\"===a[b-2]);switch(o+=a.slice(m,b),m=b-1,n){case"before-value":n="value";break;case"importRule-begin":n="importRule"}break;case"/":"*"===a.charAt(m+1)?(m+=2,b=a.indexOf("*/",m),-1===b?u("Missing */"):m=b+1):o+=l,"importRule-begin"===n&&(o+=" ",n="importRule");break;case"@":if(a.indexOf("@-moz-document",m)===m){n="documentRule-begin",k=new d.CSSDocumentRule,k.__starts=m,m+="-moz-document".length,o="";break}if(a.indexOf("@media",m)===m){n="atBlock",g=new d.CSSMediaRule,g.__starts=m,m+="media".length,o="";break}if(a.indexOf("@import",m)===m){n="importRule-begin",m+="import".length,o+="@import";break}if(a.indexOf("@font-face",m)===m){n="fontFaceRule-begin",m+="font-face".length,i=new d.CSSFontFaceRule,i.__starts=m,o="";break}t.lastIndex=m;var v=t.exec(a);if(v&&v.index===m){n="keyframesRule-begin",j=new d.CSSKeyframesRule,j.__starts=m,j._vendorPrefix=v[1],m+=v[0].length-1,o="";break}"selector"==n&&(n="atRule"),o+=l;break;case"{":"selector"===n||"atRule"===n?(f.selectorText=o.trim(),f.style.__starts=m,o="",n="before-name"):"atBlock"===n?(g.media.mediaText=o.trim(),r=c=g,g.parentStyleSheet=q,o="",n="before-selector"):"fontFaceRule-begin"===n?(c&&(i.parentRule=c),i.parentStyleSheet=q,f=i,o="",n="before-name"):"keyframesRule-begin"===n?(j.name=o.trim(),c&&(j.parentRule=c),j.parentStyleSheet=q,r=c=j,o="",n="keyframeRule-begin"):"keyframeRule-begin"===n?(f=new d.CSSKeyframeRule,f.keyText=o.trim(),f.__starts=m,o="",n="before-name"):"documentRule-begin"===n&&(k.matcher.matcherText=o.trim(),c&&(k.parentRule=c),r=c=k,k.parentStyleSheet=q,o="",n="before-selector");break;case":":"name"===n?(e=o.trim(),o="",n="before-value"):o+=l;break;case"(":if("value"===n)if("expression"==o.trim()){var w=new d.CSSValueExpression(a,m).parse();w.error?u(w.error):(o+=w.expression,m=w.idx)}else b=a.indexOf(")",m+1),-1===b&&u('Unmatched "("'),o+=a.slice(m,b+1),m=b;else o+=l;break;case"!":"value"===n&&a.indexOf("!important",m)===m?(s="important",m+="important".length):o+=l;break;case";":switch(n){case"value":f.style.setProperty(e,o.trim(),s),s="",o="",n="before-name";break;case"atRule":o="",n="before-selector";break;case"importRule":h=new d.CSSImportRule,h.parentStyleSheet=h.styleSheet.parentStyleSheet=q,h.cssText=o+l,q.cssRules.push(h),o="",n="before-selector";break;default:o+=l}break;case"}":switch(n){case"value":f.style.setProperty(e,o.trim(),s),s="";case"before-name":case"name":f.__ends=m+1,c&&(f.parentRule=c),f.parentStyleSheet=q,r.cssRules.push(f),o="",n=r.constructor===d.CSSKeyframesRule?"keyframeRule-begin":"before-selector";break;case"keyframeRule-begin":case"before-selector":case"selector":c||u("Unexpected }"),r.__ends=m+1,q.cssRules.push(r),r=q,c=null,o="",n="before-selector"}break;default:switch(n){case"before-selector":n="selector",f=new d.CSSStyleRule,f.__starts=m;break;case"before-name":n="name";break;case"before-value":n="value";break;case"importRule-begin":n="importRule"}o+=l}return q},c.parse=d.parse,d.CSSStyleSheet=a("./CSSStyleSheet").CSSStyleSheet,d.CSSStyleRule=a("./CSSStyleRule").CSSStyleRule,d.CSSImportRule=a("./CSSImportRule").CSSImportRule,d.CSSMediaRule=a("./CSSMediaRule").CSSMediaRule,d.CSSFontFaceRule=a("./CSSFontFaceRule").CSSFontFaceRule,d.CSSStyleDeclaration=a("./CSSStyleDeclaration").CSSStyleDeclaration,d.CSSKeyframeRule=a("./CSSKeyframeRule").CSSKeyframeRule,d.CSSKeyframesRule=a("./CSSKeyframesRule").CSSKeyframesRule,d.CSSValueExpression=a("./CSSValueExpression").CSSValueExpression,d.CSSDocumentRule=a("./CSSDocumentRule").CSSDocumentRule},{"./CSSDocumentRule":11,"./CSSFontFaceRule":12,"./CSSImportRule":13,"./CSSKeyframeRule":14,"./CSSKeyframesRule":15,"./CSSMediaRule":16,"./CSSStyleDeclaration":18,"./CSSStyleRule":19,"./CSSStyleSheet":20,"./CSSValueExpression":22}],29:[function(a,b,c){"use strict";var d=a("./cssSupport"),e=function(a){var b=/^[\t\r\f\n ]*(.+?)[\t\r\f\n ]*$/;return a.replace(b,"$1")};c.extractCssUrl=function(a){var b,c=/^url\(([^\)]+)\)/;if(!c.test(a))throw new Error("Invalid url");return b=c.exec(a)[1],d.unquoteString(e(b))};var f=function(a){var b,c="\\s*(?:\"[^\"]*\"|'[^']*'|[^\\(]+)\\s*",d="(url\\("+c+"\\)|[^,\\s]+)",e="(?:\\s*"+d+")+",f="^\\s*("+e+")(?:\\s*,\\s*("+e+"))*\\s*$",g=new RegExp(e,"g"),h=[],i=function(a){var b,c=new RegExp(d,"g"),e=[];for(b=c.exec(a);b;)e.push(b[1]),b=c.exec(a);return e};if(a.match(new RegExp(f))){for(b=g.exec(a);b;)h.push(i(b[0])),b=g.exec(a);return h}return[]},g=function(a){var b,d;for(b=0;b<a.length;b++)try{return d=c.extractCssUrl(a[b]),{url:d,idx:b}}catch(e){}};c.parse=function(a){var b=f(a);return b.map(function(a){var b=g(a);return b?{preUrl:a.slice(0,b.idx),url:b.url,postUrl:a.slice(b.idx+1)}:{preUrl:a}})},c.serialize=function(a){var b=a.map(function(a){var b=[].concat(a.preUrl);return a.url&&b.push('url("'+a.url+'")'),a.postUrl&&(b=b.concat(a.postUrl)),b.join(" ")});return b.join(", ")}},{"./cssSupport":30}],30:[function(a,b,c){"use strict";var d=a("cssom");c.unquoteString=function(a){var b=/^"(.*)"$/,c=/^'(.*)'$/;return b.test(a)?a.replace(b,"$1"):c.test(a)?a.replace(c,"$1"):a};var e=function(a){var b,c=document.implementation.createHTMLDocument(""),d=document.createElement("style");return d.textContent=a,c.body.appendChild(d),b=d.sheet.cssRules,Array.prototype.slice.call(b)},f=function(){var a=e("a{background:url(i)}");return!a.length||a[0].cssText.indexOf("url()")>=0}();c.rulesForCssText=function(a){return f&&d.parse?d.parse(a).cssRules:e(a)},c.cssRulesToText=function(a){return a.reduce(function(a,b){return a+b.cssText},"")},c.exchangeRule=function(a,b,c){var d=a.indexOf(b),e=b.parentStyleSheet;e.insertRule(c,d+1),e.deleteRule(d),a[d]=e.cssRules[d]},c.changeFontFaceRuleSrc=function(a,b,d){var e="@font-face { font-family: "+b.style.getPropertyValue("font-family")+"; ";b.style.getPropertyValue("font-style")&&(e+="font-style: "+b.style.getPropertyValue("font-style")+"; "),b.style.getPropertyValue("font-weight")&&(e+="font-weight: "+b.style.getPropertyValue("font-weight")+"; "),e+="src: "+d+"}",c.exchangeRule(a,b,e)}},{cssom:27}],31:[function(a,b,c){"use strict";var d=a("./util"),e=a("./inlineImage"),f=a("./inlineScript"),g=a("./inlineCss"),h=a("./cssSupport"),i=function(a){return d.joinUrl(a,".")},j=function(a){var b=a.map(function(b,c){return c===a.length-1&&(b={baseUrl:i(b.baseUrl)}),JSON.stringify(b)});return b},k=function(a,b){return b.cache!==!1&&"none"!==b.cache&&b.cacheBucket?d.memoize(a,j,b.cacheBucket):a},l=function(a,b,c){var d=h.rulesForCssText(a);return g.loadCSSImportsForRules(d,b,c).then(function(b){return g.loadAndInlineCSSResourcesForRules(d,c).then(function(c){var e=b.errors.concat(c.errors),f=b.hasChanges||c.hasChanges;return f&&(a=h.cssRulesToText(d)),{hasChanges:f,content:a,errors:e}})})},m=function(a,b,c){var e=a.textContent,f=k(l,b);return f(e,c,b).then(function(b){return b.hasChanges&&(a.childNodes[0].nodeValue=b.content),d.cloneArray(b.errors)})},n=function(a){var b=a.getElementsByTagName("style");return Array.prototype.filter.call(b,function(a){return!a.attributes.type||"text/css"===a.attributes.type.nodeValue})};c.loadAndInlineStyles=function(a,b){var c,e=n(a),f=[],g=[];return c=d.clone(b),c.baseUrl=c.baseUrl||d.getDocumentBaseUrl(a),d.all(e.map(function(a){return m(a,c,g).then(function(a){f=f.concat(a)})})).then(function(){return f})};var o=function(a,b){var c,d=a.parentNode;b=b.trim(),b&&(c=a.ownerDocument.createElement("style"),c.type="text/css",c.appendChild(a.ownerDocument.createTextNode(b)),d.insertBefore(c,a)),d.removeChild(a)},p=function(a,b){return d.ajax(a,b).then(function(a){var b=h.rulesForCssText(a);return{content:a,cssRules:b}}).then(function(b){var c=g.adjustPathsOfCssResources(a,b.cssRules);return{content:b.content,cssRules:b.cssRules,hasChanges:c}}).then(function(a){return g.loadCSSImportsForRules(a.cssRules,[],b).then(function(b){return{content:a.content,cssRules:a.cssRules,hasChanges:a.hasChanges||b.hasChanges,errors:b.errors}})}).then(function(a){return g.loadAndInlineCSSResourcesForRules(a.cssRules,b).then(function(b){return{content:a.content,cssRules:a.cssRules,hasChanges:a.hasChanges||b.hasChanges,errors:a.errors.concat(b.errors)}})}).then(function(a){var b=a.content;return a.hasChanges&&(b=h.cssRulesToText(a.cssRules)),{content:b,errors:a.errors}})},q=function(a,b){var c=a.attributes.href.nodeValue,e=d.getDocumentBaseUrl(a.ownerDocument),f=d.clone(b);!f.baseUrl&&e&&(f.baseUrl=e);var g=k(p,b);return g(c,f).then(function(a){return{content:a.content,errors:d.cloneArray(a.errors)}})},r=function(a){var b=a.getElementsByTagName("link");return Array.prototype.filter.call(b,function(a){return a.attributes.rel&&"stylesheet"===a.attributes.rel.nodeValue&&(!a.attributes.type||"text/css"===a.attributes.type.nodeValue)})};c.loadAndInlineCssLinks=function(a,b){var c=r(a),e=[];return d.all(c.map(function(a){return q(a,b).then(function(b){o(a,b.content+"\n"),e=e.concat(b.errors)},function(a){e.push({resourceType:"stylesheet",url:a.url,msg:"Unable to load stylesheet "+a.url})})})).then(function(){return e})},c.loadAndInlineImages=e.inline,c.loadAndInlineScript=f.inline,c.inlineReferences=function(a,b){var e=[],f=[c.loadAndInlineImages,c.loadAndInlineStyles,c.loadAndInlineCssLinks];return b.inlineScripts!==!1&&f.push(c.loadAndInlineScript),d.all(f.map(function(c){return c(a,b).then(function(a){e=e.concat(a)})})).then(function(){return e})}},{"./cssSupport":30,"./inlineCss":32,"./inlineImage":33,"./inlineScript":34,"./util":35}],32:[function(a,b,c){"use strict";var d=a("ayepromise"),e=a("./util"),f=a("./cssSupport"),g=a("./backgroundValueParser"),h=a("css-font-face-src"),i=function(a,b,c){a.style.setProperty(b,c,a.style.getPropertyPriority(b))},j=function(a){return a.filter(function(a){return a.type===window.CSSRule.STYLE_RULE&&(a.style.getPropertyValue("background-image")||a.style.getPropertyValue("background"))})},k=function(a){var b=[];return a.forEach(function(a){a.style.getPropertyValue("background-image")?b.push({property:"background-image",value:a.style.getPropertyValue("background-image"),rule:a}):a.style.getPropertyValue("background")&&b.push({property:"background",value:a.style.getPropertyValue("background"),rule:a})}),b},l=function(a){return a.filter(function(a){return a.type===window.CSSRule.FONT_FACE_RULE&&a.style.getPropertyValue("src")})},m=function(a){return a.filter(function(a){return a.type===window.CSSRule.IMPORT_RULE&&a.href})},n=function(a){var b=[];return a.forEach(function(a,c){a.url&&!e.isDataUri(a.url)&&b.push(c)}),b},o=function(a){var b=[];return a.forEach(function(a,c){a.url&&!e.isDataUri(a.url)&&b.push(c)}),b};c.adjustPathsOfCssResources=function(a,b){var c=j(b),d=k(c),p=!1;return d.forEach(function(b){var c,d=g.parse(b.value),f=n(d);f.length>0&&(f.forEach(function(b){var c=d[b].url,f=e.joinUrl(a,c);d[b].url=f}),c=g.serialize(d),i(b.rule,b.property,c),p=!0)}),l(b).forEach(function(c){var d,g,i=c.style.getPropertyValue("src");try{d=h.parse(i)}catch(j){return}g=o(d),g.length>0&&(g.forEach(function(b){var c=d[b].url,f=e.joinUrl(a,c);d[b].url=f}),f.changeFontFaceRuleSrc(b,c,h.serialize(d)),p=!0)}),m(b).forEach(function(c){var d=c.href,g=e.joinUrl(a,d);f.exchangeRule(b,c,"@import url("+g+");"),p=!0}),p};var p=function(a,b,c){var d=a.indexOf(b);a.splice(d,1),c.forEach(function(b,c){a.splice(d+c,0,b)})},q=function(a){var b=d.defer();return b.resolve(a),b.promise},r=function(a,b,d,g){var h,i=b.href;return i=f.unquoteString(i),h=e.joinUrl(g.baseUrl,i),d.indexOf(h)>=0?(p(a,b,[]),q([])):(d.push(h),e.ajax(i,g).then(function(e){var h=f.rulesForCssText(e);return c.loadCSSImportsForRules(h,d,g).then(function(d){return c.adjustPathsOfCssResources(i,h),p(a,b,h),d.errors})},function(a){throw{resourceType:"stylesheet",url:a.url,msg:"Unable to load stylesheet "+a.url}}))};c.loadCSSImportsForRules=function(a,b,c){var d=m(a),f=[],g=!1;return e.all(d.map(function(d){return r(a,d,b,c).then(function(a){f=f.concat(a),g=!0},function(a){f.push(a)})})).then(function(){return{hasChanges:g,errors:f}})};var s=function(a,b){var c=g.parse(a),d=n(c),f=!1;return e.collectAndReportErrors(d.map(function(a){var d=c[a].url;return e.getDataURIForImageURL(d,b).then(function(b){c[a].url=b,f=!0},function(a){throw{resourceType:"backgroundImage",url:a.url,msg:"Unable to load background-image "+a.url}})})).then(function(a){return{backgroundValue:g.serialize(c),hasChanges:f,errors:a}})},t=function(a,b){var c=j(a),d=k(c),f=[],g=!1;return e.all(d.map(function(a){return s(a.value,b).then(function(b){b.hasChanges&&(i(a.rule,a.property,b.backgroundValue),g=!0),f=f.concat(b.errors)})})).then(function(){return{hasChanges:g,errors:f}})},u=function(a,b){var c,d,f=!1;try{c=h.parse(a)}catch(g){c=[]}return d=o(c),e.collectAndReportErrors(d.map(function(a){var d=c[a],g=d.format||"woff";return e.binaryAjax(d.url,b).then(function(a){var b=btoa(a);d.url="data:font/"+g+";base64,"+b,f=!0},function(a){throw{resourceType:"fontFace",url:a.url,msg:"Unable to load font-face "+a.url}})})).then(function(a){return{srcDeclarationValue:h.serialize(c),hasChanges:f,errors:a}})},v=function(a,b){var c=l(a),d=[],g=!1;return e.all(c.map(function(c){var e=c.style.getPropertyValue("src");return u(e,b).then(function(b){b.hasChanges&&(f.changeFontFaceRuleSrc(a,c,b.srcDeclarationValue),g=!0),d=d.concat(b.errors)})})).then(function(){return{hasChanges:g,errors:d}})};c.loadAndInlineCSSResourcesForRules=function(a,b){var c=!1,d=[];return e.all([t,v].map(function(e){return e(a,b).then(function(a){c=c||a.hasChanges,d=d.concat(a.errors)})})).then(function(){return{hasChanges:c,errors:d}})}},{"./backgroundValueParser":29,"./cssSupport":30,"./util":35,ayepromise:2,"css-font-face-src":9}],33:[function(a,b,c){"use strict";var d=a("./util"),e=function(a,b){var c=a.attributes.src?a.attributes.src.nodeValue:null,e=d.getDocumentBaseUrl(a.ownerDocument),f=d.clone(b);return!f.baseUrl&&e&&(f.baseUrl=e),d.getDataURIForImageURL(c,f).then(function(a){return a},function(a){throw{resourceType:"image",url:a.url,msg:"Unable to load image "+a.url}})},f=function(a){return a.filter(function(a){var b=a.attributes.src?a.attributes.src.nodeValue:null;return null!==b&&!d.isDataUri(b)})},g=function(a){return Array.prototype.filter.call(a,function(a){return"image"===a.type})},h=function(a){return Array.prototype.slice.call(a)};c.inline=function(a,b){var c=h(a.getElementsByTagName("img")),i=g(a.getElementsByTagName("input")),j=f(c.concat(i));return d.collectAndReportErrors(j.map(function(a){return e(a,b).then(function(b){a.attributes.src.nodeValue=b})}))}},{"./util":35}],34:[function(a,b,c){"use strict";var d=a("./util"),e=function(a,b){var c=a.attributes.src.nodeValue,e=d.getDocumentBaseUrl(a.ownerDocument),f=d.clone(b);return!f.baseUrl&&e&&(f.baseUrl=e),d.ajax(c,f).fail(function(a){throw{resourceType:"script",url:a.url,msg:"Unable to load script "+a.url}})},f=function(a){return a.replace(/<\//g,"<\\/")},g=function(a,b){a.attributes.removeNamedItem("src"),a.textContent=f(b)},h=function(a){var b=a.getElementsByTagName("script");return Array.prototype.filter.call(b,function(a){return!!a.attributes.src})};c.inline=function(a,b){var c=h(a);return d.collectAndReportErrors(c.map(function(a){return e(a,b).then(function(b){g(a,b)})}))}},{"./util":35}],35:[function(a,b,c){"use strict";var d=a("url"),e=a("ayepromise");c.getDocumentBaseUrl=function(a){return"about:blank"!==a.baseURI?a.baseURI:null},c.clone=function(a){var b,c={};for(b in a)a.hasOwnProperty(b)&&(c[b]=a[b]);return c},c.cloneArray=function(a){return Array.prototype.slice.apply(a,[0])},c.joinUrl=function(a,b){return a?d.resolve(a,b):b},c.isDataUri=function(a){return/^data:/.test(a)},c.all=function(a){var b=e.defer(),c=a.length,d=[];return 0===a.length?(b.resolve([]),b.promise):(a.forEach(function(a,e){a.then(function(a){c-=1,d[e]=a,0===c&&b.resolve(d)},function(a){b.reject(a)})}),b.promise)},c.collectAndReportErrors=function(a){var b=[];return c.all(a.map(function(a){return a.fail(function(a){b.push(a)})})).then(function(){return b})};var f=null,g=function(a,b){return b===!1||"none"===b||"repeated"===b?((null===f||"repeated"!==b)&&(f=Date.now()),a+"?_="+f):a};c.ajax=function(a,b){var d,f=new window.XMLHttpRequest,h=e.defer(),i=c.joinUrl(b.baseUrl,a),j=function(){h.reject({msg:"Unable to load url",url:i})};d=g(i,b.cache),f.addEventListener("load",function(){200===f.status||0===f.status?h.resolve(f.response):j()},!1),f.addEventListener("error",j,!1);try{f.open("GET",d,!0),f.overrideMimeType(b.mimeType),f.send(null)}catch(k){j()}return h.promise},c.binaryAjax=function(a,b){var d=c.clone(b);return d.mimeType="text/plain; charset=x-user-defined",c.ajax(a,d).then(function(a){for(var b="",c=0;c<a.length;c++)b+=String.fromCharCode(255&a.charCodeAt(c));return b})};var h=function(a){var b=function(a,b){return a.substring(0,b.length)===b};return b(a,"<?xml")||b(a,"<svg")?"image/svg+xml":"image/png"};c.getDataURIForImageURL=function(a,b){return c.binaryAjax(a,b).then(function(a){var b=btoa(a),c=h(a);return"data:"+c+";base64,"+b})};var i=[],j=function(a){return i.indexOf(a)<0&&i.push(a),i.indexOf(a)};c.memoize=function(a,b,c){if("object"!=typeof c)throw new Error("cacheBucket is not an object");return function(){var d,e=Array.prototype.slice.call(arguments),f=b(e),g=j(a);return c[g]&&c[g][f]?c[g][f]:(d=a.apply(null,e),c[g]=c[g]||{},c[g][f]=d,d)}}},{ayepromise:2,url:"j37I/u"}],36:[function(a,b,c){"use strict";var d=function(a){var b=new XMLSerializer;return Array.prototype.map.call(a.childNodes,function(a){return b.serializeToString(a)}).join("")},e=function(a){return"parsererror"===a.documentElement.tagName&&"http://www.mozilla.org/newlayout/xml/parsererror.xml"===a.documentElement.namespaceURI?a.documentElement:("xml"===a.documentElement.tagName||"html"===a.documentElement.tagName)&&a.documentElement.childNodes&&a.documentElement.childNodes.length>0&&"parsererror"===a.documentElement.childNodes[0].nodeName?a.documentElement.childNodes[0]:"html"===a.documentElement.tagName&&a.documentElement.childNodes&&a.documentElement.childNodes.length>0&&"body"===a.documentElement.childNodes[0].nodeName&&a.documentElement.childNodes[0].childNodes&&a.documentElement.childNodes[0].childNodes.length&&"parsererror"===a.documentElement.childNodes[0].childNodes[0].nodeName?a.documentElement.childNodes[0].childNodes[0]:void 0},f=[new RegExp("^<h3[^>]*>This page contains the following errors:</h3><div[^>]*>(.+?)\n?</div>"),new RegExp("^(.+)\n")],g=function(a){var b,c,e=d(a);for(b=0;b<f.length;b++)if(c=f[b].exec(e))return c[1];return void 0},h=function(a){var b;if(null===a)throw new Error("Parse error");var c=e(a);if(void 0!==c)throw b=g(c)||"Parse error",new Error(b)};c.failOnParseError=function(a){return h(a),a}},{}],url:[function(a,b,c){b.exports=a("j37I/u")},{}],"j37I/u":[function(a,b,c){function d(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function e(a,b,c){if(a&&j(a)&&a instanceof d)return a;var e=new d;return e.parse(a,b,c),e}function f(a){return i(a)&&(a=e(a)),a instanceof d?a.format():d.prototype.format.call(a)}function g(a,b){return e(a,!1,!0).resolve(b)}function h(a,b){return a?e(a,!1,!0).resolveObject(b):b}function i(a){return"string"==typeof a}function j(a){return"object"==typeof a&&null!==a}function k(a){return null===a}function l(a){return null==a}var m=a("punycode");c.parse=e,c.resolve=g,c.resolveObject=h,c.format=f,c.Url=d;var n=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,p=["<",">",'"',"`"," ","\r","\n"," "],q=["{","}","|","\\","^","`"].concat(p),r=["'"].concat(q),s=["%","/","?",";","#"].concat(r),t=["/","?","#"],u=255,v=/^[a-z0-9A-Z_-]{0,63}$/,w=/^([a-z0-9A-Z_-]{0,63})(.*)$/,x={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},z={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},A=a("querystring");d.prototype.parse=function(a,b,c){if(!i(a))throw new TypeError("Parameter 'url' must be a string, not "+typeof a);var d=a;d=d.trim();var e=n.exec(d);if(e){e=e[0];var f=e.toLowerCase();this.protocol=f,d=d.substr(e.length)}if(c||e||d.match(/^\/\/[^@\/]+@[^@\/]+/)){var g="//"===d.substr(0,2);!g||e&&y[e]||(d=d.substr(2),this.slashes=!0)}if(!y[e]&&(g||e&&!z[e])){for(var h=-1,j=0;j<t.length;j++){var k=d.indexOf(t[j]);-1!==k&&(-1===h||h>k)&&(h=k)}var l,o;o=-1===h?d.lastIndexOf("@"):d.lastIndexOf("@",h),-1!==o&&(l=d.slice(0,o),d=d.slice(o+1),this.auth=decodeURIComponent(l)),h=-1;for(var j=0;j<s.length;j++){var k=d.indexOf(s[j]);-1!==k&&(-1===h||h>k)&&(h=k)}-1===h&&(h=d.length),this.host=d.slice(0,h),d=d.slice(h),this.parseHost(),this.hostname=this.hostname||"";var p="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];-if(!p)for(var q=this.hostname.split(/\./),j=0,B=q.length;B>j;j++){var C=q[j];if(C&&!C.match(v)){for(var D="",E=0,F=C.length;F>E;E++)D+=C.charCodeAt(E)>127?"x":C[E];if(!D.match(v)){var G=q.slice(0,j),H=q.slice(j+1),I=C.match(w);I&&(G.push(I[1]),H.unshift(I[2])),H.length&&(d="/"+H.join(".")+d),this.hostname=G.join(".");break}}}if(this.hostname.length>u?this.hostname="":this.hostname=this.hostname.toLowerCase(),!p){for(var J=this.hostname.split("."),K=[],j=0;j<J.length;++j){var L=J[j];K.push(L.match(/[^A-Za-z0-9_-]/)?"xn--"+m.encode(L):L)}this.hostname=K.join(".")}var M=this.port?":"+this.port:"",N=this.hostname||"";this.host=N+M,this.href+=this.host,p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==d[0]&&(d="/"+d))}if(!x[f])for(var j=0,B=r.length;B>j;j++){var O=r[j],P=encodeURIComponent(O);P===O&&(P=escape(O)),d=d.split(O).join(P)}var Q=d.indexOf("#");-1!==Q&&(this.hash=d.substr(Q),d=d.slice(0,Q));var R=d.indexOf("?");if(-1!==R?(this.search=d.substr(R),this.query=d.substr(R+1),b&&(this.query=A.parse(this.query)),d=d.slice(0,R)):b&&(this.search="",this.query={}),d&&(this.pathname=d),z[f]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var M=this.pathname||"",L=this.search||"";this.path=M+L}return this.href=this.format(),this},d.prototype.format=function(){var a=this.auth||"";a&&(a=encodeURIComponent(a),a=a.replace(/%3A/i,":"),a+="@");var b=this.protocol||"",c=this.pathname||"",d=this.hash||"",e=!1,f="";this.host?e=a+this.host:this.hostname&&(e=a+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(e+=":"+this.port)),this.query&&j(this.query)&&Object.keys(this.query).length&&(f=A.stringify(this.query));var g=this.search||f&&"?"+f||"";return b&&":"!==b.substr(-1)&&(b+=":"),this.slashes||(!b||z[b])&&e!==!1?(e="//"+(e||""),c&&"/"!==c.charAt(0)&&(c="/"+c)):e||(e=""),d&&"#"!==d.charAt(0)&&(d="#"+d),g&&"?"!==g.charAt(0)&&(g="?"+g),c=c.replace(/[?#]/g,function(a){return encodeURIComponent(a)}),g=g.replace("#","%23"),b+e+c+g+d},d.prototype.resolve=function(a){return this.resolveObject(e(a,!1,!0)).format()},d.prototype.resolveObject=function(a){if(i(a)){var b=new d;b.parse(a,!1,!0),a=b}var c=new d;if(Object.keys(this).forEach(function(a){c[a]=this[a]},this),c.hash=a.hash,""===a.href)return c.href=c.format(),c;if(a.slashes&&!a.protocol)return Object.keys(a).forEach(function(b){"protocol"!==b&&(c[b]=a[b])}),z[c.protocol]&&c.hostname&&!c.pathname&&(c.path=c.pathname="/"),c.href=c.format(),c;if(a.protocol&&a.protocol!==c.protocol){if(!z[a.protocol])return Object.keys(a).forEach(function(b){c[b]=a[b]}),c.href=c.format(),c;if(c.protocol=a.protocol,a.host||y[a.protocol])c.pathname=a.pathname;else{for(var e=(a.pathname||"").split("/");e.length&&!(a.host=e.shift()););a.host||(a.host=""),a.hostname||(a.hostname=""),""!==e[0]&&e.unshift(""),e.length<2&&e.unshift(""),c.pathname=e.join("/")}if(c.search=a.search,c.query=a.query,c.host=a.host||"",c.auth=a.auth,c.hostname=a.hostname||a.host,c.port=a.port,c.pathname||c.search){var f=c.pathname||"",g=c.search||"";c.path=f+g}return c.slashes=c.slashes||a.slashes,c.href=c.format(),c}var h=c.pathname&&"/"===c.pathname.charAt(0),j=a.host||a.pathname&&"/"===a.pathname.charAt(0),m=j||h||c.host&&a.pathname,n=m,o=c.pathname&&c.pathname.split("/")||[],e=a.pathname&&a.pathname.split("/")||[],p=c.protocol&&!z[c.protocol];if(p&&(c.hostname="",c.port=null,c.host&&(""===o[0]?o[0]=c.host:o.unshift(c.host)),c.host="",a.protocol&&(a.hostname=null,a.port=null,a.host&&(""===e[0]?e[0]=a.host:e.unshift(a.host)),a.host=null),m=m&&(""===e[0]||""===o[0])),j)c.host=a.host||""===a.host?a.host:c.host,c.hostname=a.hostname||""===a.hostname?a.hostname:c.hostname,c.search=a.search,c.query=a.query,o=e;else if(e.length)o||(o=[]),o.pop(),o=o.concat(e),c.search=a.search,c.query=a.query;else if(!l(a.search)){if(p){c.hostname=c.host=o.shift();var q=c.host&&c.host.indexOf("@")>0?c.host.split("@"):!1;q&&(c.auth=q.shift(),c.host=c.hostname=q.shift())}return c.search=a.search,c.query=a.query,k(c.pathname)&&k(c.search)||(c.path=(c.pathname?c.pathname:"")+(c.search?c.search:"")),c.href=c.format(),c}if(!o.length)return c.pathname=null,c.search?c.path="/"+c.search:c.path=null,c.href=c.format(),c;for(var r=o.slice(-1)[0],s=(c.host||a.host)&&("."===r||".."===r)||""===r,t=0,u=o.length;u>=0;u--)r=o[u],"."==r?o.splice(u,1):".."===r?(o.splice(u,1),t++):t&&(o.splice(u,1),t--);if(!m&&!n)for(;t--;t)o.unshift("..");!m||""===o[0]||o[0]&&"/"===o[0].charAt(0)||o.unshift(""),s&&"/"!==o.join("/").substr(-1)&&o.push("");var v=""===o[0]||o[0]&&"/"===o[0].charAt(0);if(p){c.hostname=c.host=v?"":o.length?o.shift():"";var q=c.host&&c.host.indexOf("@")>0?c.host.split("@"):!1;q&&(c.auth=q.shift(),c.host=c.hostname=q.shift())}return m=m||c.host&&o.length,m&&!v&&o.unshift(""),o.length?c.pathname=o.join("/"):(c.pathname=null,c.path=null),k(c.pathname)&&k(c.search)||(c.path=(c.pathname?c.pathname:"")+(c.search?c.search:"")),c.auth=a.auth||c.auth,c.slashes=c.slashes||a.slashes,c.href=c.format(),c},d.prototype.parseHost=function(){var a=this.host,b=o.exec(a);b&&(b=b[0],":"!==b&&(this.port=b.substr(1)),a=a.substr(0,a.length-b.length)),a&&(this.hostname=a)}},{punycode:3,querystring:6}],39:[function(a,b,c){var d=function(a){return a.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F]/g,"")},e=function(a){return a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},f=function(a){return a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},g=function(a){var b=a.value;return" "+a.name+'="'+e(b)+'"'},h=function(a){var b=a.tagName;return"http://www.w3.org/1999/xhtml"===a.namespaceURI&&(b=b.toLowerCase()),b},i=function(a){var b=Array.prototype.map.call(a.attributes||a.attrs,function(a){return a.name}).indexOf("xmlns")>=0;return b||a.parentNode&&a.namespaceURI===a.parentNode.namespaceURI&&"html"!==h(a)?"":' xmlns="'+a.namespaceURI+'"'},j=function(a){return Array.prototype.map.call(a.childNodes,function(a){return o(a)}).join("")},k=function(a){var b="<"+h(a);return b+=i(a),Array.prototype.forEach.call(a.attributes||a.attrs,function(a){b+=g(a)}),a.childNodes.length>0?(b+=">",b+=j(a),b+="</"+h(a)+">"):b+="/>",b},l=function(a){var b=a.nodeValue||a.value||"";return f(b)},m=function(a){return"<!--"+a.data.replace(/-/g,"-")+"-->"},n=function(a){return"<![CDATA["+a.nodeValue+"]]>"},o=function(a){return"#document"===a.nodeName||"#document-fragment"===a.nodeName?j(a):a.tagName?k(a):"#text"===a.nodeName?l(a):"#comment"===a.nodeName?m(a):"#cdata-section"===a.nodeName?n(a):void 0};c.serializeToString=function(a){return d(o(a))}},{}]},{},[1])(1)});\ No newline at end of filediff --git a/data/libs/requirecss/LICENSE[MIT] b/data/libs/require-css/LICENSEsimilarity index 100%rename from data/libs/requirecss/LICENSE[MIT]rename to data/libs/require-css/LICENSEdiff --git a/data/libs/require-css/css.min.js b/data/libs/require-css/css.min.jsnew file mode 100644index 000000000..2e1d1202f--- /dev/null+++ b/data/libs/require-css/css.min.js@@ -0,0 +1 @@+define(function(){if("undefined"==typeof window)return{load:function(e,t,n){n()}};var e=document.getElementsByTagName("head")[0],t=window.navigator.userAgent.match(/Trident\/([^ ;]*)|AppleWebKit\/([^ ;]*)|Opera\/([^ ;]*)|rv\:([^ ;]*)(.*?)Gecko\/([^ ;]*)|MSIE\s([^ ;]*)|AndroidWebKit\/([^ ;]*)/)||0,n=!1,r=!0;t[1]||t[7]?n=parseInt(t[1])<6||parseInt(t[7])<=9:t[2]||t[8]?r=!1:t[4]&&(n=parseInt(t[4])<18);var o={};o.pluginBuilder="./css-builder";var a,i,s,l=function(){a=document.createElement("style"),e.appendChild(a),i=a.styleSheet||a.sheet},u=0,d=[],c=function(e){u++,32==u&&(l(),u=0),i.addImport(e),a.onload=function(){f()}},f=function(){s();var e=d.shift();return e?(s=e[1],void c(e[0])):void(s=null)},h=function(e,t){if(i&&i.addImport||l(),i&&i.addImport)s?d.push([e,t]):(c(e),s=t);else{a.textContent='@import "'+e+'";';var n=setInterval(function(){try{a.sheet.cssRules,clearInterval(n),t()}catch(e){}},10)}},p=function(t,n){var o=document.createElement("link");if(o.type="text/css",o.rel="stylesheet",r)o.onload=function(){o.onload=function(){},setTimeout(n,7)};else var a=setInterval(function(){for(var e=0;e<document.styleSheets.length;e++){var t=document.styleSheets[e];if(t.href==o.href)return clearInterval(a),n()}},10);o.href=t,e.appendChild(o)};return o.normalize=function(e,t){return".css"==e.substr(e.length-4,4)&&(e=e.substr(0,e.length-4)),t(e)},o.load=function(e,t,r){(n?h:p)(t.toUrl(e+".css"),r)},o});\ No newline at end of filediff --git a/data/libs/requirecss/css.js b/data/libs/requirecss/css.jsdeleted file mode 100644index 6c3f3e610..000000000--- a/data/libs/requirecss/css.js+++ /dev/null@@ -1,437 +0,0 @@-/*- * Require-CSS RequireJS css! loader plugin- * 0.0.8- * Guy Bedford 2013- * MIT- */--/*- *- * Usage:- * require(['css!./mycssFile']);- *- * NB leave out the '.css' extension.- *- * - Fully supports cross origin CSS loading- * - Works with builds- *- * Tested and working in (up to latest versions as of March 2013):- * Android- * iOS 6- * IE 6 - 10- * Chome 3 - 26- * Firefox 3.5 - 19- * Opera 10 - 12- *- * browserling.com used for virtual testing environment- *- * Credit to B Cavalier & J Hann for the elegant IE 6 - 9 hack.- *- * Sources that helped along the way:- * - https://developer.mozilla.org/en-US/docs/Browser_detection_using_the_user_agent- * - http://www.phpied.com/when-is-a-stylesheet-really-loaded/- * - https://github.com/cujojs/curl/blob/master/src/curl/plugin/css.js- *- */--define(['./normalize'], function(normalize) {- function indexOf(a, e) { for (var i=0, l=a.length; i < l; i++) if (a[i] === e) return i; return -1 }-- if (typeof window == 'undefined')- return { load: function(n, r, load){ load() } };-- // set to true to enable test prompts for device testing- var testing = false;-- var head = document.getElementsByTagName('head')[0];-- var engine = window.navigator.userAgent.match(/Trident\/([^ ;]*)|AppleWebKit\/([^ ;]*)|Opera\/([^ ;]*)|rv\:([^ ;]*)(.*?)Gecko\/([^ ;]*)|MSIE\s([^ ;]*)/);- var hackLinks = false;-- if (!engine) {}- else if (engine[1] || engine[7]) {- hackLinks = parseInt(engine[1]) < 6 || parseInt(engine[7]) <= 9;- engine = 'trident';- }- else if (engine[2]) {- // unfortunately style querying still doesnt work with onload callback in webkit- hackLinks = true;- engine = 'webkit';- }- else if (engine[3]) {- // engine = 'opera';- }- else if (engine[4]) {- hackLinks = parseInt(engine[4]) < 18;- engine = 'gecko';- }- else if (testing)- alert('Engine detection failed');-- //main api object- var cssAPI = {};-- var absUrlRegEx = /^\/|([^\:\/]*:)/;-- cssAPI.pluginBuilder = './css-builder';-- // used by layer builds to register their css buffers-- // the current layer buffer items (from addBuffer)- var curBuffer = [];-- // the callbacks for buffer loads- var onBufferLoad = {};-- // the full list of resources in the buffer- var bufferResources = [];-- cssAPI.addBuffer = function(resourceId) {- // just in case layer scripts are included twice, also check- // against the previous buffers- if (indexOf(curBuffer, resourceId) != -1)- return;- if (indexOf(bufferResources, resourceId) != -1)- return;- curBuffer.push(resourceId);- bufferResources.push(resourceId);- }- cssAPI.setBuffer = function(css, isLess) {- var pathname = window.location.pathname.split('/');- pathname.pop();- pathname = pathname.join('/') + '/';-- var baseParts = require.toUrl('base_url').split('/');- baseParts.pop();- var baseUrl = baseParts.join('/') + '/';- baseUrl = normalize.convertURIBase(baseUrl, pathname, '/');- if (!baseUrl.match(absUrlRegEx))- baseUrl = '/' + baseUrl;- if (baseUrl.substr(baseUrl.length - 1, 1) != '/')- baseUrl = baseUrl + '/';-- cssAPI.inject(normalize(css, baseUrl, pathname));-- // set up attach callback if registered- // clear the current buffer for the next layer- // (just the less or css part as we have two buffers in one effectively)- for (var i = 0; i < curBuffer.length; i++) {- // find the resources in the less or css buffer dependening which one this is- if ((isLess && curBuffer[i].substr(curBuffer[i].length - 5, 5) == '.less') ||- (!isLess && curBuffer[i].substr(curBuffer[i].length - 4, 4) == '.css')) {- (function(resourceId) {- // mark that the onBufferLoad is about to be called (set to true if not already a callback function)- onBufferLoad[resourceId] = onBufferLoad[resourceId] || true;-- // set a short timeout (as injection isn't instant in Chrome), then call the load- setTimeout(function() {- if (typeof onBufferLoad[resourceId] == 'function')- onBufferLoad[resourceId]();- // remove from onBufferLoad to indicate loaded- delete onBufferLoad[resourceId];- }, 7);- })(curBuffer[i]);-- // remove the current resource from the buffer- curBuffer.splice(i--, 1);- }- }- }- cssAPI.attachBuffer = function(resourceId, load) {- // attach can happen during buffer collecting, or between injection and callback- // we assume it is not possible to attach multiple callbacks- // requirejs plugin load function ensures this by queueing duplicate calls-- // check if the resourceId is in the current buffer- for (var i = 0; i < curBuffer.length; i++)- if (curBuffer[i] == resourceId) {- onBufferLoad[resourceId] = load;- return true;- }-- // check if the resourceId is waiting for injection callback- // (onBufferLoad === true is a shortcut indicator for this)- if (onBufferLoad[resourceId] === true) {- onBufferLoad[resourceId] = load;- return true;- }-- // if it's in the full buffer list and not either of the above, its loaded already- if (indexOf(bufferResources, resourceId) != -1) {- load();- return true;- }- }-- var webkitLoadCheck = function(link, callback) {- setTimeout(function() {- for (var i = 0; i < document.styleSheets.length; i++) {- var sheet = document.styleSheets[i];- if (sheet.href == link.href)- return callback();- }- webkitLoadCheck(link, callback);- }, 10);- }-- var mozillaLoadCheck = function(style, callback) {- setTimeout(function() {- try {- style.sheet.cssRules;- return callback();- } catch (e){}- mozillaLoadCheck(style, callback);- }, 10);- }-- // ie link detection, as adapted from https://github.com/cujojs/curl/blob/master/src/curl/plugin/css.js- if (engine == 'trident' && hackLinks) {- var ieStyles = [],- ieQueue = [],- ieStyleCnt = 0;- var ieLoad = function(url, callback) {- var style;- ieQueue.push({- url: url,- cb: callback- });- style = ieStyles.shift();- if (!style && ieStyleCnt++ < 31) {- style = document.createElement('style');- head.appendChild(style);- }- if (style)- ieLoadNextImport(style);- }- var ieLoadNextImport = function(style) {- var curImport = ieQueue.shift();- if (!curImport) {- style.onload = noop;- ieStyles.push(style);- return;- }- style.onload = function() {- curImport.cb(curImport.ss);- ieLoadNextImport(style);- };- var curSheet = style.styleSheet;- curImport.ss = curSheet.imports[curSheet.addImport(curImport.url)];- }- }-- // uses the <link> load method- var createLink = function(url) {- var link = document.createElement('link');- link.type = 'text/css';- link.rel = 'stylesheet';- link.href = url;- return link;- }-- var noop = function(){}-- cssAPI.linkLoad = function(url, callback) {- var timeout = setTimeout(function() {- if (testing) alert('timeout');- callback();- }, waitSeconds * 1000 - 100);- var _callback = function() {- clearTimeout(timeout);- if (link)- link.onload = noop;- // for style querying, a short delay still seems necessary- setTimeout(callback, 7);- }- if (!hackLinks) {- var link = createLink(url);- link.onload = _callback;- head.appendChild(link);- }- // hacks- else {- if (engine == 'webkit') {- var link = createLink(url);- webkitLoadCheck(link, _callback);- head.appendChild(link);- }- else if (engine == 'gecko') {- var style = document.createElement('style');- style.textContent = '@import "' + url + '"';- mozillaLoadCheck(style, _callback);- head.appendChild(style);- }- else if (engine == 'trident')- ieLoad(url, _callback);- }- }-- /* injection api */- var progIds = ['Msxml2.XMLHTTP', 'Microsoft.XMLHTTP', 'Msxml2.XMLHTTP.4.0'];- var fileCache = {};- var get = function(url, callback, errback) {- if (fileCache[url]) {- callback(fileCache[url]);- return;- }-- var xhr, i, progId;- if (typeof XMLHttpRequest !== 'undefined')- xhr = new XMLHttpRequest();- else if (typeof ActiveXObject !== 'undefined')- for (i = 0; i < 3; i += 1) {- progId = progIds[i];- try {- xhr = new ActiveXObject(progId);- }- catch (e) {}-- if (xhr) {- progIds = [progId]; // so faster next time- break;- }- }-- xhr.open('GET', url, requirejs.inlineRequire ? false : true);-- xhr.onreadystatechange = function (evt) {- var status, err;- //Do not explicitly handle errors, those should be- //visible via console output in the browser.- if (xhr.readyState === 4) {- status = xhr.status;- if (status > 399 && status < 600) {- //An http 4xx or 5xx error. Signal an error.- err = new Error(url + ' HTTP status: ' + status);- err.xhr = xhr;- errback(err);- }- else {- fileCache[url] = xhr.responseText;- callback(xhr.responseText);- }- }- };-- xhr.send(null);- }- //uses the <style> load method- var styleCnt = 0;- var curStyle;- cssAPI.inject = function(css) {- if (styleCnt < 31) {- curStyle = document.createElement('style');- curStyle.type = 'text/css';- head.appendChild(curStyle);- styleCnt++;- }- if (curStyle.styleSheet)- curStyle.styleSheet.cssText += css;- else- curStyle.appendChild(document.createTextNode(css));- }-- // NB add @media query support for media imports- var importRegEx = /@import\s*(url)?\s*(('([^']*)'|"([^"]*)")|\(('([^']*)'|"([^"]*)"|([^\)]*))\))\s*;?/g;-- var pathname = window.location.pathname.split('/');- pathname.pop();- pathname = pathname.join('/') + '/';-- var loadCSS = function(fileUrl, callback, errback) {-- //make file url absolute- if (!fileUrl.match(absUrlRegEx))- fileUrl = '/' + normalize.convertURIBase(fileUrl, pathname, '/');-- get(fileUrl, function(css) {-- // normalize the css (except import statements)- css = normalize(css, fileUrl, pathname);-- // detect all import statements in the css and normalize- var importUrls = [];- var importIndex = [];- var importLength = [];- var match;- while (match = importRegEx.exec(css)) {- var importUrl = match[4] || match[5] || match[7] || match[8] || match[9];-- importUrls.push(importUrl);- importIndex.push(importRegEx.lastIndex - match[0].length);- importLength.push(match[0].length);- }-- // load the import stylesheets and substitute into the css- var completeCnt = 0;- for (var i = 0; i < importUrls.length; i++)- (function(i) {- loadCSS(importUrls[i], function(importCSS) {- css = css.substr(0, importIndex[i]) + importCSS + css.substr(importIndex[i] + importLength[i]);- var lenDiff = importCSS.length - importLength[i];- for (var j = i + 1; j < importUrls.length; j++)- importIndex[j] += lenDiff;- completeCnt++;- if (completeCnt == importUrls.length) {- callback(css);- }- }, errback);- })(i);-- if (importUrls.length == 0)- callback(css);- }, errback);- }--- cssAPI.normalize = function(name, normalize) {- if (name.substr(name.length - 4, 4) == '.css')- name = name.substr(0, name.length - 4);-- return normalize(name);- }-- var waitSeconds;- var alerted = false;- cssAPI.load = function(cssId, req, load, config, parse) {-- waitSeconds = waitSeconds || config.waitSeconds || 7;-- var resourceId = cssId + (!parse ? '.css' : '.less');-- // attach the load function to a buffer if there is one in registration- // if not, we do a full injection load- if (cssAPI.attachBuffer(resourceId, load))- return;-- var fileUrl = req.toUrl(resourceId);-- if (!alerted && testing) {- alert(hackLinks ? 'hacking links' : 'not hacking');- alerted = true;- }-- if (!parse) {- cssAPI.linkLoad(fileUrl, load);- }- else {- loadCSS(fileUrl, function(css) {- // run parsing after normalization - since less is a CSS subset this works fine- if (parse)- css = parse(css, function(css) {- cssAPI.inject(css);- setTimeout(load, 7);- });- });- }- }-- if (testing)- cssAPI.inspect = function() {- if (stylesheet.styleSheet)- return stylesheet.styleSheet.cssText;- else if (stylesheet.innerHTML)- return stylesheet.innerHTML;- }-- return cssAPI;-});diff --git a/data/libs/requirecss/normalize.js b/data/libs/requirecss/normalize.jsdeleted file mode 100644index 4d81eb1cb..000000000--- a/data/libs/requirecss/normalize.js+++ /dev/null@@ -1,138 +0,0 @@-/*- * css.normalize.js- *- * CSS Normalization- *- * CSS paths are normalized based on an optional basePath and the RequireJS config- *- * Usage:- * normalize(css, fromBasePath, toBasePath);- *- * css: the stylesheet content to normalize- * fromBasePath: the absolute base path of the css relative to any root (but without ../ backtracking)- * toBasePath: the absolute new base path of the css relative to the same root- *- * Absolute dependencies are left untouched.- *- * Urls in the CSS are picked up by regular expressions.- * These will catch all statements of the form:- *- * url(*)- * url('*')- * url("*")- *- * @import '*'- * @import "*"- *- * (and so also @import url(*) variations)- *- * For urls needing normalization- *- */--define(['require', 'module'], function(require, module) {-- // regular expression for removing double slashes- // eg http://www.example.com//my///url/here -> http://www.example.com/my/url/here- var slashes = /([^:])\/+/g- var removeDoubleSlashes = function(uri) {- return uri.replace(slashes, '$1/');- }-- // given a relative URI, and two absolute base URIs, convert it from one base to another- var protocolRegEx = /[^\:\/]*:\/\/([^\/])*/- function convertURIBase(uri, fromBase, toBase) {- if(uri.indexOf("data:") === 0)- return uri;- uri = removeDoubleSlashes(uri);- // absolute urls are left in tact- if (uri.match(/^\//) || uri.match(protocolRegEx))- return uri;- // if toBase specifies a protocol path, ensure this is the same protocol as fromBase, if not- // use absolute path at fromBase- var toBaseProtocol = toBase.match(protocolRegEx);- var fromBaseProtocol = fromBase.match(protocolRegEx);- if (fromBaseProtocol && (!toBaseProtocol || toBaseProtocol[1] != fromBaseProtocol[1] || toBaseProtocol[2] != fromBaseProtocol[2]))- return absoluteURI(uri, fromBase);-- else {- return relativeURI(absoluteURI(uri, fromBase), toBase);- }- };-- // given a relative URI, calculate the absolute URI- function absoluteURI(uri, base) {- if (uri.substr(0, 2) == './')- uri = uri.substr(2);-- var baseParts = base.split('/');- var uriParts = uri.split('/');-- baseParts.pop();-- while (curPart = uriParts.shift())- if (curPart == '..')- baseParts.pop();- else- baseParts.push(curPart);-- return baseParts.join('/');- };--- // given an absolute URI, calculate the relative URI- function relativeURI(uri, base) {-- // reduce base and uri strings to just their difference string- var baseParts = base.split('/');- baseParts.pop();- base = baseParts.join('/') + '/';- i = 0;- while (base.substr(i, 1) == uri.substr(i, 1))- i++;- while (base.substr(i, 1) != '/')- i--;- base = base.substr(i + 1);- uri = uri.substr(i + 1);-- // each base folder difference is thus a backtrack- baseParts = base.split('/');- var uriParts = uri.split('/');- out = '';- while (baseParts.shift())- out += '../';-- // finally add uri parts- while (curPart = uriParts.shift())- out += curPart + '/';-- return out.substr(0, out.length - 1);- };-- var normalizeCSS = function(source, fromBase, toBase, cssBase) {-- fromBase = removeDoubleSlashes(fromBase);- toBase = removeDoubleSlashes(toBase);-- var urlRegEx = /@import\s*("([^"]*)"|'([^']*)')|url\s*\(\s*(\s*"([^"]*)"|'([^']*)'|[^\)]*\s*)\s*\)/ig;- var result, url, source;-- while (result = urlRegEx.exec(source)) {- url = result[3] || result[2] || result[5] || result[6] || result[4];- var newUrl;- if (cssBase && url.substr(0, 1) == '/')- newUrl = cssBase + url;- else- newUrl = convertURIBase(url, fromBase, toBase);- var quoteLen = result[5] || result[6] ? 1 : 0;- source = source.substr(0, urlRegEx.lastIndex - url.length - quoteLen - 1) + newUrl + source.substr(urlRegEx.lastIndex - quoteLen - 1);- urlRegEx.lastIndex = urlRegEx.lastIndex + (newUrl.length - url.length);- }-- return source;- };-- normalizeCSS.convertURIBase = convertURIBase;-- return normalizeCSS;-});diff --git a/data/libs/requirejs/MIT-LICENSE.txt b/data/libs/requirejs/MIT-LICENSE.txtdeleted file mode 100644index 741585591..000000000--- a/data/libs/requirejs/MIT-LICENSE.txt+++ /dev/null@@ -1,26 +0,0 @@-Copyright 2012 jQuery Foundation and other contributors,-http://jqueryui.com/--This software consists of voluntary contributions made by many-individuals (AUTHORS.txt, http://jqueryui.com/about) For exact-contribution history, see the revision history and logs, available-at http://jquery-ui.googlecode.com/svn/--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.diff --git a/data/libs/requirejs/require.js b/data/libs/requirejs/require.jsindex a1099cfc8..e33c7dded 100644--- a/data/libs/requirejs/require.js+++ b/data/libs/requirejs/require.js@@ -1,36 +1,2129 @@-/*- RequireJS 2.1.14 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved.- Available via the MIT or new BSD license.- see: http://github.com/jrburke/requirejs for details-*/-var requirejs,require,define;-(function(ba){function G(b){return"[object Function]"===K.call(b)}function H(b){return"[object Array]"===K.call(b)}function v(b,c){if(b){var d;for(d=0;d<b.length&&(!b[d]||!c(b[d],d,b));d+=1);}}function T(b,c){if(b){var d;for(d=b.length-1;-1<d&&(!b[d]||!c(b[d],d,b));d-=1);}}function t(b,c){return fa.call(b,c)}function m(b,c){return t(b,c)&&b[c]}function B(b,c){for(var d in b)if(t(b,d)&&c(b[d],d))break}function U(b,c,d,e){c&&B(c,function(c,g){if(d||!t(b,g))e&&"object"===typeof c&&c&&!H(c)&&!G(c)&&!(c instanceof-RegExp)?(b[g]||(b[g]={}),U(b[g],c,d,e)):b[g]=c});return b}function u(b,c){return function(){return c.apply(b,arguments)}}function ca(b){throw b;}function da(b){if(!b)return b;var c=ba;v(b.split("."),function(b){c=c[b]});return c}function C(b,c,d,e){c=Error(c+"\nhttp://requirejs.org/docs/errors.html#"+b);c.requireType=b;c.requireModules=e;d&&(c.originalError=d);return c}function ga(b){function c(a,k,b){var f,l,c,d,e,g,i,p,k=k&&k.split("/"),h=j.map,n=h&&h["*"];if(a){a=a.split("/");l=a.length-1;j.nodeIdCompat&&-Q.test(a[l])&&(a[l]=a[l].replace(Q,""));"."===a[0].charAt(0)&&k&&(l=k.slice(0,k.length-1),a=l.concat(a));l=a;for(c=0;c<l.length;c++)if(d=l[c],"."===d)l.splice(c,1),c-=1;else if(".."===d&&!(0===c||1==c&&".."===l[2]||".."===l[c-1])&&0<c)l.splice(c-1,2),c-=2;a=a.join("/")}if(b&&h&&(k||n)){l=a.split("/");c=l.length;a:for(;0<c;c-=1){e=l.slice(0,c).join("/");if(k)for(d=k.length;0<d;d-=1)if(b=m(h,k.slice(0,d).join("/")))if(b=m(b,e)){f=b;g=c;break a}!i&&(n&&m(n,e))&&(i=m(n,e),p=c)}!f&&i&&(f=i,g=p);f&&(l.splice(0,-g,f),a=l.join("/"))}return(f=m(j.pkgs,a))?f:a}function d(a){z&&v(document.getElementsByTagName("script"),function(k){if(k.getAttribute("data-requiremodule")===a&&k.getAttribute("data-requirecontext")===i.contextName)return k.parentNode.removeChild(k),!0})}function e(a){var k=m(j.paths,a);if(k&&H(k)&&1<k.length)return k.shift(),i.require.undef(a),i.makeRequire(null,{skipMap:!0})([a]),!0}function n(a){var k,c=a?a.indexOf("!"):-1;-1<c&&(k=a.substring(0,c),a=a.substring(c+1,a.length));return[k,a]}function p(a,-k,b,f){var l,d,e=null,g=k?k.name:null,j=a,p=!0,h="";a||(p=!1,a="_@r"+(K+=1));a=n(a);e=a[0];a=a[1];e&&(e=c(e,g,f),d=m(r,e));a&&(e?h=d&&d.normalize?d.normalize(a,function(a){return c(a,g,f)}):-1===a.indexOf("!")?c(a,g,f):a:(h=c(a,g,f),a=n(h),e=a[0],h=a[1],b=!0,l=i.nameToUrl(h)));b=e&&!d&&!b?"_unnormalized"+(O+=1):"";return{prefix:e,name:h,parentMap:k,unnormalized:!!b,url:l,originalName:j,isDefine:p,id:(e?e+"!"+h:h)+b}}function s(a){var k=a.id,b=m(h,k);b||(b=h[k]=new i.Module(a));return b}function q(a,-k,b){var f=a.id,c=m(h,f);if(t(r,f)&&(!c||c.defineEmitComplete))"defined"===k&&b(r[f]);else if(c=s(a),c.error&&"error"===k)b(c.error);else c.on(k,b)}function w(a,b){var c=a.requireModules,f=!1;if(b)b(a);else if(v(c,function(b){if(b=m(h,b))b.error=a,b.events.error&&(f=!0,b.emit("error",a))}),!f)g.onError(a)}function x(){R.length&&(ha.apply(A,[A.length,0].concat(R)),R=[])}function y(a){delete h[a];delete V[a]}function F(a,b,c){var f=a.map.id;a.error?a.emit("error",a.error):(b[f]=!0,v(a.depMaps,function(f,-d){var e=f.id,g=m(h,e);g&&(!a.depMatched[d]&&!c[e])&&(m(b,e)?(a.defineDep(d,r[e]),a.check()):F(g,b,c))}),c[f]=!0)}function D(){var a,b,c=(a=1E3*j.waitSeconds)&&i.startTime+a<(new Date).getTime(),f=[],l=[],g=!1,h=!0;if(!W){W=!0;B(V,function(a){var i=a.map,j=i.id;if(a.enabled&&(i.isDefine||l.push(a),!a.error))if(!a.inited&&c)e(j)?g=b=!0:(f.push(j),d(j));else if(!a.inited&&(a.fetched&&i.isDefine)&&(g=!0,!i.prefix))return h=!1});if(c&&f.length)return a=C("timeout","Load timeout for modules: "+f,null,-f),a.contextName=i.contextName,w(a);h&&v(l,function(a){F(a,{},{})});if((!c||b)&&g)if((z||ea)&&!X)X=setTimeout(function(){X=0;D()},50);W=!1}}function E(a){t(r,a[0])||s(p(a[0],null,!0)).init(a[1],a[2])}function I(a){var a=a.currentTarget||a.srcElement,b=i.onScriptLoad;a.detachEvent&&!Y?a.detachEvent("onreadystatechange",b):a.removeEventListener("load",b,!1);b=i.onScriptError;(!a.detachEvent||Y)&&a.removeEventListener("error",b,!1);return{node:a,id:a&&a.getAttribute("data-requiremodule")}}function J(){var a;-for(x();A.length;){a=A.shift();if(null===a[0])return w(C("mismatch","Mismatched anonymous define() module: "+a[a.length-1]));E(a)}}var W,Z,i,L,X,j={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},h={},V={},$={},A=[],r={},S={},aa={},K=1,O=1;L={require:function(a){return a.require?a.require:a.require=i.makeRequire(a.map)},exports:function(a){a.usingExports=!0;if(a.map.isDefine)return a.exports?r[a.map.id]=a.exports:a.exports=r[a.map.id]={}},module:function(a){return a.module?-a.module:a.module={id:a.map.id,uri:a.map.url,config:function(){return m(j.config,a.map.id)||{}},exports:a.exports||(a.exports={})}}};Z=function(a){this.events=m($,a.id)||{};this.map=a;this.shim=m(j.shim,a.id);this.depExports=[];this.depMaps=[];this.depMatched=[];this.pluginMaps={};this.depCount=0};Z.prototype={init:function(a,b,c,f){f=f||{};if(!this.inited){this.factory=b;if(c)this.on("error",c);else this.events.error&&(c=u(this,function(a){this.emit("error",a)}));this.depMaps=a&&a.slice(0);this.errback=-c;this.inited=!0;this.ignore=f.ignore;f.enabled||this.enabled?this.enable():this.check()}},defineDep:function(a,b){this.depMatched[a]||(this.depMatched[a]=!0,this.depCount-=1,this.depExports[a]=b)},fetch:function(){if(!this.fetched){this.fetched=!0;i.startTime=(new Date).getTime();var a=this.map;if(this.shim)i.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],u(this,function(){return a.prefix?this.callPlugin():this.load()}));else return a.prefix?this.callPlugin():this.load()}},load:function(){var a=-this.map.url;S[a]||(S[a]=!0,i.load(this.map.id,a))},check:function(){if(this.enabled&&!this.enabling){var a,b,c=this.map.id;b=this.depExports;var f=this.exports,l=this.factory;if(this.inited)if(this.error)this.emit("error",this.error);else{if(!this.defining){this.defining=!0;if(1>this.depCount&&!this.defined){if(G(l)){if(this.events.error&&this.map.isDefine||g.onError!==ca)try{f=i.execCb(c,l,b,f)}catch(d){a=d}else f=i.execCb(c,l,b,f);this.map.isDefine&&void 0===f&&((b=this.module)?f=b.exports:this.usingExports&&-(f=this.exports));if(a)return a.requireMap=this.map,a.requireModules=this.map.isDefine?[this.map.id]:null,a.requireType=this.map.isDefine?"define":"require",w(this.error=a)}else f=l;this.exports=f;if(this.map.isDefine&&!this.ignore&&(r[c]=f,g.onResourceLoad))g.onResourceLoad(i,this.map,this.depMaps);y(c);this.defined=!0}this.defining=!1;this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else this.fetch()}},callPlugin:function(){var a=-this.map,b=a.id,d=p(a.prefix);this.depMaps.push(d);q(d,"defined",u(this,function(f){var l,d;d=m(aa,this.map.id);var e=this.map.name,P=this.map.parentMap?this.map.parentMap.name:null,n=i.makeRequire(a.parentMap,{enableBuildCallback:!0});if(this.map.unnormalized){if(f.normalize&&(e=f.normalize(e,function(a){return c(a,P,!0)})||""),f=p(a.prefix+"!"+e,this.map.parentMap),q(f,"defined",u(this,function(a){this.init([],function(){return a},null,{enabled:!0,ignore:!0})})),d=m(h,f.id)){this.depMaps.push(f);-if(this.events.error)d.on("error",u(this,function(a){this.emit("error",a)}));d.enable()}}else d?(this.map.url=i.nameToUrl(d),this.load()):(l=u(this,function(a){this.init([],function(){return a},null,{enabled:!0})}),l.error=u(this,function(a){this.inited=!0;this.error=a;a.requireModules=[b];B(h,function(a){0===a.map.id.indexOf(b+"_unnormalized")&&y(a.map.id)});w(a)}),l.fromText=u(this,function(f,c){var d=a.name,e=p(d),P=M;c&&(f=c);P&&(M=!1);s(e);t(j.config,b)&&(j.config[d]=j.config[b]);try{g.exec(f)}catch(h){return w(C("fromtexteval",-"fromText eval for "+b+" failed: "+h,h,[b]))}P&&(M=!0);this.depMaps.push(e);i.completeLoad(d);n([d],l)}),f.load(a.name,n,l,j))}));i.enable(d,this);this.pluginMaps[d.id]=d},enable:function(){V[this.map.id]=this;this.enabling=this.enabled=!0;v(this.depMaps,u(this,function(a,b){var c,f;if("string"===typeof a){a=p(a,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap);this.depMaps[b]=a;if(c=m(L,a.id)){this.depExports[b]=c(this);return}this.depCount+=1;q(a,"defined",u(this,function(a){this.defineDep(b,-a);this.check()}));this.errback&&q(a,"error",u(this,this.errback))}c=a.id;f=h[c];!t(L,c)&&(f&&!f.enabled)&&i.enable(a,this)}));B(this.pluginMaps,u(this,function(a){var b=m(h,a.id);b&&!b.enabled&&i.enable(a,this)}));this.enabling=!1;this.check()},on:function(a,b){var c=this.events[a];c||(c=this.events[a]=[]);c.push(b)},emit:function(a,b){v(this.events[a],function(a){a(b)});"error"===a&&delete this.events[a]}};i={config:j,contextName:b,registry:h,defined:r,urlFetched:S,defQueue:A,Module:Z,makeModuleMap:p,-nextTick:g.nextTick,onError:w,configure:function(a){a.baseUrl&&"/"!==a.baseUrl.charAt(a.baseUrl.length-1)&&(a.baseUrl+="/");var b=j.shim,c={paths:!0,bundles:!0,config:!0,map:!0};B(a,function(a,b){c[b]?(j[b]||(j[b]={}),U(j[b],a,!0,!0)):j[b]=a});a.bundles&&B(a.bundles,function(a,b){v(a,function(a){a!==b&&(aa[a]=b)})});a.shim&&(B(a.shim,function(a,c){H(a)&&(a={deps:a});if((a.exports||a.init)&&!a.exportsFn)a.exportsFn=i.makeShimExports(a);b[c]=a}),j.shim=b);a.packages&&v(a.packages,function(a){var b,-a="string"===typeof a?{name:a}:a;b=a.name;a.location&&(j.paths[b]=a.location);j.pkgs[b]=a.name+"/"+(a.main||"main").replace(ia,"").replace(Q,"")});B(h,function(a,b){!a.inited&&!a.map.unnormalized&&(a.map=p(b))});if(a.deps||a.callback)i.require(a.deps||[],a.callback)},makeShimExports:function(a){return function(){var b;a.init&&(b=a.init.apply(ba,arguments));return b||a.exports&&da(a.exports)}},makeRequire:function(a,e){function j(c,d,m){var n,q;e.enableBuildCallback&&(d&&G(d))&&(d.__requireJsBuild=-!0);if("string"===typeof c){if(G(d))return w(C("requireargs","Invalid require call"),m);if(a&&t(L,c))return L[c](h[a.id]);if(g.get)return g.get(i,c,a,j);n=p(c,a,!1,!0);n=n.id;return!t(r,n)?w(C("notloaded",'Module name "'+n+'" has not been loaded yet for context: '+b+(a?"":". Use require([])"))):r[n]}J();i.nextTick(function(){J();q=s(p(null,a));q.skipMap=e.skipMap;q.init(c,d,m,{enabled:!0});D()});return j}e=e||{};U(j,{isBrowser:z,toUrl:function(b){var d,e=b.lastIndexOf("."),k=b.split("/")[0];if(-1!==-e&&(!("."===k||".."===k)||1<e))d=b.substring(e,b.length),b=b.substring(0,e);return i.nameToUrl(c(b,a&&a.id,!0),d,!0)},defined:function(b){return t(r,p(b,a,!1,!0).id)},specified:function(b){b=p(b,a,!1,!0).id;return t(r,b)||t(h,b)}});a||(j.undef=function(b){x();var c=p(b,a,!0),e=m(h,b);d(b);delete r[b];delete S[c.url];delete $[b];T(A,function(a,c){a[0]===b&&A.splice(c,1)});e&&(e.events.defined&&($[b]=e.events),y(b))});return j},enable:function(a){m(h,a.id)&&s(a).enable()},completeLoad:function(a){var b,-c,d=m(j.shim,a)||{},g=d.exports;for(x();A.length;){c=A.shift();if(null===c[0]){c[0]=a;if(b)break;b=!0}else c[0]===a&&(b=!0);E(c)}c=m(h,a);if(!b&&!t(r,a)&&c&&!c.inited){if(j.enforceDefine&&(!g||!da(g)))return e(a)?void 0:w(C("nodefine","No define call for "+a,null,[a]));E([a,d.deps||[],d.exportsFn])}D()},nameToUrl:function(a,b,c){var d,e,h;(d=m(j.pkgs,a))&&(a=d);if(d=m(aa,a))return i.nameToUrl(d,b,c);if(g.jsExtRegExp.test(a))d=a+(b||"");else{d=j.paths;a=a.split("/");for(e=a.length;0<e;e-=1)if(h=a.slice(0,-e).join("/"),h=m(d,h)){H(h)&&(h=h[0]);a.splice(0,e,h);break}d=a.join("/");d+=b||(/^data\:|\?/.test(d)||c?"":".js");d=("/"===d.charAt(0)||d.match(/^[\w\+\.\-]+:/)?"":j.baseUrl)+d}return j.urlArgs?d+((-1===d.indexOf("?")?"?":"&")+j.urlArgs):d},load:function(a,b){g.load(i,a,b)},execCb:function(a,b,c,d){return b.apply(d,c)},onScriptLoad:function(a){if("load"===a.type||ja.test((a.currentTarget||a.srcElement).readyState))N=null,a=I(a),i.completeLoad(a.id)},onScriptError:function(a){var b=I(a);if(!e(b.id))return w(C("scripterror",-"Script error for: "+b.id,a,[b.id]))}};i.require=i.makeRequire();return i}var g,x,y,D,I,E,N,J,s,O,ka=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,la=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,Q=/\.js$/,ia=/^\.\//;x=Object.prototype;var K=x.toString,fa=x.hasOwnProperty,ha=Array.prototype.splice,z=!!("undefined"!==typeof window&&"undefined"!==typeof navigator&&window.document),ea=!z&&"undefined"!==typeof importScripts,ja=z&&"PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,-Y="undefined"!==typeof opera&&"[object Opera]"===opera.toString(),F={},q={},R=[],M=!1;if("undefined"===typeof define){if("undefined"!==typeof requirejs){if(G(requirejs))return;q=requirejs;requirejs=void 0}"undefined"!==typeof require&&!G(require)&&(q=require,require=void 0);g=requirejs=function(b,c,d,e){var n,p="_";!H(b)&&"string"!==typeof b&&(n=b,H(c)?(b=c,c=d,d=e):b=[]);n&&n.context&&(p=n.context);(e=m(F,p))||(e=F[p]=g.s.newContext(p));n&&e.configure(n);return e.require(b,c,d)};g.config=function(b){return g(b)};-g.nextTick="undefined"!==typeof setTimeout?function(b){setTimeout(b,4)}:function(b){b()};require||(require=g);g.version="2.1.14";g.jsExtRegExp=/^\/|:|\?|\.js$/;g.isBrowser=z;x=g.s={contexts:F,newContext:ga};g({});v(["toUrl","undef","defined","specified"],function(b){g[b]=function(){var c=F._;return c.require[b].apply(c,arguments)}});if(z&&(y=x.head=document.getElementsByTagName("head")[0],D=document.getElementsByTagName("base")[0]))y=x.head=D.parentNode;g.onError=ca;g.createNode=function(b){var c=-b.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");c.type=b.scriptType||"text/javascript";c.charset="utf-8";c.async=!0;return c};g.load=function(b,c,d){var e=b&&b.config||{};if(z)return e=g.createNode(e,c,d),e.setAttribute("data-requirecontext",b.contextName),e.setAttribute("data-requiremodule",c),e.attachEvent&&!(e.attachEvent.toString&&0>e.attachEvent.toString().indexOf("[native code"))&&!Y?(M=!0,e.attachEvent("onreadystatechange",b.onScriptLoad)):-(e.addEventListener("load",b.onScriptLoad,!1),e.addEventListener("error",b.onScriptError,!1)),e.src=d,J=e,D?y.insertBefore(e,D):y.appendChild(e),J=null,e;if(ea)try{importScripts(d),b.completeLoad(c)}catch(m){b.onError(C("importscripts","importScripts failed for "+c+" at "+d,m,[c]))}};z&&!q.skipDataMain&&T(document.getElementsByTagName("script"),function(b){y||(y=b.parentNode);if(I=b.getAttribute("data-main"))return s=I,q.baseUrl||(E=s.split("/"),s=E.pop(),O=E.length?E.join("/")+"/":"./",q.baseUrl=-O),s=s.replace(Q,""),g.jsExtRegExp.test(s)&&(s=I),q.deps=q.deps?q.deps.concat(s):[s],!0});define=function(b,c,d){var e,g;"string"!==typeof b&&(d=c,c=b,b=null);H(c)||(d=c,c=null);!c&&G(d)&&(c=[],d.length&&(d.toString().replace(ka,"").replace(la,function(b,d){c.push(d)}),c=(1===d.length?["require"]:["require","exports","module"]).concat(c)));if(M){if(!(e=J))N&&"interactive"===N.readyState||T(document.getElementsByTagName("script"),function(b){if("interactive"===b.readyState)return N=b}),e=N;e&&(b||-(b=e.getAttribute("data-requiremodule")),g=F[e.getAttribute("data-requirecontext")])}(g?g.defQueue:R).push([b,c,d])};define.amd={jQuery:!0};g.exec=function(b){return eval(b)};g(q)}})(this);+/** vim: et:ts=4:sw=4:sts=4+ * @license RequireJS 2.1.22 Copyright (c) 2010-2015, The Dojo Foundation All Rights Reserved.+ * Available via the MIT or new BSD license.+ * see: http://github.com/jrburke/requirejs for details+ */+//Not using strict: uneven strict support in browsers, #392, and causes+//problems with requirejs.exec()/transpiler plugins that may not be strict.+/*jslint regexp: true, nomen: true, sloppy: true */+/*global window, navigator, document, importScripts, setTimeout, opera */++var requirejs, require, define;+(function (global) {+ var req, s, head, baseElement, dataMain, src,+ interactiveScript, currentlyAddingScript, mainScript, subPath,+ version = '2.1.22',+ commentRegExp = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,+ cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,+ jsSuffixRegExp = /\.js$/,+ currDirRegExp = /^\.\//,+ op = Object.prototype,+ ostring = op.toString,+ hasOwn = op.hasOwnProperty,+ ap = Array.prototype,+ isBrowser = !!(typeof window !== 'undefined' && typeof navigator !== 'undefined' && window.document),+ isWebWorker = !isBrowser && typeof importScripts !== 'undefined',+ //PS3 indicates loaded and complete, but need to wait for complete+ //specifically. Sequence is 'loading', 'loaded', execution,+ // then 'complete'. The UA check is unfortunate, but not sure how+ //to feature test w/o causing perf issues.+ readyRegExp = isBrowser && navigator.platform === 'PLAYSTATION 3' ?+ /^complete$/ : /^(complete|loaded)$/,+ defContextName = '_',+ //Oh the tragedy, detecting opera. See the usage of isOpera for reason.+ isOpera = typeof opera !== 'undefined' && opera.toString() === '[object Opera]',+ contexts = {},+ cfg = {},+ globalDefQueue = [],+ useInteractive = false;++ function isFunction(it) {+ return ostring.call(it) === '[object Function]';+ }++ function isArray(it) {+ return ostring.call(it) === '[object Array]';+ }++ /**+ * Helper function for iterating over an array. If the func returns+ * a true value, it will break out of the loop.+ */+ function each(ary, func) {+ if (ary) {+ var i;+ for (i = 0; i < ary.length; i += 1) {+ if (ary[i] && func(ary[i], i, ary)) {+ break;+ }+ }+ }+ }++ /**+ * Helper function for iterating over an array backwards. If the func+ * returns a true value, it will break out of the loop.+ */+ function eachReverse(ary, func) {+ if (ary) {+ var i;+ for (i = ary.length - 1; i > -1; i -= 1) {+ if (ary[i] && func(ary[i], i, ary)) {+ break;+ }+ }+ }+ }++ function hasProp(obj, prop) {+ return hasOwn.call(obj, prop);+ }++ function getOwn(obj, prop) {+ return hasProp(obj, prop) && obj[prop];+ }++ /**+ * Cycles over properties in an object and calls a function for each+ * property value. If the function returns a truthy value, then the+ * iteration is stopped.+ */+ function eachProp(obj, func) {+ var prop;+ for (prop in obj) {+ if (hasProp(obj, prop)) {+ if (func(obj[prop], prop)) {+ break;+ }+ }+ }+ }++ /**+ * Simple function to mix in properties from source into target,+ * but only if target does not already have a property of the same name.+ */+ function mixin(target, source, force, deepStringMixin) {+ if (source) {+ eachProp(source, function (value, prop) {+ if (force || !hasProp(target, prop)) {+ if (deepStringMixin && typeof value === 'object' && value &&+ !isArray(value) && !isFunction(value) &&+ !(value instanceof RegExp)) {++ if (!target[prop]) {+ target[prop] = {};+ }+ mixin(target[prop], value, force, deepStringMixin);+ } else {+ target[prop] = value;+ }+ }+ });+ }+ return target;+ }++ //Similar to Function.prototype.bind, but the 'this' object is specified+ //first, since it is easier to read/figure out what 'this' will be.+ function bind(obj, fn) {+ return function () {+ return fn.apply(obj, arguments);+ };+ }++ function scripts() {+ return document.getElementsByTagName('script');+ }++ function defaultOnError(err) {+ throw err;+ }++ //Allow getting a global that is expressed in+ //dot notation, like 'a.b.c'.+ function getGlobal(value) {+ if (!value) {+ return value;+ }+ var g = global;+ each(value.split('.'), function (part) {+ g = g[part];+ });+ return g;+ }++ /**+ * Constructs an error with a pointer to an URL with more information.+ * @param {String} id the error ID that maps to an ID on a web page.+ * @param {String} message human readable error.+ * @param {Error} [err] the original error, if there is one.+ *+ * @returns {Error}+ */+ function makeError(id, msg, err, requireModules) {+ var e = new Error(msg + '\nhttp://requirejs.org/docs/errors.html#' + id);+ e.requireType = id;+ e.requireModules = requireModules;+ if (err) {+ e.originalError = err;+ }+ return e;+ }++ if (typeof define !== 'undefined') {+ //If a define is already in play via another AMD loader,+ //do not overwrite.+ return;+ }++ if (typeof requirejs !== 'undefined') {+ if (isFunction(requirejs)) {+ //Do not overwrite an existing requirejs instance.+ return;+ }+ cfg = requirejs;+ requirejs = undefined;+ }++ //Allow for a require config object+ if (typeof require !== 'undefined' && !isFunction(require)) {+ //assume it is a config object.+ cfg = require;+ require = undefined;+ }++ function newContext(contextName) {+ var inCheckLoaded, Module, context, handlers,+ checkLoadedTimeoutId,+ config = {+ //Defaults. Do not set a default for map+ //config to speed up normalize(), which+ //will run faster if there is no default.+ waitSeconds: 7,+ baseUrl: './',+ paths: {},+ bundles: {},+ pkgs: {},+ shim: {},+ config: {}+ },+ registry = {},+ //registry of just enabled modules, to speed+ //cycle breaking code when lots of modules+ //are registered, but not activated.+ enabledRegistry = {},+ undefEvents = {},+ defQueue = [],+ defined = {},+ urlFetched = {},+ bundlesMap = {},+ requireCounter = 1,+ unnormalizedCounter = 1;++ /**+ * Trims the . and .. from an array of path segments.+ * It will keep a leading path segment if a .. will become+ * the first path segment, to help with module name lookups,+ * which act like paths, but can be remapped. But the end result,+ * all paths that use this function should look normalized.+ * NOTE: this method MODIFIES the input array.+ * @param {Array} ary the array of path segments.+ */+ function trimDots(ary) {+ var i, part;+ for (i = 0; i < ary.length; i++) {+ part = ary[i];+ if (part === '.') {+ ary.splice(i, 1);+ i -= 1;+ } else if (part === '..') {+ // If at the start, or previous value is still ..,+ // keep them so that when converted to a path it may+ // still work when converted to a path, even though+ // as an ID it is less than ideal. In larger point+ // releases, may be better to just kick out an error.+ if (i === 0 || (i === 1 && ary[2] === '..') || ary[i - 1] === '..') {+ continue;+ } else if (i > 0) {+ ary.splice(i - 1, 2);+ i -= 2;+ }+ }+ }+ }++ /**+ * Given a relative module name, like ./something, normalize it to+ * a real name that can be mapped to a path.+ * @param {String} name the relative name+ * @param {String} baseName a real name that the name arg is relative+ * to.+ * @param {Boolean} applyMap apply the map config to the value. Should+ * only be done if this normalization is for a dependency ID.+ * @returns {String} normalized name+ */+ function normalize(name, baseName, applyMap) {+ var pkgMain, mapValue, nameParts, i, j, nameSegment, lastIndex,+ foundMap, foundI, foundStarMap, starI, normalizedBaseParts,+ baseParts = (baseName && baseName.split('/')),+ map = config.map,+ starMap = map && map['*'];++ //Adjust any relative paths.+ if (name) {+ name = name.split('/');+ lastIndex = name.length - 1;++ // If wanting node ID compatibility, strip .js from end+ // of IDs. Have to do this here, and not in nameToUrl+ // because node allows either .js or non .js to map+ // to same file.+ if (config.nodeIdCompat && jsSuffixRegExp.test(name[lastIndex])) {+ name[lastIndex] = name[lastIndex].replace(jsSuffixRegExp, '');+ }++ // Starts with a '.' so need the baseName+ if (name[0].charAt(0) === '.' && baseParts) {+ //Convert baseName to array, and lop off the last part,+ //so that . matches that 'directory' and not name of the baseName's+ //module. For instance, baseName of 'one/two/three', maps to+ //'one/two/three.js', but we want the directory, 'one/two' for+ //this normalization.+ normalizedBaseParts = baseParts.slice(0, baseParts.length - 1);+ name = normalizedBaseParts.concat(name);+ }++ trimDots(name);+ name = name.join('/');+ }++ //Apply map config if available.+ if (applyMap && map && (baseParts || starMap)) {+ nameParts = name.split('/');++ outerLoop: for (i = nameParts.length; i > 0; i -= 1) {+ nameSegment = nameParts.slice(0, i).join('/');++ if (baseParts) {+ //Find the longest baseName segment match in the config.+ //So, do joins on the biggest to smallest lengths of baseParts.+ for (j = baseParts.length; j > 0; j -= 1) {+ mapValue = getOwn(map, baseParts.slice(0, j).join('/'));++ //baseName segment has config, find if it has one for+ //this name.+ if (mapValue) {+ mapValue = getOwn(mapValue, nameSegment);+ if (mapValue) {+ //Match, update name to the new value.+ foundMap = mapValue;+ foundI = i;+ break outerLoop;+ }+ }+ }+ }++ //Check for a star map match, but just hold on to it,+ //if there is a shorter segment match later in a matching+ //config, then favor over this star map.+ if (!foundStarMap && starMap && getOwn(starMap, nameSegment)) {+ foundStarMap = getOwn(starMap, nameSegment);+ starI = i;+ }+ }++ if (!foundMap && foundStarMap) {+ foundMap = foundStarMap;+ foundI = starI;+ }++ if (foundMap) {+ nameParts.splice(0, foundI, foundMap);+ name = nameParts.join('/');+ }+ }++ // If the name points to a package's name, use+ // the package main instead.+ pkgMain = getOwn(config.pkgs, name);++ return pkgMain ? pkgMain : name;+ }++ function removeScript(name) {+ if (isBrowser) {+ each(scripts(), function (scriptNode) {+ if (scriptNode.getAttribute('data-requiremodule') === name &&+ scriptNode.getAttribute('data-requirecontext') === context.contextName) {+ scriptNode.parentNode.removeChild(scriptNode);+ return true;+ }+ });+ }+ }++ function hasPathFallback(id) {+ var pathConfig = getOwn(config.paths, id);+ if (pathConfig && isArray(pathConfig) && pathConfig.length > 1) {+ //Pop off the first array value, since it failed, and+ //retry+ pathConfig.shift();+ context.require.undef(id);++ //Custom require that does not do map translation, since+ //ID is "absolute", already mapped/resolved.+ context.makeRequire(null, {+ skipMap: true+ })([id]);++ return true;+ }+ }++ //Turns a plugin!resource to [plugin, resource]+ //with the plugin being undefined if the name+ //did not have a plugin prefix.+ function splitPrefix(name) {+ var prefix,+ index = name ? name.indexOf('!') : -1;+ if (index > -1) {+ prefix = name.substring(0, index);+ name = name.substring(index + 1, name.length);+ }+ return [prefix, name];+ }++ /**+ * Creates a module mapping that includes plugin prefix, module+ * name, and path. If parentModuleMap is provided it will+ * also normalize the name via require.normalize()+ *+ * @param {String} name the module name+ * @param {String} [parentModuleMap] parent module map+ * for the module name, used to resolve relative names.+ * @param {Boolean} isNormalized: is the ID already normalized.+ * This is true if this call is done for a define() module ID.+ * @param {Boolean} applyMap: apply the map config to the ID.+ * Should only be true if this map is for a dependency.+ *+ * @returns {Object}+ */+ function makeModuleMap(name, parentModuleMap, isNormalized, applyMap) {+ var url, pluginModule, suffix, nameParts,+ prefix = null,+ parentName = parentModuleMap ? parentModuleMap.name : null,+ originalName = name,+ isDefine = true,+ normalizedName = '';++ //If no name, then it means it is a require call, generate an+ //internal name.+ if (!name) {+ isDefine = false;+ name = '_@r' + (requireCounter += 1);+ }++ nameParts = splitPrefix(name);+ prefix = nameParts[0];+ name = nameParts[1];++ if (prefix) {+ prefix = normalize(prefix, parentName, applyMap);+ pluginModule = getOwn(defined, prefix);+ }++ //Account for relative paths if there is a base name.+ if (name) {+ if (prefix) {+ if (pluginModule && pluginModule.normalize) {+ //Plugin is loaded, use its normalize method.+ normalizedName = pluginModule.normalize(name, function (name) {+ return normalize(name, parentName, applyMap);+ });+ } else {+ // If nested plugin references, then do not try to+ // normalize, as it will not normalize correctly. This+ // places a restriction on resourceIds, and the longer+ // term solution is not to normalize until plugins are+ // loaded and all normalizations to allow for async+ // loading of a loader plugin. But for now, fixes the+ // common uses. Details in #1131+ normalizedName = name.indexOf('!') === -1 ?+ normalize(name, parentName, applyMap) :+ name;+ }+ } else {+ //A regular module.+ normalizedName = normalize(name, parentName, applyMap);++ //Normalized name may be a plugin ID due to map config+ //application in normalize. The map config values must+ //already be normalized, so do not need to redo that part.+ nameParts = splitPrefix(normalizedName);+ prefix = nameParts[0];+ normalizedName = nameParts[1];+ isNormalized = true;++ url = context.nameToUrl(normalizedName);+ }+ }++ //If the id is a plugin id that cannot be determined if it needs+ //normalization, stamp it with a unique ID so two matching relative+ //ids that may conflict can be separate.+ suffix = prefix && !pluginModule && !isNormalized ?+ '_unnormalized' + (unnormalizedCounter += 1) :+ '';++ return {+ prefix: prefix,+ name: normalizedName,+ parentMap: parentModuleMap,+ unnormalized: !!suffix,+ url: url,+ originalName: originalName,+ isDefine: isDefine,+ id: (prefix ?+ prefix + '!' + normalizedName :+ normalizedName) + suffix+ };+ }++ function getModule(depMap) {+ var id = depMap.id,+ mod = getOwn(registry, id);++ if (!mod) {+ mod = registry[id] = new context.Module(depMap);+ }++ return mod;+ }++ function on(depMap, name, fn) {+ var id = depMap.id,+ mod = getOwn(registry, id);++ if (hasProp(defined, id) &&+ (!mod || mod.defineEmitComplete)) {+ if (name === 'defined') {+ fn(defined[id]);+ }+ } else {+ mod = getModule(depMap);+ if (mod.error && name === 'error') {+ fn(mod.error);+ } else {+ mod.on(name, fn);+ }+ }+ }++ function onError(err, errback) {+ var ids = err.requireModules,+ notified = false;++ if (errback) {+ errback(err);+ } else {+ each(ids, function (id) {+ var mod = getOwn(registry, id);+ if (mod) {+ //Set error on module, so it skips timeout checks.+ mod.error = err;+ if (mod.events.error) {+ notified = true;+ mod.emit('error', err);+ }+ }+ });++ if (!notified) {+ req.onError(err);+ }+ }+ }++ /**+ * Internal method to transfer globalQueue items to this context's+ * defQueue.+ */+ function takeGlobalQueue() {+ //Push all the globalDefQueue items into the context's defQueue+ if (globalDefQueue.length) {+ each(globalDefQueue, function(queueItem) {+ var id = queueItem[0];+ if (typeof id === 'string') {+ context.defQueueMap[id] = true;+ }+ defQueue.push(queueItem);+ });+ globalDefQueue = [];+ }+ }++ handlers = {+ 'require': function (mod) {+ if (mod.require) {+ return mod.require;+ } else {+ return (mod.require = context.makeRequire(mod.map));+ }+ },+ 'exports': function (mod) {+ mod.usingExports = true;+ if (mod.map.isDefine) {+ if (mod.exports) {+ return (defined[mod.map.id] = mod.exports);+ } else {+ return (mod.exports = defined[mod.map.id] = {});+ }+ }+ },+ 'module': function (mod) {+ if (mod.module) {+ return mod.module;+ } else {+ return (mod.module = {+ id: mod.map.id,+ uri: mod.map.url,+ config: function () {+ return getOwn(config.config, mod.map.id) || {};+ },+ exports: mod.exports || (mod.exports = {})+ });+ }+ }+ };++ function cleanRegistry(id) {+ //Clean up machinery used for waiting modules.+ delete registry[id];+ delete enabledRegistry[id];+ }++ function breakCycle(mod, traced, processed) {+ var id = mod.map.id;++ if (mod.error) {+ mod.emit('error', mod.error);+ } else {+ traced[id] = true;+ each(mod.depMaps, function (depMap, i) {+ var depId = depMap.id,+ dep = getOwn(registry, depId);++ //Only force things that have not completed+ //being defined, so still in the registry,+ //and only if it has not been matched up+ //in the module already.+ if (dep && !mod.depMatched[i] && !processed[depId]) {+ if (getOwn(traced, depId)) {+ mod.defineDep(i, defined[depId]);+ mod.check(); //pass false?+ } else {+ breakCycle(dep, traced, processed);+ }+ }+ });+ processed[id] = true;+ }+ }++ function checkLoaded() {+ var err, usingPathFallback,+ waitInterval = config.waitSeconds * 1000,+ //It is possible to disable the wait interval by using waitSeconds of 0.+ expired = waitInterval && (context.startTime + waitInterval) < new Date().getTime(),+ noLoads = [],+ reqCalls = [],+ stillLoading = false,+ needCycleCheck = true;++ //Do not bother if this call was a result of a cycle break.+ if (inCheckLoaded) {+ return;+ }++ inCheckLoaded = true;++ //Figure out the state of all the modules.+ eachProp(enabledRegistry, function (mod) {+ var map = mod.map,+ modId = map.id;++ //Skip things that are not enabled or in error state.+ if (!mod.enabled) {+ return;+ }++ if (!map.isDefine) {+ reqCalls.push(mod);+ }++ if (!mod.error) {+ //If the module should be executed, and it has not+ //been inited and time is up, remember it.+ if (!mod.inited && expired) {+ if (hasPathFallback(modId)) {+ usingPathFallback = true;+ stillLoading = true;+ } else {+ noLoads.push(modId);+ removeScript(modId);+ }+ } else if (!mod.inited && mod.fetched && map.isDefine) {+ stillLoading = true;+ if (!map.prefix) {+ //No reason to keep looking for unfinished+ //loading. If the only stillLoading is a+ //plugin resource though, keep going,+ //because it may be that a plugin resource+ //is waiting on a non-plugin cycle.+ return (needCycleCheck = false);+ }+ }+ }+ });++ if (expired && noLoads.length) {+ //If wait time expired, throw error of unloaded modules.+ err = makeError('timeout', 'Load timeout for modules: ' + noLoads, null, noLoads);+ err.contextName = context.contextName;+ return onError(err);+ }++ //Not expired, check for a cycle.+ if (needCycleCheck) {+ each(reqCalls, function (mod) {+ breakCycle(mod, {}, {});+ });+ }++ //If still waiting on loads, and the waiting load is something+ //other than a plugin resource, or there are still outstanding+ //scripts, then just try back later.+ if ((!expired || usingPathFallback) && stillLoading) {+ //Something is still waiting to load. Wait for it, but only+ //if a timeout is not already in effect.+ if ((isBrowser || isWebWorker) && !checkLoadedTimeoutId) {+ checkLoadedTimeoutId = setTimeout(function () {+ checkLoadedTimeoutId = 0;+ checkLoaded();+ }, 50);+ }+ }++ inCheckLoaded = false;+ }++ Module = function (map) {+ this.events = getOwn(undefEvents, map.id) || {};+ this.map = map;+ this.shim = getOwn(config.shim, map.id);+ this.depExports = [];+ this.depMaps = [];+ this.depMatched = [];+ this.pluginMaps = {};+ this.depCount = 0;++ /* this.exports this.factory+ this.depMaps = [],+ this.enabled, this.fetched+ */+ };++ Module.prototype = {+ init: function (depMaps, factory, errback, options) {+ options = options || {};++ //Do not do more inits if already done. Can happen if there+ //are multiple define calls for the same module. That is not+ //a normal, common case, but it is also not unexpected.+ if (this.inited) {+ return;+ }++ this.factory = factory;++ if (errback) {+ //Register for errors on this module.+ this.on('error', errback);+ } else if (this.events.error) {+ //If no errback already, but there are error listeners+ //on this module, set up an errback to pass to the deps.+ errback = bind(this, function (err) {+ this.emit('error', err);+ });+ }++ //Do a copy of the dependency array, so that+ //source inputs are not modified. For example+ //"shim" deps are passed in here directly, and+ //doing a direct modification of the depMaps array+ //would affect that config.+ this.depMaps = depMaps && depMaps.slice(0);++ this.errback = errback;++ //Indicate this module has be initialized+ this.inited = true;++ this.ignore = options.ignore;++ //Could have option to init this module in enabled mode,+ //or could have been previously marked as enabled. However,+ //the dependencies are not known until init is called. So+ //if enabled previously, now trigger dependencies as enabled.+ if (options.enabled || this.enabled) {+ //Enable this module and dependencies.+ //Will call this.check()+ this.enable();+ } else {+ this.check();+ }+ },++ defineDep: function (i, depExports) {+ //Because of cycles, defined callback for a given+ //export can be called more than once.+ if (!this.depMatched[i]) {+ this.depMatched[i] = true;+ this.depCount -= 1;+ this.depExports[i] = depExports;+ }+ },++ fetch: function () {+ if (this.fetched) {+ return;+ }+ this.fetched = true;++ context.startTime = (new Date()).getTime();++ var map = this.map;++ //If the manager is for a plugin managed resource,+ //ask the plugin to load it now.+ if (this.shim) {+ context.makeRequire(this.map, {+ enableBuildCallback: true+ })(this.shim.deps || [], bind(this, function () {+ return map.prefix ? this.callPlugin() : this.load();+ }));+ } else {+ //Regular dependency.+ return map.prefix ? this.callPlugin() : this.load();+ }+ },++ load: function () {+ var url = this.map.url;++ //Regular dependency.+ if (!urlFetched[url]) {+ urlFetched[url] = true;+ context.load(this.map.id, url);+ }+ },++ /**+ * Checks if the module is ready to define itself, and if so,+ * define it.+ */+ check: function () {+ if (!this.enabled || this.enabling) {+ return;+ }++ var err, cjsModule,+ id = this.map.id,+ depExports = this.depExports,+ exports = this.exports,+ factory = this.factory;++ if (!this.inited) {+ // Only fetch if not already in the defQueue.+ if (!hasProp(context.defQueueMap, id)) {+ this.fetch();+ }+ } else if (this.error) {+ this.emit('error', this.error);+ } else if (!this.defining) {+ //The factory could trigger another require call+ //that would result in checking this module to+ //define itself again. If already in the process+ //of doing that, skip this work.+ this.defining = true;++ if (this.depCount < 1 && !this.defined) {+ if (isFunction(factory)) {+ try {+ exports = context.execCb(id, factory, depExports, exports);+ } catch (e) {+ err = e;+ }++ // Favor return value over exports. If node/cjs in play,+ // then will not have a return value anyway. Favor+ // module.exports assignment over exports object.+ if (this.map.isDefine && exports === undefined) {+ cjsModule = this.module;+ if (cjsModule) {+ exports = cjsModule.exports;+ } else if (this.usingExports) {+ //exports already set the defined value.+ exports = this.exports;+ }+ }++ if (err) {+ // If there is an error listener, favor passing+ // to that instead of throwing an error. However,+ // only do it for define()'d modules. require+ // errbacks should not be called for failures in+ // their callbacks (#699). However if a global+ // onError is set, use that.+ if ((this.events.error && this.map.isDefine) ||+ req.onError !== defaultOnError) {+ err.requireMap = this.map;+ err.requireModules = this.map.isDefine ? [this.map.id] : null;+ err.requireType = this.map.isDefine ? 'define' : 'require';+ return onError((this.error = err));+ } else if (typeof console !== 'undefined' &&+ console.error) {+ // Log the error for debugging. If promises could be+ // used, this would be different, but making do.+ console.error(err);+ } else {+ // Do not want to completely lose the error. While this+ // will mess up processing and lead to similar results+ // as bug 1440, it at least surfaces the error.+ req.onError(err);+ }+ }+ } else {+ //Just a literal value+ exports = factory;+ }++ this.exports = exports;++ if (this.map.isDefine && !this.ignore) {+ defined[id] = exports;++ if (req.onResourceLoad) {+ var resLoadMaps = [];+ each(this.depMaps, function (depMap) {+ resLoadMaps.push(depMap.normalizedMap || depMap);+ });+ req.onResourceLoad(context, this.map, resLoadMaps);+ }+ }++ //Clean up+ cleanRegistry(id);++ this.defined = true;+ }++ //Finished the define stage. Allow calling check again+ //to allow define notifications below in the case of a+ //cycle.+ this.defining = false;++ if (this.defined && !this.defineEmitted) {+ this.defineEmitted = true;+ this.emit('defined', this.exports);+ this.defineEmitComplete = true;+ }++ }+ },++ callPlugin: function () {+ var map = this.map,+ id = map.id,+ //Map already normalized the prefix.+ pluginMap = makeModuleMap(map.prefix);++ //Mark this as a dependency for this plugin, so it+ //can be traced for cycles.+ this.depMaps.push(pluginMap);++ on(pluginMap, 'defined', bind(this, function (plugin) {+ var load, normalizedMap, normalizedMod,+ bundleId = getOwn(bundlesMap, this.map.id),+ name = this.map.name,+ parentName = this.map.parentMap ? this.map.parentMap.name : null,+ localRequire = context.makeRequire(map.parentMap, {+ enableBuildCallback: true+ });++ //If current map is not normalized, wait for that+ //normalized name to load instead of continuing.+ if (this.map.unnormalized) {+ //Normalize the ID if the plugin allows it.+ if (plugin.normalize) {+ name = plugin.normalize(name, function (name) {+ return normalize(name, parentName, true);+ }) || '';+ }++ //prefix and name should already be normalized, no need+ //for applying map config again either.+ normalizedMap = makeModuleMap(map.prefix + '!' + name,+ this.map.parentMap);+ on(normalizedMap,+ 'defined', bind(this, function (value) {+ this.map.normalizedMap = normalizedMap;+ this.init([], function () { return value; }, null, {+ enabled: true,+ ignore: true+ });+ }));++ normalizedMod = getOwn(registry, normalizedMap.id);+ if (normalizedMod) {+ //Mark this as a dependency for this plugin, so it+ //can be traced for cycles.+ this.depMaps.push(normalizedMap);++ if (this.events.error) {+ normalizedMod.on('error', bind(this, function (err) {+ this.emit('error', err);+ }));+ }+ normalizedMod.enable();+ }++ return;+ }++ //If a paths config, then just load that file instead to+ //resolve the plugin, as it is built into that paths layer.+ if (bundleId) {+ this.map.url = context.nameToUrl(bundleId);+ this.load();+ return;+ }++ load = bind(this, function (value) {+ this.init([], function () { return value; }, null, {+ enabled: true+ });+ });++ load.error = bind(this, function (err) {+ this.inited = true;+ this.error = err;+ err.requireModules = [id];++ //Remove temp unnormalized modules for this module,+ //since they will never be resolved otherwise now.+ eachProp(registry, function (mod) {+ if (mod.map.id.indexOf(id + '_unnormalized') === 0) {+ cleanRegistry(mod.map.id);+ }+ });++ onError(err);+ });++ //Allow plugins to load other code without having to know the+ //context or how to 'complete' the load.+ load.fromText = bind(this, function (text, textAlt) {+ /*jslint evil: true */+ var moduleName = map.name,+ moduleMap = makeModuleMap(moduleName),+ hasInteractive = useInteractive;++ //As of 2.1.0, support just passing the text, to reinforce+ //fromText only being called once per resource. Still+ //support old style of passing moduleName but discard+ //that moduleName in favor of the internal ref.+ if (textAlt) {+ text = textAlt;+ }++ //Turn off interactive script matching for IE for any define+ //calls in the text, then turn it back on at the end.+ if (hasInteractive) {+ useInteractive = false;+ }++ //Prime the system by creating a module instance for+ //it.+ getModule(moduleMap);++ //Transfer any config to this other module.+ if (hasProp(config.config, id)) {+ config.config[moduleName] = config.config[id];+ }++ try {+ req.exec(text);+ } catch (e) {+ return onError(makeError('fromtexteval',+ 'fromText eval for ' + id ++ ' failed: ' + e,+ e,+ [id]));+ }++ if (hasInteractive) {+ useInteractive = true;+ }++ //Mark this as a dependency for the plugin+ //resource+ this.depMaps.push(moduleMap);++ //Support anonymous modules.+ context.completeLoad(moduleName);++ //Bind the value of that module to the value for this+ //resource ID.+ localRequire([moduleName], load);+ });++ //Use parentName here since the plugin's name is not reliable,+ //could be some weird string with no path that actually wants to+ //reference the parentName's path.+ plugin.load(map.name, localRequire, load, config);+ }));++ context.enable(pluginMap, this);+ this.pluginMaps[pluginMap.id] = pluginMap;+ },++ enable: function () {+ enabledRegistry[this.map.id] = this;+ this.enabled = true;++ //Set flag mentioning that the module is enabling,+ //so that immediate calls to the defined callbacks+ //for dependencies do not trigger inadvertent load+ //with the depCount still being zero.+ this.enabling = true;++ //Enable each dependency+ each(this.depMaps, bind(this, function (depMap, i) {+ var id, mod, handler;++ if (typeof depMap === 'string') {+ //Dependency needs to be converted to a depMap+ //and wired up to this module.+ depMap = makeModuleMap(depMap,+ (this.map.isDefine ? this.map : this.map.parentMap),+ false,+ !this.skipMap);+ this.depMaps[i] = depMap;++ handler = getOwn(handlers, depMap.id);++ if (handler) {+ this.depExports[i] = handler(this);+ return;+ }++ this.depCount += 1;++ on(depMap, 'defined', bind(this, function (depExports) {+ if (this.undefed) {+ return;+ }+ this.defineDep(i, depExports);+ this.check();+ }));++ if (this.errback) {+ on(depMap, 'error', bind(this, this.errback));+ } else if (this.events.error) {+ // No direct errback on this module, but something+ // else is listening for errors, so be sure to+ // propagate the error correctly.+ on(depMap, 'error', bind(this, function(err) {+ this.emit('error', err);+ }));+ }+ }++ id = depMap.id;+ mod = registry[id];++ //Skip special modules like 'require', 'exports', 'module'+ //Also, don't call enable if it is already enabled,+ //important in circular dependency cases.+ if (!hasProp(handlers, id) && mod && !mod.enabled) {+ context.enable(depMap, this);+ }+ }));++ //Enable each plugin that is used in+ //a dependency+ eachProp(this.pluginMaps, bind(this, function (pluginMap) {+ var mod = getOwn(registry, pluginMap.id);+ if (mod && !mod.enabled) {+ context.enable(pluginMap, this);+ }+ }));++ this.enabling = false;++ this.check();+ },++ on: function (name, cb) {+ var cbs = this.events[name];+ if (!cbs) {+ cbs = this.events[name] = [];+ }+ cbs.push(cb);+ },++ emit: function (name, evt) {+ each(this.events[name], function (cb) {+ cb(evt);+ });+ if (name === 'error') {+ //Now that the error handler was triggered, remove+ //the listeners, since this broken Module instance+ //can stay around for a while in the registry.+ delete this.events[name];+ }+ }+ };++ function callGetModule(args) {+ //Skip modules already defined.+ if (!hasProp(defined, args[0])) {+ getModule(makeModuleMap(args[0], null, true)).init(args[1], args[2]);+ }+ }++ function removeListener(node, func, name, ieName) {+ //Favor detachEvent because of IE9+ //issue, see attachEvent/addEventListener comment elsewhere+ //in this file.+ if (node.detachEvent && !isOpera) {+ //Probably IE. If not it will throw an error, which will be+ //useful to know.+ if (ieName) {+ node.detachEvent(ieName, func);+ }+ } else {+ node.removeEventListener(name, func, false);+ }+ }++ /**+ * Given an event from a script node, get the requirejs info from it,+ * and then removes the event listeners on the node.+ * @param {Event} evt+ * @returns {Object}+ */+ function getScriptData(evt) {+ //Using currentTarget instead of target for Firefox 2.0's sake. Not+ //all old browsers will be supported, but this one was easy enough+ //to support and still makes sense.+ var node = evt.currentTarget || evt.srcElement;++ //Remove the listeners once here.+ removeListener(node, context.onScriptLoad, 'load', 'onreadystatechange');+ removeListener(node, context.onScriptError, 'error');++ return {+ node: node,+ id: node && node.getAttribute('data-requiremodule')+ };+ }++ function intakeDefines() {+ var args;++ //Any defined modules in the global queue, intake them now.+ takeGlobalQueue();++ //Make sure any remaining defQueue items get properly processed.+ while (defQueue.length) {+ args = defQueue.shift();+ if (args[0] === null) {+ return onError(makeError('mismatch', 'Mismatched anonymous define() module: ' ++ args[args.length - 1]));+ } else {+ //args are id, deps, factory. Should be normalized by the+ //define() function.+ callGetModule(args);+ }+ }+ context.defQueueMap = {};+ }++ context = {+ config: config,+ contextName: contextName,+ registry: registry,+ defined: defined,+ urlFetched: urlFetched,+ defQueue: defQueue,+ defQueueMap: {},+ Module: Module,+ makeModuleMap: makeModuleMap,+ nextTick: req.nextTick,+ onError: onError,++ /**+ * Set a configuration for the context.+ * @param {Object} cfg config object to integrate.+ */+ configure: function (cfg) {+ //Make sure the baseUrl ends in a slash.+ if (cfg.baseUrl) {+ if (cfg.baseUrl.charAt(cfg.baseUrl.length - 1) !== '/') {+ cfg.baseUrl += '/';+ }+ }++ //Save off the paths since they require special processing,+ //they are additive.+ var shim = config.shim,+ objs = {+ paths: true,+ bundles: true,+ config: true,+ map: true+ };++ eachProp(cfg, function (value, prop) {+ if (objs[prop]) {+ if (!config[prop]) {+ config[prop] = {};+ }+ mixin(config[prop], value, true, true);+ } else {+ config[prop] = value;+ }+ });++ //Reverse map the bundles+ if (cfg.bundles) {+ eachProp(cfg.bundles, function (value, prop) {+ each(value, function (v) {+ if (v !== prop) {+ bundlesMap[v] = prop;+ }+ });+ });+ }++ //Merge shim+ if (cfg.shim) {+ eachProp(cfg.shim, function (value, id) {+ //Normalize the structure+ if (isArray(value)) {+ value = {+ deps: value+ };+ }+ if ((value.exports || value.init) && !value.exportsFn) {+ value.exportsFn = context.makeShimExports(value);+ }+ shim[id] = value;+ });+ config.shim = shim;+ }++ //Adjust packages if necessary.+ if (cfg.packages) {+ each(cfg.packages, function (pkgObj) {+ var location, name;++ pkgObj = typeof pkgObj === 'string' ? {name: pkgObj} : pkgObj;++ name = pkgObj.name;+ location = pkgObj.location;+ if (location) {+ config.paths[name] = pkgObj.location;+ }++ //Save pointer to main module ID for pkg name.+ //Remove leading dot in main, so main paths are normalized,+ //and remove any trailing .js, since different package+ //envs have different conventions: some use a module name,+ //some use a file name.+ config.pkgs[name] = pkgObj.name + '/' + (pkgObj.main || 'main')+ .replace(currDirRegExp, '')+ .replace(jsSuffixRegExp, '');+ });+ }++ //If there are any "waiting to execute" modules in the registry,+ //update the maps for them, since their info, like URLs to load,+ //may have changed.+ eachProp(registry, function (mod, id) {+ //If module already has init called, since it is too+ //late to modify them, and ignore unnormalized ones+ //since they are transient.+ if (!mod.inited && !mod.map.unnormalized) {+ mod.map = makeModuleMap(id, null, true);+ }+ });++ //If a deps array or a config callback is specified, then call+ //require with those args. This is useful when require is defined as a+ //config object before require.js is loaded.+ if (cfg.deps || cfg.callback) {+ context.require(cfg.deps || [], cfg.callback);+ }+ },++ makeShimExports: function (value) {+ function fn() {+ var ret;+ if (value.init) {+ ret = value.init.apply(global, arguments);+ }+ return ret || (value.exports && getGlobal(value.exports));+ }+ return fn;+ },++ makeRequire: function (relMap, options) {+ options = options || {};++ function localRequire(deps, callback, errback) {+ var id, map, requireMod;++ if (options.enableBuildCallback && callback && isFunction(callback)) {+ callback.__requireJsBuild = true;+ }++ if (typeof deps === 'string') {+ if (isFunction(callback)) {+ //Invalid call+ return onError(makeError('requireargs', 'Invalid require call'), errback);+ }++ //If require|exports|module are requested, get the+ //value for them from the special handlers. Caveat:+ //this only works while module is being defined.+ if (relMap && hasProp(handlers, deps)) {+ return handlers[deps](registry[relMap.id]);+ }++ //Synchronous access to one module. If require.get is+ //available (as in the Node adapter), prefer that.+ if (req.get) {+ return req.get(context, deps, relMap, localRequire);+ }++ //Normalize module name, if it contains . or ..+ map = makeModuleMap(deps, relMap, false, true);+ id = map.id;++ if (!hasProp(defined, id)) {+ return onError(makeError('notloaded', 'Module name "' ++ id ++ '" has not been loaded yet for context: ' ++ contextName ++ (relMap ? '' : '. Use require([])')));+ }+ return defined[id];+ }++ //Grab defines waiting in the global queue.+ intakeDefines();++ //Mark all the dependencies as needing to be loaded.+ context.nextTick(function () {+ //Some defines could have been added since the+ //require call, collect them.+ intakeDefines();++ requireMod = getModule(makeModuleMap(null, relMap));++ //Store if map config should be applied to this require+ //call for dependencies.+ requireMod.skipMap = options.skipMap;++ requireMod.init(deps, callback, errback, {+ enabled: true+ });++ checkLoaded();+ });++ return localRequire;+ }++ mixin(localRequire, {+ isBrowser: isBrowser,++ /**+ * Converts a module name + .extension into an URL path.+ * *Requires* the use of a module name. It does not support using+ * plain URLs like nameToUrl.+ */+ toUrl: function (moduleNamePlusExt) {+ var ext,+ index = moduleNamePlusExt.lastIndexOf('.'),+ segment = moduleNamePlusExt.split('/')[0],+ isRelative = segment === '.' || segment === '..';++ //Have a file extension alias, and it is not the+ //dots from a relative path.+ if (index !== -1 && (!isRelative || index > 1)) {+ ext = moduleNamePlusExt.substring(index, moduleNamePlusExt.length);+ moduleNamePlusExt = moduleNamePlusExt.substring(0, index);+ }++ return context.nameToUrl(normalize(moduleNamePlusExt,+ relMap && relMap.id, true), ext, true);+ },++ defined: function (id) {+ return hasProp(defined, makeModuleMap(id, relMap, false, true).id);+ },++ specified: function (id) {+ id = makeModuleMap(id, relMap, false, true).id;+ return hasProp(defined, id) || hasProp(registry, id);+ }+ });++ //Only allow undef on top level require calls+ if (!relMap) {+ localRequire.undef = function (id) {+ //Bind any waiting define() calls to this context,+ //fix for #408+ takeGlobalQueue();++ var map = makeModuleMap(id, relMap, true),+ mod = getOwn(registry, id);++ mod.undefed = true;+ removeScript(id);++ delete defined[id];+ delete urlFetched[map.url];+ delete undefEvents[id];++ //Clean queued defines too. Go backwards+ //in array so that the splices do not+ //mess up the iteration.+ eachReverse(defQueue, function(args, i) {+ if (args[0] === id) {+ defQueue.splice(i, 1);+ }+ });+ delete context.defQueueMap[id];++ if (mod) {+ //Hold on to listeners in case the+ //module will be attempted to be reloaded+ //using a different config.+ if (mod.events.defined) {+ undefEvents[id] = mod.events;+ }++ cleanRegistry(id);+ }+ };+ }++ return localRequire;+ },++ /**+ * Called to enable a module if it is still in the registry+ * awaiting enablement. A second arg, parent, the parent module,+ * is passed in for context, when this method is overridden by+ * the optimizer. Not shown here to keep code compact.+ */+ enable: function (depMap) {+ var mod = getOwn(registry, depMap.id);+ if (mod) {+ getModule(depMap).enable();+ }+ },++ /**+ * Internal method used by environment adapters to complete a load event.+ * A load event could be a script load or just a load pass from a synchronous+ * load call.+ * @param {String} moduleName the name of the module to potentially complete.+ */+ completeLoad: function (moduleName) {+ var found, args, mod,+ shim = getOwn(config.shim, moduleName) || {},+ shExports = shim.exports;++ takeGlobalQueue();++ while (defQueue.length) {+ args = defQueue.shift();+ if (args[0] === null) {+ args[0] = moduleName;+ //If already found an anonymous module and bound it+ //to this name, then this is some other anon module+ //waiting for its completeLoad to fire.+ if (found) {+ break;+ }+ found = true;+ } else if (args[0] === moduleName) {+ //Found matching define call for this script!+ found = true;+ }++ callGetModule(args);+ }+ context.defQueueMap = {};++ //Do this after the cycle of callGetModule in case the result+ //of those calls/init calls changes the registry.+ mod = getOwn(registry, moduleName);++ if (!found && !hasProp(defined, moduleName) && mod && !mod.inited) {+ if (config.enforceDefine && (!shExports || !getGlobal(shExports))) {+ if (hasPathFallback(moduleName)) {+ return;+ } else {+ return onError(makeError('nodefine',+ 'No define call for ' + moduleName,+ null,+ [moduleName]));+ }+ } else {+ //A script that does not call define(), so just simulate+ //the call for it.+ callGetModule([moduleName, (shim.deps || []), shim.exportsFn]);+ }+ }++ checkLoaded();+ },++ /**+ * Converts a module name to a file path. Supports cases where+ * moduleName may actually be just an URL.+ * Note that it **does not** call normalize on the moduleName,+ * it is assumed to have already been normalized. This is an+ * internal API, not a public one. Use toUrl for the public API.+ */+ nameToUrl: function (moduleName, ext, skipExt) {+ var paths, syms, i, parentModule, url,+ parentPath, bundleId,+ pkgMain = getOwn(config.pkgs, moduleName);++ if (pkgMain) {+ moduleName = pkgMain;+ }++ bundleId = getOwn(bundlesMap, moduleName);++ if (bundleId) {+ return context.nameToUrl(bundleId, ext, skipExt);+ }++ //If a colon is in the URL, it indicates a protocol is used and it is just+ //an URL to a file, or if it starts with a slash, contains a query arg (i.e. ?)+ //or ends with .js, then assume the user meant to use an url and not a module id.+ //The slash is important for protocol-less URLs as well as full paths.+ if (req.jsExtRegExp.test(moduleName)) {+ //Just a plain path, not module name lookup, so just return it.+ //Add extension if it is included. This is a bit wonky, only non-.js things pass+ //an extension, this method probably needs to be reworked.+ url = moduleName + (ext || '');+ } else {+ //A module that needs to be converted to a path.+ paths = config.paths;++ syms = moduleName.split('/');+ //For each module name segment, see if there is a path+ //registered for it. Start with most specific name+ //and work up from it.+ for (i = syms.length; i > 0; i -= 1) {+ parentModule = syms.slice(0, i).join('/');++ parentPath = getOwn(paths, parentModule);+ if (parentPath) {+ //If an array, it means there are a few choices,+ //Choose the one that is desired+ if (isArray(parentPath)) {+ parentPath = parentPath[0];+ }+ syms.splice(0, i, parentPath);+ break;+ }+ }++ //Join the path parts together, then figure out if baseUrl is needed.+ url = syms.join('/');+ url += (ext || (/^data\:|\?/.test(url) || skipExt ? '' : '.js'));+ url = (url.charAt(0) === '/' || url.match(/^[\w\+\.\-]+:/) ? '' : config.baseUrl) + url;+ }++ return config.urlArgs ? url ++ ((url.indexOf('?') === -1 ? '?' : '&') ++ config.urlArgs) : url;+ },++ //Delegates to req.load. Broken out as a separate function to+ //allow overriding in the optimizer.+ load: function (id, url) {+ req.load(context, id, url);+ },++ /**+ * Executes a module callback function. Broken out as a separate function+ * solely to allow the build system to sequence the files in the built+ * layer in the right sequence.+ *+ * @private+ */+ execCb: function (name, callback, args, exports) {+ return callback.apply(exports, args);+ },++ /**+ * callback for script loads, used to check status of loading.+ *+ * @param {Event} evt the event from the browser for the script+ * that was loaded.+ */+ onScriptLoad: function (evt) {+ //Using currentTarget instead of target for Firefox 2.0's sake. Not+ //all old browsers will be supported, but this one was easy enough+ //to support and still makes sense.+ if (evt.type === 'load' ||+ (readyRegExp.test((evt.currentTarget || evt.srcElement).readyState))) {+ //Reset interactive script so a script node is not held onto for+ //to long.+ interactiveScript = null;++ //Pull out the name of the module and the context.+ var data = getScriptData(evt);+ context.completeLoad(data.id);+ }+ },++ /**+ * Callback for script errors.+ */+ onScriptError: function (evt) {+ var data = getScriptData(evt);+ if (!hasPathFallback(data.id)) {+ var parents = [];+ eachProp(registry, function(value, key) {+ if (key.indexOf('_@r') !== 0) {+ each(value.depMaps, function(depMap) {+ if (depMap.id === data.id) {+ parents.push(key);+ }+ return true;+ });+ }+ });+ return onError(makeError('scripterror', 'Script error for "' + data.id ++ (parents.length ?+ '", needed by: ' + parents.join(', ') :+ '"'), evt, [data.id]));+ }+ }+ };++ context.require = context.makeRequire();+ return context;+ }++ /**+ * Main entry point.+ *+ * If the only argument to require is a string, then the module that+ * is represented by that string is fetched for the appropriate context.+ *+ * If the first argument is an array, then it will be treated as an array+ * of dependency string names to fetch. An optional function callback can+ * be specified to execute when all of those dependencies are available.+ *+ * Make a local req variable to help Caja compliance (it assumes things+ * on a require that are not standardized), and to give a short+ * name for minification/local scope use.+ */+ req = requirejs = function (deps, callback, errback, optional) {++ //Find the right context, use default+ var context, config,+ contextName = defContextName;++ // Determine if have config object in the call.+ if (!isArray(deps) && typeof deps !== 'string') {+ // deps is a config object+ config = deps;+ if (isArray(callback)) {+ // Adjust args if there are dependencies+ deps = callback;+ callback = errback;+ errback = optional;+ } else {+ deps = [];+ }+ }++ if (config && config.context) {+ contextName = config.context;+ }++ context = getOwn(contexts, contextName);+ if (!context) {+ context = contexts[contextName] = req.s.newContext(contextName);+ }++ if (config) {+ context.configure(config);+ }++ return context.require(deps, callback, errback);+ };++ /**+ * Support require.config() to make it easier to cooperate with other+ * AMD loaders on globally agreed names.+ */+ req.config = function (config) {+ return req(config);+ };++ /**+ * Execute something after the current tick+ * of the event loop. Override for other envs+ * that have a better solution than setTimeout.+ * @param {Function} fn function to execute later.+ */+ req.nextTick = typeof setTimeout !== 'undefined' ? function (fn) {+ setTimeout(fn, 4);+ } : function (fn) { fn(); };++ /**+ * Export require as a global, but only if it does not already exist.+ */+ if (!require) {+ require = req;+ }++ req.version = version;++ //Used to filter out dependencies that are already paths.+ req.jsExtRegExp = /^\/|:|\?|\.js$/;+ req.isBrowser = isBrowser;+ s = req.s = {+ contexts: contexts,+ newContext: newContext+ };++ //Create default context.+ req({});++ //Exports some context-sensitive methods on global require.+ each([+ 'toUrl',+ 'undef',+ 'defined',+ 'specified'+ ], function (prop) {+ //Reference from contexts instead of early binding to default context,+ //so that during builds, the latest instance of the default context+ //with its config gets used.+ req[prop] = function () {+ var ctx = contexts[defContextName];+ return ctx.require[prop].apply(ctx, arguments);+ };+ });++ if (isBrowser) {+ head = s.head = document.getElementsByTagName('head')[0];+ //If BASE tag is in play, using appendChild is a problem for IE6.+ //When that browser dies, this can be removed. Details in this jQuery bug:+ //http://dev.jquery.com/ticket/2709+ baseElement = document.getElementsByTagName('base')[0];+ if (baseElement) {+ head = s.head = baseElement.parentNode;+ }+ }++ /**+ * Any errors that require explicitly generates will be passed to this+ * function. Intercept/override it if you want custom error handling.+ * @param {Error} err the error object.+ */+ req.onError = defaultOnError;++ /**+ * Creates the node for the load command. Only used in browser envs.+ */+ req.createNode = function (config, moduleName, url) {+ var node = config.xhtml ?+ document.createElementNS('http://www.w3.org/1999/xhtml', 'html:script') :+ document.createElement('script');+ node.type = config.scriptType || 'text/javascript';+ node.charset = 'utf-8';+ node.async = true;+ return node;+ };++ /**+ * Does the request to load a module for the browser case.+ * Make this a separate function to allow other environments+ * to override it.+ *+ * @param {Object} context the require context to find state.+ * @param {String} moduleName the name of the module.+ * @param {Object} url the URL to the module.+ */+ req.load = function (context, moduleName, url) {+ var config = (context && context.config) || {},+ node;+ if (isBrowser) {+ //In the browser so use a script tag+ node = req.createNode(config, moduleName, url);+ if (config.onNodeCreated) {+ config.onNodeCreated(node, config, moduleName, url);+ }++ node.setAttribute('data-requirecontext', context.contextName);+ node.setAttribute('data-requiremodule', moduleName);++ //Set up load listener. Test attachEvent first because IE9 has+ //a subtle issue in its addEventListener and script onload firings+ //that do not match the behavior of all other browsers with+ //addEventListener support, which fire the onload event for a+ //script right after the script execution. See:+ //https://connect.microsoft.com/IE/feedback/details/648057/script-onload-event-is-not-fired-immediately-after-script-execution+ //UNFORTUNATELY Opera implements attachEvent but does not follow the script+ //script execution mode.+ if (node.attachEvent &&+ //Check if node.attachEvent is artificially added by custom script or+ //natively supported by browser+ //read https://github.com/jrburke/requirejs/issues/187+ //if we can NOT find [native code] then it must NOT natively supported.+ //in IE8, node.attachEvent does not have toString()+ //Note the test for "[native code" with no closing brace, see:+ //https://github.com/jrburke/requirejs/issues/273+ !(node.attachEvent.toString && node.attachEvent.toString().indexOf('[native code') < 0) &&+ !isOpera) {+ //Probably IE. IE (at least 6-8) do not fire+ //script onload right after executing the script, so+ //we cannot tie the anonymous define call to a name.+ //However, IE reports the script as being in 'interactive'+ //readyState at the time of the define call.+ useInteractive = true;++ node.attachEvent('onreadystatechange', context.onScriptLoad);+ //It would be great to add an error handler here to catch+ //404s in IE9+. However, onreadystatechange will fire before+ //the error handler, so that does not help. If addEventListener+ //is used, then IE will fire error before load, but we cannot+ //use that pathway given the connect.microsoft.com issue+ //mentioned above about not doing the 'script execute,+ //then fire the script load event listener before execute+ //next script' that other browsers do.+ //Best hope: IE10 fixes the issues,+ //and then destroys all installs of IE 6-9.+ //node.attachEvent('onerror', context.onScriptError);+ } else {+ node.addEventListener('load', context.onScriptLoad, false);+ node.addEventListener('error', context.onScriptError, false);+ }+ node.src = url;++ //For some cache cases in IE 6-8, the script executes before the end+ //of the appendChild execution, so to tie an anonymous define+ //call to the module name (which is stored on the node), hold on+ //to a reference to this node, but clear after the DOM insertion.+ currentlyAddingScript = node;+ if (baseElement) {+ head.insertBefore(node, baseElement);+ } else {+ head.appendChild(node);+ }+ currentlyAddingScript = null;++ return node;+ } else if (isWebWorker) {+ try {+ //In a web worker, use importScripts. This is not a very+ //efficient use of importScripts, importScripts will block until+ //its script is downloaded and evaluated. However, if web workers+ //are in play, the expectation is that a build has been done so+ //that only one script needs to be loaded anyway. This may need+ //to be reevaluated if other use cases become common.+ importScripts(url);++ //Account for anonymous modules+ context.completeLoad(moduleName);+ } catch (e) {+ context.onError(makeError('importscripts',+ 'importScripts failed for ' ++ moduleName + ' at ' + url,+ e,+ [moduleName]));+ }+ }+ };++ function getInteractiveScript() {+ if (interactiveScript && interactiveScript.readyState === 'interactive') {+ return interactiveScript;+ }++ eachReverse(scripts(), function (script) {+ if (script.readyState === 'interactive') {+ return (interactiveScript = script);+ }+ });+ return interactiveScript;+ }++ //Look for a data-main script attribute, which could also adjust the baseUrl.+ if (isBrowser && !cfg.skipDataMain) {+ //Figure out baseUrl. Get it from the script tag with require.js in it.+ eachReverse(scripts(), function (script) {+ //Set the 'head' where we can append children by+ //using the script's parent.+ if (!head) {+ head = script.parentNode;+ }++ //Look for a data-main attribute to set main script for the page+ //to load. If it is there, the path to data main becomes the+ //baseUrl, if it is not already set.+ dataMain = script.getAttribute('data-main');+ if (dataMain) {+ //Preserve dataMain in case it is a path (i.e. contains '?')+ mainScript = dataMain;++ //Set final baseUrl if there is not already an explicit one.+ if (!cfg.baseUrl) {+ //Pull off the directory of data-main for use as the+ //baseUrl.+ src = mainScript.split('/');+ mainScript = src.pop();+ subPath = src.length ? src.join('/') + '/' : './';++ cfg.baseUrl = subPath;+ }++ //Strip off any trailing .js since mainScript is now+ //like a module name.+ mainScript = mainScript.replace(jsSuffixRegExp, '');++ //If mainScript is still a path, fall back to dataMain+ if (req.jsExtRegExp.test(mainScript)) {+ mainScript = dataMain;+ }++ //Put the data-main script in the files to load.+ cfg.deps = cfg.deps ? cfg.deps.concat(mainScript) : [mainScript];++ return true;+ }+ });+ }++ /**+ * The function that handles definitions of modules. Differs from+ * require() in that a string for the module should be the first argument,+ * and the function to execute after dependencies are loaded should+ * return a value to define the module corresponding to the first argument's+ * name.+ */+ define = function (name, deps, callback) {+ var node, context;++ //Allow for anonymous modules+ if (typeof name !== 'string') {+ //Adjust args appropriately+ callback = deps;+ deps = name;+ name = null;+ }++ //This module may not have dependencies+ if (!isArray(deps)) {+ callback = deps;+ deps = null;+ }++ //If no name, and callback is a function, then figure out if it a+ //CommonJS thing with dependencies.+ if (!deps && isFunction(callback)) {+ deps = [];+ //Remove comments from the callback string,+ //look for require calls, and pull them into the dependencies,+ //but only if there are function args.+ if (callback.length) {+ callback+ .toString()+ .replace(commentRegExp, '')+ .replace(cjsRequireRegExp, function (match, dep) {+ deps.push(dep);+ });++ //May be a CommonJS thing even without require calls, but still+ //could use exports, and module. Avoid doing exports and module+ //work though if it just needs require.+ //REQUIRES the function to expect the CommonJS variables in the+ //order listed below.+ deps = (callback.length === 1 ? ['require'] : ['require', 'exports', 'module']).concat(deps);+ }+ }++ //If in IE 6-8 and hit an anonymous define() call, do the interactive+ //work.+ if (useInteractive) {+ node = currentlyAddingScript || getInteractiveScript();+ if (node) {+ if (!name) {+ name = node.getAttribute('data-requiremodule');+ }+ context = contexts[node.getAttribute('data-requirecontext')];+ }+ }++ //Always save off evaluating the def call until the script onload handler.+ //This allows multiple modules to be in a file without prematurely+ //tracing dependencies, and allows for anonymous module support,+ //where the module name is not known until the script onload event+ //occurs. If no context, use the global queue, and get it processed+ //in the onscript load callback.+ if (context) {+ context.defQueue.push([name, deps, callback]);+ context.defQueueMap[name] = true;+ } else {+ globalDefQueue.push([name, deps, callback]);+ }+ };++ define.amd = {+ jQuery: true+ };++ /**+ * Executes the text. Normally just uses eval, but can be modified+ * to use a better, environment-specific call. Only used for transpiling+ * loader plugins, not for plain JS modules.+ * @param {String} text the text to execute/evaluate.+ */+ req.exec = function (text) {+ /*jslint evil: true */+ return eval(text);+ };++ //Set up with config info.+ req(cfg);+}(this));diff --git a/data/libs/requiretext/LICENSE[newBSD].txt b/data/libs/requiretext/LICENSE[newBSD].txtdeleted file mode 100644index ffaf31710..000000000--- a/data/libs/requiretext/LICENSE[newBSD].txt+++ /dev/null@@ -1,58 +0,0 @@-RequireJS is released under two licenses: new BSD, and MIT. You may pick the-license that best suits your development needs. The text of both licenses are-provided below.---The "New" BSD License:-------------------------Copyright (c) 2010-2011, The Dojo Foundation-All rights reserved.--Redistribution and use in source and binary forms, with or without-modification, are permitted provided that the following conditions are met:-- * Redistributions of source code must retain the above copyright notice, this- list of conditions and the following disclaimer.- * Redistributions in binary form must reproduce the above copyright notice,- this list of conditions and the following disclaimer in the documentation- and/or other materials provided with the distribution.- * Neither the name of the Dojo Foundation nor the names of its contributors- may be used to endorse or promote products derived from this software- without specific prior written permission.--THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.----MIT License--------------Copyright (c) 2010-2011, The Dojo Foundation--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.diff --git a/data/libs/requiretext/text.js b/data/libs/requiretext/index.jssimilarity index 95%rename from data/libs/requiretext/text.jsrename to data/libs/requiretext/index.jsindex 1e4fc9661..4c311edce 100644--- a/data/libs/requiretext/text.js+++ b/data/libs/requiretext/index.js@@ -1,5 +1,5 @@/**- * @license RequireJS text 2.0.10 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.+ * @license RequireJS text 2.0.14 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved.* Available via the MIT or new BSD license.* see: http://github.com/requirejs/text for details*/@@ -23,7 +23,7 @@ define(['module'], function (module) {masterConfig = (module.config && module.config()) || {};text = {- version: '2.0.10',+ version: '2.0.14',strip: function (content) {//Strips <?xml ...?> declarations so that external SVG and XML@@ -85,13 +85,13 @@ define(['module'], function (module) {parseName: function (name) {var modName, ext, temp,strip = false,- index = name.indexOf("."),+ index = name.lastIndexOf("."),isRelative = name.indexOf('./') === 0 ||name.indexOf('../') === 0;if (index !== -1 && (!isRelative || index > 1)) {modName = name.substring(0, index);- ext = name.substring(index + 1, name.length);+ ext = name.substring(index + 1);} else {modName = name;}@@ -162,12 +162,12 @@ define(['module'], function (module) {// Do not bother with the work if a build and text will// not be inlined.- if (config.isBuild && !config.inlineText) {+ if (config && config.isBuild && !config.inlineText) {onLoad();return;}- masterConfig.isBuild = config.isBuild;+ masterConfig.isBuild = config && config.isBuild;var parsed = text.parseName(name),nonStripName = parsed.moduleName +@@ -244,7 +244,8 @@ define(['module'], function (module) {typeof process !== "undefined" &&process.versions &&!!process.versions.node &&- !process.versions['node-webkit'])) {+ !process.versions['node-webkit'] &&+ !process.versions['atom-shell'])) {//Using special require.nodeRequire, something added by r.js.fs = require.nodeRequire('fs');@@ -252,12 +253,14 @@ define(['module'], function (module) {try {var file = fs.readFileSync(url, 'utf8');//Remove BOM (Byte Mark Order) from utf8 files if it is there.- if (file.indexOf('\uFEFF') === 0) {+ if (file[0] === '\uFEFF') {file = file.substring(1);}callback(file);} catch (e) {- errback(e);+ if (errback) {+ errback(e);+ }}};} else if (masterConfig.env === 'xhr' || (!masterConfig.env &&@@ -285,12 +288,14 @@ define(['module'], function (module) {//Do not explicitly handle errors, those should be//visible via console output in the browser.if (xhr.readyState === 4) {- status = xhr.status;+ status = xhr.status || 0;if (status > 399 && status < 600) {//An http 4xx or 5xx error. Signal an error.err = new Error(url + ' HTTP status: ' + status);err.xhr = xhr;- errback(err);+ if (errback) {+ errback(err);+ }} else {callback(xhr.responseText);}@@ -347,7 +352,7 @@ define(['module'], function (module) {typeof Components !== 'undefined' && Components.classes &&Components.interfaces)) {//Avert your gaze!- Cc = Components.classes,+ Cc = Components.classes;Ci = Components.interfaces;Components.utils['import']('resource://gre/modules/FileUtils.jsm');xpcIsWindows = ('@mozilla.org/windows-registry-key;1' in Cc);diff --git a/data/libs/select2/LICENSE[apache].txt b/data/libs/select2/LICENSEsimilarity index 95%rename from data/libs/select2/LICENSE[apache].txtrename to data/libs/select2/LICENSEindex 3c98f3df4..0247cc762 100644--- a/data/libs/select2/LICENSE[apache].txt+++ b/data/libs/select2/LICENSE@@ -1,4 +1,4 @@-Copyright 2012 Igor Vaynberg+Copyright 2014 Igor VaynbergVersion: @@ver@@ Timestamp: @@timestamp@@@@ -15,4 +15,4 @@ http://www.gnu.org/licenses/gpl-2.0.htmlUnless required by applicable law or agreed to in writing, software distributed under the Apache Licenseor the GPL Licesnse is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,either express or implied. See the Apache License and the GPL License for the specific language governing-permissions and limitations under the Apache License and the GPL License.\ No newline at end of file+permissions and limitations under the Apache License and the GPL License.diff --git a/data/libs/select2/select2-bootstrap.css b/data/libs/select2/select2-bootstrap.cssindex 909971074..3b83f0a22 100644--- a/data/libs/select2/select2-bootstrap.css+++ b/data/libs/select2/select2-bootstrap.css@@ -9,7 +9,7 @@.form-control.select2-container {height: auto !important;- padding: 0px;+ padding: 0;}.form-control.select2-container.select2-dropdown-open {diff --git a/data/libs/select2/select2.css b/data/libs/select2/select2.cssindex 2b32ed6f2..1eb4d229f 100644--- a/data/libs/select2/select2.css+++ b/data/libs/select2/select2.css@@ -1,5 +1,5 @@/*-Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013+Version: 3.4.8 Timestamp: Thu May 1 09:50:32 EDT 2014*/.select2-container {margin: 0;@@ -18,7 +18,6 @@ Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013/*Force border-box so that % widths fit the parentcontainer without overlap because of margin/padding.-More Info : http://www.quirksmode.org/css/box.html*/-webkit-box-sizing: border-box; /* webkit */@@ -54,7 +53,7 @@ Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 50%);background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 50%);filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#eeeeee', GradientType = 0);- background-image: linear-gradient(top, #fff 0%, #eee 50%);+ background-image: linear-gradient(to top, #eee 0%, #fff 50%);}.select2-container.select2-drop-above .select2-choice {@@ -66,7 +65,7 @@ Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 90%);background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 90%);filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);- background-image: linear-gradient(top, #eee 0%, #fff 90%);+ background-image: linear-gradient(to bottom, #eee 0%, #fff 90%);}.select2-container.select2-allowclear .select2-choice .select2-chosen {@@ -81,6 +80,8 @@ Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013white-space: nowrap;text-overflow: ellipsis;+ float: none;+ width: auto;}.select2-container .select2-choice abbr {@@ -145,15 +146,6 @@ Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013box-shadow: 0 4px 5px rgba(0, 0, 0, .15);}-.select2-drop-auto-width {- border-top: 1px solid #aaa;- width: auto;-}--.select2-drop-auto-width .select2-search {- padding-top: 4px;-}-.select2-drop.select2-drop-above {margin-top: 1px;border-top: 1px solid #aaa;@@ -174,6 +166,15 @@ Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013border-top: 1px solid #5897fb;}+.select2-drop-auto-width {+ border-top: 1px solid #aaa;+ width: auto;+}++.select2-drop-auto-width .select2-search {+ padding-top: 4px;+}+.select2-container .select2-choice .select2-arrow {display: inline-block;width: 18px;@@ -192,7 +193,7 @@ Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%);background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%);filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#eeeeee', endColorstr = '#cccccc', GradientType = 0);- background-image: linear-gradient(top, #ccc 0%, #eee 60%);+ background-image: linear-gradient(to top, #ccc 0%, #eee 60%);}.select2-container .select2-choice .select2-arrow b {@@ -237,7 +238,7 @@ Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013background: url('select2.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));background: url('select2.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);background: url('select2.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);- background: url('select2.png') no-repeat 100% -22px, linear-gradient(top, #fff 85%, #eee 99%);+ background: url('select2.png') no-repeat 100% -22px, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;}.select2-drop.select2-drop-above .select2-search input {@@ -249,7 +250,7 @@ Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013background: url('select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));background: url('select2-spinner.gif') no-repeat 100%, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);background: url('select2-spinner.gif') no-repeat 100%, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);- background: url('select2-spinner.gif') no-repeat 100%, linear-gradient(top, #fff 85%, #eee 99%);+ background: url('select2-spinner.gif') no-repeat 100%, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;}.select2-container-active .select2-choice,@@ -274,7 +275,7 @@ Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013background-image: -webkit-linear-gradient(center bottom, #fff 0%, #eee 50%);background-image: -moz-linear-gradient(center bottom, #fff 0%, #eee 50%);filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);- background-image: linear-gradient(top, #fff 0%, #eee 50%);+ background-image: linear-gradient(to top, #fff 0%, #eee 50%);}.select2-dropdown-open.select2-drop-above .select2-choice,@@ -286,7 +287,7 @@ Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013background-image: -webkit-linear-gradient(center top, #fff 0%, #eee 50%);background-image: -moz-linear-gradient(center top, #fff 0%, #eee 50%);filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);- background-image: linear-gradient(bottom, #fff 0%, #eee 50%);+ background-image: linear-gradient(to bottom, #fff 0%, #eee 50%);}.select2-dropdown-open .select2-choice .select2-arrow {@@ -298,6 +299,17 @@ Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013background-position: -18px 1px;}+.select2-hidden-accessible {+ border: 0;+ clip: rect(0 0 0 0);+ height: 1px;+ margin: -1px;+ overflow: hidden;+ padding: 0;+ position: absolute;+ width: 1px;+}+/* results */.select2-results {max-height: 200px;@@ -314,14 +326,6 @@ Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013padding-left: 0;}-.select2-results ul.select2-result-sub > li .select2-result-label { padding-left: 20px }-.select2-results ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 40px }-.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 60px }-.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 80px }-.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 100px }-.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 110px }-.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 120px }-.select2-results li {list-style: none;display: list-item;@@ -346,6 +350,14 @@ Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013user-select: none;}+.select2-results-dept-1 .select2-result-label { padding-left: 20px }+.select2-results-dept-2 .select2-result-label { padding-left: 40px }+.select2-results-dept-3 .select2-result-label { padding-left: 60px }+.select2-results-dept-4 .select2-result-label { padding-left: 80px }+.select2-results-dept-5 .select2-result-label { padding-left: 100px }+.select2-results-dept-6 .select2-result-label { padding-left: 110px }+.select2-results-dept-7 .select2-result-label { padding-left: 120px }+.select2-results .select2-highlighted {background: #3875d7;color: #fff;@@ -371,6 +383,7 @@ Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013.select2-results .select2-selection-limit {background: #f4f4f4;display: list-item;+ padding-left: 5px;}/*@@ -438,7 +451,7 @@ disabled look for disabled choices in the results dropdownbackground-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eee), color-stop(15%, #fff));background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);background-image: -moz-linear-gradient(top, #eee 1%, #fff 15%);- background-image: linear-gradient(top, #eee 1%, #fff 15%);+ background-image: linear-gradient(to bottom, #eee 1%, #fff 15%);}.select2-locked {@@ -460,6 +473,10 @@ disabled look for disabled choices in the results dropdownfloat: left;list-style: none;}+html[dir="rtl"] .select2-container-multi .select2-choices li+{+ float: right;+}.select2-container-multi .select2-choices .select2-search-field {margin: 0;padding: 0;@@ -516,7 +533,12 @@ disabled look for disabled choices in the results dropdownbackground-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);- background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);+ background-image: linear-gradient(to top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);+}+html[dir="rtl"] .select2-container-multi .select2-choices .select2-search-choice+{+ margin-left: 0;+ margin-right: 5px;}.select2-container-multi .select2-choices .select2-search-choice .select2-chosen {cursor: default;@@ -537,6 +559,10 @@ disabled look for disabled choices in the results dropdownoutline: none;background: url('select2.png') right top no-repeat;}+html[dir="rtl"] .select2-search-choice-close {+ right: auto;+ left: 3px;+}.select2-container-multi .select2-search-choice-close {left: 3px;@@ -601,15 +627,20 @@ disabled look for disabled choices in the results dropdownheight: 100px;overflow: scroll;}+/* Retina-ize icons */-@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {- .select2-search input, .select2-search-choice-close, .select2-container .select2-choice abbr, .select2-container .select2-choice .select2-arrow b {- background-image: url('select2x2.png') !important;- background-repeat: no-repeat !important;- background-size: 60px 40px !important;- }- .select2-search input {- background-position: 100% -21px !important;- }+@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 2dppx) {+ .select2-search input,+ .select2-search-choice-close,+ .select2-container .select2-choice abbr,+ .select2-container .select2-choice .select2-arrow b {+ background-image: url('select2x2.png') !important;+ background-repeat: no-repeat !important;+ background-size: 60px 40px !important;+ }++ .select2-search input {+ background-position: 100% -21px !important;+ }}diff --git a/data/libs/select2/select2.min.js b/data/libs/select2/select2.min.jsindex bffe4c241..f396992f2 100644--- a/data/libs/select2/select2.min.js+++ b/data/libs/select2/select2.min.js@@ -1,7 +1,7 @@/*-Copyright 2012 Igor Vaynberg+Copyright 2014 Igor Vaynberg-Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013+Version: 3.4.8 Timestamp: Thu May 1 09:50:32 EDT 2014This software is licensed under the Apache License, Version 2.0 (the "Apache License") or the GNUGeneral Public License version 2 (the "GPL License"). You may choose either license to govern your@@ -18,5 +18,5 @@ or the GPL Licesnse is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR COeither express or implied. See the Apache License and the GPL License for the specific language governingpermissions and limitations under the Apache License and the GPL License.*/-!function(a){"undefined"==typeof a.fn.each2&&a.extend(a.fn,{each2:function(b){for(var c=a([0]),d=-1,e=this.length;++d<e&&(c.context=c[0]=this[d])&&b.call(c[0],d,c)!==!1;);return this}})}(jQuery),function(a,b){"use strict";function n(a){var b,c,d,e;if(!a||a.length<1)return a;for(b="",c=0,d=a.length;d>c;c++)e=a.charAt(c),b+=m[e]||e;return b}function o(a,b){for(var c=0,d=b.length;d>c;c+=1)if(q(a,b[c]))return c;return-1}function p(){var b=a(l);b.appendTo("body");var c={width:b.width()-b[0].clientWidth,height:b.height()-b[0].clientHeight};return b.remove(),c}function q(a,c){return a===c?!0:a===b||c===b?!1:null===a||null===c?!1:a.constructor===String?a+""==c+"":c.constructor===String?c+""==a+"":!1}function r(b,c){var d,e,f;if(null===b||b.length<1)return[];for(d=b.split(c),e=0,f=d.length;f>e;e+=1)d[e]=a.trim(d[e]);return d}function s(a){return a.outerWidth(!1)-a.width()}function t(c){var d="keyup-change-value";c.on("keydown",function(){a.data(c,d)===b&&a.data(c,d,c.val())}),c.on("keyup",function(){var e=a.data(c,d);e!==b&&c.val()!==e&&(a.removeData(c,d),c.trigger("keyup-change"))})}function u(c){c.on("mousemove",function(c){var d=i;(d===b||d.x!==c.pageX||d.y!==c.pageY)&&a(c.target).trigger("mousemove-filtered",c)})}function v(a,c,d){d=d||b;var e;return function(){var b=arguments;window.clearTimeout(e),e=window.setTimeout(function(){c.apply(d,b)},a)}}function w(a){var c,b=!1;return function(){return b===!1&&(c=a(),b=!0),c}}function x(a,b){var c=v(a,function(a){b.trigger("scroll-debounced",a)});b.on("scroll",function(a){o(a.target,b.get())>=0&&c(a)})}function y(a){a[0]!==document.activeElement&&window.setTimeout(function(){var d,b=a[0],c=a.val().length;a.focus(),a.is(":visible")&&b===document.activeElement&&(b.setSelectionRange?b.setSelectionRange(c,c):b.createTextRange&&(d=b.createTextRange(),d.collapse(!1),d.select()))},0)}function z(b){b=a(b)[0];var c=0,d=0;if("selectionStart"in b)c=b.selectionStart,d=b.selectionEnd-c;else if("selection"in document){b.focus();var e=document.selection.createRange();d=document.selection.createRange().text.length,e.moveStart("character",-b.value.length),c=e.text.length-d}return{offset:c,length:d}}function A(a){a.preventDefault(),a.stopPropagation()}function B(a){a.preventDefault(),a.stopImmediatePropagation()}function C(b){if(!h){var c=b[0].currentStyle||window.getComputedStyle(b[0],null);h=a(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:c.fontSize,fontFamily:c.fontFamily,fontStyle:c.fontStyle,fontWeight:c.fontWeight,letterSpacing:c.letterSpacing,textTransform:c.textTransform,whiteSpace:"nowrap"}),h.attr("class","select2-sizer"),a("body").append(h)}return h.text(b.val()),h.width()}function D(b,c,d){var e,g,f=[];e=b.attr("class"),e&&(e=""+e,a(e.split(" ")).each2(function(){0===this.indexOf("select2-")&&f.push(this)})),e=c.attr("class"),e&&(e=""+e,a(e.split(" ")).each2(function(){0!==this.indexOf("select2-")&&(g=d(this),g&&f.push(g))})),b.attr("class",f.join(" "))}function E(a,b,c,d){var e=n(a.toUpperCase()).indexOf(n(b.toUpperCase())),f=b.length;return 0>e?(c.push(d(a)),void 0):(c.push(d(a.substring(0,e))),c.push("<span class='select2-match'>"),c.push(d(a.substring(e,e+f))),c.push("</span>"),c.push(d(a.substring(e+f,a.length))),void 0)}function F(a){var b={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})}function G(c){var d,e=null,f=c.quietMillis||100,g=c.url,h=this;return function(i){window.clearTimeout(d),d=window.setTimeout(function(){var d=c.data,f=g,j=c.transport||a.fn.select2.ajaxDefaults.transport,k={type:c.type||"GET",cache:c.cache||!1,jsonpCallback:c.jsonpCallback||b,dataType:c.dataType||"json"},l=a.extend({},a.fn.select2.ajaxDefaults.params,k);d=d?d.call(h,i.term,i.page,i.context):null,f="function"==typeof f?f.call(h,i.term,i.page,i.context):f,e&&e.abort(),c.params&&(a.isFunction(c.params)?a.extend(l,c.params.call(h)):a.extend(l,c.params)),a.extend(l,{url:f,dataType:c.dataType,data:d,success:function(a){var b=c.results(a,i.page);i.callback(b)}}),e=j.call(h,l)},f)}}function H(b){var d,e,c=b,f=function(a){return""+a.text};a.isArray(c)&&(e=c,c={results:e}),a.isFunction(c)===!1&&(e=c,c=function(){return e});var g=c();return g.text&&(f=g.text,a.isFunction(f)||(d=g.text,f=function(a){return a[d]})),function(b){var g,d=b.term,e={results:[]};return""===d?(b.callback(c()),void 0):(g=function(c,e){var h,i;if(c=c[0],c.children){h={};for(i in c)c.hasOwnProperty(i)&&(h[i]=c[i]);h.children=[],a(c.children).each2(function(a,b){g(b,h.children)}),(h.children.length||b.matcher(d,f(h),c))&&e.push(h)}else b.matcher(d,f(c),c)&&e.push(c)},a(c().results).each2(function(a,b){g(b,e.results)}),b.callback(e),void 0)}}function I(c){var d=a.isFunction(c);return function(e){var f=e.term,g={results:[]};a(d?c():c).each(function(){var a=this.text!==b,c=a?this.text:this;(""===f||e.matcher(f,c))&&g.results.push(a?this:{id:this,text:this})}),e.callback(g)}}function J(b,c){if(a.isFunction(b))return!0;if(!b)return!1;throw new Error(c+" must be a function or a falsy value")}function K(b){return a.isFunction(b)?b():b}function L(b){var c=0;return a.each(b,function(a,b){b.children?c+=L(b.children):c++}),c}function M(a,c,d,e){var h,i,j,k,l,f=a,g=!1;if(!e.createSearchChoice||!e.tokenSeparators||e.tokenSeparators.length<1)return b;for(;;){for(i=-1,j=0,k=e.tokenSeparators.length;k>j&&(l=e.tokenSeparators[j],i=a.indexOf(l),!(i>=0));j++);if(0>i)break;if(h=a.substring(0,i),a=a.substring(i+l.length),h.length>0&&(h=e.createSearchChoice.call(this,h,c),h!==b&&null!==h&&e.id(h)!==b&&null!==e.id(h))){for(g=!1,j=0,k=c.length;k>j;j++)if(q(e.id(h),e.id(c[j]))){g=!0;break}g||d(h)}}return f!==a?a:void 0}function N(b,c){var d=function(){};return d.prototype=new b,d.prototype.constructor=d,d.prototype.parent=b.prototype,d.prototype=a.extend(d.prototype,c),d}if(window.Select2===b){var c,d,e,f,g,h,j,k,i={x:0,y:0},c={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(a){switch(a=a.which?a.which:a){case c.LEFT:case c.RIGHT:case c.UP:case c.DOWN:return!0}return!1},isControl:function(a){var b=a.which;switch(b){case c.SHIFT:case c.CTRL:case c.ALT:return!0}return a.metaKey?!0:!1},isFunctionKey:function(a){return a=a.which?a.which:a,a>=112&&123>=a}},l="<div class='select2-measure-scrollbar'></div>",m={"\u24b6":"A","\uff21":"A","\xc0":"A","\xc1":"A","\xc2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\xc3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\xc4":"A","\u01de":"A","\u1ea2":"A","\xc5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u24b7":"B","\uff22":"B","\u1e02":"B","\u1e04":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24b8":"C","\uff23":"C","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0187":"C","\u023b":"C","\ua73e":"C","\u24b9":"D","\uff24":"D","\u1e0a":"D","\u010e":"D","\u1e0c":"D","\u1e10":"D","\u1e12":"D","\u1e0e":"D","\u0110":"D","\u018b":"D","\u018a":"D","\u0189":"D","\ua779":"D","\u01f1":"DZ","\u01c4":"DZ","\u01f2":"Dz","\u01c5":"Dz","\u24ba":"E","\uff25":"E","\xc8":"E","\xc9":"E","\xca":"E","\u1ec0":"E","\u1ebe":"E","\u1ec4":"E","\u1ec2":"E","\u1ebc":"E","\u0112":"E","\u1e14":"E","\u1e16":"E","\u0114":"E","\u0116":"E","\xcb":"E","\u1eba":"E","\u011a":"E","\u0204":"E","\u0206":"E","\u1eb8":"E","\u1ec6":"E","\u0228":"E","\u1e1c":"E","\u0118":"E","\u1e18":"E","\u1e1a":"E","\u0190":"E","\u018e":"E","\u24bb":"F","\uff26":"F","\u1e1e":"F","\u0191":"F","\ua77b":"F","\u24bc":"G","\uff27":"G","\u01f4":"G","\u011c":"G","\u1e20":"G","\u011e":"G","\u0120":"G","\u01e6":"G","\u0122":"G","\u01e4":"G","\u0193":"G","\ua7a0":"G","\ua77d":"G","\ua77e":"G","\u24bd":"H","\uff28":"H","\u0124":"H","\u1e22":"H","\u1e26":"H","\u021e":"H","\u1e24":"H","\u1e28":"H","\u1e2a":"H","\u0126":"H","\u2c67":"H","\u2c75":"H","\ua78d":"H","\u24be":"I","\uff29":"I","\xcc":"I","\xcd":"I","\xce":"I","\u0128":"I","\u012a":"I","\u012c":"I","\u0130":"I","\xcf":"I","\u1e2e":"I","\u1ec8":"I","\u01cf":"I","\u0208":"I","\u020a":"I","\u1eca":"I","\u012e":"I","\u1e2c":"I","\u0197":"I","\u24bf":"J","\uff2a":"J","\u0134":"J","\u0248":"J","\u24c0":"K","\uff2b":"K","\u1e30":"K","\u01e8":"K","\u1e32":"K","\u0136":"K","\u1e34":"K","\u0198":"K","\u2c69":"K","\ua740":"K","\ua742":"K","\ua744":"K","\ua7a2":"K","\u24c1":"L","\uff2c":"L","\u013f":"L","\u0139":"L","\u013d":"L","\u1e36":"L","\u1e38":"L","\u013b":"L","\u1e3c":"L","\u1e3a":"L","\u0141":"L","\u023d":"L","\u2c62":"L","\u2c60":"L","\ua748":"L","\ua746":"L","\ua780":"L","\u01c7":"LJ","\u01c8":"Lj","\u24c2":"M","\uff2d":"M","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u019c":"M","\u24c3":"N","\uff2e":"N","\u01f8":"N","\u0143":"N","\xd1":"N","\u1e44":"N","\u0147":"N","\u1e46":"N","\u0145":"N","\u1e4a":"N","\u1e48":"N","\u0220":"N","\u019d":"N","\ua790":"N","\ua7a4":"N","\u01ca":"NJ","\u01cb":"Nj","\u24c4":"O","\uff2f":"O","\xd2":"O","\xd3":"O","\xd4":"O","\u1ed2":"O","\u1ed0":"O","\u1ed6":"O","\u1ed4":"O","\xd5":"O","\u1e4c":"O","\u022c":"O","\u1e4e":"O","\u014c":"O","\u1e50":"O","\u1e52":"O","\u014e":"O","\u022e":"O","\u0230":"O","\xd6":"O","\u022a":"O","\u1ece":"O","\u0150":"O","\u01d1":"O","\u020c":"O","\u020e":"O","\u01a0":"O","\u1edc":"O","\u1eda":"O","\u1ee0":"O","\u1ede":"O","\u1ee2":"O","\u1ecc":"O","\u1ed8":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\u0186":"O","\u019f":"O","\ua74a":"O","\ua74c":"O","\u01a2":"OI","\ua74e":"OO","\u0222":"OU","\u24c5":"P","\uff30":"P","\u1e54":"P","\u1e56":"P","\u01a4":"P","\u2c63":"P","\ua750":"P","\ua752":"P","\ua754":"P","\u24c6":"Q","\uff31":"Q","\ua756":"Q","\ua758":"Q","\u024a":"Q","\u24c7":"R","\uff32":"R","\u0154":"R","\u1e58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1e5a":"R","\u1e5c":"R","\u0156":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua75a":"R","\ua7a6":"R","\ua782":"R","\u24c8":"S","\uff33":"S","\u1e9e":"S","\u015a":"S","\u1e64":"S","\u015c":"S","\u1e60":"S","\u0160":"S","\u1e66":"S","\u1e62":"S","\u1e68":"S","\u0218":"S","\u015e":"S","\u2c7e":"S","\ua7a8":"S","\ua784":"S","\u24c9":"T","\uff34":"T","\u1e6a":"T","\u0164":"T","\u1e6c":"T","\u021a":"T","\u0162":"T","\u1e70":"T","\u1e6e":"T","\u0166":"T","\u01ac":"T","\u01ae":"T","\u023e":"T","\ua786":"T","\ua728":"TZ","\u24ca":"U","\uff35":"U","\xd9":"U","\xda":"U","\xdb":"U","\u0168":"U","\u1e78":"U","\u016a":"U","\u1e7a":"U","\u016c":"U","\xdc":"U","\u01db":"U","\u01d7":"U","\u01d5":"U","\u01d9":"U","\u1ee6":"U","\u016e":"U","\u0170":"U","\u01d3":"U","\u0214":"U","\u0216":"U","\u01af":"U","\u1eea":"U","\u1ee8":"U","\u1eee":"U","\u1eec":"U","\u1ef0":"U","\u1ee4":"U","\u1e72":"U","\u0172":"U","\u1e76":"U","\u1e74":"U","\u0244":"U","\u24cb":"V","\uff36":"V","\u1e7c":"V","\u1e7e":"V","\u01b2":"V","\ua75e":"V","\u0245":"V","\ua760":"VY","\u24cc":"W","\uff37":"W","\u1e80":"W","\u1e82":"W","\u0174":"W","\u1e86":"W","\u1e84":"W","\u1e88":"W","\u2c72":"W","\u24cd":"X","\uff38":"X","\u1e8a":"X","\u1e8c":"X","\u24ce":"Y","\uff39":"Y","\u1ef2":"Y","\xdd":"Y","\u0176":"Y","\u1ef8":"Y","\u0232":"Y","\u1e8e":"Y","\u0178":"Y","\u1ef6":"Y","\u1ef4":"Y","\u01b3":"Y","\u024e":"Y","\u1efe":"Y","\u24cf":"Z","\uff3a":"Z","\u0179":"Z","\u1e90":"Z","\u017b":"Z","\u017d":"Z","\u1e92":"Z","\u1e94":"Z","\u01b5":"Z","\u0224":"Z","\u2c7f":"Z","\u2c6b":"Z","\ua762":"Z","\u24d0":"a","\uff41":"a","\u1e9a":"a","\xe0":"a","\xe1":"a","\xe2":"a","\u1ea7":"a","\u1ea5":"a","\u1eab":"a","\u1ea9":"a","\xe3":"a","\u0101":"a","\u0103":"a","\u1eb1":"a","\u1eaf":"a","\u1eb5":"a","\u1eb3":"a","\u0227":"a","\u01e1":"a","\xe4":"a","\u01df":"a","\u1ea3":"a","\xe5":"a","\u01fb":"a","\u01ce":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1ead":"a","\u1eb7":"a","\u1e01":"a","\u0105":"a","\u2c65":"a","\u0250":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u24d1":"b","\uff42":"b","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24d2":"c","\uff43":"c","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0188":"c","\u023c":"c","\ua73f":"c","\u2184":"c","\u24d3":"d","\uff44":"d","\u1e0b":"d","\u010f":"d","\u1e0d":"d","\u1e11":"d","\u1e13":"d","\u1e0f":"d","\u0111":"d","\u018c":"d","\u0256":"d","\u0257":"d","\ua77a":"d","\u01f3":"dz","\u01c6":"dz","\u24d4":"e","\uff45":"e","\xe8":"e","\xe9":"e","\xea":"e","\u1ec1":"e","\u1ebf":"e","\u1ec5":"e","\u1ec3":"e","\u1ebd":"e","\u0113":"e","\u1e15":"e","\u1e17":"e","\u0115":"e","\u0117":"e","\xeb":"e","\u1ebb":"e","\u011b":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u1e19":"e","\u1e1b":"e","\u0247":"e","\u025b":"e","\u01dd":"e","\u24d5":"f","\uff46":"f","\u1e1f":"f","\u0192":"f","\ua77c":"f","\u24d6":"g","\uff47":"g","\u01f5":"g","\u011d":"g","\u1e21":"g","\u011f":"g","\u0121":"g","\u01e7":"g","\u0123":"g","\u01e5":"g","\u0260":"g","\ua7a1":"g","\u1d79":"g","\ua77f":"g","\u24d7":"h","\uff48":"h","\u0125":"h","\u1e23":"h","\u1e27":"h","\u021f":"h","\u1e25":"h","\u1e29":"h","\u1e2b":"h","\u1e96":"h","\u0127":"h","\u2c68":"h","\u2c76":"h","\u0265":"h","\u0195":"hv","\u24d8":"i","\uff49":"i","\xec":"i","\xed":"i","\xee":"i","\u0129":"i","\u012b":"i","\u012d":"i","\xef":"i","\u1e2f":"i","\u1ec9":"i","\u01d0":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u012f":"i","\u1e2d":"i","\u0268":"i","\u0131":"i","\u24d9":"j","\uff4a":"j","\u0135":"j","\u01f0":"j","\u0249":"j","\u24da":"k","\uff4b":"k","\u1e31":"k","\u01e9":"k","\u1e33":"k","\u0137":"k","\u1e35":"k","\u0199":"k","\u2c6a":"k","\ua741":"k","\ua743":"k","\ua745":"k","\ua7a3":"k","\u24db":"l","\uff4c":"l","\u0140":"l","\u013a":"l","\u013e":"l","\u1e37":"l","\u1e39":"l","\u013c":"l","\u1e3d":"l","\u1e3b":"l","\u017f":"l","\u0142":"l","\u019a":"l","\u026b":"l","\u2c61":"l","\ua749":"l","\ua781":"l","\ua747":"l","\u01c9":"lj","\u24dc":"m","\uff4d":"m","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u026f":"m","\u24dd":"n","\uff4e":"n","\u01f9":"n","\u0144":"n","\xf1":"n","\u1e45":"n","\u0148":"n","\u1e47":"n","\u0146":"n","\u1e4b":"n","\u1e49":"n","\u019e":"n","\u0272":"n","\u0149":"n","\ua791":"n","\ua7a5":"n","\u01cc":"nj","\u24de":"o","\uff4f":"o","\xf2":"o","\xf3":"o","\xf4":"o","\u1ed3":"o","\u1ed1":"o","\u1ed7":"o","\u1ed5":"o","\xf5":"o","\u1e4d":"o","\u022d":"o","\u1e4f":"o","\u014d":"o","\u1e51":"o","\u1e53":"o","\u014f":"o","\u022f":"o","\u0231":"o","\xf6":"o","\u022b":"o","\u1ecf":"o","\u0151":"o","\u01d2":"o","\u020d":"o","\u020f":"o","\u01a1":"o","\u1edd":"o","\u1edb":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\u0254":"o","\ua74b":"o","\ua74d":"o","\u0275":"o","\u01a3":"oi","\u0223":"ou","\ua74f":"oo","\u24df":"p","\uff50":"p","\u1e55":"p","\u1e57":"p","\u01a5":"p","\u1d7d":"p","\ua751":"p","\ua753":"p","\ua755":"p","\u24e0":"q","\uff51":"q","\u024b":"q","\ua757":"q","\ua759":"q","\u24e1":"r","\uff52":"r","\u0155":"r","\u1e59":"r","\u0159":"r","\u0211":"r","\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u0157":"r","\u1e5f":"r","\u024d":"r","\u027d":"r","\ua75b":"r","\ua7a7":"r","\ua783":"r","\u24e2":"s","\uff53":"s","\xdf":"s","\u015b":"s","\u1e65":"s","\u015d":"s","\u1e61":"s","\u0161":"s","\u1e67":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u015f":"s","\u023f":"s","\ua7a9":"s","\ua785":"s","\u1e9b":"s","\u24e3":"t","\uff54":"t","\u1e6b":"t","\u1e97":"t","\u0165":"t","\u1e6d":"t","\u021b":"t","\u0163":"t","\u1e71":"t","\u1e6f":"t","\u0167":"t","\u01ad":"t","\u0288":"t","\u2c66":"t","\ua787":"t","\ua729":"tz","\u24e4":"u","\uff55":"u","\xf9":"u","\xfa":"u","\xfb":"u","\u0169":"u","\u1e79":"u","\u016b":"u","\u1e7b":"u","\u016d":"u","\xfc":"u","\u01dc":"u","\u01d8":"u","\u01d6":"u","\u01da":"u","\u1ee7":"u","\u016f":"u","\u0171":"u","\u01d4":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1eeb":"u","\u1ee9":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u0173":"u","\u1e77":"u","\u1e75":"u","\u0289":"u","\u24e5":"v","\uff56":"v","\u1e7d":"v","\u1e7f":"v","\u028b":"v","\ua75f":"v","\u028c":"v","\ua761":"vy","\u24e6":"w","\uff57":"w","\u1e81":"w","\u1e83":"w","\u0175":"w","\u1e87":"w","\u1e85":"w","\u1e98":"w","\u1e89":"w","\u2c73":"w","\u24e7":"x","\uff58":"x","\u1e8b":"x","\u1e8d":"x","\u24e8":"y","\uff59":"y","\u1ef3":"y","\xfd":"y","\u0177":"y","\u1ef9":"y","\u0233":"y","\u1e8f":"y","\xff":"y","\u1ef7":"y","\u1e99":"y","\u1ef5":"y","\u01b4":"y","\u024f":"y","\u1eff":"y","\u24e9":"z","\uff5a":"z","\u017a":"z","\u1e91":"z","\u017c":"z","\u017e":"z","\u1e93":"z","\u1e95":"z","\u01b6":"z","\u0225":"z","\u0240":"z","\u2c6c":"z","\ua763":"z"};j=a(document),g=function(){var a=1;return function(){return a++}}(),j.on("mousemove",function(a){i.x=a.pageX,i.y=a.pageY}),d=N(Object,{bind:function(a){var b=this;return function(){a.apply(b,arguments)}},init:function(c){var d,e,f=".select2-results";this.opts=c=this.prepareOpts(c),this.id=c.id,c.element.data("select2")!==b&&null!==c.element.data("select2")&&c.element.data("select2").destroy(),this.container=this.createContainer(),this.containerId="s2id_"+(c.element.attr("id")||"autogen"+g()),this.containerSelector="#"+this.containerId.replace(/([;&,\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.body=w(function(){return c.element.closest("body")}),D(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",c.element.attr("style")),this.container.css(K(c.containerCss)),this.container.addClass(K(c.containerCssClass)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",A),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),D(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(K(c.dropdownCssClass)),this.dropdown.data("select2",this),this.dropdown.on("click",A),this.results=d=this.container.find(f),this.search=e=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",A),u(this.results),this.dropdown.on("mousemove-filtered touchstart touchmove touchend",f,this.bind(this.highlightUnderEvent)),x(80,this.results),this.dropdown.on("scroll-debounced",f,this.bind(this.loadMoreIfNeeded)),a(this.container).on("change",".select2-input",function(a){a.stopPropagation()}),a(this.dropdown).on("change",".select2-input",function(a){a.stopPropagation()}),a.fn.mousewheel&&d.mousewheel(function(a,b,c,e){var f=d.scrollTop();e>0&&0>=f-e?(d.scrollTop(0),A(a)):0>e&&d.get(0).scrollHeight-d.scrollTop()+e<=d.height()&&(d.scrollTop(d.get(0).scrollHeight-d.height()),A(a))}),t(e),e.on("keyup-change input paste",this.bind(this.updateResults)),e.on("focus",function(){e.addClass("select2-focused")}),e.on("blur",function(){e.removeClass("select2-focused")}),this.dropdown.on("mouseup",f,this.bind(function(b){a(b.target).closest(".select2-result-selectable").length>0&&(this.highlightUnderEvent(b),this.selectHighlighted(b))})),this.dropdown.on("click mouseup mousedown",function(a){a.stopPropagation()}),a.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==c.maximumInputLength&&this.search.attr("maxlength",c.maximumInputLength);var h=c.element.prop("disabled");h===b&&(h=!1),this.enable(!h);var i=c.element.prop("readonly");i===b&&(i=!1),this.readonly(i),k=k||p(),this.autofocus=c.element.prop("autofocus"),c.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.nextSearchTerm=b},destroy:function(){var a=this.opts.element,c=a.data("select2");this.close(),this.propertyObserver&&(delete this.propertyObserver,this.propertyObserver=null),c!==b&&(c.container.remove(),c.dropdown.remove(),a.removeClass("select2-offscreen").removeData("select2").off(".select2").prop("autofocus",this.autofocus||!1),this.elementTabIndex?a.attr({tabindex:this.elementTabIndex}):a.removeAttr("tabindex"),a.show())},optionToData:function(a){return a.is("option")?{id:a.prop("value"),text:a.text(),element:a.get(),css:a.attr("class"),disabled:a.prop("disabled"),locked:q(a.attr("locked"),"locked")||q(a.data("locked"),!0)}:a.is("optgroup")?{text:a.attr("label"),children:[],element:a.get(),css:a.attr("class")}:void 0},prepareOpts:function(c){var d,e,f,g,h=this;if(d=c.element,"select"===d.get(0).tagName.toLowerCase()&&(this.select=e=c.element),e&&a.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in c)throw new Error("Option '"+this+"' is not allowed for Select2 when attached to a <select> element.")}),c=a.extend({},{populateResults:function(d,e,f){var g,i=this.opts.id;g=function(d,e,j){var k,l,m,n,o,p,q,r,s,t;for(d=c.sortResults(d,e,f),k=0,l=d.length;l>k;k+=1)m=d[k],o=m.disabled===!0,n=!o&&i(m)!==b,p=m.children&&m.children.length>0,q=a("<li></li>"),q.addClass("select2-results-dept-"+j),q.addClass("select2-result"),q.addClass(n?"select2-result-selectable":"select2-result-unselectable"),o&&q.addClass("select2-disabled"),p&&q.addClass("select2-result-with-children"),q.addClass(h.opts.formatResultCssClass(m)),r=a(document.createElement("div")),r.addClass("select2-result-label"),t=c.formatResult(m,r,f,h.opts.escapeMarkup),t!==b&&r.html(t),q.append(r),p&&(s=a("<ul></ul>"),s.addClass("select2-result-sub"),g(m.children,s,j+1),q.append(s)),q.data("select2-data",m),e.append(q)},g(e,d,0)}},a.fn.select2.defaults,c),"function"!=typeof c.id&&(f=c.id,c.id=function(a){return a[f]}),a.isArray(c.element.data("select2Tags"))){if("tags"in c)throw"tags specified as both an attribute 'data-select2-tags' and in options of Select2 "+c.element.attr("id");c.tags=c.element.data("select2Tags")}if(e?(c.query=this.bind(function(a){var f,g,i,c={results:[],more:!1},e=a.term;i=function(b,c){var d;b.is("option")?a.matcher(e,b.text(),b)&&c.push(h.optionToData(b)):b.is("optgroup")&&(d=h.optionToData(b),b.children().each2(function(a,b){i(b,d.children)}),d.children.length>0&&c.push(d))},f=d.children(),this.getPlaceholder()!==b&&f.length>0&&(g=this.getPlaceholderOption(),g&&(f=f.not(g))),f.each2(function(a,b){i(b,c.results)}),a.callback(c)}),c.id=function(a){return a.id},c.formatResultCssClass=function(a){return a.css}):"query"in c||("ajax"in c?(g=c.element.data("ajax-url"),g&&g.length>0&&(c.ajax.url=g),c.query=G.call(c.element,c.ajax)):"data"in c?c.query=H(c.data):"tags"in c&&(c.query=I(c.tags),c.createSearchChoice===b&&(c.createSearchChoice=function(b){return{id:a.trim(b),text:a.trim(b)}}),c.initSelection===b&&(c.initSelection=function(b,d){var e=[];a(r(b.val(),c.separator)).each(function(){var b={id:this,text:this},d=c.tags;a.isFunction(d)&&(d=d()),a(d).each(function(){return q(this.id,b.id)?(b=this,!1):void 0}),e.push(b)}),d(e)}))),"function"!=typeof c.query)throw"query function not defined for Select2 "+c.element.attr("id");return c},monitorSource:function(){var c,d,a=this.opts.element;a.on("change.select2",this.bind(function(){this.opts.element.data("select2-change-triggered")!==!0&&this.initSelection()})),c=this.bind(function(){var c=a.prop("disabled");c===b&&(c=!1),this.enable(!c);var d=a.prop("readonly");d===b&&(d=!1),this.readonly(d),D(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.addClass(K(this.opts.containerCssClass)),D(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(K(this.opts.dropdownCssClass))}),a.on("propertychange.select2",c),this.mutationCallback===b&&(this.mutationCallback=function(a){a.forEach(c)}),d=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,d!==b&&(this.propertyObserver&&(delete this.propertyObserver,this.propertyObserver=null),this.propertyObserver=new d(this.mutationCallback),this.propertyObserver.observe(a.get(0),{attributes:!0,subtree:!1}))},triggerSelect:function(b){var c=a.Event("select2-selecting",{val:this.id(b),object:b});return this.opts.element.trigger(c),!c.isDefaultPrevented()},triggerChange:function(b){b=b||{},b=a.extend({},b,{type:"change",val:this.val()}),this.opts.element.data("select2-change-triggered",!0),this.opts.element.trigger(b),this.opts.element.data("select2-change-triggered",!1),this.opts.element.click(),this.opts.blurOnChange&&this.opts.element.blur()},isInterfaceEnabled:function(){return this.enabledInterface===!0},enableInterface:function(){var a=this._enabled&&!this._readonly,b=!a;return a===this.enabledInterface?!1:(this.container.toggleClass("select2-container-disabled",b),this.close(),this.enabledInterface=a,!0)},enable:function(a){a===b&&(a=!0),this._enabled!==a&&(this._enabled=a,this.opts.element.prop("disabled",!a),this.enableInterface())},disable:function(){this.enable(!1)},readonly:function(a){return a===b&&(a=!1),this._readonly===a?!1:(this._readonly=a,this.opts.element.prop("readonly",a),this.enableInterface(),!0)},opened:function(){return this.container.hasClass("select2-dropdown-open")},positionDropdown:function(){var t,u,v,w,x,b=this.dropdown,c=this.container.offset(),d=this.container.outerHeight(!1),e=this.container.outerWidth(!1),f=b.outerHeight(!1),g=a(window),h=g.width(),i=g.height(),j=g.scrollLeft()+h,l=g.scrollTop()+i,m=c.top+d,n=c.left,o=l>=m+f,p=c.top-f>=this.body().scrollTop(),q=b.outerWidth(!1),r=j>=n+q,s=b.hasClass("select2-drop-above");s?(u=!0,!p&&o&&(v=!0,u=!1)):(u=!1,!o&&p&&(v=!0,u=!0)),v&&(b.hide(),c=this.container.offset(),d=this.container.outerHeight(!1),e=this.container.outerWidth(!1),f=b.outerHeight(!1),j=g.scrollLeft()+h,l=g.scrollTop()+i,m=c.top+d,n=c.left,q=b.outerWidth(!1),r=j>=n+q,b.show()),this.opts.dropdownAutoWidth?(x=a(".select2-results",b)[0],b.addClass("select2-drop-auto-width"),b.css("width",""),q=b.outerWidth(!1)+(x.scrollHeight===x.clientHeight?0:k.width),q>e?e=q:q=e,r=j>=n+q):this.container.removeClass("select2-drop-auto-width"),"static"!==this.body().css("position")&&(t=this.body().offset(),m-=t.top,n-=t.left),r||(n=c.left+e-q),w={left:n,width:e},u?(w.bottom=i-c.top,w.top="auto",this.container.addClass("select2-drop-above"),b.addClass("select2-drop-above")):(w.top=m,w.bottom="auto",this.container.removeClass("select2-drop-above"),b.removeClass("select2-drop-above")),w=a.extend(w,K(this.opts.dropdownCss)),b.css(w)},shouldOpen:function(){var b;return this.opened()?!1:this._enabled===!1||this._readonly===!0?!1:(b=a.Event("select2-opening"),this.opts.element.trigger(b),!b.isDefaultPrevented())},clearDropdownAlignmentPreference:function(){this.container.removeClass("select2-drop-above"),this.dropdown.removeClass("select2-drop-above")},open:function(){return this.shouldOpen()?(this.opening(),!0):!1},opening:function(){var f,b=this.containerId,c="scroll."+b,d="resize."+b,e="orientationchange."+b;this.container.addClass("select2-dropdown-open").addClass("select2-container-active"),this.clearDropdownAlignmentPreference(),this.dropdown[0]!==this.body().children().last()[0]&&this.dropdown.detach().appendTo(this.body()),f=a("#select2-drop-mask"),0==f.length&&(f=a(document.createElement("div")),f.attr("id","select2-drop-mask").attr("class","select2-drop-mask"),f.hide(),f.appendTo(this.body()),f.on("mousedown touchstart click",function(b){var d,c=a("#select2-drop");c.length>0&&(d=c.data("select2"),d.opts.selectOnBlur&&d.selectHighlighted({noFocus:!0}),d.close({focus:!0}),b.preventDefault(),b.stopPropagation())})),this.dropdown.prev()[0]!==f[0]&&this.dropdown.before(f),a("#select2-drop").removeAttr("id"),this.dropdown.attr("id","select2-drop"),f.show(),this.positionDropdown(),this.dropdown.show(),this.positionDropdown(),this.dropdown.addClass("select2-drop-active");var g=this;this.container.parents().add(window).each(function(){a(this).on(d+" "+c+" "+e,function(){g.positionDropdown()})})},close:function(){if(this.opened()){var b=this.containerId,c="scroll."+b,d="resize."+b,e="orientationchange."+b;this.container.parents().add(window).each(function(){a(this).off(c).off(d).off(e)}),this.clearDropdownAlignmentPreference(),a("#select2-drop-mask").hide(),this.dropdown.removeAttr("id"),this.dropdown.hide(),this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active"),this.results.empty(),this.clearSearch(),this.search.removeClass("select2-active"),this.opts.element.trigger(a.Event("select2-close"))}},externalSearch:function(a){this.open(),this.search.val(a),this.updateResults(!1)},clearSearch:function(){},getMaximumSelectionSize:function(){return K(this.opts.maximumSelectionSize)},ensureHighlightVisible:function(){var c,d,e,f,g,h,i,b=this.results;if(d=this.highlight(),!(0>d)){if(0==d)return b.scrollTop(0),void 0;c=this.findHighlightableChoices().find(".select2-result-label"),e=a(c[d]),f=e.offset().top+e.outerHeight(!0),d===c.length-1&&(i=b.find("li.select2-more-results"),i.length>0&&(f=i.offset().top+i.outerHeight(!0))),g=b.offset().top+b.outerHeight(!0),f>g&&b.scrollTop(b.scrollTop()+(f-g)),h=e.offset().top-b.offset().top,0>h&&"none"!=e.css("display")&&b.scrollTop(b.scrollTop()+h)}},findHighlightableChoices:function(){return this.results.find(".select2-result-selectable:not(.select2-disabled, .select2-selected)")},moveHighlight:function(b){for(var c=this.findHighlightableChoices(),d=this.highlight();d>-1&&d<c.length;){d+=b;var e=a(c[d]);if(e.hasClass("select2-result-selectable")&&!e.hasClass("select2-disabled")&&!e.hasClass("select2-selected")){this.highlight(d);break}}},highlight:function(b){var d,e,c=this.findHighlightableChoices();return 0===arguments.length?o(c.filter(".select2-highlighted")[0],c.get()):(b>=c.length&&(b=c.length-1),0>b&&(b=0),this.removeHighlight(),d=a(c[b]),d.addClass("select2-highlighted"),this.ensureHighlightVisible(),e=d.data("select2-data"),e&&this.opts.element.trigger({type:"select2-highlight",val:this.id(e),choice:e}),void 0)},removeHighlight:function(){this.results.find(".select2-highlighted").removeClass("select2-highlighted")},countSelectableResults:function(){return this.findHighlightableChoices().length},highlightUnderEvent:function(b){var c=a(b.target).closest(".select2-result-selectable");if(c.length>0&&!c.is(".select2-highlighted")){var d=this.findHighlightableChoices();this.highlight(d.index(c))}else 0==c.length&&this.removeHighlight()},loadMoreIfNeeded:function(){var c,a=this.results,b=a.find("li.select2-more-results"),d=this.resultsPage+1,e=this,f=this.search.val(),g=this.context;0!==b.length&&(c=b.offset().top-a.offset().top-a.height(),c<=this.opts.loadMorePadding&&(b.addClass("select2-active"),this.opts.query({element:this.opts.element,term:f,page:d,context:g,matcher:this.opts.matcher,callback:this.bind(function(c){e.opened()&&(e.opts.populateResults.call(this,a,c.results,{term:f,page:d,context:g}),e.postprocessResults(c,!1,!1),c.more===!0?(b.detach().appendTo(a).text(e.opts.formatLoadMore(d+1)),window.setTimeout(function(){e.loadMoreIfNeeded()},10)):b.remove(),e.positionDropdown(),e.resultsPage=d,e.context=c.context,this.opts.element.trigger({type:"select2-loaded",items:c}))})})))},tokenize:function(){},updateResults:function(c){function m(){d.removeClass("select2-active"),h.positionDropdown()}function n(a){e.html(a),m()}var g,i,l,d=this.search,e=this.results,f=this.opts,h=this,j=d.val(),k=a.data(this.container,"select2-last-term");if((c===!0||!k||!q(j,k))&&(a.data(this.container,"select2-last-term",j),c===!0||this.showSearchInput!==!1&&this.opened())){l=++this.queryCount;var o=this.getMaximumSelectionSize();if(o>=1&&(g=this.data(),a.isArray(g)&&g.length>=o&&J(f.formatSelectionTooBig,"formatSelectionTooBig")))return n("<li class='select2-selection-limit'>"+f.formatSelectionTooBig(o)+"</li>"),void 0;if(d.val().length<f.minimumInputLength)return J(f.formatInputTooShort,"formatInputTooShort")?n("<li class='select2-no-results'>"+f.formatInputTooShort(d.val(),f.minimumInputLength)+"</li>"):n(""),c&&this.showSearch&&this.showSearch(!0),void 0;-if(f.maximumInputLength&&d.val().length>f.maximumInputLength)return J(f.formatInputTooLong,"formatInputTooLong")?n("<li class='select2-no-results'>"+f.formatInputTooLong(d.val(),f.maximumInputLength)+"</li>"):n(""),void 0;f.formatSearching&&0===this.findHighlightableChoices().length&&n("<li class='select2-searching'>"+f.formatSearching()+"</li>"),d.addClass("select2-active"),this.removeHighlight(),i=this.tokenize(),i!=b&&null!=i&&d.val(i),this.resultsPage=1,f.query({element:f.element,term:d.val(),page:this.resultsPage,context:null,matcher:f.matcher,callback:this.bind(function(g){var i;if(l==this.queryCount){if(!this.opened())return this.search.removeClass("select2-active"),void 0;if(this.context=g.context===b?null:g.context,this.opts.createSearchChoice&&""!==d.val()&&(i=this.opts.createSearchChoice.call(h,d.val(),g.results),i!==b&&null!==i&&h.id(i)!==b&&null!==h.id(i)&&0===a(g.results).filter(function(){return q(h.id(this),h.id(i))}).length&&g.results.unshift(i)),0===g.results.length&&J(f.formatNoMatches,"formatNoMatches"))return n("<li class='select2-no-results'>"+f.formatNoMatches(d.val())+"</li>"),void 0;e.empty(),h.opts.populateResults.call(this,e,g.results,{term:d.val(),page:this.resultsPage,context:null}),g.more===!0&&J(f.formatLoadMore,"formatLoadMore")&&(e.append("<li class='select2-more-results'>"+h.opts.escapeMarkup(f.formatLoadMore(this.resultsPage))+"</li>"),window.setTimeout(function(){h.loadMoreIfNeeded()},10)),this.postprocessResults(g,c),m(),this.opts.element.trigger({type:"select2-loaded",items:g})}})})}},cancel:function(){this.close()},blur:function(){this.opts.selectOnBlur&&this.selectHighlighted({noFocus:!0}),this.close(),this.container.removeClass("select2-container-active"),this.search[0]===document.activeElement&&this.search.blur(),this.clearSearch(),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus")},focusSearch:function(){y(this.search)},selectHighlighted:function(a){var b=this.highlight(),c=this.results.find(".select2-highlighted"),d=c.closest(".select2-result").data("select2-data");d?(this.highlight(b),this.onSelect(d,a)):a&&a.noFocus&&this.close()},getPlaceholder:function(){var a;return this.opts.element.attr("placeholder")||this.opts.element.attr("data-placeholder")||this.opts.element.data("placeholder")||this.opts.placeholder||((a=this.getPlaceholderOption())!==b?a.text():b)},getPlaceholderOption:function(){if(this.select){var a=this.select.children("option").first();if(this.opts.placeholderOption!==b)return"first"===this.opts.placeholderOption&&a||"function"==typeof this.opts.placeholderOption&&this.opts.placeholderOption(this.select);if(""===a.text()&&""===a.val())return a}},initContainerWidth:function(){function c(){var c,d,e,f,g,h;if("off"===this.opts.width)return null;if("element"===this.opts.width)return 0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px";if("copy"===this.opts.width||"resolve"===this.opts.width){if(c=this.opts.element.attr("style"),c!==b)for(d=c.split(";"),f=0,g=d.length;g>f;f+=1)if(h=d[f].replace(/\s/g,""),e=h.match(/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i),null!==e&&e.length>=1)return e[1];return"resolve"===this.opts.width?(c=this.opts.element.css("width"),c.indexOf("%")>0?c:0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px"):null}return a.isFunction(this.opts.width)?this.opts.width():this.opts.width}var d=c.call(this);null!==d&&this.container.css("width",d)}}),e=N(d,{createContainer:function(){var b=a(document.createElement("div")).attr({"class":"select2-container"}).html(["<a href='javascript:void(0)' onclick='return false;' class='select2-choice' tabindex='-1'>"," <span class='select2-chosen'> </span><abbr class='select2-search-choice-close'></abbr>"," <span class='select2-arrow'><b></b></span>","</a>","<input class='select2-focusser select2-offscreen' type='text'/>","<div class='select2-drop select2-display-none'>"," <div class='select2-search'>"," <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input'/>"," </div>"," <ul class='select2-results'>"," </ul>","</div>"].join(""));return b},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.focusser.prop("disabled",!this.isInterfaceEnabled())},opening:function(){var c,d,e;this.opts.minimumResultsForSearch>=0&&this.showSearch(!0),this.parent.opening.apply(this,arguments),this.showSearchInput!==!1&&this.search.val(this.focusser.val()),this.search.focus(),c=this.search.get(0),c.createTextRange?(d=c.createTextRange(),d.collapse(!1),d.select()):c.setSelectionRange&&(e=this.search.val().length,c.setSelectionRange(e,e)),""===this.search.val()&&this.nextSearchTerm!=b&&(this.search.val(this.nextSearchTerm),this.search.select()),this.focusser.prop("disabled",!0).val(""),this.updateResults(!0),this.opts.element.trigger(a.Event("select2-open"))},close:function(a){this.opened()&&(this.parent.close.apply(this,arguments),a=a||{focus:!0},this.focusser.removeAttr("disabled"),a.focus&&this.focusser.focus())},focus:function(){this.opened()?this.close():(this.focusser.removeAttr("disabled"),this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.removeAttr("disabled"),this.focusser.focus()},destroy:function(){a("label[for='"+this.focusser.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments)},initContainer:function(){var b,d=this.container,e=this.dropdown;this.opts.minimumResultsForSearch<0?this.showSearch(!1):this.showSearch(!0),this.selection=b=d.find(".select2-choice"),this.focusser=d.find(".select2-focusser"),this.focusser.attr("id","s2id_autogen"+g()),a("label[for='"+this.opts.element.attr("id")+"']").attr("for",this.focusser.attr("id")),this.focusser.attr("tabindex",this.elementTabIndex),this.search.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()){if(a.which===c.PAGE_UP||a.which===c.PAGE_DOWN)return A(a),void 0;switch(a.which){case c.UP:case c.DOWN:return this.moveHighlight(a.which===c.UP?-1:1),A(a),void 0;case c.ENTER:return this.selectHighlighted(),A(a),void 0;case c.TAB:return this.selectHighlighted({noFocus:!0}),void 0;case c.ESC:return this.cancel(a),A(a),void 0}}})),this.search.on("blur",this.bind(function(){document.activeElement===this.body().get(0)&&window.setTimeout(this.bind(function(){this.search.focus()}),0)})),this.focusser.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()&&a.which!==c.TAB&&!c.isControl(a)&&!c.isFunctionKey(a)&&a.which!==c.ESC){if(this.opts.openOnEnter===!1&&a.which===c.ENTER)return A(a),void 0;if(a.which==c.DOWN||a.which==c.UP||a.which==c.ENTER&&this.opts.openOnEnter){if(a.altKey||a.ctrlKey||a.shiftKey||a.metaKey)return;return this.open(),A(a),void 0}return a.which==c.DELETE||a.which==c.BACKSPACE?(this.opts.allowClear&&this.clear(),A(a),void 0):void 0}})),t(this.focusser),this.focusser.on("keyup-change input",this.bind(function(a){if(this.opts.minimumResultsForSearch>=0){if(a.stopPropagation(),this.opened())return;this.open()}})),b.on("mousedown","abbr",this.bind(function(a){this.isInterfaceEnabled()&&(this.clear(),B(a),this.close(),this.selection.focus())})),b.on("mousedown",this.bind(function(b){this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),A(b)})),e.on("mousedown",this.bind(function(){this.search.focus()})),b.on("focus",this.bind(function(a){A(a)})),this.focusser.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active")})).on("blur",this.bind(function(){this.opened()||(this.container.removeClass("select2-container-active"),this.opts.element.trigger(a.Event("select2-blur")))})),this.search.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.opts.element.addClass("select2-offscreen"),this.setPlaceholder()},clear:function(b){var c=this.selection.data("select2-data");if(c){var d=a.Event("select2-clearing");if(this.opts.element.trigger(d),d.isDefaultPrevented())return;var e=this.getPlaceholderOption();this.opts.element.val(e?e.val():""),this.selection.find(".select2-chosen").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),b!==!1&&(this.opts.element.trigger({type:"select2-removed",val:this.id(c),choice:c}),this.triggerChange({removed:c}))}},initSelection:function(){if(this.isPlaceholderOptionSelected())this.updateSelection(null),this.close(),this.setPlaceholder();else{var c=this;this.opts.initSelection.call(null,this.opts.element,function(a){a!==b&&null!==a&&(c.updateSelection(a),c.close(),c.setPlaceholder())})}},isPlaceholderOptionSelected:function(){var a;return this.getPlaceholder()?(a=this.getPlaceholderOption())!==b&&a.prop("selected")||""===this.opts.element.val()||this.opts.element.val()===b||null===this.opts.element.val():!1},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments),c=this;return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var d=a.find("option").filter(function(){return this.selected});b(c.optionToData(d))}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=c.val(),f=null;b.query({matcher:function(a,c,d){var g=q(e,b.id(d));return g&&(f=d),g},callback:a.isFunction(d)?function(){d(f)}:a.noop})}),b},getPlaceholder:function(){return this.select&&this.getPlaceholderOption()===b?b:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var a=this.getPlaceholder();if(this.isPlaceholderOptionSelected()&&a!==b){if(this.select&&this.getPlaceholderOption()===b)return;this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(a)),this.selection.addClass("select2-default"),this.container.removeClass("select2-allowclear")}},postprocessResults:function(a,b,c){var d=0,e=this;if(this.findHighlightableChoices().each2(function(a,b){return q(e.id(b.data("select2-data")),e.opts.element.val())?(d=a,!1):void 0}),c!==!1&&(b===!0&&d>=0?this.highlight(d):this.highlight(0)),b===!0){var g=this.opts.minimumResultsForSearch;g>=0&&this.showSearch(L(a.results)>=g)}},showSearch:function(b){this.showSearchInput!==b&&(this.showSearchInput=b,this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",!b),this.dropdown.find(".select2-search").toggleClass("select2-offscreen",!b),a(this.dropdown,this.container).toggleClass("select2-with-searchbox",b))},onSelect:function(a,b){if(this.triggerSelect(a)){var c=this.opts.element.val(),d=this.data();this.opts.element.val(this.id(a)),this.updateSelection(a),this.opts.element.trigger({type:"select2-selected",val:this.id(a),choice:a}),this.nextSearchTerm=this.opts.nextSearchTerm(a,this.search.val()),this.close(),b&&b.noFocus||this.focusser.focus(),q(c,this.id(a))||this.triggerChange({added:a,removed:d})}},updateSelection:function(a){var d,e,c=this.selection.find(".select2-chosen");this.selection.data("select2-data",a),c.empty(),null!==a&&(d=this.opts.formatSelection(a,c,this.opts.escapeMarkup)),d!==b&&c.append(d),e=this.opts.formatSelectionCssClass(a,c),e!==b&&c.addClass(e),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==b&&this.container.addClass("select2-allowclear")},val:function(){var a,c=!1,d=null,e=this,f=this.data();if(0===arguments.length)return this.opts.element.val();if(a=arguments[0],arguments.length>1&&(c=arguments[1]),this.select)this.select.val(a).find("option").filter(function(){return this.selected}).each2(function(a,b){return d=e.optionToData(b),!1}),this.updateSelection(d),this.setPlaceholder(),c&&this.triggerChange({added:d,removed:f});else{if(!a&&0!==a)return this.clear(c),void 0;if(this.opts.initSelection===b)throw new Error("cannot call val() if initSelection() is not defined");this.opts.element.val(a),this.opts.initSelection(this.opts.element,function(a){e.opts.element.val(a?e.id(a):""),e.updateSelection(a),e.setPlaceholder(),c&&e.triggerChange({added:a,removed:f})})}},clearSearch:function(){this.search.val(""),this.focusser.val("")},data:function(a){var c,d=!1;return 0===arguments.length?(c=this.selection.data("select2-data"),c==b&&(c=null),c):(arguments.length>1&&(d=arguments[1]),a?(c=this.data(),this.opts.element.val(a?this.id(a):""),this.updateSelection(a),d&&this.triggerChange({added:a,removed:c})):this.clear(d),void 0)}}),f=N(d,{createContainer:function(){var b=a(document.createElement("div")).attr({"class":"select2-container select2-container-multi"}).html(["<ul class='select2-choices'>"," <li class='select2-search-field'>"," <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input'>"," </li>","</ul>","<div class='select2-drop select2-drop-multi select2-display-none'>"," <ul class='select2-results'>"," </ul>","</div>"].join(""));return b},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments),c=this;return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var d=[];a.find("option").filter(function(){return this.selected}).each2(function(a,b){d.push(c.optionToData(b))}),b(d)}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=r(c.val(),b.separator),f=[];b.query({matcher:function(c,d,g){var h=a.grep(e,function(a){return q(a,b.id(g))}).length;return h&&f.push(g),h},callback:a.isFunction(d)?function(){for(var a=[],c=0;c<e.length;c++)for(var g=e[c],h=0;h<f.length;h++){var i=f[h];if(q(g,b.id(i))){a.push(i),f.splice(h,1);break}}d(a)}:a.noop})}),b},selectChoice:function(a){var b=this.container.find(".select2-search-choice-focus");b.length&&a&&a[0]==b[0]||(b.length&&this.opts.element.trigger("choice-deselected",b),b.removeClass("select2-search-choice-focus"),a&&a.length&&(this.close(),a.addClass("select2-search-choice-focus"),this.opts.element.trigger("choice-selected",a)))},destroy:function(){a("label[for='"+this.search.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments)},initContainer:function(){var d,b=".select2-choices";this.searchContainer=this.container.find(".select2-search-field"),this.selection=d=this.container.find(b);var e=this;this.selection.on("click",".select2-search-choice:not(.select2-locked)",function(){e.search[0].focus(),e.selectChoice(a(this))}),this.search.attr("id","s2id_autogen"+g()),a("label[for='"+this.opts.element.attr("id")+"']").attr("for",this.search.attr("id")),this.search.on("input paste",this.bind(function(){this.isInterfaceEnabled()&&(this.opened()||this.open())})),this.search.attr("tabindex",this.elementTabIndex),this.keydowns=0,this.search.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()){++this.keydowns;var b=d.find(".select2-search-choice-focus"),e=b.prev(".select2-search-choice:not(.select2-locked)"),f=b.next(".select2-search-choice:not(.select2-locked)"),g=z(this.search);if(b.length&&(a.which==c.LEFT||a.which==c.RIGHT||a.which==c.BACKSPACE||a.which==c.DELETE||a.which==c.ENTER)){var h=b;return a.which==c.LEFT&&e.length?h=e:a.which==c.RIGHT?h=f.length?f:null:a.which===c.BACKSPACE?(this.unselect(b.first()),this.search.width(10),h=e.length?e:f):a.which==c.DELETE?(this.unselect(b.first()),this.search.width(10),h=f.length?f:null):a.which==c.ENTER&&(h=null),this.selectChoice(h),A(a),h&&h.length||this.open(),void 0}if((a.which===c.BACKSPACE&&1==this.keydowns||a.which==c.LEFT)&&0==g.offset&&!g.length)return this.selectChoice(d.find(".select2-search-choice:not(.select2-locked)").last()),A(a),void 0;if(this.selectChoice(null),this.opened())switch(a.which){case c.UP:case c.DOWN:return this.moveHighlight(a.which===c.UP?-1:1),A(a),void 0;case c.ENTER:return this.selectHighlighted(),A(a),void 0;case c.TAB:return this.selectHighlighted({noFocus:!0}),this.close(),void 0;case c.ESC:return this.cancel(a),A(a),void 0}if(a.which!==c.TAB&&!c.isControl(a)&&!c.isFunctionKey(a)&&a.which!==c.BACKSPACE&&a.which!==c.ESC){if(a.which===c.ENTER){if(this.opts.openOnEnter===!1)return;if(a.altKey||a.ctrlKey||a.shiftKey||a.metaKey)return}this.open(),(a.which===c.PAGE_UP||a.which===c.PAGE_DOWN)&&A(a),a.which===c.ENTER&&A(a)}}})),this.search.on("keyup",this.bind(function(){this.keydowns=0,this.resizeSearch()})),this.search.on("blur",this.bind(function(b){this.container.removeClass("select2-container-active"),this.search.removeClass("select2-focused"),this.selectChoice(null),this.opened()||this.clearSearch(),b.stopImmediatePropagation(),this.opts.element.trigger(a.Event("select2-blur"))})),this.container.on("click",b,this.bind(function(b){this.isInterfaceEnabled()&&(a(b.target).closest(".select2-search-choice").length>0||(this.selectChoice(null),this.clearPlaceholder(),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.open(),this.focusSearch(),b.preventDefault()))})),this.container.on("focus",b,this.bind(function(){this.isInterfaceEnabled()&&(this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.opts.element.addClass("select2-offscreen"),this.clearSearch()},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.search.prop("disabled",!this.isInterfaceEnabled())},initSelection:function(){if(""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),this.select||""!==this.opts.element.val()){var c=this;this.opts.initSelection.call(null,this.opts.element,function(a){a!==b&&null!==a&&(c.updateSelection(a),c.close(),c.clearSearch())})}},clearSearch:function(){var a=this.getPlaceholder(),c=this.getMaxSearchWidth();a!==b&&0===this.getVal().length&&this.search.hasClass("select2-focused")===!1?(this.search.val(a).addClass("select2-default"),this.search.width(c>0?c:this.container.css("width"))):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),this.updateResults(!0),this.search.focus(),this.opts.element.trigger(a.Event("select2-open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(b){var c=[],d=[],e=this;a(b).each(function(){o(e.id(this),c)<0&&(c.push(e.id(this)),d.push(this))}),b=d,this.selection.find(".select2-search-choice").remove(),a(b).each(function(){e.addSelectedChoice(this)}),e.postprocessResults()},tokenize:function(){var a=this.search.val();a=this.opts.tokenizer.call(this,a,this.data(),this.bind(this.onSelect),this.opts),null!=a&&a!=b&&(this.search.val(a),a.length>0&&this.open())},onSelect:function(a,b){this.triggerSelect(a)&&(this.addSelectedChoice(a),this.opts.element.trigger({type:"selected",val:this.id(a),choice:a}),(this.select||!this.opts.closeOnSelect)&&this.postprocessResults(a,!1,this.opts.closeOnSelect===!0),this.opts.closeOnSelect?(this.close(),this.search.width(10)):this.countSelectableResults()>0?(this.search.width(10),this.resizeSearch(),this.getMaximumSelectionSize()>0&&this.val().length>=this.getMaximumSelectionSize()&&this.updateResults(!0),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:a}),b&&b.noFocus||this.focusSearch())},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(c){var j,k,d=!c.locked,e=a("<li class='select2-search-choice'> <div></div> <a href='#' onclick='return false;' class='select2-search-choice-close' tabindex='-1'></a></li>"),f=a("<li class='select2-search-choice select2-locked'><div></div></li>"),g=d?e:f,h=this.id(c),i=this.getVal();j=this.opts.formatSelection(c,g.find("div"),this.opts.escapeMarkup),j!=b&&g.find("div").replaceWith("<div>"+j+"</div>"),k=this.opts.formatSelectionCssClass(c,g.find("div")),k!=b&&g.addClass(k),d&&g.find(".select2-search-choice-close").on("mousedown",A).on("click dblclick",this.bind(function(b){this.isInterfaceEnabled()&&(a(b.target).closest(".select2-search-choice").fadeOut("fast",this.bind(function(){this.unselect(a(b.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),this.close(),this.focusSearch()})).dequeue(),A(b))})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),g.data("select2-data",c),g.insertBefore(this.searchContainer),i.push(h),this.setVal(i)},unselect:function(b){var d,e,c=this.getVal();if(b=b.closest(".select2-search-choice"),0===b.length)throw"Invalid argument: "+b+". Must be .select2-search-choice";if(d=b.data("select2-data")){for(;(e=o(this.id(d),c))>=0;)c.splice(e,1),this.setVal(c),this.select&&this.postprocessResults();var f=a.Event("select2-removing");f.val=this.id(d),f.choice=d,this.opts.element.trigger(f),f.isDefaultPrevented()||(b.remove(),this.opts.element.trigger({type:"select2-removed",val:this.id(d),choice:d}),this.triggerChange({removed:d}))}},postprocessResults:function(a,b,c){var d=this.getVal(),e=this.results.find(".select2-result"),f=this.results.find(".select2-result-with-children"),g=this;e.each2(function(a,b){var c=g.id(b.data("select2-data"));o(c,d)>=0&&(b.addClass("select2-selected"),b.find(".select2-result-selectable").addClass("select2-selected"))}),f.each2(function(a,b){b.is(".select2-result-selectable")||0!==b.find(".select2-result-selectable:not(.select2-selected)").length||b.addClass("select2-selected")}),-1==this.highlight()&&c!==!1&&g.highlight(0),!this.opts.createSearchChoice&&!e.filter(".select2-result:not(.select2-selected)").length>0&&(!a||a&&!a.more&&0===this.results.find(".select2-no-results").length)&&J(g.opts.formatNoMatches,"formatNoMatches")&&this.results.append("<li class='select2-no-results'>"+g.opts.formatNoMatches(g.search.val())+"</li>")},getMaxSearchWidth:function(){return this.selection.width()-s(this.search)},resizeSearch:function(){var a,b,c,d,e,f=s(this.search);a=C(this.search)+10,b=this.search.offset().left,c=this.selection.width(),d=this.selection.offset().left,e=c-(b-d)-f,a>e&&(e=c-f),40>e&&(e=c-f),0>=e&&(e=a),this.search.width(Math.floor(e))},getVal:function(){var a;return this.select?(a=this.select.val(),null===a?[]:a):(a=this.opts.element.val(),r(a,this.opts.separator))},setVal:function(b){var c;this.select?this.select.val(b):(c=[],a(b).each(function(){o(this,c)<0&&c.push(this)}),this.opts.element.val(0===c.length?"":c.join(this.opts.separator)))},buildChangeDetails:function(a,b){for(var b=b.slice(0),a=a.slice(0),c=0;c<b.length;c++)for(var d=0;d<a.length;d++)q(this.opts.id(b[c]),this.opts.id(a[d]))&&(b.splice(c,1),c>0&&c--,a.splice(d,1),d--);return{added:b,removed:a}},val:function(c,d){var e,f=this;if(0===arguments.length)return this.getVal();if(e=this.data(),e.length||(e=[]),!c&&0!==c)return this.opts.element.val(""),this.updateSelection([]),this.clearSearch(),d&&this.triggerChange({added:this.data(),removed:e}),void 0;if(this.setVal(c),this.select)this.opts.initSelection(this.select,this.bind(this.updateSelection)),d&&this.triggerChange(this.buildChangeDetails(e,this.data()));else{if(this.opts.initSelection===b)throw new Error("val() cannot be called if initSelection() is not defined");this.opts.initSelection(this.opts.element,function(b){var c=a.map(b,f.id);f.setVal(c),f.updateSelection(b),f.clearSearch(),d&&f.triggerChange(f.buildChangeDetails(e,f.data()))})}this.clearSearch()},onSortStart:function(){if(this.select)throw new Error("Sorting of elements is not supported when attached to <select>. Attach to <input type='hidden'/> instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var b=[],c=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){b.push(c.opts.id(a(this).data("select2-data")))}),this.setVal(b),this.triggerChange()},data:function(b,c){var e,f,d=this;return 0===arguments.length?this.selection.find(".select2-search-choice").map(function(){return a(this).data("select2-data")}).get():(f=this.data(),b||(b=[]),e=a.map(b,function(a){return d.opts.id(a)}),this.setVal(e),this.updateSelection(b),this.clearSearch(),c&&this.triggerChange(this.buildChangeDetails(f,this.data())),void 0)}}),a.fn.select2=function(){var d,g,h,i,j,c=Array.prototype.slice.call(arguments,0),k=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],l=["opened","isFocused","container","dropdown"],m=["val","data"],n={search:"externalSearch"};return this.each(function(){if(0===c.length||"object"==typeof c[0])d=0===c.length?{}:a.extend({},c[0]),d.element=a(this),"select"===d.element.get(0).tagName.toLowerCase()?j=d.element.prop("multiple"):(j=d.multiple||!1,"tags"in d&&(d.multiple=j=!0)),g=j?new f:new e,g.init(d);else{if("string"!=typeof c[0])throw"Invalid arguments to select2 plugin: "+c;if(o(c[0],k)<0)throw"Unknown method: "+c[0];if(i=b,g=a(this).data("select2"),g===b)return;if(h=c[0],"container"===h?i=g.container:"dropdown"===h?i=g.dropdown:(n[h]&&(h=n[h]),i=g[h].apply(g,c.slice(1))),o(c[0],l)>=0||o(c[0],m)&&1==c.length)return!1}}),i===b?this:i},a.fn.select2.defaults={width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(a,b,c,d){var e=[];return E(a.text,c.term,e,d),e.join("")},formatSelection:function(a,c,d){return a?d(a.text):b},sortResults:function(a){return a},formatResultCssClass:function(){return b},formatSelectionCssClass:function(){return b},formatNoMatches:function(){return"No matches found"},formatInputTooShort:function(a,b){var c=b-a.length;return"Please enter "+c+" more character"+(1==c?"":"s")},formatInputTooLong:function(a,b){var c=a.length-b;return"Please delete "+c+" character"+(1==c?"":"s")},formatSelectionTooBig:function(a){return"You can only select "+a+" item"+(1==a?"":"s")},formatLoadMore:function(){return"Loading more results..."},formatSearching:function(){return"Searching..."},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(a){return a.id},matcher:function(a,b){return n(""+b).toUpperCase().indexOf(n(""+a).toUpperCase())>=0},separator:",",tokenSeparators:[],tokenizer:M,escapeMarkup:F,blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(a){return a},adaptDropdownCssClass:function(){return null},nextSearchTerm:function(){return b}},a.fn.select2.ajaxDefaults={transport:a.ajax,params:{type:"GET",cache:!1,dataType:"json"}},window.Select2={query:{ajax:G,local:H,tags:I},util:{debounce:v,markMatch:E,escapeMarkup:F,stripDiacritics:n},"class":{"abstract":d,single:e,multi:f}}}}(jQuery);\ No newline at end of file+!function(a){"undefined"==typeof a.fn.each2&&a.extend(a.fn,{each2:function(b){for(var c=a([0]),d=-1,e=this.length;++d<e&&(c.context=c[0]=this[d])&&b.call(c[0],d,c)!==!1;);return this}})}(jQuery),function(a,b){"use strict";function n(b){var c=a(document.createTextNode(""));b.before(c),c.before(b),c.remove()}function o(a){function b(a){return m[a]||a}return a.replace(/[^\u0000-\u007E]/g,b)}function p(a,b){for(var c=0,d=b.length;d>c;c+=1)if(r(a,b[c]))return c;return-1}function q(){var b=a(l);b.appendTo("body");var c={width:b.width()-b[0].clientWidth,height:b.height()-b[0].clientHeight};return b.remove(),c}function r(a,c){return a===c?!0:a===b||c===b?!1:null===a||null===c?!1:a.constructor===String?a+""==c+"":c.constructor===String?c+""==a+"":!1}function s(b,c){var d,e,f;if(null===b||b.length<1)return[];for(d=b.split(c),e=0,f=d.length;f>e;e+=1)d[e]=a.trim(d[e]);return d}function t(a){return a.outerWidth(!1)-a.width()}function u(c){var d="keyup-change-value";c.on("keydown",function(){a.data(c,d)===b&&a.data(c,d,c.val())}),c.on("keyup",function(){var e=a.data(c,d);e!==b&&c.val()!==e&&(a.removeData(c,d),c.trigger("keyup-change"))})}function v(c){c.on("mousemove",function(c){var d=i;(d===b||d.x!==c.pageX||d.y!==c.pageY)&&a(c.target).trigger("mousemove-filtered",c)})}function w(a,c,d){d=d||b;var e;return function(){var b=arguments;window.clearTimeout(e),e=window.setTimeout(function(){c.apply(d,b)},a)}}function x(a,b){var c=w(a,function(a){b.trigger("scroll-debounced",a)});b.on("scroll",function(a){p(a.target,b.get())>=0&&c(a)})}function y(a){a[0]!==document.activeElement&&window.setTimeout(function(){var d,b=a[0],c=a.val().length;a.focus();var e=b.offsetWidth>0||b.offsetHeight>0;e&&b===document.activeElement&&(b.setSelectionRange?b.setSelectionRange(c,c):b.createTextRange&&(d=b.createTextRange(),d.collapse(!1),d.select()))},0)}function z(b){b=a(b)[0];var c=0,d=0;if("selectionStart"in b)c=b.selectionStart,d=b.selectionEnd-c;else if("selection"in document){b.focus();var e=document.selection.createRange();d=document.selection.createRange().text.length,e.moveStart("character",-b.value.length),c=e.text.length-d}return{offset:c,length:d}}function A(a){a.preventDefault(),a.stopPropagation()}function B(a){a.preventDefault(),a.stopImmediatePropagation()}function C(b){if(!h){var c=b[0].currentStyle||window.getComputedStyle(b[0],null);h=a(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:c.fontSize,fontFamily:c.fontFamily,fontStyle:c.fontStyle,fontWeight:c.fontWeight,letterSpacing:c.letterSpacing,textTransform:c.textTransform,whiteSpace:"nowrap"}),h.attr("class","select2-sizer"),a("body").append(h)}return h.text(b.val()),h.width()}function D(b,c,d){var e,g,f=[];e=b.attr("class"),e&&(e=""+e,a(e.split(" ")).each2(function(){0===this.indexOf("select2-")&&f.push(this)})),e=c.attr("class"),e&&(e=""+e,a(e.split(" ")).each2(function(){0!==this.indexOf("select2-")&&(g=d(this),g&&f.push(g))})),b.attr("class",f.join(" "))}function E(a,b,c,d){var e=o(a.toUpperCase()).indexOf(o(b.toUpperCase())),f=b.length;return 0>e?(c.push(d(a)),void 0):(c.push(d(a.substring(0,e))),c.push("<span class='select2-match'>"),c.push(d(a.substring(e,e+f))),c.push("</span>"),c.push(d(a.substring(e+f,a.length))),void 0)}function F(a){var b={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})}function G(c){var d,e=null,f=c.quietMillis||100,g=c.url,h=this;return function(i){window.clearTimeout(d),d=window.setTimeout(function(){var d=c.data,f=g,j=c.transport||a.fn.select2.ajaxDefaults.transport,k={type:c.type||"GET",cache:c.cache||!1,jsonpCallback:c.jsonpCallback||b,dataType:c.dataType||"json"},l=a.extend({},a.fn.select2.ajaxDefaults.params,k);d=d?d.call(h,i.term,i.page,i.context):null,f="function"==typeof f?f.call(h,i.term,i.page,i.context):f,e&&"function"==typeof e.abort&&e.abort(),c.params&&(a.isFunction(c.params)?a.extend(l,c.params.call(h)):a.extend(l,c.params)),a.extend(l,{url:f,dataType:c.dataType,data:d,success:function(a){var b=c.results(a,i.page);i.callback(b)}}),e=j.call(h,l)},f)}}function H(b){var d,e,c=b,f=function(a){return""+a.text};a.isArray(c)&&(e=c,c={results:e}),a.isFunction(c)===!1&&(e=c,c=function(){return e});var g=c();return g.text&&(f=g.text,a.isFunction(f)||(d=g.text,f=function(a){return a[d]})),function(b){var g,d=b.term,e={results:[]};return""===d?(b.callback(c()),void 0):(g=function(c,e){var h,i;if(c=c[0],c.children){h={};for(i in c)c.hasOwnProperty(i)&&(h[i]=c[i]);h.children=[],a(c.children).each2(function(a,b){g(b,h.children)}),(h.children.length||b.matcher(d,f(h),c))&&e.push(h)}else b.matcher(d,f(c),c)&&e.push(c)},a(c().results).each2(function(a,b){g(b,e.results)}),b.callback(e),void 0)}}function I(c){var d=a.isFunction(c);return function(e){var f=e.term,g={results:[]},h=d?c(e):c;a.isArray(h)&&(a(h).each(function(){var a=this.text!==b,c=a?this.text:this;(""===f||e.matcher(f,c))&&g.results.push(a?this:{id:this,text:this})}),e.callback(g))}}function J(b,c){if(a.isFunction(b))return!0;if(!b)return!1;if("string"==typeof b)return!0;throw new Error(c+" must be a string, function, or falsy value")}function K(b){if(a.isFunction(b)){var c=Array.prototype.slice.call(arguments,1);return b.apply(null,c)}return b}function L(b){var c=0;return a.each(b,function(a,b){b.children?c+=L(b.children):c++}),c}function M(a,c,d,e){var h,i,j,k,l,f=a,g=!1;if(!e.createSearchChoice||!e.tokenSeparators||e.tokenSeparators.length<1)return b;for(;;){for(i=-1,j=0,k=e.tokenSeparators.length;k>j&&(l=e.tokenSeparators[j],i=a.indexOf(l),!(i>=0));j++);if(0>i)break;if(h=a.substring(0,i),a=a.substring(i+l.length),h.length>0&&(h=e.createSearchChoice.call(this,h,c),h!==b&&null!==h&&e.id(h)!==b&&null!==e.id(h))){for(g=!1,j=0,k=c.length;k>j;j++)if(r(e.id(h),e.id(c[j]))){g=!0;break}g||d(h)}}return f!==a?a:void 0}function N(){var a=this;Array.prototype.forEach.call(arguments,function(b){a[b].remove(),a[b]=null})}function O(b,c){var d=function(){};return d.prototype=new b,d.prototype.constructor=d,d.prototype.parent=b.prototype,d.prototype=a.extend(d.prototype,c),d}if(window.Select2===b){var c,d,e,f,g,h,j,k,i={x:0,y:0},c={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(a){switch(a=a.which?a.which:a){case c.LEFT:case c.RIGHT:case c.UP:case c.DOWN:return!0}return!1},isControl:function(a){var b=a.which;switch(b){case c.SHIFT:case c.CTRL:case c.ALT:return!0}return a.metaKey?!0:!1},isFunctionKey:function(a){return a=a.which?a.which:a,a>=112&&123>=a}},l="<div class='select2-measure-scrollbar'></div>",m={"\u24b6":"A","\uff21":"A","\xc0":"A","\xc1":"A","\xc2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\xc3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\xc4":"A","\u01de":"A","\u1ea2":"A","\xc5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u24b7":"B","\uff22":"B","\u1e02":"B","\u1e04":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24b8":"C","\uff23":"C","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0187":"C","\u023b":"C","\ua73e":"C","\u24b9":"D","\uff24":"D","\u1e0a":"D","\u010e":"D","\u1e0c":"D","\u1e10":"D","\u1e12":"D","\u1e0e":"D","\u0110":"D","\u018b":"D","\u018a":"D","\u0189":"D","\ua779":"D","\u01f1":"DZ","\u01c4":"DZ","\u01f2":"Dz","\u01c5":"Dz","\u24ba":"E","\uff25":"E","\xc8":"E","\xc9":"E","\xca":"E","\u1ec0":"E","\u1ebe":"E","\u1ec4":"E","\u1ec2":"E","\u1ebc":"E","\u0112":"E","\u1e14":"E","\u1e16":"E","\u0114":"E","\u0116":"E","\xcb":"E","\u1eba":"E","\u011a":"E","\u0204":"E","\u0206":"E","\u1eb8":"E","\u1ec6":"E","\u0228":"E","\u1e1c":"E","\u0118":"E","\u1e18":"E","\u1e1a":"E","\u0190":"E","\u018e":"E","\u24bb":"F","\uff26":"F","\u1e1e":"F","\u0191":"F","\ua77b":"F","\u24bc":"G","\uff27":"G","\u01f4":"G","\u011c":"G","\u1e20":"G","\u011e":"G","\u0120":"G","\u01e6":"G","\u0122":"G","\u01e4":"G","\u0193":"G","\ua7a0":"G","\ua77d":"G","\ua77e":"G","\u24bd":"H","\uff28":"H","\u0124":"H","\u1e22":"H","\u1e26":"H","\u021e":"H","\u1e24":"H","\u1e28":"H","\u1e2a":"H","\u0126":"H","\u2c67":"H","\u2c75":"H","\ua78d":"H","\u24be":"I","\uff29":"I","\xcc":"I","\xcd":"I","\xce":"I","\u0128":"I","\u012a":"I","\u012c":"I","\u0130":"I","\xcf":"I","\u1e2e":"I","\u1ec8":"I","\u01cf":"I","\u0208":"I","\u020a":"I","\u1eca":"I","\u012e":"I","\u1e2c":"I","\u0197":"I","\u24bf":"J","\uff2a":"J","\u0134":"J","\u0248":"J","\u24c0":"K","\uff2b":"K","\u1e30":"K","\u01e8":"K","\u1e32":"K","\u0136":"K","\u1e34":"K","\u0198":"K","\u2c69":"K","\ua740":"K","\ua742":"K","\ua744":"K","\ua7a2":"K","\u24c1":"L","\uff2c":"L","\u013f":"L","\u0139":"L","\u013d":"L","\u1e36":"L","\u1e38":"L","\u013b":"L","\u1e3c":"L","\u1e3a":"L","\u0141":"L","\u023d":"L","\u2c62":"L","\u2c60":"L","\ua748":"L","\ua746":"L","\ua780":"L","\u01c7":"LJ","\u01c8":"Lj","\u24c2":"M","\uff2d":"M","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u019c":"M","\u24c3":"N","\uff2e":"N","\u01f8":"N","\u0143":"N","\xd1":"N","\u1e44":"N","\u0147":"N","\u1e46":"N","\u0145":"N","\u1e4a":"N","\u1e48":"N","\u0220":"N","\u019d":"N","\ua790":"N","\ua7a4":"N","\u01ca":"NJ","\u01cb":"Nj","\u24c4":"O","\uff2f":"O","\xd2":"O","\xd3":"O","\xd4":"O","\u1ed2":"O","\u1ed0":"O","\u1ed6":"O","\u1ed4":"O","\xd5":"O","\u1e4c":"O","\u022c":"O","\u1e4e":"O","\u014c":"O","\u1e50":"O","\u1e52":"O","\u014e":"O","\u022e":"O","\u0230":"O","\xd6":"O","\u022a":"O","\u1ece":"O","\u0150":"O","\u01d1":"O","\u020c":"O","\u020e":"O","\u01a0":"O","\u1edc":"O","\u1eda":"O","\u1ee0":"O","\u1ede":"O","\u1ee2":"O","\u1ecc":"O","\u1ed8":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\u0186":"O","\u019f":"O","\ua74a":"O","\ua74c":"O","\u01a2":"OI","\ua74e":"OO","\u0222":"OU","\u24c5":"P","\uff30":"P","\u1e54":"P","\u1e56":"P","\u01a4":"P","\u2c63":"P","\ua750":"P","\ua752":"P","\ua754":"P","\u24c6":"Q","\uff31":"Q","\ua756":"Q","\ua758":"Q","\u024a":"Q","\u24c7":"R","\uff32":"R","\u0154":"R","\u1e58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1e5a":"R","\u1e5c":"R","\u0156":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua75a":"R","\ua7a6":"R","\ua782":"R","\u24c8":"S","\uff33":"S","\u1e9e":"S","\u015a":"S","\u1e64":"S","\u015c":"S","\u1e60":"S","\u0160":"S","\u1e66":"S","\u1e62":"S","\u1e68":"S","\u0218":"S","\u015e":"S","\u2c7e":"S","\ua7a8":"S","\ua784":"S","\u24c9":"T","\uff34":"T","\u1e6a":"T","\u0164":"T","\u1e6c":"T","\u021a":"T","\u0162":"T","\u1e70":"T","\u1e6e":"T","\u0166":"T","\u01ac":"T","\u01ae":"T","\u023e":"T","\ua786":"T","\ua728":"TZ","\u24ca":"U","\uff35":"U","\xd9":"U","\xda":"U","\xdb":"U","\u0168":"U","\u1e78":"U","\u016a":"U","\u1e7a":"U","\u016c":"U","\xdc":"U","\u01db":"U","\u01d7":"U","\u01d5":"U","\u01d9":"U","\u1ee6":"U","\u016e":"U","\u0170":"U","\u01d3":"U","\u0214":"U","\u0216":"U","\u01af":"U","\u1eea":"U","\u1ee8":"U","\u1eee":"U","\u1eec":"U","\u1ef0":"U","\u1ee4":"U","\u1e72":"U","\u0172":"U","\u1e76":"U","\u1e74":"U","\u0244":"U","\u24cb":"V","\uff36":"V","\u1e7c":"V","\u1e7e":"V","\u01b2":"V","\ua75e":"V","\u0245":"V","\ua760":"VY","\u24cc":"W","\uff37":"W","\u1e80":"W","\u1e82":"W","\u0174":"W","\u1e86":"W","\u1e84":"W","\u1e88":"W","\u2c72":"W","\u24cd":"X","\uff38":"X","\u1e8a":"X","\u1e8c":"X","\u24ce":"Y","\uff39":"Y","\u1ef2":"Y","\xdd":"Y","\u0176":"Y","\u1ef8":"Y","\u0232":"Y","\u1e8e":"Y","\u0178":"Y","\u1ef6":"Y","\u1ef4":"Y","\u01b3":"Y","\u024e":"Y","\u1efe":"Y","\u24cf":"Z","\uff3a":"Z","\u0179":"Z","\u1e90":"Z","\u017b":"Z","\u017d":"Z","\u1e92":"Z","\u1e94":"Z","\u01b5":"Z","\u0224":"Z","\u2c7f":"Z","\u2c6b":"Z","\ua762":"Z","\u24d0":"a","\uff41":"a","\u1e9a":"a","\xe0":"a","\xe1":"a","\xe2":"a","\u1ea7":"a","\u1ea5":"a","\u1eab":"a","\u1ea9":"a","\xe3":"a","\u0101":"a","\u0103":"a","\u1eb1":"a","\u1eaf":"a","\u1eb5":"a","\u1eb3":"a","\u0227":"a","\u01e1":"a","\xe4":"a","\u01df":"a","\u1ea3":"a","\xe5":"a","\u01fb":"a","\u01ce":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1ead":"a","\u1eb7":"a","\u1e01":"a","\u0105":"a","\u2c65":"a","\u0250":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u24d1":"b","\uff42":"b","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24d2":"c","\uff43":"c","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0188":"c","\u023c":"c","\ua73f":"c","\u2184":"c","\u24d3":"d","\uff44":"d","\u1e0b":"d","\u010f":"d","\u1e0d":"d","\u1e11":"d","\u1e13":"d","\u1e0f":"d","\u0111":"d","\u018c":"d","\u0256":"d","\u0257":"d","\ua77a":"d","\u01f3":"dz","\u01c6":"dz","\u24d4":"e","\uff45":"e","\xe8":"e","\xe9":"e","\xea":"e","\u1ec1":"e","\u1ebf":"e","\u1ec5":"e","\u1ec3":"e","\u1ebd":"e","\u0113":"e","\u1e15":"e","\u1e17":"e","\u0115":"e","\u0117":"e","\xeb":"e","\u1ebb":"e","\u011b":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u1e19":"e","\u1e1b":"e","\u0247":"e","\u025b":"e","\u01dd":"e","\u24d5":"f","\uff46":"f","\u1e1f":"f","\u0192":"f","\ua77c":"f","\u24d6":"g","\uff47":"g","\u01f5":"g","\u011d":"g","\u1e21":"g","\u011f":"g","\u0121":"g","\u01e7":"g","\u0123":"g","\u01e5":"g","\u0260":"g","\ua7a1":"g","\u1d79":"g","\ua77f":"g","\u24d7":"h","\uff48":"h","\u0125":"h","\u1e23":"h","\u1e27":"h","\u021f":"h","\u1e25":"h","\u1e29":"h","\u1e2b":"h","\u1e96":"h","\u0127":"h","\u2c68":"h","\u2c76":"h","\u0265":"h","\u0195":"hv","\u24d8":"i","\uff49":"i","\xec":"i","\xed":"i","\xee":"i","\u0129":"i","\u012b":"i","\u012d":"i","\xef":"i","\u1e2f":"i","\u1ec9":"i","\u01d0":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u012f":"i","\u1e2d":"i","\u0268":"i","\u0131":"i","\u24d9":"j","\uff4a":"j","\u0135":"j","\u01f0":"j","\u0249":"j","\u24da":"k","\uff4b":"k","\u1e31":"k","\u01e9":"k","\u1e33":"k","\u0137":"k","\u1e35":"k","\u0199":"k","\u2c6a":"k","\ua741":"k","\ua743":"k","\ua745":"k","\ua7a3":"k","\u24db":"l","\uff4c":"l","\u0140":"l","\u013a":"l","\u013e":"l","\u1e37":"l","\u1e39":"l","\u013c":"l","\u1e3d":"l","\u1e3b":"l","\u017f":"l","\u0142":"l","\u019a":"l","\u026b":"l","\u2c61":"l","\ua749":"l","\ua781":"l","\ua747":"l","\u01c9":"lj","\u24dc":"m","\uff4d":"m","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u026f":"m","\u24dd":"n","\uff4e":"n","\u01f9":"n","\u0144":"n","\xf1":"n","\u1e45":"n","\u0148":"n","\u1e47":"n","\u0146":"n","\u1e4b":"n","\u1e49":"n","\u019e":"n","\u0272":"n","\u0149":"n","\ua791":"n","\ua7a5":"n","\u01cc":"nj","\u24de":"o","\uff4f":"o","\xf2":"o","\xf3":"o","\xf4":"o","\u1ed3":"o","\u1ed1":"o","\u1ed7":"o","\u1ed5":"o","\xf5":"o","\u1e4d":"o","\u022d":"o","\u1e4f":"o","\u014d":"o","\u1e51":"o","\u1e53":"o","\u014f":"o","\u022f":"o","\u0231":"o","\xf6":"o","\u022b":"o","\u1ecf":"o","\u0151":"o","\u01d2":"o","\u020d":"o","\u020f":"o","\u01a1":"o","\u1edd":"o","\u1edb":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\u0254":"o","\ua74b":"o","\ua74d":"o","\u0275":"o","\u01a3":"oi","\u0223":"ou","\ua74f":"oo","\u24df":"p","\uff50":"p","\u1e55":"p","\u1e57":"p","\u01a5":"p","\u1d7d":"p","\ua751":"p","\ua753":"p","\ua755":"p","\u24e0":"q","\uff51":"q","\u024b":"q","\ua757":"q","\ua759":"q","\u24e1":"r","\uff52":"r","\u0155":"r","\u1e59":"r","\u0159":"r","\u0211":"r","\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u0157":"r","\u1e5f":"r","\u024d":"r","\u027d":"r","\ua75b":"r","\ua7a7":"r","\ua783":"r","\u24e2":"s","\uff53":"s","\xdf":"s","\u015b":"s","\u1e65":"s","\u015d":"s","\u1e61":"s","\u0161":"s","\u1e67":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u015f":"s","\u023f":"s","\ua7a9":"s","\ua785":"s","\u1e9b":"s","\u24e3":"t","\uff54":"t","\u1e6b":"t","\u1e97":"t","\u0165":"t","\u1e6d":"t","\u021b":"t","\u0163":"t","\u1e71":"t","\u1e6f":"t","\u0167":"t","\u01ad":"t","\u0288":"t","\u2c66":"t","\ua787":"t","\ua729":"tz","\u24e4":"u","\uff55":"u","\xf9":"u","\xfa":"u","\xfb":"u","\u0169":"u","\u1e79":"u","\u016b":"u","\u1e7b":"u","\u016d":"u","\xfc":"u","\u01dc":"u","\u01d8":"u","\u01d6":"u","\u01da":"u","\u1ee7":"u","\u016f":"u","\u0171":"u","\u01d4":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1eeb":"u","\u1ee9":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u0173":"u","\u1e77":"u","\u1e75":"u","\u0289":"u","\u24e5":"v","\uff56":"v","\u1e7d":"v","\u1e7f":"v","\u028b":"v","\ua75f":"v","\u028c":"v","\ua761":"vy","\u24e6":"w","\uff57":"w","\u1e81":"w","\u1e83":"w","\u0175":"w","\u1e87":"w","\u1e85":"w","\u1e98":"w","\u1e89":"w","\u2c73":"w","\u24e7":"x","\uff58":"x","\u1e8b":"x","\u1e8d":"x","\u24e8":"y","\uff59":"y","\u1ef3":"y","\xfd":"y","\u0177":"y","\u1ef9":"y","\u0233":"y","\u1e8f":"y","\xff":"y","\u1ef7":"y","\u1e99":"y","\u1ef5":"y","\u01b4":"y","\u024f":"y","\u1eff":"y","\u24e9":"z","\uff5a":"z","\u017a":"z","\u1e91":"z","\u017c":"z","\u017e":"z","\u1e93":"z","\u1e95":"z","\u01b6":"z","\u0225":"z","\u0240":"z","\u2c6c":"z","\ua763":"z"};j=a(document),g=function(){var a=1;return function(){return a++}}(),j.on("mousemove",function(a){i.x=a.pageX,i.y=a.pageY}),d=O(Object,{bind:function(a){var b=this;return function(){a.apply(b,arguments)}},init:function(c){var d,e,f=".select2-results";this.opts=c=this.prepareOpts(c),this.id=c.id,c.element.data("select2")!==b&&null!==c.element.data("select2")&&c.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=a("<span>",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body),this.containerId="s2id_"+(c.element.attr("id")||"autogen"+g()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",c.element.attr("title")),this.body=a("body"),D(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",c.element.attr("style")),this.container.css(K(c.containerCss)),this.container.addClass(K(c.containerCssClass)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",A),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),D(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(K(c.dropdownCssClass)),this.dropdown.data("select2",this),this.dropdown.on("click",A),this.results=d=this.container.find(f),this.search=e=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",A),v(this.results),this.dropdown.on("mousemove-filtered",f,this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",f,this.bind(function(a){this._touchEvent=!0,this.highlightUnderEvent(a)})),this.dropdown.on("touchmove",f,this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",f,this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),x(80,this.results),this.dropdown.on("scroll-debounced",f,this.bind(this.loadMoreIfNeeded)),a(this.container).on("change",".select2-input",function(a){a.stopPropagation()}),a(this.dropdown).on("change",".select2-input",function(a){a.stopPropagation()}),a.fn.mousewheel&&d.mousewheel(function(a,b,c,e){var f=d.scrollTop();e>0&&0>=f-e?(d.scrollTop(0),A(a)):0>e&&d.get(0).scrollHeight-d.scrollTop()+e<=d.height()&&(d.scrollTop(d.get(0).scrollHeight-d.height()),A(a))}),u(e),e.on("keyup-change input paste",this.bind(this.updateResults)),e.on("focus",function(){e.addClass("select2-focused")}),e.on("blur",function(){e.removeClass("select2-focused")}),this.dropdown.on("mouseup",f,this.bind(function(b){a(b.target).closest(".select2-result-selectable").length>0&&(this.highlightUnderEvent(b),this.selectHighlighted(b))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(a){a.stopPropagation()}),this.nextSearchTerm=b,a.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==c.maximumInputLength&&this.search.attr("maxlength",c.maximumInputLength);var h=c.element.prop("disabled");h===b&&(h=!1),this.enable(!h);var i=c.element.prop("readonly");i===b&&(i=!1),this.readonly(i),k=k||q(),this.autofocus=c.element.prop("autofocus"),c.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",c.searchInputPlaceholder)},destroy:function(){var a=this.opts.element,c=a.data("select2");this.close(),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),c!==b&&(c.container.remove(),c.liveRegion.remove(),c.dropdown.remove(),a.removeClass("select2-offscreen").removeData("select2").off(".select2").prop("autofocus",this.autofocus||!1),this.elementTabIndex?a.attr({tabindex:this.elementTabIndex}):a.removeAttr("tabindex"),a.show()),N.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(a){return a.is("option")?{id:a.prop("value"),text:a.text(),element:a.get(),css:a.attr("class"),disabled:a.prop("disabled"),locked:r(a.attr("locked"),"locked")||r(a.data("locked"),!0)}:a.is("optgroup")?{text:a.attr("label"),children:[],element:a.get(),css:a.attr("class")}:void 0},prepareOpts:function(c){var d,e,f,h,i=this;if(d=c.element,"select"===d.get(0).tagName.toLowerCase()&&(this.select=e=c.element),e&&a.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in c)throw new Error("Option '"+this+"' is not allowed for Select2 when attached to a <select> element.")}),c=a.extend({},{populateResults:function(d,e,f){var h,j=this.opts.id,k=this.liveRegion;h=function(d,e,l){var m,n,o,p,q,r,s,t,u,v;for(d=c.sortResults(d,e,f),m=0,n=d.length;n>m;m+=1)o=d[m],q=o.disabled===!0,p=!q&&j(o)!==b,r=o.children&&o.children.length>0,s=a("<li></li>"),s.addClass("select2-results-dept-"+l),s.addClass("select2-result"),s.addClass(p?"select2-result-selectable":"select2-result-unselectable"),q&&s.addClass("select2-disabled"),r&&s.addClass("select2-result-with-children"),s.addClass(i.opts.formatResultCssClass(o)),s.attr("role","presentation"),t=a(document.createElement("div")),t.addClass("select2-result-label"),t.attr("id","select2-result-label-"+g()),t.attr("role","option"),v=c.formatResult(o,t,f,i.opts.escapeMarkup),v!==b&&(t.html(v),s.append(t)),r&&(u=a("<ul></ul>"),u.addClass("select2-result-sub"),h(o.children,u,l+1),s.append(u)),s.data("select2-data",o),e.append(s);k.text(c.formatMatches(d.length))},h(e,d,0)}},a.fn.select2.defaults,c),"function"!=typeof c.id&&(f=c.id,c.id=function(a){return a[f]}),a.isArray(c.element.data("select2Tags"))){if("tags"in c)throw"tags specified as both an attribute 'data-select2-tags' and in options of Select2 "+c.element.attr("id");c.tags=c.element.data("select2Tags")}if(e?(c.query=this.bind(function(a){var f,g,h,c={results:[],more:!1},e=a.term;h=function(b,c){var d;b.is("option")?a.matcher(e,b.text(),b)&&c.push(i.optionToData(b)):b.is("optgroup")&&(d=i.optionToData(b),b.children().each2(function(a,b){h(b,d.children)}),d.children.length>0&&c.push(d))},f=d.children(),this.getPlaceholder()!==b&&f.length>0&&(g=this.getPlaceholderOption(),g&&(f=f.not(g))),f.each2(function(a,b){h(b,c.results)}),a.callback(c)}),c.id=function(a){return a.id}):"query"in c||("ajax"in c?(h=c.element.data("ajax-url"),h&&h.length>0&&(c.ajax.url=h),c.query=G.call(c.element,c.ajax)):"data"in c?c.query=H(c.data):"tags"in c&&(c.query=I(c.tags),c.createSearchChoice===b&&(c.createSearchChoice=function(b){return{id:a.trim(b),text:a.trim(b)}}),c.initSelection===b&&(c.initSelection=function(b,d){var e=[];a(s(b.val(),c.separator)).each(function(){var b={id:this,text:this},d=c.tags;a.isFunction(d)&&(d=d()),a(d).each(function(){return r(this.id,b.id)?(b=this,!1):void 0}),e.push(b)}),d(e)}))),"function"!=typeof c.query)throw"query function not defined for Select2 "+c.element.attr("id");if("top"===c.createSearchChoicePosition)c.createSearchChoicePosition=function(a,b){a.unshift(b)};else if("bottom"===c.createSearchChoicePosition)c.createSearchChoicePosition=function(a,b){a.push(b)};else if("function"!=typeof c.createSearchChoicePosition)throw"invalid createSearchChoicePosition option must be 'top', 'bottom' or a custom function";return c},monitorSource:function(){var c,d,a=this.opts.element;a.on("change.select2",this.bind(function(){this.opts.element.data("select2-change-triggered")!==!0&&this.initSelection()})),c=this.bind(function(){var c=a.prop("disabled");c===b&&(c=!1),this.enable(!c);var d=a.prop("readonly");d===b&&(d=!1),this.readonly(d),D(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.addClass(K(this.opts.containerCssClass)),D(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(K(this.opts.dropdownCssClass))}),a.length&&a[0].attachEvent&&a.each(function(){this.attachEvent("onpropertychange",c)}),d=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,d!==b&&(this.propertyObserver&&(delete this.propertyObserver,this.propertyObserver=null),this.propertyObserver=new d(function(a){a.forEach(c)}),this.propertyObserver.observe(a.get(0),{attributes:!0,subtree:!1}))},triggerSelect:function(b){var c=a.Event("select2-selecting",{val:this.id(b),object:b});return this.opts.element.trigger(c),!c.isDefaultPrevented()},triggerChange:function(b){b=b||{},b=a.extend({},b,{type:"change",val:this.val()}),this.opts.element.data("select2-change-triggered",!0),this.opts.element.trigger(b),this.opts.element.data("select2-change-triggered",!1),this.opts.element.click(),this.opts.blurOnChange&&this.opts.element.blur()},isInterfaceEnabled:function(){return this.enabledInterface===!0},enableInterface:function(){var a=this._enabled&&!this._readonly,b=!a;return a===this.enabledInterface?!1:(this.container.toggleClass("select2-container-disabled",b),this.close(),this.enabledInterface=a,!0)},enable:function(a){a===b&&(a=!0),this._enabled!==a&&(this._enabled=a,this.opts.element.prop("disabled",!a),this.enableInterface())},disable:function(){this.enable(!1)},readonly:function(a){a===b&&(a=!1),this._readonly!==a&&(this._readonly=a,this.opts.element.prop("readonly",a),this.enableInterface())},opened:function(){return this.container.hasClass("select2-dropdown-open")},positionDropdown:function(){var t,u,v,w,x,b=this.dropdown,c=this.container.offset(),d=this.container.outerHeight(!1),e=this.container.outerWidth(!1),f=b.outerHeight(!1),g=a(window),h=g.width(),i=g.height(),j=g.scrollLeft()+h,l=g.scrollTop()+i,m=c.top+d,n=c.left,o=l>=m+f,p=c.top-f>=g.scrollTop(),q=b.outerWidth(!1),r=j>=n+q,s=b.hasClass("select2-drop-above");s?(u=!0,!p&&o&&(v=!0,u=!1)):(u=!1,!o&&p&&(v=!0,u=!0)),v&&(b.hide(),c=this.container.offset(),d=this.container.outerHeight(!1),e=this.container.outerWidth(!1),f=b.outerHeight(!1),j=g.scrollLeft()+h,l=g.scrollTop()+i,m=c.top+d,n=c.left,q=b.outerWidth(!1),r=j>=n+q,b.show(),this.focusSearch()),this.opts.dropdownAutoWidth?(x=a(".select2-results",b)[0],b.addClass("select2-drop-auto-width"),b.css("width",""),q=b.outerWidth(!1)+(x.scrollHeight===x.clientHeight?0:k.width),q>e?e=q:q=e,f=b.outerHeight(!1),r=j>=n+q):this.container.removeClass("select2-drop-auto-width"),"static"!==this.body.css("position")&&(t=this.body.offset(),m-=t.top,n-=t.left),r||(n=c.left+this.container.outerWidth(!1)-q),w={left:n,width:e},u?(w.top=c.top-f,w.bottom="auto",this.container.addClass("select2-drop-above"),b.addClass("select2-drop-above")):(w.top=m,w.bottom="auto",this.container.removeClass("select2-drop-above"),b.removeClass("select2-drop-above")),w=a.extend(w,K(this.opts.dropdownCss)),b.css(w)},shouldOpen:function(){var b;return this.opened()?!1:this._enabled===!1||this._readonly===!0?!1:(b=a.Event("select2-opening"),this.opts.element.trigger(b),!b.isDefaultPrevented())},clearDropdownAlignmentPreference:function(){this.container.removeClass("select2-drop-above"),this.dropdown.removeClass("select2-drop-above")},open:function(){return this.shouldOpen()?(this.opening(),!0):!1},opening:function(){var f,b=this.containerEventName,c="scroll."+b,d="resize."+b,e="orientationchange."+b;this.container.addClass("select2-dropdown-open").addClass("select2-container-active"),this.clearDropdownAlignmentPreference(),this.dropdown[0]!==this.body.children().last()[0]&&this.dropdown.detach().appendTo(this.body),f=a("#select2-drop-mask"),0==f.length&&(f=a(document.createElement("div")),f.attr("id","select2-drop-mask").attr("class","select2-drop-mask"),f.hide(),f.appendTo(this.body),f.on("mousedown touchstart click",function(b){n(f);var d,c=a("#select2-drop");c.length>0&&(d=c.data("select2"),d.opts.selectOnBlur&&d.selectHighlighted({noFocus:!0}),d.close(),b.preventDefault(),b.stopPropagation())})),this.dropdown.prev()[0]!==f[0]&&this.dropdown.before(f),a("#select2-drop").removeAttr("id"),this.dropdown.attr("id","select2-drop"),f.show(),this.positionDropdown(),this.dropdown.show(),this.positionDropdown(),this.dropdown.addClass("select2-drop-active");var g=this;this.container.parents().add(window).each(function(){a(this).on(d+" "+c+" "+e,function(){g.opened()&&g.positionDropdown()})})},close:function(){if(this.opened()){var b=this.containerEventName,c="scroll."+b,d="resize."+b,e="orientationchange."+b;this.container.parents().add(window).each(function(){a(this).off(c).off(d).off(e)}),this.clearDropdownAlignmentPreference(),a("#select2-drop-mask").hide(),this.dropdown.removeAttr("id"),this.dropdown.hide(),this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active"),this.results.empty(),this.clearSearch(),this.search.removeClass("select2-active"),this.opts.element.trigger(a.Event("select2-close"))}},externalSearch:function(a){this.open(),this.search.val(a),this.updateResults(!1)},clearSearch:function(){},getMaximumSelectionSize:function(){return K(this.opts.maximumSelectionSize)},ensureHighlightVisible:function(){var c,d,e,f,g,h,i,b=this.results;if(d=this.highlight(),!(0>d)){if(0==d)return b.scrollTop(0),void 0;c=this.findHighlightableChoices().find(".select2-result-label"),e=a(c[d]),f=e.offset().top+e.outerHeight(!0),d===c.length-1&&(i=b.find("li.select2-more-results"),i.length>0&&(f=i.offset().top+i.outerHeight(!0))),g=b.offset().top+b.outerHeight(!0),f>g&&b.scrollTop(b.scrollTop()+(f-g)),h=e.offset().top-b.offset().top,0>h&&"none"!=e.css("display")&&b.scrollTop(b.scrollTop()+h)}},findHighlightableChoices:function(){return this.results.find(".select2-result-selectable:not(.select2-disabled):not(.select2-selected)")},moveHighlight:function(b){for(var c=this.findHighlightableChoices(),d=this.highlight();d>-1&&d<c.length;){d+=b;var e=a(c[d]);if(e.hasClass("select2-result-selectable")&&!e.hasClass("select2-disabled")&&!e.hasClass("select2-selected")){this.highlight(d);break}}},highlight:function(b){var d,e,c=this.findHighlightableChoices();return 0===arguments.length?p(c.filter(".select2-highlighted")[0],c.get()):(b>=c.length&&(b=c.length-1),0>b&&(b=0),this.removeHighlight(),d=a(c[b]),d.addClass("select2-highlighted"),this.search.attr("aria-activedescendant",d.find(".select2-result-label").attr("id")),this.ensureHighlightVisible(),this.liveRegion.text(d.text()),e=d.data("select2-data"),e&&this.opts.element.trigger({type:"select2-highlight",val:this.id(e),choice:e}),void 0)},removeHighlight:function(){this.results.find(".select2-highlighted").removeClass("select2-highlighted")},touchMoved:function(){this._touchMoved=!0},clearTouchMoved:function(){this._touchMoved=!1},countSelectableResults:function(){return this.findHighlightableChoices().length+},highlightUnderEvent:function(b){var c=a(b.target).closest(".select2-result-selectable");if(c.length>0&&!c.is(".select2-highlighted")){var d=this.findHighlightableChoices();this.highlight(d.index(c))}else 0==c.length&&this.removeHighlight()},loadMoreIfNeeded:function(){var c,a=this.results,b=a.find("li.select2-more-results"),d=this.resultsPage+1,e=this,f=this.search.val(),g=this.context;0!==b.length&&(c=b.offset().top-a.offset().top-a.height(),c<=this.opts.loadMorePadding&&(b.addClass("select2-active"),this.opts.query({element:this.opts.element,term:f,page:d,context:g,matcher:this.opts.matcher,callback:this.bind(function(c){e.opened()&&(e.opts.populateResults.call(this,a,c.results,{term:f,page:d,context:g}),e.postprocessResults(c,!1,!1),c.more===!0?(b.detach().appendTo(a).text(K(e.opts.formatLoadMore,d+1)),window.setTimeout(function(){e.loadMoreIfNeeded()},10)):b.remove(),e.positionDropdown(),e.resultsPage=d,e.context=c.context,this.opts.element.trigger({type:"select2-loaded",items:c}))})})))},tokenize:function(){},updateResults:function(c){function m(){d.removeClass("select2-active"),h.positionDropdown(),e.find(".select2-no-results,.select2-selection-limit,.select2-searching").length?h.liveRegion.text(e.text()):h.liveRegion.text(h.opts.formatMatches(e.find(".select2-result-selectable").length))}function n(a){e.html(a),m()}var g,i,l,d=this.search,e=this.results,f=this.opts,h=this,j=d.val(),k=a.data(this.container,"select2-last-term");if((c===!0||!k||!r(j,k))&&(a.data(this.container,"select2-last-term",j),c===!0||this.showSearchInput!==!1&&this.opened())){l=++this.queryCount;var o=this.getMaximumSelectionSize();if(o>=1&&(g=this.data(),a.isArray(g)&&g.length>=o&&J(f.formatSelectionTooBig,"formatSelectionTooBig")))return n("<li class='select2-selection-limit'>"+K(f.formatSelectionTooBig,o)+"</li>"),void 0;if(d.val().length<f.minimumInputLength)return J(f.formatInputTooShort,"formatInputTooShort")?n("<li class='select2-no-results'>"+K(f.formatInputTooShort,d.val(),f.minimumInputLength)+"</li>"):n(""),c&&this.showSearch&&this.showSearch(!0),void 0;if(f.maximumInputLength&&d.val().length>f.maximumInputLength)return J(f.formatInputTooLong,"formatInputTooLong")?n("<li class='select2-no-results'>"+K(f.formatInputTooLong,d.val(),f.maximumInputLength)+"</li>"):n(""),void 0;f.formatSearching&&0===this.findHighlightableChoices().length&&n("<li class='select2-searching'>"+K(f.formatSearching)+"</li>"),d.addClass("select2-active"),this.removeHighlight(),i=this.tokenize(),i!=b&&null!=i&&d.val(i),this.resultsPage=1,f.query({element:f.element,term:d.val(),page:this.resultsPage,context:null,matcher:f.matcher,callback:this.bind(function(g){var i;if(l==this.queryCount){if(!this.opened())return this.search.removeClass("select2-active"),void 0;if(this.context=g.context===b?null:g.context,this.opts.createSearchChoice&&""!==d.val()&&(i=this.opts.createSearchChoice.call(h,d.val(),g.results),i!==b&&null!==i&&h.id(i)!==b&&null!==h.id(i)&&0===a(g.results).filter(function(){return r(h.id(this),h.id(i))}).length&&this.opts.createSearchChoicePosition(g.results,i)),0===g.results.length&&J(f.formatNoMatches,"formatNoMatches"))return n("<li class='select2-no-results'>"+K(f.formatNoMatches,d.val())+"</li>"),void 0;e.empty(),h.opts.populateResults.call(this,e,g.results,{term:d.val(),page:this.resultsPage,context:null}),g.more===!0&&J(f.formatLoadMore,"formatLoadMore")&&(e.append("<li class='select2-more-results'>"+h.opts.escapeMarkup(K(f.formatLoadMore,this.resultsPage))+"</li>"),window.setTimeout(function(){h.loadMoreIfNeeded()},10)),this.postprocessResults(g,c),m(),this.opts.element.trigger({type:"select2-loaded",items:g})}})})}},cancel:function(){this.close()},blur:function(){this.opts.selectOnBlur&&this.selectHighlighted({noFocus:!0}),this.close(),this.container.removeClass("select2-container-active"),this.search[0]===document.activeElement&&this.search.blur(),this.clearSearch(),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus")},focusSearch:function(){y(this.search)},selectHighlighted:function(a){if(this._touchMoved)return this.clearTouchMoved(),void 0;var b=this.highlight(),c=this.results.find(".select2-highlighted"),d=c.closest(".select2-result").data("select2-data");d?(this.highlight(b),this.onSelect(d,a)):a&&a.noFocus&&this.close()},getPlaceholder:function(){var a;return this.opts.element.attr("placeholder")||this.opts.element.attr("data-placeholder")||this.opts.element.data("placeholder")||this.opts.placeholder||((a=this.getPlaceholderOption())!==b?a.text():b)},getPlaceholderOption:function(){if(this.select){var c=this.select.children("option").first();if(this.opts.placeholderOption!==b)return"first"===this.opts.placeholderOption&&c||"function"==typeof this.opts.placeholderOption&&this.opts.placeholderOption(this.select);if(""===a.trim(c.text())&&""===c.val())return c}},initContainerWidth:function(){function c(){var c,d,e,f,g,h;if("off"===this.opts.width)return null;if("element"===this.opts.width)return 0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px";if("copy"===this.opts.width||"resolve"===this.opts.width){if(c=this.opts.element.attr("style"),c!==b)for(d=c.split(";"),f=0,g=d.length;g>f;f+=1)if(h=d[f].replace(/\s/g,""),e=h.match(/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i),null!==e&&e.length>=1)return e[1];return"resolve"===this.opts.width?(c=this.opts.element.css("width"),c.indexOf("%")>0?c:0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px"):null}return a.isFunction(this.opts.width)?this.opts.width():this.opts.width}var d=c.call(this);null!==d&&this.container.css("width",d)}}),e=O(d,{createContainer:function(){var b=a(document.createElement("div")).attr({"class":"select2-container"}).html(["<a href='javascript:void(0)' class='select2-choice' tabindex='-1'>"," <span class='select2-chosen'> </span><abbr class='select2-search-choice-close'></abbr>"," <span class='select2-arrow' role='presentation'><b role='presentation'></b></span>","</a>","<label for='' class='select2-offscreen'></label>","<input class='select2-focusser select2-offscreen' type='text' aria-haspopup='true' role='button' />","<div class='select2-drop select2-display-none'>"," <div class='select2-search'>"," <label for='' class='select2-offscreen'></label>"," <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input' role='combobox' aria-expanded='true'"," aria-autocomplete='list' />"," </div>"," <ul class='select2-results' role='listbox'>"," </ul>","</div>"].join(""));return b},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.focusser.prop("disabled",!this.isInterfaceEnabled())},opening:function(){var c,d,e;this.opts.minimumResultsForSearch>=0&&this.showSearch(!0),this.parent.opening.apply(this,arguments),this.showSearchInput!==!1&&this.search.val(this.focusser.val()),this.opts.shouldFocusInput(this)&&(this.search.focus(),c=this.search.get(0),c.createTextRange?(d=c.createTextRange(),d.collapse(!1),d.select()):c.setSelectionRange&&(e=this.search.val().length,c.setSelectionRange(e,e))),""===this.search.val()&&this.nextSearchTerm!=b&&(this.search.val(this.nextSearchTerm),this.search.select()),this.focusser.prop("disabled",!0).val(""),this.updateResults(!0),this.opts.element.trigger(a.Event("select2-open"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},focus:function(){this.opened()?this.close():(this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus()},destroy:function(){a("label[for='"+this.focusser.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),N.call(this,"selection","focusser")},initContainer:function(){var b,h,d=this.container,e=this.dropdown,f=g();this.opts.minimumResultsForSearch<0?this.showSearch(!1):this.showSearch(!0),this.selection=b=d.find(".select2-choice"),this.focusser=d.find(".select2-focusser"),b.find(".select2-chosen").attr("id","select2-chosen-"+f),this.focusser.attr("aria-labelledby","select2-chosen-"+f),this.results.attr("id","select2-results-"+f),this.search.attr("aria-owns","select2-results-"+f),this.focusser.attr("id","s2id_autogen"+f),h=a("label[for='"+this.opts.element.attr("id")+"']"),this.focusser.prev().text(h.text()).attr("for",this.focusser.attr("id"));var i=this.opts.element.attr("title");this.opts.element.attr("title",i||h.text()),this.focusser.attr("tabindex",this.elementTabIndex),this.search.attr("id",this.focusser.attr("id")+"_search"),this.search.prev().text(a("label[for='"+this.focusser.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()){if(a.which===c.PAGE_UP||a.which===c.PAGE_DOWN)return A(a),void 0;switch(a.which){case c.UP:case c.DOWN:return this.moveHighlight(a.which===c.UP?-1:1),A(a),void 0;case c.ENTER:return this.selectHighlighted(),A(a),void 0;case c.TAB:return this.selectHighlighted({noFocus:!0}),void 0;case c.ESC:return this.cancel(a),A(a),void 0}}})),this.search.on("blur",this.bind(function(){document.activeElement===this.body.get(0)&&window.setTimeout(this.bind(function(){this.opened()&&this.search.focus()}),0)})),this.focusser.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()&&a.which!==c.TAB&&!c.isControl(a)&&!c.isFunctionKey(a)&&a.which!==c.ESC){if(this.opts.openOnEnter===!1&&a.which===c.ENTER)return A(a),void 0;if(a.which==c.DOWN||a.which==c.UP||a.which==c.ENTER&&this.opts.openOnEnter){if(a.altKey||a.ctrlKey||a.shiftKey||a.metaKey)return;return this.open(),A(a),void 0}return a.which==c.DELETE||a.which==c.BACKSPACE?(this.opts.allowClear&&this.clear(),A(a),void 0):void 0}})),u(this.focusser),this.focusser.on("keyup-change input",this.bind(function(a){if(this.opts.minimumResultsForSearch>=0){if(a.stopPropagation(),this.opened())return;this.open()}})),b.on("mousedown touchstart","abbr",this.bind(function(a){this.isInterfaceEnabled()&&(this.clear(),B(a),this.close(),this.selection.focus())})),b.on("mousedown touchstart",this.bind(function(c){n(b),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),A(c)})),e.on("mousedown touchstart",this.bind(function(){this.opts.shouldFocusInput(this)&&this.search.focus()})),b.on("focus",this.bind(function(a){A(a)})),this.focusser.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active")})).on("blur",this.bind(function(){this.opened()||(this.container.removeClass("select2-container-active"),this.opts.element.trigger(a.Event("select2-blur")))})),this.search.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.opts.element.addClass("select2-offscreen"),this.setPlaceholder()},clear:function(b){var c=this.selection.data("select2-data");if(c){var d=a.Event("select2-clearing");if(this.opts.element.trigger(d),d.isDefaultPrevented())return;var e=this.getPlaceholderOption();this.opts.element.val(e?e.val():""),this.selection.find(".select2-chosen").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),b!==!1&&(this.opts.element.trigger({type:"select2-removed",val:this.id(c),choice:c}),this.triggerChange({removed:c}))}},initSelection:function(){if(this.isPlaceholderOptionSelected())this.updateSelection(null),this.close(),this.setPlaceholder();else{var c=this;this.opts.initSelection.call(null,this.opts.element,function(a){a!==b&&null!==a&&(c.updateSelection(a),c.close(),c.setPlaceholder(),c.nextSearchTerm=c.opts.nextSearchTerm(a,c.search.val()))})}},isPlaceholderOptionSelected:function(){var a;return this.getPlaceholder()===b?!1:(a=this.getPlaceholderOption())!==b&&a.prop("selected")||""===this.opts.element.val()||this.opts.element.val()===b||null===this.opts.element.val()},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments),c=this;return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var d=a.find("option").filter(function(){return this.selected&&!this.disabled});b(c.optionToData(d))}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=c.val(),f=null;b.query({matcher:function(a,c,d){var g=r(e,b.id(d));return g&&(f=d),g},callback:a.isFunction(d)?function(){d(f)}:a.noop})}),b},getPlaceholder:function(){return this.select&&this.getPlaceholderOption()===b?b:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var a=this.getPlaceholder();if(this.isPlaceholderOptionSelected()&&a!==b){if(this.select&&this.getPlaceholderOption()===b)return;this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(a)),this.selection.addClass("select2-default"),this.container.removeClass("select2-allowclear")}},postprocessResults:function(a,b,c){var d=0,e=this;if(this.findHighlightableChoices().each2(function(a,b){return r(e.id(b.data("select2-data")),e.opts.element.val())?(d=a,!1):void 0}),c!==!1&&(b===!0&&d>=0?this.highlight(d):this.highlight(0)),b===!0){var g=this.opts.minimumResultsForSearch;g>=0&&this.showSearch(L(a.results)>=g)}},showSearch:function(b){this.showSearchInput!==b&&(this.showSearchInput=b,this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",!b),this.dropdown.find(".select2-search").toggleClass("select2-offscreen",!b),a(this.dropdown,this.container).toggleClass("select2-with-searchbox",b))},onSelect:function(a,b){if(this.triggerSelect(a)){var c=this.opts.element.val(),d=this.data();this.opts.element.val(this.id(a)),this.updateSelection(a),this.opts.element.trigger({type:"select2-selected",val:this.id(a),choice:a}),this.nextSearchTerm=this.opts.nextSearchTerm(a,this.search.val()),this.close(),b&&b.noFocus||!this.opts.shouldFocusInput(this)||this.focusser.focus(),r(c,this.id(a))||this.triggerChange({added:a,removed:d})}},updateSelection:function(a){var d,e,c=this.selection.find(".select2-chosen");this.selection.data("select2-data",a),c.empty(),null!==a&&(d=this.opts.formatSelection(a,c,this.opts.escapeMarkup)),d!==b&&c.append(d),e=this.opts.formatSelectionCssClass(a,c),e!==b&&c.addClass(e),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==b&&this.container.addClass("select2-allowclear")},val:function(){var a,c=!1,d=null,e=this,f=this.data();if(0===arguments.length)return this.opts.element.val();if(a=arguments[0],arguments.length>1&&(c=arguments[1]),this.select)this.select.val(a).find("option").filter(function(){return this.selected}).each2(function(a,b){return d=e.optionToData(b),!1}),this.updateSelection(d),this.setPlaceholder(),c&&this.triggerChange({added:d,removed:f});else{if(!a&&0!==a)return this.clear(c),void 0;if(this.opts.initSelection===b)throw new Error("cannot call val() if initSelection() is not defined");this.opts.element.val(a),this.opts.initSelection(this.opts.element,function(a){e.opts.element.val(a?e.id(a):""),e.updateSelection(a),e.setPlaceholder(),c&&e.triggerChange({added:a,removed:f})})}},clearSearch:function(){this.search.val(""),this.focusser.val("")},data:function(a){var c,d=!1;return 0===arguments.length?(c=this.selection.data("select2-data"),c==b&&(c=null),c):(arguments.length>1&&(d=arguments[1]),a?(c=this.data(),this.opts.element.val(a?this.id(a):""),this.updateSelection(a),d&&this.triggerChange({added:a,removed:c})):this.clear(d),void 0)}}),f=O(d,{createContainer:function(){var b=a(document.createElement("div")).attr({"class":"select2-container select2-container-multi"}).html(["<ul class='select2-choices'>"," <li class='select2-search-field'>"," <label for='' class='select2-offscreen'></label>"," <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input'>"," </li>","</ul>","<div class='select2-drop select2-drop-multi select2-display-none'>"," <ul class='select2-results'>"," </ul>","</div>"].join(""));return b},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments),c=this;return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var d=[];a.find("option").filter(function(){return this.selected&&!this.disabled}).each2(function(a,b){d.push(c.optionToData(b))}),b(d)}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=s(c.val(),b.separator),f=[];b.query({matcher:function(c,d,g){var h=a.grep(e,function(a){return r(a,b.id(g))}).length;return h&&f.push(g),h},callback:a.isFunction(d)?function(){for(var a=[],c=0;c<e.length;c++)for(var g=e[c],h=0;h<f.length;h++){var i=f[h];if(r(g,b.id(i))){a.push(i),f.splice(h,1);break}}d(a)}:a.noop})}),b},selectChoice:function(a){var b=this.container.find(".select2-search-choice-focus");b.length&&a&&a[0]==b[0]||(b.length&&this.opts.element.trigger("choice-deselected",b),b.removeClass("select2-search-choice-focus"),a&&a.length&&(this.close(),a.addClass("select2-search-choice-focus"),this.opts.element.trigger("choice-selected",a)))},destroy:function(){a("label[for='"+this.search.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),N.call(this,"searchContainer","selection")},initContainer:function(){var d,b=".select2-choices";this.searchContainer=this.container.find(".select2-search-field"),this.selection=d=this.container.find(b);var e=this;this.selection.on("click",".select2-search-choice:not(.select2-locked)",function(){e.search[0].focus(),e.selectChoice(a(this))}),this.search.attr("id","s2id_autogen"+g()),this.search.prev().text(a("label[for='"+this.opts.element.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("input paste",this.bind(function(){this.isInterfaceEnabled()&&(this.opened()||this.open())})),this.search.attr("tabindex",this.elementTabIndex),this.keydowns=0,this.search.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()){++this.keydowns;var b=d.find(".select2-search-choice-focus"),e=b.prev(".select2-search-choice:not(.select2-locked)"),f=b.next(".select2-search-choice:not(.select2-locked)"),g=z(this.search);if(b.length&&(a.which==c.LEFT||a.which==c.RIGHT||a.which==c.BACKSPACE||a.which==c.DELETE||a.which==c.ENTER)){var h=b;return a.which==c.LEFT&&e.length?h=e:a.which==c.RIGHT?h=f.length?f:null:a.which===c.BACKSPACE?this.unselect(b.first())&&(this.search.width(10),h=e.length?e:f):a.which==c.DELETE?this.unselect(b.first())&&(this.search.width(10),h=f.length?f:null):a.which==c.ENTER&&(h=null),this.selectChoice(h),A(a),h&&h.length||this.open(),void 0}if((a.which===c.BACKSPACE&&1==this.keydowns||a.which==c.LEFT)&&0==g.offset&&!g.length)return this.selectChoice(d.find(".select2-search-choice:not(.select2-locked)").last()),A(a),void 0;if(this.selectChoice(null),this.opened())switch(a.which){case c.UP:case c.DOWN:return this.moveHighlight(a.which===c.UP?-1:1),A(a),void 0;case c.ENTER:return this.selectHighlighted(),A(a),void 0;case c.TAB:return this.selectHighlighted({noFocus:!0}),this.close(),void 0;case c.ESC:return this.cancel(a),A(a),void 0}if(a.which!==c.TAB&&!c.isControl(a)&&!c.isFunctionKey(a)&&a.which!==c.BACKSPACE&&a.which!==c.ESC){if(a.which===c.ENTER){if(this.opts.openOnEnter===!1)return;if(a.altKey||a.ctrlKey||a.shiftKey||a.metaKey)return}this.open(),(a.which===c.PAGE_UP||a.which===c.PAGE_DOWN)&&A(a),a.which===c.ENTER&&A(a)}}})),this.search.on("keyup",this.bind(function(){this.keydowns=0,this.resizeSearch()})),this.search.on("blur",this.bind(function(b){this.container.removeClass("select2-container-active"),this.search.removeClass("select2-focused"),this.selectChoice(null),this.opened()||this.clearSearch(),b.stopImmediatePropagation(),this.opts.element.trigger(a.Event("select2-blur"))})),this.container.on("click",b,this.bind(function(b){this.isInterfaceEnabled()&&(a(b.target).closest(".select2-search-choice").length>0||(this.selectChoice(null),this.clearPlaceholder(),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.open(),this.focusSearch(),b.preventDefault()))})),this.container.on("focus",b,this.bind(function(){this.isInterfaceEnabled()&&(this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.opts.element.addClass("select2-offscreen"),this.clearSearch()},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.search.prop("disabled",!this.isInterfaceEnabled())},initSelection:function(){if(""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),this.select||""!==this.opts.element.val()){var c=this;this.opts.initSelection.call(null,this.opts.element,function(a){a!==b&&null!==a&&(c.updateSelection(a),c.close(),c.clearSearch())})}},clearSearch:function(){var a=this.getPlaceholder(),c=this.getMaxSearchWidth();a!==b&&0===this.getVal().length&&this.search.hasClass("select2-focused")===!1?(this.search.val(a).addClass("select2-default"),this.search.width(c>0?c:this.container.css("width"))):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),""===this.search.val()&&this.nextSearchTerm!=b&&(this.search.val(this.nextSearchTerm),this.search.select()),this.updateResults(!0),this.opts.shouldFocusInput(this)&&this.search.focus(),this.opts.element.trigger(a.Event("select2-open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(b){var c=[],d=[],e=this;a(b).each(function(){p(e.id(this),c)<0&&(c.push(e.id(this)),d.push(this))}),b=d,this.selection.find(".select2-search-choice").remove(),a(b).each(function(){e.addSelectedChoice(this)}),e.postprocessResults()},tokenize:function(){var a=this.search.val();a=this.opts.tokenizer.call(this,a,this.data(),this.bind(this.onSelect),this.opts),null!=a&&a!=b&&(this.search.val(a),a.length>0&&this.open())},onSelect:function(a,c){this.triggerSelect(a)&&(this.addSelectedChoice(a),this.opts.element.trigger({type:"selected",val:this.id(a),choice:a}),this.nextSearchTerm=this.opts.nextSearchTerm(a,this.search.val()),this.clearSearch(),this.updateResults(),(this.select||!this.opts.closeOnSelect)&&this.postprocessResults(a,!1,this.opts.closeOnSelect===!0),this.opts.closeOnSelect?(this.close(),this.search.width(10)):this.countSelectableResults()>0?(this.search.width(10),this.resizeSearch(),this.getMaximumSelectionSize()>0&&this.val().length>=this.getMaximumSelectionSize()?this.updateResults(!0):this.nextSearchTerm!=b&&(this.search.val(this.nextSearchTerm),this.updateResults(),this.search.select()),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:a}),c&&c.noFocus||this.focusSearch())},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(c){var j,k,d=!c.locked,e=a("<li class='select2-search-choice'> <div></div> <a href='#' class='select2-search-choice-close' tabindex='-1'></a></li>"),f=a("<li class='select2-search-choice select2-locked'><div></div></li>"),g=d?e:f,h=this.id(c),i=this.getVal();j=this.opts.formatSelection(c,g.find("div"),this.opts.escapeMarkup),j!=b&&g.find("div").replaceWith("<div>"+j+"</div>"),k=this.opts.formatSelectionCssClass(c,g.find("div")),k!=b&&g.addClass(k),d&&g.find(".select2-search-choice-close").on("mousedown",A).on("click dblclick",this.bind(function(b){this.isInterfaceEnabled()&&(this.unselect(a(b.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),A(b),this.close(),this.focusSearch())})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),g.data("select2-data",c),g.insertBefore(this.searchContainer),i.push(h),this.setVal(i)},unselect:function(b){var d,e,c=this.getVal();if(b=b.closest(".select2-search-choice"),0===b.length)throw"Invalid argument: "+b+". Must be .select2-search-choice";if(d=b.data("select2-data")){var f=a.Event("select2-removing");if(f.val=this.id(d),f.choice=d,this.opts.element.trigger(f),f.isDefaultPrevented())return!1;for(;(e=p(this.id(d),c))>=0;)c.splice(e,1),this.setVal(c),this.select&&this.postprocessResults();return b.remove(),this.opts.element.trigger({type:"select2-removed",val:this.id(d),choice:d}),this.triggerChange({removed:d}),!0}},postprocessResults:function(a,b,c){var d=this.getVal(),e=this.results.find(".select2-result"),f=this.results.find(".select2-result-with-children"),g=this;e.each2(function(a,b){var c=g.id(b.data("select2-data"));p(c,d)>=0&&(b.addClass("select2-selected"),b.find(".select2-result-selectable").addClass("select2-selected"))}),f.each2(function(a,b){b.is(".select2-result-selectable")||0!==b.find(".select2-result-selectable:not(.select2-selected)").length||b.addClass("select2-selected")}),-1==this.highlight()&&c!==!1&&g.highlight(0),!this.opts.createSearchChoice&&!e.filter(".select2-result:not(.select2-selected)").length>0&&(!a||a&&!a.more&&0===this.results.find(".select2-no-results").length)&&J(g.opts.formatNoMatches,"formatNoMatches")&&this.results.append("<li class='select2-no-results'>"+K(g.opts.formatNoMatches,g.search.val())+"</li>")},getMaxSearchWidth:function(){return this.selection.width()-t(this.search)},resizeSearch:function(){var a,b,c,d,e,f=t(this.search);a=C(this.search)+10,b=this.search.offset().left,c=this.selection.width(),d=this.selection.offset().left,e=c-(b-d)-f,a>e&&(e=c-f),40>e&&(e=c-f),0>=e&&(e=a),this.search.width(Math.floor(e))},getVal:function(){var a;return this.select?(a=this.select.val(),null===a?[]:a):(a=this.opts.element.val(),s(a,this.opts.separator))},setVal:function(b){var c;this.select?this.select.val(b):(c=[],a(b).each(function(){p(this,c)<0&&c.push(this)}),this.opts.element.val(0===c.length?"":c.join(this.opts.separator)))},buildChangeDetails:function(a,b){for(var b=b.slice(0),a=a.slice(0),c=0;c<b.length;c++)for(var d=0;d<a.length;d++)r(this.opts.id(b[c]),this.opts.id(a[d]))&&(b.splice(c,1),c>0&&c--,a.splice(d,1),d--);return{added:b,removed:a}},val:function(c,d){var e,f=this;if(0===arguments.length)return this.getVal();if(e=this.data(),e.length||(e=[]),!c&&0!==c)return this.opts.element.val(""),this.updateSelection([]),this.clearSearch(),d&&this.triggerChange({added:this.data(),removed:e}),void 0;if(this.setVal(c),this.select)this.opts.initSelection(this.select,this.bind(this.updateSelection)),d&&this.triggerChange(this.buildChangeDetails(e,this.data()));else{if(this.opts.initSelection===b)throw new Error("val() cannot be called if initSelection() is not defined");this.opts.initSelection(this.opts.element,function(b){var c=a.map(b,f.id);f.setVal(c),f.updateSelection(b),f.clearSearch(),d&&f.triggerChange(f.buildChangeDetails(e,f.data()))})}this.clearSearch()},onSortStart:function(){if(this.select)throw new Error("Sorting of elements is not supported when attached to <select>. Attach to <input type='hidden'/> instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var b=[],c=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){b.push(c.opts.id(a(this).data("select2-data")))}),this.setVal(b),this.triggerChange()},data:function(b,c){var e,f,d=this;return 0===arguments.length?this.selection.children(".select2-search-choice").map(function(){return a(this).data("select2-data")}).get():(f=this.data(),b||(b=[]),e=a.map(b,function(a){return d.opts.id(a)}),this.setVal(e),this.updateSelection(b),this.clearSearch(),c&&this.triggerChange(this.buildChangeDetails(f,this.data())),void 0)}}),a.fn.select2=function(){var d,e,f,g,h,c=Array.prototype.slice.call(arguments,0),i=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],j=["opened","isFocused","container","dropdown"],k=["val","data"],l={search:"externalSearch"};return this.each(function(){if(0===c.length||"object"==typeof c[0])d=0===c.length?{}:a.extend({},c[0]),d.element=a(this),"select"===d.element.get(0).tagName.toLowerCase()?h=d.element.prop("multiple"):(h=d.multiple||!1,"tags"in d&&(d.multiple=h=!0)),e=h?new window.Select2["class"].multi:new window.Select2["class"].single,e.init(d);else{if("string"!=typeof c[0])throw"Invalid arguments to select2 plugin: "+c;if(p(c[0],i)<0)throw"Unknown method: "+c[0];if(g=b,e=a(this).data("select2"),e===b)return;if(f=c[0],"container"===f?g=e.container:"dropdown"===f?g=e.dropdown:(l[f]&&(f=l[f]),g=e[f].apply(e,c.slice(1))),p(c[0],j)>=0||p(c[0],k)>=0&&1==c.length)return!1}}),g===b?this:g},a.fn.select2.defaults={width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(a,b,c,d){var e=[];return E(a.text,c.term,e,d),e.join("")},formatSelection:function(a,c,d){return a?d(a.text):b},sortResults:function(a){return a},formatResultCssClass:function(a){return a.css},formatSelectionCssClass:function(){return b},formatMatches:function(a){return a+" results are available, use up and down arrow keys to navigate."},formatNoMatches:function(){return"No matches found"},formatInputTooShort:function(a,b){var c=b-a.length;return"Please enter "+c+" or more character"+(1==c?"":"s")},formatInputTooLong:function(a,b){var c=a.length-b;return"Please delete "+c+" character"+(1==c?"":"s")},formatSelectionTooBig:function(a){return"You can only select "+a+" item"+(1==a?"":"s")},formatLoadMore:function(){return"Loading more results\u2026"},formatSearching:function(){return"Searching\u2026"},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(a){return a==b?null:a.id},matcher:function(a,b){return o(""+b).toUpperCase().indexOf(o(""+a).toUpperCase())>=0},separator:",",tokenSeparators:[],tokenizer:M,escapeMarkup:F,blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(a){return a},adaptDropdownCssClass:function(){return null},nextSearchTerm:function(){return b},searchInputPlaceholder:"",createSearchChoicePosition:"top",shouldFocusInput:function(a){var b="ontouchstart"in window||navigator.msMaxTouchPoints>0;return b?a.opts.minimumResultsForSearch<0?!1:!0:!0}},a.fn.select2.ajaxDefaults={transport:a.ajax,params:{type:"GET",cache:!1,dataType:"json"}},window.Select2={query:{ajax:G,local:H,tags:I},util:{debounce:w,markMatch:E,escapeMarkup:F,stripDiacritics:o},"class":{"abstract":d,single:e,multi:f}}}}(jQuery);\ No newline at end of filediff --git a/data/libs/spinkit/LICENSE[mit].txt b/data/libs/spinkit/LICENSEsimilarity index 97%rename from data/libs/spinkit/LICENSE[mit].txtrename to data/libs/spinkit/LICENSEindex 547f627c0..5e7853142 100644--- a/data/libs/spinkit/LICENSE[mit].txt+++ b/data/libs/spinkit/LICENSE@@ -1,6 +1,6 @@The MIT License (MIT)-Copyright (c) 2014 Tobias Ahlin+Copyright (c) 2015 Tobias AhlinPermission is hereby granted, free of charge, to any person obtaining a copy ofthis software and associated documentation files (the "Software"), to deal indiff --git a/data/libs/spinkit/css/spinkit.css b/data/libs/spinkit/css/spinkit.cssnew file mode 100644index 000000000..0b79b8685--- /dev/null+++ b/data/libs/spinkit/css/spinkit.css@@ -0,0 +1,770 @@+/*+ * Usage:+ *+ <div class="sk-rotating-plane"></div>+ *+ */+.sk-rotating-plane {+ width: 40px;+ height: 40px;+ background-color: #333;+ margin: 40px auto;+ -webkit-animation: sk-rotatePlane 1.2s infinite ease-in-out;+ animation: sk-rotatePlane 1.2s infinite ease-in-out; }++@-webkit-keyframes sk-rotatePlane {+ 0% {+ -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);+ transform: perspective(120px) rotateX(0deg) rotateY(0deg); }+ 50% {+ -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);+ transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }+ 100% {+ -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);+ transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); } }++@keyframes sk-rotatePlane {+ 0% {+ -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);+ transform: perspective(120px) rotateX(0deg) rotateY(0deg); }+ 50% {+ -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);+ transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }+ 100% {+ -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);+ transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); } }++/*+ * Usage:+ *+ <div class="sk-double-bounce">+ <div class="sk-child sk-double-bounce1"></div>+ <div class="sk-child sk-double-bounce2"></div>+ </div>+ *+ */+.sk-double-bounce {+ width: 40px;+ height: 40px;+ position: relative;+ margin: 40px auto; }+ .sk-double-bounce .sk-child {+ width: 100%;+ height: 100%;+ border-radius: 50%;+ background-color: #333;+ opacity: 0.6;+ position: absolute;+ top: 0;+ left: 0;+ -webkit-animation: sk-doubleBounce 2s infinite ease-in-out;+ animation: sk-doubleBounce 2s infinite ease-in-out; }+ .sk-double-bounce .sk-double-bounce2 {+ -webkit-animation-delay: -1.0s;+ animation-delay: -1.0s; }++@-webkit-keyframes sk-doubleBounce {+ 0%, 100% {+ -webkit-transform: scale(0);+ transform: scale(0); }+ 50% {+ -webkit-transform: scale(1);+ transform: scale(1); } }++@keyframes sk-doubleBounce {+ 0%, 100% {+ -webkit-transform: scale(0);+ transform: scale(0); }+ 50% {+ -webkit-transform: scale(1);+ transform: scale(1); } }++/*+ * Usage:+ *+ <div class="sk-wave">+ <div class="sk-rect sk-rect1"></div>+ <div class="sk-rect sk-rect2"></div>+ <div class="sk-rect sk-rect3"></div>+ <div class="sk-rect sk-rect4"></div>+ <div class="sk-rect sk-rect5"></div>+ </div>+ *+ */+.sk-wave {+ margin: 40px auto;+ width: 50px;+ height: 40px;+ text-align: center;+ font-size: 10px; }+ .sk-wave .sk-rect {+ background-color: #333;+ height: 100%;+ width: 6px;+ display: inline-block;+ -webkit-animation: sk-waveStretchDelay 1.2s infinite ease-in-out;+ animation: sk-waveStretchDelay 1.2s infinite ease-in-out; }+ .sk-wave .sk-rect1 {+ -webkit-animation-delay: -1.2s;+ animation-delay: -1.2s; }+ .sk-wave .sk-rect2 {+ -webkit-animation-delay: -1.1s;+ animation-delay: -1.1s; }+ .sk-wave .sk-rect3 {+ -webkit-animation-delay: -1s;+ animation-delay: -1s; }+ .sk-wave .sk-rect4 {+ -webkit-animation-delay: -0.9s;+ animation-delay: -0.9s; }+ .sk-wave .sk-rect5 {+ -webkit-animation-delay: -0.8s;+ animation-delay: -0.8s; }++@-webkit-keyframes sk-waveStretchDelay {+ 0%, 40%, 100% {+ -webkit-transform: scaleY(0.4);+ transform: scaleY(0.4); }+ 20% {+ -webkit-transform: scaleY(1);+ transform: scaleY(1); } }++@keyframes sk-waveStretchDelay {+ 0%, 40%, 100% {+ -webkit-transform: scaleY(0.4);+ transform: scaleY(0.4); }+ 20% {+ -webkit-transform: scaleY(1);+ transform: scaleY(1); } }++/*+ * Usage:+ *+ <div class="sk-wandering-cubes">+ <div class="sk-cube sk-cube1"></div>+ <div class="sk-cube sk-cube2"></div>+ </div>+ *+ */+.sk-wandering-cubes {+ margin: 40px auto;+ width: 40px;+ height: 40px;+ position: relative; }+ .sk-wandering-cubes .sk-cube {+ background-color: #333;+ width: 10px;+ height: 10px;+ position: absolute;+ top: 0;+ left: 0;+ -webkit-animation: sk-wanderingCube 1.8s ease-in-out -1.8s infinite both;+ animation: sk-wanderingCube 1.8s ease-in-out -1.8s infinite both; }+ .sk-wandering-cubes .sk-cube2 {+ -webkit-animation-delay: -0.9s;+ animation-delay: -0.9s; }++@-webkit-keyframes sk-wanderingCube {+ 0% {+ -webkit-transform: rotate(0deg);+ transform: rotate(0deg); }+ 25% {+ -webkit-transform: translateX(30px) rotate(-90deg) scale(0.5);+ transform: translateX(30px) rotate(-90deg) scale(0.5); }+ 50% {+ /* Hack to make FF rotate in the right direction */+ -webkit-transform: translateX(30px) translateY(30px) rotate(-179deg);+ transform: translateX(30px) translateY(30px) rotate(-179deg); }+ 50.1% {+ -webkit-transform: translateX(30px) translateY(30px) rotate(-180deg);+ transform: translateX(30px) translateY(30px) rotate(-180deg); }+ 75% {+ -webkit-transform: translateX(0) translateY(30px) rotate(-270deg) scale(0.5);+ transform: translateX(0) translateY(30px) rotate(-270deg) scale(0.5); }+ 100% {+ -webkit-transform: rotate(-360deg);+ transform: rotate(-360deg); } }++@keyframes sk-wanderingCube {+ 0% {+ -webkit-transform: rotate(0deg);+ transform: rotate(0deg); }+ 25% {+ -webkit-transform: translateX(30px) rotate(-90deg) scale(0.5);+ transform: translateX(30px) rotate(-90deg) scale(0.5); }+ 50% {+ /* Hack to make FF rotate in the right direction */+ -webkit-transform: translateX(30px) translateY(30px) rotate(-179deg);+ transform: translateX(30px) translateY(30px) rotate(-179deg); }+ 50.1% {+ -webkit-transform: translateX(30px) translateY(30px) rotate(-180deg);+ transform: translateX(30px) translateY(30px) rotate(-180deg); }+ 75% {+ -webkit-transform: translateX(0) translateY(30px) rotate(-270deg) scale(0.5);+ transform: translateX(0) translateY(30px) rotate(-270deg) scale(0.5); }+ 100% {+ -webkit-transform: rotate(-360deg);+ transform: rotate(-360deg); } }++/*+ * Usage:+ *+ <div class="sk-spinner sk-spinner-pulse"></div>+ *+ */+.sk-spinner-pulse {+ width: 40px;+ height: 40px;+ margin: 40px auto;+ background-color: #333;+ border-radius: 100%;+ -webkit-animation: sk-pulseScaleOut 1s infinite ease-in-out;+ animation: sk-pulseScaleOut 1s infinite ease-in-out; }++@-webkit-keyframes sk-pulseScaleOut {+ 0% {+ -webkit-transform: scale(0);+ transform: scale(0); }+ 100% {+ -webkit-transform: scale(1);+ transform: scale(1);+ opacity: 0; } }++@keyframes sk-pulseScaleOut {+ 0% {+ -webkit-transform: scale(0);+ transform: scale(0); }+ 100% {+ -webkit-transform: scale(1);+ transform: scale(1);+ opacity: 0; } }++/*+ * Usage:+ *+ <div class="sk-chasing-dots">+ <div class="sk-child sk-dot1"></div>+ <div class="sk-child sk-dot2"></div>+ </div>+ *+ */+.sk-chasing-dots {+ margin: 40px auto;+ width: 40px;+ height: 40px;+ position: relative;+ text-align: center;+ -webkit-animation: sk-chasingDotsRotate 2s infinite linear;+ animation: sk-chasingDotsRotate 2s infinite linear; }+ .sk-chasing-dots .sk-child {+ width: 60%;+ height: 60%;+ display: inline-block;+ position: absolute;+ top: 0;+ background-color: #333;+ border-radius: 100%;+ -webkit-animation: sk-chasingDotsBounce 2s infinite ease-in-out;+ animation: sk-chasingDotsBounce 2s infinite ease-in-out; }+ .sk-chasing-dots .sk-dot2 {+ top: auto;+ bottom: 0;+ -webkit-animation-delay: -1s;+ animation-delay: -1s; }++@-webkit-keyframes sk-chasingDotsRotate {+ 100% {+ -webkit-transform: rotate(360deg);+ transform: rotate(360deg); } }++@keyframes sk-chasingDotsRotate {+ 100% {+ -webkit-transform: rotate(360deg);+ transform: rotate(360deg); } }++@-webkit-keyframes sk-chasingDotsBounce {+ 0%, 100% {+ -webkit-transform: scale(0);+ transform: scale(0); }+ 50% {+ -webkit-transform: scale(1);+ transform: scale(1); } }++@keyframes sk-chasingDotsBounce {+ 0%, 100% {+ -webkit-transform: scale(0);+ transform: scale(0); }+ 50% {+ -webkit-transform: scale(1);+ transform: scale(1); } }++/*+ * Usage:+ *+ <div class="sk-three-bounce">+ <div class="sk-child sk-bounce1"></div>+ <div class="sk-child sk-bounce2"></div>+ <div class="sk-child sk-bounce3"></div>+ </div>+ *+ */+.sk-three-bounce {+ margin: 40px auto;+ width: 80px;+ text-align: center; }+ .sk-three-bounce .sk-child {+ width: 20px;+ height: 20px;+ background-color: #333;+ border-radius: 100%;+ display: inline-block;+ -webkit-animation: sk-three-bounce 1.4s ease-in-out 0s infinite both;+ animation: sk-three-bounce 1.4s ease-in-out 0s infinite both; }+ .sk-three-bounce .sk-bounce1 {+ -webkit-animation-delay: -0.32s;+ animation-delay: -0.32s; }+ .sk-three-bounce .sk-bounce2 {+ -webkit-animation-delay: -0.16s;+ animation-delay: -0.16s; }++@-webkit-keyframes sk-three-bounce {+ 0%, 80%, 100% {+ -webkit-transform: scale(0);+ transform: scale(0); }+ 40% {+ -webkit-transform: scale(1);+ transform: scale(1); } }++@keyframes sk-three-bounce {+ 0%, 80%, 100% {+ -webkit-transform: scale(0);+ transform: scale(0); }+ 40% {+ -webkit-transform: scale(1);+ transform: scale(1); } }++/*+ * Usage:+ *+ <div class="sk-circle">+ <div class="sk-circle1 sk-child"></div>+ <div class="sk-circle2 sk-child"></div>+ <div class="sk-circle3 sk-child"></div>+ <div class="sk-circle4 sk-child"></div>+ <div class="sk-circle5 sk-child"></div>+ <div class="sk-circle6 sk-child"></div>+ <div class="sk-circle7 sk-child"></div>+ <div class="sk-circle8 sk-child"></div>+ <div class="sk-circle9 sk-child"></div>+ <div class="sk-circle10 sk-child"></div>+ <div class="sk-circle11 sk-child"></div>+ <div class="sk-circle12 sk-child"></div>+ </div>+ *+ */+.sk-circle {+ margin: 40px auto;+ width: 40px;+ height: 40px;+ position: relative; }+ .sk-circle .sk-child {+ width: 100%;+ height: 100%;+ position: absolute;+ left: 0;+ top: 0; }+ .sk-circle .sk-child:before {+ content: '';+ display: block;+ margin: 0 auto;+ width: 15%;+ height: 15%;+ background-color: #333;+ border-radius: 100%;+ -webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;+ animation: sk-circleBounceDelay 1.2s infinite ease-in-out both; }+ .sk-circle .sk-circle2 {+ -webkit-transform: rotate(30deg);+ -ms-transform: rotate(30deg);+ transform: rotate(30deg); }+ .sk-circle .sk-circle3 {+ -webkit-transform: rotate(60deg);+ -ms-transform: rotate(60deg);+ transform: rotate(60deg); }+ .sk-circle .sk-circle4 {+ -webkit-transform: rotate(90deg);+ -ms-transform: rotate(90deg);+ transform: rotate(90deg); }+ .sk-circle .sk-circle5 {+ -webkit-transform: rotate(120deg);+ -ms-transform: rotate(120deg);+ transform: rotate(120deg); }+ .sk-circle .sk-circle6 {+ -webkit-transform: rotate(150deg);+ -ms-transform: rotate(150deg);+ transform: rotate(150deg); }+ .sk-circle .sk-circle7 {+ -webkit-transform: rotate(180deg);+ -ms-transform: rotate(180deg);+ transform: rotate(180deg); }+ .sk-circle .sk-circle8 {+ -webkit-transform: rotate(210deg);+ -ms-transform: rotate(210deg);+ transform: rotate(210deg); }+ .sk-circle .sk-circle9 {+ -webkit-transform: rotate(240deg);+ -ms-transform: rotate(240deg);+ transform: rotate(240deg); }+ .sk-circle .sk-circle10 {+ -webkit-transform: rotate(270deg);+ -ms-transform: rotate(270deg);+ transform: rotate(270deg); }+ .sk-circle .sk-circle11 {+ -webkit-transform: rotate(300deg);+ -ms-transform: rotate(300deg);+ transform: rotate(300deg); }+ .sk-circle .sk-circle12 {+ -webkit-transform: rotate(330deg);+ -ms-transform: rotate(330deg);+ transform: rotate(330deg); }+ .sk-circle .sk-circle2:before {+ -webkit-animation-delay: -1.1s;+ animation-delay: -1.1s; }+ .sk-circle .sk-circle3:before {+ -webkit-animation-delay: -1s;+ animation-delay: -1s; }+ .sk-circle .sk-circle4:before {+ -webkit-animation-delay: -0.9s;+ animation-delay: -0.9s; }+ .sk-circle .sk-circle5:before {+ -webkit-animation-delay: -0.8s;+ animation-delay: -0.8s; }+ .sk-circle .sk-circle6:before {+ -webkit-animation-delay: -0.7s;+ animation-delay: -0.7s; }+ .sk-circle .sk-circle7:before {+ -webkit-animation-delay: -0.6s;+ animation-delay: -0.6s; }+ .sk-circle .sk-circle8:before {+ -webkit-animation-delay: -0.5s;+ animation-delay: -0.5s; }+ .sk-circle .sk-circle9:before {+ -webkit-animation-delay: -0.4s;+ animation-delay: -0.4s; }+ .sk-circle .sk-circle10:before {+ -webkit-animation-delay: -0.3s;+ animation-delay: -0.3s; }+ .sk-circle .sk-circle11:before {+ -webkit-animation-delay: -0.2s;+ animation-delay: -0.2s; }+ .sk-circle .sk-circle12:before {+ -webkit-animation-delay: -0.1s;+ animation-delay: -0.1s; }++@-webkit-keyframes sk-circleBounceDelay {+ 0%, 80%, 100% {+ -webkit-transform: scale(0);+ transform: scale(0); }+ 40% {+ -webkit-transform: scale(1);+ transform: scale(1); } }++@keyframes sk-circleBounceDelay {+ 0%, 80%, 100% {+ -webkit-transform: scale(0);+ transform: scale(0); }+ 40% {+ -webkit-transform: scale(1);+ transform: scale(1); } }++/*+ * Usage:+ *+ <div class="sk-cube-grid">+ <div class="sk-cube sk-cube1"></div>+ <div class="sk-cube sk-cube2"></div>+ <div class="sk-cube sk-cube3"></div>+ <div class="sk-cube sk-cube4"></div>+ <div class="sk-cube sk-cube5"></div>+ <div class="sk-cube sk-cube6"></div>+ <div class="sk-cube sk-cube7"></div>+ <div class="sk-cube sk-cube8"></div>+ <div class="sk-cube sk-cube9"></div>+ </div>+ *+ */+.sk-cube-grid {+ width: 40px;+ height: 40px;+ margin: 40px auto;+ /*+ * Spinner positions+ * 1 2 3+ * 4 5 6+ * 7 8 9+ */ }+ .sk-cube-grid .sk-cube {+ width: 33.33%;+ height: 33.33%;+ background-color: #333;+ float: left;+ -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;+ animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out; }+ .sk-cube-grid .sk-cube1 {+ -webkit-animation-delay: 0.2s;+ animation-delay: 0.2s; }+ .sk-cube-grid .sk-cube2 {+ -webkit-animation-delay: 0.3s;+ animation-delay: 0.3s; }+ .sk-cube-grid .sk-cube3 {+ -webkit-animation-delay: 0.4s;+ animation-delay: 0.4s; }+ .sk-cube-grid .sk-cube4 {+ -webkit-animation-delay: 0.1s;+ animation-delay: 0.1s; }+ .sk-cube-grid .sk-cube5 {+ -webkit-animation-delay: 0.2s;+ animation-delay: 0.2s; }+ .sk-cube-grid .sk-cube6 {+ -webkit-animation-delay: 0.3s;+ animation-delay: 0.3s; }+ .sk-cube-grid .sk-cube7 {+ -webkit-animation-delay: 0.0s;+ animation-delay: 0.0s; }+ .sk-cube-grid .sk-cube8 {+ -webkit-animation-delay: 0.1s;+ animation-delay: 0.1s; }+ .sk-cube-grid .sk-cube9 {+ -webkit-animation-delay: 0.2s;+ animation-delay: 0.2s; }++@-webkit-keyframes sk-cubeGridScaleDelay {+ 0%, 70%, 100% {+ -webkit-transform: scale3D(1, 1, 1);+ transform: scale3D(1, 1, 1); }+ 35% {+ -webkit-transform: scale3D(0, 0, 1);+ transform: scale3D(0, 0, 1); } }++@keyframes sk-cubeGridScaleDelay {+ 0%, 70%, 100% {+ -webkit-transform: scale3D(1, 1, 1);+ transform: scale3D(1, 1, 1); }+ 35% {+ -webkit-transform: scale3D(0, 0, 1);+ transform: scale3D(0, 0, 1); } }++/*+ * Usage:+ *+ <div class="sk-fading-circle">+ <div class="sk-circle1 sk-circle"></div>+ <div class="sk-circle2 sk-circle"></div>+ <div class="sk-circle3 sk-circle"></div>+ <div class="sk-circle4 sk-circle"></div>+ <div class="sk-circle5 sk-circle"></div>+ <div class="sk-circle6 sk-circle"></div>+ <div class="sk-circle7 sk-circle"></div>+ <div class="sk-circle8 sk-circle"></div>+ <div class="sk-circle9 sk-circle"></div>+ <div class="sk-circle10 sk-circle"></div>+ <div class="sk-circle11 sk-circle"></div>+ <div class="sk-circle12 sk-circle"></div>+ </div>+ *+ */+.sk-fading-circle {+ margin: 40px auto;+ width: 40px;+ height: 40px;+ position: relative; }+ .sk-fading-circle .sk-circle {+ width: 100%;+ height: 100%;+ position: absolute;+ left: 0;+ top: 0; }+ .sk-fading-circle .sk-circle:before {+ content: '';+ display: block;+ margin: 0 auto;+ width: 15%;+ height: 15%;+ background-color: #333;+ border-radius: 100%;+ -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;+ animation: sk-circleFadeDelay 1.2s infinite ease-in-out both; }+ .sk-fading-circle .sk-circle2 {+ -webkit-transform: rotate(30deg);+ -ms-transform: rotate(30deg);+ transform: rotate(30deg); }+ .sk-fading-circle .sk-circle3 {+ -webkit-transform: rotate(60deg);+ -ms-transform: rotate(60deg);+ transform: rotate(60deg); }+ .sk-fading-circle .sk-circle4 {+ -webkit-transform: rotate(90deg);+ -ms-transform: rotate(90deg);+ transform: rotate(90deg); }+ .sk-fading-circle .sk-circle5 {+ -webkit-transform: rotate(120deg);+ -ms-transform: rotate(120deg);+ transform: rotate(120deg); }+ .sk-fading-circle .sk-circle6 {+ -webkit-transform: rotate(150deg);+ -ms-transform: rotate(150deg);+ transform: rotate(150deg); }+ .sk-fading-circle .sk-circle7 {+ -webkit-transform: rotate(180deg);+ -ms-transform: rotate(180deg);+ transform: rotate(180deg); }+ .sk-fading-circle .sk-circle8 {+ -webkit-transform: rotate(210deg);+ -ms-transform: rotate(210deg);+ transform: rotate(210deg); }+ .sk-fading-circle .sk-circle9 {+ -webkit-transform: rotate(240deg);+ -ms-transform: rotate(240deg);+ transform: rotate(240deg); }+ .sk-fading-circle .sk-circle10 {+ -webkit-transform: rotate(270deg);+ -ms-transform: rotate(270deg);+ transform: rotate(270deg); }+ .sk-fading-circle .sk-circle11 {+ -webkit-transform: rotate(300deg);+ -ms-transform: rotate(300deg);+ transform: rotate(300deg); }+ .sk-fading-circle .sk-circle12 {+ -webkit-transform: rotate(330deg);+ -ms-transform: rotate(330deg);+ transform: rotate(330deg); }+ .sk-fading-circle .sk-circle2:before {+ -webkit-animation-delay: -1.1s;+ animation-delay: -1.1s; }+ .sk-fading-circle .sk-circle3:before {+ -webkit-animation-delay: -1s;+ animation-delay: -1s; }+ .sk-fading-circle .sk-circle4:before {+ -webkit-animation-delay: -0.9s;+ animation-delay: -0.9s; }+ .sk-fading-circle .sk-circle5:before {+ -webkit-animation-delay: -0.8s;+ animation-delay: -0.8s; }+ .sk-fading-circle .sk-circle6:before {+ -webkit-animation-delay: -0.7s;+ animation-delay: -0.7s; }+ .sk-fading-circle .sk-circle7:before {+ -webkit-animation-delay: -0.6s;+ animation-delay: -0.6s; }+ .sk-fading-circle .sk-circle8:before {+ -webkit-animation-delay: -0.5s;+ animation-delay: -0.5s; }+ .sk-fading-circle .sk-circle9:before {+ -webkit-animation-delay: -0.4s;+ animation-delay: -0.4s; }+ .sk-fading-circle .sk-circle10:before {+ -webkit-animation-delay: -0.3s;+ animation-delay: -0.3s; }+ .sk-fading-circle .sk-circle11:before {+ -webkit-animation-delay: -0.2s;+ animation-delay: -0.2s; }+ .sk-fading-circle .sk-circle12:before {+ -webkit-animation-delay: -0.1s;+ animation-delay: -0.1s; }++@-webkit-keyframes sk-circleFadeDelay {+ 0%, 39%, 100% {+ opacity: 0; }+ 40% {+ opacity: 1; } }++@keyframes sk-circleFadeDelay {+ 0%, 39%, 100% {+ opacity: 0; }+ 40% {+ opacity: 1; } }++/*+ * Usage:+ *+ <div class="sk-folding-cube">+ <div class="sk-cube1 sk-cube"></div>+ <div class="sk-cube2 sk-cube"></div>+ <div class="sk-cube4 sk-cube"></div>+ <div class="sk-cube3 sk-cube"></div>+ </div>+ *+ */+.sk-folding-cube {+ margin: 40px auto;+ width: 40px;+ height: 40px;+ position: relative;+ -webkit-transform: rotateZ(45deg);+ transform: rotateZ(45deg); }+ .sk-folding-cube .sk-cube {+ float: left;+ width: 50%;+ height: 50%;+ position: relative;+ -webkit-transform: scale(1.1);+ -ms-transform: scale(1.1);+ transform: scale(1.1); }+ .sk-folding-cube .sk-cube:before {+ content: '';+ position: absolute;+ top: 0;+ left: 0;+ width: 100%;+ height: 100%;+ background-color: #333;+ -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;+ animation: sk-foldCubeAngle 2.4s infinite linear both;+ -webkit-transform-origin: 100% 100%;+ -ms-transform-origin: 100% 100%;+ transform-origin: 100% 100%; }+ .sk-folding-cube .sk-cube2 {+ -webkit-transform: scale(1.1) rotateZ(90deg);+ transform: scale(1.1) rotateZ(90deg); }+ .sk-folding-cube .sk-cube3 {+ -webkit-transform: scale(1.1) rotateZ(180deg);+ transform: scale(1.1) rotateZ(180deg); }+ .sk-folding-cube .sk-cube4 {+ -webkit-transform: scale(1.1) rotateZ(270deg);+ transform: scale(1.1) rotateZ(270deg); }+ .sk-folding-cube .sk-cube2:before {+ -webkit-animation-delay: 0.3s;+ animation-delay: 0.3s; }+ .sk-folding-cube .sk-cube3:before {+ -webkit-animation-delay: 0.6s;+ animation-delay: 0.6s; }+ .sk-folding-cube .sk-cube4:before {+ -webkit-animation-delay: 0.9s;+ animation-delay: 0.9s; }++@-webkit-keyframes sk-foldCubeAngle {+ 0%, 10% {+ -webkit-transform: perspective(140px) rotateX(-180deg);+ transform: perspective(140px) rotateX(-180deg);+ opacity: 0; }+ 25%, 75% {+ -webkit-transform: perspective(140px) rotateX(0deg);+ transform: perspective(140px) rotateX(0deg);+ opacity: 1; }+ 90%, 100% {+ -webkit-transform: perspective(140px) rotateY(180deg);+ transform: perspective(140px) rotateY(180deg);+ opacity: 0; } }++@keyframes sk-foldCubeAngle {+ 0%, 10% {+ -webkit-transform: perspective(140px) rotateX(-180deg);+ transform: perspective(140px) rotateX(-180deg);+ opacity: 0; }+ 25%, 75% {+ -webkit-transform: perspective(140px) rotateX(0deg);+ transform: perspective(140px) rotateX(0deg);+ opacity: 1; }+ 90%, 100% {+ -webkit-transform: perspective(140px) rotateY(180deg);+ transform: perspective(140px) rotateY(180deg);+ opacity: 0; } }diff --git a/data/libs/spinkit/spinkit.css b/data/libs/spinkit/spinkit.cssdeleted file mode 100644index a2a3c73f3..000000000--- a/data/libs/spinkit/spinkit.css+++ /dev/null@@ -1,758 +0,0 @@-/*- * Usage:- *- * <div class="sk-spinner sk-spinner-rotating-plane"></div>- *- */-.sk-spinner-rotating-plane.sk-spinner {- width: 30px;- height: 30px;- background-color: #333;- margin: 0 auto;- -webkit-animation: sk-rotatePlane 1.2s infinite ease-in-out;- animation: sk-rotatePlane 1.2s infinite ease-in-out; }--@-webkit-keyframes sk-rotatePlane {- 0% {- -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);- transform: perspective(120px) rotateX(0deg) rotateY(0deg); }-- 50% {- -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);- transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }-- 100% {- -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);- transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); } }--@keyframes sk-rotatePlane {- 0% {- -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);- transform: perspective(120px) rotateX(0deg) rotateY(0deg); }-- 50% {- -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);- transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }-- 100% {- -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);- transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); } }--/*- * Usage:- *- * <div class="sk-spinner sk-spinner-double-bounce">- * <div class="sk-double-bounce1"></div>- * <div class="sk-double-bounce2"></div>- * </div>- *- */-.sk-spinner-double-bounce.sk-spinner {- width: 40px;- height: 40px;- position: relative;- margin: 0 auto; }-.sk-spinner-double-bounce .sk-double-bounce1, .sk-spinner-double-bounce .sk-double-bounce2 {- width: 100%;- height: 100%;- border-radius: 50%;- background-color: #333;- opacity: 0.6;- position: absolute;- top: 0;- left: 0;- -webkit-animation: sk-doubleBounce 2s infinite ease-in-out;- animation: sk-doubleBounce 2s infinite ease-in-out; }-.sk-spinner-double-bounce .sk-double-bounce2 {- -webkit-animation-delay: -1s;- animation-delay: -1s; }--@-webkit-keyframes sk-doubleBounce {- 0%, 100% {- -webkit-transform: scale(0);- transform: scale(0); }-- 50% {- -webkit-transform: scale(1);- transform: scale(1); } }--@keyframes sk-doubleBounce {- 0%, 100% {- -webkit-transform: scale(0);- transform: scale(0); }-- 50% {- -webkit-transform: scale(1);- transform: scale(1); } }--/*- * Usage:- *- * <div class="sk-spinner sk-spinner-wave">- * <div class="sk-rect1"></div>- * <div class="sk-rect2"></div>- * <div class="sk-rect3"></div>- * <div class="sk-rect4"></div>- * <div class="sk-rect5"></div>- * </div>- *- */-.sk-spinner-wave.sk-spinner {- margin: 0 auto;- width: 50px;- height: 30px;- text-align: center;- font-size: 10px; }-.sk-spinner-wave div {- background-color: #333;- height: 100%;- width: 6px;- display: inline-block;- -webkit-animation: sk-waveStretchDelay 1.2s infinite ease-in-out;- animation: sk-waveStretchDelay 1.2s infinite ease-in-out; }-.sk-spinner-wave .sk-rect2 {- -webkit-animation-delay: -1.1s;- animation-delay: -1.1s; }-.sk-spinner-wave .sk-rect3 {- -webkit-animation-delay: -1s;- animation-delay: -1s; }-.sk-spinner-wave .sk-rect4 {- -webkit-animation-delay: -0.9s;- animation-delay: -0.9s; }-.sk-spinner-wave .sk-rect5 {- -webkit-animation-delay: -0.8s;- animation-delay: -0.8s; }--@-webkit-keyframes sk-waveStretchDelay {- 0%, 40%, 100% {- -webkit-transform: scaleY(0.4);- transform: scaleY(0.4); }-- 20% {- -webkit-transform: scaleY(1);- transform: scaleY(1); } }--@keyframes sk-waveStretchDelay {- 0%, 40%, 100% {- -webkit-transform: scaleY(0.4);- transform: scaleY(0.4); }-- 20% {- -webkit-transform: scaleY(1);- transform: scaleY(1); } }--/*- * Usage:- *- * <div class="sk-spinner sk-spinner-wandering-cubes">- * <div class="sk-cube1"></div>- * <div class="sk-cube2"></div>- * </div>- *- */-.sk-spinner-wandering-cubes.sk-spinner {- margin: 0 auto;- width: 32px;- height: 32px;- position: relative; }-.sk-spinner-wandering-cubes .sk-cube1, .sk-spinner-wandering-cubes .sk-cube2 {- background-color: #333;- width: 10px;- height: 10px;- position: absolute;- top: 0;- left: 0;- -webkit-animation: sk-wanderingCubeMove 1.8s infinite ease-in-out;- animation: sk-wanderingCubeMove 1.8s infinite ease-in-out; }-.sk-spinner-wandering-cubes .sk-cube2 {- -webkit-animation-delay: -0.9s;- animation-delay: -0.9s; }--@-webkit-keyframes sk-wanderingCubeMove {- 25% {- -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);- transform: translateX(42px) rotate(-90deg) scale(0.5); }-- 50% {- /* Hack to make FF rotate in the right direction */- -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);- transform: translateX(42px) translateY(42px) rotate(-179deg); }-- 50.1% {- -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);- transform: translateX(42px) translateY(42px) rotate(-180deg); }-- 75% {- -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);- transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5); }-- 100% {- -webkit-transform: rotate(-360deg);- transform: rotate(-360deg); } }--@keyframes sk-wanderingCubeMove {- 25% {- -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);- transform: translateX(42px) rotate(-90deg) scale(0.5); }-- 50% {- /* Hack to make FF rotate in the right direction */- -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);- transform: translateX(42px) translateY(42px) rotate(-179deg); }-- 50.1% {- -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);- transform: translateX(42px) translateY(42px) rotate(-180deg); }-- 75% {- -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);- transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5); }-- 100% {- -webkit-transform: rotate(-360deg);- transform: rotate(-360deg); } }--/*- * Usage:- *- * <div class="sk-spinner sk-spinner-pulse"></div>- *- */-.sk-spinner-pulse.sk-spinner {- width: 40px;- height: 40px;- margin: 0 auto;- background-color: #333;- border-radius: 100%;- -webkit-animation: sk-pulseScaleOut 1s infinite ease-in-out;- animation: sk-pulseScaleOut 1s infinite ease-in-out; }--@-webkit-keyframes sk-pulseScaleOut {- 0% {- -webkit-transform: scale(0);- transform: scale(0); }-- 100% {- -webkit-transform: scale(1);- transform: scale(1);- opacity: 0; } }--@keyframes sk-pulseScaleOut {- 0% {- -webkit-transform: scale(0);- transform: scale(0); }-- 100% {- -webkit-transform: scale(1);- transform: scale(1);- opacity: 0; } }--/*- * Usage:- *- * <div class="sk-spinner sk-spinner-chasing-dots">- * <div class="sk-dot1"></div>- * <div class="sk-dot2"></div>- * </div>- *- */-.sk-spinner-chasing-dots.sk-spinner {- margin: 0 auto;- width: 40px;- height: 40px;- position: relative;- text-align: center;- -webkit-animation: sk-chasingDotsRotate 2s infinite linear;- animation: sk-chasingDotsRotate 2s infinite linear; }-.sk-spinner-chasing-dots .sk-dot1, .sk-spinner-chasing-dots .sk-dot2 {- width: 60%;- height: 60%;- display: inline-block;- position: absolute;- top: 0;- background-color: #333;- border-radius: 100%;- -webkit-animation: sk-chasingDotsBounce 2s infinite ease-in-out;- animation: sk-chasingDotsBounce 2s infinite ease-in-out; }-.sk-spinner-chasing-dots .sk-dot2 {- top: auto;- bottom: 0px;- -webkit-animation-delay: -1s;- animation-delay: -1s; }--@-webkit-keyframes sk-chasingDotsRotate {- 100% {- -webkit-transform: rotate(360deg);- transform: rotate(360deg); } }--@keyframes sk-chasingDotsRotate {- 100% {- -webkit-transform: rotate(360deg);- transform: rotate(360deg); } }--@-webkit-keyframes sk-chasingDotsBounce {- 0%, 100% {- -webkit-transform: scale(0);- transform: scale(0); }-- 50% {- -webkit-transform: scale(1);- transform: scale(1); } }--@keyframes sk-chasingDotsBounce {- 0%, 100% {- -webkit-transform: scale(0);- transform: scale(0); }-- 50% {- -webkit-transform: scale(1);- transform: scale(1); } }--/*- * Usage:- *- * <div class="sk-spinner sk-spinner-three-bounce">- * <div class="sk-bounce1"></div>- * <div class="sk-bounce2"></div>- * <div class="sk-bounce3"></div>- * </div>- *- */-.sk-spinner-three-bounce.sk-spinner {- margin: 0 auto;- width: 70px;- text-align: center; }-.sk-spinner-three-bounce div {- width: 18px;- height: 18px;- background-color: #333;- border-radius: 100%;- display: inline-block;- -webkit-animation: sk-threeBounceDelay 1.4s infinite ease-in-out;- animation: sk-threeBounceDelay 1.4s infinite ease-in-out;- /* Prevent first frame from flickering when animation starts */- -webkit-animation-fill-mode: both;- animation-fill-mode: both; }-.sk-spinner-three-bounce .sk-bounce1 {- -webkit-animation-delay: -0.32s;- animation-delay: -0.32s; }-.sk-spinner-three-bounce .sk-bounce2 {- -webkit-animation-delay: -0.16s;- animation-delay: -0.16s; }--@-webkit-keyframes sk-threeBounceDelay {- 0%, 80%, 100% {- -webkit-transform: scale(0);- transform: scale(0); }-- 40% {- -webkit-transform: scale(1);- transform: scale(1); } }--@keyframes sk-threeBounceDelay {- 0%, 80%, 100% {- -webkit-transform: scale(0);- transform: scale(0); }-- 40% {- -webkit-transform: scale(1);- transform: scale(1); } }--/*- * Usage:- *- * <div class="sk-spinner sk-spinner-circle">- * <div class="sk-circle1 sk-circle"></div>- * <div class="sk-circle2 sk-circle"></div>- * <div class="sk-circle3 sk-circle"></div>- * <div class="sk-circle4 sk-circle"></div>- * <div class="sk-circle5 sk-circle"></div>- * <div class="sk-circle6 sk-circle"></div>- * <div class="sk-circle7 sk-circle"></div>- * <div class="sk-circle8 sk-circle"></div>- * <div class="sk-circle9 sk-circle"></div>- * <div class="sk-circle10 sk-circle"></div>- * <div class="sk-circle11 sk-circle"></div>- * <div class="sk-circle12 sk-circle"></div>- * </div>- *- */-.sk-spinner-circle.sk-spinner {- margin: 0 auto;- width: 22px;- height: 22px;- position: relative; }-.sk-spinner-circle .sk-circle {- width: 100%;- height: 100%;- position: absolute;- left: 0;- top: 0; }-.sk-spinner-circle .sk-circle:before {- content: '';- display: block;- margin: 0 auto;- width: 20%;- height: 20%;- background-color: #333;- border-radius: 100%;- -webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out;- animation: sk-circleBounceDelay 1.2s infinite ease-in-out;- /* Prevent first frame from flickering when animation starts */- -webkit-animation-fill-mode: both;- animation-fill-mode: both; }-.sk-spinner-circle .sk-circle2 {- -webkit-transform: rotate(30deg);- -ms-transform: rotate(30deg);- transform: rotate(30deg); }-.sk-spinner-circle .sk-circle3 {- -webkit-transform: rotate(60deg);- -ms-transform: rotate(60deg);- transform: rotate(60deg); }-.sk-spinner-circle .sk-circle4 {- -webkit-transform: rotate(90deg);- -ms-transform: rotate(90deg);- transform: rotate(90deg); }-.sk-spinner-circle .sk-circle5 {- -webkit-transform: rotate(120deg);- -ms-transform: rotate(120deg);- transform: rotate(120deg); }-.sk-spinner-circle .sk-circle6 {- -webkit-transform: rotate(150deg);- -ms-transform: rotate(150deg);- transform: rotate(150deg); }-.sk-spinner-circle .sk-circle7 {- -webkit-transform: rotate(180deg);- -ms-transform: rotate(180deg);- transform: rotate(180deg); }-.sk-spinner-circle .sk-circle8 {- -webkit-transform: rotate(210deg);- -ms-transform: rotate(210deg);- transform: rotate(210deg); }-.sk-spinner-circle .sk-circle9 {- -webkit-transform: rotate(240deg);- -ms-transform: rotate(240deg);- transform: rotate(240deg); }-.sk-spinner-circle .sk-circle10 {- -webkit-transform: rotate(270deg);- -ms-transform: rotate(270deg);- transform: rotate(270deg); }-.sk-spinner-circle .sk-circle11 {- -webkit-transform: rotate(300deg);- -ms-transform: rotate(300deg);- transform: rotate(300deg); }-.sk-spinner-circle .sk-circle12 {- -webkit-transform: rotate(330deg);- -ms-transform: rotate(330deg);- transform: rotate(330deg); }-.sk-spinner-circle .sk-circle2:before {- -webkit-animation-delay: -1.1s;- animation-delay: -1.1s; }-.sk-spinner-circle .sk-circle3:before {- -webkit-animation-delay: -1s;- animation-delay: -1s; }-.sk-spinner-circle .sk-circle4:before {- -webkit-animation-delay: -0.9s;- animation-delay: -0.9s; }-.sk-spinner-circle .sk-circle5:before {- -webkit-animation-delay: -0.8s;- animation-delay: -0.8s; }-.sk-spinner-circle .sk-circle6:before {- -webkit-animation-delay: -0.7s;- animation-delay: -0.7s; }-.sk-spinner-circle .sk-circle7:before {- -webkit-animation-delay: -0.6s;- animation-delay: -0.6s; }-.sk-spinner-circle .sk-circle8:before {- -webkit-animation-delay: -0.5s;- animation-delay: -0.5s; }-.sk-spinner-circle .sk-circle9:before {- -webkit-animation-delay: -0.4s;- animation-delay: -0.4s; }-.sk-spinner-circle .sk-circle10:before {- -webkit-animation-delay: -0.3s;- animation-delay: -0.3s; }-.sk-spinner-circle .sk-circle11:before {- -webkit-animation-delay: -0.2s;- animation-delay: -0.2s; }-.sk-spinner-circle .sk-circle12:before {- -webkit-animation-delay: -0.1s;- animation-delay: -0.1s; }--@-webkit-keyframes sk-circleBounceDelay {- 0%, 80%, 100% {- -webkit-transform: scale(0);- transform: scale(0); }-- 40% {- -webkit-transform: scale(1);- transform: scale(1); } }--@keyframes sk-circleBounceDelay {- 0%, 80%, 100% {- -webkit-transform: scale(0);- transform: scale(0); }-- 40% {- -webkit-transform: scale(1);- transform: scale(1); } }--/*- * Usage:- *- * <div class="sk-spinner sk-spinner-cube-grid">- * <div class="sk-cube"></div>- * <div class="sk-cube"></div>- * <div class="sk-cube"></div>- * <div class="sk-cube"></div>- * <div class="sk-cube"></div>- * <div class="sk-cube"></div>- * <div class="sk-cube"></div>- * <div class="sk-cube"></div>- * <div class="sk-cube"></div>- * </div>- *- */-.sk-spinner-cube-grid {- /*- * Spinner positions- * 1 2 3- * 4 5 6- * 7 8 9- */ }- .sk-spinner-cube-grid.sk-spinner {- width: 30px;- height: 30px;- margin: 0 auto; }- .sk-spinner-cube-grid .sk-cube {- width: 33%;- height: 33%;- background: #333;- float: left;- -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;- animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out; }- .sk-spinner-cube-grid .sk-cube:nth-child(1) {- -webkit-animation-delay: 0.2s;- animation-delay: 0.2s; }- .sk-spinner-cube-grid .sk-cube:nth-child(2) {- -webkit-animation-delay: 0.3s;- animation-delay: 0.3s; }- .sk-spinner-cube-grid .sk-cube:nth-child(3) {- -webkit-animation-delay: 0.4s;- animation-delay: 0.4s; }- .sk-spinner-cube-grid .sk-cube:nth-child(4) {- -webkit-animation-delay: 0.1s;- animation-delay: 0.1s; }- .sk-spinner-cube-grid .sk-cube:nth-child(5) {- -webkit-animation-delay: 0.2s;- animation-delay: 0.2s; }- .sk-spinner-cube-grid .sk-cube:nth-child(6) {- -webkit-animation-delay: 0.3s;- animation-delay: 0.3s; }- .sk-spinner-cube-grid .sk-cube:nth-child(7) {- -webkit-animation-delay: 0s;- animation-delay: 0s; }- .sk-spinner-cube-grid .sk-cube:nth-child(8) {- -webkit-animation-delay: 0.1s;- animation-delay: 0.1s; }- .sk-spinner-cube-grid .sk-cube:nth-child(9) {- -webkit-animation-delay: 0.2s;- animation-delay: 0.2s; }--@-webkit-keyframes sk-cubeGridScaleDelay {- 0%, 70%, 100% {- -webkit-transform: scale3D(1, 1, 1);- transform: scale3D(1, 1, 1); }-- 35% {- -webkit-transform: scale3D(0, 0, 1);- transform: scale3D(0, 0, 1); } }--@keyframes sk-cubeGridScaleDelay {- 0%, 70%, 100% {- -webkit-transform: scale3D(1, 1, 1);- transform: scale3D(1, 1, 1); }-- 35% {- -webkit-transform: scale3D(0, 0, 1);- transform: scale3D(0, 0, 1); } }--/*- * Usage:- *- * <div class="sk-spinner sk-spinner-wordpress">- * <span class="sk-inner-circle"></span>- * </div>- *- */-.sk-spinner-wordpress.sk-spinner {- background: #333;- width: 30px;- height: 30px;- border-radius: 30px;- position: relative;- margin: 0 auto;- -webkit-animation: sk-innerCircle 1s linear infinite;- animation: sk-innerCircle 1s linear infinite; }-.sk-spinner-wordpress .sk-inner-circle {- display: block;- background: #fff;- width: 8px;- height: 8px;- position: absolute;- border-radius: 8px;- top: 5px;- left: 5px; }--@-webkit-keyframes sk-innerCircle {- 0% {- -webkit-transform: rotate(0);- transform: rotate(0); }-- 100% {- -webkit-transform: rotate(360deg);- transform: rotate(360deg); } }--@keyframes sk-innerCircle {- 0% {- -webkit-transform: rotate(0);- transform: rotate(0); }-- 100% {- -webkit-transform: rotate(360deg);- transform: rotate(360deg); } }--/*- * Usage:- *- * <div class="sk-spinner sk-spinner-fading-circle">- * <div class="sk-circle1 sk-circle"></div>- * <div class="sk-circle2 sk-circle"></div>- * <div class="sk-circle3 sk-circle"></div>- * <div class="sk-circle4 sk-circle"></div>- * <div class="sk-circle5 sk-circle"></div>- * <div class="sk-circle6 sk-circle"></div>- * <div class="sk-circle7 sk-circle"></div>- * <div class="sk-circle8 sk-circle"></div>- * <div class="sk-circle9 sk-circle"></div>- * <div class="sk-circle10 sk-circle"></div>- * <div class="sk-circle11 sk-circle"></div>- * <div class="sk-circle12 sk-circle"></div>- * </div>- *- */-.sk-spinner-fading-circle.sk-spinner {- margin: 0 auto;- width: 22px;- height: 22px;- position: relative; }-.sk-spinner-fading-circle .sk-circle {- width: 100%;- height: 100%;- position: absolute;- left: 0;- top: 0; }-.sk-spinner-fading-circle .sk-circle:before {- content: '';- display: block;- margin: 0 auto;- width: 18%;- height: 18%;- background-color: #333;- border-radius: 100%;- -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out;- animation: sk-circleFadeDelay 1.2s infinite ease-in-out;- /* Prevent first frame from flickering when animation starts */- -webkit-animation-fill-mode: both;- animation-fill-mode: both; }-.sk-spinner-fading-circle .sk-circle2 {- -webkit-transform: rotate(30deg);- -ms-transform: rotate(30deg);- transform: rotate(30deg); }-.sk-spinner-fading-circle .sk-circle3 {- -webkit-transform: rotate(60deg);- -ms-transform: rotate(60deg);- transform: rotate(60deg); }-.sk-spinner-fading-circle .sk-circle4 {- -webkit-transform: rotate(90deg);- -ms-transform: rotate(90deg);- transform: rotate(90deg); }-.sk-spinner-fading-circle .sk-circle5 {- -webkit-transform: rotate(120deg);- -ms-transform: rotate(120deg);- transform: rotate(120deg); }-.sk-spinner-fading-circle .sk-circle6 {- -webkit-transform: rotate(150deg);- -ms-transform: rotate(150deg);- transform: rotate(150deg); }-.sk-spinner-fading-circle .sk-circle7 {- -webkit-transform: rotate(180deg);- -ms-transform: rotate(180deg);- transform: rotate(180deg); }-.sk-spinner-fading-circle .sk-circle8 {- -webkit-transform: rotate(210deg);- -ms-transform: rotate(210deg);- transform: rotate(210deg); }-.sk-spinner-fading-circle .sk-circle9 {- -webkit-transform: rotate(240deg);- -ms-transform: rotate(240deg);- transform: rotate(240deg); }-.sk-spinner-fading-circle .sk-circle10 {- -webkit-transform: rotate(270deg);- -ms-transform: rotate(270deg);- transform: rotate(270deg); }-.sk-spinner-fading-circle .sk-circle11 {- -webkit-transform: rotate(300deg);- -ms-transform: rotate(300deg);- transform: rotate(300deg); }-.sk-spinner-fading-circle .sk-circle12 {- -webkit-transform: rotate(330deg);- -ms-transform: rotate(330deg);- transform: rotate(330deg); }-.sk-spinner-fading-circle .sk-circle2:before {- -webkit-animation-delay: -1.1s;- animation-delay: -1.1s; }-.sk-spinner-fading-circle .sk-circle3:before {- -webkit-animation-delay: -1s;- animation-delay: -1s; }-.sk-spinner-fading-circle .sk-circle4:before {- -webkit-animation-delay: -0.9s;- animation-delay: -0.9s; }-.sk-spinner-fading-circle .sk-circle5:before {- -webkit-animation-delay: -0.8s;- animation-delay: -0.8s; }-.sk-spinner-fading-circle .sk-circle6:before {- -webkit-animation-delay: -0.7s;- animation-delay: -0.7s; }-.sk-spinner-fading-circle .sk-circle7:before {- -webkit-animation-delay: -0.6s;- animation-delay: -0.6s; }-.sk-spinner-fading-circle .sk-circle8:before {- -webkit-animation-delay: -0.5s;- animation-delay: -0.5s; }-.sk-spinner-fading-circle .sk-circle9:before {- -webkit-animation-delay: -0.4s;- animation-delay: -0.4s; }-.sk-spinner-fading-circle .sk-circle10:before {- -webkit-animation-delay: -0.3s;- animation-delay: -0.3s; }-.sk-spinner-fading-circle .sk-circle11:before {- -webkit-animation-delay: -0.2s;- animation-delay: -0.2s; }-.sk-spinner-fading-circle .sk-circle12:before {- -webkit-animation-delay: -0.1s;- animation-delay: -0.1s; }--@-webkit-keyframes sk-circleFadeDelay {- 0%, 39%, 100% {- opacity: 0; }-- 40% {- opacity: 1; } }--@keyframes sk-circleFadeDelay {- 0%, 39%, 100% {- opacity: 0; }-- 40% {- opacity: 1; } }diff --git a/data/libs/ubuntu-font/Ubuntu-R.ttf b/data/libs/ubuntu-font/Ubuntu-R.ttfdeleted file mode 100644index 45a038bad..000000000Binary files a/data/libs/ubuntu-font/Ubuntu-R.ttf and /dev/null differdiff --git a/data/libs/ubuntu-font/Ubuntu-R.woff b/data/libs/ubuntu-font/Ubuntu-R.woffdeleted file mode 100644index 3eec0c94a..000000000Binary files a/data/libs/ubuntu-font/Ubuntu-R.woff and /dev/null differdiff --git a/data/libs/ubuntu-font/ubuntu-font-licence-1.0.txt b/data/libs/ubuntu-font/ubuntu-font-licence-1.0.txtdeleted file mode 100644index ae78a8f94..000000000--- a/data/libs/ubuntu-font/ubuntu-font-licence-1.0.txt+++ /dev/null@@ -1,96 +0,0 @@---------------------------------UBUNTU FONT LICENCE Version 1.0----------------------------------PREAMBLE-This licence allows the licensed fonts to be used, studied, modified and-redistributed freely. The fonts, including any derivative works, can be-bundled, embedded, and redistributed provided the terms of this licence-are met. The fonts and derivatives, however, cannot be released under-any other licence. The requirement for fonts to remain under this-licence does not require any document created using the fonts or their-derivatives to be published under this licence, as long as the primary-purpose of the document is not to be a vehicle for the distribution of-the fonts.--DEFINITIONS-"Font Software" refers to the set of files released by the Copyright-Holder(s) under this licence and clearly marked as such. This may-include source files, build scripts and documentation.--"Original Version" refers to the collection of Font Software components-as received under this licence.--"Modified Version" refers to any derivative made by adding to, deleting,-or substituting -- in part or in whole -- any of the components of the-Original Version, by changing formats or by porting the Font Software to-a new environment.--"Copyright Holder(s)" refers to all individuals and companies who have a-copyright ownership of the Font Software.--"Substantially Changed" refers to Modified Versions which can be easily-identified as dissimilar to the Font Software by users of the Font-Software comparing the Original Version with the Modified Version.--To "Propagate" a work means to do anything with it that, without-permission, would make you directly or secondarily liable for-infringement under applicable copyright law, except executing it on a-computer or modifying a private copy. Propagation includes copying,-distribution (with or without modification and with or without charging-a redistribution fee), making available to the public, and in some-countries other activities as well.--PERMISSION & CONDITIONS-This licence does not grant any rights under trademark law and all such-rights are reserved.--Permission is hereby granted, free of charge, to any person obtaining a-copy of the Font Software, to propagate the Font Software, subject to-the below conditions:--1) Each copy of the Font Software must contain the above copyright-notice and this licence. These can be included either as stand-alone-text files, human-readable headers or in the appropriate machine--readable metadata fields within text or binary files as long as those-fields can be easily viewed by the user.--2) The font name complies with the following:-(a) The Original Version must retain its name, unmodified.-(b) Modified Versions which are Substantially Changed must be renamed to-avoid use of the name of the Original Version or similar names entirely.-(c) Modified Versions which are not Substantially Changed must be-renamed to both (i) retain the name of the Original Version and (ii) add-additional naming elements to distinguish the Modified Version from the-Original Version. The name of such Modified Versions must be the name of-the Original Version, with "derivative X" where X represents the name of-the new work, appended to that name.--3) The name(s) of the Copyright Holder(s) and any contributor to the-Font Software shall not be used to promote, endorse or advertise any-Modified Version, except (i) as required by this licence, (ii) to-acknowledge the contribution(s) of the Copyright Holder(s) or (iii) with-their explicit written permission.--4) The Font Software, modified or unmodified, in part or in whole, must-be distributed entirely under this licence, and must not be distributed-under any other licence. The requirement for fonts to remain under this-licence does not affect any document created using the Font Software,-except any version of the Font Software extracted from a document-created using the Font Software may only be distributed under this-licence.--TERMINATION-This licence becomes null and void if any of the above conditions are-not met.--DISCLAIMER-THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF-COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE-COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,-INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL-DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING-FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER-DEALINGS IN THE FONT SOFTWARE.diff --git a/data/libs/underscore/LICENSE[MIT].txt b/data/libs/underscore/LICENSE[MIT].txtdeleted file mode 100644index 3acf90838..000000000--- a/data/libs/underscore/LICENSE[MIT].txt+++ /dev/null@@ -1,23 +0,0 @@-Copyright (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative-Reporters & Editors--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.diff --git a/data/libs/underscore/index.js b/data/libs/underscore/index.jsnew file mode 100644index 000000000..b29332f94--- /dev/null+++ b/data/libs/underscore/index.js@@ -0,0 +1,1548 @@+// Underscore.js 1.8.3+// http://underscorejs.org+// (c) 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors+// Underscore may be freely distributed under the MIT license.++(function() {++ // Baseline setup+ // --------------++ // Establish the root object, `window` in the browser, or `exports` on the server.+ var root = this;++ // Save the previous value of the `_` variable.+ var previousUnderscore = root._;++ // Save bytes in the minified (but not gzipped) version:+ var ArrayProto = Array.prototype, ObjProto = Object.prototype, FuncProto = Function.prototype;++ // Create quick reference variables for speed access to core prototypes.+ var+ push = ArrayProto.push,+ slice = ArrayProto.slice,+ toString = ObjProto.toString,+ hasOwnProperty = ObjProto.hasOwnProperty;++ // All **ECMAScript 5** native function implementations that we hope to use+ // are declared here.+ var+ nativeIsArray = Array.isArray,+ nativeKeys = Object.keys,+ nativeBind = FuncProto.bind,+ nativeCreate = Object.create;++ // Naked function reference for surrogate-prototype-swapping.+ var Ctor = function(){};++ // Create a safe reference to the Underscore object for use below.+ var _ = function(obj) {+ if (obj instanceof _) return obj;+ if (!(this instanceof _)) return new _(obj);+ this._wrapped = obj;+ };++ // Export the Underscore object for **Node.js**, with+ // backwards-compatibility for the old `require()` API. If we're in+ // the browser, add `_` as a global object.+ if (typeof exports !== 'undefined') {+ if (typeof module !== 'undefined' && module.exports) {+ exports = module.exports = _;+ }+ exports._ = _;+ } else {+ root._ = _;+ }++ // Current version.+ _.VERSION = '1.8.3';++ // Internal function that returns an efficient (for current engines) version+ // of the passed-in callback, to be repeatedly applied in other Underscore+ // functions.+ var optimizeCb = function(func, context, argCount) {+ if (context === void 0) return func;+ switch (argCount == null ? 3 : argCount) {+ case 1: return function(value) {+ return func.call(context, value);+ };+ case 2: return function(value, other) {+ return func.call(context, value, other);+ };+ case 3: return function(value, index, collection) {+ return func.call(context, value, index, collection);+ };+ case 4: return function(accumulator, value, index, collection) {+ return func.call(context, accumulator, value, index, collection);+ };+ }+ return function() {+ return func.apply(context, arguments);+ };+ };++ // A mostly-internal function to generate callbacks that can be applied+ // to each element in a collection, returning the desired result — either+ // identity, an arbitrary callback, a property matcher, or a property accessor.+ var cb = function(value, context, argCount) {+ if (value == null) return _.identity;+ if (_.isFunction(value)) return optimizeCb(value, context, argCount);+ if (_.isObject(value)) return _.matcher(value);+ return _.property(value);+ };+ _.iteratee = function(value, context) {+ return cb(value, context, Infinity);+ };++ // An internal function for creating assigner functions.+ var createAssigner = function(keysFunc, undefinedOnly) {+ return function(obj) {+ var length = arguments.length;+ if (length < 2 || obj == null) return obj;+ for (var index = 1; index < length; index++) {+ var source = arguments[index],+ keys = keysFunc(source),+ l = keys.length;+ for (var i = 0; i < l; i++) {+ var key = keys[i];+ if (!undefinedOnly || obj[key] === void 0) obj[key] = source[key];+ }+ }+ return obj;+ };+ };++ // An internal function for creating a new object that inherits from another.+ var baseCreate = function(prototype) {+ if (!_.isObject(prototype)) return {};+ if (nativeCreate) return nativeCreate(prototype);+ Ctor.prototype = prototype;+ var result = new Ctor;+ Ctor.prototype = null;+ return result;+ };++ var property = function(key) {+ return function(obj) {+ return obj == null ? void 0 : obj[key];+ };+ };++ // Helper for collection methods to determine whether a collection+ // should be iterated as an array or as an object+ // Related: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength+ // Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094+ var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1;+ var getLength = property('length');+ var isArrayLike = function(collection) {+ var length = getLength(collection);+ return typeof length == 'number' && length >= 0 && length <= MAX_ARRAY_INDEX;+ };++ // Collection Functions+ // --------------------++ // The cornerstone, an `each` implementation, aka `forEach`.+ // Handles raw objects in addition to array-likes. Treats all+ // sparse array-likes as if they were dense.+ _.each = _.forEach = function(obj, iteratee, context) {+ iteratee = optimizeCb(iteratee, context);+ var i, length;+ if (isArrayLike(obj)) {+ for (i = 0, length = obj.length; i < length; i++) {+ iteratee(obj[i], i, obj);+ }+ } else {+ var keys = _.keys(obj);+ for (i = 0, length = keys.length; i < length; i++) {+ iteratee(obj[keys[i]], keys[i], obj);+ }+ }+ return obj;+ };++ // Return the results of applying the iteratee to each element.+ _.map = _.collect = function(obj, iteratee, context) {+ iteratee = cb(iteratee, context);+ var keys = !isArrayLike(obj) && _.keys(obj),+ length = (keys || obj).length,+ results = Array(length);+ for (var index = 0; index < length; index++) {+ var currentKey = keys ? keys[index] : index;+ results[index] = iteratee(obj[currentKey], currentKey, obj);+ }+ return results;+ };++ // Create a reducing function iterating left or right.+ function createReduce(dir) {+ // Optimized iterator function as using arguments.length+ // in the main function will deoptimize the, see #1991.+ function iterator(obj, iteratee, memo, keys, index, length) {+ for (; index >= 0 && index < length; index += dir) {+ var currentKey = keys ? keys[index] : index;+ memo = iteratee(memo, obj[currentKey], currentKey, obj);+ }+ return memo;+ }++ return function(obj, iteratee, memo, context) {+ iteratee = optimizeCb(iteratee, context, 4);+ var keys = !isArrayLike(obj) && _.keys(obj),+ length = (keys || obj).length,+ index = dir > 0 ? 0 : length - 1;+ // Determine the initial value if none is provided.+ if (arguments.length < 3) {+ memo = obj[keys ? keys[index] : index];+ index += dir;+ }+ return iterator(obj, iteratee, memo, keys, index, length);+ };+ }++ // **Reduce** builds up a single result from a list of values, aka `inject`,+ // or `foldl`.+ _.reduce = _.foldl = _.inject = createReduce(1);++ // The right-associative version of reduce, also known as `foldr`.+ _.reduceRight = _.foldr = createReduce(-1);++ // Return the first value which passes a truth test. Aliased as `detect`.+ _.find = _.detect = function(obj, predicate, context) {+ var key;+ if (isArrayLike(obj)) {+ key = _.findIndex(obj, predicate, context);+ } else {+ key = _.findKey(obj, predicate, context);+ }+ if (key !== void 0 && key !== -1) return obj[key];+ };++ // Return all the elements that pass a truth test.+ // Aliased as `select`.+ _.filter = _.select = function(obj, predicate, context) {+ var results = [];+ predicate = cb(predicate, context);+ _.each(obj, function(value, index, list) {+ if (predicate(value, index, list)) results.push(value);+ });+ return results;+ };++ // Return all the elements for which a truth test fails.+ _.reject = function(obj, predicate, context) {+ return _.filter(obj, _.negate(cb(predicate)), context);+ };++ // Determine whether all of the elements match a truth test.+ // Aliased as `all`.+ _.every = _.all = function(obj, predicate, context) {+ predicate = cb(predicate, context);+ var keys = !isArrayLike(obj) && _.keys(obj),+ length = (keys || obj).length;+ for (var index = 0; index < length; index++) {+ var currentKey = keys ? keys[index] : index;+ if (!predicate(obj[currentKey], currentKey, obj)) return false;+ }+ return true;+ };++ // Determine if at least one element in the object matches a truth test.+ // Aliased as `any`.+ _.some = _.any = function(obj, predicate, context) {+ predicate = cb(predicate, context);+ var keys = !isArrayLike(obj) && _.keys(obj),+ length = (keys || obj).length;+ for (var index = 0; index < length; index++) {+ var currentKey = keys ? keys[index] : index;+ if (predicate(obj[currentKey], currentKey, obj)) return true;+ }+ return false;+ };++ // Determine if the array or object contains a given item (using `===`).+ // Aliased as `includes` and `include`.+ _.contains = _.includes = _.include = function(obj, item, fromIndex, guard) {+ if (!isArrayLike(obj)) obj = _.values(obj);+ if (typeof fromIndex != 'number' || guard) fromIndex = 0;+ return _.indexOf(obj, item, fromIndex) >= 0;+ };++ // Invoke a method (with arguments) on every item in a collection.+ _.invoke = function(obj, method) {+ var args = slice.call(arguments, 2);+ var isFunc = _.isFunction(method);+ return _.map(obj, function(value) {+ var func = isFunc ? method : value[method];+ return func == null ? func : func.apply(value, args);+ });+ };++ // Convenience version of a common use case of `map`: fetching a property.+ _.pluck = function(obj, key) {+ return _.map(obj, _.property(key));+ };++ // Convenience version of a common use case of `filter`: selecting only objects+ // containing specific `key:value` pairs.+ _.where = function(obj, attrs) {+ return _.filter(obj, _.matcher(attrs));+ };++ // Convenience version of a common use case of `find`: getting the first object+ // containing specific `key:value` pairs.+ _.findWhere = function(obj, attrs) {+ return _.find(obj, _.matcher(attrs));+ };++ // Return the maximum element (or element-based computation).+ _.max = function(obj, iteratee, context) {+ var result = -Infinity, lastComputed = -Infinity,+ value, computed;+ if (iteratee == null && obj != null) {+ obj = isArrayLike(obj) ? obj : _.values(obj);+ for (var i = 0, length = obj.length; i < length; i++) {+ value = obj[i];+ if (value > result) {+ result = value;+ }+ }+ } else {+ iteratee = cb(iteratee, context);+ _.each(obj, function(value, index, list) {+ computed = iteratee(value, index, list);+ if (computed > lastComputed || computed === -Infinity && result === -Infinity) {+ result = value;+ lastComputed = computed;+ }+ });+ }+ return result;+ };++ // Return the minimum element (or element-based computation).+ _.min = function(obj, iteratee, context) {+ var result = Infinity, lastComputed = Infinity,+ value, computed;+ if (iteratee == null && obj != null) {+ obj = isArrayLike(obj) ? obj : _.values(obj);+ for (var i = 0, length = obj.length; i < length; i++) {+ value = obj[i];+ if (value < result) {+ result = value;+ }+ }+ } else {+ iteratee = cb(iteratee, context);+ _.each(obj, function(value, index, list) {+ computed = iteratee(value, index, list);+ if (computed < lastComputed || computed === Infinity && result === Infinity) {+ result = value;+ lastComputed = computed;+ }+ });+ }+ return result;+ };++ // Shuffle a collection, using the modern version of the+ // [Fisher-Yates shuffle](http://en.wikipedia.org/wiki/Fisher–Yates_shuffle).+ _.shuffle = function(obj) {+ var set = isArrayLike(obj) ? obj : _.values(obj);+ var length = set.length;+ var shuffled = Array(length);+ for (var index = 0, rand; index < length; index++) {+ rand = _.random(0, index);+ if (rand !== index) shuffled[index] = shuffled[rand];+ shuffled[rand] = set[index];+ }+ return shuffled;+ };++ // Sample **n** random values from a collection.+ // If **n** is not specified, returns a single random element.+ // The internal `guard` argument allows it to work with `map`.+ _.sample = function(obj, n, guard) {+ if (n == null || guard) {+ if (!isArrayLike(obj)) obj = _.values(obj);+ return obj[_.random(obj.length - 1)];+ }+ return _.shuffle(obj).slice(0, Math.max(0, n));+ };++ // Sort the object's values by a criterion produced by an iteratee.+ _.sortBy = function(obj, iteratee, context) {+ iteratee = cb(iteratee, context);+ return _.pluck(_.map(obj, function(value, index, list) {+ return {+ value: value,+ index: index,+ criteria: iteratee(value, index, list)+ };+ }).sort(function(left, right) {+ var a = left.criteria;+ var b = right.criteria;+ if (a !== b) {+ if (a > b || a === void 0) return 1;+ if (a < b || b === void 0) return -1;+ }+ return left.index - right.index;+ }), 'value');+ };++ // An internal function used for aggregate "group by" operations.+ var group = function(behavior) {+ return function(obj, iteratee, context) {+ var result = {};+ iteratee = cb(iteratee, context);+ _.each(obj, function(value, index) {+ var key = iteratee(value, index, obj);+ behavior(result, value, key);+ });+ return result;+ };+ };++ // Groups the object's values by a criterion. Pass either a string attribute+ // to group by, or a function that returns the criterion.+ _.groupBy = group(function(result, value, key) {+ if (_.has(result, key)) result[key].push(value); else result[key] = [value];+ });++ // Indexes the object's values by a criterion, similar to `groupBy`, but for+ // when you know that your index values will be unique.+ _.indexBy = group(function(result, value, key) {+ result[key] = value;+ });++ // Counts instances of an object that group by a certain criterion. Pass+ // either a string attribute to count by, or a function that returns the+ // criterion.+ _.countBy = group(function(result, value, key) {+ if (_.has(result, key)) result[key]++; else result[key] = 1;+ });++ // Safely create a real, live array from anything iterable.+ _.toArray = function(obj) {+ if (!obj) return [];+ if (_.isArray(obj)) return slice.call(obj);+ if (isArrayLike(obj)) return _.map(obj, _.identity);+ return _.values(obj);+ };++ // Return the number of elements in an object.+ _.size = function(obj) {+ if (obj == null) return 0;+ return isArrayLike(obj) ? obj.length : _.keys(obj).length;+ };++ // Split a collection into two arrays: one whose elements all satisfy the given+ // predicate, and one whose elements all do not satisfy the predicate.+ _.partition = function(obj, predicate, context) {+ predicate = cb(predicate, context);+ var pass = [], fail = [];+ _.each(obj, function(value, key, obj) {+ (predicate(value, key, obj) ? pass : fail).push(value);+ });+ return [pass, fail];+ };++ // Array Functions+ // ---------------++ // Get the first element of an array. Passing **n** will return the first N+ // values in the array. Aliased as `head` and `take`. The **guard** check+ // allows it to work with `_.map`.+ _.first = _.head = _.take = function(array, n, guard) {+ if (array == null) return void 0;+ if (n == null || guard) return array[0];+ return _.initial(array, array.length - n);+ };++ // Returns everything but the last entry of the array. Especially useful on+ // the arguments object. Passing **n** will return all the values in+ // the array, excluding the last N.+ _.initial = function(array, n, guard) {+ return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n)));+ };++ // Get the last element of an array. Passing **n** will return the last N+ // values in the array.+ _.last = function(array, n, guard) {+ if (array == null) return void 0;+ if (n == null || guard) return array[array.length - 1];+ return _.rest(array, Math.max(0, array.length - n));+ };++ // Returns everything but the first entry of the array. Aliased as `tail` and `drop`.+ // Especially useful on the arguments object. Passing an **n** will return+ // the rest N values in the array.+ _.rest = _.tail = _.drop = function(array, n, guard) {+ return slice.call(array, n == null || guard ? 1 : n);+ };++ // Trim out all falsy values from an array.+ _.compact = function(array) {+ return _.filter(array, _.identity);+ };++ // Internal implementation of a recursive `flatten` function.+ var flatten = function(input, shallow, strict, startIndex) {+ var output = [], idx = 0;+ for (var i = startIndex || 0, length = getLength(input); i < length; i++) {+ var value = input[i];+ if (isArrayLike(value) && (_.isArray(value) || _.isArguments(value))) {+ //flatten current level of array or arguments object+ if (!shallow) value = flatten(value, shallow, strict);+ var j = 0, len = value.length;+ output.length += len;+ while (j < len) {+ output[idx++] = value[j++];+ }+ } else if (!strict) {+ output[idx++] = value;+ }+ }+ return output;+ };++ // Flatten out an array, either recursively (by default), or just one level.+ _.flatten = function(array, shallow) {+ return flatten(array, shallow, false);+ };++ // Return a version of the array that does not contain the specified value(s).+ _.without = function(array) {+ return _.difference(array, slice.call(arguments, 1));+ };++ // Produce a duplicate-free version of the array. If the array has already+ // been sorted, you have the option of using a faster algorithm.+ // Aliased as `unique`.+ _.uniq = _.unique = function(array, isSorted, iteratee, context) {+ if (!_.isBoolean(isSorted)) {+ context = iteratee;+ iteratee = isSorted;+ isSorted = false;+ }+ if (iteratee != null) iteratee = cb(iteratee, context);+ var result = [];+ var seen = [];+ for (var i = 0, length = getLength(array); i < length; i++) {+ var value = array[i],+ computed = iteratee ? iteratee(value, i, array) : value;+ if (isSorted) {+ if (!i || seen !== computed) result.push(value);+ seen = computed;+ } else if (iteratee) {+ if (!_.contains(seen, computed)) {+ seen.push(computed);+ result.push(value);+ }+ } else if (!_.contains(result, value)) {+ result.push(value);+ }+ }+ return result;+ };++ // Produce an array that contains the union: each distinct element from all of+ // the passed-in arrays.+ _.union = function() {+ return _.uniq(flatten(arguments, true, true));+ };++ // Produce an array that contains every item shared between all the+ // passed-in arrays.+ _.intersection = function(array) {+ var result = [];+ var argsLength = arguments.length;+ for (var i = 0, length = getLength(array); i < length; i++) {+ var item = array[i];+ if (_.contains(result, item)) continue;+ for (var j = 1; j < argsLength; j++) {+ if (!_.contains(arguments[j], item)) break;+ }+ if (j === argsLength) result.push(item);+ }+ return result;+ };++ // Take the difference between one array and a number of other arrays.+ // Only the elements present in just the first array will remain.+ _.difference = function(array) {+ var rest = flatten(arguments, true, true, 1);+ return _.filter(array, function(value){+ return !_.contains(rest, value);+ });+ };++ // Zip together multiple lists into a single array -- elements that share+ // an index go together.+ _.zip = function() {+ return _.unzip(arguments);+ };++ // Complement of _.zip. Unzip accepts an array of arrays and groups+ // each array's elements on shared indices+ _.unzip = function(array) {+ var length = array && _.max(array, getLength).length || 0;+ var result = Array(length);++ for (var index = 0; index < length; index++) {+ result[index] = _.pluck(array, index);+ }+ return result;+ };++ // Converts lists into objects. Pass either a single array of `[key, value]`+ // pairs, or two parallel arrays of the same length -- one of keys, and one of+ // the corresponding values.+ _.object = function(list, values) {+ var result = {};+ for (var i = 0, length = getLength(list); i < length; i++) {+ if (values) {+ result[list[i]] = values[i];+ } else {+ result[list[i][0]] = list[i][1];+ }+ }+ return result;+ };++ // Generator function to create the findIndex and findLastIndex functions+ function createPredicateIndexFinder(dir) {+ return function(array, predicate, context) {+ predicate = cb(predicate, context);+ var length = getLength(array);+ var index = dir > 0 ? 0 : length - 1;+ for (; index >= 0 && index < length; index += dir) {+ if (predicate(array[index], index, array)) return index;+ }+ return -1;+ };+ }++ // Returns the first index on an array-like that passes a predicate test+ _.findIndex = createPredicateIndexFinder(1);+ _.findLastIndex = createPredicateIndexFinder(-1);++ // Use a comparator function to figure out the smallest index at which+ // an object should be inserted so as to maintain order. Uses binary search.+ _.sortedIndex = function(array, obj, iteratee, context) {+ iteratee = cb(iteratee, context, 1);+ var value = iteratee(obj);+ var low = 0, high = getLength(array);+ while (low < high) {+ var mid = Math.floor((low + high) / 2);+ if (iteratee(array[mid]) < value) low = mid + 1; else high = mid;+ }+ return low;+ };++ // Generator function to create the indexOf and lastIndexOf functions+ function createIndexFinder(dir, predicateFind, sortedIndex) {+ return function(array, item, idx) {+ var i = 0, length = getLength(array);+ if (typeof idx == 'number') {+ if (dir > 0) {+ i = idx >= 0 ? idx : Math.max(idx + length, i);+ } else {+ length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1;+ }+ } else if (sortedIndex && idx && length) {+ idx = sortedIndex(array, item);+ return array[idx] === item ? idx : -1;+ }+ if (item !== item) {+ idx = predicateFind(slice.call(array, i, length), _.isNaN);+ return idx >= 0 ? idx + i : -1;+ }+ for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) {+ if (array[idx] === item) return idx;+ }+ return -1;+ };+ }++ // Return the position of the first occurrence of an item in an array,+ // or -1 if the item is not included in the array.+ // If the array is large and already in sort order, pass `true`+ // for **isSorted** to use binary search.+ _.indexOf = createIndexFinder(1, _.findIndex, _.sortedIndex);+ _.lastIndexOf = createIndexFinder(-1, _.findLastIndex);++ // Generate an integer Array containing an arithmetic progression. A port of+ // the native Python `range()` function. See+ // [the Python documentation](http://docs.python.org/library/functions.html#range).+ _.range = function(start, stop, step) {+ if (stop == null) {+ stop = start || 0;+ start = 0;+ }+ step = step || 1;++ var length = Math.max(Math.ceil((stop - start) / step), 0);+ var range = Array(length);++ for (var idx = 0; idx < length; idx++, start += step) {+ range[idx] = start;+ }++ return range;+ };++ // Function (ahem) Functions+ // ------------------++ // Determines whether to execute a function as a constructor+ // or a normal function with the provided arguments+ var executeBound = function(sourceFunc, boundFunc, context, callingContext, args) {+ if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args);+ var self = baseCreate(sourceFunc.prototype);+ var result = sourceFunc.apply(self, args);+ if (_.isObject(result)) return result;+ return self;+ };++ // Create a function bound to a given object (assigning `this`, and arguments,+ // optionally). Delegates to **ECMAScript 5**'s native `Function.bind` if+ // available.+ _.bind = function(func, context) {+ if (nativeBind && func.bind === nativeBind) return nativeBind.apply(func, slice.call(arguments, 1));+ if (!_.isFunction(func)) throw new TypeError('Bind must be called on a function');+ var args = slice.call(arguments, 2);+ var bound = function() {+ return executeBound(func, bound, context, this, args.concat(slice.call(arguments)));+ };+ return bound;+ };++ // Partially apply a function by creating a version that has had some of its+ // arguments pre-filled, without changing its dynamic `this` context. _ acts+ // as a placeholder, allowing any combination of arguments to be pre-filled.+ _.partial = function(func) {+ var boundArgs = slice.call(arguments, 1);+ var bound = function() {+ var position = 0, length = boundArgs.length;+ var args = Array(length);+ for (var i = 0; i < length; i++) {+ args[i] = boundArgs[i] === _ ? arguments[position++] : boundArgs[i];+ }+ while (position < arguments.length) args.push(arguments[position++]);+ return executeBound(func, bound, this, this, args);+ };+ return bound;+ };++ // Bind a number of an object's methods to that object. Remaining arguments+ // are the method names to be bound. Useful for ensuring that all callbacks+ // defined on an object belong to it.+ _.bindAll = function(obj) {+ var i, length = arguments.length, key;+ if (length <= 1) throw new Error('bindAll must be passed function names');+ for (i = 1; i < length; i++) {+ key = arguments[i];+ obj[key] = _.bind(obj[key], obj);+ }+ return obj;+ };++ // Memoize an expensive function by storing its results.+ _.memoize = function(func, hasher) {+ var memoize = function(key) {+ var cache = memoize.cache;+ var address = '' + (hasher ? hasher.apply(this, arguments) : key);+ if (!_.has(cache, address)) cache[address] = func.apply(this, arguments);+ return cache[address];+ };+ memoize.cache = {};+ return memoize;+ };++ // Delays a function for the given number of milliseconds, and then calls+ // it with the arguments supplied.+ _.delay = function(func, wait) {+ var args = slice.call(arguments, 2);+ return setTimeout(function(){+ return func.apply(null, args);+ }, wait);+ };++ // Defers a function, scheduling it to run after the current call stack has+ // cleared.+ _.defer = _.partial(_.delay, _, 1);++ // Returns a function, that, when invoked, will only be triggered at most once+ // during a given window of time. Normally, the throttled function will run+ // as much as it can, without ever going more than once per `wait` duration;+ // but if you'd like to disable the execution on the leading edge, pass+ // `{leading: false}`. To disable execution on the trailing edge, ditto.+ _.throttle = function(func, wait, options) {+ var context, args, result;+ var timeout = null;+ var previous = 0;+ if (!options) options = {};+ var later = function() {+ previous = options.leading === false ? 0 : _.now();+ timeout = null;+ result = func.apply(context, args);+ if (!timeout) context = args = null;+ };+ return function() {+ var now = _.now();+ if (!previous && options.leading === false) previous = now;+ var remaining = wait - (now - previous);+ context = this;+ args = arguments;+ if (remaining <= 0 || remaining > wait) {+ if (timeout) {+ clearTimeout(timeout);+ timeout = null;+ }+ previous = now;+ result = func.apply(context, args);+ if (!timeout) context = args = null;+ } else if (!timeout && options.trailing !== false) {+ timeout = setTimeout(later, remaining);+ }+ return result;+ };+ };++ // Returns a function, that, as long as it continues to be invoked, will not+ // be triggered. The function will be called after it stops being called for+ // N milliseconds. If `immediate` is passed, trigger the function on the+ // leading edge, instead of the trailing.+ _.debounce = function(func, wait, immediate) {+ var timeout, args, context, timestamp, result;++ var later = function() {+ var last = _.now() - timestamp;++ if (last < wait && last >= 0) {+ timeout = setTimeout(later, wait - last);+ } else {+ timeout = null;+ if (!immediate) {+ result = func.apply(context, args);+ if (!timeout) context = args = null;+ }+ }+ };++ return function() {+ context = this;+ args = arguments;+ timestamp = _.now();+ var callNow = immediate && !timeout;+ if (!timeout) timeout = setTimeout(later, wait);+ if (callNow) {+ result = func.apply(context, args);+ context = args = null;+ }++ return result;+ };+ };++ // Returns the first function passed as an argument to the second,+ // allowing you to adjust arguments, run code before and after, and+ // conditionally execute the original function.+ _.wrap = function(func, wrapper) {+ return _.partial(wrapper, func);+ };++ // Returns a negated version of the passed-in predicate.+ _.negate = function(predicate) {+ return function() {+ return !predicate.apply(this, arguments);+ };+ };++ // Returns a function that is the composition of a list of functions, each+ // consuming the return value of the function that follows.+ _.compose = function() {+ var args = arguments;+ var start = args.length - 1;+ return function() {+ var i = start;+ var result = args[start].apply(this, arguments);+ while (i--) result = args[i].call(this, result);+ return result;+ };+ };++ // Returns a function that will only be executed on and after the Nth call.+ _.after = function(times, func) {+ return function() {+ if (--times < 1) {+ return func.apply(this, arguments);+ }+ };+ };++ // Returns a function that will only be executed up to (but not including) the Nth call.+ _.before = function(times, func) {+ var memo;+ return function() {+ if (--times > 0) {+ memo = func.apply(this, arguments);+ }+ if (times <= 1) func = null;+ return memo;+ };+ };++ // Returns a function that will be executed at most one time, no matter how+ // often you call it. Useful for lazy initialization.+ _.once = _.partial(_.before, 2);++ // Object Functions+ // ----------------++ // Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed.+ var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString');+ var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString',+ 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString'];++ function collectNonEnumProps(obj, keys) {+ var nonEnumIdx = nonEnumerableProps.length;+ var constructor = obj.constructor;+ var proto = (_.isFunction(constructor) && constructor.prototype) || ObjProto;++ // Constructor is a special case.+ var prop = 'constructor';+ if (_.has(obj, prop) && !_.contains(keys, prop)) keys.push(prop);++ while (nonEnumIdx--) {+ prop = nonEnumerableProps[nonEnumIdx];+ if (prop in obj && obj[prop] !== proto[prop] && !_.contains(keys, prop)) {+ keys.push(prop);+ }+ }+ }++ // Retrieve the names of an object's own properties.+ // Delegates to **ECMAScript 5**'s native `Object.keys`+ _.keys = function(obj) {+ if (!_.isObject(obj)) return [];+ if (nativeKeys) return nativeKeys(obj);+ var keys = [];+ for (var key in obj) if (_.has(obj, key)) keys.push(key);+ // Ahem, IE < 9.+ if (hasEnumBug) collectNonEnumProps(obj, keys);+ return keys;+ };++ // Retrieve all the property names of an object.+ _.allKeys = function(obj) {+ if (!_.isObject(obj)) return [];+ var keys = [];+ for (var key in obj) keys.push(key);+ // Ahem, IE < 9.+ if (hasEnumBug) collectNonEnumProps(obj, keys);+ return keys;+ };++ // Retrieve the values of an object's properties.+ _.values = function(obj) {+ var keys = _.keys(obj);+ var length = keys.length;+ var values = Array(length);+ for (var i = 0; i < length; i++) {+ values[i] = obj[keys[i]];+ }+ return values;+ };++ // Returns the results of applying the iteratee to each element of the object+ // In contrast to _.map it returns an object+ _.mapObject = function(obj, iteratee, context) {+ iteratee = cb(iteratee, context);+ var keys = _.keys(obj),+ length = keys.length,+ results = {},+ currentKey;+ for (var index = 0; index < length; index++) {+ currentKey = keys[index];+ results[currentKey] = iteratee(obj[currentKey], currentKey, obj);+ }+ return results;+ };++ // Convert an object into a list of `[key, value]` pairs.+ _.pairs = function(obj) {+ var keys = _.keys(obj);+ var length = keys.length;+ var pairs = Array(length);+ for (var i = 0; i < length; i++) {+ pairs[i] = [keys[i], obj[keys[i]]];+ }+ return pairs;+ };++ // Invert the keys and values of an object. The values must be serializable.+ _.invert = function(obj) {+ var result = {};+ var keys = _.keys(obj);+ for (var i = 0, length = keys.length; i < length; i++) {+ result[obj[keys[i]]] = keys[i];+ }+ return result;+ };++ // Return a sorted list of the function names available on the object.+ // Aliased as `methods`+ _.functions = _.methods = function(obj) {+ var names = [];+ for (var key in obj) {+ if (_.isFunction(obj[key])) names.push(key);+ }+ return names.sort();+ };++ // Extend a given object with all the properties in passed-in object(s).+ _.extend = createAssigner(_.allKeys);++ // Assigns a given object with all the own properties in the passed-in object(s)+ // (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)+ _.extendOwn = _.assign = createAssigner(_.keys);++ // Returns the first key on an object that passes a predicate test+ _.findKey = function(obj, predicate, context) {+ predicate = cb(predicate, context);+ var keys = _.keys(obj), key;+ for (var i = 0, length = keys.length; i < length; i++) {+ key = keys[i];+ if (predicate(obj[key], key, obj)) return key;+ }+ };++ // Return a copy of the object only containing the whitelisted properties.+ _.pick = function(object, oiteratee, context) {+ var result = {}, obj = object, iteratee, keys;+ if (obj == null) return result;+ if (_.isFunction(oiteratee)) {+ keys = _.allKeys(obj);+ iteratee = optimizeCb(oiteratee, context);+ } else {+ keys = flatten(arguments, false, false, 1);+ iteratee = function(value, key, obj) { return key in obj; };+ obj = Object(obj);+ }+ for (var i = 0, length = keys.length; i < length; i++) {+ var key = keys[i];+ var value = obj[key];+ if (iteratee(value, key, obj)) result[key] = value;+ }+ return result;+ };++ // Return a copy of the object without the blacklisted properties.+ _.omit = function(obj, iteratee, context) {+ if (_.isFunction(iteratee)) {+ iteratee = _.negate(iteratee);+ } else {+ var keys = _.map(flatten(arguments, false, false, 1), String);+ iteratee = function(value, key) {+ return !_.contains(keys, key);+ };+ }+ return _.pick(obj, iteratee, context);+ };++ // Fill in a given object with default properties.+ _.defaults = createAssigner(_.allKeys, true);++ // Creates an object that inherits from the given prototype object.+ // If additional properties are provided then they will be added to the+ // created object.+ _.create = function(prototype, props) {+ var result = baseCreate(prototype);+ if (props) _.extendOwn(result, props);+ return result;+ };++ // Create a (shallow-cloned) duplicate of an object.+ _.clone = function(obj) {+ if (!_.isObject(obj)) return obj;+ return _.isArray(obj) ? obj.slice() : _.extend({}, obj);+ };++ // Invokes interceptor with the obj, and then returns obj.+ // The primary purpose of this method is to "tap into" a method chain, in+ // order to perform operations on intermediate results within the chain.+ _.tap = function(obj, interceptor) {+ interceptor(obj);+ return obj;+ };++ // Returns whether an object has a given set of `key:value` pairs.+ _.isMatch = function(object, attrs) {+ var keys = _.keys(attrs), length = keys.length;+ if (object == null) return !length;+ var obj = Object(object);+ for (var i = 0; i < length; i++) {+ var key = keys[i];+ if (attrs[key] !== obj[key] || !(key in obj)) return false;+ }+ return true;+ };+++ // Internal recursive comparison function for `isEqual`.+ var eq = function(a, b, aStack, bStack) {+ // Identical objects are equal. `0 === -0`, but they aren't identical.+ // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal).+ if (a === b) return a !== 0 || 1 / a === 1 / b;+ // A strict comparison is necessary because `null == undefined`.+ if (a == null || b == null) return a === b;+ // Unwrap any wrapped objects.+ if (a instanceof _) a = a._wrapped;+ if (b instanceof _) b = b._wrapped;+ // Compare `[[Class]]` names.+ var className = toString.call(a);+ if (className !== toString.call(b)) return false;+ switch (className) {+ // Strings, numbers, regular expressions, dates, and booleans are compared by value.+ case '[object RegExp]':+ // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i')+ case '[object String]':+ // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is+ // equivalent to `new String("5")`.+ return '' + a === '' + b;+ case '[object Number]':+ // `NaN`s are equivalent, but non-reflexive.+ // Object(NaN) is equivalent to NaN+ if (+a !== +a) return +b !== +b;+ // An `egal` comparison is performed for other numeric values.+ return +a === 0 ? 1 / +a === 1 / b : +a === +b;+ case '[object Date]':+ case '[object Boolean]':+ // Coerce dates and booleans to numeric primitive values. Dates are compared by their+ // millisecond representations. Note that invalid dates with millisecond representations+ // of `NaN` are not equivalent.+ return +a === +b;+ }++ var areArrays = className === '[object Array]';+ if (!areArrays) {+ if (typeof a != 'object' || typeof b != 'object') return false;++ // Objects with different constructors are not equivalent, but `Object`s or `Array`s+ // from different frames are.+ var aCtor = a.constructor, bCtor = b.constructor;+ if (aCtor !== bCtor && !(_.isFunction(aCtor) && aCtor instanceof aCtor &&+ _.isFunction(bCtor) && bCtor instanceof bCtor)+ && ('constructor' in a && 'constructor' in b)) {+ return false;+ }+ }+ // Assume equality for cyclic structures. The algorithm for detecting cyclic+ // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.++ // Initializing stack of traversed objects.+ // It's done here since we only need them for objects and arrays comparison.+ aStack = aStack || [];+ bStack = bStack || [];+ var length = aStack.length;+ while (length--) {+ // Linear search. Performance is inversely proportional to the number of+ // unique nested structures.+ if (aStack[length] === a) return bStack[length] === b;+ }++ // Add the first object to the stack of traversed objects.+ aStack.push(a);+ bStack.push(b);++ // Recursively compare objects and arrays.+ if (areArrays) {+ // Compare array lengths to determine if a deep comparison is necessary.+ length = a.length;+ if (length !== b.length) return false;+ // Deep compare the contents, ignoring non-numeric properties.+ while (length--) {+ if (!eq(a[length], b[length], aStack, bStack)) return false;+ }+ } else {+ // Deep compare objects.+ var keys = _.keys(a), key;+ length = keys.length;+ // Ensure that both objects contain the same number of properties before comparing deep equality.+ if (_.keys(b).length !== length) return false;+ while (length--) {+ // Deep compare each member+ key = keys[length];+ if (!(_.has(b, key) && eq(a[key], b[key], aStack, bStack))) return false;+ }+ }+ // Remove the first object from the stack of traversed objects.+ aStack.pop();+ bStack.pop();+ return true;+ };++ // Perform a deep comparison to check if two objects are equal.+ _.isEqual = function(a, b) {+ return eq(a, b);+ };++ // Is a given array, string, or object empty?+ // An "empty" object has no enumerable own-properties.+ _.isEmpty = function(obj) {+ if (obj == null) return true;+ if (isArrayLike(obj) && (_.isArray(obj) || _.isString(obj) || _.isArguments(obj))) return obj.length === 0;+ return _.keys(obj).length === 0;+ };++ // Is a given value a DOM element?+ _.isElement = function(obj) {+ return !!(obj && obj.nodeType === 1);+ };++ // Is a given value an array?+ // Delegates to ECMA5's native Array.isArray+ _.isArray = nativeIsArray || function(obj) {+ return toString.call(obj) === '[object Array]';+ };++ // Is a given variable an object?+ _.isObject = function(obj) {+ var type = typeof obj;+ return type === 'function' || type === 'object' && !!obj;+ };++ // Add some isType methods: isArguments, isFunction, isString, isNumber, isDate, isRegExp, isError.+ _.each(['Arguments', 'Function', 'String', 'Number', 'Date', 'RegExp', 'Error'], function(name) {+ _['is' + name] = function(obj) {+ return toString.call(obj) === '[object ' + name + ']';+ };+ });++ // Define a fallback version of the method in browsers (ahem, IE < 9), where+ // there isn't any inspectable "Arguments" type.+ if (!_.isArguments(arguments)) {+ _.isArguments = function(obj) {+ return _.has(obj, 'callee');+ };+ }++ // Optimize `isFunction` if appropriate. Work around some typeof bugs in old v8,+ // IE 11 (#1621), and in Safari 8 (#1929).+ if (typeof /./ != 'function' && typeof Int8Array != 'object') {+ _.isFunction = function(obj) {+ return typeof obj == 'function' || false;+ };+ }++ // Is a given object a finite number?+ _.isFinite = function(obj) {+ return isFinite(obj) && !isNaN(parseFloat(obj));+ };++ // Is the given value `NaN`? (NaN is the only number which does not equal itself).+ _.isNaN = function(obj) {+ return _.isNumber(obj) && obj !== +obj;+ };++ // Is a given value a boolean?+ _.isBoolean = function(obj) {+ return obj === true || obj === false || toString.call(obj) === '[object Boolean]';+ };++ // Is a given value equal to null?+ _.isNull = function(obj) {+ return obj === null;+ };++ // Is a given variable undefined?+ _.isUndefined = function(obj) {+ return obj === void 0;+ };++ // Shortcut function for checking if an object has a given property directly+ // on itself (in other words, not on a prototype).+ _.has = function(obj, key) {+ return obj != null && hasOwnProperty.call(obj, key);+ };++ // Utility Functions+ // -----------------++ // Run Underscore.js in *noConflict* mode, returning the `_` variable to its+ // previous owner. Returns a reference to the Underscore object.+ _.noConflict = function() {+ root._ = previousUnderscore;+ return this;+ };++ // Keep the identity function around for default iteratees.+ _.identity = function(value) {+ return value;+ };++ // Predicate-generating functions. Often useful outside of Underscore.+ _.constant = function(value) {+ return function() {+ return value;+ };+ };++ _.noop = function(){};++ _.property = property;++ // Generates a function for a given object that returns a given property.+ _.propertyOf = function(obj) {+ return obj == null ? function(){} : function(key) {+ return obj[key];+ };+ };++ // Returns a predicate for checking whether an object has a given set of+ // `key:value` pairs.+ _.matcher = _.matches = function(attrs) {+ attrs = _.extendOwn({}, attrs);+ return function(obj) {+ return _.isMatch(obj, attrs);+ };+ };++ // Run a function **n** times.+ _.times = function(n, iteratee, context) {+ var accum = Array(Math.max(0, n));+ iteratee = optimizeCb(iteratee, context, 1);+ for (var i = 0; i < n; i++) accum[i] = iteratee(i);+ return accum;+ };++ // Return a random integer between min and max (inclusive).+ _.random = function(min, max) {+ if (max == null) {+ max = min;+ min = 0;+ }+ return min + Math.floor(Math.random() * (max - min + 1));+ };++ // A (possibly faster) way to get the current timestamp as an integer.+ _.now = Date.now || function() {+ return new Date().getTime();+ };++ // List of HTML entities for escaping.+ var escapeMap = {+ '&': '&',+ '<': '<',+ '>': '>',+ '"': '"',+ "'": ''',+ '`': '`'+ };+ var unescapeMap = _.invert(escapeMap);++ // Functions for escaping and unescaping strings to/from HTML interpolation.+ var createEscaper = function(map) {+ var escaper = function(match) {+ return map[match];+ };+ // Regexes for identifying a key that needs to be escaped+ var source = '(?:' + _.keys(map).join('|') + ')';+ var testRegexp = RegExp(source);+ var replaceRegexp = RegExp(source, 'g');+ return function(string) {+ string = string == null ? '' : '' + string;+ return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string;+ };+ };+ _.escape = createEscaper(escapeMap);+ _.unescape = createEscaper(unescapeMap);++ // If the value of the named `property` is a function then invoke it with the+ // `object` as context; otherwise, return it.+ _.result = function(object, property, fallback) {+ var value = object == null ? void 0 : object[property];+ if (value === void 0) {+ value = fallback;+ }+ return _.isFunction(value) ? value.call(object) : value;+ };++ // Generate a unique integer id (unique within the entire client session).+ // Useful for temporary DOM ids.+ var idCounter = 0;+ _.uniqueId = function(prefix) {+ var id = ++idCounter + '';+ return prefix ? prefix + id : id;+ };++ // By default, Underscore uses ERB-style template delimiters, change the+ // following template settings to use alternative delimiters.+ _.templateSettings = {+ evaluate : /<%([\s\S]+?)%>/g,+ interpolate : /<%=([\s\S]+?)%>/g,+ escape : /<%-([\s\S]+?)%>/g+ };++ // When customizing `templateSettings`, if you don't want to define an+ // interpolation, evaluation or escaping regex, we need one that is+ // guaranteed not to match.+ var noMatch = /(.)^/;++ // Certain characters need to be escaped so that they can be put into a+ // string literal.+ var escapes = {+ "'": "'",+ '\\': '\\',+ '\r': 'r',+ '\n': 'n',+ '\u2028': 'u2028',+ '\u2029': 'u2029'+ };++ var escaper = /\\|'|\r|\n|\u2028|\u2029/g;++ var escapeChar = function(match) {+ return '\\' + escapes[match];+ };++ // JavaScript micro-templating, similar to John Resig's implementation.+ // Underscore templating handles arbitrary delimiters, preserves whitespace,+ // and correctly escapes quotes within interpolated code.+ // NB: `oldSettings` only exists for backwards compatibility.+ _.template = function(text, settings, oldSettings) {+ if (!settings && oldSettings) settings = oldSettings;+ settings = _.defaults({}, settings, _.templateSettings);++ // Combine delimiters into one regular expression via alternation.+ var matcher = RegExp([+ (settings.escape || noMatch).source,+ (settings.interpolate || noMatch).source,+ (settings.evaluate || noMatch).source+ ].join('|') + '|$', 'g');++ // Compile the template source, escaping string literals appropriately.+ var index = 0;+ var source = "__p+='";+ text.replace(matcher, function(match, escape, interpolate, evaluate, offset) {+ source += text.slice(index, offset).replace(escaper, escapeChar);+ index = offset + match.length;++ if (escape) {+ source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'";+ } else if (interpolate) {+ source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'";+ } else if (evaluate) {+ source += "';\n" + evaluate + "\n__p+='";+ }++ // Adobe VMs need the match returned to produce the correct offest.+ return match;+ });+ source += "';\n";++ // If a variable is not specified, place data values in local scope.+ if (!settings.variable) source = 'with(obj||{}){\n' + source + '}\n';++ source = "var __t,__p='',__j=Array.prototype.join," ++ "print=function(){__p+=__j.call(arguments,'');};\n" ++ source + 'return __p;\n';++ try {+ var render = new Function(settings.variable || 'obj', '_', source);+ } catch (e) {+ e.source = source;+ throw e;+ }++ var template = function(data) {+ return render.call(this, data, _);+ };++ // Provide the compiled source as a convenience for precompilation.+ var argument = settings.variable || 'obj';+ template.source = 'function(' + argument + '){\n' + source + '}';++ return template;+ };++ // Add a "chain" function. Start chaining a wrapped Underscore object.+ _.chain = function(obj) {+ var instance = _(obj);+ instance._chain = true;+ return instance;+ };++ // OOP+ // ---------------+ // If Underscore is called as a function, it returns a wrapped object that+ // can be used OO-style. This wrapper holds altered versions of all the+ // underscore functions. Wrapped objects may be chained.++ // Helper function to continue chaining intermediate results.+ var result = function(instance, obj) {+ return instance._chain ? _(obj).chain() : obj;+ };++ // Add your own custom functions to the Underscore object.+ _.mixin = function(obj) {+ _.each(_.functions(obj), function(name) {+ var func = _[name] = obj[name];+ _.prototype[name] = function() {+ var args = [this._wrapped];+ push.apply(args, arguments);+ return result(this, func.apply(_, args));+ };+ });+ };++ // Add all of the Underscore functions to the wrapper object.+ _.mixin(_);++ // Add all mutator Array functions to the wrapper.+ _.each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) {+ var method = ArrayProto[name];+ _.prototype[name] = function() {+ var obj = this._wrapped;+ method.apply(obj, arguments);+ if ((name === 'shift' || name === 'splice') && obj.length === 0) delete obj[0];+ return result(this, obj);+ };+ });++ // Add all accessor Array functions to the wrapper.+ _.each(['concat', 'join', 'slice'], function(name) {+ var method = ArrayProto[name];+ _.prototype[name] = function() {+ return result(this, method.apply(this._wrapped, arguments));+ };+ });++ // Extracts the result from a wrapped and chained object.+ _.prototype.value = function() {+ return this._wrapped;+ };++ // Provide unwrapping proxy for some methods used in engine operations+ // such as arithmetic and JSON stringification.+ _.prototype.valueOf = _.prototype.toJSON = _.prototype.value;++ _.prototype.toString = function() {+ return '' + this._wrapped;+ };++ // AMD registration happens at the end for compatibility with AMD loaders+ // that may not enforce next-turn semantics on modules. Even though general+ // practice for AMD registration is to be anonymous, underscore registers+ // as a named module because, like jQuery, it is a base library that is+ // popular enough to be bundled in a third party lib, but not be part of+ // an AMD load request. Those cases could generate an error when an+ // anonymous define() is called outside of a loader request.+ if (typeof define === 'function' && define.amd) {+ define('underscore', [], function() {+ return _;+ });+ }+}.call(this));diff --git a/data/libs/underscore/underscore-min.js b/data/libs/underscore/underscore-min.jsdeleted file mode 100644index 3434d6c59..000000000--- a/data/libs/underscore/underscore-min.js+++ /dev/null@@ -1,6 +0,0 @@-// Underscore.js 1.6.0-// http://underscorejs.org-// (c) 2009-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors-// Underscore may be freely distributed under the MIT license.-(function(){var n=this,t=n._,r={},e=Array.prototype,u=Object.prototype,i=Function.prototype,a=e.push,o=e.slice,c=e.concat,l=u.toString,f=u.hasOwnProperty,s=e.forEach,p=e.map,h=e.reduce,v=e.reduceRight,g=e.filter,d=e.every,m=e.some,y=e.indexOf,b=e.lastIndexOf,x=Array.isArray,w=Object.keys,_=i.bind,j=function(n){return n instanceof j?n:this instanceof j?void(this._wrapped=n):new j(n)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=j),exports._=j):n._=j,j.VERSION="1.6.0";var A=j.each=j.forEach=function(n,t,e){if(null==n)return n;if(s&&n.forEach===s)n.forEach(t,e);else if(n.length===+n.length){for(var u=0,i=n.length;i>u;u++)if(t.call(e,n[u],u,n)===r)return}else for(var a=j.keys(n),u=0,i=a.length;i>u;u++)if(t.call(e,n[a[u]],a[u],n)===r)return;return n};j.map=j.collect=function(n,t,r){var e=[];return null==n?e:p&&n.map===p?n.map(t,r):(A(n,function(n,u,i){e.push(t.call(r,n,u,i))}),e)};var O="Reduce of empty array with no initial value";j.reduce=j.foldl=j.inject=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),h&&n.reduce===h)return e&&(t=j.bind(t,e)),u?n.reduce(t,r):n.reduce(t);if(A(n,function(n,i,a){u?r=t.call(e,r,n,i,a):(r=n,u=!0)}),!u)throw new TypeError(O);return r},j.reduceRight=j.foldr=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),v&&n.reduceRight===v)return e&&(t=j.bind(t,e)),u?n.reduceRight(t,r):n.reduceRight(t);var i=n.length;if(i!==+i){var a=j.keys(n);i=a.length}if(A(n,function(o,c,l){c=a?a[--i]:--i,u?r=t.call(e,r,n[c],c,l):(r=n[c],u=!0)}),!u)throw new TypeError(O);return r},j.find=j.detect=function(n,t,r){var e;return k(n,function(n,u,i){return t.call(r,n,u,i)?(e=n,!0):void 0}),e},j.filter=j.select=function(n,t,r){var e=[];return null==n?e:g&&n.filter===g?n.filter(t,r):(A(n,function(n,u,i){t.call(r,n,u,i)&&e.push(n)}),e)},j.reject=function(n,t,r){return j.filter(n,function(n,e,u){return!t.call(r,n,e,u)},r)},j.every=j.all=function(n,t,e){t||(t=j.identity);var u=!0;return null==n?u:d&&n.every===d?n.every(t,e):(A(n,function(n,i,a){return(u=u&&t.call(e,n,i,a))?void 0:r}),!!u)};var k=j.some=j.any=function(n,t,e){t||(t=j.identity);var u=!1;return null==n?u:m&&n.some===m?n.some(t,e):(A(n,function(n,i,a){return u||(u=t.call(e,n,i,a))?r:void 0}),!!u)};j.contains=j.include=function(n,t){return null==n?!1:y&&n.indexOf===y?n.indexOf(t)!=-1:k(n,function(n){return n===t})},j.invoke=function(n,t){var r=o.call(arguments,2),e=j.isFunction(t);return j.map(n,function(n){return(e?t:n[t]).apply(n,r)})},j.pluck=function(n,t){return j.map(n,j.property(t))},j.where=function(n,t){return j.filter(n,j.matches(t))},j.findWhere=function(n,t){return j.find(n,j.matches(t))},j.max=function(n,t,r){if(!t&&j.isArray(n)&&n[0]===+n[0]&&n.length<65535)return Math.max.apply(Math,n);var e=-1/0,u=-1/0;return A(n,function(n,i,a){var o=t?t.call(r,n,i,a):n;o>u&&(e=n,u=o)}),e},j.min=function(n,t,r){if(!t&&j.isArray(n)&&n[0]===+n[0]&&n.length<65535)return Math.min.apply(Math,n);var e=1/0,u=1/0;return A(n,function(n,i,a){var o=t?t.call(r,n,i,a):n;u>o&&(e=n,u=o)}),e},j.shuffle=function(n){var t,r=0,e=[];return A(n,function(n){t=j.random(r++),e[r-1]=e[t],e[t]=n}),e},j.sample=function(n,t,r){return null==t||r?(n.length!==+n.length&&(n=j.values(n)),n[j.random(n.length-1)]):j.shuffle(n).slice(0,Math.max(0,t))};var E=function(n){return null==n?j.identity:j.isFunction(n)?n:j.property(n)};j.sortBy=function(n,t,r){return t=E(t),j.pluck(j.map(n,function(n,e,u){return{value:n,index:e,criteria:t.call(r,n,e,u)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(r>e||r===void 0)return 1;if(e>r||e===void 0)return-1}return n.index-t.index}),"value")};var F=function(n){return function(t,r,e){var u={};return r=E(r),A(t,function(i,a){var o=r.call(e,i,a,t);n(u,o,i)}),u}};j.groupBy=F(function(n,t,r){j.has(n,t)?n[t].push(r):n[t]=[r]}),j.indexBy=F(function(n,t,r){n[t]=r}),j.countBy=F(function(n,t){j.has(n,t)?n[t]++:n[t]=1}),j.sortedIndex=function(n,t,r,e){r=E(r);for(var u=r.call(e,t),i=0,a=n.length;a>i;){var o=i+a>>>1;r.call(e,n[o])<u?i=o+1:a=o}return i},j.toArray=function(n){return n?j.isArray(n)?o.call(n):n.length===+n.length?j.map(n,j.identity):j.values(n):[]},j.size=function(n){return null==n?0:n.length===+n.length?n.length:j.keys(n).length},j.first=j.head=j.take=function(n,t,r){return null==n?void 0:null==t||r?n[0]:0>t?[]:o.call(n,0,t)},j.initial=function(n,t,r){return o.call(n,0,n.length-(null==t||r?1:t))},j.last=function(n,t,r){return null==n?void 0:null==t||r?n[n.length-1]:o.call(n,Math.max(n.length-t,0))},j.rest=j.tail=j.drop=function(n,t,r){return o.call(n,null==t||r?1:t)},j.compact=function(n){return j.filter(n,j.identity)};var M=function(n,t,r){return t&&j.every(n,j.isArray)?c.apply(r,n):(A(n,function(n){j.isArray(n)||j.isArguments(n)?t?a.apply(r,n):M(n,t,r):r.push(n)}),r)};j.flatten=function(n,t){return M(n,t,[])},j.without=function(n){return j.difference(n,o.call(arguments,1))},j.partition=function(n,t){var r=[],e=[];return A(n,function(n){(t(n)?r:e).push(n)}),[r,e]},j.uniq=j.unique=function(n,t,r,e){j.isFunction(t)&&(e=r,r=t,t=!1);var u=r?j.map(n,r,e):n,i=[],a=[];return A(u,function(r,e){(t?e&&a[a.length-1]===r:j.contains(a,r))||(a.push(r),i.push(n[e]))}),i},j.union=function(){return j.uniq(j.flatten(arguments,!0))},j.intersection=function(n){var t=o.call(arguments,1);return j.filter(j.uniq(n),function(n){return j.every(t,function(t){return j.contains(t,n)})})},j.difference=function(n){var t=c.apply(e,o.call(arguments,1));return j.filter(n,function(n){return!j.contains(t,n)})},j.zip=function(){for(var n=j.max(j.pluck(arguments,"length").concat(0)),t=new Array(n),r=0;n>r;r++)t[r]=j.pluck(arguments,""+r);return t},j.object=function(n,t){if(null==n)return{};for(var r={},e=0,u=n.length;u>e;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},j.indexOf=function(n,t,r){if(null==n)return-1;var e=0,u=n.length;if(r){if("number"!=typeof r)return e=j.sortedIndex(n,t),n[e]===t?e:-1;e=0>r?Math.max(0,u+r):r}if(y&&n.indexOf===y)return n.indexOf(t,r);for(;u>e;e++)if(n[e]===t)return e;return-1},j.lastIndexOf=function(n,t,r){if(null==n)return-1;var e=null!=r;if(b&&n.lastIndexOf===b)return e?n.lastIndexOf(t,r):n.lastIndexOf(t);for(var u=e?r:n.length;u--;)if(n[u]===t)return u;return-1},j.range=function(n,t,r){arguments.length<=1&&(t=n||0,n=0),r=arguments[2]||1;for(var e=Math.max(Math.ceil((t-n)/r),0),u=0,i=new Array(e);e>u;)i[u++]=n,n+=r;return i};var R=function(){};j.bind=function(n,t){var r,e;if(_&&n.bind===_)return _.apply(n,o.call(arguments,1));if(!j.isFunction(n))throw new TypeError;return r=o.call(arguments,2),e=function(){if(!(this instanceof e))return n.apply(t,r.concat(o.call(arguments)));R.prototype=n.prototype;var u=new R;R.prototype=null;var i=n.apply(u,r.concat(o.call(arguments)));return Object(i)===i?i:u}},j.partial=function(n){var t=o.call(arguments,1);return function(){for(var r=0,e=t.slice(),u=0,i=e.length;i>u;u++)e[u]===j&&(e[u]=arguments[r++]);for(;r<arguments.length;)e.push(arguments[r++]);return n.apply(this,e)}},j.bindAll=function(n){var t=o.call(arguments,1);if(0===t.length)throw new Error("bindAll must be passed function names");return A(t,function(t){n[t]=j.bind(n[t],n)}),n},j.memoize=function(n,t){var r={};return t||(t=j.identity),function(){var e=t.apply(this,arguments);return j.has(r,e)?r[e]:r[e]=n.apply(this,arguments)}},j.delay=function(n,t){var r=o.call(arguments,2);return setTimeout(function(){return n.apply(null,r)},t)},j.defer=function(n){return j.delay.apply(j,[n,1].concat(o.call(arguments,1)))},j.throttle=function(n,t,r){var e,u,i,a=null,o=0;r||(r={});var c=function(){o=r.leading===!1?0:j.now(),a=null,i=n.apply(e,u),e=u=null};return function(){var l=j.now();o||r.leading!==!1||(o=l);var f=t-(l-o);return e=this,u=arguments,0>=f?(clearTimeout(a),a=null,o=l,i=n.apply(e,u),e=u=null):a||r.trailing===!1||(a=setTimeout(c,f)),i}},j.debounce=function(n,t,r){var e,u,i,a,o,c=function(){var l=j.now()-a;t>l?e=setTimeout(c,t-l):(e=null,r||(o=n.apply(i,u),i=u=null))};return function(){i=this,u=arguments,a=j.now();var l=r&&!e;return e||(e=setTimeout(c,t)),l&&(o=n.apply(i,u),i=u=null),o}},j.once=function(n){var t,r=!1;return function(){return r?t:(r=!0,t=n.apply(this,arguments),n=null,t)}},j.wrap=function(n,t){return j.partial(t,n)},j.compose=function(){var n=arguments;return function(){for(var t=arguments,r=n.length-1;r>=0;r--)t=[n[r].apply(this,t)];return t[0]}},j.after=function(n,t){return function(){return--n<1?t.apply(this,arguments):void 0}},j.keys=function(n){if(!j.isObject(n))return[];if(w)return w(n);var t=[];for(var r in n)j.has(n,r)&&t.push(r);return t},j.values=function(n){for(var t=j.keys(n),r=t.length,e=new Array(r),u=0;r>u;u++)e[u]=n[t[u]];return e},j.pairs=function(n){for(var t=j.keys(n),r=t.length,e=new Array(r),u=0;r>u;u++)e[u]=[t[u],n[t[u]]];return e},j.invert=function(n){for(var t={},r=j.keys(n),e=0,u=r.length;u>e;e++)t[n[r[e]]]=r[e];return t},j.functions=j.methods=function(n){var t=[];for(var r in n)j.isFunction(n[r])&&t.push(r);return t.sort()},j.extend=function(n){return A(o.call(arguments,1),function(t){if(t)for(var r in t)n[r]=t[r]}),n},j.pick=function(n){var t={},r=c.apply(e,o.call(arguments,1));return A(r,function(r){r in n&&(t[r]=n[r])}),t},j.omit=function(n){var t={},r=c.apply(e,o.call(arguments,1));for(var u in n)j.contains(r,u)||(t[u]=n[u]);return t},j.defaults=function(n){return A(o.call(arguments,1),function(t){if(t)for(var r in t)n[r]===void 0&&(n[r]=t[r])}),n},j.clone=function(n){return j.isObject(n)?j.isArray(n)?n.slice():j.extend({},n):n},j.tap=function(n,t){return t(n),n};var S=function(n,t,r,e){if(n===t)return 0!==n||1/n==1/t;if(null==n||null==t)return n===t;n instanceof j&&(n=n._wrapped),t instanceof j&&(t=t._wrapped);var u=l.call(n);if(u!=l.call(t))return!1;switch(u){case"[object String]":return n==String(t);case"[object Number]":return n!=+n?t!=+t:0==n?1/n==1/t:n==+t;case"[object Date]":case"[object Boolean]":return+n==+t;case"[object RegExp]":return n.source==t.source&&n.global==t.global&&n.multiline==t.multiline&&n.ignoreCase==t.ignoreCase}if("object"!=typeof n||"object"!=typeof t)return!1;for(var i=r.length;i--;)if(r[i]==n)return e[i]==t;var a=n.constructor,o=t.constructor;if(a!==o&&!(j.isFunction(a)&&a instanceof a&&j.isFunction(o)&&o instanceof o)&&"constructor"in n&&"constructor"in t)return!1;r.push(n),e.push(t);var c=0,f=!0;if("[object Array]"==u){if(c=n.length,f=c==t.length)for(;c--&&(f=S(n[c],t[c],r,e)););}else{for(var s in n)if(j.has(n,s)&&(c++,!(f=j.has(t,s)&&S(n[s],t[s],r,e))))break;if(f){for(s in t)if(j.has(t,s)&&!c--)break;f=!c}}return r.pop(),e.pop(),f};j.isEqual=function(n,t){return S(n,t,[],[])},j.isEmpty=function(n){if(null==n)return!0;if(j.isArray(n)||j.isString(n))return 0===n.length;for(var t in n)if(j.has(n,t))return!1;return!0},j.isElement=function(n){return!(!n||1!==n.nodeType)},j.isArray=x||function(n){return"[object Array]"==l.call(n)},j.isObject=function(n){return n===Object(n)},A(["Arguments","Function","String","Number","Date","RegExp"],function(n){j["is"+n]=function(t){return l.call(t)=="[object "+n+"]"}}),j.isArguments(arguments)||(j.isArguments=function(n){return!(!n||!j.has(n,"callee"))}),"function"!=typeof/./&&(j.isFunction=function(n){return"function"==typeof n}),j.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))},j.isNaN=function(n){return j.isNumber(n)&&n!=+n},j.isBoolean=function(n){return n===!0||n===!1||"[object Boolean]"==l.call(n)},j.isNull=function(n){return null===n},j.isUndefined=function(n){return n===void 0},j.has=function(n,t){return f.call(n,t)},j.noConflict=function(){return n._=t,this},j.identity=function(n){return n},j.constant=function(n){return function(){return n}},j.property=function(n){return function(t){return t[n]}},j.matches=function(n){return function(t){if(t===n)return!0;for(var r in n)if(n[r]!==t[r])return!1;return!0}},j.times=function(n,t,r){for(var e=Array(Math.max(0,n)),u=0;n>u;u++)e[u]=t.call(r,u);return e},j.random=function(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))},j.now=Date.now||function(){return(new Date).getTime()};var T={escape:{"&":"&","<":"<",">":">",'"':""","'":"'"}};T.unescape=j.invert(T.escape);var I={escape:new RegExp("["+j.keys(T.escape).join("")+"]","g"),unescape:new RegExp("("+j.keys(T.unescape).join("|")+")","g")};j.each(["escape","unescape"],function(n){j[n]=function(t){return null==t?"":(""+t).replace(I[n],function(t){return T[n][t]})}}),j.result=function(n,t){if(null==n)return void 0;var r=n[t];return j.isFunction(r)?r.call(n):r},j.mixin=function(n){A(j.functions(n),function(t){var r=j[t]=n[t];j.prototype[t]=function(){var n=[this._wrapped];return a.apply(n,arguments),z.call(this,r.apply(j,n))}})};var N=0;j.uniqueId=function(n){var t=++N+"";return n?n+t:t},j.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var q=/(.)^/,B={"'":"'","\\":"\\","\r":"r","\n":"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},D=/\\|'|\r|\n|\t|\u2028|\u2029/g;j.template=function(n,t,r){var e;r=j.defaults({},r,j.templateSettings);var u=new RegExp([(r.escape||q).source,(r.interpolate||q).source,(r.evaluate||q).source].join("|")+"|$","g"),i=0,a="__p+='";n.replace(u,function(t,r,e,u,o){return a+=n.slice(i,o).replace(D,function(n){return"\\"+B[n]}),r&&(a+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'"),e&&(a+="'+\n((__t=("+e+"))==null?'':__t)+\n'"),u&&(a+="';\n"+u+"\n__p+='"),i=o+t.length,t}),a+="';\n",r.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,"+"print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{e=new Function(r.variable||"obj","_",a)}catch(o){throw o.source=a,o}if(t)return e(t,j);var c=function(n){return e.call(this,n,j)};return c.source="function("+(r.variable||"obj")+"){\n"+a+"}",c},j.chain=function(n){return j(n).chain()};var z=function(n){return this._chain?j(n).chain():n};j.mixin(j),A(["pop","push","reverse","shift","sort","splice","unshift"],function(n){var t=e[n];j.prototype[n]=function(){var r=this._wrapped;return t.apply(r,arguments),"shift"!=n&&"splice"!=n||0!==r.length||delete r[0],z.call(this,r)}}),A(["concat","join","slice"],function(n){var t=e[n];j.prototype[n]=function(){return z.call(this,t.apply(this._wrapped,arguments))}}),j.extend(j.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}}),"function"==typeof define&&define.amd&&define("underscore",[],function(){return j})}).call(this);-//# sourceMappingURL=underscore-min.map\ No newline at end of filediff --git a/data/libs/bootstrap3xeditable/css/bootstrap-editable.css b/data/libs/x-editable/dist/bootstrap3-editable/css/bootstrap-editable.csssimilarity index 100%rename from data/libs/bootstrap3xeditable/css/bootstrap-editable.cssrename to data/libs/x-editable/dist/bootstrap3-editable/css/bootstrap-editable.cssdiff --git a/data/libs/bootstrap3xeditable/img/clear.png b/data/libs/x-editable/dist/bootstrap3-editable/img/clear.pngsimilarity index 100%rename from data/libs/bootstrap3xeditable/img/clear.pngrename to data/libs/x-editable/dist/bootstrap3-editable/img/clear.pngdiff --git a/data/libs/bootstrap3xeditable/img/loading.gif b/data/libs/x-editable/dist/bootstrap3-editable/img/loading.gifsimilarity index 100%rename from data/libs/bootstrap3xeditable/img/loading.gifrename to data/libs/x-editable/dist/bootstrap3-editable/img/loading.gifdiff --git a/data/libs/bootstrap3xeditable/js/bootstrap-editable.min.js b/data/libs/x-editable/dist/bootstrap3-editable/js/bootstrap-editable.min.jssimilarity index 100%rename from data/libs/bootstrap3xeditable/js/bootstrap-editable.min.jsrename to data/libs/x-editable/dist/bootstrap3-editable/js/bootstrap-editable.min.jsdiff --git a/data/loader.js b/data/loader.jsindex 0e1f17345..bd27e6c9a 100644--- a/data/loader.js+++ b/data/loader.js@@ -65,40 +65,38 @@ var isWin = navigator.appVersion.indexOf("Win")!==-1;requirejs.config({map: {'*': {- 'css': 'libs/requirecss/css',- 'text': 'libs/requiretext/text'+ 'css': 'libs/require-css/css',+ 'text': 'libs/requiretext/index'}},paths: {- jquery: 'libs/jquery/jquery.min',- jqueryui: 'libs/jqueryui/jquery.ui.core',- jqueryuiwidget: 'libs/jqueryui/jquery.ui.widget',- jqueryuimouse: 'libs/jqueryui/jquery.ui.mouse',- jqueryuiposition: 'libs/jqueryui/jquery.ui.position',- jqueryuiselectable: 'libs/jqueryui/jquery.ui.selectable',- jqueryuisortable: 'libs/jqueryui/jquery.ui.sortable',- jqueryuidraggable: 'libs/jqueryui/jquery.ui.draggable',- jqueryuidroppable: 'libs/jqueryui/jquery.ui.droppable',+ jquery: 'libs/jquery/dist/jquery.min',+ jqueryui: 'libs/jqueryui/jquery-ui.min',+// jqueryuidraggable: 'libs/jqueryui/ui/draggable',+// jqueryuidroppable: 'libs/jqueryui/ui/droppable',+// jqueryuimouse: 'libs/jqueryui/ui/mouse',+// jqueryuiposition: 'libs/jqueryui/ui/position',+// jqueryuiselectable: 'libs/jqueryui/ui/selectable',+// jqueryuisortable: 'libs/jqueryui/ui/sortable',+// jqueryuiwidget: 'libs/jqueryui/ui/widget',- bootstrap: 'libs/bootstrap/js/bootstrap.min',- bootstrap3xeditable: 'libs/bootstrap3xeditable/js/bootstrap-editable.min',- bootstrapvalidator: 'libs/bootstrap-validator/validator.min',+ bootstrap: 'libs/bootstrap/dist/js/bootstrap.min',+ bootstrap3xeditable: 'libs/x-editable/dist/bootstrap3-editable/js/bootstrap-editable.min',+ bootstrapvalidator: 'libs/bootstrap-validator/dist/validator.min',jquerysimplecolorpicker:'libs/jquery-simplecolorpicker/jquery.simplecolorpicker',- underscore: 'libs/underscore/underscore-min',- d3: 'libs/d3/d3.v3',- i18next: 'libs/i18next/i18next.amd.withJQuery-1.10.1.min',+ underscore: 'libs/underscore/index',+ d3: 'libs/d3/d3.min',+ i18next: 'libs/i18next/i18next.amd.withJQuery.min',mousetrap: 'libs/mousetrap/mousetrap.min',- mousetrapgb: 'libs/mousetrap/mousetrap-global-bind',+ mousetrapgb: 'libs/mousetrap/plugins/global-bind/mousetrap-global-bind.min',select2: 'libs/select2/select2.min',- hammerjs: 'libs/hammerjs/jquery.hammer.min',- handlebarsjs: 'libs/handlebars.js/handlebars-v1.1.2',+ hammerjs: 'libs/hammerjs/hammer.min',+ handlebarsjs: 'libs/handlebars/handlebars.min',pdfjs: 'libs/pdfjs/build/pdf',webdavlib: 'web/webdavlib',- jszip: 'libs/jszip/jszip.min',- slideout: 'libs/slideoutjs/slideout.min',- rasterizehtml: 'libs/rasterizeHTML/rasterizeHTML.allinone',- hopscotch: 'libs/hopscotch/js/hopscotch.min',- noty: 'libs/noty/jquery.noty.packaged.min',+ jszip: 'libs/jszip/dist/jszip.min',+ hopscotch: 'libs/hopscotch/dist/js/hopscotch.min',+ noty: 'libs/noty/js/noty/packaged/jquery.noty.packaged.min',tscore: 'js/core.api',tssetting: 'js/settings.api',@@ -125,13 +123,13 @@ var isWin = navigator.appVersion.indexOf("Win")!==-1;'underscore': { exports: '_' },'bootstrap': { deps: ['jquery'] },'jqueryui': { deps: ['jquery'] },- 'jqueryuiwidget': { deps: ['jqueryui'] },- 'jqueryuiposition': { deps: ['jqueryui'] },- 'jqueryuimouse': { deps: ['jqueryui','jqueryuiwidget'] },- 'jqueryuiselectable': { deps: ['jqueryui','jqueryuiwidget','jqueryuimouse'] },- 'jqueryuisortable': { deps: ['jqueryui','jqueryuiwidget','jqueryuimouse'] },- 'jqueryuidroppable': { deps: ['jqueryui','jqueryuimouse','jqueryuidraggable'] },- 'jqueryuidraggable': { deps: ['jqueryui','jqueryuimouse'] },+// 'jqueryuiwidget': { deps: ['jqueryui'] },+// 'jqueryuiposition': { deps: ['jqueryui'] },+// 'jqueryuimouse': { deps: ['jqueryui','jqueryuiwidget'] },+// 'jqueryuiselectable': { deps: ['jqueryui','jqueryuiwidget','jqueryuimouse'] },+// 'jqueryuisortable': { deps: ['jqueryui','jqueryuiwidget','jqueryuimouse'] },+// 'jqueryuidroppable': { deps: ['jqueryui','jqueryuimouse','jqueryuidraggable'] },+// 'jqueryuidraggable': { deps: ['jqueryui','jqueryuimouse'] },'jquerysimplecolorpicker': { deps: ['jquery','bootstrap'] },'bootstrap3xeditable': { deps: ['jquery','jqueryui','bootstrap'] },'bootstrapvalidator': { deps: ['jquery','bootstrap'] },@@ -142,12 +140,12 @@ var isWin = navigator.appVersion.indexOf("Win")!==-1;'tscore': { deps: ['jquery','jqueryui',- 'jqueryuimouse',- 'jqueryuidraggable',- 'jqueryuidroppable',- 'jqueryuiposition',- 'jqueryuiselectable',- 'jqueryuisortable',+// 'jqueryuimouse',+// 'jqueryuidraggable',+// 'jqueryuidroppable',+// 'jqueryuiposition',+// 'jqueryuiselectable',+// 'jqueryuisortable','hammerjs','bootstrap','bootstrap3xeditable',diff --git a/data/mozilla/main.js b/data/mozilla/main.jsindex eaf53b086..97f8a2738 100644--- a/data/mozilla/main.js+++ b/data/mozilla/main.js@@ -122,7 +122,7 @@ function initToobarButton() {contentScriptFile: [data.url('libs/jquery/jquery.min.js'),data.url('libs/select2/select2.min.js'),- data.url('libs/dompurify/purify.js'),+ data.url('libs/dompurify/dist/purify.min.js'),data.url('mozilla/popup.js')],onShow: function() {