diff --git a/.gitignore b/.gitignore index f5f2df92..68123ef2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ .idea .git debug.log +stats.json +node_modules \ No newline at end of file diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..dc275e82 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,3 @@ +build/* +**/*.min.js +**/*.min.css \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..c61c0ccb --- /dev/null +++ b/.prettierrc @@ -0,0 +1,3 @@ +{ + "printWidth": 100 +} \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..f1f41feb --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,25 @@ +## Contributor's Guide + +First off, thanks for taking the time to contribute! :tada::+1: + +WebUI-Aria2 is an Angular JS 1.x application bundled with webpack. Follow the [Get Started Guide](#get-started) to setup the development environment. You'll need `Node > 6` and latest version of `npm` to build the source files. + +## Get Started + +To start developing an awesome feature or to fix a bug [fork and clone the repo](https://help.github.com/articles/fork-a-repo/) and then install Node.js > 6 and npm. + +Next, install this package's dependencies with npm using `npm install` command. + +Then run `npm run dev` command to start an HTTP development server on http://localhost:8888 and to watch and compile the source files. + +Use `npm run build` to create a production ready build from source files. + +### Useful commands + +| Command | Purpose | +| ------------------------- | --------------------------------------------------------------------------------------------------------- | +| `npm install` | will install required dependencies | +| `npm run dev` | will start an HTTP dev server on http://localhost:8888 and will watch and compile the source files | +| `npm run build` | will create a production build from source files | +| `npm run analyze` | will open a bundle analyzer on port http://localhost:9999. Useful for visualizing contents of your bundle | +| `npm run format --silent` | will format your code for consistency using Prettier | diff --git a/Dockerfile b/Dockerfile index 1dbb2910..ee6f151d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN apt-get update \ && apt-get install -y aria2 busybox curl unzip \ && rm -rf /var/lib/apt/lists/* -ADD . /webui-aria2 +ADD ./docs /webui-aria2 # gosu install latest RUN GITHUB_REPO="https://github.com/tianon/gosu" \ diff --git a/Dockerfile.arm32v7 b/Dockerfile.arm32v7 index 8c660e53..cfbba43b 100644 --- a/Dockerfile.arm32v7 +++ b/Dockerfile.arm32v7 @@ -62,7 +62,7 @@ COPY --from=aria2-builder /builds/aria2c/aria2c /usr/bin/ COPY --from=go-builder /builds/goreman/goreman /usr/local/bin/ COPY --from=go-builder /builds/gosu/gosu /usr/local/bin/ -ADD . /webui-aria2 +ADD ./docs /webui-aria2 RUN groupadd -r aria \ && useradd -m -r -g aria aria -u 1000 \ diff --git a/README.md b/README.md index 1cf1a153..4d29864a 100644 --- a/README.md +++ b/README.md @@ -1,43 +1,47 @@ -webui-aria2 -=========== +# WebUI-Aria2 ![Main interface](/screenshots/overview.png?raw=true) The aim for this project is to create the worlds best and hottest interface to interact with aria2. aria2 is the worlds best file downloader, but sometimes the command line brings more power than necessary. The project was initially created as part of the GSOC scheme, however it has rapidly grown and changed with tremendous support and feedback from the aria2 community. Very simple to use, no build scripts, no installation scripts. First start aria2 in the background either in your local machine or in a remote one. You can do that as follows: -````bash -aria2c --enable-rpc --rpc-listen-all -```` +```bash +aria2c --enable-rpc --rpc-listen-all +``` If aria2 is not installed in your local machine then head on to https://aria2.github.io/ and follow the instructions there. -Then download the webui, you can either do that by downloading this repository and running index.html in the browser. Or you could just head on to https://ziahamza.github.io/webui-aria2/ and just start downloading files! After that you can also save it for offline use by saving from the browser save page as option. You can also use node js to create simple server by using the following command from the download folder. -````bash +Then to use the WebUI-Aria2, + +- You can either download this repository and open index.html from `docs` folder. +- Or you could just head on to https://ziahamza.github.io/webui-aria2/ and start downloading files! Once you have visited the URL thanks to [Progressive Web Apps](https://developers.google.com/web/progressive-web-apps/) you can open the same URL even when you are offline. +- Or you can also use NodeJS to create simple server by using the following command from the project folder. + +```bash node node-server.js -```` +``` + +# Tips -Tips -==== 1. You can always select which files to download in case of torrents or metalinks. Just pause a download and a list icon should appear next to the settings button. To select which files to download before starting the download, give the flag --pause-metadata to aria2. See [link](https://aria2.github.io/manual/en/html/aria2c.html#cmdoption--pause-metadata) -Configuration -============= -Read and edit [configuration.js](configuration.js). +# Configuration + +Read and edit [configuration.js](src/js/services/configuration.js). + +## DirectURL -DirectURL ---------- -This feature allows users to download files that they download from aria2 directly from the webui dashboard. If you are familiar with how webservers work, setup a http server that points at the configured aria2 download directory, check permissions. Then Specify a full url: ```http://server:port/``` in the webui directURL configuration. +This feature allows users to download files that they download from aria2 directly from the webui dashboard. If you are familiar with how webservers work, setup a http server that points at the configured aria2 download directory, check permissions. Then Specify a full url: `http://server:port/` in the webui directURL configuration. If the above is not obvious, keep reading what this is about in [directurl.md](directurl.md) -Dependencies -============ +# Dependencies + Well, you need aria2. And a web browser (if that even counts!) -Docker support -============== +# Docker support + There is two Dockerfile in this project, one is a common Dockerfile, which can be use for **testing purpose**.
The second is a **production ready** Dockerfile for arm32v7 plateforms (which includes raspberry). @@ -47,15 +51,15 @@ You can also try or use webui-aria2 in your LAN inside a Docker sandbox. Build the image -````bash +```bash sudo docker build -t yourname/webui-aria2 . -```` +``` ..and run it! It will be available at: `http://localhost:9100` -````bash +```bash sudo docker run -v /Downloads:/data -p 6800:6800 -p 9100:8080 --name="webui-aria2" yourname/webui-aria2 -```` +``` `/Downloads` is the directory in the host where you want to keep the downloaded files @@ -64,11 +68,13 @@ sudo docker run -v /Downloads:/data -p 6800:6800 -p 9100:8080 --name="webui-aria This image contains both aria2 and webui-aria2. Build it (may take several hours due to the aria2 compilation process. Don't panic and grab a coffee). + ``` docker build -f Dockerfile.arm32v7 -t yourname/webui-aria2 . ``` This command will ends up building three images: + - The first one is just about compiling aria2 and goreman binaries. It MUST be deleted each time the `ARIA2_VERSION` is changed in the Dockerfile, otherwise you won't benefit from the update. - The second is about building and downloading some go dependencies (goreman and gosu). - The second one is the acutal aria2 container, the one you must use. @@ -84,6 +90,7 @@ This image required few file to be mounted in the container. ``` Run it + ``` docker run --restart=always \ -v /home//data/aria2/downloads:/data/downloads \ @@ -93,14 +100,18 @@ docker run --restart=always \ -d yourname/webui-aria2 ``` -Deploy to Heroku -============== +# Contributing + +Checkout [contributor's guide](CONTRIBUTING.md) to know more about how to contribute to this project. + +# Deploy to Heroku + [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) -Support -======= +# Support + For any support, feature request and bug report add an issue in the github project. [link](https://github.com/ziahamza/webui-aria2/issues) -License -======= +# License + Refer to the LICENSE file (MIT License). If the more liberal license is needed then add it as an issue diff --git a/configuration.js b/configuration.js deleted file mode 100644 index 4119b317..00000000 --- a/configuration.js +++ /dev/null @@ -1,46 +0,0 @@ -angular -.module('webui.services.configuration', []) -.constant('$name', 'Aria2 WebUI') // name used across the entire UI -.constant('$titlePattern', 'active: {active} - waiting: {waiting} - stopped: {stopped} — {name}') -.constant('$pageSize', 11) // number of downloads shown before pagination kicks in -.constant('$authconf', { // default authentication configuration, never fill it in case the webui is hosted in public IP as it can be compromised - host: location.protocol.startsWith('http') ? location.hostname : 'localhost', - path: '/jsonrpc', - port: 6800, - encrypt: false, - auth: { // either add the token field or the user and pass field, not both. - // token: '$YOUR_SECRET_TOKEN$' - /*-----------------------------*/ - // user: '*YOUR_USERNAME*', - // pass: '*YOUR_SECRET_PASS*' - }, - directURL: '' // If supplied, links will be created to enable direct download from the aria2 server, requires appropriate webserver to be configured -}) -.constant('$enable', { - - torrent: true, // bittorrent support only enabled if supported by aria2 build, set to false otherwise to permanently disable it - - metalink: true, // metalink support only enabled if supported by aria2 build, set to false to permanently disable it - - sidebar: { // configuration related to the sidebar next to the list of downloads - show: true, // set to false to completely hide the sidebar. Other elements inside will be automatically hidden - - stats: true, // set to false to hide the global statistic section (contains the speed graph for now) - - filters: true, // set to false to hide the Download Filters - - starredProps: true // only shown when at least one property is added to the starred list, set to false to permanently hide the Quick Access Settings inside the sidebar - } -}) -.constant('$starredProps', [ // default list of Quick Access Properties. Can be overridden by making modification through the Global Settings dialog - // go to Global Settings dialog to see their description - 'dir', 'conf-path', 'auto-file-renaming', 'max-connection-per-server' -]) -.constant('$downloadProps', [ // Similar to starred Quick Access properties but for adding new downloads. - // go to Advance Download Options when adding a new download to view the list of possible options - 'header', 'http-user', 'http-passwd', 'pause', 'dir', 'max-connection-per-server' -]) -.constant('$globalTimeout', 1000) // interval to update the individual downloads -; - - diff --git a/css/bootstrap.min.css b/css/bootstrap.min.css deleted file mode 100644 index 3c1c2e6e..00000000 --- a/css/bootstrap.min.css +++ /dev/null @@ -1,6 +0,0 @@ -/*! - * Bootstrap v3.3.7 (http://getbootstrap.com) - * Copyright 2011-2016 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */ -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}}*{-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:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:hover,a:focus{color:#23527c;text-decoration:underline}a:focus{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:6px}.img-thumbnail{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;display:inline-block;max-width:100%;height:auto}.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;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:500;line-height:1.1;color:inherit}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:#777}h1,.h1,h2,.h2,h3,.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,.h4,h5,.h5,h6,.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{background-color:#fcf8e3;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:#777}.text-primary{color:#337ab7}a.text-primary:hover,a.text-primary:focus{color:#286090}.text-success{color:#3c763d}a.text-success:hover,a.text-success:focus{color:#2b542c}.text-info{color:#31708f}a.text-info:hover,a.text-info:focus{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:hover,a.text-warning:focus{color:#66512c}.text-danger{color:#a94442}a.text-danger:hover,a.text-danger:focus{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:hover,a.bg-primary:focus{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:hover,a.bg-success:focus{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover,a.bg-info:focus{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover,a.bg-warning:focus{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover,a.bg-danger:focus{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}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:20px}dt,dd{line-height:1.42857143}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 #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 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.42857143;color:#777}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 #eee;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: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,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:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;word-break:break-all;word-wrap:break-word;color:#333;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{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:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.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.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>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 #ddd}.table .table{background-color:#fff}.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 #ddd}.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 #ddd}.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:#d9edf7}.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:#c4e3f3}.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:#fcf8e3}.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:#faf2cc}.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:#f2dede}.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:#ebcccc}.table-responsive{overflow-x:auto;min-height:0.01%}@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>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: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: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: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,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:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{border:0;background-color:transparent}.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[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:46px}}.form-group{margin-bottom:15px}.radio,.checkbox{position:relative;display:block;margin-top:10px;margin-bottom:10px}.radio label,.checkbox label{min-height:20px;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:34px}.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: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}textarea.input-lg,select[multiple].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 textarea.form-control,.form-group-lg select[multiple].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}.input-lg+.form-control-feedback,.input-group-lg+.form-control-feedback,.form-group-lg .form-control+.form-control-feedback{width:46px;height:46px;line-height:46px}.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:#3c763d}.has-success .form-control{border-color:#3c763d;-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:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.has-success .form-control-feedback{color:#3c763d}.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:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-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:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.has-warning .form-control-feedback{color:#8a6d3b}.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:#a94442}.has-error .form-control{border-color:#a94442;-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:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.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 .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:27px}.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:18px}}@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 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-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:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus,.btn.focus{color:#333;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:.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:#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: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:#333;background-color:#d4d4d4;border-color:#8c8c8c}.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:#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: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:#fff;background-color:#204d74;border-color:#122b40}.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:#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: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:#fff;background-color:#398439;border-color:#255625}.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:#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: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:#fff;background-color:#269abc;border-color:#1b6d85}.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:#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: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:#fff;background-color:#d58512;border-color:#985f0d}.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:#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: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:#fff;background-color:#ac2925;border-color:#761c19}.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:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{color:#337ab7;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:#23527c;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:#777;text-decoration:none}.btn-lg,.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.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 .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-property:height, visibility;-o-transition-property:height, visibility;transition-property:height, visibility;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.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:14px;text-align:left;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-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:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{text-decoration:none;color:#262626;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;outline:0;background-color:#337ab7}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#777}.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.42857143;color:#777;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:4px;border-top-left-radius:4px;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: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-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: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}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 12px;font-size:14px;font-weight:normal;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="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:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#777;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{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:hover,.nav-tabs>li.active>a:focus{color:#555;background-color:#fff;border:1px solid #ddd;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:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{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:hover,.nav-tabs.nav-justified>.active>a:focus{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:hover,.nav-pills>li.active>a:focus{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{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:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{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:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.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: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{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:15px 15px;font-size:18px;line-height:20px;height:50px}.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:8px;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>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.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:15px;padding-bottom:15px}}.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:8px;margin-bottom:8px}@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:4px;border-top-left-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-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:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{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:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{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:hover,.navbar-default .navbar-nav>.open>a:focus{background-color:#e7e7e7;color:#555}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;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:#555;background-color:#e7e7e7}.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:#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:hover,.navbar-default .btn-link:focus{color:#333}.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:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{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:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{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:hover,.navbar-inverse .navbar-nav>.open>a:focus{background-color:#080808;color:#fff}@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:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;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:#fff;background-color:#080808}.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:#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:hover,.navbar-inverse .btn-link:focus{color:#fff}.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:#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{content:"/\00a0";padding:0 5px;color:#ccc}.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;line-height:1.42857143;text-decoration:none;color:#337ab7;background-color:#fff;border:1px solid #ddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd}.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:#fff;background-color:#337ab7;border-color:#337ab7;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:#777;background-color:#fff;border-color:#ddd;cursor:not-allowed}.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-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:6px;border-top-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-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:20px 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:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{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:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#777;background-color:#fff;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:hover,a.label:focus{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]:hover,.label-default[href]:focus{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:bold;color:#fff;line-height:1;vertical-align:middle;white-space:nowrap;text-align:center;background-color:#777;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:#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;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: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>img,.thumbnail a>img{margin-left:auto;margin-right:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{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: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:#3c763d}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.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{overflow:hidden;height:20px;margin-bottom:20px;background-color:#f5f5f5;border-radius:4px;-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:20px;color:#fff;text-align:center;background-color:#337ab7;-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 .6s ease;-o-transition:width .6s ease;transition:width .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:#5cb85c}.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:#5bc0de}.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:#f0ad4e}.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:#d9534f}.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:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-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:hover,button.list-group-item:hover,a.list-group-item:focus,button.list-group-item:focus{text-decoration:none;color:#555;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:#eee;color:#777;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:#777}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.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:#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:hover,button.list-group-item-success:hover,a.list-group-item-success:focus,button.list-group-item-success:focus{color:#3c763d;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:#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:hover,button.list-group-item-info:hover,a.list-group-item-info:focus,button.list-group-item-info:focus{color:#31708f;background-color:#c4e3f3}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:#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:hover,button.list-group-item-warning:hover,a.list-group-item-warning:focus,button.list-group-item-warning:focus{color:#8a6d3b;background-color:#faf2cc}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:#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:hover,button.list-group-item-danger:hover,a.list-group-item-danger:focus,button.list-group-item-danger:focus{color:#a94442;background-color:#ebcccc}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:#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,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:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;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 #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-right-radius:3px;border-top-left-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-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:3px;border-top-left-radius:3px}.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:3px;border-top-right-radius:3px}.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:3px}.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:3px}.panel>.table:last-child,.panel>.table-responsive:last-child>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.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:3px;border-bottom-right-radius:3px}.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:3px}.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: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 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: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>.panel-body,.panel-group .panel-heading+.panel-collapse>.list-group{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 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:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-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:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:bold;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.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:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-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:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.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-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:"Helvetica Neue",Helvetica,Arial,sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;line-break:auto;line-height:1.42857143;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:.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:#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{bottom:0;right:5px;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-style:normal;font-weight:normal;letter-spacing:normal;line-break:auto;line-height:1.42857143;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:14px;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-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: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{border-width:10px;content:""}.popover.top>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);bottom:-11px}.popover.top>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999;border-right-color:rgba(0,0,0,0.25)}.popover.right>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#fff}.popover.bottom>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);top:-11px}.popover.bottom>.arrow:after{content:" ";top:1px;margin-left:-10px;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,0.25)}.popover.left>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#fff;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 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:.5;filter:alpha(opacity=50);font-size:20px;color:#fff;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, color-stop(0, 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, color-stop(0, 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:#fff;text-decoration:none;opacity:.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 #fff;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:#fff}.carousel-caption{position:absolute;left:15%;right:15%;bottom:20px;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;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}} \ No newline at end of file diff --git a/css/flag-icon.min.css b/css/flag-icon.min.css deleted file mode 100644 index 94807416..00000000 --- a/css/flag-icon.min.css +++ /dev/null @@ -1 +0,0 @@ -.flag-icon,.flag-icon-background{background-repeat:no-repeat;background-size:contain;background-position:50%}.flag-icon{position:relative;display:inline-block;width:1.33333333em;line-height:1em}.flag-icon:before{content:"\00a0"}.flag-icon.flag-icon-squared{width:1em}.flag-icon-ad{background-image:url(../flags/4x3/ad.svg)}.flag-icon-ad.flag-icon-squared{background-image:url(../flags/1x1/ad.svg)}.flag-icon-ae{background-image:url(../flags/4x3/ae.svg)}.flag-icon-ae.flag-icon-squared{background-image:url(../flags/1x1/ae.svg)}.flag-icon-af{background-image:url(../flags/4x3/af.svg)}.flag-icon-af.flag-icon-squared{background-image:url(../flags/1x1/af.svg)}.flag-icon-ag{background-image:url(../flags/4x3/ag.svg)}.flag-icon-ag.flag-icon-squared{background-image:url(../flags/1x1/ag.svg)}.flag-icon-ai{background-image:url(../flags/4x3/ai.svg)}.flag-icon-ai.flag-icon-squared{background-image:url(../flags/1x1/ai.svg)}.flag-icon-al{background-image:url(../flags/4x3/al.svg)}.flag-icon-al.flag-icon-squared{background-image:url(../flags/1x1/al.svg)}.flag-icon-am{background-image:url(../flags/4x3/am.svg)}.flag-icon-am.flag-icon-squared{background-image:url(../flags/1x1/am.svg)}.flag-icon-ao{background-image:url(../flags/4x3/ao.svg)}.flag-icon-ao.flag-icon-squared{background-image:url(../flags/1x1/ao.svg)}.flag-icon-aq{background-image:url(../flags/4x3/aq.svg)}.flag-icon-aq.flag-icon-squared{background-image:url(../flags/1x1/aq.svg)}.flag-icon-ar{background-image:url(../flags/4x3/ar.svg)}.flag-icon-ar.flag-icon-squared{background-image:url(../flags/1x1/ar.svg)}.flag-icon-as{background-image:url(../flags/4x3/as.svg)}.flag-icon-as.flag-icon-squared{background-image:url(../flags/1x1/as.svg)}.flag-icon-at{background-image:url(../flags/4x3/at.svg)}.flag-icon-at.flag-icon-squared{background-image:url(../flags/1x1/at.svg)}.flag-icon-au{background-image:url(../flags/4x3/au.svg)}.flag-icon-au.flag-icon-squared{background-image:url(../flags/1x1/au.svg)}.flag-icon-aw{background-image:url(../flags/4x3/aw.svg)}.flag-icon-aw.flag-icon-squared{background-image:url(../flags/1x1/aw.svg)}.flag-icon-ax{background-image:url(../flags/4x3/ax.svg)}.flag-icon-ax.flag-icon-squared{background-image:url(../flags/1x1/ax.svg)}.flag-icon-az{background-image:url(../flags/4x3/az.svg)}.flag-icon-az.flag-icon-squared{background-image:url(../flags/1x1/az.svg)}.flag-icon-ba{background-image:url(../flags/4x3/ba.svg)}.flag-icon-ba.flag-icon-squared{background-image:url(../flags/1x1/ba.svg)}.flag-icon-bb{background-image:url(../flags/4x3/bb.svg)}.flag-icon-bb.flag-icon-squared{background-image:url(../flags/1x1/bb.svg)}.flag-icon-bd{background-image:url(../flags/4x3/bd.svg)}.flag-icon-bd.flag-icon-squared{background-image:url(../flags/1x1/bd.svg)}.flag-icon-be{background-image:url(../flags/4x3/be.svg)}.flag-icon-be.flag-icon-squared{background-image:url(../flags/1x1/be.svg)}.flag-icon-bf{background-image:url(../flags/4x3/bf.svg)}.flag-icon-bf.flag-icon-squared{background-image:url(../flags/1x1/bf.svg)}.flag-icon-bg{background-image:url(../flags/4x3/bg.svg)}.flag-icon-bg.flag-icon-squared{background-image:url(../flags/1x1/bg.svg)}.flag-icon-bh{background-image:url(../flags/4x3/bh.svg)}.flag-icon-bh.flag-icon-squared{background-image:url(../flags/1x1/bh.svg)}.flag-icon-bi{background-image:url(../flags/4x3/bi.svg)}.flag-icon-bi.flag-icon-squared{background-image:url(../flags/1x1/bi.svg)}.flag-icon-bj{background-image:url(../flags/4x3/bj.svg)}.flag-icon-bj.flag-icon-squared{background-image:url(../flags/1x1/bj.svg)}.flag-icon-bl{background-image:url(../flags/4x3/bl.svg)}.flag-icon-bl.flag-icon-squared{background-image:url(../flags/1x1/bl.svg)}.flag-icon-bm{background-image:url(../flags/4x3/bm.svg)}.flag-icon-bm.flag-icon-squared{background-image:url(../flags/1x1/bm.svg)}.flag-icon-bn{background-image:url(../flags/4x3/bn.svg)}.flag-icon-bn.flag-icon-squared{background-image:url(../flags/1x1/bn.svg)}.flag-icon-bo{background-image:url(../flags/4x3/bo.svg)}.flag-icon-bo.flag-icon-squared{background-image:url(../flags/1x1/bo.svg)}.flag-icon-bq{background-image:url(../flags/4x3/bq.svg)}.flag-icon-bq.flag-icon-squared{background-image:url(../flags/1x1/bq.svg)}.flag-icon-br{background-image:url(../flags/4x3/br.svg)}.flag-icon-br.flag-icon-squared{background-image:url(../flags/1x1/br.svg)}.flag-icon-bs{background-image:url(../flags/4x3/bs.svg)}.flag-icon-bs.flag-icon-squared{background-image:url(../flags/1x1/bs.svg)}.flag-icon-bt{background-image:url(../flags/4x3/bt.svg)}.flag-icon-bt.flag-icon-squared{background-image:url(../flags/1x1/bt.svg)}.flag-icon-bv{background-image:url(../flags/4x3/bv.svg)}.flag-icon-bv.flag-icon-squared{background-image:url(../flags/1x1/bv.svg)}.flag-icon-bw{background-image:url(../flags/4x3/bw.svg)}.flag-icon-bw.flag-icon-squared{background-image:url(../flags/1x1/bw.svg)}.flag-icon-by{background-image:url(../flags/4x3/by.svg)}.flag-icon-by.flag-icon-squared{background-image:url(../flags/1x1/by.svg)}.flag-icon-bz{background-image:url(../flags/4x3/bz.svg)}.flag-icon-bz.flag-icon-squared{background-image:url(../flags/1x1/bz.svg)}.flag-icon-ca{background-image:url(../flags/4x3/ca.svg)}.flag-icon-ca.flag-icon-squared{background-image:url(../flags/1x1/ca.svg)}.flag-icon-cc{background-image:url(../flags/4x3/cc.svg)}.flag-icon-cc.flag-icon-squared{background-image:url(../flags/1x1/cc.svg)}.flag-icon-cd{background-image:url(../flags/4x3/cd.svg)}.flag-icon-cd.flag-icon-squared{background-image:url(../flags/1x1/cd.svg)}.flag-icon-cf{background-image:url(../flags/4x3/cf.svg)}.flag-icon-cf.flag-icon-squared{background-image:url(../flags/1x1/cf.svg)}.flag-icon-cg{background-image:url(../flags/4x3/cg.svg)}.flag-icon-cg.flag-icon-squared{background-image:url(../flags/1x1/cg.svg)}.flag-icon-ch{background-image:url(../flags/4x3/ch.svg)}.flag-icon-ch.flag-icon-squared{background-image:url(../flags/1x1/ch.svg)}.flag-icon-ci{background-image:url(../flags/4x3/ci.svg)}.flag-icon-ci.flag-icon-squared{background-image:url(../flags/1x1/ci.svg)}.flag-icon-ck{background-image:url(../flags/4x3/ck.svg)}.flag-icon-ck.flag-icon-squared{background-image:url(../flags/1x1/ck.svg)}.flag-icon-cl{background-image:url(../flags/4x3/cl.svg)}.flag-icon-cl.flag-icon-squared{background-image:url(../flags/1x1/cl.svg)}.flag-icon-cm{background-image:url(../flags/4x3/cm.svg)}.flag-icon-cm.flag-icon-squared{background-image:url(../flags/1x1/cm.svg)}.flag-icon-cn{background-image:url(../flags/4x3/cn.svg)}.flag-icon-cn.flag-icon-squared{background-image:url(../flags/1x1/cn.svg)}.flag-icon-co{background-image:url(../flags/4x3/co.svg)}.flag-icon-co.flag-icon-squared{background-image:url(../flags/1x1/co.svg)}.flag-icon-cr{background-image:url(../flags/4x3/cr.svg)}.flag-icon-cr.flag-icon-squared{background-image:url(../flags/1x1/cr.svg)}.flag-icon-cu{background-image:url(../flags/4x3/cu.svg)}.flag-icon-cu.flag-icon-squared{background-image:url(../flags/1x1/cu.svg)}.flag-icon-cv{background-image:url(../flags/4x3/cv.svg)}.flag-icon-cv.flag-icon-squared{background-image:url(../flags/1x1/cv.svg)}.flag-icon-cw{background-image:url(../flags/4x3/cw.svg)}.flag-icon-cw.flag-icon-squared{background-image:url(../flags/1x1/cw.svg)}.flag-icon-cx{background-image:url(../flags/4x3/cx.svg)}.flag-icon-cx.flag-icon-squared{background-image:url(../flags/1x1/cx.svg)}.flag-icon-cy{background-image:url(../flags/4x3/cy.svg)}.flag-icon-cy.flag-icon-squared{background-image:url(../flags/1x1/cy.svg)}.flag-icon-cz{background-image:url(../flags/4x3/cz.svg)}.flag-icon-cz.flag-icon-squared{background-image:url(../flags/1x1/cz.svg)}.flag-icon-de{background-image:url(../flags/4x3/de.svg)}.flag-icon-de.flag-icon-squared{background-image:url(../flags/1x1/de.svg)}.flag-icon-dj{background-image:url(../flags/4x3/dj.svg)}.flag-icon-dj.flag-icon-squared{background-image:url(../flags/1x1/dj.svg)}.flag-icon-dk{background-image:url(../flags/4x3/dk.svg)}.flag-icon-dk.flag-icon-squared{background-image:url(../flags/1x1/dk.svg)}.flag-icon-dm{background-image:url(../flags/4x3/dm.svg)}.flag-icon-dm.flag-icon-squared{background-image:url(../flags/1x1/dm.svg)}.flag-icon-do{background-image:url(../flags/4x3/do.svg)}.flag-icon-do.flag-icon-squared{background-image:url(../flags/1x1/do.svg)}.flag-icon-dz{background-image:url(../flags/4x3/dz.svg)}.flag-icon-dz.flag-icon-squared{background-image:url(../flags/1x1/dz.svg)}.flag-icon-ec{background-image:url(../flags/4x3/ec.svg)}.flag-icon-ec.flag-icon-squared{background-image:url(../flags/1x1/ec.svg)}.flag-icon-ee{background-image:url(../flags/4x3/ee.svg)}.flag-icon-ee.flag-icon-squared{background-image:url(../flags/1x1/ee.svg)}.flag-icon-eg{background-image:url(../flags/4x3/eg.svg)}.flag-icon-eg.flag-icon-squared{background-image:url(../flags/1x1/eg.svg)}.flag-icon-eh{background-image:url(../flags/4x3/eh.svg)}.flag-icon-eh.flag-icon-squared{background-image:url(../flags/1x1/eh.svg)}.flag-icon-er{background-image:url(../flags/4x3/er.svg)}.flag-icon-er.flag-icon-squared{background-image:url(../flags/1x1/er.svg)}.flag-icon-es{background-image:url(../flags/4x3/es.svg)}.flag-icon-es.flag-icon-squared{background-image:url(../flags/1x1/es.svg)}.flag-icon-et{background-image:url(../flags/4x3/et.svg)}.flag-icon-et.flag-icon-squared{background-image:url(../flags/1x1/et.svg)}.flag-icon-fi{background-image:url(../flags/4x3/fi.svg)}.flag-icon-fi.flag-icon-squared{background-image:url(../flags/1x1/fi.svg)}.flag-icon-fj{background-image:url(../flags/4x3/fj.svg)}.flag-icon-fj.flag-icon-squared{background-image:url(../flags/1x1/fj.svg)}.flag-icon-fk{background-image:url(../flags/4x3/fk.svg)}.flag-icon-fk.flag-icon-squared{background-image:url(../flags/1x1/fk.svg)}.flag-icon-fm{background-image:url(../flags/4x3/fm.svg)}.flag-icon-fm.flag-icon-squared{background-image:url(../flags/1x1/fm.svg)}.flag-icon-fo{background-image:url(../flags/4x3/fo.svg)}.flag-icon-fo.flag-icon-squared{background-image:url(../flags/1x1/fo.svg)}.flag-icon-fr{background-image:url(../flags/4x3/fr.svg)}.flag-icon-fr.flag-icon-squared{background-image:url(../flags/1x1/fr.svg)}.flag-icon-ga{background-image:url(../flags/4x3/ga.svg)}.flag-icon-ga.flag-icon-squared{background-image:url(../flags/1x1/ga.svg)}.flag-icon-gb{background-image:url(../flags/4x3/gb.svg)}.flag-icon-gb.flag-icon-squared{background-image:url(../flags/1x1/gb.svg)}.flag-icon-gd{background-image:url(../flags/4x3/gd.svg)}.flag-icon-gd.flag-icon-squared{background-image:url(../flags/1x1/gd.svg)}.flag-icon-ge{background-image:url(../flags/4x3/ge.svg)}.flag-icon-ge.flag-icon-squared{background-image:url(../flags/1x1/ge.svg)}.flag-icon-gf{background-image:url(../flags/4x3/gf.svg)}.flag-icon-gf.flag-icon-squared{background-image:url(../flags/1x1/gf.svg)}.flag-icon-gg{background-image:url(../flags/4x3/gg.svg)}.flag-icon-gg.flag-icon-squared{background-image:url(../flags/1x1/gg.svg)}.flag-icon-gh{background-image:url(../flags/4x3/gh.svg)}.flag-icon-gh.flag-icon-squared{background-image:url(../flags/1x1/gh.svg)}.flag-icon-gi{background-image:url(../flags/4x3/gi.svg)}.flag-icon-gi.flag-icon-squared{background-image:url(../flags/1x1/gi.svg)}.flag-icon-gl{background-image:url(../flags/4x3/gl.svg)}.flag-icon-gl.flag-icon-squared{background-image:url(../flags/1x1/gl.svg)}.flag-icon-gm{background-image:url(../flags/4x3/gm.svg)}.flag-icon-gm.flag-icon-squared{background-image:url(../flags/1x1/gm.svg)}.flag-icon-gn{background-image:url(../flags/4x3/gn.svg)}.flag-icon-gn.flag-icon-squared{background-image:url(../flags/1x1/gn.svg)}.flag-icon-gp{background-image:url(../flags/4x3/gp.svg)}.flag-icon-gp.flag-icon-squared{background-image:url(../flags/1x1/gp.svg)}.flag-icon-gq{background-image:url(../flags/4x3/gq.svg)}.flag-icon-gq.flag-icon-squared{background-image:url(../flags/1x1/gq.svg)}.flag-icon-gr{background-image:url(../flags/4x3/gr.svg)}.flag-icon-gr.flag-icon-squared{background-image:url(../flags/1x1/gr.svg)}.flag-icon-gs{background-image:url(../flags/4x3/gs.svg)}.flag-icon-gs.flag-icon-squared{background-image:url(../flags/1x1/gs.svg)}.flag-icon-gt{background-image:url(../flags/4x3/gt.svg)}.flag-icon-gt.flag-icon-squared{background-image:url(../flags/1x1/gt.svg)}.flag-icon-gu{background-image:url(../flags/4x3/gu.svg)}.flag-icon-gu.flag-icon-squared{background-image:url(../flags/1x1/gu.svg)}.flag-icon-gw{background-image:url(../flags/4x3/gw.svg)}.flag-icon-gw.flag-icon-squared{background-image:url(../flags/1x1/gw.svg)}.flag-icon-gy{background-image:url(../flags/4x3/gy.svg)}.flag-icon-gy.flag-icon-squared{background-image:url(../flags/1x1/gy.svg)}.flag-icon-hk{background-image:url(../flags/4x3/hk.svg)}.flag-icon-hk.flag-icon-squared{background-image:url(../flags/1x1/hk.svg)}.flag-icon-hm{background-image:url(../flags/4x3/hm.svg)}.flag-icon-hm.flag-icon-squared{background-image:url(../flags/1x1/hm.svg)}.flag-icon-hn{background-image:url(../flags/4x3/hn.svg)}.flag-icon-hn.flag-icon-squared{background-image:url(../flags/1x1/hn.svg)}.flag-icon-hr{background-image:url(../flags/4x3/hr.svg)}.flag-icon-hr.flag-icon-squared{background-image:url(../flags/1x1/hr.svg)}.flag-icon-ht{background-image:url(../flags/4x3/ht.svg)}.flag-icon-ht.flag-icon-squared{background-image:url(../flags/1x1/ht.svg)}.flag-icon-hu{background-image:url(../flags/4x3/hu.svg)}.flag-icon-hu.flag-icon-squared{background-image:url(../flags/1x1/hu.svg)}.flag-icon-id{background-image:url(../flags/4x3/id.svg)}.flag-icon-id.flag-icon-squared{background-image:url(../flags/1x1/id.svg)}.flag-icon-ie{background-image:url(../flags/4x3/ie.svg)}.flag-icon-ie.flag-icon-squared{background-image:url(../flags/1x1/ie.svg)}.flag-icon-il{background-image:url(../flags/4x3/il.svg)}.flag-icon-il.flag-icon-squared{background-image:url(../flags/1x1/il.svg)}.flag-icon-im{background-image:url(../flags/4x3/im.svg)}.flag-icon-im.flag-icon-squared{background-image:url(../flags/1x1/im.svg)}.flag-icon-in{background-image:url(../flags/4x3/in.svg)}.flag-icon-in.flag-icon-squared{background-image:url(../flags/1x1/in.svg)}.flag-icon-io{background-image:url(../flags/4x3/io.svg)}.flag-icon-io.flag-icon-squared{background-image:url(../flags/1x1/io.svg)}.flag-icon-iq{background-image:url(../flags/4x3/iq.svg)}.flag-icon-iq.flag-icon-squared{background-image:url(../flags/1x1/iq.svg)}.flag-icon-ir{background-image:url(../flags/4x3/ir.svg)}.flag-icon-ir.flag-icon-squared{background-image:url(../flags/1x1/ir.svg)}.flag-icon-is{background-image:url(../flags/4x3/is.svg)}.flag-icon-is.flag-icon-squared{background-image:url(../flags/1x1/is.svg)}.flag-icon-it{background-image:url(../flags/4x3/it.svg)}.flag-icon-it.flag-icon-squared{background-image:url(../flags/1x1/it.svg)}.flag-icon-je{background-image:url(../flags/4x3/je.svg)}.flag-icon-je.flag-icon-squared{background-image:url(../flags/1x1/je.svg)}.flag-icon-jm{background-image:url(../flags/4x3/jm.svg)}.flag-icon-jm.flag-icon-squared{background-image:url(../flags/1x1/jm.svg)}.flag-icon-jo{background-image:url(../flags/4x3/jo.svg)}.flag-icon-jo.flag-icon-squared{background-image:url(../flags/1x1/jo.svg)}.flag-icon-jp{background-image:url(../flags/4x3/jp.svg)}.flag-icon-jp.flag-icon-squared{background-image:url(../flags/1x1/jp.svg)}.flag-icon-ke{background-image:url(../flags/4x3/ke.svg)}.flag-icon-ke.flag-icon-squared{background-image:url(../flags/1x1/ke.svg)}.flag-icon-kg{background-image:url(../flags/4x3/kg.svg)}.flag-icon-kg.flag-icon-squared{background-image:url(../flags/1x1/kg.svg)}.flag-icon-kh{background-image:url(../flags/4x3/kh.svg)}.flag-icon-kh.flag-icon-squared{background-image:url(../flags/1x1/kh.svg)}.flag-icon-ki{background-image:url(../flags/4x3/ki.svg)}.flag-icon-ki.flag-icon-squared{background-image:url(../flags/1x1/ki.svg)}.flag-icon-km{background-image:url(../flags/4x3/km.svg)}.flag-icon-km.flag-icon-squared{background-image:url(../flags/1x1/km.svg)}.flag-icon-kn{background-image:url(../flags/4x3/kn.svg)}.flag-icon-kn.flag-icon-squared{background-image:url(../flags/1x1/kn.svg)}.flag-icon-kp{background-image:url(../flags/4x3/kp.svg)}.flag-icon-kp.flag-icon-squared{background-image:url(../flags/1x1/kp.svg)}.flag-icon-kr{background-image:url(../flags/4x3/kr.svg)}.flag-icon-kr.flag-icon-squared{background-image:url(../flags/1x1/kr.svg)}.flag-icon-kw{background-image:url(../flags/4x3/kw.svg)}.flag-icon-kw.flag-icon-squared{background-image:url(../flags/1x1/kw.svg)}.flag-icon-ky{background-image:url(../flags/4x3/ky.svg)}.flag-icon-ky.flag-icon-squared{background-image:url(../flags/1x1/ky.svg)}.flag-icon-kz{background-image:url(../flags/4x3/kz.svg)}.flag-icon-kz.flag-icon-squared{background-image:url(../flags/1x1/kz.svg)}.flag-icon-la{background-image:url(../flags/4x3/la.svg)}.flag-icon-la.flag-icon-squared{background-image:url(../flags/1x1/la.svg)}.flag-icon-lb{background-image:url(../flags/4x3/lb.svg)}.flag-icon-lb.flag-icon-squared{background-image:url(../flags/1x1/lb.svg)}.flag-icon-lc{background-image:url(../flags/4x3/lc.svg)}.flag-icon-lc.flag-icon-squared{background-image:url(../flags/1x1/lc.svg)}.flag-icon-li{background-image:url(../flags/4x3/li.svg)}.flag-icon-li.flag-icon-squared{background-image:url(../flags/1x1/li.svg)}.flag-icon-lk{background-image:url(../flags/4x3/lk.svg)}.flag-icon-lk.flag-icon-squared{background-image:url(../flags/1x1/lk.svg)}.flag-icon-lr{background-image:url(../flags/4x3/lr.svg)}.flag-icon-lr.flag-icon-squared{background-image:url(../flags/1x1/lr.svg)}.flag-icon-ls{background-image:url(../flags/4x3/ls.svg)}.flag-icon-ls.flag-icon-squared{background-image:url(../flags/1x1/ls.svg)}.flag-icon-lt{background-image:url(../flags/4x3/lt.svg)}.flag-icon-lt.flag-icon-squared{background-image:url(../flags/1x1/lt.svg)}.flag-icon-lu{background-image:url(../flags/4x3/lu.svg)}.flag-icon-lu.flag-icon-squared{background-image:url(../flags/1x1/lu.svg)}.flag-icon-lv{background-image:url(../flags/4x3/lv.svg)}.flag-icon-lv.flag-icon-squared{background-image:url(../flags/1x1/lv.svg)}.flag-icon-ly{background-image:url(../flags/4x3/ly.svg)}.flag-icon-ly.flag-icon-squared{background-image:url(../flags/1x1/ly.svg)}.flag-icon-ma{background-image:url(../flags/4x3/ma.svg)}.flag-icon-ma.flag-icon-squared{background-image:url(../flags/1x1/ma.svg)}.flag-icon-mc{background-image:url(../flags/4x3/mc.svg)}.flag-icon-mc.flag-icon-squared{background-image:url(../flags/1x1/mc.svg)}.flag-icon-md{background-image:url(../flags/4x3/md.svg)}.flag-icon-md.flag-icon-squared{background-image:url(../flags/1x1/md.svg)}.flag-icon-me{background-image:url(../flags/4x3/me.svg)}.flag-icon-me.flag-icon-squared{background-image:url(../flags/1x1/me.svg)}.flag-icon-mf{background-image:url(../flags/4x3/mf.svg)}.flag-icon-mf.flag-icon-squared{background-image:url(../flags/1x1/mf.svg)}.flag-icon-mg{background-image:url(../flags/4x3/mg.svg)}.flag-icon-mg.flag-icon-squared{background-image:url(../flags/1x1/mg.svg)}.flag-icon-mh{background-image:url(../flags/4x3/mh.svg)}.flag-icon-mh.flag-icon-squared{background-image:url(../flags/1x1/mh.svg)}.flag-icon-mk{background-image:url(../flags/4x3/mk.svg)}.flag-icon-mk.flag-icon-squared{background-image:url(../flags/1x1/mk.svg)}.flag-icon-ml{background-image:url(../flags/4x3/ml.svg)}.flag-icon-ml.flag-icon-squared{background-image:url(../flags/1x1/ml.svg)}.flag-icon-mm{background-image:url(../flags/4x3/mm.svg)}.flag-icon-mm.flag-icon-squared{background-image:url(../flags/1x1/mm.svg)}.flag-icon-mn{background-image:url(../flags/4x3/mn.svg)}.flag-icon-mn.flag-icon-squared{background-image:url(../flags/1x1/mn.svg)}.flag-icon-mo{background-image:url(../flags/4x3/mo.svg)}.flag-icon-mo.flag-icon-squared{background-image:url(../flags/1x1/mo.svg)}.flag-icon-mp{background-image:url(../flags/4x3/mp.svg)}.flag-icon-mp.flag-icon-squared{background-image:url(../flags/1x1/mp.svg)}.flag-icon-mq{background-image:url(../flags/4x3/mq.svg)}.flag-icon-mq.flag-icon-squared{background-image:url(../flags/1x1/mq.svg)}.flag-icon-mr{background-image:url(../flags/4x3/mr.svg)}.flag-icon-mr.flag-icon-squared{background-image:url(../flags/1x1/mr.svg)}.flag-icon-ms{background-image:url(../flags/4x3/ms.svg)}.flag-icon-ms.flag-icon-squared{background-image:url(../flags/1x1/ms.svg)}.flag-icon-mt{background-image:url(../flags/4x3/mt.svg)}.flag-icon-mt.flag-icon-squared{background-image:url(../flags/1x1/mt.svg)}.flag-icon-mu{background-image:url(../flags/4x3/mu.svg)}.flag-icon-mu.flag-icon-squared{background-image:url(../flags/1x1/mu.svg)}.flag-icon-mv{background-image:url(../flags/4x3/mv.svg)}.flag-icon-mv.flag-icon-squared{background-image:url(../flags/1x1/mv.svg)}.flag-icon-mw{background-image:url(../flags/4x3/mw.svg)}.flag-icon-mw.flag-icon-squared{background-image:url(../flags/1x1/mw.svg)}.flag-icon-mx{background-image:url(../flags/4x3/mx.svg)}.flag-icon-mx.flag-icon-squared{background-image:url(../flags/1x1/mx.svg)}.flag-icon-my{background-image:url(../flags/4x3/my.svg)}.flag-icon-my.flag-icon-squared{background-image:url(../flags/1x1/my.svg)}.flag-icon-mz{background-image:url(../flags/4x3/mz.svg)}.flag-icon-mz.flag-icon-squared{background-image:url(../flags/1x1/mz.svg)}.flag-icon-na{background-image:url(../flags/4x3/na.svg)}.flag-icon-na.flag-icon-squared{background-image:url(../flags/1x1/na.svg)}.flag-icon-nc{background-image:url(../flags/4x3/nc.svg)}.flag-icon-nc.flag-icon-squared{background-image:url(../flags/1x1/nc.svg)}.flag-icon-ne{background-image:url(../flags/4x3/ne.svg)}.flag-icon-ne.flag-icon-squared{background-image:url(../flags/1x1/ne.svg)}.flag-icon-nf{background-image:url(../flags/4x3/nf.svg)}.flag-icon-nf.flag-icon-squared{background-image:url(../flags/1x1/nf.svg)}.flag-icon-ng{background-image:url(../flags/4x3/ng.svg)}.flag-icon-ng.flag-icon-squared{background-image:url(../flags/1x1/ng.svg)}.flag-icon-ni{background-image:url(../flags/4x3/ni.svg)}.flag-icon-ni.flag-icon-squared{background-image:url(../flags/1x1/ni.svg)}.flag-icon-nl{background-image:url(../flags/4x3/nl.svg)}.flag-icon-nl.flag-icon-squared{background-image:url(../flags/1x1/nl.svg)}.flag-icon-no{background-image:url(../flags/4x3/no.svg)}.flag-icon-no.flag-icon-squared{background-image:url(../flags/1x1/no.svg)}.flag-icon-np{background-image:url(../flags/4x3/np.svg)}.flag-icon-np.flag-icon-squared{background-image:url(../flags/1x1/np.svg)}.flag-icon-nr{background-image:url(../flags/4x3/nr.svg)}.flag-icon-nr.flag-icon-squared{background-image:url(../flags/1x1/nr.svg)}.flag-icon-nu{background-image:url(../flags/4x3/nu.svg)}.flag-icon-nu.flag-icon-squared{background-image:url(../flags/1x1/nu.svg)}.flag-icon-nz{background-image:url(../flags/4x3/nz.svg)}.flag-icon-nz.flag-icon-squared{background-image:url(../flags/1x1/nz.svg)}.flag-icon-om{background-image:url(../flags/4x3/om.svg)}.flag-icon-om.flag-icon-squared{background-image:url(../flags/1x1/om.svg)}.flag-icon-pa{background-image:url(../flags/4x3/pa.svg)}.flag-icon-pa.flag-icon-squared{background-image:url(../flags/1x1/pa.svg)}.flag-icon-pe{background-image:url(../flags/4x3/pe.svg)}.flag-icon-pe.flag-icon-squared{background-image:url(../flags/1x1/pe.svg)}.flag-icon-pf{background-image:url(../flags/4x3/pf.svg)}.flag-icon-pf.flag-icon-squared{background-image:url(../flags/1x1/pf.svg)}.flag-icon-pg{background-image:url(../flags/4x3/pg.svg)}.flag-icon-pg.flag-icon-squared{background-image:url(../flags/1x1/pg.svg)}.flag-icon-ph{background-image:url(../flags/4x3/ph.svg)}.flag-icon-ph.flag-icon-squared{background-image:url(../flags/1x1/ph.svg)}.flag-icon-pk{background-image:url(../flags/4x3/pk.svg)}.flag-icon-pk.flag-icon-squared{background-image:url(../flags/1x1/pk.svg)}.flag-icon-pl{background-image:url(../flags/4x3/pl.svg)}.flag-icon-pl.flag-icon-squared{background-image:url(../flags/1x1/pl.svg)}.flag-icon-pm{background-image:url(../flags/4x3/pm.svg)}.flag-icon-pm.flag-icon-squared{background-image:url(../flags/1x1/pm.svg)}.flag-icon-pn{background-image:url(../flags/4x3/pn.svg)}.flag-icon-pn.flag-icon-squared{background-image:url(../flags/1x1/pn.svg)}.flag-icon-pr{background-image:url(../flags/4x3/pr.svg)}.flag-icon-pr.flag-icon-squared{background-image:url(../flags/1x1/pr.svg)}.flag-icon-ps{background-image:url(../flags/4x3/ps.svg)}.flag-icon-ps.flag-icon-squared{background-image:url(../flags/1x1/ps.svg)}.flag-icon-pt{background-image:url(../flags/4x3/pt.svg)}.flag-icon-pt.flag-icon-squared{background-image:url(../flags/1x1/pt.svg)}.flag-icon-pw{background-image:url(../flags/4x3/pw.svg)}.flag-icon-pw.flag-icon-squared{background-image:url(../flags/1x1/pw.svg)}.flag-icon-py{background-image:url(../flags/4x3/py.svg)}.flag-icon-py.flag-icon-squared{background-image:url(../flags/1x1/py.svg)}.flag-icon-qa{background-image:url(../flags/4x3/qa.svg)}.flag-icon-qa.flag-icon-squared{background-image:url(../flags/1x1/qa.svg)}.flag-icon-re{background-image:url(../flags/4x3/re.svg)}.flag-icon-re.flag-icon-squared{background-image:url(../flags/1x1/re.svg)}.flag-icon-ro{background-image:url(../flags/4x3/ro.svg)}.flag-icon-ro.flag-icon-squared{background-image:url(../flags/1x1/ro.svg)}.flag-icon-rs{background-image:url(../flags/4x3/rs.svg)}.flag-icon-rs.flag-icon-squared{background-image:url(../flags/1x1/rs.svg)}.flag-icon-ru{background-image:url(../flags/4x3/ru.svg)}.flag-icon-ru.flag-icon-squared{background-image:url(../flags/1x1/ru.svg)}.flag-icon-rw{background-image:url(../flags/4x3/rw.svg)}.flag-icon-rw.flag-icon-squared{background-image:url(../flags/1x1/rw.svg)}.flag-icon-sa{background-image:url(../flags/4x3/sa.svg)}.flag-icon-sa.flag-icon-squared{background-image:url(../flags/1x1/sa.svg)}.flag-icon-sb{background-image:url(../flags/4x3/sb.svg)}.flag-icon-sb.flag-icon-squared{background-image:url(../flags/1x1/sb.svg)}.flag-icon-sc{background-image:url(../flags/4x3/sc.svg)}.flag-icon-sc.flag-icon-squared{background-image:url(../flags/1x1/sc.svg)}.flag-icon-sd{background-image:url(../flags/4x3/sd.svg)}.flag-icon-sd.flag-icon-squared{background-image:url(../flags/1x1/sd.svg)}.flag-icon-se{background-image:url(../flags/4x3/se.svg)}.flag-icon-se.flag-icon-squared{background-image:url(../flags/1x1/se.svg)}.flag-icon-sg{background-image:url(../flags/4x3/sg.svg)}.flag-icon-sg.flag-icon-squared{background-image:url(../flags/1x1/sg.svg)}.flag-icon-sh{background-image:url(../flags/4x3/sh.svg)}.flag-icon-sh.flag-icon-squared{background-image:url(../flags/1x1/sh.svg)}.flag-icon-si{background-image:url(../flags/4x3/si.svg)}.flag-icon-si.flag-icon-squared{background-image:url(../flags/1x1/si.svg)}.flag-icon-sj{background-image:url(../flags/4x3/sj.svg)}.flag-icon-sj.flag-icon-squared{background-image:url(../flags/1x1/sj.svg)}.flag-icon-sk{background-image:url(../flags/4x3/sk.svg)}.flag-icon-sk.flag-icon-squared{background-image:url(../flags/1x1/sk.svg)}.flag-icon-sl{background-image:url(../flags/4x3/sl.svg)}.flag-icon-sl.flag-icon-squared{background-image:url(../flags/1x1/sl.svg)}.flag-icon-sm{background-image:url(../flags/4x3/sm.svg)}.flag-icon-sm.flag-icon-squared{background-image:url(../flags/1x1/sm.svg)}.flag-icon-sn{background-image:url(../flags/4x3/sn.svg)}.flag-icon-sn.flag-icon-squared{background-image:url(../flags/1x1/sn.svg)}.flag-icon-so{background-image:url(../flags/4x3/so.svg)}.flag-icon-so.flag-icon-squared{background-image:url(../flags/1x1/so.svg)}.flag-icon-sr{background-image:url(../flags/4x3/sr.svg)}.flag-icon-sr.flag-icon-squared{background-image:url(../flags/1x1/sr.svg)}.flag-icon-ss{background-image:url(../flags/4x3/ss.svg)}.flag-icon-ss.flag-icon-squared{background-image:url(../flags/1x1/ss.svg)}.flag-icon-st{background-image:url(../flags/4x3/st.svg)}.flag-icon-st.flag-icon-squared{background-image:url(../flags/1x1/st.svg)}.flag-icon-sv{background-image:url(../flags/4x3/sv.svg)}.flag-icon-sv.flag-icon-squared{background-image:url(../flags/1x1/sv.svg)}.flag-icon-sx{background-image:url(../flags/4x3/sx.svg)}.flag-icon-sx.flag-icon-squared{background-image:url(../flags/1x1/sx.svg)}.flag-icon-sy{background-image:url(../flags/4x3/sy.svg)}.flag-icon-sy.flag-icon-squared{background-image:url(../flags/1x1/sy.svg)}.flag-icon-sz{background-image:url(../flags/4x3/sz.svg)}.flag-icon-sz.flag-icon-squared{background-image:url(../flags/1x1/sz.svg)}.flag-icon-tc{background-image:url(../flags/4x3/tc.svg)}.flag-icon-tc.flag-icon-squared{background-image:url(../flags/1x1/tc.svg)}.flag-icon-td{background-image:url(../flags/4x3/td.svg)}.flag-icon-td.flag-icon-squared{background-image:url(../flags/1x1/td.svg)}.flag-icon-tf{background-image:url(../flags/4x3/tf.svg)}.flag-icon-tf.flag-icon-squared{background-image:url(../flags/1x1/tf.svg)}.flag-icon-tg{background-image:url(../flags/4x3/tg.svg)}.flag-icon-tg.flag-icon-squared{background-image:url(../flags/1x1/tg.svg)}.flag-icon-th{background-image:url(../flags/4x3/th.svg)}.flag-icon-th.flag-icon-squared{background-image:url(../flags/1x1/th.svg)}.flag-icon-tj{background-image:url(../flags/4x3/tj.svg)}.flag-icon-tj.flag-icon-squared{background-image:url(../flags/1x1/tj.svg)}.flag-icon-tk{background-image:url(../flags/4x3/tk.svg)}.flag-icon-tk.flag-icon-squared{background-image:url(../flags/1x1/tk.svg)}.flag-icon-tl{background-image:url(../flags/4x3/tl.svg)}.flag-icon-tl.flag-icon-squared{background-image:url(../flags/1x1/tl.svg)}.flag-icon-tm{background-image:url(../flags/4x3/tm.svg)}.flag-icon-tm.flag-icon-squared{background-image:url(../flags/1x1/tm.svg)}.flag-icon-tn{background-image:url(../flags/4x3/tn.svg)}.flag-icon-tn.flag-icon-squared{background-image:url(../flags/1x1/tn.svg)}.flag-icon-to{background-image:url(../flags/4x3/to.svg)}.flag-icon-to.flag-icon-squared{background-image:url(../flags/1x1/to.svg)}.flag-icon-tr{background-image:url(../flags/4x3/tr.svg)}.flag-icon-tr.flag-icon-squared{background-image:url(../flags/1x1/tr.svg)}.flag-icon-tt{background-image:url(../flags/4x3/tt.svg)}.flag-icon-tt.flag-icon-squared{background-image:url(../flags/1x1/tt.svg)}.flag-icon-tv{background-image:url(../flags/4x3/tv.svg)}.flag-icon-tv.flag-icon-squared{background-image:url(../flags/1x1/tv.svg)}.flag-icon-tw{background-image:url(../flags/4x3/tw.svg)}.flag-icon-tw.flag-icon-squared{background-image:url(../flags/1x1/tw.svg)}.flag-icon-tz{background-image:url(../flags/4x3/tz.svg)}.flag-icon-tz.flag-icon-squared{background-image:url(../flags/1x1/tz.svg)}.flag-icon-ua{background-image:url(../flags/4x3/ua.svg)}.flag-icon-ua.flag-icon-squared{background-image:url(../flags/1x1/ua.svg)}.flag-icon-ug{background-image:url(../flags/4x3/ug.svg)}.flag-icon-ug.flag-icon-squared{background-image:url(../flags/1x1/ug.svg)}.flag-icon-um{background-image:url(../flags/4x3/um.svg)}.flag-icon-um.flag-icon-squared{background-image:url(../flags/1x1/um.svg)}.flag-icon-us{background-image:url(../flags/4x3/us.svg)}.flag-icon-us.flag-icon-squared{background-image:url(../flags/1x1/us.svg)}.flag-icon-uy{background-image:url(../flags/4x3/uy.svg)}.flag-icon-uy.flag-icon-squared{background-image:url(../flags/1x1/uy.svg)}.flag-icon-uz{background-image:url(../flags/4x3/uz.svg)}.flag-icon-uz.flag-icon-squared{background-image:url(../flags/1x1/uz.svg)}.flag-icon-va{background-image:url(../flags/4x3/va.svg)}.flag-icon-va.flag-icon-squared{background-image:url(../flags/1x1/va.svg)}.flag-icon-vc{background-image:url(../flags/4x3/vc.svg)}.flag-icon-vc.flag-icon-squared{background-image:url(../flags/1x1/vc.svg)}.flag-icon-ve{background-image:url(../flags/4x3/ve.svg)}.flag-icon-ve.flag-icon-squared{background-image:url(../flags/1x1/ve.svg)}.flag-icon-vg{background-image:url(../flags/4x3/vg.svg)}.flag-icon-vg.flag-icon-squared{background-image:url(../flags/1x1/vg.svg)}.flag-icon-vi{background-image:url(../flags/4x3/vi.svg)}.flag-icon-vi.flag-icon-squared{background-image:url(../flags/1x1/vi.svg)}.flag-icon-vn{background-image:url(../flags/4x3/vn.svg)}.flag-icon-vn.flag-icon-squared{background-image:url(../flags/1x1/vn.svg)}.flag-icon-vu{background-image:url(../flags/4x3/vu.svg)}.flag-icon-vu.flag-icon-squared{background-image:url(../flags/1x1/vu.svg)}.flag-icon-wf{background-image:url(../flags/4x3/wf.svg)}.flag-icon-wf.flag-icon-squared{background-image:url(../flags/1x1/wf.svg)}.flag-icon-ws{background-image:url(../flags/4x3/ws.svg)}.flag-icon-ws.flag-icon-squared{background-image:url(../flags/1x1/ws.svg)}.flag-icon-ye{background-image:url(../flags/4x3/ye.svg)}.flag-icon-ye.flag-icon-squared{background-image:url(../flags/1x1/ye.svg)}.flag-icon-yt{background-image:url(../flags/4x3/yt.svg)}.flag-icon-yt.flag-icon-squared{background-image:url(../flags/1x1/yt.svg)}.flag-icon-za{background-image:url(../flags/4x3/za.svg)}.flag-icon-za.flag-icon-squared{background-image:url(../flags/1x1/za.svg)}.flag-icon-zm{background-image:url(../flags/4x3/zm.svg)}.flag-icon-zm.flag-icon-squared{background-image:url(../flags/1x1/zm.svg)}.flag-icon-zw{background-image:url(../flags/4x3/zw.svg)}.flag-icon-zw.flag-icon-squared{background-image:url(../flags/1x1/zw.svg)} \ No newline at end of file diff --git a/css/font-awesome.min.css b/css/font-awesome.min.css deleted file mode 100644 index 540440ce..00000000 --- a/css/font-awesome.min.css +++ /dev/null @@ -1,4 +0,0 @@ -/*! - * Font Awesome 4.7.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.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.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{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-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{-ms-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-pp: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-resistance: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: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"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.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} diff --git a/docs/app.css b/docs/app.css new file mode 100644 index 00000000..ac84afc0 --- /dev/null +++ b/docs/app.css @@ -0,0 +1,5465 @@ +/*! 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; + 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; + 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; + 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; + } +} +* { + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +*:before, +*:after { + -webkit-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.42857; + color: #333; + background-color: #fff; +} +input, +button, +select, +textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} +a { + color: #337ab7; + text-decoration: none; +} +a:hover, +a:focus { + color: #23527c; + text-decoration: underline; +} +a:focus { + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +figure { + margin: 0; +} +img { + vertical-align: middle; +} +.img-responsive { + display: block; + max-width: 100%; + height: auto; +} +.img-rounded { + border-radius: 6px; +} +.img-thumbnail { + padding: 4px; + line-height: 1.42857; + background-color: #fff; + border: 1px solid #ddd; + border-radius: 4px; + -webkit-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: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #eee; +} +.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: 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: normal; + line-height: 1; + color: #777; +} +h1, +.h1, +h2, +.h2, +h3, +.h3 { + margin-top: 20px; + margin-bottom: 10px; +} +h1 small, +h1 .small, +.h1 small, +.h1 .small, +h2 small, +h2 .small, +.h2 small, +.h2 .small, +h3 small, +h3 .small, +.h3 small, +.h3 .small { + font-size: 65%; +} +h4, +.h4, +h5, +.h5, +h6, +.h6 { + margin-top: 10px; + margin-bottom: 10px; +} +h4 small, +h4 .small, +.h4 small, +.h4 .small, +h5 small, +h5 .small, +.h5 small, +.h5 .small, +h6 small, +h6 .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 { + background-color: #fcf8e3; + padding: 0.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, +.initialism { + text-transform: uppercase; +} +.text-capitalize { + text-transform: capitalize; +} +.text-muted { + color: #777; +} +.text-primary { + color: #337ab7; +} +a.text-primary:hover, +a.text-primary:focus { + color: #286090; +} +.text-success { + color: #3c763d; +} +a.text-success:hover, +a.text-success:focus { + color: #2b542c; +} +.text-info { + color: #31708f; +} +a.text-info:hover, +a.text-info:focus { + color: #245269; +} +.text-warning { + color: #8a6d3b; +} +a.text-warning:hover, +a.text-warning:focus { + color: #66512c; +} +.text-danger { + color: #a94442; +} +a.text-danger:hover, +a.text-danger:focus { + color: #843534; +} +.bg-primary { + color: #fff; +} +.bg-primary { + background-color: #337ab7; +} +a.bg-primary:hover, +a.bg-primary:focus { + background-color: #286090; +} +.bg-success { + background-color: #dff0d8; +} +a.bg-success:hover, +a.bg-success:focus { + background-color: #c1e2b3; +} +.bg-info { + background-color: #d9edf7; +} +a.bg-info:hover, +a.bg-info:focus { + background-color: #afd9ee; +} +.bg-warning { + background-color: #fcf8e3; +} +a.bg-warning:hover, +a.bg-warning:focus { + background-color: #f7ecb5; +} +.bg-danger { + background-color: #f2dede; +} +a.bg-danger:hover, +a.bg-danger:focus { + background-color: #e4b9b9; +} +.page-header { + padding-bottom: 9px; + margin: 40px 0 20px; + border-bottom: 1px solid #eee; +} +ul, +ol { + margin-top: 0; + margin-bottom: 10px; +} +ul ul, +ul ol, +ol ul, +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: 20px; +} +dt, +dd { + line-height: 1.42857; +} +dt { + font-weight: bold; +} +dd { + margin-left: 0; +} +.dl-horizontal dd:before, +.dl-horizontal dd:after { + content: " "; + display: table; +} +.dl-horizontal dd:after { + clear: both; +} +@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 #777; +} +.initialism { + font-size: 90%; +} +blockquote { + padding: 10px 20px; + margin: 0 0 20px; + font-size: 17.5px; + border-left: 5px solid #eee; +} +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.42857; + color: #777; +} +blockquote footer:before, +blockquote small:before, +blockquote .small:before { + content: "\2014 \A0"; +} +.blockquote-reverse, +blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eee; + border-left: 0; + text-align: right; +} +.blockquote-reverse footer:before, +.blockquote-reverse small:before, +.blockquote-reverse .small:before, +blockquote.pull-right footer:before, +blockquote.pull-right small:before, +blockquote.pull-right .small:before { + content: ""; +} +.blockquote-reverse footer:after, +.blockquote-reverse small:after, +.blockquote-reverse .small:after, +blockquote.pull-right footer:after, +blockquote.pull-right small:after, +blockquote.pull-right .small:after { + content: "\A0 \2014"; +} +address { + margin-bottom: 20px; + font-style: normal; + line-height: 1.42857; +} +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, 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: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 1.42857; + word-break: break-all; + word-wrap: break-word; + color: #333; + 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 { + margin-right: auto; + margin-left: auto; + padding-left: 15px; + padding-right: 15px; +} +.container:before, +.container:after { + content: " "; + display: table; +} +.container:after { + clear: both; +} +@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; +} +.container-fluid:before, +.container-fluid:after { + content: " "; + display: table; +} +.container-fluid:after { + clear: both; +} +.row { + margin-left: -15px; + margin-right: -15px; +} +.row:before, +.row:after { + content: " "; + display: table; +} +.row:after { + clear: both; +} +.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-1 { + width: 8.33333%; +} +.col-xs-2 { + width: 16.66667%; +} +.col-xs-3 { + width: 25%; +} +.col-xs-4 { + width: 33.33333%; +} +.col-xs-5 { + width: 41.66667%; +} +.col-xs-6 { + width: 50%; +} +.col-xs-7 { + width: 58.33333%; +} +.col-xs-8 { + width: 66.66667%; +} +.col-xs-9 { + width: 75%; +} +.col-xs-10 { + width: 83.33333%; +} +.col-xs-11 { + width: 91.66667%; +} +.col-xs-12 { + width: 100%; +} +.col-xs-pull-0 { + right: auto; +} +.col-xs-pull-1 { + right: 8.33333%; +} +.col-xs-pull-2 { + right: 16.66667%; +} +.col-xs-pull-3 { + right: 25%; +} +.col-xs-pull-4 { + right: 33.33333%; +} +.col-xs-pull-5 { + right: 41.66667%; +} +.col-xs-pull-6 { + right: 50%; +} +.col-xs-pull-7 { + right: 58.33333%; +} +.col-xs-pull-8 { + right: 66.66667%; +} +.col-xs-pull-9 { + right: 75%; +} +.col-xs-pull-10 { + right: 83.33333%; +} +.col-xs-pull-11 { + right: 91.66667%; +} +.col-xs-pull-12 { + right: 100%; +} +.col-xs-push-0 { + left: auto; +} +.col-xs-push-1 { + left: 8.33333%; +} +.col-xs-push-2 { + left: 16.66667%; +} +.col-xs-push-3 { + left: 25%; +} +.col-xs-push-4 { + left: 33.33333%; +} +.col-xs-push-5 { + left: 41.66667%; +} +.col-xs-push-6 { + left: 50%; +} +.col-xs-push-7 { + left: 58.33333%; +} +.col-xs-push-8 { + left: 66.66667%; +} +.col-xs-push-9 { + left: 75%; +} +.col-xs-push-10 { + left: 83.33333%; +} +.col-xs-push-11 { + left: 91.66667%; +} +.col-xs-push-12 { + left: 100%; +} +.col-xs-offset-0 { + margin-left: 0%; +} +.col-xs-offset-1 { + margin-left: 8.33333%; +} +.col-xs-offset-2 { + margin-left: 16.66667%; +} +.col-xs-offset-3 { + margin-left: 25%; +} +.col-xs-offset-4 { + margin-left: 33.33333%; +} +.col-xs-offset-5 { + margin-left: 41.66667%; +} +.col-xs-offset-6 { + margin-left: 50%; +} +.col-xs-offset-7 { + margin-left: 58.33333%; +} +.col-xs-offset-8 { + margin-left: 66.66667%; +} +.col-xs-offset-9 { + margin-left: 75%; +} +.col-xs-offset-10 { + margin-left: 83.33333%; +} +.col-xs-offset-11 { + margin-left: 91.66667%; +} +.col-xs-offset-12 { + margin-left: 100%; +} +@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-1 { + width: 8.33333%; + } + .col-sm-2 { + width: 16.66667%; + } + .col-sm-3 { + width: 25%; + } + .col-sm-4 { + width: 33.33333%; + } + .col-sm-5 { + width: 41.66667%; + } + .col-sm-6 { + width: 50%; + } + .col-sm-7 { + width: 58.33333%; + } + .col-sm-8 { + width: 66.66667%; + } + .col-sm-9 { + width: 75%; + } + .col-sm-10 { + width: 83.33333%; + } + .col-sm-11 { + width: 91.66667%; + } + .col-sm-12 { + width: 100%; + } + .col-sm-pull-0 { + right: auto; + } + .col-sm-pull-1 { + right: 8.33333%; + } + .col-sm-pull-2 { + right: 16.66667%; + } + .col-sm-pull-3 { + right: 25%; + } + .col-sm-pull-4 { + right: 33.33333%; + } + .col-sm-pull-5 { + right: 41.66667%; + } + .col-sm-pull-6 { + right: 50%; + } + .col-sm-pull-7 { + right: 58.33333%; + } + .col-sm-pull-8 { + right: 66.66667%; + } + .col-sm-pull-9 { + right: 75%; + } + .col-sm-pull-10 { + right: 83.33333%; + } + .col-sm-pull-11 { + right: 91.66667%; + } + .col-sm-pull-12 { + right: 100%; + } + .col-sm-push-0 { + left: auto; + } + .col-sm-push-1 { + left: 8.33333%; + } + .col-sm-push-2 { + left: 16.66667%; + } + .col-sm-push-3 { + left: 25%; + } + .col-sm-push-4 { + left: 33.33333%; + } + .col-sm-push-5 { + left: 41.66667%; + } + .col-sm-push-6 { + left: 50%; + } + .col-sm-push-7 { + left: 58.33333%; + } + .col-sm-push-8 { + left: 66.66667%; + } + .col-sm-push-9 { + left: 75%; + } + .col-sm-push-10 { + left: 83.33333%; + } + .col-sm-push-11 { + left: 91.66667%; + } + .col-sm-push-12 { + left: 100%; + } + .col-sm-offset-0 { + margin-left: 0%; + } + .col-sm-offset-1 { + margin-left: 8.33333%; + } + .col-sm-offset-2 { + margin-left: 16.66667%; + } + .col-sm-offset-3 { + margin-left: 25%; + } + .col-sm-offset-4 { + margin-left: 33.33333%; + } + .col-sm-offset-5 { + margin-left: 41.66667%; + } + .col-sm-offset-6 { + margin-left: 50%; + } + .col-sm-offset-7 { + margin-left: 58.33333%; + } + .col-sm-offset-8 { + margin-left: 66.66667%; + } + .col-sm-offset-9 { + margin-left: 75%; + } + .col-sm-offset-10 { + margin-left: 83.33333%; + } + .col-sm-offset-11 { + margin-left: 91.66667%; + } + .col-sm-offset-12 { + margin-left: 100%; + } +} +@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-1 { + width: 8.33333%; + } + .col-md-2 { + width: 16.66667%; + } + .col-md-3 { + width: 25%; + } + .col-md-4 { + width: 33.33333%; + } + .col-md-5 { + width: 41.66667%; + } + .col-md-6 { + width: 50%; + } + .col-md-7 { + width: 58.33333%; + } + .col-md-8 { + width: 66.66667%; + } + .col-md-9 { + width: 75%; + } + .col-md-10 { + width: 83.33333%; + } + .col-md-11 { + width: 91.66667%; + } + .col-md-12 { + width: 100%; + } + .col-md-pull-0 { + right: auto; + } + .col-md-pull-1 { + right: 8.33333%; + } + .col-md-pull-2 { + right: 16.66667%; + } + .col-md-pull-3 { + right: 25%; + } + .col-md-pull-4 { + right: 33.33333%; + } + .col-md-pull-5 { + right: 41.66667%; + } + .col-md-pull-6 { + right: 50%; + } + .col-md-pull-7 { + right: 58.33333%; + } + .col-md-pull-8 { + right: 66.66667%; + } + .col-md-pull-9 { + right: 75%; + } + .col-md-pull-10 { + right: 83.33333%; + } + .col-md-pull-11 { + right: 91.66667%; + } + .col-md-pull-12 { + right: 100%; + } + .col-md-push-0 { + left: auto; + } + .col-md-push-1 { + left: 8.33333%; + } + .col-md-push-2 { + left: 16.66667%; + } + .col-md-push-3 { + left: 25%; + } + .col-md-push-4 { + left: 33.33333%; + } + .col-md-push-5 { + left: 41.66667%; + } + .col-md-push-6 { + left: 50%; + } + .col-md-push-7 { + left: 58.33333%; + } + .col-md-push-8 { + left: 66.66667%; + } + .col-md-push-9 { + left: 75%; + } + .col-md-push-10 { + left: 83.33333%; + } + .col-md-push-11 { + left: 91.66667%; + } + .col-md-push-12 { + left: 100%; + } + .col-md-offset-0 { + margin-left: 0%; + } + .col-md-offset-1 { + margin-left: 8.33333%; + } + .col-md-offset-2 { + margin-left: 16.66667%; + } + .col-md-offset-3 { + margin-left: 25%; + } + .col-md-offset-4 { + margin-left: 33.33333%; + } + .col-md-offset-5 { + margin-left: 41.66667%; + } + .col-md-offset-6 { + margin-left: 50%; + } + .col-md-offset-7 { + margin-left: 58.33333%; + } + .col-md-offset-8 { + margin-left: 66.66667%; + } + .col-md-offset-9 { + margin-left: 75%; + } + .col-md-offset-10 { + margin-left: 83.33333%; + } + .col-md-offset-11 { + margin-left: 91.66667%; + } + .col-md-offset-12 { + margin-left: 100%; + } +} +@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-1 { + width: 8.33333%; + } + .col-lg-2 { + width: 16.66667%; + } + .col-lg-3 { + width: 25%; + } + .col-lg-4 { + width: 33.33333%; + } + .col-lg-5 { + width: 41.66667%; + } + .col-lg-6 { + width: 50%; + } + .col-lg-7 { + width: 58.33333%; + } + .col-lg-8 { + width: 66.66667%; + } + .col-lg-9 { + width: 75%; + } + .col-lg-10 { + width: 83.33333%; + } + .col-lg-11 { + width: 91.66667%; + } + .col-lg-12 { + width: 100%; + } + .col-lg-pull-0 { + right: auto; + } + .col-lg-pull-1 { + right: 8.33333%; + } + .col-lg-pull-2 { + right: 16.66667%; + } + .col-lg-pull-3 { + right: 25%; + } + .col-lg-pull-4 { + right: 33.33333%; + } + .col-lg-pull-5 { + right: 41.66667%; + } + .col-lg-pull-6 { + right: 50%; + } + .col-lg-pull-7 { + right: 58.33333%; + } + .col-lg-pull-8 { + right: 66.66667%; + } + .col-lg-pull-9 { + right: 75%; + } + .col-lg-pull-10 { + right: 83.33333%; + } + .col-lg-pull-11 { + right: 91.66667%; + } + .col-lg-pull-12 { + right: 100%; + } + .col-lg-push-0 { + left: auto; + } + .col-lg-push-1 { + left: 8.33333%; + } + .col-lg-push-2 { + left: 16.66667%; + } + .col-lg-push-3 { + left: 25%; + } + .col-lg-push-4 { + left: 33.33333%; + } + .col-lg-push-5 { + left: 41.66667%; + } + .col-lg-push-6 { + left: 50%; + } + .col-lg-push-7 { + left: 58.33333%; + } + .col-lg-push-8 { + left: 66.66667%; + } + .col-lg-push-9 { + left: 75%; + } + .col-lg-push-10 { + left: 83.33333%; + } + .col-lg-push-11 { + left: 91.66667%; + } + .col-lg-push-12 { + left: 100%; + } + .col-lg-offset-0 { + margin-left: 0%; + } + .col-lg-offset-1 { + margin-left: 8.33333%; + } + .col-lg-offset-2 { + margin-left: 16.66667%; + } + .col-lg-offset-3 { + margin-left: 25%; + } + .col-lg-offset-4 { + margin-left: 33.33333%; + } + .col-lg-offset-5 { + margin-left: 41.66667%; + } + .col-lg-offset-6 { + margin-left: 50%; + } + .col-lg-offset-7 { + margin-left: 58.33333%; + } + .col-lg-offset-8 { + margin-left: 66.66667%; + } + .col-lg-offset-9 { + margin-left: 75%; + } + .col-lg-offset-10 { + margin-left: 83.33333%; + } + .col-lg-offset-11 { + margin-left: 91.66667%; + } + .col-lg-offset-12 { + margin-left: 100%; + } +} +table { + background-color: rgba(0, 0, 0, 0); +} +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 > thead > tr > th, +.table > thead > tr > td, +.table > tbody > tr > th, +.table > tbody > tr > td, +.table > tfoot > tr > th, +.table > tfoot > tr > td { + padding: 8px; + line-height: 1.42857; + 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 > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > th, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} +.table > tbody + tbody { + border-top: 2px solid #ddd; +} +.table .table { + background-color: #fff; +} +.table-condensed > thead > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > tbody > tr > th, +.table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > th, +.table-condensed > tfoot > tr > td { + padding: 5px; +} +.table-bordered { + border: 1px solid #ddd; +} +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > th, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > th, +.table-bordered > tfoot > tr > td { + border: 1px solid #ddd; +} +.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 > thead > tr > th.active, +.table > thead > tr.active > td, +.table > thead > tr.active > th, +.table > tbody > tr > td.active, +.table > tbody > tr > th.active, +.table > tbody > tr.active > td, +.table > tbody > tr.active > th, +.table > tfoot > tr > td.active, +.table > tfoot > tr > th.active, +.table > tfoot > tr.active > td, +.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 > thead > tr > th.success, +.table > thead > tr.success > td, +.table > thead > tr.success > th, +.table > tbody > tr > td.success, +.table > tbody > tr > th.success, +.table > tbody > tr.success > td, +.table > tbody > tr.success > th, +.table > tfoot > tr > td.success, +.table > tfoot > tr > th.success, +.table > tfoot > tr.success > td, +.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 > thead > tr > th.info, +.table > thead > tr.info > td, +.table > thead > tr.info > th, +.table > tbody > tr > td.info, +.table > tbody > tr > th.info, +.table > tbody > tr.info > td, +.table > tbody > tr.info > th, +.table > tfoot > tr > td.info, +.table > tfoot > tr > th.info, +.table > tfoot > tr.info > td, +.table > tfoot > tr.info > th { + background-color: #d9edf7; +} +.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: #c4e3f3; +} +.table > thead > tr > td.warning, +.table > thead > tr > th.warning, +.table > thead > tr.warning > td, +.table > thead > tr.warning > th, +.table > tbody > tr > td.warning, +.table > tbody > tr > th.warning, +.table > tbody > tr.warning > td, +.table > tbody > tr.warning > th, +.table > tfoot > tr > td.warning, +.table > tfoot > tr > th.warning, +.table > tfoot > tr.warning > td, +.table > tfoot > tr.warning > th { + background-color: #fcf8e3; +} +.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: #faf2cc; +} +.table > thead > tr > td.danger, +.table > thead > tr > th.danger, +.table > thead > tr.danger > td, +.table > thead > tr.danger > th, +.table > tbody > tr > td.danger, +.table > tbody > tr > th.danger, +.table > tbody > tr.danger > td, +.table > tbody > tr.danger > th, +.table > tfoot > tr > td.danger, +.table > tfoot > tr > th.danger, +.table > tfoot > tr.danger > td, +.table > tfoot > tr.danger > th { + background-color: #f2dede; +} +.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: #ebcccc; +} +.table-responsive { + overflow-x: auto; + min-height: 0.01%; +} +@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 > thead > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > th, + .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 > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > th: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 > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > th: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 > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .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: 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: bold; +} +input[type="search"] { + -webkit-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: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +output { + display: block; + padding-top: 7px; + font-size: 14px; + line-height: 1.42857; + color: #555; +} +.form-control { + display: block; + width: 100%; + height: 34px; + padding: 6px 12px; + font-size: 14px; + line-height: 1.42857; + 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, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s, + -webkit-box-shadow ease-in-out 0.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: #999; + opacity: 1; +} +.form-control:-ms-input-placeholder { + color: #999; +} +.form-control::-webkit-input-placeholder { + color: #999; +} +.form-control::-ms-expand { + border: 0; + background-color: transparent; +} +.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[type="date"].input-sm, + .input-group-sm > input.form-control[type="date"], + .input-group-sm > input.input-group-addon[type="date"], + .input-group-sm > .input-group-btn > input.btn[type="date"], + .input-group-sm input[type="date"], + input[type="time"].input-sm, + .input-group-sm > input.form-control[type="time"], + .input-group-sm > input.input-group-addon[type="time"], + .input-group-sm > .input-group-btn > input.btn[type="time"], + .input-group-sm input[type="time"], + input[type="datetime-local"].input-sm, + .input-group-sm > input.form-control[type="datetime-local"], + .input-group-sm > input.input-group-addon[type="datetime-local"], + .input-group-sm > .input-group-btn > input.btn[type="datetime-local"], + .input-group-sm input[type="datetime-local"], + input[type="month"].input-sm, + .input-group-sm > input.form-control[type="month"], + .input-group-sm > input.input-group-addon[type="month"], + .input-group-sm > .input-group-btn > input.btn[type="month"], + .input-group-sm input[type="month"] { + line-height: 30px; + } + input[type="date"].input-lg, + .input-group-lg > input.form-control[type="date"], + .input-group-lg > input.input-group-addon[type="date"], + .input-group-lg > .input-group-btn > input.btn[type="date"], + .input-group-lg input[type="date"], + input[type="time"].input-lg, + .input-group-lg > input.form-control[type="time"], + .input-group-lg > input.input-group-addon[type="time"], + .input-group-lg > .input-group-btn > input.btn[type="time"], + .input-group-lg input[type="time"], + input[type="datetime-local"].input-lg, + .input-group-lg > input.form-control[type="datetime-local"], + .input-group-lg > input.input-group-addon[type="datetime-local"], + .input-group-lg > .input-group-btn > input.btn[type="datetime-local"], + .input-group-lg input[type="datetime-local"], + input[type="month"].input-lg, + .input-group-lg > input.form-control[type="month"], + .input-group-lg > input.input-group-addon[type="month"], + .input-group-lg > .input-group-btn > input.btn[type="month"], + .input-group-lg input[type="month"] { + line-height: 46px; + } +} +.form-group { + margin-bottom: 15px; +} +.radio, +.checkbox { + position: relative; + display: block; + margin-top: 10px; + margin-bottom: 10px; +} +.radio label, +.checkbox label { + min-height: 20px; + 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="radio"].disabled, +fieldset[disabled] input[type="radio"], +input[type="checkbox"][disabled], +input[type="checkbox"].disabled, +fieldset[disabled] input[type="checkbox"] { + cursor: not-allowed; +} +.radio-inline.disabled, +fieldset[disabled] .radio-inline, +.checkbox-inline.disabled, +fieldset[disabled] .checkbox-inline { + cursor: not-allowed; +} +.radio.disabled label, +fieldset[disabled] .radio label, +.checkbox.disabled label, +fieldset[disabled] .checkbox label { + cursor: not-allowed; +} +.form-control-static { + padding-top: 7px; + padding-bottom: 7px; + margin-bottom: 0; + min-height: 34px; +} +.form-control-static.input-lg, +.input-group-lg > .form-control-static.form-control, +.input-group-lg > .form-control-static.input-group-addon, +.input-group-lg > .input-group-btn > .form-control-static.btn, +.form-control-static.input-sm, +.input-group-sm > .form-control-static.form-control, +.input-group-sm > .form-control-static.input-group-addon, +.input-group-sm > .input-group-btn > .form-control-static.btn { + padding-left: 0; + padding-right: 0; +} +.input-sm, +.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-sm, +.input-group-sm > select.form-control, +.input-group-sm > select.input-group-addon, +.input-group-sm > .input-group-btn > select.btn { + height: 30px; + line-height: 30px; +} +textarea.input-sm, +.input-group-sm > textarea.form-control, +.input-group-sm > textarea.input-group-addon, +.input-group-sm > .input-group-btn > textarea.btn, +select[multiple].input-sm, +.input-group-sm > select.form-control[multiple], +.input-group-sm > select.input-group-addon[multiple], +.input-group-sm > .input-group-btn > select.btn[multiple] { + 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: 32px; + padding: 6px 10px; + font-size: 12px; + line-height: 1.5; +} +.input-lg, +.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.33333; + border-radius: 6px; +} +select.input-lg, +.input-group-lg > select.form-control, +.input-group-lg > select.input-group-addon, +.input-group-lg > .input-group-btn > select.btn { + height: 46px; + line-height: 46px; +} +textarea.input-lg, +.input-group-lg > textarea.form-control, +.input-group-lg > textarea.input-group-addon, +.input-group-lg > .input-group-btn > textarea.btn, +select[multiple].input-lg, +.input-group-lg > select.form-control[multiple], +.input-group-lg > select.input-group-addon[multiple], +.input-group-lg > .input-group-btn > select.btn[multiple] { + height: auto; +} +.form-group-lg .form-control { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33333; + border-radius: 6px; +} +.form-group-lg select.form-control { + height: 46px; + line-height: 46px; +} +.form-group-lg textarea.form-control, +.form-group-lg select[multiple].form-control { + height: auto; +} +.form-group-lg .form-control-static { + height: 46px; + min-height: 38px; + padding: 11px 16px; + font-size: 18px; + line-height: 1.33333; +} +.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; +} +.input-lg + .form-control-feedback, +.input-group-lg > .form-control + .form-control-feedback, +.input-group-lg > .input-group-addon + .form-control-feedback, +.input-group-lg > .input-group-btn > .btn + .form-control-feedback, +.input-group-lg + .form-control-feedback, +.form-group-lg .form-control + .form-control-feedback { + width: 46px; + height: 46px; + line-height: 46px; +} +.input-sm + .form-control-feedback, +.input-group-sm > .form-control + .form-control-feedback, +.input-group-sm > .input-group-addon + .form-control-feedback, +.input-group-sm > .input-group-btn > .btn + .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: #3c763d; +} +.has-success .form-control { + border-color: #3c763d; + -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: #2b542c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; +} +.has-success .input-group-addon { + color: #3c763d; + border-color: #3c763d; + background-color: #dff0d8; +} +.has-success .form-control-feedback { + color: #3c763d; +} +.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: #8a6d3b; +} +.has-warning .form-control { + border-color: #8a6d3b; + -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: #66512c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; +} +.has-warning .input-group-addon { + color: #8a6d3b; + border-color: #8a6d3b; + background-color: #fcf8e3; +} +.has-warning .form-control-feedback { + color: #8a6d3b; +} +.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: #a94442; +} +.has-error .form-control { + border-color: #a94442; + -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: #843534; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; +} +.has-error .input-group-addon { + color: #a94442; + border-color: #a94442; + background-color: #f2dede; +} +.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 .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: 27px; +} +.form-horizontal .form-group { + margin-left: -15px; + margin-right: -15px; +} +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + content: " "; + display: table; +} +.form-horizontal .form-group:after { + clear: both; +} +@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: 18px; + } +} +@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 12px; + font-size: 14px; + line-height: 1.42857; + border-radius: 4px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.btn:focus, +.btn.focus, +.btn:active:focus, +.btn:active.focus, +.btn.active:focus, +.btn.active.focus { + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +.btn:hover, +.btn:focus, +.btn.focus { + color: #333; + 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: #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 > .btn-default.dropdown-toggle { + color: #333; + background-color: #e6e6e6; + border-color: #adadad; +} +.btn-default:active:hover, +.btn-default:active:focus, +.btn-default:active.focus, +.btn-default.active:hover, +.btn-default.active:focus, +.btn-default.active.focus, +.open > .btn-default.dropdown-toggle:hover, +.open > .btn-default.dropdown-toggle:focus, +.open > .btn-default.dropdown-toggle.focus { + color: #333; + background-color: #d4d4d4; + border-color: #8c8c8c; +} +.btn-default:active, +.btn-default.active, +.open > .btn-default.dropdown-toggle { + background-image: none; +} +.btn-default.disabled:hover, +.btn-default.disabled:focus, +.btn-default.disabled.focus, +.btn-default[disabled]:hover, +.btn-default[disabled]:focus, +.btn-default[disabled].focus, +fieldset[disabled] .btn-default:hover, +fieldset[disabled] .btn-default:focus, +fieldset[disabled] .btn-default.focus { + 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 > .btn-primary.dropdown-toggle { + color: #fff; + background-color: #286090; + border-color: #204d74; +} +.btn-primary:active:hover, +.btn-primary:active:focus, +.btn-primary:active.focus, +.btn-primary.active:hover, +.btn-primary.active:focus, +.btn-primary.active.focus, +.open > .btn-primary.dropdown-toggle:hover, +.open > .btn-primary.dropdown-toggle:focus, +.open > .btn-primary.dropdown-toggle.focus { + color: #fff; + background-color: #204d74; + border-color: #122b40; +} +.btn-primary:active, +.btn-primary.active, +.open > .btn-primary.dropdown-toggle { + background-image: none; +} +.btn-primary.disabled:hover, +.btn-primary.disabled:focus, +.btn-primary.disabled.focus, +.btn-primary[disabled]:hover, +.btn-primary[disabled]:focus, +.btn-primary[disabled].focus, +fieldset[disabled] .btn-primary:hover, +fieldset[disabled] .btn-primary:focus, +fieldset[disabled] .btn-primary.focus { + 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 > .btn-success.dropdown-toggle { + color: #fff; + background-color: #449d44; + border-color: #398439; +} +.btn-success:active:hover, +.btn-success:active:focus, +.btn-success:active.focus, +.btn-success.active:hover, +.btn-success.active:focus, +.btn-success.active.focus, +.open > .btn-success.dropdown-toggle:hover, +.open > .btn-success.dropdown-toggle:focus, +.open > .btn-success.dropdown-toggle.focus { + color: #fff; + background-color: #398439; + border-color: #255625; +} +.btn-success:active, +.btn-success.active, +.open > .btn-success.dropdown-toggle { + background-image: none; +} +.btn-success.disabled:hover, +.btn-success.disabled:focus, +.btn-success.disabled.focus, +.btn-success[disabled]:hover, +.btn-success[disabled]:focus, +.btn-success[disabled].focus, +fieldset[disabled] .btn-success:hover, +fieldset[disabled] .btn-success:focus, +fieldset[disabled] .btn-success.focus { + 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 > .btn-info.dropdown-toggle { + color: #fff; + background-color: #31b0d5; + border-color: #269abc; +} +.btn-info:active:hover, +.btn-info:active:focus, +.btn-info:active.focus, +.btn-info.active:hover, +.btn-info.active:focus, +.btn-info.active.focus, +.open > .btn-info.dropdown-toggle:hover, +.open > .btn-info.dropdown-toggle:focus, +.open > .btn-info.dropdown-toggle.focus { + color: #fff; + background-color: #269abc; + border-color: #1b6d85; +} +.btn-info:active, +.btn-info.active, +.open > .btn-info.dropdown-toggle { + background-image: none; +} +.btn-info.disabled:hover, +.btn-info.disabled:focus, +.btn-info.disabled.focus, +.btn-info[disabled]:hover, +.btn-info[disabled]:focus, +.btn-info[disabled].focus, +fieldset[disabled] .btn-info:hover, +fieldset[disabled] .btn-info:focus, +fieldset[disabled] .btn-info.focus { + 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 > .btn-warning.dropdown-toggle { + color: #fff; + background-color: #ec971f; + border-color: #d58512; +} +.btn-warning:active:hover, +.btn-warning:active:focus, +.btn-warning:active.focus, +.btn-warning.active:hover, +.btn-warning.active:focus, +.btn-warning.active.focus, +.open > .btn-warning.dropdown-toggle:hover, +.open > .btn-warning.dropdown-toggle:focus, +.open > .btn-warning.dropdown-toggle.focus { + color: #fff; + background-color: #d58512; + border-color: #985f0d; +} +.btn-warning:active, +.btn-warning.active, +.open > .btn-warning.dropdown-toggle { + background-image: none; +} +.btn-warning.disabled:hover, +.btn-warning.disabled:focus, +.btn-warning.disabled.focus, +.btn-warning[disabled]:hover, +.btn-warning[disabled]:focus, +.btn-warning[disabled].focus, +fieldset[disabled] .btn-warning:hover, +fieldset[disabled] .btn-warning:focus, +fieldset[disabled] .btn-warning.focus { + 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 > .btn-danger.dropdown-toggle { + color: #fff; + background-color: #c9302c; + border-color: #ac2925; +} +.btn-danger:active:hover, +.btn-danger:active:focus, +.btn-danger:active.focus, +.btn-danger.active:hover, +.btn-danger.active:focus, +.btn-danger.active.focus, +.open > .btn-danger.dropdown-toggle:hover, +.open > .btn-danger.dropdown-toggle:focus, +.open > .btn-danger.dropdown-toggle.focus { + color: #fff; + background-color: #ac2925; + border-color: #761c19; +} +.btn-danger:active, +.btn-danger.active, +.open > .btn-danger.dropdown-toggle { + background-image: none; +} +.btn-danger.disabled:hover, +.btn-danger.disabled:focus, +.btn-danger.disabled.focus, +.btn-danger[disabled]:hover, +.btn-danger[disabled]:focus, +.btn-danger[disabled].focus, +fieldset[disabled] .btn-danger:hover, +fieldset[disabled] .btn-danger:focus, +fieldset[disabled] .btn-danger.focus { + background-color: #d9534f; + border-color: #d43f3a; +} +.btn-danger .badge { + color: #d9534f; + background-color: #fff; +} +.btn-link { + color: #337ab7; + 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: #23527c; + text-decoration: underline; + background-color: transparent; +} +.btn-link[disabled]:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:hover, +fieldset[disabled] .btn-link:focus { + color: #777; + text-decoration: none; +} +.btn-lg, +.btn-group-lg > .btn { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33333; + border-radius: 6px; +} +.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; + 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; + transition-property: height, visibility; + -webkit-transition-duration: 0.35s; + transition-duration: 0.35s; + -webkit-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: 14px; + text-align: left; + background-color: #fff; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + background-clip: padding-box; +} +.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: normal; + line-height: 1.42857; + color: #333; + white-space: nowrap; +} +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + text-decoration: none; + color: #262626; + background-color: #f5f5f5; +} +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #fff; + text-decoration: none; + outline: 0; + background-color: #337ab7; +} +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #777; +} +.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.42857; + color: #777; + 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 { + right: 0; + left: auto; + } + .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 > .btn:focus, +.btn-group > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn:hover, +.btn-group-vertical > .btn:focus, +.btn-group-vertical > .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:before, +.btn-toolbar:after { + content: " "; + display: table; +} +.btn-toolbar:after { + clear: both; +} +.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, +.btn-group-lg.btn-group > .btn + .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, +.btn-group-lg > .btn .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} +.dropup .btn-lg .caret, +.dropup .btn-group-lg > .btn .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:before, +.btn-group-vertical > .btn-group:after { + content: " "; + display: table; +} +.btn-group-vertical > .btn-group:after { + clear: both; +} +.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-top-left-radius: 4px; + 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: 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-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 input[type="checkbox"], +[data-toggle="buttons"] > .btn-group > .btn input[type="radio"], +[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-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 12px; + font-size: 14px; + font-weight: normal; + line-height: 1; + color: #555; + text-align: center; + background-color: #eee; + border: 1px solid #ccc; + border-radius: 4px; +} +.input-group-addon.input-sm, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .input-group-addon.btn { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} +.input-group-addon.input-lg, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .input-group-addon.btn { + padding: 10px 16px; + font-size: 18px; + border-radius: 6px; +} +.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:before, +.nav:after { + content: " "; + display: table; +} +.nav:after { + clear: both; +} +.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: #eee; +} +.nav > li.disabled > a { + color: #777; +} +.nav > li.disabled > a:hover, +.nav > li.disabled > a:focus { + color: #777; + text-decoration: none; + background-color: transparent; + cursor: not-allowed; +} +.nav .open > a, +.nav .open > a:hover, +.nav .open > a:focus { + 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.42857; + 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:hover, +.nav-tabs > li.active > a:focus { + color: #555; + background-color: #fff; + border: 1px solid #ddd; + border-bottom-color: transparent; + cursor: default; +} +.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:hover, +.nav-pills > li.active > a:focus { + color: #fff; + background-color: #337ab7; +} +.nav-stacked > li { + float: none; +} +.nav-stacked > li + li { + margin-top: 2px; + margin-left: 0; +} +.nav-justified, +.nav-tabs.nav-justified { + width: 100%; +} +.nav-justified > li, +.nav-tabs.nav-justified > li { + float: none; +} +.nav-justified > li > a, +.nav-tabs.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, + .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-justified > li > a, + .nav-tabs.nav-justified > li > a { + margin-bottom: 0; + } +} +.nav-tabs-justified, +.nav-tabs.nav-justified { + border-bottom: 0; +} +.nav-tabs-justified > li > a, +.nav-tabs.nav-justified > li > a { + margin-right: 0; + border-radius: 4px; +} +.nav-tabs-justified > .active > a, +.nav-tabs.nav-justified > .active > a, +.nav-tabs-justified > .active > a:hover, +.nav-tabs.nav-justified > .active > a:hover, +.nav-tabs-justified > .active > a:focus, +.nav-tabs.nav-justified > .active > a:focus { + border: 1px solid #ddd; +} +@media (min-width: 768px) { + .nav-tabs-justified > li > a, + .nav-tabs.nav-justified > li > a { + border-bottom: 1px solid #ddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs-justified > .active > a, + .nav-tabs.nav-justified > .active > a, + .nav-tabs-justified > .active > a:hover, + .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus, + .nav-tabs.nav-justified > .active > a:focus { + border-bottom-color: #fff; + } +} +.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: 50px; + margin-bottom: 20px; + border: 1px solid transparent; +} +.navbar:before, +.navbar:after { + content: " "; + display: table; +} +.navbar:after { + clear: both; +} +@media (min-width: 768px) { + .navbar { + border-radius: 4px; + } +} +.navbar-header:before, +.navbar-header:after { + content: " "; + display: table; +} +.navbar-header:after { + clear: both; +} +@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:before, +.navbar-collapse:after { + content: " "; + display: table; +} +.navbar-collapse:after { + clear: both; +} +.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 > .navbar-collapse, +.container-fluid > .navbar-header, +.container-fluid > .navbar-collapse { + margin-right: -15px; + margin-left: -15px; +} +@media (min-width: 768px) { + .container > .navbar-header, + .container > .navbar-collapse, + .container-fluid > .navbar-header, + .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: 15px 15px; + font-size: 18px; + line-height: 20px; + height: 50px; +} +.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: 8px; + 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 > li > a, + .navbar-nav .open .dropdown-menu .dropdown-header { + padding: 5px 15px 5px 25px; + } + .navbar-nav .open .dropdown-menu > li > a { + line-height: 20px; + } + .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: 15px; + padding-bottom: 15px; + } +} +.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: 8px; + margin-bottom: 8px; +} +@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: 4px; + border-top-left-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.navbar-btn { + margin-top: 8px; + margin-bottom: 8px; +} +.navbar-btn.btn-sm, +.btn-group-sm > .navbar-btn.btn { + margin-top: 10px; + margin-bottom: 10px; +} +.navbar-btn.btn-xs, +.btn-group-xs > .navbar-btn.btn { + margin-top: 14px; + margin-bottom: 14px; +} +.navbar-text { + margin-top: 15px; + margin-bottom: 15px; +} +@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: #f8f8f8; + border-color: #e7e7e7; +} +.navbar-default .navbar-brand { + color: #777; +} +.navbar-default .navbar-brand:hover, +.navbar-default .navbar-brand:focus { + color: #5e5e5e; + background-color: rgba(0, 0, 0, 0); +} +.navbar-default .navbar-text { + color: #777; +} +.navbar-default .navbar-nav > li > a { + color: #777; +} +.navbar-default .navbar-nav > li > a:hover, +.navbar-default .navbar-nav > li > a:focus { + color: #333; + background-color: rgba(0, 0, 0, 0); +} +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + color: #555; + background-color: #e7e7e7; +} +.navbar-default .navbar-nav > .disabled > a, +.navbar-default .navbar-nav > .disabled > a:hover, +.navbar-default .navbar-nav > .disabled > a:focus { + color: #ccc; + background-color: rgba(0, 0, 0, 0); +} +.navbar-default .navbar-toggle { + border-color: #ddd; +} +.navbar-default .navbar-toggle:hover, +.navbar-default .navbar-toggle:focus { + 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:hover, +.navbar-default .navbar-nav > .open > a:focus { + background-color: #e7e7e7; + color: #555; +} +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #777; + } + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + color: #333; + background-color: rgba(0, 0, 0, 0); + } + .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: #555; + background-color: #e7e7e7; + } + .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: #ccc; + background-color: rgba(0, 0, 0, 0); + } +} +.navbar-default .navbar-link { + color: #777; +} +.navbar-default .navbar-link:hover { + color: #333; +} +.navbar-default .btn-link { + color: #777; +} +.navbar-default .btn-link:hover, +.navbar-default .btn-link:focus { + color: #333; +} +.navbar-default .btn-link[disabled]:hover, +.navbar-default .btn-link[disabled]:focus, +fieldset[disabled] .navbar-default .btn-link:hover, +fieldset[disabled] .navbar-default .btn-link:focus { + color: #ccc; +} +.navbar-inverse { + background-color: #222; + border-color: #090909; +} +.navbar-inverse .navbar-brand { + color: #9d9d9d; +} +.navbar-inverse .navbar-brand:hover, +.navbar-inverse .navbar-brand:focus { + color: #fff; + background-color: rgba(0, 0, 0, 0); +} +.navbar-inverse .navbar-text { + color: #9d9d9d; +} +.navbar-inverse .navbar-nav > li > a { + color: #9d9d9d; +} +.navbar-inverse .navbar-nav > li > a:hover, +.navbar-inverse .navbar-nav > li > a:focus { + color: #fff; + background-color: rgba(0, 0, 0, 0); +} +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + color: #fff; + background-color: #090909; +} +.navbar-inverse .navbar-nav > .disabled > a, +.navbar-inverse .navbar-nav > .disabled > a:hover, +.navbar-inverse .navbar-nav > .disabled > a:focus { + color: #444; + background-color: rgba(0, 0, 0, 0); +} +.navbar-inverse .navbar-toggle { + border-color: #333; +} +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + 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:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + background-color: #090909; + color: #fff; +} +@media (max-width: 767px) { + .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { + border-color: #090909; + } + .navbar-inverse .navbar-nav .open .dropdown-menu .divider { + background-color: #090909; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { + color: #9d9d9d; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: #fff; + background-color: rgba(0, 0, 0, 0); + } + .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: #fff; + background-color: #090909; + } + .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: #444; + background-color: rgba(0, 0, 0, 0); + } +} +.navbar-inverse .navbar-link { + color: #9d9d9d; +} +.navbar-inverse .navbar-link:hover { + color: #fff; +} +.navbar-inverse .btn-link { + color: #9d9d9d; +} +.navbar-inverse .btn-link:hover, +.navbar-inverse .btn-link:focus { + color: #fff; +} +.navbar-inverse .btn-link[disabled]:hover, +.navbar-inverse .btn-link[disabled]:focus, +fieldset[disabled] .navbar-inverse .btn-link:hover, +fieldset[disabled] .navbar-inverse .btn-link:focus { + color: #444; +} +.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; + line-height: 1.42857; + text-decoration: none; + color: #337ab7; + background-color: #fff; + border: 1px solid #ddd; + margin-left: -1px; +} +.pagination > li:first-child > a, +.pagination > li:first-child > span { + margin-left: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} +.pagination > li:last-child > a, +.pagination > li:last-child > span { + border-bottom-right-radius: 4px; + border-top-right-radius: 4px; +} +.pagination > li > a:hover, +.pagination > li > a:focus, +.pagination > li > span:hover, +.pagination > li > span:focus { + z-index: 2; + color: #23527c; + background-color: #eee; + border-color: #ddd; +} +.pagination > .active > a, +.pagination > .active > a:hover, +.pagination > .active > a:focus, +.pagination > .active > span, +.pagination > .active > span:hover, +.pagination > .active > span:focus { + z-index: 3; + color: #fff; + background-color: #337ab7; + border-color: #337ab7; + 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: #777; + background-color: #fff; + border-color: #ddd; + cursor: not-allowed; +} +.pagination-lg > li > a, +.pagination-lg > li > span { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33333; +} +.pagination-lg > li:first-child > a, +.pagination-lg > li:first-child > span { + border-bottom-left-radius: 6px; + border-top-left-radius: 6px; +} +.pagination-lg > li:last-child > a, +.pagination-lg > li:last-child > span { + border-bottom-right-radius: 6px; + border-top-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-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; +} +.label { + display: inline; + padding: 0.2em 0.6em 0.3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: #fff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: 0.25em; +} +.label:empty { + display: none; +} +.btn .label { + position: relative; + top: -1px; +} +a.label:hover, +a.label:focus { + color: #fff; + text-decoration: none; + cursor: pointer; +} +.label-default { + background-color: #777; +} +.label-default[href]:hover, +.label-default[href]:focus { + background-color: #5e5e5e; +} +.label-primary { + background-color: #337ab7; +} +.label-primary[href]:hover, +.label-primary[href]:focus { + background-color: #286090; +} +.label-success { + background-color: #5cb85c; +} +.label-success[href]:hover, +.label-success[href]:focus { + background-color: #449d44; +} +.label-info { + background-color: #5bc0de; +} +.label-info[href]:hover, +.label-info[href]:focus { + background-color: #31b0d5; +} +.label-warning { + background-color: #f0ad4e; +} +.label-warning[href]:hover, +.label-warning[href]:focus { + background-color: #ec971f; +} +.label-danger { + background-color: #d9534f; +} +.label-danger[href]:hover, +.label-danger[href]:focus { + background-color: #c9302c; +} +.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: 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: #3c763d; +} +.alert-success hr { + border-top-color: #c9e2b3; +} +.alert-success .alert-link { + color: #2b542c; +} +.alert-info { + background-color: #d9edf7; + border-color: #bce8f1; + color: #31708f; +} +.alert-info hr { + border-top-color: #a6e1ec; +} +.alert-info .alert-link { + color: #245269; +} +.alert-warning { + background-color: #fcf8e3; + border-color: #faebcc; + color: #8a6d3b; +} +.alert-warning hr { + border-top-color: #f7e1b5; +} +.alert-warning .alert-link { + color: #66512c; +} +.alert-danger { + background-color: #f2dede; + border-color: #ebccd1; + color: #a94442; +} +.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; + } +} +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +.progress { + overflow: hidden; + height: 20px; + margin-bottom: 20px; + background-color: #f5f5f5; + border-radius: 4px; + -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: 20px; + color: #fff; + text-align: center; + background-color: #337ab7; + -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; + transition: width 0.6s ease; +} +.progress-striped .progress-bar, +.progress-bar-striped { + 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 + ); + background-size: 40px 40px; +} +.progress.active .progress-bar, +.progress-bar.active { + -webkit-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: 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: #5bc0de; +} +.progress-striped .progress-bar-info { + 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: #f0ad4e; +} +.progress-striped .progress-bar-warning { + 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: #d9534f; +} +.progress-striped .progress-bar-danger { + 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 + ); +} +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000; + text-shadow: 0 1px 0 #fff; + opacity: 0.2; + filter: alpha(opacity=20); +} +.close:hover, +.close:focus { + color: #000; + 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%); + transform: translate(0, -25%); + -webkit-transition: -webkit-transform 0.3s ease-out; + transition: -webkit-transform 0.3s ease-out; + transition: transform 0.3s ease-out; + transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out; +} +.modal.in .modal-dialog { + -webkit-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; + border: 1px solid #999; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + background-clip: padding-box; + outline: 0; +} +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + background-color: #000; +} +.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 #e5e5e5; +} +.modal-header:before, +.modal-header:after { + content: " "; + display: table; +} +.modal-header:after { + clear: both; +} +.modal-header .close { + margin-top: -2px; +} +.modal-title { + margin: 0; + line-height: 1.42857; +} +.modal-body { + position: relative; + padding: 15px; +} +.modal-footer { + padding: 15px; + text-align: right; + border-top: 1px solid #e5e5e5; +} +.modal-footer:before, +.modal-footer:after { + content: " "; + display: table; +} +.modal-footer:after { + clear: both; +} +.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: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-style: normal; + font-weight: normal; + letter-spacing: normal; + line-break: auto; + line-height: 1.42857; + 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: #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 { + bottom: 0; + right: 5px; + 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-style: normal; + font-weight: normal; + letter-spacing: normal; + line-break: auto; + line-height: 1.42857; + 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: 14px; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + -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: 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 { + border-width: 10px; + content: ""; +} +.popover.top > .arrow { + left: 50%; + margin-left: -11px; + border-bottom-width: 0; + border-top-color: #999; + border-top-color: rgba(0, 0, 0, 0.25); + bottom: -11px; +} +.popover.top > .arrow:after { + content: " "; + bottom: 1px; + margin-left: -10px; + border-bottom-width: 0; + border-top-color: #fff; +} +.popover.right > .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-left-width: 0; + border-right-color: #999; + border-right-color: rgba(0, 0, 0, 0.25); +} +.popover.right > .arrow:after { + content: " "; + left: 1px; + bottom: -10px; + border-left-width: 0; + border-right-color: #fff; +} +.popover.bottom > .arrow { + left: 50%; + margin-left: -11px; + border-top-width: 0; + border-bottom-color: #999; + border-bottom-color: rgba(0, 0, 0, 0.25); + top: -11px; +} +.popover.bottom > .arrow:after { + content: " "; + top: 1px; + margin-left: -10px; + 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, 0.25); +} +.popover.left > .arrow:after { + content: " "; + right: 1px; + border-right-width: 0; + border-left-color: #fff; + bottom: -10px; +} +.clearfix:before, +.clearfix:after { + content: " "; + display: table; +} +.clearfix: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 { + display: none !important; +} +.visible-sm { + display: none !important; +} +.visible-md { + display: none !important; +} +.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; + } +} +.flag-icon-background, +.flag-icon { + background-size: contain; + background-position: 50%; + background-repeat: no-repeat; +} +.flag-icon { + position: relative; + display: inline-block; + width: 1.33333em; + line-height: 1em; +} +.flag-icon:before { + content: "\A0"; +} +.flag-icon.flag-icon-squared { + width: 1em; +} +.flag-icon-us { + background-image: url(flags/us.svg); +} +.flag-icon-us.flag-icon-squared { + background-image: url(flags/us.svg); +} +.flag-icon-th { + background-image: url(flags/th.svg); +} +.flag-icon-th.flag-icon-squared { + background-image: url(flags/th.svg); +} +.flag-icon-nl { + background-image: url(flags/nl.svg); +} +.flag-icon-nl.flag-icon-squared { + background-image: url(flags/nl.svg); +} +.flag-icon-cn { + background-image: url(flags/cn.svg); +} +.flag-icon-cn.flag-icon-squared { + background-image: url(flags/cn.svg); +} +.flag-icon-tw { + background-image: url(flags/tw.svg); +} +.flag-icon-tw.flag-icon-squared { + background-image: url(flags/tw.svg); +} +.flag-icon-pl { + background-image: url(flags/pl.svg); +} +.flag-icon-pl.flag-icon-squared { + background-image: url(flags/pl.svg); +} +.flag-icon-fr { + background-image: url(flags/fr.svg); +} +.flag-icon-fr.flag-icon-squared { + background-image: url(flags/fr.svg); +} +.flag-icon-de { + background-image: url(flags/de.svg); +} +.flag-icon-de.flag-icon-squared { + background-image: url(flags/de.svg); +} +.flag-icon-es { + background-image: url(flags/es.svg); +} +.flag-icon-es.flag-icon-squared { + background-image: url(flags/es.svg); +} +.flag-icon-ru { + background-image: url(flags/ru.svg); +} +.flag-icon-ru.flag-icon-squared { + background-image: url(flags/ru.svg); +} +.flag-icon-it { + background-image: url(flags/it.svg); +} +.flag-icon-it.flag-icon-squared { + background-image: url(flags/it.svg); +} +.flag-icon-tr { + background-image: url(flags/tr.svg); +} +.flag-icon-tr.flag-icon-squared { + background-image: url(flags/tr.svg); +} +.flag-icon-cz { + background-image: url(flags/cz.svg); +} +.flag-icon-cz.flag-icon-squared { + background-image: url(flags/cz.svg); +} +.flag-icon-ir { + background-image: url(flags/ir.svg); +} +.flag-icon-ir.flag-icon-squared { + background-image: url(flags/ir.svg); +} +.flag-icon-id { + background-image: url(flags/id.svg); +} +.flag-icon-id.flag-icon-squared { + background-image: url(flags/id.svg); +} +.flag-icon-br { + background-image: url(flags/br.svg); +} +.flag-icon-br.flag-icon-squared { + background-image: url(flags/br.svg); +} +.icon { + display: inline-block; + width: 1em; + height: 1em; + stroke-width: 0; + stroke: currentColor; + fill: currentColor; + vertical-align: sub; + margin-bottom: 0.1em; +} +.icon.icon-fw { + width: 1.28571429em; +} +.rotate-90 { + -webkit-transform: rotate(-90deg); + transform: rotate(-90deg); +} +body { + font-family: "Lato", sans-serif; + overflow-y: scroll; + background-color: #f5f5f5; + padding-bottom: 5em; +} +input[type="checkbox"], +input[type="radio"] { + vertical-align: middle; + position: relative; +} +.pagination ul > li:not(.disabled) { + cursor: pointer; +} +.pagination ul > li.active > a { + color: #fff; + background-color: #428bca; +} +.label-active, +.badge-active, +.progress-active .bar { + background-color: #62c462; +} +.progress-success .bar { + background-color: #468847 !important; +} +.alerts { + position: fixed; + right: 6px; + z-index: 900; + width: 40%; +} +.alert { + float: right; + clear: right; + margin-bottom: 5px; + margin-top: 5px; +} +.modal { + position: absolute; +} +#global-graph { + width: 100%; +} +@media (min-width: 767px) and (max-width: 992px) { + #global-graph { + width: 80%; + } +} +#download-filter { + margin: 0; + height: auto; +} +#filters label { + display: inline-block; + white-space: nowrap; +} +.nav-header { + display: block; + padding: 3px 0; + font-size: 11px; + font-weight: bold; + line-height: 20px; + color: #999; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); + text-transform: uppercase; +} +.main-navbar { + -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1); + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1); + background-color: #00897b; + border-color: #00897b; +} +.main-navbar .navbar-brand { + color: #fff; +} +.main-navbar .nav > li > a { + color: #fff; + -webkit-transition: background-color 0.3s ease-in-out; + transition: background-color 0.3s ease-in-out; +} +.main-navbar .navbar-toggle .icon-bar { + background-color: #fff; +} +.main-navbar .nav .open > a, +.main-navbar .nav .open > a:hover, +.main-navbar .nav .open > a:focus, +.main-navbar .nav > li > a:focus, +.main-navbar .nav > li > a:hover { + background-color: rgba(0, 0, 0, 0.2); +} +.sidebar-nav { + margin-bottom: 30px; + background-color: #fff; + padding: 10px 20px 20px; + border-radius: 2px; + -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), + 0 2px 1px -1px rgba(0, 0, 0, 0.12); + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), + 0 2px 1px -1px rgba(0, 0, 0, 0.12); +} +.filter-input-group { + position: relative; + margin-bottom: 30px; +} +.filter-input-group > .clear-button { + position: absolute; + right: 25px; + top: 6px; + cursor: pointer; +} +.download .label { + -webkit-box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); + -webkit-transition: all 2s; + transition: all 2s; +} +.download .title { + font-size: 1.2em; + padding: 5px 0; +} +.download .progress { + background-color: #fff; + -webkit-box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); + width: 100%; + margin: 0; + padding: 0; +} +.download .progress-bar { + -webkit-box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); +} +.download-name { + font-weight: bold; + font-size: small; + word-wrap: break-word; +} +.active-download, +.waiting-download, +.stopped-download, +.download { + cursor: pointer; + width: 100%; + padding: 4px 5px; + background-color: #fff; + margin-bottom: 20px; + -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), + 0 2px 1px -1px rgba(0, 0, 0, 0.12); + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), + 0 2px 1px -1px rgba(0, 0, 0, 0.12); +} +@media (max-width: 767px) { + .active-download, + .waiting-download, + .stopped-download, + .download { + table-layout: fixed; + } +} +.download-graph { + margin: 0.5em 30px 0.5em 0; +} +@media (min-width: 1200px) { + .download-graph { + width: 50%; + } +} +@media (min-width: 767px) and (max-width: 1200px) { + .download-graph { + width: 60%; + } +} +@media (max-width: 767px) { + .download-graph { + width: 100%; + } +} +.large-graph { + width: 66%; +} +.stats { + margin: 0 auto; + padding: 0; +} +.stats li { + display: inline-block; + margin-bottom: 2px; + padding: 0.75ex; + min-width: 20ex; + text-align: center; +} +.download-item { + margin: 0; + padding: 0.5ex 6px 0.5ex; +} +.download-controls .btn-group { + float: right; +} +.download-controls > .btn-group { + margin: 5px 5px 5px 0; +} +.download-controls .btn-group .btn { + height: 100%; +} +.download-controls .btn-group .btn span { + font-size: 14px; + color: gray; +} +.download-detail h4 { + margin-left: 10px; +} +.download-files { + margin: 0; +} +.download-files li { + display: inline-block; + padding: 0.8ex; + max-width: 100%; + margin: 0 6px 6px 0; + overflow: hidden; + text-overflow: ellipsis; +} +.download-files a { + color: #fff; +} +.download-empty { + padding: 40px; + background-color: #fff; + border-radius: 2px; + -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), + 0 2px 1px -1px rgba(0, 0, 0, 0.12); + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), + 0 2px 1px -1px rgba(0, 0, 0, 0.12); +} +.modal-body textarea { + width: 100%; +} +.modal-advanced-title { + font-weight: bold; + margin-bottom: 0; + background-color: #f5f5f5; + border: 1px solid rgba(0, 0, 0, 0.05); + border-bottom: 0; + border-radius: 4px 4px 0 0; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + cursor: pointer; + padding: 5px 15px; +} +.modal-advanced-options { + margin-top: 0; + margin-bottom: 2px; + background-color: #f5f5f5; + border: 1px solid rgba(0, 0, 0, 0.05); + border-top: 0; + border-radius: 0 0 4px 4px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); +} +.modal-form-input-verylarge { + width: 95%; +} +.modal-form-input-number { + width: 80px; +} +.selectFiles div .control-label { + font-weight: normal; + margin-left: 30px; +} +.selectFiles div .controls { + margin-left: 30px; +} +.selectFiles div.recursivedir { + width: 100%; +} diff --git a/docs/app.js b/docs/app.js new file mode 100644 index 00000000..68d8acc7 --- /dev/null +++ b/docs/app.js @@ -0,0 +1,11867 @@ +!(function(e) { + function t(t) { + for (var a, r, s = t[0], l = t[1], c = t[2], u = 0, p = []; u < s.length; u++) + (r = s[u]), o[r] && p.push(o[r][0]), (o[r] = 0); + for (a in l) Object.prototype.hasOwnProperty.call(l, a) && (e[a] = l[a]); + for (d && d(t); p.length; ) p.shift()(); + return i.push.apply(i, c || []), n(); + } + function n() { + for (var e, t = 0; t < i.length; t++) { + for (var n = i[t], a = !0, s = 1; s < n.length; s++) { + var l = n[s]; + 0 !== o[l] && (a = !1); + } + a && (i.splice(t--, 1), (e = r((r.s = n[0])))); + } + return e; + } + var a = {}, + o = { 0: 0 }, + i = []; + function r(t) { + if (a[t]) return a[t].exports; + var n = (a[t] = { i: t, l: !1, exports: {} }); + return e[t].call(n.exports, n, n.exports, r), (n.l = !0), n.exports; + } + (r.m = e), + (r.c = a), + (r.d = function(e, t, n) { + r.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n }); + }), + (r.r = function(e) { + "undefined" != typeof Symbol && + Symbol.toStringTag && + Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), + Object.defineProperty(e, "__esModule", { value: !0 }); + }), + (r.t = function(e, t) { + if ((1 & t && (e = r(e)), 8 & t)) return e; + if (4 & t && "object" == typeof e && e && e.__esModule) return e; + var n = Object.create(null); + if ( + (r.r(n), + Object.defineProperty(n, "default", { enumerable: !0, value: e }), + 2 & t && "string" != typeof e) + ) + for (var a in e) + r.d( + n, + a, + function(t) { + return e[t]; + }.bind(null, a) + ); + return n; + }), + (r.n = function(e) { + var t = + e && e.__esModule + ? function() { + return e.default; + } + : function() { + return e; + }; + return r.d(t, "a", t), t; + }), + (r.o = function(e, t) { + return Object.prototype.hasOwnProperty.call(e, t); + }), + (r.p = ""); + var s = (window.webpackJsonp = window.webpackJsonp || []), + l = s.push.bind(s); + (s.push = t), (s = s.slice()); + for (var c = 0; c < s.length; c++) t(s[c]); + var d = l; + i.push([29, 1]), n(); +})([ + , + , + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a.module("webui.services.alerts", ["webui.services.deps"]).factory("$alerts", [ + "$_", + function(e) { + var t = []; + return { + addAlert: function() { + var n = Array.prototype.slice.call(arguments, 0); + setTimeout(function() { + e.each(t, function(e) { + e.apply({}, n); + }); + }, 0); + }, + addAlerter: function(e) { + t.push(e); + }, + log: function(e) { + this.addAlert(e, "info"); + } + }; + } + ]).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a.module("webui.services.base64", []).factory("$base64", [ + function() { + var e = {}, + t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", + n = { + indexOf: function(e) { + return e.charCodeAt(0); + }, + charAt: String.fromCharCode + }; + function a(e, t, n, a, o, i) { + var r, + s, + l, + c = 0, + d = "", + u = 1, + p = 1, + h = (e = String(e)).length; + for (r = 0; r < h || (!t && p > 1); r += 1) { + if (((c *= o), (u *= o), r < h)) { + if ((s = n.indexOf(e.charAt(r))) <= -1 || s >= o) throw new RangeError(); + (p *= o), (c += s); + } + for (; u >= i; ) + (u /= i), p > 1 && ((l = c), (c %= u), (d += a.charAt((l - c) / u)), (p /= i)); + } + return d; + } + return ( + (e.btoa = function(e) { + return (e = a(e, !1, n, t, 256, 64)) + "====".slice(e.length % 4 || 4); + }), + (e.atob = function(e) { + var o; + for (o = (e = String(e).split("=")).length - 1; o >= 0; o -= 1) { + if (e[o].length % 4 == 1) throw new RangeError(); + e[o] = a(e[o], !0, t, n, 64, 256); + } + return e.join(""); + }), + e + ); + } + ]).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a + .module("webui.services.configuration", []) + .constant("$name", "Aria2 WebUI") + .constant( + "$titlePattern", + "active: {active} - waiting: {waiting} - stopped: {stopped} — {name}" + ) + .constant("$pageSize", 11) + .constant("$authconf", { + host: location.protocol.startsWith("http") ? location.hostname : "localhost", + path: "/jsonrpc", + port: 6800, + encrypt: !1, + auth: {}, + directURL: "" + }) + .constant("$enable", { + torrent: !0, + metalink: !0, + sidebar: { show: !0, stats: !0, filters: !0, starredProps: !0 } + }) + .constant("$starredProps", [ + "dir", + "conf-path", + "auto-file-renaming", + "max-connection-per-server" + ]) + .constant("$downloadProps", [ + "header", + "http-user", + "http-passwd", + "pause", + "dir", + "max-connection-per-server" + ]) + .constant("$globalTimeout", 1e3).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a), + i = n(1), + r = n.n(i), + s = n(6), + l = n.n(s); + t.a = o.a + .module("webui.services.deps", []) + .value("$", r.a) + .value("$_", l.a) + .value("$json", JSON).name; + }, + , + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a.module("webui.services.errors", []).value("$getErrorStatus", function(e) { + switch ((e -= 1)) { + case 0: + return "download was unsuccessful"; + case 1: + return "unknown error occurred"; + case 2: + return "time out occurred"; + case 3: + return "resource was not found"; + case 4: + return 'aria2 saw the specified number of "resource not found" error. See --max-file-not-found option'; + case 5: + return "download aborted because download speed was too slow. See --lowest-speed-limit option"; + case 6: + return "there were unfinished downloads"; + case 7: + return "remote server did not support resume when resume was required to complete download"; + case 8: + return "not enough disk space available"; + case 9: + return "piece length was different from one in .aria2 control"; + case 10: + return "downloading same file at that moment"; + case 11: + return "downloading same info hash torrent at that moment"; + case 12: + return "file already existed"; + case 13: + return "renaming file failed"; + case 14: + return "could not open existing file"; + case 15: + return "could not create new file or truncate existing file"; + case 16: + return "file I/O error occurred"; + case 17: + return "could not create directory"; + case 18: + return "name resolution failed"; + case 19: + return "could not parse Metalink document"; + case 20: + return "FTP command failed"; + case 21: + return "HTTP response header was bad or unexpected"; + case 22: + return "too many redirects occurred"; + case 23: + return "HTTP authorization failed"; + case 24: + return "could not parse bencoded file"; + case 25: + return ' ".torrent" file was corrupted or missing information '; + case 26: + return "Magnet URI was bad"; + case 27: + return "bad/unrecognized option was given or unexpected option argument was given"; + case 28: + return "remote server was unable to handle the request due to a temporary overloading or maintenance"; + case 29: + return "could not parse JSON-RPC request"; + } + }).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a + .module("webui.services.rpc", [ + "webui.services.rpc.syscall", + "webui.services.configuration", + "webui.services.alerts", + "webui.services.utils" + ]) + .factory("$rpc", [ + "$syscall", + "$globalTimeout", + "$alerts", + "$utils", + "$rootScope", + "$location", + "$authconf", + "$filter", + function(e, t, n, a, i, r, s, l) { + var c, + d = [], + u = [s], + p = {}, + h = null, + f = !1, + m = a.getCookie("aria2conf"); + m && u.unshift(m), + r.search().host && + (u.unshift(r.search()), + (u[0].auth = { token: u[0].token, user: u[0].username, pass: u[0].password })), + -1 != ["http", "https"].indexOf(r.protocol()) && + "localhost" != r.host() && + u.push( + { host: r.host(), path: "/jsonrpc", port: 6800, encrypt: !1 }, + { + host: r.host(), + port: r.port(), + path: "/jsonrpc", + encrypt: "https" == r.protocol() + }, + { host: r.host(), port: r.port(), path: s.path, encrypt: "https" == r.protocol() } + ); + var g = !0, + v = function() { + clearTimeout(h), (h = null); + var o = (d = _.filter(d, function(e) { + return !!e && 2 !== e.once; + })).slice(); + if (o.length) { + if ("initializing" == e.state) + return ( + console.log("Syscall is initializing, waiting"), void (h = setTimeout(v, t)) + ); + if (g && u.length) + return ( + (g = !1), + (p = u[0]), + (c = p && p.auth && p.auth.token ? p.auth.token : null), + e.init(p), + void (h = setTimeout(v, t)) + ); + var r = _.map(o, function(e) { + var t = e.params; + return ( + c && (t = ["token:" + c].concat(t || [])), + { methodName: e.name, params: t && t.length ? t : void 0 } + ); + }); + e.invoke({ + name: "system.multicall", + params: [r], + success: function(e) { + if ( + _.some(e.result, function(e) { + return e.code && "Unauthorized" === e.message; + }) + ) + return ( + (g = !0), + n.addAlert( + "" + + l("translate")("Oh Snap!") + + " " + + l("translate")( + "Authentication failed while connecting to Aria2 RPC server. Will retry in 10 secs. You might want to confirm your authentication details by going to Settings > Connection Settings", + "error" + ) + ), + void (h = setTimeout(v, t)) + ); + u.length && + (c + ? n.addAlert( + l("translate")( + "Successfully connected to Aria2 through its remote RPC …" + ), + "success" + ) + : n.addAlert( + l("translate")( + "Successfully connected to Aria2 through remote RPC, however the connection is still insecure. For complete security try adding an authorization secret token while starting Aria2 (through the flag --rpc-secret)" + ) + ), + (u = [])), + a.setCookie("aria2conf", p); + var r = []; + _.each(e.result, function(e, t) { + var a = o[t]; + a && + (e.code && (console.error(a, e), n.addAlert(e.message, "error")), + r.push({ cb: a.cb, data: e }), + a.once && (a.once = 2)); + }), + _.each(r, function(e) { + e.cb(e.data); + }), + i.$digest(), + f ? ((f = !1), (h = setTimeout(v, 0))) : (h = setTimeout(v, t)); + }, + error: function() { + g = !0; + var e = u.indexOf(p); + -1 != e && u.splice(e, 1), + u.length + ? (n.log( + l("translate")( + "The last connection attempt was unsuccessful. Trying another configuration" + ) + ), + (h = setTimeout(v, 0))) + : (n.addAlert( + "" + + l("translate")("Oh Snap!") + + " " + + l("translate")( + "Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings" + ), + "error" + ), + (h = setTimeout(v, t))); + } + }); + } else h = setTimeout(v, t); + }; + return ( + (h = setTimeout(v, t)), + { + configure: function(e) { + n.addAlert( + l("translate")( + "Trying to connect to aria2 using the new connection configuration" + ), + "info" + ), + (u = e instanceof Array ? e : [e]), + h && (clearTimeout(h), (h = setTimeout(v, 0))); + }, + getConfiguration: function() { + return p; + }, + getDirectURL: function() { + return p.directURL; + }, + once: function(e, t, n, a) { + (n = n || o.a.noop), + (t = t || []), + d.push({ once: !0, name: "aria2." + e, params: t, cb: n }), + a || this.forceUpdate(); + }, + subscribe: function(e, t, n, a) { + n = n || o.a.noop; + var i = { once: !1, name: "aria2." + e, params: (t = t || []), cb: n }; + return d.push(i), a || this.forceUpdate(), i; + }, + unsubscribe: function(e) { + var t = d.indexOf(e); + d[t] = null; + }, + forceUpdate: function() { + h ? (clearTimeout(h), (h = setTimeout(v, 0))) : (f = !0); + } + } + ); + } + ]).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a + .module("webui.services.rpc.helpers", [ + "webui.services.deps", + "webui.services.rpc", + "webui.services.alerts" + ]) + .factory("$rpchelpers", [ + "$_", + "$rpc", + "$alerts", + function(e, t, n) { + var a = { version: "", enabledFeatures: [] }; + return ( + t.once("getVersion", [], function(e) { + a = e[0]; + }), + { + isFeatureEnabled: function(e) { + return -1 != a.enabledFeatures.indexOf(e); + }, + getAria2Version: function() { + return a.version; + }, + addUris: function(n, a, o) { + e.each(n, function(n) { + var i = [], + r = e.cloneDeep(a); + e.each(n, function(e) { + e.startsWith("--") + ? ((uri_options = e.split(/--|=(.*)/)), + uri_options.length > 2 && (r[uri_options[2]] = uri_options[3] || "true")) + : i.push(e); + }), + t.once("addUri", [i, r], o, !0); + }), + t.forceUpdate(); + }, + addTorrents: function(n, a, o) { + e.each(n, function(e) { + t.once("addTorrent", [e, [], a], o, !0); + }), + t.forceUpdate(); + }, + addMetalinks: function(n, a, o) { + e.each(n, function(e) { + t.once("addMetalink", [e, a], o, !0); + }), + t.forceUpdate(); + } + } + ); + } + ]).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a + .module("webui.services.rpc.jsoncall", ["webui.services.deps", "webui.services.base64"]) + .factory("$jsoncall", [ + "$", + "$json", + "$base64", + function(e, t, n) { + return { + init: function(e) { + (this.avgTimeout = 2e3), (this.serverConf = e); + }, + ariaRequest: function(n, a, o, i, r) { + var s = new Date(), + l = this; + e.post({ + url: n, + timeout: this.avgTimeout, + contentType: "application/json", + data: t.stringify({ jsonrpc: 2, id: "webui", method: a, params: o }), + success: function(e) { + return (l.avgTimeout = 2e3 + 3 * (new Date() - s)), i(e); + }, + error: r + }); + }, + invoke: function(t) { + var n = this, + a = n.serverConf.encrypt ? "https" : "http"; + n.ariaRequest( + a + + "://" + + n.serverConf.host + + ":" + + n.serverConf.port + + (n.serverConf.path || "/jsonrpc"), + t.name, + t.params, + t.success, + function() { + if (!n.serverConf.auth || !n.serverConf.auth.user) + return console.log("jsonrpc disconnect!!!"), t.error(); + var o = + a + + "://" + + n.serverConf.auth.user + + ":" + + n.serverConf.auth.pass + + "@" + + n.serverConf.host + + ":" + + n.serverConf.port + + (n.serverConf.path || "/jsonrpc"), + i = e("").attr("src", o); + e("body").append(i), + i.remove(), + setTimeout(function() { + n.ariaRequest(o, t.name, t.params, t.success, function() { + return console.log("jsonrpc disconnect!!!"), t.error(); + }); + }, n.avgTimeout); + } + ); + } + }; + } + ]).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a + .module("webui.services.rpc.sockcall", [ + "webui.services.deps", + "webui.services.utils", + "webui.services.base64", + "webui.services.alerts" + ]) + .factory("$sockcall", [ + "$_", + "$json", + "$name", + "$utils", + "$alerts", + function(e, t, n, a, i) { + var r = { + initialized: !1, + handles: [], + sock: null, + conf: null, + scheme: "ws", + onerror: function(t) { + e.each(r.handles, function(e) { + e.error(); + }), + (r.handles = []), + (r.initialized = !1), + r.onready && (r.onready(), (r.onready = null)); + }, + onclose: function(e) { + r.handles && r.handles.length && r.onerror("Connection reset while calling aria2"), + (r.initialized = !1), + r.onready && (r.onready(), (r.onready = null)); + }, + onopen: function() { + console.log("websocket initialized!!!"), + (r.initialized = !0), + r.onready && (r.onready(), (r.onready = null)); + }, + onmessage: function(e) { + for (var n = t.parse(e.data), a = r.handles.length - 1; a >= 0; a--) + if (r.handles[a].id === n.id) + return r.handles[a].success(n), void r.handles.splice(a, 1); + }, + invoke: function(e) { + var n = { + jsonrpc: 2, + id: a.uuid(), + method: e.name, + params: e.params && e.params.length ? e.params : void 0 + }; + n.params && !n.params.length && (n.params = void 0), + r.handles.push({ + success: e.success || o.a.noop, + error: e.error || o.a.noop, + id: n.id + }), + r.sock.send(t.stringify(n)); + }, + init: function(e, t) { + if ( + ((r.initialized = !1), + r.onready && (r.onready(), (r.onready = null)), + "undefined" == typeof WebSocket) + ) + return ( + i.addAlert("Web sockets are not supported! Falling back to JSONP.", "info"), + void t() + ); + (r.conf = e || r.conf), + (r.scheme = r.conf.encrypt ? "wss" : "ws"), + r.sock && + ((r.sock.onopen = r.sock.onmessage = r.sock.onerror = r.sock.onclose = null), + r.onerror({ message: "Changing the websocket aria2 server details" })); + try { + var n = r.scheme + "://" + e.host + ":" + e.port + (e.path || "/jsonrpc"); + r.conf.auth && + r.conf.auth.user && + r.conf.auth.pass && + (n = + r.scheme + + "://" + + r.conf.auth.user + + ":" + + r.conf.auth.pass + + "@" + + r.conf.host + + ":" + + r.conf.port + + (e.path || "/jsonrpc")), + (r.sock = new WebSocket(n)), + (r.sock.onopen = r.onopen), + (r.sock.onclose = r.onclose), + (r.sock.onerror = r.onerror), + (r.sock.onmessage = r.onmessage), + (r.onready = t); + } catch (e) { + console.log("not using websocket for aria2 rpc due to: ", e), + i.addAlert("Web sockets not working due to " + e.message, "info"), + t(); + } + } + }; + return r; + } + ]).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a + .module("webui.services.rpc.syscall", [ + "webui.services.rpc.jsoncall", + "webui.services.rpc.sockcall", + "webui.services.utils", + "webui.services.alerts" + ]) + .factory("$syscall", [ + "$log", + "$jsoncall", + "$sockcall", + "$alerts", + function(e, t, n, a) { + return { + state: "none", + init: function(e) { + console.log("Syscall is initializing to", e), + (this.state = "initializing"), + t.init(e); + var a = this; + n.init(e, function() { + console.log("Syscall is ready"), (a.state = "ready"); + }); + }, + invoke: function(e) { + return ( + (e.success = e.success || o.a.noop), + (e.error = e.error || o.a.noop), + n.initialized ? n.invoke(e) : t.invoke(e) + ); + } + }; + } + ]).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a + .module("webui.services.settings", []) + .value("$fileSettings", { + "all-proxy": { + val: "", + desc: + 'Use this proxy server for all protocols. To erase previously defined proxy, use "". You can override this setting and specify a proxy server for a particular protocol using http-proxy, https-proxy and ftp-proxy options. This affects all URIs. The format of PROXY is [http://][USER:PASSWORD@]HOST[:PORT].' + }, + "all-proxy-passwd": { val: "", desc: "Set password for all-proxy option." }, + "all-proxy-user": { val: "", desc: "Set user for all-proxy option." }, + "allow-overwrite": { + val: !1, + options: ["true", "false"], + desc: + "Restart download from scratch if the corresponding control file doesn't exist. See also auto-file-renaming option. Default: false" + }, + "allow-piece-length-change": { + val: !1, + options: ["true", "false"], + desc: + "If false is given, aria2 aborts download when a piece length is different from one in a control file. If true is given, you can proceed but some download progress will be lost. Default: false" + }, + "always-resume": { + val: !0, + options: ["true", "false"], + desc: + "Always resume download. If true is given, aria2 always tries to resume download and if resume is not possible, aborts download. If false is given, when all given URIs do not support resume or aria2 encounters N URIs which does not support resume (N is the value specified using --max-resume-failure-tries option), aria2 downloads file from scratch. See --max-resume-failure-tries option. Default: true" + }, + "async-dns": { + val: !0, + options: ["true", "false"], + desc: "Enable asynchronous DNS. Default: true" + }, + "auto-file-renaming": { + val: !0, + options: ["true", "false"], + desc: + "Rename file name if the same file already exists. This option works only in HTTP(S)/FTP download. The new file name has a dot and a number(1..9999) appended. Default: true" + }, + "bt-detach-seed-only": { + desc: + "Exclude seed only downloads when counting concurrent active downloads (See -j option). This means that if -j3 is given and this option is turned on and 3 downloads are active and one of those enters seed mode, then it is excluded from active download count (thus it becomes 2), and the next download waiting in queue gets started. But be aware that seeding item is still recognized as active download in RPC method. Default: false", + val: !1, + options: ["true", "false"] + }, + "bt-enable-hook-after-hash-check": { + desc: + "Allow hook command invocation after hash check (see -V option) in BitTorrent download. By default, when hash check succeeds, the command given by --on-bt-download-complete is executed. To disable this action, give false to this option. Default: true", + val: !0, + options: ["true", "false"] + }, + "bt-enable-lpd": { + desc: + "Enable Local Peer Discovery. If a private flag is set in a torrent, aria2 doesn't use this feature for that download even if true is given. Default: false", + val: !1, + options: ["true", "false"] + }, + "bt-exclude-tracker": { + val: "", + desc: + "Comma separated list of BitTorrent tracker's announce URI to remove. You can use special value * which matches all URIs, thus removes all announce URIs. When specifying * in shell command-line, don't forget to escape or quote it. See also --bt-tracker option." + }, + "bt-external-ip": { + val: "", + desc: + "Specify the external IP address to report to a BitTorrent tracker. Although this function is named external, it can accept any kind of IP addresses. IPADDRESS must be a numeric IP address." + }, + "bt-force-encryption": { + desc: + "Requires BitTorrent message payload encryption with arc4. This is a shorthand of --bt-require-crypto --bt-min-crypto-level=arc4. This option does not change the option value of those options. If true is given, deny legacy BitTorrent handshake and only use Obfuscation handshake and always encrypt message payload. Default: false", + val: !1, + options: ["true", "false"] + }, + "bt-hash-check-seed": { + desc: + "If true is given, after hash check using --check-integrity option and file is complete, continue to seed file. If you want to check file and download it only when it is damaged or incomplete, set this option to false. This option has effect only on BitTorrent download. Default: true", + val: !0, + options: ["true", "false"] + }, + "bt-max-open-files": { + val: 100, + desc: "Specify maximum number of files to open in each BitTorrent download. Default: 100" + }, + "bt-max-peers": { + val: 55, + desc: + "Specify the maximum number of peers per torrent. 0 means unlimited. See also bt-request-peer-speed-limit option. Default: 55" + }, + "bt-metadata-only": { + desc: + "Download metadata only. The file(s) described in metadata will not be downloaded. This option has effect only when BitTorrent Magnet URI is used. See also --bt-save-metadata option. Default: false", + val: !1, + options: ["true", "false"] + }, + "bt-min-crypto-level": { + desc: + "Set minimum level of encryption method. If several encryption methods are provided by a peer, aria2 chooses the lowest one which satisfies the given level. Default: plain", + val: "plain", + options: ["plain", "arc4"] + }, + "bt-prioritize-piece": { + val: "", + desc: + "Try to download first and last pieces of each file first. This is useful for previewing files. The argument can contain 2 keywords: head and tail. To include both keywords, they must be separated by comma. These keywords can take one parameter, SIZE. For example, if head= is specified, pieces in the range of first SIZE bytes of each file get higher priority. tail= means the range of last SIZE bytes of each file. SIZE can include K or M (1K = 1024, 1M = 1024K). If SIZE is omitted, SIZE=1M is used." + }, + "bt-request-peer-speed-limit": { + val: "50K", + desc: + "If the whole download speed of every torrent is lower than SPEED, aria2 temporarily increases the number of peers to try for more download speed. Configuring this option with your preferred download speed can increase your download speed in some cases. You can append K or M (1K = 1024, 1M = 1024K). Default: 50K" + }, + "bt-require-crypto": { + desc: + "If true is given, aria2 doesn't accept and establish connection with legacy BitTorrent handshake(19BitTorrent protocol). Thus aria2 always uses Obfuscation handshake. Default: false", + val: !1, + options: ["true", "false"] + }, + "bt-save-metadata": { + desc: + "Save metadata as .torrent file. This option has effect only when BitTorrent Magnet URI is used. The filename is hex encoded info hash with suffix .torrent. The directory to be saved is the same directory where download file is saved. If the same file already exists, metadata is not saved. See also --bt-metadata-only option. Default: false", + val: !1, + options: ["true", "false"] + }, + "bt-seed-unverified": { + desc: "Seed previously downloaded files without verifying piece hashes. Default: false", + val: !1, + options: ["true", "false"] + }, + "bt-stop-timeout": { + val: 0, + desc: + "Stop BitTorrent download if download speed is 0 in consecutive SEC seconds. If 0 is given, this feature is disabled. Default: 0" + }, + "bt-tracker": { + val: "", + desc: + "Comma separated list of additional BitTorrent tracker's announce URI. These URIs are not affected by --bt-exclude-tracker option because they are added after URIs in --bt-exclude-tracker option are removed." + }, + "bt-tracker-connect-timeout": { + val: 60, + desc: + "Set the connect timeout in seconds to establish connection to tracker. After the connection is established, this option makes no effect and --bt-tracker-timeout option is used instead. Default: 60" + }, + "bt-tracker-interval": { + val: 0, + desc: + "Set the interval in seconds between tracker requests. This completely overrides interval value and aria2 just uses this value and ignores the min interval and interval value in the response of tracker. If 0 is set, aria2 determines interval based on the response of tracker and the download progress. Default: 0" + }, + "bt-tracker-timeout": { val: 60, desc: "Set timeout in seconds. Default: 60" }, + "bt-remove-unselected-file": { + desc: + "Removes the unselected files when download is completed in BitTorrent. To select files, use --select-file option. If it is not used, all files are assumed to be selected. Please use this option with care because it will actually remove files from your disk. Default: false", + val: !1, + options: ["true", "false"] + }, + "check-certificate": { + desc: + "Verify the peer using certificates specified in --ca-certificate option. Default: true", + val: !0, + options: ["true", "false"] + }, + "check-integrity": { + desc: + "Check file integrity by validating piece hashes or a hash of entire file. This option has effect only in BitTorrent, Metalink downloads with checksums or HTTP(S)/FTP downloads with --checksum option. If piece hashes are provided, this option can detect damaged portions of a file and re-download them. If a hash of entire file is provided, hash check is only done when file has been already download. This is determined by file length. If hash check fails, file is re-downloaded from scratch. If both piece hashes and a hash of entire file are provided, only piece hashes are used. Default: false", + val: !1, + options: ["true", "false"] + }, + "conditional-get": { + desc: + "Download file only when the local file is older than remote file. This function only works with HTTP(S) downloads only. It does not work if file size is specified in Metalink. It also ignores Content-Disposition header. If a control file exists, this option will be ignored. This function uses If-Modified-Since header to get only newer file conditionally. When getting modification time of local file, it uses user supplied filename(see --out option) or filename part in URI if --out is not specified. To overwrite existing file, --allow-overwrite is required. Default: false", + val: !1, + options: ["true", "false"] + }, + "connect-timeout": { + val: 60, + desc: + "Set the connect timeout in seconds to establish connection to HTTP/FTP/proxy server. After the connection is established, this option makes no effect and --timeout option is used instead. Default: 60" + }, + continue: { + desc: + "Continue downloading a partially downloaded file. Use this option to resume a download started by a web browser or another program which downloads files sequentially from the beginning. Currently this option is only applicable to HTTP(S)/FTP downloads.", + val: !0, + options: ["true", "false"] + }, + daemon: { + desc: + "Run as daemon. The current working directory will be changed to / and standard input, standard output and standard error will be redirected to /dev/null. Default: false", + val: !1, + options: ["true", "false"] + }, + "deferred-input": { + desc: + "If true is given, aria2 does not read all URIs and options from file specified by --input-file option at startup, but it reads one by one when it needs later. This may reduce memory usage if input file contains a lot of URIs to download. If false is given, aria2 reads all URIs and options at startup. Default: false", + val: !1, + options: ["true", "false"] + }, + dir: { val: "", desc: "The directory to store the downloaded file." }, + "disable-ipv6": { + desc: + "Disable IPv6. This is useful if you have to use broken DNS and want to avoid terribly slow AAAA record lookup. Default: false", + val: !1, + options: ["true", "false"] + }, + "dry-run": { + desc: + "If true is given, aria2 just checks whether the remote file is available and doesn't download data. This option has effect on HTTP/FTP download. BitTorrent downloads are canceled if true is specified. Default: false", + val: !1, + options: ["true", "false"] + }, + "enable-async-dns6": { + desc: + "Enable IPv6 name resolution in asynchronous DNS resolver. This option will be ignored when --async-dns=false. Default: false", + val: !1, + options: ["true", "false"] + }, + "enable-color": { + desc: "Enable color output for a terminal. Default: true", + val: !0, + options: ["true", "false"] + }, + "enable-dht": { + desc: + "Enable IPv4 DHT functionality. It also enables UDP tracker support. If a private flag is set in a torrent, aria2 doesn’t use DHT for that download even if true is given. Default: true", + val: !0, + options: ["true", "false"] + }, + "enable-dht6": { + desc: + "Enable IPv6 DHT functionality. If a private flag is set in a torrent, aria2 doesn’t use DHT for that download even if true is given. Use --dht-listen-port option to specify port number to listen on. See also --dht-listen-addr6 option.", + val: !1, + options: ["true", "false"] + }, + "enable-http-keep-alive": { + desc: "Enable HTTP/1.1 persistent connection. Default: true", + val: !0, + options: ["true", "false"] + }, + "enable-http-pipelining": { + desc: "Enable HTTP/1.1 pipelining. Default: false", + val: !1, + options: ["true", "false"] + }, + "enable-peer-exchange": { + desc: + "Enable Peer Exchange extension. If a private flag is set in a torrent, this feature is disabled for that download even if true is given. Default: true", + val: !0, + options: ["true", "false"] + }, + "enable-mmap": { + desc: + "Map files into memory. This option may not work if the file space is not pre-allocated. See --file-allocation. Default: false", + val: !1, + options: ["true", "false"] + }, + "enable-rpc": { + desc: + "Enable JSON-RPC/XML-RPC server. It is strongly recommended to set secret authorization token using --rpc-secret option. See also --rpc-listen-port option. Default: false", + val: !1, + options: ["true", "false"] + }, + "file-allocation": { + desc: + "Specify file allocation method. none doesn't pre-allocate file space. prealloc pre-allocates file space before download begins. This may take some time depending on the size of the file. If you are using newer file systems such as ext4 (with extents support), btrfs, xfs or NTFS(MinGW build only), falloc is your best choice. It allocates large(few GiB) files almost instantly. Don't use falloc with legacy file systems such as ext3 and FAT32 because it takes almost same time as prealloc and it blocks aria2 entirely until allocation finishes. falloc may not be available if your system doesn't have posix_fallocate(3) function. Possible Values: none, prealloc, falloc Default: prealloc", + val: void 0, + options: ["none", "prealloc", "falloc", "trunc"] + }, + "follow-metalink": { + desc: + "If true or mem is specified, when a file whose suffix is .meta4 or .metalink or content type of application/metalink4+xml or application/metalink+xml is downloaded, aria2 parses it as a metalink file and downloads files mentioned in it. If mem is specified, a metalink file is not written to the disk, but is just kept in memory. If false is specified, the action mentioned above is not taken. Default: true", + val: !0, + options: ["true", "false"] + }, + "follow-torrent": { + desc: + "If true or mem is specified, when a file whose suffix is .torrent or content type is application/x-bittorrent is downloaded, aria2 parses it as a torrent file and downloads files mentioned in it. If mem is specified, a torrent file is not written to the disk, but is just kept in memory. If false is specified, the action mentioned above is not taken. Default: true", + val: !0, + options: ["true", "false"] + }, + "force-save": { + desc: + "Save download with --save-session option even if the download is completed or removed. This option also saves control file in that situations. This may be useful to save BitTorrent seeding which is recognized as completed state. Default: false", + val: !1, + options: ["true", "false"] + }, + "ftp-passwd": { + val: "ARIA2USER@", + desc: + "Set FTP password. This affects all URIs. If user name is embedded but password is missing in URI, aria2 tries to resolve password using .netrc. If password is found in .netrc, then use it as password. If not, use the password specified in this option. Default: ARIA2USER@" + }, + "ftp-pasv": { + desc: + "Use the passive mode in FTP. If false is given, the active mode will be used. Default: true", + val: !0, + options: ["true", "false"] + }, + "ftp-proxy": { + val: "", + desc: + 'Use this proxy server for FTP. To erase previously defined proxy, use "". See also --all-proxy option. This affects all URIs. The format of PROXY is [http://][USER:PASSWORD@]HOST[:PORT].' + }, + "ftp-proxy-passwd": { val: "", desc: "Set password for --ftp-proxy option." }, + "ftp-proxy-user": { val: "", desc: "Set user for --ftp-proxy option." }, + "ftp-reuse-connection": { + desc: "Reuse connection in FTP. Default: true.", + val: !0, + options: ["true", "false"] + }, + "ftp-type": { + desc: "Set FTP transfer type. TYPE is either binary or ascii. Default: binary", + val: "binary", + options: ["binary", "ascii"] + }, + "ftp-user": { + val: "anonymous", + desc: "Set FTP user. This affects all URIs. Default: anonymous" + }, + header: { val: "", desc: "Append HEADER to HTTP request header.", multiline: !0 }, + "http-accept-gzip": { + desc: + "Send Accept: deflate, gzip request header and inflate response if remote server responds with Content-Encoding: gzip or Content-Encoding: deflate. Default: false", + val: !1, + options: ["true", "false"] + }, + "http-auth-challenge": { + desc: + "Send HTTP authorization header only when it is requested by the server. If false is set, then authorization header is always sent to the server. There is an exception: if username and password are embedded in URI, authorization header is always sent to the server regardless of this option. Default: false", + val: !1, + options: ["true", "false"] + }, + "http-no-cache": { + desc: + "Send Cache-Control: no-cache and Pragma: no-cache header to avoid cached content. If false is given, these headers are not sent and you can add Cache-Control header with a directive you like using --header option. Default: true", + val: !0, + options: ["true", "false"] + }, + "http-user": { val: "", desc: "Set HTTP username." }, + "http-passwd": { val: "", desc: "Set HTTP password." }, + "http-proxy": { + val: "", + desc: + 'Use this proxy server for HTTP. To erase previously defined proxy, use "". See also --all-proxy option. This affects all URIs. The format of PROXY is [http://][USER:PASSWORD@]HOST[:PORT].' + }, + "http-proxy-passwd": { val: "", desc: "Set password for --http-proxy option." }, + "http-proxy-user": { val: "", desc: "Set user for --http-proxy option." }, + "human-readable": { + desc: + "Print sizes and speed in human readable format (e.g., 1.2Ki, 3.4Mi) in the console readout. Default: true", + val: !0, + options: ["true", "false"] + }, + "index-out": { + val: void 0, + desc: + "Set file path for file with index=INDEX. You can find the file index using the --show-files option. PATH is a relative path to the path specified in --dir option. You can use this option multiple times. Using this option, you can specify the output filenames of BitTorrent downloads." + }, + "lowest-speed-limit": { + val: "0", + desc: + "Close connection if download speed is lower than or equal to this value(bytes per sec). 0 means aria2 does not have a lowest speed limit. You can append K or M (1K = 1024, 1M = 1024K). This option does not affect BitTorrent downloads. Default: 0" + }, + "max-connection-per-server": { + val: 1, + desc: "The maximum number of connections to one server for each download. Default: 1" + }, + "max-download-limit": { + val: "0", + desc: + "Set max download speed per each download in bytes/sec. 0 means unrestricted. You can append K or M (1K = 1024, 1M = 1024K). To limit the overall download speed, use --max-overall-download-limit option. Default: 0" + }, + "max-file-not-found": { + val: 0, + desc: + 'If aria2 receives "file not found" status from the remote HTTP/FTP servers NUM times without getting a single byte, then force the download to fail. Specify 0 to disable this option. This options is effective only when using HTTP/FTP servers. Default: 0' + }, + "max-resume-failure-tries": { + val: 0, + desc: + "When used with --always-resume=false, aria2 downloads file from scratch when aria2 detects N number of URIs that does not support resume. If N is 0, aria2 downloads file from scratch when all given URIs do not support resume. See --always-resume option. Default: 0" + }, + "max-tries": { + val: 0, + desc: "Set number of tries. 0 means unlimited. See also --retry-wait. Default: 5" + }, + "max-upload-limit": { + val: "0", + desc: + "Set max upload speed per each torrent in bytes/sec. 0 means unrestricted. You can append K or M (1K = 1024, 1M = 1024K). To limit the overall upload speed, use --max-overall-upload-limit option. Default: 0" + }, + "metalink-enable-unique-protocol": { + desc: + "If true is given and several protocols are available for a mirror in a metalink file, aria2 uses one of them. Use --metalink-preferred-protocol option to specify the preference of protocol. Default: true", + val: !0, + options: ["true", "false"] + }, + "metalink-language": { val: "", desc: "The language of the file to download." }, + "metalink-location": { + val: "", + desc: + "The location of the preferred server. A comma-delimited list of locations is acceptable, for example, jp,us." + }, + "metalink-os": { val: "", desc: "The operating system of the file to download." }, + "metalink-version": { val: "", desc: "The version of the file to download." }, + "min-split-size": { + val: "20M", + desc: + "aria2 does not split less than 2*SIZE byte range. For example, let's consider downloading 20MiB file. If SIZE is 10M, aria2 can split file into 2 range [0-10MiB) and [10MiB-20MiB) and download it using 2 sources(if --split >= 2, of course). If SIZE is 15M, since 2*15M > 20MiB, aria2 does not split file and download it using 1 source. You can append K or M (1K = 1024, 1M = 1024K). Possible Values: 1M -1024M Default: 20M" + }, + "no-conf": { + desc: "Disable loading aria2.conf file.", + val: !1, + options: ["true", "false"] + }, + "no-file-allocation-limit": { + val: "5M", + desc: + "No file allocation is made for files whose size is smaller than SIZE. You can append K or M (1K = 1024, 1M = 1024K). Default: 5M" + }, + "no-netrc": { + desc: + "Disables netrc support. netrc support is enabled by default.Note netrc file is only read at the startup if --no-netrc is false. So if --no-netrc is true at the startup, no netrc is available throughout the session. You cannot get netrc enabled even if you change this setting.", + val: !0, + options: ["true", "false"] + }, + "no-proxy": { + val: "", + desc: + "Specify comma separated hostnames, domains and network address with or without CIDR block where proxy should not be used." + }, + out: { + val: "", + desc: + "The file name of the downloaded file. When --force-sequential option is used, this option is ignored." + }, + "parameterized-uri": { + desc: + "Enable parameterized URI support. You can specify set of parts: http://{sv1,sv2,sv3}/foo.iso. Also you can specify numeric sequences with step counter: http://host/image[000-100:2].img. A step counter can be omitted. If all URIs do not point to the same file, such as the second example above, -Z option is required. Default: false", + val: !1, + options: ["true", "false"] + }, + "pause-metadata": { + desc: + "Pause downloads created as a result of metadata download. There are 3 types of metadata downloads in aria2: (1) downloading .torrent file. (2) downloading torrent metadata using magnet link. (3) downloading metalink file. These metadata downloads will generate downloads using their metadata. This option pauses these subsequent downloads. This option is effective only when --enable-rpc=true is given. Default: false", + val: !1, + options: ["true", "false"] + }, + "proxy-method": { + desc: + "Set the method to use in proxy request. METHOD is either get or tunnel. HTTPS downloads always use tunnel regardless of this option. Default: get", + val: "get", + options: ["get", "tunnel"] + }, + quiet: { + desc: "Make aria2 quiet (no console output). Default: false", + val: !1, + options: ["true", "false"] + }, + "realtime-chunk-checksum": { + desc: + "Validate chunk of data by calculating checksum while downloading a file if chunk checksums are provided. Default: true", + val: !0, + options: ["true", "false"] + }, + referer: { val: "", desc: "Set Referer. This affects all URIs." }, + "remote-time": { + desc: + "Retrieve timestamp of the remote file from the remote HTTP/FTP server and if it is available, apply it to the local file. Default: false", + val: !1, + options: ["true", "false"] + }, + "remove-control-file": { + desc: + "Remove control file before download. Using with --allow-overwrite=true, download always starts from scratch. This will be useful for users behind proxy server which disables resume.", + val: !1, + options: ["true", "false"] + }, + "reuse-uri": { + desc: "Reuse already used URIs if no unused URIs are left. Default: true", + val: !0, + options: ["true", "false"] + }, + "seed-ratio": { + val: 0, + desc: + "Specify share ratio. Seed completed torrents until share ratio reaches RATIO. You are strongly encouraged to specify equals or more than 1.0 here. Specify 0.0 if you intend to do seeding regardless of share ratio. If --seed-time option is specified along with this option, seeding ends when at least one of the conditions is satisfied. Default: 1.0" + }, + "seed-time": { + val: 0, + desc: + "Specify seeding time in minutes. Also see the --seed-ratio option. Note Specifying --seed-time=0 disables seeding after download completed." + }, + "select-file": { + val: "", + desc: + "Set file to download by specifying its index. You can find the file index using the --show-files option. Multiple indexes can be specified by using ,, for example: 3,6. You can also use - to specify a range: 1-5. , and - can be used together: 1-5,8,9. When used with the -M option, index may vary depending on the query ." + }, + split: { + val: 5, + desc: + "Download a file using N connections. If more than N URIs are given, first N URIs are used and remaining URIs are used for backup. If less than N URIs are given, those URIs are used more than once so that N connections total are made simultaneously. The number of connections to the same host is restricted by --max-connection-per-server option. See also --min-split-size option. Default: 5" + }, + timeout: { val: 60, desc: "Set timeout in seconds. Default: 60" }, + "use-head": { + desc: "Use HEAD method for the first request to the HTTP server. Default: false", + val: !1, + options: ["true", "false"] + }, + "user-agent": { + val: "aria2/$VERSION", + desc: + "Set user agent for HTTP(S) downloads. Default: aria2/$VERSION, $VERSION is replaced by package version." + }, + "retry-wait": { + val: 0, + desc: + "Set the seconds to wait between retries. With SEC > 0, aria2 will retry download when the HTTP server returns 503 response. Default: 0." + }, + "metalink-base-uri": { + val: "", + desc: + "Specify base URI to resolve relative URI in metalink:url and metalink:metaurl element in a metalink file stored in local disk. If URI points to a directory, URI must end with /." + }, + pause: { + desc: + "Pause download after added. This option is effective only when --enable-rpc=true is given. Default: false", + val: "false", + options: ["true", "false"] + }, + "rpc-allow-origin-all": { + desc: + "Add Access-Control-Allow-Origin header field with value * to the RPC response. Default: false", + val: !1, + options: ["true", "false"] + }, + "rpc-listen-all": { + desc: + "Listen incoming JSON-RPC/XML-RPC requests on all network interfaces. If false is given, listen only on local loopback interface. Default: false", + val: !1, + options: ["true", "false"] + }, + "rpc-secure": { + desc: + "RPC transport will be encrypted by SSL/TLS. The RPC clients must use https scheme to access the server. For WebSocket client, use wss scheme. Use --rpc-certificate and --rpc-private-key options to specify the server certificate and private key.", + val: !1, + options: ["true", "false"] + }, + "stream-piece-selector": { + desc: + "Specify piece selection algorithm used in HTTP/FTP download. Piece means fixed length segment which is downloaded in parallel in segmented download. If default is given, aria2 selects piece so that it reduces the number of establishing connection. This is reasonable default behaviour because establishing connection is an expensive operation. If inorder is given, aria2 selects piece which has minimum index. Index=0 means first of the file. This will be useful to view movie while downloading it. --enable-http-pipelining option may be useful to reduce reconnection overhead. Please note that aria2 honors --min-split-size option, so it will be necessary to specify a reasonable value to --min-split-size option. If geom is given, at the beginning aria2 selects piece which has minimum index like inorder, but it exponentially increasingly keeps space from previously selected piece. This will reduce the number of establishing connection and at the same time it will download the beginning part of the file first. This will be useful to view movie while downloading it. Default: default", + val: "default", + options: ["default", "inorder", "geom"] + }, + "show-console-readout": { + desc: "Show console readout. Default: true", + val: !0, + options: ["true", "false"] + }, + "show-files": { + desc: + "Print file listing of “.torrent”, “.meta4” and “.metalink” file and exit. In case of “.torrent” file, additional information (infohash, piece length, etc) is also printed.", + val: !1, + options: ["true", "false"] + }, + "truncate-console-readout": { + desc: "Truncate console readout to fit in a single line. Default: true", + val: !0, + options: ["true", "false"] + }, + "hash-check-only": { + desc: + "If true is given, after hash check using --check-integrity option, abort download whether or not download is complete. Default: false", + val: !1, + options: ["true", "false"] + }, + checksum: { + val: void 0, + desc: + "Set checksum. TYPE is hash type. The supported hash type is listed in Hash Algorithms in aria2c -v. DIGEST is hex digest. For example, setting sha-1 digest looks like this: sha-1=0192ba11326fe2298c8cb4de616f4d4140213838 This option applies only to HTTP(S)/FTP downloads." + }, + "piece-length": { + val: "1M", + desc: + "Set a piece length for HTTP/FTP downloads. This is the boundary when aria2 splits a file. All splits occur at multiple of this length. This option will be ignored in BitTorrent downloads. It will be also ignored if Metalink file contains piece hashes. Default: 1M" + }, + "uri-selector": { + desc: + "Specify URI selection algorithm. The possible values are inorder, feedback and adaptive. If inorder is given, URI is tried in the order appeared in the URI list. If feedback is given, aria2 uses download speed observed in the previous downloads and choose fastest server in the URI list. This also effectively skips dead mirrors. The observed download speed is a part of performance profile of servers mentioned in --server-stat-of and --server-stat-if options. If adaptive is given, selects one of the best mirrors for the first and reserved connections. For supplementary ones, it returns mirrors which has not been tested yet, and if each of them has already been tested, returns mirrors which has to be tested again. Otherwise, it doesn't select anymore mirrors. Like feedback, it uses a performance profile of servers. Default: feedback", + val: "feedback", + options: ["inorder", "feedback", "adaptive"] + } + }) + .value("$globalSettings", { + "download-result": { + desc: + "This option changes the way Download Results is formatted. If OPT is default, print GID, status, average download speed and path/URI. If multiple files are involved, path/URI of first requested file is printed and remaining ones are omitted. If OPT is full, print GID, status, average download speed, percentage of progress and path/URI. The percentage of progress and path/URI are printed for each requested file in each row. Default: default", + val: "default", + options: ["default", "full"] + }, + log: { + val: "", + desc: + 'The file name of the log file. If - is specified, log is written to stdout. If empty string("") is specified, log is not written to file.' + }, + "log-level": { + desc: + "Set log level to output. LEVEL is either debug, info, notice, warn or error. Default: debug.", + val: "debug", + options: ["debug", "info", "notice", "warn", "error"] + }, + "max-concurrent-downloads": { + val: 5, + desc: + "Set maximum number of parallel downloads for every static (HTTP/FTP) URI, torrent and metalink. See also --split option. Default: 5" + }, + "max-download-result": { + val: 1e3, + desc: + "Set maximum number of download result kept in memory. The download results are completed/error/removed downloads. The download results are stored in FIFO queue and it can store at most NUM download results. When queue is full and new download result is created, oldest download result is removed from the front of the queue and new one is pushed to the back. Setting big number in this option may result high memory consumption after thousands of downloads. Specifying 0 means no download result is kept. Default: 1000" + }, + "max-overall-download-limit": { + val: "0", + desc: + "Set max overall download speed in bytes/sec. 0 means unrestricted. You can append K or M (1K = 1024, 1M = 1024K). To limit the download speed per download, use --max-download-limit option. Default: 0." + }, + "max-overall-upload-limit": { + val: "0", + desc: + "Set max overall upload speed in bytes/sec. 0 means unrestricted. You can append K or M (1K = 1024, 1M = 1024K). To limit the upload speed per torrent, use --max-upload-limit option. Default: 0." + }, + "save-cookies": { + val: "", + desc: + "Save Cookies to FILE in Mozilla/Firefox(1.x/2.x)/ Netscape format. If FILE already exists, it is overwritten. Session Cookies are also saved and their expiry values are treated as 0. Possible Values: /path/to/file." + }, + "save-session": { + val: "", + desc: + "Save error/unfinished downloads to FILE on exit. You can pass this output file to aria2c with --input-file option on restart." + }, + "server-stat-of": { + val: "", + desc: + "Specify the filename to which performance profile of the servers is saved. You can load saved data using --server-stat-if option. See Server Performance Profile subsection below for file format." + } + }) + .value("$globalExclude", ["checksum", "index-out", "out", "pause", "select-file"]) + .value("$waitingExclude", [ + "dry-run", + "metalink-base-uri", + "parameterized-uri", + "pause", + "piece-length" + ]) + .value("$activeInclude", [ + "bt-max-peers", + "bt-request-peer-speed-limit", + "bt-remove-unselected-file", + "max-download-limit", + "max-upload-limit" + ]).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a + .module("webui.services.settings.filters", []) + .value("$globalsettingsexclude", ["checksum", "index-out", "out", "pause", "select-file"]) + .value("$waitingsettingsexclude", [ + "dry-run", + "metalink-base-uri", + "parameterized-uri", + "pause", + "piece-length" + ]) + .value("$activesettingsfilter", [ + "bt-max-peers", + "bt-request-peer-speed-limit", + "bt-remove-unselected-file", + "max-download-limit", + "max-upload-limit" + ]).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a.module("webui.services.modals", []).factory("$modals", function() { + var e = {}; + return { + register: function(t, n) { + e[t] = n; + }, + invoke: function(t, n) { + if (!e[t]) return !1; + var a = Array.prototype.slice.call(arguments, 1); + return e[t].apply({}, a); + } + }; + }).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a.module("webui.services.utils", ["webui.services.configuration"]).factory("$utils", [ + "$filter", + "$name", + "$titlePattern", + function(e, t, n) { + var a = (function() { + var e = new Uint8Array(16), + t = function() { + for (var t, n = 0; n < 16; n++) + n % 3 || (t = (4294967296 * Math.random()) | 0), + (e[n] = (t >>> ((3 & n) << 3)) & 255); + return e; + }; + return window.crypto && crypto.getRandomValues + ? function() { + try { + return crypto.getRandomValues(e), e; + } catch (e) { + return t(); + } + } + : t; + })(), + o = { + fmtsize: function(e) { + return (e = +e) <= 1024 + ? e.toFixed(0) + " B" + : (e /= 1024) <= 1024 + ? e.toFixed(1) + " KB" + : (e /= 1024) <= 1024 + ? e.toFixed(2) + " MB" + : (e /= 1024).toFixed(3) + " GB"; + }, + fmtspeed: function(e) { + return o.fmtsize(e) + "/s"; + }, + setCookie: function(e, t) { + var n = new Date(); + n.setDate(n.getDate() + 360); + var a = escape(JSON.stringify(t)) + "; expires=" + n.toUTCString(); + document.cookie = e + "=" + a; + }, + getCookie: function(e) { + for (var t = document.cookie.split(";"), n = 0; n < t.length; n++) { + var a = t[n].substr(0, t[n].indexOf("=")).replace(/^\s+|\s+$/g, ""), + o = t[n].substr(t[n].indexOf("=") + 1); + if (e == a) return JSON.parse(unescape(o)); + } + return null; + }, + getFileName: function(e) { + var t = e.split(/[/\\]/); + return t[t.length - 1]; + }, + uuid: (function() { + for (var e = [], t = 0; t < 256; ++t) e.push((t + 256).toString(16).substr(1)); + return ( + Object.freeze(e), + function() { + var t = a(); + return ( + (t[6] = (15 & t[6]) | 64), + (t[8] = (63 & t[8]) | 128), + e[t[0]] + + e[t[1]] + + e[t[2]] + + e[t[3]] + + "-" + + e[t[4]] + + e[t[5]] + + "-" + + e[t[6]] + + e[t[7]] + + "-" + + e[t[8]] + + e[t[9]] + + "-" + + e[t[10]] + + e[t[11]] + + e[t[12]] + + e[t[13]] + + e[t[14]] + + e[t[15]] + ); + } + ); + })(), + randStr: function() { + return o.uuid(); + }, + mergeMap: function(e, t, n) { + t || (t = []); + for (var a = 0, o = Math.min(e.length, t.length); a < o; ++a) n(e[a], t[a]); + for (; a < e.length; ) t.push(n(e[a++])); + return (t.length = e.length), t; + }, + getTitle: function(e) { + return ( + e || (e = {}), + n + .replace("{active}", e.numActive || "⌛") + .replace("{waiting}", e.numWaiting || "⌛") + .replace("{download_speed}", o.fmtspeed(e.downloadSpeed) || "⌛") + .replace("{upload_speed}", o.fmtspeed(e.uploadSpeed) || "⌛") + .replace("{stopped}", e.numStopped || "⌛") + .replace("{name}", t) + ); + }, + getChunksFromHex: function(e, t) { + var n = [], + a = 0, + o = parseInt(t); + if (!e) return []; + if (o > 1) + for (var i = 1 / o, r = 0, s = 0; s < e.length; s++) + for (var l = parseInt(e[s], 16), c = 1; c <= 4; c++) { + var d = l & (1 << (4 - c)); + d && 0; + var u = !!d; + if ( + (a >= 1 && n[a - 1].show == u + ? (n[a - 1].ratio += i) + : (n.push({ ratio: i, show: u }), a++), + ++r == o) + ) + return n; + } + return n; + } + }; + return o; + } + ]).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a + .module("webui.filters.bytes", ["webui.services.utils"]) + .filter("blength", [ + "$filter", + "$utils", + function(e, t) { + return t.fmtsize; + } + ]) + .filter("bspeed", [ + "$filter", + "$utils", + function(e, t) { + return t.fmtspeed; + } + ]) + .filter("time", function() { + function e(e) { + return ("0" + e).substr(-2); + } + return function(t) { + if (!(t = parseInt(t, 10)) || !isFinite(t)) return "∞"; + var n = t % 60; + if (t < 60) return n + "s"; + var a = Math.floor((t % 3600) / 60); + if (t < 3600) return e(a) + ":" + e(n); + var o = Math.floor((t % 86400) / 3600); + return t < 86400 + ? e(o) + ":" + e(a) + ":" + e(n) + : Math.floor(t / 86400) + "::" + e(o) + ":" + e(a) + ":" + e(n); + }; + }).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a.module("webui.filters.url", ["webui.services.utils"]).filter("encodeURI", function() { + return window.encodeURI; + }).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a.module("webui.directives.chunkbar", ["webui.services.utils"]).directive("chunkbar", [ + "$utils", + function(e) { + return function(t, n, a) { + var o = "", + i = 0, + r = !0, + s = function() { + r && + (function(e, t, n) { + if (((t = t || []), e.getContext)) { + var a = e.getContext("2d"); + (a.fillStyle = n || "#149BDF"), a.clearRect(0, 0, e.width, e.height); + var o = 0, + i = e.width, + r = e.height; + t.forEach(function(e) { + var t = e.ratio * i; + e.show && a.fillRect(o, 0, t, r), (o += t); + }); + } else console.log("use chunk bar on an canvas implementation!"); + })(n[0], e.getChunksFromHex(o, i), a.fillStyle); + }; + t.$watch(a.bitfield, function(e) { + (o = e), s(); + }), + t.$watch(a.pieces, function(e) { + (i = e), s(); + }), + a.draw && + t.$watch(a.draw, function(e) { + r = e; + }), + s(); + }; + } + ]).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a + .module("webui.directives.dgraph", ["webui.filters.bytes", "webui.services.deps"]) + .directive("dgraph", [ + "$", + "$filter", + "$parse", + function(e, t, n) { + var a = "%H:%M:%S"; + try { + /16/.test(new Date(2e3, 0, 1, 16, 7, 9).toLocaleTimeString()) || (a = "%I:%M:%S %P"); + } catch (e) {} + return function(n, i, r) { + var s = !1, + l = 180, + c = 0, + d = 0, + u = !1, + p = { label: "DOWN", data: [], color: "#00ff00", lines: { show: !0 } }, + h = { label: "UP", data: [], color: "#0000ff", lines: { show: !0 } }; + i.height(0.6 * i.width()); + var f = e.plot(i, [p, h], { + legend: { + show: void 0 == r.nolabel, + backgroundOpacity: 0, + margin: [10, 20], + labelFormatter: function(e, n) { + return n.data.length + ? e + " (" + t("bspeed")(n.data[n.data.length - 1][1]) + ")" + : e; + }, + position: "sw" + }, + xaxis: { + show: !0, + mode: "time", + timeformat: a, + ticks: +r.xticks || 10, + minTickSize: [30, "second"] + }, + yaxis: { + position: "right", + ticks: function(e) { + for ( + var t = [0], + n = +r.yticks || yticks, + a = 10240 * Math.max(1, Math.ceil(e.max / (10240 * n))), + o = 0; + o < n; + o++ + ) { + if (a * o > e.max) break; + t.push(a * o); + } + return t; + }, + tickFormatter: function(e, n) { + return t("bspeed")(e); + }, + min: 0 + } + }), + m = function() { + var e = i.width(); + 0 != e && + (i.height(0.6 * e), f.setData([p, h]), f.resize(), f.setupGrid(), f.draw()); + }; + n.$watch(r.dspeed, function(e) { + void 0 !== e && ((u = !0), (c = parseFloat(e) || 0)); + }), + n.$watch(r.uspeed, function(e) { + void 0 !== e && ((u = !0), (d = parseFloat(e) || 0)); + }), + n.$watch(r.draw, function(e) { + s = e; + }); + var g = setInterval(function() { + if (u) { + var e = new Date(); + (e = Date.UTC( + e.getFullYear(), + e.getMonth(), + e.getDate(), + e.getHours(), + e.getMinutes(), + e.getSeconds() + )), + p.data.length === l && p.data.shift(), + p.data.push([e, c]), + h.data.length === l && h.data.shift(), + h.data.push([e, d]), + s && m(); + } + }, 1e3); + o.a.element(window).bind("resize", m), + i.bind("$destroy", function() { + clearInterval(g); + }); + }; + } + ]).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a.module("webui.directives.fselect", ["webui.services.deps"]).directive("fselect", [ + "$parse", + function(e) { + return function(t, n, a) { + var o = e(a.fselect || a.files).assign; + n.bind("change", function() { + o(t, n[0].files); + }).filestyle({ placeholder: "No file selected" }); + }; + } + ]).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a + .module("webui.directives.fileselect", ["webui.services.deps"]) + .directive("indeterminate", [ + "$parse", + function(e) { + return { + require: "ngModel", + restrict: "A", + link: function(t, n, a, o) { + var i = e(a.ngModel), + r = [], + s = 0, + l = 0, + c = function() { + return i(t); + }, + d = function(e) { + n.prop("indeterminate", e); + }, + u = function(e) { + o.$setViewValue(e), o.$render(); + }, + p = function(e) { + return function() { + r.length > 0 && e.apply(this, arguments); + }; + }, + h = function(e) { + return function() { + 0 === r.length && e.apply(this, arguments); + }; + }, + f = function(e) { + return function(t) { + if (t.targetScope !== t.currentScope) return e.apply(this, arguments); + }; + }; + if ( + (a.indeterminate && e(a.indeterminate).constant && d(t.$eval(a.indeterminate)), + a.indeterminate && e(a.indeterminate).constant && !t.$eval(a.indeterminate)) + ) + o.$viewChangeListeners.push( + h(function() { + t.$emit("childSelectedChange", c()); + }) + ), + t.$on( + "ParentSelectedChange", + f( + h(function(e, t) { + u(t); + }) + ) + ), + t.$emit("i'm child input", c), + t.$emit("childSelectedChange", c()); + else { + t.$on( + "i'm child input", + f(function(e, t) { + r.push(t); + }) + ); + o.$viewChangeListeners.push( + p( + (function(e) { + return function() { + if (!n.prop("indeterminate")) return e.apply(this, arguments); + }; + })(function() { + t.$broadcast("ParentSelectedChange", c()); + }) + ) + ), + t.$on( + "childSelectedChange", + f( + p(function(e, t) { + if (s + l !== r.length) { + (s = 0), (l = 0); + for (var n = 0; n < r.length; n++) r[n]() ? (s += 1) : (l += 1); + } else t ? (s++, l--) : (s--, l++); + var a = 0 === l; + d(a !== s > 0), u(a); + }) + ) + ); + } + } + }; + } + ]).name; + }, + function(e, t, n) { + "use strict"; + t.a = function() { + return { + restrict: "E", + link: function(e, t) { + t.attr("placeholder", function(e, t) { + return void 0 !== t ? t.replace(/\\n/g, "\n") : t; + }).bind("keydown keypress", function(t) { + t.ctrlKey && 13 === t.which && (t.preventDefault(), e.$close()); + }); + } + }; + }; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a.module("webui.ctrls.alert", ["webui.services.alerts"]).controller("AlertCtrl", [ + "$scope", + "$alerts", + "$sce", + function(e, t, n) { + (e.pendingAlerts = []), + (e.removeAlert = function(e) { + this.pendingAlerts.splice(e, 1); + }), + t.addAlerter(function(t, a) { + a = a || "warning"; + var o = { msg: n.trustAsHtml(t), type: a }; + (e.pendingAlerts = _.filter(e.pendingAlerts, function(e) { + return !e.expired; + })), + e.pendingAlerts.push(o), + setTimeout(function() { + var t = e.pendingAlerts.indexOf(o); + -1 != t && + ((e.pendingAlerts[t].expired = !0), + e.pendingAlerts.length > 0 && e.removeAlert(t)); + }, "error" == a ? 15e3 : 5e3), + e.$digest(); + }); + } + ]).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a + .module("webui.ctrls.download", [ + "ui.bootstrap", + "webui.services.utils", + "webui.services.rpc", + "webui.services.rpc.helpers", + "webui.services.alerts", + "webui.services.settings", + "webui.services.modals", + "webui.services.configuration", + "webui.services.errors" + ]) + .controller("MainCtrl", [ + "$scope", + "$name", + "$enable", + "$rpc", + "$rpchelpers", + "$utils", + "$alerts", + "$modals", + "$fileSettings", + "$activeInclude", + "$waitingExclude", + "$pageSize", + "$getErrorStatus", + "$rootScope", + "$filter", + function(e, t, n, a, o, i, r, s, l, c, d, u, p, h, f) { + (e.name = t), (e.enable = n); + var m = /\\/g, + g = []; + (e.active = []), + (e.waiting = []), + (e.stopped = []), + (e.gstats = {}), + (e.hideLinkedMetadata = !0), + (e.propFilter = ""), + (e.pause = function(e) { + a.once("forcePause", [e.gid]); + }), + (e.resume = function(e) { + a.once("unpause", [e.gid]); + }), + (e.restart = function(t) { + a.once("getOption", [t.gid], function(n) { + var i = n[0]; + a.once("getFiles", [t.gid], function(n) { + var a = n[0], + r = _.chain(a) + .map(function(e) { + return e.uris; + }) + .filter(function(e) { + return e && e.length; + }) + .map(function(e) { + return _.chain(e) + .map(function(e) { + return e.uri; + }) + .uniq() + .value(); + }) + .value(); + r.length > 0 && + (console.log("adding uris:", r, i), + e.remove( + t, + function() { + o.addUris(r, i); + }, + !0 + )); + }); + }); + }), + (e.canRestart = function(e) { + return -1 == ["active", "paused"].indexOf(e.status) && !e.bittorrent; + }), + (e.remove = function(t, n, o) { + setTimeout(function() { + if ( + o || + confirm( + f("translate")("Remove {{name}} and associated meta-data?", { name: t.name }) + ) + ) { + var i = "remove"; + "stopped" == e.getType(t) && (i = "removeDownloadResult"), + t.followedFrom && + (e.remove(t.followedFrom, function() {}, !0), (t.followedFrom = null)), + a.once(i, [t.gid], n); + for (var r = [e.active, e.waiting, e.stopped], s = 0; s < r.length; ++s) { + var l = r[s], + c = l.indexOf(t); + if (!(c < 0)) return void l.splice(c, 1); + } + } + }, 0); + }), + a.subscribe("tellActive", [], function(t) { + e.$apply(function() { + i.mergeMap(t[0], e.active, e.getCtx); + }); + }), + a.subscribe("tellWaiting", [0, 1e3], function(t) { + e.$apply(function() { + i.mergeMap(t[0], e.waiting, e.getCtx); + }); + }), + a.subscribe("tellStopped", [0, 1e3], function(t) { + e.$apply(function() { + if (e.hideLinkedMetadata) { + i.mergeMap(t[0], g, e.getCtx); + var n = {}; + _.forEach(g, function(e) { + n[e.gid] = e; + }), + _.forEach(e.active, function(e) { + n[e.gid] = e; + }), + _.forEach(e.waiting, function(e) { + n[e.gid] = e; + }), + (e.stopped = _.filter(g, function(e) { + return ( + !(e.metadata && e.followedBy && e.followedBy in n) || + ((n[e.followedBy].followedFrom = e), !1) + ); + })); + } else i.mergeMap(t[0], e.stopped, e.getCtx); + }); + }), + (h.pageTitle = i.getTitle()), + a.subscribe("getGlobalStat", [], function(t) { + e.$apply(function() { + (e.gstats = t[0]), (h.pageTitle = i.getTitle(e.gstats)); + }); + }), + a.once("getVersion", [], function(t) { + e.$apply(function() { + e.miscellaneous = t[0]; + }); + }), + (e.totalDownloads = 0), + (e.downloadFilter = ""), + (e.downloadFilterCommitted = ""), + (e.onDownloadFilter = function() { + e.downloadFilterTimer && clearTimeout(e.downloadFilterTimer), + (e.downloadFilterTimer = setTimeout(function() { + delete e.downloadFilterTimer, + e.downloadFilterCommitted !== e.downloadFilter && + ((e.downloadFilterCommitted = e.downloadFilter), e.$digest()); + }, 500)); + }), + (e.filterDownloads = function(t) { + if (!e.downloadFilterCommitted) return t; + var n = e.downloadFilterCommitted + .replace(/[{}()\[\]\\^$.?]/g, "\\$&") + .replace(/\*/g, ".*") + .replace(/\./g, "."); + return ( + (n = new RegExp(n, "i")), + _.filter(t, function(e) { + return ( + !!n.test(e.name) || + _.filter(e.files, function(e) { + return n.test(e.relpath); + }).length + ); + }) + ); + }), + (e.clearFilter = function() { + e.downloadFilter = e.downloadFilterCommitted = ""; + }), + (e.toggleStateFilters = function() { + (e.filterSpeed = !e.filterSpeed), + (e.filterActive = !e.filterActive), + (e.filterWaiting = !e.filterWaiting), + (e.filterComplete = !e.filterComplete), + (e.filterError = !e.filterError), + (e.filterPaused = !e.filterPaused), + (e.filterRemoved = !e.filterRemoved), + e.persistFilters(); + }), + (e.resetFilters = function() { + (e.filterSpeed = e.filterActive = e.filterWaiting = e.filterComplete = e.filterError = e.filterPaused = e.filterRemoved = !0), + e.clearFilter(), + e.persistFilters(); + }), + (e.persistFilters = function() { + var t = JSON.stringify({ + s: e.filterSpeed, + a: e.filterActive, + w: e.filterWaiting, + c: e.filterComplete, + e: e.filterError, + p: e.filterPaused, + r: e.filterRemoved + }); + i.setCookie("aria2filters", t); + }), + (e.loadFilters = function() { + var t = JSON.parse(i.getCookie("aria2filters")); + t + ? ((e.filterSpeed = !!t.s), + (e.filterActive = !!t.a), + (e.filterWaiting = !!t.w), + (e.filterComplete = !!t.c), + (e.filterError = !!t.e), + (e.filterPaused = !!t.p), + (e.filterRemoved = !!t.r)) + : e.resetFilters(); + }), + e.loadFilters(), + (e.toggleCollapsed = function(t) { + if (!t.collapsed) + return ( + (t.animCollapsed = !0), + void setTimeout(function() { + e.$apply(function() { + t.collapsed = !0; + }); + }, 500) + ); + (t.collapsed = !1), + setTimeout(function() { + e.$apply(function() { + t.animCollapsed = !1; + }); + }, 0); + }), + (e.pageSize = u), + (e.currentPage = 1), + (e.totalAria2Downloads = function() { + return e.active.length + e.waiting.length + e.stopped.length; + }), + (e.getErrorStatus = function(e) { + return p(+e); + }), + (e.getDownloads = function() { + var t = []; + e.filterActive + ? e.filterSpeed + ? t.push(e.active) + : t.push( + _.filter(e.active, function(e) { + return !+e.uploadSpeed && !+e.downloadSpeed; + }) + ) + : e.filterSpeed && + t.push( + _.filter(e.active, function(e) { + return +e.uploadSpeed || +e.downloadSpeed; + }) + ), + e.filterWaiting && + t.push( + _.filter(e.waiting, function(e) { + return "waiting" == e.status; + }) + ), + e.filterPaused && + t.push( + _.filter(e.waiting, function(e) { + return "paused" == e.status; + }) + ), + e.filterError && + t.push( + _.filter(e.stopped, function(e) { + return "error" == e.status; + }) + ), + e.filterComplete && + t.push( + _.filter(e.stopped, function(e) { + return "complete" == e.status; + }) + ), + e.filterRemoved && + t.push( + _.filter(e.stopped, function(e) { + return "removed" == e.status; + }) + ); + var n = t + .map(function(e) { + return _.sortBy(e, function(e) { + return -e.completedLength / e.totalLength; + }); + }) + .reduce(function(e, t) { + return e.concat(t); + }, []); + return ( + (n = e.filterDownloads(n)), + (e.totalDownloads = n.length), + (n = n.slice((e.currentPage - 1) * e.pageSize)).splice(e.pageSize), + n + ); + }), + (e.hasDirectURL = function() { + return "" != a.getDirectURL(); + }), + (e.getDirectURL = function() { + return a.getDirectURL(); + }), + (e.getCtx = function(e, t) { + var n; + t + ? (t.gid !== e.gid && (t.files = []), + (t.dir = e.dir), + (t.status = e.status), + e.verifiedLength && (t.status = "verifing"), + e.verifyIntegrityPending && (t.status = "verifyPending"), + (t.errorCode = e.errorCode), + (t.gid = e.gid), + (t.followedBy = + e.followedBy && 1 == e.followedBy.length ? e.followedBy[0] : null), + (t.followedFrom = null), + (t.numPieces = e.numPieces), + (t.connections = e.connections), + void 0 === e.numSeeders + ? (t.numSeeders = "") + : ((t.connectionsTitle = "Connections (Seeders)"), + (t.numSeeders = " (" + e.numSeeders + ")")), + (t.bitfield = e.bitfield), + t.totalLength !== e.totalLength && + ((t.totalLength = e.totalLength), + (t.fmtTotalLength = i.fmtsize(e.totalLength))), + t.completedLength !== e.completedLength && + ((t.completedLength = e.completedLength), + (t.fmtCompletedLength = i.fmtsize(e.completedLength))), + e.verifiedLength + ? t.verifiedLength !== e.verifiedLength && (t.verifiedLength = e.verifiedLength) + : delete t.verifiedLength, + e.verifyIntegrityPending + ? t.verifyIntegrityPending !== e.verifyIntegrityPending && + (t.verifyIntegrityPending = e.verifyIntegrityPending) + : delete t.verifyIntegrityPending, + t.uploadLength !== e.uploadLength && + ((t.uploadLength = e.uploadLength), + (t.fmtUploadLength = i.fmtsize(e.uploadLength))), + t.pieceLength !== e.pieceLength && + ((t.pieceLength = e.pieceLength), + (t.fmtPieceLength = i.fmtsize(e.pieceLength))), + t.downloadSpeed !== e.downloadSpeed && + ((t.downloadSpeed = e.downloadSpeed), + (t.fmtDownloadSpeed = i.fmtspeed(e.downloadSpeed))), + t.uploadSpeed !== e.uploadSpeed && + ((t.uploadSpeed = e.uploadSpeed), + (t.fmtUploadSpeed = i.fmtspeed(e.uploadSpeed)))) + : ((t = { + dir: e.dir, + status: e.status, + gid: e.gid, + followedBy: e.followedBy && 1 == e.followedBy.length ? e.followedBy[0] : null, + followedFrom: null, + numPieces: e.numPieces, + connections: e.connections, + connectionsTitle: "Connections", + numSeeders: e.numSeeders, + bitfield: e.bitfield, + errorCode: e.errorCode, + totalLength: e.totalLength, + fmtTotalLength: i.fmtsize(e.totalLength), + completedLength: e.completedLength, + fmtCompletedLength: i.fmtsize(e.completedLength), + uploadLength: e.uploadLength, + fmtUploadLength: i.fmtsize(e.uploadLength), + pieceLength: e.pieceLength, + fmtPieceLength: i.fmtsize(e.pieceLength), + downloadSpeed: e.downloadSpeed, + fmtDownloadSpeed: i.fmtspeed(e.downloadSpeed), + uploadSpeed: e.uploadSpeed, + fmtUploadSpeed: i.fmtspeed(e.uploadSpeed), + collapsed: !0, + animCollapsed: !0, + files: [] + }), + e.verifiedLength && + ((t.verifiedLength = e.verifiedLength), (t.status = "verifing")), + e.verifyIntegrityPending && + ((t.verifyIntegrityPending = e.verifyIntegrityPending), + (t.status = "verifyPending"))); + var a, + o = e.files; + if (o) { + for (var r = t.files, s = 0; s < o.length; ++s) { + var l = r[s] || (r[s] = {}), + c = o[s]; + c.path !== l.path && + ((l.index = +c.index), + (l.path = c.path), + (l.length = c.length), + (l.fmtLength = i.fmtsize(c.length)), + (l.relpath = c.path.replace(m, "/")), + l.relpath + ? l.relpath.startsWith("[") || + (l.relpath = l.relpath.substr(t.dir.length + 1)) + : (l.relpath = (c.uris && c.uris[0] && c.uris[0].uri) || "Unknown")), + (l.selected = "true" === c.selected); + } + (r.length = o.length), r.length && (n = r[0].relpath); + } else delete t.files; + return ( + e.bittorrent + ? ((a = e.bittorrent.info && e.bittorrent.info.name), (t.bittorrent = !0)) + : delete t.bittorrent, + (t.name = a || n || "Unknown"), + (t.metadata = t.name.startsWith("[METADATA]")), + t.metadata && (t.name = t.name.substr(10)), + t + ); + }), + (e.hasStatus = function e(t, n) { + return _.isArray(n) + ? 0 != n.length && (e(t, n[0]) || e(t, n.slice(1))) + : t.status == n; + }), + (e.getEta = function(e) { + return (e.totalLength - e.completedLength) / e.downloadSpeed; + }), + (e.getProgressClass = function(e) { + switch (e.status) { + case "paused": + return "progress-bar-info"; + case "error": + return "progress-bar-danger"; + case "removed": + return "progress-bar-warning"; + case "active": + return "active"; + case "verifing": + return "progress-bar-warning"; + case "complete": + return "progress-bar-success"; + default: + return ""; + } + }), + (e.getProgress = function(e) { + var t = 0; + return ( + (t = (t = e.verifiedLength + ? (e.verifiedLength / e.totalLength) * 100 || 0 + : (e.completedLength / e.totalLength) * 100 || 0).toFixed(2)) || (t = 0), + t + ); + }), + (e.getRatio = function(e) { + var t = 0; + return (t = (t = e.uploadLength / e.completedLength || 0).toFixed(2)) || (t = 0), t; + }), + (e.getType = function(e) { + var t = e.status; + return ( + "paused" == t && (t = "waiting"), + -1 != ["error", "removed", "complete"].indexOf(t) && (t = "stopped"), + t + ); + }), + (e.selectFiles = function(e) { + console.log("got back files for the torrent ..."), + s.invoke("selectFiles", e.files, function(t) { + var n = ""; + _.forEach(t, function(e) { + e.selected && (n += "," + e.index); + }), + (n = n.slice(1)), + a.once("changeOption", [e.gid, { "select-file": n }], function(e) { + console.log("changed indexes to:", n, e); + }); + }); + }), + (e.showSettings = function(t) { + var n = e.getType(t), + o = {}; + return ( + a.once("getOption", [t.gid], function(e) { + var i = e[0], + r = _.cloneDeep(l); + for (var u in r) + ("active" == n && -1 == c.indexOf(u)) || + ("waiting" == n && -1 != d.indexOf(u)) || + ((o[u] = r[u]), (o[u].val = i[u] || o[u].val)); + s.invoke("settings", o, t.name + " settings", "Change", function(e) { + var n = {}; + for (var o in e) n[o] = e[o].val; + a.once("changeOption", [t.gid, n]); + }); + }), + !1 + ); + }), + (e.moveDown = function(e) { + a.once("changePosition", [e.gid, 1, "POS_CUR"]); + }), + (e.moveUp = function(e) { + a.once("changePosition", [e.gid, -1, "POS_CUR"]); + }); + } + ]) + .filter("objFilter", function() { + return function(e, t) { + e = e || {}; + var n = {}; + for (var a in e) a.startsWith(t) && (n[a] = e[a]); + return n; + }; + }).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a), + i = function(e, t) { + var n = 0, + a = [], + o = function(e) { + var o = e.target.result; + a.push(o.split(",")[1]), --n || t(a); + }; + _.each(e, function(e) { + n++, console.log("starting file reader"); + var a = new FileReader(); + (a.onload = o), + (a.onerror = function(e) { + console.log("got back error", e), t([]); + }), + a.readAsDataURL(e); + }); + }; + t.a = o.a + .module("webui.ctrls.modal", [ + "ui.bootstrap", + "webui.services.deps", + "webui.services.modals", + "webui.services.rpc", + "webui.services.configuration" + ]) + .controller("ModalCtrl", [ + "$_", + "$scope", + "$modal", + "$modals", + "$rpc", + "$fileSettings", + "$downloadProps", + function(e, t, n, a, o, r, s) { + (t.getUris = { + open: function(a) { + var o = this; + (this.uris = ""), + (this.downloadSettingsCollapsed = !0), + (this.advancedSettingsCollapsed = !0), + (this.settings = {}), + (this.fsettings = e.cloneDeep(r)), + (this.cb = a), + e.forEach(s, function(e) { + (o.settings[e] = o.fsettings[e]), delete o.fsettings[e]; + }), + (this.inst = n.open({ + templateUrl: "getUris.html", + scope: t, + windowClass: "modal-large" + })), + this.inst.result.then( + function() { + if ((delete o.inst, o.cb)) { + var e = {}; + for (var t in o.settings) + r[t].val != o.settings[t].val && (e[t] = o.settings[t].val); + for (var t in o.fsettings) + r[t].val != o.fsettings[t].val && (e[t] = o.fsettings[t].val); + console.log("sending settings:", e), o.cb(o.parse(), e); + } + }, + function() { + delete o.inst; + } + ); + }, + parse: function() { + return e + .chain(this.uris.trim().split(/\r?\n/g)) + .map(function(t) { + return e(t) + .replace(/["'][^"']*["']/g, function(e) { + return e.replace(/%/g, "%25").replace(/ /g, "%20"); + }) + .trim() + .split(/\s+/g) + .map(function(e) { + return e + .replace(/%20/g, " ") + .replace(/%25/g, "%") + .replace(/["']/g, ""); + }); + }) + .filter(function(e) { + return e.length; + }) + .value(); + } + }), + (t.settings = { + open: function(e, a, o, i) { + var r = this; + (this.settings = e), + (this.title = a), + (this.actionText = o), + (this.inst = n.open({ + templateUrl: "settings.html", + scope: t, + windowClass: "modal-large" + })), + this.inst.result.then( + function() { + delete r.inst, i && i(r.settings); + }, + function() { + delete r.inst; + } + ); + } + }), + (t.selectFiles = { + open: function(a, o) { + var i = this; + this.files = e.cloneDeep(a); + (this.groupedFiles = (function(e) { + function t() { + (this.dirs = {}), (this.files = []), (this.show = !1), (this.selected = !0); + } + e.sort(function(e, t) { + return e.relpath < t.relpath ? -1 : 1; + }); + for (var n, a = new t(), o = 0; o < e.length; o++) { + n = a; + for (var i = e[o].relpath.split("/"), r = 0; r < i.length - 1; r++) + n.dirs[i[r]] || (n.dirs[i[r]] = new t()), (n = n.dirs[i[r]]); + n.files.push(e[o]); + } + return a; + })(this.files)), + (this.inst = n.open({ + templateUrl: "selectFiles.html", + scope: t, + windowClass: "modal-large" + })), + this.inst.result.then( + function() { + delete i.inst, o && o(i.files); + }, + function() { + delete i.inst; + } + ); + } + }), + (t.connection = { + open: function(e, a) { + var i = this; + (this.conf = o.getConfiguration()), + (this.inst = n.open({ + templateUrl: "connection.html", + scope: t, + windowClass: "modal-large" + })), + this.inst.result.then( + function() { + delete i.inst, a && a(i.conf); + }, + function() { + delete i.inst; + } + ); + } + }), + e.each(["getTorrents", "getMetalinks"], function(a) { + t[a] = { + open: function(o) { + var l = this; + (this.files = []), + (this.collapsed = !0), + (this.settings = {}), + (this.fsettings = e.cloneDeep(r)), + e.forEach(s, function(e) { + (l.settings[e] = l.fsettings[e]), delete l.fsettings[e]; + }), + (this.inst = n.open({ + templateUrl: a + ".html", + scope: t, + windowClass: "modal-large" + })), + this.inst.result.then( + function() { + delete l.inst, + o && + i(l.files, function(e) { + var t = {}; + for (var n in l.settings) + r[n].val != l.settings[n].val && (t[n] = l.settings[n].val); + for (var n in l.fsettings) + r[n].val != l.fsettings[n].val && (t[n] = l.fsettings[n].val); + console.log("sending settings:", t), o(e, t); + }); + }, + function() { + delete l.inst; + } + ); + } + }; + }), + e.each(["about", "server_info"], function(e) { + t[e] = { + open: function() { + var a = this; + (this.inst = n.open({ templateUrl: e + ".html", scope: t })), + this.inst.result.then( + function() { + delete a.inst; + }, + function() { + delete a.inst; + } + ); + } + }; + }), + o.once("getVersion", [], function(e) { + t.miscellaneous = e[0]; + }), + e.each( + [ + "getUris", + "getTorrents", + "getMetalinks", + "selectFiles", + "settings", + "connection", + "server_info", + "about" + ], + function(e) { + a.register(e, function() { + if (!t[e].inst) { + var n = Array.prototype.slice.call(arguments, 0); + t[e].open.apply(t[e], n); + } + }); + } + ); + } + ]).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a + .module("webui.ctrls.nav", [ + "webui.services.configuration", + "webui.services.modals", + "webui.services.rpc", + "webui.services.rpc.helpers", + "webui.services.settings", + "webui.services.utils" + ]) + .controller("NavCtrl", [ + "$scope", + "$modals", + "$rpc", + "$rpchelpers", + "$fileSettings", + "$globalSettings", + "$globalExclude", + "$utils", + "$translate", + "$filter", + function(e, t, n, a, o, i, r, s, l, c) { + (e.isFeatureEnabled = function(e) { + return a.isFeatureEnabled(e); + }), + (e.collapsed = !0), + (e.onDownloadFilter = function() { + (e.$parent.downloadFilter = e.downloadFilter), e.$parent.onDownloadFilter(); + }), + (e.forcePauseAll = function() { + n.once("forcePauseAll", []); + }), + (e.purgeDownloadResult = function() { + n.once("purgeDownloadResult", []); + }), + (e.unpauseAll = function() { + n.once("unpauseAll", []); + }), + (e.addUris = function() { + t.invoke("getUris", _.bind(a.addUris, a)); + }), + (e.addMetalinks = function() { + t.invoke("getMetalinks", _.bind(a.addMetalinks, a)); + }), + (e.addTorrents = function() { + t.invoke("getTorrents", _.bind(a.addTorrents, a)); + }), + (e.changeCSettings = function() { + t.invoke("connection", n.getConfiguration(), _.bind(n.configure, n)); + }), + (e.changeGSettings = function() { + n.once("getGlobalOption", [], function(e) { + var a = s.getCookie("aria2props"); + (a && a.indexOf) || (a = []); + var l = e[0], + d = {}; + for (var u in (_.forEach([o, i], function(e) { + for (var t in e) + -1 == r.indexOf(t) && + ((d[t] = _.cloneDeep(e[t])), (d[t].starred = -1 != a.indexOf(t))); + }), + l)) + u in r || + (u in d + ? (d[u].val = l[u]) + : (d[u] = { name: u, val: l[u], desc: "", starred: -1 != a.indexOf(u) })); + t.invoke( + "settings", + _.cloneDeep(d), + c("translate")("Global Settings"), + c("translate")("Save"), + function(e) { + var t = {}, + a = []; + for (var o in e) + d[o].val != e[o].val && (t[o] = e[o].val), e[o].starred && a.push(o); + console.log("saving aria2 settings:", t), + console.log("saving aria2 starred:", a), + n.once("changeGlobalOption", [t]), + s.setCookie("aria2props", a); + } + ); + }); + }), + (e.showServerInfo = function() { + t.invoke("server_info"); + }), + (e.showAbout = function() { + t.invoke("about"); + }), + (e.changeLanguage = function(e) { + l.use(e); + }), + (e.shutDownServer = function() { + n.once("shutdown", []); + }); + } + ]).name; + }, + function(e, t, n) { + "use strict"; + var a = n(0), + o = n.n(a); + t.a = o.a + .module("webui.ctrls.props", [ + "webui.services.utils", + "webui.services.settings", + "webui.services.deps", + "webui.services.rpc", + "webui.services.configuration" + ]) + .controller("StarredPropsCtrl", [ + "$scope", + "$_", + "$utils", + "$rpc", + "$globalSettings", + "$fileSettings", + "$starredProps", + function(e, t, n, a, o, i, r) { + (e._props = []), + (e.dirty = !0), + (e.properties = []), + (e.getProps = function() { + var e = n.getCookie("aria2props"); + return (e && e.indexOf) || (e = r), e; + }), + (e.enabled = function() { + for (var t = 0; t < e.properties.length; t++) + if (e.properties[t]._val != e.properties[t].val) return !0; + return !1; + }), + (e.save = function() { + for (var t = {}, n = !1, o = 0; o < e.properties.length; o++) + e.properties[o]._val != e.properties[o].val && + ((t[e.properties[o].name] = e.properties[o].val), (n = !0)); + n && a.once("changeGlobalOption", [t]); + }), + a.subscribe("getGlobalOption", [], function(t) { + for (var a = t[0], r = e.getProps(), s = [], l = 0; l < r.length; l++) { + var c = {}; + r[l] in o + ? ((c = o[r[l]]), r[l] in a && (c.val = a[r[l]]), (c.name = r[l]), s.push(c)) + : r[l] in i + ? ((c = i[r[l]]), r[l] in a && (c.val = a[r[l]]), (c.name = r[l]), s.push(c)) + : r[l] in a && s.push({ name: r[l], val: a[r[l]] }); + } + n.mergeMap(s, e.properties, function(e, t) { + return ( + ((t = t || {}).name = e.name), + (t.options = e.options), + (t.multiline = e.multiline), + t._val == t.val || t.val == e.val + ? ((t._val = e.val), (t.val = e.val)) + : (t._val = e.val), + (t.desc = e.desc), + t + ); + }); + }); + } + ]).name; + }, + function(e, t, n) { + "use strict"; + n.r(t), + function(e) { + var t = n(0), + a = n.n(t), + o = (n(31), n(36), n(2)), + i = n(3), + r = n(4), + s = n(5), + l = n(7), + c = n(8), + d = n(9), + u = n(10), + p = n(11), + h = n(12), + f = n(13), + m = n(14), + g = n(15), + v = n(16), + b = n(17), + w = n(18), + y = n(19), + k = n(20), + S = n(21), + T = n(22), + C = n(23), + P = n(24), + A = n(25), + x = n(26), + R = n(27), + D = n(28); + n(32), + n(33), + n(34), + n(35), + n(40), + n(41), + n(42), + n(43), + n(44), + n(45), + n(46), + n(47), + n(48), + n(49), + n(50), + n(51), + n(52), + n(53), + n(54), + n(55); + var $ = a.a.module("webui", [ + v.a, + s.a, + l.a, + i.a, + r.a, + c.a, + d.a, + u.a, + p.a, + h.a, + g.a, + o.a, + f.a, + m.a, + b.a, + w.a, + y.a, + k.a, + S.a, + T.a, + P.a, + A.a, + x.a, + R.a, + D.a, + "ui.bootstrap", + "pascalprecht.translate" + ]); + function M(e, t) { + for (var n in t) t.hasOwnProperty(n) && ((e[n] && e[n].length) || (e[n] = t[n])); + return e; + } + $.config([ + "$translateProvider", + "$locationProvider", + function(e, t) { + e + .translations("en_US", translations.en_US) + .translations("nl_NL", M(translations.nl_NL, translations.en_US)) + .translations("th_TH", M(translations.th_TH, translations.en_US)) + .translations("zh_CN", M(translations.zh_CN, translations.en_US)) + .translations("zh_TW", M(translations.zh_TW, translations.en_US)) + .translations("pl_PL", M(translations.pl_PL, translations.en_US)) + .translations("fr_FR", M(translations.fr_FR, translations.en_US)) + .translations("de_DE", M(translations.de_DE, translations.en_US)) + .translations("es_ES", M(translations.es_ES, translations.en_US)) + .translations("ru_RU", M(translations.ru_RU, translations.en_US)) + .translations("it_IT", M(translations.it_IT, translations.en_US)) + .translations("tr_TR", M(translations.tr_TR, translations.en_US)) + .translations("cs_CZ", M(translations.cs_CZ, translations.en_US)) + .translations("fa_IR", M(translations.fa_IR, translations.en_US)) + .translations("id_ID", M(translations.id_ID, translations.en_US)) + .translations("pt_BR", M(translations.pt_BR, translations.en_US)) + .useSanitizeValueStrategy("escapeParameters") + .determinePreferredLanguage(), + t.html5Mode({ enabled: !0, requireBase: !1 }); + } + ]), + $.directive("textarea", C.a), + "serviceWorker" in navigator && + "https:" === location.protocol && + window.addEventListener("load", () => { + navigator.serviceWorker + .register("service-worker.js") + .then(e => { + console.log("SW registered: ", e); + }) + .catch(e => { + console.log("SW registration failed: ", e); + }); + }), + e(function() { + String.prototype.startsWith || + Object.defineProperty(String.prototype, "startsWith", { + enumerable: !1, + configurable: !1, + writable: !1, + value: function(e, t) { + return (t = t || 0), this.indexOf(e, t) === t; + } + }), + a.a.bootstrap(document, ["webui"]); + }); + }.call(this, n(1)); + }, + , + , + function(e, t) { + angular.module("ui.bootstrap", [ + "ui.bootstrap.tpls", + "ui.bootstrap.collapse", + "ui.bootstrap.accordion", + "ui.bootstrap.alert", + "ui.bootstrap.bindHtml", + "ui.bootstrap.buttons", + "ui.bootstrap.carousel", + "ui.bootstrap.dateparser", + "ui.bootstrap.position", + "ui.bootstrap.datepicker", + "ui.bootstrap.dropdown", + "ui.bootstrap.modal", + "ui.bootstrap.pagination", + "ui.bootstrap.tooltip", + "ui.bootstrap.popover", + "ui.bootstrap.progressbar", + "ui.bootstrap.rating", + "ui.bootstrap.tabs", + "ui.bootstrap.timepicker", + "ui.bootstrap.transition", + "ui.bootstrap.typeahead" + ]), + angular.module("ui.bootstrap.tpls", [ + "template/accordion/accordion-group.html", + "template/accordion/accordion.html", + "template/alert/alert.html", + "template/carousel/carousel.html", + "template/carousel/slide.html", + "template/datepicker/datepicker.html", + "template/datepicker/day.html", + "template/datepicker/month.html", + "template/datepicker/popup.html", + "template/datepicker/year.html", + "template/modal/backdrop.html", + "template/modal/window.html", + "template/pagination/pager.html", + "template/pagination/pagination.html", + "template/tooltip/tooltip-html-popup.html", + "template/tooltip/tooltip-html-unsafe-popup.html", + "template/tooltip/tooltip-popup.html", + "template/tooltip/tooltip-template-popup.html", + "template/popover/popover-html.html", + "template/popover/popover-template.html", + "template/popover/popover.html", + "template/progressbar/bar.html", + "template/progressbar/progress.html", + "template/progressbar/progressbar.html", + "template/rating/rating.html", + "template/tabs/tab.html", + "template/tabs/tabset.html", + "template/timepicker/timepicker.html", + "template/typeahead/typeahead-match.html", + "template/typeahead/typeahead-popup.html" + ]), + angular.module("ui.bootstrap.collapse", []).directive("collapse", [ + "$animate", + function(e) { + return { + link: function(t, n, a) { + function o() { + n + .removeClass("collapse") + .addClass("collapsing") + .attr("aria-expanded", !0) + .attr("aria-hidden", !1), + e.addClass(n, "in", { to: { height: n[0].scrollHeight + "px" } }).then(i); + } + function i() { + n.removeClass("collapsing"), n.css({ height: "auto" }); + } + function r() { + return n.hasClass("collapse") || n.hasClass("in") + ? (n + .css({ height: n[0].scrollHeight + "px" }) + .removeClass("collapse") + .addClass("collapsing") + .attr("aria-expanded", !1) + .attr("aria-hidden", !0), + void e.removeClass(n, "in", { to: { height: "0" } }).then(s)) + : s(); + } + function s() { + n.css({ height: "0" }), n.removeClass("collapsing"), n.addClass("collapse"); + } + t.$watch(a.collapse, function(e) { + e ? r() : o(); + }); + } + }; + } + ]), + angular + .module("ui.bootstrap.accordion", ["ui.bootstrap.collapse"]) + .constant("accordionConfig", { closeOthers: !0 }) + .controller("AccordionController", [ + "$scope", + "$attrs", + "accordionConfig", + function(e, t, n) { + (this.groups = []), + (this.closeOthers = function(a) { + (angular.isDefined(t.closeOthers) ? e.$eval(t.closeOthers) : n.closeOthers) && + angular.forEach(this.groups, function(e) { + e !== a && (e.isOpen = !1); + }); + }), + (this.addGroup = function(e) { + var t = this; + this.groups.push(e), + e.$on("$destroy", function(n) { + t.removeGroup(e); + }); + }), + (this.removeGroup = function(e) { + var t = this.groups.indexOf(e); + -1 !== t && this.groups.splice(t, 1); + }); + } + ]) + .directive("accordion", function() { + return { + restrict: "EA", + controller: "AccordionController", + controllerAs: "accordion", + transclude: !0, + replace: !1, + templateUrl: function(e, t) { + return t.templateUrl || "template/accordion/accordion.html"; + } + }; + }) + .directive("accordionGroup", function() { + return { + require: "^accordion", + restrict: "EA", + transclude: !0, + replace: !0, + templateUrl: function(e, t) { + return t.templateUrl || "template/accordion/accordion-group.html"; + }, + scope: { heading: "@", isOpen: "=?", isDisabled: "=?" }, + controller: function() { + this.setHeading = function(e) { + this.heading = e; + }; + }, + link: function(e, t, n, a) { + a.addGroup(e), + (e.openClass = n.openClass || "panel-open"), + (e.panelClass = n.panelClass), + e.$watch("isOpen", function(n) { + t.toggleClass(e.openClass, n), n && a.closeOthers(e); + }), + (e.toggleOpen = function(t) { + e.isDisabled || (t && 32 !== t.which) || (e.isOpen = !e.isOpen); + }); + } + }; + }) + .directive("accordionHeading", function() { + return { + restrict: "EA", + transclude: !0, + template: "", + replace: !0, + require: "^accordionGroup", + link: function(e, t, n, a, o) { + a.setHeading(o(e, angular.noop)); + } + }; + }) + .directive("accordionTransclude", function() { + return { + require: "^accordionGroup", + link: function(e, t, n, a) { + e.$watch( + function() { + return a[n.accordionTransclude]; + }, + function(e) { + e && (t.find("span").html(""), t.find("span").append(e)); + } + ); + } + }; + }), + angular + .module("ui.bootstrap.alert", []) + .controller("AlertController", [ + "$scope", + "$attrs", + function(e, t) { + (e.closeable = !!t.close), (this.close = e.close); + } + ]) + .directive("alert", function() { + return { + controller: "AlertController", + controllerAs: "alert", + templateUrl: function(e, t) { + return t.templateUrl || "template/alert/alert.html"; + }, + transclude: !0, + replace: !0, + scope: { type: "@", close: "&" } + }; + }) + .directive("dismissOnTimeout", [ + "$timeout", + function(e) { + return { + require: "alert", + link: function(t, n, a, o) { + e(function() { + o.close(); + }, parseInt(a.dismissOnTimeout, 10)); + } + }; + } + ]), + angular + .module("ui.bootstrap.bindHtml", []) + .value("$bindHtmlUnsafeSuppressDeprecated", !1) + .directive("bindHtmlUnsafe", [ + "$log", + "$bindHtmlUnsafeSuppressDeprecated", + function(e, t) { + return function(n, a, o) { + t || e.warn("bindHtmlUnsafe is now deprecated. Use ngBindHtml instead"), + a.addClass("ng-binding").data("$binding", o.bindHtmlUnsafe), + n.$watch(o.bindHtmlUnsafe, function(e) { + a.html(e || ""); + }); + }; + } + ]), + angular + .module("ui.bootstrap.buttons", []) + .constant("buttonConfig", { activeClass: "active", toggleEvent: "click" }) + .controller("ButtonsController", [ + "buttonConfig", + function(e) { + (this.activeClass = e.activeClass || "active"), + (this.toggleEvent = e.toggleEvent || "click"); + } + ]) + .directive("btnRadio", function() { + return { + require: ["btnRadio", "ngModel"], + controller: "ButtonsController", + controllerAs: "buttons", + link: function(e, t, n, a) { + var o = a[0], + i = a[1]; + t.find("input").css({ display: "none" }), + (i.$render = function() { + t.toggleClass(o.activeClass, angular.equals(i.$modelValue, e.$eval(n.btnRadio))); + }), + t.bind(o.toggleEvent, function() { + if (!n.disabled) { + var a = t.hasClass(o.activeClass); + (!a || angular.isDefined(n.uncheckable)) && + e.$apply(function() { + i.$setViewValue(a ? null : e.$eval(n.btnRadio)), i.$render(); + }); + } + }); + } + }; + }) + .directive("btnCheckbox", [ + "$document", + function(e) { + return { + require: ["btnCheckbox", "ngModel"], + controller: "ButtonsController", + controllerAs: "button", + link: function(t, n, a, o) { + function i() { + return s(a.btnCheckboxTrue, !0); + } + function r() { + return s(a.btnCheckboxFalse, !1); + } + function s(e, n) { + var a = t.$eval(e); + return angular.isDefined(a) ? a : n; + } + var l = o[0], + c = o[1]; + n.find("input").css({ display: "none" }), + (c.$render = function() { + n.toggleClass(l.activeClass, angular.equals(c.$modelValue, i())); + }), + n.bind(l.toggleEvent, function() { + a.disabled || + t.$apply(function() { + c.$setViewValue(n.hasClass(l.activeClass) ? r() : i()), c.$render(); + }); + }), + n.on("keypress", function(o) { + a.disabled || + 32 !== o.which || + e[0].activeElement !== n[0] || + t.$apply(function() { + c.$setViewValue(n.hasClass(l.activeClass) ? r() : i()), c.$render(); + }); + }); + } + }; + } + ]), + angular + .module("ui.bootstrap.carousel", []) + .controller("CarouselController", [ + "$scope", + "$element", + "$interval", + "$animate", + function(e, t, n, a) { + function o(t, n, o) { + g || + (angular.extend(t, { direction: o, active: !0 }), + angular.extend(u.currentSlide || {}, { direction: o, active: !1 }), + a.enabled() && + !e.noTransition && + !e.$currentTransition && + t.$element && + u.slides.length > 1 && + (t.$element.data(f, t.direction), + u.currentSlide && + u.currentSlide.$element && + u.currentSlide.$element.data(f, t.direction), + (e.$currentTransition = !0), + h + ? a.on("addClass", t.$element, function(t, n) { + "close" === n && ((e.$currentTransition = null), a.off("addClass", t)); + }) + : t.$element.one("$animate:close", function() { + e.$currentTransition = null; + })), + (u.currentSlide = t), + (m = n), + r()); + } + function i(e) { + if (angular.isUndefined(p[e].index)) return p[e]; + var t; + for (p.length, t = 0; t < p.length; ++t) if (p[t].index == e) return p[t]; + } + function r() { + s(); + var t = +e.interval; + !isNaN(t) && t > 0 && (c = n(l, t)); + } + function s() { + c && (n.cancel(c), (c = null)); + } + function l() { + var t = +e.interval; + d && !isNaN(t) && t > 0 && p.length ? e.next() : e.pause(); + } + var c, + d, + u = this, + p = (u.slides = e.slides = []), + h = angular.version.minor >= 4, + f = "uib-slideDirection", + m = -1; + u.currentSlide = null; + var g = !1; + (u.select = e.select = function(t, n) { + var a = e.indexOfSlide(t); + void 0 === n && (n = a > u.getCurrentIndex() ? "next" : "prev"), + t && t !== u.currentSlide && !e.$currentTransition && o(t, a, n); + }), + e.$on("$destroy", function() { + g = !0; + }), + (u.getCurrentIndex = function() { + return u.currentSlide && angular.isDefined(u.currentSlide.index) + ? +u.currentSlide.index + : m; + }), + (e.indexOfSlide = function(e) { + return angular.isDefined(e.index) ? +e.index : p.indexOf(e); + }), + (e.next = function() { + var t = (u.getCurrentIndex() + 1) % p.length; + return 0 === t && e.noWrap() ? void e.pause() : u.select(i(t), "next"); + }), + (e.prev = function() { + var t = u.getCurrentIndex() - 1 < 0 ? p.length - 1 : u.getCurrentIndex() - 1; + return e.noWrap() && t === p.length - 1 ? void e.pause() : u.select(i(t), "prev"); + }), + (e.isActive = function(e) { + return u.currentSlide === e; + }), + e.$watch("interval", r), + e.$on("$destroy", s), + (e.play = function() { + d || ((d = !0), r()); + }), + (e.pause = function() { + e.noPause || ((d = !1), s()); + }), + (u.addSlide = function(t, n) { + (t.$element = n), + p.push(t), + 1 === p.length || t.active + ? (u.select(p[p.length - 1]), 1 == p.length && e.play()) + : (t.active = !1); + }), + (u.removeSlide = function(e) { + angular.isDefined(e.index) && + p.sort(function(e, t) { + return +e.index > +t.index; + }); + var t = p.indexOf(e); + p.splice(t, 1), + p.length > 0 && e.active + ? t >= p.length + ? u.select(p[t - 1]) + : u.select(p[t]) + : m > t && m--, + 0 === p.length && (u.currentSlide = null); + }), + e.$watch("noTransition", function(e) { + t.data("uib-noTransition", e); + }); + } + ]) + .directive("carousel", [ + function() { + return { + restrict: "EA", + transclude: !0, + replace: !0, + controller: "CarouselController", + controllerAs: "carousel", + require: "carousel", + templateUrl: function(e, t) { + return t.templateUrl || "template/carousel/carousel.html"; + }, + scope: { interval: "=", noTransition: "=", noPause: "=", noWrap: "&" } + }; + } + ]) + .directive("slide", function() { + return { + require: "^carousel", + restrict: "EA", + transclude: !0, + replace: !0, + templateUrl: function(e, t) { + return t.templateUrl || "template/carousel/slide.html"; + }, + scope: { active: "=?", actual: "=?", index: "=?" }, + link: function(e, t, n, a) { + a.addSlide(e, t), + e.$on("$destroy", function() { + a.removeSlide(e); + }), + e.$watch("active", function(t) { + t && a.select(e); + }); + } + }; + }) + .animation(".item", [ + "$injector", + "$animate", + function(e, t) { + function n(e, t, n) { + e.removeClass(t), n && n(); + } + var a = "uib-noTransition", + o = "uib-slideDirection", + i = null; + return ( + e.has("$animateCss") && (i = e.get("$animateCss")), + { + beforeAddClass: function(e, r, s) { + if ("active" == r && e.parent() && !e.parent().data(a)) { + var l = !1, + c = e.data(o), + d = "next" == c ? "left" : "right", + u = n.bind(this, e, d + " " + c, s); + return ( + e.addClass(c), + i + ? i(e, { addClass: d }) + .start() + .done(u) + : t.addClass(e, d).then(function() { + l || u(), s(); + }), + function() { + l = !0; + } + ); + } + s(); + }, + beforeRemoveClass: function(e, r, s) { + if ("active" === r && e.parent() && !e.parent().data(a)) { + var l = !1, + c = "next" == e.data(o) ? "left" : "right", + d = n.bind(this, e, c, s); + return ( + i + ? i(e, { addClass: c }) + .start() + .done(d) + : t.addClass(e, c).then(function() { + l || d(), s(); + }), + function() { + l = !0; + } + ); + } + s(); + } + } + ); + } + ]), + angular.module("ui.bootstrap.dateparser", []).service("dateParser", [ + "$log", + "$locale", + "orderByFilter", + function(e, t, n) { + function a(e) { + var t = [], + a = e.split(""); + return ( + angular.forEach(i, function(n, o) { + var i = e.indexOf(o); + if (i > -1) { + (e = e.split("")), (a[i] = "(" + n.regex + ")"), (e[i] = "$"); + for (var r = i + 1, s = i + o.length; s > r; r++) (a[r] = ""), (e[r] = "$"); + (e = e.join("")), t.push({ index: i, apply: n.apply }); + } + }), + { regex: new RegExp("^" + a.join("") + "$"), map: n(t, "index") } + ); + } + var o = /[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g; + this.parsers = {}; + var i = { + yyyy: { + regex: "\\d{4}", + apply: function(e) { + this.year = +e; + } + }, + yy: { + regex: "\\d{2}", + apply: function(e) { + this.year = +e + 2e3; + } + }, + y: { + regex: "\\d{1,4}", + apply: function(e) { + this.year = +e; + } + }, + MMMM: { + regex: t.DATETIME_FORMATS.MONTH.join("|"), + apply: function(e) { + this.month = t.DATETIME_FORMATS.MONTH.indexOf(e); + } + }, + MMM: { + regex: t.DATETIME_FORMATS.SHORTMONTH.join("|"), + apply: function(e) { + this.month = t.DATETIME_FORMATS.SHORTMONTH.indexOf(e); + } + }, + MM: { + regex: "0[1-9]|1[0-2]", + apply: function(e) { + this.month = e - 1; + } + }, + M: { + regex: "[1-9]|1[0-2]", + apply: function(e) { + this.month = e - 1; + } + }, + dd: { + regex: "[0-2][0-9]{1}|3[0-1]{1}", + apply: function(e) { + this.date = +e; + } + }, + d: { + regex: "[1-2]?[0-9]{1}|3[0-1]{1}", + apply: function(e) { + this.date = +e; + } + }, + EEEE: { regex: t.DATETIME_FORMATS.DAY.join("|") }, + EEE: { regex: t.DATETIME_FORMATS.SHORTDAY.join("|") }, + HH: { + regex: "(?:0|1)[0-9]|2[0-3]", + apply: function(e) { + this.hours = +e; + } + }, + hh: { + regex: "0[0-9]|1[0-2]", + apply: function(e) { + this.hours = +e; + } + }, + H: { + regex: "1?[0-9]|2[0-3]", + apply: function(e) { + this.hours = +e; + } + }, + h: { + regex: "[0-9]|1[0-2]", + apply: function(e) { + this.hours = +e; + } + }, + mm: { + regex: "[0-5][0-9]", + apply: function(e) { + this.minutes = +e; + } + }, + m: { + regex: "[0-9]|[1-5][0-9]", + apply: function(e) { + this.minutes = +e; + } + }, + sss: { + regex: "[0-9][0-9][0-9]", + apply: function(e) { + this.milliseconds = +e; + } + }, + ss: { + regex: "[0-5][0-9]", + apply: function(e) { + this.seconds = +e; + } + }, + s: { + regex: "[0-9]|[1-5][0-9]", + apply: function(e) { + this.seconds = +e; + } + }, + a: { + regex: t.DATETIME_FORMATS.AMPMS.join("|"), + apply: function(e) { + 12 === this.hours && (this.hours = 0), "PM" === e && (this.hours += 12); + } + } + }; + this.parse = function(n, i, r) { + if (!angular.isString(n) || !i) return n; + (i = (i = t.DATETIME_FORMATS[i] || i).replace(o, "\\$&")), + this.parsers[i] || (this.parsers[i] = a(i)); + var s = this.parsers[i], + l = s.regex, + c = s.map, + d = n.match(l); + if (d && d.length) { + var u, p; + angular.isDate(r) && !isNaN(r.getTime()) + ? (u = { + year: r.getFullYear(), + month: r.getMonth(), + date: r.getDate(), + hours: r.getHours(), + minutes: r.getMinutes(), + seconds: r.getSeconds(), + milliseconds: r.getMilliseconds() + }) + : (r && e.warn("dateparser:", "baseDate is not a valid date"), + (u = { + year: 1900, + month: 0, + date: 1, + hours: 0, + minutes: 0, + seconds: 0, + milliseconds: 0 + })); + for (var h = 1, f = d.length; f > h; h++) { + var m = c[h - 1]; + m.apply && m.apply.call(u, d[h]); + } + return ( + (function(e, t, n) { + return ( + !(1 > n) && + (1 === t && n > 28 + ? 29 === n && ((e % 4 == 0 && e % 100 != 0) || e % 400 == 0) + : (3 !== t && 5 !== t && 8 !== t && 10 !== t) || 31 > n) + ); + })(u.year, u.month, u.date) && + (p = new Date( + u.year, + u.month, + u.date, + u.hours, + u.minutes, + u.seconds, + u.milliseconds || 0 + )), + p + ); + } + }; + } + ]), + angular.module("ui.bootstrap.position", []).factory("$position", [ + "$document", + "$window", + function(e, t) { + function n(e) { + return ( + "static" === + ((function(e, n) { + return e.currentStyle + ? e.currentStyle[n] + : t.getComputedStyle + ? t.getComputedStyle(e)[n] + : e.style[n]; + })(e, "position") || "static") + ); + } + var a = function(t) { + for (var a = e[0], o = t.offsetParent || a; o && o !== a && n(o); ) o = o.offsetParent; + return o || a; + }; + return { + position: function(t) { + var n = this.offset(t), + o = { top: 0, left: 0 }, + i = a(t[0]); + i != e[0] && + (((o = this.offset(angular.element(i))).top += i.clientTop - i.scrollTop), + (o.left += i.clientLeft - i.scrollLeft)); + var r = t[0].getBoundingClientRect(); + return { + width: r.width || t.prop("offsetWidth"), + height: r.height || t.prop("offsetHeight"), + top: n.top - o.top, + left: n.left - o.left + }; + }, + offset: function(n) { + var a = n[0].getBoundingClientRect(); + return { + width: a.width || n.prop("offsetWidth"), + height: a.height || n.prop("offsetHeight"), + top: a.top + (t.pageYOffset || e[0].documentElement.scrollTop), + left: a.left + (t.pageXOffset || e[0].documentElement.scrollLeft) + }; + }, + positionElements: function(e, t, n, a) { + var o, + i, + r, + s, + l = n.split("-"), + c = l[0], + d = l[1] || "center"; + (o = a ? this.offset(e) : this.position(e)), + (i = t.prop("offsetWidth")), + (r = t.prop("offsetHeight")); + var u = { + center: function() { + return o.left + o.width / 2 - i / 2; + }, + left: function() { + return o.left; + }, + right: function() { + return o.left + o.width; + } + }, + p = { + center: function() { + return o.top + o.height / 2 - r / 2; + }, + top: function() { + return o.top; + }, + bottom: function() { + return o.top + o.height; + } + }; + switch (c) { + case "right": + s = { top: p[d](), left: u[c]() }; + break; + case "left": + s = { top: p[d](), left: o.left - i }; + break; + case "bottom": + s = { top: p[c](), left: u[d]() }; + break; + default: + s = { top: o.top - r, left: u[d]() }; + } + return s; + } + }; + } + ]), + angular + .module("ui.bootstrap.datepicker", ["ui.bootstrap.dateparser", "ui.bootstrap.position"]) + .value("$datepickerSuppressError", !1) + .constant("datepickerConfig", { + formatDay: "dd", + formatMonth: "MMMM", + formatYear: "yyyy", + formatDayHeader: "EEE", + formatDayTitle: "MMMM yyyy", + formatMonthTitle: "yyyy", + datepickerMode: "day", + minMode: "day", + maxMode: "year", + showWeeks: !0, + startingDay: 0, + yearRange: 20, + minDate: null, + maxDate: null, + shortcutPropagation: !1 + }) + .controller("DatepickerController", [ + "$scope", + "$attrs", + "$parse", + "$interpolate", + "$log", + "dateFilter", + "datepickerConfig", + "$datepickerSuppressError", + function(e, t, n, a, o, i, r, s) { + var l = this, + c = { $setViewValue: angular.noop }; + (this.modes = ["day", "month", "year"]), + angular.forEach( + [ + "formatDay", + "formatMonth", + "formatYear", + "formatDayHeader", + "formatDayTitle", + "formatMonthTitle", + "showWeeks", + "startingDay", + "yearRange", + "shortcutPropagation" + ], + function(n, o) { + l[n] = angular.isDefined(t[n]) + ? 6 > o + ? a(t[n])(e.$parent) + : e.$parent.$eval(t[n]) + : r[n]; + } + ), + angular.forEach(["minDate", "maxDate"], function(a) { + t[a] + ? e.$parent.$watch(n(t[a]), function(e) { + (l[a] = e ? new Date(e) : null), l.refreshView(); + }) + : (l[a] = r[a] ? new Date(r[a]) : null); + }), + angular.forEach(["minMode", "maxMode"], function(a) { + t[a] + ? e.$parent.$watch(n(t[a]), function(n) { + (l[a] = angular.isDefined(n) ? n : t[a]), + (e[a] = l[a]), + (("minMode" == a && + l.modes.indexOf(e.datepickerMode) < l.modes.indexOf(l[a])) || + ("maxMode" == a && + l.modes.indexOf(e.datepickerMode) > l.modes.indexOf(l[a]))) && + (e.datepickerMode = l[a]); + }) + : ((l[a] = r[a] || null), (e[a] = l[a])); + }), + (e.datepickerMode = e.datepickerMode || r.datepickerMode), + (e.uniqueId = "datepicker-" + e.$id + "-" + Math.floor(1e4 * Math.random())), + angular.isDefined(t.initDate) + ? ((this.activeDate = e.$parent.$eval(t.initDate) || new Date()), + e.$parent.$watch(t.initDate, function(e) { + e && + (c.$isEmpty(c.$modelValue) || c.$invalid) && + ((l.activeDate = e), l.refreshView()); + })) + : (this.activeDate = new Date()), + (e.isActive = function(t) { + return 0 === l.compare(t.date, l.activeDate) && ((e.activeDateId = t.uid), !0); + }), + (this.init = function(e) { + (c = e).$render = function() { + l.render(); + }; + }), + (this.render = function() { + if (c.$viewValue) { + var e = new Date(c.$viewValue); + !isNaN(e) + ? (this.activeDate = e) + : s || + o.error( + 'Datepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.' + ); + } + this.refreshView(); + }), + (this.refreshView = function() { + if (this.element) { + this._refreshView(); + var e = c.$viewValue ? new Date(c.$viewValue) : null; + c.$setValidity("dateDisabled", !e || (this.element && !this.isDisabled(e))); + } + }), + (this.createDateObject = function(e, t) { + var n = c.$viewValue ? new Date(c.$viewValue) : null; + return { + date: e, + label: i(e, t), + selected: n && 0 === this.compare(e, n), + disabled: this.isDisabled(e), + current: 0 === this.compare(e, new Date()), + customClass: this.customClass(e) + }; + }), + (this.isDisabled = function(n) { + return ( + (this.minDate && this.compare(n, this.minDate) < 0) || + (this.maxDate && this.compare(n, this.maxDate) > 0) || + (t.dateDisabled && e.dateDisabled({ date: n, mode: e.datepickerMode })) + ); + }), + (this.customClass = function(t) { + return e.customClass({ date: t, mode: e.datepickerMode }); + }), + (this.split = function(e, t) { + for (var n = []; e.length > 0; ) n.push(e.splice(0, t)); + return n; + }), + (this.fixTimeZone = function(e) { + var t = e.getHours(); + e.setHours(23 === t ? t + 2 : 0); + }), + (e.select = function(t) { + if (e.datepickerMode === l.minMode) { + var n = c.$viewValue ? new Date(c.$viewValue) : new Date(0, 0, 0, 0, 0, 0, 0); + n.setFullYear(t.getFullYear(), t.getMonth(), t.getDate()), + c.$setViewValue(n), + c.$render(); + } else + (l.activeDate = t), + (e.datepickerMode = l.modes[l.modes.indexOf(e.datepickerMode) - 1]); + }), + (e.move = function(e) { + var t = l.activeDate.getFullYear() + e * (l.step.years || 0), + n = l.activeDate.getMonth() + e * (l.step.months || 0); + l.activeDate.setFullYear(t, n, 1), l.refreshView(); + }), + (e.toggleMode = function(t) { + (t = t || 1), + (e.datepickerMode === l.maxMode && 1 === t) || + (e.datepickerMode === l.minMode && -1 === t) || + (e.datepickerMode = l.modes[l.modes.indexOf(e.datepickerMode) + t]); + }), + (e.keys = { + 13: "enter", + 32: "space", + 33: "pageup", + 34: "pagedown", + 35: "end", + 36: "home", + 37: "left", + 38: "up", + 39: "right", + 40: "down" + }); + var d = function() { + l.element[0].focus(); + }; + e.$on("datepicker.focus", d), + (e.keydown = function(t) { + var n = e.keys[t.which]; + if (n && !t.shiftKey && !t.altKey) + if ( + (t.preventDefault(), + l.shortcutPropagation || t.stopPropagation(), + "enter" === n || "space" === n) + ) { + if (l.isDisabled(l.activeDate)) return; + e.select(l.activeDate), d(); + } else + !t.ctrlKey || ("up" !== n && "down" !== n) + ? (l.handleKeyDown(n, t), l.refreshView()) + : (e.toggleMode("up" === n ? 1 : -1), d()); + }); + } + ]) + .directive("datepicker", function() { + return { + restrict: "EA", + replace: !0, + templateUrl: function(e, t) { + return t.templateUrl || "template/datepicker/datepicker.html"; + }, + scope: { + datepickerMode: "=?", + dateDisabled: "&", + customClass: "&", + shortcutPropagation: "&?" + }, + require: ["datepicker", "^ngModel"], + controller: "DatepickerController", + controllerAs: "datepicker", + link: function(e, t, n, a) { + var o = a[0], + i = a[1]; + o.init(i); + } + }; + }) + .directive("daypicker", [ + "dateFilter", + function(e) { + return { + restrict: "EA", + replace: !0, + templateUrl: "template/datepicker/day.html", + require: "^datepicker", + link: function(t, n, a, o) { + function i(e, t) { + return 1 !== t || e % 4 != 0 || (e % 100 == 0 && e % 400 != 0) ? s[t] : 29; + } + function r(e) { + var t = new Date(e); + t.setDate(t.getDate() + 4 - (t.getDay() || 7)); + var n = t.getTime(); + return ( + t.setMonth(0), t.setDate(1), Math.floor(Math.round((n - t) / 864e5) / 7) + 1 + ); + } + (t.showWeeks = o.showWeeks), (o.step = { months: 1 }), (o.element = n); + var s = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; + (o._refreshView = function() { + var n = o.activeDate.getFullYear(), + a = o.activeDate.getMonth(), + i = new Date(n, a, 1), + s = o.startingDay - i.getDay(), + l = s > 0 ? 7 - s : -s, + c = new Date(i); + l > 0 && c.setDate(1 - l); + for ( + var d = (function(e, t) { + for (var n, a = new Array(t), i = new Date(e), r = 0; t > r; ) + (n = new Date(i)), + o.fixTimeZone(n), + (a[r++] = n), + i.setDate(i.getDate() + 1); + return a; + })(c, 42), + u = 0; + 42 > u; + u++ + ) + d[u] = angular.extend(o.createDateObject(d[u], o.formatDay), { + secondary: d[u].getMonth() !== a, + uid: t.uniqueId + "-" + u + }); + t.labels = new Array(7); + for (var p = 0; 7 > p; p++) + t.labels[p] = { + abbr: e(d[p].date, o.formatDayHeader), + full: e(d[p].date, "EEEE") + }; + if ( + ((t.title = e(o.activeDate, o.formatDayTitle)), + (t.rows = o.split(d, 7)), + t.showWeeks) + ) { + t.weekNumbers = []; + for (var h = (11 - o.startingDay) % 7, f = t.rows.length, m = 0; f > m; m++) + t.weekNumbers.push(r(t.rows[m][h].date)); + } + }), + (o.compare = function(e, t) { + return ( + new Date(e.getFullYear(), e.getMonth(), e.getDate()) - + new Date(t.getFullYear(), t.getMonth(), t.getDate()) + ); + }), + (o.handleKeyDown = function(e, t) { + var n = o.activeDate.getDate(); + if ("left" === e) n -= 1; + else if ("up" === e) n -= 7; + else if ("right" === e) n += 1; + else if ("down" === e) n += 7; + else if ("pageup" === e || "pagedown" === e) { + var a = o.activeDate.getMonth() + ("pageup" === e ? -1 : 1); + o.activeDate.setMonth(a, 1), + (n = Math.min(i(o.activeDate.getFullYear(), o.activeDate.getMonth()), n)); + } else + "home" === e + ? (n = 1) + : "end" === e && + (n = i(o.activeDate.getFullYear(), o.activeDate.getMonth())); + o.activeDate.setDate(n); + }), + o.refreshView(); + } + }; + } + ]) + .directive("monthpicker", [ + "dateFilter", + function(e) { + return { + restrict: "EA", + replace: !0, + templateUrl: "template/datepicker/month.html", + require: "^datepicker", + link: function(t, n, a, o) { + (o.step = { years: 1 }), + (o.element = n), + (o._refreshView = function() { + for ( + var n, a = new Array(12), i = o.activeDate.getFullYear(), r = 0; + 12 > r; + r++ + ) + (n = new Date(i, r, 1)), + o.fixTimeZone(n), + (a[r] = angular.extend(o.createDateObject(n, o.formatMonth), { + uid: t.uniqueId + "-" + r + })); + (t.title = e(o.activeDate, o.formatMonthTitle)), (t.rows = o.split(a, 3)); + }), + (o.compare = function(e, t) { + return ( + new Date(e.getFullYear(), e.getMonth()) - + new Date(t.getFullYear(), t.getMonth()) + ); + }), + (o.handleKeyDown = function(e, t) { + var n = o.activeDate.getMonth(); + if ("left" === e) n -= 1; + else if ("up" === e) n -= 3; + else if ("right" === e) n += 1; + else if ("down" === e) n += 3; + else if ("pageup" === e || "pagedown" === e) { + var a = o.activeDate.getFullYear() + ("pageup" === e ? -1 : 1); + o.activeDate.setFullYear(a); + } else "home" === e ? (n = 0) : "end" === e && (n = 11); + o.activeDate.setMonth(n); + }), + o.refreshView(); + } + }; + } + ]) + .directive("yearpicker", [ + "dateFilter", + function(e) { + return { + restrict: "EA", + replace: !0, + templateUrl: "template/datepicker/year.html", + require: "^datepicker", + link: function(e, t, n, a) { + function o(e) { + return parseInt((e - 1) / i, 10) * i + 1; + } + var i = a.yearRange; + (a.step = { years: i }), + (a.element = t), + (a._refreshView = function() { + for ( + var t, n = new Array(i), r = 0, s = o(a.activeDate.getFullYear()); + i > r; + r++ + ) + (t = new Date(s + r, 0, 1)), + a.fixTimeZone(t), + (n[r] = angular.extend(a.createDateObject(t, a.formatYear), { + uid: e.uniqueId + "-" + r + })); + (e.title = [n[0].label, n[i - 1].label].join(" - ")), (e.rows = a.split(n, 5)); + }), + (a.compare = function(e, t) { + return e.getFullYear() - t.getFullYear(); + }), + (a.handleKeyDown = function(e, t) { + var n = a.activeDate.getFullYear(); + "left" === e + ? (n -= 1) + : "up" === e + ? (n -= 5) + : "right" === e + ? (n += 1) + : "down" === e + ? (n += 5) + : "pageup" === e || "pagedown" === e + ? (n += ("pageup" === e ? -1 : 1) * a.step.years) + : "home" === e + ? (n = o(a.activeDate.getFullYear())) + : "end" === e && (n = o(a.activeDate.getFullYear()) + i - 1), + a.activeDate.setFullYear(n); + }), + a.refreshView(); + } + }; + } + ]) + .constant("datepickerPopupConfig", { + datepickerPopup: "yyyy-MM-dd", + datepickerPopupTemplateUrl: "template/datepicker/popup.html", + datepickerTemplateUrl: "template/datepicker/datepicker.html", + html5Types: { + date: "yyyy-MM-dd", + "datetime-local": "yyyy-MM-ddTHH:mm:ss.sss", + month: "yyyy-MM" + }, + currentText: "Today", + clearText: "Clear", + closeText: "Done", + closeOnDateSelection: !0, + appendToBody: !1, + showButtonBar: !0, + onOpenFocus: !0 + }) + .directive("datepickerPopup", [ + "$compile", + "$parse", + "$document", + "$rootScope", + "$position", + "dateFilter", + "dateParser", + "datepickerPopupConfig", + "$timeout", + function(e, t, n, a, o, i, r, s, l) { + return { + restrict: "EA", + require: "ngModel", + scope: { + isOpen: "=?", + currentText: "@", + clearText: "@", + closeText: "@", + dateDisabled: "&", + customClass: "&" + }, + link: function(c, d, u, p) { + function h(e) { + return e.replace(/([A-Z])/g, function(e) { + return "-" + e.toLowerCase(); + }); + } + var f, + m = angular.isDefined(u.closeOnDateSelection) + ? c.$parent.$eval(u.closeOnDateSelection) + : s.closeOnDateSelection, + g = angular.isDefined(u.datepickerAppendToBody) + ? c.$parent.$eval(u.datepickerAppendToBody) + : s.appendToBody, + v = angular.isDefined(u.onOpenFocus) + ? c.$parent.$eval(u.onOpenFocus) + : s.onOpenFocus, + b = angular.isDefined(u.datepickerPopupTemplateUrl) + ? u.datepickerPopupTemplateUrl + : s.datepickerPopupTemplateUrl, + w = angular.isDefined(u.datepickerTemplateUrl) + ? u.datepickerTemplateUrl + : s.datepickerTemplateUrl, + y = {}; + (c.showButtonBar = angular.isDefined(u.showButtonBar) + ? c.$parent.$eval(u.showButtonBar) + : s.showButtonBar), + (c.getText = function(e) { + return c[e + "Text"] || s[e + "Text"]; + }), + (c.isDisabled = function(e) { + return ( + "today" === e && (e = new Date()), + (c.watchData.minDate && c.compare(e, y.minDate) < 0) || + (c.watchData.maxDate && c.compare(e, y.maxDate) > 0) + ); + }), + (c.compare = function(e, t) { + return ( + new Date(e.getFullYear(), e.getMonth(), e.getDate()) - + new Date(t.getFullYear(), t.getMonth(), t.getDate()) + ); + }); + var k = !1; + if ( + (s.html5Types[u.type] + ? ((f = s.html5Types[u.type]), (k = !0)) + : ((f = u.datepickerPopup || s.datepickerPopup), + u.$observe("datepickerPopup", function(e, t) { + var n = e || s.datepickerPopup; + if (n !== f && ((f = n), (p.$modelValue = null), !f)) + throw new Error("datepickerPopup must have a date format specified."); + })), + !f) + ) + throw new Error("datepickerPopup must have a date format specified."); + if (k && u.datepickerPopup) + throw new Error("HTML5 date input types do not support custom formats."); + var S = angular.element("
"); + S.attr({ + "ng-model": "date", + "ng-change": "dateSelection(date)", + "template-url": b + }); + var T = angular.element(S.children()[0]); + if ( + (T.attr("template-url", w), + k && + "month" === u.type && + (T.attr("datepicker-mode", '"month"'), T.attr("min-mode", "month")), + u.datepickerOptions) + ) { + var C = c.$parent.$eval(u.datepickerOptions); + C && + C.initDate && + ((c.initDate = C.initDate), T.attr("init-date", "initDate"), delete C.initDate), + angular.forEach(C, function(e, t) { + T.attr(h(t), e); + }); + } + (c.watchData = {}), + angular.forEach( + [ + "minMode", + "maxMode", + "minDate", + "maxDate", + "datepickerMode", + "initDate", + "shortcutPropagation" + ], + function(e) { + if (u[e]) { + var n = t(u[e]); + if ( + (c.$parent.$watch(n, function(t) { + (c.watchData[e] = t), + ("minDate" === e || "maxDate" === e) && (y[e] = new Date(t)); + }), + T.attr(h(e), "watchData." + e), + "datepickerMode" === e) + ) { + var a = n.assign; + c.$watch("watchData." + e, function(e, t) { + angular.isFunction(a) && e !== t && a(c.$parent, e); + }); + } + } + } + ), + u.dateDisabled && + T.attr("date-disabled", "dateDisabled({ date: date, mode: mode })"), + u.showWeeks && T.attr("show-weeks", u.showWeeks), + u.customClass && + T.attr("custom-class", "customClass({ date: date, mode: mode })"), + k + ? p.$formatters.push(function(e) { + return (c.date = e), e; + }) + : ((p.$$parserName = "date"), + (p.$validators.date = function(e, t) { + var n = e || t; + if (!u.ngRequired && !n) return !0; + if ((angular.isNumber(n) && (n = new Date(n)), n)) { + if (angular.isDate(n) && !isNaN(n)) return !0; + if (angular.isString(n)) { + var a = r.parse(n, f); + return !isNaN(a); + } + return !1; + } + return !0; + }), + p.$parsers.unshift(function(e) { + if ((angular.isNumber(e) && (e = new Date(e)), !e)) return null; + if (angular.isDate(e) && !isNaN(e)) return e; + if (angular.isString(e)) { + var t = r.parse(e, f, c.date); + return isNaN(t) ? void 0 : t; + } + }), + p.$formatters.push(function(e) { + return (c.date = e), p.$isEmpty(e) ? e : i(e, f); + })), + (c.dateSelection = function(e) { + angular.isDefined(e) && (c.date = e); + var t = c.date ? i(c.date, f) : null; + d.val(t), p.$setViewValue(t), m && ((c.isOpen = !1), d[0].focus()); + }), + p.$viewChangeListeners.push(function() { + c.date = r.parse(p.$viewValue, f, c.date); + }); + var P = function(e) { + !c.isOpen || + d[0].contains(e.target) || + S[0].contains(e.target) || + c.$apply(function() { + c.isOpen = !1; + }); + }, + A = function(e) { + 27 === e.which && c.isOpen + ? (e.preventDefault(), + e.stopPropagation(), + c.$apply(function() { + c.isOpen = !1; + }), + d[0].focus()) + : 40 !== e.which || + c.isOpen || + (e.preventDefault(), + e.stopPropagation(), + c.$apply(function() { + c.isOpen = !0; + })); + }; + d.bind("keydown", A), + (c.keydown = function(e) { + 27 === e.which && ((c.isOpen = !1), d[0].focus()); + }), + c.$watch("isOpen", function(e) { + e + ? ((c.position = g ? o.offset(d) : o.position(d)), + (c.position.top = c.position.top + d.prop("offsetHeight")), + l( + function() { + v && c.$broadcast("datepicker.focus"), n.bind("click", P); + }, + 0, + !1 + )) + : n.unbind("click", P); + }), + (c.select = function(e) { + if ("today" === e) { + var t = new Date(); + angular.isDate(c.date) + ? (e = new Date(c.date)).setFullYear( + t.getFullYear(), + t.getMonth(), + t.getDate() + ) + : (e = new Date(t.setHours(0, 0, 0, 0))); + } + c.dateSelection(e); + }), + (c.close = function() { + (c.isOpen = !1), d[0].focus(); + }); + var x = e(S)(c); + S.remove(), + g ? n.find("body").append(x) : d.after(x), + c.$on("$destroy", function() { + !0 === c.isOpen && + (a.$$phase || + c.$apply(function() { + c.isOpen = !1; + })), + x.remove(), + d.unbind("keydown", A), + n.unbind("click", P); + }); + } + }; + } + ]) + .directive("datepickerPopupWrap", function() { + return { + restrict: "EA", + replace: !0, + transclude: !0, + templateUrl: function(e, t) { + return t.templateUrl || "template/datepicker/popup.html"; + } + }; + }), + angular + .module("ui.bootstrap.dropdown", ["ui.bootstrap.position"]) + .constant("dropdownConfig", { openClass: "open" }) + .service("dropdownService", [ + "$document", + "$rootScope", + function(e, t) { + var n = null; + (this.open = function(t) { + n || (e.bind("click", a), e.bind("keydown", o)), + n && n !== t && (n.isOpen = !1), + (n = t); + }), + (this.close = function(t) { + n === t && ((n = null), e.unbind("click", a), e.unbind("keydown", o)); + }); + var a = function(e) { + if (n && (!e || "disabled" !== n.getAutoClose())) { + var a = n.getToggleElement(); + if (!(e && a && a[0].contains(e.target))) { + var o = n.getDropdownElement(); + (e && "outsideClick" === n.getAutoClose() && o && o[0].contains(e.target)) || + ((n.isOpen = !1), t.$$phase || n.$apply()); + } + } + }, + o = function(e) { + 27 === e.which + ? (n.focusToggleElement(), a()) + : n.isKeynavEnabled() && + /(38|40)/.test(e.which) && + n.isOpen && + (e.preventDefault(), e.stopPropagation(), n.focusDropdownEntry(e.which)); + }; + } + ]) + .controller("DropdownController", [ + "$scope", + "$attrs", + "$parse", + "dropdownConfig", + "dropdownService", + "$animate", + "$position", + "$document", + "$compile", + "$templateRequest", + function(e, t, n, a, o, i, r, s, l, c) { + var d, + u, + p = this, + h = e.$new(), + f = a.openClass, + m = angular.noop, + g = t.onToggle ? n(t.onToggle) : angular.noop, + v = !1, + b = !1, + w = s.find("body"); + (this.init = function(a) { + (p.$element = a), + t.isOpen && + ((u = n(t.isOpen)), + (m = u.assign), + e.$watch(u, function(e) { + h.isOpen = !!e; + })), + (v = angular.isDefined(t.dropdownAppendToBody)), + (b = angular.isDefined(t.keyboardNav)), + v && + p.dropdownMenu && + (w.append(p.dropdownMenu), + w.addClass("dropdown"), + a.on("$destroy", function() { + p.dropdownMenu.remove(); + })); + }), + (this.toggle = function(e) { + return (h.isOpen = arguments.length ? !!e : !h.isOpen); + }), + (this.isOpen = function() { + return h.isOpen; + }), + (h.getToggleElement = function() { + return p.toggleElement; + }), + (h.getAutoClose = function() { + return t.autoClose || "always"; + }), + (h.getElement = function() { + return p.$element; + }), + (h.isKeynavEnabled = function() { + return b; + }), + (h.focusDropdownEntry = function(e) { + var t = p.dropdownMenu + ? angular.element(p.dropdownMenu).find("a") + : angular + .element(p.$element) + .find("ul") + .eq(0) + .find("a"); + switch (e) { + case 40: + angular.isNumber(p.selectedOption) + ? (p.selectedOption = + p.selectedOption === t.length - 1 + ? p.selectedOption + : p.selectedOption + 1) + : (p.selectedOption = 0); + break; + case 38: + angular.isNumber(p.selectedOption) + ? (p.selectedOption = 0 === p.selectedOption ? 0 : p.selectedOption - 1) + : (p.selectedOption = t.length - 1); + } + t[p.selectedOption].focus(); + }), + (h.getDropdownElement = function() { + return p.dropdownMenu; + }), + (h.focusToggleElement = function() { + p.toggleElement && p.toggleElement[0].focus(); + }), + h.$watch("isOpen", function(t, n) { + if (v && p.dropdownMenu) { + var a = r.positionElements(p.$element, p.dropdownMenu, "bottom-left", !0), + s = { top: a.top + "px", display: t ? "block" : "none" }; + p.dropdownMenu.hasClass("dropdown-menu-right") + ? ((s.left = "auto"), + (s.right = + window.innerWidth - (a.left + p.$element.prop("offsetWidth")) + "px")) + : ((s.left = a.left + "px"), (s.right = "auto")), + p.dropdownMenu.css(s); + } + var u = v ? w : p.$element; + if ( + (i[t ? "addClass" : "removeClass"](u, f).then(function() { + angular.isDefined(t) && t !== n && g(e, { open: !!t }); + }), + t) + ) + p.dropdownMenuTemplateUrl && + c(p.dropdownMenuTemplateUrl).then(function(e) { + (d = h.$new()), + l(e.trim())(d, function(e) { + var t = e; + p.dropdownMenu.replaceWith(t), (p.dropdownMenu = t); + }); + }), + h.focusToggleElement(), + o.open(h); + else { + if (p.dropdownMenuTemplateUrl) { + d && d.$destroy(); + var b = angular.element(''); + p.dropdownMenu.replaceWith(b), (p.dropdownMenu = b); + } + o.close(h), (p.selectedOption = null); + } + angular.isFunction(m) && m(e, t); + }), + e.$on("$locationChangeSuccess", function() { + "disabled" !== h.getAutoClose() && (h.isOpen = !1); + }); + var y = e.$on("$destroy", function() { + h.$destroy(); + }); + h.$on("$destroy", y); + } + ]) + .directive("dropdown", function() { + return { + controller: "DropdownController", + link: function(e, t, n, a) { + a.init(t), t.addClass("dropdown"); + } + }; + }) + .directive("dropdownMenu", function() { + return { + restrict: "AC", + require: "?^dropdown", + link: function(e, t, n, a) { + if (a) { + var o = n.templateUrl; + o && (a.dropdownMenuTemplateUrl = o), a.dropdownMenu || (a.dropdownMenu = t); + } + } + }; + }) + .directive("keyboardNav", function() { + return { + restrict: "A", + require: "?^dropdown", + link: function(e, t, n, a) { + t.bind("keydown", function(e) { + if (-1 !== [38, 40].indexOf(e.which)) { + e.preventDefault(), e.stopPropagation(); + var t = a.dropdownMenu.find("a"); + switch (e.which) { + case 40: + angular.isNumber(a.selectedOption) + ? (a.selectedOption = + a.selectedOption === t.length - 1 + ? a.selectedOption + : a.selectedOption + 1) + : (a.selectedOption = 0); + break; + case 38: + angular.isNumber(a.selectedOption) + ? (a.selectedOption = 0 === a.selectedOption ? 0 : a.selectedOption - 1) + : (a.selectedOption = t.length - 1); + } + t[a.selectedOption].focus(); + } + }); + } + }; + }) + .directive("dropdownToggle", function() { + return { + require: "?^dropdown", + link: function(e, t, n, a) { + if (a) { + t.addClass("dropdown-toggle"), (a.toggleElement = t); + var o = function(o) { + o.preventDefault(), + t.hasClass("disabled") || + n.disabled || + e.$apply(function() { + a.toggle(); + }); + }; + t.bind("click", o), + t.attr({ "aria-haspopup": !0, "aria-expanded": !1 }), + e.$watch(a.isOpen, function(e) { + t.attr("aria-expanded", !!e); + }), + e.$on("$destroy", function() { + t.unbind("click", o); + }); + } + } + }; + }), + angular + .module("ui.bootstrap.modal", []) + .factory("$$stackedMap", function() { + return { + createNew: function() { + var e = []; + return { + add: function(t, n) { + e.push({ key: t, value: n }); + }, + get: function(t) { + for (var n = 0; n < e.length; n++) if (t == e[n].key) return e[n]; + }, + keys: function() { + for (var t = [], n = 0; n < e.length; n++) t.push(e[n].key); + return t; + }, + top: function() { + return e[e.length - 1]; + }, + remove: function(t) { + for (var n = -1, a = 0; a < e.length; a++) + if (t == e[a].key) { + n = a; + break; + } + return e.splice(n, 1)[0]; + }, + removeTop: function() { + return e.splice(e.length - 1, 1)[0]; + }, + length: function() { + return e.length; + } + }; + } + }; + }) + .factory("$$multiMap", function() { + return { + createNew: function() { + var e = {}; + return { + entries: function() { + return Object.keys(e).map(function(t) { + return { key: t, value: e[t] }; + }); + }, + get: function(t) { + return e[t]; + }, + hasKey: function(t) { + return !!e[t]; + }, + keys: function() { + return Object.keys(e); + }, + put: function(t, n) { + e[t] || (e[t] = []), e[t].push(n); + }, + remove: function(t, n) { + var a = e[t]; + if (a) { + var o = a.indexOf(n); + -1 !== o && a.splice(o, 1), a.length || delete e[t]; + } + } + }; + } + }; + }) + .directive("modalBackdrop", [ + "$animate", + "$injector", + "$modalStack", + function(e, t, n) { + function a(t, a, i) { + i.modalInClass && + (o ? o(a, { addClass: i.modalInClass }).start() : e.addClass(a, i.modalInClass), + t.$on(n.NOW_CLOSING_EVENT, function(t, n) { + var r = n(); + o + ? o(a, { removeClass: i.modalInClass }) + .start() + .then(r) + : e.removeClass(a, i.modalInClass).then(r); + })); + } + var o = null; + return ( + t.has("$animateCss") && (o = t.get("$animateCss")), + { + restrict: "EA", + replace: !0, + templateUrl: "template/modal/backdrop.html", + compile: function(e, t) { + return e.addClass(t.backdropClass), a; + } + } + ); + } + ]) + .directive("modalWindow", [ + "$modalStack", + "$q", + "$animate", + "$injector", + function(e, t, n, a) { + var o = null; + return ( + a.has("$animateCss") && (o = a.get("$animateCss")), + { + restrict: "EA", + scope: { index: "@" }, + replace: !0, + transclude: !0, + templateUrl: function(e, t) { + return t.templateUrl || "template/modal/window.html"; + }, + link: function(a, i, r) { + i.addClass(r.windowClass || ""), + (a.size = r.size), + (a.close = function(t) { + var n = e.getTop(); + n && + n.value.backdrop && + "static" !== n.value.backdrop && + t.target === t.currentTarget && + (t.preventDefault(), + t.stopPropagation(), + e.dismiss(n.key, "backdrop click")); + }), + (a.$isRendered = !0); + var s = t.defer(); + r.$observe("modalRender", function(e) { + "true" == e && s.resolve(); + }), + s.promise.then(function() { + var s = null; + r.modalInClass && + ((s = o + ? o(i, { addClass: r.modalInClass }).start() + : n.addClass(i, r.modalInClass)), + a.$on(e.NOW_CLOSING_EVENT, function(e, t) { + var a = t(); + o + ? o(i, { removeClass: r.modalInClass }) + .start() + .then(a) + : n.removeClass(i, r.modalInClass).then(a); + })), + t.when(s).then(function() { + var e = i[0].querySelectorAll("[autofocus]"); + e.length ? e[0].focus() : i[0].focus(); + }); + var l = e.getTop(); + l && e.modalRendered(l.key); + }); + } + } + ); + } + ]) + .directive("modalAnimationClass", [ + function() { + return { + compile: function(e, t) { + t.modalAnimation && e.addClass(t.modalAnimationClass); + } + }; + } + ]) + .directive("modalTransclude", function() { + return { + link: function(e, t, n, a, o) { + o(e.$parent, function(e) { + t.empty(), t.append(e); + }); + } + }; + }) + .factory("$modalStack", [ + "$animate", + "$timeout", + "$document", + "$compile", + "$rootScope", + "$q", + "$injector", + "$$multiMap", + "$$stackedMap", + function(e, t, n, a, o, i, r, s, l) { + function c() { + for (var e = -1, t = b.keys(), n = 0; n < t.length; n++) + b.get(t[n]).value.backdrop && (e = n); + return e; + } + function d(e, t) { + var a = n.find("body").eq(0), + o = b.get(e).value; + b.remove(e), + u(o.modalDomEl, o.modalScope, function() { + var t = o.openedClass || v; + w.remove(t, e), a.toggleClass(t, w.hasKey(t)); + }), + (function() { + if (f && -1 == c()) { + u(f, m, function() { + null; + }), + (f = void 0), + (m = void 0); + } + })(), + t && t.focus ? t.focus() : a.focus(); + } + function u(t, n, a) { + var o, + r = null; + return ( + n.$broadcast(y.NOW_CLOSING_EVENT, function() { + return ( + o || ((o = i.defer()), (r = o.promise)), + function() { + o.resolve(); + } + ); + }), + i.when(r).then(function o() { + o.done || + ((o.done = !0), + h + ? h(t, { event: "leave" }) + .start() + .then(function() { + t.remove(); + }) + : e.leave(t), + n.$destroy(), + a && a()); + }) + ); + } + function p(e, t, n) { + return !e.value.modalScope.$broadcast("modal.closing", t, n).defaultPrevented; + } + var h = null; + r.has("$animateCss") && (h = r.get("$animateCss")); + var f, + m, + g, + v = "modal-open", + b = l.createNew(), + w = s.createNew(), + y = { NOW_CLOSING_EVENT: "modal.stack.now-closing" }; + return ( + o.$watch(c, function(e) { + m && (m.index = e); + }), + n.bind("keydown", function(e) { + if (e.isDefaultPrevented()) return e; + var t = b.top(); + if (t && t.value.keyboard) + switch (e.which) { + case 27: + e.preventDefault(), + o.$apply(function() { + y.dismiss(t.key, "escape key press"); + }); + break; + case 9: + y.loadFocusElementList(t); + var n = !1; + e.shiftKey + ? y.isFocusInFirstItem(e) && (n = y.focusLastFocusableElement()) + : y.isFocusInLastItem(e) && (n = y.focusFirstFocusableElement()), + n && (e.preventDefault(), e.stopPropagation()); + } + }), + (y.open = function(e, t) { + var i = n[0].activeElement, + r = t.openedClass || v; + b.add(e, { + deferred: t.deferred, + renderDeferred: t.renderDeferred, + modalScope: t.scope, + backdrop: t.backdrop, + keyboard: t.keyboard, + openedClass: t.openedClass + }), + w.put(r, e); + var s = n.find("body").eq(0), + l = c(); + if (l >= 0 && !f) { + (m = o.$new(!0)).index = l; + var d = angular.element('
'); + d.attr("backdrop-class", t.backdropClass), + t.animation && d.attr("modal-animation", "true"), + (f = a(d)(m)), + s.append(f); + } + var u = angular.element('
'); + u + .attr({ + "template-url": t.windowTemplateUrl, + "window-class": t.windowClass, + size: t.size, + index: b.length() - 1, + animate: "animate" + }) + .html(t.content), + t.animation && u.attr("modal-animation", "true"); + var p = a(u)(t.scope); + (b.top().value.modalDomEl = p), + (b.top().value.modalOpener = i), + s.append(p), + s.addClass(r), + y.clearFocusListCache(); + }), + (y.close = function(e, t) { + var n = b.get(e); + return n && p(n, t, !0) + ? ((n.value.modalScope.$$uibDestructionScheduled = !0), + n.value.deferred.resolve(t), + d(e, n.value.modalOpener), + !0) + : !n; + }), + (y.dismiss = function(e, t) { + var n = b.get(e); + return n && p(n, t, !1) + ? ((n.value.modalScope.$$uibDestructionScheduled = !0), + n.value.deferred.reject(t), + d(e, n.value.modalOpener), + !0) + : !n; + }), + (y.dismissAll = function(e) { + for (var t = this.getTop(); t && this.dismiss(t.key, e); ) t = this.getTop(); + }), + (y.getTop = function() { + return b.top(); + }), + (y.modalRendered = function(e) { + var t = b.get(e); + t && t.value.renderDeferred.resolve(); + }), + (y.focusFirstFocusableElement = function() { + return g.length > 0 && (g[0].focus(), !0); + }), + (y.focusLastFocusableElement = function() { + return g.length > 0 && (g[g.length - 1].focus(), !0); + }), + (y.isFocusInFirstItem = function(e) { + return g.length > 0 && (e.target || e.srcElement) == g[0]; + }), + (y.isFocusInLastItem = function(e) { + return g.length > 0 && (e.target || e.srcElement) == g[g.length - 1]; + }), + (y.clearFocusListCache = function() { + (g = []), 0; + }), + (y.loadFocusElementList = function(e) { + if ((void 0 === g || !g.length0) && e) { + var t = e.value.modalDomEl; + t && + t.length && + (g = t[0].querySelectorAll( + "a[href], area[href], input:not([disabled]), button:not([disabled]),select:not([disabled]), textarea:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable=true]" + )); + } + }), + y + ); + } + ]) + .provider("$modal", function() { + var e = { + options: { animation: !0, backdrop: !0, keyboard: !0 }, + $get: [ + "$injector", + "$rootScope", + "$q", + "$templateRequest", + "$controller", + "$modalStack", + function(t, n, a, o, i, r) { + function s(e) { + return e.template + ? a.when(e.template) + : o(angular.isFunction(e.templateUrl) ? e.templateUrl() : e.templateUrl); + } + function l(e) { + var n = []; + return ( + angular.forEach(e, function(e) { + angular.isFunction(e) || angular.isArray(e) + ? n.push(a.when(t.invoke(e))) + : angular.isString(e) + ? n.push(a.when(t.get(e))) + : n.push(a.when(e)); + }), + n + ); + } + var c = {}, + d = null; + return ( + (c.getPromiseChain = function() { + return d; + }), + (c.open = function(t) { + var o = a.defer(), + c = a.defer(), + u = a.defer(), + p = { + result: o.promise, + opened: c.promise, + rendered: u.promise, + close: function(e) { + return r.close(p, e); + }, + dismiss: function(e) { + return r.dismiss(p, e); + } + }; + if ( + (((t = angular.extend({}, e.options, t)).resolve = t.resolve || {}), + !t.template && !t.templateUrl) + ) + throw new Error("One of template or templateUrl options is required."); + var h, + f = a.all([s(t)].concat(l(t.resolve))); + return ( + (h = d = a + .all([d]) + .then( + function() { + return f; + }, + function() { + return f; + } + ) + .then( + function(e) { + var a = (t.scope || n).$new(); + (a.$close = p.close), + (a.$dismiss = p.dismiss), + a.$on("$destroy", function() { + a.$$uibDestructionScheduled || + a.$dismiss("$uibUnscheduledDestruction"); + }); + var s, + l = {}, + d = 1; + t.controller && + ((l.$scope = a), + (l.$modalInstance = p), + angular.forEach(t.resolve, function(t, n) { + l[n] = e[d++]; + }), + (s = i(t.controller, l)), + t.controllerAs && + (t.bindToController && angular.extend(s, a), + (a[t.controllerAs] = s))), + r.open(p, { + scope: a, + deferred: o, + renderDeferred: u, + content: e[0], + animation: t.animation, + backdrop: t.backdrop, + keyboard: t.keyboard, + backdropClass: t.backdropClass, + windowClass: t.windowClass, + windowTemplateUrl: t.windowTemplateUrl, + size: t.size, + openedClass: t.openedClass + }), + c.resolve(!0); + }, + function(e) { + c.reject(e), o.reject(e); + } + ) + .finally(function() { + d === h && (d = null); + })), + p + ); + }), + c + ); + } + ] + }; + return e; + }), + angular + .module("ui.bootstrap.pagination", []) + .controller("PaginationController", [ + "$scope", + "$attrs", + "$parse", + function(e, t, n) { + var a = this, + o = { $setViewValue: angular.noop }, + i = t.numPages ? n(t.numPages).assign : angular.noop; + (this.init = function(r, s) { + (o = r), + (this.config = s), + (o.$render = function() { + a.render(); + }), + t.itemsPerPage + ? e.$parent.$watch(n(t.itemsPerPage), function(t) { + (a.itemsPerPage = parseInt(t, 10)), (e.totalPages = a.calculateTotalPages()); + }) + : (this.itemsPerPage = s.itemsPerPage), + e.$watch("totalItems", function() { + e.totalPages = a.calculateTotalPages(); + }), + e.$watch("totalPages", function(t) { + i(e.$parent, t), e.page > t ? e.selectPage(t) : o.$render(); + }); + }), + (this.calculateTotalPages = function() { + var t = this.itemsPerPage < 1 ? 1 : Math.ceil(e.totalItems / this.itemsPerPage); + return Math.max(t || 0, 1); + }), + (this.render = function() { + e.page = parseInt(o.$viewValue, 10) || 1; + }), + (e.selectPage = function(t, n) { + n && n.preventDefault(), + (!e.ngDisabled || !n) && + e.page !== t && + t > 0 && + t <= e.totalPages && + (n && n.target && n.target.blur(), o.$setViewValue(t), o.$render()); + }), + (e.getText = function(t) { + return e[t + "Text"] || a.config[t + "Text"]; + }), + (e.noPrevious = function() { + return 1 === e.page; + }), + (e.noNext = function() { + return e.page === e.totalPages; + }); + } + ]) + .constant("paginationConfig", { + itemsPerPage: 10, + boundaryLinks: !1, + directionLinks: !0, + firstText: "First", + previousText: "Previous", + nextText: "Next", + lastText: "Last", + rotate: !0 + }) + .directive("pagination", [ + "$parse", + "paginationConfig", + function(e, t) { + return { + restrict: "EA", + scope: { + totalItems: "=", + firstText: "@", + previousText: "@", + nextText: "@", + lastText: "@", + ngDisabled: "=" + }, + require: ["pagination", "?ngModel"], + controller: "PaginationController", + controllerAs: "pagination", + templateUrl: function(e, t) { + return t.templateUrl || "template/pagination/pagination.html"; + }, + replace: !0, + link: function(n, a, o, i) { + function r(e, t, n) { + return { number: e, text: t, active: n }; + } + var s = i[0], + l = i[1]; + if (l) { + var c = angular.isDefined(o.maxSize) ? n.$parent.$eval(o.maxSize) : t.maxSize, + d = angular.isDefined(o.rotate) ? n.$parent.$eval(o.rotate) : t.rotate; + (n.boundaryLinks = angular.isDefined(o.boundaryLinks) + ? n.$parent.$eval(o.boundaryLinks) + : t.boundaryLinks), + (n.directionLinks = angular.isDefined(o.directionLinks) + ? n.$parent.$eval(o.directionLinks) + : t.directionLinks), + s.init(l, t), + o.maxSize && + n.$parent.$watch(e(o.maxSize), function(e) { + (c = parseInt(e, 10)), s.render(); + }); + var u = s.render; + s.render = function() { + u(), + n.page > 0 && + n.page <= n.totalPages && + (n.pages = (function(e, t) { + var n = [], + a = 1, + o = t, + i = angular.isDefined(c) && t > c; + i && + (d + ? (o = (a = Math.max(e - Math.floor(c / 2), 1)) + c - 1) > t && + (a = (o = t) - c + 1) + : ((a = (Math.ceil(e / c) - 1) * c + 1), + (o = Math.min(a + c - 1, t)))); + for (var s = a; o >= s; s++) { + var l = r(s, s, s === e); + n.push(l); + } + if (i && !d) { + if (a > 1) { + var u = r(a - 1, "...", !1); + n.unshift(u); + } + if (t > o) { + var p = r(o + 1, "...", !1); + n.push(p); + } + } + return n; + })(n.page, n.totalPages)); + }; + } + } + }; + } + ]) + .constant("pagerConfig", { + itemsPerPage: 10, + previousText: "« Previous", + nextText: "Next »", + align: !0 + }) + .directive("pager", [ + "pagerConfig", + function(e) { + return { + restrict: "EA", + scope: { totalItems: "=", previousText: "@", nextText: "@", ngDisabled: "=" }, + require: ["pager", "?ngModel"], + controller: "PaginationController", + controllerAs: "pagination", + templateUrl: function(e, t) { + return t.templateUrl || "template/pagination/pager.html"; + }, + replace: !0, + link: function(t, n, a, o) { + var i = o[0], + r = o[1]; + r && + ((t.align = angular.isDefined(a.align) ? t.$parent.$eval(a.align) : e.align), + i.init(r, e)); + } + }; + } + ]), + angular + .module("ui.bootstrap.tooltip", ["ui.bootstrap.position", "ui.bootstrap.bindHtml"]) + .provider("$tooltip", function() { + var e = { placement: "top", animation: !0, popupDelay: 0, useContentExp: !1 }, + t = { mouseenter: "mouseleave", click: "click", focus: "blur", none: "" }, + n = {}; + (this.options = function(e) { + angular.extend(n, e); + }), + (this.setTriggers = function(e) { + angular.extend(t, e); + }), + (this.$get = [ + "$window", + "$compile", + "$timeout", + "$document", + "$position", + "$interpolate", + "$rootScope", + "$parse", + function(a, o, i, r, s, l, c, d) { + return function(a, u, p, h) { + function f(e) { + var n = (e || h.trigger || p).split(" "); + return { + show: n, + hide: n.map(function(e) { + return t[e] || e; + }) + }; + } + h = angular.extend({}, e, n, h); + var m = (function(e) { + return e.replace(/[A-Z]/g, function(e, t) { + return (t ? "-" : "") + e.toLowerCase(); + }); + })(a), + g = l.startSymbol(), + v = l.endSymbol(), + b = + "
'; + return { + restrict: "EA", + compile: function(e, t) { + var n = o(b); + return function(e, t, o, l) { + function p() { + D.isOpen ? g() : m(); + } + function m() { + (!R || e.$eval(o[u + "Enable"])) && + ((D.popupClass = o[u + "Class"]), + y(), + (function() { + var e = o[u + "PopupDelay"], + t = parseInt(e, 10); + D.popupDelay = isNaN(t) ? h.popupDelay : t; + })(), + D.popupDelay ? C || (C = i(v, D.popupDelay, !1)) : v()); + } + function g() { + b(), c.$$phase || c.$digest(); + } + function v() { + return ( + (C = null), + T && (i.cancel(T), (T = null)), + (h.useContentExp + ? D.contentExp() + : D.content) + ? (k && w(), + (S = D.$new()), + (k = n(S, function(e) { + A ? r.find("body").append(e) : t.after(e); + })), + h.useContentExp && + (S.$watch("contentExp()", function(e) { + !e && D.isOpen && b(); + }), + S.$watch(function() { + $ || + (($ = !0), + S.$$postDigest(function() { + ($ = !1), D.isOpen && I(); + })); + })), + (D.isOpen = !0), + M && M.assign(D.origScope, D.isOpen), + c.$$phase || D.$apply(), + k.css({ display: "block" }), + void I()) + : angular.noop + ); + } + function b() { + (D.isOpen = !1), + M && M.assign(D.origScope, D.isOpen), + i.cancel(C), + (C = null), + i.cancel(P), + (P = null), + D.animation ? T || (T = i(w, 500)) : w(); + } + function w() { + (T = null), + k && (k.remove(), (k = null)), + S && (S.$destroy(), (S = null)); + } + function y() { + var e = o[u + "Placement"]; + D.placement = angular.isDefined(e) ? e : h.placement; + } + var k, + S, + T, + C, + P, + A = !!angular.isDefined(h.appendToBody) && h.appendToBody, + x = f(void 0), + R = angular.isDefined(o[u + "Enable"]), + D = e.$new(!0), + $ = !1, + M = !!angular.isDefined(o[u + "IsOpen"]) && d(o[u + "IsOpen"]), + I = function() { + k && + (P || + (P = i( + function() { + k.css({ top: 0, left: 0, width: "auto", height: "auto" }); + var e = s.position(k), + n = s.positionElements(t, k, D.placement, A); + (n.top += "px"), + (n.left += "px"), + (n.width = e.width + "px"), + (n.height = e.height + "px"), + k.css(n), + (P = null); + }, + 0, + !1 + ))); + }; + (D.origScope = e), + (D.isOpen = !1), + (D.contentExp = function() { + return e.$eval(o[a]); + }), + h.useContentExp || + o.$observe(a, function(e) { + (D.content = e), !e && D.isOpen ? b() : I(); + }), + o.$observe("disabled", function(e) { + C && e && (i.cancel(C), (C = null)), e && D.isOpen && b(); + }), + o.$observe(u + "Title", function(e) { + (D.title = e), I(); + }), + o.$observe(u + "Placement", function() { + D.isOpen && (y(), I()); + }), + M && + e.$watch(M, function(e) { + e !== D.isOpen && p(); + }); + var E = function() { + x.show.forEach(function(e) { + t.unbind(e, m); + }), + x.hide.forEach(function(e) { + t.unbind(e, g); + }); + }; + !(function() { + var e = o[u + "Trigger"]; + E(), + "none" !== (x = f(e)).show && + x.show.forEach(function(e, n) { + e === x.hide[n] + ? t[0].addEventListener(e, p) + : e && + (t[0].addEventListener(e, m), + t[0].addEventListener(x.hide[n], g)); + }); + })(); + var z = e.$eval(o[u + "Animation"]); + D.animation = angular.isDefined(z) ? !!z : h.animation; + var U = e.$eval(o[u + "AppendToBody"]); + (A = angular.isDefined(U) ? U : A) && + e.$on("$locationChangeSuccess", function() { + D.isOpen && b(); + }), + e.$on("$destroy", function() { + i.cancel(T), i.cancel(C), i.cancel(P), E(), w(), (D = null); + }); + }; + } + }; + }; + } + ]); + }) + .directive("tooltipTemplateTransclude", [ + "$animate", + "$sce", + "$compile", + "$templateRequest", + function(e, t, n, a) { + return { + link: function(o, i, r) { + var s, + l, + c, + d = o.$eval(r.tooltipTemplateTranscludeScope), + u = 0, + p = function() { + l && (l.remove(), (l = null)), + s && (s.$destroy(), (s = null)), + c && + (e.leave(c).then(function() { + l = null; + }), + (l = c), + (c = null)); + }; + o.$watch(t.parseAsResourceUrl(r.tooltipTemplateTransclude), function(t) { + var r = ++u; + t + ? (a(t, !0).then( + function(a) { + if (r === u) { + var o = d.$new(), + l = n(a)(o, function(t) { + p(), e.enter(t, i); + }); + (c = l), (s = o).$emit("$includeContentLoaded", t); + } + }, + function() { + r === u && (p(), o.$emit("$includeContentError", t)); + } + ), + o.$emit("$includeContentRequested", t)) + : p(); + }), + o.$on("$destroy", p); + } + }; + } + ]) + .directive("tooltipClasses", function() { + return { + restrict: "A", + link: function(e, t, n) { + e.placement && t.addClass(e.placement), + e.popupClass && t.addClass(e.popupClass), + e.animation() && t.addClass(n.tooltipAnimationClass); + } + }; + }) + .directive("tooltipPopup", function() { + return { + restrict: "EA", + replace: !0, + scope: { content: "@", placement: "@", popupClass: "@", animation: "&", isOpen: "&" }, + templateUrl: "template/tooltip/tooltip-popup.html" + }; + }) + .directive("tooltip", [ + "$tooltip", + function(e) { + return e("tooltip", "tooltip", "mouseenter"); + } + ]) + .directive("tooltipTemplatePopup", function() { + return { + restrict: "EA", + replace: !0, + scope: { + contentExp: "&", + placement: "@", + popupClass: "@", + animation: "&", + isOpen: "&", + originScope: "&" + }, + templateUrl: "template/tooltip/tooltip-template-popup.html" + }; + }) + .directive("tooltipTemplate", [ + "$tooltip", + function(e) { + return e("tooltipTemplate", "tooltip", "mouseenter", { useContentExp: !0 }); + } + ]) + .directive("tooltipHtmlPopup", function() { + return { + restrict: "EA", + replace: !0, + scope: { + contentExp: "&", + placement: "@", + popupClass: "@", + animation: "&", + isOpen: "&" + }, + templateUrl: "template/tooltip/tooltip-html-popup.html" + }; + }) + .directive("tooltipHtml", [ + "$tooltip", + function(e) { + return e("tooltipHtml", "tooltip", "mouseenter", { useContentExp: !0 }); + } + ]) + .directive("tooltipHtmlUnsafePopup", function() { + return { + restrict: "EA", + replace: !0, + scope: { content: "@", placement: "@", popupClass: "@", animation: "&", isOpen: "&" }, + templateUrl: "template/tooltip/tooltip-html-unsafe-popup.html" + }; + }) + .value("tooltipHtmlUnsafeSuppressDeprecated", !1) + .directive("tooltipHtmlUnsafe", [ + "$tooltip", + "tooltipHtmlUnsafeSuppressDeprecated", + "$log", + function(e, t, n) { + return ( + t || + n.warn( + "tooltip-html-unsafe is now deprecated. Use tooltip-html or tooltip-template instead." + ), + e("tooltipHtmlUnsafe", "tooltip", "mouseenter") + ); + } + ]), + angular + .module("ui.bootstrap.popover", ["ui.bootstrap.tooltip"]) + .directive("popoverTemplatePopup", function() { + return { + restrict: "EA", + replace: !0, + scope: { + title: "@", + contentExp: "&", + placement: "@", + popupClass: "@", + animation: "&", + isOpen: "&", + originScope: "&" + }, + templateUrl: "template/popover/popover-template.html" + }; + }) + .directive("popoverTemplate", [ + "$tooltip", + function(e) { + return e("popoverTemplate", "popover", "click", { useContentExp: !0 }); + } + ]) + .directive("popoverHtmlPopup", function() { + return { + restrict: "EA", + replace: !0, + scope: { + contentExp: "&", + title: "@", + placement: "@", + popupClass: "@", + animation: "&", + isOpen: "&" + }, + templateUrl: "template/popover/popover-html.html" + }; + }) + .directive("popoverHtml", [ + "$tooltip", + function(e) { + return e("popoverHtml", "popover", "click", { useContentExp: !0 }); + } + ]) + .directive("popoverPopup", function() { + return { + restrict: "EA", + replace: !0, + scope: { + title: "@", + content: "@", + placement: "@", + popupClass: "@", + animation: "&", + isOpen: "&" + }, + templateUrl: "template/popover/popover.html" + }; + }) + .directive("popover", [ + "$tooltip", + function(e) { + return e("popover", "popover", "click"); + } + ]), + angular + .module("ui.bootstrap.progressbar", []) + .constant("progressConfig", { animate: !0, max: 100 }) + .value("$progressSuppressWarning", !1) + .controller("ProgressController", [ + "$scope", + "$attrs", + "progressConfig", + function(e, t, n) { + var a = this, + o = angular.isDefined(t.animate) ? e.$parent.$eval(t.animate) : n.animate; + (this.bars = []), + (e.max = angular.isDefined(e.max) ? e.max : n.max), + (this.addBar = function(t, n) { + o || n.css({ transition: "none" }), + this.bars.push(t), + (t.max = e.max), + t.$watch("value", function(e) { + t.recalculatePercentage(); + }), + (t.recalculatePercentage = function() { + t.percent = +((100 * t.value) / t.max).toFixed(2); + var e = a.bars.reduce(function(e, t) { + return e + t.percent; + }, 0); + e > 100 && (t.percent -= e - 100); + }), + t.$on("$destroy", function() { + (n = null), a.removeBar(t); + }); + }), + (this.removeBar = function(e) { + this.bars.splice(this.bars.indexOf(e), 1); + }), + e.$watch("max", function(t) { + a.bars.forEach(function(t) { + (t.max = e.max), t.recalculatePercentage(); + }); + }); + } + ]) + .directive("uibProgress", function() { + return { + restrict: "EA", + replace: !0, + transclude: !0, + controller: "ProgressController", + require: "uibProgress", + scope: { max: "=?" }, + templateUrl: "template/progressbar/progress.html" + }; + }) + .directive("progress", [ + "$log", + "$progressSuppressWarning", + function(e, t) { + return { + restrict: "EA", + replace: !0, + transclude: !0, + controller: "ProgressController", + require: "progress", + scope: { max: "=?" }, + templateUrl: "template/progressbar/progress.html", + link: function() { + t && e.warn("progress is now deprecated. Use uib-progress instead"); + } + }; + } + ]) + .directive("uibBar", function() { + return { + restrict: "EA", + replace: !0, + transclude: !0, + require: "^uibProgress", + scope: { value: "=", type: "@" }, + templateUrl: "template/progressbar/bar.html", + link: function(e, t, n, a) { + a.addBar(e, t); + } + }; + }) + .directive("bar", [ + "$log", + "$progressSuppressWarning", + function(e, t) { + return { + restrict: "EA", + replace: !0, + transclude: !0, + require: "^progress", + scope: { value: "=", type: "@" }, + templateUrl: "template/progressbar/bar.html", + link: function(n, a, o, i) { + t && e.warn("bar is now deprecated. Use uib-bar instead"), i.addBar(n, a); + } + }; + } + ]) + .directive("progressbar", function() { + return { + restrict: "EA", + replace: !0, + transclude: !0, + controller: "ProgressController", + scope: { value: "=", max: "=?", type: "@" }, + templateUrl: "template/progressbar/progressbar.html", + link: function(e, t, n, a) { + a.addBar(e, angular.element(t.children()[0])); + } + }; + }), + angular + .module("ui.bootstrap.rating", []) + .constant("ratingConfig", { + max: 5, + stateOn: null, + stateOff: null, + titles: ["one", "two", "three", "four", "five"] + }) + .controller("RatingController", [ + "$scope", + "$attrs", + "ratingConfig", + function(e, t, n) { + var a = { $setViewValue: angular.noop }; + (this.init = function(o) { + ((a = o).$render = this.render), + a.$formatters.push(function(e) { + return angular.isNumber(e) && e << 0 !== e && (e = Math.round(e)), e; + }), + (this.stateOn = angular.isDefined(t.stateOn) + ? e.$parent.$eval(t.stateOn) + : n.stateOn), + (this.stateOff = angular.isDefined(t.stateOff) + ? e.$parent.$eval(t.stateOff) + : n.stateOff); + var i = angular.isDefined(t.titles) ? e.$parent.$eval(t.titles) : n.titles; + this.titles = angular.isArray(i) && i.length > 0 ? i : n.titles; + var r = angular.isDefined(t.ratingStates) + ? e.$parent.$eval(t.ratingStates) + : new Array(angular.isDefined(t.max) ? e.$parent.$eval(t.max) : n.max); + e.range = this.buildTemplateObjects(r); + }), + (this.buildTemplateObjects = function(e) { + for (var t = 0, n = e.length; n > t; t++) + e[t] = angular.extend( + { index: t }, + { stateOn: this.stateOn, stateOff: this.stateOff, title: this.getTitle(t) }, + e[t] + ); + return e; + }), + (this.getTitle = function(e) { + return e >= this.titles.length ? e + 1 : this.titles[e]; + }), + (e.rate = function(t) { + !e.readonly && + t >= 0 && + t <= e.range.length && + (a.$setViewValue(a.$viewValue === t ? 0 : t), a.$render()); + }), + (e.enter = function(t) { + e.readonly || (e.value = t), e.onHover({ value: t }); + }), + (e.reset = function() { + (e.value = a.$viewValue), e.onLeave(); + }), + (e.onKeydown = function(t) { + /(37|38|39|40)/.test(t.which) && + (t.preventDefault(), + t.stopPropagation(), + e.rate(e.value + (38 === t.which || 39 === t.which ? 1 : -1))); + }), + (this.render = function() { + e.value = a.$viewValue; + }); + } + ]) + .directive("rating", function() { + return { + restrict: "EA", + require: ["rating", "ngModel"], + scope: { readonly: "=?", onHover: "&", onLeave: "&" }, + controller: "RatingController", + templateUrl: "template/rating/rating.html", + replace: !0, + link: function(e, t, n, a) { + var o = a[0], + i = a[1]; + o.init(i); + } + }; + }), + angular + .module("ui.bootstrap.tabs", []) + .controller("TabsetController", [ + "$scope", + function(e) { + var t, + n = this, + a = (n.tabs = e.tabs = []); + (n.select = function(e) { + angular.forEach(a, function(t) { + t.active && t !== e && ((t.active = !1), t.onDeselect(), (e.selectCalled = !1)); + }), + (e.active = !0), + e.selectCalled || (e.onSelect(), (e.selectCalled = !0)); + }), + (n.addTab = function(e) { + a.push(e), + 1 === a.length && !1 !== e.active + ? (e.active = !0) + : e.active + ? n.select(e) + : (e.active = !1); + }), + (n.removeTab = function(e) { + var o = a.indexOf(e); + if (e.active && a.length > 1 && !t) { + var i = o == a.length - 1 ? o - 1 : o + 1; + n.select(a[i]); + } + a.splice(o, 1); + }), + e.$on("$destroy", function() { + t = !0; + }); + } + ]) + .directive("tabset", function() { + return { + restrict: "EA", + transclude: !0, + replace: !0, + scope: { type: "@" }, + controller: "TabsetController", + templateUrl: "template/tabs/tabset.html", + link: function(e, t, n) { + (e.vertical = !!angular.isDefined(n.vertical) && e.$parent.$eval(n.vertical)), + (e.justified = !!angular.isDefined(n.justified) && e.$parent.$eval(n.justified)); + } + }; + }) + .directive("tab", [ + "$parse", + "$log", + function(e, t) { + return { + require: "^tabset", + restrict: "EA", + replace: !0, + templateUrl: "template/tabs/tab.html", + transclude: !0, + scope: { active: "=?", heading: "@", onSelect: "&select", onDeselect: "&deselect" }, + controller: function() {}, + link: function(n, a, o, i, r) { + n.$watch("active", function(e) { + e && i.select(n); + }), + (n.disabled = !1), + o.disable && + n.$parent.$watch(e(o.disable), function(e) { + n.disabled = !!e; + }), + o.disabled && + (t.warn( + 'Use of "disabled" attribute has been deprecated, please use "disable"' + ), + n.$parent.$watch(e(o.disabled), function(e) { + n.disabled = !!e; + })), + (n.select = function() { + n.disabled || (n.active = !0); + }), + i.addTab(n), + n.$on("$destroy", function() { + i.removeTab(n); + }), + (n.$transcludeFn = r); + } + }; + } + ]) + .directive("tabHeadingTransclude", function() { + return { + restrict: "A", + require: "^tab", + link: function(e, t, n, a) { + e.$watch("headingElement", function(e) { + e && (t.html(""), t.append(e)); + }); + } + }; + }) + .directive("tabContentTransclude", function() { + return { + restrict: "A", + require: "^tabset", + link: function(e, t, n) { + var a = e.$eval(n.tabContentTransclude); + a.$transcludeFn(a.$parent, function(e) { + angular.forEach(e, function(e) { + !(function(e) { + return ( + e.tagName && + (e.hasAttribute("tab-heading") || + e.hasAttribute("data-tab-heading") || + e.hasAttribute("x-tab-heading") || + "tab-heading" === e.tagName.toLowerCase() || + "data-tab-heading" === e.tagName.toLowerCase() || + "x-tab-heading" === e.tagName.toLowerCase()) + ); + })(e) + ? t.append(e) + : (a.headingElement = e); + }); + }); + } + }; + }), + angular + .module("ui.bootstrap.timepicker", []) + .constant("timepickerConfig", { + hourStep: 1, + minuteStep: 1, + showMeridian: !0, + meridians: null, + readonlyInput: !1, + mousewheel: !0, + arrowkeys: !0, + showSpinners: !0 + }) + .controller("TimepickerController", [ + "$scope", + "$attrs", + "$parse", + "$log", + "$locale", + "timepickerConfig", + function(e, t, n, a, o, i) { + function r() { + var t = parseInt(e.hours, 10); + return (e.showMeridian + ? t > 0 && 13 > t + : t >= 0 && 24 > t) + ? (e.showMeridian && (12 === t && (t = 0), e.meridian === g[1] && (t += 12)), t) + : void 0; + } + function s() { + var t = parseInt(e.minutes, 10); + return t >= 0 && 60 > t ? t : void 0; + } + function l(e) { + return angular.isDefined(e) && e.toString().length < 2 ? "0" + e : e.toString(); + } + function c(e) { + d(), m.$setViewValue(new Date(f)), u(e); + } + function d() { + m.$setValidity("time", !0), (e.invalidHours = !1), (e.invalidMinutes = !1); + } + function u(t) { + var n = f.getHours(), + a = f.getMinutes(); + e.showMeridian && (n = 0 === n || 12 === n ? 12 : n % 12), + (e.hours = "h" === t ? n : l(n)), + "m" !== t && (e.minutes = l(a)), + (e.meridian = f.getHours() < 12 ? g[0] : g[1]); + } + function p(e, t) { + var n = new Date(e.getTime() + 6e4 * t), + a = new Date(e); + return a.setHours(n.getHours(), n.getMinutes()), a; + } + function h(e) { + (f = p(f, e)), c(); + } + var f = new Date(), + m = { $setViewValue: angular.noop }, + g = angular.isDefined(t.meridians) + ? e.$parent.$eval(t.meridians) + : i.meridians || o.DATETIME_FORMATS.AMPMS; + this.init = function(n, a) { + ((m = n).$render = this.render), + m.$formatters.unshift(function(e) { + return e ? new Date(e) : null; + }); + var o = a.eq(0), + r = a.eq(1); + (angular.isDefined(t.mousewheel) ? e.$parent.$eval(t.mousewheel) : i.mousewheel) && + this.setupMousewheelEvents(o, r), + (angular.isDefined(t.arrowkeys) ? e.$parent.$eval(t.arrowkeys) : i.arrowkeys) && + this.setupArrowkeyEvents(o, r), + (e.readonlyInput = angular.isDefined(t.readonlyInput) + ? e.$parent.$eval(t.readonlyInput) + : i.readonlyInput), + this.setupInputEvents(o, r); + }; + var v = i.hourStep; + t.hourStep && + e.$parent.$watch(n(t.hourStep), function(e) { + v = parseInt(e, 10); + }); + var b, + w, + y = i.minuteStep; + t.minuteStep && + e.$parent.$watch(n(t.minuteStep), function(e) { + y = parseInt(e, 10); + }), + e.$parent.$watch(n(t.min), function(e) { + var t = new Date(e); + b = isNaN(t) ? void 0 : t; + }), + e.$parent.$watch(n(t.max), function(e) { + var t = new Date(e); + w = isNaN(t) ? void 0 : t; + }), + (e.noIncrementHours = function() { + var e = p(f, 60 * v); + return e > w || (f > e && b > e); + }), + (e.noDecrementHours = function() { + var e = p(f, 60 * -v); + return b > e || (e > f && e > w); + }), + (e.noIncrementMinutes = function() { + var e = p(f, y); + return e > w || (f > e && b > e); + }), + (e.noDecrementMinutes = function() { + var e = p(f, -y); + return b > e || (e > f && e > w); + }), + (e.noToggleMeridian = function() { + return f.getHours() < 13 ? p(f, 720) > w : p(f, -720) < b; + }), + (e.showMeridian = i.showMeridian), + t.showMeridian && + e.$parent.$watch(n(t.showMeridian), function(t) { + if (((e.showMeridian = !!t), m.$error.time)) { + var n = r(), + a = s(); + angular.isDefined(n) && angular.isDefined(a) && (f.setHours(n), c()); + } else u(); + }), + (this.setupMousewheelEvents = function(t, n) { + var a = function(e) { + e.originalEvent && (e = e.originalEvent); + var t = e.wheelDelta ? e.wheelDelta : -e.deltaY; + return e.detail || t > 0; + }; + t.bind("mousewheel wheel", function(t) { + e.$apply(a(t) ? e.incrementHours() : e.decrementHours()), t.preventDefault(); + }), + n.bind("mousewheel wheel", function(t) { + e.$apply(a(t) ? e.incrementMinutes() : e.decrementMinutes()), + t.preventDefault(); + }); + }), + (this.setupArrowkeyEvents = function(t, n) { + t.bind("keydown", function(t) { + 38 === t.which + ? (t.preventDefault(), e.incrementHours(), e.$apply()) + : 40 === t.which && (t.preventDefault(), e.decrementHours(), e.$apply()); + }), + n.bind("keydown", function(t) { + 38 === t.which + ? (t.preventDefault(), e.incrementMinutes(), e.$apply()) + : 40 === t.which && (t.preventDefault(), e.decrementMinutes(), e.$apply()); + }); + }), + (this.setupInputEvents = function(t, n) { + if (e.readonlyInput) + return (e.updateHours = angular.noop), void (e.updateMinutes = angular.noop); + var a = function(t, n) { + m.$setViewValue(null), + m.$setValidity("time", !1), + angular.isDefined(t) && (e.invalidHours = t), + angular.isDefined(n) && (e.invalidMinutes = n); + }; + (e.updateHours = function() { + var e = r(), + t = s(); + angular.isDefined(e) && angular.isDefined(t) + ? (f.setHours(e), b > f || f > w ? a(!0) : c("h")) + : a(!0); + }), + t.bind("blur", function(t) { + !e.invalidHours && + e.hours < 10 && + e.$apply(function() { + e.hours = l(e.hours); + }); + }), + (e.updateMinutes = function() { + var e = s(), + t = r(); + angular.isDefined(e) && angular.isDefined(t) + ? (f.setMinutes(e), b > f || f > w ? a(void 0, !0) : c("m")) + : a(void 0, !0); + }), + n.bind("blur", function(t) { + !e.invalidMinutes && + e.minutes < 10 && + e.$apply(function() { + e.minutes = l(e.minutes); + }); + }); + }), + (this.render = function() { + var t = m.$viewValue; + isNaN(t) + ? (m.$setValidity("time", !1), + a.error( + 'Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.' + )) + : (t && (f = t), + b > f || f > w + ? (m.$setValidity("time", !1), (e.invalidHours = !0), (e.invalidMinutes = !0)) + : d(), + u()); + }), + (e.showSpinners = angular.isDefined(t.showSpinners) + ? e.$parent.$eval(t.showSpinners) + : i.showSpinners), + (e.incrementHours = function() { + e.noIncrementHours() || h(60 * v); + }), + (e.decrementHours = function() { + e.noDecrementHours() || h(60 * -v); + }), + (e.incrementMinutes = function() { + e.noIncrementMinutes() || h(y); + }), + (e.decrementMinutes = function() { + e.noDecrementMinutes() || h(-y); + }), + (e.toggleMeridian = function() { + e.noToggleMeridian() || h(720 * (f.getHours() < 12 ? 1 : -1)); + }); + } + ]) + .directive("timepicker", function() { + return { + restrict: "EA", + require: ["timepicker", "?^ngModel"], + controller: "TimepickerController", + controllerAs: "timepicker", + replace: !0, + scope: {}, + templateUrl: function(e, t) { + return t.templateUrl || "template/timepicker/timepicker.html"; + }, + link: function(e, t, n, a) { + var o = a[0], + i = a[1]; + i && o.init(i, t.find("input")); + } + }; + }), + angular + .module("ui.bootstrap.transition", []) + .value("$transitionSuppressDeprecated", !1) + .factory("$transition", [ + "$q", + "$timeout", + "$rootScope", + "$log", + "$transitionSuppressDeprecated", + function(e, t, n, a, o) { + function i(e) { + for (var t in e) if (void 0 !== s.style[t]) return e[t]; + } + o || a.warn("$transition is now deprecated. Use $animate from ngAnimate instead."); + var r = function(a, o, i) { + i = i || {}; + var s = e.defer(), + l = r[i.animation ? "animationEndEventName" : "transitionEndEventName"], + c = function(e) { + n.$apply(function() { + a.unbind(l, c), s.resolve(a); + }); + }; + return ( + l && a.bind(l, c), + t(function() { + angular.isString(o) + ? a.addClass(o) + : angular.isFunction(o) + ? o(a) + : angular.isObject(o) && a.css(o), + l || s.resolve(a); + }), + (s.promise.cancel = function() { + l && a.unbind(l, c), s.reject("Transition cancelled"); + }), + s.promise + ); + }, + s = document.createElement("trans"); + return ( + (r.transitionEndEventName = i({ + WebkitTransition: "webkitTransitionEnd", + MozTransition: "transitionend", + OTransition: "oTransitionEnd", + transition: "transitionend" + })), + (r.animationEndEventName = i({ + WebkitTransition: "webkitAnimationEnd", + MozTransition: "animationend", + OTransition: "oAnimationEnd", + transition: "animationend" + })), + r + ); + } + ]), + angular + .module("ui.bootstrap.typeahead", ["ui.bootstrap.position"]) + .factory("typeaheadParser", [ + "$parse", + function(e) { + var t = /^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/; + return { + parse: function(n) { + var a = n.match(t); + if (!a) + throw new Error( + 'Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "' + + n + + '".' + ); + return { + itemName: a[3], + source: e(a[4]), + viewMapper: e(a[2] || a[1]), + modelMapper: e(a[1]) + }; + } + }; + } + ]) + .directive("typeahead", [ + "$compile", + "$parse", + "$q", + "$timeout", + "$document", + "$window", + "$rootScope", + "$position", + "typeaheadParser", + function(e, t, n, a, o, i, r, s, l) { + var c = [9, 13, 27, 38, 40], + d = 200; + return { + require: ["ngModel", "^?ngModelOptions"], + link: function(u, p, h, f) { + function m() { + U.moveInProgress || ((U.moveInProgress = !0), U.$digest()), + N && a.cancel(N), + (N = a(function() { + U.matches.length && g(), (U.moveInProgress = !1), U.$digest(); + }, d)); + } + function g() { + (U.position = D ? s.offset(p) : s.position(p)), + (U.position.top += p.prop("offsetHeight")); + } + var v = f[0], + b = f[1], + w = u.$eval(h.typeaheadMinLength); + w || 0 === w || (w = 1); + var y, + k, + S = u.$eval(h.typeaheadWaitMs) || 0, + T = !1 !== u.$eval(h.typeaheadEditable), + C = t(h.typeaheadLoading).assign || angular.noop, + P = t(h.typeaheadOnSelect), + A = + !!angular.isDefined(h.typeaheadSelectOnBlur) && + u.$eval(h.typeaheadSelectOnBlur), + x = t(h.typeaheadNoResults).assign || angular.noop, + R = h.typeaheadInputFormatter ? t(h.typeaheadInputFormatter) : void 0, + D = !!h.typeaheadAppendToBody && u.$eval(h.typeaheadAppendToBody), + $ = !1 !== u.$eval(h.typeaheadFocusFirst), + M = !!h.typeaheadSelectOnExact && u.$eval(h.typeaheadSelectOnExact), + I = t(h.ngModel), + E = t(h.ngModel + "($$$p)"), + z = l.parse(h.typeahead), + U = u.$new(), + L = u.$on("$destroy", function() { + U.$destroy(); + }); + U.$on("$destroy", L); + var F = "typeahead-" + U.$id + "-" + Math.floor(1e4 * Math.random()); + p.attr({ "aria-autocomplete": "list", "aria-expanded": !1, "aria-owns": F }); + var O = angular.element("
"); + O.attr({ + id: F, + matches: "matches", + active: "activeIdx", + select: "select(activeIdx)", + "move-in-progress": "moveInProgress", + query: "query", + position: "position" + }), + angular.isDefined(h.typeaheadTemplateUrl) && + O.attr("template-url", h.typeaheadTemplateUrl), + angular.isDefined(h.typeaheadPopupTemplateUrl) && + O.attr("popup-template-url", h.typeaheadPopupTemplateUrl); + var B = function() { + (U.matches = []), (U.activeIdx = -1), p.attr("aria-expanded", !1); + }, + j = function(e) { + return F + "-option-" + e; + }; + U.$watch("activeIdx", function(e) { + 0 > e + ? p.removeAttr("aria-activedescendant") + : p.attr("aria-activedescendant", j(e)); + }); + var N, + H = function(e) { + var t = { $viewValue: e }; + C(u, !0), + x(u, !1), + n.when(z.source(u, t)).then( + function(n) { + var a = e === v.$viewValue; + if (a && y) + if (n && n.length > 0) { + (U.activeIdx = $ ? 0 : -1), x(u, !1), (U.matches.length = 0); + for (var o = 0; o < n.length; o++) + (t[z.itemName] = n[o]), + U.matches.push({ + id: j(o), + label: z.viewMapper(U, t), + model: n[o] + }); + (U.query = e), + g(), + p.attr("aria-expanded", !0), + M && + 1 === U.matches.length && + (function(e, t) { + return ( + !!(U.matches.length > t && e) && + e.toUpperCase() === U.matches[t].label.toUpperCase() + ); + })(e, 0) && + U.select(0); + } else B(), x(u, !0); + a && C(u, !1); + }, + function() { + B(), C(u, !1), x(u, !0); + } + ); + }; + D && (angular.element(i).bind("resize", m), o.find("body").bind("scroll", m)), + (U.moveInProgress = !1), + B(), + (U.query = void 0); + var W, + V = function() { + W && a.cancel(W); + }; + v.$parsers.unshift(function(e) { + return ( + (y = !0), + 0 === w || (e && e.length >= w) + ? S > 0 + ? (V(), + (function(e) { + W = a(function() { + H(e); + }, S); + })(e)) + : H(e) + : (C(u, !1), V(), B()), + T + ? e + : e + ? void v.$setValidity("editable", !1) + : (v.$setValidity("editable", !0), null) + ); + }), + v.$formatters.push(function(e) { + var t, + n = {}; + return ( + T || v.$setValidity("editable", !0), + R + ? ((n.$model = e), R(u, n)) + : ((n[z.itemName] = e), + (t = z.viewMapper(u, n)), + (n[z.itemName] = void 0), + t !== z.viewMapper(u, n) ? t : e) + ); + }), + (U.select = function(e) { + var t, + n, + o = {}; + (k = !0), + (o[z.itemName] = n = U.matches[e].model), + (t = z.modelMapper(u, o)), + (function(e, t) { + angular.isFunction(I(u)) && b && b.$options && b.$options.getterSetter + ? E(e, { $$$p: t }) + : I.assign(e, t); + })(u, t), + v.$setValidity("editable", !0), + v.$setValidity("parse", !0), + P(u, { $item: n, $model: t, $label: z.viewMapper(u, o) }), + B(), + !1 !== U.$eval(h.typeaheadFocusOnSelect) && + a( + function() { + p[0].focus(); + }, + 0, + !1 + ); + }), + p.bind("keydown", function(e) { + if (0 !== U.matches.length && -1 !== c.indexOf(e.which)) { + if (-1 === U.activeIdx && (9 === e.which || 13 === e.which)) + return B(), void U.$digest(); + e.preventDefault(), + 40 === e.which + ? ((U.activeIdx = (U.activeIdx + 1) % U.matches.length), U.$digest()) + : 38 === e.which + ? ((U.activeIdx = + (U.activeIdx > 0 ? U.activeIdx : U.matches.length) - 1), + U.$digest()) + : 13 === e.which || 9 === e.which + ? U.$apply(function() { + U.select(U.activeIdx); + }) + : 27 === e.which && (e.stopPropagation(), B(), U.$digest()); + } + }), + p.bind("blur", function() { + A && + U.matches.length && + -1 !== U.activeIdx && + !k && + ((k = !0), + U.$apply(function() { + U.select(U.activeIdx); + })), + (y = !1), + (k = !1); + }); + var Y = function(e) { + p[0] !== e.target && + 3 !== e.which && + 0 !== U.matches.length && + (B(), r.$$phase || U.$digest()); + }; + o.bind("click", Y), + u.$on("$destroy", function() { + o.unbind("click", Y), D && q.remove(), O.remove(); + }); + var q = e(O)(U); + D ? o.find("body").append(q) : p.after(q); + } + }; + } + ]) + .directive("typeaheadPopup", function() { + return { + restrict: "EA", + scope: { + matches: "=", + query: "=", + active: "=", + position: "&", + moveInProgress: "=", + select: "&" + }, + replace: !0, + templateUrl: function(e, t) { + return t.popupTemplateUrl || "template/typeahead/typeahead-popup.html"; + }, + link: function(e, t, n) { + (e.templateUrl = n.templateUrl), + (e.isOpen = function() { + return e.matches.length > 0; + }), + (e.isActive = function(t) { + return e.active == t; + }), + (e.selectActive = function(t) { + e.active = t; + }), + (e.selectMatch = function(t) { + e.select({ activeIdx: t }); + }); + } + }; + }) + .directive("typeaheadMatch", [ + "$templateRequest", + "$compile", + "$parse", + function(e, t, n) { + return { + restrict: "EA", + scope: { index: "=", match: "=", query: "=" }, + link: function(a, o, i) { + var r = n(i.templateUrl)(a.$parent) || "template/typeahead/typeahead-match.html"; + e(r).then(function(e) { + t(e.trim())(a, function(e) { + o.replaceWith(e); + }); + }); + } + }; + } + ]) + .filter("typeaheadHighlight", [ + "$sce", + "$injector", + "$log", + function(e, t, n) { + var a; + return ( + (a = t.has("$sanitize")), + function(t, o) { + return ( + !a && + (function(e) { + return /<.*>/g.test(e); + })(t) && + n.warn("Unsafe use of typeahead please use ngSanitize"), + (t = o + ? ("" + t).replace( + new RegExp( + (function(e) { + return e.replace(/([.?*+^$[\]\\(){}|-])/g, "\\$1"); + })(o), + "gi" + ), + "$&" + ) + : t), + a || (t = e.trustAsHtml(t)), + t + ); + } + ); + } + ]), + angular.module("template/accordion/accordion-group.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/accordion/accordion-group.html", + '
\n
\n

\n {{heading}}\n

\n
\n
\n\t
\n
\n
\n' + ); + } + ]), + angular.module("template/accordion/accordion.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/accordion/accordion.html", + '
' + ); + } + ]), + angular.module("template/alert/alert.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/alert/alert.html", + '\n' + ); + } + ]), + angular.module("template/carousel/carousel.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/carousel/carousel.html", + '\n' + ); + } + ]), + angular.module("template/carousel/slide.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/carousel/slide.html", + '
\n' + ); + } + ]), + angular.module("template/datepicker/datepicker.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/datepicker/datepicker.html", + '
\n \n \n \n
' + ); + } + ]), + angular.module("template/datepicker/day.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/datepicker/day.html", + '\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{{::label.abbr}}
{{ weekNumbers[$index] }}\n \n
\n' + ); + } + ]), + angular.module("template/datepicker/month.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/datepicker/month.html", + '\n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n
\n' + ); + } + ]), + angular.module("template/datepicker/popup.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/datepicker/popup.html", + '\n' + ); + } + ]), + angular.module("template/datepicker/year.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/datepicker/year.html", + '\n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n
\n' + ); + } + ]), + angular.module("template/modal/backdrop.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/modal/backdrop.html", + '\n' + ); + } + ]), + angular.module("template/modal/window.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/modal/window.html", + '\n' + ); + } + ]), + angular.module("template/pagination/pager.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/pagination/pager.html", + '\n' + ); + } + ]), + angular.module("template/pagination/pagination.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/pagination/pagination.html", + '\n' + ); + } + ]), + angular.module("template/tooltip/tooltip-html-popup.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/tooltip/tooltip-html-popup.html", + '
\n
\n
\n
\n' + ); + } + ]), + angular.module("template/tooltip/tooltip-html-unsafe-popup.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/tooltip/tooltip-html-unsafe-popup.html", + '
\n
\n
\n
\n' + ); + } + ]), + angular.module("template/tooltip/tooltip-popup.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/tooltip/tooltip-popup.html", + '
\n
\n
\n
\n' + ); + } + ]), + angular.module("template/tooltip/tooltip-template-popup.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/tooltip/tooltip-template-popup.html", + '
\n
\n
\n
\n' + ); + } + ]), + angular.module("template/popover/popover-html.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/popover/popover-html.html", + '
\n
\n\n
\n

\n
\n
\n
\n' + ); + } + ]), + angular.module("template/popover/popover-template.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/popover/popover-template.html", + '
\n
\n\n
\n

\n
\n
\n
\n' + ); + } + ]), + angular.module("template/popover/popover.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/popover/popover.html", + '
\n
\n\n
\n

\n
\n
\n
\n' + ); + } + ]), + angular.module("template/progressbar/bar.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/progressbar/bar.html", + '
\n' + ); + } + ]), + angular.module("template/progressbar/progress.html", []).run([ + "$templateCache", + function(e) { + e.put("template/progressbar/progress.html", '
'); + } + ]), + angular.module("template/progressbar/progressbar.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/progressbar/progressbar.html", + '
\n
\n
\n' + ); + } + ]), + angular.module("template/rating/rating.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/rating/rating.html", + '\n ({{ $index < value ? \'*\' : \' \' }})\n \n\n' + ); + } + ]), + angular.module("template/tabs/tab.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/tabs/tab.html", + '
  • \n {{heading}}\n
  • \n' + ); + } + ]), + angular.module("template/tabs/tabset.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/tabs/tabset.html", + '
    \n \n
    \n
    \n
    \n
    \n
    \n' + ); + } + ]), + angular.module("template/timepicker/timepicker.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/timepicker/timepicker.html", + '\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
     
    \n \n :\n \n
     
    \n' + ); + } + ]), + angular.module("template/typeahead/typeahead-match.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/typeahead/typeahead-match.html", + '\n' + ); + } + ]), + angular.module("template/typeahead/typeahead-popup.html", []).run([ + "$templateCache", + function(e) { + e.put( + "template/typeahead/typeahead-popup.html", + '\n' + ); + } + ]), + !angular.$$csp() && + angular + .element(document) + .find("head") + .prepend( + '' + ); + }, + function(e, t, n) { + (function(e) { + !(function(e) { + "use strict"; + var t = 0, + n = function(t, n) { + (this.options = n), (this.$elementFilestyle = []), (this.$element = e(t)); + }; + n.prototype = { + clear: function() { + this.$element.val(""), + this.$elementFilestyle.find(":text").val(""), + this.$elementFilestyle.find(".badge").remove(); + }, + destroy: function() { + this.$element.removeAttr("style").removeData("filestyle"), + this.$elementFilestyle.remove(); + }, + disabled: function(e) { + if (!0 === e) + this.options.disabled || + (this.$element.attr("disabled", "true"), + this.$elementFilestyle.find("label").attr("disabled", "true"), + (this.options.disabled = !0)); + else { + if (!1 !== e) return this.options.disabled; + this.options.disabled && + (this.$element.removeAttr("disabled"), + this.$elementFilestyle.find("label").removeAttr("disabled"), + (this.options.disabled = !1)); + } + }, + buttonBefore: function(e) { + if (!0 === e) + this.options.buttonBefore || + ((this.options.buttonBefore = !0), + this.options.input && + (this.$elementFilestyle.remove(), this.constructor(), this.pushNameFiles())); + else { + if (!1 !== e) return this.options.buttonBefore; + this.options.buttonBefore && + ((this.options.buttonBefore = !1), + this.options.input && + (this.$elementFilestyle.remove(), this.constructor(), this.pushNameFiles())); + } + }, + icon: function(e) { + if (!0 === e) + this.options.icon || + ((this.options.icon = !0), + this.$elementFilestyle.find("label").prepend(this.htmlIcon())); + else { + if (!1 !== e) return this.options.icon; + this.options.icon && + ((this.options.icon = !1), + this.$elementFilestyle.find(".icon-span-filestyle").remove()); + } + }, + input: function(e) { + if (!0 === e) + this.options.input || + ((this.options.input = !0), + this.options.buttonBefore + ? this.$elementFilestyle.append(this.htmlInput()) + : this.$elementFilestyle.prepend(this.htmlInput()), + this.$elementFilestyle.find(".badge").remove(), + this.pushNameFiles(), + this.$elementFilestyle.find(".group-span-filestyle").addClass("input-group-btn")); + else { + if (!1 !== e) return this.options.input; + if (this.options.input) { + (this.options.input = !1), this.$elementFilestyle.find(":text").remove(); + var t = this.pushNameFiles(); + t.length > 0 && + this.options.badge && + this.$elementFilestyle + .find("label") + .append(' ' + t.length + ""), + this.$elementFilestyle + .find(".group-span-filestyle") + .removeClass("input-group-btn"); + } + } + }, + size: function(e) { + if (void 0 === e) return this.options.size; + var t = this.$elementFilestyle.find("label"), + n = this.$elementFilestyle.find("input"); + t.removeClass("btn-lg btn-sm"), + n.removeClass("input-lg input-sm"), + "nr" != e && (t.addClass("btn-" + e), n.addClass("input-" + e)); + }, + placeholder: function(e) { + if (void 0 === e) return this.options.placeholder; + (this.options.placeholder = e), + this.$elementFilestyle.find("input").attr("placeholder", e); + }, + buttonText: function(e) { + if (void 0 === e) return this.options.buttonText; + (this.options.buttonText = e), + this.$elementFilestyle.find("label .buttonText").html(this.options.buttonText); + }, + buttonName: function(e) { + if (void 0 === e) return this.options.buttonName; + (this.options.buttonName = e), + this.$elementFilestyle + .find("label") + .attr({ class: "btn " + this.options.buttonName }); + }, + iconName: function(e) { + if (void 0 === e) return this.options.iconName; + this.$elementFilestyle + .find(".icon-span-filestyle") + .attr({ class: "icon-span-filestyle " + this.options.iconName }); + }, + htmlIcon: function() { + return this.options.icon + ? ' ' + : ""; + }, + htmlInput: function() { + return this.options.input + ? ' ' + : ""; + }, + pushNameFiles: function() { + var e = "", + t = []; + void 0 === this.$element[0].files + ? (t[0] = { name: this.$element[0] && this.$element[0].value }) + : (t = this.$element[0].files); + for (var n = 0; n < t.length; n++) e += t[n].name.split("\\").pop() + ", "; + return ( + "" !== e + ? this.$elementFilestyle.find(":text").val(e.replace(/\, $/g, "")) + : this.$elementFilestyle.find(":text").val(""), + t + ); + }, + constructor: function() { + var n, + a, + o = this, + i = "", + r = o.$element.attr("id"); + ("" !== r && r) || ((r = "filestyle-" + t), o.$element.attr({ id: r }), t++), + (i = + '
    '), + (n = + '"), + (a = + ''), + (i = o.options.buttonBefore + ? i + n + a + "
    " + o.htmlInput() + : o.htmlInput() + i + a + n + ""), + (o.$elementFilestyle = e( + '
    ' + i + "
    " + )), + o.$elementFilestyle + .find(".group-span-filestyle") + .attr("tabindex", "0") + .keypress(function(e) { + if (13 === e.keyCode || 32 === e.charCode) + return o.$elementFilestyle.find("label").click(), !1; + }), + o.$elementFilestyle.find("#" + r + "-clear").click(function(e) { + o.clear(); + }), + o.$element + .css({ position: "absolute", clip: "rect(0px 0px 0px 0px)" }) + .attr("tabindex", "-1") + .after(o.$elementFilestyle), + (o.options.disabled || o.$element.attr("disabled")) && + o.$element.attr("disabled", "true"), + o.$element.change(function() { + var e = o.pushNameFiles(); + 0 == o.options.input && o.options.badge + ? 0 == o.$elementFilestyle.find(".badge").length + ? o.$elementFilestyle + .find("label") + .append(' ' + e.length + "") + : 0 == e.length + ? o.$elementFilestyle.find(".badge").remove() + : o.$elementFilestyle.find(".badge").html(e.length) + : o.$elementFilestyle.find(".badge").remove(); + }), + window.navigator.userAgent.search(/firefox/i) > -1 && + o.$elementFilestyle.find("label").click(function() { + return o.$element.click(), !1; + }); + } + }; + var a = e.fn.filestyle; + (e.fn.filestyle = function(t, a) { + var o = "", + i = this.each(function() { + if ("file" === e(this).attr("type")) { + var i = e(this), + r = i.data("filestyle"), + s = e.extend({}, e.fn.filestyle.defaults, t, "object" == typeof t && t); + r || (i.data("filestyle", (r = new n(this, s))), r.constructor()), + "string" == typeof t && (o = r[t](a)); + } + }); + return void 0 !== typeof o ? o : i; + }), + (e.fn.filestyle.defaults = { + buttonText: "Choose file", + iconName: "glyphicon glyphicon-folder-open", + buttonName: "btn-default", + size: "nr", + input: !0, + badge: !0, + icon: !0, + buttonBefore: !1, + disabled: !1, + placeholder: "" + }), + (e.fn.filestyle.noConflict = function() { + return (e.fn.filestyle = a), this; + }), + e(function() { + e(".filestyle").each(function() { + var t = e(this), + n = { + input: "false" !== t.attr("data-input"), + icon: "false" !== t.attr("data-icon"), + buttonBefore: "true" === t.attr("data-buttonBefore"), + disabled: "true" === t.attr("data-disabled"), + size: t.attr("data-size"), + buttonText: t.attr("data-buttonText"), + buttonName: t.attr("data-buttonName"), + iconName: t.attr("data-iconName"), + badge: "false" !== t.attr("data-badge"), + placeholder: t.attr("data-placeholder") + }; + t.filestyle(n); + }); + }); + })(e); + }.call(this, n(1))); + }, + function(e, t, n) { + (function(e) { + !(function(e) { + (e.color = {}), + (e.color.make = function(t, n, a, o) { + var i = {}; + return ( + (i.r = t || 0), + (i.g = n || 0), + (i.b = a || 0), + (i.a = null != o ? o : 1), + (i.add = function(e, t) { + for (var n = 0; n < e.length; ++n) i[e.charAt(n)] += t; + return i.normalize(); + }), + (i.scale = function(e, t) { + for (var n = 0; n < e.length; ++n) i[e.charAt(n)] *= t; + return i.normalize(); + }), + (i.toString = function() { + return i.a >= 1 + ? "rgb(" + [i.r, i.g, i.b].join(",") + ")" + : "rgba(" + [i.r, i.g, i.b, i.a].join(",") + ")"; + }), + (i.normalize = function() { + function e(e, t, n) { + return t < e ? e : t > n ? n : t; + } + return ( + (i.r = e(0, parseInt(i.r), 255)), + (i.g = e(0, parseInt(i.g), 255)), + (i.b = e(0, parseInt(i.b), 255)), + (i.a = e(0, i.a, 1)), + i + ); + }), + (i.clone = function() { + return e.color.make(i.r, i.b, i.g, i.a); + }), + i.normalize() + ); + }), + (e.color.extract = function(t, n) { + var a; + do { + if ("" != (a = t.css(n).toLowerCase()) && "transparent" != a) break; + t = t.parent(); + } while (t.length && !e.nodeName(t.get(0), "body")); + return "rgba(0, 0, 0, 0)" == a && (a = "transparent"), e.color.parse(a); + }), + (e.color.parse = function(n) { + var a, + o = e.color.make; + if ((a = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(n))) + return o(parseInt(a[1], 10), parseInt(a[2], 10), parseInt(a[3], 10)); + if ( + (a = /rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec( + n + )) + ) + return o( + parseInt(a[1], 10), + parseInt(a[2], 10), + parseInt(a[3], 10), + parseFloat(a[4]) + ); + if ( + (a = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec( + n + )) + ) + return o(2.55 * parseFloat(a[1]), 2.55 * parseFloat(a[2]), 2.55 * parseFloat(a[3])); + if ( + (a = /rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec( + n + )) + ) + return o( + 2.55 * parseFloat(a[1]), + 2.55 * parseFloat(a[2]), + 2.55 * parseFloat(a[3]), + parseFloat(a[4]) + ); + if ((a = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(n))) + return o(parseInt(a[1], 16), parseInt(a[2], 16), parseInt(a[3], 16)); + if ((a = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(n))) + return o( + parseInt(a[1] + a[1], 16), + parseInt(a[2] + a[2], 16), + parseInt(a[3] + a[3], 16) + ); + var i = e.trim(n).toLowerCase(); + return "transparent" == i + ? o(255, 255, 255, 0) + : o((a = t[i] || [0, 0, 0])[0], a[1], a[2]); + }); + var t = { + aqua: [0, 255, 255], + azure: [240, 255, 255], + beige: [245, 245, 220], + black: [0, 0, 0], + blue: [0, 0, 255], + brown: [165, 42, 42], + cyan: [0, 255, 255], + darkblue: [0, 0, 139], + darkcyan: [0, 139, 139], + darkgrey: [169, 169, 169], + darkgreen: [0, 100, 0], + darkkhaki: [189, 183, 107], + darkmagenta: [139, 0, 139], + darkolivegreen: [85, 107, 47], + darkorange: [255, 140, 0], + darkorchid: [153, 50, 204], + darkred: [139, 0, 0], + darksalmon: [233, 150, 122], + darkviolet: [148, 0, 211], + fuchsia: [255, 0, 255], + gold: [255, 215, 0], + green: [0, 128, 0], + indigo: [75, 0, 130], + khaki: [240, 230, 140], + lightblue: [173, 216, 230], + lightcyan: [224, 255, 255], + lightgreen: [144, 238, 144], + lightgrey: [211, 211, 211], + lightpink: [255, 182, 193], + lightyellow: [255, 255, 224], + lime: [0, 255, 0], + magenta: [255, 0, 255], + maroon: [128, 0, 0], + navy: [0, 0, 128], + olive: [128, 128, 0], + orange: [255, 165, 0], + pink: [255, 192, 203], + purple: [128, 0, 128], + violet: [128, 0, 128], + red: [255, 0, 0], + silver: [192, 192, 192], + white: [255, 255, 255], + yellow: [255, 255, 0] + }; + })(e), + (function(e) { + var t = Object.prototype.hasOwnProperty; + function n(t, n) { + var a = n.children("." + t)[0]; + if ( + null == a && + (((a = document.createElement("canvas")).className = t), + e(a) + .css({ direction: "ltr", position: "absolute", left: 0, top: 0 }) + .appendTo(n), + !a.getContext) + ) { + if (!window.G_vmlCanvasManager) + throw new Error( + "Canvas is not available. If you're using IE with a fall-back such as Excanvas, then there's either a mistake in your conditional include, or the page has no DOCTYPE and is rendering in Quirks Mode." + ); + a = window.G_vmlCanvasManager.initElement(a); + } + this.element = a; + var o = (this.context = a.getContext("2d")), + i = window.devicePixelRatio || 1, + r = + o.webkitBackingStorePixelRatio || + o.mozBackingStorePixelRatio || + o.msBackingStorePixelRatio || + o.oBackingStorePixelRatio || + o.backingStorePixelRatio || + 1; + (this.pixelRatio = i / r), + this.resize(n.width(), n.height()), + (this.textContainer = null), + (this.text = {}), + (this._textCache = {}); + } + function a(t, a, o, i) { + var r = [], + s = { + colors: ["#edc240", "#afd8f8", "#cb4b4b", "#4da74d", "#9440ed"], + legend: { + show: !0, + noColumns: 1, + labelFormatter: null, + labelBoxBorderColor: "#ccc", + container: null, + position: "ne", + margin: 5, + backgroundColor: null, + backgroundOpacity: 0.85, + sorted: null + }, + xaxis: { + show: null, + position: "bottom", + mode: null, + font: null, + color: null, + tickColor: null, + transform: null, + inverseTransform: null, + min: null, + max: null, + autoscaleMargin: null, + ticks: null, + tickFormatter: null, + labelWidth: null, + labelHeight: null, + reserveSpace: null, + tickLength: null, + alignTicksWithAxis: null, + tickDecimals: null, + tickSize: null, + minTickSize: null + }, + yaxis: { autoscaleMargin: 0.02, position: "left" }, + xaxes: [], + yaxes: [], + series: { + points: { + show: !1, + radius: 3, + lineWidth: 2, + fill: !0, + fillColor: "#ffffff", + symbol: "circle" + }, + lines: { lineWidth: 2, fill: !1, fillColor: null, steps: !1 }, + bars: { + show: !1, + lineWidth: 2, + barWidth: 1, + fill: !0, + fillColor: null, + align: "left", + horizontal: !1, + zero: !0 + }, + shadowSize: 3, + highlightColor: null + }, + grid: { + show: !0, + aboveData: !1, + color: "#545454", + backgroundColor: null, + borderColor: null, + tickColor: null, + margin: 0, + labelMargin: 5, + axisMargin: 8, + borderWidth: 2, + minBorderMargin: null, + markings: null, + markingsColor: "#f4f4f4", + markingsLineWidth: 2, + clickable: !1, + hoverable: !1, + autoHighlight: !0, + mouseActiveRadius: 10 + }, + interaction: { redrawOverlayInterval: 1e3 / 60 }, + hooks: {} + }, + l = null, + c = null, + d = null, + u = null, + p = null, + h = [], + f = [], + m = { left: 0, right: 0, top: 0, bottom: 0 }, + g = 0, + v = 0, + b = { + processOptions: [], + processRawData: [], + processDatapoints: [], + processOffset: [], + drawBackground: [], + drawSeries: [], + draw: [], + bindEvents: [], + drawOverlay: [], + shutdown: [] + }, + w = this; + function y(e, t) { + t = [w].concat(t); + for (var n = 0; n < e.length; ++n) e[n].apply(this, t); + } + function k(t) { + (r = (function(t) { + for (var n = [], a = 0; a < t.length; ++a) { + var o = e.extend(!0, {}, s.series); + null != t[a].data + ? ((o.data = t[a].data), + delete t[a].data, + e.extend(!0, o, t[a]), + (t[a].data = o.data)) + : (o.data = t[a]), + n.push(o); + } + return n; + })(t)), + (function() { + var t, + n = r.length, + a = -1; + for (t = 0; t < r.length; ++t) { + var o = r[t].color; + null != o && (n--, "number" == typeof o && o > a && (a = o)); + } + n <= a && (n = a + 1); + var i, + l = [], + c = s.colors, + d = c.length, + u = 0; + for (t = 0; t < n; t++) + (i = e.color.parse(c[t % d] || "#666")), + t % d == 0 && t && (u = u >= 0 ? (u < 0.5 ? -u - 0.2 : 0) : -u), + (l[t] = i.scale("rgb", 1 + u)); + var p, + m = 0; + for (t = 0; t < r.length; ++t) { + if ( + (null == (p = r[t]).color + ? ((p.color = l[m].toString()), ++m) + : "number" == typeof p.color && (p.color = l[p.color].toString()), + null == p.lines.show) + ) { + var g, + v = !0; + for (g in p) + if (p[g] && p[g].show) { + v = !1; + break; + } + v && (p.lines.show = !0); + } + null == p.lines.zero && (p.lines.zero = !!p.lines.fill), + (p.xaxis = P(h, S(p, "x"))), + (p.yaxis = P(f, S(p, "y"))); + } + })(), + (function() { + var t, + n, + a, + o, + i, + s, + l, + c, + d, + u, + p, + h, + f = Number.POSITIVE_INFINITY, + m = Number.NEGATIVE_INFINITY, + g = Number.MAX_VALUE; + function v(e, t, n) { + t < e.datamin && t != -g && (e.datamin = t), + n > e.datamax && n != g && (e.datamax = n); + } + for ( + e.each(T(), function(e, t) { + (t.datamin = f), (t.datamax = m), (t.used = !1); + }), + t = 0; + t < r.length; + ++t + ) + ((i = r[t]).datapoints = { points: [] }), + y(b.processRawData, [i, i.data, i.datapoints]); + for (t = 0; t < r.length; ++t) { + if (((i = r[t]), (p = i.data), !(h = i.datapoints.format))) { + if ( + ((h = []).push({ x: !0, number: !0, required: !0 }), + h.push({ y: !0, number: !0, required: !0 }), + i.bars.show || (i.lines.show && i.lines.fill)) + ) { + var w = !!((i.bars.show && i.bars.zero) || (i.lines.show && i.lines.zero)); + h.push({ y: !0, number: !0, required: !1, defaultValue: 0, autoscale: w }), + i.bars.horizontal && (delete h[h.length - 1].y, (h[h.length - 1].x = !0)); + } + i.datapoints.format = h; + } + if (null == i.datapoints.pointsize) { + (i.datapoints.pointsize = h.length), + (l = i.datapoints.pointsize), + (s = i.datapoints.points); + var k = i.lines.show && i.lines.steps; + for (i.xaxis.used = i.yaxis.used = !0, n = a = 0; n < p.length; ++n, a += l) { + var S = null == (u = p[n]); + if (!S) + for (o = 0; o < l; ++o) + (c = u[o]), + (d = h[o]) && + (d.number && + null != c && + ((c = +c), + isNaN(c) + ? (c = null) + : c == 1 / 0 + ? (c = g) + : c == -1 / 0 && (c = -g)), + null == c && + (d.required && (S = !0), + null != d.defaultValue && (c = d.defaultValue))), + (s[a + o] = c); + if (S) + for (o = 0; o < l; ++o) + null != (c = s[a + o]) && + !1 !== (d = h[o]).autoscale && + (d.x && v(i.xaxis, c, c), d.y && v(i.yaxis, c, c)), + (s[a + o] = null); + else if ( + k && + a > 0 && + null != s[a - l] && + s[a - l] != s[a] && + s[a - l + 1] != s[a + 1] + ) { + for (o = 0; o < l; ++o) s[a + l + o] = s[a + o]; + (s[a + 1] = s[a - l + 1]), (a += l); + } + } + } + } + for (t = 0; t < r.length; ++t) + (i = r[t]), y(b.processDatapoints, [i, i.datapoints]); + for (t = 0; t < r.length; ++t) { + (i = r[t]), + (s = i.datapoints.points), + (l = i.datapoints.pointsize), + (h = i.datapoints.format); + var C = f, + P = f, + A = m, + x = m; + for (n = 0; n < s.length; n += l) + if (null != s[n]) + for (o = 0; o < l; ++o) + (c = s[n + o]), + (d = h[o]) && + !1 !== d.autoscale && + c != g && + c != -g && + (d.x && (c < C && (C = c), c > A && (A = c)), + d.y && (c < P && (P = c), c > x && (x = c))); + if (i.bars.show) { + var R; + switch (i.bars.align) { + case "left": + R = 0; + break; + case "right": + R = -i.bars.barWidth; + break; + default: + R = -i.bars.barWidth / 2; + } + i.bars.horizontal + ? ((P += R), (x += R + i.bars.barWidth)) + : ((C += R), (A += R + i.bars.barWidth)); + } + v(i.xaxis, C, A), v(i.yaxis, P, x); + } + e.each(T(), function(e, t) { + t.datamin == f && (t.datamin = null), t.datamax == m && (t.datamax = null); + }); + })(); + } + function S(e, t) { + var n = e[t + "axis"]; + return "object" == typeof n && (n = n.n), "number" != typeof n && (n = 1), n; + } + function T() { + return e.grep(h.concat(f), function(e) { + return e; + }); + } + function C(e) { + var t, + n, + a = {}; + for (t = 0; t < h.length; ++t) (n = h[t]) && n.used && (a["x" + n.n] = n.c2p(e.left)); + for (t = 0; t < f.length; ++t) (n = f[t]) && n.used && (a["y" + n.n] = n.c2p(e.top)); + return void 0 !== a.x1 && (a.x = a.x1), void 0 !== a.y1 && (a.y = a.y1), a; + } + function P(t, n) { + return ( + t[n - 1] || + (t[n - 1] = { + n: n, + direction: t == h ? "x" : "y", + options: e.extend(!0, {}, t == h ? s.xaxis : s.yaxis) + }), + t[n - 1] + ); + } + function A() { + L && clearTimeout(L), + d.unbind("mousemove", F), + d.unbind("mouseleave", O), + d.unbind("click", B), + y(b.shutdown, [d]); + } + function x(t) { + var n = t.labelWidth, + a = t.labelHeight, + o = t.options.position, + i = "x" === t.direction, + r = t.options.tickLength, + c = s.grid.axisMargin, + d = s.grid.labelMargin, + u = !0, + p = !0, + g = !0, + v = !1; + e.each(i ? h : f, function(e, n) { + n && + (n.show || n.reserveSpace) && + (n === t ? (v = !0) : n.options.position === o && (v ? (p = !1) : (u = !1)), + v || (g = !1)); + }), + p && (c = 0), + null == r && (r = g ? "full" : 5), + isNaN(+r) || (d += +r), + i + ? ((a += d), + "bottom" == o + ? ((m.bottom += a + c), (t.box = { top: l.height - m.bottom, height: a })) + : ((t.box = { top: m.top + c, height: a }), (m.top += a + c))) + : ((n += d), + "left" == o + ? ((t.box = { left: m.left + c, width: n }), (m.left += n + c)) + : ((m.right += n + c), (t.box = { left: l.width - m.right, width: n }))), + (t.position = o), + (t.tickLength = r), + (t.box.padding = d), + (t.innermost = u); + } + function R() { + var n, + a = T(), + o = s.grid.show; + for (var i in m) { + var c = s.grid.margin || 0; + m[i] = "number" == typeof c ? c : c[i] || 0; + } + for (var i in (y(b.processOffset, [m]), m)) + "object" == typeof s.grid.borderWidth + ? (m[i] += o ? s.grid.borderWidth[i] : 0) + : (m[i] += o ? s.grid.borderWidth : 0); + if ( + (e.each(a, function(e, t) { + var n = t.options; + (t.show = null == n.show ? t.used : n.show), + (t.reserveSpace = null == n.reserveSpace ? t.show : n.reserveSpace), + (function(e) { + var t = e.options, + n = +(null != t.min ? t.min : e.datamin), + a = +(null != t.max ? t.max : e.datamax), + o = a - n; + if (0 == o) { + var i = 0 == a ? 1 : 0.01; + null == t.min && (n -= i), (null != t.max && null == t.min) || (a += i); + } else { + var r = t.autoscaleMargin; + null != r && + (null == t.min && + (n -= o * r) < 0 && + null != e.datamin && + e.datamin >= 0 && + (n = 0), + null == t.max && + (a += o * r) > 0 && + null != e.datamax && + e.datamax <= 0 && + (a = 0)); + } + (e.min = n), (e.max = a); + })(t); + }), + o) + ) { + var d = e.grep(a, function(e) { + return e.show || e.reserveSpace; + }); + for ( + e.each(d, function(t, n) { + !(function(t) { + var n, + a = t.options; + n = + "number" == typeof a.ticks && a.ticks > 0 + ? a.ticks + : 0.3 * Math.sqrt("x" == t.direction ? l.width : l.height); + var o = (t.max - t.min) / n, + i = -Math.floor(Math.log(o) / Math.LN10), + r = a.tickDecimals; + null != r && i > r && (i = r); + var s, + c = Math.pow(10, -i), + d = o / c; + d < 1.5 + ? (s = 1) + : d < 3 + ? ((s = 2), d > 2.25 && (null == r || i + 1 <= r) && ((s = 2.5), ++i)) + : (s = d < 7.5 ? 5 : 10); + (s *= c), null != a.minTickSize && s < a.minTickSize && (s = a.minTickSize); + if ( + ((t.delta = o), + (t.tickDecimals = Math.max(0, null != r ? r : i)), + (t.tickSize = a.tickSize || s), + "time" == a.mode && !t.tickGenerator) + ) + throw new Error("Time mode requires the flot.time plugin."); + t.tickGenerator || + ((t.tickGenerator = function(e) { + var t, + n = [], + a = (function(e, t) { + return t * Math.floor(e / t); + })(e.min, e.tickSize), + o = 0, + i = Number.NaN; + do { + (t = i), (i = a + o * e.tickSize), n.push(i), ++o; + } while (i < e.max && i != t); + return n; + }), + (t.tickFormatter = function(e, t) { + var n = t.tickDecimals ? Math.pow(10, t.tickDecimals) : 1, + a = "" + Math.round(e * n) / n; + if (null != t.tickDecimals) { + var o = a.indexOf("."), + i = -1 == o ? 0 : a.length - o - 1; + if (i < t.tickDecimals) + return (i ? a : a + ".") + ("" + n).substr(1, t.tickDecimals - i); + } + return a; + })); + e.isFunction(a.tickFormatter) && + (t.tickFormatter = function(e, t) { + return "" + a.tickFormatter(e, t); + }); + if (null != a.alignTicksWithAxis) { + var u = ("x" == t.direction ? h : f)[a.alignTicksWithAxis - 1]; + if (u && u.used && u != t) { + var p = t.tickGenerator(t); + if ( + (p.length > 0 && + (null == a.min && (t.min = Math.min(t.min, p[0])), + null == a.max && + p.length > 1 && + (t.max = Math.max(t.max, p[p.length - 1]))), + (t.tickGenerator = function(e) { + var t, + n, + a = []; + for (n = 0; n < u.ticks.length; ++n) + (t = (u.ticks[n].v - u.min) / (u.max - u.min)), + (t = e.min + t * (e.max - e.min)), + a.push(t); + return a; + }), + !t.mode && null == a.tickDecimals) + ) { + var m = Math.max(0, 1 - Math.floor(Math.log(t.delta) / Math.LN10)), + g = t.tickGenerator(t); + (g.length > 1 && /\..*0$/.test((g[1] - g[0]).toFixed(m))) || + (t.tickDecimals = m); + } + } + } + })(n), + (function(t) { + var n, + a, + o = t.options.ticks, + i = []; + null == o || ("number" == typeof o && o > 0) + ? (i = t.tickGenerator(t)) + : o && (i = e.isFunction(o) ? o(t) : o); + for (t.ticks = [], n = 0; n < i.length; ++n) { + var r = null, + s = i[n]; + "object" == typeof s + ? ((a = +s[0]), s.length > 1 && (r = s[1])) + : (a = +s), + null == r && (r = t.tickFormatter(a, t)), + isNaN(a) || t.ticks.push({ v: a, label: r }); + } + })(n), + (function(e, t) { + e.options.autoscaleMargin && + t.length > 0 && + (null == e.options.min && (e.min = Math.min(e.min, t[0].v)), + null == e.options.max && + t.length > 1 && + (e.max = Math.max(e.max, t[t.length - 1].v))); + })(n, n.ticks), + (function(e) { + for ( + var t = e.options, + n = e.ticks || [], + a = t.labelWidth || 0, + o = t.labelHeight || 0, + i = + a || + ("x" == e.direction ? Math.floor(l.width / (n.length || 1)) : null), + r = e.direction + "Axis " + e.direction + e.n + "Axis", + s = + "flot-" + + e.direction + + "-axis flot-" + + e.direction + + e.n + + "-axis " + + r, + c = t.font || "flot-tick-label tickLabel", + d = 0; + d < n.length; + ++d + ) { + var u = n[d]; + if (u.label) { + var p = l.getTextInfo(s, u.label, c, null, i); + (a = Math.max(a, p.width)), (o = Math.max(o, p.height)); + } + } + (e.labelWidth = t.labelWidth || a), (e.labelHeight = t.labelHeight || o); + })(n); + }), + n = d.length - 1; + n >= 0; + --n + ) + x(d[n]); + !(function() { + var t, + n = s.grid.minBorderMargin; + if (null == n) + for (n = 0, t = 0; t < r.length; ++t) + n = Math.max(n, 2 * (r[t].points.radius + r[t].points.lineWidth / 2)); + var a = { left: n, right: n, top: n, bottom: n }; + e.each(T(), function(e, t) { + t.reserveSpace && + t.ticks && + t.ticks.length && + ("x" === t.direction + ? ((a.left = Math.max(a.left, t.labelWidth / 2)), + (a.right = Math.max(a.right, t.labelWidth / 2))) + : ((a.bottom = Math.max(a.bottom, t.labelHeight / 2)), + (a.top = Math.max(a.top, t.labelHeight / 2)))); + }), + (m.left = Math.ceil(Math.max(a.left, m.left))), + (m.right = Math.ceil(Math.max(a.right, m.right))), + (m.top = Math.ceil(Math.max(a.top, m.top))), + (m.bottom = Math.ceil(Math.max(a.bottom, m.bottom))); + })(), + e.each(d, function(e, t) { + !(function(e) { + "x" == e.direction + ? ((e.box.left = m.left - e.labelWidth / 2), + (e.box.width = l.width - m.left - m.right + e.labelWidth)) + : ((e.box.top = m.top - e.labelHeight / 2), + (e.box.height = l.height - m.bottom - m.top + e.labelHeight)); + })(t); + }); + } + (g = l.width - m.left - m.right), + (v = l.height - m.bottom - m.top), + e.each(a, function(e, t) { + !(function(e) { + function t(e) { + return e; + } + var n, + a, + o = e.options.transform || t, + i = e.options.inverseTransform; + "x" == e.direction + ? ((n = e.scale = g / Math.abs(o(e.max) - o(e.min))), + (a = Math.min(o(e.max), o(e.min)))) + : ((n = -(n = e.scale = v / Math.abs(o(e.max) - o(e.min)))), + (a = Math.max(o(e.max), o(e.min)))), + (e.p2c = + o == t + ? function(e) { + return (e - a) * n; + } + : function(e) { + return (o(e) - a) * n; + }), + (e.c2p = i + ? function(e) { + return i(a + e / n); + } + : function(e) { + return a + e / n; + }); + })(t); + }), + o && + e.each(T(), function(e, t) { + var n, + a, + o, + i, + r, + s = t.box, + c = t.direction + "Axis " + t.direction + t.n + "Axis", + d = "flot-" + t.direction + "-axis flot-" + t.direction + t.n + "-axis " + c, + u = t.options.font || "flot-tick-label tickLabel"; + if ((l.removeText(d), t.show && 0 != t.ticks.length)) + for (var p = 0; p < t.ticks.length; ++p) + !(n = t.ticks[p]).label || + n.v < t.min || + n.v > t.max || + ("x" == t.direction + ? ((i = "center"), + (a = m.left + t.p2c(n.v)), + "bottom" == t.position + ? (o = s.top + s.padding) + : ((o = s.top + s.height - s.padding), (r = "bottom"))) + : ((r = "middle"), + (o = m.top + t.p2c(n.v)), + "left" == t.position + ? ((a = s.left + s.width - s.padding), (i = "right")) + : (a = s.left + s.padding)), + l.addText(d, a, o, n.label, u, null, null, i, r)); + }), + (function() { + null != s.legend.container + ? e(s.legend.container).html("") + : t.find(".legend").remove(); + if (!s.legend.show) return; + for ( + var n, a, o = [], i = [], l = !1, c = s.legend.labelFormatter, d = 0; + d < r.length; + ++d + ) + (n = r[d]).label && + (a = c ? c(n.label, n) : n.label) && + i.push({ label: a, color: n.color }); + if (s.legend.sorted) + if (e.isFunction(s.legend.sorted)) i.sort(s.legend.sorted); + else if ("reverse" == s.legend.sorted) i.reverse(); + else { + var u = "descending" != s.legend.sorted; + i.sort(function(e, t) { + return e.label == t.label ? 0 : e.label < t.label != u ? 1 : -1; + }); + } + for (var d = 0; d < i.length; ++d) { + var p = i[d]; + d % s.legend.noColumns == 0 && (l && o.push(""), o.push(""), (l = !0)), + o.push( + '
    ' + + p.label + + "" + ); + } + l && o.push(""); + if (0 == o.length) return; + var h = + '' + + o.join("") + + "
    "; + if (null != s.legend.container) e(s.legend.container).html(h); + else { + var f = "", + g = s.legend.position, + v = s.legend.margin; + null == v[0] && (v = [v, v]), + "n" == g.charAt(0) + ? (f += "top:" + (v[1] + m.top) + "px;") + : "s" == g.charAt(0) && (f += "bottom:" + (v[1] + m.bottom) + "px;"), + "e" == g.charAt(1) + ? (f += "right:" + (v[0] + m.right) + "px;") + : "w" == g.charAt(1) && (f += "left:" + (v[0] + m.left) + "px;"); + var b = e( + '
    ' + + h.replace('style="', 'style="position:absolute;' + f + ";") + + "
    " + ).appendTo(t); + if (0 != s.legend.backgroundOpacity) { + var w = s.legend.backgroundColor; + null == w && + (((w = + (w = s.grid.backgroundColor) && "string" == typeof w + ? e.color.parse(w) + : e.color.extract(b, "background-color")).a = 1), + (w = w.toString())); + var y = b.children(); + e( + '
    ' + ) + .prependTo(b) + .css("opacity", s.legend.backgroundOpacity); + } + } + })(); + } + function D() { + l.clear(), y(b.drawBackground, [u]); + var e = s.grid; + e.show && + e.backgroundColor && + (u.save(), + u.translate(m.left, m.top), + (u.fillStyle = G(s.grid.backgroundColor, v, 0, "rgba(255, 255, 255, 0)")), + u.fillRect(0, 0, g, v), + u.restore()), + e.show && !e.aboveData && M(); + for (var t = 0; t < r.length; ++t) y(b.drawSeries, [u, r[t]]), I(r[t]); + y(b.draw, [u]), e.show && e.aboveData && M(), l.render(), N(); + } + function $(e, t) { + for (var n, a, o, i, r = T(), s = 0; s < r.length; ++s) + if ( + (n = r[s]).direction == t && + (e[(i = t + n.n + "axis")] || 1 != n.n || (i = t + "axis"), e[i]) + ) { + (a = e[i].from), (o = e[i].to); + break; + } + if ( + (e[i] || ((n = "x" == t ? h[0] : f[0]), (a = e[t + "1"]), (o = e[t + "2"])), + null != a && null != o && a > o) + ) { + var l = a; + (a = o), (o = l); + } + return { from: a, to: o, axis: n }; + } + function M() { + var t, n, a, o; + u.save(), u.translate(m.left, m.top); + var i = s.grid.markings; + if (i) + for ( + e.isFunction(i) && + (((n = w.getAxes()).xmin = n.xaxis.min), + (n.xmax = n.xaxis.max), + (n.ymin = n.yaxis.min), + (n.ymax = n.yaxis.max), + (i = i(n))), + t = 0; + t < i.length; + ++t + ) { + var r = i[t], + l = $(r, "x"), + c = $(r, "y"); + if ( + (null == l.from && (l.from = l.axis.min), + null == l.to && (l.to = l.axis.max), + null == c.from && (c.from = c.axis.min), + null == c.to && (c.to = c.axis.max), + !( + l.to < l.axis.min || + l.from > l.axis.max || + c.to < c.axis.min || + c.from > c.axis.max + )) + ) { + (l.from = Math.max(l.from, l.axis.min)), + (l.to = Math.min(l.to, l.axis.max)), + (c.from = Math.max(c.from, c.axis.min)), + (c.to = Math.min(c.to, c.axis.max)); + var d = l.from === l.to, + p = c.from === c.to; + if (!d || !p) + if ( + ((l.from = Math.floor(l.axis.p2c(l.from))), + (l.to = Math.floor(l.axis.p2c(l.to))), + (c.from = Math.floor(c.axis.p2c(c.from))), + (c.to = Math.floor(c.axis.p2c(c.to))), + d || p) + ) { + var h = r.lineWidth || s.grid.markingsLineWidth, + f = h % 2 ? 0.5 : 0; + u.beginPath(), + (u.strokeStyle = r.color || s.grid.markingsColor), + (u.lineWidth = h), + d + ? (u.moveTo(l.to + f, c.from), u.lineTo(l.to + f, c.to)) + : (u.moveTo(l.from, c.to + f), u.lineTo(l.to, c.to + f)), + u.stroke(); + } else + (u.fillStyle = r.color || s.grid.markingsColor), + u.fillRect(l.from, c.to, l.to - l.from, c.from - c.to); + } + } + (n = T()), (a = s.grid.borderWidth); + for (var b = 0; b < n.length; ++b) { + var y, + k, + S, + C, + P = n[b], + A = P.box, + x = P.tickLength; + if (P.show && 0 != P.ticks.length) { + for ( + u.lineWidth = 1, + "x" == P.direction + ? ((y = 0), + (k = + "full" == x + ? "top" == P.position + ? 0 + : v + : A.top - m.top + ("top" == P.position ? A.height : 0))) + : ((k = 0), + (y = + "full" == x + ? "left" == P.position + ? 0 + : g + : A.left - m.left + ("left" == P.position ? A.width : 0))), + P.innermost || + ((u.strokeStyle = P.options.color), + u.beginPath(), + (S = C = 0), + "x" == P.direction ? (S = g + 1) : (C = v + 1), + 1 == u.lineWidth && + ("x" == P.direction + ? (k = Math.floor(k) + 0.5) + : (y = Math.floor(y) + 0.5)), + u.moveTo(y, k), + u.lineTo(y + S, k + C), + u.stroke()), + u.strokeStyle = P.options.tickColor, + u.beginPath(), + t = 0; + t < P.ticks.length; + ++t + ) { + var R = P.ticks[t].v; + (S = C = 0), + isNaN(R) || + R < P.min || + R > P.max || + ("full" == x && + (("object" == typeof a && a[P.position] > 0) || a > 0) && + (R == P.min || R == P.max)) || + ("x" == P.direction + ? ((y = P.p2c(R)), + (C = "full" == x ? -v : x), + "top" == P.position && (C = -C)) + : ((k = P.p2c(R)), + (S = "full" == x ? -g : x), + "left" == P.position && (S = -S)), + 1 == u.lineWidth && + ("x" == P.direction + ? (y = Math.floor(y) + 0.5) + : (k = Math.floor(k) + 0.5)), + u.moveTo(y, k), + u.lineTo(y + S, k + C)); + } + u.stroke(); + } + } + a && + ((o = s.grid.borderColor), + "object" == typeof a || "object" == typeof o + ? ("object" != typeof a && (a = { top: a, right: a, bottom: a, left: a }), + "object" != typeof o && (o = { top: o, right: o, bottom: o, left: o }), + a.top > 0 && + ((u.strokeStyle = o.top), + (u.lineWidth = a.top), + u.beginPath(), + u.moveTo(0 - a.left, 0 - a.top / 2), + u.lineTo(g, 0 - a.top / 2), + u.stroke()), + a.right > 0 && + ((u.strokeStyle = o.right), + (u.lineWidth = a.right), + u.beginPath(), + u.moveTo(g + a.right / 2, 0 - a.top), + u.lineTo(g + a.right / 2, v), + u.stroke()), + a.bottom > 0 && + ((u.strokeStyle = o.bottom), + (u.lineWidth = a.bottom), + u.beginPath(), + u.moveTo(g + a.right, v + a.bottom / 2), + u.lineTo(0, v + a.bottom / 2), + u.stroke()), + a.left > 0 && + ((u.strokeStyle = o.left), + (u.lineWidth = a.left), + u.beginPath(), + u.moveTo(0 - a.left / 2, v + a.bottom), + u.lineTo(0 - a.left / 2, 0), + u.stroke())) + : ((u.lineWidth = a), + (u.strokeStyle = s.grid.borderColor), + u.strokeRect(-a / 2, -a / 2, g + a, v + a))), + u.restore(); + } + function I(e) { + e.lines.show && + (function(e) { + function t(e, t, n, a, o) { + var i = e.points, + r = e.pointsize, + s = null, + l = null; + u.beginPath(); + for (var c = r; c < i.length; c += r) { + var d = i[c - r], + p = i[c - r + 1], + h = i[c], + f = i[c + 1]; + if (null != d && null != h) { + if (p <= f && p < o.min) { + if (f < o.min) continue; + (d = ((o.min - p) / (f - p)) * (h - d) + d), (p = o.min); + } else if (f <= p && f < o.min) { + if (p < o.min) continue; + (h = ((o.min - p) / (f - p)) * (h - d) + d), (f = o.min); + } + if (p >= f && p > o.max) { + if (f > o.max) continue; + (d = ((o.max - p) / (f - p)) * (h - d) + d), (p = o.max); + } else if (f >= p && f > o.max) { + if (p > o.max) continue; + (h = ((o.max - p) / (f - p)) * (h - d) + d), (f = o.max); + } + if (d <= h && d < a.min) { + if (h < a.min) continue; + (p = ((a.min - d) / (h - d)) * (f - p) + p), (d = a.min); + } else if (h <= d && h < a.min) { + if (d < a.min) continue; + (f = ((a.min - d) / (h - d)) * (f - p) + p), (h = a.min); + } + if (d >= h && d > a.max) { + if (h > a.max) continue; + (p = ((a.max - d) / (h - d)) * (f - p) + p), (d = a.max); + } else if (h >= d && h > a.max) { + if (d > a.max) continue; + (f = ((a.max - d) / (h - d)) * (f - p) + p), (h = a.max); + } + (d == s && p == l) || u.moveTo(a.p2c(d) + t, o.p2c(p) + n), + (s = h), + (l = f), + u.lineTo(a.p2c(h) + t, o.p2c(f) + n); + } + } + u.stroke(); + } + u.save(), u.translate(m.left, m.top), (u.lineJoin = "round"); + var n = e.lines.lineWidth, + a = e.shadowSize; + if (n > 0 && a > 0) { + (u.lineWidth = a), (u.strokeStyle = "rgba(0,0,0,0.1)"); + var o = Math.PI / 18; + t( + e.datapoints, + Math.sin(o) * (n / 2 + a / 2), + Math.cos(o) * (n / 2 + a / 2), + e.xaxis, + e.yaxis + ), + (u.lineWidth = a / 2), + t( + e.datapoints, + Math.sin(o) * (n / 2 + a / 4), + Math.cos(o) * (n / 2 + a / 4), + e.xaxis, + e.yaxis + ); + } + (u.lineWidth = n), (u.strokeStyle = e.color); + var i = z(e.lines, e.color, 0, v); + i && + ((u.fillStyle = i), + (function(e, t, n) { + var a = e.points, + o = e.pointsize, + i = Math.min(Math.max(0, n.min), n.max), + r = 0, + s = !1, + l = 1, + c = 0, + d = 0; + for (; !(o > 0 && r > a.length + o); ) { + var p = a[(r += o) - o], + h = a[r - o + l], + f = a[r], + m = a[r + l]; + if (s) { + if (o > 0 && null != p && null == f) { + (d = r), (o = -o), (l = 2); + continue; + } + if (o < 0 && r == c + o) { + u.fill(), (s = !1), (l = 1), (r = c = d + (o = -o)); + continue; + } + } + if (null != p && null != f) { + if (p <= f && p < t.min) { + if (f < t.min) continue; + (h = ((t.min - p) / (f - p)) * (m - h) + h), (p = t.min); + } else if (f <= p && f < t.min) { + if (p < t.min) continue; + (m = ((t.min - p) / (f - p)) * (m - h) + h), (f = t.min); + } + if (p >= f && p > t.max) { + if (f > t.max) continue; + (h = ((t.max - p) / (f - p)) * (m - h) + h), (p = t.max); + } else if (f >= p && f > t.max) { + if (p > t.max) continue; + (m = ((t.max - p) / (f - p)) * (m - h) + h), (f = t.max); + } + if ( + (s || (u.beginPath(), u.moveTo(t.p2c(p), n.p2c(i)), (s = !0)), + h >= n.max && m >= n.max) + ) + u.lineTo(t.p2c(p), n.p2c(n.max)), u.lineTo(t.p2c(f), n.p2c(n.max)); + else if (h <= n.min && m <= n.min) + u.lineTo(t.p2c(p), n.p2c(n.min)), u.lineTo(t.p2c(f), n.p2c(n.min)); + else { + var g = p, + v = f; + h <= m && h < n.min && m >= n.min + ? ((p = ((n.min - h) / (m - h)) * (f - p) + p), (h = n.min)) + : m <= h && + m < n.min && + h >= n.min && + ((f = ((n.min - h) / (m - h)) * (f - p) + p), (m = n.min)), + h >= m && h > n.max && m <= n.max + ? ((p = ((n.max - h) / (m - h)) * (f - p) + p), (h = n.max)) + : m >= h && + m > n.max && + h <= n.max && + ((f = ((n.max - h) / (m - h)) * (f - p) + p), (m = n.max)), + p != g && u.lineTo(t.p2c(g), n.p2c(h)), + u.lineTo(t.p2c(p), n.p2c(h)), + u.lineTo(t.p2c(f), n.p2c(m)), + f != v && + (u.lineTo(t.p2c(f), n.p2c(m)), u.lineTo(t.p2c(v), n.p2c(m))); + } + } + } + })(e.datapoints, e.xaxis, e.yaxis)); + n > 0 && t(e.datapoints, 0, 0, e.xaxis, e.yaxis); + u.restore(); + })(e), + e.bars.show && + (function(e) { + var t; + switch ( + (u.save(), + u.translate(m.left, m.top), + (u.lineWidth = e.bars.lineWidth), + (u.strokeStyle = e.color), + e.bars.align) + ) { + case "left": + t = 0; + break; + case "right": + t = -e.bars.barWidth; + break; + default: + t = -e.bars.barWidth / 2; + } + var n = e.bars.fill + ? function(t, n) { + return z(e.bars, e.color, t, n); + } + : null; + (function(t, n, a, o, i, r) { + for (var s = t.points, l = t.pointsize, c = 0; c < s.length; c += l) + null != s[c] && + E( + s[c], + s[c + 1], + s[c + 2], + n, + a, + o, + i, + r, + u, + e.bars.horizontal, + e.bars.lineWidth + ); + })(e.datapoints, t, t + e.bars.barWidth, n, e.xaxis, e.yaxis), + u.restore(); + })(e), + e.points.show && + (function(e) { + function t(e, t, n, a, o, i, r, s) { + for (var l = e.points, c = e.pointsize, d = 0; d < l.length; d += c) { + var p = l[d], + h = l[d + 1]; + null == p || + p < i.min || + p > i.max || + h < r.min || + h > r.max || + (u.beginPath(), + (p = i.p2c(p)), + (h = r.p2c(h) + a), + "circle" == s + ? u.arc(p, h, t, 0, o ? Math.PI : 2 * Math.PI, !1) + : s(u, p, h, t, o), + u.closePath(), + n && ((u.fillStyle = n), u.fill()), + u.stroke()); + } + } + u.save(), u.translate(m.left, m.top); + var n = e.points.lineWidth, + a = e.shadowSize, + o = e.points.radius, + i = e.points.symbol; + 0 == n && (n = 1e-4); + if (n > 0 && a > 0) { + var r = a / 2; + (u.lineWidth = r), + (u.strokeStyle = "rgba(0,0,0,0.1)"), + t(e.datapoints, o, null, r + r / 2, !0, e.xaxis, e.yaxis, i), + (u.strokeStyle = "rgba(0,0,0,0.2)"), + t(e.datapoints, o, null, r / 2, !0, e.xaxis, e.yaxis, i); + } + (u.lineWidth = n), + (u.strokeStyle = e.color), + t(e.datapoints, o, z(e.points, e.color), 0, !1, e.xaxis, e.yaxis, i), + u.restore(); + })(e); + } + function E(e, t, n, a, o, i, r, s, l, c, d) { + var u, p, h, f, m, g, v, b, w; + c + ? ((b = g = v = !0), + (m = !1), + (f = t + a), + (h = t + o), + (p = e) < (u = n) && ((w = p), (p = u), (u = w), (m = !0), (g = !1))) + : ((m = g = v = !0), + (b = !1), + (u = e + a), + (p = e + o), + (f = t) < (h = n) && ((w = f), (f = h), (h = w), (b = !0), (v = !1))), + p < r.min || + u > r.max || + f < s.min || + h > s.max || + (u < r.min && ((u = r.min), (m = !1)), + p > r.max && ((p = r.max), (g = !1)), + h < s.min && ((h = s.min), (b = !1)), + f > s.max && ((f = s.max), (v = !1)), + (u = r.p2c(u)), + (h = s.p2c(h)), + (p = r.p2c(p)), + (f = s.p2c(f)), + i && ((l.fillStyle = i(h, f)), l.fillRect(u, f, p - u, h - f)), + d > 0 && + (m || g || v || b) && + (l.beginPath(), + l.moveTo(u, h), + m ? l.lineTo(u, f) : l.moveTo(u, f), + v ? l.lineTo(p, f) : l.moveTo(p, f), + g ? l.lineTo(p, h) : l.moveTo(p, h), + b ? l.lineTo(u, h) : l.moveTo(u, h), + l.stroke())); + } + function z(t, n, a, o) { + var i = t.fill; + if (!i) return null; + if (t.fillColor) return G(t.fillColor, a, o, n); + var r = e.color.parse(n); + return (r.a = "number" == typeof i ? i : 0.4), r.normalize(), r.toString(); + } + (w.setData = k), + (w.setupGrid = R), + (w.draw = D), + (w.getPlaceholder = function() { + return t; + }), + (w.getCanvas = function() { + return l.element; + }), + (w.getPlotOffset = function() { + return m; + }), + (w.width = function() { + return g; + }), + (w.height = function() { + return v; + }), + (w.offset = function() { + var e = d.offset(); + return (e.left += m.left), (e.top += m.top), e; + }), + (w.getData = function() { + return r; + }), + (w.getAxes = function() { + var t = {}; + return ( + e.each(h.concat(f), function(e, n) { + n && (t[n.direction + (1 != n.n ? n.n : "") + "axis"] = n); + }), + t + ); + }), + (w.getXAxes = function() { + return h; + }), + (w.getYAxes = function() { + return f; + }), + (w.c2p = C), + (w.p2c = function(e) { + var t, + n, + a, + o = {}; + for (t = 0; t < h.length; ++t) + if ( + (n = h[t]) && + n.used && + ((a = "x" + n.n), null == e[a] && 1 == n.n && (a = "x"), null != e[a]) + ) { + o.left = n.p2c(e[a]); + break; + } + for (t = 0; t < f.length; ++t) + if ( + (n = f[t]) && + n.used && + ((a = "y" + n.n), null == e[a] && 1 == n.n && (a = "y"), null != e[a]) + ) { + o.top = n.p2c(e[a]); + break; + } + return o; + }), + (w.getOptions = function() { + return s; + }), + (w.highlight = W), + (w.unhighlight = V), + (w.triggerRedrawOverlay = N), + (w.pointOffset = function(e) { + return { + left: parseInt(h[S(e, "x") - 1].p2c(+e.x) + m.left, 10), + top: parseInt(f[S(e, "y") - 1].p2c(+e.y) + m.top, 10) + }; + }), + (w.shutdown = A), + (w.destroy = function() { + A(), + t.removeData("plot").empty(), + (r = []), + (s = null), + (l = null), + (c = null), + (d = null), + (u = null), + (p = null), + (h = []), + (f = []), + (b = null), + (U = []), + (w = null); + }), + (w.resize = function() { + var e = t.width(), + n = t.height(); + l.resize(e, n), c.resize(e, n); + }), + (w.hooks = b), + (function() { + for (var t = { Canvas: n }, a = 0; a < i.length; ++a) { + var o = i[a]; + o.init(w, t), o.options && e.extend(!0, s, o.options); + } + })(), + (function(n) { + e.extend(!0, s, n), n && n.colors && (s.colors = n.colors); + null == s.xaxis.color && + (s.xaxis.color = e.color + .parse(s.grid.color) + .scale("a", 0.22) + .toString()); + null == s.yaxis.color && + (s.yaxis.color = e.color + .parse(s.grid.color) + .scale("a", 0.22) + .toString()); + null == s.xaxis.tickColor && + (s.xaxis.tickColor = s.grid.tickColor || s.xaxis.color); + null == s.yaxis.tickColor && + (s.yaxis.tickColor = s.grid.tickColor || s.yaxis.color); + null == s.grid.borderColor && (s.grid.borderColor = s.grid.color); + null == s.grid.tickColor && + (s.grid.tickColor = e.color + .parse(s.grid.color) + .scale("a", 0.22) + .toString()); + var a, + o, + i, + r = t.css("font-size"), + l = r ? +r.replace("px", "") : 13, + c = { + style: t.css("font-style"), + size: Math.round(0.8 * l), + variant: t.css("font-variant"), + weight: t.css("font-weight"), + family: t.css("font-family") + }; + for (i = s.xaxes.length || 1, a = 0; a < i; ++a) + (o = s.xaxes[a]) && !o.tickColor && (o.tickColor = o.color), + (o = e.extend(!0, {}, s.xaxis, o)), + (s.xaxes[a] = o), + o.font && + ((o.font = e.extend({}, c, o.font)), + o.font.color || (o.font.color = o.color), + o.font.lineHeight || (o.font.lineHeight = Math.round(1.15 * o.font.size))); + for (i = s.yaxes.length || 1, a = 0; a < i; ++a) + (o = s.yaxes[a]) && !o.tickColor && (o.tickColor = o.color), + (o = e.extend(!0, {}, s.yaxis, o)), + (s.yaxes[a] = o), + o.font && + ((o.font = e.extend({}, c, o.font)), + o.font.color || (o.font.color = o.color), + o.font.lineHeight || (o.font.lineHeight = Math.round(1.15 * o.font.size))); + s.xaxis.noTicks && null == s.xaxis.ticks && (s.xaxis.ticks = s.xaxis.noTicks); + s.yaxis.noTicks && null == s.yaxis.ticks && (s.yaxis.ticks = s.yaxis.noTicks); + s.x2axis && + ((s.xaxes[1] = e.extend(!0, {}, s.xaxis, s.x2axis)), + (s.xaxes[1].position = "top"), + null == s.x2axis.min && (s.xaxes[1].min = null), + null == s.x2axis.max && (s.xaxes[1].max = null)); + s.y2axis && + ((s.yaxes[1] = e.extend(!0, {}, s.yaxis, s.y2axis)), + (s.yaxes[1].position = "right"), + null == s.y2axis.min && (s.yaxes[1].min = null), + null == s.y2axis.max && (s.yaxes[1].max = null)); + s.grid.coloredAreas && (s.grid.markings = s.grid.coloredAreas); + s.grid.coloredAreasColor && (s.grid.markingsColor = s.grid.coloredAreasColor); + s.lines && e.extend(!0, s.series.lines, s.lines); + s.points && e.extend(!0, s.series.points, s.points); + s.bars && e.extend(!0, s.series.bars, s.bars); + null != s.shadowSize && (s.series.shadowSize = s.shadowSize); + null != s.highlightColor && (s.series.highlightColor = s.highlightColor); + for (a = 0; a < s.xaxes.length; ++a) P(h, a + 1).options = s.xaxes[a]; + for (a = 0; a < s.yaxes.length; ++a) P(f, a + 1).options = s.yaxes[a]; + for (var d in b) + s.hooks[d] && s.hooks[d].length && (b[d] = b[d].concat(s.hooks[d])); + y(b.processOptions, [s]); + })(o), + (function() { + t + .css("padding", 0) + .children() + .filter(function() { + return !e(this).hasClass("flot-overlay") && !e(this).hasClass("flot-base"); + }) + .remove(), + "static" == t.css("position") && t.css("position", "relative"); + (l = new n("flot-base", t)), + (c = new n("flot-overlay", t)), + (u = l.context), + (p = c.context), + (d = e(c.element).unbind()); + var a = t.data("plot"); + a && (a.shutdown(), c.clear()); + t.data("plot", w); + })(), + k(a), + R(), + D(), + (function() { + s.grid.hoverable && (d.mousemove(F), d.bind("mouseleave", O)); + s.grid.clickable && d.click(B); + y(b.bindEvents, [d]); + })(); + var U = [], + L = null; + function F(e) { + s.grid.hoverable && + j("plothover", e, function(e) { + return 0 != e.hoverable; + }); + } + function O(e) { + s.grid.hoverable && + j("plothover", e, function(e) { + return !1; + }); + } + function B(e) { + j("plotclick", e, function(e) { + return 0 != e.clickable; + }); + } + function j(e, n, a) { + var o = d.offset(), + i = n.pageX - o.left - m.left, + l = n.pageY - o.top - m.top, + c = C({ left: i, top: l }); + (c.pageX = n.pageX), (c.pageY = n.pageY); + var u = (function(e, t, n) { + var a, + o, + i, + l = s.grid.mouseActiveRadius, + c = l * l + 1, + d = null; + for (a = r.length - 1; a >= 0; --a) + if (n(r[a])) { + var u = r[a], + p = u.xaxis, + h = u.yaxis, + f = u.datapoints.points, + m = p.c2p(e), + g = h.c2p(t), + v = l / p.scale, + b = l / h.scale; + if ( + ((i = u.datapoints.pointsize), + p.options.inverseTransform && (v = Number.MAX_VALUE), + h.options.inverseTransform && (b = Number.MAX_VALUE), + u.lines.show || u.points.show) + ) + for (o = 0; o < f.length; o += i) { + var w = f[o], + y = f[o + 1]; + if (null != w && !(w - m > v || w - m < -v || y - g > b || y - g < -b)) { + var k = Math.abs(p.p2c(w) - e), + S = Math.abs(h.p2c(y) - t), + T = k * k + S * S; + T < c && ((c = T), (d = [a, o / i])); + } + } + if (u.bars.show && !d) { + var C, P; + switch (u.bars.align) { + case "left": + C = 0; + break; + case "right": + C = -u.bars.barWidth; + break; + default: + C = -u.bars.barWidth / 2; + } + for (P = C + u.bars.barWidth, o = 0; o < f.length; o += i) { + (w = f[o]), (y = f[o + 1]); + var A = f[o + 2]; + null != w && + (r[a].bars.horizontal + ? m <= Math.max(A, w) && m >= Math.min(A, w) && g >= y + C && g <= y + P + : m >= w + C && + m <= w + P && + g >= Math.min(A, y) && + g <= Math.max(A, y)) && + (d = [a, o / i]); + } + } + } + return d + ? ((a = d[0]), + (o = d[1]), + (i = r[a].datapoints.pointsize), + { + datapoint: r[a].datapoints.points.slice(o * i, (o + 1) * i), + dataIndex: o, + series: r[a], + seriesIndex: a + }) + : null; + })(i, l, a); + if ( + (u && + ((u.pageX = parseInt(u.series.xaxis.p2c(u.datapoint[0]) + o.left + m.left, 10)), + (u.pageY = parseInt(u.series.yaxis.p2c(u.datapoint[1]) + o.top + m.top, 10))), + s.grid.autoHighlight) + ) { + for (var p = 0; p < U.length; ++p) { + var h = U[p]; + h.auto != e || + (u && + h.series == u.series && + h.point[0] == u.datapoint[0] && + h.point[1] == u.datapoint[1]) || + V(h.series, h.point); + } + u && W(u.series, u.datapoint, e); + } + t.trigger(e, [c, u]); + } + function N() { + var e = s.interaction.redrawOverlayInterval; + -1 != e ? L || (L = setTimeout(H, e)) : H(); + } + function H() { + var e, t; + for ( + L = null, p.save(), c.clear(), p.translate(m.left, m.top), e = 0; + e < U.length; + ++e + ) + (t = U[e]).series.bars.show ? _(t.series, t.point) : q(t.series, t.point); + p.restore(), y(b.drawOverlay, [p]); + } + function W(e, t, n) { + if (("number" == typeof e && (e = r[e]), "number" == typeof t)) { + var a = e.datapoints.pointsize; + t = e.datapoints.points.slice(a * t, a * (t + 1)); + } + var o = Y(e, t); + -1 == o ? (U.push({ series: e, point: t, auto: n }), N()) : n || (U[o].auto = !1); + } + function V(e, t) { + if (null == e && null == t) return (U = []), void N(); + if (("number" == typeof e && (e = r[e]), "number" == typeof t)) { + var n = e.datapoints.pointsize; + t = e.datapoints.points.slice(n * t, n * (t + 1)); + } + var a = Y(e, t); + -1 != a && (U.splice(a, 1), N()); + } + function Y(e, t) { + for (var n = 0; n < U.length; ++n) { + var a = U[n]; + if (a.series == e && a.point[0] == t[0] && a.point[1] == t[1]) return n; + } + return -1; + } + function q(t, n) { + var a = n[0], + o = n[1], + i = t.xaxis, + r = t.yaxis, + s = + "string" == typeof t.highlightColor + ? t.highlightColor + : e.color + .parse(t.color) + .scale("a", 0.5) + .toString(); + if (!(a < i.min || a > i.max || o < r.min || o > r.max)) { + var l = t.points.radius + t.points.lineWidth / 2; + (p.lineWidth = l), (p.strokeStyle = s); + var c = 1.5 * l; + (a = i.p2c(a)), + (o = r.p2c(o)), + p.beginPath(), + "circle" == t.points.symbol + ? p.arc(a, o, c, 0, 2 * Math.PI, !1) + : t.points.symbol(p, a, o, c, !1), + p.closePath(), + p.stroke(); + } + } + function _(t, n) { + var a, + o = + "string" == typeof t.highlightColor + ? t.highlightColor + : e.color + .parse(t.color) + .scale("a", 0.5) + .toString(), + i = o; + switch (t.bars.align) { + case "left": + a = 0; + break; + case "right": + a = -t.bars.barWidth; + break; + default: + a = -t.bars.barWidth / 2; + } + (p.lineWidth = t.bars.lineWidth), + (p.strokeStyle = o), + E( + n[0], + n[1], + n[2] || 0, + a, + a + t.bars.barWidth, + function() { + return i; + }, + t.xaxis, + t.yaxis, + p, + t.bars.horizontal, + t.bars.lineWidth + ); + } + function G(t, n, a, o) { + if ("string" == typeof t) return t; + for ( + var i = u.createLinearGradient(0, a, 0, n), r = 0, s = t.colors.length; + r < s; + ++r + ) { + var l = t.colors[r]; + if ("string" != typeof l) { + var c = e.color.parse(o); + null != l.brightness && (c = c.scale("rgb", l.brightness)), + null != l.opacity && (c.a *= l.opacity), + (l = c.toString()); + } + i.addColorStop(r / (s - 1), l); + } + return i; + } + } + e.fn.detach || + (e.fn.detach = function() { + return this.each(function() { + this.parentNode && this.parentNode.removeChild(this); + }); + }), + (n.prototype.resize = function(e, t) { + if (e <= 0 || t <= 0) + throw new Error("Invalid dimensions for plot, width = " + e + ", height = " + t); + var n = this.element, + a = this.context, + o = this.pixelRatio; + this.width != e && ((n.width = e * o), (n.style.width = e + "px"), (this.width = e)), + this.height != t && + ((n.height = t * o), (n.style.height = t + "px"), (this.height = t)), + a.restore(), + a.save(), + a.scale(o, o); + }), + (n.prototype.clear = function() { + this.context.clearRect(0, 0, this.width, this.height); + }), + (n.prototype.render = function() { + var e = this._textCache; + for (var n in e) + if (t.call(e, n)) { + var a = this.getTextLayer(n), + o = e[n]; + for (var i in (a.hide(), o)) + if (t.call(o, i)) { + var r = o[i]; + for (var s in r) + if (t.call(r, s)) { + for (var l, c = r[s].positions, d = 0; (l = c[d]); d++) + l.active + ? l.rendered || (a.append(l.element), (l.rendered = !0)) + : (c.splice(d--, 1), l.rendered && l.element.detach()); + 0 == c.length && delete r[s]; + } + } + a.show(); + } + }), + (n.prototype.getTextLayer = function(t) { + var n = this.text[t]; + return ( + null == n && + (null == this.textContainer && + (this.textContainer = e("
    ") + .css({ + position: "absolute", + top: 0, + left: 0, + bottom: 0, + right: 0, + "font-size": "smaller", + color: "#545454" + }) + .insertAfter(this.element)), + (n = this.text[t] = e("
    ") + .addClass(t) + .css({ position: "absolute", top: 0, left: 0, bottom: 0, right: 0 }) + .appendTo(this.textContainer))), + n + ); + }), + (n.prototype.getTextInfo = function(t, n, a, o, i) { + var r, s, l, c; + if ( + ((n = "" + n), + (r = + "object" == typeof a + ? a.style + + " " + + a.variant + + " " + + a.weight + + " " + + a.size + + "px/" + + a.lineHeight + + "px " + + a.family + : a), + null == (s = this._textCache[t]) && (s = this._textCache[t] = {}), + null == (l = s[r]) && (l = s[r] = {}), + null == (c = l[n])) + ) { + var d = e("
    ") + .html(n) + .css({ position: "absolute", "max-width": i, top: -9999 }) + .appendTo(this.getTextLayer(t)); + "object" == typeof a + ? d.css({ font: r, color: a.color }) + : "string" == typeof a && d.addClass(a), + (c = l[n] = { + width: d.outerWidth(!0), + height: d.outerHeight(!0), + element: d, + positions: [] + }), + d.detach(); + } + return c; + }), + (n.prototype.addText = function(e, t, n, a, o, i, r, s, l) { + var c = this.getTextInfo(e, a, o, i, r), + d = c.positions; + "center" == s ? (t -= c.width / 2) : "right" == s && (t -= c.width), + "middle" == l ? (n -= c.height / 2) : "bottom" == l && (n -= c.height); + for (var u, p = 0; (u = d[p]); p++) + if (u.x == t && u.y == n) return void (u.active = !0); + (u = { + active: !0, + rendered: !1, + element: d.length ? c.element.clone() : c.element, + x: t, + y: n + }), + d.push(u), + u.element.css({ top: Math.round(n), left: Math.round(t), "text-align": s }); + }), + (n.prototype.removeText = function(e, n, a, o, i, r) { + if (null == o) { + var s = this._textCache[e]; + if (null != s) + for (var l in s) + if (t.call(s, l)) { + var c = s[l]; + for (var d in c) + if (t.call(c, d)) + for (var u = c[d].positions, p = 0; (h = u[p]); p++) h.active = !1; + } + } else { + var h; + for (u = this.getTextInfo(e, o, i, r).positions, p = 0; (h = u[p]); p++) + h.x == n && h.y == a && (h.active = !1); + } + }), + (e.plot = function(t, n, o) { + return new a(e(t), n, o, e.plot.plugins); + }), + (e.plot.version = "0.8.3"), + (e.plot.plugins = []), + (e.fn.plot = function(t, n) { + return this.each(function() { + e.plot(this, t, n); + }); + }); + })(e); + }.call(this, n(1))); + }, + function(e, t, n) { + (function(e) { + !(function(e) { + function t(e, t) { + return t * Math.floor(e / t); + } + function n(e, t, n, a) { + if ("function" == typeof e.strftime) return e.strftime(t); + var o, + i = function(e, t) { + return (e = "" + e), (t = "" + (null == t ? "0" : t)), 1 == e.length ? t + e : e; + }, + r = [], + s = !1, + l = e.getHours(), + c = l < 12; + null == n && + (n = [ + "Jan", + "Feb", + "Mar", + "Apr", + "May", + "Jun", + "Jul", + "Aug", + "Sep", + "Oct", + "Nov", + "Dec" + ]), + null == a && (a = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]), + (o = l > 12 ? l - 12 : 0 == l ? 12 : l); + for (var d = 0; d < t.length; ++d) { + var u = t.charAt(d); + if (s) { + switch (u) { + case "a": + u = "" + a[e.getDay()]; + break; + case "b": + u = "" + n[e.getMonth()]; + break; + case "d": + u = i(e.getDate()); + break; + case "e": + u = i(e.getDate(), " "); + break; + case "h": + case "H": + u = i(l); + break; + case "I": + u = i(o); + break; + case "l": + u = i(o, " "); + break; + case "m": + u = i(e.getMonth() + 1); + break; + case "M": + u = i(e.getMinutes()); + break; + case "q": + u = "" + (Math.floor(e.getMonth() / 3) + 1); + break; + case "S": + u = i(e.getSeconds()); + break; + case "y": + u = i(e.getFullYear() % 100); + break; + case "Y": + u = "" + e.getFullYear(); + break; + case "p": + u = c ? "am" : "pm"; + break; + case "P": + u = c ? "AM" : "PM"; + break; + case "w": + u = "" + e.getDay(); + } + r.push(u), (s = !1); + } else "%" == u ? (s = !0) : r.push(u); + } + return r.join(""); + } + function a(e) { + function t(e, t, n, a) { + e[t] = function() { + return n[a].apply(n, arguments); + }; + } + var n = { date: e }; + void 0 != e.strftime && t(n, "strftime", e, "strftime"), + t(n, "getTime", e, "getTime"), + t(n, "setTime", e, "setTime"); + for ( + var a = [ + "Date", + "Day", + "FullYear", + "Hours", + "Milliseconds", + "Minutes", + "Month", + "Seconds" + ], + o = 0; + o < a.length; + o++ + ) + t(n, "get" + a[o], e, "getUTC" + a[o]), t(n, "set" + a[o], e, "setUTC" + a[o]); + return n; + } + function o(e, t) { + if ("browser" == t.timezone) return new Date(e); + if (t.timezone && "utc" != t.timezone) { + if ("undefined" != typeof timezoneJS && void 0 !== timezoneJS.Date) { + var n = new timezoneJS.Date(); + return n.setTimezone(t.timezone), n.setTime(e), n; + } + return a(new Date(e)); + } + return a(new Date(e)); + } + var i = { + second: 1e3, + minute: 6e4, + hour: 36e5, + day: 864e5, + month: 2592e6, + quarter: 7776e6, + year: 525949.2 * 60 * 1e3 + }, + r = [ + [1, "second"], + [2, "second"], + [5, "second"], + [10, "second"], + [30, "second"], + [1, "minute"], + [2, "minute"], + [5, "minute"], + [10, "minute"], + [30, "minute"], + [1, "hour"], + [2, "hour"], + [4, "hour"], + [8, "hour"], + [12, "hour"], + [1, "day"], + [2, "day"], + [3, "day"], + [0.25, "month"], + [0.5, "month"], + [1, "month"], + [2, "month"] + ], + s = r.concat([[3, "month"], [6, "month"], [1, "year"]]), + l = r.concat([[1, "quarter"], [2, "quarter"], [1, "year"]]); + e.plot.plugins.push({ + init: function(a) { + a.hooks.processOptions.push(function(a, r) { + e.each(a.getAxes(), function(e, a) { + var r = a.options; + "time" == r.mode && + ((a.tickGenerator = function(e) { + var n = [], + a = o(e.min, r), + c = 0, + d = + (r.tickSize && "quarter" === r.tickSize[1]) || + (r.minTickSize && "quarter" === r.minTickSize[1]) + ? l + : s; + null != r.minTickSize && + (c = + "number" == typeof r.tickSize + ? r.tickSize + : r.minTickSize[0] * i[r.minTickSize[1]]); + for ( + var u = 0; + u < d.length - 1 && + !( + e.delta < (d[u][0] * i[d[u][1]] + d[u + 1][0] * i[d[u + 1][1]]) / 2 && + d[u][0] * i[d[u][1]] >= c + ); + ++u + ); + var p = d[u][0], + h = d[u][1]; + if ("year" == h) { + if (null != r.minTickSize && "year" == r.minTickSize[1]) + p = Math.floor(r.minTickSize[0]); + else { + var f = Math.pow(10, Math.floor(Math.log(e.delta / i.year) / Math.LN10)), + m = e.delta / i.year / f; + (p = m < 1.5 ? 1 : m < 3 ? 2 : m < 7.5 ? 5 : 10), (p *= f); + } + p < 1 && (p = 1); + } + e.tickSize = r.tickSize || [p, h]; + var g = e.tickSize[0]; + h = e.tickSize[1]; + var v = g * i[h]; + "second" == h + ? a.setSeconds(t(a.getSeconds(), g)) + : "minute" == h + ? a.setMinutes(t(a.getMinutes(), g)) + : "hour" == h + ? a.setHours(t(a.getHours(), g)) + : "month" == h + ? a.setMonth(t(a.getMonth(), g)) + : "quarter" == h + ? a.setMonth(3 * t(a.getMonth() / 3, g)) + : "year" == h && a.setFullYear(t(a.getFullYear(), g)), + a.setMilliseconds(0), + v >= i.minute && a.setSeconds(0), + v >= i.hour && a.setMinutes(0), + v >= i.day && a.setHours(0), + v >= 4 * i.day && a.setDate(1), + v >= 2 * i.month && a.setMonth(t(a.getMonth(), 3)), + v >= 2 * i.quarter && a.setMonth(t(a.getMonth(), 6)), + v >= i.year && a.setMonth(0); + var b, + w = 0, + y = Number.NaN; + do { + if (((b = y), (y = a.getTime()), n.push(y), "month" == h || "quarter" == h)) + if (g < 1) { + a.setDate(1); + var k = a.getTime(); + a.setMonth(a.getMonth() + ("quarter" == h ? 3 : 1)); + var S = a.getTime(); + a.setTime(y + w * i.hour + (S - k) * g), + (w = a.getHours()), + a.setHours(0); + } else a.setMonth(a.getMonth() + g * ("quarter" == h ? 3 : 1)); + else "year" == h ? a.setFullYear(a.getFullYear() + g) : a.setTime(y + v); + } while (y < e.max && y != b); + return n; + }), + (a.tickFormatter = function(e, t) { + var a = o(e, t.options); + if (null != r.timeformat) return n(a, r.timeformat, r.monthNames, r.dayNames); + var s = + (t.options.tickSize && "quarter" == t.options.tickSize[1]) || + (t.options.minTickSize && "quarter" == t.options.minTickSize[1]), + l = t.tickSize[0] * i[t.tickSize[1]], + c = t.max - t.min, + d = r.twelveHourClock ? " %p" : "", + u = r.twelveHourClock ? "%I" : "%H"; + return n( + a, + l < i.minute + ? u + ":%M:%S" + d + : l < i.day + ? c < 2 * i.day + ? u + ":%M" + d + : "%b %d " + u + ":%M" + d + : l < i.month + ? "%b %d" + : (s && l < i.quarter) || (!s && l < i.year) + ? c < i.year + ? "%b" + : "%b %Y" + : s && l < i.year + ? c < i.year + ? "Q%q" + : "Q%q %Y" + : "%Y", + r.monthNames, + r.dayNames + ); + })); + }); + }); + }, + options: { + xaxis: { timezone: null, timeformat: null, twelveHourClock: !1, monthNames: null } + }, + name: "time", + version: "1.0" + }), + (e.plot.formatDate = n), + (e.plot.dateGenerator = o); + })(e); + }.call(this, n(1))); + }, + function(e, t, n) {}, + , + , + , + function(e, t) { + "undefined" == typeof translations && (translations = {}), + (translations.nl_NL = { + Search: "Zoeken", + Add: "Toevoegen", + "By URIs": "met URI", + "By Torrents": "met Torrents", + "By Metalinks": "met Metalinks", + Manage: "Beheren", + "Pause All": "Alles pauzeren", + "Resume Paused": "Hervatten", + "Purge Completed": "Verwijder de voleindigden", + Settings: "Instellingen", + "Connection Settings": "Verbindingsinstellingen", + "Global Settings": "Globale instellingen", + "Server info": "Informatie over de server", + "About and contribute": "Over het project en bijdragen", + "Toggle navigation": "Navigatie omschakelen", + Language: "Taal", + Miscellaneous: "Overig", + "Global Statistics": "Globale statistieken", + About: "Over het project", + Displaying: " ", + of: "van", + downloads: "downloads weergegeven", + "Download Filters": "Download filters", + Running: "Bezig", + Active: "Actief", + Waiting: "Wachtend", + Complete: "Voleindigd", + Error: "Foutief", + Paused: "Gepauzeerd", + Removed: "Verwijderd", + "Hide linked meta-data": "Gekoppelde metadata verbergen", + Toggle: "Omschakelen", + "Reset filters": "Filters terugzetten", + "Quick Access Settings": "Snelle-toegang instellingen", + "Save settings": "Instellingen opslaan", + "Currently no download in line to display, use the": + "Momenteel geen downloads weer te geven, gebruik de ", + "download button to start downloading files!": "knop om bestanden te gaan downloaden!", + Peers: "Peers", + "More Info": "Meer informatie", + Remove: "Verwijderen", + "# of": "Aantal", + Length: "Lengte", + "Add Downloads By URIs": "Downloads toevoegen met URI", + "- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.": + "- Je kunt meerdere downloads (bestanden) tezelfdertijd toevoegen door de URIs voor elk bestand op een aparte regel te zetten.", + "- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.": + "- Je kunt ook meerdere URIs (mirrors) voor *hetzelfde* bestand toevoegen. Scheidt hiervoor de URIs met een spatie.", + "- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.": + "- Een URI kan HTTP(S)/FTP/BitTorrent-Magnet zijn.", + "Download settings": "Download instellingen", + "Advanced settings": "Geavanceerde instellingen", + Cancel: "Annuleren", + Start: "Starten", + Choose: "Kiezen", + "Quick Access (shown on the main page)": "Snelle toegang (op de hoofdpagina)", + "Add Downloads By Torrents": "Downloads toevoegen met torrents", + "- Select the torrent from the local filesystem to start the download.": + "- Selecteer de torrent van het locale bestandssysteem om de download te starten.", + "- You can select multiple torrents to start multiple downloads.": + "- Je kunt meerdere torrents selecteren voor meerdere downloads.", + "- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.": + "- Om een BitTorrent-Magnet URL toe te voegen, gebruik de Toevoegen met URI optie, en voeg het daar toe.", + "Select Torrents": "Selecteer torrents", + "Select a Torrent": "Selecteer een torrent", + "Add Downloads By Metalinks": "Download toevoegen met Metalinks", + "Select Metalinks": "Selecteer Metalinks", + "- Select the Metalink from the local filesystem to start the download.": + "- Selecteer de Metalink van het locale bestandssysteem om de download te starten.", + "- You can select multiple Metalinks to start multiple downloads.": + "- Selecter meerdere Metalinks om meerdere downloads te starten.", + "Select a Metalink": "Selecteer een Metalink", + "Choose files to start download for": + "Bestanden kiezen waarvoor het downloaden beginnen moet", + "Select to download": "Selecteer om te downloaden", + "Aria2 RPC host and port": "Aria2 RPC server en poort", + "Enter the host": "Server invoeren", + "Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)": + "Voer de IP of DNS naam van de server waarop de RPC van Aria2 loopt (standaard: localhost)", + "Enter the port": "Poort invoeren", + "Enter the port of the server on which the RPC for Aria2 is running (default: 6800)": + "Invoeren van de serverpoort waarop de RPC van Aria2 loopt (standaard: 6800)", + "Enter the RPC path": "Invoeren van het RPC pad", + "Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)": + "Invoeren van het eindpunt van het Aria2 RPC pad (standaard: /jsonrpc)", + "SSL/TLS encryption": "SSL/TLS versleuteling", + "Enable SSL/TLS encryption": "SSL/TLS versleuteling inschakelen", + "Enter the secret token (optional)": "Invoeren van het wachtwoord (facultatief)", + "Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)": + "Invoeren van het Aria2 RPC wachtwoord (niet invullen als authenticatie niet is ingeschakeld)", + "Enter the username (optional)": "Invoeren van de gebruikersnaam (facultatief)", + "Enter the Aria2 RPC username (empty if authentication not enabled)": + "Invoeren van de Aria2 RPC gebruikersnaam (niet invullen als authenticatie niet is ingeschakeld)", + "Enter the password (optional)": "Invoeren van het wachtwoord (facultatief)", + "Enter the Aria2 RPC password (empty if authentication not enabled)": + "Invoeren van het Aria2 RPC wachtwoord (niet invullen als authenticatie niet is ingeschakeld)", + "Enter base URL (optional)": "Invoeren van de basis URL (facultatief)", + "Direct Download": "Direct downloaden", + "If supplied, links will be created to enable direct download from the Aria2 server.": + "Als ingevoerd dan worden links aangemaakt die het direct downloaden van de Aria2 server toestaan.", + "(Requires appropriate webserver to be configurured.)": + "Hiervoor moet een geschikte webserver worden ingericht.)", + "Save Connection configuration": "Verbindingsconfiguratie opslaan", + Filter: "Filter", + "Aria2 server info": "Aria2 server informatie", + "Aria2 Version": "Aria2 versie", + "Features Enabled": "Geactiveerde kenmerken", + "To download the latest version of the project, add issues or to contribute back, head on to": + "Om de nieuwste versie van het project te downloaden, problemen te rapporteren of bij te dragen, ga naar", + "Or you can open the latest version in the browser through": + "Of je kunt hier de nieuwste versie in je browser openen", + Close: "Afsluiten" + }); + }, + function(e, t) { + "undefined" == typeof translations && (translations = {}), + (translations.en_US = { + Search: "Search", + Add: "Add", + "By URIs": "By URIs", + "By Torrents": "By Torrents", + "By Metalinks": "By Metalinks", + Manage: "Manage", + "Pause All": "Pause All", + "Resume Paused": "Resume Paused", + "Purge Completed": "Purge Completed", + Settings: "Settings", + "Connection Settings": "Connection Settings", + "Global Settings": "Global Settings", + "Server info": "Server info", + "About and contribute": "About and contribute", + "Toggle navigation": "Toggle navigation", + Miscellaneous: "Miscellaneous", + "Global Statistics": "Global Statistics", + About: "About", + Displaying: "Displaying", + of: "of", + downloads: "downloads", + Language: "Language", + "Download Filters": "Download Filters", + Running: "Running", + Active: "Active", + Waiting: "Waiting", + Complete: "Complete", + Error: "Error", + Paused: "Paused", + Removed: "Removed", + "Hide linked meta-data": "Hide linked meta-data", + Toggle: "Toggle", + "Reset filters": "Reset filters", + Verifing: "Verifing", + "Verify Pending": "Verify Pending", + "Quick Access Settings": "Quick Access Settings", + Save: "Save", + "Save settings": "Save settings", + "Currently no download in line to display, use the": + "Currently no download in line to display, use the", + "download button to start downloading files!": + "download button to start downloading files!", + Peers: "Peers", + "More Info": "More Info", + Remove: "Remove", + "# of": "# of", + Length: "Length", + "Add Downloads By URIs": "Add Downloads By URIs", + "- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.": + "- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.", + "- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.": + "- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.", + "- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.": + "- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.", + "Download settings": "Download settings", + "Advanced settings": "Advanced settings", + Cancel: "Cancel", + Start: "Start", + Choose: "Choose", + "Quick Access (shown on the main page)": "Quick Access (shown on the main page)", + "Add Downloads By Torrents": "Add Downloads By Torrents", + "- Select the torrent from the local filesystem to start the download.": + "- Select the torrent from the local filesystem to start the download.", + "- You can select multiple torrents to start multiple downloads.": + "- You can select multiple torrents to start multiple downloads.", + "- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.": + "- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.", + "Select Torrents": "Select Torrents", + "Select a Torrent": "Select a Torrent", + "Add Downloads By Metalinks": "Add Downloads By Metalinks", + "Select Metalinks": "Select Metalinks", + "- Select the Metalink from the local filesystem to start the download.": + "- Select the Metalink from the local filesystem to start the download.", + "- You can select multiple Metalinks to start multiple downloads.": + "- You can select multiple Metalinks to start multiple downloads.", + "Select a Metalink": "Select a Metalink", + "Choose files to start download for": "Choose files to start download for", + "Select to download": "Select to download", + "Aria2 RPC host and port": "Aria2 RPC host and port", + "Enter the host": "Enter the host", + "Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)": + "Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)", + "Enter the port": "Enter the port", + "Enter the port of the server on which the RPC for Aria2 is running (default: 6800)": + "Enter the port of the server on which the RPC for Aria2 is running (default: 6800)", + "Enter the RPC path": "Enter the RPC path", + "Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)": + "Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)", + "SSL/TLS encryption": "SSL/TLS encryption", + "Enable SSL/TLS encryption": "Enable SSL/TLS encryption", + "Enter the secret token (optional)": "Enter the secret token (optional)", + "Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)": + "Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)", + "Enter the username (optional)": "Enter the username (optional)", + "Enter the Aria2 RPC username (empty if authentication not enabled)": + "Enter the Aria2 RPC username (empty if authentication not enabled)", + "Enter the password (optional)": "Enter the password (optional)", + "Enter the Aria2 RPC password (empty if authentication not enabled)": + "Enter the Aria2 RPC password (empty if authentication not enabled)", + "Enter base URL (optional)": "Enter base URL (optional)", + "Direct Download": "Direct Download", + "If supplied, links will be created to enable direct download from the Aria2 server.": + "If supplied, links will be created to enable direct download from the Aria2 server.", + "(Requires appropriate webserver to be configured.)": + "(Requires appropriate webserver to be configured.)", + "Save Connection configuration": "Save Connection configuration", + Filter: "Filter", + "Aria2 server info": "Aria2 server info", + "Aria2 Version": "Aria2 Version", + "Features Enabled": "Features Enabled", + "To download the latest version of the project, add issues or to contribute back, head on to": + "To download the latest version of the project, add issues or to contribute back, head on to", + "Or you can open the latest version in the browser through": + "Or you can open the latest version in the browser through", + Close: "Close", + "Download status": "Download status", + "Download Speed": "Download Speed", + "Upload Speed": "Upload Speed", + "Estimated time": "Estimated time", + "Download Size": "Download Size", + Downloaded: "Downloaded", + Progress: "Progress", + "Download Path": "Download Path", + Uploaded: "Uploaded", + "Download GID": "Download GID", + "Number of Pieces": "Number of Pieces", + "Piece Length": "Piece Length", + "Shutdown Server": "Shutdown Server", + "The last connection attempt was unsuccessful. Trying another configuration": + "The last connection attempt was unsuccessful. Trying another configuration", + "Oh Snap!": "Oh Snap!", + "Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings": + "Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings", + "Authentication failed while connecting to Aria2 RPC server. Will retry in 10 secs. You might want to confirm your authentication details by going to Settings > Connection Settings": + "Authentication failed while connecting to Aria2 RPC server. Will retry in 10 secs. You might want to confirm your authentication details by going to Settings > Connection Settings", + "Successfully connected to Aria2 through its remote RPC …": + "Successfully connected to Aria2 through its remote RPC …", + "Successfully connected to Aria2 through remote RPC, however the connection is still insecure. For complete security try adding an authorization secret token while starting Aria2 (through the flag --rpc-secret)": + "Successfully connected to Aria2 through remote RPC, however the connection is still insecure. For complete security try adding an authorization secret token while starting Aria2 (through the flag --rpc-secret)", + "Trying to connect to aria2 using the new connection configuration": + "Trying to connect to aria2 using the new connection configuration", + "Remove {{name}} and associated meta-data?": "Remove {{name}} and associated meta-data?" + }); + }, + function(e, t) { + "undefined" == typeof translations && (translations = {}), + (translations.th_TH = { + Search: "ค้นหา", + Add: "เพื่ม", + "By URIs": "ด้วยยูอาร์ไอ", + "By Torrents": "ด้วยทอร์เรนต์", + "By Metalinks": "ด้วยเมทาลิงค์", + Manage: "บริหาร", + "Pause All": "หยุดชั่วคราวหมด", + "Resume Paused": "ไปต่อหมด", + "Purge Completed": "ลบอันเสร็จ", + Settings: "ตั้งค่า", + "Connection Settings": "ตั้งค่าเชื่อมต่อ", + "Global Settings": "ตั้งค่าทั่วไป", + "Server info": "ข้อมูลเซอร์เวอร์", + "About and contribute": "เกี่ยวกับและช่วย", + "Toggle navigation": "สลับนำทาง", + Language: "ภาษา", + Miscellaneous: "เบ็ดเตล็ด", + "Global Statistics": "สถิติทั่วไป", + About: "เกี่ยวกับ", + Displaying: "แแสดงดาวน์โหลด", + of: "อันใน", + downloads: "อันทั้งหมด", + "Download Filters": "กรองดาวน์โหลด", + Running: "กำลังทำงาน", + Active: "ใช้งานอยู่", + Waiting: "กำลังรอ", + Complete: "เสร็จ", + Error: "ผิดพลาด", + Paused: "หยุดอยู่", + Removed: "ลบแล้ว", + "Hide linked meta-data": "ซ่อนข้อมูลเมตาที่เชื่อมโยง", + Toggle: "สลับ", + "Reset filters": "รีเซตตัวกรอง", + "Quick Access Settings": "ตั้งค่าอย่างรวดเร็ว", + "Save settings": "บันทึกการตั้งค่า", + "Currently no download in line to display, use the": + "ตอนนี้ไม่มีการดาวน์โหลดที่แสดงได้ ก็ใช้ปุ่ม", + "download button to start downloading files!": "ให้เริ่มดาวน์โหลดไฟล์", + Peers: "พีร์ส", + "More Info": "ข้อมูลเพิ่ม", + Remove: "ลบ", + "# of": "จำนวน", + Length: "ความยาว", + "Add Downloads By URIs": "เพิ่มดาวน์โหลดด้วยยูอาร์ไอ", + "- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.": + "", + "- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.": + "", + "- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.": "", + "Download settings": "ตั้งค่าการดาวน์โหลด", + "Advanced settings": "ตั้งค่าขั้นสูง", + Cancel: "ยกเลิก", + Start: "เริ่มต้น", + Choose: "เลือก", + "Quick Access (shown on the main page)": "ใช้งานอย่างรวดเร็ว (แสดงที่เพจหลัก)", + "Add Downloads By Torrents": "เพิ่มดาวน์โหลดด้วยทอร์เรนต์", + "- Select the torrent from the local filesystem to start the download.": "", + "- You can select multiple torrents to start multiple downloads.": "", + "- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.": "", + "Select Torrents": "เลือกทอร์เรนต์", + "Select a Torrent": "เลือกทอร์เรนต์", + "Add Downloads By Metalinks": "เพิ่มดาวน์โหลดด้วยเมทาลิงค์", + "Select Metalinks": "เลือกเมทาลิงค์", + "- Select the Metalink from the local filesystem to start the download.": "", + "- You can select multiple Metalinks to start multiple downloads.": "", + "Select a Metalink": "เลือกเมทาลิงค์", + "Choose files to start download for": "เลือกไฟล์ที่จะเริ่มดาวน์โหลด", + "Select to download": "เลือกให้ดาวน์โหลด", + "Aria2 RPC host and port": "โฮสต์และพอร์ตของ Aria2 RPC", + "Enter the host": "ป้อนโฮสต์", + "Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)": + "", + "Enter the port": "ป้อนพอร์ต", + "Enter the port of the server on which the RPC for Aria2 is running (default: 6800)": "", + "Enter the RPC path": "ป้อนเส้นทาง RPC", + "Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)": "", + "SSL/TLS encryption": "การเข้ารหัสลับ SSL/TLS", + "Enable SSL/TLS encryption": "เปิดใช้การเข้ารหัสลับ SSL/TLS", + "Enter the secret token (optional)": "ป้อนสัญลักษณ์ความลับ (เป็นตัวเลือก)", + "Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)": "", + "Enter the username (optional)": "ป้อนเชื่อ (เป็นตัวเลือก)", + "Enter the Aria2 RPC username (empty if authentication not enabled)": "", + "Enter the password (optional)": "ป้อนรหัสผ่าน (เป็นตัวเลือก)", + "Enter the Aria2 RPC password (empty if authentication not enabled)": "", + "Enter base URL (optional)": "ป้อน URL หลัก (เป็นตัวเลือก)", + "Direct Download": "ดาวน์โหลดโดยตรง", + "If supplied, links will be created to enable direct download from the Aria2 server.": "", + "(Requires appropriate webserver to be configured.)": "", + "Save Connection configuration": "บันทึกการตั้งค่าการเชื่อมต่อ", + Filter: "กรอง", + "Aria2 server info": "ข้อมูลเซอร์เวอร์ Aria2", + "Aria2 Version": "รุ่น Aria2", + "Features Enabled": "คุณสมบัติที่เปิดใช้งาน", + "To download the latest version of the project, add issues or to contribute back, head on to": + "ให้ดาวน์โหลดรุ่นสุดท้ายของโครงการ เพิ่มปัญหา หรือช่วยเหลือมีส่วนร่วม ไปสู่", + "Or you can open the latest version in the browser through": + "หรือเปิดรุ่นสุดท้ายในเบราว์เซอร์โดยใช้", + Close: "ปิด" + }); + }, + function(e, t) { + "undefined" == typeof translations && (translations = {}), + (translations.zh_CN = { + Search: "搜索", + Add: "添加", + "By URIs": "使用链接", + "By Torrents": "使用种子", + "By Metalinks": "使用 Metalink", + Manage: "管理", + "Pause All": "暂停所有", + "Resume Paused": "恢复下载", + "Purge Completed": "清除已完成", + "Shutdown Server": "关闭服务器", + Settings: "设置", + "Connection Settings": "连接设置", + "Global Settings": "全局设置", + "Server info": "服务器信息", + "About and contribute": "关于和捐助", + "Toggle navigation": "切换导航", + Miscellaneous: "杂项", + "Global Statistics": "全局统计", + About: "关于", + Displaying: "正在显示", + of: "/", + downloads: "下载", + Language: "语言", + "Download Filters": "下载过滤器", + Running: "运行中", + Active: "活动的", + Waiting: "等待中", + Complete: "已完成", + Error: "出错的", + Paused: "已暂停", + Removed: "已删除", + "Hide linked meta-data": "隐藏连接的元数据", + Toggle: "反向选择", + "Reset filters": "重置过滤器", + Verifing: "正在验证", + "Verify Pending": "等待验证", + "Quick Access Settings": "快速访问设置", + Save: "保存", + "Save settings": "保存设置", + "Currently no download in line to display, use the": "当前没有可显示的下载项,使用", + "download button to start downloading files!": "按钮来开始下载!", + Peers: "Peers", + "More Info": "更多信息", + Remove: "删除", + "# of": "块数", + Length: "块大小", + "Add Downloads By URIs": "使用链接下载", + "- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.": + "- 你可以同时添加多个文件下载任务,每行下载一个文件;", + "- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.": + "- 你也可以给同一个下载任务添加多个镜像链接,写在一行并用空格分隔每条链接;", + "- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.": "- 链接可以是 HTTP(S)、FTP 和磁力链接。", + "Download settings": "下载设置", + "Advanced settings": "高级设置", + Cancel: "取消", + Start: "开始", + Choose: "选择", + "Quick Access (shown on the main page)": "快速访问(在主页上显示)", + "Add Downloads By Torrents": "使用种子下载", + "- Select the torrent from the local filesystem to start the download.": + "- 从本地文件系统选择种子文件开始下载;", + "- You can select multiple torrents to start multiple downloads.": + "- 你可以同时选择多个种子来启动多个下载;", + "- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.": + "- 如果要添加磁力链接,请使用添加链接的方式。", + "Select Torrents": "选择种子文件", + "Select a Torrent": "选择种子文件", + "Add Downloads By Metalinks": "使用 Metalink 下载", + "Select Metalinks": "选择 Metalink 文件", + "- Select the Metalink from the local filesystem to start the download.": + "* 从本地文件系统选择 Metalink 文件开始下载;", + "- You can select multiple Metalinks to start multiple downloads.": + "* 你可以同时选择多个 Metalink 文件来启动多个下载。", + "Select a Metalink": "选择 Metalink 文件", + "Choose files to start download for": "请选择要下载的文件", + "Select to download": "选择以下载", + "Aria2 RPC host and port": "Aria2 RPC 主机和端口", + "Enter the host": "主机", + "Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)": + "输入 Aria2 RPC 所在服务器的 IP 或域名(默认:localhost)", + "Enter the port": "端口", + "Enter the port of the server on which the RPC for Aria2 is running (default: 6800)": + "输入 Aria2 RPC 端口号(默认:6800)", + "Enter the RPC path": "RPC 路径", + "Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)": + "输入 Aria2 RPC 路径(默认:/jsonrpc)", + "SSL/TLS encryption": "SSL/TLS 加密", + "Enable SSL/TLS encryption": "启用 SSL/TLS 加密", + "Enter the secret token (optional)": "密码令牌(可选)", + "Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)": + "输入 Aria2 RPC 密码令牌(如果未启用则留空)", + "Enter the username (optional)": "用户名(可选)", + "Enter the Aria2 RPC username (empty if authentication not enabled)": + "输入 Aria2 RPC 用户名(如果未启用身份验证则留空)", + "Enter the password (optional)": "密码(可选)", + "Enter the Aria2 RPC password (empty if authentication not enabled)": + "输入 Aria2 RPC 密码(如果未启用身份验证则留空)", + "Enter base URL (optional)": "基本链接地址(可选)", + "Direct Download": "直接下载", + "If supplied, links will be created to enable direct download from the Aria2 server.": + "如果指定该选项,将会创建可以直接从 Aria2 服务器上下载文件的链接。", + "(Requires appropriate webserver to be configured.)": "(需要 WEB 服务器配置正确)", + "Save Connection configuration": "保存连接配置", + Filter: "过滤", + "Aria2 server info": "Aria2 服务器信息", + "Aria2 Version": "Aria2 版本", + "Features Enabled": "已启用功能", + "To download the latest version of the project, add issues or to contribute back, head on to": + "下载最新版本、提交问题或捐助,请访问", + "Or you can open the latest version in the browser through": + "直接在浏览器中使用最新版本,请访问", + Close: "关闭", + "Download status": "当前下载状态", + "Download Speed": "当前下载速度", + "Upload Speed": "当前上传速度", + "Estimated time": "预计剩余时间", + "Download Size": "下载总大小", + Downloaded: "已下载大小", + Progress: "当前下载进度", + "Download Path": "文件下载路径", + Uploaded: "已上传大小", + "Download GID": "下载的 GID", + "Number of Pieces": "文件块数量", + "Piece Length": "每块大小", + "The last connection attempt was unsuccessful. Trying another configuration": + "上次连接请求未成功,正在尝试使用另一个配置", + "Oh Snap!": "糟糕!", + "Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings": + "无法连接到 Aria2 RPC 服务器,将在10秒后重试。您可能需要检查连接设置,请前往 设置 > 连接设置", + "Authentication failed while connecting to Aria2 RPC server. Will retry in 10 secs. You might want to confirm your authentication details by going to Settings > Connection Settings": + "连接到 Aria2 RPC 服务器时认证失败,将在10秒后重试。您可能需要确认您的身份验证信息,请前往 设置 > 连接设置", + "Successfully connected to Aria2 through its remote RPC …": "通过 RPC 连接到 Aria2 成功!", + "Successfully connected to Aria2 through remote RPC, however the connection is still insecure. For complete security try adding an authorization secret token while starting Aria2 (through the flag --rpc-secret)": + "通过 RPC 连接到 Aria2 成功,但是连接并不安全。要想使用安全连接,尝试在启动 Aria2 时添加一个授权密码令牌(通过 --rpc-secret 参数)", + "Trying to connect to aria2 using the new connection configuration": + "正在尝试使用新的连接配置来连接到 Aria2 ……", + "Remove {{name}} and associated meta-data?": "是否删除 {{name}} 和关联的元数据?" + }); + }, + function(e, t) { + "undefined" == typeof translations && (translations = {}), + (translations.zh_TW = { + Search: "搜尋", + Add: "新增", + "By URIs": "使用連結", + "By Torrents": "使用種子", + "By Metalinks": "使用 Metalink", + Manage: "管理", + "Pause All": "暫停所有", + "Resume Paused": "恢復下載", + "Purge Completed": "清除已完成", + "Shutdown Server": "關閉伺服器", + Settings: "設定", + "Connection Settings": "連線設定", + "Global Settings": "全域性設定", + "Server info": "伺服器資訊", + "About and contribute": "關於和捐助", + "Toggle navigation": "切換導航", + Miscellaneous: "雜項", + "Global Statistics": "全域性統計", + About: "關於", + Displaying: "正在顯示", + of: "/", + downloads: "下載", + Language: "語言", + "Download Filters": "下載過濾器", + Running: "執行中", + Active: "活動的", + Waiting: "等待中", + Complete: "已完成", + Error: "出錯的", + Paused: "已暫停", + Removed: "已刪除", + "Hide linked meta-data": "隱藏連線的元資料", + Toggle: "反向選擇", + "Reset filters": "重置過濾器", + Verifing: "正在驗證", + "Verify Pending": "等待驗證", + "Quick Access Settings": "快速訪問設定", + Save: "儲存", + "Save settings": "儲存設定", + "Currently no download in line to display, use the": "當前沒有可顯示的下載項,使用", + "download button to start downloading files!": "按鈕來開始下載!", + Peers: "Peers", + "More Info": "更多資訊", + Remove: "刪除", + "# of": "塊數", + Length: "塊大小", + "Add Downloads By URIs": "使用連結下載", + "- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.": + "- 你可以同時新增多個檔案下載任務,每行下載一個檔案;", + "- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.": + "- 你也可以給同一個下載任務新增多個映象連結,寫在一行並用空格分隔每條連結;", + "- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.": "- 連結可以是 HTTP(S)、FTP 和磁力連結。", + "Download settings": "下載設定", + "Advanced settings": "高階設定", + Cancel: "取消", + Start: "開始", + Choose: "選擇", + "Quick Access (shown on the main page)": "快速訪問(在主頁上顯示)", + "Add Downloads By Torrents": "使用種子下載", + "- Select the torrent from the local filesystem to start the download.": + "- 從本地檔案系統選擇種子檔案開始下載;", + "- You can select multiple torrents to start multiple downloads.": + "- 你可以同時選擇多個種子來啟動多個下載;", + "- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.": + "- 如果要新增磁力連結,請使用新增連結的方式。", + "Select Torrents": "選擇種子檔案", + "Select a Torrent": "選擇種子檔案", + "Add Downloads By Metalinks": "使用 Metalink 下載", + "Select Metalinks": "選擇 Metalink 檔案", + "- Select the Metalink from the local filesystem to start the download.": + "* 從本地檔案系統選擇 Metalink 檔案開始下載;", + "- You can select multiple Metalinks to start multiple downloads.": + "* 你可以同時選擇多個 Metalink 檔案來啟動多個下載。", + "Select a Metalink": "選擇 Metalink 檔案", + "Choose files to start download for": "請選擇要下載的檔案", + "Select to download": "選擇以下載", + "Aria2 RPC host and port": "Aria2 RPC 主機和埠", + "Enter the host": "主機", + "Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)": + "輸入 Aria2 RPC 所在伺服器的 IP 或域名(預設:localhost)", + "Enter the port": "埠號", + "Enter the port of the server on which the RPC for Aria2 is running (default: 6800)": + "輸入 Aria2 RPC 埠號(預設:6800)", + "Enter the RPC path": "RPC 路徑", + "Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)": + "輸入 Aria2 RPC 路徑(預設:/jsonrpc)", + "SSL/TLS encryption": "SSL/TLS 加密", + "Enable SSL/TLS encryption": "啟用 SSL/TLS 加密", + "Enter the secret token (optional)": "密碼令牌(可選)", + "Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)": + "輸入 Aria2 RPC 密碼令牌(如果未啟用則留空)", + "Enter the username (optional)": "使用者名稱(可選)", + "Enter the Aria2 RPC username (empty if authentication not enabled)": + "輸入 Aria2 RPC 使用者名稱(如果未啟用身份驗證則留空)", + "Enter the password (optional)": "密碼(可選)", + "Enter the Aria2 RPC password (empty if authentication not enabled)": + "輸入 Aria2 RPC 密碼(如果未啟用身份驗證則留空)", + "Enter base URL (optional)": "基本連結地址(可選)", + "Direct Download": "直接下載", + "If supplied, links will be created to enable direct download from the Aria2 server.": + "如果指定該選項,將會建立可以直接從 Aria2 伺服器上下載檔案的連結。", + "(Requires appropriate webserver to be configured.)": "(需要 WEB 伺服器配置正確)", + "Save Connection configuration": "儲存連線配置", + Filter: "過濾", + "Aria2 server info": "Aria2 伺服器資訊", + "Aria2 Version": "Aria2 版本", + "Features Enabled": "已啟用功能", + "To download the latest version of the project, add issues or to contribute back, head on to": + "下載最新版本、提交問題或捐助,請訪問", + "Or you can open the latest version in the browser through": + "直接在瀏覽器中使用最新版本,請訪問", + Close: "關閉", + "Download status": "當前下載狀態", + "Download Speed": "當前下載速度", + "Upload Speed": "當前上傳速度", + "Estimated time": "預計剩餘時間", + "Download Size": "下載總大小", + Downloaded: "已下載大小", + Progress: "當前下載進度", + "Download Path": "檔案下載路徑", + Uploaded: "已上傳大小", + "Download GID": "下載的 GID", + "Number of Pieces": "檔案塊數量", + "Piece Length": "每塊大小", + "The last connection attempt was unsuccessful. Trying another configuration": + "上次連線請求未成功,正在嘗試使用另一個配置", + "Oh Snap!": "糟糕!", + "Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings": + "無法連線到 Aria2 RPC 伺服器,將在10秒後重試。您可能需要檢查連線設定,請前往 設定 > 連線設定", + "Authentication failed while connecting to Aria2 RPC server. Will retry in 10 secs. You might want to confirm your authentication details by going to Settings > Connection Settings": + "連線到 Aria2 RPC 伺服器時認證失敗,將在10秒後重試。您可能需要確認您的身份驗證資訊,請前往 設定 > 連線設定", + "Successfully connected to Aria2 through its remote RPC …": "通過 RPC 連線到 Aria2 成功!", + "Successfully connected to Aria2 through remote RPC, however the connection is still insecure. For complete security try adding an authorization secret token while starting Aria2 (through the flag --rpc-secret)": + "通過 RPC 連線到 Aria2 成功,但是連線並不安全。要想使用安全連線,嘗試在啟動 Aria2 時新增一個授權密碼令牌(通過 --rpc-secret 引數)", + "Trying to connect to aria2 using the new connection configuration": + "正在嘗試使用新的連線配置來連線到 Aria2 ……", + "Remove {{name}} and associated meta-data?": "是否刪除 {{name}} 和關聯的元資料?" + }); + }, + function(e, t) { + "undefined" == typeof translations && (translations = {}), + (translations.pl_PL = { + Search: "Szukaj", + Add: "Dodaj", + "By URIs": "Przez URL", + "By Torrents": "Przez Torrenty", + "By Metalinks": "Przez Metalinki", + Manage: "Zarządzaj", + "Pause All": "Zatrzymaj wszystkie", + "Resume Paused": "Wznów zatrzymane", + "Purge Completed": "Czyść zakończone", + Settings: "Ustawienia", + "Connection Settings": "Ustawienia połączenia", + "Global Settings": "Ustawienia globalne", + "Server info": "Informacje o serwerze", + "About and contribute": "O projekcie", + "Toggle navigation": "Przełącz nawigację", + Miscellaneous: "Różne", + "Global Statistics": "Statystyki globalne", + About: "O", + Displaying: "Wyświetlanie", + of: "z", + downloads: "pobranych plików", + Language: "Język", + "Download Filters": "Filtry ściągania", + Running: "Uruchomione", + Active: "Aktywne", + Waiting: "Oczekujące", + Complete: "Zakończone", + Error: "Błąd", + Paused: "Zatrzymane", + Removed: "Usunięte", + "Hide linked meta-data": "Ukryj zalinkowane meta-dane", + Toggle: "Przełącz", + "Reset filters": "Reset filtrów", + "Quick Access Settings": "Ustawienia szybkiego dostępu", + "Save settings": "Zapisz ustawienia", + "Currently no download in line to display, use the": + "Obecnie nie można wyświetlić żadnych pobieranych plików. Użyj przycisku", + "download button to start downloading files!": "aby rozpocząć ściąganie plików!", + Peers: "Peerów", + "More Info": "Więcej info", + Remove: "Usuń", + "# of": "# z", + Length: "Długość", + "Add Downloads By URIs": "Dodaj pobieranie przez URI", + "- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.": + "- Możesz dodać wiele pobrań (plików) w tym samym czasie przez wprowadzenie URI dla każdego w oddzielnej linii.", + "- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.": + "- Możesz także dodać wiele URI (luster) dla tego *samego* pliku. Zrób to, poprzez oddzielenie URI od siebie spacją.", + "- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.": + "- URI może być HTTP(S)/FTP/BitTorrent-Magnet.", + "Download settings": "Ustawienia pobierania", + "Advanced settings": "Zaawansowane ustawienia", + Cancel: "Anuluj", + Start: "Rozpocznij", + Choose: "Wybierz", + "Quick Access (shown on the main page)": "Szybki dostęp (pokazywane na głównej stronie)", + "Add Downloads By Torrents": "Dodaj pobierania przez Torrenty", + "- Select the torrent from the local filesystem to start the download.": + "- Wybierz torrent z lokalnego systemu plików, aby rozpocząć pobieranie.", + "- You can select multiple torrents to start multiple downloads.": + "- Możesz wybrać wiele torrentów do rozpoczęcia wiele pobrań.", + "- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.": + "- Aby dodać BitTorrent-URL Magnetyczny, użyj opcji dodawania przez URI i dodaj to tutaj.", + "Select Torrents": "Wybierz Torrenty", + "Select a Torrent": "Wybierz Torrent", + "Add Downloads By Metalinks": "Dodaj pobierania przez Metalinki", + "Select Metalinks": "Wybierz Metalinki", + "- Select the Metalink from the local filesystem to start the download.": + "- Wybierz Metalinki z lokalnego systemu plików, aby rozpocząć pobieranie.", + "- You can select multiple Metalinks to start multiple downloads.": + "- Możesz wybrać wiele Metalinków, aby rozpocząć wiele pobrań.", + "Select a Metalink": "Wybierz Metalink", + "Choose files to start download for": "Wybierz pliki, aby rozpocząć pobieranie dla", + "Select to download": "Wybierz do pobierania", + "Aria2 RPC host and port": "Aria2 RPC host i port", + "Enter the host": "Wprowadź host", + "Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)": + "Wprowadź IP lub nazwę DNS serwera, na którym jest uruchomiona Aria2 z RPC (domyślnie: localhost)", + "Enter the port": "Wprowadź port", + "Enter the port of the server on which the RPC for Aria2 is running (default: 6800)": + "Wprowadź port serwera, na którym Aria2 z RPC jest uruchomiona (domyślnie 6800)", + "Enter the RPC path": "Wprowadź ścieżkę RPC", + "Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)": + "Wprowadź ścieżkę dla punktu końcowego Aria2 RPC (domyślnie: /jsonrpc)", + "SSL/TLS encryption": "szyfrowanie SSL/TLS", + "Enable SSL/TLS encryption": "Włącz szyfrowanie SSL/TLS", + "Enter the secret token (optional)": "Wprowadź sekretny token (opcja dodatkowa)", + "Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)": + "Wprowadź sekretny token Aria2 RPC (pozostaw puste, jeżeli uwierzytelnienie nie jest włączone)", + "Enter the username (optional)": "Wprowadź nazwę użytkownika (opcja dodatkowa)", + "Enter the Aria2 RPC username (empty if authentication not enabled)": + "Wprowadź nazwę użytkownika Aria2 RPC (pozostaw puste, jeżeli uwierzytelnienie nie jest włączone)", + "Enter the password (optional)": "Wprowadź hasło (opcja dodatkowa)", + "Enter the Aria2 RPC password (empty if authentication not enabled)": + "Wprowadź hasło Aria2 RPC (pozostaw puste, jeżeli uwierzytelnienie nie jest włączone)", + "Enter base URL (optional)": "Wprowadź podstawowy URL (opcja dodatkowa)", + "Direct Download": "Bezpośrednie pobieranie", + "If supplied, links will be created to enable direct download from the Aria2 server.": + "Jeżeli zaznaczone, linki mogą być utworzone do włączenia bezpośredniego pobierania z serwera Aria2", + "(Requires appropriate webserver to be configured.)": + "(Wymaga właściwej konfiguracji serwera WWW)", + "Save Connection configuration": "Zapisz konfigurację połączenia", + Filter: "Filtr", + "Aria2 server info": "Info o serwerze Aria2", + "Aria2 Version": "Wersja Aria2", + "Features Enabled": "Włączone funkcje", + "To download the latest version of the project, add issues or to contribute back, head on to": + "Aby ściągnąć najnowszą wersję projektu, dodać zgłodzenia lub wspomagać projekt, udaj się do", + "Or you can open the latest version in the browser through": + "Lub otwórz najnowszą wersję przez przeglądarkę", + Close: "Zamknij", + "Download status": "Status pobierania", + "Download Speed": "Szybkość pobierania", + "Upload Speed": "Szybkość wysyłania", + "Estimated time": "Pozostały czas", + "Download Size": "Rozmiar pobierania", + Downloaded: "Pobrane", + Progress: "Postęp", + "Download Path": "Ścieżka pobierania", + Uploaded: "Załadowany", + "Download GID": "GID pobierania", + "Number of Pieces": "Liczba kawałków", + "Piece Length": "Rozmiar kawałka", + "Shutdown Server": "Wyłącz serwer", + "The last connection attempt was unsuccessful. Trying another configuration": + "Ostatnia próba połączenia nie powiodła się. Spróbuj innej konfiguracji", + "Oh Snap!": "O kurczę!", + "Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings": + "Nie można połączyć się z serwerem aria2 przez RPC. Kolejna próba za 10 sekund. Być może potrzebujesz sprawdzić ustawienie połączenia poprzez Ustawienia > Ustawienia połączenia", + "Successfully connected to Aria2 through its remote RPC …": + "Pomyślnie połączono się z Aria2 przez RPC ...", + "Successfully connected to Aria2 through remote RPC, however the connection is still insecure. For complete security try adding an authorization secret token while starting Aria2 (through the flag --rpc-secret)": + "Pomyślnie połączono się z Aria2 przez RPC, jednakże połączenie nie jest bezpieczne. Aby zabezpieczyć dodaj sekretny token autoryzacji podczas startu Aria2 (przez użycie flagi --rpc-secret)", + "Trying to connect to aria2 using the new connection configuration": + "Próba połączenia się z Aria2 poprzez użycie nowej konfiguracji połączenia" + }); + }, + function(e, t) { + "undefined" == typeof translations && (translations = {}), + (translations.fr_FR = { + Search: "Rechercher", + Add: "Ajouter", + "By URIs": "Par URIs", + "By Torrents": "Par Torrents", + "By Metalinks": "Par Metaliens", + Manage: "Gérer", + "Pause All": "Tout suspendre", + "Resume Paused": "Reprendre", + "Purge Completed": "Nettoyer les fichiers complétés", + Settings: "Paramètres", + "Connection Settings": "Paramètres de connexion", + "Global Settings": "Paramètres globaux", + "Server info": "Informations serveur", + "About and contribute": "À propos et contribuer", + "Toggle navigation": "Basculer la navigation", + Miscellaneous: "Autres", + "Global Statistics": "Statistiques globales", + About: "À propos", + Displaying: "Affichage de", + of: "parmi", + downloads: "téléchargements", + Language: "Langue", + "Download Filters": "Filtres de téléchargement", + Running: "En cours", + Active: "Actifs", + Waiting: "En attente", + Complete: "Complétés", + Error: "Erreurs", + Paused: "En pause", + Removed: "Supprimés", + "Hide linked meta-data": "Cacher les métadonnées liées", + Toggle: "Basculer", + "Reset filters": "Réinitialiser les filtres", + Verifing: "Vérification", + "Verify Pending": "Vérification en attente", + "Quick Access Settings": "Paramètres d'accès rapide", + Save: "Sauvegarder", + "Save settings": "Sauvegarder les paramètres", + "Currently no download in line to display, use the": + "Aucun téléchargement dans la file d'attente, utilisez le bouton de téléchargement", + "download button to start downloading files!": + "pour commencer à télécharger des fichiers !", + Peers: "Pairs", + "More Info": "Plus d'infos", + Remove: "Supprimer", + "# of": "# parmi", + Length: "Longueur", + "Add Downloads By URIs": "Ajouter des téléchargements depuis des URIs", + "- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.": + "Vous pouvez ajouter plusieurs téléchargements (fichiers) en même temps, en mettant une URI pour chaque fichier sur une nouvelle ligne", + "- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.": + "Vous pouvez aussi ajouter plusieurs URIs (mirroirs) pour le *même* fichier. Pour ce faire, séparez les URIs par un espace.", + "- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.": + "Une URI peut être HTTP(S)/FTP/BitTorrent-Magnet.", + "Download settings": "Paramètres de téléchargement", + "Advanced settings": "Paramètres avancés", + Cancel: "Annuler", + Start: "Démarrer", + Choose: "Choisir", + "Quick Access (shown on the main page)": "Accès rapide (affiché sur la page principale", + "Add Downloads By Torrents": "Ajouter des téléchargements à partir de fichiers Torrent", + "- Select the torrent from the local filesystem to start the download.": + "- Sélectionnez le torrent depuis votre système de fichier local pour commencer le téléchargement.", + "- You can select multiple torrents to start multiple downloads.": + "Vous pouvez sélectionner plusieurs torrents pour commencer plusieurs téléchargements.", + "- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.": + "Pour ajouter une URL BitTorrent-Magnet, utilisez l'option Ajouter par URIs et ajoutez-la à ce niveau.", + "Select Torrents": "Sélectionner des Torrents", + "Select a Torrent": "Sélectionner un Torrent", + "Add Downloads By Metalinks": "Ajouter des téléchargements par Metaliens", + "Select Metalinks": "Sélectionner des Métaliens", + "- Select the Metalink from the local filesystem to start the download.": + "Sélectionner le Métalien depuis votre système de fichier local pour commencer le téléchargement.", + "- You can select multiple Metalinks to start multiple downloads.": + "Vous pouvez sélectionner plusieurs Métaliens pour commencer plusieurs téléchargements.", + "Select a Metalink": "Sélectionner un Métalien", + "Choose files to start download for": + "Sélectionner les fichiers pour lesquels commencer le téléchargement.", + "Select to download": "Sélectionner pour télécharger", + "Aria2 RPC host and port": "Hôte et ports Aria2 RPC", + "Enter the host": "Entrer l'hôte", + "Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)": + "Entrer l'IP ou le nom DNS du serveur sur lequel est lancé le RPC pour Aria2 (défaut : localhost)", + "Enter the port": "Entrer le port", + "Enter the port of the server on which the RPC for Aria2 is running (default: 6800)": + "Entrer le port du serveur sur lequel tourne le RPC pour Aria2 (défaut : 6800)", + "Enter the RPC path": "Entrer le chemin vers le RPC", + "Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)": + "Entrer le chemin final pour le RPC Aria2 (défaut : /jsonrpc)", + "SSL/TLS encryption": "Chiffrage SSL/TLS", + "Enable SSL/TLS encryption": "Activer le chiffrage SSL/TLS", + "Enter the secret token (optional)": "Entrer le token secret (optionnel)", + "Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)": + "Entrer le token secret pour le RPC Aria2 (laisser vide si l'authentification n'est pas activée)", + "Enter the username (optional)": "Entrer le nom d'utilisateur (optionnel)", + "Enter the Aria2 RPC username (empty if authentication not enabled)": + "Entrer le nom d'utilisateur RPC Aria2 (laisser vide si l'authentification n'est pas activée)", + "Enter the password (optional)": "Entrer le mot de passe (optionnel)", + "Enter the Aria2 RPC password (empty if authentication not enabled)": + "Entrer le mot de passe RPC Aria2 (laisser vide si l'authentification n'est pas activée)", + "Enter base URL (optional)": "Entrez l'URL de base", + "Direct Download": "Téléchargement direct", + "If supplied, links will be created to enable direct download from the Aria2 server.": + "S'ils sont fournis, les liens seront créés pour activer le téléchargement direct depuis le serveur Aria2", + "(Requires appropriate webserver to be configured.)": + "(Nécessite un serveur web approprié pour être configuré)", + "Save Connection configuration": "Sauvegarder la configuration de connexion", + Filter: "Filtre", + "Aria2 server info": "Infos serveur Aria2", + "Aria2 Version": "Version Aria2", + "Features Enabled": "Fonctionnalités activées", + "To download the latest version of the project, add issues or to contribute back, head on to": + "Pour télécharger la dernière version du projet, signaler des problèmes ou pour contribuer, aller à l'adresse", + "Or you can open the latest version in the browser through": + "Ou vous pouvez ouvrir la dernière version dans le navigateur depuis", + Close: "Fermer", + "Download status": "Statut de téléchargement", + "Download Speed": "Vitesse de téléchargement", + "Upload Speed": "Vitesse d'envoi", + "Estimated time": "Temps estimé", + "Download Size": "Taille du téléchargement", + Downloaded: "Téléchargé", + Progress: "Avancement", + "Download Path": "Chemin de téléchargement", + Uploaded: "Envoyé", + "Download GID": "GID du téléchargement", + "Number of Pieces": "Nombre de pièces", + "Piece Length": "Taille de la pièce", + "Shutdown Server": "Arrêter le serveur", + "The last connection attempt was unsuccessful. Trying another configuration": + "La dernière tentative de connexion a échoué. Essai d'une autre configuration", + "Oh Snap!": "Oh non !", + "Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings": + "Impossible de se connecter au serveur RPC d'aria2. Nouvel essai dans 10 secondes. Vous voudrez peut-être vérifier les paramètres de connexion en allant dans Paramètres > Paramètres de connexion", + "Authentication failed while connecting to Aria2 RPC server. Will retry in 10 secs. You might want to confirm your authentication details by going to Settings > Connection Settings": + "Erreur d'authentification lors de la connexion au serveur RPC d'aria2. Nouvel essai dans 10 secondes. Vous voudrez peut-être confirmer les renseignements d'authentification en allant dans Paramètres > Paramètres de connexion", + "Successfully connected to Aria2 through its remote RPC …": + "Connexion réussie à aria2 via son interface RPC …", + "Successfully connected to Aria2 through remote RPC, however the connection is still insecure. For complete security try adding an authorization secret token while starting Aria2 (through the flag --rpc-secret)": + "Connexion réussie à aria2 via l'interface RPC, cependant la connexion n'est toujours pas sécurisée. Pour une sécurité complète, essayez d'ajouter un token secret d'autorisation en lançant aria2 (à l'aide de l'option --rpc-secret)", + "Trying to connect to aria2 using the new connection configuration": + "Tentative de connexion à aria2 avec la nouvelle configuration", + "Remove {{name}} and associated meta-data?": + "Supprimer {{name}} et les métadonnées associées" + }); + }, + function(e, t) { + "undefined" == typeof translations && (translations = {}), + (translations.de_DE = { + Search: "Suche", + Add: "Hinzufügen", + "By URIs": "mit URIs", + "By Torrents": "mit Torrents", + "By Metalinks": "mit Metalinks", + Manage: "Verwalten", + "Pause All": "Alle anhalten", + "Resume Paused": "Angehaltene fortsetzen", + "Purge Completed": "Fertige entfernen", + Settings: "Einstellungen", + "Connection Settings": "Verbindungseinstellungen", + "Global Settings": "Globale Einstellungen", + "Server info": "Server Information", + "About and contribute": "Über webui-aria2", + "Toggle navigation": "Navigation an/ausschalten", + Miscellaneous: "Verschiedenes", + "Global Statistics": "Globale Statistiken", + About: "Über", + Displaying: "Anzeige", + of: "von", + downloads: "Downloads", + Language: "Sprache", + "Download Filters": "Download Filter", + Running: "Laufende", + Active: "Aktive", + Waiting: "Wartende", + Complete: "Fertige", + Error: "Fehler", + Paused: "Angehaltene", + Removed: "Gelöschte", + "Hide linked meta-data": "Blende verlinkte Meta-Daten aus", + Toggle: "Umschalten", + "Reset filters": "Filter zurücksetzen", + "Quick Access Settings": "Ausgewählte Einstellungen", + "Save settings": "Einstellungen speichern", + "Currently no download in line to display, use the": + "Aktuell sind keine Downloads vorhanden, bitte benutz den", + "download button to start downloading files!": + "Download Link um den Download von Dateien zu beginnen!", + Peers: "Peers", + "More Info": "Mehr Infos", + Remove: "Entfernen", + "# of": "# von", + Length: "Länge", + "Add Downloads By URIs": "Downloads anhand von URIs hinzufügen", + "- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.": + "- Es können mehrere Downloads (Dateien) gleichzeitig hinzugefügt werden, indem jede URI in eine separate Zeile eingegeben wird.", + "- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.": + "- Es können auch mehrere URIs (Spiegelserver) für *dieselbe* Datei durch Leerzeichen getrennt angegeben werden.", + "- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.": + "- Eine URI kann folgende Protokolle besitzen: HTTP(S)/FTP/BitTorrent-Magnet.", + "Download settings": "Download Einstellungen", + "Advanced settings": "Erweiterte Einstellungen", + Cancel: "Abbrechen", + Start: "Beginnen", + Choose: "Auswählen", + "Quick Access (shown on the main page)": "Schnellzugriff (Anzeige auf der Hauptseite)", + "Add Downloads By Torrents": "Downloads mit Torrents hinzufügen", + "- Select the torrent from the local filesystem to start the download.": + "- Wähle ein Torrent vom lokalen Dateisystem um den Download zu starten", + "- You can select multiple torrents to start multiple downloads.": + "- Es können mehrere Torrents ausgewählt werden um mehrere Downloads zu starten", + "- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.": + "- Für BitTorrent-Magnet URLs benutz die Option 'Mit URIs hinzufügen'", + "Select Torrents": "Wähle Torrents", + "Select a Torrent": "Wähle ein Torrent", + "Add Downloads By Metalinks": "Download mit Metalinks hinzufügen", + "Select Metalinks": "Wähle Metalinks", + "- Select the Metalink from the local filesystem to start the download.": + "- Wähle ein Metalink vom lokalen Dateisystem um den Download zu starten", + "- You can select multiple Metalinks to start multiple downloads.": + "- Es können mehrere Metalinks ausgewählt werden um mehrere Downloads zu starten", + "Select a Metalink": "Wähle einen Metalink", + "Choose files to start download for": "Wähle Dateien für den Download aus", + "Select to download": "Wähle zum Download", + "Aria2 RPC host and port": "Aria2 RPC host und port", + "Enter the host": "Host", + "Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)": + "Gib die IP oder den DNS Namen des Servers ein, auf dem Aria2 läuft und mit dem du eine RPC-Verbindung etablieren willst (Standard: localhost)", + "Enter the port": "Port", + "Enter the port of the server on which the RPC for Aria2 is running (default: 6800)": + "Gib den Port des Servers ein, auf dem der RPC-Dienst von Aria2 läuft (Standard: 6800)", + "Enter the RPC path": "RPC Pfad", + "Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)": + "Gib den Pfad zum Aria2 RPC Endpunkt an (Standard: /jsonrpc)", + "SSL/TLS encryption": "SSL/TLS", + "Enable SSL/TLS encryption": "Aktiviere SSL/TLS Verschlüsselung", + "Enter the secret token (optional)": "Secret Token (optional)", + "Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)": + "Gib den Aria2 RPC secret Token ein (leer lassen falls keine Authentifizierung aktiv)", + "Enter the username (optional)": "Benutzername (optional)", + "Enter the Aria2 RPC username (empty if authentication not enabled)": + "Gib den Aria2 RPC Benutzernamen ein (leer lassen falls keine Authentifizierung aktiv)", + "Enter the password (optional)": "Passwort (optional)", + "Enter the Aria2 RPC password (empty if authentication not enabled)": + "Gib das Aria2 RPC Passwort ein (leer lassen falls keine Authentifizierung aktiv)", + "Enter base URL (optional)": "Base URL (optional)", + "Direct Download": "Direkter Download", + "If supplied, links will be created to enable direct download from the Aria2 server.": + "Falls angegeben, werden Links erstellt um einen direkten Download vom Aria2 Server zu ermöglichen", + "(Requires appropriate webserver to be configured.)": + "(Es wird ein entsprechend konfigurierter WebServer benötigt.)", + "Save Connection configuration": "Speichern der Verbindungseinstellung", + Filter: "Filter", + "Aria2 server info": "Aria2 Server Info", + "Aria2 Version": "Aria2 Version", + "Features Enabled": "Aktive Funktionen", + "To download the latest version of the project, add issues or to contribute back, head on to": + "Um die neuste Version des Projects zu laden, Fehler zu melden oder sich zu beteiligen, besuch", + "Or you can open the latest version in the browser through": + "Oder du kannst die neueste Version direkt in deinem Browser verwenden", + Close: "Schließen", + "Download status": "Download Status", + "Download Speed": "Download Geschwindigkeit", + "Upload Speed": "Upload Geschwindigkeit", + "Estimated time": "Geschätzte Zeit", + "Download Size": "Download Größe", + Downloaded: "Heruntergeladen", + Progress: "Fortschritt", + "Download Path": "Download Pfad", + Uploaded: "Hochgeladen", + "Download GID": "Download GID", + "Number of Pieces": "Anzahl der Stücken", + "Piece Length": "Größe der Stücken" + }); + }, + function(e, t) { + "undefined" == typeof translations && (translations = {}), + (translations.es_ES = { + Search: "Buscar", + Add: "Añadir", + "By URIs": "URIs", + "By Torrents": "Torrents", + "By Metalinks": "Metalinks", + Manage: "Administrar", + "Pause All": "Pausar Todos", + "Resume Paused": "Reanudar Pausados", + "Purge Completed": "Purgar Completados", + "Shutdown Server": "Desactivar servidor", + Settings: "Ajustes", + "Connection Settings": "Ajustes de Conexión", + "Global Settings": "Ajustes Globales", + "Server info": "Info de Servidor", + "About and contribute": "Acerca y Colaborar", + "Toggle navigation": "Conmutar Navegación", + Miscellaneous: "Otros", + "Global Statistics": "Estadísticas Globales", + About: "Acerca de", + Displaying: "Mostrando", + of: "de", + downloads: "descargas", + Language: "Idioma", + "Download Filters": "Filtros de Descargas", + Running: "Procesando", + Active: "Activo", + Waiting: "Esperando", + Complete: "Completo", + Error: "Error", + Paused: "En Pausa", + Removed: "Eliminado", + "Hide linked meta-data": "Ocultar metadatos adjuntos", + Toggle: "Conmutar", + "Reset filters": "Restablecer Filtros", + Verifing: "Verificando", + "Verify Pending": "Pendiente de verificación", + "Quick Access Settings": "Ajustes Rápidos", + Save: "Guardar", + "Save settings": "Guardar Ajustes", + "Currently no download in line to display, use the": + "En este momento no hay descargas para mostrar. ¡Use la opción", + "download button to start downloading files!": "para empezar a descargar sus archivos!", + Peers: "Pares", + "More Info": "Mas Info", + Remove: "Eliminar", + "# of": "# de", + Length: "Longitud", + "Add Downloads By URIs": "Añadir descargas por URIs", + "- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.": + "Añada varias descargas colocando la URI de cada descarga en una línea separada.", + "- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.": + "Puede añadir URIs de espejo para *el mismo* archivo. Separe cada URI con un espacio.", + "- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.": + "Una URI puede ser HTTP(S), FTP, BitTorrent o Magnet.", + "Download settings": "Ajustes de Descargas", + "Advanced settings": "Ajustes Avanzados", + Cancel: "Cancelar", + Start: "Iniciar", + Choose: "Escoja", + "Quick Access (shown on the main page)": "Acceso Rápido (Se muestra en la pág principal)", + "Add Downloads By Torrents": "Añadir descargas Torrent", + "- Select the torrent from the local filesystem to start the download.": + "Seleccione el archivo Torrent de su equipo para iniciar la descarga", + "- You can select multiple torrents to start multiple downloads.": + "Puede seleccionar varios torrents", + "- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.": + "Para los enlaces Magnet, salga de este cuadro y use la opción Añadir URI", + "Select Torrents": "Escoja los Torrents", + "Select a Torrent": "Escoja el Torrent", + "Add Downloads By Metalinks": "Añadir descargas Metalink", + "Select Metalinks": "Seleccione el Metalink", + "- Select the Metalink from the local filesystem to start the download.": + "Escoja el archivo Metalink de su equipo para iniciar la descarga", + "- You can select multiple Metalinks to start multiple downloads.": + "Puede escoger varios archivos Metalink", + "Select a Metalink": "Escoja el archivo Metalink", + "Choose files to start download for": "Escoja los archivos que desea descargar", + "Select to download": "Escoja que descargar", + "Aria2 RPC host and port": "Servidor Aria2 y puerto", + "Enter the host": "Escriba la dirección", + "Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)": + "Escriba la dirección o nombre DNS del servidor Aria2 (por defecto: localhost)", + "Enter the port": "Escriba el puerto", + "Enter the port of the server on which the RPC for Aria2 is running (default: 6800)": + "Escriba el número del puerto del servidor Aria2 (por defecto: 6800)", + "Enter the RPC path": "Escriba la ruta RPC", + "Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)": + "Escriba la ruta de acceso RPC de Aria2 (por defecto: /jsonrpc)", + "SSL/TLS encryption": "Cifrado SSL/TLS", + "Enable SSL/TLS encryption": "Habilitar Cifrado SSL/TLS", + "Enter the secret token (optional)": "Escriba la frase Token (opcional)", + "Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)": + "Escriba la frase Token secreta (vacío si la autenticación está deshabilitada)", + "Enter the username (optional)": "Usuario (opcional)", + "Enter the Aria2 RPC username (empty if authentication not enabled)": + "Escriba el nombre de usuario (vacío si la autenticación está deshabilitada)", + "Enter the password (optional)": "Escriba la contraseña", + "Enter the Aria2 RPC password (empty if authentication not enabled)": + "Escriba la contraseña RPC (vacío si la autenticación está deshabilitada)", + "Enter base URL (optional)": "Escriba la URL base (opcional)", + "Direct Download": "Descarga Directa", + "If supplied, links will be created to enable direct download from the Aria2 server.": + "Esto permite crear enlaces de descarga de los archivos desde el servidor Aria2", + "(Requires appropriate webserver to be configured.)": + "(Requiere configuración apropiada del servidor web)", + "Save Connection configuration": "Guardar Configuración", + Filter: "Filrar", + "Aria2 server info": "Información de servidor Aria2", + "Aria2 Version": "Aria2 versión", + "Features Enabled": "Funcionalidad disponible", + "To download the latest version of the project, add issues or to contribute back, head on to": + "Para obtener la última versión del proyecto, reportar problemas o colaborar, vaya a", + "Or you can open the latest version in the browser through": + "Puede abrir la última versión en su navegador, directamente", + Close: "Cerrar", + "Download status": "Estado de descarga", + "Download Speed": "Velocidad de descarga", + "Upload Speed": "Vel. Subida", + "Estimated time": "Tiempo estimado", + "Download Size": "Tamaño de descarga", + Downloaded: "Descargado", + Progress: "Progreso", + "Download Path": "Carpeta de descarga", + Uploaded: "Subido", + "Download GID": "GID de Descarga", + "Number of Pieces": "N° de Piezas", + "Piece Length": "Tamaño de pieza", + "The last connection attempt was unsuccessful. Trying another configuration": + "El último intento de conexión falló. Probando otra configuración", + "Oh Snap!": "Rayos…", + "Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings": + "No se pudo establecer una conexión al servidor Aria2. Reintentando en 10 segundos. Pruebe revisando la configuración en Ajustes > Ajustes de Conexión", + "Authentication failed while connecting to Aria2 RPC server. Will retry in 10 secs. You might want to confirm your authentication details by going to Settings > Connection Settings": + "Autenticación fallida con el servior Aria2 RPC. Reintentando en 10 segundos. Puede que sea necesario revisar su info de autenticación en Ajustes > Ajustes de Conexión", + "Successfully connected to Aria2 through its remote RPC …": + "Conexión exitosa con el servidor Aria2 mediante la interfaz RPC", + "Successfully connected to Aria2 through remote RPC, however the connection is still insecure. For complete security try adding an authorization secret token while starting Aria2 (through the flag --rpc-secret)": + "Conexión exitosa con el servidor Aria2 mediante la interfaz RPC, sin embargo la conexión no es segura. Para mejorar la seguridad, añada un token de autorización al iniciar Aria2 (con la opción --rpc-secret)", + "Trying to connect to aria2 using the new connection configuration": + "Intentando conectar con el servidor Aria2 usando los nuevos Ajustes de Conexión" + }); + }, + function(e, t) { + "undefined" == typeof translations && (translations = {}), + (translations.ru_RU = { + Search: "Поиск", + Add: "Добавить", + "By URIs": "URL-адреса", + "By Torrents": "Torrent-файлы", + "By Metalinks": "Metalink-файлы", + Manage: "Управление", + "Pause All": "Приостановить всё", + "Resume Paused": "Возобновить всё", + "Purge Completed": "Удалить завершенные", + Settings: "Настройки", + "Connection Settings": "Настройки соединения", + "Global Settings": "Глобальные настройки", + "Server info": "Информация о сервере", + "About and contribute": "Информация и сотрудничество", + "Toggle navigation": "Переключение навигации", + Miscellaneous: "Разное", + "Global Statistics": "Глобальная статистика", + About: "Об", + Displaying: "Показано", + of: "из", + downloads: "загрузок", + Language: "Язык", + "Download Filters": "Фильтр загрузок", + Running: "Запущенные", + Active: "Активные", + Waiting: "Ожидающие", + Complete: "Завершенные", + Error: "С ошибками", + Paused: "Приостановленные", + Removed: "Удаленные", + "Hide linked meta-data": "Скрыть связанные метаданные", + Toggle: "Переключить", + "Reset filters": "Сбросить фильтры", + "Quick Access Settings": "Настройки быстрого доступа", + "Save settings": "Сохранить настройки", + "Currently no download in line to display, use the": + "На данный момент ничего не загружается, используйте кнопку", + "download button to start downloading files!": "чтобы начать загрузку файла!", + Peers: "Пиры", + "More Info": "Информация", + Remove: "Удалить", + "# of": "# из", + Length: "Размер", + "Add Downloads By URIs": "Добавить загрузки из URL-адресов", + "- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.": + "- Вы можете добавить несколько загрузок (файлов) одновременно, помещая URL-адреса для каждого файла на отдельной строке.", + "- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.": + "- Можно также добавить несколько URL-адресов (зеркал) для *одного* файла. Для этого отделите URL-адреса пробелом.", + "- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.": + "- URL-адрес может быть HTTP(S)/FTP/BitTorrent-Magnet.", + "Download settings": "Настройки загрузки", + "Advanced settings": "Расширенные настройки", + Cancel: "Отмена", + Start: "Начать", + Choose: "Выбрать", + "Quick Access (shown on the main page)": "Простой доступ (смотреть на главной странице)", + "Add Downloads By Torrents": "Добавить загрузку из Torrent-файлов", + "- Select the torrent from the local filesystem to start the download.": + "- Выберите Torrent-файлы из локальной файловой системы для начала загрузку.", + "- You can select multiple torrents to start multiple downloads.": + "- Вы можете выбрать несколько Torrent-файлы для запуска нескольких загрузок.", + "- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.": + "- Для добавления BitTorrent-Magnet ссылки воспользуйтесь пунктом меню *Добавить из URL-адреса*", + "Select Torrents": "Выберите торренты", + "Select a Torrent": "Выберите торрент", + "Add Downloads By Metalinks": "Добавить загрузку из Metalink-файлов", + "Select Metalinks": "Выбрать Metalink-файлы", + "- Select the Metalink from the local filesystem to start the download.": + "- Выберите Metalink-файлы из локальной файловой системы для начала загрузки", + "- You can select multiple Metalinks to start multiple downloads.": + "- Вы можете выбрать несколько Metalink-файлов для запуска нескольких загрузок.", + "Select a Metalink": "Выберите Metalink", + "Choose files to start download for": "Выберите файлы чтобы начать загрузку для", + "Select to download": "Выберите для загрузки", + "Aria2 RPC host and port": "Aria2 RPC хост и порт", + "Enter the host": "Укажите хост", + "Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)": + "Укажите IP или DNS-имя сервера, на котором запущена Aria2 со включенным RPC (по умолчанию: localhost)", + "Enter the port": "Укажите порт", + "Enter the port of the server on which the RPC for Aria2 is running (default: 6800)": + "Укажите порт сервера, на котором запущена Aria2 со включенным RPC (по умолчанию: 6800)", + "Enter the RPC path": "Укажите путь RPC", + "Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)": + "Укажите конечный путь для Aria2 RPC (по умолчанию: /jsonrpc)", + "SSL/TLS encryption": "SSL/TLS шифрование", + "Enable SSL/TLS encryption": "Разрешить SSL/TLS шифрование", + "Enter the secret token (optional)": "Укажите секретный токен (необязательно)", + "Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)": + "Укажите секретный токен Aria2 RPC (оставьте пустым, если авторизация не включена)", + "Enter the username (optional)": "Укажите имя пользователя (необязательно)", + "Enter the Aria2 RPC username (empty if authentication not enabled)": + "Укажите имя пользователя Aria2 RPC (оставьте пустым, если авторизация не включена)", + "Enter the password (optional)": "Укажите пароль (необязательно)", + "Enter the Aria2 RPC password (empty if authentication not enabled)": + "Укажите пароль для Aria2 RPC (оставьте пустым, если авторизация не включена)", + "Enter base URL (optional)": "Укажите базовый URL-адрес (необязательно)", + "Direct Download": "Прямая загрузка", + "If supplied, links will be created to enable direct download from the Aria2 server.": + "Ссылки (при наличии) будут созданы для загрузки непосредственно с сервера Aria2.", + "(Requires appropriate webserver to be configured.)": + "(Требуется соответствующий веб-сервер для настройки.)", + "Save Connection configuration": "Сохранить настройки соединения", + Filter: "Фильтр", + "Aria2 server info": "Информация о сервере Aria2", + "Aria2 Version": "Версия Aria2", + "Features Enabled": "Имеющийся функционал", + "To download the latest version of the project, add issues or to contribute back, head on to": + "Чтобы загрузить последнюю версию проекта, добавить вопросы или внести свой вклад, передите на", + "Or you can open the latest version in the browser through": + "Или вы можете открыть последнюю версию в браузере через", + Close: "Закрыть", + "Download status": "Статус загрузки", + "Download Speed": "Скорость загрузки", + "Upload Speed": "Скорость отдачи", + "Estimated time": "Оставшееся время", + "Download Size": "Размер загрузки", + Downloaded: "Загружено", + Progress: "Прогресс", + "Download Path": "Путь к загружаемым файлам", + Uploaded: "Отдано", + "Download GID": "Загруженый GID", + "Number of Pieces": "Количество частей", + "Piece Length": "Размер частей", + "Shutdown Server": "Выключить сервер", + "The last connection attempt was unsuccessful. Trying another configuration": + "Последняя попытка подключения была неудачной. Попробуйте другую конфигурацию", + "Oh Snap!": "Опаньки!", + "Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings": + "Не удалось подключиться к серверу Aria2 RPC. Попытка будет повторена в течение 10 секунд. Вы можете проверить параметры подключения, перейдя в меню Настройки > Настройки соединения", + "Successfully connected to Aria2 through its remote RPC …": + "Успешное подключение к Aria2 через удаленный RPC …", + "Successfully connected to Aria2 through remote RPC, however the connection is still insecure. For complete security try adding an authorization secret token while starting Aria2 (through the flag --rpc-secret)": + "Успешное подключение к Aria2 через удаленный RPC, однако соединение все еще небезопасно. Для обеспечения лучшей безопасности добавьте секретный токен авторизации при запуске aria2 (через флаг --rpc-secret)", + "Trying to connect to aria2 using the new connection configuration": + "Попытка подключиться к aria2 с использованием новой конфигурации" + }); + }, + function(e, t) { + "undefined" == typeof translations && (translations = {}), + (translations.it_IT = { + Search: "Cerca", + Add: "Aggiungi", + "By URIs": "Da URIs", + "By Torrents": "Da Torrent", + "By Metalinks": "Da Metalink", + Manage: "Gestione", + "Pause All": "Ferma tutto", + "Resume Paused": "Riprendi fermati", + "Purge Completed": "Togli i completi", + Settings: "Impostazioni", + "Connection Settings": "Impostazioni di connessione", + "Global Settings": "Impostazioni globali", + "Server info": "Informazioni sul server", + "About and contribute": "Crediti e informazioni", + "Toggle navigation": "Cambia navigazione", + Miscellaneous: "Varie", + "Global Statistics": "Statistiche globali", + About: "Info", + Displaying: "Mostra", + of: "di", + downloads: "downloads", + Language: "Lingua", + "Download Filters": "Filtri download", + Running: "In corso", + Active: "Attivi", + Waiting: "In attesa", + Complete: "Completi", + Error: "Errore", + Paused: "In pausa", + Removed: "Rimossi", + "Hide linked meta-data": "Nascondi i meta-data collegati", + Toggle: "Cambia", + "Reset filters": "Reimposta filtri", + "Quick Access Settings": "Accesso rapido", + "Save settings": "Salva impostazioni", + "Currently no download in line to display, use the": + "Attualmente non c'è nessun download da mostrare, usa il pulsante ", + "download button to start downloading files!": "dowload per cominciare a scaricare!", + Peers: "Peers", + "More Info": "Altre informazioni", + Remove: "Rimuovi", + "# of": "# di", + Length: "Lunghezza", + "Add Downloads By URIs": "Aggiungi Downloads da URIs", + "- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.": + "- Puoi aggungere più download(files) allo stesso tempo mettendo un'URI per riga.", + "- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.": + "- Puoi anche aggiungere più URI di download(mirror) per uno *stesso* file separando i vari mirror da uno spazio.", + "- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.": + "- Un URI può essere un indirizzo HTTP(S)/FTP o un BitTorrent Magnet link.", + "Download settings": "Impostazioni download", + "Advanced settings": "Impostazioni avanzate", + Cancel: "Cancella", + Start: "Aggiungi", + Choose: "Scegli", + "Quick Access (shown on the main page)": + "Accesso rapido (mostrato nella pagina principale)", + "Add Downloads By Torrents": "Aggiungi Torrent", + "- Select the torrent from the local filesystem to start the download.": + "- Seleziona il file torrent dal tuo computer per iniziare a scaricare.", + "- You can select multiple torrents to start multiple downloads.": + "- Puoi aggiungere anche più file contemporaneamente per iniziare più dowload insieme.", + "- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.": + "- Per aggiungere un Magnet Link BitTorrent utilizza l'opzione Aggiungi da URI.", + "Select Torrents": "Seleziona Torrents", + "Select a Torrent": "Seleziona un Torrent", + "Add Downloads By Metalinks": "Aggiungi Torrent da Metalink", + "Select Metalinks": "Seleziona Metalink", + "- Select the Metalink from the local filesystem to start the download.": + "- Seleziona un Metalink dal tuo computer per iniziare il download.", + "- You can select multiple Metalinks to start multiple downloads.": + "- Puoi iniziare anche più download selezionando più Metalink.", + "Select a Metalink": "Seleziona un Metalink", + "Choose files to start download for": "Scegli i file da scaricare", + "Select to download": "Seleziona per scaricare", + "Aria2 RPC host and port": "Host e porta del server RPC di Aria2", + "Enter the host": "Inserisci l'host", + "Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)": + "Inserisci l'IP o il nome DNS del server dov'è in esecuzione l'RPC per Aria2 (default: localhost)", + "Enter the port": "Inserisci la porta", + "Enter the port of the server on which the RPC for Aria2 is running (default: 6800)": + "Inserisci la porta del server dov'è in esecuzione l'RPC per Aria2 (default: 6800)", + "Enter the RPC path": "Inserisci la path RPC", + "Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)": + "Inserisci la path per l'endpoint RPC di Aria2 (default: /jsonrpc)", + "SSL/TLS encryption": "Cifratura SSL/TLS", + "Enable SSL/TLS encryption": "Abilita la cifratura SSL/TLS", + "Enter the secret token (optional)": "Inserisci il token segreto (opzionale)", + "Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)": + "Inserisci il token segreto per Aria2 (lascia vuoto se non è abilitato)", + "Enter the username (optional)": "Inserisci l'username (opzionale)", + "Enter the Aria2 RPC username (empty if authentication not enabled)": + "Inserisci l'username per l'RPC di Aria2 (lascia vuoto se non è abilitato)", + "Enter the password (optional)": "Inserisci la password (opzionale)", + "Enter the Aria2 RPC password (empty if authentication not enabled)": + "Inserisci la password per l'RPC di Aria2 (vuota se l'autenticazione non è abilitata)", + "Enter base URL (optional)": "Inserisci l'URL di base(opzionale)", + "Direct Download": "Downaload diretto", + "If supplied, links will be created to enable direct download from the Aria2 server.": + "Se inserito, verrano creati dei link per scaricare direttamente i file dal server Aria2.", + "(Requires appropriate webserver to be configured.)": + "(Richiede un webserver correttamente configurato)", + "Save Connection configuration": "Salva la configurazione di connessione", + Filter: "Filtro", + "Aria2 server info": "Informazioni sul server Aria2", + "Aria2 Version": "Versione di Aria2", + "Features Enabled": "Funzionalità abilitate", + "To download the latest version of the project, add issues or to contribute back, head on to": + "Per scaricare l'ultima versione del progetto, aggiungere problemi o contribuire, visita ", + "Or you can open the latest version in the browser through": + "Oppure puoi aprire l'ultima versione direttamente nel browser", + Close: "Chiudi", + "Download status": "Stato download", + "Download Speed": "Velocità download", + "Upload Speed": "Velocità upload", + "Estimated time": "Tempo stimato", + "Download Size": "Dimensione del download", + Downloaded: "Scaricato", + Progress: "Progresso", + "Download Path": "Percorso di download", + Uploaded: "Caricato", + "Download GID": "GID Download", + "Number of Pieces": "Numero di segmenti", + "Piece Length": "Lunghezza segmenti", + "Shutdown Server": "Spegni Server", + "The last connection attempt was unsuccessful. Trying another configuration": + "L'ultimo tentativo di connessione non è riuscito. Provo un'altra connessione", + "Oh Snap!": "Mannaggia!", + "Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings": + "Non riesco a connettermi al server RPC di Aria2. Riprovo tra 10 secondi. Forse vuoi controllare le impostazioni di connessione in Impostazioni > Impostazioni di connessione", + "Successfully connected to Aria2 through its remote RPC …": + "Connesso con successo a Aria2 mediante RPC remoto …", + "Successfully connected to Aria2 through remote RPC, however the connection is still insecure. For complete security try adding an authorization secret token while starting Aria2 (through the flag --rpc-secret)": + "Correttamente connesso al server Aria2 mediante RPC, ma in modo non sicuro. Per una completa sicurezza prova ad aggiungere un token di autorizzazione segreto all'avvio di Aria2 (mediante il flag --rpc-secret)", + "Trying to connect to aria2 using the new connection configuration": + "Provo a connettermi a Aria2 attraverso le nuove impostazioni" + }); + }, + function(e, t) { + "undefined" == typeof translations && (translations = {}), + (translations.tr_TR = { + Search: "Arama", + Add: "Ekle", + "By URIs": "URI ile", + "By Torrents": "Torrent ile", + "By Metalinks": "Metalink ile", + Manage: "Yönet", + "Pause All": "Hepsini Duraklat", + "Resume Paused": "Devam Et", + "Purge Completed": "Temizleme Tamamlandı", + Settings: "Ayarlar", + "Connection Settings": "Bağlantı Ayarları", + "Global Settings": "Genel Ayarlar", + "Server info": "Sunucu bilgisi", + "About and contribute": "Hakkında ve katkıda bulunanlar", + "Toggle navigation": "Gezinmeyi aç / kapat", + Miscellaneous: "Çeşitli", + "Global Statistics": "Genel İstatistikler", + About: "Hakkında", + Displaying: "Gösteriliyor", + of: " / ", + downloads: "Indirme", + Language: "Dil", + "Download Filters": "İndirme Filtreleri", + Running: "Çalışıyor", + Active: "Aktif", + Waiting: "Bekliyor", + Complete: "Tamamlandı", + Error: "Hata", + Paused: "Duraklatıldı", + Removed: "Silindi", + "Hide linked meta-data": "Bağlı meta verileri gizle", + Toggle: "aç/kapat", + "Reset filters": "Filtreleri sıfırla", + "Quick Access Settings": "Hızlı Erişim Ayarları", + "Save settings": "Ayarları kaydet", + "Currently no download in line to display, use the": + "Şu anda görüntülenebilecek bir indirme yok,", + "download button to start downloading files!": + "butonu aracılığı ile dosya indirebilirsiniz!", + Peers: "Peers", + "More Info": "Daha fazla bilgi", + Remove: "Kaldır", + "# of": "# dan", + Length: "Uzunluk", + "Add Downloads By URIs": "URI kullanarak indirmelere ekle", + "- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.": + "- Ayrı bir satıra her dosya için URI koyarak aynı anda birden fazla dosya indirebilirsiniz.", + "- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.": + "- Aynı dosyalar için birden fazla URI (ayna) da ekleyebilirsiniz. Bunu yapmak için URIları bir boşlukla ayırın.", + "- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.": + "- Bir URI, HTTP(S)/FTP/BitTorrent-Magnet olabilir.", + "Download settings": "İndirme ayarları", + "Advanced settings": "Gelişmiş Ayarlar", + Cancel: "İptal et", + Start: "Başlat", + Choose: "Seçiniz", + "Quick Access (shown on the main page)": "Hızlı Erişim (ana sayfada gösterilir)", + "Add Downloads By Torrents": "Torrent kullanarak indirmelere ekle", + "- Select the torrent from the local filesystem to start the download.": + "- İndirmeyi başlatmak için yerel dosya sisteminden torrenti seçin.", + "- You can select multiple torrents to start multiple downloads.": + "- Birden çok indirmeyi başlatmak için birden çok torrent seçebilirsiniz.", + "- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.": + "- BitTorrent-Magnetli bir URL eklemek için, İstek Üzerine Ekle seçeneğini kullanın ve oraya ekleyin.", + "Select Torrents": "Torrentleri seçin", + "Select a Torrent": "Bir Torrent seçin", + "Add Downloads By Metalinks": "Metalink kullanarak indirmelere ekle", + "Select Metalinks": "Metalinkleri seçin", + "- Select the Metalink from the local filesystem to start the download.": + "- İndirmeyi başlatmak için yerel dosya sisteminden Metalinki seçin.", + "- You can select multiple Metalinks to start multiple downloads.": + "- Birden fazla yüklemeye başlamak için birden fazla Metalink seçebilirsiniz.", + "Select a Metalink": "Bir Metalink Seç", + "Choose files to start download for": "Için indirmeye başlamak için dosyaları seçin", + "Select to download": "Indirmek için seçin", + "Aria2 RPC host and port": "Aria2 RPC ana bilgisayar ve bağlantı noktası", + "Enter the host": "Ana bilgisayar(host) girin", + "Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)": + "Aria2 için RPC'nin çalıştığı sunucunun IP veya DNS adını girin (varsayılan: localhost)", + "Enter the port": "Bağlantı noktasını gir", + "Enter the port of the server on which the RPC for Aria2 is running (default: 6800)": + "Aria2 için RPC'nin çalıştığı sunucunun bağlantı noktasını girin (varsayılan: 6800)", + "Enter the RPC path": "RPC yolunu girin", + "Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)": + "Aria2 RPC bitiş noktası için yolu girin (varsayılan: / jsonrpc)", + "SSL/TLS encryption": "SSL / TLS şifreleme", + "Enable SSL/TLS encryption": "SSL / TLS şifrelemeyi etkinleştir", + "Enter the secret token (optional)": "Gizli simge girin (isteğe bağlı)", + "Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)": + "Aria2 RPC gizli simgesini girin (kimlik doğrulama etkin değilse boş bırakın)", + "Enter the username (optional)": "Kullanıcı adını girin (isteğe bağlı)", + "Enter the Aria2 RPC username (empty if authentication not enabled)": + "Aria2 RPC kullanıcı adını girin (kimlik doğrulama etkin değilse boş bırakın)", + "Enter the password (optional)": "Parolayı girin (isteğe bağlı)", + "Enter the Aria2 RPC password (empty if authentication not enabled)": + "Aria2 RPC şifresini girin (kimlik doğrulama etkin değilse boş bırakın)", + "Enter base URL (optional)": "Temel URL'yi girin (isteğe bağlı)", + "Direct Download": "Direkt indirme", + "If supplied, links will be created to enable direct download from the Aria2 server.": + "Verilen, bağlantıları aria2 sunucudan doğrudan indirmeyi etkinleştirmek için oluşturulur.", + "(Requires appropriate webserver to be configured.)": + "(Uygun web sunucusunun yapılandırılmasını gerektirir.)", + "Save Connection configuration": "Bağlantı yapılandırmasını kaydedin", + Filter: "Filtre", + "Aria2 server info": "Aria2 sunucu bilgisi", + "Aria2 Version": "Aria2 Sürümü", + "Features Enabled": "Aşağıdaki Özellikler Etkin", + "To download the latest version of the project, add issues or to contribute back, head on to": + "Projenin en son sürümünü indirmek için sorun ekleyin veya katkıda bulunun;", + "Or you can open the latest version in the browser through": + "Veya en son sürümü tarayıcınız aracılığıyla açabilirsiniz.", + Close: "Kapat", + "Download status": "İndirme durumu", + "Download Speed": "İndirme hızı", + "Upload Speed": "Yükleme hızı", + "Estimated time": "Tahmini süre", + "Download Size": "İndirme Boyutu", + Downloaded: "İndirildi", + Progress: "İlerleme", + "Download Path": "İndirme Yolu", + Uploaded: "Yüklendi", + "Download GID": "GID'yi indirin", + "Number of Pieces": "Parça sayısı", + "Piece Length": "Parça Uzunluğu", + "Shutdown Server": "Sunucuyu Kapat", + "The last connection attempt was unsuccessful. Trying another configuration": + "Son bağlantı girişimi başarısız oldu. Başka bir yapılandırma deneyin", + "Oh Snap!": "HAydaaaaa!", + "Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings": + "Aria2 RPC sunucusuna bağlanılamadı. 10 saniye içinde tekrar deneyecek. Bağlantı ayarlarını, Ayarlar> Bağlantı Ayarları bölümüne giderek kontrol etmek isteyebilirsiniz.", + "Successfully connected to Aria2 through its remote RPC …": + "Uzak RPC aracılığıyla Aria2'ye başarıyla bağlandı ...", + "Successfully connected to Aria2 through remote RPC, however the connection is still insecure. For complete security try adding an authorization secret token while starting Aria2 (through the flag --rpc-secret)": + "Uzak RPC aracılığıyla Aria2'ye başarıyla bağlandı ancak bağlantı hala güvende değil. Tam güvenlik için, Aria2'yi başlatırken (--rpc-secret bayrağını kullanın) ve bir yetkilendirme gizli simgesi eklemeyi deneyin.", + "Trying to connect to aria2 using the new connection configuration": + "Yeni bağlantı yapılandırmasını kullanarak aria2'ye bağlanmaya çalışılıyor" + }); + }, + function(e, t) { + "undefined" == typeof translations && (translations = {}), + (translations.cs_CZ = { + Search: "Hledat", + Add: "Přidat", + "By URIs": "Z URI", + "By Torrents": "Z torrentu", + "By Metalinks": "Z metalinku", + Manage: "Spravovat", + "Pause All": "Zastavit vše", + "Resume Paused": "Obnovit zastavené", + "Purge Completed": "Odstranit hotové", + "Shutdown Server": "Vypnout server", + Settings: "Nastavení", + "Connection Settings": "Nastavení připojení", + "Global Settings": "Obecné nastavení", + "Server info": "Informace o serveru", + "About and contribute": "Informace", + "Toggle navigation": "Přepnout ovládání", + Miscellaneous: "Různé", + "Global Statistics": "Globální statistika", + About: "Informace", + Displaying: "Zobrazuji", + of: "z", + downloads: "stahování", + Language: "Jazyk", + "Download Filters": "Filtry stahování", + Running: "Stahují se", + Active: "Aktivní", + Waiting: "Čekající", + Complete: "Hotové", + Error: "Chyba", + Paused: "Zastavené", + Removed: "Odstraněné", + "Hide linked meta-data": "Skrýt připojená meta-data", + Toggle: "Prohodit", + "Reset filters": "Smazat filtry", + Verifing: "Ověřování", + "Verify Pending": "Čekání na ověření", + "Quick Access Settings": "Rychlé nastavení", + Save: "Uložit", + "Save settings": "Uložit nastavení", + "Currently no download in line to display, use the": "Není co zobrazit, použijte", + "download button to start downloading files!": "tlačítko pro stáhnutí souborů!", + Peers: "Zdroje", + "More Info": "Víc informací", + Remove: "Odstranit", + "# of": "# z", + Length: "Délka", + "Add Downloads By URIs": "Přidat stahování z URI", + "- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.": + "- Můžete začít stahovat více souborů v jeden okamžik, tak že na každý řádek dáte jinou URI", + "- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.": + "- Také můžete přidat více URI (Zrcadel) pro *stejný* soubor, tak že je dáte na jeden řádek oddělené mezerou ", + "- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.": + "- URI může být HTTP(S)/FTP/BitTorrent-Magnet.", + "Download settings": "Nastavení stahování", + "Advanced settings": "Pokročilé nastavení", + Cancel: "Zrušit", + Start: "Spustit", + Choose: "Zvolit", + "Quick Access (shown on the main page)": "Rychlý přístup (Zobrazení na hlavní stránce)", + "Add Downloads By Torrents": "Přidat stahování z torrentu", + "- Select the torrent from the local filesystem to start the download.": + "- Pro stahování vyberte torrent soubor z disku", + "- You can select multiple torrents to start multiple downloads.": + " - Můžete zvolit víc torrentů pro spuštění více stahování", + "- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.": + '- Pro stahování pomocí BitTorrent-Magnet URL, použijte možnost "Z URI"', + "Select Torrents": "Vyberte torrenty", + "Select a Torrent": "Vyberte torrent", + "Add Downloads By Metalinks": "Přidat stahovní pomocí metalinku", + "Select Metalinks": "Výběr metalinků", + "- Select the Metalink from the local filesystem to start the download.": + "- Pro stahování vyberte metalink soubor z disku", + "- You can select multiple Metalinks to start multiple downloads.": + "- Můžete zvolit víc mentalinků pro spuštění více stahování", + "Select a Metalink": "Vyberte metalink", + "Choose files to start download for": "Vyberte soubory pro stažení", + "Select to download": "Vyberte ke stažení", + "Aria2 RPC host and port": "Aria2 RPC host a port", + "Enter the host": "Zadejte hosta", + "Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)": + "Zadejte IP nebo DNS jméno serveru na kterém běží Aria2 RPC (výchozí: localhost)", + "Enter the port": "Zadejte port", + "Enter the port of the server on which the RPC for Aria2 is running (default: 6800)": + "Zadejte port serveru na kterém běží Aria2 RPC (výchozí: 6800)", + "Enter the RPC path": "Zadejte cestu k RPC", + "Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)": + "Zadejte cestu k endpointu Aria2 RPC (výchozí: /jsonrpc)", + "SSL/TLS encryption": "SSL/TLS šifrování", + "Enable SSL/TLS encryption": "Zapnout SSL/TLS šifrování", + "Enter the secret token (optional)": "Zadejte bezpečnostní token (volitelné)", + "Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)": + "Zadejte bezpečnostní token k Aria2 RPC (nechte prázné pokud autentifikace není nastavena)", + "Enter the username (optional)": "Zadejte uživatelské jméno (volitelné)", + "Enter the Aria2 RPC username (empty if authentication not enabled)": + "Zadejte uživatelské jméno pro Aria2 RPC (nechte prázné pokud autentifikace není nastavena)", + "Enter the password (optional)": "Zadejte heslo (volitelné)", + "Enter the Aria2 RPC password (empty if authentication not enabled)": + "Zadej heslo k Aria2 RPC (nechte prázné pokud autentifikace není nastavena)", + "Enter base URL (optional)": "Zadejte kořenovou URL serveru (volitelné)", + "Direct Download": "Přímé stažení", + "If supplied, links will be created to enable direct download from the Aria2 server.": + "Jestliže je nastaveno, je možné stáhnout soubor přímo z Aria2 serveru.", + "(Requires appropriate webserver to be configured.)": + "(Je třeba udělat patřičnou konfiguraci webserveru)", + "Save Connection configuration": "Uložit nastavení", + Filter: "Filtr", + "Aria2 server info": "Informace o Aria2 serveru", + "Aria2 Version": "Verze Aria2", + "Features Enabled": "Zapnuté funkce", + "To download the latest version of the project, add issues or to contribute back, head on to": + "Ke stažení aktuální verze, nahlášení problému či přispění, zamiřte na", + "Or you can open the latest version in the browser through": + "Nebo můžete spustit aktuální verzi pomocí:", + Close: "Zavřít", + "Download status": "Stav stahování", + "Download Speed": "Rychlost stahování", + "Upload Speed": "Rychlost nahrávání", + "Estimated time": "Odhadovaný čas", + "Download Size": "Velikost", + Downloaded: "Staženo", + Progress: "Průběh", + "Download Path": "Cesta", + Uploaded: "Nahráno", + "Download GID": "GID", + "Number of Pieces": "Počet fragmentů", + "Piece Length": "Délka fragmentu", + "The last connection attempt was unsuccessful. Trying another configuration": + "Poslední pokus o připojení se nezdařil. Zkuste jiné nastavení", + "Oh Snap!": "A sakra!", + "Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings": + "Nemohu se připojit k Aria2 RPC serveru. Zkusím to znovu za 10 sekund. Možná by se to chtělo podívat do Nastavení > Nastavení připojení", + "Authentication failed while connecting to Aria2 RPC server. Will retry in 10 secs. You might want to confirm your authentication details by going to Settings > Connection Settings": + "Během připojování k Aria2 RPC serveru selhala autentifikace. Zkusím to znovu za 10 sekund. Možná by se to chtělo podívat do Nastavení > Nastavení připojení", + "Successfully connected to Aria2 through its remote RPC …": + "Úspěšně připojeno k Aria2 pomocí RPC...", + "Successfully connected to Aria2 through remote RPC, however the connection is still insecure. For complete security try adding an authorization secret token while starting Aria2 (through the flag --rpc-secret)": + "Úspěšně připojeno k Aria2 pomocí RPC, ale připojení není zabezpečené. Pro úplné zabezpečení přidejte bezpečnostní token při spuštění Aria2 (pomocí možnosti --rpc-secret) ", + "Trying to connect to aria2 using the new connection configuration": + "Zkouším se připojit k Aria2 za pomocí nového nastavení", + "Remove {{name}} and associated meta-data?": "Odstranit {{name}} a příslušná meta-data?" + }); + }, + function(e, t) { + "undefined" == typeof translations && (translations = {}), + (translations.fa_IR = { + Search: "جستجو", + Add: "اضافه کردن", + "By URIs": "بر اساس مسیر سایت", + "By Torrents": "بر اساس تورنت", + "By Metalinks": "بر اساس متا لینک", + Manage: "مدیریت", + "Pause All": "توقف همه", + "Resume Paused": "ادامه متوقف شده ها", + "Purge Completed": "حذف تکمیل شده ها", + "Shutdown Server": "خاموش کردن سرور", + Settings: "تنظیمات", + "Connection Settings": "تنظیمات ارتباط", + "Global Settings": "تنظیمات سراسری", + "Server info": "اطلاعات سرور", + "About and contribute": "درباره و مشارکت", + "Toggle navigation": "تغییر ناوبری", + Miscellaneous: "متفرقه", + "Global Statistics": "آمار سراسری", + About: "درباره", + Displaying: "نمایش", + of: "از", + downloads: "دانلودها", + Language: "زبان", + "Download Filters": "دانلود فیلترها", + Running: "در حال اجرا", + Active: "فعال", + Waiting: "در انتظار", + Complete: "تمام شده", + Error: "خطا", + Paused: "متوقف شده", + Removed: "حذف شده", + "Hide linked meta-data": "مخفی کردن متا داده مرتبط", + Toggle: "تغییر وضعیت", + "Reset filters": "حذف فیلترها", + Verifing: "تأیید کردن", + "Verify Pending": "تأیید کردن در انتظارها", + "Quick Access Settings": "تنظیمات دسترسی سریع", + Save: "ذخیره", + "Save settings": "ذخیره تنظیمات", + "Currently no download in line to display, use the": + "در حال حاضر هیچ دانلودی برای نمایش وجود ندارد، استفاده از", + "download button to start downloading files!": "دکمه دانلود برای شروع دانلود فایل ها!", + Peers: "همتایان", + "More Info": "اطلاعات بیشتر", + Remove: "حذف", + "# of": "از #", + Length: "طول", + "Add Downloads By URIs": "اضافه کردن دانلود توسط لینک ها", + "- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.": + "- شما می توانید چند بار دانلود (فایل ها) را همزمان با قرار دادن URI ها برای هر فایل در یک خط جداگانه اضافه کنید.", + "- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.": + "- شما همچنین می توانید URI های متعدد (آینه ها) را برای فایل *همان* اضافه کنید. برای انجام این کار، URI ها را با یک فضای جداگانه جدا کنید.", + "- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.": + "- یک URI می تواند HTTP (S) / FTP / BitTorrent-Magnet باشد.", + "Download settings": "تنظیمات دانلود", + "Advanced settings": "تنظیمات پیشرفته", + Cancel: "لغو", + Start: "شروع", + Choose: "انتخاب", + "Quick Access (shown on the main page)": "دسترسی سریع (نشان داده شده در صفحه اصلی)", + "Add Downloads By Torrents": "اضافه کردن دانلود توسط تورنت", + "- Select the torrent from the local filesystem to start the download.": + "- تورنت را از سیستم فایل محلی انتخاب کنید تا دانلود را شروع کنید.", + "- You can select multiple torrents to start multiple downloads.": + "- شما می توانید چندین تورنت را برای شروع بارگیری چندگانه انتخاب کنید.", + "- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.": + "- برای اضافه کردن URL BitTorrent-Magnet، از گزینه بر اساس مسیر سایت استفاده کنید و آن را در آنجا اضافه کنید.", + "Select Torrents": "تورنت ها را انتخاب کنید", + "Select a Torrent": "تورنتی را انتخاب کنید", + "Add Downloads By Metalinks": "متالینک ها را انتخاب کنید", + "Select Metalinks": "Metalinks را انتخاب کنید", + "- Select the Metalink from the local filesystem to start the download.": + "- Metalink را از سیستم فایل محلی انتخاب کنید تا دانلود را شروع کنید.", + "- You can select multiple Metalinks to start multiple downloads.": + "- شما می توانید چندین Metalinks را برای شروع چندین بار انتخاب کنید.", + "Select a Metalink": "Metalink را انتخاب کنید", + "Choose files to start download for": "فایل را برای شروع دانلود انتخاب کنید", + "Select to download": "برای دانلود انتخاب کنید", + "Aria2 RPC host and port": "میزبان و پورت Aria2 RPC", + "Enter the host": "میزبان را وارد کنید", + "Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)": + "نام IP یا DNS سرور که RPC برای Aria2 در حال اجرا است را وارد کنید (به طور پیش فرض: localhost)", + "Enter the port": "پورت را وارد کنید", + "Enter the port of the server on which the RPC for Aria2 is running (default: 6800)": + "پورت سرور که RPC برای Aria2 اجرا می شود را وارد کنید (به طور پیش فرض: 6800)", + "Enter the RPC path": "مسیر RPC را وارد کنید", + "Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)": + "مسیر نقطه پایانی Aria2 RPC را وارد کنید (default: / jsonrpc)", + "SSL/TLS encryption": "SSL / TLS رمزگذاری", + "Enable SSL/TLS encryption": "SSL / TLS رمزگذاری را فعال کنید", + "Enter the secret token (optional)": "رمز نشانه (اختیاری) را وارد کنید", + "Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)": + "کد مخفی Aria2 RPC را وارد کنید (اگر احراز هویت فعال نمی شود خالی بگذارید)", + "Enter the username (optional)": "نام کاربری (اختیاری) را وارد کنید", + "Enter the Aria2 RPC username (empty if authentication not enabled)": + "نام کاربری Aria2 RPC را وارد کنید (خالی اگر احراز هویت غیر فعال شود)", + "Enter the password (optional)": "رمز عبور را وارد کنید (اختیاری)", + "Enter the Aria2 RPC password (empty if authentication not enabled)": + "گذرواژه Aria2 RPC را وارد کنید (اگر احراز هویت فعال نمی شود خالی بگذارید)", + "Enter base URL (optional)": "URL پایه را وارد کنید (اختیاری)", + "Direct Download": "دانلود مستقیم", + "If supplied, links will be created to enable direct download from the Aria2 server.": + "در صورت عرضه، لینک برای ایجاد مستقیم دانلود از سرور Aria2 ایجاد خواهد شد.", + "(Requires appropriate webserver to be configured.)": + "(نیاز به وب سرور مناسب برای پیکربندی.)", + "Save Connection configuration": "ذخیره پیکربندی اتصال", + Filter: "فیلتر", + "Aria2 server info": "مشخصات سرور Aria2", + "Aria2 Version": "نسخه Aria2", + "Features Enabled": "ویژگی های فعال", + "To download the latest version of the project, add issues or to contribute back, head on to": + "برای دانلود آخرين نسخه پروژه، مسائل را اضافه کنيد يا به پشتيبانی بپردازيد بروید به", + "Or you can open the latest version in the browser through": + "یا شما می توانید آخرین نسخه را از طریق مرورگر باز کنید", + Close: "بستن", + "Download status": "وضعیت دانلود", + "Download Speed": "سرعت دانلود", + "Upload Speed": "سرعت آپلود", + "Estimated time": "زمان تخمین زده شده", + "Download Size": "اندازه دانلود", + Downloaded: "دانلود شده", + Progress: "پیشرفت", + "Download Path": "مسیر دانلود", + Uploaded: "آپلود شده", + "Download GID": "دانلود GID", + "Number of Pieces": "تعداد قطعات", + "Piece Length": "طول قطعه", + "The last connection attempt was unsuccessful. Trying another configuration": + "آخرین تلاش اتصال ناموفق بود. تلاش برای تنظیم دیگر", + "Oh Snap!": "اوه نه!", + "Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings": + "نمی توان به سرور aria2 RPC متصل شد. در 10 ثانیه دوباره تلاش خواهیم کرد ممکن است بخواهید تنظیمات اتصال را با رفتن به تنظیمات > تنظیمات اتصال بررسی کنید", + "Authentication failed while connecting to Aria2 RPC server. Will retry in 10 secs. You might want to confirm your authentication details by going to Settings > Connection Settings": + "در هنگام اتصال به سرور Aria2 RPC تأییدیه شکست خورد. در 10 ثانیه دوباره تلاش خواهیم کرد ممکن است بخواهید جزئیات احراز هویت خود را با رفتن به تنظیمات > تنظیمات اتصال تایید کنید", + "Successfully connected to Aria2 through its remote RPC …": + "با موفقیت از طریق RPC از راه دور به Aria2 متصل شد ...", + "Successfully connected to Aria2 through remote RPC, however the connection is still insecure. For complete security try adding an authorization secret token while starting Aria2 (through the flag --rpc-secret)": + "با موفقیت به Aria2 از طریق RPC راه دور متصل شد، اما اتصال هنوز ناامن است. برای امنیت کامل سعی کنید مجوز نشانه مجوز را در هنگام شروع Aria2 (از طریق پرچم --rpc-secret)", + "Trying to connect to aria2 using the new connection configuration": + "تلاش برای اتصال به aria2 با استفاده از پیکربندی اتصال جدید", + "Remove {{name}} and associated meta-data?": "حذف {{name}} و متا داده های مرتبط" + }); + }, + function(e, t) { + "undefined" == typeof translations && (translations = {}), + (translations.id_ID = { + Search: "Telusuri", + Add: "Tambah", + "By URIs": "Dari URI", + "By Torrents": "Dari Torrent", + "By Metalinks": "Dari Metalink", + Manage: "Kelola", + "Pause All": "Jeda Semua", + "Resume Paused": "Lanjut yang Dijeda", + "Purge Completed": "Hapus yang Terunduh", + "Shutdown Server": "Matikan Peladen", + Settings: "Pengaturan", + "Connection Settings": "Pengaturan Koneksi", + "Global Settings": "Pengaturan Global", + "Server info": "Info peladen", + "About and contribute": "Tentang dan kontribusi", + "Toggle navigation": "Alihkan navigasi", + Miscellaneous: "Lain-lain", + "Global Statistics": "Statistik Global", + About: "Tentang", + Displaying: "Tampilan", + of: "dari", + downloads: "unduhan", + Language: "Bahasa", + "Download Filters": "Saring Unduhan", + Running: "Berjalan", + Active: "Aktif", + Waiting: "Menunggu", + Complete: "Selesai", + Error: "Galat", + Paused: "Dijeda", + Removed: "Dihapus", + "Hide linked meta-data": "Sembunyikan tautan meta-data", + Toggle: "Tombol alihan", + "Reset filters": "Reset penyaring", + Verifing: "Memverifikasi", + "Verify Pending": "Verifikasi Ditunda", + "Quick Access Settings": "Pengaturan Akses Cepat", + Save: "Simpan", + "Save settings": "Simpan pengaturan", + "Currently no download in line to display, use the": + "Sekarang tak ada unduhan yang ditampilkan, gunakan", + "download button to start downloading files!": "tombol unduh untuk mulai mengunduh berkas!", + Peers: "Peer", + "More Info": "Info Lengkap", + Remove: "Hapus", + "# of": "# dari", + Length: "Ukuran", + "Add Downloads By URIs": "Unduh dari URI", + "- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.": + "- Anda dapat menambah banyak unduhan (berkas) sekali waktu dg menaruh URI setiap berkas dlm baris terpisah.", + "- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.": + "- Anda juga dapat menambah banyak URI (cermin) untuk berkas yang *sama*. Pisahkan URI dengan spasi.", + "- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.": + "- URI dapat berbentuk HTTP(S)/FTP/BitTorrent-Magnet.", + "Download settings": "Pengaturan unduhan", + "Advanced settings": "Pengaturan mahir", + Cancel: "Batal", + Start: "Mulai", + Choose: "Pilih", + "Quick Access (shown on the main page)": "Akses Cepat (terlihat di laman utama)", + "Add Downloads By Torrents": "Unduh dari Torrent", + "- Select the torrent from the local filesystem to start the download.": + "- Pilih torrent dari sistem berkas lokal untuk mulai mengunduh.", + "- You can select multiple torrents to start multiple downloads.": + "Anda dapat memilih banyak torrent untuk memulai multi unduh.", + "- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.": + "Untuk menambah BitTorrent-Magnet URL, pakai opsi Tambah dari URI dan tambahkan di situ.", + "Select Torrents": "Pilih Torrent", + "Select a Torrent": "Pilih Torrent", + "Add Downloads By Metalinks": "Unduh dari Metalink", + "Select Metalinks": "Pilih Metalink", + "- Select the Metalink from the local filesystem to start the download.": + "- Pilih Metalink dari sistem berkas lokal untuk mulai mengunduh.", + "- You can select multiple Metalinks to start multiple downloads.": + "- Anda dapat memilih banyak Metalink untuk mulai multi unduh.", + "Select a Metalink": "Pilih Metalink", + "Choose files to start download for": "Pilih berkas untuk mulai mengunduh", + "Select to download": "Pilih untuk mengunduh", + "Aria2 RPC host and port": "Port dan host RPC Aria2", + "Enter the host": "Masukkan host", + "Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)": + "Masukkan IP atau nama DNS peladen tempat RPC Aria2 berjalan (asali: localhost)", + "Enter the port": "Masukkan porta", + "Enter the port of the server on which the RPC for Aria2 is running (default: 6800)": + "Masukkan porta peladen tempat RPC Aria2 berjalan (asali: 6800)", + "Enter the RPC path": "Masukkan path RPC", + "Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)": + "Masukkan path untuk endpoint RPC Aria2 (asali: /jsonrpc)", + "SSL/TLS encryption": "Enkripsi SSL/TLS", + "Enable SSL/TLS encryption": "Aktifkan enkripsi SSL/TLS", + "Enter the secret token (optional)": "Masukkan token rahasia (opsional)", + "Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)": + "Masukkan token rahasia RPC Aria2 (kosongkan jika otentifikasi tidak aktif)", + "Enter the username (optional)": "Masukkan username (opsional)", + "Enter the Aria2 RPC username (empty if authentication not enabled)": + "Masukkan username RPC Aria2 (kosongkan jika otentifikasi tidak aktif)", + "Enter the password (optional)": "Masukkan kata sandi (opsional)", + "Enter the Aria2 RPC password (empty if authentication not enabled)": + "Masukkan kata sandi RPC Aria2 (kosongkan jika otentifikasi tidak aktif)", + "Enter base URL (optional)": "Masukkan URL dasar (opsional)", + "Direct Download": "Unduh Langsung", + "If supplied, links will be created to enable direct download from the Aria2 server.": + "Jika tersedia, tautan akan dibuat untuk mengaktifkan unduhan langsung dari peladen Aria2.", + "(Requires appropriate webserver to be configured.)": + "(Mewajibkan webserver yang perlu dikonfigurasi)", + "Save Connection configuration": "Simpan konfigurasi Koneksi", + Filter: "Saring", + "Aria2 server info": "Info peladen Aria2", + "Aria2 Version": "Versi Aria2", + "Features Enabled": "Fitur yang Aktif", + "To download the latest version of the project, add issues or to contribute back, head on to": + "Untuk mengunduh versi terkini proyek, tambahkan isu atau kontribusi balik ke", + "Or you can open the latest version in the browser through": + "Atau Anda dapat membuka versi terkini via peramban lewat", + Close: "Tutup", + "Download status": "Status unduh", + "Download Speed": "Kecepatan unduh", + "Upload Speed": "Kecepatan unggah", + "Estimated time": "Waktu estimasi", + "Download Size": "Ukuran unduh", + Downloaded: "Terunduh", + Progress: "Proses", + "Download Path": "Path unduh", + Uploaded: "Terunggah", + "Download GID": "GID unduh", + "Number of Pieces": "Jumlah Bagian", + "Piece Length": "Ukuran Bagian", + "The last connection attempt was unsuccessful. Trying another configuration": + "Usaha koneksi terakhir gagal. Coba konfigurasi lain", + "Oh Snap!": "Oh Sial!", + "Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings": + "Tak dapat terkoneksi ke peladen RPC aria2. Akan diulang dalam 10 detik. Anda mungkin ingin menguji pengaturan koneksi melalui Pengaturan > Pengaturan Koneksi", + "Authentication failed while connecting to Aria2 RPC server. Will retry in 10 secs. You might want to confirm your authentication details by going to Settings > Connection Settings": + "Otentifikasi gagal saat membuka koneksi ke peladen RPC Aria2. Akan diulang dalam 10 detik. Anda mungkin ingin mengonfirmasi detail otentifikasi di Pengaturan > Pengaturan Koneksi", + "Successfully connected to Aria2 through its remote RPC …": + "Sukses terkoneksi ke Aria2 melalui remot RPC …", + "Successfully connected to Aria2 through remote RPC, however the connection is still insecure. For complete security try adding an authorization secret token while starting Aria2 (through the flag --rpc-secret)": + "Sukses terkoneksi ke Aria2 melalui remot RPC, bagaimanapun koneksi masih tidak aman. Untuk melengkapi keamanan coba tambahkan token rahasia otorisasi saat memulai Aria2 (lewat flag --rpc-secret)", + "Trying to connect to aria2 using the new connection configuration": + "Mencoba koneksi ke aria2 menggunakan konfigurasi koneksi baru", + "Remove {{name}} and associated meta-data?": + "Hapus {{name}} dan meta-data yang berhubungan?" + }); + }, + function(e, t) { + "undefined" == typeof translations && (translations = {}), + (translations.pt_BR = { + Search: "Buscar", + Add: "Adicionar", + "By URIs": "Por URIs", + "By Torrents": "Por Torrents", + "By Metalinks": "Por Metalinks", + Manage: "Gerenciar", + "Pause All": "Pausar Todos", + "Resume Paused": "Retomar Pausados", + "Purge Completed": "Remover Completados", + "Shutdown Server": "Desligar Servidor", + Settings: "Configurações", + "Connection Settings": "Configurações de Conexão", + "Global Settings": "Configurações Globais", + "Server info": "Informações do Servidor", + "About and contribute": "Sobre e contribuições", + "Toggle navigation": "Alternar navegação", + Miscellaneous: "Miscelânia", + "Global Statistics": "Estatísticas Globais", + About: "Sobre", + Displaying: "Mostrando", + of: "de", + downloads: "downloads", + Language: "Linguagem", + "Download Filters": "Filtros de Download", + Running: "Rodando", + Active: "Ativo", + Waiting: "Esperando", + Complete: "Completo", + Error: "Erro", + Paused: "Pausado", + Removed: "Removido", + "Hide linked meta-data": "Esconder metadados ligados", + Toggle: "Alternar", + "Reset filters": "Limpar filtros", + Verifing: "Verificando", + "Verify Pending": "Verificação Pendente", + "Quick Access Settings": "Acesso Rápido às Configurações", + Save: "Salvar", + "Save settings": "Salvar configurações", + "Currently no download in line to display, use the": + "No momento não existem downloads para mostrar, utilize botão", + "download button to start downloading files!": "pra iniciar a transferência de arquivos!", + Peers: "Peers", + "More Info": "Mais informações", + Remove: "Remover", + "# of": " de", + Length: "Tamanho", + "Add Downloads By URIs": "Adicionar Downloads por URIs", + "- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.": + "- Você pode adicionar múltiplos downloads (arquivos) ao mesmo tempo inserindo a URI de cada arquivo em uma linha separada.", + "- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.": + "- Você também pode adicionar múltiplas URIs (mirrors) para o *mesmo* arquivo. Para fazer isto, separe as URIs por um espaço.", + "- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.": + "- Uma URI pode ser HTTP(S)/FTP/BitTorrent-Magnet.", + "Download settings": "Configurações de download", + "Advanced settings": "Configurações avançadas", + Cancel: "Cancelar", + Start: "Iniciar", + Choose: "Escolher", + "Quick Access (shown on the main page)": "Acesso Rápido (exibido na página principal)", + "Add Downloads By Torrents": "Adicionar Downloads por Torrents", + "- Select the torrent from the local filesystem to start the download.": + "- Selecione o torrent de seu sistema de arquivos local para iniciar o download.", + "- You can select multiple torrents to start multiple downloads.": + "- Você pode selecionar múltiplos torrents para iniciar múltiplos downloads.", + "- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.": + "- Para adicionar uma URL BitTorrent-Magnet, utilize a opção Adicionar por URI.", + "Select Torrents": "Selecione Torrents", + "Select a Torrent": "Selecione um Torrent", + "Add Downloads By Metalinks": "Adicionar Downloads por Metalinks", + "Select Metalinks": "Selecione Metalinks", + "- Select the Metalink from the local filesystem to start the download.": + "- Selecione o Metalink do seu sistema de arquivos local para iniciar o download.", + "- You can select multiple Metalinks to start multiple downloads.": + "- Você pode selecionar múltiplos Metalinks para iniciar múltiplos downloads.", + "Select a Metalink": "Selecione um Metalink", + "Choose files to start download for": "Selecione os arquvos para serem baixados", + "Select to download": "Selecione para baixar", + "Aria2 RPC host and port": "Host e porta do RPC Aria2", + "Enter the host": "Informe o host", + "Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)": + "Informe o IP ou nome DNS do servidor no qual o RPC do Aria2 está rodando (default: localhost)", + "Enter the port": "Informe a porta", + "Enter the port of the server on which the RPC for Aria2 is running (default: 6800)": + "Informe a porta do servidor no qual o RPC do Aria2 está rodando (default: 6800)", + "Enter the RPC path": "Informe o caminho RPC", + "Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)": + "Informe o caminho para o endpoint RPC do Aria2 (default: /jasonrpc)", + "SSL/TLS encryption": "Criptografia SSL/TLS", + "Enable SSL/TLS encryption": "Habilita criptografia SSL/TLS", + "Enter the secret token (optional)": "Informe o token secreto (opcional)", + "Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)": + "Informe o token secreto do RPC Aria2 (deixe vazio se a autenticação não estiver habilitada)", + "Enter the username (optional)": "Informe o usuário (opcional)", + "Enter the Aria2 RPC username (empty if authentication not enabled)": + "Informe o usuário RPC do Aria2 (vazio se a autenticação não estiver habilitada)", + "Enter the password (optional)": "Informe a senha (opcional)", + "Enter the Aria2 RPC password (empty if authentication not enabled)": + "Informe a senha RPC do Aria2 (vazio se a autenticação não estiver habilitada)", + "Enter base URL (optional)": "Informe a URL base (opcional)", + "Direct Download": "Download Direto", + "If supplied, links will be created to enable direct download from the Aria2 server.": + "Se fornecido, links serão criados para permitir download direto do servidor Aria2.", + "(Requires appropriate webserver to be configured.)": + "(Requer servidor web apropriado a ser configurado.)", + "Save Connection configuration": "Salvar Configuração de conexão", + Filter: "Filtrar", + "Aria2 server info": "Informações do servidor Aria2", + "Aria2 Version": "Verão do Aria2", + "Features Enabled": "Opções Habilitadas", + "To download the latest version of the project, add issues or to contribute back, head on to": + "Para baixar a última versão do projeto, reportar problemas ou contribuir, acesse", + "Or you can open the latest version in the browser through": + "Ou você pode acessar a última versão pelo navegador através", + Close: "Fechar", + "Download status": "Status do download", + "Download Speed": "Velocidade de download", + "Upload Speed": "Velocidade de upload", + "Estimated time": "Tempo estimado", + "Download Size": "Tamanho do download", + Downloaded: "Baixado", + Progress: "Progresso", + "Download Path": "Caminho do download", + Uploaded: "Enviado", + "Download GID": "GID do download", + "Number of Pieces": "Número de partes", + "Piece Length": "Tamanho das partes", + "The last connection attempt was unsuccessful. Trying another configuration": + "A última tentativa de conexão não teve sucesso. Tentando outra configuração", + "Oh Snap!": "Ah Droga!", + "Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings": + "Não foi possível conectar no servidor RPC aria2. Tententando em 10 seg. Você pode querer verificar as configurações da conexão em Configurações > Configurações de Conexão", + "Authentication failed while connecting to Aria2 RPC server. Will retry in 10 secs. You might want to confirm your authentication details by going to Settings > Connection Settings": + "Autenticação falhou enquanto conectando ao servidor RPC Aria2. Tentando em 10 seg. Você pode querer confirmar os detalhes de autenticação acessando Configurações > Configurações de Conexão", + "Successfully connected to Aria2 through its remote RPC …": + "Conectado com sucesso ao Aria2 através de seu RPC remoto …", + "Successfully connected to Aria2 through remote RPC, however the connection is still insecure. For complete security try adding an authorization secret token while starting Aria2 (through the flag --rpc-secret)": + "Conectado com sucesso ao Aria2 através de seu RPC remoto, contudo a conexão é insegura. Para uma completa segurança tente adicionar um token secreto de autorização quando iniciar o Aria2 (através da opção --rpc-secret)", + "Trying to connect to aria2 using the new connection configuration": + "Tentando conectar-se ao aria2 utilizando a nova configuração de conexão", + "Remove {{name}} and associated meta-data?": "Remover {{name}} e os metadados associados?" + }); + } +]); diff --git a/docs/flags/br.svg b/docs/flags/br.svg new file mode 100644 index 00000000..75742632 --- /dev/null +++ b/docs/flags/br.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/flags/cn.svg b/docs/flags/cn.svg new file mode 100644 index 00000000..218ef9f2 --- /dev/null +++ b/docs/flags/cn.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/docs/flags/cz.svg b/docs/flags/cz.svg new file mode 100644 index 00000000..19621f6f --- /dev/null +++ b/docs/flags/cz.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/docs/flags/de.svg b/docs/flags/de.svg new file mode 100644 index 00000000..14f34ff7 --- /dev/null +++ b/docs/flags/de.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/flags/es.svg b/docs/flags/es.svg new file mode 100644 index 00000000..b7f396d3 --- /dev/null +++ b/docs/flags/es.svg @@ -0,0 +1,581 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/flags/1x1/fr.svg b/docs/flags/fr.svg similarity index 71% rename from flags/1x1/fr.svg rename to docs/flags/fr.svg index 73519f67..8b00ce39 100644 --- a/flags/1x1/fr.svg +++ b/docs/flags/fr.svg @@ -1,4 +1,4 @@ - + diff --git a/docs/flags/id.svg b/docs/flags/id.svg new file mode 100644 index 00000000..ec03e0f4 --- /dev/null +++ b/docs/flags/id.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/docs/flags/ir.svg b/docs/flags/ir.svg new file mode 100644 index 00000000..208f066c --- /dev/null +++ b/docs/flags/ir.svg @@ -0,0 +1,219 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/flags/it.svg b/docs/flags/it.svg new file mode 100644 index 00000000..cb4eba75 --- /dev/null +++ b/docs/flags/it.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docs/flags/nl.svg b/docs/flags/nl.svg new file mode 100644 index 00000000..19e479f4 --- /dev/null +++ b/docs/flags/nl.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docs/flags/pl.svg b/docs/flags/pl.svg new file mode 100644 index 00000000..d4f90b33 --- /dev/null +++ b/docs/flags/pl.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/docs/flags/ru.svg b/docs/flags/ru.svg new file mode 100644 index 00000000..d04a4cff --- /dev/null +++ b/docs/flags/ru.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docs/flags/th.svg b/docs/flags/th.svg new file mode 100644 index 00000000..57231040 --- /dev/null +++ b/docs/flags/th.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docs/flags/tr.svg b/docs/flags/tr.svg new file mode 100644 index 00000000..6f85dcef --- /dev/null +++ b/docs/flags/tr.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/docs/flags/tw.svg b/docs/flags/tw.svg new file mode 100644 index 00000000..61978b20 --- /dev/null +++ b/docs/flags/tw.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/docs/flags/us.svg b/docs/flags/us.svg new file mode 100644 index 00000000..4f5ea62f --- /dev/null +++ b/docs/flags/us.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 00000000..a47aabf9 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,1308 @@ + + + + + + + + + + + + + Aria2 WebUI + + + + + + + + + + + + + + + + + +
    + + +
    +
    + + +
    +
    + + +
    +
    + + + +
    + +
    + + +
    + {{ 'Currently no download in line to display, use the' | translate }} {{ 'Add' | translate }} {{ 'download button to start downloading files!' | translate }} +
    + + + + +
    +
    + +
    + + + + + + + + + + + + + + +
    + + +
    + + {{download.name}} +
    +
    +
    + +
      + +
    • + {{ 'Active' | translate }} +
    • + +
    • + {{download.downloadSpeed | bspeed}} +
    • + +
    • + {{download.uploadSpeed | bspeed}} +
    • + +
    • + {{getEta(download) | time}} +
    • + +
    • + {{download.fmtTotalLength}} +
    • + +
    • + {{download.fmtCompletedLength}} +
    • + +
    • + {{download.fmtUploadLength}} +
    • + +
    • + {{ 'Ratio' | translate }} {{getRatio(download)}} +
    • + +
    • + {{getProgress(download)}}% +
    • + + +
    + +
      + +
    • + {{ 'Verifing' | translate }} +
    • + +
    • + {{download.downloadSpeed | bspeed}} +
    • + +
    • + {{download.uploadSpeed | bspeed}} +
    • + +
    • + {{getEta(download) | time}} +
    • + +
    • + {{download.fmtTotalLength}} +
    • + +
    • + {{download.fmtCompletedLength}} +
    • + +
    • + {{getProgress(download)}}% +
    • + + +
    + +
      + +
    • + {{ 'Verify Pending' | translate}} +
    • + +
    • + {{download.downloadSpeed | bspeed}} +
    • + +
    • + {{download.uploadSpeed | bspeed}} +
    • + +
    • + {{getEta(download) | time}} +
    • + +
    • + {{download.fmtTotalLength}} +
    • + +
    • + {{download.fmtCompletedLength}} +
    • + +
    • + {{getProgress(download)}}% +
    • + + +
    + +
      + +
    • + {{ 'Paused' | translate }} +
    • + +
    • + {{download.fmtTotalLength}} +
    • + +
    • + {{download.fmtCompletedLength}} +
    • + +
    • + {{download.dir}} +
    • + + +
    + +
      + +
    • + {{ 'Waiting' | translate }} +
    • + +
    • + {{download.fmtTotalLength}} +
    • + +
    • + {{download.fmtCompletedLength}} +
    • + +
    • + {{download.dir}} +
    • + + +
    + +
      + + +
    • + {{ 'Complete' | translate }} +
    • + +
    • + {{download.fmtTotalLength}} +
    • + +
    • + {{download.fmtUploadLength}} +
    • + +
    • + {{ 'Ratio' | translate }} {{getRatio(download)}} +
    • + +
    • + {{download.dir}} +
    • + + +
    + +
      + +
    • + {{ 'Removed' | translate }} +
    • + +
    • + {{download.fmtTotalLength}} +
    • + +
    • + {{download.dir}} +
    • + + +
    + +
      + + +
    • + {{getErrorStatus(download.errorCode)}} +
    • + +
    • + {{download.fmtTotalLength}} +
    • + +
    • + {{download.dir}} +
    • + + +
    + + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
      +
    • {{getEta(download) | time}}
    • + +
    • {{download.fmtTotalLength}}
    • + +
    • {{download.fmtCompletedLength}}
    • + +
    • {{download.fmtDownloadSpeed}}
    • + +
    • {{download.fmtUploadSpeed}}
    • + +
    • {{download.fmtUploadLength}}
    • + +
    • {{ 'Ratio' | translate }} {{getRatio(download)}}
    • + +
    • {{download.connections}}{{download.numSeeders}}
    • + +
    • {{download.gid}}
    • +
    • {{ '# of' | translate }} {{download.numPieces}}
    • +
    • {{ 'Length' | translate }}  {{download.fmtPieceLength}}
    • +
    • {{download.dir}}
    • +
    + +
    +
    +
    +
    +
    +
    + + + +
    + + +
    + +
    + +
    + +
    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + diff --git a/docs/precache-manifest.52b448caf742d9881a064bf25c755e89.js b/docs/precache-manifest.52b448caf742d9881a064bf25c755e89.js new file mode 100644 index 00000000..acad2da9 --- /dev/null +++ b/docs/precache-manifest.52b448caf742d9881a064bf25c755e89.js @@ -0,0 +1,82 @@ +self.__precacheManifest = [ + { + revision: "4eb7af0db693855a4f24cb119a73110d", + url: "flags/de.svg" + }, + { + revision: "9be2d6fa33228eaaef3a00ce10238d31", + url: "index.html" + }, + { + revision: "3b00bc3b62feafb50a2e", + url: "vendor.js" + }, + { + revision: "8020fcd82cc09410f7bad1bc875c115a", + url: "flags/es.svg" + }, + { + revision: "617c6a550519013aed310e0fe85bb088", + url: "flags/us.svg" + }, + { + revision: "0f6e3867129940ef785c7c8720e0b56d", + url: "flags/ru.svg" + }, + { + revision: "09ccf3b3b0a12dd5b3559acedc77858c", + url: "flags/nl.svg" + }, + { + revision: "22084f478d0f401fa96288f7790ba8ef", + url: "flags/tw.svg" + }, + { + revision: "4a936767fc2ac7335885d90b471d8629", + url: "flags/pl.svg" + }, + { + revision: "60fb243496d39972a15bf5a78b6e50ee", + url: "flags/tr.svg" + }, + { + revision: "a88d006ab7afa49d76ecd86dd1b11f77", + url: "flags/th.svg" + }, + { + revision: "d5204a17fb30a59a4760b4109fbefe0b", + url: "flags/it.svg" + }, + { + revision: "5e7a66fb0660b714f1a47859b90767e0", + url: "flags/ir.svg" + }, + { + revision: "d107c3019844d2d1f0a4d179cbd8046e", + url: "flags/id.svg" + }, + { + revision: "be1df903f0d7711ef8a4e96b6ca56dc0", + url: "flags/fr.svg" + }, + { + revision: "5d1c62c220e3dcc85d70e206d44a9d4c", + url: "flags/cz.svg" + }, + { + revision: "bedfd890b6c16afeb952546279242cf7", + url: "flags/cn.svg" + }, + { + revision: "78de6acf30cc7fa4700207e205a52e88", + url: "flags/br.svg" + }, + { + revision: "23a22250de06d1793dc4", + url: "app.js" + }, + { + revision: "23a22250de06d1793dc4", + url: "app.css" + } +]; diff --git a/docs/service-worker.js b/docs/service-worker.js new file mode 100644 index 00000000..41c7c2e5 --- /dev/null +++ b/docs/service-worker.js @@ -0,0 +1,25 @@ +/** + * Welcome to your Workbox-powered service worker! + * + * You'll need to register this file in your web app and you should + * disable HTTP caching for this file too. + * See https://goo.gl/nhQhGp + * + * The rest of the code is auto-generated. Please don't update this file + * directly; instead, make changes to your Workbox build configuration + * and re-run your build process. + * See https://goo.gl/2aRDsh + */ + +importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.4.1/workbox-sw.js"); + +importScripts("precache-manifest.52b448caf742d9881a064bf25c755e89.js"); + +/** + * The workboxSW.precacheAndRoute() method efficiently caches and responds to + * requests for URLs in the manifest. + * See https://goo.gl/S9QRab + */ +self.__precacheManifest = [].concat(self.__precacheManifest || []); +workbox.precaching.suppressWarnings(); +workbox.precaching.precacheAndRoute(self.__precacheManifest, {}); diff --git a/docs/vendor.js b/docs/vendor.js new file mode 100644 index 00000000..c0cde16e --- /dev/null +++ b/docs/vendor.js @@ -0,0 +1,22520 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [1], + { + 0: function(t, e, n) { + n(30), (t.exports = angular); + }, + 1: function(t, e, n) { + var r; + /*! + * jQuery JavaScript Library v3.3.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2018-01-20T17:24Z + */ + /*! + * jQuery JavaScript Library v3.3.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2018-01-20T17:24Z + */ + !(function(e, n) { + "use strict"; + "object" == typeof t && "object" == typeof t.exports + ? (t.exports = e.document + ? n(e, !0) + : function(t) { + if (!t.document) throw new Error("jQuery requires a window with a document"); + return n(t); + }) + : n(e); + })("undefined" != typeof window ? window : this, function(n, i) { + "use strict"; + var o = [], + a = n.document, + u = Object.getPrototypeOf, + s = o.slice, + c = o.concat, + l = o.push, + f = o.indexOf, + p = {}, + h = p.toString, + d = p.hasOwnProperty, + v = d.toString, + g = v.call(Object), + m = {}, + $ = function(t) { + return "function" == typeof t && "number" != typeof t.nodeType; + }, + y = function(t) { + return null != t && t === t.window; + }, + b = { type: !0, src: !0, noModule: !0 }; + function w(t, e, n) { + var r, + i = (e = e || a).createElement("script"); + if (((i.text = t), n)) for (r in b) n[r] && (i[r] = n[r]); + e.head.appendChild(i).parentNode.removeChild(i); + } + function x(t) { + return null == t + ? t + "" + : "object" == typeof t || "function" == typeof t + ? p[h.call(t)] || "object" + : typeof t; + } + var _ = function(t, e) { + return new _.fn.init(t, e); + }, + C = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; + function S(t) { + var e = !!t && "length" in t && t.length, + n = x(t); + return ( + !$(t) && + !y(t) && + ("array" === n || 0 === e || ("number" == typeof e && e > 0 && e - 1 in t)) + ); + } + (_.fn = _.prototype = { + jquery: "3.3.1", + constructor: _, + length: 0, + toArray: function() { + return s.call(this); + }, + get: function(t) { + return null == t ? s.call(this) : t < 0 ? this[t + this.length] : this[t]; + }, + pushStack: function(t) { + var e = _.merge(this.constructor(), t); + return (e.prevObject = this), e; + }, + each: function(t) { + return _.each(this, t); + }, + map: function(t) { + return this.pushStack( + _.map(this, function(e, n) { + return t.call(e, n, e); + }) + ); + }, + slice: function() { + return this.pushStack(s.apply(this, arguments)); + }, + first: function() { + return this.eq(0); + }, + last: function() { + return this.eq(-1); + }, + eq: function(t) { + var e = this.length, + n = +t + (t < 0 ? e : 0); + return this.pushStack(n >= 0 && n < e ? [this[n]] : []); + }, + end: function() { + return this.prevObject || this.constructor(); + }, + push: l, + sort: o.sort, + splice: o.splice + }), + (_.extend = _.fn.extend = function() { + var t, + e, + n, + r, + i, + o, + a = arguments[0] || {}, + u = 1, + s = arguments.length, + c = !1; + for ( + "boolean" == typeof a && ((c = a), (a = arguments[u] || {}), u++), + "object" == typeof a || $(a) || (a = {}), + u === s && ((a = this), u--); + u < s; + u++ + ) + if (null != (t = arguments[u])) + for (e in t) + (n = a[e]), + a !== (r = t[e]) && + (c && r && (_.isPlainObject(r) || (i = Array.isArray(r))) + ? (i + ? ((i = !1), (o = n && Array.isArray(n) ? n : [])) + : (o = n && _.isPlainObject(n) ? n : {}), + (a[e] = _.extend(c, o, r))) + : void 0 !== r && (a[e] = r)); + return a; + }), + _.extend({ + expando: "jQuery" + ("3.3.1" + Math.random()).replace(/\D/g, ""), + isReady: !0, + error: function(t) { + throw new Error(t); + }, + noop: function() {}, + isPlainObject: function(t) { + var e, n; + return ( + !(!t || "[object Object]" !== h.call(t)) && + (!(e = u(t)) || + ("function" == typeof (n = d.call(e, "constructor") && e.constructor) && + v.call(n) === g)) + ); + }, + isEmptyObject: function(t) { + var e; + for (e in t) return !1; + return !0; + }, + globalEval: function(t) { + w(t); + }, + each: function(t, e) { + var n, + r = 0; + if (S(t)) for (n = t.length; r < n && !1 !== e.call(t[r], r, t[r]); r++); + else for (r in t) if (!1 === e.call(t[r], r, t[r])) break; + return t; + }, + trim: function(t) { + return null == t ? "" : (t + "").replace(C, ""); + }, + makeArray: function(t, e) { + var n = e || []; + return ( + null != t && + (S(Object(t)) ? _.merge(n, "string" == typeof t ? [t] : t) : l.call(n, t)), + n + ); + }, + inArray: function(t, e, n) { + return null == e ? -1 : f.call(e, t, n); + }, + merge: function(t, e) { + for (var n = +e.length, r = 0, i = t.length; r < n; r++) t[i++] = e[r]; + return (t.length = i), t; + }, + grep: function(t, e, n) { + for (var r = [], i = 0, o = t.length, a = !n; i < o; i++) + !e(t[i], i) !== a && r.push(t[i]); + return r; + }, + map: function(t, e, n) { + var r, + i, + o = 0, + a = []; + if (S(t)) for (r = t.length; o < r; o++) null != (i = e(t[o], o, n)) && a.push(i); + else for (o in t) null != (i = e(t[o], o, n)) && a.push(i); + return c.apply([], a); + }, + guid: 1, + support: m + }), + "function" == typeof Symbol && (_.fn[Symbol.iterator] = o[Symbol.iterator]), + _.each( + "Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), + function(t, e) { + p["[object " + e + "]"] = e.toLowerCase(); + } + ); + var E = + /*! + * Sizzle CSS Selector Engine v2.3.3 + * https://sizzlejs.com/ + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2016-08-08 + */ + (function(t) { + var e, + n, + r, + i, + o, + a, + u, + s, + c, + l, + f, + p, + h, + d, + v, + g, + m, + $, + y, + b = "sizzle" + 1 * new Date(), + w = t.document, + x = 0, + _ = 0, + C = at(), + S = at(), + E = at(), + k = function(t, e) { + return t === e && (f = !0), 0; + }, + A = {}.hasOwnProperty, + T = [], + O = T.pop, + j = T.push, + N = T.push, + M = T.slice, + L = function(t, e) { + for (var n = 0, r = t.length; n < r; n++) if (t[n] === e) return n; + return -1; + }, + D = + "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + I = "[\\x20\\t\\r\\n\\f]", + R = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+", + P = + "\\[" + + I + + "*(" + + R + + ")(?:" + + I + + "*([*^$|!~]?=)" + + I + + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + + R + + "))|)" + + I + + "*\\]", + V = + ":(" + + R + + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + + P + + ")*)|.*)\\)|)", + q = new RegExp(I + "+", "g"), + U = new RegExp("^" + I + "+|((?:^|[^\\\\])(?:\\\\.)*)" + I + "+$", "g"), + F = new RegExp("^" + I + "*," + I + "*"), + H = new RegExp("^" + I + "*([>+~]|" + I + ")" + I + "*"), + B = new RegExp("=" + I + "*([^\\]'\"]*?)" + I + "*\\]", "g"), + z = new RegExp(V), + W = new RegExp("^" + R + "$"), + G = { + ID: new RegExp("^#(" + R + ")"), + CLASS: new RegExp("^\\.(" + R + ")"), + TAG: new RegExp("^(" + R + "|[*])"), + ATTR: new RegExp("^" + P), + PSEUDO: new RegExp("^" + V), + CHILD: new RegExp( + "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + I + + "*(even|odd|(([+-]|)(\\d*)n|)" + + I + + "*(?:([+-]|)" + + I + + "*(\\d+)|))" + + I + + "*\\)|)", + "i" + ), + bool: new RegExp("^(?:" + D + ")$", "i"), + needsContext: new RegExp( + "^" + + I + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + I + + "*((?:-\\d)?\\d*)" + + I + + "*\\)|)(?=[^-]|$)", + "i" + ) + }, + K = /^(?:input|select|textarea|button)$/i, + J = /^h\d$/i, + Y = /^[^{]+\{\s*\[native \w/, + Z = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + X = /[+~]/, + Q = new RegExp("\\\\([\\da-f]{1,6}" + I + "?|(" + I + ")|.)", "ig"), + tt = function(t, e, n) { + var r = "0x" + e - 65536; + return r != r || n + ? e + : r < 0 + ? String.fromCharCode(r + 65536) + : String.fromCharCode((r >> 10) | 55296, (1023 & r) | 56320); + }, + et = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + nt = function(t, e) { + return e + ? "\0" === t + ? "�" + : t.slice(0, -1) + "\\" + t.charCodeAt(t.length - 1).toString(16) + " " + : "\\" + t; + }, + rt = function() { + p(); + }, + it = $t( + function(t) { + return !0 === t.disabled && ("form" in t || "label" in t); + }, + { dir: "parentNode", next: "legend" } + ); + try { + N.apply((T = M.call(w.childNodes)), w.childNodes), T[w.childNodes.length].nodeType; + } catch (t) { + N = { + apply: T.length + ? function(t, e) { + j.apply(t, M.call(e)); + } + : function(t, e) { + for (var n = t.length, r = 0; (t[n++] = e[r++]); ); + t.length = n - 1; + } + }; + } + function ot(t, e, r, i) { + var o, + u, + c, + l, + f, + d, + m, + $ = e && e.ownerDocument, + x = e ? e.nodeType : 9; + if (((r = r || []), "string" != typeof t || !t || (1 !== x && 9 !== x && 11 !== x))) + return r; + if (!i && ((e ? e.ownerDocument || e : w) !== h && p(e), (e = e || h), v)) { + if (11 !== x && (f = Z.exec(t))) + if ((o = f[1])) { + if (9 === x) { + if (!(c = e.getElementById(o))) return r; + if (c.id === o) return r.push(c), r; + } else if ($ && (c = $.getElementById(o)) && y(e, c) && c.id === o) + return r.push(c), r; + } else { + if (f[2]) return N.apply(r, e.getElementsByTagName(t)), r; + if ((o = f[3]) && n.getElementsByClassName && e.getElementsByClassName) + return N.apply(r, e.getElementsByClassName(o)), r; + } + if (n.qsa && !E[t + " "] && (!g || !g.test(t))) { + if (1 !== x) ($ = e), (m = t); + else if ("object" !== e.nodeName.toLowerCase()) { + for ( + (l = e.getAttribute("id")) + ? (l = l.replace(et, nt)) + : e.setAttribute("id", (l = b)), + u = (d = a(t)).length; + u--; + + ) + d[u] = "#" + l + " " + mt(d[u]); + (m = d.join(",")), ($ = (X.test(t) && vt(e.parentNode)) || e); + } + if (m) + try { + return N.apply(r, $.querySelectorAll(m)), r; + } catch (t) { + } finally { + l === b && e.removeAttribute("id"); + } + } + } + return s(t.replace(U, "$1"), e, r, i); + } + function at() { + var t = []; + return function e(n, i) { + return t.push(n + " ") > r.cacheLength && delete e[t.shift()], (e[n + " "] = i); + }; + } + function ut(t) { + return (t[b] = !0), t; + } + function st(t) { + var e = h.createElement("fieldset"); + try { + return !!t(e); + } catch (t) { + return !1; + } finally { + e.parentNode && e.parentNode.removeChild(e), (e = null); + } + } + function ct(t, e) { + for (var n = t.split("|"), i = n.length; i--; ) r.attrHandle[n[i]] = e; + } + function lt(t, e) { + var n = e && t, + r = n && 1 === t.nodeType && 1 === e.nodeType && t.sourceIndex - e.sourceIndex; + if (r) return r; + if (n) for (; (n = n.nextSibling); ) if (n === e) return -1; + return t ? 1 : -1; + } + function ft(t) { + return function(e) { + return "input" === e.nodeName.toLowerCase() && e.type === t; + }; + } + function pt(t) { + return function(e) { + var n = e.nodeName.toLowerCase(); + return ("input" === n || "button" === n) && e.type === t; + }; + } + function ht(t) { + return function(e) { + return "form" in e + ? e.parentNode && !1 === e.disabled + ? "label" in e + ? "label" in e.parentNode + ? e.parentNode.disabled === t + : e.disabled === t + : e.isDisabled === t || (e.isDisabled !== !t && it(e) === t) + : e.disabled === t + : "label" in e && e.disabled === t; + }; + } + function dt(t) { + return ut(function(e) { + return ( + (e = +e), + ut(function(n, r) { + for (var i, o = t([], n.length, e), a = o.length; a--; ) + n[(i = o[a])] && (n[i] = !(r[i] = n[i])); + }) + ); + }); + } + function vt(t) { + return t && void 0 !== t.getElementsByTagName && t; + } + for (e in ((n = ot.support = {}), + (o = ot.isXML = function(t) { + var e = t && (t.ownerDocument || t).documentElement; + return !!e && "HTML" !== e.nodeName; + }), + (p = ot.setDocument = function(t) { + var e, + i, + a = t ? t.ownerDocument || t : w; + return a !== h && 9 === a.nodeType && a.documentElement + ? ((d = (h = a).documentElement), + (v = !o(h)), + w !== h && + (i = h.defaultView) && + i.top !== i && + (i.addEventListener + ? i.addEventListener("unload", rt, !1) + : i.attachEvent && i.attachEvent("onunload", rt)), + (n.attributes = st(function(t) { + return (t.className = "i"), !t.getAttribute("className"); + })), + (n.getElementsByTagName = st(function(t) { + return t.appendChild(h.createComment("")), !t.getElementsByTagName("*").length; + })), + (n.getElementsByClassName = Y.test(h.getElementsByClassName)), + (n.getById = st(function(t) { + return ( + (d.appendChild(t).id = b), + !h.getElementsByName || !h.getElementsByName(b).length + ); + })), + n.getById + ? ((r.filter.ID = function(t) { + var e = t.replace(Q, tt); + return function(t) { + return t.getAttribute("id") === e; + }; + }), + (r.find.ID = function(t, e) { + if (void 0 !== e.getElementById && v) { + var n = e.getElementById(t); + return n ? [n] : []; + } + })) + : ((r.filter.ID = function(t) { + var e = t.replace(Q, tt); + return function(t) { + var n = void 0 !== t.getAttributeNode && t.getAttributeNode("id"); + return n && n.value === e; + }; + }), + (r.find.ID = function(t, e) { + if (void 0 !== e.getElementById && v) { + var n, + r, + i, + o = e.getElementById(t); + if (o) { + if ((n = o.getAttributeNode("id")) && n.value === t) return [o]; + for (i = e.getElementsByName(t), r = 0; (o = i[r++]); ) + if ((n = o.getAttributeNode("id")) && n.value === t) return [o]; + } + return []; + } + })), + (r.find.TAG = n.getElementsByTagName + ? function(t, e) { + return void 0 !== e.getElementsByTagName + ? e.getElementsByTagName(t) + : n.qsa + ? e.querySelectorAll(t) + : void 0; + } + : function(t, e) { + var n, + r = [], + i = 0, + o = e.getElementsByTagName(t); + if ("*" === t) { + for (; (n = o[i++]); ) 1 === n.nodeType && r.push(n); + return r; + } + return o; + }), + (r.find.CLASS = + n.getElementsByClassName && + function(t, e) { + if (void 0 !== e.getElementsByClassName && v) + return e.getElementsByClassName(t); + }), + (m = []), + (g = []), + (n.qsa = Y.test(h.querySelectorAll)) && + (st(function(t) { + (d.appendChild(t).innerHTML = + ""), + t.querySelectorAll("[msallowcapture^='']").length && + g.push("[*^$]=" + I + "*(?:''|\"\")"), + t.querySelectorAll("[selected]").length || + g.push("\\[" + I + "*(?:value|" + D + ")"), + t.querySelectorAll("[id~=" + b + "-]").length || g.push("~="), + t.querySelectorAll(":checked").length || g.push(":checked"), + t.querySelectorAll("a#" + b + "+*").length || g.push(".#.+[+~]"); + }), + st(function(t) { + t.innerHTML = + ""; + var e = h.createElement("input"); + e.setAttribute("type", "hidden"), + t.appendChild(e).setAttribute("name", "D"), + t.querySelectorAll("[name=d]").length && g.push("name" + I + "*[*^$|!~]?="), + 2 !== t.querySelectorAll(":enabled").length && + g.push(":enabled", ":disabled"), + (d.appendChild(t).disabled = !0), + 2 !== t.querySelectorAll(":disabled").length && + g.push(":enabled", ":disabled"), + t.querySelectorAll("*,:x"), + g.push(",.*:"); + })), + (n.matchesSelector = Y.test( + ($ = + d.matches || + d.webkitMatchesSelector || + d.mozMatchesSelector || + d.oMatchesSelector || + d.msMatchesSelector) + )) && + st(function(t) { + (n.disconnectedMatch = $.call(t, "*")), + $.call(t, "[s!='']:x"), + m.push("!=", V); + }), + (g = g.length && new RegExp(g.join("|"))), + (m = m.length && new RegExp(m.join("|"))), + (e = Y.test(d.compareDocumentPosition)), + (y = + e || Y.test(d.contains) + ? function(t, e) { + var n = 9 === t.nodeType ? t.documentElement : t, + r = e && e.parentNode; + return ( + t === r || + !( + !r || + 1 !== r.nodeType || + !(n.contains + ? n.contains(r) + : t.compareDocumentPosition && 16 & t.compareDocumentPosition(r)) + ) + ); + } + : function(t, e) { + if (e) for (; (e = e.parentNode); ) if (e === t) return !0; + return !1; + }), + (k = e + ? function(t, e) { + if (t === e) return (f = !0), 0; + var r = !t.compareDocumentPosition - !e.compareDocumentPosition; + return ( + r || + (1 & + (r = + (t.ownerDocument || t) === (e.ownerDocument || e) + ? t.compareDocumentPosition(e) + : 1) || + (!n.sortDetached && e.compareDocumentPosition(t) === r) + ? t === h || (t.ownerDocument === w && y(w, t)) + ? -1 + : e === h || (e.ownerDocument === w && y(w, e)) + ? 1 + : l + ? L(l, t) - L(l, e) + : 0 + : 4 & r + ? -1 + : 1) + ); + } + : function(t, e) { + if (t === e) return (f = !0), 0; + var n, + r = 0, + i = t.parentNode, + o = e.parentNode, + a = [t], + u = [e]; + if (!i || !o) + return t === h + ? -1 + : e === h + ? 1 + : i + ? -1 + : o + ? 1 + : l + ? L(l, t) - L(l, e) + : 0; + if (i === o) return lt(t, e); + for (n = t; (n = n.parentNode); ) a.unshift(n); + for (n = e; (n = n.parentNode); ) u.unshift(n); + for (; a[r] === u[r]; ) r++; + return r ? lt(a[r], u[r]) : a[r] === w ? -1 : u[r] === w ? 1 : 0; + }), + h) + : h; + }), + (ot.matches = function(t, e) { + return ot(t, null, null, e); + }), + (ot.matchesSelector = function(t, e) { + if ( + ((t.ownerDocument || t) !== h && p(t), + (e = e.replace(B, "='$1']")), + n.matchesSelector && v && !E[e + " "] && (!m || !m.test(e)) && (!g || !g.test(e))) + ) + try { + var r = $.call(t, e); + if (r || n.disconnectedMatch || (t.document && 11 !== t.document.nodeType)) + return r; + } catch (t) {} + return ot(e, h, null, [t]).length > 0; + }), + (ot.contains = function(t, e) { + return (t.ownerDocument || t) !== h && p(t), y(t, e); + }), + (ot.attr = function(t, e) { + (t.ownerDocument || t) !== h && p(t); + var i = r.attrHandle[e.toLowerCase()], + o = i && A.call(r.attrHandle, e.toLowerCase()) ? i(t, e, !v) : void 0; + return void 0 !== o + ? o + : n.attributes || !v + ? t.getAttribute(e) + : (o = t.getAttributeNode(e)) && o.specified + ? o.value + : null; + }), + (ot.escape = function(t) { + return (t + "").replace(et, nt); + }), + (ot.error = function(t) { + throw new Error("Syntax error, unrecognized expression: " + t); + }), + (ot.uniqueSort = function(t) { + var e, + r = [], + i = 0, + o = 0; + if (((f = !n.detectDuplicates), (l = !n.sortStable && t.slice(0)), t.sort(k), f)) { + for (; (e = t[o++]); ) e === t[o] && (i = r.push(o)); + for (; i--; ) t.splice(r[i], 1); + } + return (l = null), t; + }), + (i = ot.getText = function(t) { + var e, + n = "", + r = 0, + o = t.nodeType; + if (o) { + if (1 === o || 9 === o || 11 === o) { + if ("string" == typeof t.textContent) return t.textContent; + for (t = t.firstChild; t; t = t.nextSibling) n += i(t); + } else if (3 === o || 4 === o) return t.nodeValue; + } else for (; (e = t[r++]); ) n += i(e); + return n; + }), + ((r = ot.selectors = { + cacheLength: 50, + createPseudo: ut, + match: G, + attrHandle: {}, + find: {}, + relative: { + ">": { dir: "parentNode", first: !0 }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: !0 }, + "~": { dir: "previousSibling" } + }, + preFilter: { + ATTR: function(t) { + return ( + (t[1] = t[1].replace(Q, tt)), + (t[3] = (t[3] || t[4] || t[5] || "").replace(Q, tt)), + "~=" === t[2] && (t[3] = " " + t[3] + " "), + t.slice(0, 4) + ); + }, + CHILD: function(t) { + return ( + (t[1] = t[1].toLowerCase()), + "nth" === t[1].slice(0, 3) + ? (t[3] || ot.error(t[0]), + (t[4] = +(t[4] + ? t[5] + (t[6] || 1) + : 2 * ("even" === t[3] || "odd" === t[3]))), + (t[5] = +(t[7] + t[8] || "odd" === t[3]))) + : t[3] && ot.error(t[0]), + t + ); + }, + PSEUDO: function(t) { + var e, + n = !t[6] && t[2]; + return G.CHILD.test(t[0]) + ? null + : (t[3] + ? (t[2] = t[4] || t[5] || "") + : n && + z.test(n) && + (e = a(n, !0)) && + (e = n.indexOf(")", n.length - e) - n.length) && + ((t[0] = t[0].slice(0, e)), (t[2] = n.slice(0, e))), + t.slice(0, 3)); + } + }, + filter: { + TAG: function(t) { + var e = t.replace(Q, tt).toLowerCase(); + return "*" === t + ? function() { + return !0; + } + : function(t) { + return t.nodeName && t.nodeName.toLowerCase() === e; + }; + }, + CLASS: function(t) { + var e = C[t + " "]; + return ( + e || + ((e = new RegExp("(^|" + I + ")" + t + "(" + I + "|$)")) && + C(t, function(t) { + return e.test( + ("string" == typeof t.className && t.className) || + (void 0 !== t.getAttribute && t.getAttribute("class")) || + "" + ); + })) + ); + }, + ATTR: function(t, e, n) { + return function(r) { + var i = ot.attr(r, t); + return null == i + ? "!=" === e + : !e || + ((i += ""), + "=" === e + ? i === n + : "!=" === e + ? i !== n + : "^=" === e + ? n && 0 === i.indexOf(n) + : "*=" === e + ? n && i.indexOf(n) > -1 + : "$=" === e + ? n && i.slice(-n.length) === n + : "~=" === e + ? (" " + i.replace(q, " ") + " ").indexOf(n) > -1 + : "|=" === e && + (i === n || i.slice(0, n.length + 1) === n + "-")); + }; + }, + CHILD: function(t, e, n, r, i) { + var o = "nth" !== t.slice(0, 3), + a = "last" !== t.slice(-4), + u = "of-type" === e; + return 1 === r && 0 === i + ? function(t) { + return !!t.parentNode; + } + : function(e, n, s) { + var c, + l, + f, + p, + h, + d, + v = o !== a ? "nextSibling" : "previousSibling", + g = e.parentNode, + m = u && e.nodeName.toLowerCase(), + $ = !s && !u, + y = !1; + if (g) { + if (o) { + for (; v; ) { + for (p = e; (p = p[v]); ) + if (u ? p.nodeName.toLowerCase() === m : 1 === p.nodeType) + return !1; + d = v = "only" === t && !d && "nextSibling"; + } + return !0; + } + if (((d = [a ? g.firstChild : g.lastChild]), a && $)) { + for ( + y = + (h = + (c = + (l = + (f = (p = g)[b] || (p[b] = {}))[p.uniqueID] || + (f[p.uniqueID] = {}))[t] || [])[0] === x && c[1]) && c[2], + p = h && g.childNodes[h]; + (p = (++h && p && p[v]) || (y = h = 0) || d.pop()); + + ) + if (1 === p.nodeType && ++y && p === e) { + l[t] = [x, h, y]; + break; + } + } else if ( + ($ && + (y = h = + (c = + (l = + (f = (p = e)[b] || (p[b] = {}))[p.uniqueID] || + (f[p.uniqueID] = {}))[t] || [])[0] === x && c[1]), + !1 === y) + ) + for ( + ; + (p = (++h && p && p[v]) || (y = h = 0) || d.pop()) && + ((u ? p.nodeName.toLowerCase() !== m : 1 !== p.nodeType) || + !++y || + ($ && + ((l = + (f = p[b] || (p[b] = {}))[p.uniqueID] || (f[p.uniqueID] = {}))[ + t + ] = [x, y]), + p !== e)); + + ); + return (y -= i) === r || (y % r == 0 && y / r >= 0); + } + }; + }, + PSEUDO: function(t, e) { + var n, + i = + r.pseudos[t] || + r.setFilters[t.toLowerCase()] || + ot.error("unsupported pseudo: " + t); + return i[b] + ? i(e) + : i.length > 1 + ? ((n = [t, t, "", e]), + r.setFilters.hasOwnProperty(t.toLowerCase()) + ? ut(function(t, n) { + for (var r, o = i(t, e), a = o.length; a--; ) + t[(r = L(t, o[a]))] = !(n[r] = o[a]); + }) + : function(t) { + return i(t, 0, n); + }) + : i; + } + }, + pseudos: { + not: ut(function(t) { + var e = [], + n = [], + r = u(t.replace(U, "$1")); + return r[b] + ? ut(function(t, e, n, i) { + for (var o, a = r(t, null, i, []), u = t.length; u--; ) + (o = a[u]) && (t[u] = !(e[u] = o)); + }) + : function(t, i, o) { + return (e[0] = t), r(e, null, o, n), (e[0] = null), !n.pop(); + }; + }), + has: ut(function(t) { + return function(e) { + return ot(t, e).length > 0; + }; + }), + contains: ut(function(t) { + return ( + (t = t.replace(Q, tt)), + function(e) { + return (e.textContent || e.innerText || i(e)).indexOf(t) > -1; + } + ); + }), + lang: ut(function(t) { + return ( + W.test(t || "") || ot.error("unsupported lang: " + t), + (t = t.replace(Q, tt).toLowerCase()), + function(e) { + var n; + do { + if ((n = v ? e.lang : e.getAttribute("xml:lang") || e.getAttribute("lang"))) + return (n = n.toLowerCase()) === t || 0 === n.indexOf(t + "-"); + } while ((e = e.parentNode) && 1 === e.nodeType); + return !1; + } + ); + }), + target: function(e) { + var n = t.location && t.location.hash; + return n && n.slice(1) === e.id; + }, + root: function(t) { + return t === d; + }, + focus: function(t) { + return ( + t === h.activeElement && + (!h.hasFocus || h.hasFocus()) && + !!(t.type || t.href || ~t.tabIndex) + ); + }, + enabled: ht(!1), + disabled: ht(!0), + checked: function(t) { + var e = t.nodeName.toLowerCase(); + return ("input" === e && !!t.checked) || ("option" === e && !!t.selected); + }, + selected: function(t) { + return t.parentNode && t.parentNode.selectedIndex, !0 === t.selected; + }, + empty: function(t) { + for (t = t.firstChild; t; t = t.nextSibling) if (t.nodeType < 6) return !1; + return !0; + }, + parent: function(t) { + return !r.pseudos.empty(t); + }, + header: function(t) { + return J.test(t.nodeName); + }, + input: function(t) { + return K.test(t.nodeName); + }, + button: function(t) { + var e = t.nodeName.toLowerCase(); + return ("input" === e && "button" === t.type) || "button" === e; + }, + text: function(t) { + var e; + return ( + "input" === t.nodeName.toLowerCase() && + "text" === t.type && + (null == (e = t.getAttribute("type")) || "text" === e.toLowerCase()) + ); + }, + first: dt(function() { + return [0]; + }), + last: dt(function(t, e) { + return [e - 1]; + }), + eq: dt(function(t, e, n) { + return [n < 0 ? n + e : n]; + }), + even: dt(function(t, e) { + for (var n = 0; n < e; n += 2) t.push(n); + return t; + }), + odd: dt(function(t, e) { + for (var n = 1; n < e; n += 2) t.push(n); + return t; + }), + lt: dt(function(t, e, n) { + for (var r = n < 0 ? n + e : n; --r >= 0; ) t.push(r); + return t; + }), + gt: dt(function(t, e, n) { + for (var r = n < 0 ? n + e : n; ++r < e; ) t.push(r); + return t; + }) + } + }).pseudos.nth = r.pseudos.eq), + { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 })) + r.pseudos[e] = ft(e); + for (e in { submit: !0, reset: !0 }) r.pseudos[e] = pt(e); + function gt() {} + function mt(t) { + for (var e = 0, n = t.length, r = ""; e < n; e++) r += t[e].value; + return r; + } + function $t(t, e, n) { + var r = e.dir, + i = e.next, + o = i || r, + a = n && "parentNode" === o, + u = _++; + return e.first + ? function(e, n, i) { + for (; (e = e[r]); ) if (1 === e.nodeType || a) return t(e, n, i); + return !1; + } + : function(e, n, s) { + var c, + l, + f, + p = [x, u]; + if (s) { + for (; (e = e[r]); ) if ((1 === e.nodeType || a) && t(e, n, s)) return !0; + } else + for (; (e = e[r]); ) + if (1 === e.nodeType || a) + if ( + ((l = (f = e[b] || (e[b] = {}))[e.uniqueID] || (f[e.uniqueID] = {})), + i && i === e.nodeName.toLowerCase()) + ) + e = e[r] || e; + else { + if ((c = l[o]) && c[0] === x && c[1] === u) return (p[2] = c[2]); + if (((l[o] = p), (p[2] = t(e, n, s)))) return !0; + } + return !1; + }; + } + function yt(t) { + return t.length > 1 + ? function(e, n, r) { + for (var i = t.length; i--; ) if (!t[i](e, n, r)) return !1; + return !0; + } + : t[0]; + } + function bt(t, e, n, r, i) { + for (var o, a = [], u = 0, s = t.length, c = null != e; u < s; u++) + (o = t[u]) && ((n && !n(o, r, i)) || (a.push(o), c && e.push(u))); + return a; + } + function wt(t, e, n, r, i, o) { + return ( + r && !r[b] && (r = wt(r)), + i && !i[b] && (i = wt(i, o)), + ut(function(o, a, u, s) { + var c, + l, + f, + p = [], + h = [], + d = a.length, + v = + o || + (function(t, e, n) { + for (var r = 0, i = e.length; r < i; r++) ot(t, e[r], n); + return n; + })(e || "*", u.nodeType ? [u] : u, []), + g = !t || (!o && e) ? v : bt(v, p, t, u, s), + m = n ? (i || (o ? t : d || r) ? [] : a) : g; + if ((n && n(g, m, u, s), r)) + for (c = bt(m, h), r(c, [], u, s), l = c.length; l--; ) + (f = c[l]) && (m[h[l]] = !(g[h[l]] = f)); + if (o) { + if (i || t) { + if (i) { + for (c = [], l = m.length; l--; ) (f = m[l]) && c.push((g[l] = f)); + i(null, (m = []), c, s); + } + for (l = m.length; l--; ) + (f = m[l]) && (c = i ? L(o, f) : p[l]) > -1 && (o[c] = !(a[c] = f)); + } + } else (m = bt(m === a ? m.splice(d, m.length) : m)), i ? i(null, a, m, s) : N.apply(a, m); + }) + ); + } + function xt(t) { + for ( + var e, + n, + i, + o = t.length, + a = r.relative[t[0].type], + u = a || r.relative[" "], + s = a ? 1 : 0, + l = $t( + function(t) { + return t === e; + }, + u, + !0 + ), + f = $t( + function(t) { + return L(e, t) > -1; + }, + u, + !0 + ), + p = [ + function(t, n, r) { + var i = + (!a && (r || n !== c)) || ((e = n).nodeType ? l(t, n, r) : f(t, n, r)); + return (e = null), i; + } + ]; + s < o; + s++ + ) + if ((n = r.relative[t[s].type])) p = [$t(yt(p), n)]; + else { + if ((n = r.filter[t[s].type].apply(null, t[s].matches))[b]) { + for (i = ++s; i < o && !r.relative[t[i].type]; i++); + return wt( + s > 1 && yt(p), + s > 1 && + mt( + t.slice(0, s - 1).concat({ value: " " === t[s - 2].type ? "*" : "" }) + ).replace(U, "$1"), + n, + s < i && xt(t.slice(s, i)), + i < o && xt((t = t.slice(i))), + i < o && mt(t) + ); + } + p.push(n); + } + return yt(p); + } + return ( + (gt.prototype = r.filters = r.pseudos), + (r.setFilters = new gt()), + (a = ot.tokenize = function(t, e) { + var n, + i, + o, + a, + u, + s, + c, + l = S[t + " "]; + if (l) return e ? 0 : l.slice(0); + for (u = t, s = [], c = r.preFilter; u; ) { + for (a in ((n && !(i = F.exec(u))) || + (i && (u = u.slice(i[0].length) || u), s.push((o = []))), + (n = !1), + (i = H.exec(u)) && + ((n = i.shift()), + o.push({ value: n, type: i[0].replace(U, " ") }), + (u = u.slice(n.length))), + r.filter)) + !(i = G[a].exec(u)) || + (c[a] && !(i = c[a](i))) || + ((n = i.shift()), + o.push({ value: n, type: a, matches: i }), + (u = u.slice(n.length))); + if (!n) break; + } + return e ? u.length : u ? ot.error(t) : S(t, s).slice(0); + }), + (u = ot.compile = function(t, e) { + var n, + i = [], + o = [], + u = E[t + " "]; + if (!u) { + for (e || (e = a(t)), n = e.length; n--; ) + (u = xt(e[n]))[b] ? i.push(u) : o.push(u); + (u = E( + t, + (function(t, e) { + var n = e.length > 0, + i = t.length > 0, + o = function(o, a, u, s, l) { + var f, + d, + g, + m = 0, + $ = "0", + y = o && [], + b = [], + w = c, + _ = o || (i && r.find.TAG("*", l)), + C = (x += null == w ? 1 : Math.random() || 0.1), + S = _.length; + for (l && (c = a === h || a || l); $ !== S && null != (f = _[$]); $++) { + if (i && f) { + for ( + d = 0, a || f.ownerDocument === h || (p(f), (u = !v)); + (g = t[d++]); + + ) + if (g(f, a || h, u)) { + s.push(f); + break; + } + l && (x = C); + } + n && ((f = !g && f) && m--, o && y.push(f)); + } + if (((m += $), n && $ !== m)) { + for (d = 0; (g = e[d++]); ) g(y, b, a, u); + if (o) { + if (m > 0) for (; $--; ) y[$] || b[$] || (b[$] = O.call(s)); + b = bt(b); + } + N.apply(s, b), + l && !o && b.length > 0 && m + e.length > 1 && ot.uniqueSort(s); + } + return l && ((x = C), (c = w)), y; + }; + return n ? ut(o) : o; + })(o, i) + )).selector = t; + } + return u; + }), + (s = ot.select = function(t, e, n, i) { + var o, + s, + c, + l, + f, + p = "function" == typeof t && t, + h = !i && a((t = p.selector || t)); + if (((n = n || []), 1 === h.length)) { + if ( + (s = h[0] = h[0].slice(0)).length > 2 && + "ID" === (c = s[0]).type && + 9 === e.nodeType && + v && + r.relative[s[1].type] + ) { + if (!(e = (r.find.ID(c.matches[0].replace(Q, tt), e) || [])[0])) return n; + p && (e = e.parentNode), (t = t.slice(s.shift().value.length)); + } + for ( + o = G.needsContext.test(t) ? 0 : s.length; + o-- && ((c = s[o]), !r.relative[(l = c.type)]); + + ) + if ( + (f = r.find[l]) && + (i = f( + c.matches[0].replace(Q, tt), + (X.test(s[0].type) && vt(e.parentNode)) || e + )) + ) { + if ((s.splice(o, 1), !(t = i.length && mt(s)))) return N.apply(n, i), n; + break; + } + } + return (p || u(t, h))(i, e, !v, n, !e || (X.test(t) && vt(e.parentNode)) || e), n; + }), + (n.sortStable = + b + .split("") + .sort(k) + .join("") === b), + (n.detectDuplicates = !!f), + p(), + (n.sortDetached = st(function(t) { + return 1 & t.compareDocumentPosition(h.createElement("fieldset")); + })), + st(function(t) { + return ( + (t.innerHTML = ""), "#" === t.firstChild.getAttribute("href") + ); + }) || + ct("type|href|height|width", function(t, e, n) { + if (!n) return t.getAttribute(e, "type" === e.toLowerCase() ? 1 : 2); + }), + (n.attributes && + st(function(t) { + return ( + (t.innerHTML = ""), + t.firstChild.setAttribute("value", ""), + "" === t.firstChild.getAttribute("value") + ); + })) || + ct("value", function(t, e, n) { + if (!n && "input" === t.nodeName.toLowerCase()) return t.defaultValue; + }), + st(function(t) { + return null == t.getAttribute("disabled"); + }) || + ct(D, function(t, e, n) { + var r; + if (!n) + return !0 === t[e] + ? e.toLowerCase() + : (r = t.getAttributeNode(e)) && r.specified + ? r.value + : null; + }), + ot + ); + })(n); + (_.find = E), + (_.expr = E.selectors), + (_.expr[":"] = _.expr.pseudos), + (_.uniqueSort = _.unique = E.uniqueSort), + (_.text = E.getText), + (_.isXMLDoc = E.isXML), + (_.contains = E.contains), + (_.escapeSelector = E.escape); + var k = function(t, e, n) { + for (var r = [], i = void 0 !== n; (t = t[e]) && 9 !== t.nodeType; ) + if (1 === t.nodeType) { + if (i && _(t).is(n)) break; + r.push(t); + } + return r; + }, + A = function(t, e) { + for (var n = []; t; t = t.nextSibling) 1 === t.nodeType && t !== e && n.push(t); + return n; + }, + T = _.expr.match.needsContext; + function O(t, e) { + return t.nodeName && t.nodeName.toLowerCase() === e.toLowerCase(); + } + var j = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i; + function N(t, e, n) { + return $(e) + ? _.grep(t, function(t, r) { + return !!e.call(t, r, t) !== n; + }) + : e.nodeType + ? _.grep(t, function(t) { + return (t === e) !== n; + }) + : "string" != typeof e + ? _.grep(t, function(t) { + return f.call(e, t) > -1 !== n; + }) + : _.filter(e, t, n); + } + (_.filter = function(t, e, n) { + var r = e[0]; + return ( + n && (t = ":not(" + t + ")"), + 1 === e.length && 1 === r.nodeType + ? _.find.matchesSelector(r, t) + ? [r] + : [] + : _.find.matches( + t, + _.grep(e, function(t) { + return 1 === t.nodeType; + }) + ) + ); + }), + _.fn.extend({ + find: function(t) { + var e, + n, + r = this.length, + i = this; + if ("string" != typeof t) + return this.pushStack( + _(t).filter(function() { + for (e = 0; e < r; e++) if (_.contains(i[e], this)) return !0; + }) + ); + for (n = this.pushStack([]), e = 0; e < r; e++) _.find(t, i[e], n); + return r > 1 ? _.uniqueSort(n) : n; + }, + filter: function(t) { + return this.pushStack(N(this, t || [], !1)); + }, + not: function(t) { + return this.pushStack(N(this, t || [], !0)); + }, + is: function(t) { + return !!N(this, "string" == typeof t && T.test(t) ? _(t) : t || [], !1).length; + } + }); + var M, + L = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/; + ((_.fn.init = function(t, e, n) { + var r, i; + if (!t) return this; + if (((n = n || M), "string" == typeof t)) { + if ( + !(r = + "<" === t[0] && ">" === t[t.length - 1] && t.length >= 3 + ? [null, t, null] + : L.exec(t)) || + (!r[1] && e) + ) + return !e || e.jquery ? (e || n).find(t) : this.constructor(e).find(t); + if (r[1]) { + if ( + ((e = e instanceof _ ? e[0] : e), + _.merge(this, _.parseHTML(r[1], e && e.nodeType ? e.ownerDocument || e : a, !0)), + j.test(r[1]) && _.isPlainObject(e)) + ) + for (r in e) $(this[r]) ? this[r](e[r]) : this.attr(r, e[r]); + return this; + } + return (i = a.getElementById(r[2])) && ((this[0] = i), (this.length = 1)), this; + } + return t.nodeType + ? ((this[0] = t), (this.length = 1), this) + : $(t) + ? void 0 !== n.ready + ? n.ready(t) + : t(_) + : _.makeArray(t, this); + }).prototype = _.fn), + (M = _(a)); + var D = /^(?:parents|prev(?:Until|All))/, + I = { children: !0, contents: !0, next: !0, prev: !0 }; + function R(t, e) { + for (; (t = t[e]) && 1 !== t.nodeType; ); + return t; + } + _.fn.extend({ + has: function(t) { + var e = _(t, this), + n = e.length; + return this.filter(function() { + for (var t = 0; t < n; t++) if (_.contains(this, e[t])) return !0; + }); + }, + closest: function(t, e) { + var n, + r = 0, + i = this.length, + o = [], + a = "string" != typeof t && _(t); + if (!T.test(t)) + for (; r < i; r++) + for (n = this[r]; n && n !== e; n = n.parentNode) + if ( + n.nodeType < 11 && + (a ? a.index(n) > -1 : 1 === n.nodeType && _.find.matchesSelector(n, t)) + ) { + o.push(n); + break; + } + return this.pushStack(o.length > 1 ? _.uniqueSort(o) : o); + }, + index: function(t) { + return t + ? "string" == typeof t + ? f.call(_(t), this[0]) + : f.call(this, t.jquery ? t[0] : t) + : this[0] && this[0].parentNode + ? this.first().prevAll().length + : -1; + }, + add: function(t, e) { + return this.pushStack(_.uniqueSort(_.merge(this.get(), _(t, e)))); + }, + addBack: function(t) { + return this.add(null == t ? this.prevObject : this.prevObject.filter(t)); + } + }), + _.each( + { + parent: function(t) { + var e = t.parentNode; + return e && 11 !== e.nodeType ? e : null; + }, + parents: function(t) { + return k(t, "parentNode"); + }, + parentsUntil: function(t, e, n) { + return k(t, "parentNode", n); + }, + next: function(t) { + return R(t, "nextSibling"); + }, + prev: function(t) { + return R(t, "previousSibling"); + }, + nextAll: function(t) { + return k(t, "nextSibling"); + }, + prevAll: function(t) { + return k(t, "previousSibling"); + }, + nextUntil: function(t, e, n) { + return k(t, "nextSibling", n); + }, + prevUntil: function(t, e, n) { + return k(t, "previousSibling", n); + }, + siblings: function(t) { + return A((t.parentNode || {}).firstChild, t); + }, + children: function(t) { + return A(t.firstChild); + }, + contents: function(t) { + return O(t, "iframe") + ? t.contentDocument + : (O(t, "template") && (t = t.content || t), _.merge([], t.childNodes)); + } + }, + function(t, e) { + _.fn[t] = function(n, r) { + var i = _.map(this, e, n); + return ( + "Until" !== t.slice(-5) && (r = n), + r && "string" == typeof r && (i = _.filter(r, i)), + this.length > 1 && (I[t] || _.uniqueSort(i), D.test(t) && i.reverse()), + this.pushStack(i) + ); + }; + } + ); + var P = /[^\x20\t\r\n\f]+/g; + function V(t) { + return t; + } + function q(t) { + throw t; + } + function U(t, e, n, r) { + var i; + try { + t && $((i = t.promise)) + ? i + .call(t) + .done(e) + .fail(n) + : t && $((i = t.then)) + ? i.call(t, e, n) + : e.apply(void 0, [t].slice(r)); + } catch (t) { + n.apply(void 0, [t]); + } + } + (_.Callbacks = function(t) { + t = + "string" == typeof t + ? (function(t) { + var e = {}; + return ( + _.each(t.match(P) || [], function(t, n) { + e[n] = !0; + }), + e + ); + })(t) + : _.extend({}, t); + var e, + n, + r, + i, + o = [], + a = [], + u = -1, + s = function() { + for (i = i || t.once, r = e = !0; a.length; u = -1) + for (n = a.shift(); ++u < o.length; ) + !1 === o[u].apply(n[0], n[1]) && t.stopOnFalse && ((u = o.length), (n = !1)); + t.memory || (n = !1), (e = !1), i && (o = n ? [] : ""); + }, + c = { + add: function() { + return ( + o && + (n && !e && ((u = o.length - 1), a.push(n)), + (function e(n) { + _.each(n, function(n, r) { + $(r) + ? (t.unique && c.has(r)) || o.push(r) + : r && r.length && "string" !== x(r) && e(r); + }); + })(arguments), + n && !e && s()), + this + ); + }, + remove: function() { + return ( + _.each(arguments, function(t, e) { + for (var n; (n = _.inArray(e, o, n)) > -1; ) o.splice(n, 1), n <= u && u--; + }), + this + ); + }, + has: function(t) { + return t ? _.inArray(t, o) > -1 : o.length > 0; + }, + empty: function() { + return o && (o = []), this; + }, + disable: function() { + return (i = a = []), (o = n = ""), this; + }, + disabled: function() { + return !o; + }, + lock: function() { + return (i = a = []), n || e || (o = n = ""), this; + }, + locked: function() { + return !!i; + }, + fireWith: function(t, n) { + return ( + i || ((n = [t, (n = n || []).slice ? n.slice() : n]), a.push(n), e || s()), this + ); + }, + fire: function() { + return c.fireWith(this, arguments), this; + }, + fired: function() { + return !!r; + } + }; + return c; + }), + _.extend({ + Deferred: function(t) { + var e = [ + ["notify", "progress", _.Callbacks("memory"), _.Callbacks("memory"), 2], + [ + "resolve", + "done", + _.Callbacks("once memory"), + _.Callbacks("once memory"), + 0, + "resolved" + ], + [ + "reject", + "fail", + _.Callbacks("once memory"), + _.Callbacks("once memory"), + 1, + "rejected" + ] + ], + r = "pending", + i = { + state: function() { + return r; + }, + always: function() { + return o.done(arguments).fail(arguments), this; + }, + catch: function(t) { + return i.then(null, t); + }, + pipe: function() { + var t = arguments; + return _.Deferred(function(n) { + _.each(e, function(e, r) { + var i = $(t[r[4]]) && t[r[4]]; + o[r[1]](function() { + var t = i && i.apply(this, arguments); + t && $(t.promise) + ? t + .promise() + .progress(n.notify) + .done(n.resolve) + .fail(n.reject) + : n[r[0] + "With"](this, i ? [t] : arguments); + }); + }), + (t = null); + }).promise(); + }, + then: function(t, r, i) { + var o = 0; + function a(t, e, r, i) { + return function() { + var u = this, + s = arguments, + c = function() { + var n, c; + if (!(t < o)) { + if ((n = r.apply(u, s)) === e.promise()) + throw new TypeError("Thenable self-resolution"); + (c = n && ("object" == typeof n || "function" == typeof n) && n.then), + $(c) + ? i + ? c.call(n, a(o, e, V, i), a(o, e, q, i)) + : (o++, + c.call( + n, + a(o, e, V, i), + a(o, e, q, i), + a(o, e, V, e.notifyWith) + )) + : (r !== V && ((u = void 0), (s = [n])), + (i || e.resolveWith)(u, s)); + } + }, + l = i + ? c + : function() { + try { + c(); + } catch (n) { + _.Deferred.exceptionHook && + _.Deferred.exceptionHook(n, l.stackTrace), + t + 1 >= o && + (r !== q && ((u = void 0), (s = [n])), e.rejectWith(u, s)); + } + }; + t + ? l() + : (_.Deferred.getStackHook && (l.stackTrace = _.Deferred.getStackHook()), + n.setTimeout(l)); + }; + } + return _.Deferred(function(n) { + e[0][3].add(a(0, n, $(i) ? i : V, n.notifyWith)), + e[1][3].add(a(0, n, $(t) ? t : V)), + e[2][3].add(a(0, n, $(r) ? r : q)); + }).promise(); + }, + promise: function(t) { + return null != t ? _.extend(t, i) : i; + } + }, + o = {}; + return ( + _.each(e, function(t, n) { + var a = n[2], + u = n[5]; + (i[n[1]] = a.add), + u && + a.add( + function() { + r = u; + }, + e[3 - t][2].disable, + e[3 - t][3].disable, + e[0][2].lock, + e[0][3].lock + ), + a.add(n[3].fire), + (o[n[0]] = function() { + return o[n[0] + "With"](this === o ? void 0 : this, arguments), this; + }), + (o[n[0] + "With"] = a.fireWith); + }), + i.promise(o), + t && t.call(o, o), + o + ); + }, + when: function(t) { + var e = arguments.length, + n = e, + r = Array(n), + i = s.call(arguments), + o = _.Deferred(), + a = function(t) { + return function(n) { + (r[t] = this), + (i[t] = arguments.length > 1 ? s.call(arguments) : n), + --e || o.resolveWith(r, i); + }; + }; + if ( + e <= 1 && + (U(t, o.done(a(n)).resolve, o.reject, !e), + "pending" === o.state() || $(i[n] && i[n].then)) + ) + return o.then(); + for (; n--; ) U(i[n], a(n), o.reject); + return o.promise(); + } + }); + var F = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + (_.Deferred.exceptionHook = function(t, e) { + n.console && + n.console.warn && + t && + F.test(t.name) && + n.console.warn("jQuery.Deferred exception: " + t.message, t.stack, e); + }), + (_.readyException = function(t) { + n.setTimeout(function() { + throw t; + }); + }); + var H = _.Deferred(); + function B() { + a.removeEventListener("DOMContentLoaded", B), n.removeEventListener("load", B), _.ready(); + } + (_.fn.ready = function(t) { + return ( + H.then(t).catch(function(t) { + _.readyException(t); + }), + this + ); + }), + _.extend({ + isReady: !1, + readyWait: 1, + ready: function(t) { + (!0 === t ? --_.readyWait : _.isReady) || + ((_.isReady = !0), (!0 !== t && --_.readyWait > 0) || H.resolveWith(a, [_])); + } + }), + (_.ready.then = H.then), + "complete" === a.readyState || ("loading" !== a.readyState && !a.documentElement.doScroll) + ? n.setTimeout(_.ready) + : (a.addEventListener("DOMContentLoaded", B), n.addEventListener("load", B)); + var z = function(t, e, n, r, i, o, a) { + var u = 0, + s = t.length, + c = null == n; + if ("object" === x(n)) for (u in ((i = !0), n)) z(t, e, u, n[u], !0, o, a); + else if ( + void 0 !== r && + ((i = !0), + $(r) || (a = !0), + c && + (a + ? (e.call(t, r), (e = null)) + : ((c = e), + (e = function(t, e, n) { + return c.call(_(t), n); + }))), + e) + ) + for (; u < s; u++) e(t[u], n, a ? r : r.call(t[u], u, e(t[u], n))); + return i ? t : c ? e.call(t) : s ? e(t[0], n) : o; + }, + W = /^-ms-/, + G = /-([a-z])/g; + function K(t, e) { + return e.toUpperCase(); + } + function J(t) { + return t.replace(W, "ms-").replace(G, K); + } + var Y = function(t) { + return 1 === t.nodeType || 9 === t.nodeType || !+t.nodeType; + }; + function Z() { + this.expando = _.expando + Z.uid++; + } + (Z.uid = 1), + (Z.prototype = { + cache: function(t) { + var e = t[this.expando]; + return ( + e || + ((e = {}), + Y(t) && + (t.nodeType + ? (t[this.expando] = e) + : Object.defineProperty(t, this.expando, { value: e, configurable: !0 }))), + e + ); + }, + set: function(t, e, n) { + var r, + i = this.cache(t); + if ("string" == typeof e) i[J(e)] = n; + else for (r in e) i[J(r)] = e[r]; + return i; + }, + get: function(t, e) { + return void 0 === e ? this.cache(t) : t[this.expando] && t[this.expando][J(e)]; + }, + access: function(t, e, n) { + return void 0 === e || (e && "string" == typeof e && void 0 === n) + ? this.get(t, e) + : (this.set(t, e, n), void 0 !== n ? n : e); + }, + remove: function(t, e) { + var n, + r = t[this.expando]; + if (void 0 !== r) { + if (void 0 !== e) { + n = (e = Array.isArray(e) ? e.map(J) : (e = J(e)) in r ? [e] : e.match(P) || []) + .length; + for (; n--; ) delete r[e[n]]; + } + (void 0 === e || _.isEmptyObject(r)) && + (t.nodeType ? (t[this.expando] = void 0) : delete t[this.expando]); + } + }, + hasData: function(t) { + var e = t[this.expando]; + return void 0 !== e && !_.isEmptyObject(e); + } + }); + var X = new Z(), + Q = new Z(), + tt = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + et = /[A-Z]/g; + function nt(t, e, n) { + var r; + if (void 0 === n && 1 === t.nodeType) + if ( + ((r = "data-" + e.replace(et, "-$&").toLowerCase()), + "string" == typeof (n = t.getAttribute(r))) + ) { + try { + n = (function(t) { + return ( + "true" === t || + ("false" !== t && + ("null" === t ? null : t === +t + "" ? +t : tt.test(t) ? JSON.parse(t) : t)) + ); + })(n); + } catch (t) {} + Q.set(t, e, n); + } else n = void 0; + return n; + } + _.extend({ + hasData: function(t) { + return Q.hasData(t) || X.hasData(t); + }, + data: function(t, e, n) { + return Q.access(t, e, n); + }, + removeData: function(t, e) { + Q.remove(t, e); + }, + _data: function(t, e, n) { + return X.access(t, e, n); + }, + _removeData: function(t, e) { + X.remove(t, e); + } + }), + _.fn.extend({ + data: function(t, e) { + var n, + r, + i, + o = this[0], + a = o && o.attributes; + if (void 0 === t) { + if ( + this.length && + ((i = Q.get(o)), 1 === o.nodeType && !X.get(o, "hasDataAttrs")) + ) { + for (n = a.length; n--; ) + a[n] && + 0 === (r = a[n].name).indexOf("data-") && + ((r = J(r.slice(5))), nt(o, r, i[r])); + X.set(o, "hasDataAttrs", !0); + } + return i; + } + return "object" == typeof t + ? this.each(function() { + Q.set(this, t); + }) + : z( + this, + function(e) { + var n; + if (o && void 0 === e) + return void 0 !== (n = Q.get(o, t)) + ? n + : void 0 !== (n = nt(o, t)) + ? n + : void 0; + this.each(function() { + Q.set(this, t, e); + }); + }, + null, + e, + arguments.length > 1, + null, + !0 + ); + }, + removeData: function(t) { + return this.each(function() { + Q.remove(this, t); + }); + } + }), + _.extend({ + queue: function(t, e, n) { + var r; + if (t) + return ( + (e = (e || "fx") + "queue"), + (r = X.get(t, e)), + n && (!r || Array.isArray(n) ? (r = X.access(t, e, _.makeArray(n))) : r.push(n)), + r || [] + ); + }, + dequeue: function(t, e) { + e = e || "fx"; + var n = _.queue(t, e), + r = n.length, + i = n.shift(), + o = _._queueHooks(t, e); + "inprogress" === i && ((i = n.shift()), r--), + i && + ("fx" === e && n.unshift("inprogress"), + delete o.stop, + i.call( + t, + function() { + _.dequeue(t, e); + }, + o + )), + !r && o && o.empty.fire(); + }, + _queueHooks: function(t, e) { + var n = e + "queueHooks"; + return ( + X.get(t, n) || + X.access(t, n, { + empty: _.Callbacks("once memory").add(function() { + X.remove(t, [e + "queue", n]); + }) + }) + ); + } + }), + _.fn.extend({ + queue: function(t, e) { + var n = 2; + return ( + "string" != typeof t && ((e = t), (t = "fx"), n--), + arguments.length < n + ? _.queue(this[0], t) + : void 0 === e + ? this + : this.each(function() { + var n = _.queue(this, t, e); + _._queueHooks(this, t), + "fx" === t && "inprogress" !== n[0] && _.dequeue(this, t); + }) + ); + }, + dequeue: function(t) { + return this.each(function() { + _.dequeue(this, t); + }); + }, + clearQueue: function(t) { + return this.queue(t || "fx", []); + }, + promise: function(t, e) { + var n, + r = 1, + i = _.Deferred(), + o = this, + a = this.length, + u = function() { + --r || i.resolveWith(o, [o]); + }; + for ("string" != typeof t && ((e = t), (t = void 0)), t = t || "fx"; a--; ) + (n = X.get(o[a], t + "queueHooks")) && n.empty && (r++, n.empty.add(u)); + return u(), i.promise(e); + } + }); + var rt = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, + it = new RegExp("^(?:([+-])=|)(" + rt + ")([a-z%]*)$", "i"), + ot = ["Top", "Right", "Bottom", "Left"], + at = function(t, e) { + return ( + "none" === (t = e || t).style.display || + ("" === t.style.display && + _.contains(t.ownerDocument, t) && + "none" === _.css(t, "display")) + ); + }, + ut = function(t, e, n, r) { + var i, + o, + a = {}; + for (o in e) (a[o] = t.style[o]), (t.style[o] = e[o]); + for (o in ((i = n.apply(t, r || [])), e)) t.style[o] = a[o]; + return i; + }; + function st(t, e, n, r) { + var i, + o, + a = 20, + u = r + ? function() { + return r.cur(); + } + : function() { + return _.css(t, e, ""); + }, + s = u(), + c = (n && n[3]) || (_.cssNumber[e] ? "" : "px"), + l = (_.cssNumber[e] || ("px" !== c && +s)) && it.exec(_.css(t, e)); + if (l && l[3] !== c) { + for (s /= 2, c = c || l[3], l = +s || 1; a--; ) + _.style(t, e, l + c), (1 - o) * (1 - (o = u() / s || 0.5)) <= 0 && (a = 0), (l /= o); + (l *= 2), _.style(t, e, l + c), (n = n || []); + } + return ( + n && + ((l = +l || +s || 0), + (i = n[1] ? l + (n[1] + 1) * n[2] : +n[2]), + r && ((r.unit = c), (r.start = l), (r.end = i))), + i + ); + } + var ct = {}; + function lt(t) { + var e, + n = t.ownerDocument, + r = t.nodeName, + i = ct[r]; + return ( + i || + ((e = n.body.appendChild(n.createElement(r))), + (i = _.css(e, "display")), + e.parentNode.removeChild(e), + "none" === i && (i = "block"), + (ct[r] = i), + i) + ); + } + function ft(t, e) { + for (var n, r, i = [], o = 0, a = t.length; o < a; o++) + (r = t[o]).style && + ((n = r.style.display), + e + ? ("none" === n && + ((i[o] = X.get(r, "display") || null), i[o] || (r.style.display = "")), + "" === r.style.display && at(r) && (i[o] = lt(r))) + : "none" !== n && ((i[o] = "none"), X.set(r, "display", n))); + for (o = 0; o < a; o++) null != i[o] && (t[o].style.display = i[o]); + return t; + } + _.fn.extend({ + show: function() { + return ft(this, !0); + }, + hide: function() { + return ft(this); + }, + toggle: function(t) { + return "boolean" == typeof t + ? t + ? this.show() + : this.hide() + : this.each(function() { + at(this) ? _(this).show() : _(this).hide(); + }); + } + }); + var pt = /^(?:checkbox|radio)$/i, + ht = /<([a-z][^\/\0>\x20\t\r\n\f]+)/i, + dt = /^$|^module$|\/(?:java|ecma)script/i, + vt = { + option: [1, ""], + thead: [1, "", "
    "], + col: [2, "", "
    "], + tr: [2, "", "
    "], + td: [3, "", "
    "], + _default: [0, "", ""] + }; + function gt(t, e) { + var n; + return ( + (n = + void 0 !== t.getElementsByTagName + ? t.getElementsByTagName(e || "*") + : void 0 !== t.querySelectorAll + ? t.querySelectorAll(e || "*") + : []), + void 0 === e || (e && O(t, e)) ? _.merge([t], n) : n + ); + } + function mt(t, e) { + for (var n = 0, r = t.length; n < r; n++) + X.set(t[n], "globalEval", !e || X.get(e[n], "globalEval")); + } + (vt.optgroup = vt.option), + (vt.tbody = vt.tfoot = vt.colgroup = vt.caption = vt.thead), + (vt.th = vt.td); + var $t = /<|&#?\w+;/; + function yt(t, e, n, r, i) { + for ( + var o, a, u, s, c, l, f = e.createDocumentFragment(), p = [], h = 0, d = t.length; + h < d; + h++ + ) + if ((o = t[h]) || 0 === o) + if ("object" === x(o)) _.merge(p, o.nodeType ? [o] : o); + else if ($t.test(o)) { + for ( + a = a || f.appendChild(e.createElement("div")), + u = (ht.exec(o) || ["", ""])[1].toLowerCase(), + s = vt[u] || vt._default, + a.innerHTML = s[1] + _.htmlPrefilter(o) + s[2], + l = s[0]; + l--; + + ) + a = a.lastChild; + _.merge(p, a.childNodes), ((a = f.firstChild).textContent = ""); + } else p.push(e.createTextNode(o)); + for (f.textContent = "", h = 0; (o = p[h++]); ) + if (r && _.inArray(o, r) > -1) i && i.push(o); + else if ( + ((c = _.contains(o.ownerDocument, o)), + (a = gt(f.appendChild(o), "script")), + c && mt(a), + n) + ) + for (l = 0; (o = a[l++]); ) dt.test(o.type || "") && n.push(o); + return f; + } + !(function() { + var t = a.createDocumentFragment().appendChild(a.createElement("div")), + e = a.createElement("input"); + e.setAttribute("type", "radio"), + e.setAttribute("checked", "checked"), + e.setAttribute("name", "t"), + t.appendChild(e), + (m.checkClone = t.cloneNode(!0).cloneNode(!0).lastChild.checked), + (t.innerHTML = ""), + (m.noCloneChecked = !!t.cloneNode(!0).lastChild.defaultValue); + })(); + var bt = a.documentElement, + wt = /^key/, + xt = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + _t = /^([^.]*)(?:\.(.+)|)/; + function Ct() { + return !0; + } + function St() { + return !1; + } + function Et() { + try { + return a.activeElement; + } catch (t) {} + } + function kt(t, e, n, r, i, o) { + var a, u; + if ("object" == typeof e) { + for (u in ("string" != typeof n && ((r = r || n), (n = void 0)), e)) + kt(t, u, n, r, e[u], o); + return t; + } + if ( + (null == r && null == i + ? ((i = n), (r = n = void 0)) + : null == i && + ("string" == typeof n ? ((i = r), (r = void 0)) : ((i = r), (r = n), (n = void 0))), + !1 === i) + ) + i = St; + else if (!i) return t; + return ( + 1 === o && + ((a = i), + ((i = function(t) { + return _().off(t), a.apply(this, arguments); + }).guid = a.guid || (a.guid = _.guid++))), + t.each(function() { + _.event.add(this, e, i, r, n); + }) + ); + } + (_.event = { + global: {}, + add: function(t, e, n, r, i) { + var o, + a, + u, + s, + c, + l, + f, + p, + h, + d, + v, + g = X.get(t); + if (g) + for ( + n.handler && ((n = (o = n).handler), (i = o.selector)), + i && _.find.matchesSelector(bt, i), + n.guid || (n.guid = _.guid++), + (s = g.events) || (s = g.events = {}), + (a = g.handle) || + (a = g.handle = function(e) { + return void 0 !== _ && _.event.triggered !== e.type + ? _.event.dispatch.apply(t, arguments) + : void 0; + }), + c = (e = (e || "").match(P) || [""]).length; + c--; + + ) + (h = v = (u = _t.exec(e[c]) || [])[1]), + (d = (u[2] || "").split(".").sort()), + h && + ((f = _.event.special[h] || {}), + (h = (i ? f.delegateType : f.bindType) || h), + (f = _.event.special[h] || {}), + (l = _.extend( + { + type: h, + origType: v, + data: r, + handler: n, + guid: n.guid, + selector: i, + needsContext: i && _.expr.match.needsContext.test(i), + namespace: d.join(".") + }, + o + )), + (p = s[h]) || + (((p = s[h] = []).delegateCount = 0), + (f.setup && !1 !== f.setup.call(t, r, d, a)) || + (t.addEventListener && t.addEventListener(h, a))), + f.add && (f.add.call(t, l), l.handler.guid || (l.handler.guid = n.guid)), + i ? p.splice(p.delegateCount++, 0, l) : p.push(l), + (_.event.global[h] = !0)); + }, + remove: function(t, e, n, r, i) { + var o, + a, + u, + s, + c, + l, + f, + p, + h, + d, + v, + g = X.hasData(t) && X.get(t); + if (g && (s = g.events)) { + for (c = (e = (e || "").match(P) || [""]).length; c--; ) + if ( + ((h = v = (u = _t.exec(e[c]) || [])[1]), (d = (u[2] || "").split(".").sort()), h) + ) { + for ( + f = _.event.special[h] || {}, + p = s[(h = (r ? f.delegateType : f.bindType) || h)] || [], + u = u[2] && new RegExp("(^|\\.)" + d.join("\\.(?:.*\\.|)") + "(\\.|$)"), + a = o = p.length; + o--; + + ) + (l = p[o]), + (!i && v !== l.origType) || + (n && n.guid !== l.guid) || + (u && !u.test(l.namespace)) || + (r && r !== l.selector && ("**" !== r || !l.selector)) || + (p.splice(o, 1), + l.selector && p.delegateCount--, + f.remove && f.remove.call(t, l)); + a && + !p.length && + ((f.teardown && !1 !== f.teardown.call(t, d, g.handle)) || + _.removeEvent(t, h, g.handle), + delete s[h]); + } else for (h in s) _.event.remove(t, h + e[c], n, r, !0); + _.isEmptyObject(s) && X.remove(t, "handle events"); + } + }, + dispatch: function(t) { + var e, + n, + r, + i, + o, + a, + u = _.event.fix(t), + s = new Array(arguments.length), + c = (X.get(this, "events") || {})[u.type] || [], + l = _.event.special[u.type] || {}; + for (s[0] = u, e = 1; e < arguments.length; e++) s[e] = arguments[e]; + if (((u.delegateTarget = this), !l.preDispatch || !1 !== l.preDispatch.call(this, u))) { + for ( + a = _.event.handlers.call(this, u, c), e = 0; + (i = a[e++]) && !u.isPropagationStopped(); + + ) + for ( + u.currentTarget = i.elem, n = 0; + (o = i.handlers[n++]) && !u.isImmediatePropagationStopped(); + + ) + (u.rnamespace && !u.rnamespace.test(o.namespace)) || + ((u.handleObj = o), + (u.data = o.data), + void 0 !== + (r = ((_.event.special[o.origType] || {}).handle || o.handler).apply( + i.elem, + s + )) && + !1 === (u.result = r) && + (u.preventDefault(), u.stopPropagation())); + return l.postDispatch && l.postDispatch.call(this, u), u.result; + } + }, + handlers: function(t, e) { + var n, + r, + i, + o, + a, + u = [], + s = e.delegateCount, + c = t.target; + if (s && c.nodeType && !("click" === t.type && t.button >= 1)) + for (; c !== this; c = c.parentNode || this) + if (1 === c.nodeType && ("click" !== t.type || !0 !== c.disabled)) { + for (o = [], a = {}, n = 0; n < s; n++) + void 0 === a[(i = (r = e[n]).selector + " ")] && + (a[i] = r.needsContext + ? _(i, this).index(c) > -1 + : _.find(i, this, null, [c]).length), + a[i] && o.push(r); + o.length && u.push({ elem: c, handlers: o }); + } + return (c = this), s < e.length && u.push({ elem: c, handlers: e.slice(s) }), u; + }, + addProp: function(t, e) { + Object.defineProperty(_.Event.prototype, t, { + enumerable: !0, + configurable: !0, + get: $(e) + ? function() { + if (this.originalEvent) return e(this.originalEvent); + } + : function() { + if (this.originalEvent) return this.originalEvent[t]; + }, + set: function(e) { + Object.defineProperty(this, t, { + enumerable: !0, + configurable: !0, + writable: !0, + value: e + }); + } + }); + }, + fix: function(t) { + return t[_.expando] ? t : new _.Event(t); + }, + special: { + load: { noBubble: !0 }, + focus: { + trigger: function() { + if (this !== Et() && this.focus) return this.focus(), !1; + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if (this === Et() && this.blur) return this.blur(), !1; + }, + delegateType: "focusout" + }, + click: { + trigger: function() { + if ("checkbox" === this.type && this.click && O(this, "input")) + return this.click(), !1; + }, + _default: function(t) { + return O(t.target, "a"); + } + }, + beforeunload: { + postDispatch: function(t) { + void 0 !== t.result && t.originalEvent && (t.originalEvent.returnValue = t.result); + } + } + } + }), + (_.removeEvent = function(t, e, n) { + t.removeEventListener && t.removeEventListener(e, n); + }), + (_.Event = function(t, e) { + if (!(this instanceof _.Event)) return new _.Event(t, e); + t && t.type + ? ((this.originalEvent = t), + (this.type = t.type), + (this.isDefaultPrevented = + t.defaultPrevented || (void 0 === t.defaultPrevented && !1 === t.returnValue) + ? Ct + : St), + (this.target = + t.target && 3 === t.target.nodeType ? t.target.parentNode : t.target), + (this.currentTarget = t.currentTarget), + (this.relatedTarget = t.relatedTarget)) + : (this.type = t), + e && _.extend(this, e), + (this.timeStamp = (t && t.timeStamp) || Date.now()), + (this[_.expando] = !0); + }), + (_.Event.prototype = { + constructor: _.Event, + isDefaultPrevented: St, + isPropagationStopped: St, + isImmediatePropagationStopped: St, + isSimulated: !1, + preventDefault: function() { + var t = this.originalEvent; + (this.isDefaultPrevented = Ct), t && !this.isSimulated && t.preventDefault(); + }, + stopPropagation: function() { + var t = this.originalEvent; + (this.isPropagationStopped = Ct), t && !this.isSimulated && t.stopPropagation(); + }, + stopImmediatePropagation: function() { + var t = this.originalEvent; + (this.isImmediatePropagationStopped = Ct), + t && !this.isSimulated && t.stopImmediatePropagation(), + this.stopPropagation(); + } + }), + _.each( + { + altKey: !0, + bubbles: !0, + cancelable: !0, + changedTouches: !0, + ctrlKey: !0, + detail: !0, + eventPhase: !0, + metaKey: !0, + pageX: !0, + pageY: !0, + shiftKey: !0, + view: !0, + char: !0, + charCode: !0, + key: !0, + keyCode: !0, + button: !0, + buttons: !0, + clientX: !0, + clientY: !0, + offsetX: !0, + offsetY: !0, + pointerId: !0, + pointerType: !0, + screenX: !0, + screenY: !0, + targetTouches: !0, + toElement: !0, + touches: !0, + which: function(t) { + var e = t.button; + return null == t.which && wt.test(t.type) + ? null != t.charCode + ? t.charCode + : t.keyCode + : !t.which && void 0 !== e && xt.test(t.type) + ? 1 & e + ? 1 + : 2 & e + ? 3 + : 4 & e + ? 2 + : 0 + : t.which; + } + }, + _.event.addProp + ), + _.each( + { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" + }, + function(t, e) { + _.event.special[t] = { + delegateType: e, + bindType: e, + handle: function(t) { + var n, + r = t.relatedTarget, + i = t.handleObj; + return ( + (r && (r === this || _.contains(this, r))) || + ((t.type = i.origType), (n = i.handler.apply(this, arguments)), (t.type = e)), + n + ); + } + }; + } + ), + _.fn.extend({ + on: function(t, e, n, r) { + return kt(this, t, e, n, r); + }, + one: function(t, e, n, r) { + return kt(this, t, e, n, r, 1); + }, + off: function(t, e, n) { + var r, i; + if (t && t.preventDefault && t.handleObj) + return ( + (r = t.handleObj), + _(t.delegateTarget).off( + r.namespace ? r.origType + "." + r.namespace : r.origType, + r.selector, + r.handler + ), + this + ); + if ("object" == typeof t) { + for (i in t) this.off(i, e, t[i]); + return this; + } + return ( + (!1 !== e && "function" != typeof e) || ((n = e), (e = void 0)), + !1 === n && (n = St), + this.each(function() { + _.event.remove(this, t, n, e); + }) + ); + } + }); + var At = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, + Tt = /\s*$/g; + function Nt(t, e) { + return ( + (O(t, "table") && + O(11 !== e.nodeType ? e : e.firstChild, "tr") && + _(t).children("tbody")[0]) || + t + ); + } + function Mt(t) { + return (t.type = (null !== t.getAttribute("type")) + "/" + t.type), t; + } + function Lt(t) { + return ( + "true/" === (t.type || "").slice(0, 5) + ? (t.type = t.type.slice(5)) + : t.removeAttribute("type"), + t + ); + } + function Dt(t, e) { + var n, r, i, o, a, u, s, c; + if (1 === e.nodeType) { + if (X.hasData(t) && ((o = X.access(t)), (a = X.set(e, o)), (c = o.events))) + for (i in (delete a.handle, (a.events = {}), c)) + for (n = 0, r = c[i].length; n < r; n++) _.event.add(e, i, c[i][n]); + Q.hasData(t) && ((u = Q.access(t)), (s = _.extend({}, u)), Q.set(e, s)); + } + } + function It(t, e) { + var n = e.nodeName.toLowerCase(); + "input" === n && pt.test(t.type) + ? (e.checked = t.checked) + : ("input" !== n && "textarea" !== n) || (e.defaultValue = t.defaultValue); + } + function Rt(t, e, n, r) { + e = c.apply([], e); + var i, + o, + a, + u, + s, + l, + f = 0, + p = t.length, + h = p - 1, + d = e[0], + v = $(d); + if (v || (p > 1 && "string" == typeof d && !m.checkClone && Ot.test(d))) + return t.each(function(i) { + var o = t.eq(i); + v && (e[0] = d.call(this, i, o.html())), Rt(o, e, n, r); + }); + if ( + p && + ((o = (i = yt(e, t[0].ownerDocument, !1, t, r)).firstChild), + 1 === i.childNodes.length && (i = o), + o || r) + ) { + for (u = (a = _.map(gt(i, "script"), Mt)).length; f < p; f++) + (s = i), + f !== h && ((s = _.clone(s, !0, !0)), u && _.merge(a, gt(s, "script"))), + n.call(t[f], s, f); + if (u) + for (l = a[a.length - 1].ownerDocument, _.map(a, Lt), f = 0; f < u; f++) + (s = a[f]), + dt.test(s.type || "") && + !X.access(s, "globalEval") && + _.contains(l, s) && + (s.src && "module" !== (s.type || "").toLowerCase() + ? _._evalUrl && _._evalUrl(s.src) + : w(s.textContent.replace(jt, ""), l, s)); + } + return t; + } + function Pt(t, e, n) { + for (var r, i = e ? _.filter(e, t) : t, o = 0; null != (r = i[o]); o++) + n || 1 !== r.nodeType || _.cleanData(gt(r)), + r.parentNode && + (n && _.contains(r.ownerDocument, r) && mt(gt(r, "script")), + r.parentNode.removeChild(r)); + return t; + } + _.extend({ + htmlPrefilter: function(t) { + return t.replace(At, "<$1>"); + }, + clone: function(t, e, n) { + var r, + i, + o, + a, + u = t.cloneNode(!0), + s = _.contains(t.ownerDocument, t); + if (!(m.noCloneChecked || (1 !== t.nodeType && 11 !== t.nodeType) || _.isXMLDoc(t))) + for (a = gt(u), r = 0, i = (o = gt(t)).length; r < i; r++) It(o[r], a[r]); + if (e) + if (n) + for (o = o || gt(t), a = a || gt(u), r = 0, i = o.length; r < i; r++) + Dt(o[r], a[r]); + else Dt(t, u); + return (a = gt(u, "script")).length > 0 && mt(a, !s && gt(t, "script")), u; + }, + cleanData: function(t) { + for (var e, n, r, i = _.event.special, o = 0; void 0 !== (n = t[o]); o++) + if (Y(n)) { + if ((e = n[X.expando])) { + if (e.events) + for (r in e.events) i[r] ? _.event.remove(n, r) : _.removeEvent(n, r, e.handle); + n[X.expando] = void 0; + } + n[Q.expando] && (n[Q.expando] = void 0); + } + } + }), + _.fn.extend({ + detach: function(t) { + return Pt(this, t, !0); + }, + remove: function(t) { + return Pt(this, t); + }, + text: function(t) { + return z( + this, + function(t) { + return void 0 === t + ? _.text(this) + : this.empty().each(function() { + (1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType) || + (this.textContent = t); + }); + }, + null, + t, + arguments.length + ); + }, + append: function() { + return Rt(this, arguments, function(t) { + (1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType) || + Nt(this, t).appendChild(t); + }); + }, + prepend: function() { + return Rt(this, arguments, function(t) { + if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) { + var e = Nt(this, t); + e.insertBefore(t, e.firstChild); + } + }); + }, + before: function() { + return Rt(this, arguments, function(t) { + this.parentNode && this.parentNode.insertBefore(t, this); + }); + }, + after: function() { + return Rt(this, arguments, function(t) { + this.parentNode && this.parentNode.insertBefore(t, this.nextSibling); + }); + }, + empty: function() { + for (var t, e = 0; null != (t = this[e]); e++) + 1 === t.nodeType && (_.cleanData(gt(t, !1)), (t.textContent = "")); + return this; + }, + clone: function(t, e) { + return ( + (t = null != t && t), + (e = null == e ? t : e), + this.map(function() { + return _.clone(this, t, e); + }) + ); + }, + html: function(t) { + return z( + this, + function(t) { + var e = this[0] || {}, + n = 0, + r = this.length; + if (void 0 === t && 1 === e.nodeType) return e.innerHTML; + if ( + "string" == typeof t && + !Tt.test(t) && + !vt[(ht.exec(t) || ["", ""])[1].toLowerCase()] + ) { + t = _.htmlPrefilter(t); + try { + for (; n < r; n++) + 1 === (e = this[n] || {}).nodeType && + (_.cleanData(gt(e, !1)), (e.innerHTML = t)); + e = 0; + } catch (t) {} + } + e && this.empty().append(t); + }, + null, + t, + arguments.length + ); + }, + replaceWith: function() { + var t = []; + return Rt( + this, + arguments, + function(e) { + var n = this.parentNode; + _.inArray(this, t) < 0 && (_.cleanData(gt(this)), n && n.replaceChild(e, this)); + }, + t + ); + } + }), + _.each( + { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" + }, + function(t, e) { + _.fn[t] = function(t) { + for (var n, r = [], i = _(t), o = i.length - 1, a = 0; a <= o; a++) + (n = a === o ? this : this.clone(!0)), _(i[a])[e](n), l.apply(r, n.get()); + return this.pushStack(r); + }; + } + ); + var Vt = new RegExp("^(" + rt + ")(?!px)[a-z%]+$", "i"), + qt = function(t) { + var e = t.ownerDocument.defaultView; + return (e && e.opener) || (e = n), e.getComputedStyle(t); + }, + Ut = new RegExp(ot.join("|"), "i"); + function Ft(t, e, n) { + var r, + i, + o, + a, + u = t.style; + return ( + (n = n || qt(t)) && + ("" !== (a = n.getPropertyValue(e) || n[e]) || + _.contains(t.ownerDocument, t) || + (a = _.style(t, e)), + !m.pixelBoxStyles() && + Vt.test(a) && + Ut.test(e) && + ((r = u.width), + (i = u.minWidth), + (o = u.maxWidth), + (u.minWidth = u.maxWidth = u.width = a), + (a = n.width), + (u.width = r), + (u.minWidth = i), + (u.maxWidth = o))), + void 0 !== a ? a + "" : a + ); + } + function Ht(t, e) { + return { + get: function() { + if (!t()) return (this.get = e).apply(this, arguments); + delete this.get; + } + }; + } + !(function() { + function t() { + if (l) { + (c.style.cssText = + "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0"), + (l.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%"), + bt.appendChild(c).appendChild(l); + var t = n.getComputedStyle(l); + (r = "1%" !== t.top), + (s = 12 === e(t.marginLeft)), + (l.style.right = "60%"), + (u = 36 === e(t.right)), + (i = 36 === e(t.width)), + (l.style.position = "absolute"), + (o = 36 === l.offsetWidth || "absolute"), + bt.removeChild(c), + (l = null); + } + } + function e(t) { + return Math.round(parseFloat(t)); + } + var r, + i, + o, + u, + s, + c = a.createElement("div"), + l = a.createElement("div"); + l.style && + ((l.style.backgroundClip = "content-box"), + (l.cloneNode(!0).style.backgroundClip = ""), + (m.clearCloneStyle = "content-box" === l.style.backgroundClip), + _.extend(m, { + boxSizingReliable: function() { + return t(), i; + }, + pixelBoxStyles: function() { + return t(), u; + }, + pixelPosition: function() { + return t(), r; + }, + reliableMarginLeft: function() { + return t(), s; + }, + scrollboxSize: function() { + return t(), o; + } + })); + })(); + var Bt = /^(none|table(?!-c[ea]).+)/, + zt = /^--/, + Wt = { position: "absolute", visibility: "hidden", display: "block" }, + Gt = { letterSpacing: "0", fontWeight: "400" }, + Kt = ["Webkit", "Moz", "ms"], + Jt = a.createElement("div").style; + function Yt(t) { + var e = _.cssProps[t]; + return ( + e || + (e = _.cssProps[t] = + (function(t) { + if (t in Jt) return t; + for (var e = t[0].toUpperCase() + t.slice(1), n = Kt.length; n--; ) + if ((t = Kt[n] + e) in Jt) return t; + })(t) || t), + e + ); + } + function Zt(t, e, n) { + var r = it.exec(e); + return r ? Math.max(0, r[2] - (n || 0)) + (r[3] || "px") : e; + } + function Xt(t, e, n, r, i, o) { + var a = "width" === e ? 1 : 0, + u = 0, + s = 0; + if (n === (r ? "border" : "content")) return 0; + for (; a < 4; a += 2) + "margin" === n && (s += _.css(t, n + ot[a], !0, i)), + r + ? ("content" === n && (s -= _.css(t, "padding" + ot[a], !0, i)), + "margin" !== n && (s -= _.css(t, "border" + ot[a] + "Width", !0, i))) + : ((s += _.css(t, "padding" + ot[a], !0, i)), + "padding" !== n + ? (s += _.css(t, "border" + ot[a] + "Width", !0, i)) + : (u += _.css(t, "border" + ot[a] + "Width", !0, i))); + return ( + !r && + o >= 0 && + (s += Math.max( + 0, + Math.ceil(t["offset" + e[0].toUpperCase() + e.slice(1)] - o - s - u - 0.5) + )), + s + ); + } + function Qt(t, e, n) { + var r = qt(t), + i = Ft(t, e, r), + o = "border-box" === _.css(t, "boxSizing", !1, r), + a = o; + if (Vt.test(i)) { + if (!n) return i; + i = "auto"; + } + return ( + (a = a && (m.boxSizingReliable() || i === t.style[e])), + ("auto" === i || (!parseFloat(i) && "inline" === _.css(t, "display", !1, r))) && + ((i = t["offset" + e[0].toUpperCase() + e.slice(1)]), (a = !0)), + (i = parseFloat(i) || 0) + Xt(t, e, n || (o ? "border" : "content"), a, r, i) + "px" + ); + } + function te(t, e, n, r, i) { + return new te.prototype.init(t, e, n, r, i); + } + _.extend({ + cssHooks: { + opacity: { + get: function(t, e) { + if (e) { + var n = Ft(t, "opacity"); + return "" === n ? "1" : n; + } + } + } + }, + cssNumber: { + animationIterationCount: !0, + 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: {}, + style: function(t, e, n, r) { + if (t && 3 !== t.nodeType && 8 !== t.nodeType && t.style) { + var i, + o, + a, + u = J(e), + s = zt.test(e), + c = t.style; + if ((s || (e = Yt(u)), (a = _.cssHooks[e] || _.cssHooks[u]), void 0 === n)) + return a && "get" in a && void 0 !== (i = a.get(t, !1, r)) ? i : c[e]; + "string" === (o = typeof n) && + (i = it.exec(n)) && + i[1] && + ((n = st(t, e, i)), (o = "number")), + null != n && + n == n && + ("number" === o && (n += (i && i[3]) || (_.cssNumber[u] ? "" : "px")), + m.clearCloneStyle || + "" !== n || + 0 !== e.indexOf("background") || + (c[e] = "inherit"), + (a && "set" in a && void 0 === (n = a.set(t, n, r))) || + (s ? c.setProperty(e, n) : (c[e] = n))); + } + }, + css: function(t, e, n, r) { + var i, + o, + a, + u = J(e); + return ( + zt.test(e) || (e = Yt(u)), + (a = _.cssHooks[e] || _.cssHooks[u]) && "get" in a && (i = a.get(t, !0, n)), + void 0 === i && (i = Ft(t, e, r)), + "normal" === i && e in Gt && (i = Gt[e]), + "" === n || n ? ((o = parseFloat(i)), !0 === n || isFinite(o) ? o || 0 : i) : i + ); + } + }), + _.each(["height", "width"], function(t, e) { + _.cssHooks[e] = { + get: function(t, n, r) { + if (n) + return !Bt.test(_.css(t, "display")) || + (t.getClientRects().length && t.getBoundingClientRect().width) + ? Qt(t, e, r) + : ut(t, Wt, function() { + return Qt(t, e, r); + }); + }, + set: function(t, n, r) { + var i, + o = qt(t), + a = "border-box" === _.css(t, "boxSizing", !1, o), + u = r && Xt(t, e, r, a, o); + return ( + a && + m.scrollboxSize() === o.position && + (u -= Math.ceil( + t["offset" + e[0].toUpperCase() + e.slice(1)] - + parseFloat(o[e]) - + Xt(t, e, "border", !1, o) - + 0.5 + )), + u && + (i = it.exec(n)) && + "px" !== (i[3] || "px") && + ((t.style[e] = n), (n = _.css(t, e))), + Zt(0, n, u) + ); + } + }; + }), + (_.cssHooks.marginLeft = Ht(m.reliableMarginLeft, function(t, e) { + if (e) + return ( + (parseFloat(Ft(t, "marginLeft")) || + t.getBoundingClientRect().left - + ut(t, { marginLeft: 0 }, function() { + return t.getBoundingClientRect().left; + })) + "px" + ); + })), + _.each({ margin: "", padding: "", border: "Width" }, function(t, e) { + (_.cssHooks[t + e] = { + expand: function(n) { + for (var r = 0, i = {}, o = "string" == typeof n ? n.split(" ") : [n]; r < 4; r++) + i[t + ot[r] + e] = o[r] || o[r - 2] || o[0]; + return i; + } + }), + "margin" !== t && (_.cssHooks[t + e].set = Zt); + }), + _.fn.extend({ + css: function(t, e) { + return z( + this, + function(t, e, n) { + var r, + i, + o = {}, + a = 0; + if (Array.isArray(e)) { + for (r = qt(t), i = e.length; a < i; a++) o[e[a]] = _.css(t, e[a], !1, r); + return o; + } + return void 0 !== n ? _.style(t, e, n) : _.css(t, e); + }, + t, + e, + arguments.length > 1 + ); + } + }), + (_.Tween = te), + (te.prototype = { + constructor: te, + init: function(t, e, n, r, i, o) { + (this.elem = t), + (this.prop = n), + (this.easing = i || _.easing._default), + (this.options = e), + (this.start = this.now = this.cur()), + (this.end = r), + (this.unit = o || (_.cssNumber[n] ? "" : "px")); + }, + cur: function() { + var t = te.propHooks[this.prop]; + return t && t.get ? t.get(this) : te.propHooks._default.get(this); + }, + run: function(t) { + var e, + n = te.propHooks[this.prop]; + return ( + this.options.duration + ? (this.pos = e = _.easing[this.easing]( + t, + this.options.duration * t, + 0, + 1, + this.options.duration + )) + : (this.pos = e = t), + (this.now = (this.end - this.start) * e + this.start), + this.options.step && this.options.step.call(this.elem, this.now, this), + n && n.set ? n.set(this) : te.propHooks._default.set(this), + this + ); + } + }), + (te.prototype.init.prototype = te.prototype), + (te.propHooks = { + _default: { + get: function(t) { + var e; + return 1 !== t.elem.nodeType || + (null != t.elem[t.prop] && null == t.elem.style[t.prop]) + ? t.elem[t.prop] + : (e = _.css(t.elem, t.prop, "")) && "auto" !== e + ? e + : 0; + }, + set: function(t) { + _.fx.step[t.prop] + ? _.fx.step[t.prop](t) + : 1 !== t.elem.nodeType || + (null == t.elem.style[_.cssProps[t.prop]] && !_.cssHooks[t.prop]) + ? (t.elem[t.prop] = t.now) + : _.style(t.elem, t.prop, t.now + t.unit); + } + } + }), + (te.propHooks.scrollTop = te.propHooks.scrollLeft = { + set: function(t) { + t.elem.nodeType && t.elem.parentNode && (t.elem[t.prop] = t.now); + } + }), + (_.easing = { + linear: function(t) { + return t; + }, + swing: function(t) { + return 0.5 - Math.cos(t * Math.PI) / 2; + }, + _default: "swing" + }), + (_.fx = te.prototype.init), + (_.fx.step = {}); + var ee, + ne, + re = /^(?:toggle|show|hide)$/, + ie = /queueHooks$/; + function oe() { + ne && + (!1 === a.hidden && n.requestAnimationFrame + ? n.requestAnimationFrame(oe) + : n.setTimeout(oe, _.fx.interval), + _.fx.tick()); + } + function ae() { + return ( + n.setTimeout(function() { + ee = void 0; + }), + (ee = Date.now()) + ); + } + function ue(t, e) { + var n, + r = 0, + i = { height: t }; + for (e = e ? 1 : 0; r < 4; r += 2 - e) i["margin" + (n = ot[r])] = i["padding" + n] = t; + return e && (i.opacity = i.width = t), i; + } + function se(t, e, n) { + for ( + var r, i = (ce.tweeners[e] || []).concat(ce.tweeners["*"]), o = 0, a = i.length; + o < a; + o++ + ) + if ((r = i[o].call(n, e, t))) return r; + } + function ce(t, e, n) { + var r, + i, + o = 0, + a = ce.prefilters.length, + u = _.Deferred().always(function() { + delete s.elem; + }), + s = function() { + if (i) return !1; + for ( + var e = ee || ae(), + n = Math.max(0, c.startTime + c.duration - e), + r = 1 - (n / c.duration || 0), + o = 0, + a = c.tweens.length; + o < a; + o++ + ) + c.tweens[o].run(r); + return ( + u.notifyWith(t, [c, r, n]), + r < 1 && a ? n : (a || u.notifyWith(t, [c, 1, 0]), u.resolveWith(t, [c]), !1) + ); + }, + c = u.promise({ + elem: t, + props: _.extend({}, e), + opts: _.extend(!0, { specialEasing: {}, easing: _.easing._default }, n), + originalProperties: e, + originalOptions: n, + startTime: ee || ae(), + duration: n.duration, + tweens: [], + createTween: function(e, n) { + var r = _.Tween(t, c.opts, e, n, c.opts.specialEasing[e] || c.opts.easing); + return c.tweens.push(r), r; + }, + stop: function(e) { + var n = 0, + r = e ? c.tweens.length : 0; + if (i) return this; + for (i = !0; n < r; n++) c.tweens[n].run(1); + return ( + e + ? (u.notifyWith(t, [c, 1, 0]), u.resolveWith(t, [c, e])) + : u.rejectWith(t, [c, e]), + this + ); + } + }), + l = c.props; + for ( + !(function(t, e) { + var n, r, i, o, a; + for (n in t) + if ( + ((i = e[(r = J(n))]), + (o = t[n]), + Array.isArray(o) && ((i = o[1]), (o = t[n] = o[0])), + n !== r && ((t[r] = o), delete t[n]), + (a = _.cssHooks[r]) && ("expand" in a)) + ) + for (n in ((o = a.expand(o)), delete t[r], o)) + (n in t) || ((t[n] = o[n]), (e[n] = i)); + else e[r] = i; + })(l, c.opts.specialEasing); + o < a; + o++ + ) + if ((r = ce.prefilters[o].call(c, t, l, c.opts))) + return $(r.stop) && (_._queueHooks(c.elem, c.opts.queue).stop = r.stop.bind(r)), r; + return ( + _.map(l, se, c), + $(c.opts.start) && c.opts.start.call(t, c), + c + .progress(c.opts.progress) + .done(c.opts.done, c.opts.complete) + .fail(c.opts.fail) + .always(c.opts.always), + _.fx.timer(_.extend(s, { elem: t, anim: c, queue: c.opts.queue })), + c + ); + } + (_.Animation = _.extend(ce, { + tweeners: { + "*": [ + function(t, e) { + var n = this.createTween(t, e); + return st(n.elem, t, it.exec(e), n), n; + } + ] + }, + tweener: function(t, e) { + $(t) ? ((e = t), (t = ["*"])) : (t = t.match(P)); + for (var n, r = 0, i = t.length; r < i; r++) + (n = t[r]), (ce.tweeners[n] = ce.tweeners[n] || []), ce.tweeners[n].unshift(e); + }, + prefilters: [ + function(t, e, n) { + var r, + i, + o, + a, + u, + s, + c, + l, + f = "width" in e || "height" in e, + p = this, + h = {}, + d = t.style, + v = t.nodeType && at(t), + g = X.get(t, "fxshow"); + for (r in (n.queue || + (null == (a = _._queueHooks(t, "fx")).unqueued && + ((a.unqueued = 0), + (u = a.empty.fire), + (a.empty.fire = function() { + a.unqueued || u(); + })), + a.unqueued++, + p.always(function() { + p.always(function() { + a.unqueued--, _.queue(t, "fx").length || a.empty.fire(); + }); + })), + e)) + if (((i = e[r]), re.test(i))) { + if ((delete e[r], (o = o || "toggle" === i), i === (v ? "hide" : "show"))) { + if ("show" !== i || !g || void 0 === g[r]) continue; + v = !0; + } + h[r] = (g && g[r]) || _.style(t, r); + } + if ((s = !_.isEmptyObject(e)) || !_.isEmptyObject(h)) + for (r in (f && + 1 === t.nodeType && + ((n.overflow = [d.overflow, d.overflowX, d.overflowY]), + null == (c = g && g.display) && (c = X.get(t, "display")), + "none" === (l = _.css(t, "display")) && + (c + ? (l = c) + : (ft([t], !0), + (c = t.style.display || c), + (l = _.css(t, "display")), + ft([t]))), + ("inline" === l || ("inline-block" === l && null != c)) && + "none" === _.css(t, "float") && + (s || + (p.done(function() { + d.display = c; + }), + null == c && ((l = d.display), (c = "none" === l ? "" : l))), + (d.display = "inline-block"))), + n.overflow && + ((d.overflow = "hidden"), + p.always(function() { + (d.overflow = n.overflow[0]), + (d.overflowX = n.overflow[1]), + (d.overflowY = n.overflow[2]); + })), + (s = !1), + h)) + s || + (g + ? "hidden" in g && (v = g.hidden) + : (g = X.access(t, "fxshow", { display: c })), + o && (g.hidden = !v), + v && ft([t], !0), + p.done(function() { + for (r in (v || ft([t]), X.remove(t, "fxshow"), h)) _.style(t, r, h[r]); + })), + (s = se(v ? g[r] : 0, r, p)), + r in g || ((g[r] = s.start), v && ((s.end = s.start), (s.start = 0))); + } + ], + prefilter: function(t, e) { + e ? ce.prefilters.unshift(t) : ce.prefilters.push(t); + } + })), + (_.speed = function(t, e, n) { + var r = + t && "object" == typeof t + ? _.extend({}, t) + : { + complete: n || (!n && e) || ($(t) && t), + duration: t, + easing: (n && e) || (e && !$(e) && e) + }; + return ( + _.fx.off + ? (r.duration = 0) + : "number" != typeof r.duration && + (r.duration in _.fx.speeds + ? (r.duration = _.fx.speeds[r.duration]) + : (r.duration = _.fx.speeds._default)), + (null != r.queue && !0 !== r.queue) || (r.queue = "fx"), + (r.old = r.complete), + (r.complete = function() { + $(r.old) && r.old.call(this), r.queue && _.dequeue(this, r.queue); + }), + r + ); + }), + _.fn.extend({ + fadeTo: function(t, e, n, r) { + return this.filter(at) + .css("opacity", 0) + .show() + .end() + .animate({ opacity: e }, t, n, r); + }, + animate: function(t, e, n, r) { + var i = _.isEmptyObject(t), + o = _.speed(e, n, r), + a = function() { + var e = ce(this, _.extend({}, t), o); + (i || X.get(this, "finish")) && e.stop(!0); + }; + return (a.finish = a), i || !1 === o.queue ? this.each(a) : this.queue(o.queue, a); + }, + stop: function(t, e, n) { + var r = function(t) { + var e = t.stop; + delete t.stop, e(n); + }; + return ( + "string" != typeof t && ((n = e), (e = t), (t = void 0)), + e && !1 !== t && this.queue(t || "fx", []), + this.each(function() { + var e = !0, + i = null != t && t + "queueHooks", + o = _.timers, + a = X.get(this); + if (i) a[i] && a[i].stop && r(a[i]); + else for (i in a) a[i] && a[i].stop && ie.test(i) && r(a[i]); + for (i = o.length; i--; ) + o[i].elem !== this || + (null != t && o[i].queue !== t) || + (o[i].anim.stop(n), (e = !1), o.splice(i, 1)); + (!e && n) || _.dequeue(this, t); + }) + ); + }, + finish: function(t) { + return ( + !1 !== t && (t = t || "fx"), + this.each(function() { + var e, + n = X.get(this), + r = n[t + "queue"], + i = n[t + "queueHooks"], + o = _.timers, + a = r ? r.length : 0; + for ( + n.finish = !0, + _.queue(this, t, []), + i && i.stop && i.stop.call(this, !0), + e = o.length; + e--; + + ) + o[e].elem === this && o[e].queue === t && (o[e].anim.stop(!0), o.splice(e, 1)); + for (e = 0; e < a; e++) r[e] && r[e].finish && r[e].finish.call(this); + delete n.finish; + }) + ); + } + }), + _.each(["toggle", "show", "hide"], function(t, e) { + var n = _.fn[e]; + _.fn[e] = function(t, r, i) { + return null == t || "boolean" == typeof t + ? n.apply(this, arguments) + : this.animate(ue(e, !0), t, r, i); + }; + }), + _.each( + { + slideDown: ue("show"), + slideUp: ue("hide"), + slideToggle: ue("toggle"), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } + }, + function(t, e) { + _.fn[t] = function(t, n, r) { + return this.animate(e, t, n, r); + }; + } + ), + (_.timers = []), + (_.fx.tick = function() { + var t, + e = 0, + n = _.timers; + for (ee = Date.now(); e < n.length; e++) (t = n[e])() || n[e] !== t || n.splice(e--, 1); + n.length || _.fx.stop(), (ee = void 0); + }), + (_.fx.timer = function(t) { + _.timers.push(t), _.fx.start(); + }), + (_.fx.interval = 13), + (_.fx.start = function() { + ne || ((ne = !0), oe()); + }), + (_.fx.stop = function() { + ne = null; + }), + (_.fx.speeds = { slow: 600, fast: 200, _default: 400 }), + (_.fn.delay = function(t, e) { + return ( + (t = (_.fx && _.fx.speeds[t]) || t), + (e = e || "fx"), + this.queue(e, function(e, r) { + var i = n.setTimeout(e, t); + r.stop = function() { + n.clearTimeout(i); + }; + }) + ); + }), + (function() { + var t = a.createElement("input"), + e = a.createElement("select").appendChild(a.createElement("option")); + (t.type = "checkbox"), + (m.checkOn = "" !== t.value), + (m.optSelected = e.selected), + ((t = a.createElement("input")).value = "t"), + (t.type = "radio"), + (m.radioValue = "t" === t.value); + })(); + var le, + fe = _.expr.attrHandle; + _.fn.extend({ + attr: function(t, e) { + return z(this, _.attr, t, e, arguments.length > 1); + }, + removeAttr: function(t) { + return this.each(function() { + _.removeAttr(this, t); + }); + } + }), + _.extend({ + attr: function(t, e, n) { + var r, + i, + o = t.nodeType; + if (3 !== o && 8 !== o && 2 !== o) + return void 0 === t.getAttribute + ? _.prop(t, e, n) + : ((1 === o && _.isXMLDoc(t)) || + (i = + _.attrHooks[e.toLowerCase()] || (_.expr.match.bool.test(e) ? le : void 0)), + void 0 !== n + ? null === n + ? void _.removeAttr(t, e) + : i && "set" in i && void 0 !== (r = i.set(t, n, e)) + ? r + : (t.setAttribute(e, n + ""), n) + : i && "get" in i && null !== (r = i.get(t, e)) + ? r + : null == (r = _.find.attr(t, e)) + ? void 0 + : r); + }, + attrHooks: { + type: { + set: function(t, e) { + if (!m.radioValue && "radio" === e && O(t, "input")) { + var n = t.value; + return t.setAttribute("type", e), n && (t.value = n), e; + } + } + } + }, + removeAttr: function(t, e) { + var n, + r = 0, + i = e && e.match(P); + if (i && 1 === t.nodeType) for (; (n = i[r++]); ) t.removeAttribute(n); + } + }), + (le = { + set: function(t, e, n) { + return !1 === e ? _.removeAttr(t, n) : t.setAttribute(n, n), n; + } + }), + _.each(_.expr.match.bool.source.match(/\w+/g), function(t, e) { + var n = fe[e] || _.find.attr; + fe[e] = function(t, e, r) { + var i, + o, + a = e.toLowerCase(); + return ( + r || ((o = fe[a]), (fe[a] = i), (i = null != n(t, e, r) ? a : null), (fe[a] = o)), i + ); + }; + }); + var pe = /^(?:input|select|textarea|button)$/i, + he = /^(?:a|area)$/i; + function de(t) { + return (t.match(P) || []).join(" "); + } + function ve(t) { + return (t.getAttribute && t.getAttribute("class")) || ""; + } + function ge(t) { + return Array.isArray(t) ? t : ("string" == typeof t && t.match(P)) || []; + } + _.fn.extend({ + prop: function(t, e) { + return z(this, _.prop, t, e, arguments.length > 1); + }, + removeProp: function(t) { + return this.each(function() { + delete this[_.propFix[t] || t]; + }); + } + }), + _.extend({ + prop: function(t, e, n) { + var r, + i, + o = t.nodeType; + if (3 !== o && 8 !== o && 2 !== o) + return ( + (1 === o && _.isXMLDoc(t)) || ((e = _.propFix[e] || e), (i = _.propHooks[e])), + void 0 !== n + ? i && "set" in i && void 0 !== (r = i.set(t, n, e)) + ? r + : (t[e] = n) + : i && "get" in i && null !== (r = i.get(t, e)) + ? r + : t[e] + ); + }, + propHooks: { + tabIndex: { + get: function(t) { + var e = _.find.attr(t, "tabindex"); + return e + ? parseInt(e, 10) + : pe.test(t.nodeName) || (he.test(t.nodeName) && t.href) + ? 0 + : -1; + } + } + }, + propFix: { for: "htmlFor", class: "className" } + }), + m.optSelected || + (_.propHooks.selected = { + get: function(t) { + var e = t.parentNode; + return e && e.parentNode && e.parentNode.selectedIndex, null; + }, + set: function(t) { + var e = t.parentNode; + e && (e.selectedIndex, e.parentNode && e.parentNode.selectedIndex); + } + }), + _.each( + [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" + ], + function() { + _.propFix[this.toLowerCase()] = this; + } + ), + _.fn.extend({ + addClass: function(t) { + var e, + n, + r, + i, + o, + a, + u, + s = 0; + if ($(t)) + return this.each(function(e) { + _(this).addClass(t.call(this, e, ve(this))); + }); + if ((e = ge(t)).length) + for (; (n = this[s++]); ) + if (((i = ve(n)), (r = 1 === n.nodeType && " " + de(i) + " "))) { + for (a = 0; (o = e[a++]); ) r.indexOf(" " + o + " ") < 0 && (r += o + " "); + i !== (u = de(r)) && n.setAttribute("class", u); + } + return this; + }, + removeClass: function(t) { + var e, + n, + r, + i, + o, + a, + u, + s = 0; + if ($(t)) + return this.each(function(e) { + _(this).removeClass(t.call(this, e, ve(this))); + }); + if (!arguments.length) return this.attr("class", ""); + if ((e = ge(t)).length) + for (; (n = this[s++]); ) + if (((i = ve(n)), (r = 1 === n.nodeType && " " + de(i) + " "))) { + for (a = 0; (o = e[a++]); ) + for (; r.indexOf(" " + o + " ") > -1; ) r = r.replace(" " + o + " ", " "); + i !== (u = de(r)) && n.setAttribute("class", u); + } + return this; + }, + toggleClass: function(t, e) { + var n = typeof t, + r = "string" === n || Array.isArray(t); + return "boolean" == typeof e && r + ? e + ? this.addClass(t) + : this.removeClass(t) + : $(t) + ? this.each(function(n) { + _(this).toggleClass(t.call(this, n, ve(this), e), e); + }) + : this.each(function() { + var e, i, o, a; + if (r) + for (i = 0, o = _(this), a = ge(t); (e = a[i++]); ) + o.hasClass(e) ? o.removeClass(e) : o.addClass(e); + else + (void 0 !== t && "boolean" !== n) || + ((e = ve(this)) && X.set(this, "__className__", e), + this.setAttribute && + this.setAttribute( + "class", + e || !1 === t ? "" : X.get(this, "__className__") || "" + )); + }); + }, + hasClass: function(t) { + var e, + n, + r = 0; + for (e = " " + t + " "; (n = this[r++]); ) + if (1 === n.nodeType && (" " + de(ve(n)) + " ").indexOf(e) > -1) return !0; + return !1; + } + }); + var me = /\r/g; + _.fn.extend({ + val: function(t) { + var e, + n, + r, + i = this[0]; + return arguments.length + ? ((r = $(t)), + this.each(function(n) { + var i; + 1 === this.nodeType && + (null == (i = r ? t.call(this, n, _(this).val()) : t) + ? (i = "") + : "number" == typeof i + ? (i += "") + : Array.isArray(i) && + (i = _.map(i, function(t) { + return null == t ? "" : t + ""; + })), + ((e = _.valHooks[this.type] || _.valHooks[this.nodeName.toLowerCase()]) && + "set" in e && + void 0 !== e.set(this, i, "value")) || + (this.value = i)); + })) + : i + ? (e = _.valHooks[i.type] || _.valHooks[i.nodeName.toLowerCase()]) && + "get" in e && + void 0 !== (n = e.get(i, "value")) + ? n + : "string" == typeof (n = i.value) + ? n.replace(me, "") + : null == n + ? "" + : n + : void 0; + } + }), + _.extend({ + valHooks: { + option: { + get: function(t) { + var e = _.find.attr(t, "value"); + return null != e ? e : de(_.text(t)); + } + }, + select: { + get: function(t) { + var e, + n, + r, + i = t.options, + o = t.selectedIndex, + a = "select-one" === t.type, + u = a ? null : [], + s = a ? o + 1 : i.length; + for (r = o < 0 ? s : a ? o : 0; r < s; r++) + if ( + ((n = i[r]).selected || r === o) && + !n.disabled && + (!n.parentNode.disabled || !O(n.parentNode, "optgroup")) + ) { + if (((e = _(n).val()), a)) return e; + u.push(e); + } + return u; + }, + set: function(t, e) { + for (var n, r, i = t.options, o = _.makeArray(e), a = i.length; a--; ) + ((r = i[a]).selected = _.inArray(_.valHooks.option.get(r), o) > -1) && (n = !0); + return n || (t.selectedIndex = -1), o; + } + } + } + }), + _.each(["radio", "checkbox"], function() { + (_.valHooks[this] = { + set: function(t, e) { + if (Array.isArray(e)) return (t.checked = _.inArray(_(t).val(), e) > -1); + } + }), + m.checkOn || + (_.valHooks[this].get = function(t) { + return null === t.getAttribute("value") ? "on" : t.value; + }); + }), + (m.focusin = "onfocusin" in n); + var $e = /^(?:focusinfocus|focusoutblur)$/, + ye = function(t) { + t.stopPropagation(); + }; + _.extend(_.event, { + trigger: function(t, e, r, i) { + var o, + u, + s, + c, + l, + f, + p, + h, + v = [r || a], + g = d.call(t, "type") ? t.type : t, + m = d.call(t, "namespace") ? t.namespace.split(".") : []; + if ( + ((u = h = s = r = r || a), + 3 !== r.nodeType && + 8 !== r.nodeType && + !$e.test(g + _.event.triggered) && + (g.indexOf(".") > -1 && ((g = (m = g.split(".")).shift()), m.sort()), + (l = g.indexOf(":") < 0 && "on" + g), + ((t = t[_.expando] ? t : new _.Event(g, "object" == typeof t && t)).isTrigger = i + ? 2 + : 3), + (t.namespace = m.join(".")), + (t.rnamespace = t.namespace + ? new RegExp("(^|\\.)" + m.join("\\.(?:.*\\.|)") + "(\\.|$)") + : null), + (t.result = void 0), + t.target || (t.target = r), + (e = null == e ? [t] : _.makeArray(e, [t])), + (p = _.event.special[g] || {}), + i || !p.trigger || !1 !== p.trigger.apply(r, e))) + ) { + if (!i && !p.noBubble && !y(r)) { + for ( + c = p.delegateType || g, $e.test(c + g) || (u = u.parentNode); + u; + u = u.parentNode + ) + v.push(u), (s = u); + s === (r.ownerDocument || a) && v.push(s.defaultView || s.parentWindow || n); + } + for (o = 0; (u = v[o++]) && !t.isPropagationStopped(); ) + (h = u), + (t.type = o > 1 ? c : p.bindType || g), + (f = (X.get(u, "events") || {})[t.type] && X.get(u, "handle")) && f.apply(u, e), + (f = l && u[l]) && + f.apply && + Y(u) && + ((t.result = f.apply(u, e)), !1 === t.result && t.preventDefault()); + return ( + (t.type = g), + i || + t.isDefaultPrevented() || + (p._default && !1 !== p._default.apply(v.pop(), e)) || + !Y(r) || + (l && + $(r[g]) && + !y(r) && + ((s = r[l]) && (r[l] = null), + (_.event.triggered = g), + t.isPropagationStopped() && h.addEventListener(g, ye), + r[g](), + t.isPropagationStopped() && h.removeEventListener(g, ye), + (_.event.triggered = void 0), + s && (r[l] = s))), + t.result + ); + } + }, + simulate: function(t, e, n) { + var r = _.extend(new _.Event(), n, { type: t, isSimulated: !0 }); + _.event.trigger(r, null, e); + } + }), + _.fn.extend({ + trigger: function(t, e) { + return this.each(function() { + _.event.trigger(t, e, this); + }); + }, + triggerHandler: function(t, e) { + var n = this[0]; + if (n) return _.event.trigger(t, e, n, !0); + } + }), + m.focusin || + _.each({ focus: "focusin", blur: "focusout" }, function(t, e) { + var n = function(t) { + _.event.simulate(e, t.target, _.event.fix(t)); + }; + _.event.special[e] = { + setup: function() { + var r = this.ownerDocument || this, + i = X.access(r, e); + i || r.addEventListener(t, n, !0), X.access(r, e, (i || 0) + 1); + }, + teardown: function() { + var r = this.ownerDocument || this, + i = X.access(r, e) - 1; + i ? X.access(r, e, i) : (r.removeEventListener(t, n, !0), X.remove(r, e)); + } + }; + }); + var be = n.location, + we = Date.now(), + xe = /\?/; + _.parseXML = function(t) { + var e; + if (!t || "string" != typeof t) return null; + try { + e = new n.DOMParser().parseFromString(t, "text/xml"); + } catch (t) { + e = void 0; + } + return ( + (e && !e.getElementsByTagName("parsererror").length) || _.error("Invalid XML: " + t), e + ); + }; + var _e = /\[\]$/, + Ce = /\r?\n/g, + Se = /^(?:submit|button|image|reset|file)$/i, + Ee = /^(?:input|select|textarea|keygen)/i; + function ke(t, e, n, r) { + var i; + if (Array.isArray(e)) + _.each(e, function(e, i) { + n || _e.test(t) + ? r(t, i) + : ke(t + "[" + ("object" == typeof i && null != i ? e : "") + "]", i, n, r); + }); + else if (n || "object" !== x(e)) r(t, e); + else for (i in e) ke(t + "[" + i + "]", e[i], n, r); + } + (_.param = function(t, e) { + var n, + r = [], + i = function(t, e) { + var n = $(e) ? e() : e; + r[r.length] = encodeURIComponent(t) + "=" + encodeURIComponent(null == n ? "" : n); + }; + if (Array.isArray(t) || (t.jquery && !_.isPlainObject(t))) + _.each(t, function() { + i(this.name, this.value); + }); + else for (n in t) ke(n, t[n], e, i); + return r.join("&"); + }), + _.fn.extend({ + serialize: function() { + return _.param(this.serializeArray()); + }, + serializeArray: function() { + return this.map(function() { + var t = _.prop(this, "elements"); + return t ? _.makeArray(t) : this; + }) + .filter(function() { + var t = this.type; + return ( + this.name && + !_(this).is(":disabled") && + Ee.test(this.nodeName) && + !Se.test(t) && + (this.checked || !pt.test(t)) + ); + }) + .map(function(t, e) { + var n = _(this).val(); + return null == n + ? null + : Array.isArray(n) + ? _.map(n, function(t) { + return { name: e.name, value: t.replace(Ce, "\r\n") }; + }) + : { name: e.name, value: n.replace(Ce, "\r\n") }; + }) + .get(); + } + }); + var Ae = /%20/g, + Te = /#.*$/, + Oe = /([?&])_=[^&]*/, + je = /^(.*?):[ \t]*([^\r\n]*)$/gm, + Ne = /^(?:GET|HEAD)$/, + Me = /^\/\//, + Le = {}, + De = {}, + Ie = "*/".concat("*"), + Re = a.createElement("a"); + function Pe(t) { + return function(e, n) { + "string" != typeof e && ((n = e), (e = "*")); + var r, + i = 0, + o = e.toLowerCase().match(P) || []; + if ($(n)) + for (; (r = o[i++]); ) + "+" === r[0] + ? ((r = r.slice(1) || "*"), (t[r] = t[r] || []).unshift(n)) + : (t[r] = t[r] || []).push(n); + }; + } + function Ve(t, e, n, r) { + var i = {}, + o = t === De; + function a(u) { + var s; + return ( + (i[u] = !0), + _.each(t[u] || [], function(t, u) { + var c = u(e, n, r); + return "string" != typeof c || o || i[c] + ? o + ? !(s = c) + : void 0 + : (e.dataTypes.unshift(c), a(c), !1); + }), + s + ); + } + return a(e.dataTypes[0]) || (!i["*"] && a("*")); + } + function qe(t, e) { + var n, + r, + i = _.ajaxSettings.flatOptions || {}; + for (n in e) void 0 !== e[n] && ((i[n] ? t : r || (r = {}))[n] = e[n]); + return r && _.extend(!0, t, r), t; + } + (Re.href = be.href), + _.extend({ + active: 0, + lastModified: {}, + etag: {}, + ajaxSettings: { + url: be.href, + type: "GET", + isLocal: /^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test( + be.protocol + ), + global: !0, + processData: !0, + async: !0, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + accepts: { + "*": Ie, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + contents: { xml: /\bxml\b/, html: /\bhtml/, json: /\bjson\b/ }, + responseFields: { xml: "responseXML", text: "responseText", json: "responseJSON" }, + converters: { + "* text": String, + "text html": !0, + "text json": JSON.parse, + "text xml": _.parseXML + }, + flatOptions: { url: !0, context: !0 } + }, + ajaxSetup: function(t, e) { + return e ? qe(qe(t, _.ajaxSettings), e) : qe(_.ajaxSettings, t); + }, + ajaxPrefilter: Pe(Le), + ajaxTransport: Pe(De), + ajax: function(t, e) { + "object" == typeof t && ((e = t), (t = void 0)), (e = e || {}); + var r, + i, + o, + u, + s, + c, + l, + f, + p, + h, + d = _.ajaxSetup({}, e), + v = d.context || d, + g = d.context && (v.nodeType || v.jquery) ? _(v) : _.event, + m = _.Deferred(), + $ = _.Callbacks("once memory"), + y = d.statusCode || {}, + b = {}, + w = {}, + x = "canceled", + C = { + readyState: 0, + getResponseHeader: function(t) { + var e; + if (l) { + if (!u) for (u = {}; (e = je.exec(o)); ) u[e[1].toLowerCase()] = e[2]; + e = u[t.toLowerCase()]; + } + return null == e ? null : e; + }, + getAllResponseHeaders: function() { + return l ? o : null; + }, + setRequestHeader: function(t, e) { + return ( + null == l && ((t = w[t.toLowerCase()] = w[t.toLowerCase()] || t), (b[t] = e)), + this + ); + }, + overrideMimeType: function(t) { + return null == l && (d.mimeType = t), this; + }, + statusCode: function(t) { + var e; + if (t) + if (l) C.always(t[C.status]); + else for (e in t) y[e] = [y[e], t[e]]; + return this; + }, + abort: function(t) { + var e = t || x; + return r && r.abort(e), S(0, e), this; + } + }; + if ( + (m.promise(C), + (d.url = ((t || d.url || be.href) + "").replace(Me, be.protocol + "//")), + (d.type = e.method || e.type || d.method || d.type), + (d.dataTypes = (d.dataType || "*").toLowerCase().match(P) || [""]), + null == d.crossDomain) + ) { + c = a.createElement("a"); + try { + (c.href = d.url), + (c.href = c.href), + (d.crossDomain = Re.protocol + "//" + Re.host != c.protocol + "//" + c.host); + } catch (t) { + d.crossDomain = !0; + } + } + if ( + (d.data && + d.processData && + "string" != typeof d.data && + (d.data = _.param(d.data, d.traditional)), + Ve(Le, d, e, C), + l) + ) + return C; + for (p in ((f = _.event && d.global) && + 0 == _.active++ && + _.event.trigger("ajaxStart"), + (d.type = d.type.toUpperCase()), + (d.hasContent = !Ne.test(d.type)), + (i = d.url.replace(Te, "")), + d.hasContent + ? d.data && + d.processData && + 0 === (d.contentType || "").indexOf("application/x-www-form-urlencoded") && + (d.data = d.data.replace(Ae, "+")) + : ((h = d.url.slice(i.length)), + d.data && + (d.processData || "string" == typeof d.data) && + ((i += (xe.test(i) ? "&" : "?") + d.data), delete d.data), + !1 === d.cache && + ((i = i.replace(Oe, "$1")), (h = (xe.test(i) ? "&" : "?") + "_=" + we++ + h)), + (d.url = i + h)), + d.ifModified && + (_.lastModified[i] && C.setRequestHeader("If-Modified-Since", _.lastModified[i]), + _.etag[i] && C.setRequestHeader("If-None-Match", _.etag[i])), + ((d.data && d.hasContent && !1 !== d.contentType) || e.contentType) && + C.setRequestHeader("Content-Type", d.contentType), + C.setRequestHeader( + "Accept", + d.dataTypes[0] && d.accepts[d.dataTypes[0]] + ? d.accepts[d.dataTypes[0]] + + ("*" !== d.dataTypes[0] ? ", " + Ie + "; q=0.01" : "") + : d.accepts["*"] + ), + d.headers)) + C.setRequestHeader(p, d.headers[p]); + if (d.beforeSend && (!1 === d.beforeSend.call(v, C, d) || l)) return C.abort(); + if ( + ((x = "abort"), + $.add(d.complete), + C.done(d.success), + C.fail(d.error), + (r = Ve(De, d, e, C))) + ) { + if (((C.readyState = 1), f && g.trigger("ajaxSend", [C, d]), l)) return C; + d.async && + d.timeout > 0 && + (s = n.setTimeout(function() { + C.abort("timeout"); + }, d.timeout)); + try { + (l = !1), r.send(b, S); + } catch (t) { + if (l) throw t; + S(-1, t); + } + } else S(-1, "No Transport"); + function S(t, e, a, u) { + var c, + p, + h, + b, + w, + x = e; + l || + ((l = !0), + s && n.clearTimeout(s), + (r = void 0), + (o = u || ""), + (C.readyState = t > 0 ? 4 : 0), + (c = (t >= 200 && t < 300) || 304 === t), + a && + (b = (function(t, e, n) { + for (var r, i, o, a, u = t.contents, s = t.dataTypes; "*" === s[0]; ) + s.shift(), + void 0 === r && (r = t.mimeType || e.getResponseHeader("Content-Type")); + if (r) + for (i in u) + if (u[i] && u[i].test(r)) { + s.unshift(i); + break; + } + if (s[0] in n) o = s[0]; + else { + for (i in n) { + if (!s[0] || t.converters[i + " " + s[0]]) { + o = i; + break; + } + a || (a = i); + } + o = o || a; + } + if (o) return o !== s[0] && s.unshift(o), n[o]; + })(d, C, a)), + (b = (function(t, e, n, r) { + var i, + o, + a, + u, + s, + c = {}, + l = t.dataTypes.slice(); + if (l[1]) for (a in t.converters) c[a.toLowerCase()] = t.converters[a]; + for (o = l.shift(); o; ) + if ( + (t.responseFields[o] && (n[t.responseFields[o]] = e), + !s && r && t.dataFilter && (e = t.dataFilter(e, t.dataType)), + (s = o), + (o = l.shift())) + ) + if ("*" === o) o = s; + else if ("*" !== s && s !== o) { + if (!(a = c[s + " " + o] || c["* " + o])) + for (i in c) + if ( + (u = i.split(" "))[1] === o && + (a = c[s + " " + u[0]] || c["* " + u[0]]) + ) { + !0 === a + ? (a = c[i]) + : !0 !== c[i] && ((o = u[0]), l.unshift(u[1])); + break; + } + if (!0 !== a) + if (a && t.throws) e = a(e); + else + try { + e = a(e); + } catch (t) { + return { + state: "parsererror", + error: a ? t : "No conversion from " + s + " to " + o + }; + } + } + return { state: "success", data: e }; + })(d, b, C, c)), + c + ? (d.ifModified && + ((w = C.getResponseHeader("Last-Modified")) && (_.lastModified[i] = w), + (w = C.getResponseHeader("etag")) && (_.etag[i] = w)), + 204 === t || "HEAD" === d.type + ? (x = "nocontent") + : 304 === t + ? (x = "notmodified") + : ((x = b.state), (p = b.data), (c = !(h = b.error)))) + : ((h = x), (!t && x) || ((x = "error"), t < 0 && (t = 0))), + (C.status = t), + (C.statusText = (e || x) + ""), + c ? m.resolveWith(v, [p, x, C]) : m.rejectWith(v, [C, x, h]), + C.statusCode(y), + (y = void 0), + f && g.trigger(c ? "ajaxSuccess" : "ajaxError", [C, d, c ? p : h]), + $.fireWith(v, [C, x]), + f && + (g.trigger("ajaxComplete", [C, d]), --_.active || _.event.trigger("ajaxStop"))); + } + return C; + }, + getJSON: function(t, e, n) { + return _.get(t, e, n, "json"); + }, + getScript: function(t, e) { + return _.get(t, void 0, e, "script"); + } + }), + _.each(["get", "post"], function(t, e) { + _[e] = function(t, n, r, i) { + return ( + $(n) && ((i = i || r), (r = n), (n = void 0)), + _.ajax( + _.extend( + { url: t, type: e, dataType: i, data: n, success: r }, + _.isPlainObject(t) && t + ) + ) + ); + }; + }), + (_._evalUrl = function(t) { + return _.ajax({ + url: t, + type: "GET", + dataType: "script", + cache: !0, + async: !1, + global: !1, + throws: !0 + }); + }), + _.fn.extend({ + wrapAll: function(t) { + var e; + return ( + this[0] && + ($(t) && (t = t.call(this[0])), + (e = _(t, this[0].ownerDocument) + .eq(0) + .clone(!0)), + this[0].parentNode && e.insertBefore(this[0]), + e + .map(function() { + for (var t = this; t.firstElementChild; ) t = t.firstElementChild; + return t; + }) + .append(this)), + this + ); + }, + wrapInner: function(t) { + return $(t) + ? this.each(function(e) { + _(this).wrapInner(t.call(this, e)); + }) + : this.each(function() { + var e = _(this), + n = e.contents(); + n.length ? n.wrapAll(t) : e.append(t); + }); + }, + wrap: function(t) { + var e = $(t); + return this.each(function(n) { + _(this).wrapAll(e ? t.call(this, n) : t); + }); + }, + unwrap: function(t) { + return ( + this.parent(t) + .not("body") + .each(function() { + _(this).replaceWith(this.childNodes); + }), + this + ); + } + }), + (_.expr.pseudos.hidden = function(t) { + return !_.expr.pseudos.visible(t); + }), + (_.expr.pseudos.visible = function(t) { + return !!(t.offsetWidth || t.offsetHeight || t.getClientRects().length); + }), + (_.ajaxSettings.xhr = function() { + try { + return new n.XMLHttpRequest(); + } catch (t) {} + }); + var Ue = { 0: 200, 1223: 204 }, + Fe = _.ajaxSettings.xhr(); + (m.cors = !!Fe && "withCredentials" in Fe), + (m.ajax = Fe = !!Fe), + _.ajaxTransport(function(t) { + var e, r; + if (m.cors || (Fe && !t.crossDomain)) + return { + send: function(i, o) { + var a, + u = t.xhr(); + if ((u.open(t.type, t.url, t.async, t.username, t.password), t.xhrFields)) + for (a in t.xhrFields) u[a] = t.xhrFields[a]; + for (a in (t.mimeType && u.overrideMimeType && u.overrideMimeType(t.mimeType), + t.crossDomain || + i["X-Requested-With"] || + (i["X-Requested-With"] = "XMLHttpRequest"), + i)) + u.setRequestHeader(a, i[a]); + (e = function(t) { + return function() { + e && + ((e = r = u.onload = u.onerror = u.onabort = u.ontimeout = u.onreadystatechange = null), + "abort" === t + ? u.abort() + : "error" === t + ? "number" != typeof u.status + ? o(0, "error") + : o(u.status, u.statusText) + : o( + Ue[u.status] || u.status, + u.statusText, + "text" !== (u.responseType || "text") || + "string" != typeof u.responseText + ? { binary: u.response } + : { text: u.responseText }, + u.getAllResponseHeaders() + )); + }; + }), + (u.onload = e()), + (r = u.onerror = u.ontimeout = e("error")), + void 0 !== u.onabort + ? (u.onabort = r) + : (u.onreadystatechange = function() { + 4 === u.readyState && + n.setTimeout(function() { + e && r(); + }); + }), + (e = e("abort")); + try { + u.send((t.hasContent && t.data) || null); + } catch (t) { + if (e) throw t; + } + }, + abort: function() { + e && e(); + } + }; + }), + _.ajaxPrefilter(function(t) { + t.crossDomain && (t.contents.script = !1); + }), + _.ajaxSetup({ + accepts: { + script: + "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" + }, + contents: { script: /\b(?:java|ecma)script\b/ }, + converters: { + "text script": function(t) { + return _.globalEval(t), t; + } + } + }), + _.ajaxPrefilter("script", function(t) { + void 0 === t.cache && (t.cache = !1), t.crossDomain && (t.type = "GET"); + }), + _.ajaxTransport("script", function(t) { + var e, n; + if (t.crossDomain) + return { + send: function(r, i) { + (e = _(" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    -
    - - -
    -
    - - -
    -
    - - - -
    - -
    - - -
    - {{ 'Currently no download in line to display, use the' | translate }} {{ 'Add' | translate }} {{ 'download button to start downloading files!' | translate }} -
    - - - - -
    -
    - -
    - - - - - - - - - - - - - - -
    - - -
    - - {{download.name}} -
    -
    -
    - -
      - -
    • -   {{ 'Active' | translate }} -
    • - -
    • -   {{download.downloadSpeed | bspeed}} -
    • - -
    • -   {{download.uploadSpeed | bspeed}} -
    • - -
    • -   {{getEta(download) | time}} -
    • - -
    • -   {{download.fmtTotalLength}} -
    • - -
    • -   {{download.fmtCompletedLength}} -
    • - -
    • -   {{download.fmtUploadLength}} -
    • - -
    • - {{ 'Ratio' | translate }} {{getRatio(download)}} -
    • - -
    • -   {{getProgress(download)}}% -
    • - - -
    - -
      - -
    • -   {{ 'Verifing' | translate }} -
    • - -
    • -   {{download.downloadSpeed | bspeed}} -
    • - -
    • -   {{download.uploadSpeed | bspeed}} -
    • - -
    • -   {{getEta(download) | time}} -
    • - -
    • -   {{download.fmtTotalLength}} -
    • - -
    • -   {{download.fmtCompletedLength}} -
    • - -
    • -   {{getProgress(download)}}% -
    • - - -
    - -
      - -
    • -   {{ 'Verify Pending' | translate}} -
    • - -
    • -   {{download.downloadSpeed | bspeed}} -
    • - -
    • -   {{download.uploadSpeed | bspeed}} -
    • - -
    • -   {{getEta(download) | time}} -
    • - -
    • -   {{download.fmtTotalLength}} -
    • - -
    • -   {{download.fmtCompletedLength}} -
    • - -
    • -   {{getProgress(download)}}% -
    • - - -
    - -
      - -
    • -   {{ 'Paused' | translate }} -
    • - -
    • -   {{download.fmtTotalLength}} -
    • - -
    • -   {{download.fmtCompletedLength}} -
    • - -
    • -   {{download.dir}} -
    • - - -
    - -
      - -
    • -   {{ 'Waiting' | translate }} -
    • - -
    • -   {{download.fmtTotalLength}} -
    • - -
    • -   {{download.fmtCompletedLength}} -
    • - -
    • -   {{download.dir}} -
    • - - -
    - -
      - - -
    • -   {{ 'Complete' | translate }} -
    • - -
    • -   {{download.fmtTotalLength}} -
    • - -
    • -   {{download.fmtUploadLength}} -
    • - -
    • - {{ 'Ratio' | translate }} {{getRatio(download)}} -
    • - -
    • -   {{download.dir}} -
    • - - -
    - -
      - -
    • -   {{ 'Removed' | translate }} -
    • - -
    • -   {{download.fmtTotalLength}} -
    • - -
    • -   {{download.dir}} -
    • - - -
    - -
      - - -
    • -   {{getErrorStatus(download.errorCode)}} -
    • - -
    • -   {{download.fmtTotalLength}} -
    • - -
    • -   {{download.dir}} -
    • - - -
    - - -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
      -
    •   {{getEta(download) | time}}
    • -
    •   {{download.fmtTotalLength}}
    • -
    •   {{download.fmtCompletedLength}}
    • -
    •   {{download.fmtDownloadSpeed}}
    • - -
    •   {{download.fmtUploadSpeed}}
    • -
    •   {{download.fmtUploadLength}}
    • -
    • {{ 'Ratio' | translate }} {{getRatio(download)}}
    • - -
    •   {{download.connections}}{{download.numSeeders}}
    • - -
    •   {{download.gid}}
    • -
    • {{ '# of' | translate }}   {{download.numPieces}}
    • -
    • {{ 'Length' | translate }}  {{download.fmtPieceLength}}
    • -
    •   {{download.dir}}
    • -
    - -
    -
    -
    -
    -
    -
    - - - -
    - - -
    - -
    - - -
    -
    - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - diff --git a/js/ctrls/alert.js b/js/ctrls/alert.js deleted file mode 100644 index 4fec3d9b..00000000 --- a/js/ctrls/alert.js +++ /dev/null @@ -1,33 +0,0 @@ -angular.module('webui.ctrls.alert', [ - 'webui.services.alerts' -]) -.controller('AlertCtrl', ['$scope', '$alerts', '$sce', - function(scope, alerts, sce) { - scope.pendingAlerts = []; - - scope.removeAlert = function(ind) { - this.pendingAlerts.splice(ind, 1); - }; - - alerts.addAlerter(function(msg, type) { - type = type || 'warning'; - var obj = { msg: sce.trustAsHtml(msg), type: type }; - scope.pendingAlerts = _.filter(scope.pendingAlerts, function(al) { - return !al.expired; - }); - scope.pendingAlerts.push(obj); - - setTimeout(function() { - var ind = scope.pendingAlerts.indexOf(obj); - if (ind != -1) { - scope.pendingAlerts[ind].expired = true; - - // only remove if more notifications are pending in the pipeline - if (scope.pendingAlerts.length > 0) - scope.removeAlert(ind); - } - }, type == "error" ? 15000 : 5000); - - scope.$digest(); - }); -}]); diff --git a/js/ctrls/main.js b/js/ctrls/main.js deleted file mode 100644 index 04c08dd1..00000000 --- a/js/ctrls/main.js +++ /dev/null @@ -1,669 +0,0 @@ -angular -.module('webui.ctrls.download', [ - "ui.bootstrap", - 'webui.services.utils', 'webui.services.rpc', 'webui.services.rpc.helpers', 'webui.services.alerts', - 'webui.services.settings', 'webui.services.modals', 'webui.services.configuration', - 'webui.services.errors', -]) -.controller('MainCtrl', [ - '$scope', '$name', '$enable', '$rpc', '$rpchelpers', '$utils', '$alerts', '$modals', - '$fileSettings', '$activeInclude', '$waitingExclude', '$pageSize', '$getErrorStatus', - // for document title - '$rootScope', '$filter', -function( - scope, name, enable, rpc, rhelpers, utils, alerts, modals, - fsettings, activeInclude, waitingExclude, pageSize, getErrorStatus, - rootScope, filter -) { - - scope.name = name; // default UI name - scope.enable = enable; // UI enable options - - var re_slashes = /\\/g; - var slash = "/"; - var allStopped = []; - - scope.active = [], scope.waiting = [], scope.stopped = []; - scope.gstats = {}; - scope.hideLinkedMetadata = true; - scope.propFilter = ""; - - // pause the download - // d: the download ctx - scope.pause = function(d) { - rpc.once('forcePause', [d.gid]); - } - - // resume the download - // d: the download ctx - scope.resume = function(d) { - rpc.once('unpause', [d.gid]); - } - - scope.restart = function(d) { - // assumes downloads which are started by URIs, not torrents. - // the preferences are also not transferred, just simple restart - - rpc.once('getOption', [d.gid], function(data) { - var prefs = data[0]; - rpc.once('getFiles', [d.gid], function(data) { - var files = data[0]; - var uris = - _.chain(files).map(function(f) { return f.uris }) - .filter(function(uris) { return uris && uris.length }) - .map(function(uris) { - var u = _.chain(uris) - .map(function(u) { return u.uri }) - .uniq().value(); - return u; - }).value(); - - if (uris.length > 0) { - console.log('adding uris:', uris, prefs); - scope.remove(d, function() { - rhelpers.addUris(uris, prefs); - }, true); - } - }); - }); - } - - - - scope.canRestart = function(d) { - return (['active', 'paused'].indexOf(d.status) == -1 - && !d.bittorrent); - } - - // remove the download, - // put it in stopped list if active, - // otherwise permanantly remove it - // d: the download ctx - scope.remove = function(d, cb, noConfirm) { - // HACK to make sure an angular digest is not running, as only one can happen at a time, and confirm is a blocking - // call so an rpc response can also trigger a digest call - setTimeout(function() { - if (!noConfirm && !confirm( - filter('translate')('Remove {{name}} and associated meta-data?', - { name: d.name }))) { - return; - } - - var method = 'remove'; - - if (scope.getType(d) == 'stopped') - method = 'removeDownloadResult'; - - if (d.followedFrom) { - scope.remove(d.followedFrom, function() {}, true); - d.followedFrom = null; - } - rpc.once(method, [d.gid], cb); - - var lists = [scope.active, scope.waiting, scope.stopped], ind = -1, i; - for (var i = 0; i < lists.length; ++i) { - var list = lists[i]; - var idx = list.indexOf(d); - if (idx < 0) { - continue; - } - list.splice(idx, 1); - return; - } - }, 0); - } - - // start filling in the model of active, - // waiting and stopped download - rpc.subscribe('tellActive', [], function(data) { - scope.$apply(function() { - utils.mergeMap(data[0], scope.active, scope.getCtx); - }); - }); - - rpc.subscribe('tellWaiting', [0, 1000], function(data) { - scope.$apply(function() { - utils.mergeMap(data[0], scope.waiting, scope.getCtx); - }); - }); - - - rpc.subscribe('tellStopped', [0, 1000], function(data) { - scope.$apply(function() { - if (!scope.hideLinkedMetadata) { - utils.mergeMap(data[0], scope.stopped, scope.getCtx); - return; - } - utils.mergeMap(data[0], allStopped, scope.getCtx); - var gids = {}; - _.forEach(allStopped, function(e) { - gids[e.gid] = e; - }); - _.forEach(scope.active, function(e) { - gids[e.gid] = e; - }); - _.forEach(scope.waiting, function(e) { - gids[e.gid] = e; - }); - scope.stopped = _.filter(allStopped, function(e) { - if (!e.metadata || !e.followedBy || !(e.followedBy in gids)) { - return true; - } - var linked = gids[e.followedBy]; - linked.followedFrom = e; - return false; - }); - }); - }); - - rootScope.pageTitle = utils.getTitle(); - rpc.subscribe('getGlobalStat', [], function(data) { - scope.$apply(function() { - scope.gstats = data[0]; - rootScope.pageTitle = utils.getTitle(scope.gstats); - }); - }); - - rpc.once('getVersion', [], function(data) { - scope.$apply(function() { - scope.miscellaneous = data[0]; - }); - }); - - // total number of downloads, updates dynamically as downloads are - // stored in scope - scope.totalDownloads = 0; - - // download search filter - scope.downloadFilter = ""; - scope.downloadFilterCommitted = ""; - - scope.onDownloadFilter = function() { - if (scope.downloadFilterTimer) { - clearTimeout(scope.downloadFilterTimer); - } - scope.downloadFilterTimer = setTimeout(function() { - delete scope.downloadFilterTimer; - if (scope.downloadFilterCommitted !== scope.downloadFilter) { - scope.downloadFilterCommitted = scope.downloadFilter; - scope.$digest(); - } - }, 500); - }; - - scope.filterDownloads = function(downloads) { - if (!scope.downloadFilterCommitted) { - return downloads; - } - var filter = scope.downloadFilterCommitted. - replace(/[{}()\[\]\\^$.?]/g, "\\$&"). - replace(/\*/g, ".*"). - replace(/\./g, "."); - filter = new RegExp(filter, "i"); - return _.filter(downloads, function(d) { - if (filter.test(d.name)) return true; - return _.filter(d.files, function(f) { - return filter.test(f.relpath); - }).length; - }); - }; - - scope.clearFilter = function() { - scope.downloadFilter = scope.downloadFilterCommitted = ""; - }; - - scope.toggleStateFilters = function() { - scope.filterSpeed = !scope.filterSpeed; - scope.filterActive = !scope.filterActive; - scope.filterWaiting = !scope.filterWaiting; - scope.filterComplete = !scope.filterComplete; - scope.filterError = !scope.filterError; - scope.filterPaused = !scope.filterPaused; - scope.filterRemoved = !scope.filterRemoved; - scope.persistFilters(); - }; - - scope.resetFilters = function() { - scope.filterSpeed = - scope.filterActive = - scope.filterWaiting = - scope.filterComplete = - scope.filterError = - scope.filterPaused = - scope.filterRemoved = - true; - scope.clearFilter(); - scope.persistFilters(); - }; - - scope.persistFilters = function() { - var o = JSON.stringify({ - s: scope.filterSpeed, - a: scope.filterActive, - w: scope.filterWaiting, - c: scope.filterComplete, - e: scope.filterError, - p: scope.filterPaused, - r: scope.filterRemoved - }); - utils.setCookie("aria2filters", o); - }; - - scope.loadFilters = function() { - var o = JSON.parse(utils.getCookie("aria2filters")); - if (!o) { - scope.resetFilters(); - return; - } - scope.filterSpeed = !!o.s; - scope.filterActive = !!o.a; - scope.filterWaiting = !!o.w; - scope.filterComplete = !!o.c; - scope.filterError = !!o.e; - scope.filterPaused = !!o.p; - scope.filterRemoved = !!o.r; - }; - - scope.loadFilters(); - - scope.toggleCollapsed = function(download) { - if (!download.collapsed) { - download.animCollapsed = true; - // ng-unswitch after half a second. - // XXX hacky way, because I'm to lazy right now to wire up proper - // transitionend events. - setTimeout(function() { - scope.$apply(function() { - download.collapsed = true; - }); - }, 500); - return; - } - - download.collapsed = false; - setTimeout(function() { - scope.$apply(function() { - download.animCollapsed = false; - }); - }, 0); - }; - - - // max downloads shown in one page - scope.pageSize = pageSize; - - // current displayed page - scope.currentPage = 1; - - // total amount of downloads returned by aria2 - scope.totalAria2Downloads = function() { - return scope.active.length - + scope.waiting.length - + scope.stopped.length; - } - - scope.getErrorStatus = function(errorCode) { - return getErrorStatus(+errorCode); - } - - // actual downloads used by the view - scope.getDownloads = function() { - var categories = []; - - if (scope.filterActive) { - if (!scope.filterSpeed) { - categories.push(_.filter(scope.active, function (e) { - return !+e.uploadSpeed && !+e.downloadSpeed; - })); - } - else { - categories.push(scope.active); - } - } - else if (scope.filterSpeed) { - categories.push(_.filter(scope.active, function (e) { - return +e.uploadSpeed || +e.downloadSpeed; - })); - } - - if (scope.filterWaiting) { - categories.push(_.filter(scope.waiting, function (e) { - return e.status == "waiting"; - })); - } - - if (scope.filterPaused) { - categories.push(_.filter(scope.waiting, function (e) { - return e.status == "paused"; - })); - } - - if (scope.filterError) { - categories.push(_.filter(scope.stopped, function (e) { - return e.status == "error"; - })); - } - - if (scope.filterComplete) { - categories.push(_.filter(scope.stopped, function (e) { - return e.status == "complete"; - })); - } - - if (scope.filterRemoved) { - categories.push(_.filter(scope.stopped, function (e) { - return e.status == "removed"; - })); - } - - var downloads = categories.map(function (category) { - // sort downloads within category by completness, most completed first - return _.sortBy(category, function (e) { - return -(e.completedLength / e.totalLength); - }); - }).reduce(function (downloads, category) { - return downloads.concat(category); - }, []); - - downloads = scope.filterDownloads(downloads); - - scope.totalDownloads = downloads.length; - - downloads = downloads.slice( (scope.currentPage - 1) * scope.pageSize ); - downloads.splice( scope.pageSize ); - - return downloads; - } - - scope.hasDirectURL = function() { - return rpc.getDirectURL() != ''; - } - - scope.getDirectURL = function() { - return rpc.getDirectURL(); - } - - // convert the donwload form aria2 to once used by the view, - // minor additions of some fields and checks - scope.getCtx = function(d, ctx) { - if (!ctx) { - ctx = { - dir: d.dir, - status: d.status, - gid: d.gid, - followedBy: (d.followedBy && d.followedBy.length == 1 - ? d.followedBy[0] : null), - followedFrom: null, - numPieces: d.numPieces, - connections: d.connections, - connectionsTitle: "Connections", - numSeeders: d.numSeeders, - bitfield: d.bitfield, - errorCode: d.errorCode, - totalLength: d.totalLength, - fmtTotalLength: utils.fmtsize(d.totalLength), - completedLength: d.completedLength, - fmtCompletedLength: utils.fmtsize(d.completedLength), - uploadLength: d.uploadLength, - fmtUploadLength: utils.fmtsize(d.uploadLength), - pieceLength: d.pieceLength, - fmtPieceLength: utils.fmtsize(d.pieceLength), - downloadSpeed: d.downloadSpeed, - fmtDownloadSpeed: utils.fmtspeed(d.downloadSpeed), - uploadSpeed: d.uploadSpeed, - fmtUploadSpeed: utils.fmtspeed(d.uploadSpeed), - collapsed: true, - animCollapsed: true, - files: [], - }; - if (d.verifiedLength) { - ctx.verifiedLength = d.verifiedLength; - ctx.status = "verifing"; - } - if (d.verifyIntegrityPending) { - ctx.verifyIntegrityPending = d.verifyIntegrityPending; - ctx.status = "verifyPending"; - } - } - else { - if (ctx.gid !== d.gid) - ctx.files = []; - ctx.dir = d.dir; - ctx.status = d.status; - if(d.verifiedLength) - ctx.status = "verifing"; - if(d.verifyIntegrityPending) - ctx.status = "verifyPending" - ctx.errorCode = d.errorCode; - ctx.gid = d.gid; - ctx.followedBy = (d.followedBy && d.followedBy.length == 1 - ? d.followedBy[0] : null); - ctx.followedFrom = null; - ctx.numPieces = d.numPieces; - ctx.connections = d.connections; - if ( typeof d.numSeeders === 'undefined' ) { - ctx.numSeeders = ""; - } - else { - ctx.connectionsTitle = "Connections (Seeders)"; - ctx.numSeeders = " (" + d.numSeeders + ")"; - } - ctx.bitfield = d.bitfield; - if (ctx.totalLength !== d.totalLength) { - ctx.totalLength = d.totalLength; - ctx.fmtTotalLength = utils.fmtsize(d.totalLength); - } - if (ctx.completedLength !== d.completedLength) { - ctx.completedLength = d.completedLength; - ctx.fmtCompletedLength = utils.fmtsize(d.completedLength); - } - if (!d.verifiedLength) { - delete ctx.verifiedLength - } else if (ctx.verifiedLength !== d.verifiedLength) { - ctx.verifiedLength = d.verifiedLength; - } - if (!d.verifyIntegrityPending) { - delete ctx.verifyIntegrityPending - } else if (ctx.verifyIntegrityPending !== d.verifyIntegrityPending) { - ctx.verifyIntegrityPending = d.verifyIntegrityPending; - } - if (ctx.uploadLength !== d.uploadLength) { - ctx.uploadLength = d.uploadLength; - ctx.fmtUploadLength = utils.fmtsize(d.uploadLength); - } - if (ctx.pieceLength !== d.pieceLength) { - ctx.pieceLength = d.pieceLength; - ctx.fmtPieceLength = utils.fmtsize(d.pieceLength); - } - if (ctx.downloadSpeed !== d.downloadSpeed) { - ctx.downloadSpeed = d.downloadSpeed; - ctx.fmtDownloadSpeed = utils.fmtspeed(d.downloadSpeed); - } - if (ctx.uploadSpeed !== d.uploadSpeed) { - ctx.uploadSpeed = d.uploadSpeed; - ctx.fmtUploadSpeed = utils.fmtspeed(d.uploadSpeed); - } - } - - var dlName; - var files = d.files; - if (files) { - var cfiles = ctx.files; - for (var i = 0; i < files.length; ++i) { - var cfile = cfiles[i] || (cfiles[i] = {}); - var file = files[i]; - if (file.path !== cfile.path) { - cfile.index = +file.index; - cfile.path = file.path; - cfile.length = file.length; - cfile.fmtLength = utils.fmtsize(file.length); - cfile.relpath = file.path.replace(re_slashes, slash); - if (!cfile.relpath) { - cfile.relpath = (file.uris && file.uris[0] && file.uris[0].uri) || "Unknown"; - } - else if (!cfile.relpath.startsWith("[")) { // METADATA - cfile.relpath = cfile.relpath.substr(ctx.dir.length + 1); - } - } - cfile.selected = (file.selected === "true"); - } - cfiles.length = files.length; - if (cfiles.length) { - dlName = cfiles[0].relpath; - } - } - else { - delete ctx.files; - } - - var btName; - if (d.bittorrent) { - btName = d.bittorrent.info && d.bittorrent.info.name; - ctx.bittorrent = true; - } - else { - delete ctx.bittorrent; - } - - ctx.name = btName || dlName || "Unknown"; - ctx.metadata = ctx.name.startsWith("[METADATA]"); - if (ctx.metadata) { - ctx.name = ctx.name.substr(10); - } - - return ctx; - }; - - scope.hasStatus = function hasStatus(d, status) { - if (_.isArray(status)) { - if (status.length == 0) return false; - return hasStatus(d, status[0]) || hasStatus(d, status.slice(1)); - } - else { - return d.status == status; - } - }; - - // get time left for the download with - // current download speed, - // could be smarter by different heuristics - scope.getEta = function(d) { - return (d.totalLength-d.completedLength) / d.downloadSpeed; - } - - scope.getProgressClass = function(d) { - switch (d.status) { - case "paused": - return "progress-bar-info"; - case "error": - return "progress-bar-danger"; - case "removed": - return "progress-bar-warning"; - case "active": - return "active"; - case "verifing": - return "progress-bar-warning"; - case "complete": - return "progress-bar-success"; - default: - return ""; - } - }; - - // gets the progress in percentages - scope.getProgress = function(d) { - var percentage = 0 - if (d.verifiedLength) - percentage = (d.verifiedLength / d.totalLength) * 100 || 0; - else - percentage = (d.completedLength / d.totalLength) * 100 || 0; - percentage = percentage.toFixed(2); - if(!percentage) percentage = 0; - - return percentage; - }; - - // gets the upload ratio - scope.getRatio = function(d) { - var ratio = 0 - ratio = (d.uploadLength / d.completedLength) || 0; - ratio = ratio.toFixed(2); - if(!ratio) ratio = 0; - - return ratio; - }; - - // gets the type for the download as classified by the aria2 rpc calls - scope.getType = function(d) { - var type = d.status; - if (type == "paused") type = "waiting"; - if (["error", "removed", "complete"].indexOf(type) != -1) - type = "stopped"; - return type; - }; - - scope.selectFiles = function(d) { - console.log('got back files for the torrent ...'); - modals.invoke('selectFiles', d.files, function(files) { - var indexes = ""; - _.forEach(files, function(f) { - if (f.selected) { - indexes += "," + f.index; - } - }); - - indexes = indexes.slice(1); - rpc.once('changeOption', [d.gid, {'select-file': indexes}], function(res) { - console.log('changed indexes to:', indexes, res); - }) - }); - } - - scope.showSettings = function(d) { - var type = scope.getType(d) - , settings = {}; - - rpc.once('getOption', [d.gid], function(data) { - var vals = data[0]; - - var sets = _.cloneDeep(fsettings); - for (var i in sets) { - if (type == 'active' && activeInclude.indexOf(i) == -1) continue; - - if (type == 'waiting' && waitingExclude.indexOf(i) != -1) continue; - - settings[i] = sets[i]; - settings[i].val = vals[i] || settings[i].val; - } - - modals.invoke('settings', settings, d.name + ' settings', 'Change', function(settings) { - var sets = {}; - for (var i in settings) { sets[i] = settings[i].val }; - - rpc.once('changeOption', [d.gid, sets]); - }); - }); - - return false; - } - scope.moveDown = function (d) { - rpc.once('changePosition', [d.gid, 1, 'POS_CUR']); - }; - scope.moveUp = function (d) { - rpc.once('changePosition', [d.gid, -1, 'POS_CUR']); - }; -}]) -.filter('objFilter', function(){ - return function(input, filter) { - input = input || {}; - var out = {}; - - for(key in input) { - if (key.startsWith(filter)){ - out[key] = input[key]; - } - } - - return out; - }; -}); diff --git a/js/ctrls/modal.js b/js/ctrls/modal.js deleted file mode 100644 index 55d9c6d5..00000000 --- a/js/ctrls/modal.js +++ /dev/null @@ -1,285 +0,0 @@ -var parseFiles = function(files, cb) { - var cnt = 0; - var txts = []; - var onload = function(res) { - var txt = res.target.result; - txts.push(txt.split(',')[1]); - cnt--; - if (!cnt) { - cb(txts); - } - }; - _.each(files, function(file) { - cnt++; - console.log('starting file reader'); - var reader = new FileReader(); - reader.onload = onload; - reader.onerror = function(err) { - // return error - // TODO: find a better way to propogate error upstream - console.log('got back error', err); - cb([]); - }; - reader.readAsDataURL(file); - }); -}; - -angular -.module('webui.ctrls.modal', [ - "ui.bootstrap", 'webui.services.deps', 'webui.services.modals', 'webui.services.rpc', - 'webui.services.configuration' -]) -.controller('ModalCtrl', [ - '$_', '$scope', '$modal', "$modals", '$rpc','$fileSettings', '$downloadProps', - function(_, scope, $modal, modals, rpc, fsettings, dprops) { - - scope.getUris = { - open: function(cb) { - var self = this; - this.uris = ""; - this.downloadSettingsCollapsed = true; - this.advancedSettingsCollapsed = true; - this.settings = {}; - this.fsettings = _.cloneDeep(fsettings); - this.cb = cb; - - // fill in default download properties - _.forEach(dprops, function(p) { - self.settings[p] = self.fsettings[p]; - delete self.fsettings[p]; - }); - - this.inst = $modal.open({ - templateUrl: "getUris.html", - scope: scope, - windowClass: "modal-large" - }); - this.inst.result.then(function() { - delete self.inst; - if (self.cb) { - var settings = {}; - // no need to send in default values, just the changed ones - for (var i in self.settings) { - if (fsettings[i].val != self.settings[i].val) - settings[i] = self.settings[i].val; - } - for (var i in self.fsettings) { - if (fsettings[i].val != self.fsettings[i].val) - settings[i] = self.fsettings[i].val; - } - - console.log('sending settings:', settings); - self.cb(self.parse(), settings); - } - }, - function() { - delete self.inst; - }); - }, - parse: function() { - return _ - .chain(this.uris.trim().split(/\r?\n/g)) - .map(function(d) { - return _(d) - .replace(/["'][^"']*["']/g, function(c) { - return c.replace(/%/g,'%25').replace(/ /g,'%20'); - }) - .trim() - .split(/\s+/g) - .map(function(c) { - return c.replace(/%20/g,' ').replace(/%25/g,'%').replace(/["']/g,''); - }); - }) - .filter(function(d) { return d.length }) - .value(); - } - }; - - scope.settings = { - open: function(settings, title, actionText, cb) { - var self = this; - this.settings = settings; - this.title = title; - this.actionText = actionText; - this.inst = $modal.open({ - templateUrl: "settings.html", - scope: scope, - windowClass: "modal-large" - }); - this.inst.result.then(function() { - delete self.inst; - if (cb) { - cb(self.settings); - } - }, - function() { - delete self.inst; - }); - } - }; - - scope.selectFiles = { - open: function(files, cb) { - var self = this; - - this.files = _.cloneDeep(files); - var groupFiles = function (files) { - // sort files alphabetically - files.sort(function (a, b) { - if (a.relpath < b.relpath) { - return -1; - } else { - return 1; - } - }); - function OrganizedFolder () { - this.dirs = {}; - this.files = []; - this.show = false; - this.selected = true; - } - var folder = new OrganizedFolder(), tmp; - for (var i = 0; i < files.length; i++) { - tmp = folder; - var str = files[i].relpath; - var arr = str.split("/"); - for (var j = 0; j < arr.length - 1; j++) { - if (!tmp.dirs[arr[j]]) { - tmp.dirs[arr[j]] = new OrganizedFolder(); - } - tmp = tmp.dirs[arr[j]]; - } - tmp.files.push(files[i]); - } - return folder; - }; - this.groupedFiles = groupFiles(this.files); - this.inst = $modal.open({ - templateUrl: "selectFiles.html", - scope: scope, - windowClass: "modal-large" - }); - - this.inst.result.then(function() { - delete self.inst; - - if (cb) { - cb(self.files); - } - }, - function() { - delete self.inst; - }); - } - }; - - scope.connection = { - open: function(defaults, cb) { - var self = this; - - // XXX We need to actually clone this! - this.conf = rpc.getConfiguration(); - this.inst = $modal.open({ - templateUrl: "connection.html", - scope: scope, - windowClass: "modal-large", - }); - - this.inst.result.then(function() { - delete self.inst; - if (cb) { - cb(self.conf); - } - }, - function() { - delete self.inst; - }); - } - }; - - _.each(['getTorrents', 'getMetalinks'], function(name) { - scope[name] = { - open: function(cb) { - var self = this; - this.files = []; - this.collapsed = true; - this.settings = {}; - this.fsettings = _.cloneDeep(fsettings); - - // fill in default download properties - _.forEach(dprops, function(p) { - self.settings[p] = self.fsettings[p]; - delete self.fsettings[p]; - }); - - this.inst = $modal.open({ - templateUrl: name + ".html", - scope: scope, - windowClass: "modal-large", - }); - - this.inst.result.then(function() { - delete self.inst; - if (cb) { - parseFiles(self.files, function(txts) { - var settings = {}; - - // no need to send in default values, just the changed ones - for (var i in self.settings) { - if (fsettings[i].val != self.settings[i].val) - settings[i] = self.settings[i].val; - } - for (var i in self.fsettings) { - if (fsettings[i].val != self.fsettings[i].val) - settings[i] = self.fsettings[i].val; - } - - console.log('sending settings:', settings); - cb(txts, settings); - }); - } - }, - function() { - delete self.inst; - }); - } - }; - }); - - _.each(["about", "server_info"], function(name) { - scope[name] = { - open: function() { - var self = this; - this.inst = $modal.open({ - templateUrl: name + ".html", - scope: scope - }); - this.inst.result.then(function() { - delete self.inst; - }, - function() { - delete self.inst; - }); - } - }; - }); - - rpc.once('getVersion', [], function(data) { - scope.miscellaneous = data[0]; - }); - - _.each([ - 'getUris', 'getTorrents', 'getMetalinks', 'selectFiles', - 'settings', 'connection', 'server_info', 'about' - ], function(name) { - modals.register(name, function() { - if (scope[name].inst) { - // Already open. - return; - } - var args = Array.prototype.slice.call(arguments, 0); - scope[name].open.apply(scope[name], args); - }); - }); - -}]); diff --git a/js/ctrls/nav.js b/js/ctrls/nav.js deleted file mode 100644 index affe3f61..00000000 --- a/js/ctrls/nav.js +++ /dev/null @@ -1,145 +0,0 @@ -angular -.module('webui.ctrls.nav', [ - 'webui.services.configuration', 'webui.services.modals', - 'webui.services.rpc', 'webui.services.rpc.helpers', - 'webui.services.settings', 'webui.services.utils' -]) -.controller('NavCtrl', [ - '$scope', '$modals', - '$rpc', '$rpchelpers', '$fileSettings', - '$globalSettings', '$globalExclude', - '$utils', '$translate', '$filter', - function( - scope, modals, - rpc, rhelpers, fsettings, - gsettings, gexclude, - utils, translate, filter - ) { - - scope.isFeatureEnabled = function(f) { return rhelpers.isFeatureEnabled(f) }; - - // initially collapsed in mobile resolution - scope.collapsed = true; - - scope.onDownloadFilter = function() { - // Forward to MainCtrl. - scope.$parent.downloadFilter = scope.downloadFilter; - scope.$parent.onDownloadFilter(); - }; - - // manage download functions - scope.forcePauseAll = function() { - rpc.once('forcePauseAll', []); - } - - scope.purgeDownloadResult = function() { - rpc.once('purgeDownloadResult', []); - } - - scope.unpauseAll = function() { - rpc.once('unpauseAll', []); - } - - scope.addUris = function() { - modals.invoke( - 'getUris', _.bind(rhelpers.addUris, rhelpers) - ); - }; - - scope.addMetalinks = function() { - modals.invoke( - 'getMetalinks', _.bind(rhelpers.addMetalinks, rhelpers) - ); - }; - - scope.addTorrents = function() { - modals.invoke( - 'getTorrents', _.bind(rhelpers.addTorrents, rhelpers) - ); - }; - - scope.changeCSettings = function() { - modals.invoke( - 'connection', rpc.getConfiguration(), _.bind(rpc.configure, rpc) - ); - } - - scope.changeGSettings = function() { - rpc.once('getGlobalOption', [], function(data) { - var starred = utils.getCookie('aria2props'); - if (!starred || !starred.indexOf) starred = []; - var vals = data[0]; - var settings = {}; - - // global settings divided into - // file settings + some global specific - // settings - - _.forEach([fsettings, gsettings], function(sets) { - for (var i in sets) { - if (gexclude.indexOf(i) != -1) continue; - - settings[i] = _.cloneDeep(sets[i]); - settings[i].starred = starred.indexOf(i) != -1; - } - }); - - for (var i in vals) { - if (i in gexclude) continue; - - if (!(i in settings)) { - settings[i] = { name: i, val: vals[i], desc: '', starred: starred.indexOf(i) != -1 }; - } - - else { - settings[i].val = vals[i]; - } - } - - modals.invoke( - 'settings', _.cloneDeep(settings), - filter('translate')('Global Settings'), - filter('translate')('Save'), - function(chsettings) { - - var sets = {}; - var starred = []; - for (var i in chsettings) { - // no need to change default values - if (settings[i].val != chsettings[i].val) - sets[i] = chsettings[i].val - - if (chsettings[i].starred) { - starred.push(i); - } - }; - - console.log('saving aria2 settings:', sets); - console.log('saving aria2 starred:', starred); - - rpc.once('changeGlobalOption', [sets]); - utils.setCookie('aria2props', starred); - }); - }); - }; - - scope.showServerInfo = function() { - modals.invoke( - 'server_info' - ); - }; - - scope.showAbout = function() { - modals.invoke( - 'about' - ); - }; - - scope.changeLanguage = function (langkey) { - translate.use(langkey); - }; - - scope.shutDownServer = function () { - rpc.once('shutdown', []); - }; -}]); diff --git a/js/ctrls/props.js b/js/ctrls/props.js deleted file mode 100644 index 9a33bfd5..00000000 --- a/js/ctrls/props.js +++ /dev/null @@ -1,85 +0,0 @@ -angular.module('webui.ctrls.props', [ - 'webui.services.utils', 'webui.services.settings', 'webui.services.deps', - 'webui.services.rpc', 'webui.services.configuration', -]) -.controller('StarredPropsCtrl', ['$scope', '$_', '$utils', '$rpc', '$globalSettings', '$fileSettings', '$starredProps', - function(scope, _, utils, rpc, gsettings, fsettings, starredProps) { - scope._props = []; - scope.dirty = true; - scope.properties = []; - scope.getProps = function() { - var props = utils.getCookie('aria2props'); - if (!props || !props.indexOf) props = starredProps; // default properties starred in the global configuration file - - return props; - }; - - scope.enabled = function() { - for (var i = 0; i < scope.properties.length; i++) { - if (scope.properties[i]._val != scope.properties[i].val) return true; - } - - return false; - } - - scope.save = function() { - var sets = {}; - var found = false; - for (var i = 0; i < scope.properties.length; i++) { - if (scope.properties[i]._val != scope.properties[i].val) { - sets[scope.properties[i].name] = scope.properties[i].val; - found = true; - } - } - - if (found) { - rpc.once('changeGlobalOption', [sets]); - } - } - - rpc.subscribe('getGlobalOption', [], function(data) { - var vals = data[0]; - var props = scope.getProps(); - var arr = []; - - for (var i = 0; i < props.length; i++) { - var set = {}; - if (props[i] in gsettings) { - set = gsettings[props[i]]; - if (props[i] in vals) { - set.val = vals[props[i]]; - } - set.name = props[i]; - arr.push(set); - } - else if (props[i] in fsettings) { - set = fsettings[props[i]]; - if (props[i] in vals) { - set.val = vals[props[i]]; - } - set.name = props[i]; - arr.push(set); - } - else if (props[i] in vals) { - arr.push({name: props[i], val: vals[props[i]]}); - } - } - - - utils.mergeMap(arr, scope.properties, function(prop, nprop) { - nprop = nprop || {}; - nprop.name = prop.name; - nprop.options = prop.options; - nprop.multiline = prop.multiline; - if (nprop._val == nprop.val || nprop.val == prop.val) { - nprop._val = prop.val; - nprop.val = prop.val; - } - else { - nprop._val = prop.val; - } - nprop.desc = prop.desc; - return nprop; - }); - }); -}]); diff --git a/js/directives/chunkbar.js b/js/directives/chunkbar.js deleted file mode 100644 index 9391377c..00000000 --- a/js/directives/chunkbar.js +++ /dev/null @@ -1,49 +0,0 @@ -var draw = function(canvas, chunks, fillStyle) { - chunks = chunks || []; - if (!canvas.getContext) { - console.log('use chunk bar on an canvas implementation!'); - return; - } - var ctx = canvas.getContext('2d'); - ctx.fillStyle = fillStyle || "#149BDF"; - ctx.clearRect(0, 0, canvas.width, canvas.height); - var x = 0, - width = canvas.width, - height = canvas.height; - chunks.forEach(function(c) { - var dx = c.ratio * width; - if (c.show) - ctx.fillRect(x, 0, dx, height); - x += dx; - }); -}; -// put chunkbar and bitfield attributes in a canvas element -// to use the directive, draw is optional and canvas is -// only drawn when it is true if given -angular -.module('webui.directives.chunkbar', ['webui.services.utils']) -.directive('chunkbar', ['$utils', function(utils) { - return function(scope, elem, attrs) { - var bitfield = "", pieces = 0, canDraw = true; - var update = function() { - if (canDraw) - draw(elem[0], utils.getChunksFromHex(bitfield, pieces), attrs.fillStyle); - }; - scope.$watch(attrs.bitfield, function(bf) { - bitfield = bf; - update(); - }); - scope.$watch(attrs.pieces, function(p) { - pieces = p; - update(); - }); - - if (attrs.draw) { - scope.$watch(attrs.draw, function(val) { - canDraw = val; - }); - } - - update(); - }; -}]); diff --git a/js/directives/dgraph.js b/js/directives/dgraph.js deleted file mode 100644 index 32b0787a..00000000 --- a/js/directives/dgraph.js +++ /dev/null @@ -1,155 +0,0 @@ -// graph takes dspeed and uspeed, it queries them every second and draws -// the last 180 secs, it also takes draw as an optional attribute and only -// draws the graph when it is true, if not given then graph is always drawn -angular -.module('webui.directives.dgraph', ['webui.filters.bytes', 'webui.services.deps']) -.directive('dgraph', ['$', '$filter', '$parse', function($, filter, parse) { - var ratio = 0.6; - var xfmt = "%H:%M:%S"; - var yTicks = 7; // Number of y-axis ticks (sans 0) - var xticks = 10; // Number of x-axis ticks (sans 0) - var yTickBase = 10240; // y-axis ticks must be a multiple of this (bytes). - try { - // Try to detect AM/PM locales. - if (!/16/.test(new Date(2000,0,1,16,7,9).toLocaleTimeString())) { - xfmt = "%I:%M:%S %P"; - } - } - catch (ex) { - // Ignore. Browser does not support toLocaleTimeString. - } - - return function(scope, elem, attrs) { - var canDraw = false; - - var graphSize = 180 - , dspeed = 0, uspeed = 0, hasSpeeds = false - , dconf = { - label: "DOWN", - data: [], - color: "#00ff00", - lines: { show: true } - } - , uconf = { - label: "UP", - data: [], - color: "#0000ff", - lines: { show: true } - } - ; - - // hack for the null height for flot elem - elem.height(elem.width() * ratio); - var graph = $.plot(elem, [dconf, uconf], { - legend: { - show: (attrs.nolabel == undefined), - backgroundOpacity: 0, - margin: [10, 20], - labelFormatter: function(label, series) { - if (!series.data.length) { - return label; - } - return label + " (" + filter("bspeed")(series.data[series.data.length-1][1]) + ")"; - }, - position: "sw" - }, - xaxis: { - show: true, - mode: "time", - timeformat: xfmt, - ticks: +attrs.xticks || xticks, // allow users of the directive to overwride xticks - minTickSize: [30, "second"] // 180 / 30 == 6 - }, - yaxis: { - position: "right", - ticks: function(axis) { - var res = [0]; - yt = +attrs.yticks || yticks; // allow users of directive to overwride yticks - - var step = yTickBase * Math.max(1, Math.ceil(axis.max / (yt * yTickBase))) - - for (var s = 0; s < yt; s++) { - var c = step * s; - if (c > axis.max) - break; - - res.push(step * s); - } - - return res; - }, - tickFormatter: function(val, axis) { - return filter('bspeed')(val); - }, - min: 0 - } - }); - - var draw = function() { - var width = elem.width(); - if (width == 0) return; - - elem.height(width * ratio); - - graph.setData([dconf, uconf]); - graph.resize(); - graph.setupGrid(); - graph.draw(); - }; - - function update() { - if (!hasSpeeds) { - return; - } - - // Convoluted way to get the local date timestamp instead of the UTC one. - var cnt = new Date(); - cnt = Date.UTC( - cnt.getFullYear(), - cnt.getMonth(), - cnt.getDate(), - cnt.getHours(), - cnt.getMinutes(), - cnt.getSeconds()); - - if (dconf.data.length === graphSize) dconf.data.shift(); - dconf.data.push([cnt, dspeed]); - - if (uconf.data.length === graphSize) uconf.data.shift(); - uconf.data.push([cnt, uspeed]); - - // if any parents is collapsable, then confirm if it isnt - if (canDraw) { - draw(); - } - }; - - scope.$watch(attrs.dspeed, function(val) { - if (val === undefined) { - return; - } - hasSpeeds = true; - dspeed = parseFloat(val) || 0; - }); - - scope.$watch(attrs.uspeed, function(val) { - if (val === undefined) { - return; - } - hasSpeeds = true; - uspeed = parseFloat(val) || 0; - }); - - scope.$watch(attrs.draw, function(val) { - canDraw = val; - }); - - var interval = setInterval(update, 1000); - - angular.element(window).bind('resize', draw); - elem.bind('$destroy', function() { - clearInterval(interval); - }); - - }; -}]); diff --git a/js/directives/fileselect.js b/js/directives/fileselect.js deleted file mode 100644 index 08904c36..00000000 --- a/js/directives/fileselect.js +++ /dev/null @@ -1,126 +0,0 @@ -// watches changes in the file upload control (input[file]) and -// puts the files selected in an attribute -var app = angular.module("webui.directives.fileselect", ["webui.services.deps"]); -app.directive("indeterminate", [ - "$parse", function syncInput (parse) { - return { - require : "ngModel", - // Restrict the directive so it can only be used as an attribute - restrict : "A", - - link : function link (scope, elem, attr, ngModelCtrl) { - // Whenever the bound value of the attribute changes we update - // use upward emit notification for change to prevent the performance penalty bring by $scope.$watch - var getter = parse(attr["ngModel"]); - // var setter = getter.assign; - var children = []; // cache children input - var cacheSelectedSubInputNumber = 0; - var cacheNoSelectedSubInputNumber = 0; - var get = function () { - return getter(scope); - }; - // the internal 'indeterminate' flag on the attached dom element - var setIndeterminateState = function (newValue) { - elem.prop("indeterminate", newValue); - }; - var setModelValueWithSideEffect = function (newVal) { // will cause to emit corresponding events - ngModelCtrl.$setViewValue(newVal); - ngModelCtrl.$render(); - }; - var passIfIsLeafChild = function (callback) { // ensure to execute callback only when this input has one or more subinputs - return function () { - if (children.length > 0) { - callback.apply(this, arguments); - } - }; - }; - var passIfNotIsLeafChild = function (callback) { // ensure to execute callback only when this input hasn't any subinput - return function () { - if (children.length === 0) { - callback.apply(this, arguments); - } - }; - }; - var passThroughThisScope = function (callback) { // pass through the event from the scope where they sent - return function (event) { - if (event.targetScope !== event.currentScope) { - return callback.apply(this, arguments); - } - }; - }; - var passIfIsIndeterminate = function (callback) { // pass through the event when this input is indeterminate - return function () { - if (!elem.prop("indeterminate")) { - return callback.apply(this, arguments); - } - }; - }; - /* var catchEventOnlyOnce = function (callback) { // only fire once, and stop event's propagation - return function (event) { - callback.apply(this, arguments); - return event.stopPropagation(); - }; - }; */ - if (attr["indeterminate"] && parse(attr["indeterminate"]).constant) { - setIndeterminateState(scope.$eval(attr["indeterminate"])); // set to default value (set in template) - } - if (attr["indeterminate"] && parse(attr["indeterminate"]).constant && !scope.$eval(attr["indeterminate"])) { - // when this input wont have subinput, they will only receive parent change and emit child change event - ngModelCtrl.$viewChangeListeners.push(passIfNotIsLeafChild(function () { - scope.$emit("childSelectedChange", get()); // notifies parents to change their state - })); - scope.$on("ParentSelectedChange", passThroughThisScope(passIfNotIsLeafChild( - function (event, newVal) { - setModelValueWithSideEffect(newVal); // set value to parent's value; this will cause listener to emit childChange event; this won't be a infinite loop - }))); - // init first time and only once - scope.$emit("i'm child input", get); // traverses upwards toward the root scope notifying the listeners for keep reference to this input's value - scope.$emit("childSelectedChange", get()); // force emitted, and force the parent change their state base on children at first time - } else { - // establish parent-child's relation - // listen for the child emitted token - scope.$on("i'm child input", passThroughThisScope( // can't apply pass passIfIsLeafChild, at beginning all has not child input - function (event, child) { - children.push(child); - }) - ); - var updateBaseOnChildrenState = function (event, newChildValue) { - if ((cacheSelectedSubInputNumber + cacheNoSelectedSubInputNumber) !== children.length) { - // cache childern state - cacheSelectedSubInputNumber = 0; - cacheNoSelectedSubInputNumber = 0; - for (var i = 0; i < children.length; i++) { - if (children[i]()) { - cacheSelectedSubInputNumber += 1; - } else { - cacheNoSelectedSubInputNumber += 1; - } - } - } else { - // no need for recalculated children state - // just make a few change to cache value - if (newChildValue) { - cacheSelectedSubInputNumber++; - cacheNoSelectedSubInputNumber--; - } else { - cacheSelectedSubInputNumber--; - cacheNoSelectedSubInputNumber++; - } - } - var allSelected = (cacheNoSelectedSubInputNumber === 0); // if doesn't has any no selected input - var anySeleted = (cacheSelectedSubInputNumber > 0); - setIndeterminateState(allSelected !== anySeleted); // if at least one is selected, but not all then set input property indeterminate to true - setModelValueWithSideEffect(allSelected); // change binding model value and trigger onchange event - }; - // is not leaf input, Only receive child change and parent change event - ngModelCtrl.$viewChangeListeners.push(passIfIsLeafChild(passIfIsIndeterminate(function () { - // emit when input property indeterminate is false, prevent recursively emitting event from parent to children, children to parent - scope.$broadcast("ParentSelectedChange", get()); - }))); - // reset input state base on children inputs - scope.$on("childSelectedChange", passThroughThisScope(passIfIsLeafChild(updateBaseOnChildrenState))); - } - } - }; - } -]); diff --git a/js/directives/fselect.js b/js/directives/fselect.js deleted file mode 100644 index 4ede3319..00000000 --- a/js/directives/fselect.js +++ /dev/null @@ -1,15 +0,0 @@ -// watches changes in the file upload control (input[file]) and -// puts the files selected in an attribute -angular -.module('webui.directives.fselect', ['webui.services.deps']) -.directive('fselect', ['$parse', function(parse) { - return function(scope, elem, attrs) { - var setfiles = parse(attrs.fselect || attrs.files).assign; - elem.bind('change', function() { - setfiles(scope, elem[0].files); - }).filestyle({ - placeholder : 'No file selected', - iconName : 'fa fa-folder-open', - }); - }; -}]); diff --git a/js/directives/textarea.js b/js/directives/textarea.js deleted file mode 100644 index 3688a63a..00000000 --- a/js/directives/textarea.js +++ /dev/null @@ -1,22 +0,0 @@ -webui.directive("textarea", function() { - return { - restrict: "E", - link: function(scope, element) { - element.attr( - "placeholder", - function(index, placeholder) { - if (placeholder !== undefined) { - return placeholder.replace(/\\n/g, "\n"); - } else { - return placeholder; - } - } - ).bind("keydown keypress", function(event) { - if (event.ctrlKey && event.which === 13) { - event.preventDefault(); - scope.$close(); - } - }); - } - }; -}); diff --git a/js/filters/bytes.js b/js/filters/bytes.js deleted file mode 100644 index 7c33501b..00000000 --- a/js/filters/bytes.js +++ /dev/null @@ -1,25 +0,0 @@ -angular.module('webui.filters.bytes', ["webui.services.utils"]) -.filter('blength', ['$filter', "$utils", function(filter, utils) { - return utils.fmtsize; -}]) -.filter('bspeed', ['$filter', "$utils", function(filter, utils) { - return utils.fmtspeed; -}]) -.filter('time', function() { - function pad(f) { - return ("0" + f).substr(-2); - } - - return function(time) { - time = parseInt(time, 10); - if (!time || !isFinite(time)) return "∞"; - var secs = time % 60; - if (time < 60) return secs + "s"; - var mins = Math.floor((time % 3600) / 60) - if (time < 3600) return pad(mins) + ":" + pad(secs); - var hrs = Math.floor((time % 86400) / 3600); - if (time < 86400) return pad(hrs) + ":" + pad(mins) + ":" + pad(secs); - var days = Math.floor(time / 86400); - return days + "::" + pad(hrs) + ":" + pad(mins) + ":" + pad(secs); - }; -}); diff --git a/js/filters/url.js b/js/filters/url.js deleted file mode 100644 index 3f6e5ab3..00000000 --- a/js/filters/url.js +++ /dev/null @@ -1,4 +0,0 @@ -angular.module('webui.filters.url', ["webui.services.utils"]) -.filter('encodeURI', function() { - return window.encodeURI; -}); diff --git a/js/init.js b/js/init.js deleted file mode 100644 index 8bee3179..00000000 --- a/js/init.js +++ /dev/null @@ -1,68 +0,0 @@ -var webui = angular.module('webui', [ - 'webui.services.utils', 'webui.services.deps', 'webui.services.base64', - 'webui.services.configuration', 'webui.services.rpc', - 'webui.services.modals', 'webui.services.alerts', - 'webui.services.settings', 'webui.services.settings.filters', - 'webui.filters.bytes','webui.filters.url', - 'webui.directives.chunkbar', 'webui.directives.dgraph', 'webui.directives.fselect', "webui.directives.fileselect", - 'webui.ctrls.download', 'webui.ctrls.nav', 'webui.ctrls.modal', 'webui.ctrls.alert', - 'webui.ctrls.props', - // external deps - 'ui.bootstrap', - // translate - 'pascalprecht.translate' -]); - -function mergeTranslation(translation, base) { - for (var i in base) { - if (!base.hasOwnProperty(i)) { - continue; - } - - if (!translation[i] || !translation[i].length) { - translation[i] = base[i]; - } - } - - return translation; -} - -webui.config(function ($translateProvider, $locationProvider) { - $translateProvider - .translations('en_US', translations.en_US) - .translations('nl_NL', mergeTranslation(translations.nl_NL, translations.en_US)) - .translations('th_TH', mergeTranslation(translations.th_TH, translations.en_US)) - .translations('zh_CN', mergeTranslation(translations.zh_CN, translations.en_US)) - .translations('zh_TW', mergeTranslation(translations.zh_TW, translations.en_US)) - .translations('pl_PL', mergeTranslation(translations.pl_PL, translations.en_US)) - .translations('fr_FR', mergeTranslation(translations.fr_FR, translations.en_US)) - .translations('de_DE', mergeTranslation(translations.de_DE, translations.en_US)) - .translations('es_ES', mergeTranslation(translations.es_ES, translations.en_US)) - .translations('ru_RU', mergeTranslation(translations.ru_RU, translations.en_US)) - .translations('it_IT', mergeTranslation(translations.it_IT, translations.en_US)) - .translations('tr_TR', mergeTranslation(translations.tr_TR, translations.en_US)) - .translations('cs_CZ', mergeTranslation(translations.cs_CZ, translations.en_US)) - .translations('fa_IR', mergeTranslation(translations.fa_IR, translations.en_US)) - .translations('id_ID', mergeTranslation(translations.id_ID, translations.en_US)) - .translations('pt_BR', mergeTranslation(translations.pt_BR, translations.en_US)) - .useSanitizeValueStrategy('escapeParameters') - .determinePreferredLanguage(); - - $locationProvider.html5Mode({ - enabled: true, - requireBase: false - }); -}); - -$(function() { - if (!String.prototype.startsWith) { - Object.defineProperty(String.prototype, 'startsWith', { - enumerable: false, configurable: false, writable: false, - value: function (searchString, position) { - position = position || 0; - return this.indexOf(searchString, position) === position; - } - }); - } - angular.bootstrap(document, ['webui']) -}); diff --git a/js/libs/angular-translate.min.js b/js/libs/angular-translate.min.js deleted file mode 100644 index 215a28ac..00000000 --- a/js/libs/angular-translate.min.js +++ /dev/null @@ -1,6 +0,0 @@ -/*! - * angular-translate - v2.9.0 - 2016-01-24 - * - * Copyright (c) 2016 The angular-translate team, Pascal Precht; Licensed MIT - */ -!function(a,b){"function"==typeof define&&define.amd?define([],function(){return b()}):"object"==typeof exports?module.exports=b():b()}(this,function(){function a(a){"use strict";var b=a.storageKey(),c=a.storage(),d=function(){var d=a.preferredLanguage();angular.isString(d)?a.use(d):c.put(b,a.use())};d.displayName="fallbackFromIncorrectStorageValue",c?c.get(b)?a.use(c.get(b))["catch"](d):d():angular.isString(a.preferredLanguage())&&a.use(a.preferredLanguage())}function b(){"use strict";var a,b,c=null,d=!1,e=!1;b={sanitize:function(a,b){return"text"===b&&(a=g(a)),a},escape:function(a,b){return"text"===b&&(a=f(a)),a},sanitizeParameters:function(a,b){return"params"===b&&(a=h(a,g)),a},escapeParameters:function(a,b){return"params"===b&&(a=h(a,f)),a}},b.escaped=b.escapeParameters,this.addStrategy=function(a,c){return b[a]=c,this},this.removeStrategy=function(a){return delete b[a],this},this.useStrategy=function(a){return d=!0,c=a,this},this.$get=["$injector","$log",function(f,g){var h={},i=function(a,c,d){return angular.forEach(d,function(d){if(angular.isFunction(d))a=d(a,c);else if(angular.isFunction(b[d]))a=b[d](a,c);else{if(!angular.isString(b[d]))throw new Error("pascalprecht.translate.$translateSanitization: Unknown sanitization strategy: '"+d+"'");if(!h[b[d]])try{h[b[d]]=f.get(b[d])}catch(e){throw h[b[d]]=function(){},new Error("pascalprecht.translate.$translateSanitization: Unknown sanitization strategy: '"+d+"'")}a=h[b[d]](a,c)}}),a},j=function(){d||e||(g.warn("pascalprecht.translate.$translateSanitization: No sanitization strategy has been configured. This can have serious security implications. See http://angular-translate.github.io/docs/#/guide/19_security for details."),e=!0)};return f.has("$sanitize")&&(a=f.get("$sanitize")),{useStrategy:function(a){return function(b){a.useStrategy(b)}}(this),sanitize:function(a,b,d){if(c||j(),arguments.length<3&&(d=c),!d)return a;var e=angular.isArray(d)?d:[d];return i(a,b,e)}}}];var f=function(a){var b=angular.element("
    ");return b.text(a),b.html()},g=function(b){if(!a)throw new Error("pascalprecht.translate.$translateSanitization: Error cannot find $sanitize service. Either include the ngSanitize module (https://docs.angularjs.org/api/ngSanitize) or use a sanitization strategy which does not depend on $sanitize, such as 'escape'.");return a(b)},h=function(a,b){if(angular.isObject(a)){var c=angular.isArray(a)?[]:{};return angular.forEach(a,function(a,d){c[d]=h(a,b)}),c}return angular.isNumber(a)?a:b(a)}}function c(a,b,c,d){"use strict";var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t={},u=[],v=a,w=[],x="translate-cloak",y=!1,z=!1,A=".",B=!1,C=0,D=!0,E="default",F={"default":function(a){return(a||"").split("-").join("_")},java:function(a){var b=(a||"").split("-").join("_"),c=b.split("_");return c.length>1?c[0].toLowerCase()+"_"+c[1].toUpperCase():b},bcp47:function(a){var b=(a||"").split("_").join("-"),c=b.split("-");return c.length>1?c[0].toLowerCase()+"-"+c[1].toUpperCase():b}},G="2.9.0",H=function(){if(angular.isFunction(d.getLocale))return d.getLocale();var a,c,e=b.$get().navigator,f=["language","browserLanguage","systemLanguage","userLanguage"];if(angular.isArray(e.languages))for(a=0;ac;c++)if(a[c]===b)return c;return-1},K=function(){return this.toString().replace(/^\s+|\s+$/g,"")},L=function(a){if(a){for(var b=[],c=angular.lowercase(a),d=0,e=u.length;e>d;d++)b.push(angular.lowercase(u[d]));if(J(b,c)>-1)return a;if(f){var g;for(var h in f){var i=!1,j=Object.prototype.hasOwnProperty.call(f,h)&&angular.lowercase(h)===angular.lowercase(a);if("*"===h.slice(-1)&&(i=h.slice(0,-1)===a.slice(0,h.length-1)),(j||i)&&(g=f[h],J(b,angular.lowercase(g))>-1))return g}}var k=a.split("_");return k.length>1&&J(b,angular.lowercase(k[0]))>-1?k[0]:void 0}},M=function(a,b){if(!a&&!b)return t;if(a&&!b){if(angular.isString(a))return t[a]}else angular.isObject(t[a])||(t[a]={}),angular.extend(t[a],N(b));return this};this.translations=M,this.cloakClassName=function(a){return a?(x=a,this):x},this.nestedObjectDelimeter=function(a){return a?(A=a,this):A};var N=function(a,b,c,d){var e,f,g,h;b||(b=[]),c||(c={});for(e in a)Object.prototype.hasOwnProperty.call(a,e)&&(h=a[e],angular.isObject(h)?N(h,b.concat(e),c,e):(f=b.length?""+b.join(A)+A+e:e,b.length&&e===d&&(g=""+b.join(A),c[g]="@:"+f),c[f]=h));return c};N.displayName="flatObject",this.addInterpolation=function(a){return w.push(a),this},this.useMessageFormatInterpolation=function(){return this.useInterpolation("$translateMessageFormatInterpolation")},this.useInterpolation=function(a){return n=a,this},this.useSanitizeValueStrategy=function(a){return c.useStrategy(a),this},this.preferredLanguage=function(a){return a?(O(a),this):e};var O=function(a){return a&&(e=a),e};this.translationNotFoundIndicator=function(a){return this.translationNotFoundIndicatorLeft(a),this.translationNotFoundIndicatorRight(a),this},this.translationNotFoundIndicatorLeft=function(a){return a?(q=a,this):q},this.translationNotFoundIndicatorRight=function(a){return a?(r=a,this):r},this.fallbackLanguage=function(a){return P(a),this};var P=function(a){return a?(angular.isString(a)?(h=!0,g=[a]):angular.isArray(a)&&(h=!1,g=a),angular.isString(e)&&J(g,e)<0&&g.push(e),this):h?g[0]:g};this.use=function(a){if(a){if(!t[a]&&!o)throw new Error("$translateProvider couldn't find translationTable for langKey: '"+a+"'");return i=a,this}return i};var Q=function(a){return a?(v=a,this):l?l+v:v};this.storageKey=Q,this.useUrlLoader=function(a,b){return this.useLoader("$translateUrlLoader",angular.extend({url:a},b))},this.useStaticFilesLoader=function(a){return this.useLoader("$translateStaticFilesLoader",a)},this.useLoader=function(a,b){return o=a,p=b||{},this},this.useLocalStorage=function(){return this.useStorage("$translateLocalStorage")},this.useCookieStorage=function(){return this.useStorage("$translateCookieStorage")},this.useStorage=function(a){return k=a,this},this.storagePrefix=function(a){return a?(l=a,this):a},this.useMissingTranslationHandlerLog=function(){return this.useMissingTranslationHandler("$translateMissingTranslationHandlerLog")},this.useMissingTranslationHandler=function(a){return m=a,this},this.usePostCompiling=function(a){return y=!!a,this},this.forceAsyncReload=function(a){return z=!!a,this},this.uniformLanguageTag=function(a){return a?angular.isString(a)&&(a={standard:a}):a={},E=a.standard,this},this.determinePreferredLanguage=function(a){var b=a&&angular.isFunction(a)?a():I();return e=u.length?L(b)||b:b,this},this.registerAvailableLanguageKeys=function(a,b){return a?(u=a,b&&(f=b),this):u},this.useLoaderCache=function(a){return a===!1?s=void 0:a===!0?s=!0:"undefined"==typeof a?s="$translationCache":a&&(s=a),this},this.directivePriority=function(a){return void 0===a?C:(C=a,this)},this.statefulFilter=function(a){return void 0===a?D:(D=a,this)},this.$get=["$log","$injector","$rootScope","$q",function(a,b,c,d){var f,l,u,E=b.get(n||"$translateDefaultInterpolation"),F=!1,H={},I={},R=function(a,b,c,h,j){var m=j&&j!==i?L(j)||j:i;if(angular.isArray(a)){var n=function(a){for(var e={},f=[],g=function(a){var f=d.defer(),g=function(b){e[a]=b,f.resolve([a,b])};return R(a,b,c,h,j).then(g,g),f.promise},i=0,k=a.length;k>i;i++)f.push(g(a[i]));return d.all(f).then(function(){return e})};return n(a)}var o=d.defer();a&&(a=K.apply(a));var p=function(){var a=e?I[e]:I[m];if(l=0,k&&!a){var b=f.get(v);if(a=I[b],g&&g.length){var c=J(g,b);l=0===c?1:0,J(g,e)<0&&g.push(e)}}return a}();if(p){var q=function(){j||(m=i),ca(a,b,c,h,m).then(o.resolve,o.reject)};q.displayName="promiseResolved",p["finally"](q,o.reject)}else ca(a,b,c,h,m).then(o.resolve,o.reject);return o.promise},S=function(a){return q&&(a=[q,a].join(" ")),r&&(a=[a,r].join(" ")),a},T=function(a){i=a,k&&f.put(R.storageKey(),i),c.$emit("$translateChangeSuccess",{language:a}),E.setLocale(i);var b=function(a,b){H[b].setLocale(i)};b.displayName="eachInterpolatorLocaleSetter",angular.forEach(H,b),c.$emit("$translateChangeEnd",{language:a})},U=function(a){if(!a)throw"No language key specified for loading.";var e=d.defer();c.$emit("$translateLoadingStart",{language:a}),F=!0;var f=s;"string"==typeof f&&(f=b.get(f));var g=angular.extend({},p,{key:a,$http:angular.extend({},{cache:f},p.$http)}),h=function(b){var d={};c.$emit("$translateLoadingSuccess",{language:a}),angular.isArray(b)?angular.forEach(b,function(a){angular.extend(d,N(a))}):angular.extend(d,N(b)),F=!1,e.resolve({key:a,table:d}),c.$emit("$translateLoadingEnd",{language:a})};h.displayName="onLoaderSuccess";var i=function(a){c.$emit("$translateLoadingError",{language:a}),e.reject(a),c.$emit("$translateLoadingEnd",{language:a})};return i.displayName="onLoaderError",b.get(o)(g).then(h,i),e.promise};if(k&&(f=b.get(k),!f.get||!f.put))throw new Error("Couldn't use storage '"+k+"', missing get() or put() method!");if(w.length){var V=function(a){var c=b.get(a);c.setLocale(e||i),H[c.getInterpolationIdentifier()]=c};V.displayName="interpolationFactoryAdder",angular.forEach(w,V)}var W=function(a){var b=d.defer();if(Object.prototype.hasOwnProperty.call(t,a))b.resolve(t[a]);else if(I[a]){var c=function(a){M(a.key,a.table),b.resolve(a.table)};c.displayName="translationTableResolver",I[a].then(c,b.reject)}else b.reject();return b.promise},X=function(a,b,c,e){var f=d.defer(),g=function(d){if(Object.prototype.hasOwnProperty.call(d,b)){e.setLocale(a);var g=d[b];"@:"===g.substr(0,2)?X(a,g.substr(2),c,e).then(f.resolve,f.reject):f.resolve(e.interpolate(d[b],c)),e.setLocale(i)}else f.reject()};return g.displayName="fallbackTranslationResolver",W(a).then(g,f.reject),f.promise},Y=function(a,b,c,d){var e,f=t[a];if(f&&Object.prototype.hasOwnProperty.call(f,b)){if(d.setLocale(a),e=d.interpolate(f[b],c),"@:"===e.substr(0,2))return Y(a,e.substr(2),c,d);d.setLocale(i)}return e},Z=function(a,c){if(m){var d=b.get(m)(a,i,c);return void 0!==d?d:a}return a},$=function(a,b,c,e,f){var h=d.defer();if(a0?u:l,a,b,c,d)},ba=function(a,b,c){return _(u>0?u:l,a,b,c)},ca=function(a,b,c,e,f){var h=d.defer(),i=f?t[f]:t,j=c?H[c]:E;if(i&&Object.prototype.hasOwnProperty.call(i,a)){var k=i[a];"@:"===k.substr(0,2)?R(k.substr(2),b,c,e,f).then(h.resolve,h.reject):h.resolve(j.interpolate(k,b))}else{var l;m&&!F&&(l=Z(a,b)),f&&g&&g.length?aa(a,b,j,e).then(function(a){h.resolve(a)},function(a){h.reject(S(a))}):m&&!F&&l?e?h.resolve(e):h.resolve(l):e?h.resolve(e):h.reject(S(a))}return h.promise},da=function(a,b,c,d){var e,f=d?t[d]:t,h=E;if(H&&Object.prototype.hasOwnProperty.call(H,c)&&(h=H[c]),f&&Object.prototype.hasOwnProperty.call(f,a)){var i=f[a];e="@:"===i.substr(0,2)?da(i.substr(2),b,c,d):h.interpolate(i,b)}else{var j;m&&!F&&(j=Z(a,b)),d&&g&&g.length?(l=0,e=ba(a,b,h)):e=m&&!F&&j?j:S(a)}return e},ea=function(a){j===a&&(j=void 0),I[a]=void 0};R.preferredLanguage=function(a){return a&&O(a),e},R.cloakClassName=function(){return x},R.nestedObjectDelimeter=function(){return A},R.fallbackLanguage=function(a){if(void 0!==a&&null!==a){if(P(a),o&&g&&g.length)for(var b=0,c=g.length;c>b;b++)I[g[b]]||(I[g[b]]=U(g[b]));R.use(R.use())}return h?g[0]:g},R.useFallbackLanguage=function(a){if(void 0!==a&&null!==a)if(a){var b=J(g,a);b>-1&&(u=b)}else u=0},R.proposedLanguage=function(){return j},R.storage=function(){return f},R.negotiateLocale=L,R.use=function(a){if(!a)return i;var b=d.defer();c.$emit("$translateChangeStart",{language:a});var e=L(a);return e&&(a=e),!z&&t[a]||!o||I[a]?j===a&&I[a]?I[a].then(function(a){return b.resolve(a.key),a},function(a){return b.reject(a),d.reject(a)}):(b.resolve(a),T(a)):(j=a,I[a]=U(a).then(function(c){return M(c.key,c.table),b.resolve(c.key),j===a&&T(c.key),c},function(a){return c.$emit("$translateChangeError",{language:a}),b.reject(a),c.$emit("$translateChangeEnd",{language:a}),d.reject(a)}),I[a]["finally"](function(){ea(a)})),b.promise},R.storageKey=function(){return Q()},R.isPostCompilingEnabled=function(){return y},R.isForceAsyncReloadEnabled=function(){return z},R.refresh=function(a){function b(){f.resolve(),c.$emit("$translateRefreshEnd",{language:a})}function e(){f.reject(),c.$emit("$translateRefreshEnd",{language:a})}if(!o)throw new Error("Couldn't refresh translation table, no loader registered!");var f=d.defer();if(c.$emit("$translateRefreshStart",{language:a}),a)if(t[a]){var h=function(c){M(c.key,c.table),a===i&&T(i),b()};h.displayName="refreshPostProcessor",U(a).then(h,e)}else e();else{var j=[],k={};if(g&&g.length)for(var l=0,m=g.length;m>l;l++)j.push(U(g[l])),k[g[l]]=!0;i&&!k[i]&&j.push(U(i));var n=function(a){t={},angular.forEach(a,function(a){M(a.key,a.table)}),i&&T(i),b()};n.displayName="refreshPostProcessor",d.all(j).then(n,e)}return f.promise},R.instant=function(a,b,c,d){var f=d&&d!==i?L(d)||d:i;if(null===a||angular.isUndefined(a))return a;if(angular.isArray(a)){for(var h={},j=0,k=a.length;k>j;j++)h[a[j]]=R.instant(a[j],b,c,d);return h}if(angular.isString(a)&&a.length<1)return a;a&&(a=K.apply(a));var l,n=[];e&&n.push(e),f&&n.push(f),g&&g.length&&(n=n.concat(g));for(var o=0,p=n.length;p>o;o++){var s=n[o];if(t[s]&&"undefined"!=typeof t[s][a]&&(l=da(a,b,c,f)),"undefined"!=typeof l)break}return l||""===l||(q||r?l=S(a):(l=E.interpolate(a,b),m&&!F&&(l=Z(a,b)))),l},R.versionInfo=function(){return G},R.loaderCache=function(){return s},R.directivePriority=function(){return C},R.statefulFilter=function(){return D},R.isReady=function(){return B};var fa=d.defer();fa.promise.then(function(){B=!0}),R.onReady=function(a){var b=d.defer();return angular.isFunction(a)&&b.promise.then(a),B?b.resolve():fa.promise.then(b.resolve),b.promise};var ga=c.$on("$translateReady",function(){fa.resolve(),ga(),ga=null}),ha=c.$on("$translateChangeEnd",function(){fa.resolve(),ha(),ha=null});if(o){if(angular.equals(t,{})&&R.use()&&R.use(R.use()),g&&g.length)for(var ia=function(a){return M(a.key,a.table),c.$emit("$translateChangeEnd",{language:a.key}),a},ja=0,ka=g.length;ka>ja;ja++){var la=g[ja];(z||!t[la])&&(I[la]=U(la).then(ia))}}else c.$emit("$translateReady",{language:R.use()});return R}]}function d(a,b){"use strict";var c,d={},e="default";return d.setLocale=function(a){c=a},d.getInterpolationIdentifier=function(){return e},d.useSanitizeValueStrategy=function(a){return b.useStrategy(a),this},d.interpolate=function(c,d){d=d||{},d=b.sanitize(d,"params");var e=a(c)(d);return e=b.sanitize(e,"text")},d}function e(a,b,c,d,e,g){"use strict";var h=function(){return this.toString().replace(/^\s+|\s+$/g,"")};return{restrict:"AE",scope:!0,priority:a.directivePriority(),compile:function(b,i){var j=i.translateValues?i.translateValues:void 0,k=i.translateInterpolation?i.translateInterpolation:void 0,l=b[0].outerHTML.match(/translate-value-+/i),m="^(.*)("+c.startSymbol()+".*"+c.endSymbol()+")(.*)",n="^(.*)"+c.startSymbol()+"(.*)"+c.endSymbol()+"(.*)";return function(b,o,p){b.interpolateParams={},b.preText="",b.postText="",b.translateNamespace=f(b);var q={},r=function(a,c,d){if(c.translateValues&&angular.extend(a,e(c.translateValues)(b.$parent)),l)for(var f in d)if(Object.prototype.hasOwnProperty.call(c,f)&&"translateValue"===f.substr(0,14)&&"translateValues"!==f){var g=angular.lowercase(f.substr(14,1))+f.substr(15);a[g]=d[f]}},s=function(a){if(angular.isFunction(s._unwatchOld)&&(s._unwatchOld(),s._unwatchOld=void 0),angular.equals(a,"")||!angular.isDefined(a)){var d=h.apply(o.text()),e=d.match(m);if(angular.isArray(e)){b.preText=e[1],b.postText=e[3],q.translate=c(e[2])(b.$parent);var f=d.match(n);angular.isArray(f)&&f[2]&&f[2].length&&(s._unwatchOld=b.$watch(f[2],function(a){q.translate=a,y()}))}else q.translate=d?d:void 0}else q.translate=a;y()},t=function(a){p.$observe(a,function(b){q[a]=b,y()})};r(b.interpolateParams,p,i);var u=!0;p.$observe("translate",function(a){"undefined"==typeof a?s(""):""===a&&u||(q.translate=a,y()),u=!1});for(var v in p)p.hasOwnProperty(v)&&"translateAttr"===v.substr(0,13)&&t(v);if(p.$observe("translateDefault",function(a){b.defaultText=a,y()}),j&&p.$observe("translateValues",function(a){a&&b.$parent.$watch(function(){angular.extend(b.interpolateParams,e(a)(b.$parent))})}),l){var w=function(a){p.$observe(a,function(c){var d=angular.lowercase(a.substr(14,1))+a.substr(15);b.interpolateParams[d]=c})};for(var x in p)Object.prototype.hasOwnProperty.call(p,x)&&"translateValue"===x.substr(0,14)&&"translateValues"!==x&&w(x)}var y=function(){for(var a in q)q.hasOwnProperty(a)&&void 0!==q[a]&&z(a,q[a],b,b.interpolateParams,b.defaultText,b.translateNamespace)},z=function(b,c,d,e,f,g){c?(g&&"."===c.charAt(0)&&(c=g+c),a(c,e,k,f,d.translateLanguage).then(function(a){A(a,d,!0,b)},function(a){A(a,d,!1,b)})):A(c,d,!1,b)},A=function(b,c,e,f){if("translate"===f){e||"undefined"==typeof c.defaultText||(b=c.defaultText),o.empty().append(c.preText+b+c.postText);var g=a.isPostCompilingEnabled(),h="undefined"!=typeof i.translateCompile,j=h&&"false"!==i.translateCompile;(g&&!h||j)&&d(o.contents())(c)}else{e||"undefined"==typeof c.defaultText||(b=c.defaultText);var k=p.$attr[f];"data-"===k.substr(0,5)&&(k=k.substr(5)),k=k.substr(15),o.attr(k,b)}};(j||l||p.translateDefault)&&b.$watch("interpolateParams",y,!0),b.$watch("translateLanguage",y);var B=g.$on("$translateChangeSuccess",y);o.text().length?s(p.translate?p.translate:""):p.translate&&s(p.translate),y(),b.$on("$destroy",B)}}}}function f(a){"use strict";return a.translateNamespace?a.translateNamespace:a.$parent?f(a.$parent):void 0}function g(a,b){"use strict";return{compile:function(c){var d=function(){c.addClass(a.cloakClassName())},e=function(){c.removeClass(a.cloakClassName())};return a.onReady(function(){e()}),d(),function(c,f,g){g.translateCloak&&g.translateCloak.length&&(g.$observe("translateCloak",function(b){a(b).then(e,d)}),b.$on("$translateChangeSuccess",function(){a(g.translateCloak).then(e,d)}))}}}}function h(){"use strict";return{restrict:"A",scope:!0,compile:function(){return{pre:function(a,b,c){a.translateNamespace=f(a),a.translateNamespace&&"."===c.translateNamespace.charAt(0)?a.translateNamespace+=c.translateNamespace:a.translateNamespace=c.translateNamespace}}}}}function f(a){"use strict";return a.translateNamespace?a.translateNamespace:a.$parent?f(a.$parent):void 0}function i(){"use strict";return{restrict:"A",scope:!0,compile:function(){return function(a,b,c){c.$observe("translateLanguage",function(b){a.translateLanguage=b})}}}}function j(a,b){"use strict";var c=function(c,d,e,f){return angular.isObject(d)||(d=a(d)(this)),b.instant(c,d,e,f)};return b.statefulFilter()&&(c.$stateful=!0),c}function k(a){"use strict";return a("translations")}return angular.module("pascalprecht.translate",["ng"]).run(a),a.$inject=["$translate"],a.displayName="runTranslate",angular.module("pascalprecht.translate").provider("$translateSanitization",b),angular.module("pascalprecht.translate").constant("pascalprechtTranslateOverrider",{}).provider("$translate",c),c.$inject=["$STORAGE_KEY","$windowProvider","$translateSanitizationProvider","pascalprechtTranslateOverrider"],c.displayName="displayName",angular.module("pascalprecht.translate").factory("$translateDefaultInterpolation",d),d.$inject=["$interpolate","$translateSanitization"],d.displayName="$translateDefaultInterpolation",angular.module("pascalprecht.translate").constant("$STORAGE_KEY","NG_TRANSLATE_LANG_KEY"),angular.module("pascalprecht.translate").directive("translate",e),e.$inject=["$translate","$q","$interpolate","$compile","$parse","$rootScope"],e.displayName="translateDirective",angular.module("pascalprecht.translate").directive("translateCloak",g),g.$inject=["$translate","$rootScope"],g.displayName="translateCloakDirective",angular.module("pascalprecht.translate").directive("translateNamespace",h),h.displayName="translateNamespaceDirective",angular.module("pascalprecht.translate").directive("translateLanguage",i),i.displayName="translateLanguageDirective",angular.module("pascalprecht.translate").filter("translate",j),j.$inject=["$parse","$translate"],j.displayName="translateFilterFactory",angular.module("pascalprecht.translate").factory("$translationCache",k),k.$inject=["$cacheFactory"],k.displayName="$translationCache","pascalprecht.translate"}); \ No newline at end of file diff --git a/js/libs/angular.min.js b/js/libs/angular.min.js deleted file mode 100644 index 8511e05c..00000000 --- a/js/libs/angular.min.js +++ /dev/null @@ -1,329 +0,0 @@ -/* - AngularJS v1.6.0 - (c) 2010-2016 Google, Inc. http://angularjs.org - License: MIT -*/ -(function(A){'use strict';function H(a,b){b=b||Error;return function(){var d=arguments[0],c;c="["+(a?a+":":"")+d+"] http://errors.angularjs.org/1.6.0/"+(a?a+"/":"")+d;for(d=1;d").append(a).html();try{return a[0].nodeType===Ja?L(d):d.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(a,b){return"<"+L(b)})}catch(c){return L(d)}}function Jc(a){try{return decodeURIComponent(a)}catch(b){}}function Kc(a){var b={};q((a||"").split("&"),function(a){var c,f,e;a&&(f=a=a.replace(/\+/g,"%20"), -c=a.indexOf("="),-1!==c&&(f=a.substring(0,c),e=a.substring(c+1)),f=Jc(f),u(f)&&(e=u(e)?Jc(e):!0,va.call(b,f)?G(b[f])?b[f].push(e):b[f]=[b[f],e]:b[f]=e))});return b}function Wb(a){var b=[];q(a,function(a,c){G(a)?q(a,function(a){b.push(ia(c,!0)+(!0===a?"":"="+ia(a,!0)))}):b.push(ia(c,!0)+(!0===a?"":"="+ia(a,!0)))});return b.length?b.join("&"):""}function db(a){return ia(a,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ia(a,b){return encodeURIComponent(a).replace(/%40/gi, -"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,b?"%20":"+")}function ne(a,b){var d,c,f=Ka.length;for(c=0;c protocol indicates an extension, document.location.href does not match."))}function Lc(a,b,d){E(d)||(d={});d=Q({strictDi:!1},d);var c=function(){a=F(a);if(a.injector()){var c=a[0]===A.document?"document":ya(a);throw Ga("btstrpd",c.replace(//,">"));}b=b||[];b.unshift(["$provide",function(b){b.value("$rootElement",a)}]);d.debugInfoEnabled&&b.push(["$compileProvider",function(a){a.debugInfoEnabled(!0)}]); -b.unshift("ng");c=eb(b,d.strictDi);c.invoke(["$rootScope","$rootElement","$compile","$injector",function(a,b,c,d){a.$apply(function(){b.data("$injector",d);c(b)(a)})}]);return c},f=/^NG_ENABLE_DEBUG_INFO!/,e=/^NG_DEFER_BOOTSTRAP!/;A&&f.test(A.name)&&(d.debugInfoEnabled=!0,A.name=A.name.replace(f,""));if(A&&!e.test(A.name))return c();A.name=A.name.replace(e,"");Z.resumeBootstrap=function(a){q(a,function(a){b.push(a)});return c()};B(Z.resumeDeferredBootstrap)&&Z.resumeDeferredBootstrap()}function qe(){A.name= -"NG_ENABLE_DEBUG_INFO!"+A.name;A.location.reload()}function re(a){a=Z.element(a).injector();if(!a)throw Ga("test");return a.get("$$testability")}function Mc(a,b){b=b||"_";return a.replace(se,function(a,c){return(c?b:"")+a.toLowerCase()})}function te(){var a;if(!Nc){var b=rb();(na=x(b)?A.jQuery:b?A[b]:void 0)&&na.fn.on?(F=na,Q(na.fn,{scope:Na.scope,isolateScope:Na.isolateScope,controller:Na.controller,injector:Na.injector,inheritedData:Na.inheritedData}),a=na.cleanData,na.cleanData=function(b){for(var c, -f=0,e;null!=(e=b[f]);f++)(c=na._data(e,"events"))&&c.$destroy&&na(e).triggerHandler("$destroy");a(b)}):F=U;Z.element=F;Nc=!0}}function fb(a,b,d){if(!a)throw Ga("areq",b||"?",d||"required");return a}function sb(a,b,d){d&&G(a)&&(a=a[a.length-1]);fb(B(a),b,"not a function, got "+(a&&"object"===typeof a?a.constructor.name||"Object":typeof a));return a}function Oa(a,b){if("hasOwnProperty"===a)throw Ga("badname",b);}function Oc(a,b,d){if(!b)return a;b=b.split(".");for(var c,f=a,e=b.length,g=0;g")+c[2];for(c=c[0];c--;)d=d.lastChild;e=ab(e,d.childNodes);d=f.firstChild;d.textContent=""}else e.push(b.createTextNode(a)); -f.textContent="";f.innerHTML="";q(e,function(a){f.appendChild(a)});return f}function U(a){if(a instanceof U)return a;var b;y(a)&&(a=R(a),b=!0);if(!(this instanceof U)){if(b&&"<"!==a.charAt(0))throw $b("nosel");return new U(a)}if(b){b=A.document;var d;a=(d=Yf.exec(a))?[b.createElement(d[1])]:(d=Yc(a,b))?d.childNodes:[];ac(this,a)}else B(a)?Zc(a):ac(this,a)}function bc(a){return a.cloneNode(!0)}function xb(a,b){b||hb(a);if(a.querySelectorAll)for(var d=a.querySelectorAll("*"),c=0,f=d.length;cl&&this.remove(p.key);return b}},get:function(a){if(l";b=ua.firstChild.attributes;var d=b[0];b.removeNamedItem(d.name);d.value=c;a.attributes.setNamedItem(d)}function ra(a, -b){try{a.addClass(b)}catch(c){}}function aa(a,b,c,d,e){a instanceof F||(a=F(a));var f=Ma(a,b,a,c,d,e);aa.$$addScopeClass(a);var g=null;return function(b,c,d){if(!a)throw da("multilink");fb(b,"scope");e&&e.needsNewScope&&(b=b.$parent.$new());d=d||{};var h=d.parentBoundTranscludeFn,k=d.transcludeControllers;d=d.futureParentElement;h&&h.$$boundTransclude&&(h=h.$$boundTransclude);g||(g=(d=d&&d[0])?"foreignobject"!==xa(d)&&la.call(d).match(/SVG/)?"svg":"html":"html");d="html"!==g?F(fa(g,F("
    ").append(a).html())): -c?Na.clone.call(a):a;if(k)for(var l in k)d.data("$"+l+"Controller",k[l].instance);aa.$$addScopeInfo(d,b);c&&c(d,b);f&&f(b,d,d,h);c||(a=f=null);return d}}function Ma(a,b,c,d,e,f){function g(a,c,d,e){var f,k,l,m,p,n,t;if(K)for(t=Array(c.length),m=0;mz.priority)break;if(v=z.scope)z.templateUrl||(E(v)?(Z("new/isolated scope",s||K,z,I),s=z):Z("new/isolated scope",s,z,I)),K=K||z;J=z.name;if(!ra&&(z.replace&&(z.templateUrl||z.template)||z.transclude&&!z.$$tlb)){for(v=A+1;ra=a[v++];)if(ra.transclude&&!ra.$$tlb||ra.replace&&(ra.templateUrl||ra.template)){Y=!0;break}ra=!0}!z.templateUrl&& -z.controller&&(D=D||T(),Z("'"+J+"' controller",D[J],z,I),D[J]=z);if(v=z.transclude)if(w=!0,z.$$tlb||(Z("transclusion",C,z,I),C=z),"element"===v)pa=!0,n=z.priority,V=I,I=d.$$element=F(aa.$$createComment(J,d[J])),b=I[0],ka(f,wa.call(V,0),b),V[0].$$parentNode=V[0].parentNode,N=fc(Y,V,e,n,g&&g.name,{nonTlbTranscludeDirective:C});else{var ha=T();if(E(v)){V=[];var Gb=T(),L=T();q(v,function(a,b){var c="?"===a.charAt(0);a=c?a.substring(1):a;Gb[a]=b;ha[b]=null;L[b]=c});q(I.contents(),function(a){var b=Gb[Ca(xa(a))]; -b?(L[b]=!0,ha[b]=ha[b]||[],ha[b].push(a)):V.push(a)});q(L,function(a,b){if(!a)throw da("reqslot",b);});for(var ec in ha)ha[ec]&&(ha[ec]=fc(Y,ha[ec],e))}else V=F(bc(b)).contents();I.empty();N=fc(Y,V,e,void 0,void 0,{needsNewScope:z.$$isolateScope||z.$$newScope});N.$$slots=ha}if(z.template)if(P=!0,Z("template",O,z,I),O=z,v=B(z.template)?z.template(I,d):z.template,v=Ea(v),z.replace){g=z;V=Zb.test(v)?id(fa(z.templateNamespace,R(v))):[];b=V[0];if(1!==V.length||1!==b.nodeType)throw da("tplrt",J,"");ka(f, -I,b);y={$attr:{}};v=dc(b,[],y);var W=a.splice(A+1,a.length-(A+1));(s||K)&&$(v,s,K);a=a.concat(v).concat(W);ea(d,y);y=a.length}else I.html(v);if(z.templateUrl)P=!0,Z("template",O,z,I),O=z,z.replace&&(g=z),p=ga(a.splice(A,a.length-A),I,d,f,w&&N,h,k,{controllerDirectives:D,newScopeDirective:K!==z&&K,newIsolateScopeDirective:s,templateDirective:O,nonTlbTranscludeDirective:C}),y=a.length;else if(z.compile)try{u=z.compile(I,d,N);var X=z.$$originalDirective||z;B(u)?m(null,bb(X,u),Ma,H):u&&m(bb(X,u.pre), -bb(X,u.post),Ma,H)}catch(ca){c(ca,ya(I))}z.terminal&&(p.terminal=!0,n=Math.max(n,z.priority))}p.scope=K&&!0===K.scope;p.transcludeOnThisElement=w;p.templateOnThisElement=P;p.transclude=N;l.hasElementTranscludeDirective=pa;return p}function S(a,b,c,d){var e;if(y(b)){var f=b.match(l);b=b.substring(f[0].length);var g=f[1]||f[3],f="?"===f[2];"^^"===g?c=c.parent():e=(e=d&&d[b])&&e.instance;if(!e){var h="$"+b+"Controller";e=g?c.inheritedData(h):c.data(h)}if(!e&&!f)throw da("ctreq",b,a);}else if(G(b))for(e= -[],g=0,f=b.length;gc.priority)&&-1!==c.restrict.indexOf(f)){k&&(c=Tb(c,{$$start:k,$$end:l}));if(!c.$$bindings){var K=m=c,t=c.name,D={isolateScope:null,bindToController:null};E(K.scope)&&(!0===K.bindToController?(D.bindToController=d(K.scope,t,!0),D.isolateScope={}):D.isolateScope=d(K.scope,t,!1));E(K.bindToController)&&(D.bindToController=d(K.bindToController,t,!0));if(D.bindToController&&!K.controller)throw da("noctrl", -t);m=m.$$bindings=D;E(m.isolateScope)&&(c.$$isolateBindings=m.isolateScope)}b.push(c);m=c}}return m}function X(b){if(e.hasOwnProperty(b))for(var c=a.get(b+"Directive"),d=0,f=c.length;d"+b+"";return c.childNodes[0].childNodes;default:return b}}function oa(a,b){if("srcdoc"===b)return z.HTML;var c=xa(a);if("src"===b||"ngSrc"===b){if(-1===["img","video","audio","source","track"].indexOf(c))return z.RESOURCE_URL}else if("xlinkHref"===b||"form"===c&&"action"===b||"link"===c&&"href"===b)return z.RESOURCE_URL}function qa(a, -c,d,e,f){var g=oa(a,e),h=k[e]||f,l=b(d,!f,g,h);if(l){if("multiple"===e&&"select"===xa(a))throw da("selmulti",ya(a));if(m.test(e))throw da("nodomevents");c.push({priority:100,compile:function(){return{pre:function(a,c,f){c=f.$$observers||(f.$$observers=T());var k=f[e];k!==d&&(l=k&&b(k,!0,g,h),d=k);l&&(f[e]=l(a),(c[e]||(c[e]=[])).$$inter=!0,(f.$$observers&&f.$$observers[e].$$scope||a).$watch(l,function(a,b){"class"===e&&a!==b?f.$updateClass(a,b):f.$set(e,a)}))}}}})}}function ka(a,b,c){var d=b[0],e= -b.length,f=d.parentNode,g,h;if(a)for(g=0,h=a.length;g=b)return a;for(;b--;){var d=a[b];(8===d.nodeType||d.nodeType===Ja&&""===d.nodeValue.trim())&&mg.call(a,b,1)}return a}function kg(a,b){if(b&&y(b))return b;if(y(a)){var d=ld.exec(a);if(d)return d[3]}}function qf(){var a={},b=!1;this.has=function(b){return a.hasOwnProperty(b)};this.register=function(b,c){Oa(b,"controller");E(b)? -Q(a,b):a[b]=c};this.allowGlobals=function(){b=!0};this.$get=["$injector","$window",function(d,c){function f(a,b,c,d){if(!a||!E(a.$scope))throw H("$controller")("noscp",d,b);a.$scope[b]=c}return function(e,g,h,k){var l,m,n;h=!0===h;k&&y(k)&&(n=k);if(y(e)){k=e.match(ld);if(!k)throw md("ctrlfmt",e);m=k[1];n=n||k[3];e=a.hasOwnProperty(m)?a[m]:Oc(g.$scope,m,!0)||(b?Oc(c,m,!0):void 0);if(!e)throw md("ctrlreg",m);sb(e,m,!0)}if(h)return h=(G(e)?e[e.length-1]:e).prototype,l=Object.create(h||null),n&&f(g,n, -l,m||e.name),Q(function(){var a=d.invoke(e,l,g,m);a!==l&&(E(a)||B(a))&&(l=a,n&&f(g,n,l,m||e.name));return l},{instance:l,identifier:n});l=d.instantiate(e,g,m);n&&f(g,n,l,m||e.name);return l}}]}function rf(){this.$get=["$window",function(a){return F(a.document)}]}function sf(){this.$get=["$document","$rootScope",function(a,b){function d(){f=c.hidden}var c=a[0],f=c&&c.hidden;a.on("visibilitychange",d);b.$on("$destroy",function(){a.off("visibilitychange",d)});return function(){return f}}]}function tf(){this.$get= -["$log",function(a){return function(b,d){a.error.apply(a,arguments)}}]}function hc(a){return E(a)?ea(a)?a.toISOString():cb(a):a}function yf(){this.$get=function(){return function(a){if(!a)return"";var b=[];Dc(a,function(a,c){null===a||x(a)||(G(a)?q(a,function(a){b.push(ia(c)+"="+ia(hc(a)))}):b.push(ia(c)+"="+ia(hc(a))))});return b.join("&")}}}function zf(){this.$get=function(){return function(a){function b(a,f,e){null===a||x(a)||(G(a)?q(a,function(a,c){b(a,f+"["+(E(a)?c:"")+"]")}):E(a)&&!ea(a)?Dc(a, -function(a,c){b(a,f+(e?"":"[")+c+(e?"":"]"))}):d.push(ia(f)+"="+ia(hc(a))))}if(!a)return"";var d=[];b(a,"",!0);return d.join("&")}}}function ic(a,b){if(y(a)){var d=a.replace(ng,"").trim();if(d){var c=b("Content-Type");(c=c&&0===c.indexOf(nd))||(c=(c=d.match(og))&&pg[c[0]].test(d));c&&(a=Hc(d))}}return a}function od(a){var b=T(),d;y(a)?q(a.split("\n"),function(a){d=a.indexOf(":");var f=L(R(a.substr(0,d)));a=R(a.substr(d+1));f&&(b[f]=b[f]?b[f]+", "+a:a)}):E(a)&&q(a,function(a,d){var e=L(d),g=R(a);e&& -(b[e]=b[e]?b[e]+", "+g:g)});return b}function pd(a){var b;return function(d){b||(b=od(a));return d?(d=b[L(d)],void 0===d&&(d=null),d):b}}function qd(a,b,d,c){if(B(c))return c(a,b,d);q(c,function(c){a=c(a,b,d)});return a}function xf(){var a=this.defaults={transformResponse:[ic],transformRequest:[function(a){return E(a)&&"[object File]"!==la.call(a)&&"[object Blob]"!==la.call(a)&&"[object FormData]"!==la.call(a)?cb(a):a}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ja(jc),put:ja(jc), -patch:ja(jc)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},b=!1;this.useApplyAsync=function(a){return u(a)?(b=!!a,this):b};var d=this.interceptors=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(c,f,e,g,h,k,l,m){function n(b){function d(a,b){for(var c=0,e=b.length;ca?b:k.reject(b)}if(!E(b))throw H("$http")("badreq",b);if(!y(m.valueOf(b.url)))throw H("$http")("badreq",b.url);var g=Q({method:"get",transformRequest:a.transformRequest,transformResponse:a.transformResponse,paramSerializer:a.paramSerializer,jsonpCallbackParam:a.jsonpCallbackParam},b);g.headers=function(b){var c= -a.headers,d=Q({},b.headers),f,g,h,c=Q({},c.common,c[L(b.method)]);a:for(f in c){g=L(f);for(h in d)if(L(h)===g)continue a;d[f]=c[f]}return e(d,ja(b))}(b);g.method=ub(g.method);g.paramSerializer=y(g.paramSerializer)?l.get(g.paramSerializer):g.paramSerializer;c.$$incOutstandingRequestCount();var h=[],n=[];b=k.resolve(g);q(s,function(a){(a.request||a.requestError)&&h.unshift(a.request,a.requestError);(a.response||a.responseError)&&n.push(a.response,a.responseError)});b=d(b,h);b=b.then(function(b){var c= -b.headers,d=qd(b.data,pd(c),void 0,b.transformRequest);x(d)&&q(c,function(a,b){"content-type"===L(b)&&delete c[b]});x(b.withCredentials)&&!x(a.withCredentials)&&(b.withCredentials=a.withCredentials);return p(b,d).then(f,f)});b=d(b,n);return b=b.finally(function(){c.$$completeOutstandingRequest(v)})}function p(c,d){function g(a){if(a){var c={};q(a,function(a,d){c[d]=function(c){function d(){a(c)}b?h.$applyAsync(d):h.$$phase?d():h.$apply(d)}});return c}}function l(a,c,d,e){function f(){p(c,a,d,e)}P&& -(200<=a&&300>a?P.put(Y,[a,c,od(d),e]):P.remove(Y));b?h.$applyAsync(f):(f(),h.$$phase||h.$apply())}function p(a,b,d,e){b=-1<=b?b:0;(200<=b&&300>b?O.resolve:O.reject)({data:a,status:b,headers:pd(d),config:c,statusText:e})}function K(a){p(a.data,a.status,ja(a.headers()),a.statusText)}function s(){var a=n.pendingRequests.indexOf(c);-1!==a&&n.pendingRequests.splice(a,1)}var O=k.defer(),z=O.promise,P,I,V=c.headers,r="jsonp"===L(c.method),Y=c.url;r?Y=m.getTrustedResourceUrl(Y):y(Y)||(Y=m.valueOf(Y));Y=t(Y, -c.paramSerializer(c.params));r&&(Y=C(Y,c.jsonpCallbackParam));n.pendingRequests.push(c);z.then(s,s);!c.cache&&!a.cache||!1===c.cache||"GET"!==c.method&&"JSONP"!==c.method||(P=E(c.cache)?c.cache:E(a.cache)?a.cache:J);P&&(I=P.get(Y),u(I)?I&&B(I.then)?I.then(K,K):G(I)?p(I[1],I[0],ja(I[2]),I[3]):p(I,200,{},"OK"):P.put(Y,z));x(I)&&((I=rd(c.url)?e()[c.xsrfCookieName||a.xsrfCookieName]:void 0)&&(V[c.xsrfHeaderName||a.xsrfHeaderName]=I),f(c.method,Y,d,l,V,c.timeout,c.withCredentials,c.responseType,g(c.eventHandlers), -g(c.uploadEventHandlers)));return z}function t(a,b){0=l&&(w.resolve(s),q(r.$$intervalId),delete g[r.$$intervalId]);M||a.$apply()},k);g[r.$$intervalId]=w;return r}var g={};e.cancel=function(a){return a&&a.$$intervalId in g?(g[a.$$intervalId].promise.catch(v),g[a.$$intervalId].reject("canceled"),b.clearInterval(a.$$intervalId),delete g[a.$$intervalId],!0):!1};return e}]}function kc(a){a= -a.split("/");for(var b=a.length;b--;)a[b]=db(a[b]);return a.join("/")}function td(a,b){var d=Da(a);b.$$protocol=d.protocol;b.$$host=d.hostname;b.$$port=X(d.port)||rg[d.protocol]||null}function ud(a,b){if(sg.test(a))throw kb("badpath",a);var d="/"!==a.charAt(0);d&&(a="/"+a);var c=Da(a);b.$$path=decodeURIComponent(d&&"/"===c.pathname.charAt(0)?c.pathname.substring(1):c.pathname);b.$$search=Kc(c.search);b.$$hash=decodeURIComponent(c.hash);b.$$path&&"/"!==b.$$path.charAt(0)&&(b.$$path="/"+b.$$path)}function lc(a, -b){return a.slice(0,b.length)===b}function sa(a,b){if(lc(b,a))return b.substr(a.length)}function Ba(a){var b=a.indexOf("#");return-1===b?a:a.substr(0,b)}function lb(a){return a.replace(/(#.+)|#$/,"$1")}function mc(a,b,d){this.$$html5=!0;d=d||"";td(a,this);this.$$parse=function(a){var d=sa(b,a);if(!y(d))throw kb("ipthprfx",a,b);ud(d,this);this.$$path||(this.$$path="/");this.$$compose()};this.$$compose=function(){var a=Wb(this.$$search),d=this.$$hash?"#"+db(this.$$hash):"";this.$$url=kc(this.$$path)+ -(a?"?"+a:"")+d;this.$$absUrl=b+this.$$url.substr(1)};this.$$parseLinkUrl=function(c,f){if(f&&"#"===f[0])return this.hash(f.slice(1)),!0;var e,g;u(e=sa(a,c))?(g=e,g=d&&u(e=sa(d,e))?b+(sa("/",e)||e):a+g):u(e=sa(b,c))?g=b+e:b===c+"/"&&(g=b);g&&this.$$parse(g);return!!g}}function nc(a,b,d){td(a,this);this.$$parse=function(c){var f=sa(a,c)||sa(b,c),e;x(f)||"#"!==f.charAt(0)?this.$$html5?e=f:(e="",x(f)&&(a=c,this.replace())):(e=sa(d,f),x(e)&&(e=f));ud(e,this);c=this.$$path;var f=a,g=/^\/[A-Z]:(\/.*)/;lc(e, -f)&&(e=e.replace(f,""));g.exec(e)||(c=(e=g.exec(c))?e[1]:c);this.$$path=c;this.$$compose()};this.$$compose=function(){var b=Wb(this.$$search),f=this.$$hash?"#"+db(this.$$hash):"";this.$$url=kc(this.$$path)+(b?"?"+b:"")+f;this.$$absUrl=a+(this.$$url?d+this.$$url:"")};this.$$parseLinkUrl=function(b,d){return Ba(a)===Ba(b)?(this.$$parse(b),!0):!1}}function vd(a,b,d){this.$$html5=!0;nc.apply(this,arguments);this.$$parseLinkUrl=function(c,f){if(f&&"#"===f[0])return this.hash(f.slice(1)),!0;var e,g;a=== -Ba(c)?e=c:(g=sa(b,c))?e=a+d+g:b===c+"/"&&(e=b);e&&this.$$parse(e);return!!e};this.$$compose=function(){var b=Wb(this.$$search),f=this.$$hash?"#"+db(this.$$hash):"";this.$$url=kc(this.$$path)+(b?"?"+b:"")+f;this.$$absUrl=a+d+this.$$url}}function Ib(a){return function(){return this[a]}}function wd(a,b){return function(d){if(x(d))return this[a];this[a]=b(d);this.$$compose();return this}}function Df(){var a="!",b={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(b){return u(b)?(a=b, -this):a};this.html5Mode=function(a){if(Ia(a))return b.enabled=a,this;if(E(a)){Ia(a.enabled)&&(b.enabled=a.enabled);Ia(a.requireBase)&&(b.requireBase=a.requireBase);if(Ia(a.rewriteLinks)||y(a.rewriteLinks))b.rewriteLinks=a.rewriteLinks;return this}return b};this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(d,c,f,e,g){function h(a,b,d){var e=l.url(),f=l.$$state;try{c.url(a,b,d),l.$$state=c.state()}catch(g){throw l.url(e),l.$$state=f,g;}}function k(a,b){d.$broadcast("$locationChangeSuccess", -l.absUrl(),a,l.$$state,b)}var l,m;m=c.baseHref();var n=c.url(),p;if(b.enabled){if(!m&&b.requireBase)throw kb("nobase");p=n.substring(0,n.indexOf("/",n.indexOf("//")+2))+(m||"/");m=f.history?mc:vd}else p=Ba(n),m=nc;var t=p.substr(0,Ba(p).lastIndexOf("/")+1);l=new m(p,t,"#"+a);l.$$parseLinkUrl(n,n);l.$$state=c.state();var C=/^\s*(javascript|mailto):/i;e.on("click",function(a){var f=b.rewriteLinks;if(f&&!a.ctrlKey&&!a.metaKey&&!a.shiftKey&&2!==a.which&&2!==a.button){for(var h=F(a.target);"a"!==xa(h[0]);)if(h[0]=== -e[0]||!(h=h.parent())[0])return;if(!y(f)||!x(h.attr(f))){var f=h.prop("href"),k=h.attr("href")||h.attr("xlink:href");E(f)&&"[object SVGAnimatedString]"===f.toString()&&(f=Da(f.animVal).href);C.test(f)||!f||h.attr("target")||a.isDefaultPrevented()||!l.$$parseLinkUrl(f,k)||(a.preventDefault(),l.absUrl()!==c.url()&&(d.$apply(),g.angular["ff-684208-preventDefault"]=!0))}}});lb(l.absUrl())!==lb(n)&&c.url(l.absUrl(),!0);var q=!0;c.onUrlChange(function(a,b){lc(a,t)?(d.$evalAsync(function(){var c=l.absUrl(), -e=l.$$state,f;a=lb(a);l.$$parse(a);l.$$state=b;f=d.$broadcast("$locationChangeStart",a,c,b,e).defaultPrevented;l.absUrl()===a&&(f?(l.$$parse(c),l.$$state=e,h(c,!1,e)):(q=!1,k(c,e)))}),d.$$phase||d.$digest()):g.location.href=a});d.$watch(function(){var a=lb(c.url()),b=lb(l.absUrl()),e=c.state(),g=l.$$replace,m=a!==b||l.$$html5&&f.history&&e!==l.$$state;if(q||m)q=!1,d.$evalAsync(function(){var b=l.absUrl(),c=d.$broadcast("$locationChangeStart",b,a,l.$$state,e).defaultPrevented;l.absUrl()===b&&(c?(l.$$parse(a), -l.$$state=e):(m&&h(b,g,e===l.$$state?null:l.$$state),k(a,e)))});l.$$replace=!1});return l}]}function Ef(){var a=!0,b=this;this.debugEnabled=function(b){return u(b)?(a=b,this):a};this.$get=["$window",function(d){function c(a){a instanceof Error&&(a.stack?a=a.message&&-1===a.stack.indexOf(a.message)?"Error: "+a.message+"\n"+a.stack:a.stack:a.sourceURL&&(a=a.message+"\n"+a.sourceURL+":"+a.line));return a}function f(a){var b=d.console||{},f=b[a]||b.log||v;a=!1;try{a=!!f.apply}catch(k){}return a?function(){var a= -[];q(arguments,function(b){a.push(c(b))});return f.apply(b,a)}:function(a,b){f(a,null==b?"":b)}}return{log:f("log"),info:f("info"),warn:f("warn"),error:f("error"),debug:function(){var c=f("debug");return function(){a&&c.apply(b,arguments)}}()}}]}function tg(a){return a+""}function ug(a,b){return"undefined"!==typeof a?a:b}function xd(a,b){return"undefined"===typeof a?b:"undefined"===typeof b?a:a+b}function S(a,b){var d,c,f;switch(a.type){case r.Program:d=!0;q(a.body,function(a){S(a.expression,b);d= -d&&a.expression.constant});a.constant=d;break;case r.Literal:a.constant=!0;a.toWatch=[];break;case r.UnaryExpression:S(a.argument,b);a.constant=a.argument.constant;a.toWatch=a.argument.toWatch;break;case r.BinaryExpression:S(a.left,b);S(a.right,b);a.constant=a.left.constant&&a.right.constant;a.toWatch=a.left.toWatch.concat(a.right.toWatch);break;case r.LogicalExpression:S(a.left,b);S(a.right,b);a.constant=a.left.constant&&a.right.constant;a.toWatch=a.constant?[]:[a];break;case r.ConditionalExpression:S(a.test, -b);S(a.alternate,b);S(a.consequent,b);a.constant=a.test.constant&&a.alternate.constant&&a.consequent.constant;a.toWatch=a.constant?[]:[a];break;case r.Identifier:a.constant=!1;a.toWatch=[a];break;case r.MemberExpression:S(a.object,b);a.computed&&S(a.property,b);a.constant=a.object.constant&&(!a.computed||a.property.constant);a.toWatch=[a];break;case r.CallExpression:d=f=a.filter?!b(a.callee.name).$stateful:!1;c=[];q(a.arguments,function(a){S(a,b);d=d&&a.constant;a.constant||c.push.apply(c,a.toWatch)}); -a.constant=d;a.toWatch=f?c:[a];break;case r.AssignmentExpression:S(a.left,b);S(a.right,b);a.constant=a.left.constant&&a.right.constant;a.toWatch=[a];break;case r.ArrayExpression:d=!0;c=[];q(a.elements,function(a){S(a,b);d=d&&a.constant;a.constant||c.push.apply(c,a.toWatch)});a.constant=d;a.toWatch=c;break;case r.ObjectExpression:d=!0;c=[];q(a.properties,function(a){S(a.value,b);d=d&&a.value.constant&&!a.computed;a.value.constant||c.push.apply(c,a.value.toWatch)});a.constant=d;a.toWatch=c;break;case r.ThisExpression:a.constant= -!1;a.toWatch=[];break;case r.LocalsExpression:a.constant=!1,a.toWatch=[]}}function yd(a){if(1===a.length){a=a[0].expression;var b=a.toWatch;return 1!==b.length?b:b[0]!==a?b:void 0}}function zd(a){return a.type===r.Identifier||a.type===r.MemberExpression}function Ad(a){if(1===a.body.length&&zd(a.body[0].expression))return{type:r.AssignmentExpression,left:a.body[0].expression,right:{type:r.NGValueParameter},operator:"="}}function Bd(a){return 0===a.body.length||1===a.body.length&&(a.body[0].expression.type=== -r.Literal||a.body[0].expression.type===r.ArrayExpression||a.body[0].expression.type===r.ObjectExpression)}function Cd(a,b){this.astBuilder=a;this.$filter=b}function Dd(a,b){this.astBuilder=a;this.$filter=b}function oc(a){return B(a.valueOf)?a.valueOf():vg.call(a)}function Ff(){var a=T(),b={"true":!0,"false":!1,"null":null,undefined:void 0},d,c;this.addLiteral=function(a,c){b[a]=c};this.setIdentifierFns=function(a,b){d=a;c=b;return this};this.$get=["$filter",function(f){function e(a,b){return null== -a||null==b?a===b:"object"===typeof a&&(a=oc(a),"object"===typeof a)?!1:a===b||a!==a&&b!==b}function g(a,b,c,d,f){var g=d.inputs,h;if(1===g.length){var k=e,g=g[0];return a.$watch(function(a){var b=g(a);e(b,k)||(h=d(a,void 0,void 0,[b]),k=b&&oc(b));return h},b,c,f)}for(var l=[],m=[],n=0,q=g.length;n=c.$$state.status&&e&&e.length&&a(function(){for(var a, -c,f=0,g=e.length;fa)for(b in l++,f)va.call(e,b)||(s--,delete f[b])}else f!==e&&(f=e,l++);return l}}c.$stateful=!0;var d=this,e,f,h,k=1q&&(A=4-q,x[A]||(x[A]=[]),x[A].push({msg:B(a.exp)?"fn: "+(a.exp.name||a.exp.toString()): -a.exp,newVal:g,oldVal:k}));else if(a===c){s=!1;break a}}catch(E){e(E)}if(!(p=v.$$watchersCount&&v.$$childHead||v!==this&&v.$$nextSibling))for(;v!==this&&!(p=v.$$nextSibling);)v=v.$parent}while(v=p);if((s||w.length)&&!q--)throw M.$$phase=null,d("infdig",b,x);}while(s||w.length);for(M.$$phase=null;DLa)throw ua("iequirks");var c=ja(qa);c.isEnabled=function(){return a}; -c.trustAs=d.trustAs;c.getTrusted=d.getTrusted;c.valueOf=d.valueOf;a||(c.trustAs=c.getTrusted=function(a,b){return b},c.valueOf=Ya);c.parseAs=function(a,d){var e=b(d);return e.literal&&e.constant?e:b(d,function(b){return c.getTrusted(a,b)})};var f=c.parseAs,e=c.getTrusted,g=c.trustAs;q(qa,function(a,b){var d=L(b);c[("parse_as_"+d).replace(rc,gb)]=function(b){return f(a,b)};c[("get_trusted_"+d).replace(rc,gb)]=function(b){return e(a,b)};c[("trust_as_"+d).replace(rc,gb)]=function(b){return g(a,b)}}); -return c}]}function Lf(){this.$get=["$window","$document",function(a,b){var d={},c=!(a.chrome&&(a.chrome.app&&a.chrome.app.runtime||!a.chrome.app&&a.chrome.runtime&&a.chrome.runtime.id))&&a.history&&a.history.pushState,f=X((/android (\d+)/.exec(L((a.navigator||{}).userAgent))||[])[1]),e=/Boxee/i.test((a.navigator||{}).userAgent),g=b[0]||{},h=g.body&&g.body.style,k=!1,l=!1;h&&(k=!!("transition"in h||"webkitTransition"in h),l=!!("animation"in h||"webkitAnimation"in h));return{history:!(!c||4>f||e), -hasEvent:function(a){if("input"===a&&La)return!1;if(x(d[a])){var b=g.createElement("div");d[a]="on"+a in b}return d[a]},csp:za(),transitions:k,animations:l,android:f}}]}function Nf(){var a;this.httpOptions=function(b){return b?(a=b,this):a};this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(b,d,c,f,e){function g(h,k){g.totalPendingRequests++;if(!y(h)||x(d.get(h)))h=e.getTrustedResourceUrl(h);var l=c.defaults&&c.defaults.transformResponse;G(l)?l=l.filter(function(a){return a!== -ic}):l===ic&&(l=null);return c.get(h,Q({cache:d,transformResponse:l},a)).finally(function(){g.totalPendingRequests--}).then(function(a){d.put(h,a.data);return a.data},function(a){k||(a=xg("tpload",h,a.status,a.statusText),b(a));return f.reject(a)})}g.totalPendingRequests=0;return g}]}function Of(){this.$get=["$rootScope","$browser","$location",function(a,b,d){return{findBindings:function(a,b,d){a=a.getElementsByClassName("ng-binding");var g=[];q(a,function(a){var c=Z.element(a).data("$binding");c&& -q(c,function(c){d?(new RegExp("(^|\\s)"+Fd(b)+"(\\s|\\||$)")).test(c)&&g.push(a):-1!==c.indexOf(b)&&g.push(a)})});return g},findModels:function(a,b,d){for(var g=["ng-","data-ng-","ng\\:"],h=0;hc&&(c=f),c+=+a.slice(f+1),a=a.substring(0,f)):0>c&&(c=a.length);for(f=0;a.charAt(f)===tc;f++);if(f===(g=a.length))d=[0],c=1;else{for(g--;a.charAt(g)===tc;)g--;c-=f;d=[];for(e=0;f<=g;f++,e++)d[e]=+a.charAt(f)}c>Pd&&(d=d.splice(0,Pd-1),b=c-1,c=1);return{d:d,e:b,i:c}}function Fg(a,b,d,c){var f=a.d,e=f.length-a.i;b=x(b)?Math.min(Math.max(d,e),c):+b;d=b+a.i;c=f[d];if(0d-1){for(c=0;c>d;c--)f.unshift(0),a.i++;f.unshift(1);a.i++}else f[d-1]++;for(;eh;)k.unshift(0),h++;0=b.lgSize&&h.unshift(k.splice(-b.lgSize,k.length).join(""));k.length>b.gSize;)h.unshift(k.splice(-b.gSize,k.length).join(""));k.length&&h.unshift(k.join(""));k=h.join(d);e.length&&(k+=c+e.join(""));f&&(k+="e+"+f)}return 0>a&&!g?b.negPre+k+b.negSuf:b.posPre+k+b.posSuf}function Jb(a,b,d,c){var f="";if(0>a||c&&0>=a)c?a=-a+1:(a=-a,f="-");for(a=""+a;a.length-d)e+=d;0===e&&-12===d&&(e=12);return Jb(e,b,c,f)}}function mb(a,b,d){return function(c,f){var e=c["get"+a](),g=ub((d?"STANDALONE":"")+(b?"SHORT":"")+a);return f[g][e]}}function Qd(a){var b=(new Date(a,0,1)).getDay();return new Date(a,0,(4>=b?5:12)-b)}function Rd(a){return function(b){var d=Qd(b.getFullYear());b=+new Date(b.getFullYear(),b.getMonth(),b.getDate()+(4-b.getDay()))-+d;b=1+ -Math.round(b/6048E5);return Jb(b,a)}}function uc(a,b){return 0>=a.getFullYear()?b.ERAS[0]:b.ERAS[1]}function Kd(a){function b(a){var b;if(b=a.match(d)){a=new Date(0);var e=0,g=0,h=b[8]?a.setUTCFullYear:a.setFullYear,k=b[8]?a.setUTCHours:a.setHours;b[9]&&(e=X(b[9]+b[10]),g=X(b[9]+b[11]));h.call(a,X(b[1]),X(b[2])-1,X(b[3]));e=X(b[4]||0)-e;g=X(b[5]||0)-g;h=X(b[6]||0);b=Math.round(1E3*parseFloat("0."+(b[7]||0)));k.call(a,e,g,h,b)}return a}var d=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/; -return function(c,d,e){var g="",h=[],k,l;d=d||"mediumDate";d=a.DATETIME_FORMATS[d]||d;y(c)&&(c=Gg.test(c)?X(c):b(c));W(c)&&(c=new Date(c));if(!ea(c)||!isFinite(c.getTime()))return c;for(;d;)(l=Hg.exec(d))?(h=ab(h,l,1),d=h.pop()):(h.push(d),d=null);var m=c.getTimezoneOffset();e&&(m=Ic(e,m),c=Vb(c,e,!0));q(h,function(b){k=Ig[b];g+=k?k(c,a.DATETIME_FORMATS,m):"''"===b?"'":b.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return g}}function zg(){return function(a,b){x(b)&&(b=2);return cb(a,b)}}function Ag(){return function(a, -b,d){b=Infinity===Math.abs(Number(b))?Number(b):X(b);if(ga(b))return a;W(a)&&(a=a.toString());if(!ta(a))return a;d=!d||isNaN(d)?0:X(d);d=0>d?Math.max(0,a.length+d):d;return 0<=b?vc(a,d,d+b):0===d?vc(a,b,a.length):vc(a,Math.max(0,d+b),d)}}function vc(a,b,d){return y(a)?a.slice(b,d):wa.call(a,b,d)}function Md(a){function b(b){return b.map(function(b){var c=1,d=Ya;if(B(b))d=b;else if(y(b)){if("+"===b.charAt(0)||"-"===b.charAt(0))c="-"===b.charAt(0)?-1:1,b=b.substring(1);if(""!==b&&(d=a(b),d.constant))var f= -d(),d=function(a){return a[f]}}return{get:d,descending:c}})}function d(a){switch(typeof a){case "number":case "boolean":case "string":return!0;default:return!1}}function c(a,b){var c=0,d=a.type,k=b.type;if(d===k){var k=a.value,l=b.value;"string"===d?(k=k.toLowerCase(),l=l.toLowerCase()):"object"===d&&(E(k)&&(k=a.index),E(l)&&(l=b.index));k!==l&&(c=kb||37<=b&&40>=b||m(a,this,this.value)});if(f.hasEvent("paste"))b.on("paste cut",m)}b.on("change",l);if(Wd[g]&&c.$$hasNativeValidators&&g===d.type)b.on("keydown wheel mousedown",function(a){if(!k){var b=this.validity,c=b.badInput,d=b.typeMismatch;k=e.defer(function(){k=null;b.badInput===c&&b.typeMismatch===d||l(a)})}});c.$render=function(){var a=c.$isEmpty(c.$viewValue)? -"":c.$viewValue;b.val()!==a&&b.val(a)}}function Mb(a,b){return function(d,c){var f,e;if(ea(d))return d;if(y(d)){'"'===d.charAt(0)&&'"'===d.charAt(d.length-1)&&(d=d.substring(1,d.length-1));if(Jg.test(d))return new Date(d);a.lastIndex=0;if(f=a.exec(d))return f.shift(),e=c?{yyyy:c.getFullYear(),MM:c.getMonth()+1,dd:c.getDate(),HH:c.getHours(),mm:c.getMinutes(),ss:c.getSeconds(),sss:c.getMilliseconds()/1E3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},q(f,function(a,c){c=r};g.$observe("min",function(a){r=p(a);h.$validate()})}if(u(g.max)||g.ngMax){var s;h.$validators.max=function(a){return!n(a)||x(s)||d(a)<=s};g.$observe("max",function(a){s=p(a);h.$validate()})}}}function xc(a,b,d,c){(c.$$hasNativeValidators=E(b[0].validity))&&c.$parsers.push(function(a){var c=b.prop("validity")||{};return c.badInput||c.typeMismatch?void 0:a})}function Xd(a){a.$$parserName= -"number";a.$parsers.push(function(b){if(a.$isEmpty(b))return null;if(Kg.test(b))return parseFloat(b)});a.$formatters.push(function(b){if(!a.$isEmpty(b)){if(!W(b))throw pb("numfmt",b);b=b.toString()}return b})}function Ta(a){u(a)&&!W(a)&&(a=parseFloat(a));return ga(a)?void 0:a}function yc(a){var b=a.toString(),d=b.indexOf(".");return-1===d?-1a&&(a=/e-(\d+)$/.exec(b))?Number(a[1]):0:b.length-d-1}function Yd(a,b,d){a=Number(a);if((a|0)!==a||(b|0)!==b||(d|0)!==d){var c=Math.max(yc(a),yc(b),yc(d)), -c=Math.pow(10,c);a*=c;b*=c;d*=c}return 0===(a-b)%d}function Zd(a,b,d,c,f){if(u(c)){a=a(c);if(!a.constant)throw pb("constexpr",d,c);return a(b)}return f}function zc(a,b){a="ngClass"+a;return["$animate",function(d){function c(a,b){var c=[],d=0;a:for(;d(?:<\/\1>|)$/,Zb=/<|&#?\w+;/,Wf=/<([\w:-]+)/,Xf=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,oa={option:[1,'"],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};oa.optgroup=oa.option;oa.tbody=oa.tfoot=oa.colgroup=oa.caption=oa.thead;oa.th=oa.td;var dg=A.Node.prototype.contains||function(a){return!!(this.compareDocumentPosition(a)&16)},Na=U.prototype={ready:Zc,toString:function(){var a=[];q(this,function(b){a.push(""+b)});return"["+a.join(", ")+"]"}, -eq:function(a){return 0<=a?F(this[a]):F(this[this.length+a])},length:0,push:Ng,sort:[].sort,splice:[].splice},Fb={};q("multiple selected checked disabled readOnly required open".split(" "),function(a){Fb[L(a)]=a});var dd={};q("input select option textarea button form details".split(" "),function(a){dd[a]=!0});var kd={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};q({data:cc,removeData:hb,hasData:function(a){for(var b in ib[a.ng339])return!0; -return!1},cleanData:function(a){for(var b=0,d=a.length;b/,gg=/^[^(]*\(\s*([^)]*)\)/m,Pg=/,/,Qg=/^\s*(_?)(\S+?)\1\s*$/,eg=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,ca=H("$injector");eb.$$annotate=function(a,b,d){var c;if("function"===typeof a){if(!(c=a.$inject)){c=[];if(a.length){if(b)throw y(d)&&d||(d=a.name||hg(a)),ca("strictdi",d);b=ed(a);q(b[1].split(Pg),function(a){a.replace(Qg,function(a,b,d){c.push(d)})})}a.$inject=c}}else G(a)?(b=a.length-1,sb(a[b],"fn"),c=a.slice(0,b)):sb(a, -"fn",!0);return c};var ae=H("$animate"),kf=function(){this.$get=v},lf=function(){var a=new Pa,b=[];this.$get=["$$AnimateRunner","$rootScope",function(d,c){function f(a,b,c){var d=!1;b&&(b=y(b)?b.split(" "):G(b)?b:[],q(b,function(b){b&&(d=!0,a[b]=c)}));return d}function e(){q(b,function(b){var c=a.get(b);if(c){var d=ig(b.attr("class")),e="",f="";q(c,function(a,b){a!==!!d[b]&&(a?e+=(e.length?" ":"")+b:f+=(f.length?" ":"")+b)});q(b,function(a){e&&Cb(a,e);f&&Bb(a,f)});a.remove(b)}});b.length=0}return{enabled:v, -on:v,off:v,pin:v,push:function(g,h,k,l){l&&l();k=k||{};k.from&&g.css(k.from);k.to&&g.css(k.to);if(k.addClass||k.removeClass)if(h=k.addClass,l=k.removeClass,k=a.get(g)||{},h=f(k,h,!0),l=f(k,l,!1),h||l)a.put(g,k),b.push(g),1===b.length&&c.$$postDigest(e);g=new d;g.complete();return g}}}]},hf=["$provide",function(a){var b=this;this.$$registeredAnimations=Object.create(null);this.register=function(d,c){if(d&&"."!==d.charAt(0))throw ae("notcsel",d);var f=d+"-animation";b.$$registeredAnimations[d.substr(1)]= -f;a.factory(f,c)};this.classNameFilter=function(a){if(1===arguments.length&&(this.$$classNameFilter=a instanceof RegExp?a:null)&&/(\s+|\/)ng-animate(\s+|\/)/.test(this.$$classNameFilter.toString()))throw ae("nongcls","ng-animate");return this.$$classNameFilter};this.$get=["$$animateQueue",function(a){function b(a,c,d){if(d){var h;a:{for(h=0;h <= >= && || ! = |".split(" "),function(a){Pb[a]=!0});var Tg={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},pc=function(a){this.options=a};pc.prototype={constructor:pc,lex:function(a){this.text=a;this.index=0;for(this.tokens=[];this.index=a&&"string"===typeof a},isWhitespace:function(a){return" "===a||"\r"===a||"\t"===a||"\n"===a||"\v"===a||"\u00a0"===a},isIdentifierStart:function(a){return this.options.isIdentifierStart?this.options.isIdentifierStart(a,this.codePointAt(a)):this.isValidIdentifierStart(a)},isValidIdentifierStart:function(a){return"a"<=a&&"z">=a||"A"<=a&&"Z">=a||"_"===a||"$"===a},isIdentifierContinue:function(a){return this.options.isIdentifierContinue? -this.options.isIdentifierContinue(a,this.codePointAt(a)):this.isValidIdentifierContinue(a)},isValidIdentifierContinue:function(a,b){return this.isValidIdentifierStart(a,b)||this.isNumber(a)},codePointAt:function(a){return 1===a.length?a.charCodeAt(0):(a.charCodeAt(0)<<10)+a.charCodeAt(1)-56613888},peekMultichar:function(){var a=this.text.charAt(this.index),b=this.peek();if(!b)return a;var d=a.charCodeAt(0),c=b.charCodeAt(0);return 55296<=d&&56319>=d&&56320<=c&&57343>=c?a+b:a},isExpOperator:function(a){return"-"=== -a||"+"===a||this.isNumber(a)},throwError:function(a,b,d){d=d||this.index;b=u(b)?"s "+b+"-"+this.index+" ["+this.text.substring(b,d)+"]":" "+d;throw Ua("lexerr",a,b,this.text);},readNumber:function(){for(var a="",b=this.index;this.index","<=",">=");)a={type:r.BinaryExpression,operator:b.text,left:a,right:this.additive()};return a},additive:function(){for(var a=this.multiplicative(),b;b=this.expect("+","-");)a={type:r.BinaryExpression,operator:b.text,left:a,right:this.multiplicative()};return a},multiplicative:function(){for(var a=this.unary(),b;b=this.expect("*","/","%");)a={type:r.BinaryExpression,operator:b.text,left:a,right:this.unary()};return a}, -unary:function(){var a;return(a=this.expect("+","-","!"))?{type:r.UnaryExpression,operator:a.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var a;this.expect("(")?(a=this.filterChain(),this.consume(")")):this.expect("[")?a=this.arrayDeclaration():this.expect("{")?a=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?a=Fa(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?a={type:r.Literal,value:this.options.literals[this.consume().text]}: -this.peek().identifier?a=this.identifier():this.peek().constant?a=this.constant():this.throwError("not a primary expression",this.peek());for(var b;b=this.expect("(","[",".");)"("===b.text?(a={type:r.CallExpression,callee:a,arguments:this.parseArguments()},this.consume(")")):"["===b.text?(a={type:r.MemberExpression,object:a,property:this.expression(),computed:!0},this.consume("]")):"."===b.text?a={type:r.MemberExpression,object:a,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE"); -return a},filter:function(a){a=[a];for(var b={type:r.CallExpression,callee:this.identifier(),arguments:a,filter:!0};this.expect(":");)a.push(this.expression());return b},parseArguments:function(){var a=[];if(")"!==this.peekToken().text){do a.push(this.filterChain());while(this.expect(","))}return a},identifier:function(){var a=this.consume();a.identifier||this.throwError("is not a valid identifier",a);return{type:r.Identifier,name:a.text}},constant:function(){return{type:r.Literal,value:this.consume().value}}, -arrayDeclaration:function(){var a=[];if("]"!==this.peekToken().text){do{if(this.peek("]"))break;a.push(this.expression())}while(this.expect(","))}this.consume("]");return{type:r.ArrayExpression,elements:a}},object:function(){var a=[],b;if("}"!==this.peekToken().text){do{if(this.peek("}"))break;b={type:r.Property,kind:"init"};this.peek().constant?(b.key=this.constant(),b.computed=!1,this.consume(":"),b.value=this.expression()):this.peek().identifier?(b.key=this.identifier(),b.computed=!1,this.peek(":")? -(this.consume(":"),b.value=this.expression()):b.value=b.key):this.peek("[")?(this.consume("["),b.key=this.expression(),this.consume("]"),b.computed=!0,this.consume(":"),b.value=this.expression()):this.throwError("invalid key",this.peek());a.push(b)}while(this.expect(","))}this.consume("}");return{type:r.ObjectExpression,properties:a}},throwError:function(a,b){throw Ua("syntax",b.text,a,b.index+1,this.text,this.text.substring(b.index));},consume:function(a){if(0===this.tokens.length)throw Ua("ueoe", -this.text);var b=this.expect(a);b||this.throwError("is unexpected, expecting ["+a+"]",this.peek());return b},peekToken:function(){if(0===this.tokens.length)throw Ua("ueoe",this.text);return this.tokens[0]},peek:function(a,b,d,c){return this.peekAhead(0,a,b,d,c)},peekAhead:function(a,b,d,c,f){if(this.tokens.length>a){a=this.tokens[a];var e=a.text;if(e===b||e===d||e===c||e===f||!(b||d||c||f))return a}return!1},expect:function(a,b,d,c){return(a=this.peek(a,b,d,c))?(this.tokens.shift(),a):!1},selfReferential:{"this":{type:r.ThisExpression}, -$locals:{type:r.LocalsExpression}}};Cd.prototype={compile:function(a){var b=this;a=this.astBuilder.ast(a);this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]};S(a,b.$filter);var d="",c;this.stage="assign";if(c=Ad(a))this.state.computing="assign",d=this.nextId(),this.recurse(c,d),this.return_(d),d="fn.assign="+this.generateFunction("assign","s,v,l");c=yd(a.body);b.stage="inputs";q(c,function(a,c){var d="fn"+c;b.state[d]={vars:[],body:[],own:{}};b.state.computing= -d;var h=b.nextId();b.recurse(a,h);b.return_(h);b.state.inputs.push(d);a.watchId=c});this.state.computing="fn";this.stage="main";this.recurse(a);d='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+d+this.watchFns()+"return fn;";d=(new Function("$filter","getStringValue","ifDefined","plus",d))(this.$filter,tg,ug,xd);this.state=this.stage=void 0;d.literal=Bd(a);d.constant=a.constant;return d},USE:"use",STRICT:"strict",watchFns:function(){var a=[], -b=this.state.inputs,d=this;q(b,function(b){a.push("var "+b+"="+d.generateFunction(b,"s"))});b.length&&a.push("fn.inputs=["+b.join(",")+"];");return a.join("")},generateFunction:function(a,b){return"function("+b+"){"+this.varsPrefix(a)+this.body(a)+"};"},filterPrefix:function(){var a=[],b=this;q(this.state.filters,function(d,c){a.push(d+"=$filter("+b.escape(c)+")")});return a.length?"var "+a.join(",")+";":""},varsPrefix:function(a){return this.state[a].vars.length?"var "+this.state[a].vars.join(",")+ -";":""},body:function(a){return this.state[a].body.join("")},recurse:function(a,b,d,c,f,e){var g,h,k=this,l,m,n;c=c||v;if(!e&&u(a.watchId))b=b||this.nextId(),this.if_("i",this.lazyAssign(b,this.computedMember("i",a.watchId)),this.lazyRecurse(a,b,d,c,f,!0));else switch(a.type){case r.Program:q(a.body,function(b,c){k.recurse(b.expression,void 0,void 0,function(a){h=a});c!==a.body.length-1?k.current().body.push(h,";"):k.return_(h)});break;case r.Literal:m=this.escape(a.value);this.assign(b,m);c(b||m); -break;case r.UnaryExpression:this.recurse(a.argument,void 0,void 0,function(a){h=a});m=a.operator+"("+this.ifDefined(h,0)+")";this.assign(b,m);c(m);break;case r.BinaryExpression:this.recurse(a.left,void 0,void 0,function(a){g=a});this.recurse(a.right,void 0,void 0,function(a){h=a});m="+"===a.operator?this.plus(g,h):"-"===a.operator?this.ifDefined(g,0)+a.operator+this.ifDefined(h,0):"("+g+")"+a.operator+"("+h+")";this.assign(b,m);c(m);break;case r.LogicalExpression:b=b||this.nextId();k.recurse(a.left, -b);k.if_("&&"===a.operator?b:k.not(b),k.lazyRecurse(a.right,b));c(b);break;case r.ConditionalExpression:b=b||this.nextId();k.recurse(a.test,b);k.if_(b,k.lazyRecurse(a.alternate,b),k.lazyRecurse(a.consequent,b));c(b);break;case r.Identifier:b=b||this.nextId();d&&(d.context="inputs"===k.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",a.name)+"?l:s"),d.computed=!1,d.name=a.name);k.if_("inputs"===k.stage||k.not(k.getHasOwnProperty("l",a.name)),function(){k.if_("inputs"===k.stage||"s",function(){f&& -1!==f&&k.if_(k.isNull(k.nonComputedMember("s",a.name)),k.lazyAssign(k.nonComputedMember("s",a.name),"{}"));k.assign(b,k.nonComputedMember("s",a.name))})},b&&k.lazyAssign(b,k.nonComputedMember("l",a.name)));c(b);break;case r.MemberExpression:g=d&&(d.context=this.nextId())||this.nextId();b=b||this.nextId();k.recurse(a.object,g,void 0,function(){k.if_(k.notNull(g),function(){a.computed?(h=k.nextId(),k.recurse(a.property,h),k.getStringValue(h),f&&1!==f&&k.if_(k.not(k.computedMember(g,h)),k.lazyAssign(k.computedMember(g, -h),"{}")),m=k.computedMember(g,h),k.assign(b,m),d&&(d.computed=!0,d.name=h)):(f&&1!==f&&k.if_(k.isNull(k.nonComputedMember(g,a.property.name)),k.lazyAssign(k.nonComputedMember(g,a.property.name),"{}")),m=k.nonComputedMember(g,a.property.name),k.assign(b,m),d&&(d.computed=!1,d.name=a.property.name))},function(){k.assign(b,"undefined")});c(b)},!!f);break;case r.CallExpression:b=b||this.nextId();a.filter?(h=k.filter(a.callee.name),l=[],q(a.arguments,function(a){var b=k.nextId();k.recurse(a,b);l.push(b)}), -m=h+"("+l.join(",")+")",k.assign(b,m),c(b)):(h=k.nextId(),g={},l=[],k.recurse(a.callee,h,g,function(){k.if_(k.notNull(h),function(){q(a.arguments,function(b){k.recurse(b,a.constant?void 0:k.nextId(),void 0,function(a){l.push(a)})});m=g.name?k.member(g.context,g.name,g.computed)+"("+l.join(",")+")":h+"("+l.join(",")+")";k.assign(b,m)},function(){k.assign(b,"undefined")});c(b)}));break;case r.AssignmentExpression:h=this.nextId();g={};this.recurse(a.left,void 0,g,function(){k.if_(k.notNull(g.context), -function(){k.recurse(a.right,h);m=k.member(g.context,g.name,g.computed)+a.operator+h;k.assign(b,m);c(b||m)})},1);break;case r.ArrayExpression:l=[];q(a.elements,function(b){k.recurse(b,a.constant?void 0:k.nextId(),void 0,function(a){l.push(a)})});m="["+l.join(",")+"]";this.assign(b,m);c(b||m);break;case r.ObjectExpression:l=[];n=!1;q(a.properties,function(a){a.computed&&(n=!0)});n?(b=b||this.nextId(),this.assign(b,"{}"),q(a.properties,function(a){a.computed?(g=k.nextId(),k.recurse(a.key,g)):g=a.key.type=== -r.Identifier?a.key.name:""+a.key.value;h=k.nextId();k.recurse(a.value,h);k.assign(k.member(b,g,a.computed),h)})):(q(a.properties,function(b){k.recurse(b.value,a.constant?void 0:k.nextId(),void 0,function(a){l.push(k.escape(b.key.type===r.Identifier?b.key.name:""+b.key.value)+":"+a)})}),m="{"+l.join(",")+"}",this.assign(b,m));c(b||m);break;case r.ThisExpression:this.assign(b,"s");c(b||"s");break;case r.LocalsExpression:this.assign(b,"l");c(b||"l");break;case r.NGValueParameter:this.assign(b,"v"),c(b|| -"v")}},getHasOwnProperty:function(a,b){var d=a+"."+b,c=this.current().own;c.hasOwnProperty(d)||(c[d]=this.nextId(!1,a+"&&("+this.escape(b)+" in "+a+")"));return c[d]},assign:function(a,b){if(a)return this.current().body.push(a,"=",b,";"),a},filter:function(a){this.state.filters.hasOwnProperty(a)||(this.state.filters[a]=this.nextId(!0));return this.state.filters[a]},ifDefined:function(a,b){return"ifDefined("+a+","+this.escape(b)+")"},plus:function(a,b){return"plus("+a+","+b+")"},return_:function(a){this.current().body.push("return ", -a,";")},if_:function(a,b,d){if(!0===a)b();else{var c=this.current().body;c.push("if(",a,"){");b();c.push("}");d&&(c.push("else{"),d(),c.push("}"))}},not:function(a){return"!("+a+")"},isNull:function(a){return a+"==null"},notNull:function(a){return a+"!=null"},nonComputedMember:function(a,b){var d=/[^$_a-zA-Z0-9]/g;return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(b)?a+"."+b:a+'["'+b.replace(d,this.stringEscapeFn)+'"]'},computedMember:function(a,b){return a+"["+b+"]"},member:function(a,b,d){return d?this.computedMember(a, -b):this.nonComputedMember(a,b)},getStringValue:function(a){this.assign(a,"getStringValue("+a+")")},lazyRecurse:function(a,b,d,c,f,e){var g=this;return function(){g.recurse(a,b,d,c,f,e)}},lazyAssign:function(a,b){var d=this;return function(){d.assign(a,b)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)},escape:function(a){if(y(a))return"'"+a.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(W(a))return a.toString(); -if(!0===a)return"true";if(!1===a)return"false";if(null===a)return"null";if("undefined"===typeof a)return"undefined";throw Ua("esc");},nextId:function(a,b){var d="v"+this.state.nextId++;a||this.current().vars.push(d+(b?"="+b:""));return d},current:function(){return this.state[this.state.computing]}};Dd.prototype={compile:function(a){var b=this;a=this.astBuilder.ast(a);S(a,b.$filter);var d,c;if(d=Ad(a))c=this.recurse(d);d=yd(a.body);var f;d&&(f=[],q(d,function(a,c){var d=b.recurse(a);a.input=d;f.push(d); -a.watchId=c}));var e=[];q(a.body,function(a){e.push(b.recurse(a.expression))});d=0===a.body.length?v:1===a.body.length?e[0]:function(a,b){var c;q(e,function(d){c=d(a,b)});return c};c&&(d.assign=function(a,b,d){return c(a,d,b)});f&&(d.inputs=f);d.literal=Bd(a);d.constant=a.constant;return d},recurse:function(a,b,d){var c,f,e=this,g;if(a.input)return this.inputs(a.input,a.watchId);switch(a.type){case r.Literal:return this.value(a.value,b);case r.UnaryExpression:return f=this.recurse(a.argument),this["unary"+ -a.operator](f,b);case r.BinaryExpression:return c=this.recurse(a.left),f=this.recurse(a.right),this["binary"+a.operator](c,f,b);case r.LogicalExpression:return c=this.recurse(a.left),f=this.recurse(a.right),this["binary"+a.operator](c,f,b);case r.ConditionalExpression:return this["ternary?:"](this.recurse(a.test),this.recurse(a.alternate),this.recurse(a.consequent),b);case r.Identifier:return e.identifier(a.name,b,d);case r.MemberExpression:return c=this.recurse(a.object,!1,!!d),a.computed||(f=a.property.name), -a.computed&&(f=this.recurse(a.property)),a.computed?this.computedMember(c,f,b,d):this.nonComputedMember(c,f,b,d);case r.CallExpression:return g=[],q(a.arguments,function(a){g.push(e.recurse(a))}),a.filter&&(f=this.$filter(a.callee.name)),a.filter||(f=this.recurse(a.callee,!0)),a.filter?function(a,c,d,e){for(var n=[],p=0;p":function(a,b,d){return function(c,f,e,g){c=a(c,f,e,g)>b(c,f,e,g);return d?{value:c}:c}},"binary<=":function(a,b,d){return function(c,f,e,g){c=a(c,f,e, -g)<=b(c,f,e,g);return d?{value:c}:c}},"binary>=":function(a,b,d){return function(c,f,e,g){c=a(c,f,e,g)>=b(c,f,e,g);return d?{value:c}:c}},"binary&&":function(a,b,d){return function(c,f,e,g){c=a(c,f,e,g)&&b(c,f,e,g);return d?{value:c}:c}},"binary||":function(a,b,d){return function(c,f,e,g){c=a(c,f,e,g)||b(c,f,e,g);return d?{value:c}:c}},"ternary?:":function(a,b,d,c){return function(f,e,g,h){f=a(f,e,g,h)?b(f,e,g,h):d(f,e,g,h);return c?{value:f}:f}},value:function(a,b){return function(){return b?{context:void 0, -name:void 0,value:a}:a}},identifier:function(a,b,d){return function(c,f,e,g){c=f&&a in f?f:c;d&&1!==d&&c&&null==c[a]&&(c[a]={});f=c?c[a]:void 0;return b?{context:c,name:a,value:f}:f}},computedMember:function(a,b,d,c){return function(f,e,g,h){var k=a(f,e,g,h),l,m;null!=k&&(l=b(f,e,g,h),l+="",c&&1!==c&&k&&!k[l]&&(k[l]={}),m=k[l]);return d?{context:k,name:l,value:m}:m}},nonComputedMember:function(a,b,d,c){return function(f,e,g,h){f=a(f,e,g,h);c&&1!==c&&f&&null==f[b]&&(f[b]={});e=null!=f?f[b]:void 0; -return d?{context:f,name:b,value:e}:e}},inputs:function(a,b){return function(d,c,f,e){return e?e[b]:a(d,c,f)}}};var qc=function(a,b,d){this.lexer=a;this.$filter=b;this.options=d;this.ast=new r(a,d);this.astCompiler=d.csp?new Dd(this.ast,b):new Cd(this.ast,b)};qc.prototype={constructor:qc,parse:function(a){return this.astCompiler.compile(a)}};var ua=H("$sce"),qa={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},rc=/_([a-z])/g,xg=H("$compile"),ba=A.document.createElement("a"),Hd= -Da(A.location.href);Id.$inject=["$document"];Wc.$inject=["$provide"];var Pd=22,Od=".",tc="0";Jd.$inject=["$locale"];Ld.$inject=["$locale"];var Ig={yyyy:$("FullYear",4,0,!1,!0),yy:$("FullYear",2,0,!0,!0),y:$("FullYear",1,0,!1,!0),MMMM:mb("Month"),MMM:mb("Month",!0),MM:$("Month",2,1),M:$("Month",1,1),LLLL:mb("Month",!1,!0),dd:$("Date",2),d:$("Date",1),HH:$("Hours",2),H:$("Hours",1),hh:$("Hours",2,-12),h:$("Hours",1,-12),mm:$("Minutes",2),m:$("Minutes",1),ss:$("Seconds",2),s:$("Seconds",1),sss:$("Milliseconds", -3),EEEE:mb("Day"),EEE:mb("Day",!0),a:function(a,b){return 12>a.getHours()?b.AMPMS[0]:b.AMPMS[1]},Z:function(a,b,d){a=-1*d;return a=(0<=a?"+":"")+(Jb(Math[0=a.getFullYear()?b.ERANAMES[0]:b.ERANAMES[1]}},Hg=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Gg=/^-?\d+$/;Kd.$inject=["$locale"];var Bg=fa(L),Cg=fa(ub);Md.$inject=["$parse"];var ze=fa({restrict:"E", -compile:function(a,b){if(!b.href&&!b.xlinkHref)return function(a,b){if("a"===b[0].nodeName.toLowerCase()){var f="[object SVGAnimatedString]"===la.call(b.prop("href"))?"xlink:href":"href";b.on("click",function(a){b.attr(f)||a.preventDefault()})}}}}),vb={};q(Fb,function(a,b){function d(a,d,f){a.$watch(f[c],function(a){f.$set(b,!!a)})}if("multiple"!==a){var c=Ca("ng-"+b),f=d;"checked"===a&&(f=function(a,b,f){f.ngModel!==f[c]&&d(a,b,f)});vb[c]=function(){return{restrict:"A",priority:100,link:f}}}});q(kd, -function(a,b){vb[b]=function(){return{priority:100,link:function(a,c,f){if("ngPattern"===b&&"/"===f.ngPattern.charAt(0)&&(c=f.ngPattern.match(Mg))){f.$set("ngPattern",new RegExp(c[1],c[2]));return}a.$watch(f[b],function(a){f.$set(b,a)})}}}});q(["src","srcset","href"],function(a){var b=Ca("ng-"+a);vb[b]=function(){return{priority:99,link:function(d,c,f){var e=a,g=a;"href"===a&&"[object SVGAnimatedString]"===la.call(c.prop("href"))&&(g="xlinkHref",f.$attr[g]="xlink:href",e=null);f.$observe(b,function(b){b? -(f.$set(g,b),La&&e&&c.prop(e,f[g])):"href"===a&&f.$set(g,null)})}}}});var Lb={$addControl:v,$$renameControl:function(a,b){a.$name=b},$removeControl:v,$setValidity:v,$setDirty:v,$setPristine:v,$setSubmitted:v};Kb.$inject=["$element","$attrs","$scope","$animate","$interpolate"];Kb.prototype={$rollbackViewValue:function(){q(this.$$controls,function(a){a.$rollbackViewValue()})},$commitViewValue:function(){q(this.$$controls,function(a){a.$commitViewValue()})},$addControl:function(a){Oa(a.$name,"input"); -this.$$controls.push(a);a.$name&&(this[a.$name]=a);a.$$parentForm=this},$$renameControl:function(a,b){var d=a.$name;this[d]===a&&delete this[d];this[b]=a;a.$name=b},$removeControl:function(a){a.$name&&this[a.$name]===a&&delete this[a.$name];q(this.$pending,function(b,d){this.$setValidity(d,null,a)},this);q(this.$error,function(b,d){this.$setValidity(d,null,a)},this);q(this.$$success,function(b,d){this.$setValidity(d,null,a)},this);$a(this.$$controls,a);a.$$parentForm=Lb},$setDirty:function(){this.$$animate.removeClass(this.$$element, -Va);this.$$animate.addClass(this.$$element,Qb);this.$dirty=!0;this.$pristine=!1;this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,Va,Qb+" ng-submitted");this.$dirty=!1;this.$pristine=!0;this.$submitted=!1;q(this.$$controls,function(a){a.$setPristine()})},$setUntouched:function(){q(this.$$controls,function(a){a.$setUntouched()})},$setSubmitted:function(){this.$$animate.addClass(this.$$element,"ng-submitted");this.$submitted=!0;this.$$parentForm.$setSubmitted()}}; -Ud({clazz:Kb,set:function(a,b,d){var c=a[b];c?-1===c.indexOf(d)&&c.push(d):a[b]=[d]},unset:function(a,b,d){var c=a[b];c&&($a(c,d),0===c.length&&delete a[b])}});var be=function(a){return["$timeout","$parse",function(b,d){function c(a){return""===a?d('this[""]').assign:d(a).assign||v}return{name:"form",restrict:a?"EAC":"E",require:["form","^^?form"],controller:Kb,compile:function(d,e){d.addClass(Va).addClass(nb);var g=e.name?"name":a&&e.ngForm?"ngForm":!1;return{pre:function(a,d,e,f){var n=f[0];if(!("action"in -e)){var p=function(b){a.$apply(function(){n.$commitViewValue();n.$setSubmitted()});b.preventDefault()};d[0].addEventListener("submit",p);d.on("$destroy",function(){b(function(){d[0].removeEventListener("submit",p)},0,!1)})}(f[1]||n.$$parentForm).$addControl(n);var q=g?c(n.$name):v;g&&(q(a,n),e.$observe(g,function(b){n.$name!==b&&(q(a,void 0),n.$$parentForm.$$renameControl(n,b),q=c(n.$name),q(a,n))}));d.on("$destroy",function(){n.$$parentForm.$removeControl(n);q(a,void 0);Q(n,Lb)})}}}}}]},Ae=be(), -Me=be(!0),Jg=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Ug=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Vg=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,Kg=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,ce=/^(\d{4,})-(\d{2})-(\d{2})$/,de=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/, -Bc=/^(\d{4,})-W(\d\d)$/,ee=/^(\d{4,})-(\d\d)$/,fe=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Wd=T();q(["date","datetime-local","month","time","week"],function(a){Wd[a]=!0});var ge={text:function(a,b,d,c,f,e){Sa(a,b,d,c,f,e);wc(c)},date:ob("date",ce,Mb(ce,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":ob("datetimelocal",de,Mb(de,"yyyy MM dd HH mm ss sss".split(" ")),"yyyy-MM-ddTHH:mm:ss.sss"),time:ob("time",fe,Mb(fe,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:ob("week",Bc,function(a,b){if(ea(a))return a; -if(y(a)){Bc.lastIndex=0;var d=Bc.exec(a);if(d){var c=+d[1],f=+d[2],e=d=0,g=0,h=0,k=Qd(c),f=7*(f-1);b&&(d=b.getHours(),e=b.getMinutes(),g=b.getSeconds(),h=b.getMilliseconds());return new Date(c,0,k.getDate()+f,d,e,g,h)}}return NaN},"yyyy-Www"),month:ob("month",ee,Mb(ee,["yyyy","MM"]),"yyyy-MM"),number:function(a,b,d,c,f,e){xc(a,b,d,c);Xd(c);Sa(a,b,d,c,f,e);var g,h;if(u(d.min)||d.ngMin)c.$validators.min=function(a){return c.$isEmpty(a)||x(g)||a>=g},d.$observe("min",function(a){g=Ta(a);c.$validate()}); -if(u(d.max)||d.ngMax)c.$validators.max=function(a){return c.$isEmpty(a)||x(h)||a<=h},d.$observe("max",function(a){h=Ta(a);c.$validate()});if(u(d.step)||d.ngStep){var k;c.$validators.step=function(a,b){return c.$isEmpty(b)||x(k)||Yd(b,g||0,k)};d.$observe("step",function(a){k=Ta(a);c.$validate()})}},url:function(a,b,d,c,f,e){Sa(a,b,d,c,f,e);wc(c);c.$$parserName="url";c.$validators.url=function(a,b){var d=a||b;return c.$isEmpty(d)||Ug.test(d)}},email:function(a,b,d,c,f,e){Sa(a,b,d,c,f,e);wc(c);c.$$parserName= -"email";c.$validators.email=function(a,b){var d=a||b;return c.$isEmpty(d)||Vg.test(d)}},radio:function(a,b,d,c){var f=!d.ngTrim||"false"!==R(d.ngTrim);x(d.name)&&b.attr("name",++qb);b.on("click",function(a){var g;b[0].checked&&(g=d.value,f&&(g=R(g)),c.$setViewValue(g,a&&a.type))});c.$render=function(){var a=d.value;f&&(a=R(a));b[0].checked=a===c.$viewValue};d.$observe("value",c.$render)},range:function(a,b,d,c,f,e){function g(a,c){b.attr(a,d[a]);d.$observe(a,c)}function h(a){n=Ta(a);ga(c.$modelValue)|| -(m?(a=b.val(),n>a&&(a=n,b.val(a)),c.$setViewValue(a)):c.$validate())}function k(a){p=Ta(a);ga(c.$modelValue)||(m?(a=b.val(),p=n},g("min",h));f&&(c.$validators.max=m?function(){return!0}:function(a,b){return c.$isEmpty(b)||x(p)||b<=p},g("max",k));e&&(c.$validators.step=m?function(){return!r.stepMismatch}:function(a,b){return c.$isEmpty(b)||x(q)||Yd(b,n||0,q)},g("step",l))},checkbox:function(a,b,d,c,f,e,g,h){var k=Zd(h,a,"ngTrueValue",d.ngTrueValue,!0),l=Zd(h,a,"ngFalseValue", -d.ngFalseValue,!1);b.on("click",function(a){c.$setViewValue(b[0].checked,a&&a.type)});c.$render=function(){b[0].checked=c.$viewValue};c.$isEmpty=function(a){return!1===a};c.$formatters.push(function(a){return ma(a,k)});c.$parsers.push(function(a){return a?k:l})},hidden:v,button:v,submit:v,reset:v,file:v},Qc=["$browser","$sniffer","$filter","$parse",function(a,b,d,c){return{restrict:"E",require:["?ngModel"],link:{pre:function(f,e,g,h){h[0]&&(ge[L(g.type)]||ge.text)(f,e,g,h[0],b,a,d,c)}}}}],Wg=/^(true|false|\d+)$/, -df=function(){return{restrict:"A",priority:100,compile:function(a,b){return Wg.test(b.ngValue)?function(a,b,f){a=a.$eval(f.ngValue);b.prop("value",a);f.$set("value",a)}:function(a,b,f){a.$watch(f.ngValue,function(a){b.prop("value",a);f.$set("value",a)})}}}},Ee=["$compile",function(a){return{restrict:"AC",compile:function(b){a.$$addBindingClass(b);return function(b,c,f){a.$$addBindingInfo(c,f.ngBind);c=c[0];b.$watch(f.ngBind,function(a){c.textContent=Xb(a)})}}}}],Ge=["$interpolate","$compile",function(a, -b){return{compile:function(d){b.$$addBindingClass(d);return function(c,d,e){c=a(d.attr(e.$attr.ngBindTemplate));b.$$addBindingInfo(d,c.expressions);d=d[0];e.$observe("ngBindTemplate",function(a){d.textContent=x(a)?"":a})}}}}],Fe=["$sce","$parse","$compile",function(a,b,d){return{restrict:"A",compile:function(c,f){var e=b(f.ngBindHtml),g=b(f.ngBindHtml,function(b){return a.valueOf(b)});d.$$addBindingClass(c);return function(b,c,f){d.$$addBindingInfo(c,f.ngBindHtml);b.$watch(g,function(){var d=e(b); -c.html(a.getTrustedHtml(d)||"")})}}}}],cf=fa({restrict:"A",require:"ngModel",link:function(a,b,d,c){c.$viewChangeListeners.push(function(){a.$eval(d.ngChange)})}}),He=zc("",!0),Je=zc("Odd",0),Ie=zc("Even",1),Ke=Ra({compile:function(a,b){b.$set("ngCloak",void 0);a.removeClass("ng-cloak")}}),Le=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Vc={},Xg={blur:!0,focus:!0};q("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "), -function(a){var b=Ca("ng-"+a);Vc[b]=["$parse","$rootScope",function(d,c){return{restrict:"A",compile:function(f,e){var g=d(e[b],null,!0);return function(b,d){d.on(a,function(d){var e=function(){g(b,{$event:d})};Xg[a]&&c.$$phase?b.$evalAsync(e):b.$apply(e)})}}}}]});var Oe=["$animate","$compile",function(a,b){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(d,c,f,e,g){var h,k,l;d.$watch(f.ngIf,function(d){d?k||g(function(d,e){k=e;d[d.length++]= -b.$$createComment("end ngIf",f.ngIf);h={clone:d};a.enter(d,c.parent(),c)}):(l&&(l.remove(),l=null),k&&(k.$destroy(),k=null),h&&(l=tb(h.clone),a.leave(l).done(function(a){!1!==a&&(l=null)}),h=null))})}}}],Pe=["$templateRequest","$anchorScroll","$animate",function(a,b,d){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Z.noop,compile:function(c,f){var e=f.ngInclude||f.src,g=f.onload||"",h=f.autoscroll;return function(c,f,m,n,p){var q=0,r,v,s,x=function(){v&&(v.remove(), -v=null);r&&(r.$destroy(),r=null);s&&(d.leave(s).done(function(a){!1!==a&&(v=null)}),v=s,s=null)};c.$watch(e,function(e){var m=function(a){!1===a||!u(h)||h&&!c.$eval(h)||b()},v=++q;e?(a(e,!0).then(function(a){if(!c.$$destroyed&&v===q){var b=c.$new();n.template=a;a=p(b,function(a){x();d.enter(a,null,f).done(m)});r=b;s=a;r.$emit("$includeContentLoaded",e);c.$eval(g)}},function(){c.$$destroyed||v!==q||(x(),c.$emit("$includeContentError",e))}),c.$emit("$includeContentRequested",e)):(x(),n.template=null)})}}}}], -ff=["$compile",function(a){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(b,d,c,f){la.call(d[0]).match(/SVG/)?(d.empty(),a(Yc(f.template,A.document).childNodes)(b,function(a){d.append(a)},{futureParentElement:d})):(d.html(f.template),a(d.contents())(b))}}}],Qe=Ra({priority:450,compile:function(){return{pre:function(a,b,d){a.$eval(d.ngInit)}}}}),bf=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(a,b,d,c){var f=d.ngList||", ",e="false"!==d.ngTrim,g= -e?R(f):f;c.$parsers.push(function(a){if(!x(a)){var b=[];a&&q(a.split(g),function(a){a&&b.push(e?R(a):a)});return b}});c.$formatters.push(function(a){if(G(a))return a.join(f)});c.$isEmpty=function(a){return!a||!a.length}}}},nb="ng-valid",Td="ng-invalid",Va="ng-pristine",Qb="ng-dirty",pb=H("ngModel");Nb.$inject="$scope $exceptionHandler $attrs $element $parse $animate $timeout $q $interpolate".split(" ");Nb.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var a= -this.$$parse(this.$$attr.ngModel+"()"),b=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(b){var c=this.$$parsedNgModel(b);B(c)&&(c=a(b));return c};this.$$ngModelSet=function(a,c){B(this.$$parsedNgModel(a))?b(a,{$$$p:c}):this.$$parsedNgModelAssign(a,c)}}else if(!this.$$parsedNgModel.assign)throw pb("nonassign",this.$$attr.ngModel,ya(this.$$element));},$render:v,$isEmpty:function(a){return x(a)||""===a||null===a||a!==a},$$updateEmptyClasses:function(a){this.$isEmpty(a)?(this.$$animate.removeClass(this.$$element, -"ng-not-empty"),this.$$animate.addClass(this.$$element,"ng-empty")):(this.$$animate.removeClass(this.$$element,"ng-empty"),this.$$animate.addClass(this.$$element,"ng-not-empty"))},$setPristine:function(){this.$dirty=!1;this.$pristine=!0;this.$$animate.removeClass(this.$$element,Qb);this.$$animate.addClass(this.$$element,Va)},$setDirty:function(){this.$dirty=!0;this.$pristine=!1;this.$$animate.removeClass(this.$$element,Va);this.$$animate.addClass(this.$$element,Qb);this.$$parentForm.$setDirty()}, -$setUntouched:function(){this.$touched=!1;this.$untouched=!0;this.$$animate.setClass(this.$$element,"ng-untouched","ng-touched")},$setTouched:function(){this.$touched=!0;this.$untouched=!1;this.$$animate.setClass(this.$$element,"ng-touched","ng-untouched")},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce);this.$viewValue=this.$$lastCommittedViewValue;this.$render()},$validate:function(){if(!ga(this.$modelValue)){var a=this.$$lastCommittedViewValue,b=this.$$rawModelValue, -d=this.$valid,c=this.$modelValue,f=this.$options.getOption("allowInvalid"),e=this;this.$$runValidators(b,a,function(a){f||d===a||(e.$modelValue=a?b:void 0,e.$modelValue!==c&&e.$$writeModelToScope())})}},$$runValidators:function(a,b,d){function c(){var c=!0;q(k.$validators,function(d,f){var g=Boolean(d(a,b));c=c&&g;e(f,g)});return c?!0:(q(k.$asyncValidators,function(a,b){e(b,null)}),!1)}function f(){var c=[],d=!0;q(k.$asyncValidators,function(f,g){var h=f(a,b);if(!h||!B(h.then))throw pb("nopromise", -h);e(g,void 0);c.push(h.then(function(){e(g,!0)},function(){d=!1;e(g,!1)}))});c.length?k.$$q.all(c).then(function(){g(d)},v):g(!0)}function e(a,b){h===k.$$currentValidationRunId&&k.$setValidity(a,b)}function g(a){h===k.$$currentValidationRunId&&d(a)}this.$$currentValidationRunId++;var h=this.$$currentValidationRunId,k=this;(function(){var a=k.$$parserName||"parse";if(x(k.$$parserValid))e(a,null);else return k.$$parserValid||(q(k.$validators,function(a,b){e(b,null)}),q(k.$asyncValidators,function(a, -b){e(b,null)})),e(a,k.$$parserValid),k.$$parserValid;return!0})()?c()?f():g(!1):g(!1)},$commitViewValue:function(){var a=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce);if(this.$$lastCommittedViewValue!==a||""===a&&this.$$hasNativeValidators)this.$$updateEmptyClasses(a),this.$$lastCommittedViewValue=a,this.$pristine&&this.$setDirty(),this.$$parseAndValidate()},$$parseAndValidate:function(){var a=this.$$lastCommittedViewValue,b=this;if(this.$$parserValid=x(a)?void 0:!0)for(var d=0;d< -this.$parsers.length;d++)if(a=this.$parsers[d](a),x(a)){this.$$parserValid=!1;break}ga(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var c=this.$modelValue,f=this.$options.getOption("allowInvalid");this.$$rawModelValue=a;f&&(this.$modelValue=a,b.$modelValue!==c&&b.$$writeModelToScope());this.$$runValidators(a,this.$$lastCommittedViewValue,function(d){f||(b.$modelValue=d?a:void 0,b.$modelValue!==c&&b.$$writeModelToScope())})},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope, -this.$modelValue);q(this.$viewChangeListeners,function(a){try{a()}catch(b){this.$$exceptionHandler(b)}},this)},$setViewValue:function(a,b){this.$viewValue=a;this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(b)},$$debounceViewValueCommit:function(a){var b=this.$options.getOption("debounce");W(b[a])?b=b[a]:W(b["default"])&&(b=b["default"]);this.$$timeout.cancel(this.$$pendingDebounce);var d=this;0f||c.$isEmpty(b)||b.length<=f}}}}},Tc=function(){return{restrict:"A",require:"?ngModel", -link:function(a,b,d,c){if(c){var f=0;d.$observe("minlength",function(a){f=X(a)||0;c.$validate()});c.$validators.minlength=function(a,b){return c.$isEmpty(b)||b.length>=f}}}}};A.angular.bootstrap?A.console&&console.log("WARNING: Tried to load angular more than once."):(te(),we(Z),Z.module("ngLocale",[],["$provide",function(a){function b(a){a+="";var b=a.indexOf(".");return-1==b?0:a.length-b-1}a.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), -ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:"January February March April May June July August September October November December".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),STANDALONEMONTH:"January February March April May June July August September October November December".split(" "),WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a", -mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-\u00a4",negSuf:"",posPre:"\u00a4",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(a,c){var f=a|0,e=c;void 0===e&&(e=Math.min(b(a),3));Math.pow(10,e);return 1==f&&0== -e?"one":"other"}})}]),F(function(){oe(A.document,Lc)}))})(window);!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend(''); -//# sourceMappingURL=angular.min.js.map diff --git a/js/libs/bootstrap-filestyle.js b/js/libs/bootstrap-filestyle.js deleted file mode 100644 index 4a6c1df1..00000000 --- a/js/libs/bootstrap-filestyle.js +++ /dev/null @@ -1,357 +0,0 @@ -/* - * bootstrap-filestyle - * doc: http://markusslima.github.io/bootstrap-filestyle/ - * github: https://github.com/markusslima/bootstrap-filestyle - * - * Copyright (c) 2014 Markus Vinicius da Silva Lima - * Version 1.2.1 - * Licensed under the MIT license. - */ -(function($) {"use strict"; - - var nextId = 0; - - var Filestyle = function(element, options) { - this.options = options; - this.$elementFilestyle = []; - this.$element = $(element); - }; - - Filestyle.prototype = { - clear : function() { - this.$element.val(''); - this.$elementFilestyle.find(':text').val(''); - this.$elementFilestyle.find('.badge').remove(); - }, - - destroy : function() { - this.$element.removeAttr('style').removeData('filestyle'); - this.$elementFilestyle.remove(); - }, - - disabled : function(value) { - if (value === true) { - if (!this.options.disabled) { - this.$element.attr('disabled', 'true'); - this.$elementFilestyle.find('label').attr('disabled', 'true'); - this.options.disabled = true; - } - } else if (value === false) { - if (this.options.disabled) { - this.$element.removeAttr('disabled'); - this.$elementFilestyle.find('label').removeAttr('disabled'); - this.options.disabled = false; - } - } else { - return this.options.disabled; - } - }, - - buttonBefore : function(value) { - if (value === true) { - if (!this.options.buttonBefore) { - this.options.buttonBefore = true; - if (this.options.input) { - this.$elementFilestyle.remove(); - this.constructor(); - this.pushNameFiles(); - } - } - } else if (value === false) { - if (this.options.buttonBefore) { - this.options.buttonBefore = false; - if (this.options.input) { - this.$elementFilestyle.remove(); - this.constructor(); - this.pushNameFiles(); - } - } - } else { - return this.options.buttonBefore; - } - }, - - icon : function(value) { - if (value === true) { - if (!this.options.icon) { - this.options.icon = true; - this.$elementFilestyle.find('label').prepend(this.htmlIcon()); - } - } else if (value === false) { - if (this.options.icon) { - this.options.icon = false; - this.$elementFilestyle.find('.icon-span-filestyle').remove(); - } - } else { - return this.options.icon; - } - }, - - input : function(value) { - if (value === true) { - if (!this.options.input) { - this.options.input = true; - - if (this.options.buttonBefore) { - this.$elementFilestyle.append(this.htmlInput()); - } else { - this.$elementFilestyle.prepend(this.htmlInput()); - } - - this.$elementFilestyle.find('.badge').remove(); - - this.pushNameFiles(); - - this.$elementFilestyle.find('.group-span-filestyle').addClass('input-group-btn'); - } - } else if (value === false) { - if (this.options.input) { - this.options.input = false; - this.$elementFilestyle.find(':text').remove(); - var files = this.pushNameFiles(); - if (files.length > 0 && this.options.badge) { - this.$elementFilestyle.find('label').append(' ' + files.length + ''); - } - this.$elementFilestyle.find('.group-span-filestyle').removeClass('input-group-btn'); - } - } else { - return this.options.input; - } - }, - - size : function(value) { - if (value !== undefined) { - var btn = this.$elementFilestyle.find('label'), input = this.$elementFilestyle.find('input'); - - btn.removeClass('btn-lg btn-sm'); - input.removeClass('input-lg input-sm'); - if (value != 'nr') { - btn.addClass('btn-' + value); - input.addClass('input-' + value); - } - } else { - return this.options.size; - } - }, - - placeholder : function(value) { - if (value !== undefined) { - this.options.placeholder = value; - this.$elementFilestyle.find('input').attr('placeholder', value); - } else { - return this.options.placeholder; - } - }, - - buttonText : function(value) { - if (value !== undefined) { - this.options.buttonText = value; - this.$elementFilestyle.find('label .buttonText').html(this.options.buttonText); - } else { - return this.options.buttonText; - } - }, - - buttonName : function(value) { - if (value !== undefined) { - this.options.buttonName = value; - this.$elementFilestyle.find('label').attr({ - 'class' : 'btn ' + this.options.buttonName - }); - } else { - return this.options.buttonName; - } - }, - - iconName : function(value) { - if (value !== undefined) { - this.$elementFilestyle.find('.icon-span-filestyle').attr({ - 'class' : 'icon-span-filestyle ' + this.options.iconName - }); - } else { - return this.options.iconName; - } - }, - - htmlIcon : function() { - if (this.options.icon) { - return ' '; - } else { - return ''; - } - }, - - htmlInput : function() { - if (this.options.input) { - return ' '; - } else { - return ''; - } - }, - - // puts the name of the input files - // return files - pushNameFiles : function() { - var content = '', files = []; - if (this.$element[0].files === undefined) { - files[0] = { - 'name' : this.$element[0] && this.$element[0].value - }; - } else { - files = this.$element[0].files; - } - - for (var i = 0; i < files.length; i++) { - content += files[i].name.split("\\").pop() + ', '; - } - - if (content !== '') { - this.$elementFilestyle.find(':text').val(content.replace(/\, $/g, '')); - } else { - this.$elementFilestyle.find(':text').val(''); - } - - return files; - }, - - constructor : function() { - var _self = this, - html = '', - id = _self.$element.attr('id'), - files = [], - btn = '', - clear = '', - $label; - - if (id === '' || !id) { - id = 'filestyle-' + nextId; - _self.$element.attr({ - 'id' : id - }); - nextId++; - } - - html = '
    '; - btn = '' - clear = '' - - html = _self.options.buttonBefore ? html + btn + clear + '
    ' + _self.htmlInput() : _self.htmlInput() + html + clear + btn + '
    '; - - _self.$elementFilestyle = $('
    ' + html + '
    '); - _self.$elementFilestyle.find('.group-span-filestyle').attr('tabindex', "0").keypress(function(e) { - if (e.keyCode === 13 || e.charCode === 32) { - _self.$elementFilestyle.find('label').click(); - return false; - } - }); - _self.$elementFilestyle.find('#' + id + '-clear').click(function(e) { - _self.clear(); - }); - - // hidding input file and add filestyle - _self.$element.css({ - 'position' : 'absolute', - 'clip' : 'rect(0px 0px 0px 0px)' // using 0px for work in IE8 - }).attr('tabindex', "-1").after(_self.$elementFilestyle); - - if (_self.options.disabled || _self.$element.attr('disabled')) { - _self.$element.attr('disabled', 'true'); - } - - // Getting input file value - _self.$element.change(function() { - var files = _self.pushNameFiles(); - - if (_self.options.input == false && _self.options.badge) { - if (_self.$elementFilestyle.find('.badge').length == 0) { - _self.$elementFilestyle.find('label').append(' ' + files.length + ''); - } else if (files.length == 0) { - _self.$elementFilestyle.find('.badge').remove(); - } else { - _self.$elementFilestyle.find('.badge').html(files.length); - } - } else { - _self.$elementFilestyle.find('.badge').remove(); - } - }); - - // Check if browser is Firefox - if (window.navigator.userAgent.search(/firefox/i) > -1) { - // Simulating choose file for firefox - _self.$elementFilestyle.find('label').click(function() { - _self.$element.click(); - return false; - }); - } - } - }; - - var old = $.fn.filestyle; - - $.fn.filestyle = function(option, value) { - var get = '', element = this.each(function() { - if ($(this).attr('type') === 'file') { - var $this = $(this), data = $this.data('filestyle'), options = $.extend({}, $.fn.filestyle.defaults, option, typeof option === 'object' && option); - - if (!data) { - $this.data('filestyle', ( data = new Filestyle(this, options))); - data.constructor(); - } - - if ( typeof option === 'string') { - get = data[option](value); - } - } - }); - - if ( typeof get !== undefined) { - return get; - } else { - return element; - } - }; - - $.fn.filestyle.defaults = { - 'buttonText' : 'Choose file', - 'iconName' : 'glyphicon glyphicon-folder-open', - 'buttonName' : 'btn-default', - 'size' : 'nr', - 'input' : true, - 'badge' : true, - 'icon' : true, - 'buttonBefore' : false, - 'disabled' : false, - 'placeholder': '' - }; - - $.fn.filestyle.noConflict = function() { - $.fn.filestyle = old; - return this; - }; - - $(function() { - $('.filestyle').each(function() { - var $this = $(this), options = { - - 'input' : $this.attr('data-input') !== 'false', - 'icon' : $this.attr('data-icon') !== 'false', - 'buttonBefore' : $this.attr('data-buttonBefore') === 'true', - 'disabled' : $this.attr('data-disabled') === 'true', - 'size' : $this.attr('data-size'), - 'buttonText' : $this.attr('data-buttonText'), - 'buttonName' : $this.attr('data-buttonName'), - 'iconName' : $this.attr('data-iconName'), - 'badge' : $this.attr('data-badge') !== 'false', - 'placeholder': $this.attr('data-placeholder') - }; - - $this.filestyle(options); - }); - }); -})(window.jQuery); diff --git a/js/libs/jquery-2.2.4.min.js b/js/libs/jquery-2.2.4.min.js deleted file mode 100644 index 4024b662..00000000 --- a/js/libs/jquery-2.2.4.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/*! jQuery v2.2.4 | (c) jQuery Foundation | 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=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="2.2.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 e.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.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()},push:g,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){var b=a&&a.toString();return!n.isArray(a)&&b-parseFloat(b)+1>=0},isPlainObject:function(a){var b;if("object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;if(a.constructor&&!k.call(a,"constructor")&&!k.call(a.constructor.prototype||{},"isPrototypeOf"))return!1;for(b in a);return void 0===b||k.call(a,b)},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?i[j.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=d.createElement("script"),b.text=a,d.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){var c,d=0;if(s(a)){for(c=a.length;c>d;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[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):g.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:h.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,e,g=0,h=[];if(s(a))for(d=a.length;d>g;g++)e=b(a[g],g,c),null!=e&&h.push(e);else for(g in a)e=b(a[g],g,c),null!=e&&h.push(e);return f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(d=e.call(arguments,2),f=function(){return a.apply(b||this,d.concat(e.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:l}),"function"==typeof Symbol&&(n.fn[Symbol.iterator]=c[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){i["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=!!a&&"length"in a&&a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:"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=ga(),z=ga(),A=ga(),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="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+L+"*\\]",O=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new RegExp(L+"+","g"),Q=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),R=new RegExp("^"+L+"*,"+L+"*"),S=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),T=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),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")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=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)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(ea){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 fa(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[id='"+k+"']";while(h--)r[h]=l+" "+qa(r[h]);s=r.join(","),w=_.test(a)&&oa(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function ga(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ha(a){return a[u]=!0,a}function ia(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ja(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ka(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 la(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function na(a){return ha(function(b){return b=+b,ha(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 oa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=fa.support={},f=fa.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fa.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ia(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ia(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ia(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.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]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);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"undefined"!=typeof b.getElementsByClassName&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ia(function(a){o.appendChild(a).innerHTML="",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(".#.+[+~]")}),ia(function(a){var b=n.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=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ia(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.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===n||a.ownerDocument===v&&t(v,a)?-1:b===n||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,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ka(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ka(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},fa.matches=function(a,b){return fa(a,null,null,b)},fa.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!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 fa(b,n,null,[a]).length>0},fa.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fa.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},fa.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fa.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=fa.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=fa.selectors={cacheLength:50,createPseudo:ha,match:W,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(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fa.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]&&fa.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.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(ba,ca).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=fa.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(P," ")+" ").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,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fa.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ha(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:ha(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ha(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:ha(function(a){return function(b){return fa(a,b).length>0}}),contains:ha(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ha(function(a){return V.test(a||"")||fa.error("unsupported lang: "+a),a=a.replace(ba,ca).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 Y.test(a.nodeName)},input:function(a){return X.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:na(function(){return[0]}),last:na(function(a,b){return[b-1]}),eq:na(function(a,b,c){return[0>c?c+b:c]}),even:na(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:na(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:na(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:na(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function ra(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,k=[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(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function sa(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 ta(a,b,c){for(var d=0,e=b.length;e>d;d++)fa(a,b[d],c);return c}function ua(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 va(a,b,c,d,e,f){return d&&!d[u]&&(d=va(d)),e&&!e[u]&&(e=va(e,f)),ha(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ta(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ua(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ua(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=ua(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function wa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ra(function(a){return a===b},h,!0),l=ra(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=[ra(sa(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 va(i>1&&sa(m),i>1&&qa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,e>i&&wa(a.slice(i,e)),f>e&&wa(a=a.slice(e)),f>e&&qa(a))}m.push(c)}return sa(m)}function xa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ua(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&fa.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ha(f):f}return h=fa.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xa(e,d)),f.selector=a}return f},i=fa.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(ba,ca),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.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(ba,ca),_.test(j[0].type)&&oa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qa(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&oa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ia(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ia(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ja("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ia(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ja("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ia(function(a){return null==a.getAttribute("disabled")})||ja(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}),fa}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=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},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(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(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return h.call(b,a)>-1!==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(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:B.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&f.parentNode&&(this.length=1,this[0]=f),this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?void 0!==c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};C.prototype=n.fn,A=n(d);var D=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};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=w.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.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?h.call(n(a),this[0]):h.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.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function F(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 u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return F(a,"nextSibling")},prev:function(a){return F(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling")},prevAll:function(a){return u(a,"previousSibling")},nextUntil:function(a,b,c){return u(a,"nextSibling",c)},prevUntil:function(a,b,c){return u(a,"previousSibling",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(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&&(E[a]||n.uniqueSort(e),D.test(a)&&e.reverse()),this.pushStack(e)}});var G=/\S+/g;function H(a){var b={};return n.each(a.match(G)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?H(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),h>=c&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},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().progress(c.notify).done(c.resolve).fail(c.reject):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=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);d>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return f||g.resolveWith(k,c),g.promise()}});var I;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||(I.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler("ready"),n(d).off("ready"))))}});function J(){d.removeEventListener("DOMContentLoaded",J),a.removeEventListener("load",J),n.ready()}n.ready.promise=function(b){return I||(I=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(n.ready):(d.addEventListener("DOMContentLoaded",J),a.addEventListener("load",J))),I.promise(b)},n.ready.promise();var K=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)K(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},L=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function M(){this.expando=n.expando+M.uid++}M.uid=1,M.prototype={register:function(a,b){var c=b||{};return a.nodeType?a[this.expando]=c:Object.defineProperty(a,this.expando,{value:c,writable:!0,configurable:!0}),a[this.expando]},cache:function(a){if(!L(a))return{};var b=a[this.expando];return b||(b={},L(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[b]=c;else for(d in b)e[d]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][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=a[this.expando];if(void 0!==f){if(void 0===b)this.register(a);else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in f?d=[b,e]:(d=e,d=d in f?[d]:d.match(G)||[])),c=d.length;while(c--)delete f[d[c]]}(void 0===b||n.isEmptyObject(f))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!n.isEmptyObject(b)}};var N=new M,O=new M,P=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Q=/[A-Z]/g;function R(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(Q,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:P.test(c)?n.parseJSON(c):c; -}catch(e){}O.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return O.hasData(a)||N.hasData(a)},data:function(a,b,c){return O.access(a,b,c)},removeData:function(a,b){O.remove(a,b)},_data:function(a,b,c){return N.access(a,b,c)},_removeData:function(a,b){N.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=O.get(f),1===f.nodeType&&!N.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),R(f,d,e[d])));N.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){O.set(this,a)}):K(this,function(b){var c,d;if(f&&void 0===b){if(c=O.get(f,a)||O.get(f,a.replace(Q,"-$&").toLowerCase()),void 0!==c)return c;if(d=n.camelCase(a),c=O.get(f,d),void 0!==c)return c;if(c=R(f,d,void 0),void 0!==c)return c}else d=n.camelCase(a),this.each(function(){var c=O.get(this,d);O.set(this,d,b),a.indexOf("-")>-1&&void 0!==c&&O.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){O.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=N.get(a,b),c&&(!d||n.isArray(c)?d=N.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 N.get(a,c)||N.access(a,c,{empty:n.Callbacks("once memory").add(function(){N.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",""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};$.optgroup=$.option,$.tbody=$.tfoot=$.colgroup=$.caption=$.thead,$.th=$.td;function _(a,b){var c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function aa(a,b){for(var c=0,d=a.length;d>c;c++)N.set(a[c],"globalEval",!b||N.get(b[c],"globalEval"))}var ba=/<|&#?\w+;/;function ca(a,b,c,d,e){for(var f,g,h,i,j,k,l=b.createDocumentFragment(),m=[],o=0,p=a.length;p>o;o++)if(f=a[o],f||0===f)if("object"===n.type(f))n.merge(m,f.nodeType?[f]:f);else if(ba.test(f)){g=g||l.appendChild(b.createElement("div")),h=(Y.exec(f)||["",""])[1].toLowerCase(),i=$[h]||$._default,g.innerHTML=i[1]+n.htmlPrefilter(f)+i[2],k=i[0];while(k--)g=g.lastChild;n.merge(m,g.childNodes),g=l.firstChild,g.textContent=""}else m.push(b.createTextNode(f));l.textContent="",o=0;while(f=m[o++])if(d&&n.inArray(f,d)>-1)e&&e.push(f);else if(j=n.contains(f.ownerDocument,f),g=_(l.appendChild(f),"script"),j&&aa(g),c){k=0;while(f=g[k++])Z.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),l.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="",l.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var da=/^key/,ea=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,fa=/^([^.]*)(?:\.(.+)|)/;function ga(){return!0}function ha(){return!1}function ia(){try{return d.activeElement}catch(a){}}function ja(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)ja(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=ha;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=N.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"undefined"!=typeof n&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(G)||[""],j=b.length;while(j--)h=fa.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)),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=N.hasData(a)&&N.get(a);if(r&&(i=r.events)){b=(b||"").match(G)||[""],j=b.length;while(j--)if(h=fa.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)&&N.remove(a,"handle events")}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(N.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.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==d&&(a.result=d)===!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&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!==this;i=i.parentNode||this)if(1===i.nodeType&&(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)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]*)\/>/gi,la=/\s*$/g;function pa(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 qa(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function ra(a){var b=na.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function sa(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(N.hasData(a)&&(f=N.access(a),g=N.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])}O.hasData(a)&&(h=O.access(a),i=n.extend({},h),O.set(b,i))}}function ta(a,b){var c=b.nodeName.toLowerCase();"input"===c&&X.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function ua(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);if(r||o>1&&"string"==typeof q&&!l.checkClone&&ma.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),ua(f,b,c,d)});if(o&&(e=ca(b,a[0].ownerDocument,!1,a,d),g=e.firstChild,1===e.childNodes.length&&(e=g),g||d)){for(h=n.map(_(e,"script"),qa),i=h.length;o>m;m++)j=e,m!==p&&(j=n.clone(j,!0,!0),i&&n.merge(h,_(j,"script"))),c.call(a[m],j,m);if(i)for(k=h[h.length-1].ownerDocument,n.map(h,ra),m=0;i>m;m++)j=h[m],Z.test(j.type||"")&&!N.access(j,"globalEval")&&n.contains(k,j)&&(j.src?n._evalUrl&&n._evalUrl(j.src):n.globalEval(j.textContent.replace(oa,"")))}return a}function va(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(_(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&aa(_(d,"script")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(ka,"<$1>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=_(h),f=_(a),d=0,e=f.length;e>d;d++)ta(f[d],g[d]);if(b)if(c)for(f=f||_(a),g=g||_(h),d=0,e=f.length;e>d;d++)sa(f[d],g[d]);else sa(a,h);return g=_(h,"script"),g.length>0&&aa(g,!i&&_(a,"script")),h},cleanData:function(a){for(var b,c,d,e=n.event.special,f=0;void 0!==(c=a[f]);f++)if(L(c)){if(b=c[N.expando]){if(b.events)for(d in b.events)e[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);c[N.expando]=void 0}c[O.expando]&&(c[O.expando]=void 0)}}}),n.fn.extend({domManip:ua,detach:function(a){return va(this,a,!0)},remove:function(a){return va(this,a)},text:function(a){return K(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 ua(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=pa(this,a);b.appendChild(a)}})},prepend:function(){return ua(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=pa(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return ua(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return ua(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(_(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 K(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&&!la.test(a)&&!$[(Y.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(_(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return ua(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(_(this)),c&&c.replaceChild(b,this))},a)}}),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),f=e.length-1,h=0;f>=h;h++)c=h===f?this:this.clone(!0),n(e[h])[b](c),g.apply(d,c.get());return this.pushStack(d)}});var wa,xa={HTML:"block",BODY:"block"};function ya(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return c.detach(),d}function za(a){var b=d,c=xa[a];return c||(c=ya(a,b),"none"!==c&&c||(wa=(wa||n("